{"ast":null,"code":"import utils from './../utils.js';\nimport platform from '../platform/index.js';\nexport default platform.hasStandardBrowserEnv ?\n// Standard browser envs support document.cookie\n{\n  write: function write(name, value, expires, path, domain, secure, sameSite) {\n    if (typeof document === 'undefined') return;\n    var cookie = [\"\".concat(name, \"=\").concat(encodeURIComponent(value))];\n    if (utils.isNumber(expires)) {\n      cookie.push(\"expires=\".concat(new Date(expires).toUTCString()));\n    }\n    if (utils.isString(path)) {\n      cookie.push(\"path=\".concat(path));\n    }\n    if (utils.isString(domain)) {\n      cookie.push(\"domain=\".concat(domain));\n    }\n    if (secure === true) {\n      cookie.push('secure');\n    }\n    if (utils.isString(sameSite)) {\n      cookie.push(\"SameSite=\".concat(sameSite));\n    }\n    document.cookie = cookie.join('; ');\n  },\n  read: function read(name) {\n    if (typeof document === 'undefined') return null;\n    var match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));\n    return match ? decodeURIComponent(match[1]) : null;\n  },\n  remove: function remove(name) {\n    this.write(name, '', Date.now() - 86400000, '/');\n  }\n} :\n// Non-standard browser env (web workers, react-native) lack needed support.\n{\n  write: function write() {},\n  read: function read() {\n    return null;\n  },\n  remove: function remove() {}\n};","map":{"version":3,"names":["utils","platform","hasStandardBrowserEnv","write","name","value","expires","path","domain","secure","sameSite","document","cookie","concat","encodeURIComponent","isNumber","push","Date","toUTCString","isString","join","read","match","RegExp","decodeURIComponent","remove","now"],"sources":["C:/ldt/LDT/Safemate_Management/node_modules/axios/lib/helpers/cookies.js"],"sourcesContent":["import utils from './../utils.js';\nimport platform from '../platform/index.js';\n\nexport default platform.hasStandardBrowserEnv ?\n\n  // Standard browser envs support document.cookie\n  {\n    write(name, value, expires, path, domain, secure, sameSite) {\n      if (typeof document === 'undefined') return;\n\n      const cookie = [`${name}=${encodeURIComponent(value)}`];\n\n      if (utils.isNumber(expires)) {\n        cookie.push(`expires=${new Date(expires).toUTCString()}`);\n      }\n      if (utils.isString(path)) {\n        cookie.push(`path=${path}`);\n      }\n      if (utils.isString(domain)) {\n        cookie.push(`domain=${domain}`);\n      }\n      if (secure === true) {\n        cookie.push('secure');\n      }\n      if (utils.isString(sameSite)) {\n        cookie.push(`SameSite=${sameSite}`);\n      }\n\n      document.cookie = cookie.join('; ');\n    },\n\n    read(name) {\n      if (typeof document === 'undefined') return null;\n      const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));\n      return match ? decodeURIComponent(match[1]) : null;\n    },\n\n    remove(name) {\n      this.write(name, '', Date.now() - 86400000, '/');\n    }\n  }\n\n  :\n\n  // Non-standard browser env (web workers, react-native) lack needed support.\n  {\n    write() {},\n    read() {\n      return null;\n    },\n    remove() {}\n  };\n\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,eAAe;AACjC,OAAOC,QAAQ,MAAM,sBAAsB;AAE3C,eAAeA,QAAQ,CAACC,qBAAqB;AAE3C;AACA;EACEC,KAAK,WAALA,KAAKA,CAACC,IAAI,EAAEC,KAAK,EAAEC,OAAO,EAAEC,IAAI,EAAEC,MAAM,EAAEC,MAAM,EAAEC,QAAQ,EAAE;IAC1D,IAAI,OAAOC,QAAQ,KAAK,WAAW,EAAE;IAErC,IAAMC,MAAM,GAAG,IAAAC,MAAA,CAAIT,IAAI,OAAAS,MAAA,CAAIC,kBAAkB,CAACT,KAAK,CAAC,EAAG;IAEvD,IAAIL,KAAK,CAACe,QAAQ,CAACT,OAAO,CAAC,EAAE;MAC3BM,MAAM,CAACI,IAAI,YAAAH,MAAA,CAAY,IAAII,IAAI,CAACX,OAAO,CAAC,CAACY,WAAW,CAAC,CAAC,CAAE,CAAC;IAC3D;IACA,IAAIlB,KAAK,CAACmB,QAAQ,CAACZ,IAAI,CAAC,EAAE;MACxBK,MAAM,CAACI,IAAI,SAAAH,MAAA,CAASN,IAAI,CAAE,CAAC;IAC7B;IACA,IAAIP,KAAK,CAACmB,QAAQ,CAACX,MAAM,CAAC,EAAE;MAC1BI,MAAM,CAACI,IAAI,WAAAH,MAAA,CA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