@kontent-ai/delivery-sdk 14.9.0 → 14.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5464,7 +5464,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
5464
5464
  exports.sdkInfo = void 0;
5465
5465
  exports.sdkInfo = {
5466
5466
  host: 'npmjs.com',
5467
- version: '14.9.0',
5467
+ version: '14.10.0',
5468
5468
  name: '@kontent-ai/delivery-sdk'
5469
5469
  };
5470
5470
 
@@ -6995,6 +6995,12 @@ module.exports = Url;
6995
6995
  Object.defineProperty(exports, "__esModule", ({
6996
6996
  value: true
6997
6997
  }));
6998
+ Object.defineProperty(exports, "MAX", ({
6999
+ enumerable: true,
7000
+ get: function get() {
7001
+ return _max.default;
7002
+ }
7003
+ }));
6998
7004
  Object.defineProperty(exports, "NIL", ({
6999
7005
  enumerable: true,
7000
7006
  get: function get() {
@@ -7019,6 +7025,12 @@ Object.defineProperty(exports, "v1", ({
7019
7025
  return _v.default;
7020
7026
  }
7021
7027
  }));
7028
+ Object.defineProperty(exports, "v1ToV6", ({
7029
+ enumerable: true,
7030
+ get: function get() {
7031
+ return _v1ToV.default;
7032
+ }
7033
+ }));
7022
7034
  Object.defineProperty(exports, "v3", ({
7023
7035
  enumerable: true,
7024
7036
  get: function get() {
@@ -7037,6 +7049,24 @@ Object.defineProperty(exports, "v5", ({
7037
7049
  return _v4.default;
7038
7050
  }
7039
7051
  }));
7052
+ Object.defineProperty(exports, "v6", ({
7053
+ enumerable: true,
7054
+ get: function get() {
7055
+ return _v5.default;
7056
+ }
7057
+ }));
7058
+ Object.defineProperty(exports, "v6ToV1", ({
7059
+ enumerable: true,
7060
+ get: function get() {
7061
+ return _v6ToV.default;
7062
+ }
7063
+ }));
7064
+ Object.defineProperty(exports, "v7", ({
7065
+ enumerable: true,
7066
+ get: function get() {
7067
+ return _v6.default;
7068
+ }
7069
+ }));
7040
7070
  Object.defineProperty(exports, "validate", ({
7041
7071
  enumerable: true,
7042
7072
  get: function get() {
@@ -7049,26 +7079,37 @@ Object.defineProperty(exports, "version", ({
7049
7079
  return _version.default;
7050
7080
  }
7051
7081
  }));
7052
-
7082
+ var _max = _interopRequireDefault(__webpack_require__(/*! ./max.js */ "./node_modules/uuid/dist/commonjs-browser/max.js"));
7083
+ var _nil = _interopRequireDefault(__webpack_require__(/*! ./nil.js */ "./node_modules/uuid/dist/commonjs-browser/nil.js"));
7084
+ var _parse = _interopRequireDefault(__webpack_require__(/*! ./parse.js */ "./node_modules/uuid/dist/commonjs-browser/parse.js"));
7085
+ var _stringify = _interopRequireDefault(__webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js"));
7053
7086
  var _v = _interopRequireDefault(__webpack_require__(/*! ./v1.js */ "./node_modules/uuid/dist/commonjs-browser/v1.js"));
7054
-
7087
+ var _v1ToV = _interopRequireDefault(__webpack_require__(/*! ./v1ToV6.js */ "./node_modules/uuid/dist/commonjs-browser/v1ToV6.js"));
7055
7088
  var _v2 = _interopRequireDefault(__webpack_require__(/*! ./v3.js */ "./node_modules/uuid/dist/commonjs-browser/v3.js"));
7056
-
7057
7089
  var _v3 = _interopRequireDefault(__webpack_require__(/*! ./v4.js */ "./node_modules/uuid/dist/commonjs-browser/v4.js"));
7058
-
7059
7090
  var _v4 = _interopRequireDefault(__webpack_require__(/*! ./v5.js */ "./node_modules/uuid/dist/commonjs-browser/v5.js"));
7060
-
7061
- var _nil = _interopRequireDefault(__webpack_require__(/*! ./nil.js */ "./node_modules/uuid/dist/commonjs-browser/nil.js"));
7062
-
7091
+ var _v5 = _interopRequireDefault(__webpack_require__(/*! ./v6.js */ "./node_modules/uuid/dist/commonjs-browser/v6.js"));
7092
+ var _v6ToV = _interopRequireDefault(__webpack_require__(/*! ./v6ToV1.js */ "./node_modules/uuid/dist/commonjs-browser/v6ToV1.js"));
7093
+ var _v6 = _interopRequireDefault(__webpack_require__(/*! ./v7.js */ "./node_modules/uuid/dist/commonjs-browser/v7.js"));
7094
+ var _validate = _interopRequireDefault(__webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/commonjs-browser/validate.js"));
7063
7095
  var _version = _interopRequireDefault(__webpack_require__(/*! ./version.js */ "./node_modules/uuid/dist/commonjs-browser/version.js"));
7096
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7064
7097
 
7065
- var _validate = _interopRequireDefault(__webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/commonjs-browser/validate.js"));
7098
+ /***/ }),
7099
+
7100
+ /***/ "./node_modules/uuid/dist/commonjs-browser/max.js":
7101
+ /*!********************************************************!*\
7102
+ !*** ./node_modules/uuid/dist/commonjs-browser/max.js ***!
7103
+ \********************************************************/
7104
+ /***/ ((__unused_webpack_module, exports) => {
7066
7105
 
7067
- var _stringify = _interopRequireDefault(__webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js"));
7068
7106
 
7069
- var _parse = _interopRequireDefault(__webpack_require__(/*! ./parse.js */ "./node_modules/uuid/dist/commonjs-browser/parse.js"));
7070
7107
 
7071
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7108
+ Object.defineProperty(exports, "__esModule", ({
7109
+ value: true
7110
+ }));
7111
+ exports["default"] = void 0;
7112
+ var _default = exports["default"] = 'ffffffff-ffff-ffff-ffff-ffffffffffff';
7072
7113
 
7073
7114
  /***/ }),
7074
7115
 
@@ -7084,7 +7125,6 @@ Object.defineProperty(exports, "__esModule", ({
7084
7125
  value: true
7085
7126
  }));
7086
7127
  exports["default"] = void 0;
7087
-
7088
7128
  /*
7089
7129
  * Browser-compatible JavaScript MD5
7090
7130
  *
@@ -7107,62 +7147,54 @@ exports["default"] = void 0;
7107
7147
  */
7108
7148
  function md5(bytes) {
7109
7149
  if (typeof bytes === 'string') {
7110
- const msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
7150
+ var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
7111
7151
 
7112
7152
  bytes = new Uint8Array(msg.length);
7113
-
7114
- for (let i = 0; i < msg.length; ++i) {
7153
+ for (var i = 0; i < msg.length; ++i) {
7115
7154
  bytes[i] = msg.charCodeAt(i);
7116
7155
  }
7117
7156
  }
7118
-
7119
7157
  return md5ToHexEncodedArray(wordsToMd5(bytesToWords(bytes), bytes.length * 8));
7120
7158
  }
7159
+
7121
7160
  /*
7122
7161
  * Convert an array of little-endian words to an array of bytes
7123
7162
  */
7124
-
7125
-
7126
7163
  function md5ToHexEncodedArray(input) {
7127
- const output = [];
7128
- const length32 = input.length * 32;
7129
- const hexTab = '0123456789abcdef';
7130
-
7131
- for (let i = 0; i < length32; i += 8) {
7132
- const x = input[i >> 5] >>> i % 32 & 0xff;
7133
- const hex = parseInt(hexTab.charAt(x >>> 4 & 0x0f) + hexTab.charAt(x & 0x0f), 16);
7164
+ var output = [];
7165
+ var length32 = input.length * 32;
7166
+ var hexTab = '0123456789abcdef';
7167
+ for (var i = 0; i < length32; i += 8) {
7168
+ var x = input[i >> 5] >>> i % 32 & 0xff;
7169
+ var hex = parseInt(hexTab.charAt(x >>> 4 & 0x0f) + hexTab.charAt(x & 0x0f), 16);
7134
7170
  output.push(hex);
7135
7171
  }
7136
-
7137
7172
  return output;
7138
7173
  }
7174
+
7139
7175
  /**
7140
7176
  * Calculate output length with padding and bit length
7141
7177
  */
7142
-
7143
-
7144
7178
  function getOutputLength(inputLength8) {
7145
7179
  return (inputLength8 + 64 >>> 9 << 4) + 14 + 1;
7146
7180
  }
7181
+
7147
7182
  /*
7148
7183
  * Calculate the MD5 of an array of little-endian words, and a bit length.
7149
7184
  */
7150
-
7151
-
7152
7185
  function wordsToMd5(x, len) {
7153
7186
  /* append padding */
7154
7187
  x[len >> 5] |= 0x80 << len % 32;
7155
7188
  x[getOutputLength(len) - 1] = len;
7156
- let a = 1732584193;
7157
- let b = -271733879;
7158
- let c = -1732584194;
7159
- let d = 271733878;
7160
-
7161
- for (let i = 0; i < x.length; i += 16) {
7162
- const olda = a;
7163
- const oldb = b;
7164
- const oldc = c;
7165
- const oldd = d;
7189
+ var a = 1732584193;
7190
+ var b = -271733879;
7191
+ var c = -1732584194;
7192
+ var d = 271733878;
7193
+ for (var i = 0; i < x.length; i += 16) {
7194
+ var olda = a;
7195
+ var oldb = b;
7196
+ var oldc = c;
7197
+ var oldd = d;
7166
7198
  a = md5ff(a, b, c, d, x[i], 7, -680876936);
7167
7199
  d = md5ff(d, a, b, c, x[i + 1], 12, -389564586);
7168
7200
  c = md5ff(c, d, a, b, x[i + 2], 17, 606105819);
@@ -7232,75 +7264,61 @@ function wordsToMd5(x, len) {
7232
7264
  c = safeAdd(c, oldc);
7233
7265
  d = safeAdd(d, oldd);
7234
7266
  }
7235
-
7236
7267
  return [a, b, c, d];
7237
7268
  }
7269
+
7238
7270
  /*
7239
7271
  * Convert an array bytes to an array of little-endian words
7240
7272
  * Characters >255 have their high-byte silently ignored.
7241
7273
  */
7242
-
7243
-
7244
7274
  function bytesToWords(input) {
7245
7275
  if (input.length === 0) {
7246
7276
  return [];
7247
7277
  }
7248
-
7249
- const length8 = input.length * 8;
7250
- const output = new Uint32Array(getOutputLength(length8));
7251
-
7252
- for (let i = 0; i < length8; i += 8) {
7278
+ var length8 = input.length * 8;
7279
+ var output = new Uint32Array(getOutputLength(length8));
7280
+ for (var i = 0; i < length8; i += 8) {
7253
7281
  output[i >> 5] |= (input[i / 8] & 0xff) << i % 32;
7254
7282
  }
7255
-
7256
7283
  return output;
7257
7284
  }
7285
+
7258
7286
  /*
7259
7287
  * Add integers, wrapping at 2^32. This uses 16-bit operations internally
7260
7288
  * to work around bugs in some JS interpreters.
7261
7289
  */
7262
-
7263
-
7264
7290
  function safeAdd(x, y) {
7265
- const lsw = (x & 0xffff) + (y & 0xffff);
7266
- const msw = (x >> 16) + (y >> 16) + (lsw >> 16);
7291
+ var lsw = (x & 0xffff) + (y & 0xffff);
7292
+ var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
7267
7293
  return msw << 16 | lsw & 0xffff;
7268
7294
  }
7295
+
7269
7296
  /*
7270
7297
  * Bitwise rotate a 32-bit number to the left.
7271
7298
  */
7272
-
7273
-
7274
7299
  function bitRotateLeft(num, cnt) {
7275
7300
  return num << cnt | num >>> 32 - cnt;
7276
7301
  }
7302
+
7277
7303
  /*
7278
7304
  * These functions implement the four basic operations the algorithm uses.
7279
7305
  */
7280
-
7281
-
7282
7306
  function md5cmn(q, a, b, x, s, t) {
7283
7307
  return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b);
7284
7308
  }
7285
-
7286
7309
  function md5ff(a, b, c, d, x, s, t) {
7287
7310
  return md5cmn(b & c | ~b & d, a, b, x, s, t);
7288
7311
  }
7289
-
7290
7312
  function md5gg(a, b, c, d, x, s, t) {
7291
7313
  return md5cmn(b & d | c & ~d, a, b, x, s, t);
7292
7314
  }
7293
-
7294
7315
  function md5hh(a, b, c, d, x, s, t) {
7295
7316
  return md5cmn(b ^ c ^ d, a, b, x, s, t);
7296
7317
  }
7297
-
7298
7318
  function md5ii(a, b, c, d, x, s, t) {
7299
7319
  return md5cmn(c ^ (b | ~d), a, b, x, s, t);
7300
7320
  }
7301
-
7302
- var _default = md5;
7303
- exports["default"] = _default;
7321
+ var _default = exports["default"] = md5;
7304
7322
 
7305
7323
  /***/ }),
7306
7324
 
@@ -7316,11 +7334,10 @@ Object.defineProperty(exports, "__esModule", ({
7316
7334
  value: true
7317
7335
  }));
7318
7336
  exports["default"] = void 0;
7319
- const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
7320
- var _default = {
7337
+ var randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
7338
+ var _default = exports["default"] = {
7321
7339
  randomUUID
7322
7340
  };
7323
- exports["default"] = _default;
7324
7341
 
7325
7342
  /***/ }),
7326
7343
 
@@ -7336,8 +7353,7 @@ Object.defineProperty(exports, "__esModule", ({
7336
7353
  value: true
7337
7354
  }));
7338
7355
  exports["default"] = void 0;
7339
- var _default = '00000000-0000-0000-0000-000000000000';
7340
- exports["default"] = _default;
7356
+ var _default = exports["default"] = '00000000-0000-0000-0000-000000000000';
7341
7357
 
7342
7358
  /***/ }),
7343
7359
 
@@ -7353,34 +7369,35 @@ Object.defineProperty(exports, "__esModule", ({
7353
7369
  value: true
7354
7370
  }));
7355
7371
  exports["default"] = void 0;
7356
-
7357
7372
  var _validate = _interopRequireDefault(__webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/commonjs-browser/validate.js"));
7358
-
7359
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7360
-
7373
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7361
7374
  function parse(uuid) {
7362
7375
  if (!(0, _validate.default)(uuid)) {
7363
7376
  throw TypeError('Invalid UUID');
7364
7377
  }
7378
+ var v;
7379
+ var arr = new Uint8Array(16);
7365
7380
 
7366
- let v;
7367
- const arr = new Uint8Array(16); // Parse ########-....-....-....-............
7368
-
7381
+ // Parse ########-....-....-....-............
7369
7382
  arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;
7370
7383
  arr[1] = v >>> 16 & 0xff;
7371
7384
  arr[2] = v >>> 8 & 0xff;
7372
- arr[3] = v & 0xff; // Parse ........-####-....-....-............
7385
+ arr[3] = v & 0xff;
7373
7386
 
7387
+ // Parse ........-####-....-....-............
7374
7388
  arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;
7375
- arr[5] = v & 0xff; // Parse ........-....-####-....-............
7389
+ arr[5] = v & 0xff;
7376
7390
 
7391
+ // Parse ........-....-####-....-............
7377
7392
  arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;
7378
- arr[7] = v & 0xff; // Parse ........-....-....-####-............
7393
+ arr[7] = v & 0xff;
7379
7394
 
7395
+ // Parse ........-....-....-####-............
7380
7396
  arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;
7381
- arr[9] = v & 0xff; // Parse ........-....-....-....-############
7382
- // (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes)
7397
+ arr[9] = v & 0xff;
7383
7398
 
7399
+ // Parse ........-....-....-....-############
7400
+ // (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes)
7384
7401
  arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;
7385
7402
  arr[11] = v / 0x100000000 & 0xff;
7386
7403
  arr[12] = v >>> 24 & 0xff;
@@ -7389,9 +7406,7 @@ function parse(uuid) {
7389
7406
  arr[15] = v & 0xff;
7390
7407
  return arr;
7391
7408
  }
7392
-
7393
- var _default = parse;
7394
- exports["default"] = _default;
7409
+ var _default = exports["default"] = parse;
7395
7410
 
7396
7411
  /***/ }),
7397
7412
 
@@ -7407,8 +7422,7 @@ Object.defineProperty(exports, "__esModule", ({
7407
7422
  value: true
7408
7423
  }));
7409
7424
  exports["default"] = void 0;
7410
- var _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
7411
- exports["default"] = _default;
7425
+ var _default = exports["default"] = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;
7412
7426
 
7413
7427
  /***/ }),
7414
7428
 
@@ -7427,20 +7441,18 @@ exports["default"] = rng;
7427
7441
  // Unique ID creation requires a high quality random # generator. In the browser we therefore
7428
7442
  // require the crypto API and do not support built-in fallback to lower quality random number
7429
7443
  // generators (like Math.random()).
7430
- let getRandomValues;
7431
- const rnds8 = new Uint8Array(16);
7432
7444
 
7445
+ var getRandomValues;
7446
+ var rnds8 = new Uint8Array(16);
7433
7447
  function rng() {
7434
7448
  // lazy load so that environments that need to polyfill have a chance to do so
7435
7449
  if (!getRandomValues) {
7436
7450
  // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
7437
7451
  getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
7438
-
7439
7452
  if (!getRandomValues) {
7440
7453
  throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
7441
7454
  }
7442
7455
  }
7443
-
7444
7456
  return getRandomValues(rnds8);
7445
7457
  }
7446
7458
 
@@ -7458,104 +7470,82 @@ Object.defineProperty(exports, "__esModule", ({
7458
7470
  value: true
7459
7471
  }));
7460
7472
  exports["default"] = void 0;
7461
-
7462
7473
  // Adapted from Chris Veness' SHA1 code at
7463
7474
  // http://www.movable-type.co.uk/scripts/sha1.html
7464
7475
  function f(s, x, y, z) {
7465
7476
  switch (s) {
7466
7477
  case 0:
7467
7478
  return x & y ^ ~x & z;
7468
-
7469
7479
  case 1:
7470
7480
  return x ^ y ^ z;
7471
-
7472
7481
  case 2:
7473
7482
  return x & y ^ x & z ^ y & z;
7474
-
7475
7483
  case 3:
7476
7484
  return x ^ y ^ z;
7477
7485
  }
7478
7486
  }
7479
-
7480
7487
  function ROTL(x, n) {
7481
7488
  return x << n | x >>> 32 - n;
7482
7489
  }
7483
-
7484
7490
  function sha1(bytes) {
7485
- const K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6];
7486
- const H = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0];
7487
-
7491
+ var K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6];
7492
+ var H = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0];
7488
7493
  if (typeof bytes === 'string') {
7489
- const msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
7494
+ var msg = unescape(encodeURIComponent(bytes)); // UTF8 escape
7490
7495
 
7491
7496
  bytes = [];
7492
-
7493
- for (let i = 0; i < msg.length; ++i) {
7497
+ for (var i = 0; i < msg.length; ++i) {
7494
7498
  bytes.push(msg.charCodeAt(i));
7495
7499
  }
7496
7500
  } else if (!Array.isArray(bytes)) {
7497
7501
  // Convert Array-like to Array
7498
7502
  bytes = Array.prototype.slice.call(bytes);
7499
7503
  }
7500
-
7501
7504
  bytes.push(0x80);
7502
- const l = bytes.length / 4 + 2;
7503
- const N = Math.ceil(l / 16);
7504
- const M = new Array(N);
7505
-
7506
- for (let i = 0; i < N; ++i) {
7507
- const arr = new Uint32Array(16);
7508
-
7509
- for (let j = 0; j < 16; ++j) {
7510
- arr[j] = bytes[i * 64 + j * 4] << 24 | bytes[i * 64 + j * 4 + 1] << 16 | bytes[i * 64 + j * 4 + 2] << 8 | bytes[i * 64 + j * 4 + 3];
7505
+ var l = bytes.length / 4 + 2;
7506
+ var N = Math.ceil(l / 16);
7507
+ var M = new Array(N);
7508
+ for (var _i = 0; _i < N; ++_i) {
7509
+ var arr = new Uint32Array(16);
7510
+ for (var j = 0; j < 16; ++j) {
7511
+ arr[j] = bytes[_i * 64 + j * 4] << 24 | bytes[_i * 64 + j * 4 + 1] << 16 | bytes[_i * 64 + j * 4 + 2] << 8 | bytes[_i * 64 + j * 4 + 3];
7511
7512
  }
7512
-
7513
- M[i] = arr;
7513
+ M[_i] = arr;
7514
7514
  }
7515
-
7516
7515
  M[N - 1][14] = (bytes.length - 1) * 8 / Math.pow(2, 32);
7517
7516
  M[N - 1][14] = Math.floor(M[N - 1][14]);
7518
7517
  M[N - 1][15] = (bytes.length - 1) * 8 & 0xffffffff;
7519
-
7520
- for (let i = 0; i < N; ++i) {
7521
- const W = new Uint32Array(80);
7522
-
7523
- for (let t = 0; t < 16; ++t) {
7524
- W[t] = M[i][t];
7525
- }
7526
-
7527
- for (let t = 16; t < 80; ++t) {
7528
- W[t] = ROTL(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1);
7529
- }
7530
-
7531
- let a = H[0];
7532
- let b = H[1];
7533
- let c = H[2];
7534
- let d = H[3];
7535
- let e = H[4];
7536
-
7537
- for (let t = 0; t < 80; ++t) {
7538
- const s = Math.floor(t / 20);
7539
- const T = ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[t] >>> 0;
7518
+ for (var _i2 = 0; _i2 < N; ++_i2) {
7519
+ var W = new Uint32Array(80);
7520
+ for (var t = 0; t < 16; ++t) {
7521
+ W[t] = M[_i2][t];
7522
+ }
7523
+ for (var _t = 16; _t < 80; ++_t) {
7524
+ W[_t] = ROTL(W[_t - 3] ^ W[_t - 8] ^ W[_t - 14] ^ W[_t - 16], 1);
7525
+ }
7526
+ var a = H[0];
7527
+ var b = H[1];
7528
+ var c = H[2];
7529
+ var d = H[3];
7530
+ var e = H[4];
7531
+ for (var _t2 = 0; _t2 < 80; ++_t2) {
7532
+ var s = Math.floor(_t2 / 20);
7533
+ var T = ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[_t2] >>> 0;
7540
7534
  e = d;
7541
7535
  d = c;
7542
7536
  c = ROTL(b, 30) >>> 0;
7543
7537
  b = a;
7544
7538
  a = T;
7545
7539
  }
7546
-
7547
7540
  H[0] = H[0] + a >>> 0;
7548
7541
  H[1] = H[1] + b >>> 0;
7549
7542
  H[2] = H[2] + c >>> 0;
7550
7543
  H[3] = H[3] + d >>> 0;
7551
7544
  H[4] = H[4] + e >>> 0;
7552
7545
  }
7553
-
7554
7546
  return [H[0] >> 24 & 0xff, H[0] >> 16 & 0xff, H[0] >> 8 & 0xff, H[0] & 0xff, H[1] >> 24 & 0xff, H[1] >> 16 & 0xff, H[1] >> 8 & 0xff, H[1] & 0xff, H[2] >> 24 & 0xff, H[2] >> 16 & 0xff, H[2] >> 8 & 0xff, H[2] & 0xff, H[3] >> 24 & 0xff, H[3] >> 16 & 0xff, H[3] >> 8 & 0xff, H[3] & 0xff, H[4] >> 24 & 0xff, H[4] >> 16 & 0xff, H[4] >> 8 & 0xff, H[4] & 0xff];
7555
7547
  }
7556
-
7557
- var _default = sha1;
7558
- exports["default"] = _default;
7548
+ var _default = exports["default"] = sha1;
7559
7549
 
7560
7550
  /***/ }),
7561
7551
 
@@ -7572,43 +7562,37 @@ Object.defineProperty(exports, "__esModule", ({
7572
7562
  }));
7573
7563
  exports["default"] = void 0;
7574
7564
  exports.unsafeStringify = unsafeStringify;
7575
-
7576
7565
  var _validate = _interopRequireDefault(__webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/commonjs-browser/validate.js"));
7577
-
7578
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7579
-
7566
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7580
7567
  /**
7581
7568
  * Convert array of 16 byte values to UUID string format of the form:
7582
7569
  * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
7583
7570
  */
7584
- const byteToHex = [];
7585
-
7586
- for (let i = 0; i < 256; ++i) {
7571
+ var byteToHex = [];
7572
+ for (var i = 0; i < 256; ++i) {
7587
7573
  byteToHex.push((i + 0x100).toString(16).slice(1));
7588
7574
  }
7589
-
7590
7575
  function unsafeStringify(arr, offset = 0) {
7591
7576
  // Note: Be careful editing this code! It's been tuned for performance
7592
7577
  // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
7593
- return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
7578
+ //
7579
+ // Note to future-self: No, you can't remove the `toLowerCase()` call.
7580
+ // REF: https://github.com/uuidjs/uuid/pull/677#issuecomment-1757351351
7581
+ return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
7594
7582
  }
7595
-
7596
7583
  function stringify(arr, offset = 0) {
7597
- const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one
7584
+ var uuid = unsafeStringify(arr, offset);
7585
+ // Consistency check for valid UUID. If this throws, it's likely due to one
7598
7586
  // of the following:
7599
7587
  // - One or more input array values don't map to a hex octet (leading to
7600
7588
  // "undefined" in the uuid)
7601
7589
  // - Invalid input values for the RFC `version` or `variant` fields
7602
-
7603
7590
  if (!(0, _validate.default)(uuid)) {
7604
7591
  throw TypeError('Stringified UUID is invalid');
7605
7592
  }
7606
-
7607
7593
  return uuid;
7608
7594
  }
7609
-
7610
- var _default = stringify;
7611
- exports["default"] = _default;
7595
+ var _default = exports["default"] = stringify;
7612
7596
 
7613
7597
  /***/ }),
7614
7598
 
@@ -7624,107 +7608,166 @@ Object.defineProperty(exports, "__esModule", ({
7624
7608
  value: true
7625
7609
  }));
7626
7610
  exports["default"] = void 0;
7627
-
7628
7611
  var _rng = _interopRequireDefault(__webpack_require__(/*! ./rng.js */ "./node_modules/uuid/dist/commonjs-browser/rng.js"));
7629
-
7630
7612
  var _stringify = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js");
7631
-
7632
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7633
-
7613
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7634
7614
  // **`v1()` - Generate time-based UUID**
7635
7615
  //
7636
7616
  // Inspired by https://github.com/LiosK/UUID.js
7637
7617
  // and http://docs.python.org/library/uuid.html
7638
- let _nodeId;
7639
7618
 
7640
- let _clockseq; // Previous uuid creation time
7619
+ var _nodeId;
7620
+ var _clockseq;
7641
7621
 
7622
+ // Previous uuid creation time
7623
+ var _lastMSecs = 0;
7624
+ var _lastNSecs = 0;
7642
7625
 
7643
- let _lastMSecs = 0;
7644
- let _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details
7645
-
7626
+ // See https://github.com/uuidjs/uuid for API details
7646
7627
  function v1(options, buf, offset) {
7647
- let i = buf && offset || 0;
7648
- const b = buf || new Array(16);
7628
+ var i = buf && offset || 0;
7629
+ var b = buf || new Array(16);
7649
7630
  options = options || {};
7650
- let node = options.node || _nodeId;
7651
- let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not
7652
- // specified. We do this lazily to minimize issues related to insufficient
7653
- // system entropy. See #189
7631
+ var node = options.node;
7632
+ var clockseq = options.clockseq;
7633
+
7634
+ // v1 only: Use cached `node` and `clockseq` values
7635
+ if (!options._v6) {
7636
+ if (!node) {
7637
+ node = _nodeId;
7638
+ }
7639
+ if (clockseq == null) {
7640
+ clockseq = _clockseq;
7641
+ }
7642
+ }
7654
7643
 
7644
+ // Handle cases where we need entropy. We do this lazily to minimize issues
7645
+ // related to insufficient system entropy. See #189
7655
7646
  if (node == null || clockseq == null) {
7656
- const seedBytes = options.random || (options.rng || _rng.default)();
7647
+ var seedBytes = options.random || (options.rng || _rng.default)();
7657
7648
 
7649
+ // Randomize node
7658
7650
  if (node == null) {
7659
- // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
7660
- node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];
7651
+ node = [seedBytes[0], seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];
7652
+
7653
+ // v1 only: cache node value for reuse
7654
+ if (!_nodeId && !options._v6) {
7655
+ // per RFC4122 4.5: Set MAC multicast bit (v1 only)
7656
+ node[0] |= 0x01; // Set multicast bit
7657
+
7658
+ _nodeId = node;
7659
+ }
7661
7660
  }
7662
7661
 
7662
+ // Randomize clockseq
7663
7663
  if (clockseq == null) {
7664
7664
  // Per 4.2.2, randomize (14 bit) clockseq
7665
- clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;
7665
+ clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;
7666
+ if (_clockseq === undefined && !options._v6) {
7667
+ _clockseq = clockseq;
7668
+ }
7666
7669
  }
7667
- } // UUID timestamps are 100 nano-second units since the Gregorian epoch,
7668
- // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
7669
- // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
7670
- // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
7670
+ }
7671
7671
 
7672
+ // v1 & v6 timestamps are 100 nano-second units since the Gregorian epoch,
7673
+ // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so time is
7674
+ // handled internally as 'msecs' (integer milliseconds) and 'nsecs'
7675
+ // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
7676
+ var msecs = options.msecs !== undefined ? options.msecs : Date.now();
7672
7677
 
7673
- let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock
7678
+ // Per 4.2.1.2, use count of uuid's generated during the current clock
7674
7679
  // cycle to simulate higher resolution clock
7680
+ var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;
7675
7681
 
7676
- let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)
7677
-
7678
- const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression
7682
+ // Time since last uuid creation (in msecs)
7683
+ var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000;
7679
7684
 
7685
+ // Per 4.2.1.2, Bump clockseq on clock regression
7680
7686
  if (dt < 0 && options.clockseq === undefined) {
7681
7687
  clockseq = clockseq + 1 & 0x3fff;
7682
- } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
7683
- // time interval
7684
-
7688
+ }
7685
7689
 
7690
+ // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
7691
+ // time interval
7686
7692
  if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
7687
7693
  nsecs = 0;
7688
- } // Per 4.2.1.2 Throw error if too many uuids are requested
7689
-
7694
+ }
7690
7695
 
7696
+ // Per 4.2.1.2 Throw error if too many uuids are requested
7691
7697
  if (nsecs >= 10000) {
7692
7698
  throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
7693
7699
  }
7694
-
7695
7700
  _lastMSecs = msecs;
7696
7701
  _lastNSecs = nsecs;
7697
- _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
7702
+ _clockseq = clockseq;
7698
7703
 
7699
- msecs += 12219292800000; // `time_low`
7704
+ // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
7705
+ msecs += 12219292800000;
7700
7706
 
7701
- const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
7707
+ // `time_low`
7708
+ var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
7702
7709
  b[i++] = tl >>> 24 & 0xff;
7703
7710
  b[i++] = tl >>> 16 & 0xff;
7704
7711
  b[i++] = tl >>> 8 & 0xff;
7705
- b[i++] = tl & 0xff; // `time_mid`
7712
+ b[i++] = tl & 0xff;
7706
7713
 
7707
- const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;
7714
+ // `time_mid`
7715
+ var tmh = msecs / 0x100000000 * 10000 & 0xfffffff;
7708
7716
  b[i++] = tmh >>> 8 & 0xff;
7709
- b[i++] = tmh & 0xff; // `time_high_and_version`
7717
+ b[i++] = tmh & 0xff;
7710
7718
 
7719
+ // `time_high_and_version`
7711
7720
  b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
7721
+ b[i++] = tmh >>> 16 & 0xff;
7712
7722
 
7713
- b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
7723
+ // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
7724
+ b[i++] = clockseq >>> 8 | 0x80;
7714
7725
 
7715
- b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`
7726
+ // `clock_seq_low`
7727
+ b[i++] = clockseq & 0xff;
7716
7728
 
7717
- b[i++] = clockseq & 0xff; // `node`
7718
-
7719
- for (let n = 0; n < 6; ++n) {
7729
+ // `node`
7730
+ for (var n = 0; n < 6; ++n) {
7720
7731
  b[i + n] = node[n];
7721
7732
  }
7722
-
7723
7733
  return buf || (0, _stringify.unsafeStringify)(b);
7724
7734
  }
7735
+ var _default = exports["default"] = v1;
7725
7736
 
7726
- var _default = v1;
7727
- exports["default"] = _default;
7737
+ /***/ }),
7738
+
7739
+ /***/ "./node_modules/uuid/dist/commonjs-browser/v1ToV6.js":
7740
+ /*!***********************************************************!*\
7741
+ !*** ./node_modules/uuid/dist/commonjs-browser/v1ToV6.js ***!
7742
+ \***********************************************************/
7743
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7744
+
7745
+
7746
+
7747
+ Object.defineProperty(exports, "__esModule", ({
7748
+ value: true
7749
+ }));
7750
+ exports["default"] = v1ToV6;
7751
+ var _parse = _interopRequireDefault(__webpack_require__(/*! ./parse.js */ "./node_modules/uuid/dist/commonjs-browser/parse.js"));
7752
+ var _stringify = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js");
7753
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7754
+ /**
7755
+ * Convert a v1 UUID to a v6 UUID
7756
+ *
7757
+ * @param {string|Uint8Array} uuid - The v1 UUID to convert to v6
7758
+ * @returns {string|Uint8Array} The v6 UUID as the same type as the `uuid` arg
7759
+ * (string or Uint8Array)
7760
+ */
7761
+ function v1ToV6(uuid) {
7762
+ var v1Bytes = typeof uuid === 'string' ? (0, _parse.default)(uuid) : uuid;
7763
+ var v6Bytes = _v1ToV6(v1Bytes);
7764
+ return typeof uuid === 'string' ? (0, _stringify.unsafeStringify)(v6Bytes) : v6Bytes;
7765
+ }
7766
+
7767
+ // Do the field transformation needed for v1 -> v6
7768
+ function _v1ToV6(v1Bytes, randomize = false) {
7769
+ return Uint8Array.of((v1Bytes[6] & 0x0f) << 4 | v1Bytes[7] >> 4 & 0x0f, (v1Bytes[7] & 0x0f) << 4 | (v1Bytes[4] & 0xf0) >> 4, (v1Bytes[4] & 0x0f) << 4 | (v1Bytes[5] & 0xf0) >> 4, (v1Bytes[5] & 0x0f) << 4 | (v1Bytes[0] & 0xf0) >> 4, (v1Bytes[0] & 0x0f) << 4 | (v1Bytes[1] & 0xf0) >> 4, (v1Bytes[1] & 0x0f) << 4 | (v1Bytes[2] & 0xf0) >> 4, 0x60 | v1Bytes[2] & 0x0f, v1Bytes[3], v1Bytes[8], v1Bytes[9], v1Bytes[10], v1Bytes[11], v1Bytes[12], v1Bytes[13], v1Bytes[14], v1Bytes[15]);
7770
+ }
7728
7771
 
7729
7772
  /***/ }),
7730
7773
 
@@ -7740,16 +7783,11 @@ Object.defineProperty(exports, "__esModule", ({
7740
7783
  value: true
7741
7784
  }));
7742
7785
  exports["default"] = void 0;
7743
-
7744
7786
  var _v = _interopRequireDefault(__webpack_require__(/*! ./v35.js */ "./node_modules/uuid/dist/commonjs-browser/v35.js"));
7745
-
7746
7787
  var _md = _interopRequireDefault(__webpack_require__(/*! ./md5.js */ "./node_modules/uuid/dist/commonjs-browser/md5.js"));
7747
-
7748
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7749
-
7750
- const v3 = (0, _v.default)('v3', 0x30, _md.default);
7751
- var _default = v3;
7752
- exports["default"] = _default;
7788
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7789
+ var v3 = (0, _v.default)('v3', 0x30, _md.default);
7790
+ var _default = exports["default"] = v3;
7753
7791
 
7754
7792
  /***/ }),
7755
7793
 
@@ -7766,75 +7804,58 @@ Object.defineProperty(exports, "__esModule", ({
7766
7804
  }));
7767
7805
  exports.URL = exports.DNS = void 0;
7768
7806
  exports["default"] = v35;
7769
-
7770
7807
  var _stringify = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js");
7771
-
7772
7808
  var _parse = _interopRequireDefault(__webpack_require__(/*! ./parse.js */ "./node_modules/uuid/dist/commonjs-browser/parse.js"));
7773
-
7774
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7775
-
7809
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7776
7810
  function stringToBytes(str) {
7777
7811
  str = unescape(encodeURIComponent(str)); // UTF8 escape
7778
7812
 
7779
- const bytes = [];
7780
-
7781
- for (let i = 0; i < str.length; ++i) {
7813
+ var bytes = [];
7814
+ for (var i = 0; i < str.length; ++i) {
7782
7815
  bytes.push(str.charCodeAt(i));
7783
7816
  }
7784
-
7785
7817
  return bytes;
7786
7818
  }
7787
-
7788
- const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
7789
- exports.DNS = DNS;
7790
- const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
7791
- exports.URL = URL;
7792
-
7819
+ var DNS = exports.DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
7820
+ var URL = exports.URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
7793
7821
  function v35(name, version, hashfunc) {
7794
7822
  function generateUUID(value, namespace, buf, offset) {
7795
7823
  var _namespace;
7796
-
7797
7824
  if (typeof value === 'string') {
7798
7825
  value = stringToBytes(value);
7799
7826
  }
7800
-
7801
7827
  if (typeof namespace === 'string') {
7802
7828
  namespace = (0, _parse.default)(namespace);
7803
7829
  }
7804
-
7805
7830
  if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {
7806
7831
  throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');
7807
- } // Compute hash of namespace and value, Per 4.3
7832
+ }
7833
+
7834
+ // Compute hash of namespace and value, Per 4.3
7808
7835
  // Future: Use spread syntax when supported on all platforms, e.g. `bytes =
7809
7836
  // hashfunc([...namespace, ... value])`
7810
-
7811
-
7812
- let bytes = new Uint8Array(16 + value.length);
7837
+ var bytes = new Uint8Array(16 + value.length);
7813
7838
  bytes.set(namespace);
7814
7839
  bytes.set(value, namespace.length);
7815
7840
  bytes = hashfunc(bytes);
7816
7841
  bytes[6] = bytes[6] & 0x0f | version;
7817
7842
  bytes[8] = bytes[8] & 0x3f | 0x80;
7818
-
7819
7843
  if (buf) {
7820
7844
  offset = offset || 0;
7821
-
7822
- for (let i = 0; i < 16; ++i) {
7845
+ for (var i = 0; i < 16; ++i) {
7823
7846
  buf[offset + i] = bytes[i];
7824
7847
  }
7825
-
7826
7848
  return buf;
7827
7849
  }
7828
-
7829
7850
  return (0, _stringify.unsafeStringify)(bytes);
7830
- } // Function#name is not settable on some platforms (#270)
7831
-
7851
+ }
7832
7852
 
7853
+ // Function#name is not settable on some platforms (#270)
7833
7854
  try {
7834
- generateUUID.name = name; // eslint-disable-next-line no-empty
7835
- } catch (err) {} // For CommonJS default export support
7836
-
7855
+ generateUUID.name = name;
7856
+ } catch (err) {}
7837
7857
 
