@itwin/ecschema-rpcinterface-tests 5.9.0 → 5.9.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.
- package/lib/dist/bundled-tests.js +882 -444
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -785,7 +785,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
785
785
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
786
786
|
/* harmony export */ AxiosRestClient: () => (/* binding */ AxiosRestClient)
|
|
787
787
|
/* harmony export */ });
|
|
788
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
788
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/axios.js");
|
|
789
789
|
/* harmony import */ var _internal___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../internal/ */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/index.js");
|
|
790
790
|
/* harmony import */ var _types_RestClient__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../types/RestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/base/types/RestClient.js");
|
|
791
791
|
/* harmony import */ var _AxiosResponseHeadersAdapter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AxiosResponseHeadersAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/base/axios/AxiosResponseHeadersAdapter.js");
|
|
@@ -887,7 +887,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
887
887
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
888
888
|
/* harmony export */ AxiosRetryPolicy: () => (/* binding */ AxiosRetryPolicy)
|
|
889
889
|
/* harmony export */ });
|
|
890
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
890
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/index.js");
|
|
891
891
|
/* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@6.0.2/node_modules/@itwin/imodels-client-management/lib/esm/Constants.js");
|
|
892
892
|
/*---------------------------------------------------------------------------------------------
|
|
893
893
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -4435,7 +4435,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4435
4435
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4436
4436
|
/* harmony export */ BaseClient: () => (/* binding */ BaseClient)
|
|
4437
4437
|
/* harmony export */ });
|
|
4438
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
4438
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/axios.js");
|
|
4439
4439
|
|
|
4440
4440
|
class BaseClient {
|
|
4441
4441
|
constructor(url) {
|
|
@@ -158463,12 +158463,12 @@ class QuantityFormatter {
|
|
|
158463
158463
|
const effectiveSystem = args.system ?? this._activeUnitSystem;
|
|
158464
158464
|
return this._formatSpecsRegistry.get(args.name)?.get(args.persistenceUnitName)?.get(effectiveSystem);
|
|
158465
158465
|
}
|
|
158466
|
-
/** Create a
|
|
158467
|
-
* The handle
|
|
158466
|
+
/** Create a handle to formatting specs for a specific KoQ and persistence unit.
|
|
158467
|
+
* The handle reads the current specs from the formatter on access. Call `dispose()` when done.
|
|
158468
158468
|
*
|
|
158469
158469
|
* @param koqName - The KindOfQuantity name (e.g., "DefaultToolsUnits.LENGTH")
|
|
158470
158470
|
* @param persistenceUnit - The persistence unit name (e.g., "Units.M")
|
|
158471
|
-
* @returns A FormatSpecHandle that
|
|
158471
|
+
* @returns A FormatSpecHandle that reflects current formatter state
|
|
158472
158472
|
* @beta
|
|
158473
158473
|
*/
|
|
158474
158474
|
getFormatSpecHandle(koqName, persistenceUnit, system) {
|
|
@@ -158496,12 +158496,17 @@ class QuantityFormatter {
|
|
|
158496
158496
|
formatProps,
|
|
158497
158497
|
formatName: name,
|
|
158498
158498
|
});
|
|
158499
|
-
|
|
158500
|
-
|
|
158501
|
-
|
|
158502
|
-
|
|
158503
|
-
|
|
158504
|
-
unitMap.get(persistenceUnitName)
|
|
158499
|
+
let unitMap = this._formatSpecsRegistry.get(name);
|
|
158500
|
+
if (!unitMap) {
|
|
158501
|
+
unitMap = new Map();
|
|
158502
|
+
this._formatSpecsRegistry.set(name, unitMap);
|
|
158503
|
+
}
|
|
158504
|
+
let systemMap = unitMap.get(persistenceUnitName);
|
|
158505
|
+
if (!systemMap) {
|
|
158506
|
+
systemMap = new Map();
|
|
158507
|
+
unitMap.set(persistenceUnitName, systemMap);
|
|
158508
|
+
}
|
|
158509
|
+
systemMap.set(effectiveSystem, { formatterSpec, parserSpec });
|
|
158505
158510
|
}
|
|
158506
158511
|
else {
|
|
158507
158512
|
throw new Error(`Unable to find format properties for ${name} with persistence unit ${persistenceUnitName}`);
|
|
@@ -308916,19 +308921,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
308916
308921
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
308917
308922
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
308918
308923
|
*--------------------------------------------------------------------------------------------*/
|
|
308919
|
-
/** A
|
|
308920
|
-
*
|
|
308924
|
+
/** A handle to formatting and parsing specs for a specific KoQ and persistence unit.
|
|
308925
|
+
* Reads the current specs from the provider on access. Use [[QuantityFormatter.getFormatSpecHandle]]
|
|
308921
308926
|
* to create instances.
|
|
308922
308927
|
*
|
|
308923
308928
|
* When formatting is not yet ready, [[format]] returns a `value.toString()` fallback.
|
|
308924
|
-
*
|
|
308929
|
+
* Dispose the handle when it is no longer needed to invalidate it.
|
|
308925
308930
|
*
|
|
308926
308931
|
* @beta
|
|
308927
308932
|
*/
|
|
308928
308933
|
class FormatSpecHandle {
|
|
308929
|
-
|
|
308930
|
-
_parserSpec;
|
|
308931
|
-
_removeListener;
|
|
308934
|
+
_disposed = false;
|
|
308932
308935
|
_provider;
|
|
308933
308936
|
_koqName;
|
|
308934
308937
|
_persistenceUnit;
|
|
@@ -308939,10 +308942,6 @@ class FormatSpecHandle {
|
|
|
308939
308942
|
this._koqName = args.name;
|
|
308940
308943
|
this._persistenceUnit = args.persistenceUnitName;
|
|
308941
308944
|
this._system = args.system;
|
|
308942
|
-
this._removeListener = args.provider.onFormattingReady.addListener(() => {
|
|
308943
|
-
this._refresh();
|
|
308944
|
-
});
|
|
308945
|
-
this._refresh();
|
|
308946
308945
|
}
|
|
308947
308946
|
/** The KoQ name this handle is keyed to. */
|
|
308948
308947
|
get koqName() { return this._koqName; }
|
|
@@ -308951,47 +308950,35 @@ class FormatSpecHandle {
|
|
|
308951
308950
|
/** The unit system this handle is pinned to, or `undefined` for the active system. */
|
|
308952
308951
|
get system() { return this._system; }
|
|
308953
308952
|
/** The current FormatterSpec, or undefined if not yet loaded. */
|
|
308954
|
-
get formatterSpec() { return this.
|
|
308953
|
+
get formatterSpec() { return this._getEntry()?.formatterSpec; }
|
|
308955
308954
|
/** The current ParserSpec, or undefined if not yet loaded. */
|
|
308956
|
-
get parserSpec() { return this.
|
|
308955
|
+
get parserSpec() { return this._getEntry()?.parserSpec; }
|
|
308957
308956
|
/** Format a quantity value using the current spec.
|
|
308958
308957
|
* If the formatter is not yet ready, returns `value.toString()` as a fallback.
|
|
308959
308958
|
* @param value - The numeric value to format.
|
|
308960
308959
|
* @returns The formatted string.
|
|
308961
308960
|
*/
|
|
308962
308961
|
format(value) {
|
|
308963
|
-
|
|
308962
|
+
const formatterSpec = this.formatterSpec;
|
|
308963
|
+
if (!formatterSpec)
|
|
308964
308964
|
return value.toString();
|
|
308965
|
-
return this._provider.formatQuantity(value,
|
|
308965
|
+
return this._provider.formatQuantity(value, formatterSpec);
|
|
308966
308966
|
}
|
|
308967
|
-
/**
|
|
308968
|
-
* Idempotent and safe to call
|
|
308967
|
+
/** Invalidate this handle.
|
|
308968
|
+
* Idempotent and safe to call multiple times.
|
|
308969
|
+
* No additional teardown is required because the handle owns no external resources.
|
|
308969
308970
|
*/
|
|
308970
308971
|
[Symbol.dispose]() {
|
|
308971
|
-
|
|
308972
|
-
this._removeListener();
|
|
308973
|
-
this._removeListener = undefined;
|
|
308974
|
-
}
|
|
308975
|
-
this._formatterSpec = undefined;
|
|
308976
|
-
this._parserSpec = undefined;
|
|
308972
|
+
this._disposed = true;
|
|
308977
308973
|
}
|
|
308978
|
-
|
|
308979
|
-
|
|
308980
|
-
|
|
308981
|
-
|
|
308982
|
-
const entry = this._provider.getSpecsByNameAndUnit({
|
|
308974
|
+
_getEntry() {
|
|
308975
|
+
if (this._disposed)
|
|
308976
|
+
return undefined;
|
|
308977
|
+
return this._provider.getSpecsByNameAndUnit({
|
|
308983
308978
|
name: this._koqName,
|
|
308984
308979
|
persistenceUnitName: this._persistenceUnit,
|
|
308985
308980
|
system: this._system,
|
|
308986
308981
|
});
|
|
308987
|
-
if (entry) {
|
|
308988
|
-
this._formatterSpec = entry.formatterSpec;
|
|
308989
|
-
this._parserSpec = entry.parserSpec;
|
|
308990
|
-
}
|
|
308991
|
-
else {
|
|
308992
|
-
this._formatterSpec = undefined;
|
|
308993
|
-
this._parserSpec = undefined;
|
|
308994
|
-
}
|
|
308995
308982
|
}
|
|
308996
308983
|
}
|
|
308997
308984
|
|
|
@@ -318263,9 +318250,9 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
318263
318250
|
|
|
318264
318251
|
/***/ }),
|
|
318265
318252
|
|
|
318266
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318253
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/index.js":
|
|
318267
318254
|
/*!*************************************************************************************!*\
|
|
318268
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
318255
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/index.js ***!
|
|
318269
318256
|
\*************************************************************************************/
|
|
318270
318257
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
318271
318258
|
|
|
@@ -318281,6 +318268,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
318281
318268
|
/* harmony export */ HttpStatusCode: () => (/* binding */ HttpStatusCode),
|
|
318282
318269
|
/* harmony export */ VERSION: () => (/* binding */ VERSION),
|
|
318283
318270
|
/* harmony export */ all: () => (/* binding */ all),
|
|
318271
|
+
/* harmony export */ create: () => (/* binding */ create),
|
|
318284
318272
|
/* harmony export */ "default": () => (/* reexport safe */ _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
318285
318273
|
/* harmony export */ formToJSON: () => (/* binding */ formToJSON),
|
|
318286
318274
|
/* harmony export */ getAdapter: () => (/* binding */ getAdapter),
|
|
@@ -318290,7 +318278,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
318290
318278
|
/* harmony export */ spread: () => (/* binding */ spread),
|
|
318291
318279
|
/* harmony export */ toFormData: () => (/* binding */ toFormData)
|
|
318292
318280
|
/* harmony export */ });
|
|
318293
|
-
/* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318281
|
+
/* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/axios.js");
|
|
318294
318282
|
|
|
318295
318283
|
|
|
318296
318284
|
// This module is intended to unwrap Axios default export as named.
|
|
@@ -318313,6 +318301,7 @@ const {
|
|
|
318313
318301
|
formToJSON,
|
|
318314
318302
|
getAdapter,
|
|
318315
318303
|
mergeConfig,
|
|
318304
|
+
create,
|
|
318316
318305
|
} = _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
318317
318306
|
|
|
318318
318307
|
|
|
@@ -318320,9 +318309,9 @@ const {
|
|
|
318320
318309
|
|
|
318321
318310
|
/***/ }),
|
|
318322
318311
|
|
|
318323
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318312
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/adapters/adapters.js":
|
|
318324
318313
|
/*!*****************************************************************************************************!*\
|
|
318325
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
318314
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/adapters/adapters.js ***!
|
|
318326
318315
|
\*****************************************************************************************************/
|
|
318327
318316
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
318328
318317
|
|
|
@@ -318331,11 +318320,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
318331
318320
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
318332
318321
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
318333
318322
|
/* harmony export */ });
|
|
318334
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318335
|
-
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318336
|
-
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318337
|
-
/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318338
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318323
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
318324
|
+
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/null.js");
|
|
318325
|
+
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/adapters/xhr.js");
|
|
318326
|
+
/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/adapters/fetch.js");
|
|
318327
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosError.js");
|
|
318339
318328
|
|
|
318340
318329
|
|
|
318341
318330
|
|
|
@@ -318363,11 +318352,13 @@ const knownAdapters = {
|
|
|
318363
318352
|
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(knownAdapters, (fn, value) => {
|
|
318364
318353
|
if (fn) {
|
|
318365
318354
|
try {
|
|
318366
|
-
Object.
|
|
318355
|
+
// Null-proto descriptors so a polluted Object.prototype.get cannot turn
|
|
318356
|
+
// these data descriptors into accessor descriptors on the way in.
|
|
318357
|
+
Object.defineProperty(fn, 'name', { __proto__: null, value });
|
|
318367
318358
|
} catch (e) {
|
|
318368
318359
|
// eslint-disable-next-line no-empty
|
|
318369
318360
|
}
|
|
318370
|
-
Object.defineProperty(fn, 'adapterName', { value });
|
|
318361
|
+
Object.defineProperty(fn, 'adapterName', { __proto__: null, value });
|
|
318371
318362
|
}
|
|
318372
318363
|
});
|
|
318373
318364
|
|
|
@@ -318470,9 +318461,9 @@ function getAdapter(adapters, config) {
|
|
|
318470
318461
|
|
|
318471
318462
|
/***/ }),
|
|
318472
318463
|
|
|
318473
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318464
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/adapters/fetch.js":
|
|
318474
318465
|
/*!**************************************************************************************************!*\
|
|
318475
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
318466
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/adapters/fetch.js ***!
|
|
318476
318467
|
\**************************************************************************************************/
|
|
318477
318468
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
318478
318469
|
|
|
@@ -318482,15 +318473,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
318482
318473
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
318483
318474
|
/* harmony export */ getFetch: () => (/* binding */ getFetch)
|
|
318484
318475
|
/* harmony export */ });
|
|
318485
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318486
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318487
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318488
|
-
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318489
|
-
/* harmony import */ var
|
|
318490
|
-
/* harmony import */ var
|
|
318491
|
-
/* harmony import */ var
|
|
318492
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318493
|
-
/* harmony import */ var
|
|
318476
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/index.js");
|
|
318477
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
318478
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosError.js");
|
|
318479
|
+
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/composeSignals.js");
|
|
318480
|
+
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/trackStream.js");
|
|
318481
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
318482
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
318483
|
+
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/resolveConfig.js");
|
|
318484
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/settle.js");
|
|
318485
|
+
/* harmony import */ var _helpers_estimateDataURLDecodedBytes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/estimateDataURLDecodedBytes.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js");
|
|
318486
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/env/data.js");
|
|
318494
318487
|
|
|
318495
318488
|
|
|
318496
318489
|
|
|
@@ -318501,16 +318494,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
318501
318494
|
|
|
318502
318495
|
|
|
318503
318496
|
|
|
318504
|
-
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
318505
318497
|
|
|
318506
|
-
const { isFunction } = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
318507
318498
|
|
|
318508
|
-
const
|
|
318509
|
-
Request,
|
|
318510
|
-
Response,
|
|
318511
|
-
}))(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global);
|
|
318499
|
+
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
318512
318500
|
|
|
318513
|
-
const {
|
|
318501
|
+
const { isFunction } = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
318514
318502
|
|
|
318515
318503
|
const test = (fn, ...args) => {
|
|
318516
318504
|
try {
|
|
@@ -318521,11 +318509,17 @@ const test = (fn, ...args) => {
|
|
|
318521
318509
|
};
|
|
318522
318510
|
|
|
318523
318511
|
const factory = (env) => {
|
|
318512
|
+
const globalObject = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global ?? globalThis;
|
|
318513
|
+
const { ReadableStream, TextEncoder } = globalObject;
|
|
318514
|
+
|
|
318524
318515
|
env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call(
|
|
318525
318516
|
{
|
|
318526
318517
|
skipUndefined: true,
|
|
318527
318518
|
},
|
|
318528
|
-
|
|
318519
|
+
{
|
|
318520
|
+
Request: globalObject.Request,
|
|
318521
|
+
Response: globalObject.Response,
|
|
318522
|
+
},
|
|
318529
318523
|
env
|
|
318530
318524
|
);
|
|
318531
318525
|
|
|
@@ -318555,18 +318549,20 @@ const factory = (env) => {
|
|
|
318555
318549
|
test(() => {
|
|
318556
318550
|
let duplexAccessed = false;
|
|
318557
318551
|
|
|
318558
|
-
const
|
|
318559
|
-
|
|
318560
|
-
const hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].origin, {
|
|
318561
|
-
body,
|
|
318552
|
+
const request = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].origin, {
|
|
318553
|
+
body: new ReadableStream(),
|
|
318562
318554
|
method: 'POST',
|
|
318563
318555
|
get duplex() {
|
|
318564
318556
|
duplexAccessed = true;
|
|
318565
318557
|
return 'half';
|
|
318566
318558
|
},
|
|
318567
|
-
})
|
|
318559
|
+
});
|
|
318568
318560
|
|
|
318569
|
-
|
|
318561
|
+
const hasContentType = request.headers.has('Content-Type');
|
|
318562
|
+
|
|
318563
|
+
if (request.body != null) {
|
|
318564
|
+
request.body.cancel();
|
|
318565
|
+
}
|
|
318570
318566
|
|
|
318571
318567
|
return duplexAccessed && !hasContentType;
|
|
318572
318568
|
});
|
|
@@ -318650,8 +318646,13 @@ const factory = (env) => {
|
|
|
318650
318646
|
headers,
|
|
318651
318647
|
withCredentials = 'same-origin',
|
|
318652
318648
|
fetchOptions,
|
|
318649
|
+
maxContentLength,
|
|
318650
|
+
maxBodyLength,
|
|
318653
318651
|
} = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"])(config);
|
|
318654
318652
|
|
|
318653
|
+
const hasMaxContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isNumber(maxContentLength) && maxContentLength > -1;
|
|
318654
|
+
const hasMaxBodyLength = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isNumber(maxBodyLength) && maxBodyLength > -1;
|
|
318655
|
+
|
|
318655
318656
|
let _fetch = envFetch || fetch;
|
|
318656
318657
|
|
|
318657
318658
|
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
@@ -318673,6 +318674,41 @@ const factory = (env) => {
|
|
|
318673
318674
|
let requestContentLength;
|
|
318674
318675
|
|
|
318675
318676
|
try {
|
|
318677
|
+
// Enforce maxContentLength for data: URLs up-front so we never materialize
|
|
318678
|
+
// an oversized payload. The HTTP adapter applies the same check (see http.js
|
|
318679
|
+
// "if (protocol === 'data:')" branch).
|
|
318680
|
+
if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) {
|
|
318681
|
+
const estimated = (0,_helpers_estimateDataURLDecodedBytes_js__WEBPACK_IMPORTED_MODULE_5__["default"])(url);
|
|
318682
|
+
if (estimated > maxContentLength) {
|
|
318683
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
318684
|
+
'maxContentLength size of ' + maxContentLength + ' exceeded',
|
|
318685
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_RESPONSE,
|
|
318686
|
+
config,
|
|
318687
|
+
request
|
|
318688
|
+
);
|
|
318689
|
+
}
|
|
318690
|
+
}
|
|
318691
|
+
|
|
318692
|
+
// Enforce maxBodyLength against the outbound request body before dispatch.
|
|
318693
|
+
// Mirrors http.js behavior (ERR_BAD_REQUEST / 'Request body larger than
|
|
318694
|
+
// maxBodyLength limit'). Skip when the body length cannot be determined
|
|
318695
|
+
// (e.g. a live ReadableStream supplied by the caller).
|
|
318696
|
+
if (hasMaxBodyLength && method !== 'get' && method !== 'head') {
|
|
318697
|
+
const outboundLength = await resolveBodyLength(headers, data);
|
|
318698
|
+
if (
|
|
318699
|
+
typeof outboundLength === 'number' &&
|
|
318700
|
+
isFinite(outboundLength) &&
|
|
318701
|
+
outboundLength > maxBodyLength
|
|
318702
|
+
) {
|
|
318703
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
318704
|
+
'Request body larger than maxBodyLength limit',
|
|
318705
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_REQUEST,
|
|
318706
|
+
config,
|
|
318707
|
+
request
|
|
318708
|
+
);
|
|
318709
|
+
}
|
|
318710
|
+
}
|
|
318711
|
+
|
|
318676
318712
|
if (
|
|
318677
318713
|
onUploadProgress &&
|
|
318678
318714
|
supportsRequestStream &&
|
|
@@ -318693,12 +318729,12 @@ const factory = (env) => {
|
|
|
318693
318729
|
}
|
|
318694
318730
|
|
|
318695
318731
|
if (_request.body) {
|
|
318696
|
-
const [onProgress, flush] = (0,
|
|
318732
|
+
const [onProgress, flush] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventDecorator)(
|
|
318697
318733
|
requestContentLength,
|
|
318698
|
-
(0,
|
|
318734
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.asyncDecorator)(onUploadProgress))
|
|
318699
318735
|
);
|
|
318700
318736
|
|
|
318701
|
-
data = (0,
|
|
318737
|
+
data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_7__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
318702
318738
|
}
|
|
318703
318739
|
}
|
|
318704
318740
|
|
|
@@ -318710,6 +318746,22 @@ const factory = (env) => {
|
|
|
318710
318746
|
// see https://github.com/cloudflare/workerd/issues/902
|
|
318711
318747
|
const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
|
|
318712
318748
|
|
|
318749
|
+
// If data is FormData and Content-Type is multipart/form-data without boundary,
|
|
318750
|
+
// delete it so fetch can set it correctly with the boundary
|
|
318751
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(data)) {
|
|
318752
|
+
const contentType = headers.getContentType();
|
|
318753
|
+
if (
|
|
318754
|
+
contentType &&
|
|
318755
|
+
/^multipart\/form-data/i.test(contentType) &&
|
|
318756
|
+
!/boundary=/i.test(contentType)
|
|
318757
|
+
) {
|
|
318758
|
+
headers.delete('content-type');
|
|
318759
|
+
}
|
|
318760
|
+
}
|
|
318761
|
+
|
|
318762
|
+
// Set User-Agent header if not already set (fetch defaults to 'node' in Node.js)
|
|
318763
|
+
headers.set('User-Agent', 'axios/' + _env_data_js__WEBPACK_IMPORTED_MODULE_8__.VERSION, false);
|
|
318764
|
+
|
|
318713
318765
|
const resolvedOptions = {
|
|
318714
318766
|
...fetchOptions,
|
|
318715
318767
|
signal: composedSignal,
|
|
@@ -318726,10 +318778,28 @@ const factory = (env) => {
|
|
|
318726
318778
|
? _fetch(request, fetchOptions)
|
|
318727
318779
|
: _fetch(url, resolvedOptions));
|
|
318728
318780
|
|
|
318781
|
+
// Cheap pre-check: if the server honestly declares a content-length that
|
|
318782
|
+
// already exceeds the cap, reject before we start streaming.
|
|
318783
|
+
if (hasMaxContentLength) {
|
|
318784
|
+
const declaredLength = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFiniteNumber(response.headers.get('content-length'));
|
|
318785
|
+
if (declaredLength != null && declaredLength > maxContentLength) {
|
|
318786
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
318787
|
+
'maxContentLength size of ' + maxContentLength + ' exceeded',
|
|
318788
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_RESPONSE,
|
|
318789
|
+
config,
|
|
318790
|
+
request
|
|
318791
|
+
);
|
|
318792
|
+
}
|
|
318793
|
+
}
|
|
318794
|
+
|
|
318729
318795
|
const isStreamResponse =
|
|
318730
318796
|
supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
318731
318797
|
|
|
318732
|
-
if (
|
|
318798
|
+
if (
|
|
318799
|
+
supportsResponseStream &&
|
|
318800
|
+
response.body &&
|
|
318801
|
+
(onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe))
|
|
318802
|
+
) {
|
|
318733
318803
|
const options = {};
|
|
318734
318804
|
|
|
318735
318805
|
['status', 'statusText', 'headers'].forEach((prop) => {
|
|
@@ -318740,14 +318810,30 @@ const factory = (env) => {
|
|
|
318740
318810
|
|
|
318741
318811
|
const [onProgress, flush] =
|
|
318742
318812
|
(onDownloadProgress &&
|
|
318743
|
-
(0,
|
|
318813
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventDecorator)(
|
|
318744
318814
|
responseContentLength,
|
|
318745
|
-
(0,
|
|
318815
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.asyncDecorator)(onDownloadProgress), true)
|
|
318746
318816
|
)) ||
|
|
318747
318817
|
[];
|
|
318748
318818
|
|
|
318819
|
+
let bytesRead = 0;
|
|
318820
|
+
const onChunkProgress = (loadedBytes) => {
|
|
318821
|
+
if (hasMaxContentLength) {
|
|
318822
|
+
bytesRead = loadedBytes;
|
|
318823
|
+
if (bytesRead > maxContentLength) {
|
|
318824
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
318825
|
+
'maxContentLength size of ' + maxContentLength + ' exceeded',
|
|
318826
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_RESPONSE,
|
|
318827
|
+
config,
|
|
318828
|
+
request
|
|
318829
|
+
);
|
|
318830
|
+
}
|
|
318831
|
+
}
|
|
318832
|
+
onProgress && onProgress(loadedBytes);
|
|
318833
|
+
};
|
|
318834
|
+
|
|
318749
318835
|
response = new Response(
|
|
318750
|
-
(0,
|
|
318836
|
+
(0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_7__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => {
|
|
318751
318837
|
flush && flush();
|
|
318752
318838
|
unsubscribe && unsubscribe();
|
|
318753
318839
|
}),
|
|
@@ -318762,12 +318848,39 @@ const factory = (env) => {
|
|
|
318762
318848
|
config
|
|
318763
318849
|
);
|
|
318764
318850
|
|
|
318851
|
+
// Fallback enforcement for environments without ReadableStream support
|
|
318852
|
+
// (legacy runtimes). Detect materialized size from typed output; skip
|
|
318853
|
+
// streams/Response passthrough since the user will read those themselves.
|
|
318854
|
+
if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) {
|
|
318855
|
+
let materializedSize;
|
|
318856
|
+
if (responseData != null) {
|
|
318857
|
+
if (typeof responseData.byteLength === 'number') {
|
|
318858
|
+
materializedSize = responseData.byteLength;
|
|
318859
|
+
} else if (typeof responseData.size === 'number') {
|
|
318860
|
+
materializedSize = responseData.size;
|
|
318861
|
+
} else if (typeof responseData === 'string') {
|
|
318862
|
+
materializedSize =
|
|
318863
|
+
typeof TextEncoder === 'function'
|
|
318864
|
+
? new TextEncoder().encode(responseData).byteLength
|
|
318865
|
+
: responseData.length;
|
|
318866
|
+
}
|
|
318867
|
+
}
|
|
318868
|
+
if (typeof materializedSize === 'number' && materializedSize > maxContentLength) {
|
|
318869
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
318870
|
+
'maxContentLength size of ' + maxContentLength + ' exceeded',
|
|
318871
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_RESPONSE,
|
|
318872
|
+
config,
|
|
318873
|
+
request
|
|
318874
|
+
);
|
|
318875
|
+
}
|
|
318876
|
+
}
|
|
318877
|
+
|
|
318765
318878
|
!isStreamResponse && unsubscribe && unsubscribe();
|
|
318766
318879
|
|
|
318767
318880
|
return await new Promise((resolve, reject) => {
|
|
318768
|
-
(0,
|
|
318881
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_9__["default"])(resolve, reject, {
|
|
318769
318882
|
data: responseData,
|
|
318770
|
-
headers:
|
|
318883
|
+
headers: _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_10__["default"].from(response.headers),
|
|
318771
318884
|
status: response.status,
|
|
318772
318885
|
statusText: response.statusText,
|
|
318773
318886
|
config,
|
|
@@ -318777,6 +318890,17 @@ const factory = (env) => {
|
|
|
318777
318890
|
} catch (err) {
|
|
318778
318891
|
unsubscribe && unsubscribe();
|
|
318779
318892
|
|
|
318893
|
+
// Safari can surface fetch aborts as a DOMException-like object whose
|
|
318894
|
+
// branded getters throw. Prefer our composed signal reason before reading
|
|
318895
|
+
// the caught error, preserving timeout vs cancellation semantics.
|
|
318896
|
+
if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]) {
|
|
318897
|
+
const canceledError = composedSignal.reason;
|
|
318898
|
+
canceledError.config = config;
|
|
318899
|
+
request && (canceledError.request = request);
|
|
318900
|
+
err !== canceledError && (canceledError.cause = err);
|
|
318901
|
+
throw canceledError;
|
|
318902
|
+
}
|
|
318903
|
+
|
|
318780
318904
|
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
318781
318905
|
throw Object.assign(
|
|
318782
318906
|
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
@@ -318829,9 +318953,9 @@ const adapter = getFetch();
|
|
|
318829
318953
|
|
|
318830
318954
|
/***/ }),
|
|
318831
318955
|
|
|
318832
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318956
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/adapters/xhr.js":
|
|
318833
318957
|
/*!************************************************************************************************!*\
|
|
318834
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
318958
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/adapters/xhr.js ***!
|
|
318835
318959
|
\************************************************************************************************/
|
|
318836
318960
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
318837
318961
|
|
|
@@ -318840,16 +318964,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
318840
318964
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
318841
318965
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
318842
318966
|
/* harmony export */ });
|
|
318843
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318844
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318845
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318846
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318847
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318848
|
-
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318849
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318850
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318851
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318852
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
318967
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
318968
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/settle.js");
|
|
318969
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/defaults/transitional.js");
|
|
318970
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosError.js");
|
|
318971
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/CanceledError.js");
|
|
318972
|
+
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/parseProtocol.js");
|
|
318973
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/index.js");
|
|
318974
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
318975
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
318976
|
+
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/resolveConfig.js");
|
|
318853
318977
|
|
|
318854
318978
|
|
|
318855
318979
|
|
|
@@ -318943,7 +319067,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
318943
319067
|
// will return status as 0 even though it's a successful request
|
|
318944
319068
|
if (
|
|
318945
319069
|
request.status === 0 &&
|
|
318946
|
-
!(request.responseURL && request.responseURL.
|
|
319070
|
+
!(request.responseURL && request.responseURL.startsWith('file:'))
|
|
318947
319071
|
) {
|
|
318948
319072
|
return;
|
|
318949
319073
|
}
|
|
@@ -318960,6 +319084,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
318960
319084
|
}
|
|
318961
319085
|
|
|
318962
319086
|
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED, config, request));
|
|
319087
|
+
done();
|
|
318963
319088
|
|
|
318964
319089
|
// Clean up request
|
|
318965
319090
|
request = null;
|
|
@@ -318975,6 +319100,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
318975
319100
|
// attach the underlying event for consumers who want details
|
|
318976
319101
|
err.event = event || null;
|
|
318977
319102
|
reject(err);
|
|
319103
|
+
done();
|
|
318978
319104
|
request = null;
|
|
318979
319105
|
};
|
|
318980
319106
|
|
|
@@ -318995,6 +319121,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
318995
319121
|
request
|
|
318996
319122
|
)
|
|
318997
319123
|
);
|
|
319124
|
+
done();
|
|
318998
319125
|
|
|
318999
319126
|
// Clean up request
|
|
319000
319127
|
request = null;
|
|
@@ -319044,6 +319171,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
319044
319171
|
}
|
|
319045
319172
|
reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__["default"](null, config, request) : cancel);
|
|
319046
319173
|
request.abort();
|
|
319174
|
+
done();
|
|
319047
319175
|
request = null;
|
|
319048
319176
|
};
|
|
319049
319177
|
|
|
@@ -319057,7 +319185,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
319057
319185
|
|
|
319058
319186
|
const protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_config.url);
|
|
319059
319187
|
|
|
319060
|
-
if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_9__["default"].protocols.
|
|
319188
|
+
if (protocol && !_platform_index_js__WEBPACK_IMPORTED_MODULE_9__["default"].protocols.includes(protocol)) {
|
|
319061
319189
|
reject(
|
|
319062
319190
|
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
319063
319191
|
'Unsupported protocol ' + protocol + ':',
|
|
@@ -319076,9 +319204,9 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
319076
319204
|
|
|
319077
319205
|
/***/ }),
|
|
319078
319206
|
|
|
319079
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319207
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/axios.js":
|
|
319080
319208
|
/*!*****************************************************************************************!*\
|
|
319081
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
319209
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/axios.js ***!
|
|
319082
319210
|
\*****************************************************************************************/
|
|
319083
319211
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319084
319212
|
|
|
@@ -319087,23 +319215,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319087
319215
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319088
319216
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
319089
319217
|
/* harmony export */ });
|
|
319090
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319091
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319092
|
-
/* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319093
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319094
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319095
|
-
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319096
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319097
|
-
/* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319098
|
-
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319099
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319100
|
-
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319101
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319102
|
-
/* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319103
|
-
/* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319104
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319105
|
-
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319106
|
-
/* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319218
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
319219
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/bind.js");
|
|
319220
|
+
/* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/Axios.js");
|
|
319221
|
+
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/mergeConfig.js");
|
|
319222
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/defaults/index.js");
|
|
319223
|
+
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/formDataToJSON.js");
|
|
319224
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/CanceledError.js");
|
|
319225
|
+
/* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/CancelToken.js");
|
|
319226
|
+
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/isCancel.js");
|
|
319227
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/env/data.js");
|
|
319228
|
+
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/toFormData.js");
|
|
319229
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosError.js");
|
|
319230
|
+
/* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/spread.js");
|
|
319231
|
+
/* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/isAxiosError.js");
|
|
319232
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
319233
|
+
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/adapters/adapters.js");
|
|
319234
|
+
/* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/HttpStatusCode.js");
|
|
319107
319235
|
|
|
319108
319236
|
|
|
319109
319237
|
|
|
@@ -319197,9 +319325,9 @@ axios.default = axios;
|
|
|
319197
319325
|
|
|
319198
319326
|
/***/ }),
|
|
319199
319327
|
|
|
319200
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319328
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/CancelToken.js":
|
|
319201
319329
|
/*!******************************************************************************************************!*\
|
|
319202
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
319330
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/CancelToken.js ***!
|
|
319203
319331
|
\******************************************************************************************************/
|
|
319204
319332
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319205
319333
|
|
|
@@ -319208,7 +319336,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319208
319336
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319209
319337
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
319210
319338
|
/* harmony export */ });
|
|
319211
|
-
/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319339
|
+
/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/CanceledError.js");
|
|
319212
319340
|
|
|
319213
319341
|
|
|
319214
319342
|
|
|
@@ -319348,9 +319476,9 @@ class CancelToken {
|
|
|
319348
319476
|
|
|
319349
319477
|
/***/ }),
|
|
319350
319478
|
|
|
319351
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319479
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/CanceledError.js":
|
|
319352
319480
|
/*!********************************************************************************************************!*\
|
|
319353
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
319481
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/CanceledError.js ***!
|
|
319354
319482
|
\********************************************************************************************************/
|
|
319355
319483
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319356
319484
|
|
|
@@ -319359,7 +319487,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319359
319487
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319360
319488
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
319361
319489
|
/* harmony export */ });
|
|
319362
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319490
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosError.js");
|
|
319363
319491
|
|
|
319364
319492
|
|
|
319365
319493
|
|
|
@@ -319386,9 +319514,9 @@ class CanceledError extends _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["de
|
|
|
319386
319514
|
|
|
319387
319515
|
/***/ }),
|
|
319388
319516
|
|
|
319389
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319517
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/isCancel.js":
|
|
319390
319518
|
/*!***************************************************************************************************!*\
|
|
319391
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
319519
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/isCancel.js ***!
|
|
319392
319520
|
\***************************************************************************************************/
|
|
319393
319521
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319394
319522
|
|
|
@@ -319406,9 +319534,9 @@ function isCancel(value) {
|
|
|
319406
319534
|
|
|
319407
319535
|
/***/ }),
|
|
319408
319536
|
|
|
319409
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319537
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/Axios.js":
|
|
319410
319538
|
/*!**********************************************************************************************!*\
|
|
319411
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
319539
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/Axios.js ***!
|
|
319412
319540
|
\**********************************************************************************************/
|
|
319413
319541
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319414
319542
|
|
|
@@ -319417,15 +319545,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319417
319545
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319418
319546
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
319419
319547
|
/* harmony export */ });
|
|
319420
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319421
|
-
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319422
|
-
/* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319423
|
-
/* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319424
|
-
/* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319425
|
-
/* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319426
|
-
/* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319427
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319428
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319548
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
319549
|
+
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/buildURL.js");
|
|
319550
|
+
/* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/InterceptorManager.js");
|
|
319551
|
+
/* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/dispatchRequest.js");
|
|
319552
|
+
/* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/mergeConfig.js");
|
|
319553
|
+
/* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/buildFullPath.js");
|
|
319554
|
+
/* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/validator.js");
|
|
319555
|
+
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
319556
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/defaults/transitional.js");
|
|
319429
319557
|
|
|
319430
319558
|
|
|
319431
319559
|
|
|
@@ -319576,7 +319704,7 @@ class Axios {
|
|
|
319576
319704
|
let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].merge(headers.common, headers[config.method]);
|
|
319577
319705
|
|
|
319578
319706
|
headers &&
|
|
319579
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], (method) => {
|
|
319707
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => {
|
|
319580
319708
|
delete headers[method];
|
|
319581
319709
|
});
|
|
319582
319710
|
|
|
@@ -319679,7 +319807,7 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'hea
|
|
|
319679
319807
|
};
|
|
319680
319808
|
});
|
|
319681
319809
|
|
|
319682
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
319810
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) {
|
|
319683
319811
|
function generateHTTPMethod(isForm) {
|
|
319684
319812
|
return function httpMethod(url, data, config) {
|
|
319685
319813
|
return this.request(
|
|
@@ -319699,7 +319827,11 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
|
|
|
319699
319827
|
|
|
319700
319828
|
Axios.prototype[method] = generateHTTPMethod();
|
|
319701
319829
|
|
|
319702
|
-
|
|
319830
|
+
// QUERY is a safe/idempotent read method; multipart form bodies don't fit
|
|
319831
|
+
// its semantics, so no queryForm shorthand is generated.
|
|
319832
|
+
if (method !== 'query') {
|
|
319833
|
+
Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
|
|
319834
|
+
}
|
|
319703
319835
|
});
|
|
319704
319836
|
|
|
319705
319837
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Axios);
|
|
@@ -319707,9 +319839,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
|
|
|
319707
319839
|
|
|
319708
319840
|
/***/ }),
|
|
319709
319841
|
|
|
319710
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319842
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosError.js":
|
|
319711
319843
|
/*!***************************************************************************************************!*\
|
|
319712
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
319844
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosError.js ***!
|
|
319713
319845
|
\***************************************************************************************************/
|
|
319714
319846
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319715
319847
|
|
|
@@ -319718,10 +319850,81 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319718
319850
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319719
319851
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
319720
319852
|
/* harmony export */ });
|
|
319721
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319853
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
319854
|
+
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
319855
|
+
|
|
319856
|
+
|
|
319857
|
+
|
|
319722
319858
|
|
|
319723
319859
|
|
|
319860
|
+
const REDACTED = '[REDACTED ****]';
|
|
319724
319861
|
|
|
319862
|
+
function hasOwnOrPrototypeToJSON(source) {
|
|
319863
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(source, 'toJSON')) {
|
|
319864
|
+
return true;
|
|
319865
|
+
}
|
|
319866
|
+
|
|
319867
|
+
let prototype = Object.getPrototypeOf(source);
|
|
319868
|
+
|
|
319869
|
+
while (prototype && prototype !== Object.prototype) {
|
|
319870
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(prototype, 'toJSON')) {
|
|
319871
|
+
return true;
|
|
319872
|
+
}
|
|
319873
|
+
|
|
319874
|
+
prototype = Object.getPrototypeOf(prototype);
|
|
319875
|
+
}
|
|
319876
|
+
|
|
319877
|
+
return false;
|
|
319878
|
+
}
|
|
319879
|
+
|
|
319880
|
+
// Build a plain-object snapshot of `config` and replace the value of any key
|
|
319881
|
+
// (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays
|
|
319882
|
+
// and AxiosHeaders, and short-circuits on circular references.
|
|
319883
|
+
function redactConfig(config, redactKeys) {
|
|
319884
|
+
const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase()));
|
|
319885
|
+
const seen = [];
|
|
319886
|
+
|
|
319887
|
+
const visit = (source) => {
|
|
319888
|
+
if (source === null || typeof source !== 'object') return source;
|
|
319889
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBuffer(source)) return source;
|
|
319890
|
+
if (seen.indexOf(source) !== -1) return undefined;
|
|
319891
|
+
|
|
319892
|
+
if (source instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"]) {
|
|
319893
|
+
source = source.toJSON();
|
|
319894
|
+
}
|
|
319895
|
+
|
|
319896
|
+
seen.push(source);
|
|
319897
|
+
|
|
319898
|
+
let result;
|
|
319899
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(source)) {
|
|
319900
|
+
result = [];
|
|
319901
|
+
source.forEach((v, i) => {
|
|
319902
|
+
const reducedValue = visit(v);
|
|
319903
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(reducedValue)) {
|
|
319904
|
+
result[i] = reducedValue;
|
|
319905
|
+
}
|
|
319906
|
+
});
|
|
319907
|
+
} else {
|
|
319908
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) {
|
|
319909
|
+
seen.pop();
|
|
319910
|
+
return source;
|
|
319911
|
+
}
|
|
319912
|
+
|
|
319913
|
+
result = Object.create(null);
|
|
319914
|
+
for (const [key, value] of Object.entries(source)) {
|
|
319915
|
+
const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value);
|
|
319916
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(reducedValue)) {
|
|
319917
|
+
result[key] = reducedValue;
|
|
319918
|
+
}
|
|
319919
|
+
}
|
|
319920
|
+
}
|
|
319921
|
+
|
|
319922
|
+
seen.pop();
|
|
319923
|
+
return result;
|
|
319924
|
+
};
|
|
319925
|
+
|
|
319926
|
+
return visit(config);
|
|
319927
|
+
}
|
|
319725
319928
|
|
|
319726
319929
|
class AxiosError extends Error {
|
|
319727
319930
|
static from(error, code, config, request, response, customProps) {
|
|
@@ -319738,42 +319941,56 @@ class AxiosError extends Error {
|
|
|
319738
319941
|
return axiosError;
|
|
319739
319942
|
}
|
|
319740
319943
|
|
|
319741
|
-
|
|
319742
|
-
|
|
319743
|
-
|
|
319744
|
-
|
|
319745
|
-
|
|
319746
|
-
|
|
319747
|
-
|
|
319748
|
-
|
|
319749
|
-
|
|
319750
|
-
|
|
319751
|
-
|
|
319752
|
-
|
|
319753
|
-
|
|
319754
|
-
|
|
319755
|
-
|
|
319756
|
-
|
|
319757
|
-
|
|
319758
|
-
|
|
319759
|
-
|
|
319760
|
-
|
|
319761
|
-
|
|
319762
|
-
|
|
319763
|
-
|
|
319764
|
-
|
|
319765
|
-
|
|
319766
|
-
|
|
319767
|
-
|
|
319768
|
-
|
|
319769
|
-
|
|
319770
|
-
|
|
319771
|
-
|
|
319772
|
-
|
|
319773
|
-
|
|
319944
|
+
/**
|
|
319945
|
+
* Create an Error with the specified message, config, error code, request and response.
|
|
319946
|
+
*
|
|
319947
|
+
* @param {string} message The error message.
|
|
319948
|
+
* @param {string} [code] The error code (for example, 'ECONNABORTED').
|
|
319949
|
+
* @param {Object} [config] The config.
|
|
319950
|
+
* @param {Object} [request] The request.
|
|
319951
|
+
* @param {Object} [response] The response.
|
|
319952
|
+
*
|
|
319953
|
+
* @returns {Error} The created error.
|
|
319954
|
+
*/
|
|
319955
|
+
constructor(message, code, config, request, response) {
|
|
319956
|
+
super(message);
|
|
319957
|
+
|
|
319958
|
+
// Make message enumerable to maintain backward compatibility
|
|
319959
|
+
// The native Error constructor sets message as non-enumerable,
|
|
319960
|
+
// but axios < v1.13.3 had it as enumerable
|
|
319961
|
+
Object.defineProperty(this, 'message', {
|
|
319962
|
+
// Null-proto descriptor so a polluted Object.prototype.get cannot turn
|
|
319963
|
+
// this data descriptor into an accessor descriptor on the way in.
|
|
319964
|
+
__proto__: null,
|
|
319965
|
+
value: message,
|
|
319966
|
+
enumerable: true,
|
|
319967
|
+
writable: true,
|
|
319968
|
+
configurable: true,
|
|
319969
|
+
});
|
|
319970
|
+
|
|
319971
|
+
this.name = 'AxiosError';
|
|
319972
|
+
this.isAxiosError = true;
|
|
319973
|
+
code && (this.code = code);
|
|
319974
|
+
config && (this.config = config);
|
|
319975
|
+
request && (this.request = request);
|
|
319976
|
+
if (response) {
|
|
319977
|
+
this.response = response;
|
|
319978
|
+
this.status = response.status;
|
|
319774
319979
|
}
|
|
319980
|
+
}
|
|
319775
319981
|
|
|
319776
319982
|
toJSON() {
|
|
319983
|
+
// Opt-in redaction: when the request config carries a `redact` array, the
|
|
319984
|
+
// value of any matching key (case-insensitive, at any depth) is replaced
|
|
319985
|
+
// with REDACTED in the serialized snapshot. Undefined or empty leaves the
|
|
319986
|
+
// existing serialization behavior unchanged.
|
|
319987
|
+
const config = this.config;
|
|
319988
|
+
const redactKeys = config && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config, 'redact') ? config.redact : undefined;
|
|
319989
|
+
const serializedConfig =
|
|
319990
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(redactKeys) && redactKeys.length > 0
|
|
319991
|
+
? redactConfig(config, redactKeys)
|
|
319992
|
+
: _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(config);
|
|
319993
|
+
|
|
319777
319994
|
return {
|
|
319778
319995
|
// Standard
|
|
319779
319996
|
message: this.message,
|
|
@@ -319787,7 +320004,7 @@ class AxiosError extends Error {
|
|
|
319787
320004
|
columnNumber: this.columnNumber,
|
|
319788
320005
|
stack: this.stack,
|
|
319789
320006
|
// Axios
|
|
319790
|
-
config:
|
|
320007
|
+
config: serializedConfig,
|
|
319791
320008
|
code: this.code,
|
|
319792
320009
|
status: this.status,
|
|
319793
320010
|
};
|
|
@@ -319799,6 +320016,7 @@ AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
|
|
|
319799
320016
|
AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
|
|
319800
320017
|
AxiosError.ECONNABORTED = 'ECONNABORTED';
|
|
319801
320018
|
AxiosError.ETIMEDOUT = 'ETIMEDOUT';
|
|
320019
|
+
AxiosError.ECONNREFUSED = 'ECONNREFUSED';
|
|
319802
320020
|
AxiosError.ERR_NETWORK = 'ERR_NETWORK';
|
|
319803
320021
|
AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
|
|
319804
320022
|
AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';
|
|
@@ -319807,15 +320025,16 @@ AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
|
|
|
319807
320025
|
AxiosError.ERR_CANCELED = 'ERR_CANCELED';
|
|
319808
320026
|
AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
|
|
319809
320027
|
AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
|
|
320028
|
+
AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED';
|
|
319810
320029
|
|
|
319811
320030
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosError);
|
|
319812
320031
|
|
|
319813
320032
|
|
|
319814
320033
|
/***/ }),
|
|
319815
320034
|
|
|
319816
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320035
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosHeaders.js":
|
|
319817
320036
|
/*!*****************************************************************************************************!*\
|
|
319818
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
320037
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosHeaders.js ***!
|
|
319819
320038
|
\*****************************************************************************************************/
|
|
319820
320039
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
319821
320040
|
|
|
@@ -319824,8 +320043,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319824
320043
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
319825
320044
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
319826
320045
|
/* harmony export */ });
|
|
319827
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
319828
|
-
/* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320046
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
320047
|
+
/* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/parseHeaders.js");
|
|
319829
320048
|
|
|
319830
320049
|
|
|
319831
320050
|
|
|
@@ -319833,41 +320052,41 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
319833
320052
|
|
|
319834
320053
|
const $internals = Symbol('internals');
|
|
319835
320054
|
|
|
319836
|
-
const
|
|
320055
|
+
const INVALID_HEADER_VALUE_CHARS_RE = /[^\x09\x20-\x7E\x80-\xFF]/g;
|
|
319837
320056
|
|
|
319838
|
-
function
|
|
319839
|
-
|
|
319840
|
-
|
|
319841
|
-
}
|
|
319842
|
-
|
|
319843
|
-
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value)) {
|
|
319844
|
-
value.forEach((v) => assertValidHeaderValue(v, header));
|
|
319845
|
-
return;
|
|
319846
|
-
}
|
|
320057
|
+
function trimSPorHTAB(str) {
|
|
320058
|
+
let start = 0;
|
|
320059
|
+
let end = str.length;
|
|
319847
320060
|
|
|
319848
|
-
|
|
319849
|
-
|
|
319850
|
-
}
|
|
319851
|
-
}
|
|
320061
|
+
while (start < end) {
|
|
320062
|
+
const code = str.charCodeAt(start);
|
|
319852
320063
|
|
|
319853
|
-
|
|
319854
|
-
|
|
319855
|
-
}
|
|
320064
|
+
if (code !== 0x09 && code !== 0x20) {
|
|
320065
|
+
break;
|
|
320066
|
+
}
|
|
319856
320067
|
|
|
319857
|
-
|
|
319858
|
-
|
|
320068
|
+
start += 1;
|
|
320069
|
+
}
|
|
319859
320070
|
|
|
319860
|
-
while (end >
|
|
319861
|
-
const
|
|
320071
|
+
while (end > start) {
|
|
320072
|
+
const code = str.charCodeAt(end - 1);
|
|
319862
320073
|
|
|
319863
|
-
if (
|
|
320074
|
+
if (code !== 0x09 && code !== 0x20) {
|
|
319864
320075
|
break;
|
|
319865
320076
|
}
|
|
319866
320077
|
|
|
319867
320078
|
end -= 1;
|
|
319868
320079
|
}
|
|
319869
320080
|
|
|
319870
|
-
return end === str.length ? str : str.slice(
|
|
320081
|
+
return start === 0 && end === str.length ? str : str.slice(start, end);
|
|
320082
|
+
}
|
|
320083
|
+
|
|
320084
|
+
function normalizeHeader(header) {
|
|
320085
|
+
return header && String(header).trim().toLowerCase();
|
|
320086
|
+
}
|
|
320087
|
+
|
|
320088
|
+
function sanitizeHeaderValue(str) {
|
|
320089
|
+
return trimSPorHTAB(str.replace(INVALID_HEADER_VALUE_CHARS_RE, ''));
|
|
319871
320090
|
}
|
|
319872
320091
|
|
|
319873
320092
|
function normalizeValue(value) {
|
|
@@ -319875,7 +320094,7 @@ function normalizeValue(value) {
|
|
|
319875
320094
|
return value;
|
|
319876
320095
|
}
|
|
319877
320096
|
|
|
319878
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) ? value.map(normalizeValue) :
|
|
320097
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) ? value.map(normalizeValue) : sanitizeHeaderValue(String(value));
|
|
319879
320098
|
}
|
|
319880
320099
|
|
|
319881
320100
|
function parseTokens(str) {
|
|
@@ -319926,6 +320145,9 @@ function buildAccessors(obj, header) {
|
|
|
319926
320145
|
|
|
319927
320146
|
['get', 'set', 'has'].forEach((methodName) => {
|
|
319928
320147
|
Object.defineProperty(obj, methodName + accessorName, {
|
|
320148
|
+
// Null-proto descriptor so a polluted Object.prototype.get cannot turn
|
|
320149
|
+
// this data descriptor into an accessor descriptor on the way in.
|
|
320150
|
+
__proto__: null,
|
|
319929
320151
|
value: function (arg1, arg2, arg3) {
|
|
319930
320152
|
return this[methodName].call(this, header, arg1, arg2, arg3);
|
|
319931
320153
|
},
|
|
@@ -319957,7 +320179,6 @@ class AxiosHeaders {
|
|
|
319957
320179
|
_rewrite === true ||
|
|
319958
320180
|
(_rewrite === undefined && self[key] !== false)
|
|
319959
320181
|
) {
|
|
319960
|
-
assertValidHeaderValue(_value, _header);
|
|
319961
320182
|
self[key || _header] = normalizeValue(_value);
|
|
319962
320183
|
}
|
|
319963
320184
|
}
|
|
@@ -320208,9 +320429,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
|
|
|
320208
320429
|
|
|
320209
320430
|
/***/ }),
|
|
320210
320431
|
|
|
320211
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320432
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/InterceptorManager.js":
|
|
320212
320433
|
/*!***********************************************************************************************************!*\
|
|
320213
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
320434
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/InterceptorManager.js ***!
|
|
320214
320435
|
\***********************************************************************************************************/
|
|
320215
320436
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320216
320437
|
|
|
@@ -320219,7 +320440,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320219
320440
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320220
320441
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
320221
320442
|
/* harmony export */ });
|
|
320222
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320443
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
320223
320444
|
|
|
320224
320445
|
|
|
320225
320446
|
|
|
@@ -320296,9 +320517,9 @@ class InterceptorManager {
|
|
|
320296
320517
|
|
|
320297
320518
|
/***/ }),
|
|
320298
320519
|
|
|
320299
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320520
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/buildFullPath.js":
|
|
320300
320521
|
/*!******************************************************************************************************!*\
|
|
320301
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
320522
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/buildFullPath.js ***!
|
|
320302
320523
|
\******************************************************************************************************/
|
|
320303
320524
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320304
320525
|
|
|
@@ -320307,8 +320528,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320307
320528
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320308
320529
|
/* harmony export */ "default": () => (/* binding */ buildFullPath)
|
|
320309
320530
|
/* harmony export */ });
|
|
320310
|
-
/* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320311
|
-
/* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320531
|
+
/* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/isAbsoluteURL.js");
|
|
320532
|
+
/* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/combineURLs.js");
|
|
320312
320533
|
|
|
320313
320534
|
|
|
320314
320535
|
|
|
@@ -320326,7 +320547,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320326
320547
|
*/
|
|
320327
320548
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
320328
320549
|
let isRelativeUrl = !(0,_helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__["default"])(requestedURL);
|
|
320329
|
-
if (baseURL && (isRelativeUrl || allowAbsoluteUrls
|
|
320550
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {
|
|
320330
320551
|
return (0,_helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__["default"])(baseURL, requestedURL);
|
|
320331
320552
|
}
|
|
320332
320553
|
return requestedURL;
|
|
@@ -320335,9 +320556,9 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
320335
320556
|
|
|
320336
320557
|
/***/ }),
|
|
320337
320558
|
|
|
320338
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320559
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/dispatchRequest.js":
|
|
320339
320560
|
/*!********************************************************************************************************!*\
|
|
320340
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
320561
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/dispatchRequest.js ***!
|
|
320341
320562
|
\********************************************************************************************************/
|
|
320342
320563
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320343
320564
|
|
|
@@ -320346,12 +320567,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320346
320567
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320347
320568
|
/* harmony export */ "default": () => (/* binding */ dispatchRequest)
|
|
320348
320569
|
/* harmony export */ });
|
|
320349
|
-
/* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320350
|
-
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320351
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320352
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320353
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320354
|
-
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320570
|
+
/* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/transformData.js");
|
|
320571
|
+
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/isCancel.js");
|
|
320572
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/defaults/index.js");
|
|
320573
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/CanceledError.js");
|
|
320574
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
320575
|
+
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/adapters/adapters.js");
|
|
320355
320576
|
|
|
320356
320577
|
|
|
320357
320578
|
|
|
@@ -320403,8 +320624,15 @@ function dispatchRequest(config) {
|
|
|
320403
320624
|
function onAdapterResolution(response) {
|
|
320404
320625
|
throwIfCancellationRequested(config);
|
|
320405
320626
|
|
|
320406
|
-
//
|
|
320407
|
-
|
|
320627
|
+
// Expose the current response on config so that transformResponse can
|
|
320628
|
+
// attach it to any AxiosError it throws (e.g. on JSON parse failure).
|
|
320629
|
+
// We clean it up afterwards to avoid polluting the config object.
|
|
320630
|
+
config.response = response;
|
|
320631
|
+
try {
|
|
320632
|
+
response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(config, config.transformResponse, response);
|
|
320633
|
+
} finally {
|
|
320634
|
+
delete config.response;
|
|
320635
|
+
}
|
|
320408
320636
|
|
|
320409
320637
|
response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(response.headers);
|
|
320410
320638
|
|
|
@@ -320416,11 +320644,16 @@ function dispatchRequest(config) {
|
|
|
320416
320644
|
|
|
320417
320645
|
// Transform response data
|
|
320418
320646
|
if (reason && reason.response) {
|
|
320419
|
-
|
|
320420
|
-
|
|
320421
|
-
|
|
320422
|
-
|
|
320423
|
-
|
|
320647
|
+
config.response = reason.response;
|
|
320648
|
+
try {
|
|
320649
|
+
reason.response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(
|
|
320650
|
+
config,
|
|
320651
|
+
config.transformResponse,
|
|
320652
|
+
reason.response
|
|
320653
|
+
);
|
|
320654
|
+
} finally {
|
|
320655
|
+
delete config.response;
|
|
320656
|
+
}
|
|
320424
320657
|
reason.response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(reason.response.headers);
|
|
320425
320658
|
}
|
|
320426
320659
|
}
|
|
@@ -320433,9 +320666,9 @@ function dispatchRequest(config) {
|
|
|
320433
320666
|
|
|
320434
320667
|
/***/ }),
|
|
320435
320668
|
|
|
320436
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320669
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/mergeConfig.js":
|
|
320437
320670
|
/*!****************************************************************************************************!*\
|
|
320438
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
320671
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/mergeConfig.js ***!
|
|
320439
320672
|
\****************************************************************************************************/
|
|
320440
320673
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320441
320674
|
|
|
@@ -320444,8 +320677,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320444
320677
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320445
320678
|
/* harmony export */ "default": () => (/* binding */ mergeConfig)
|
|
320446
320679
|
/* harmony export */ });
|
|
320447
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320448
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320680
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
320681
|
+
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
320449
320682
|
|
|
320450
320683
|
|
|
320451
320684
|
|
|
@@ -320465,7 +320698,21 @@ const headersToObject = (thing) => (thing instanceof _AxiosHeaders_js__WEBPACK_I
|
|
|
320465
320698
|
function mergeConfig(config1, config2) {
|
|
320466
320699
|
// eslint-disable-next-line no-param-reassign
|
|
320467
320700
|
config2 = config2 || {};
|
|
320468
|
-
|
|
320701
|
+
|
|
320702
|
+
// Use a null-prototype object so that downstream reads such as `config.auth`
|
|
320703
|
+
// or `config.baseURL` cannot inherit polluted values from Object.prototype.
|
|
320704
|
+
// `hasOwnProperty` is restored as a non-enumerable own slot to preserve
|
|
320705
|
+
// ergonomics for user code that relies on it.
|
|
320706
|
+
const config = Object.create(null);
|
|
320707
|
+
Object.defineProperty(config, 'hasOwnProperty', {
|
|
320708
|
+
// Null-proto descriptor so a polluted Object.prototype.get cannot turn
|
|
320709
|
+
// this data descriptor into an accessor descriptor on the way in.
|
|
320710
|
+
__proto__: null,
|
|
320711
|
+
value: Object.prototype.hasOwnProperty,
|
|
320712
|
+
enumerable: false,
|
|
320713
|
+
writable: true,
|
|
320714
|
+
configurable: true,
|
|
320715
|
+
});
|
|
320469
320716
|
|
|
320470
320717
|
function getMergedValue(target, source, prop, caseless) {
|
|
320471
320718
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isPlainObject(target) && _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isPlainObject(source)) {
|
|
@@ -320504,9 +320751,9 @@ function mergeConfig(config1, config2) {
|
|
|
320504
320751
|
|
|
320505
320752
|
// eslint-disable-next-line consistent-return
|
|
320506
320753
|
function mergeDirectKeys(a, b, prop) {
|
|
320507
|
-
if (prop
|
|
320754
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(config2, prop)) {
|
|
320508
320755
|
return getMergedValue(a, b);
|
|
320509
|
-
} else if (prop
|
|
320756
|
+
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(config1, prop)) {
|
|
320510
320757
|
return getMergedValue(undefined, a);
|
|
320511
320758
|
}
|
|
320512
320759
|
}
|
|
@@ -320538,6 +320785,7 @@ function mergeConfig(config1, config2) {
|
|
|
320538
320785
|
httpsAgent: defaultToConfig2,
|
|
320539
320786
|
cancelToken: defaultToConfig2,
|
|
320540
320787
|
socketPath: defaultToConfig2,
|
|
320788
|
+
allowedSocketPaths: defaultToConfig2,
|
|
320541
320789
|
responseEncoding: defaultToConfig2,
|
|
320542
320790
|
validateStatus: mergeDirectKeys,
|
|
320543
320791
|
headers: (a, b, prop) =>
|
|
@@ -320547,7 +320795,9 @@ function mergeConfig(config1, config2) {
|
|
|
320547
320795
|
_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
320548
320796
|
if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
|
|
320549
320797
|
const merge = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
320550
|
-
const
|
|
320798
|
+
const a = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(config1, prop) ? config1[prop] : undefined;
|
|
320799
|
+
const b = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(config2, prop) ? config2[prop] : undefined;
|
|
320800
|
+
const configValue = merge(a, b, prop);
|
|
320551
320801
|
(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
|
|
320552
320802
|
});
|
|
320553
320803
|
|
|
@@ -320557,9 +320807,9 @@ function mergeConfig(config1, config2) {
|
|
|
320557
320807
|
|
|
320558
320808
|
/***/ }),
|
|
320559
320809
|
|
|
320560
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320810
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/settle.js":
|
|
320561
320811
|
/*!***********************************************************************************************!*\
|
|
320562
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
320812
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/settle.js ***!
|
|
320563
320813
|
\***********************************************************************************************/
|
|
320564
320814
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320565
320815
|
|
|
@@ -320568,7 +320818,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320568
320818
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320569
320819
|
/* harmony export */ "default": () => (/* binding */ settle)
|
|
320570
320820
|
/* harmony export */ });
|
|
320571
|
-
/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320821
|
+
/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosError.js");
|
|
320572
320822
|
|
|
320573
320823
|
|
|
320574
320824
|
|
|
@@ -320587,26 +320837,22 @@ function settle(resolve, reject, response) {
|
|
|
320587
320837
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
320588
320838
|
resolve(response);
|
|
320589
320839
|
} else {
|
|
320590
|
-
reject(
|
|
320591
|
-
|
|
320592
|
-
|
|
320593
|
-
|
|
320594
|
-
|
|
320595
|
-
|
|
320596
|
-
|
|
320597
|
-
response.request,
|
|
320598
|
-
response
|
|
320599
|
-
)
|
|
320600
|
-
);
|
|
320840
|
+
reject(new _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](
|
|
320841
|
+
'Request failed with status code ' + response.status,
|
|
320842
|
+
response.status >= 400 && response.status < 500 ? _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_REQUEST : _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_RESPONSE,
|
|
320843
|
+
response.config,
|
|
320844
|
+
response.request,
|
|
320845
|
+
response
|
|
320846
|
+
));
|
|
320601
320847
|
}
|
|
320602
320848
|
}
|
|
320603
320849
|
|
|
320604
320850
|
|
|
320605
320851
|
/***/ }),
|
|
320606
320852
|
|
|
320607
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320853
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/transformData.js":
|
|
320608
320854
|
/*!******************************************************************************************************!*\
|
|
320609
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
320855
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/transformData.js ***!
|
|
320610
320856
|
\******************************************************************************************************/
|
|
320611
320857
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320612
320858
|
|
|
@@ -320615,9 +320861,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320615
320861
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320616
320862
|
/* harmony export */ "default": () => (/* binding */ transformData)
|
|
320617
320863
|
/* harmony export */ });
|
|
320618
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320619
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320620
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320864
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
320865
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/defaults/index.js");
|
|
320866
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
320621
320867
|
|
|
320622
320868
|
|
|
320623
320869
|
|
|
@@ -320650,9 +320896,9 @@ function transformData(fns, response) {
|
|
|
320650
320896
|
|
|
320651
320897
|
/***/ }),
|
|
320652
320898
|
|
|
320653
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320899
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/defaults/index.js":
|
|
320654
320900
|
/*!**************************************************************************************************!*\
|
|
320655
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
320901
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/defaults/index.js ***!
|
|
320656
320902
|
\**************************************************************************************************/
|
|
320657
320903
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320658
320904
|
|
|
@@ -320661,13 +320907,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320661
320907
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320662
320908
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
320663
320909
|
/* harmony export */ });
|
|
320664
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320665
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320666
|
-
/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320667
|
-
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320668
|
-
/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320669
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320670
|
-
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
320910
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
320911
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosError.js");
|
|
320912
|
+
/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/defaults/transitional.js");
|
|
320913
|
+
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/toFormData.js");
|
|
320914
|
+
/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/toURLEncodedForm.js");
|
|
320915
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/index.js");
|
|
320916
|
+
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/formDataToJSON.js");
|
|
320671
320917
|
|
|
320672
320918
|
|
|
320673
320919
|
|
|
@@ -320678,6 +320924,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320678
320924
|
|
|
320679
320925
|
|
|
320680
320926
|
|
|
320927
|
+
const own = (obj, key) => (obj != null && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(obj, key) ? obj[key] : undefined);
|
|
320928
|
+
|
|
320681
320929
|
/**
|
|
320682
320930
|
* It takes a string, tries to parse it, and if it fails, it returns the stringified version
|
|
320683
320931
|
* of the input
|
|
@@ -320745,20 +320993,22 @@ const defaults = {
|
|
|
320745
320993
|
let isFileList;
|
|
320746
320994
|
|
|
320747
320995
|
if (isObjectPayload) {
|
|
320996
|
+
const formSerializer = own(this, 'formSerializer');
|
|
320748
320997
|
if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
|
|
320749
|
-
return (0,_helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__["default"])(data,
|
|
320998
|
+
return (0,_helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__["default"])(data, formSerializer).toString();
|
|
320750
320999
|
}
|
|
320751
321000
|
|
|
320752
321001
|
if (
|
|
320753
321002
|
(isFileList = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(data)) ||
|
|
320754
321003
|
contentType.indexOf('multipart/form-data') > -1
|
|
320755
321004
|
) {
|
|
320756
|
-
const
|
|
321005
|
+
const env = own(this, 'env');
|
|
321006
|
+
const _FormData = env && env.FormData;
|
|
320757
321007
|
|
|
320758
321008
|
return (0,_helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
320759
321009
|
isFileList ? { 'files[]': data } : data,
|
|
320760
321010
|
_FormData && new _FormData(),
|
|
320761
|
-
|
|
321011
|
+
formSerializer
|
|
320762
321012
|
);
|
|
320763
321013
|
}
|
|
320764
321014
|
}
|
|
@@ -320774,9 +321024,10 @@ const defaults = {
|
|
|
320774
321024
|
|
|
320775
321025
|
transformResponse: [
|
|
320776
321026
|
function transformResponse(data) {
|
|
320777
|
-
const transitional = this
|
|
321027
|
+
const transitional = own(this, 'transitional') || defaults.transitional;
|
|
320778
321028
|
const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
320779
|
-
const
|
|
321029
|
+
const responseType = own(this, 'responseType');
|
|
321030
|
+
const JSONRequested = responseType === 'json';
|
|
320780
321031
|
|
|
320781
321032
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)) {
|
|
320782
321033
|
return data;
|
|
@@ -320785,17 +321036,17 @@ const defaults = {
|
|
|
320785
321036
|
if (
|
|
320786
321037
|
data &&
|
|
320787
321038
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(data) &&
|
|
320788
|
-
((forcedJSONParsing && !
|
|
321039
|
+
((forcedJSONParsing && !responseType) || JSONRequested)
|
|
320789
321040
|
) {
|
|
320790
321041
|
const silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
320791
321042
|
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
320792
321043
|
|
|
320793
321044
|
try {
|
|
320794
|
-
return JSON.parse(data, this
|
|
321045
|
+
return JSON.parse(data, own(this, 'parseReviver'));
|
|
320795
321046
|
} catch (e) {
|
|
320796
321047
|
if (strictJSONParsing) {
|
|
320797
321048
|
if (e.name === 'SyntaxError') {
|
|
320798
|
-
throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__["default"].from(e, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__["default"].ERR_BAD_RESPONSE, this, null, this
|
|
321049
|
+
throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__["default"].from(e, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__["default"].ERR_BAD_RESPONSE, this, null, own(this, 'response'));
|
|
320799
321050
|
}
|
|
320800
321051
|
throw e;
|
|
320801
321052
|
}
|
|
@@ -320835,7 +321086,7 @@ const defaults = {
|
|
|
320835
321086
|
},
|
|
320836
321087
|
};
|
|
320837
321088
|
|
|
320838
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
|
|
321089
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => {
|
|
320839
321090
|
defaults.headers[method] = {};
|
|
320840
321091
|
});
|
|
320841
321092
|
|
|
@@ -320844,9 +321095,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
|
|
|
320844
321095
|
|
|
320845
321096
|
/***/ }),
|
|
320846
321097
|
|
|
320847
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321098
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/defaults/transitional.js":
|
|
320848
321099
|
/*!*********************************************************************************************************!*\
|
|
320849
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321100
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/defaults/transitional.js ***!
|
|
320850
321101
|
\*********************************************************************************************************/
|
|
320851
321102
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320852
321103
|
|
|
@@ -320867,9 +321118,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320867
321118
|
|
|
320868
321119
|
/***/ }),
|
|
320869
321120
|
|
|
320870
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321121
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/env/data.js":
|
|
320871
321122
|
/*!********************************************************************************************!*\
|
|
320872
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321123
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/env/data.js ***!
|
|
320873
321124
|
\********************************************************************************************/
|
|
320874
321125
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320875
321126
|
|
|
@@ -320878,13 +321129,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320878
321129
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320879
321130
|
/* harmony export */ VERSION: () => (/* binding */ VERSION)
|
|
320880
321131
|
/* harmony export */ });
|
|
320881
|
-
const VERSION = "1.
|
|
321132
|
+
const VERSION = "1.16.0";
|
|
320882
321133
|
|
|
320883
321134
|
/***/ }),
|
|
320884
321135
|
|
|
320885
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321136
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
|
|
320886
321137
|
/*!****************************************************************************************************************!*\
|
|
320887
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321138
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
|
|
320888
321139
|
\****************************************************************************************************************/
|
|
320889
321140
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320890
321141
|
|
|
@@ -320893,7 +321144,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
320893
321144
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
320894
321145
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
320895
321146
|
/* harmony export */ });
|
|
320896
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321147
|
+
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/toFormData.js");
|
|
320897
321148
|
|
|
320898
321149
|
|
|
320899
321150
|
|
|
@@ -320914,9 +321165,8 @@ function encode(str) {
|
|
|
320914
321165
|
')': '%29',
|
|
320915
321166
|
'~': '%7E',
|
|
320916
321167
|
'%20': '+',
|
|
320917
|
-
'%00': '\x00',
|
|
320918
321168
|
};
|
|
320919
|
-
return encodeURIComponent(str).replace(/[!'()~]|%20
|
|
321169
|
+
return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) {
|
|
320920
321170
|
return charMap[match];
|
|
320921
321171
|
});
|
|
320922
321172
|
}
|
|
@@ -320960,9 +321210,9 @@ prototype.toString = function toString(encoder) {
|
|
|
320960
321210
|
|
|
320961
321211
|
/***/ }),
|
|
320962
321212
|
|
|
320963
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321213
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/HttpStatusCode.js":
|
|
320964
321214
|
/*!**********************************************************************************************************!*\
|
|
320965
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321215
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
|
|
320966
321216
|
\**********************************************************************************************************/
|
|
320967
321217
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
320968
321218
|
|
|
@@ -321052,9 +321302,9 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
321052
321302
|
|
|
321053
321303
|
/***/ }),
|
|
321054
321304
|
|
|
321055
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321305
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/bind.js":
|
|
321056
321306
|
/*!************************************************************************************************!*\
|
|
321057
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321307
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/bind.js ***!
|
|
321058
321308
|
\************************************************************************************************/
|
|
321059
321309
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321060
321310
|
|
|
@@ -321081,19 +321331,20 @@ function bind(fn, thisArg) {
|
|
|
321081
321331
|
|
|
321082
321332
|
/***/ }),
|
|
321083
321333
|
|
|
321084
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321334
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/buildURL.js":
|
|
321085
321335
|
/*!****************************************************************************************************!*\
|
|
321086
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321336
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/buildURL.js ***!
|
|
321087
321337
|
\****************************************************************************************************/
|
|
321088
321338
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321089
321339
|
|
|
321090
321340
|
"use strict";
|
|
321091
321341
|
__webpack_require__.r(__webpack_exports__);
|
|
321092
321342
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321093
|
-
/* harmony export */ "default": () => (/* binding */ buildURL)
|
|
321343
|
+
/* harmony export */ "default": () => (/* binding */ buildURL),
|
|
321344
|
+
/* harmony export */ encode: () => (/* binding */ encode)
|
|
321094
321345
|
/* harmony export */ });
|
|
321095
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321096
|
-
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321346
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
321347
|
+
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
|
|
321097
321348
|
|
|
321098
321349
|
|
|
321099
321350
|
|
|
@@ -321164,9 +321415,9 @@ function buildURL(url, params, options) {
|
|
|
321164
321415
|
|
|
321165
321416
|
/***/ }),
|
|
321166
321417
|
|
|
321167
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321418
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/combineURLs.js":
|
|
321168
321419
|
/*!*******************************************************************************************************!*\
|
|
321169
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321420
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/combineURLs.js ***!
|
|
321170
321421
|
\*******************************************************************************************************/
|
|
321171
321422
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321172
321423
|
|
|
@@ -321194,9 +321445,9 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
321194
321445
|
|
|
321195
321446
|
/***/ }),
|
|
321196
321447
|
|
|
321197
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321448
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/composeSignals.js":
|
|
321198
321449
|
/*!**********************************************************************************************************!*\
|
|
321199
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321450
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/composeSignals.js ***!
|
|
321200
321451
|
\**********************************************************************************************************/
|
|
321201
321452
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321202
321453
|
|
|
@@ -321205,9 +321456,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321205
321456
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321206
321457
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
321207
321458
|
/* harmony export */ });
|
|
321208
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321209
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321210
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321459
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/cancel/CanceledError.js");
|
|
321460
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosError.js");
|
|
321461
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
321211
321462
|
|
|
321212
321463
|
|
|
321213
321464
|
|
|
@@ -321268,9 +321519,9 @@ const composeSignals = (signals, timeout) => {
|
|
|
321268
321519
|
|
|
321269
321520
|
/***/ }),
|
|
321270
321521
|
|
|
321271
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321522
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/cookies.js":
|
|
321272
321523
|
/*!***************************************************************************************************!*\
|
|
321273
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321524
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/cookies.js ***!
|
|
321274
321525
|
\***************************************************************************************************/
|
|
321275
321526
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321276
321527
|
|
|
@@ -321279,8 +321530,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321279
321530
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321280
321531
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
321281
321532
|
/* harmony export */ });
|
|
321282
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321283
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321533
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
321534
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/index.js");
|
|
321284
321535
|
|
|
321285
321536
|
|
|
321286
321537
|
|
|
@@ -321313,8 +321564,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321313
321564
|
|
|
321314
321565
|
read(name) {
|
|
321315
321566
|
if (typeof document === 'undefined') return null;
|
|
321316
|
-
|
|
321317
|
-
|
|
321567
|
+
// Match name=value by splitting on the semicolon separator instead of building a
|
|
321568
|
+
// RegExp from `name` — interpolating an unescaped string into a RegExp would let
|
|
321569
|
+
// metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or
|
|
321570
|
+
// match the wrong cookie. Browsers may serialize cookie pairs as either ";" or
|
|
321571
|
+
// "; ", so ignore optional whitespace before each cookie name.
|
|
321572
|
+
const cookies = document.cookie.split(';');
|
|
321573
|
+
for (let i = 0; i < cookies.length; i++) {
|
|
321574
|
+
const cookie = cookies[i].replace(/^\s+/, '');
|
|
321575
|
+
const eq = cookie.indexOf('=');
|
|
321576
|
+
if (eq !== -1 && cookie.slice(0, eq) === name) {
|
|
321577
|
+
return decodeURIComponent(cookie.slice(eq + 1));
|
|
321578
|
+
}
|
|
321579
|
+
}
|
|
321580
|
+
return null;
|
|
321318
321581
|
},
|
|
321319
321582
|
|
|
321320
321583
|
remove(name) {
|
|
@@ -321333,9 +321596,124 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321333
321596
|
|
|
321334
321597
|
/***/ }),
|
|
321335
321598
|
|
|
321336
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321599
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js":
|
|
321600
|
+
/*!***********************************************************************************************************************!*\
|
|
321601
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js ***!
|
|
321602
|
+
\***********************************************************************************************************************/
|
|
321603
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321604
|
+
|
|
321605
|
+
"use strict";
|
|
321606
|
+
__webpack_require__.r(__webpack_exports__);
|
|
321607
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321608
|
+
/* harmony export */ "default": () => (/* binding */ estimateDataURLDecodedBytes)
|
|
321609
|
+
/* harmony export */ });
|
|
321610
|
+
/**
|
|
321611
|
+
* Estimate decoded byte length of a data:// URL *without* allocating large buffers.
|
|
321612
|
+
* - For base64: compute exact decoded size using length and padding;
|
|
321613
|
+
* handle %XX at the character-count level (no string allocation).
|
|
321614
|
+
* - For non-base64: use UTF-8 byteLength of the encoded body as a safe upper bound.
|
|
321615
|
+
*
|
|
321616
|
+
* @param {string} url
|
|
321617
|
+
* @returns {number}
|
|
321618
|
+
*/
|
|
321619
|
+
function estimateDataURLDecodedBytes(url) {
|
|
321620
|
+
if (!url || typeof url !== 'string') return 0;
|
|
321621
|
+
if (!url.startsWith('data:')) return 0;
|
|
321622
|
+
|
|
321623
|
+
const comma = url.indexOf(',');
|
|
321624
|
+
if (comma < 0) return 0;
|
|
321625
|
+
|
|
321626
|
+
const meta = url.slice(5, comma);
|
|
321627
|
+
const body = url.slice(comma + 1);
|
|
321628
|
+
const isBase64 = /;base64/i.test(meta);
|
|
321629
|
+
|
|
321630
|
+
if (isBase64) {
|
|
321631
|
+
let effectiveLen = body.length;
|
|
321632
|
+
const len = body.length; // cache length
|
|
321633
|
+
|
|
321634
|
+
for (let i = 0; i < len; i++) {
|
|
321635
|
+
if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) {
|
|
321636
|
+
const a = body.charCodeAt(i + 1);
|
|
321637
|
+
const b = body.charCodeAt(i + 2);
|
|
321638
|
+
const isHex =
|
|
321639
|
+
((a >= 48 && a <= 57) || (a >= 65 && a <= 70) || (a >= 97 && a <= 102)) &&
|
|
321640
|
+
((b >= 48 && b <= 57) || (b >= 65 && b <= 70) || (b >= 97 && b <= 102));
|
|
321641
|
+
|
|
321642
|
+
if (isHex) {
|
|
321643
|
+
effectiveLen -= 2;
|
|
321644
|
+
i += 2;
|
|
321645
|
+
}
|
|
321646
|
+
}
|
|
321647
|
+
}
|
|
321648
|
+
|
|
321649
|
+
let pad = 0;
|
|
321650
|
+
let idx = len - 1;
|
|
321651
|
+
|
|
321652
|
+
const tailIsPct3D = (j) =>
|
|
321653
|
+
j >= 2 &&
|
|
321654
|
+
body.charCodeAt(j - 2) === 37 && // '%'
|
|
321655
|
+
body.charCodeAt(j - 1) === 51 && // '3'
|
|
321656
|
+
(body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd'
|
|
321657
|
+
|
|
321658
|
+
if (idx >= 0) {
|
|
321659
|
+
if (body.charCodeAt(idx) === 61 /* '=' */) {
|
|
321660
|
+
pad++;
|
|
321661
|
+
idx--;
|
|
321662
|
+
} else if (tailIsPct3D(idx)) {
|
|
321663
|
+
pad++;
|
|
321664
|
+
idx -= 3;
|
|
321665
|
+
}
|
|
321666
|
+
}
|
|
321667
|
+
|
|
321668
|
+
if (pad === 1 && idx >= 0) {
|
|
321669
|
+
if (body.charCodeAt(idx) === 61 /* '=' */) {
|
|
321670
|
+
pad++;
|
|
321671
|
+
} else if (tailIsPct3D(idx)) {
|
|
321672
|
+
pad++;
|
|
321673
|
+
}
|
|
321674
|
+
}
|
|
321675
|
+
|
|
321676
|
+
const groups = Math.floor(effectiveLen / 4);
|
|
321677
|
+
const bytes = groups * 3 - (pad || 0);
|
|
321678
|
+
return bytes > 0 ? bytes : 0;
|
|
321679
|
+
}
|
|
321680
|
+
|
|
321681
|
+
if (typeof Buffer !== 'undefined' && typeof Buffer.byteLength === 'function') {
|
|
321682
|
+
return Buffer.byteLength(body, 'utf8');
|
|
321683
|
+
}
|
|
321684
|
+
|
|
321685
|
+
// Compute UTF-8 byte length directly from UTF-16 code units without allocating
|
|
321686
|
+
// a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies).
|
|
321687
|
+
// Using body.length here would undercount non-ASCII (e.g. '€' is 1 code unit
|
|
321688
|
+
// but 3 UTF-8 bytes).
|
|
321689
|
+
let bytes = 0;
|
|
321690
|
+
for (let i = 0, len = body.length; i < len; i++) {
|
|
321691
|
+
const c = body.charCodeAt(i);
|
|
321692
|
+
if (c < 0x80) {
|
|
321693
|
+
bytes += 1;
|
|
321694
|
+
} else if (c < 0x800) {
|
|
321695
|
+
bytes += 2;
|
|
321696
|
+
} else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) {
|
|
321697
|
+
const next = body.charCodeAt(i + 1);
|
|
321698
|
+
if (next >= 0xdc00 && next <= 0xdfff) {
|
|
321699
|
+
bytes += 4;
|
|
321700
|
+
i++;
|
|
321701
|
+
} else {
|
|
321702
|
+
bytes += 3;
|
|
321703
|
+
}
|
|
321704
|
+
} else {
|
|
321705
|
+
bytes += 3;
|
|
321706
|
+
}
|
|
321707
|
+
}
|
|
321708
|
+
return bytes;
|
|
321709
|
+
}
|
|
321710
|
+
|
|
321711
|
+
|
|
321712
|
+
/***/ }),
|
|
321713
|
+
|
|
321714
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/formDataToJSON.js":
|
|
321337
321715
|
/*!**********************************************************************************************************!*\
|
|
321338
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321716
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/formDataToJSON.js ***!
|
|
321339
321717
|
\**********************************************************************************************************/
|
|
321340
321718
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321341
321719
|
|
|
@@ -321344,7 +321722,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321344
321722
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321345
321723
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
321346
321724
|
/* harmony export */ });
|
|
321347
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321725
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
321348
321726
|
|
|
321349
321727
|
|
|
321350
321728
|
|
|
@@ -321405,7 +321783,9 @@ function formDataToJSON(formData) {
|
|
|
321405
321783
|
|
|
321406
321784
|
if (isLast) {
|
|
321407
321785
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(target, name)) {
|
|
321408
|
-
target[name] = [target[name]
|
|
321786
|
+
target[name] = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(target[name])
|
|
321787
|
+
? target[name].concat(value)
|
|
321788
|
+
: [target[name], value];
|
|
321409
321789
|
} else {
|
|
321410
321790
|
target[name] = value;
|
|
321411
321791
|
}
|
|
@@ -321444,9 +321824,9 @@ function formDataToJSON(formData) {
|
|
|
321444
321824
|
|
|
321445
321825
|
/***/ }),
|
|
321446
321826
|
|
|
321447
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321827
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/isAbsoluteURL.js":
|
|
321448
321828
|
/*!*********************************************************************************************************!*\
|
|
321449
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321829
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
|
|
321450
321830
|
\*********************************************************************************************************/
|
|
321451
321831
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321452
321832
|
|
|
@@ -321478,9 +321858,9 @@ function isAbsoluteURL(url) {
|
|
|
321478
321858
|
|
|
321479
321859
|
/***/ }),
|
|
321480
321860
|
|
|
321481
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321861
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/isAxiosError.js":
|
|
321482
321862
|
/*!********************************************************************************************************!*\
|
|
321483
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321863
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/isAxiosError.js ***!
|
|
321484
321864
|
\********************************************************************************************************/
|
|
321485
321865
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321486
321866
|
|
|
@@ -321489,7 +321869,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321489
321869
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321490
321870
|
/* harmony export */ "default": () => (/* binding */ isAxiosError)
|
|
321491
321871
|
/* harmony export */ });
|
|
321492
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321872
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
321493
321873
|
|
|
321494
321874
|
|
|
321495
321875
|
|
|
@@ -321508,9 +321888,9 @@ function isAxiosError(payload) {
|
|
|
321508
321888
|
|
|
321509
321889
|
/***/ }),
|
|
321510
321890
|
|
|
321511
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321891
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/isURLSameOrigin.js":
|
|
321512
321892
|
/*!***********************************************************************************************************!*\
|
|
321513
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321893
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
|
|
321514
321894
|
\***********************************************************************************************************/
|
|
321515
321895
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321516
321896
|
|
|
@@ -321519,7 +321899,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321519
321899
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321520
321900
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
321521
321901
|
/* harmony export */ });
|
|
321522
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321902
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/index.js");
|
|
321523
321903
|
|
|
321524
321904
|
|
|
321525
321905
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
@@ -321540,9 +321920,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321540
321920
|
|
|
321541
321921
|
/***/ }),
|
|
321542
321922
|
|
|
321543
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321923
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/null.js":
|
|
321544
321924
|
/*!************************************************************************************************!*\
|
|
321545
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321925
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/null.js ***!
|
|
321546
321926
|
\************************************************************************************************/
|
|
321547
321927
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321548
321928
|
|
|
@@ -321557,9 +321937,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321557
321937
|
|
|
321558
321938
|
/***/ }),
|
|
321559
321939
|
|
|
321560
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321940
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/parseHeaders.js":
|
|
321561
321941
|
/*!********************************************************************************************************!*\
|
|
321562
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
321942
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/parseHeaders.js ***!
|
|
321563
321943
|
\********************************************************************************************************/
|
|
321564
321944
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321565
321945
|
|
|
@@ -321568,7 +321948,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321568
321948
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321569
321949
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
321570
321950
|
/* harmony export */ });
|
|
321571
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321951
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
321572
321952
|
|
|
321573
321953
|
|
|
321574
321954
|
|
|
@@ -321642,9 +322022,9 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
|
|
|
321642
322022
|
|
|
321643
322023
|
/***/ }),
|
|
321644
322024
|
|
|
321645
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322025
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/parseProtocol.js":
|
|
321646
322026
|
/*!*********************************************************************************************************!*\
|
|
321647
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322027
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/parseProtocol.js ***!
|
|
321648
322028
|
\*********************************************************************************************************/
|
|
321649
322029
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321650
322030
|
|
|
@@ -321656,16 +322036,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321656
322036
|
|
|
321657
322037
|
|
|
321658
322038
|
function parseProtocol(url) {
|
|
321659
|
-
const match = /^([-+\w]{1,25})(
|
|
322039
|
+
const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url);
|
|
321660
322040
|
return (match && match[1]) || '';
|
|
321661
322041
|
}
|
|
321662
322042
|
|
|
321663
322043
|
|
|
321664
322044
|
/***/ }),
|
|
321665
322045
|
|
|
321666
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322046
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/progressEventReducer.js":
|
|
321667
322047
|
/*!****************************************************************************************************************!*\
|
|
321668
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322048
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/progressEventReducer.js ***!
|
|
321669
322049
|
\****************************************************************************************************************/
|
|
321670
322050
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321671
322051
|
|
|
@@ -321676,9 +322056,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321676
322056
|
/* harmony export */ progressEventDecorator: () => (/* binding */ progressEventDecorator),
|
|
321677
322057
|
/* harmony export */ progressEventReducer: () => (/* binding */ progressEventReducer)
|
|
321678
322058
|
/* harmony export */ });
|
|
321679
|
-
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321680
|
-
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321681
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322059
|
+
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/speedometer.js");
|
|
322060
|
+
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/throttle.js");
|
|
322061
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
321682
322062
|
|
|
321683
322063
|
|
|
321684
322064
|
|
|
@@ -321688,13 +322068,13 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
321688
322068
|
const _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
|
|
321689
322069
|
|
|
321690
322070
|
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])((e) => {
|
|
321691
|
-
const
|
|
322071
|
+
const rawLoaded = e.loaded;
|
|
321692
322072
|
const total = e.lengthComputable ? e.total : undefined;
|
|
321693
|
-
const
|
|
322073
|
+
const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded;
|
|
322074
|
+
const progressBytes = Math.max(0, loaded - bytesNotified);
|
|
321694
322075
|
const rate = _speedometer(progressBytes);
|
|
321695
|
-
const inRange = loaded <= total;
|
|
321696
322076
|
|
|
321697
|
-
bytesNotified = loaded;
|
|
322077
|
+
bytesNotified = Math.max(bytesNotified, loaded);
|
|
321698
322078
|
|
|
321699
322079
|
const data = {
|
|
321700
322080
|
loaded,
|
|
@@ -321702,7 +322082,7 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
321702
322082
|
progress: total ? loaded / total : undefined,
|
|
321703
322083
|
bytes: progressBytes,
|
|
321704
322084
|
rate: rate ? rate : undefined,
|
|
321705
|
-
estimated: rate && total
|
|
322085
|
+
estimated: rate && total ? (total - loaded) / rate : undefined,
|
|
321706
322086
|
event: e,
|
|
321707
322087
|
lengthComputable: total != null,
|
|
321708
322088
|
[isDownloadStream ? 'download' : 'upload']: true,
|
|
@@ -321734,9 +322114,9 @@ const asyncDecorator =
|
|
|
321734
322114
|
|
|
321735
322115
|
/***/ }),
|
|
321736
322116
|
|
|
321737
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322117
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/resolveConfig.js":
|
|
321738
322118
|
/*!*********************************************************************************************************!*\
|
|
321739
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322119
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/resolveConfig.js ***!
|
|
321740
322120
|
\*********************************************************************************************************/
|
|
321741
322121
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321742
322122
|
|
|
@@ -321745,14 +322125,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321745
322125
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
321746
322126
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
321747
322127
|
/* harmony export */ });
|
|
321748
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321749
|
-
/* harmony import */ var
|
|
321750
|
-
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321751
|
-
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321752
|
-
/* harmony import */ var
|
|
321753
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
321754
|
-
/* harmony import */ var
|
|
321755
|
-
/* harmony import */ var
|
|
322128
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/index.js");
|
|
322129
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
322130
|
+
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/isURLSameOrigin.js");
|
|
322131
|
+
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/cookies.js");
|
|
322132
|
+
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/buildFullPath.js");
|
|
322133
|
+
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/mergeConfig.js");
|
|
322134
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
322135
|
+
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/buildURL.js");
|
|
321756
322136
|
|
|
321757
322137
|
|
|
321758
322138
|
|
|
@@ -321762,15 +322142,55 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321762
322142
|
|
|
321763
322143
|
|
|
321764
322144
|
|
|
322145
|
+
const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length'];
|
|
322146
|
+
|
|
322147
|
+
function setFormDataHeaders(headers, formHeaders, policy) {
|
|
322148
|
+
if (policy !== 'content-only') {
|
|
322149
|
+
headers.set(formHeaders);
|
|
322150
|
+
return;
|
|
322151
|
+
}
|
|
322152
|
+
|
|
322153
|
+
Object.entries(formHeaders).forEach(([key, val]) => {
|
|
322154
|
+
if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {
|
|
322155
|
+
headers.set(key, val);
|
|
322156
|
+
}
|
|
322157
|
+
});
|
|
322158
|
+
}
|
|
322159
|
+
|
|
322160
|
+
/**
|
|
322161
|
+
* Encode a UTF-8 string to a Latin-1 byte string for use with btoa().
|
|
322162
|
+
* This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.
|
|
322163
|
+
*
|
|
322164
|
+
* @param {string} str The string to encode
|
|
322165
|
+
*
|
|
322166
|
+
* @returns {string} UTF-8 bytes as a Latin-1 string
|
|
322167
|
+
*/
|
|
322168
|
+
const encodeUTF8 = (str) =>
|
|
322169
|
+
encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>
|
|
322170
|
+
String.fromCharCode(parseInt(hex, 16))
|
|
322171
|
+
);
|
|
322172
|
+
|
|
321765
322173
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((config) => {
|
|
321766
322174
|
const newConfig = (0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__["default"])({}, config);
|
|
321767
322175
|
|
|
321768
|
-
|
|
322176
|
+
// Read only own properties to prevent prototype pollution gadgets
|
|
322177
|
+
// (e.g. Object.prototype.baseURL = 'https://evil.com').
|
|
322178
|
+
const own = (key) => (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(newConfig, key) ? newConfig[key] : undefined);
|
|
322179
|
+
|
|
322180
|
+
const data = own('data');
|
|
322181
|
+
let withXSRFToken = own('withXSRFToken');
|
|
322182
|
+
const xsrfHeaderName = own('xsrfHeaderName');
|
|
322183
|
+
const xsrfCookieName = own('xsrfCookieName');
|
|
322184
|
+
let headers = own('headers');
|
|
322185
|
+
const auth = own('auth');
|
|
322186
|
+
const baseURL = own('baseURL');
|
|
322187
|
+
const allowAbsoluteUrls = own('allowAbsoluteUrls');
|
|
322188
|
+
const url = own('url');
|
|
321769
322189
|
|
|
321770
|
-
newConfig.headers = headers =
|
|
322190
|
+
newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(headers);
|
|
321771
322191
|
|
|
321772
|
-
newConfig.url = (0,
|
|
321773
|
-
(0,
|
|
322192
|
+
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
322193
|
+
(0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_4__["default"])(baseURL, url, allowAbsoluteUrls),
|
|
321774
322194
|
config.params,
|
|
321775
322195
|
config.paramsSerializer
|
|
321776
322196
|
);
|
|
@@ -321780,27 +322200,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321780
322200
|
headers.set(
|
|
321781
322201
|
'Authorization',
|
|
321782
322202
|
'Basic ' +
|
|
321783
|
-
btoa(
|
|
321784
|
-
(auth.username || '') +
|
|
321785
|
-
':' +
|
|
321786
|
-
(auth.password ? unescape(encodeURIComponent(auth.password)) : '')
|
|
321787
|
-
)
|
|
322203
|
+
btoa((auth.username || '') + ':' + (auth.password ? encodeUTF8(auth.password) : ''))
|
|
321788
322204
|
);
|
|
321789
322205
|
}
|
|
321790
322206
|
|
|
321791
|
-
if (
|
|
322207
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFormData(data)) {
|
|
321792
322208
|
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].hasStandardBrowserWebWorkerEnv) {
|
|
321793
322209
|
headers.setContentType(undefined); // browser handles it
|
|
321794
|
-
} else if (
|
|
322210
|
+
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFunction(data.getHeaders)) {
|
|
321795
322211
|
// Node.js FormData (like form-data package)
|
|
321796
|
-
|
|
321797
|
-
// Only set safe headers to avoid overwriting security headers
|
|
321798
|
-
const allowedHeaders = ['content-type', 'content-length'];
|
|
321799
|
-
Object.entries(formHeaders).forEach(([key, val]) => {
|
|
321800
|
-
if (allowedHeaders.includes(key.toLowerCase())) {
|
|
321801
|
-
headers.set(key, val);
|
|
321802
|
-
}
|
|
321803
|
-
});
|
|
322212
|
+
setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy'));
|
|
321804
322213
|
}
|
|
321805
322214
|
}
|
|
321806
322215
|
|
|
@@ -321809,10 +322218,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321809
322218
|
// Specifically not if we're in a web worker, or react-native.
|
|
321810
322219
|
|
|
321811
322220
|
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_5__["default"].hasStandardBrowserEnv) {
|
|
321812
|
-
|
|
322221
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFunction(withXSRFToken)) {
|
|
322222
|
+
withXSRFToken = withXSRFToken(newConfig);
|
|
322223
|
+
}
|
|
321813
322224
|
|
|
321814
|
-
|
|
321815
|
-
|
|
322225
|
+
// Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1)
|
|
322226
|
+
// and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking
|
|
322227
|
+
// the XSRF token cross-origin.
|
|
322228
|
+
const shouldSendXSRF =
|
|
322229
|
+
withXSRFToken === true || (withXSRFToken == null && (0,_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__["default"])(newConfig.url));
|
|
322230
|
+
|
|
322231
|
+
if (shouldSendXSRF) {
|
|
321816
322232
|
const xsrfValue = xsrfHeaderName && xsrfCookieName && _cookies_js__WEBPACK_IMPORTED_MODULE_7__["default"].read(xsrfCookieName);
|
|
321817
322233
|
|
|
321818
322234
|
if (xsrfValue) {
|
|
@@ -321827,9 +322243,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
321827
322243
|
|
|
321828
322244
|
/***/ }),
|
|
321829
322245
|
|
|
321830
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322246
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/speedometer.js":
|
|
321831
322247
|
/*!*******************************************************************************************************!*\
|
|
321832
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322248
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/speedometer.js ***!
|
|
321833
322249
|
\*******************************************************************************************************/
|
|
321834
322250
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321835
322251
|
|
|
@@ -321897,9 +322313,9 @@ function speedometer(samplesCount, min) {
|
|
|
321897
322313
|
|
|
321898
322314
|
/***/ }),
|
|
321899
322315
|
|
|
321900
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322316
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/spread.js":
|
|
321901
322317
|
/*!**************************************************************************************************!*\
|
|
321902
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322318
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/spread.js ***!
|
|
321903
322319
|
\**************************************************************************************************/
|
|
321904
322320
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321905
322321
|
|
|
@@ -321940,9 +322356,9 @@ function spread(callback) {
|
|
|
321940
322356
|
|
|
321941
322357
|
/***/ }),
|
|
321942
322358
|
|
|
321943
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322359
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/throttle.js":
|
|
321944
322360
|
/*!****************************************************************************************************!*\
|
|
321945
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322361
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/throttle.js ***!
|
|
321946
322362
|
\****************************************************************************************************/
|
|
321947
322363
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
321948
322364
|
|
|
@@ -321999,9 +322415,9 @@ function throttle(fn, freq) {
|
|
|
321999
322415
|
|
|
322000
322416
|
/***/ }),
|
|
322001
322417
|
|
|
322002
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322418
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/toFormData.js":
|
|
322003
322419
|
/*!******************************************************************************************************!*\
|
|
322004
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322420
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/toFormData.js ***!
|
|
322005
322421
|
\******************************************************************************************************/
|
|
322006
322422
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322007
322423
|
|
|
@@ -322010,9 +322426,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322010
322426
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322011
322427
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
322012
322428
|
/* harmony export */ });
|
|
322013
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322014
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322015
|
-
/* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322429
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
322430
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosError.js");
|
|
322431
|
+
/* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/null.js");
|
|
322016
322432
|
|
|
322017
322433
|
|
|
322018
322434
|
|
|
@@ -322130,6 +322546,7 @@ function toFormData(obj, formData, options) {
|
|
|
322130
322546
|
const dots = options.dots;
|
|
322131
322547
|
const indexes = options.indexes;
|
|
322132
322548
|
const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
|
|
322549
|
+
const maxDepth = options.maxDepth === undefined ? 100 : options.maxDepth;
|
|
322133
322550
|
const useBlob = _Blob && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isSpecCompliantForm(formData);
|
|
322134
322551
|
|
|
322135
322552
|
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(visitor)) {
|
|
@@ -322222,9 +322639,16 @@ function toFormData(obj, formData, options) {
|
|
|
322222
322639
|
isVisitable,
|
|
322223
322640
|
});
|
|
322224
322641
|
|
|
322225
|
-
function build(value, path) {
|
|
322642
|
+
function build(value, path, depth = 0) {
|
|
322226
322643
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(value)) return;
|
|
322227
322644
|
|
|
322645
|
+
if (depth > maxDepth) {
|
|
322646
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
322647
|
+
'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth,
|
|
322648
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_FORM_DATA_DEPTH_EXCEEDED
|
|
322649
|
+
);
|
|
322650
|
+
}
|
|
322651
|
+
|
|
322228
322652
|
if (stack.indexOf(value) !== -1) {
|
|
322229
322653
|
throw Error('Circular reference detected in ' + path.join('.'));
|
|
322230
322654
|
}
|
|
@@ -322237,7 +322661,7 @@ function toFormData(obj, formData, options) {
|
|
|
322237
322661
|
visitor.call(formData, el, _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(key) ? key.trim() : key, path, exposedHelpers);
|
|
322238
322662
|
|
|
322239
322663
|
if (result === true) {
|
|
322240
|
-
build(el, path ? path.concat(key) : [key]);
|
|
322664
|
+
build(el, path ? path.concat(key) : [key], depth + 1);
|
|
322241
322665
|
}
|
|
322242
322666
|
});
|
|
322243
322667
|
|
|
@@ -322258,9 +322682,9 @@ function toFormData(obj, formData, options) {
|
|
|
322258
322682
|
|
|
322259
322683
|
/***/ }),
|
|
322260
322684
|
|
|
322261
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322685
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/toURLEncodedForm.js":
|
|
322262
322686
|
/*!************************************************************************************************************!*\
|
|
322263
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322687
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
|
|
322264
322688
|
\************************************************************************************************************/
|
|
322265
322689
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322266
322690
|
|
|
@@ -322269,9 +322693,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322269
322693
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322270
322694
|
/* harmony export */ "default": () => (/* binding */ toURLEncodedForm)
|
|
322271
322695
|
/* harmony export */ });
|
|
322272
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322273
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322274
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322696
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js");
|
|
322697
|
+
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/toFormData.js");
|
|
322698
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/index.js");
|
|
322275
322699
|
|
|
322276
322700
|
|
|
322277
322701
|
|
|
@@ -322295,9 +322719,9 @@ function toURLEncodedForm(data, options) {
|
|
|
322295
322719
|
|
|
322296
322720
|
/***/ }),
|
|
322297
322721
|
|
|
322298
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322722
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/trackStream.js":
|
|
322299
322723
|
/*!*******************************************************************************************************!*\
|
|
322300
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322724
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/trackStream.js ***!
|
|
322301
322725
|
\*******************************************************************************************************/
|
|
322302
322726
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322303
322727
|
|
|
@@ -322401,9 +322825,9 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
322401
322825
|
|
|
322402
322826
|
/***/ }),
|
|
322403
322827
|
|
|
322404
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322828
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/validator.js":
|
|
322405
322829
|
/*!*****************************************************************************************************!*\
|
|
322406
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322830
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/validator.js ***!
|
|
322407
322831
|
\*****************************************************************************************************/
|
|
322408
322832
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322409
322833
|
|
|
@@ -322412,8 +322836,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322412
322836
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322413
322837
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
322414
322838
|
/* harmony export */ });
|
|
322415
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322416
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322839
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/env/data.js");
|
|
322840
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/core/AxiosError.js");
|
|
322417
322841
|
|
|
322418
322842
|
|
|
322419
322843
|
|
|
@@ -322502,7 +322926,9 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
322502
322926
|
let i = keys.length;
|
|
322503
322927
|
while (i-- > 0) {
|
|
322504
322928
|
const opt = keys[i];
|
|
322505
|
-
|
|
322929
|
+
// Use hasOwnProperty so a polluted Object.prototype.<opt> cannot supply
|
|
322930
|
+
// a non-function validator and cause a TypeError.
|
|
322931
|
+
const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined;
|
|
322506
322932
|
if (validator) {
|
|
322507
322933
|
const value = options[opt];
|
|
322508
322934
|
const result = value === undefined || validator(value, opt, options);
|
|
@@ -322528,9 +322954,9 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
322528
322954
|
|
|
322529
322955
|
/***/ }),
|
|
322530
322956
|
|
|
322531
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322957
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/browser/classes/Blob.js":
|
|
322532
322958
|
/*!*****************************************************************************************************************!*\
|
|
322533
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322959
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
|
|
322534
322960
|
\*****************************************************************************************************************/
|
|
322535
322961
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322536
322962
|
|
|
@@ -322546,9 +322972,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322546
322972
|
|
|
322547
322973
|
/***/ }),
|
|
322548
322974
|
|
|
322549
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322975
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/browser/classes/FormData.js":
|
|
322550
322976
|
/*!*********************************************************************************************************************!*\
|
|
322551
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322977
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
|
|
322552
322978
|
\*********************************************************************************************************************/
|
|
322553
322979
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322554
322980
|
|
|
@@ -322564,9 +322990,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322564
322990
|
|
|
322565
322991
|
/***/ }),
|
|
322566
322992
|
|
|
322567
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322993
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
|
|
322568
322994
|
/*!****************************************************************************************************************************!*\
|
|
322569
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
322995
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
|
|
322570
322996
|
\****************************************************************************************************************************/
|
|
322571
322997
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322572
322998
|
|
|
@@ -322575,7 +323001,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322575
323001
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322576
323002
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
322577
323003
|
/* harmony export */ });
|
|
322578
|
-
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
323004
|
+
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
|
|
322579
323005
|
|
|
322580
323006
|
|
|
322581
323007
|
|
|
@@ -322584,9 +323010,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322584
323010
|
|
|
322585
323011
|
/***/ }),
|
|
322586
323012
|
|
|
322587
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
323013
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/browser/index.js":
|
|
322588
323014
|
/*!**********************************************************************************************************!*\
|
|
322589
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
323015
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/browser/index.js ***!
|
|
322590
323016
|
\**********************************************************************************************************/
|
|
322591
323017
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322592
323018
|
|
|
@@ -322595,9 +323021,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322595
323021
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322596
323022
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
322597
323023
|
/* harmony export */ });
|
|
322598
|
-
/* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322599
|
-
/* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322600
|
-
/* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
323024
|
+
/* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js");
|
|
323025
|
+
/* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/browser/classes/FormData.js");
|
|
323026
|
+
/* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/browser/classes/Blob.js");
|
|
322601
323027
|
|
|
322602
323028
|
|
|
322603
323029
|
|
|
@@ -322615,9 +323041,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322615
323041
|
|
|
322616
323042
|
/***/ }),
|
|
322617
323043
|
|
|
322618
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
323044
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/common/utils.js":
|
|
322619
323045
|
/*!*********************************************************************************************************!*\
|
|
322620
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
323046
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/common/utils.js ***!
|
|
322621
323047
|
\*********************************************************************************************************/
|
|
322622
323048
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322623
323049
|
|
|
@@ -322680,9 +323106,9 @@ const origin = (hasBrowserEnv && window.location.href) || 'http://localhost';
|
|
|
322680
323106
|
|
|
322681
323107
|
/***/ }),
|
|
322682
323108
|
|
|
322683
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
323109
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/index.js":
|
|
322684
323110
|
/*!**************************************************************************************************!*\
|
|
322685
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
323111
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/index.js ***!
|
|
322686
323112
|
\**************************************************************************************************/
|
|
322687
323113
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322688
323114
|
|
|
@@ -322691,8 +323117,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322691
323117
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322692
323118
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
322693
323119
|
/* harmony export */ });
|
|
322694
|
-
/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
322695
|
-
/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
323120
|
+
/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/browser/index.js");
|
|
323121
|
+
/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/platform/common/utils.js");
|
|
322696
323122
|
|
|
322697
323123
|
|
|
322698
323124
|
|
|
@@ -322704,9 +323130,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322704
323130
|
|
|
322705
323131
|
/***/ }),
|
|
322706
323132
|
|
|
322707
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
323133
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js":
|
|
322708
323134
|
/*!*****************************************************************************************!*\
|
|
322709
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.
|
|
323135
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/utils.js ***!
|
|
322710
323136
|
\*****************************************************************************************/
|
|
322711
323137
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
322712
323138
|
|
|
@@ -322715,7 +323141,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
322715
323141
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
322716
323142
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
322717
323143
|
/* harmony export */ });
|
|
322718
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.
|
|
323144
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.16.0/node_modules/axios/lib/helpers/bind.js");
|
|
322719
323145
|
|
|
322720
323146
|
|
|
322721
323147
|
|
|
@@ -322910,21 +323336,21 @@ const isFile = kindOfTest('File');
|
|
|
322910
323336
|
* also have a `name` and `type` attribute to specify filename and content type
|
|
322911
323337
|
*
|
|
322912
323338
|
* @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
|
|
322913
|
-
*
|
|
323339
|
+
*
|
|
322914
323340
|
* @param {*} value The value to test
|
|
322915
|
-
*
|
|
323341
|
+
*
|
|
322916
323342
|
* @returns {boolean} True if value is a React Native Blob, otherwise false
|
|
322917
323343
|
*/
|
|
322918
323344
|
const isReactNativeBlob = (value) => {
|
|
322919
323345
|
return !!(value && typeof value.uri !== 'undefined');
|
|
322920
|
-
}
|
|
323346
|
+
};
|
|
322921
323347
|
|
|
322922
323348
|
/**
|
|
322923
323349
|
* Determine if environment is React Native
|
|
322924
323350
|
* ReactNative `FormData` has a non-standard `getParts()` method
|
|
322925
|
-
*
|
|
323351
|
+
*
|
|
322926
323352
|
* @param {*} formData The formData to test
|
|
322927
|
-
*
|
|
323353
|
+
*
|
|
322928
323354
|
* @returns {boolean} True if environment is React Native, otherwise false
|
|
322929
323355
|
*/
|
|
322930
323356
|
const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';
|
|
@@ -322943,7 +323369,7 @@ const isBlob = kindOfTest('Blob');
|
|
|
322943
323369
|
*
|
|
322944
323370
|
* @param {*} val The value to test
|
|
322945
323371
|
*
|
|
322946
|
-
* @returns {boolean} True if value is a
|
|
323372
|
+
* @returns {boolean} True if value is a FileList, otherwise false
|
|
322947
323373
|
*/
|
|
322948
323374
|
const isFileList = kindOfTest('FileList');
|
|
322949
323375
|
|
|
@@ -322975,15 +323401,17 @@ const G = getGlobal();
|
|
|
322975
323401
|
const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
|
|
322976
323402
|
|
|
322977
323403
|
const isFormData = (thing) => {
|
|
322978
|
-
|
|
322979
|
-
|
|
322980
|
-
|
|
322981
|
-
|
|
322982
|
-
|
|
322983
|
-
|
|
322984
|
-
|
|
322985
|
-
|
|
322986
|
-
|
|
323404
|
+
if (!thing) return false;
|
|
323405
|
+
if (FormDataCtor && thing instanceof FormDataCtor) return true;
|
|
323406
|
+
// Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData.
|
|
323407
|
+
const proto = getPrototypeOf(thing);
|
|
323408
|
+
if (!proto || proto === Object.prototype) return false;
|
|
323409
|
+
if (!isFunction(thing.append)) return false;
|
|
323410
|
+
const kind = kindOf(thing);
|
|
323411
|
+
return (
|
|
323412
|
+
kind === 'formdata' ||
|
|
323413
|
+
// detect form-data instance
|
|
323414
|
+
(kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
|
|
322987
323415
|
);
|
|
322988
323416
|
};
|
|
322989
323417
|
|
|
@@ -323119,7 +323547,7 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
|
|
|
323119
323547
|
*
|
|
323120
323548
|
* @returns {Object} Result of all merge properties
|
|
323121
323549
|
*/
|
|
323122
|
-
function merge(
|
|
323550
|
+
function merge(...objs) {
|
|
323123
323551
|
const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};
|
|
323124
323552
|
const result = {};
|
|
323125
323553
|
const assignValue = (val, key) => {
|
|
@@ -323129,8 +323557,12 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
323129
323557
|
}
|
|
323130
323558
|
|
|
323131
323559
|
const targetKey = (caseless && findKey(result, key)) || key;
|
|
323132
|
-
|
|
323133
|
-
|
|
323560
|
+
// Read via own-prop only — a bare `result[targetKey]` walks the prototype
|
|
323561
|
+
// chain, so a polluted Object.prototype value could surface here and get
|
|
323562
|
+
// copied into the merged result.
|
|
323563
|
+
const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined;
|
|
323564
|
+
if (isPlainObject(existing) && isPlainObject(val)) {
|
|
323565
|
+
result[targetKey] = merge(existing, val);
|
|
323134
323566
|
} else if (isPlainObject(val)) {
|
|
323135
323567
|
result[targetKey] = merge({}, val);
|
|
323136
323568
|
} else if (isArray(val)) {
|
|
@@ -323140,8 +323572,8 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
323140
323572
|
}
|
|
323141
323573
|
};
|
|
323142
323574
|
|
|
323143
|
-
for (let i = 0, l =
|
|
323144
|
-
|
|
323575
|
+
for (let i = 0, l = objs.length; i < l; i++) {
|
|
323576
|
+
objs[i] && forEach(objs[i], assignValue);
|
|
323145
323577
|
}
|
|
323146
323578
|
return result;
|
|
323147
323579
|
}
|
|
@@ -323163,6 +323595,9 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
|
323163
323595
|
(val, key) => {
|
|
323164
323596
|
if (thisArg && isFunction(val)) {
|
|
323165
323597
|
Object.defineProperty(a, key, {
|
|
323598
|
+
// Null-proto descriptor so a polluted Object.prototype.get cannot
|
|
323599
|
+
// hijack defineProperty's accessor-vs-data resolution.
|
|
323600
|
+
__proto__: null,
|
|
323166
323601
|
value: (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__["default"])(val, thisArg),
|
|
323167
323602
|
writable: true,
|
|
323168
323603
|
enumerable: true,
|
|
@@ -323170,6 +323605,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
|
323170
323605
|
});
|
|
323171
323606
|
} else {
|
|
323172
323607
|
Object.defineProperty(a, key, {
|
|
323608
|
+
__proto__: null,
|
|
323173
323609
|
value: val,
|
|
323174
323610
|
writable: true,
|
|
323175
323611
|
enumerable: true,
|
|
@@ -323208,12 +323644,14 @@ const stripBOM = (content) => {
|
|
|
323208
323644
|
const inherits = (constructor, superConstructor, props, descriptors) => {
|
|
323209
323645
|
constructor.prototype = Object.create(superConstructor.prototype, descriptors);
|
|
323210
323646
|
Object.defineProperty(constructor.prototype, 'constructor', {
|
|
323647
|
+
__proto__: null,
|
|
323211
323648
|
value: constructor,
|
|
323212
323649
|
writable: true,
|
|
323213
323650
|
enumerable: false,
|
|
323214
323651
|
configurable: true,
|
|
323215
323652
|
});
|
|
323216
323653
|
Object.defineProperty(constructor, 'super', {
|
|
323654
|
+
__proto__: null,
|
|
323217
323655
|
value: superConstructor.prototype,
|
|
323218
323656
|
});
|
|
323219
323657
|
props && Object.assign(constructor.prototype, props);
|
|
@@ -323395,7 +323833,7 @@ const reduceDescriptors = (obj, reducer) => {
|
|
|
323395
323833
|
const freezeMethods = (obj) => {
|
|
323396
323834
|
reduceDescriptors(obj, (descriptor, name) => {
|
|
323397
323835
|
// skip restricted props in strict mode
|
|
323398
|
-
if (isFunction(obj) && ['arguments', 'caller', 'callee'].
|
|
323836
|
+
if (isFunction(obj) && ['arguments', 'caller', 'callee'].includes(name)) {
|
|
323399
323837
|
return false;
|
|
323400
323838
|
}
|
|
323401
323839
|
|
|
@@ -326913,7 +327351,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
326913
327351
|
/***/ ((module) => {
|
|
326914
327352
|
|
|
326915
327353
|
"use strict";
|
|
326916
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.9.
|
|
327354
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.9.2","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts && npm run -s extract","extract":"betools extract --fileExt=ts --extractFrom=./src/test/example-code --recursive --out=../../generated-docs/extract","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@bentley/aec-units-schema":"^1.0.3","@bentley/formats-schema":"^1.0.0","@bentley/units-schema":"^1.0.9","@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"^6.0.0","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"~4.3.4","@loaders.gl/draco":"~4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
326917
327355
|
|
|
326918
327356
|
/***/ })
|
|
326919
327357
|
|