fds-vue-core 8.12.0 → 8.12.2

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.
@@ -1788,7 +1788,7 @@ var FdsButtonCopy_default = /* @__PURE__ */ defineComponent({
1788
1788
  }
1789
1789
  });
1790
1790
  //#endregion
1791
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/bind.js
1791
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/bind.js
1792
1792
  /**
1793
1793
  * Create a bound version of a function with a specified `this` context
1794
1794
  *
@@ -1802,7 +1802,7 @@ function bind(fn, thisArg) {
1802
1802
  };
1803
1803
  }
1804
1804
  //#endregion
1805
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js
1805
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js
1806
1806
  var { toString } = Object.prototype;
1807
1807
  var { getPrototypeOf } = Object;
1808
1808
  var { iterator, toStringTag } = Symbol;
@@ -2021,7 +2021,7 @@ var isBoolean = (thing) => thing === true || thing === false;
2021
2021
  var isPlainObject = (val) => {
2022
2022
  if (!isObject$2(val)) return false;
2023
2023
  const prototype = getPrototypeOf(val);
2024
- return (prototype === null || prototype === Object.prototype || getPrototypeOf(prototype) === null) && !hasOwnInPrototypeChain(val, toStringTag) && !hasOwnInPrototypeChain(val, iterator);
2024
+ return (prototype === null || prototype === Object.prototype || getPrototypeOf(prototype) === null) && (isPrototypeBoundary(val, prototype, true) || !hasOwnProperty(val, toStringTag) && !hasOwnProperty(val, iterator));
2025
2025
  };
2026
2026
  /**
2027
2027
  * Determine if a value is an empty object (safely handles Buffers)
@@ -2230,9 +2230,16 @@ var isContextDefined = (context) => !isUndefined(context) && context !== _global
2230
2230
  function merge$1(...objs) {
2231
2231
  const { caseless, skipUndefined } = isContextDefined(this) && this || {};
2232
2232
  const result = {};
2233
+ const lowerCaseKeys = caseless ? Object.create(null) : null;
2233
2234
  const assignValue = (val, key) => {
2234
2235
  if (key === "__proto__" || key === "constructor" || key === "prototype") return;
2235
- const targetKey = caseless && typeof key === "string" && findKey$1(result, key) || key;
2236
+ let targetKey = key;
2237
+ if (lowerCaseKeys && typeof key === "string") {
2238
+ const lowerKey = key.toLowerCase();
2239
+ const knownKey = lowerCaseKeys[lowerKey];
2240
+ if (knownKey !== void 0 && hasOwnProperty(result, knownKey)) targetKey = knownKey;
2241
+ else lowerCaseKeys[lowerKey] = key;
2242
+ }
2236
2243
  const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : void 0;
2237
2244
  if (isPlainObject(existing) && isPlainObject(val)) result[targetKey] = merge$1(existing, val);
2238
2245
  else if (isPlainObject(val)) result[targetKey] = merge$1({}, val);
@@ -2243,7 +2250,7 @@ function merge$1(...objs) {
2243
2250
  const source = objs[i];
2244
2251
  if (!source || isBuffer(source)) continue;
2245
2252
  forEach(source, assignValue);
2246
- if (typeof source !== "object" || isArray(source)) continue;
2253
+ if (typeof source !== "object" || isArray(source) || !Object.getOwnPropertySymbols) continue;
2247
2254
  const symbols = Object.getOwnPropertySymbols(source);
2248
2255
  for (let j = 0; j < symbols.length; j++) {
2249
2256
  const symbol = symbols[j];
@@ -2374,7 +2381,22 @@ var toArray = (thing) => {
2374
2381
  if (!thing) return null;
2375
2382
  if (isArray(thing)) return thing;
2376
2383
  let i = thing.length;
2377
- if (!isNumber(i)) return null;
2384
+ if (!Number.isSafeInteger(i) || i < 0 || i > 4294967295) return null;
2385
+ const indexes = /* @__PURE__ */ new Set();
2386
+ const seen = /* @__PURE__ */ new Set();
2387
+ let source = thing;
2388
+ while (source != null && indexes.size < i) {
2389
+ if (seen.has(source)) return null;
2390
+ seen.add(source);
2391
+ const prototype = getPrototypeOf(source);
2392
+ if (isPrototypeBoundary(source, prototype, source === thing)) break;
2393
+ Object.getOwnPropertyNames(source).forEach((key) => {
2394
+ const index = +key;
2395
+ if (Number.isInteger(index) && index >= 0 && index < i && String(index) === key && hasOwnProperty(source, key)) indexes.add(index);
2396
+ });
2397
+ source = prototype;
2398
+ }
2399
+ if (indexes.size !== i) return null;
2378
2400
  const arr = new Array(i);
2379
2401
  while (i-- > 0) arr[i] = thing[i];
2380
2402
  return arr;
@@ -2657,7 +2679,7 @@ var utils_default = {
2657
2679
  isSafeIterable
2658
2680
  };
2659
2681
  //#endregion