7858
+ // For CommonJS default export support
7838
7859
  generateUUID.DNS = DNS;
7839
7860
  generateUUID.URL = URL;
7840
7861
  return generateUUID;
@@ -7854,43 +7875,32 @@ Object.defineProperty(exports, "__esModule", ({
7854
7875
  value: true
7855
7876
  }));
7856
7877
  exports["default"] = void 0;
7857
-
7858
7878
  var _native = _interopRequireDefault(__webpack_require__(/*! ./native.js */ "./node_modules/uuid/dist/commonjs-browser/native.js"));
7859
-
7860
7879
  var _rng = _interopRequireDefault(__webpack_require__(/*! ./rng.js */ "./node_modules/uuid/dist/commonjs-browser/rng.js"));
7861
-
7862
7880
  var _stringify = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js");
7863
-
7864
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7865
-
7881
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7866
7882
  function v4(options, buf, offset) {
7867
7883
  if (_native.default.randomUUID && !buf && !options) {
7868
7884
  return _native.default.randomUUID();
7869
7885
  }
7870
-
7871
7886
  options = options || {};
7887
+ var rnds = options.random || (options.rng || _rng.default)();
7872
7888
 
7873
- const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
7874
-
7875
-
7889
+ // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
7876
7890
  rnds[6] = rnds[6] & 0x0f | 0x40;
7877
- rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
7891
+ rnds[8] = rnds[8] & 0x3f | 0x80;
7878
7892
 
7893
+ // Copy bytes to buffer, if provided
7879
7894
  if (buf) {
7880
7895
  offset = offset || 0;
7881
-
7882
- for (let i = 0; i < 16; ++i) {
7896
+ for (var i = 0; i < 16; ++i) {
7883
7897
  buf[offset + i] = rnds[i];
7884
7898
  }
7885
-
7886
7899
  return buf;
7887
7900
  }
7888
-
7889
7901
  return (0, _stringify.unsafeStringify)(rnds);
7890
7902
  }
7891
-
7892
- var _default = v4;
7893
- exports["default"] = _default;
7903
+ var _default = exports["default"] = v4;
7894
7904
 
7895
7905
  /***/ }),
