{"remainingRequest":"/data/node_modules/babel-loader/lib/index.js!/data/node_modules/axios/lib/helpers/btoa.js","dependencies":[{"path":"/data/node_modules/axios/lib/helpers/btoa.js","mtime":1553611387516},{"path":"/data/.babelrc","mtime":1553611371556},{"path":"/data/node_modules/cache-loader/dist/cjs.js","mtime":1553611387012},{"path":"/data/node_modules/babel-loader/lib/index.js","mtime":1553611386992}],"contextDependencies":[],"result":["'use strict';\n\n// btoa polyfill for IE<10 courtesy https://github.com/davidchambers/Base64.js\n\nvar chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\nfunction E() {\n  this.message = 'String contains an invalid character';\n}\nE.prototype = new Error();\nE.prototype.code = 5;\nE.prototype.name = 'InvalidCharacterError';\n\nfunction btoa(input) {\n  var str = String(input);\n  var output = '';\n  for (\n  // initialize result and counter\n  var block, charCode, idx = 0, map = chars;\n  // if the next str index does not exist:\n  //   change the mapping table to \"=\"\n  //   check if d has no fractional digits\n  str.charAt(idx | 0) || (map = '=', idx % 1);\n  // \"8 - idx % 1 * 8\" generates the sequence 2, 4, 6, 8\n  output += map.charAt(63 & block >> 8 - idx % 1 * 8)) {\n    charCode = str.charCodeAt(idx += 3 / 4);\n    if (charCode > 0xFF) {\n      throw new E();\n    }\n    block = block << 8 | charCode;\n  }\n  return output;\n}\n\nmodule.exports = btoa;",{"version":3,"sources":["node_modules/axios/lib/helpers/btoa.js"],"names":["chars","E","message","prototype","Error","code","name","btoa","input","str","String","output","block","charCode","idx","map","charAt","charCodeAt","module","exports"],"mappings":"AAAA;;AAEA;;AAEA,IAAIA,QAAQ,mEAAZ;;AAEA,SAASC,CAAT,GAAa;AACX,OAAKC,OAAL,GAAe,sCAAf;AACD;AACDD,EAAEE,SAAF,GAAc,IAAIC,KAAJ,EAAd;AACAH,EAAEE,SAAF,CAAYE,IAAZ,GAAmB,CAAnB;AACAJ,EAAEE,SAAF,CAAYG,IAAZ,GAAmB,uBAAnB;;AAEA,SAASC,IAAT,CAAcC,KAAd,EAAqB;AACnB,MAAIC,MAAMC,OAAOF,KAAP,CAAV;AACA,MAAIG,SAAS,EAAb;AACA;AACE;AACA,MAAIC,KAAJ,EAAWC,QAAX,EAAqBC,MAAM,CAA3B,EAA8BC,MAAMf,KAFtC;AAGE;AACA;AACA;AACAS,MAAIO,MAAJ,CAAWF,MAAM,CAAjB,MAAwBC,MAAM,GAAN,EAAWD,MAAM,CAAzC,CANF;AAOE;AACAH,YAAUI,IAAIC,MAAJ,CAAW,KAAKJ,SAAS,IAAIE,MAAM,CAAN,GAAU,CAAvC,CARZ,EASE;AACAD,eAAWJ,IAAIQ,UAAJ,CAAeH,OAAO,IAAI,CAA1B,CAAX;AACA,QAAID,WAAW,IAAf,EAAqB;AACnB,YAAM,IAAIZ,CAAJ,EAAN;AACD;AACDW,YAAQA,SAAS,CAAT,GAAaC,QAArB;AACD;AACD,SAAOF,MAAP;AACD;;AAEDO,OAAOC,OAAP,GAAiBZ,IAAjB","file":"btoa.js","sourceRoot":"/data","sourcesContent":["'use strict';\n\n// btoa polyfill for IE<10 courtesy https://github.com/davidchambers/Base64.js\n\nvar chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\nfunction E() {\n  this.message = 'String contains an invalid character';\n}\nE.prototype = new Error;\nE.prototype.code = 5;\nE.prototype.name = 'InvalidCharacterError';\n\nfunction btoa(input) {\n  var str = String(input);\n  var output = '';\n  for (\n    // initialize result and counter\n    var block, charCode, idx = 0, map = chars;\n    // if the next str index does not exist:\n    //   change the mapping table to \"=\"\n    //   check if d has no fractional digits\n    str.charAt(idx | 0) || (map = '=', idx % 1);\n    // \"8 - idx % 1 * 8\" generates the sequence 2, 4, 6, 8\n    output += map.charAt(63 & block >> 8 - idx % 1 * 8)\n  ) {\n    charCode = str.charCodeAt(idx += 3 / 4);\n    if (charCode > 0xFF) {\n      throw new E();\n    }\n    block = block << 8 | charCode;\n  }\n  return output;\n}\n\nmodule.exports = btoa;\n"]}]}