2660
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseHeaders.js
2682
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseHeaders.js
2661
2683
  var ignoreDuplicateOf = utils_default.toObjectSet([
2662
2684
  "age",
2663
2685
  "authorization",
@@ -2692,7 +2714,7 @@ var ignoreDuplicateOf = utils_default.toObjectSet([
2692
2714
  * @returns {Object} Headers parsed into an object
2693
2715
  */
2694
2716
  var parseHeaders_default = (rawHeaders) => {
2695
- const parsed = {};
2717
+ const parsed = Object.create(null);
2696
2718
  let key;
2697
2719
  let val;
2698
2720
  let i;
@@ -2710,7 +2732,7 @@ var parseHeaders_default = (rawHeaders) => {
2710
2732
  return parsed;
2711
2733
  };
2712
2734
  //#endregion
2713
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js
2735
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js
2714
2736
  function trimSPorHTAB(str) {
2715
2737
  let start = 0;
2716
2738
  let end = str.length;
@@ -2742,7 +2764,7 @@ function toByteStringHeaderObject(headers) {
2742
2764
  return byteStringHeaders;
2743
2765
  }
2744
2766
  //#endregion
2745
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js
2767
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js
2746
2768
  var $internals$1 = Symbol("internals");
2747
2769
  function normalizeHeader(header) {
2748
2770
  return header && String(header).trim().toLowerCase();
@@ -2822,8 +2844,10 @@ function parseParameters(value) {
2822
2844
  return parameters;
2823
2845
  }
2824
2846
  var isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
2847
+ var PROTO_HEADER_SLOT = "__Proto__";
2848
+ var headerSlot = (name) => name === "__proto__" ? PROTO_HEADER_SLOT : name;
2825
2849
  function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
2826
- if (utils_default.isFunction(filter)) return filter.call(this, value, header);
2850
+ if (utils_default.isFunction(filter)) return filter.call(context, value, header);
2827
2851
  if (isHeaderNameFilter) value = header;
2828
2852
  if (!utils_default.isString(value)) return;
2829
2853
  if (utils_default.isString(filter)) return value.indexOf(filter) !== -1;
@@ -2860,7 +2884,7 @@ var AxiosHeaders = class {
2860
2884
  const lHeader = normalizeHeader(_header);
2861
2885
  if (!lHeader) return;
2862
2886
  const key = utils_default.findKey(self, lHeader);
2863
- if (!key || self[key] === void 0 || _rewrite === true || _rewrite === void 0 && self[key] !== false) self[key || _header] = normalizeValue(_value);
2887
+ if (!key || self[key] === void 0 || _rewrite === true || _rewrite === void 0 && self[key] !== false) self[headerSlot(key || _header)] = normalizeValue(_value);
2864
2888
  }
2865
2889
  const setHeaders = (headers, _rewrite) => utils_default.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
2866
2890
  if (utils_default.isPlainObject(header) || header instanceof this.constructor) setHeaders(header, valueOrRewrite);
@@ -2933,7 +2957,7 @@ var AxiosHeaders = class {
2933
2957
  }
2934
2958
  normalize(format) {
2935
2959
  const self = this;
2936
- const headers = {};
2960
+ const headers = Object.create(null);
2937
2961
  utils_default.forEach(this, (value, header) => {
2938
2962
  const key = utils_default.findKey(headers, header);
2939
2963
  if (key) {
@@ -2941,7 +2965,7 @@ var AxiosHeaders = class {
2941
2965
  delete self[header];
2942
2966
  return;
2943
2967
  }
2944
- const normalized = format ? formatHeader(header) : String(header).trim();
2968
+ const normalized = headerSlot(format ? formatHeader(header) : String(header).trim());
2945
2969
  if (normalized !== header) delete self[header];
2946
2970
  self[normalized] = normalizeValue(value);
2947
2971
  headers[normalized] = true;
@@ -3015,7 +3039,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
3015
3039
  });
3016
3040
  utils_default.freezeMethods(AxiosHeaders);
3017
3041
  //#endregion
3018
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js
3042
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js
3019
3043
  var REDACTED = "[REDACTED ****]";
3020
3044
  function hasOwnOrPrototypeToJSON(source) {
3021
3045
  if (utils_default.hasOwnProp(source, "toJSON")) return true;
@@ -3074,6 +3098,44 @@ function aggregateErrorMessage(error) {
3074
3098
  }
3075
3099
  }).filter(Boolean).join("; ") || error.name || "AggregateError";
3076
3100
  }
3101
+ var CAUSED_BY_SEPARATOR = "\nCaused by: ";
3102
+ var $causeStack = Symbol("causeStack");
3103
+ function getCauseStackIndex(error, stack) {
3104
+ const causeStack = utils_default.hasOwnProp(error, $causeStack) && error[$causeStack];
3105
+ return causeStack && stack.endsWith(causeStack) ? stack.length - causeStack.length : -1;
3106
+ }
3107
+ /**
3108
+ * Append the stack of a wrapped error to `target.stack`.
3109
+ *
3110
+ * `cause` already exposes the original error for tooling that walks the standard
3111
+ * cause chain, but many error reporters read `stack` and nothing else. Inlining
3112
+ * the wrapped stack there means those reporters surface the underlying failure
3113
+ * instead of the axios frames that normalized it (see #6670).
3114
+ *
3115
+ * Every read is defensive: a custom `Error.prepareStackTrace` hook, a runtime
3116
+ * without stack support, or a replaced `stack` property can leave the value
3117
+ * missing, non-string, or read-only, and normalizing an error must not throw
3118
+ * because of that.
3119
+ *
3120
+ * @param {Error} target The AxiosError being built.
3121
+ * @param {Error} source The error being wrapped.
3122
+ *
3123
+ * @returns {void}
3124
+ */
3125
+ function appendCauseStack(target, source) {
3126
+ try {
3127
+ const sourceStack = source && source.stack;
3128
+ if (typeof sourceStack !== "string" || !sourceStack) return;
3129
+ const targetStack = target.stack;
3130
+ if (typeof targetStack !== "string" || !targetStack) return;
3131
+ const causeStack = CAUSED_BY_SEPARATOR + sourceStack;
3132
+ target.stack = targetStack + causeStack;
3133
+ Object.defineProperty(target, $causeStack, {
3134
+ __proto__: null,
3135
+ value: causeStack
3136
+ });
3137
+ } catch (e) {}
3138
+ }
3077
3139
  var AxiosError = class AxiosError extends Error {
3078
3140
  static from(error, code, config, request, response, customProps) {
3079
3141
  let message = error.message;
@@ -3087,6 +3149,7 @@ var AxiosError = class AxiosError extends Error {
3087
3149
  configurable: true
3088
3150
  });
3089
3151
  axiosError.name = error.name;
3152
+ appendCauseStack(axiosError, error);
3090
3153
  if (error.status != null && axiosError.status == null) axiosError.status = error.status;
3091
3154
  customProps && Object.assign(axiosError, customProps);
3092
3155
  return axiosError;
@@ -3318,7 +3381,7 @@ function toFormData(obj, formData, options) {
3318
3381
  return formData;
3319
3382
  }
3320
3383
  //#endregion
3321
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
3384
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
3322
3385
  /**
3323
3386
  * It encodes a string by replacing all characters that are not in the unreserved set with
3324
3387
  * their percent-encoded equivalents
@@ -3363,7 +3426,7 @@ prototype.toString = function toString(encoder) {
3363
3426
  }, "").join("&");
3364
3427
  };
3365
3428
  //#endregion
3366
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/buildURL.js
3429
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/buildURL.js
3367
3430
  /**
3368
3431
  * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with
3369
3432
  * their plain counterparts (`:`, `$`, `,`, `+`).
@@ -3401,7 +3464,7 @@ function buildURL(url, params, options) {
3401
3464
  return url;
3402
3465
  }
3403
3466
  //#endregion
3404
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/InterceptorManager.js
3467
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/InterceptorManager.js
3405
3468
  var $internals = Symbol("internals");
3406
3469
  function countHandlers(handlers) {
3407
3470
  return handlers ? handlers.length : 0;
@@ -3410,6 +3473,10 @@ function trimHandlers(handlers) {
3410
3473
  if (!handlers) return;
3411
3474
  while (handlers.length && handlers[handlers.length - 1] === null) handlers.pop();
3412
3475
  }
3476
+ function normalizeHandlerId(id) {
3477
+ if (typeof id === "string" && id !== "" && String(Number(id)) === id) return Number(id);
3478
+ return id;
3479
+ }
3413
3480
  function syncHandlerEntries(manager, internals) {
3414
3481
  const handlers = manager.handlers;
3415
3482
  const length = countHandlers(handlers);
@@ -3473,9 +3540,10 @@ var InterceptorManager = class {
3473
3540
  eject(id) {
3474
3541
  const internals = this[$internals];
3475
3542
  syncHandlerEntries(this, internals);
3476
- const entry = internals.handlerEntries.get(id);
3543
+ const handlerId = normalizeHandlerId(id);
3544
+ const entry = internals.handlerEntries.get(handlerId);
3477
3545
  if (entry) {
3478
- internals.handlerEntries.delete(id);
3546
+ internals.handlerEntries.delete(handlerId);
3479
3547
  if (this.handlers[entry.index] !== entry.handler) return;
3480
3548
  this.handlers[entry.index] = null;
3481
3549
  if (!internals.iterationDepth) {
@@ -3523,17 +3591,18 @@ var InterceptorManager = class {
3523
3591
  }
3524
3592
  };
3525
3593
  //#endregion
3526
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js
3594
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js
3527
3595
  var transitional_default = {
3528
3596
  silentJSONParsing: true,
3529
3597
  forcedJSONParsing: true,
3530
3598
  clarifyTimeoutError: false,
3531
3599
  legacyInterceptorReqResOrdering: true,
3532
3600
  advertiseZstdAcceptEncoding: false,
3533
- validateStatusUndefinedResolves: true
3601
+ validateStatusUndefinedResolves: true,
3602
+ encodeBasicAuthUsername: false
3534
3603
  };
3535
3604
  //#endregion
3536
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/index.js
3605
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/index.js
3537
3606
  var browser_default = {
3538
3607
  isBrowser: true,
3539
3608
  classes: {
@@ -3551,7 +3620,7 @@ var browser_default = {
3551
3620
  ]
3552
3621
  };
3553
3622
  //#endregion
3554
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/common/utils.js
3623
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/common/utils.js
3555
3624
  var utils_exports = /* @__PURE__ */ __exportAll({
3556
3625
  hasBrowserEnv: () => hasBrowserEnv,
3557
3626
  hasStandardBrowserEnv: () => hasStandardBrowserEnv,
@@ -3597,13 +3666,13 @@ var hasStandardBrowserWebWorkerEnv = (() => {
3597
3666
  })();
3598
3667
  var origin = hasBrowserEnv && window.location.href || "http://localhost";
3599
3668
  //#endregion
3600
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js
3669
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js
3601
3670
  var platform_default = {
3602
3671
  ...utils_exports,
3603
3672
  ...browser_default
3604
3673
  };
3605
3674
  //#endregion
3606
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toURLEncodedForm.js
3675
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toURLEncodedForm.js
3607
3676
  function toURLEncodedForm(data, options) {
3608
3677
  return toFormData(data, new platform_default.classes.URLSearchParams(), {
3609
3678
  visitor: function(value, key, path, helpers) {
@@ -3617,7 +3686,7 @@ function toURLEncodedForm(data, options) {
3617
3686
  });
3618
3687
  }
3619
3688
  //#endregion
3620
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToJSON.js
3689
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToJSON.js
3621
3690
  var MAX_DEPTH = 100;
3622
3691
  function throwIfDepthExceeded(index) {
3623
3692
  if (index > MAX_DEPTH) throw new AxiosError("FormData field is too deeply nested (" + index + " levels). Max depth: " + MAX_DEPTH, AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED);
@@ -3658,6 +3727,22 @@ function arrayToObject(arr) {
3658
3727
  }
3659
3728
  return obj;
3660
3729
  }
3730
+ function normalizeArray(value) {
3731
+ if (!utils_default.isArray(value)) return value;
3732
+ const keys = Object.keys(value);
3733
+ return keys.length !== value.length || keys.some((key, index) => key !== String(index)) ? arrayToObject(value) : value;
3734
+ }
3735
+ function normalizeArrays(obj) {
3736
+ const pending = [obj];
3737
+ while (pending.length) {
3738
+ const target = pending.pop();
3739
+ Object.keys(target).forEach((key) => {
3740
+ const value = target[key] = normalizeArray(target[key]);
3741
+ if (utils_default.isArray(value) || utils_default.isPlainObject(value)) pending.push(value);
3742
+ });
3743
+ }
3744
+ return obj;
3745
+ }
3661
3746
  /**
3662
3747
  * It takes a FormData object and returns a JavaScript object
3663
3748
  *
@@ -3674,8 +3759,10 @@ function formDataToJSON(formData) {
3674
3759
  const isLast = index >= path.length;
3675
3760
  name = !name && utils_default.isArray(target) ? target.length : name;
3676
3761
  if (isLast) {
3677
- if (utils_default.hasOwnProp(target, name)) target[name] = utils_default.isArray(target[name]) ? target[name].concat(value) : [target[name], value];
3678
- else target[name] = value;
3762
+ if (utils_default.hasOwnProp(target, name)) {
3763
+ target[name] = normalizeArray(target[name]);
3764
+ target[name] = utils_default.isArray(target[name]) ? target[name].concat(value) : [target[name], value];
3765
+ } else target[name] = value;
3679
3766
  return !isNumericKey;
3680
3767
  }
3681
3768
  if (!utils_default.hasOwnProp(target, name) || !utils_default.isObject(target[name])) target[name] = [];
@@ -3687,12 +3774,12 @@ function formDataToJSON(formData) {
3687
3774
  utils_default.forEachEntry(formData, (name, value) => {
3688
3775
  buildPath(parsePropPath(name), value, obj, 0);
3689
3776
  });
3690
- return obj;
3777
+ return normalizeArrays(obj);
3691
3778
  }
3692
3779
  return null;
3693
3780
  }
3694
3781
  //#endregion
3695
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/methodList.js
3782
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/methodList.js
3696
3783
  var methodList = Object.freeze([
3697
3784
  "get",
3698
3785
  "delete",
@@ -3707,7 +3794,7 @@ var methodList = Object.freeze([
3707
3794
  "query"
3708
3795
  ]);
3709
3796
  //#endregion
3710
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/index.js
3797
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/index.js
3711
3798
  var own = (obj, key) => obj != null && utils_default.hasOwnProp(obj, key) ? obj[key] : void 0;
3712
3799
  /**
3713
3800
  * It takes a string, tries to parse it, and if it fails, it returns the stringified version
@@ -3807,7 +3894,7 @@ utils_default.forEach(methodList, (method) => {
3807
3894
  defaults.headers[method] = {};
3808
3895
  });
3809
3896
  //#endregion
3810
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/transformData.js
3897
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/transformData.js
3811
3898
  /**
3812
3899
  * Transform the data for a request or a response
3813
3900
  *
@@ -3828,12 +3915,12 @@ function transformData(fns, response) {
3828
3915
  return data;
3829
3916
  }
3830
3917
  //#endregion
3831
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/isCancel.js
3918
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/isCancel.js
3832
3919
  function isCancel(value) {
3833
3920
  return !!(value && value.__CANCEL__);
3834
3921
  }
3835
3922
  //#endregion
3836
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js
3923
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js
3837
3924
  var CanceledError = class extends AxiosError {
3838
3925
  /**
3839
3926
  * A `CanceledError` is an object that is thrown when an operation is canceled.
@@ -3851,7 +3938,7 @@ var CanceledError = class extends AxiosError {
3851
3938
  }
3852
3939
  };
3853
3940
  //#endregion
3854
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/settle.js
3941
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/settle.js
3855
3942
  /**
3856
3943
  * Resolve or reject a Promise based on response status.
3857
3944
  *
@@ -3867,7 +3954,7 @@ function settle(resolve, reject, response) {
3867
3954
  else reject(new AxiosError("Request failed with status code " + response.status, response.status >= 400 && response.status < 500 ? AxiosError.ERR_BAD_REQUEST : AxiosError.ERR_BAD_RESPONSE, response.config, response.request, response));
3868
3955
  }
3869
3956
  //#endregion
3870
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js
3957
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js
3871
3958
  var urlParserControlCharacters = /[\t\n\r]/g;
3872
3959
  /**
3873
3960
  * Match WHATWG URL preprocessing before checking a URL's protocol.
@@ -3883,13 +3970,68 @@ function normalizeURLForProtocolCheck(url) {
3883
3970
  return url.slice(start).replace(urlParserControlCharacters, "");
3884
3971
  }
3885
3972
  //#endregion
3886
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseProtocol.js
3973
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseProtocol.js
3887
3974
  function parseProtocol(url) {
3888
3975
  const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url);
3889
- return match && match[1] || "";
3976
+ return match && match[1].toLowerCase() || "";
3890
3977
  }
3891
3978
  //#endregion
3892
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/speedometer.js
3979
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/cookies.js
3980
+ var decodeCookieValue = (value) => {
3981
+ try {
3982
+ return decodeURIComponent(value);
3983
+ } catch (e) {
3984
+ return value;
3985
+ }
3986
+ };
3987
+ var cookies_default = platform_default.hasStandardBrowserEnv ? {
3988
+ write(name, value, expires, path, domain, secure, sameSite) {
3989
+ if (typeof document === "undefined") return;
3990
+ const cookie = [`${name}=${encodeURIComponent(value)}`];
3991
+ if (utils_default.isNumber(expires)) cookie.push(`expires=${new Date(expires).toUTCString()}`);
3992
+ if (utils_default.isString(path)) cookie.push(`path=${path}`);
3993
+ if (utils_default.isString(domain)) cookie.push(`domain=${domain}`);
3994
+ if (secure === true) cookie.push("secure");
3995
+ if (utils_default.isString(sameSite)) cookie.push(`SameSite=${sameSite}`);
3996
+ document.cookie = cookie.join("; ");
3997
+ },
3998
+ read(name) {
3999
+ if (typeof document === "undefined") return null;
4000
+ const cookieString = document.cookie;
4001
+ if (!cookieString) return null;
4002
+ const cookies = cookieString.split(";");
4003
+ for (let i = 0; i < cookies.length; i++) {
4004
+ const cookie = cookies[i].replace(/^\s+/, "");
4005
+ const eq = cookie.indexOf("=");
4006
+ if (eq !== -1 && cookie.slice(0, eq) === name) return decodeCookieValue(cookie.slice(eq + 1));
4007
+ }
4008
+ return null;
4009
+ },
4010
+ async readAsync(name) {
4011
+ try {
4012
+ const store = typeof window !== "undefined" && window.cookieStore;
4013
+ if (store && utils_default.isFunction(store.get)) {
4014
+ const cookie = await store.get(name);
4015
+ return cookie ? decodeCookieValue(cookie.value) : null;
4016
+ }
4017
+ } catch (e) {}
4018
+ return this.read(name);
4019
+ },
4020
+ remove(name) {
4021
+ this.write(name, "", Date.now() - 864e5, "/");
4022
+ }
4023
+ } : {
4024
+ write() {},
4025
+ read() {
4026
+ return null;
4027
+ },
4028
+ async readAsync() {
4029
+ return null;
4030
+ },
4031
+ remove() {}
4032
+ };
4033
+ //#endregion
4034
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/speedometer.js
3893
4035
  /**
3894
4036
  * Calculate data maxRate
3895
4037
  * @param {Number} [samplesCount= 10]
@@ -3924,7 +4066,7 @@ function speedometer(samplesCount, min) {
3924
4066
  };
3925
4067
  }
3926
4068
  //#endregion
3927
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/throttle.js
4069
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/throttle.js
3928
4070
  /**
3929
4071
  * Throttle decorator
3930
4072
  * @param {Function} fn
@@ -3966,7 +4108,7 @@ function throttle(fn, freq) {
3966
4108
  ];
3967
4109
  }
3968
4110
  //#endregion
3969
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/progressEventReducer.js
4111
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/progressEventReducer.js
3970
4112
  var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
3971
4113
  let bytesNotified = 0;
3972
4114
  const _speedometer = speedometer(50, 250);
@@ -4001,50 +4143,13 @@ var progressEventDecorator = (total, throttled) => {
4001
4143
  };
4002
4144
  var asyncDecorator = (fn, scheduler = utils_default.asap) => (...args) => scheduler(() => fn(...args));
4003
4145
  //#endregion
4004
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isURLSameOrigin.js
4005
- var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => {
4006
- url = new URL(url, platform_default.origin);
4007
- return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port);
4008
- })(new URL(platform_default.origin), platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)) : () => true;
4009
- //#endregion
4010
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/cookies.js
4011
- var cookies_default = platform_default.hasStandardBrowserEnv ? {
4012
- write(name, value, expires, path, domain, secure, sameSite) {
4013
- if (typeof document === "undefined") return;
4014
- const cookie = [`${name}=${encodeURIComponent(value)}`];
4015
- if (utils_default.isNumber(expires)) cookie.push(`expires=${new Date(expires).toUTCString()}`);
4016
- if (utils_default.isString(path)) cookie.push(`path=${path}`);
4017
- if (utils_default.isString(domain)) cookie.push(`domain=${domain}`);
4018
- if (secure === true) cookie.push("secure");
4019
- if (utils_default.isString(sameSite)) cookie.push(`SameSite=${sameSite}`);
4020
- document.cookie = cookie.join("; ");
4021
- },
4022
- read(name) {
4023
- if (typeof document === "undefined") return null;
4024
- const cookies = document.cookie.split(";");
4025
- for (let i = 0; i < cookies.length; i++) {
4026
- const cookie = cookies[i].replace(/^\s+/, "");
4027
- const eq = cookie.indexOf("=");
4028
- if (eq !== -1 && cookie.slice(0, eq) === name) try {
4029
- return decodeURIComponent(cookie.slice(eq + 1));
4030
- } catch (e) {
4031
- return cookie.slice(eq + 1);
4032
- }
4033
- }
4034
- return null;
4035
- },
4036
- remove(name) {
4037
- this.write(name, "", Date.now() - 864e5, "/");
4038
- }
4039
- } : {
4040
- write() {},
4041
- read() {
4042
- return null;
4043
- },
4044
- remove() {}
4045
- };
4146
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isURLSameOrigin.js
4147
+ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin) => (url) => {
4148
+ url = new URL(url, document.baseURI || platform_default.origin);
4149
+ return origin.protocol === url.protocol && origin.host === url.host && origin.port === url.port;
4150
+ })(new URL(platform_default.origin)) : () => true;
4046
4151
  //#endregion
4047
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAbsoluteURL.js
4152
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAbsoluteURL.js
4048
4153
  /**
4049
4154
  * Determines whether the specified URL is absolute
4050
4155
  *
@@ -4057,7 +4162,7 @@ function isAbsoluteURL(url) {
4057
4162
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
4058
4163
  }
4059
4164
  //#endregion
4060
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/combineURLs.js
4165
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/combineURLs.js
4061
4166
  /**
4062
4167
  * Creates a new URL by combining the specified URLs
4063
4168
  *
@@ -4073,7 +4178,7 @@ function combineURLs(baseURL, relativeURL) {
4073
4178
  return baseURL.slice(0, end) + "/" + relativeURL.replace(/^\/+/, "");
4074
4179
  }
4075
4180
  //#endregion
4076
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/buildFullPath.js
4181
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/buildFullPath.js
4077
4182
  var malformedHttpProtocol = /^https?:(?!\/\/)/i;
4078
4183
  function redactFragment(fragment) {
4079
4184
  if (!fragment) return fragment;
@@ -4114,12 +4219,161 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {
4114
4219
  return requestedURL;
4115
4220
  }
4116
4221
  //#endregion
4117
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js
4222
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/assertParamsAcyclic.js
4223
+ function assertParamsAcyclic(params) {
4224
+ const pending = [{ value: params }];
4225
+ const active = /* @__PURE__ */ new WeakSet();
4226
+ const visited = /* @__PURE__ */ new WeakSet();
4227
+ while (pending.length) {
4228
+ const { value, done } = pending.pop();
4229
+ if (!utils_default.isPlainObject(value) && !utils_default.isArray(value)) continue;
4230
+ if (done) {
4231
+ active.delete(value);
4232
+ continue;
4233
+ }
4234
+ if (active.has(value)) throw new AxiosError("Circular reference detected in params", AxiosError.ERR_BAD_OPTION_VALUE);
4235
+ if (visited.has(value)) continue;
4236
+ visited.add(value);
4237
+ active.add(value);
4238
+ pending.push({
4239
+ value,
4240
+ done: true
4241
+ });
4242
+ const keys = Object.keys(value);
4243
+ if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) Object.getOwnPropertySymbols(value).forEach((key) => {
4244
+ const descriptor = Object.getOwnPropertyDescriptor(value, key);
4245
+ if (descriptor && descriptor.enumerable) keys.push(key);
4246
+ });
4247
+ keys.forEach((key) => {
4248
+ if (key === "__proto__" || key === "constructor" || key === "prototype") {
4249
+ const descriptor = Object.getOwnPropertyDescriptor(value, key);
4250
+ if (descriptor && utils_default.hasOwnProp(descriptor, "value")) pending.push({ value: descriptor.value });
4251
+ } else pending.push({ value: value[key] });
4252
+ });
4253
+ }
4254
+ }
4255
+ //#endregion
4256
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js
4118
4257
  var headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing } : thing;
4119
4258
  var ownEnumerableKeys = (thing) => {
4120
- if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) return Object.keys(thing).concat(Object.getOwnPropertySymbols(thing).filter((symbol) => Object.getOwnPropertyDescriptor(thing, symbol).enumerable));
4259
+ if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) return Object.keys(thing).concat(Object.getOwnPropertySymbols(thing).filter((symbol) => {
4260
+ const descriptor = Object.getOwnPropertyDescriptor(thing, symbol);
4261
+ return descriptor && descriptor.enumerable;
4262
+ }));
4121
4263
  return Object.keys(thing);
4122
4264
  };
4265
+ function mergeParams(a, b) {
4266
+ const pending = [];
4267
+ const copies = /* @__PURE__ */ new WeakMap();
4268
+ const empty = {};
4269
+ function copy(target, source) {
4270
+ if (!utils_default.isPlainObject(source)) return utils_default.isArray(source) ? source.slice() : source;
4271
+ const base = utils_default.isPlainObject(target) ? target : empty;
4272
+ let bases = copies.get(source);
4273
+ if (!bases) {
4274
+ bases = /* @__PURE__ */ new WeakMap();
4275
+ copies.set(source, bases);
4276
+ }
4277
+ if (bases.has(base)) return bases.get(base);
4278
+ const result = {};
4279
+ bases.set(base, result);
4280
+ pending.push({
4281
+ base,
4282
+ source,
4283
+ result
4284
+ });
4285
+ return result;
4286
+ }
4287
+ const result = utils_default.isUndefined(b) ? copy(void 0, a) : copy(a, b);
4288
+ while (pending.length) {
4289
+ const { base, source, result: target } = pending.pop();
4290
+ const baseKeys = new Set(ownEnumerableKeys(base));
4291
+ const sourceKeys = new Set(ownEnumerableKeys(source));
4292
+ (/* @__PURE__ */ new Set([...baseKeys, ...sourceKeys])).forEach((key) => {
4293
+ if (key === "__proto__" || key === "constructor" || key === "prototype") return;
4294
+ const hasSource = sourceKeys.has(key);
4295
+ const value = hasSource ? source[key] : void 0;
4296
+ const previous = (!hasSource || utils_default.isPlainObject(value)) && baseKeys.has(key) ? base[key] : void 0;
4297
+ target[key] = hasSource ? copy(previous, value) : copy(void 0, previous);
4298
+ });
4299
+ }
4300
+ assertParamsAcyclic(result);
4301
+ return result;
4302
+ }
4303
+ function getMergedValue(target, source, prop, caseless) {
4304
+ if (utils_default.isPlainObject(target) && utils_default.isPlainObject(source)) return utils_default.merge.call({ caseless }, target, source);
4305
+ else if (utils_default.isPlainObject(source)) return utils_default.merge({}, source);
4306
+ else if (utils_default.isArray(source)) return source.slice();
4307
+ return source;
4308
+ }
4309
+ function mergeDeepProperties(a, b, prop, caseless) {
4310
+ if (!utils_default.isUndefined(b)) return getMergedValue(a, b, prop, caseless);
4311
+ else if (!utils_default.isUndefined(a)) return getMergedValue(void 0, a, prop, caseless);
4312
+ }
4313
+ function valueFromConfig2(a, b) {
4314
+ if (!utils_default.isUndefined(b)) return getMergedValue(void 0, b);
4315
+ }
4316
+ function defaultToConfig2(a, b) {
4317
+ if (!utils_default.isUndefined(b)) return getMergedValue(void 0, b);
4318
+ else if (!utils_default.isUndefined(a)) return getMergedValue(void 0, a);
4319
+ }
4320
+ function getMergedTransitionalOption(config1, config2, prop) {
4321
+ const transitional2 = utils_default.hasOwnProp(config2, "transitional") ? config2.transitional : void 0;
4322
+ if (!utils_default.isUndefined(transitional2)) {
4323
+ if (utils_default.isPlainObject(transitional2)) {
4324
+ if (utils_default.hasOwnProp(transitional2, prop)) return transitional2[prop];
4325
+ } else return;
4326
+ }
4327
+ const transitional1 = utils_default.hasOwnProp(config1, "transitional") ? config1.transitional : void 0;
4328
+ if (utils_default.isPlainObject(transitional1) && utils_default.hasOwnProp(transitional1, prop)) return transitional1[prop];
4329
+ }
4330
+ function mergeDirectKeys(a, b, prop, config1, config2) {
4331
+ if (utils_default.hasOwnProp(config2, prop)) return getMergedValue(a, b);
4332
+ else if (utils_default.hasOwnProp(config1, prop)) return getMergedValue(void 0, a);
4333
+ }
4334
+ function mergeHeaders(a, b, prop) {
4335
+ return mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true);
4336
+ }
4337
+ var hasOwnPropertyDescriptor = Object.freeze({
4338
+ __proto__: null,
4339
+ value: Object.prototype.hasOwnProperty,
4340
+ enumerable: false,
4341
+ writable: true,
4342
+ configurable: true
4343
+ });
4344
+ var mergeMap = {
4345
+ url: valueFromConfig2,
4346
+ method: valueFromConfig2,
4347
+ data: valueFromConfig2,
4348
+ baseURL: defaultToConfig2,
4349
+ transformRequest: defaultToConfig2,
4350
+ transformResponse: defaultToConfig2,
4351
+ params: mergeParams,
4352
+ paramsSerializer: defaultToConfig2,
4353
+ timeout: defaultToConfig2,
4354
+ timeoutErrorMessage: defaultToConfig2,
4355
+ withCredentials: defaultToConfig2,
4356
+ withXSRFToken: defaultToConfig2,
4357
+ adapter: defaultToConfig2,
4358
+ responseType: defaultToConfig2,
4359
+ xsrfCookieName: defaultToConfig2,
4360
+ xsrfHeaderName: defaultToConfig2,
4361
+ onUploadProgress: defaultToConfig2,
4362
+ onDownloadProgress: defaultToConfig2,
4363
+ decompress: defaultToConfig2,
4364
+ maxContentLength: defaultToConfig2,
4365
+ maxBodyLength: defaultToConfig2,
4366
+ beforeRedirect: defaultToConfig2,
4367
+ transport: defaultToConfig2,
4368
+ httpAgent: defaultToConfig2,
4369
+ httpsAgent: defaultToConfig2,
4370
+ cancelToken: defaultToConfig2,
4371
+ socketPath: defaultToConfig2,
4372
+ allowedSocketPaths: defaultToConfig2,
4373
+ responseEncoding: defaultToConfig2,
4374
+ validateStatus: mergeDirectKeys,
4375
+ headers: mergeHeaders
4376
+ };
4123
4377
  /**
4124
4378
  * Config-specific merge-function which creates a new config-object
4125
4379
  * by merging two configuration objects together.
@@ -4133,93 +4387,28 @@ function mergeConfig(config1, config2) {
4133
4387
  config1 = config1 || {};
4134
4388
  config2 = config2 || {};
4135
4389
  const config = Object.create(null);
4136
- Object.defineProperty(config, "hasOwnProperty", {
4137
- __proto__: null,
4138
- value: Object.prototype.hasOwnProperty,
4139
- enumerable: false,
4140
- writable: true,
4141
- configurable: true
4142
- });
4143
- function getMergedValue(target, source, prop, caseless) {
4144
- if (utils_default.isPlainObject(target) && utils_default.isPlainObject(source)) return utils_default.merge.call({ caseless }, target, source);
4145
- else if (utils_default.isPlainObject(source)) return utils_default.merge({}, source);
4146
- else if (utils_default.isArray(source)) return source.slice();
4147
- return source;
4148
- }
4149
- function mergeDeepProperties(a, b, prop, caseless) {
4150
- if (!utils_default.isUndefined(b)) return getMergedValue(a, b, prop, caseless);
4151
- else if (!utils_default.isUndefined(a)) return getMergedValue(void 0, a, prop, caseless);
4152
- }
4153
- function valueFromConfig2(a, b) {
4154
- if (!utils_default.isUndefined(b)) return getMergedValue(void 0, b);
4155
- }
4156
- function defaultToConfig2(a, b) {
4157
- if (!utils_default.isUndefined(b)) return getMergedValue(void 0, b);
4158
- else if (!utils_default.isUndefined(a)) return getMergedValue(void 0, a);
4159
- }
4160
- function getMergedTransitionalOption(prop) {
4161
- const transitional2 = utils_default.hasOwnProp(config2, "transitional") ? config2.transitional : void 0;
4162
- if (!utils_default.isUndefined(transitional2)) {
4163
- if (utils_default.isPlainObject(transitional2)) {
4164
- if (utils_default.hasOwnProp(transitional2, prop)) return transitional2[prop];
4165
- } else return;
4166
- }
4167
- const transitional1 = utils_default.hasOwnProp(config1, "transitional") ? config1.transitional : void 0;
4168
- if (utils_default.isPlainObject(transitional1) && utils_default.hasOwnProp(transitional1, prop)) return transitional1[prop];
4169
- }
4170
- function mergeDirectKeys(a, b, prop) {
4171
- if (utils_default.hasOwnProp(config2, prop)) return getMergedValue(a, b);
4172
- else if (utils_default.hasOwnProp(config1, prop)) return getMergedValue(void 0, a);
4173
- }
4174
- const mergeMap = {
4175
- url: valueFromConfig2,
4176
- method: valueFromConfig2,
4177
- data: valueFromConfig2,
4178
- baseURL: defaultToConfig2,
4179
- transformRequest: defaultToConfig2,
4180
- transformResponse: defaultToConfig2,
4181
- paramsSerializer: defaultToConfig2,
4182
- timeout: defaultToConfig2,
4183
- timeoutErrorMessage: defaultToConfig2,
4184
- withCredentials: defaultToConfig2,
4185
- withXSRFToken: defaultToConfig2,
4186
- adapter: defaultToConfig2,
4187
- responseType: defaultToConfig2,
4188
- xsrfCookieName: defaultToConfig2,
4189
- xsrfHeaderName: defaultToConfig2,
4190
- onUploadProgress: defaultToConfig2,
4191
- onDownloadProgress: defaultToConfig2,
4192
- decompress: defaultToConfig2,
4193
- maxContentLength: defaultToConfig2,
4194
- maxBodyLength: defaultToConfig2,
4195
- beforeRedirect: defaultToConfig2,
4196
- transport: defaultToConfig2,
4197
- httpAgent: defaultToConfig2,
4198
- httpsAgent: defaultToConfig2,
4199
- cancelToken: defaultToConfig2,
4200
- socketPath: defaultToConfig2,
4201
- allowedSocketPaths: defaultToConfig2,
4202
- responseEncoding: defaultToConfig2,
4203
- validateStatus: mergeDirectKeys,
4204
- headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
4205
- };
4206
- utils_default.forEach(ownEnumerableKeys({
4390
+ Object.defineProperty(config, "hasOwnProperty", hasOwnPropertyDescriptor);
4391
+ const keys = ownEnumerableKeys({
4207
4392
  ...config1,
4208
4393
  ...config2
4209
- }), function computeConfigValue(prop) {
4210
- if (prop === "__proto__" || prop === "constructor" || prop === "prototype") return;
4394
+ });
4395
+ for (let i = 0, len = keys.length; i < len; i++) {
4396
+ const prop = keys[i];
4397
+ if (prop === "__proto__" || prop === "constructor" || prop === "prototype") continue;
4211
4398
  const merge = utils_default.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
4212
- const configValue = merge(utils_default.hasOwnProp(config1, prop) ? config1[prop] : void 0, utils_default.hasOwnProp(config2, prop) ? config2[prop] : void 0, prop);
4399
+ const a = utils_default.hasOwnProp(config1, prop) ? config1[prop] : void 0;
4400
+ const b = utils_default.hasOwnProp(config2, prop) ? config2[prop] : void 0;
4401
+ const configValue = merge === mergeDirectKeys ? merge(a, b, prop, config1, config2) : merge(a, b, prop);
4213
4402
  utils_default.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
4214
- });
4215
- if (utils_default.hasOwnProp(config2, "validateStatus") && utils_default.isUndefined(config2.validateStatus) && getMergedTransitionalOption("validateStatusUndefinedResolves") === false) {
4403
+ }
4404
+ if (utils_default.hasOwnProp(config2, "validateStatus") && utils_default.isUndefined(config2.validateStatus) && getMergedTransitionalOption(config1, config2, "validateStatusUndefinedResolves") === false) {
4216
4405
  if (utils_default.hasOwnProp(config1, "validateStatus")) config.validateStatus = getMergedValue(void 0, config1.validateStatus);
4217
4406
  else delete config.validateStatus;
4218
4407
  }
4219
4408
  return config;
4220
4409
  }
4221
4410
  //#endregion
4222
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/setFormDataHeaders.js
4411
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/setFormDataHeaders.js
4223
4412
  var FORM_DATA_CONTENT_HEADERS = ["content-type", "content-length"];
4224
4413
  /**
4225
4414
  * Apply the headers generated by a FormData implementation to the request headers,
@@ -4242,7 +4431,7 @@ function setFormDataHeaders(headers, formHeaders, policy) {
4242
4431
  });
4243
4432
  }
4244
4433
  //#endregion
4245
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/resolveConfig.js
4434
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/resolveConfig.js
4246
4435
  /**
4247
4436
  * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().
4248
4437
  * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.
@@ -4252,7 +4441,8 @@ function setFormDataHeaders(headers, formHeaders, policy) {
4252
4441
  * @returns {string} UTF-8 bytes as a Latin-1 string
4253
4442
  */
4254
4443
  var encodeUTF8$1 = (str) => encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) => String.fromCharCode(parseInt(hex, 16)));
4255
- function resolveConfig(config) {
4444
+ var readCookie = (name) => cookies_default.read(name);
4445
+ function resolveConfig(config, readXsrfCookie = readCookie) {
4256
4446
  const newConfig = mergeConfig({}, config);
4257
4447
  const own = (key) => utils_default.hasOwnProp(newConfig, key) ? newConfig[key] : void 0;
4258
4448
  const data = own("data");
@@ -4269,8 +4459,10 @@ function resolveConfig(config) {
4269
4459
  if (auth) {
4270
4460
  const username = utils_default.getSafeProp(auth, "username") || "";
4271
4461
  const password = utils_default.getSafeProp(auth, "password") || "";
4462
+ const transitional = own("transitional");
4463
+ const encodeUsername = transitional && utils_default.hasOwnProp(transitional, "encodeBasicAuthUsername") && transitional.encodeBasicAuthUsername === true;
4272
4464
  try {
4273
- headers.set("Authorization", "Basic " + btoa(username + ":" + (password ? encodeUTF8$1(password) : "")));
4465
+ headers.set("Authorization", "Basic " + btoa((encodeUsername ? encodeUTF8$1(username) : username) + ":" + (password ? encodeUTF8$1(password) : "")));
4274
4466
  } catch (e) {
4275
4467
  throw AxiosError.from(e, AxiosError.ERR_BAD_OPTION_VALUE, config);
4276
4468
  }
@@ -4283,7 +4475,7 @@ function resolveConfig(config) {
4283
4475
  if (platform_default.hasStandardBrowserEnv) {
4284
4476
  if (utils_default.isFunction(withXSRFToken)) withXSRFToken = withXSRFToken(newConfig);
4285
4477
  if (withXSRFToken === true || withXSRFToken == null && isURLSameOrigin_default(newConfig.url)) {
4286
- const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies_default.read(xsrfCookieName);
4478
+ const xsrfValue = xsrfHeaderName && xsrfCookieName && readXsrfCookie(xsrfCookieName);
4287
4479
  if (xsrfValue) headers.set(xsrfHeaderName, xsrfValue);
4288
4480
  }
4289
4481
  }
@@ -4291,16 +4483,46 @@ function resolveConfig(config) {
4291
4483
  }
4292
4484
  var xhr_default = typeof XMLHttpRequest !== "undefined" && function(config) {
4293
4485
  return new Promise(function dispatchXhrRequest(resolve, reject) {
4294
- const _config = resolveConfig(config);
4486
+ let useAsyncXsrf;
4487
+ try {
4488
+ const store = platform_default.hasStandardBrowserEnv && typeof window !== "undefined" && window.cookieStore;
4489
+ useAsyncXsrf = store && utils_default.isFunction(store.get);
4490
+ } catch (e) {}
4491
+ let xsrfCookieName;
4492
+ const _config = resolveConfig(config, useAsyncXsrf ? (name) => {
4493
+ xsrfCookieName = name;
4494
+ return null;
4495
+ } : void 0);
4295
4496
  let requestData = _config.data;
4296
4497
  const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
4297
4498
  let { responseType, onUploadProgress, onDownloadProgress } = _config;
4298
4499
  let onCanceled;
4500
+ let timeoutId;
4299
4501
  let uploadThrottled, downloadThrottled;
4300
4502
  let flushUpload, flushDownload, flushDownloadWithEvent;
4301
4503
  function done() {
4302
- flushUpload && flushUpload();
4303
- flushDownload && flushDownload();
4504
+ clearTimeout(timeoutId);
4505
+ try {
4506
+ flushUpload && flushUpload();
4507
+ } catch (err) {
4508
+ setTimeout(() => {
4509
+ throw err;
4510
+ });
4511
+ }
4512
+ try {
4513
+ flushDownload && flushDownload();
4514
+ } catch (err) {
4515
+ setTimeout(() => {
4516
+ throw err;
4517
+ });
4518
+ }
4519
+ if (request) {
4520
+ downloadThrottled && request.removeEventListener("progress", downloadThrottled);
4521
+ if (request.upload) {
4522
+ uploadThrottled && request.upload.removeEventListener("progress", uploadThrottled);
4523
+ flushUpload && request.upload.removeEventListener("loadend", flushUpload);
4524
+ }
4525
+ }
4304
4526
  _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
4305
4527
  _config.signal && _config.signal.removeEventListener("abort", onCanceled);
4306
4528
  }
@@ -4361,6 +4583,7 @@ var xhr_default = typeof XMLHttpRequest !== "undefined" && function(config) {
4361
4583
  request = null;
4362
4584
  };
4363
4585
  request.ontimeout = function handleTimeout() {
4586
+ if (!request) return;
4364
4587
  let timeoutErrorMessage = _config.timeout ? "timeout of " + _config.timeout + "ms exceeded" : "timeout exceeded";
4365
4588
  const transitional = _config.transitional || transitional_default;
4366
4589
  if (_config.timeoutErrorMessage) timeoutErrorMessage = _config.timeoutErrorMessage;
@@ -4369,9 +4592,6 @@ var xhr_default = typeof XMLHttpRequest !== "undefined" && function(config) {
4369
4592
  request = null;
4370
4593
  };
4371
4594
  requestData === void 0 && requestHeaders.setContentType(null);
4372
- if ("setRequestHeader" in request) utils_default.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) {
4373
- request.setRequestHeader(key, val);
4374
- });
4375
4595
  if (!utils_default.isUndefined(_config.withCredentials)) request.withCredentials = !!_config.withCredentials;
4376
4596
  if (responseType && responseType !== "json") request.responseType = _config.responseType;
4377
4597
  if (onDownloadProgress) {
@@ -4387,24 +4607,68 @@ var xhr_default = typeof XMLHttpRequest !== "undefined" && function(config) {
4387
4607
  onCanceled = (cancel) => {
4388
4608
  if (!request) return;
4389
4609
  reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
4390
- request.abort();
4610
+ const xhr = request;
4391
4611
  done();
4392
4612
  request = null;
4613
+ xhr.abort();
4393
4614
  };
4394
4615
  _config.cancelToken && _config.cancelToken.subscribe(onCanceled);
4616
+ if (!request) return;
4395
4617
  if (_config.signal) _config.signal.aborted ? onCanceled() : _config.signal.addEventListener("abort", onCanceled);
4396
4618
  }
4619
+ if (!request) return;
4397
4620
  const protocol = parseProtocol(_config.url);
4398
4621
  if (protocol && !platform_default.protocols.includes(protocol)) {
4399
4622
  reject(new AxiosError("Unsupported protocol " + protocol + ":", AxiosError.ERR_BAD_REQUEST, config));
4400
4623
  done();
4401
4624
  return;
4402
4625
  }
4403
- request.send(requestData || null);
4626
+ const sendRequest = () => {
4627
+ if (!request) return;
4628
+ if ("setRequestHeader" in request) utils_default.forEach(toByteStringHeaderObject(requestHeaders), function setRequestHeader(val, key) {
4629
+ request.setRequestHeader(key, val);
4630
+ });
4631
+ request.send(requestData || null);
4632
+ };
4633
+ if (xsrfCookieName) {
4634
+ const now = typeof performance !== "undefined" && utils_default.isFunction(performance.now) ? () => performance.now() : Date.now;
4635
+ const deadline = request.timeout > 0 ? now() + Number(request.timeout) : void 0;
4636
+ const abortOnTimeout = () => {
4637
+ if (!request) return;
4638
+ const xhr = request;
4639
+ xhr.ontimeout();
4640
+ xhr.abort();
4641
+ };
4642
+ if (deadline !== void 0) {
4643
+ const scheduleTimeout = () => {
4644
+ const remaining = deadline - now();
4645
+ if (remaining > 0) timeoutId = setTimeout(scheduleTimeout, Math.min(remaining, 2147483647));
4646
+ else abortOnTimeout();
4647
+ };
4648
+ scheduleTimeout();
4649
+ }
4650
+ cookies_default.readAsync(xsrfCookieName).then((value) => {
4651
+ if (!request) return;
4652
+ if (deadline !== void 0 && now() >= deadline) {
4653
+ abortOnTimeout();
4654
+ return;
4655
+ }
4656
+ if (value) {
4657
+ const headerName = utils_default.hasOwnProp(_config, "xsrfHeaderName") && _config.xsrfHeaderName;
4658
+ requestHeaders.set(headerName, value);
4659
+ }
4660
+ sendRequest();
4661
+ }).catch((error) => {
4662
+ if (!request) return;
4663
+ reject(AxiosError.from(error, null, config, request));
4664
+ done();
4665
+ request = null;
4666
+ });
4667
+ } else sendRequest();
4404
4668
  });
4405
4669
  };
4406
4670
  //#endregion
4407
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/composeSignals.js
4671
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/composeSignals.js
4408
4672
  var composeSignals = (signals, timeout) => {
4409
4673
  signals = signals ? signals.filter(Boolean) : [];
4410
4674
  if (!timeout && !signals.length) return;
@@ -4427,7 +4691,8 @@ var composeSignals = (signals, timeout) => {
4427
4691
  timer && clearTimeout(timer);
4428
4692
  timer = null;
4429
4693
  signals.forEach((signal) => {
4430
- signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener("abort", onabort);
4694
+ const unsubscribeSignal = utils_default.getSafeProp(signal, "unsubscribe");
4695
+ utils_default.isFunction(unsubscribeSignal) ? unsubscribeSignal.call(signal, onabort) : signal.removeEventListener("abort", onabort);
4431
4696
  });
4432
4697
  signals = null;
4433
4698
  };
@@ -4444,7 +4709,7 @@ var composeSignals = (signals, timeout) => {
4444
4709
  return signal;
4445
4710
  };
4446
4711
  //#endregion
4447
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/trackStream.js
4712
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/trackStream.js
4448
4713
  var streamChunk = function* (chunk, chunkSize) {
4449
4714
  let len = chunk.byteLength;
4450
4715
  if (!chunkSize || len < chunkSize) {
@@ -4512,12 +4777,96 @@ var trackStream = (stream, chunkSize, onProgress, onFinish) => {
4512
4777
  }, { highWaterMark: 2 });
4513
4778
  };
4514
4779
  //#endregion
4515
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
4780
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToBlob.js
4781
+ var CRLF = "\r\n";
4782
+ var normalizeLines = (value) => String(value).replace(/\r\n|\r|\n/g, CRLF);
4783
+ var escapeName = (value) => String(value).replace(/[\r\n"]/g, (char) => char === "\r" ? "%0D" : char === "\n" ? "%0A" : "%22");
4784
+ var stringBytes = (value, normalize) => {
4785
+ let length = 0;
4786
+ for (let i = 0; i < value.length; i++) {
4787
+ const code = value.charCodeAt(i);
4788
+ if (normalize && (code === 13 || code === 10)) {
4789
+ if (code === 13 && value.charCodeAt(i + 1) === 10) i++;
4790
+ length += 2;
4791
+ } else if (code < 128) length++;
4792
+ else if (code < 2048) length += 2;
4793
+ else if (code >= 55296 && code <= 56319 && value.charCodeAt(i + 1) >= 56320 && value.charCodeAt(i + 1) <= 57343) {
4794
+ length += 4;
4795
+ i++;
4796
+ } else length += 3;
4797
+ }
4798
+ return length;
4799
+ };
4800
+ var FormDataError = class extends TypeError {
4801
+ constructor(message, reason) {
4802
+ super(message);
4803
+ this.name = "FormDataError";
4804
+ this.reason = reason;
4805
+ }
4806
+ };
4807
+ function formDataToBlob(form, Blob, limit, limitError, boundary) {
4808
+ if (!utils_default.isFunction(Blob)) throw new FormDataError("Blob is not supported", "blob");
4809
+ if (!utils_default.isString(boundary) || !/^[A-Za-z0-9'()+_,./:=? -]{1,70}$/.test(boundary) || / $/.test(boundary)) throw new FormDataError("Invalid multipart boundary", "boundary");
4810
+ const footer = "--" + boundary + "--\r\n";
4811
+ let length = footer.length;
4812
+ const parts = [];
4813
+ const checkLength = (extra) => {
4814
+ if (length + extra > limit) throw limitError();
4815
+ };
4816
+ checkLength(0);
4817
+ for (const [name, value] of form) {
4818
+ const isString = utils_default.isString(value);
4819
+ const valueLength = isString ? stringBytes(value, true) : value.size;
4820
+ if (!Number.isFinite(valueLength) || valueLength < 0) throw new FormDataError("Unsupported FormData part size", "part");
4821
+ checkLength(valueLength + stringBytes(name, true) + (!isString && value.name ? stringBytes(value.name, false) : 0) + (!isString && value.type ? stringBytes(value.type, false) : 0));
4822
+ let header = "--" + boundary + "\r\nContent-Disposition: form-data; name=\"" + escapeName(normalizeLines(name)) + "\"";
4823
+ if (!isString) header += "; filename=\"" + escapeName(utils_default.isString(value.name) ? value.name : "blob") + "\"\r\nContent-Type: " + String(value.type || "application/octet-stream").replace(/[\r\n]/g, "");
4824
+ header += "\r\n\r\n";
4825
+ const partLength = stringBytes(header, false) + valueLength + 2;
4826
+ checkLength(partLength);
4827
+ length += partLength;
4828
+ parts.push({
4829
+ header,
4830
+ value,
4831
+ isString
4832
+ });
4833
+ }
4834
+ const blobParts = [];
4835
+ for (const part of parts) blobParts.push(part.header, part.isString ? normalizeLines(part.value) : part.value, CRLF);
4836
+ blobParts.push(footer);
4837
+ return new Blob(blobParts, { type: "multipart/form-data; boundary=" + boundary });
4838
+ }
4839
+ //#endregion
4840
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/createMultipartBody.js
4841
+ function createMultipartBody(form, Blob, limit, limitError, boundary) {
4842
+ if (!utils_default.isFunction(Blob)) throw new AxiosError("Blob is not supported", AxiosError.ERR_NOT_SUPPORT);
4843
+ if (boundary === void 0) {
4844
+ if (utils_default.isFunction(platform_default.generateString)) boundary = "axios-" + platform_default.generateString(36, "0123456789abcdef");
4845
+ else {
4846
+ const crypto = utils_default.global.crypto;
4847
+ if (!crypto || !utils_default.isFunction(crypto.getRandomValues)) throw new AxiosError("Random byte generation is not supported", AxiosError.ERR_NOT_SUPPORT);
4848
+ const random = /* @__PURE__ */ new Uint8Array(18);
4849
+ crypto.getRandomValues(random);
4850
+ boundary = "axios-" + Array.from(random, (value) => ("0" + value.toString(16)).slice(-2)).join("");
4851
+ }
4852
+ }
4853
+ try {
4854
+ return formDataToBlob(form, Blob, limit, limitError, boundary);
4855
+ } catch (error) {
4856
+ if (error instanceof FormDataError) {
4857
+ const code = error.reason === "boundary" ? AxiosError.ERR_BAD_OPTION_VALUE : AxiosError.ERR_BAD_REQUEST;
4858
+ throw new AxiosError(error.message, code);
4859
+ }
4860
+ throw error;
4861
+ }
4862
+ }
4863
+ //#endregion
4864
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
4516
4865
  /**
4517
4866
  * Estimate data: URL byte lengths *without* allocating large buffers.
4518
4867
  * - Fetch percent-decodes a base64 body before decoding it.
4519
4868
  * - Node's Buffer.from(body, 'base64') sizes its backing allocation from the
4520
- * raw body, including ignored characters and content after padding.
4869
+ * percent-decoded body, including ignored characters and content after padding.
4521
4870
  * - Non-base64 data is percent-decoded and then encoded as UTF-8.
4522
4871
  */
4523
4872
  var isHexDigit = (charCode) => charCode >= 48 && charCode <= 57 || charCode >= 65 && charCode <= 70 || charCode >= 97 && charCode <= 102;
@@ -4564,14 +4913,14 @@ var estimatePercentDecodedBase64Bytes = (body) => {
4564
4913
  if (invalid || padding > 2 || padding > 0 && (significant + padding) % 4 !== 0 || significant % 4 === 1) return estimateBase64BufferAllocation(body);
4565
4914
  return base64Bytes(significant);
4566
4915
  };
4567
- var estimateDataURLBytes = (url, estimateBase64) => {
4916
+ var estimateDataURLBytes = (url, estimateBase64, base64Pattern) => {
4568
4917
  if (!url || typeof url !== "string") return 0;
4569
- if (!url.startsWith("data:")) return 0;
4918
+ if (!/^data:/i.test(url)) return 0;
4570
4919
  const comma = url.indexOf(",");
4571
4920
  if (comma < 0) return 0;
4572
4921
  const meta = url.slice(5, comma);
4573
4922
  const body = url.slice(comma + 1);
4574
- if (/;base64/i.test(meta)) return estimateBase64(body);
4923
+ if (base64Pattern.test(meta)) return estimateBase64(body);
4575
4924
  let bytes = 0;
4576
4925
  for (let i = 0, len = body.length; i < len; i++) {
4577
4926
  const c = body.charCodeAt(i);
@@ -4598,13 +4947,13 @@ var estimateDataURLBytes = (url, estimateBase64) => {
4598
4947
  */
4599
4948
  function estimateDataURLDecodedBytes(url) {
4600
4949
  const fragmentIndex = typeof url === "string" ? url.indexOf("#") : -1;
4601
- return estimateDataURLBytes(fragmentIndex === -1 ? url : url.slice(0, fragmentIndex), estimatePercentDecodedBase64Bytes);
4950
+ return estimateDataURLBytes(fragmentIndex === -1 ? url : url.slice(0, fragmentIndex), estimatePercentDecodedBase64Bytes, /; *base64[\t\n\f\r ]*$/i);
4602
4951
  }
4603
4952
  //#endregion
4604
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/env/data.js
4605
- var VERSION = "1.20.0";
4953
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/env/data.js
4954
+ var VERSION = "1.21.0";
4606
4955
  //#endregion
4607
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/fetch.js
4956
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/fetch.js
4608
4957
  var DEFAULT_CHUNK_SIZE = 65536;
4609
4958
  var DEFAULT_REQUEST_OPTIONS = {
4610
4959
  cache: "default",
@@ -4653,9 +5002,11 @@ var factory = (env) => {
4653
5002
  const { ReadableStream, TextEncoder } = globalObject;
4654
5003
  env = utils_default.merge.call({ skipUndefined: true }, {
4655
5004
  Request: globalObject.Request,
4656
- Response: globalObject.Response
5005
+ Response: globalObject.Response,
5006
+ Blob: globalObject.Blob
4657
5007
  }, env);
4658
- const { fetch: envFetch, Request, Response } = env;
5008
+ const envFetch = utils_default.hasOwnProp(env, "fetch") ? env.fetch : void 0;
5009
+ const { Request, Response, Blob } = env;
4659
5010
  const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === "function";
4660
5011
  const isRequestSupported = isFunction(Request);
4661
5012
  const isResponseSupported = isFunction(Response);
@@ -4677,6 +5028,11 @@ var factory = (env) => {
4677
5028
  return duplexAccessed && !hasContentType;
4678
5029
  });
4679
5030
  const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
5031
+ const requestDefaults = Object.assign(Object.create(null), DEFAULT_REQUEST_OPTIONS);
5032
+ if (isRequestSupported && !test(() => new Request(platform_default.origin, requestDefaults))) {
5033
+ delete requestDefaults.cache;
5034
+ if (!test(() => new Request(platform_default.origin, requestDefaults))) requestDefaults.cache = DEFAULT_REQUEST_OPTIONS.cache;
5035
+ }
4680
5036
  const resolvers = { stream: supportsResponseStream && ((res) => res.body) };
4681
5037
  isFetchSupported && (() => {
4682
5038
  [
@@ -4696,10 +5052,6 @@ var factory = (env) => {
4696
5052
  const getBodyLength = async (body) => {
4697
5053
  if (body == null) return 0;
4698
5054
  if (utils_default.isBlob(body)) return body.size;
4699
- if (utils_default.isSpecCompliantForm(body)) return (await new Request(platform_default.origin, {
4700
- method: "POST",
4701
- body
4702
- }).arrayBuffer()).byteLength;
4703
5055
  if (utils_default.isArrayBufferView(body) || utils_default.isArrayBuffer(body)) return body.byteLength;
4704
5056
  if (utils_default.isURLSearchParams(body)) body = body + "";
4705
5057
  if (utils_default.isString(body)) return (await encodeText(body)).byteLength;
@@ -4722,6 +5074,7 @@ var factory = (env) => {
4722
5074
  });
4723
5075
  let requestContentLength;
4724
5076
  let pendingBodyError = null;
5077
+ let pendingResponseError = null;
4725
5078
  const maxBodyLengthError = () => new AxiosError("Request body larger than maxBodyLength limit", AxiosError.ERR_BAD_REQUEST, config, request);
4726
5079
  try {
4727
5080
  let auth = void 0;
@@ -4730,8 +5083,9 @@ var factory = (env) => {
4730
5083
  username: utils_default.getSafeProp(configAuth, "username") || "",
4731
5084
  password: utils_default.getSafeProp(configAuth, "password") || ""
4732
5085
  };
5086
+ let parsedURL;
4733
5087
  if (maybeWithAuthCredentials(url)) {
4734
- const parsedURL = new URL(url, platform_default.origin);
5088
+ parsedURL = new URL(url, platform_default.origin);
4735
5089
  if (!auth && (parsedURL.username || parsedURL.password)) auth = {
4736
5090
  username: decodeURIComponentSafe(parsedURL.username),
4737
5091
  password: decodeURIComponentSafe(parsedURL.password)
@@ -4746,8 +5100,19 @@ var factory = (env) => {
4746
5100
  headers.delete("authorization");
4747
5101
  headers.set("Authorization", "Basic " + btoa(encodeUTF8((auth.username || "") + ":" + (auth.password || ""))));
4748
5102
  }
4749
- if (hasMaxContentLength && typeof url === "string" && url.startsWith("data:")) {
4750
- if (estimateDataURLDecodedBytes(url) > maxContentLength) throw new AxiosError("maxContentLength size of " + maxContentLength + " exceeded", AxiosError.ERR_BAD_RESPONSE, config, request);
5103
+ if (hasMaxContentLength && parsedURL && parsedURL.protocol === "data:") {
5104
+ if (estimateDataURLDecodedBytes(parsedURL.href) > maxContentLength) throw new AxiosError("maxContentLength size of " + maxContentLength + " exceeded", AxiosError.ERR_BAD_RESPONSE, config, request);
5105
+ }
5106
+ const formContentType = utils_default.isSpecCompliantForm(data) && AxiosHeaders.from(own("headers")).getContentType();
5107
+ let formBoundary;
5108
+ if (utils_default.isString(formContentType) && /^multipart\/form-data(?:\s*;|$)/i.test(formContentType.trim())) {
5109
+ const parameters = AxiosHeaders.parseParameters(formContentType);
5110
+ if (utils_default.hasOwnProp(parameters, "boundary")) formBoundary = parameters.boundary;
5111
+ }
5112
+ if (utils_default.isSpecCompliantForm(data) && method !== "get" && method !== "head" && (hasMaxBodyLength || onUploadProgress && supportsRequestStream || formBoundary !== void 0)) {
5113
+ data = createMultipartBody(data, Blob, hasMaxBodyLength ? maxBodyLength : Infinity, maxBodyLengthError, formBoundary);
5114
+ headers.setContentType(formBoundary === void 0 ? data.type : formContentType);
5115
+ requestContentLength = data.size;
4751
5116
  }
4752
5117
  if (hasMaxBodyLength && method !== "get" && method !== "head") {
4753
5118
  const outboundLength = await getBodyLength(data);
@@ -4803,7 +5168,7 @@ var factory = (env) => {
4803
5168
  credentials: isCredentialsSupported ? withCredentials : void 0
4804
5169
  });
4805
5170
  if (isRequestSupported) {
4806
- utils_default.forEach(DEFAULT_REQUEST_OPTIONS, (value, key) => {
5171
+ utils_default.forEach(requestDefaults, (value, key) => {
4807
5172
  if (resolvedOptions[key] === void 0) resolvedOptions[key] = value;
4808
5173
  });
4809
5174
  if (resolvedOptions.signal === void 0) resolvedOptions.signal = null;
@@ -4836,7 +5201,7 @@ var factory = (env) => {
4836
5201
  const onChunkProgress = (loadedBytes) => {
4837
5202
  if (hasMaxContentLength) {
4838
5203
  bytesRead = loadedBytes;
4839
- if (bytesRead > maxContentLength) throw new AxiosError("maxContentLength size of " + maxContentLength + " exceeded", AxiosError.ERR_BAD_RESPONSE, config, request);
5204
+ if (bytesRead > maxContentLength) throw pendingResponseError = new AxiosError("maxContentLength size of " + maxContentLength + " exceeded", AxiosError.ERR_BAD_RESPONSE, config, request);
4840
5205
  }
4841
5206
  onProgress && onProgress(loadedBytes);
4842
5207
  };
@@ -4886,6 +5251,7 @@ var factory = (env) => {
4886
5251
  request && !pendingBodyError.request && (pendingBodyError.request = request);
4887
5252
  throw pendingBodyError;
4888
5253
  }
5254
+ if (pendingResponseError) throw pendingResponseError;
4889
5255
  if (err instanceof AxiosError) {
4890
5256
  request && !err.request && (err.request = request);
4891
5257
  throw err;
@@ -4907,12 +5273,22 @@ var factory = (env) => {
4907
5273
  };
4908
5274
  var seedCache = /* @__PURE__ */ new Map();
4909
5275
  var getFetch = (config) => {
4910
- let env = config && config.env || {};
4911
- const { fetch, Request, Response } = env;
5276
+ const env = Object.create(null);
5277
+ const configuredEnv = config && utils_default.hasOwnProp(config, "env") && config.env;
5278
+ [
5279
+ "fetch",
5280
+ "Request",
5281
+ "Response",
5282
+ "Blob"
5283
+ ].forEach((key) => {
5284
+ if (configuredEnv && utils_default.hasOwnProp(configuredEnv, key)) env[key] = configuredEnv[key];
5285
+ });
5286
+ const { fetch, Request, Response, Blob } = env;
4912
5287
  const seeds = [
4913
5288
  Request,
4914
5289
  Response,
4915
- fetch
5290
+ fetch,
5291
+ Blob
4916
5292
  ];
4917
5293
  let i = seeds.length, seed, target, map = seedCache;
4918
5294
  while (i--) {
@@ -4925,7 +5301,7 @@ var getFetch = (config) => {
4925
5301
  };
4926
5302
  getFetch();
4927
5303
  //#endregion
4928
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/adapters.js
5304
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/adapters.js
4929
5305
  /**
4930
5306
  * Known adapters mapping.
4931
5307
  * Provides environment-specific adapters for Axios:
@@ -5017,7 +5393,7 @@ var adapters_default = {
5017
5393
  adapters: knownAdapters
5018
5394
  };
5019
5395
  //#endregion
5020
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/dispatchRequest.js
5396
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/dispatchRequest.js
5021
5397
  /**
5022
5398
  * Throws a `CanceledError` if cancellation has been requested.
5023
5399
  *
@@ -5030,6 +5406,20 @@ function throwIfCancellationRequested(config) {
5030
5406
  if (config.signal && config.signal.aborted) throw new CanceledError(null, config);
5031
5407
  }
5032
5408
  /**
5409
+ * Milliseconds elapsed since `start`, floored at zero.
5410
+ *
5411
+ * Wall-clock, to match the rest of the codebase (speedometer, throttle,
5412
+ * AxiosTransformStream). A backwards clock adjustment mid-request would
5413
+ * otherwise produce a negative duration, so the result is clamped.
5414
+ *
5415
+ * @param {number} start Timestamp from `Date.now()`
5416
+ *
5417
+ * @returns {number} Non-negative elapsed milliseconds
5418
+ */
5419
+ function elapsedSince(start) {
5420
+ return Math.max(0, Date.now() - start);
5421
+ }
5422
+ /**
5033
5423
  * Dispatch a request to the server using the configured adapter.
5034
5424
  *
5035
5425
  * @param {object} config The config that is to be used for the request
@@ -5046,8 +5436,11 @@ function dispatchRequest(_config) {
5046
5436
  "put",
5047
5437
  "patch"
5048
5438
  ].indexOf(config.method) !== -1) config.headers.setContentType("application/x-www-form-urlencoded", false);
5049
- return adapters_default.getAdapter(config.adapter || defaults.adapter, config)(config).then(function onAdapterResolution(response) {
5439
+ const adapter = adapters_default.getAdapter(config.adapter || defaults.adapter, config);
5440
+ const start = Date.now();
5441
+ return adapter(config).then(function onAdapterResolution(response) {
5050
5442
  throwIfCancellationRequested(config);
5443
+ response.duration = elapsedSince(start);
5051
5444
  config.response = response;
5052
5445
  try {
5053
5446
  response.data = transformData.call(config, config.transformResponse, response);
@@ -5060,6 +5453,7 @@ function dispatchRequest(_config) {
5060
5453
  if (!isCancel(reason)) {
5061
5454
  throwIfCancellationRequested(config);
5062
5455
  if (reason && reason.response) {
5456
+ reason.response.duration = elapsedSince(start);
5063
5457
  config.response = reason.response;
5064
5458
  try {
5065
5459
  reason.response.data = transformData.call(config, config.transformResponse, reason.response);
@@ -5073,7 +5467,7 @@ function dispatchRequest(_config) {
5073
5467
  });
5074
5468
  }
5075
5469
  //#endregion
5076
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/validator.js
5470
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/validator.js
5077
5471
  var validators$1 = {};
5078
5472
  [
5079
5473
  "object",
@@ -5146,8 +5540,27 @@ var validator_default = {
5146
5540
  validators: validators$1
5147
5541
  };
5148
5542
  //#endregion
5149
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/Axios.js
5543
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/Axios.js
5150
5544
  var validators = validator_default.validators;
5545
+ var isHeadersBucket = (value) => {
5546
+ if (value == null || utils_default.isPlainObject(value) || value instanceof AxiosHeaders) return true;
5547
+ try {
5548
+ return utils_default.isObject(value) && utils_default.getSafeProp(value, Symbol.toStringTag) === "AxiosHeaders" && [
5549
+ "toJSON",
5550
+ "set",
5551
+ "get",
5552
+ "has",
5553
+ "delete",
5554
+ "clear",
5555
+ "normalize",
5556
+ "concat",
5557
+ "toString",
5558
+ Symbol.iterator
5559
+ ].every((method) => utils_default.isFunction(utils_default.getSafeProp(value, method)));
5560
+ } catch (e) {
5561
+ return false;
5562
+ }
5563
+ };
5151
5564
  /**
5152
5565
  * Create a new instance of Axios
5153
5566
  *
@@ -5188,8 +5601,12 @@ var Axios = class {
5188
5601
  else if (stack) {
5189
5602
  const firstNewlineIndex = stack.indexOf("\n");
5190
5603
  const secondNewlineIndex = firstNewlineIndex === -1 ? -1 : stack.indexOf("\n", firstNewlineIndex + 1);
5191
- const stackWithoutTwoTopLines = secondNewlineIndex === -1 ? "" : stack.slice(secondNewlineIndex + 1);
5192
- if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) err.stack += "\n" + stack;
5604
+ const duplicateCheckSuffix = secondNewlineIndex === -1 ? stack : stack.slice(secondNewlineIndex + 1);
5605
+ const currentStack = String(err.stack);
5606
+ const causeIndex = getCauseStackIndex(err, currentStack);
5607
+ const stackHead = causeIndex === -1 ? currentStack : currentStack.slice(0, causeIndex);
5608
+ const causeSection = causeIndex === -1 ? "" : currentStack.slice(causeIndex);
5609
+ if (!stackHead.endsWith(duplicateCheckSuffix)) err.stack = stackHead + "\n" + stack + causeSection;
5193
5610
  }
5194
5611
  } catch (e) {}
5195
5612
  throw err;
@@ -5208,7 +5625,8 @@ var Axios = class {
5208
5625
  clarifyTimeoutError: validators.transitional(validators.boolean),
5209
5626
  legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
5210
5627
  advertiseZstdAcceptEncoding: validators.transitional(validators.boolean),
5211
- validateStatusUndefinedResolves: validators.transitional(validators.boolean)
5628
+ validateStatusUndefinedResolves: validators.transitional(validators.boolean),
5629
+ encodeBasicAuthUsername: validators.transitional(validators.boolean)
5212
5630
  }, false);
5213
5631
  if (paramsSerializer != null) {
5214
5632
  if (utils_default.isFunction(paramsSerializer)) config.paramsSerializer = { serialize: paramsSerializer };
@@ -5217,16 +5635,18 @@ var Axios = class {
5217
5635
  serialize: validators.function
5218
5636
  }, true);
5219
5637
  }
5220
- if (config.allowAbsoluteUrls !== void 0) {} else if (this.defaults.allowAbsoluteUrls !== void 0) config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
5638
+ if (config.allowAbsoluteUrls !== void 0) {} else if (utils_default.hasOwnProp(this.defaults, "allowAbsoluteUrls") && this.defaults.allowAbsoluteUrls !== void 0) config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
5221
5639
  else config.allowAbsoluteUrls = true;
5222
5640
  validator_default.assertOptions(config, {
5223
5641
  baseUrl: validators.spelling("baseURL"),
5224
5642
  withXsrfToken: validators.spelling("withXSRFToken")
5225
5643
  }, true);
5226
5644
  config.method = (utils_default.getSafeProp(config, "method") || utils_default.getSafeProp(this.defaults, "method") || "get").toLowerCase();
5227
- let contextHeaders = headers && utils_default.merge(headers.common, headers[config.method]);
5645
+ const commonHeaders = utils_default.getSafeProp(headers, "common");
5646
+ const methodHeaders = utils_default.getSafeProp(headers, config.method);
5647
+ const contextHeaders = headers && utils_default.merge(isHeadersBucket(commonHeaders) ? commonHeaders : void 0, isHeadersBucket(methodHeaders) ? methodHeaders : void 0);
5228
5648
  headers && utils_default.forEach(methodList.concat("common"), (method) => {
5229
- delete headers[method];
5649
+ if (isHeadersBucket(utils_default.getSafeProp(headers, method))) delete headers[method];
5230
5650
  });
5231
5651
  config.headers = AxiosHeaders.concat(contextHeaders, headers);
5232
5652
  const requestInterceptorChain = [];
@@ -5296,7 +5716,7 @@ utils_default.forEach([
5296
5716
  "head",
5297
5717
  "options"
5298
5718
  ], function forEachMethodNoData(method) {
5299
- Axios.prototype[method] = function(url, config) {
5719
+ Axios.prototype[method] = async function(url, config) {
5300
5720
  return this.request(mergeConfig(config || {}, {
5301
5721
  method,
5302
5722
  url,
@@ -5311,7 +5731,7 @@ utils_default.forEach([
5311
5731
  "query"
5312
5732
  ], function forEachMethodWithData(method) {
5313
5733
  function generateHTTPMethod(isForm) {
5314
- return function httpMethod(url, data, config) {
5734
+ return async function httpMethod(url, data, config) {
5315
5735
  return this.request(mergeConfig(config || {}, {
5316
5736
  method,
5317
5737
  headers: isForm ? { "Content-Type": "multipart/form-data" } : {},
@@ -5324,7 +5744,7 @@ utils_default.forEach([
5324
5744
  if (method !== "query") Axios.prototype[method + "Form"] = generateHTTPMethod(true);
5325
5745
  });
5326
5746
  //#endregion
5327
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CancelToken.js
5747
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CancelToken.js
5328
5748
  /**
5329
5749
  * A `CancelToken` is an object that can be used to request cancellation of an operation.
5330
5750
  *
@@ -5412,7 +5832,7 @@ var CancelToken = class CancelToken {
5412
5832
  }
5413
5833
  };
5414
5834
  //#endregion
5415
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/spread.js
5835
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/spread.js
5416
5836
  /**
5417
5837
  * Syntactic sugar for invoking a function and expanding an array for arguments.
5418
5838
  *
@@ -5440,7 +5860,7 @@ function spread(callback) {
5440
5860
  };
5441
5861
  }
5442
5862
  //#endregion
5443
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAxiosError.js
5863
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAxiosError.js
5444
5864
  /**
5445
5865
  * Determines whether the payload is an error thrown by Axios
5446
5866
  *
@@ -5452,7 +5872,7 @@ function isAxiosError(payload) {
5452
5872
  return utils_default.isObject(payload) && payload.isAxiosError === true;
5453
5873
  }
5454
5874
  //#endregion
5455
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/HttpStatusCode.js
5875
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/HttpStatusCode.js
5456
5876
  var HttpStatusCode = {
5457
5877
  Continue: 100,
5458
5878
  SwitchingProtocols: 101,
@@ -5537,7 +5957,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
5537
5957
  if (HttpStatusCode[value] === void 0) HttpStatusCode[value] = key;
5538
5958
  });
5539
5959
  //#endregion
5540
- //#region node_modules/.pnpm/axios@1.20.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/axios.js
5960
+ //#region node_modules/.pnpm/axios@1.21.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/axios.js
5541
5961
  /**
5542
5962
  * Create an instance of Axios
5543
5963
  *
@@ -13559,6 +13979,10 @@ var FdsSearchSelectPro_default = /* @__PURE__ */ defineComponent({
13559
13979
  toggleMultipleSelection(item);
13560
13980
  filterAndPaginate();
13561
13981
  };
13982
+ const handleOptionClick = (event, item) => {
13983
+ if (isMultiple.value && event.target.closest("label")) return;
13984
+ handleMultipleSelectionChange(item);
13985
+ };
13562
13986
  const handleSingleSelection = (item) => {
13563
13987
  const firstField = searchFields.value[0];
13564
13988
  searchTerm.value = (firstField ? item[firstField] : "") || "";
@@ -13811,7 +14235,7 @@ var FdsSearchSelectPro_default = /* @__PURE__ */ defineComponent({
13811
14235
  innerHTML: handleMatchingString(item)
13812
14236
  }, null, 14, _hoisted_6$7)) : (openBlock(), createElementBlock("div", {
13813
14237
  key: 1,
13814
- onClick: () => handleMultipleSelectionChange(item),
14238
+ onClick: (event) => handleOptionClick(event, item),
13815
14239
  class: normalizeClass([labelClasses.value, listItemClasses.value]),
13816
14240
  style: normalizeStyle(unref(optionPaddingStyle)(item))
13817
14241
  }, [__props.multiple ? (openBlock(), createBlock(FdsCheckbox_default, {