7896
7906
 
@@ -7906,16 +7916,258 @@ Object.defineProperty(exports, "__esModule", ({
7906
7916
  value: true
7907
7917
  }));
7908
7918
  exports["default"] = void 0;
7909
-
7910
7919
  var _v = _interopRequireDefault(__webpack_require__(/*! ./v35.js */ "./node_modules/uuid/dist/commonjs-browser/v35.js"));
7911
-
7912
7920
  var _sha = _interopRequireDefault(__webpack_require__(/*! ./sha1.js */ "./node_modules/uuid/dist/commonjs-browser/sha1.js"));
7921
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7922
+ var v5 = (0, _v.default)('v5', 0x50, _sha.default);
7923
+ var _default = exports["default"] = v5;
7924
+
7925
+ /***/ }),
7926
+
7927
+ /***/ "./node_modules/uuid/dist/commonjs-browser/v6.js":
7928
+ /*!*******************************************************!*\
7929
+ !*** ./node_modules/uuid/dist/commonjs-browser/v6.js ***!
7930
+ \*******************************************************/
7931
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7932
+
7933
+
7934
+
7935
+ Object.defineProperty(exports, "__esModule", ({
7936
+ value: true
7937
+ }));
7938
+ exports["default"] = v6;
7939
+ var _stringify = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js");
7940
+ var _v = _interopRequireDefault(__webpack_require__(/*! ./v1.js */ "./node_modules/uuid/dist/commonjs-browser/v1.js"));
7941
+ var _v1ToV = _interopRequireDefault(__webpack_require__(/*! ./v1ToV6.js */ "./node_modules/uuid/dist/commonjs-browser/v1ToV6.js"));
7942
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7943
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7944
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7945
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
7946
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
7947
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7948
+ /**
7949
+ *
7950
+ * @param {object} options
7951
+ * @param {Uint8Array=} buf
7952
+ * @param {number=} offset
7953
+ * @returns
7954
+ */
7955
+ function v6(options = {}, buf, offset = 0) {
7956
+ // v6 is v1 with different field layout, so we start with a v1 UUID, albeit
7957
+ // with slightly different behavior around how the clock_seq and node fields
7958
+ // are randomized, which is why we call v1 with _v6: true.
7959
+ var bytes = (0, _v.default)(_objectSpread(_objectSpread({}, options), {}, {
7960
+ _v6: true
7961
+ }), new Uint8Array(16));
7962
+
7963
+ // Reorder the fields to v6 layout.
7964
+ bytes = (0, _v1ToV.default)(bytes);
7965
+
7966
+ // Return as a byte array if requested
7967
+ if (buf) {
7968
+ for (var i = 0; i < 16; i++) {
7969
+ buf[offset + i] = bytes[i];
7970
+ }
7971
+ return buf;
7972
+ }
7973
+ return (0, _stringify.unsafeStringify)(bytes);
7974
+ }
7975
+
7976
+ /***/ }),
7977
+
7978
+ /***/ "./node_modules/uuid/dist/commonjs-browser/v6ToV1.js":
7979
+ /*!***********************************************************!*\
7980
+ !*** ./node_modules/uuid/dist/commonjs-browser/v6ToV1.js ***!
7981
+ \***********************************************************/
7982
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7983
+
7984
+
7985
+
7986
+ Object.defineProperty(exports, "__esModule", ({
7987
+ value: true
7988
+ }));
7989
+ exports["default"] = v6ToV1;
7990
+ var _parse = _interopRequireDefault(__webpack_require__(/*! ./parse.js */ "./node_modules/uuid/dist/commonjs-browser/parse.js"));
7991
+ var _stringify = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js");
7992
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7993
+ /**
7994
+ * Convert a v6 UUID to a v1 UUID
7995
+ *
7996
+ * @param {string|Uint8Array} uuid - The v6 UUID to convert to v6
7997
+ * @returns {string|Uint8Array} The v1 UUID as the same type as the `uuid` arg
7998
+ * (string or Uint8Array)
7999
+ */
8000
+ function v6ToV1(uuid) {
8001
+ var v6Bytes = typeof uuid === 'string' ? (0, _parse.default)(uuid) : uuid;
8002
+ var v1Bytes = _v6ToV1(v6Bytes);
8003
+ return typeof uuid === 'string' ? (0, _stringify.unsafeStringify)(v1Bytes) : v1Bytes;
8004
+ }
8005
+
8006
+ // Do the field transformation needed for v6 -> v1
8007
+ function _v6ToV1(v6Bytes) {
8008
+ return Uint8Array.of((v6Bytes[3] & 0x0f) << 4 | v6Bytes[4] >> 4 & 0x0f, (v6Bytes[4] & 0x0f) << 4 | (v6Bytes[5] & 0xf0) >> 4, (v6Bytes[5] & 0x0f) << 4 | v6Bytes[6] & 0x0f, v6Bytes[7], (v6Bytes[1] & 0x0f) << 4 | (v6Bytes[2] & 0xf0) >> 4, (v6Bytes[2] & 0x0f) << 4 | (v6Bytes[3] & 0xf0) >> 4, 0x10 | (v6Bytes[0] & 0xf0) >> 4, (v6Bytes[0] & 0x0f) << 4 | (v6Bytes[1] & 0xf0) >> 4, v6Bytes[8], v6Bytes[9], v6Bytes[10], v6Bytes[11], v6Bytes[12], v6Bytes[13], v6Bytes[14], v6Bytes[15]);
8009
+ }
8010
+
8011
+ /***/ }),
8012
+
8013
+ /***/ "./node_modules/uuid/dist/commonjs-browser/v7.js":
8014
+ /*!*******************************************************!*\
8015
+ !*** ./node_modules/uuid/dist/commonjs-browser/v7.js ***!
8016
+ \*******************************************************/
8017
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
8018
+
8019
+
8020
+
8021
+ Object.defineProperty(exports, "__esModule", ({
8022
+ value: true
8023
+ }));
8024
+ exports["default"] = void 0;
8025
+ var _rng = _interopRequireDefault(__webpack_require__(/*! ./rng.js */ "./node_modules/uuid/dist/commonjs-browser/rng.js"));
8026
+ var _stringify = __webpack_require__(/*! ./stringify.js */ "./node_modules/uuid/dist/commonjs-browser/stringify.js");
8027
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
8028
+ /**
8029
+ * UUID V7 - Unix Epoch time-based UUID
8030
+ *
8031
+ * The IETF has published RFC9562, introducing 3 new UUID versions (6,7,8). This
8032
+ * implementation of V7 is based on the accepted, though not yet approved,
8033
+ * revisions.
8034
+ *
8035
+ * RFC 9562:https://www.rfc-editor.org/rfc/rfc9562.html Universally Unique
8036
+ * IDentifiers (UUIDs)
8037
+
8038
+ *
8039
+ * Sample V7 value:
8040
+ * https://www.rfc-editor.org/rfc/rfc9562.html#name-example-of-a-uuidv7-value
8041
+ *
8042
+ * Monotonic Bit Layout: RFC rfc9562.6.2 Method 1, Dedicated Counter Bits ref:
8043
+ * https://www.rfc-editor.org/rfc/rfc9562.html#section-6.2-5.1
8044
+ *
8045
+ * 0 1 2 3 0 1 2 3 4 5 6
8046
+ * 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
8047
+ * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
8048
+ * | unix_ts_ms |
8049
+ * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
8050
+ * | unix_ts_ms | ver | seq_hi |
8051
+ * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
8052
+ * |var| seq_low | rand |
8053
+ * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
8054
+ * | rand |
8055
+ * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
8056
+ *
8057
+ * seq is a 31 bit serialized counter; comprised of 12 bit seq_hi and 19 bit
8058
+ * seq_low, and randomly initialized upon timestamp change. 31 bit counter size
8059
+ * was selected as any bitwise operations in node are done as _signed_ 32 bit
8060
+ * ints. we exclude the sign bit.
8061
+ */
8062
+
8063
+ var _seqLow = null;
8064
+ var _seqHigh = null;
8065
+ var _msecs = 0;
8066
+ function v7(options, buf, offset) {
8067
+ options = options || {};
8068
+
8069
+ // initialize buffer and pointer
8070
+ var i = buf && offset || 0;
8071
+ var b = buf || new Uint8Array(16);
8072
+
8073
+ // rnds is Uint8Array(16) filled with random bytes
8074
+ var rnds = options.random || (options.rng || _rng.default)();
8075
+
8076
+ // milliseconds since unix epoch, 1970-01-01 00:00
8077
+ var msecs = options.msecs !== undefined ? options.msecs : Date.now();
7913
8078
 
7914
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8079
+ // seq is user provided 31 bit counter
8080
+ var seq = options.seq !== undefined ? options.seq : null;
7915
8081
 
7916
- const v5 = (0, _v.default)('v5', 0x50, _sha.default);
7917
- var _default = v5;
7918
- exports["default"] = _default;
8082
+ // initialize local seq high/low parts
8083
+ var seqHigh = _seqHigh;
8084
+ var seqLow = _seqLow;
8085
+
8086
+ // check if clock has advanced and user has not provided msecs
8087
+ if (msecs > _msecs && options.msecs === undefined) {
8088
+ _msecs = msecs;
8089
+
8090
+ // unless user provided seq, reset seq parts
8091
+ if (seq !== null) {
8092
+ seqHigh = null;
8093
+ seqLow = null;
8094
+ }
8095
+ }
8096
+
8097
+ // if we have a user provided seq
8098
+ if (seq !== null) {
8099
+ // trim provided seq to 31 bits of value, avoiding overflow
8100
+ if (seq > 0x7fffffff) {
8101
+ seq = 0x7fffffff;
8102
+ }
8103
+
8104
+ // split provided seq into high/low parts
8105
+ seqHigh = seq >>> 19 & 0xfff;
8106
+ seqLow = seq & 0x7ffff;
8107
+ }
8108
+
8109
+ // randomly initialize seq
8110
+ if (seqHigh === null || seqLow === null) {
8111
+ seqHigh = rnds[6] & 0x7f;
8112
+ seqHigh = seqHigh << 8 | rnds[7];
8113
+ seqLow = rnds[8] & 0x3f; // pad for var
8114
+ seqLow = seqLow << 8 | rnds[9];
8115
+ seqLow = seqLow << 5 | rnds[10] >>> 3;
8116
+ }
8117
+
8118
+ // increment seq if within msecs window
8119
+ if (msecs + 10000 > _msecs && seq === null) {
8120
+ if (++seqLow > 0x7ffff) {
8121
+ seqLow = 0;
8122
+ if (++seqHigh > 0xfff) {
8123
+ seqHigh = 0;
8124
+
8125
+ // increment internal _msecs. this allows us to continue incrementing
8126
+ // while staying monotonic. Note, once we hit 10k milliseconds beyond system
8127
+ // clock, we will reset breaking monotonicity (after (2^31)*10000 generations)
8128
+ _msecs++;
8129
+ }
8130
+ }
8131
+ } else {
8132
+ // resetting; we have advanced more than
8133
+ // 10k milliseconds beyond system clock
8134
+ _msecs = msecs;
8135
+ }
8136
+ _seqHigh = seqHigh;
8137
+ _seqLow = seqLow;
8138
+
8139
+ // [bytes 0-5] 48 bits of local timestamp
8140
+ b[i++] = _msecs / 0x10000000000 & 0xff;
8141
+ b[i++] = _msecs / 0x100000000 & 0xff;
8142
+ b[i++] = _msecs / 0x1000000 & 0xff;
8143
+ b[i++] = _msecs / 0x10000 & 0xff;
8144
+ b[i++] = _msecs / 0x100 & 0xff;
8145
+ b[i++] = _msecs & 0xff;
8146
+
8147
+ // [byte 6] - set 4 bits of version (7) with first 4 bits seq_hi
8148
+ b[i++] = seqHigh >>> 4 & 0x0f | 0x70;
8149
+
8150
+ // [byte 7] remaining 8 bits of seq_hi
8151
+ b[i++] = seqHigh & 0xff;
8152
+
8153
+ // [byte 8] - variant (2 bits), first 6 bits seq_low
8154
+ b[i++] = seqLow >>> 13 & 0x3f | 0x80;
8155
+
8156
+ // [byte 9] 8 bits seq_low
8157
+ b[i++] = seqLow >>> 5 & 0xff;
8158
+
8159
+ // [byte 10] remaining 5 bits seq_low, 3 bits random
8160
+ b[i++] = seqLow << 3 & 0xff | rnds[10] & 0x07;
8161
+
8162
+ // [bytes 11-15] always random
8163
+ b[i++] = rnds[11];
8164
+ b[i++] = rnds[12];
8165
+ b[i++] = rnds[13];
8166
+ b[i++] = rnds[14];
8167
+ b[i++] = rnds[15];
8168
+ return buf || (0, _stringify.unsafeStringify)(b);
8169
+ }
8170
+ var _default = exports["default"] = v7;
7919
8171
 
