{"ast":null,"code":"var ms = require('ms');\nmodule.exports = function (time, iat) {\n  var timestamp = iat || Math.floor(Date.now() / 1000);\n  if (typeof time === 'string') {\n    var milliseconds = ms(time);\n    if (typeof milliseconds === 'undefined') {\n      return;\n    }\n    return Math.floor(timestamp + milliseconds / 1000);\n  } else if (typeof time === 'number') {\n    return timestamp + time;\n  } else {\n    return;\n  }\n};","map":{"version":3,"names":["ms","require","module","exports","time","iat","timestamp","Math","floor","Date","now","milliseconds"],"sources":["C:/Users/user/Desktop/05mediaSocial/node_modules/jsonwebtoken/lib/timespan.js"],"sourcesContent":["var ms = require('ms');\n\nmodule.exports = function (time, iat) {\n  var timestamp = iat || Math.floor(Date.now() / 1000);\n\n  if (typeof time === 'string') {\n    var milliseconds = ms(time);\n    if (typeof milliseconds === 'undefined') {\n      return;\n    }\n    return Math.floor(timestamp + milliseconds / 1000);\n  } else if (typeof time === 'number') {\n    return timestamp + time;\n  } else {\n    return;\n  }\n\n};"],"mappings":"AAAA,IAAIA,EAAE,GAAGC,OAAO,CAAC,IAAI,CAAC;AAEtBC,MAAM,CAACC,OAAO,GAAG,UAAUC,IAAI,EAAEC,GAAG,EAAE;EACpC,IAAIC,SAAS,GAAGD,GAAG,IAAIE,IAAI,CAACC,KAAK,CAACC,IAAI,CAACC,GAAG,EAAE,GAAG,IAAI,CAAC;EAEpD,IAAI,OAAON,IAAI,KAAK,QAAQ,EAAE;IAC5B,IAAIO,YAAY,GAAGX,EAAE,CAACI,IAAI,CAAC;IAC3B,IAAI,OAAOO,YAAY,KAAK,WAAW,EAAE;MACvC;IACF;IACA,OAAOJ,IAAI,CAACC,KAAK,CAACF,SAAS,GAAGK,YAAY,GAAG,IAAI,CAAC;EACpD,CAAC,MAAM,IAAI,OAAOP,IAAI,KAAK,QAAQ,EAAE;IACnC,OAAOE,SAAS,GAAGF,IAAI;EACzB,CAAC,MAAM;IACL;EACF;AAEF,CAAC"},"metadata":{},"sourceType":"script","externalDependencies":[]}