7920
8172
  /***/ }),
7921
8173
 
@@ -7931,17 +8183,12 @@ Object.defineProperty(exports, "__esModule", ({
7931
8183
  value: true
7932
8184
  }));
7933
8185
  exports["default"] = void 0;
7934
-
7935
8186
  var _regex = _interopRequireDefault(__webpack_require__(/*! ./regex.js */ "./node_modules/uuid/dist/commonjs-browser/regex.js"));
7936
-
7937
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7938
-
8187
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7939
8188
  function validate(uuid) {
7940
8189
  return typeof uuid === 'string' && _regex.default.test(uuid);
7941
8190
  }
7942
-
7943
- var _default = validate;
7944
- exports["default"] = _default;
8191
+ var _default = exports["default"] = validate;
7945
8192
 
7946
8193
  /***/ }),
7947
8194
 
@@ -7957,21 +8204,15 @@ Object.defineProperty(exports, "__esModule", ({
7957
8204
  value: true
7958
8205
  }));
7959
8206
  exports["default"] = void 0;
7960
-
7961
8207
  var _validate = _interopRequireDefault(__webpack_require__(/*! ./validate.js */ "./node_modules/uuid/dist/commonjs-browser/validate.js"));
7962
-
7963
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
7964
-
8208
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
7965
8209
  function version(uuid) {
7966
8210
  if (!(0, _validate.default)(uuid)) {
7967
8211
  throw TypeError('Invalid UUID');
7968
8212
  }
7969
-
7970
8213
  return parseInt(uuid.slice(14, 15), 16);
7971
8214
  }
7972
-
7973
- var _default = version;
7974
- exports["default"] = _default;
8215
+ var _default = exports["default"] = version;
7975
8216
 
7976
8217
  /***/ }),
7977
8218
 
@@ -7985,10 +8226,12 @@ __webpack_require__.r(__webpack_exports__);
7985
8226
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7986
8227
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
7987
8228
  /* harmony export */ });
7988
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js");
8229
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js");
7989
8230
  /* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "./node_modules/axios/lib/helpers/null.js");
7990
8231
  /* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "./node_modules/axios/lib/adapters/xhr.js");
7991
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js");
8232
+ /* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "./node_modules/axios/lib/adapters/fetch.js");
8233
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js");
8234
+
7992
8235
 
7993
8236
 
7994
8237
 
@@ -7996,10 +8239,11 @@ __webpack_require__.r(__webpack_exports__);
7996
8239
 
7997
8240
  const knownAdapters = {
7998
8241
  http: _http_js__WEBPACK_IMPORTED_MODULE_0__["default"],
7999
- xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_1__["default"]
8242
+ xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_1__["default"],
8243
+ fetch: _fetch_js__WEBPACK_IMPORTED_MODULE_2__["default"]
8000
8244
  }
8001
8245
 
8002
- _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].forEach(knownAdapters, (fn, value) => {
8246
+ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(knownAdapters, (fn, value) => {
8003
8247
  if (fn) {
8004
8248
  try {
8005
8249
  Object.defineProperty(fn, 'name', {value});
@@ -8012,11 +8256,11 @@ _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].forEach(knownAdapters, (fn, va
8012
8256
 
8013
8257
  const renderReason = (reason) => `- ${reason}`;
8014
8258
 
8015
- const isResolvedHandle = (adapter) => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isFunction(adapter) || adapter === null || adapter === false;
8259
+ const isResolvedHandle = (adapter) => _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(adapter) || adapter === null || adapter === false;
8016
8260
 
8017
8261
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
8018
8262
  getAdapter: (adapters) => {
8019
- adapters = _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isArray(adapters) ? adapters : [adapters];
8263
+ adapters = _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isArray(adapters) ? adapters : [adapters];
8020
8264
 
8021
8265
  const {length} = adapters;
8022
8266
  let nameOrAdapter;
@@ -8034,38 +8278,288 @@ const isResolvedHandle = (adapter) => _utils_js__WEBPACK_IMPORTED_MODULE_2__["de
8034
8278
  adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
8035
8279
 
8036
8280
  if (adapter === undefined) {
8037
- throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](`Unknown adapter '${id}'`);
8281
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__["default"](`Unknown adapter '${id}'`);
8038
8282
  }
8039
8283
  }
8040
8284
 
8041
- if (adapter) {
8042
- break;
8043
- }
8285
+ if (adapter) {
8286
+ break;
8287
+ }
8288
+
8289
+ rejectedReasons[id || '#' + i] = adapter;
8290
+ }
8291
+
8292
+ if (!adapter) {
8293
+
8294
+ const reasons = Object.entries(rejectedReasons)
8295
+ .map(([id, state]) => `adapter ${id} ` +
8296
+ (state === false ? 'is not supported by the environment' : 'is not available in the build')
8297
+ );
8298
+
8299
+ let s = length ?
8300
+ (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
8301
+ 'as no adapter specified';
8302
+
8303
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__["default"](
8304
+ `There is no suitable adapter to dispatch the request ` + s,
8305
+ 'ERR_NOT_SUPPORT'
8306
+ );
8307
+ }
8308
+
8309
+ return adapter;
8310
+ },
8311
+ adapters: knownAdapters
8312
+ });
8313
+
8314
+
8315
+ /***/ }),
8316
+
8317
+ /***/ "./node_modules/axios/lib/adapters/fetch.js":
8318
+ /*!**************************************************!*\
8319
+ !*** ./node_modules/axios/lib/adapters/fetch.js ***!
8320
+ \**************************************************/
8321
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
8322
+
8323
+ __webpack_require__.r(__webpack_exports__);
8324
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8325
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
8326
+ /* harmony export */ });
8327
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js");
8328
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js");
8329
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js");
8330
+ /* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "./node_modules/axios/lib/helpers/composeSignals.js");
8331
+ /* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/trackStream.js */ "./node_modules/axios/lib/helpers/trackStream.js");
8332
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/axios/lib/core/AxiosHeaders.js");
8333
+ /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "./node_modules/axios/lib/helpers/progressEventReducer.js");
8334
+ /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "./node_modules/axios/lib/helpers/resolveConfig.js");
8335
+ /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "./node_modules/axios/lib/core/settle.js");
8336
+
8337
+
8338
+
8339
+
8340
+
8341
+
8342
+
8343
+
8344
+
8345
+
8346
+ const fetchProgressDecorator = (total, fn) => {
8347
+ const lengthComputable = total != null;
8348
+ return (loaded) => setTimeout(() => fn({
8349
+ lengthComputable,
8350
+ total,
8351
+ loaded
8352
+ }));
8353
+ }
8354
+
8355
+ const isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function';
8356
+ const isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function';
8357
+
8358
+ // used only inside the fetch adapter
8359
+ const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ?
8360
+ ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) :
8361
+ async (str) => new Uint8Array(await new Response(str).arrayBuffer())
8362
+ );
8363
+
8364
+ const supportsRequestStream = isReadableStreamSupported && (() => {
8365
+ let duplexAccessed = false;
8366
+
8367
+ const hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin, {
8368
+ body: new ReadableStream(),
8369
+ method: 'POST',
8370
+ get duplex() {
8371
+ duplexAccessed = true;
8372
+ return 'half';
8373
+ },
8374
+ }).headers.has('Content-Type');
8375
+
8376
+ return duplexAccessed && !hasContentType;
8377
+ })();
8378
+
8379
+ const DEFAULT_CHUNK_SIZE = 64 * 1024;
8380
+
8381
+ const supportsResponseStream = isReadableStreamSupported && !!(()=> {
8382
+ try {
8383
+ return _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isReadableStream(new Response('').body);
8384
+ } catch(err) {
8385
+ // return undefined
8386
+ }
8387
+ })();
8388
+
8389
+ const resolvers = {
8390
+ stream: supportsResponseStream && ((res) => res.body)
8391
+ };
8392
+
8393
+ isFetchSupported && (((res) => {
8394
+ ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {
8395
+ !resolvers[type] && (resolvers[type] = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFunction(res[type]) ? (res) => res[type]() :
8396
+ (_, config) => {
8397
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](`Response type '${type}' is not supported`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NOT_SUPPORT, config);
8398
+ })
8399
+ });
8400
+ })(new Response));
8401
+
8402
+ const getBodyLength = async (body) => {
8403
+ if (body == null) {
8404
+ return 0;
8405
+ }
8406
+
8407
+ if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isBlob(body)) {
8408
+ return body.size;
8409
+ }
8410
+
8411
+ if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isSpecCompliantForm(body)) {
8412
+ return (await new Request(body).arrayBuffer()).byteLength;
8413
+ }
8414
+
8415
+ if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isArrayBufferView(body)) {
8416
+ return body.byteLength;
8417
+ }
8418
+
8419
+ if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isURLSearchParams(body)) {
8420
+ body = body + '';
8421
+ }
8422
+
8423
+ if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(body)) {
8424
+ return (await encodeText(body)).byteLength;
8425
+ }
8426
+ }
8427
+
8428
+ const resolveBodyLength = async (headers, body) => {
8429
+ const length = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].toFiniteNumber(headers.getContentLength());
8430
+
8431
+ return length == null ? getBodyLength(body) : length;
8432
+ }
8433
+
8434
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isFetchSupported && (async (config) => {
8435
+ let {
8436
+ url,
8437
+ method,
8438
+ data,
8439
+ signal,
8440
+ cancelToken,
8441
+ timeout,
8442
+ onDownloadProgress,
8443
+ onUploadProgress,
8444
+ responseType,
8445
+ headers,
8446
+ withCredentials = 'same-origin',
8447
+ fetchOptions
8448
+ } = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"])(config);
8449
+
8450
+ responseType = responseType ? (responseType + '').toLowerCase() : 'text';
8451
+
8452
+ let [composedSignal, stopTimeout] = (signal || cancelToken || timeout) ?
8453
+ (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])([signal, cancelToken], timeout) : [];
8454
+
8455
+ let finished, request;
8456
+
8457
+ const onFinish = () => {
8458
+ !finished && setTimeout(() => {
8459
+ composedSignal && composedSignal.unsubscribe();
8460
+ });
8461
+
8462
+ finished = true;
8463
+ }
8464
+
8465
+ let requestContentLength;
8466
+
8467
+ try {
8468
+ if (
8469
+ onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head' &&
8470
+ (requestContentLength = await resolveBodyLength(headers, data)) !== 0
8471
+ ) {
8472
+ let _request = new Request(url, {
8473
+ method: 'POST',
8474
+ body: data,
8475
+ duplex: "half"
8476
+ });
8477
+
8478
+ let contentTypeHeader;
8479
+
8480
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
8481
+ headers.setContentType(contentTypeHeader)
8482
+ }
8483
+
8484
+ if (_request.body) {
8485
+ data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_5__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, fetchProgressDecorator(
8486
+ requestContentLength,
8487
+ (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__["default"])(onUploadProgress)
8488
+ ), null, encodeText);
8489
+ }
8490
+ }
8491
+
8492
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(withCredentials)) {
8493
+ withCredentials = withCredentials ? 'cors' : 'omit';
8494
+ }
8495
+
8496
+ request = new Request(url, {
8497
+ ...fetchOptions,
8498
+ signal: composedSignal,
8499
+ method: method.toUpperCase(),
8500
+ headers: headers.normalize().toJSON(),
8501
+ body: data,
8502
+ duplex: "half",
8503
+ withCredentials
8504
+ });
8505
+
8506
+ let response = await fetch(request);
8507
+
8508
+ const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
8509
+
8510
+ if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
8511
+ const options = {};
8512
+
8513
+ ['status', 'statusText', 'headers'].forEach(prop => {
8514
+ options[prop] = response[prop];
8515
+ });
8516
+
8517
+ const responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].toFiniteNumber(response.headers.get('content-length'));
8044
8518
 
8045
- rejectedReasons[id || '#' + i] = adapter;
8519
+ response = new Response(
8520
+ (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_5__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onDownloadProgress && fetchProgressDecorator(
8521
+ responseContentLength,
8522
+ (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__["default"])(onDownloadProgress, true)
8523
+ ), isStreamResponse && onFinish, encodeText),
8524
+ options
8525
+ );
8046
8526
  }
8047
8527
 
8048
- if (!adapter) {
8528
+ responseType = responseType || 'text';
8049
8529
 
8050
- const reasons = Object.entries(rejectedReasons)
8051
- .map(([id, state]) => `adapter ${id} ` +
8052
- (state === false ? 'is not supported by the environment' : 'is not available in the build')
8053
- );
8530
+ let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].findKey(resolvers, responseType) || 'text'](response, config);
8054
8531
 
8055
- let s = length ?
8056
- (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
8057
- 'as no adapter specified';
8532
+ !isStreamResponse && onFinish();
8058
8533
 
8059
- throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
8060
- `There is no suitable adapter to dispatch the request ` + s,
8061
- 'ERR_NOT_SUPPORT'
8062
- );
8534
+ stopTimeout && stopTimeout();
8535
+
8536
+ return await new Promise((resolve, reject) => {
8537
+ (0,_core_settle_js__WEBPACK_IMPORTED_MODULE_7__["default"])(resolve, reject, {
8538
+ data: responseData,
8539
+ headers: _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__["default"].from(response.headers),
8540
+ status: response.status,
8541
+ statusText: response.statusText,
8542
+ config,
8543
+ request
8544
+ })
8545
+ })
8546
+ } catch (err) {
8547
+ onFinish();
8548
+
8549
+ if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
8550
+ throw Object.assign(
8551
+ new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NETWORK, config, request),
8552
+ {
8553
+ cause: err.cause || err
8554
+ }
8555
+ )
8063
8556
  }
8064
8557
 
8065
- return adapter;
8066
- },
8067
- adapters: knownAdapters
8068
- });
8558
+ throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(err, err && err.code, config, request);
8559
+ }
8560
+ }));
8561
+
8562
+
8069
8563
 
8070
8564
 
8071
8565
  /***/ }),
@@ -8080,25 +8574,16 @@ __webpack_require__.r(__webpack_exports__);
8080
8574
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8081
8575
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
8082
8576
  /* harmony export */ });
8083
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../utils.js */ "./node_modules/axios/lib/utils.js");
8084
- /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./../core/settle.js */ "./node_modules/axios/lib/core/settle.js");
8085
- /* harmony import */ var _helpers_cookies_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./../helpers/cookies.js */ "./node_modules/axios/lib/helpers/cookies.js");
8086
- /* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../helpers/buildURL.js */ "./node_modules/axios/lib/helpers/buildURL.js");
8087
- /* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/buildFullPath.js */ "./node_modules/axios/lib/core/buildFullPath.js");
8088
- /* harmony import */ var _helpers_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./../helpers/isURLSameOrigin.js */ "./node_modules/axios/lib/helpers/isURLSameOrigin.js");
8089
- /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../defaults/transitional.js */ "./node_modules/axios/lib/defaults/transitional.js");
8090
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js");
8091
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/axios/lib/cancel/CanceledError.js");
8092
- /* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "./node_modules/axios/lib/helpers/parseProtocol.js");
8093
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js");
8577
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../utils.js */ "./node_modules/axios/lib/utils.js");
8578
+ /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../core/settle.js */ "./node_modules/axios/lib/core/settle.js");
8579
+ /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "./node_modules/axios/lib/defaults/transitional.js");
8580
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js");
8581
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/axios/lib/cancel/CanceledError.js");
8582
+ /* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "./node_modules/axios/lib/helpers/parseProtocol.js");
8583
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js");
8094
8584
  /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/axios/lib/core/AxiosHeaders.js");
8095
- /* harmony import */ var _helpers_speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/speedometer.js */ "./node_modules/axios/lib/helpers/speedometer.js");
8096
-
8097
-
8098
-
8099
-
8100
-
8101
-
8585
+ /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "./node_modules/axios/lib/helpers/progressEventReducer.js");
8586
+ /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "./node_modules/axios/lib/helpers/resolveConfig.js");
8102
8587
 
8103
8588
 
8104
8589
 
@@ -8109,80 +8594,32 @@ __webpack_require__.r(__webpack_exports__);
8109
8594
 
8110
8595
 
8111
8596
 
8112
- function progressEventReducer(listener, isDownloadStream) {
8113
- let bytesNotified = 0;
8114
- const _speedometer = (0,_helpers_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
8115
-
8116
- return e => {
8117
- const loaded = e.loaded;
8118
- const total = e.lengthComputable ? e.total : undefined;
8119
- const progressBytes = loaded - bytesNotified;
8120
- const rate = _speedometer(progressBytes);
8121
- const inRange = loaded <= total;
8122
-
8123
- bytesNotified = loaded;
8124
-
8125
- const data = {
8126
- loaded,
8127
- total,
8128
- progress: total ? (loaded / total) : undefined,
8129
- bytes: progressBytes,
8130
- rate: rate ? rate : undefined,
8131
- estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
8132
- event: e
8133
- };
8134
-
8135
- data[isDownloadStream ? 'download' : 'upload'] = true;
8136
-
8137
- listener(data);
8138
- };
8139
- }
8140
8597
 
8141
8598
  const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
8142
8599
 
8143
8600
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isXHRAdapterSupported && function (config) {
8144
8601
  return new Promise(function dispatchXhrRequest(resolve, reject) {
8145
- let requestData = config.data;
8146
- const requestHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(config.headers).normalize();
8147
- let {responseType, withXSRFToken} = config;
8602
+ const _config = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__["default"])(config);
8603
+ let requestData = _config.data;
8604
+ const requestHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(_config.headers).normalize();
8605
+ let {responseType} = _config;
8148
8606
  let onCanceled;
8149
8607
  function done() {
8150
- if (config.cancelToken) {
8151
- config.cancelToken.unsubscribe(onCanceled);
8608
+ if (_config.cancelToken) {
8609
+ _config.cancelToken.unsubscribe(onCanceled);
8152
8610
  }
8153
8611
 
8154
- if (config.signal) {
8155
- config.signal.removeEventListener('abort', onCanceled);
8156
- }
8157
- }
8158
-
8159
- let contentType;
8160
-
8161
- if (_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isFormData(requestData)) {
8162
- if (_platform_index_js__WEBPACK_IMPORTED_MODULE_3__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_3__["default"].hasStandardBrowserWebWorkerEnv) {
8163
- requestHeaders.setContentType(false); // Let the browser set it
8164
- } else if ((contentType = requestHeaders.getContentType()) !== false) {
8165
- // fix semicolon duplication issue for ReactNative FormData implementation
8166
- const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : [];
8167
- requestHeaders.setContentType([type || 'multipart/form-data', ...tokens].join('; '));
8612
+ if (_config.signal) {
8613
+ _config.signal.removeEventListener('abort', onCanceled);
8168
8614
  }
8169
8615
  }
8170
8616
 
8171
8617
  let request = new XMLHttpRequest();
8172
8618
 
8173
- // HTTP basic authentication
8174
- if (config.auth) {
8175
- const username = config.auth.username || '';
8176
- const password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
8177
- requestHeaders.set('Authorization', 'Basic ' + btoa(username + ':' + password));
8178
- }
8179
-
8180
- const fullPath = (0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_4__["default"])(config.baseURL, config.url);
8181
-
8182
- request.open(config.method.toUpperCase(), (0,_helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_5__["default"])(fullPath, config.params, config.paramsSerializer), true);
8619
+ request.open(_config.method.toUpperCase(), _config.url, true);
8183
8620
 
8184
8621
  // Set the request timeout in MS
8185
- request.timeout = config.timeout;
8622
+ request.timeout = _config.timeout;
8186
8623
 
8187
8624
  function onloadend() {
8188
8625
  if (!request) {
@@ -8203,7 +8640,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
8203
8640
  request
8204
8641
  };
8205
8642
 
8206
- (0,_core_settle_js__WEBPACK_IMPORTED_MODULE_6__["default"])(function _resolve(value) {
8643
+ (0,_core_settle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(function _resolve(value) {
8207
8644
  resolve(value);
8208
8645
  done();
8209
8646
  }, function _reject(err) {
@@ -8244,7 +8681,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
8244
8681
  return;
8245
8682
  }
8246
8683
 
8247
- reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_7__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_7__["default"].ECONNABORTED, config, request));
8684
+ reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED, _config, request));
8248
8685
 
8249
8686
  // Clean up request
8250
8687
  request = null;
@@ -8254,7 +8691,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
8254
8691
  request.onerror = function handleError() {
8255
8692
  // Real errors are hidden from us by the browser
8256
8693
  // onerror should only fire if it's a network error
8257
- reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_7__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_7__["default"].ERR_NETWORK, config, request));
8694
+ reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_NETWORK, _config, request));
8258
8695
 
8259
8696
  // Clean up request
8260
8697
  request = null;
@@ -8262,89 +8699,73 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
8262
8699
 
8263
8700
  // Handle timeout
8264
8701
  request.ontimeout = function handleTimeout() {
8265
- let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
8266
- const transitional = config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_8__["default"];
8267
- if (config.timeoutErrorMessage) {
8268
- timeoutErrorMessage = config.timeoutErrorMessage;
8702
+ let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
8703
+ const transitional = _config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__["default"];
8704
+ if (_config.timeoutErrorMessage) {
8705
+ timeoutErrorMessage = _config.timeoutErrorMessage;
8269
8706
  }
8270
- reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_7__["default"](
8707
+ reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
8271
8708
  timeoutErrorMessage,
8272
- transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_7__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_7__["default"].ECONNABORTED,
8273
- config,
8709
+ transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED,
8710
+ _config,
8274
8711
  request));
8275
8712
 
8276
8713
  // Clean up request
8277
8714
  request = null;
8278
8715
  };
8279
8716
 
8280
- // Add xsrf header
8281
- // This is only done if running in a standard browser environment.
8282
- // Specifically not if we're in a web worker, or react-native.
8283
- if(_platform_index_js__WEBPACK_IMPORTED_MODULE_3__["default"].hasStandardBrowserEnv) {
8284
- withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));
8285
-
8286
- if (withXSRFToken || (withXSRFToken !== false && (0,_helpers_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_9__["default"])(fullPath))) {
8287
- // Add xsrf header
8288
- const xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && _helpers_cookies_js__WEBPACK_IMPORTED_MODULE_10__["default"].read(config.xsrfCookieName);
8289
-
8290
- if (xsrfValue) {
8291
- requestHeaders.set(config.xsrfHeaderName, xsrfValue);
8292
- }
8293
- }
8294
- }
8295
-
8296
8717
  // Remove Content-Type if data is undefined
8297
8718
  requestData === undefined && requestHeaders.setContentType(null);
8298
8719
 
8299
8720
  // Add headers to the request
8300
8721
  if ('setRequestHeader' in request) {
8301
- _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
8722
+ _utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
8302
8723
  request.setRequestHeader(key, val);
8303
8724
  });
8304
8725
  }
8305
8726
 
8306
8727
  // Add withCredentials to request if needed
8307
- if (!_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isUndefined(config.withCredentials)) {
8308
- request.withCredentials = !!config.withCredentials;
8728
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].isUndefined(_config.withCredentials)) {
8729
+ request.withCredentials = !!_config.withCredentials;
8309
8730
  }
8310
8731
 
8311
8732
  // Add responseType to request if needed
8312
8733
  if (responseType && responseType !== 'json') {
8313
- request.responseType = config.responseType;
8734
+ request.responseType = _config.responseType;
8314
8735
  }
8315
8736
 
8316
8737
  // Handle progress if needed
8317
- if (typeof config.onDownloadProgress === 'function') {
8318
- request.addEventListener('progress', progressEventReducer(config.onDownloadProgress, true));
8738
+ if (typeof _config.onDownloadProgress === 'function') {
8739
+ request.addEventListener('progress', (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_config.onDownloadProgress, true));
8319
8740
  }
8320
8741
 
8321
8742
  // Not all browsers support upload events
8322
- if (typeof config.onUploadProgress === 'function' && request.upload) {
8323
- request.upload.addEventListener('progress', progressEventReducer(config.onUploadProgress));
8743
+ if (typeof _config.onUploadProgress === 'function' && request.upload) {
8744
+ request.upload.addEventListener('progress', (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__["default"])(_config.onUploadProgress));
8324
8745
  }
8325
8746
 
8326
- if (config.cancelToken || config.signal) {
8747
+ if (_config.cancelToken || _config.signal) {
8327
8748
  // Handle cancellation
8328
8749
  // eslint-disable-next-line func-names
8329
8750
  onCanceled = cancel => {
8330
8751
  if (!request) {
8331
8752
  return;
8332
8753
  }
8333
- reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_11__["default"](null, config, request) : cancel);
8754
+ reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__["default"](null, config, request) : cancel);
8334
8755
  request.abort();
8335
8756
  request = null;
8336
8757
  };
8337
8758
 
8338
- config.cancelToken && config.cancelToken.subscribe(onCanceled);
8339
- if (config.signal) {
8340
- config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);
8759
+ _config.cancelToken && _config.cancelToken.subscribe(onCanceled);
8760
+ if (_config.signal) {
8761
+ _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
8341
8762
  }
8342
8763
  }
8343
8764
 
8344
- const protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_12__["default"])(fullPath);
8765
+ const protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_config.url);
8345
8766
 
8346
- if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_3__["default"].protocols.indexOf(protocol) === -1) {
8347
- reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_7__["default"]('Unsupported protocol ' + protocol + ':', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_7__["default"].ERR_BAD_REQUEST, config));
8767
+ if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_9__["default"].protocols.indexOf(protocol) === -1) {
8768
+ reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Unsupported protocol ' + protocol + ':', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_BAD_REQUEST, config));
8348
8769
  return;
8349
8770
  }
8350
8771
 
@@ -8739,12 +9160,15 @@ class Axios {
8739
9160
 
8740
9161
  // slice off the Error: ... line
8741
9162
  const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
8742
-
8743
- if (!err.stack) {
8744
- err.stack = stack;
8745
- // match without the 2 top stack lines
8746
- } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
8747
- err.stack += '\n' + stack
9163
+ try {
9164
+ if (!err.stack) {
9165
+ err.stack = stack;
9166
+ // match without the 2 top stack lines
9167
+ } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
9168
+ err.stack += '\n' + stack
9169
+ }
9170
+ } catch (e) {
9171
+ // ignore the case where "stack" is an un-writable property
8748
9172
  }
8749
9173
  }
8750
9174
 
@@ -9149,6 +9573,10 @@ class AxiosHeaders {
9149
9573
  setHeaders(header, valueOrRewrite)
9150
9574
  } else if(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
9151
9575
  setHeaders((0,_helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"])(header), valueOrRewrite);
9576
+ } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isHeaders(header)) {
9577
+ for (const [key, value] of header.entries()) {
9578
+ setHeader(value, key, rewrite);
9579
+ }
9152
9580
  } else {
9153
9581
  header != null && setHeader(valueOrRewrite, header, rewrite);
9154
9582
  }
@@ -9838,7 +10266,7 @@ const defaults = {
9838
10266
 
9839
10267
  transitional: _transitional_js__WEBPACK_IMPORTED_MODULE_1__["default"],
9840
10268
 
9841
- adapter: ['xhr', 'http'],
10269
+ adapter: ['xhr', 'http', 'fetch'],
9842
10270
 
9843
10271
  transformRequest: [function transformRequest(data, headers) {
9844
10272
  const contentType = headers.getContentType() || '';
@@ -9859,7 +10287,8 @@ const defaults = {
9859
10287
  _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBuffer(data) ||
9860
10288
  _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isStream(data) ||
9861
10289
  _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFile(data) ||
9862
- _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBlob(data)
10290
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBlob(data) ||
10291
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)
9863
10292
  ) {
9864
10293
  return data;
9865
10294
  }
@@ -9902,6 +10331,10 @@ const defaults = {
9902
10331
  const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
9903
10332
  const JSONRequested = this.responseType === 'json';
9904
10333
 
10334
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)) {
10335
+ return data;
10336
+ }
10337
+
9905
10338
  if (data && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {
9906
10339
  const silentJSONParsing = transitional && transitional.silentJSONParsing;
9907
10340
  const strictJSONParsing = !silentJSONParsing && JSONRequested;
@@ -9990,7 +10423,7 @@ __webpack_require__.r(__webpack_exports__);
9990
10423
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9991
10424
  /* harmony export */ VERSION: () => (/* binding */ VERSION)
9992
10425
  /* harmony export */ });
9993
- const VERSION = "1.6.8";
10426
+ const VERSION = "1.7.2";
9994
10427
 
9995
10428
  /***/ }),
9996
10429
 
@@ -10279,6 +10712,68 @@ function combineURLs(baseURL, relativeURL) {
10279
10712
  }
10280
10713
 
10281
10714
 
10715
+ /***/ }),
10716
+
10717
+ /***/ "./node_modules/axios/lib/helpers/composeSignals.js":
10718
+ /*!**********************************************************!*\
10719
+ !*** ./node_modules/axios/lib/helpers/composeSignals.js ***!
10720
+ \**********************************************************/
10721
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10722
+
10723
+ __webpack_require__.r(__webpack_exports__);
10724
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10725
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10726
+ /* harmony export */ });
10727
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/axios/lib/cancel/CanceledError.js");
10728
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js");
10729
+
10730
+
10731
+
10732
+ const composeSignals = (signals, timeout) => {
10733
+ let controller = new AbortController();
10734
+
10735
+ let aborted;
10736
+
10737
+ const onabort = function (cancel) {
10738
+ if (!aborted) {
10739
+ aborted = true;
10740
+ unsubscribe();
10741
+ const err = cancel instanceof Error ? cancel : this.reason;
10742
+ controller.abort(err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? err : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err));
10743
+ }
10744
+ }
10745
+
10746
+ let timer = timeout && setTimeout(() => {
10747
+ onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout ${timeout} of ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT))
10748
+ }, timeout)
10749
+
10750
+ const unsubscribe = () => {
10751
+ if (signals) {
10752
+ timer && clearTimeout(timer);
10753
+ timer = null;
10754
+ signals.forEach(signal => {
10755
+ signal &&
10756
+ (signal.removeEventListener ? signal.removeEventListener('abort', onabort) : signal.unsubscribe(onabort));
10757
+ });
10758
+ signals = null;
10759
+ }
10760
+ }
10761
+
10762
+ signals.forEach((signal) => signal && signal.addEventListener && signal.addEventListener('abort', onabort));
10763
+
10764
+ const {signal} = controller;
10765
+
10766
+ signal.unsubscribe = unsubscribe;
10767
+
10768
+ return [signal, () => {
10769
+ timer && clearTimeout(timer);
10770
+ timer = null;
10771
+ }];
10772
+ }
10773
+
10774
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);
10775
+
10776
+
10282
10777
  /***/ }),
10283
10778
 
10284
10779
  /***/ "./node_modules/axios/lib/helpers/cookies.js":
@@ -10694,6 +11189,133 @@ function parseProtocol(url) {
10694
11189
  }
10695
11190
 
10696
11191
 
11192
+ /***/ }),
11193
+
11194
+ /***/ "./node_modules/axios/lib/helpers/progressEventReducer.js":
11195
+ /*!****************************************************************!*\
11196
+ !*** ./node_modules/axios/lib/helpers/progressEventReducer.js ***!
11197
+ \****************************************************************/
11198
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
11199
+
11200
+ __webpack_require__.r(__webpack_exports__);
11201
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11202
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
11203
+ /* harmony export */ });
11204
+ /* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "./node_modules/axios/lib/helpers/speedometer.js");
11205
+ /* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "./node_modules/axios/lib/helpers/throttle.js");
11206
+
11207
+
11208
+
11209
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((listener, isDownloadStream, freq = 3) => {
11210
+ let bytesNotified = 0;
11211
+ const _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
11212
+
11213
+ return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(e => {
11214
+ const loaded = e.loaded;
11215
+ const total = e.lengthComputable ? e.total : undefined;
11216
+ const progressBytes = loaded - bytesNotified;
11217
+ const rate = _speedometer(progressBytes);
11218
+ const inRange = loaded <= total;
11219
+
11220
+ bytesNotified = loaded;
11221
+
11222
+ const data = {
11223
+ loaded,
11224
+ total,
11225
+ progress: total ? (loaded / total) : undefined,
11226
+ bytes: progressBytes,
11227
+ rate: rate ? rate : undefined,
11228
+ estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
11229
+ event: e,
11230
+ lengthComputable: total != null
11231
+ };
11232
+
11233
+ data[isDownloadStream ? 'download' : 'upload'] = true;
11234
+
11235
+ listener(data);
11236
+ }, freq);
11237
+ });
11238
+
11239
+
11240
+ /***/ }),
11241
+
11242
+ /***/ "./node_modules/axios/lib/helpers/resolveConfig.js":
11243
+ /*!*********************************************************!*\
11244
+ !*** ./node_modules/axios/lib/helpers/resolveConfig.js ***!
11245
+ \*********************************************************/
11246
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
11247
+
11248
+ __webpack_require__.r(__webpack_exports__);
11249
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11250
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
11251
+ /* harmony export */ });
11252
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js");
11253
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js");
11254
+ /* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "./node_modules/axios/lib/helpers/isURLSameOrigin.js");
11255
+ /* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "./node_modules/axios/lib/helpers/cookies.js");
11256
+ /* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "./node_modules/axios/lib/core/buildFullPath.js");
11257
+ /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "./node_modules/axios/lib/core/mergeConfig.js");
11258
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/axios/lib/core/AxiosHeaders.js");
11259
+ /* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "./node_modules/axios/lib/helpers/buildURL.js");
11260
+
11261
+
11262
+
11263
+
11264
+
11265
+
11266
+
11267
+
11268
+
11269
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((config) => {
11270
+ const newConfig = (0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__["default"])({}, config);
11271
+
11272
+ let {data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth} = newConfig;
11273
+
11274
+ newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(headers);
11275
+
11276
+ newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__["default"])(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
11277
+
11278
+ // HTTP basic authentication
11279
+ if (auth) {
11280
+ headers.set('Authorization', 'Basic ' +
11281
+ btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : ''))
11282
+ );
11283
+ }
11284
+
11285
+ let contentType;
11286
+
11287
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_4__["default"].isFormData(data)) {
11288
+ if (_platform_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].hasStandardBrowserWebWorkerEnv) {
11289
+ headers.setContentType(undefined); // Let the browser set it
11290
+ } else if ((contentType = headers.getContentType()) !== false) {
11291
+ // fix semicolon duplication issue for ReactNative FormData implementation
11292
+ const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : [];
11293
+ headers.setContentType([type || 'multipart/form-data', ...tokens].join('; '));
11294
+ }
11295
+ }
11296
+
11297
+ // Add xsrf header
11298
+ // This is only done if running in a standard browser environment.
11299
+ // Specifically not if we're in a web worker, or react-native.
11300
+
11301
+ if (_platform_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].hasStandardBrowserEnv) {
11302
+ withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_4__["default"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));
11303
+
11304
+ if (withXSRFToken || (withXSRFToken !== false && (0,_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__["default"])(newConfig.url))) {
11305
+ // Add xsrf header
11306
+ const xsrfValue = xsrfHeaderName && xsrfCookieName && _cookies_js__WEBPACK_IMPORTED_MODULE_7__["default"].read(xsrfCookieName);
11307
+
11308
+ if (xsrfValue) {
11309
+ headers.set(xsrfHeaderName, xsrfValue);
11310
+ }
11311
+ }
11312
+ }
11313
+
11314
+ return newConfig;
11315
+ });
11316
+
11317
+
11318
+
10697
11319
  /***/ }),
10698
11320
 
10699
11321
  /***/ "./node_modules/axios/lib/helpers/speedometer.js":
@@ -10805,6 +11427,55 @@ function spread(callback) {
10805
11427
  }
10806
11428
 
10807
11429
 
11430
+ /***/ }),
11431
+
11432
+ /***/ "./node_modules/axios/lib/helpers/throttle.js":
11433
+ /*!****************************************************!*\
11434
+ !*** ./node_modules/axios/lib/helpers/throttle.js ***!
11435
+ \****************************************************/
11436
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
11437
+
11438
+ __webpack_require__.r(__webpack_exports__);
11439
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11440
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
11441
+ /* harmony export */ });
11442
+
11443
+
11444
+ /**
11445
+ * Throttle decorator
11446
+ * @param {Function} fn
11447
+ * @param {Number} freq
11448
+ * @return {Function}
11449
+ */
11450
+ function throttle(fn, freq) {
11451
+ let timestamp = 0;
11452
+ const threshold = 1000 / freq;
11453
+ let timer = null;
11454
+ return function throttled() {
11455
+ const force = this === true;
11456
+
11457
+ const now = Date.now();
11458
+ if (force || now - timestamp > threshold) {
11459
+ if (timer) {
11460
+ clearTimeout(timer);
11461
+ timer = null;
11462
+ }
11463
+ timestamp = now;
11464
+ return fn.apply(null, arguments);
11465
+ }
11466
+ if (!timer) {
11467
+ timer = setTimeout(() => {
11468
+ timer = null;
11469
+ timestamp = Date.now();
11470
+ return fn.apply(null, arguments);
11471
+ }, threshold - (now - timestamp));
11472
+ }
11473
+ };
11474
+ }
11475
+
11476
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (throttle);
11477
+
11478
+
10808
11479
  /***/ }),
10809
11480
 
10810
11481
  /***/ "./node_modules/axios/lib/helpers/toFormData.js":
@@ -11076,6 +11747,77 @@ function toURLEncodedForm(data, options) {
11076
11747
  }
11077
11748
 
11078
11749
 
11750
+ /***/ }),
11751
+
11752
+ /***/ "./node_modules/axios/lib/helpers/trackStream.js":
11753
+ /*!*******************************************************!*\
11754
+ !*** ./node_modules/axios/lib/helpers/trackStream.js ***!
11755
+ \*******************************************************/
11756
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
11757
+
11758
+ __webpack_require__.r(__webpack_exports__);
11759
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11760
+ /* harmony export */ readBytes: () => (/* binding */ readBytes),
11761
+ /* harmony export */ streamChunk: () => (/* binding */ streamChunk),
11762
+ /* harmony export */ trackStream: () => (/* binding */ trackStream)
11763
+ /* harmony export */ });
11764
+
11765
+
11766
+ const streamChunk = function* (chunk, chunkSize) {
11767
+ let len = chunk.byteLength;
11768
+
11769
+ if (!chunkSize || len < chunkSize) {
11770
+ yield chunk;
11771
+ return;
11772
+ }
11773
+
11774
+ let pos = 0;
11775
+ let end;
11776
+
11777
+ while (pos < len) {
11778
+ end = pos + chunkSize;
11779
+ yield chunk.slice(pos, end);
11780
+ pos = end;
11781
+ }
11782
+ }
11783
+
11784
+ const readBytes = async function* (iterable, chunkSize, encode) {
11785
+ for await (const chunk of iterable) {
11786
+ yield* streamChunk(ArrayBuffer.isView(chunk) ? chunk : (await encode(String(chunk))), chunkSize);
11787
+ }
11788
+ }
11789
+
11790
+ const trackStream = (stream, chunkSize, onProgress, onFinish, encode) => {
11791
+ const iterator = readBytes(stream, chunkSize, encode);
11792
+
11793
+ let bytes = 0;
11794
+
11795
+ return new ReadableStream({
11796
+ type: 'bytes',
11797
+
11798
+ async pull(controller) {
11799
+ const {done, value} = await iterator.next();
11800
+
11801
+ if (done) {
11802
+ controller.close();
11803
+ onFinish();
11804
+ return;
11805
+ }
11806
+
11807
+ let len = value.byteLength;
11808
+ onProgress && onProgress(bytes += len);
11809
+ controller.enqueue(new Uint8Array(value));
11810
+ },
11811
+ cancel(reason) {
11812
+ onFinish(reason);
11813
+ return iterator.return();
11814
+ }
11815
+ }, {
11816
+ highWaterMark: 2
11817
+ })
11818
+ }
11819
+
11820
+
11079
11821
  /***/ }),
11080
11822
 
11081
11823
  /***/ "./node_modules/axios/lib/helpers/validator.js":
@@ -11278,7 +12020,8 @@ __webpack_require__.r(__webpack_exports__);
11278
12020
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11279
12021
  /* harmony export */ hasBrowserEnv: () => (/* binding */ hasBrowserEnv),
11280
12022
  /* harmony export */ hasStandardBrowserEnv: () => (/* binding */ hasStandardBrowserEnv),
11281
- /* harmony export */ hasStandardBrowserWebWorkerEnv: () => (/* binding */ hasStandardBrowserWebWorkerEnv)
12023
+ /* harmony export */ hasStandardBrowserWebWorkerEnv: () => (/* binding */ hasStandardBrowserWebWorkerEnv),
12024
+ /* harmony export */ origin: () => (/* binding */ origin)
11282
12025
  /* harmony export */ });
11283
12026
  const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
11284
12027
 
@@ -11322,6 +12065,8 @@ const hasStandardBrowserWebWorkerEnv = (() => {
11322
12065
  );
11323
12066
  })();
11324
12067
 
12068
+ const origin = hasBrowserEnv && window.location.href || 'http://localhost';
12069
+
11325
12070
 
11326
12071
 
11327
12072
 
@@ -11572,6 +12317,8 @@ const isFormData = (thing) => {
11572
12317
  */
11573
12318
  const isURLSearchParams = kindOfTest('URLSearchParams');
11574
12319
 
12320
+ const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest);
12321
+
11575
12322
  /**
11576
12323
  * Trim excess whitespace off the beginning and end of a string
11577
12324
  *
@@ -11960,8 +12707,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
11960
12707
  const noop = () => {}
11961
12708
 
11962
12709
  const toFiniteNumber = (value, defaultValue) => {
11963
- value = +value;
11964
- return Number.isFinite(value) ? value : defaultValue;
12710
+ return value != null && Number.isFinite(value = +value) ? value : defaultValue;
11965
12711
  }
11966
12712
 
11967
12713
  const ALPHA = 'abcdefghijklmnopqrstuvwxyz'
@@ -12042,6 +12788,10 @@ const isThenable = (thing) =>
12042
12788
  isBoolean,
12043
12789
  isObject,
12044
12790
  isPlainObject,
12791
+ isReadableStream,
12792
+ isRequest,
12793
+ isResponse,
12794
+ isHeaders,
12045
12795
  isUndefined,
12046
12796
  isDate,
12047
12797
  isFile,