@itwin/ecschema-rpcinterface-tests 5.7.0-dev.15 → 5.7.0-dev.17
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 +1410 -1046
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_3_4__loaders_gl_core_4_3_4_node_modu-4c1fc9.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.13.
|
|
788
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/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.13.
|
|
890
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/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.13.
|
|
4438
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js");
|
|
4439
4439
|
|
|
4440
4440
|
class BaseClient {
|
|
4441
4441
|
constructor(url) {
|
|
@@ -22736,30 +22736,58 @@ class Logger {
|
|
|
22736
22736
|
const minLevel = Logger.getLevel(category);
|
|
22737
22737
|
return (minLevel !== undefined) && (level >= minLevel);
|
|
22738
22738
|
}
|
|
22739
|
-
|
|
22740
|
-
|
|
22741
|
-
|
|
22742
|
-
|
|
22743
|
-
|
|
22744
|
-
|
|
22745
|
-
|
|
22746
|
-
|
|
22739
|
+
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
|
22740
|
+
static logError(category, messageOrError, metaData) {
|
|
22741
|
+
if (Logger._logError && Logger.isEnabled(category, LogLevel.Error)) {
|
|
22742
|
+
if (typeof messageOrError === "string") {
|
|
22743
|
+
Logger._logError(category, messageOrError, metaData);
|
|
22744
|
+
}
|
|
22745
|
+
else if (_BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.isError(messageOrError)) {
|
|
22746
|
+
// For backwards compatibility, log BentleyError old way
|
|
22747
|
+
Logger._logError(category, Logger.getExceptionMessage(messageOrError), () => ({ ..._BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorMetadata(messageOrError), exceptionType: messageOrError?.constructor?.name ?? "<Unknown>", ..._BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getMetaData(metaData) }));
|
|
22748
|
+
}
|
|
22749
|
+
else {
|
|
22750
|
+
// Else, return a copy of the error, with non-enumerable members `message` and `stack` removed, as "metadata" for log.
|
|
22751
|
+
Logger._logError(category, Logger.getExceptionMessage(messageOrError), Logger.getExceptionMetaData(messageOrError, metaData));
|
|
22752
|
+
}
|
|
22753
|
+
}
|
|
22747
22754
|
}
|
|
22748
|
-
|
|
22749
|
-
|
|
22750
|
-
|
|
22755
|
+
/**
|
|
22756
|
+
* Get a sting message for a given error.
|
|
22757
|
+
* For legacy [[BentleyError]] exceptions, this will include the error message and, optionally, the call stack.
|
|
22758
|
+
* For other exceptions, this will include the stringified version of the error.
|
|
22759
|
+
* @param error The error to get the message for
|
|
22760
|
+
* @returns A string message for the error
|
|
22761
|
+
*/
|
|
22762
|
+
static getExceptionMessage(error) {
|
|
22763
|
+
if (error === undefined) {
|
|
22764
|
+
return "Error: error is undefined.";
|
|
22751
22765
|
}
|
|
22752
|
-
if (
|
|
22753
|
-
return "Error:
|
|
22766
|
+
if (error === null) {
|
|
22767
|
+
return "Error: error is null.";
|
|
22768
|
+
}
|
|
22769
|
+
const stack = Logger.logExceptionCallstacks ? `\n${_BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorStack(error)}` : "";
|
|
22770
|
+
return _BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorMessage(error) + stack;
|
|
22771
|
+
}
|
|
22772
|
+
/**
|
|
22773
|
+
* Merged passed metaData with error properties into one LoggingMetaData, with the passed metaData taking precedence in case of conflict.
|
|
22774
|
+
* @param error The error to be logged as metadata
|
|
22775
|
+
* @param metaData Optional metadata to be merged with the error
|
|
22776
|
+
* @returns A function returning the merged metadata
|
|
22777
|
+
*/
|
|
22778
|
+
static getExceptionMetaData(error, metaData) {
|
|
22779
|
+
const exceptionType = error?.constructor?.name ?? "<Unknown>";
|
|
22780
|
+
if (metaData === undefined) {
|
|
22781
|
+
return () => ({ exceptionType, ...error });
|
|
22754
22782
|
}
|
|
22755
|
-
|
|
22756
|
-
return _BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getErrorMessage(err) + stack;
|
|
22783
|
+
return () => ({ exceptionType, ...error, ..._BentleyError__WEBPACK_IMPORTED_MODULE_1__.BentleyError.getMetaData(metaData) });
|
|
22757
22784
|
}
|
|
22758
22785
|
/** Log the specified exception.
|
|
22759
22786
|
* For legacy [[BentleyError]] exceptions, the special "exceptionType" property will be added as metadata. Otherwise, all enumerable members of the exception are logged as metadata.
|
|
22760
22787
|
* @param category The category of the message.
|
|
22761
22788
|
* @param err The exception object.
|
|
22762
22789
|
* @param log The logger output function to use - defaults to Logger.logError
|
|
22790
|
+
* @deprecated in 5.6. Use logError(category, error, metaData) instead, which will log exceptions in the same way but is more flexible and easier to use.
|
|
22763
22791
|
*/
|
|
22764
22792
|
static logException(category, err, log = (_category, message, metaData) => Logger.logError(_category, message, metaData)) {
|
|
22765
22793
|
log(category, Logger.getExceptionMessage(err), () => {
|
|
@@ -25136,7 +25164,7 @@ class UnexpectedErrors {
|
|
|
25136
25164
|
/** handler for logging exception to console */
|
|
25137
25165
|
static consoleLog = (e) => console.error(e); // eslint-disable-line no-console
|
|
25138
25166
|
/** handler for logging exception with [[Logger]] */
|
|
25139
|
-
static errorLog = (e) => _Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.
|
|
25167
|
+
static errorLog = (e) => _Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.logError("unhandled", e);
|
|
25140
25168
|
static _telemetry = [];
|
|
25141
25169
|
static _handler = this.errorLog; // default to error logging
|
|
25142
25170
|
constructor() { } // this is a singleton
|
|
@@ -29792,6 +29820,8 @@ class OverridesMap extends Map {
|
|
|
29792
29820
|
_overrideFromProps;
|
|
29793
29821
|
// This is required for mock framework used by ui libraries, which otherwise try to clone this as a standard Map.
|
|
29794
29822
|
get [Symbol.toStringTag]() { return "OverridesMap"; }
|
|
29823
|
+
/** Maps Id64String to its index in the JSON props array, avoiding O(n) scans in set/delete. */
|
|
29824
|
+
#indexById = new Map();
|
|
29795
29825
|
constructor(_json, _arrayKey, _event, _idFromProps, _overrideToProps, _overrideFromProps) {
|
|
29796
29826
|
super();
|
|
29797
29827
|
this._json = _json;
|
|
@@ -29815,10 +29845,21 @@ class OverridesMap extends Map {
|
|
|
29815
29845
|
this._event.raiseEvent(id, undefined);
|
|
29816
29846
|
if (!super.delete(id))
|
|
29817
29847
|
return false;
|
|
29818
|
-
const
|
|
29819
|
-
|
|
29820
|
-
|
|
29821
|
-
|
|
29848
|
+
const array = this._array;
|
|
29849
|
+
const index = this.#indexById.get(id);
|
|
29850
|
+
if (array && undefined !== index) {
|
|
29851
|
+
const lastIndex = array.length - 1;
|
|
29852
|
+
if (index < lastIndex) {
|
|
29853
|
+
// Swap the last element into the removed slot to avoid O(n) splice + index fixup.
|
|
29854
|
+
const lastProps = array[lastIndex];
|
|
29855
|
+
array[index] = lastProps;
|
|
29856
|
+
const lastId = this._idFromProps(lastProps);
|
|
29857
|
+
if (undefined !== lastId) {
|
|
29858
|
+
this.#indexById.set(lastId, index);
|
|
29859
|
+
}
|
|
29860
|
+
}
|
|
29861
|
+
array.length = lastIndex;
|
|
29862
|
+
this.#indexById.delete(id);
|
|
29822
29863
|
}
|
|
29823
29864
|
return true;
|
|
29824
29865
|
}
|
|
@@ -29829,13 +29870,15 @@ class OverridesMap extends Map {
|
|
|
29829
29870
|
}
|
|
29830
29871
|
populate() {
|
|
29831
29872
|
super.clear();
|
|
29873
|
+
this.#indexById.clear();
|
|
29832
29874
|
const ovrs = this._array;
|
|
29833
29875
|
if (!ovrs)
|
|
29834
29876
|
return;
|
|
29835
|
-
for (
|
|
29836
|
-
const id = this._idFromProps(
|
|
29877
|
+
for (let i = 0; i < ovrs.length; i++) {
|
|
29878
|
+
const id = this._idFromProps(ovrs[i]);
|
|
29837
29879
|
if (undefined !== id && _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.isValidId64(id)) {
|
|
29838
|
-
|
|
29880
|
+
this.#indexById.set(id, i);
|
|
29881
|
+
const ovr = this._overrideFromProps(ovrs[i]);
|
|
29839
29882
|
if (ovr)
|
|
29840
29883
|
super.set(id, ovr);
|
|
29841
29884
|
}
|
|
@@ -29845,22 +29888,16 @@ class OverridesMap extends Map {
|
|
|
29845
29888
|
return _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asArray(this._json[this._arrayKey]);
|
|
29846
29889
|
}
|
|
29847
29890
|
findOrAllocateIndex(id) {
|
|
29848
|
-
const
|
|
29849
|
-
if (undefined !==
|
|
29850
|
-
return
|
|
29891
|
+
const existing = this.#indexById.get(id);
|
|
29892
|
+
if (undefined !== existing) {
|
|
29893
|
+
return existing;
|
|
29894
|
+
}
|
|
29851
29895
|
let ovrs = this._array;
|
|
29852
29896
|
if (!ovrs)
|
|
29853
29897
|
ovrs = this._json[this._arrayKey] = [];
|
|
29854
|
-
|
|
29855
|
-
|
|
29856
|
-
|
|
29857
|
-
const ovrs = this._array;
|
|
29858
|
-
if (!ovrs)
|
|
29859
|
-
return undefined;
|
|
29860
|
-
for (let i = 0; i < ovrs.length; i++)
|
|
29861
|
-
if (this._idFromProps(ovrs[i]) === id)
|
|
29862
|
-
return i;
|
|
29863
|
-
return undefined;
|
|
29898
|
+
const newIndex = ovrs.length;
|
|
29899
|
+
this.#indexById.set(id, newIndex);
|
|
29900
|
+
return newIndex;
|
|
29864
29901
|
}
|
|
29865
29902
|
}
|
|
29866
29903
|
/** Provides access to the settings defined by a [[DisplayStyle]] or [[DisplayStyleState]], and ensures that
|
|
@@ -87105,7 +87142,7 @@ class CoordinateConverter {
|
|
|
87105
87142
|
this._cache.set(requests[j], results[j]);
|
|
87106
87143
|
}
|
|
87107
87144
|
}).catch((err) => {
|
|
87108
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.
|
|
87145
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(`${_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_2__.FrontendLoggerCategory.Package}.geoservices`, err);
|
|
87109
87146
|
});
|
|
87110
87147
|
promises.push(promise);
|
|
87111
87148
|
}
|
|
@@ -149547,7 +149584,7 @@ async function getDecoder() {
|
|
|
149547
149584
|
instance.exports.__wasm_call_ctors();
|
|
149548
149585
|
}
|
|
149549
149586
|
catch (err) {
|
|
149550
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.
|
|
149587
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.FrontendLoggerCategory.Render, err);
|
|
149551
149588
|
return undefined;
|
|
149552
149589
|
}
|
|
149553
149590
|
function unpack(data) {
|
|
@@ -150356,7 +150393,7 @@ async function decodeDracoPointCloud(buf) {
|
|
|
150356
150393
|
}
|
|
150357
150394
|
catch (err) {
|
|
150358
150395
|
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_3__.FrontendLoggerCategory.Render, "Failed to decode draco-encoded point cloud");
|
|
150359
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.
|
|
150396
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_3__.FrontendLoggerCategory.Render, err);
|
|
150360
150397
|
return undefined;
|
|
150361
150398
|
}
|
|
150362
150399
|
}
|
|
@@ -152091,17 +152128,38 @@ class RealityTileLoader {
|
|
|
152091
152128
|
}
|
|
152092
152129
|
async loadGeometryFromStream(tile, streamBuffer, system) {
|
|
152093
152130
|
const format = this._getFormat(streamBuffer);
|
|
152094
|
-
if (format !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.B3dm)
|
|
152131
|
+
if (format !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.B3dm && format !== _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf) {
|
|
152095
152132
|
return {};
|
|
152133
|
+
}
|
|
152096
152134
|
const { is3d, yAxisUp, iModel, modelId } = tile.realityRoot;
|
|
152097
|
-
|
|
152098
|
-
|
|
152099
|
-
reader.defaultWrapMode = _common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_6__.GltfWrapMode.ClampToEdge;
|
|
152135
|
+
let reader;
|
|
152136
|
+
// Create final transform from tree's iModelTransform and transformToRoot
|
|
152100
152137
|
let transform = tile.tree.iModelTransform;
|
|
152101
152138
|
if (tile.transformToRoot) {
|
|
152102
152139
|
transform = transform.multiplyTransformTransform(tile.transformToRoot);
|
|
152103
152140
|
}
|
|
152104
|
-
|
|
152141
|
+
switch (format) {
|
|
152142
|
+
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf:
|
|
152143
|
+
const props = createReaderPropsWithBaseUrl(streamBuffer, yAxisUp, tile.tree.baseUrl);
|
|
152144
|
+
if (props) {
|
|
152145
|
+
reader = new _tile_internal__WEBPACK_IMPORTED_MODULE_7__.GltfGraphicsReader(props, {
|
|
152146
|
+
iModel,
|
|
152147
|
+
gltf: props.glTF,
|
|
152148
|
+
contentRange: tile.contentRange,
|
|
152149
|
+
transform: tile.transformToRoot,
|
|
152150
|
+
hasChildren: !tile.isLeaf,
|
|
152151
|
+
pickableOptions: { id: modelId },
|
|
152152
|
+
idMap: this.getBatchIdMap()
|
|
152153
|
+
});
|
|
152154
|
+
}
|
|
152155
|
+
break;
|
|
152156
|
+
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.B3dm:
|
|
152157
|
+
reader = _tile_internal__WEBPACK_IMPORTED_MODULE_7__.B3dmReader.create(streamBuffer, iModel, modelId, is3d, tile.contentRange, system, yAxisUp, tile.isLeaf, tile.center, tile.transformToRoot, undefined, this.getBatchIdMap());
|
|
152158
|
+
if (reader)
|
|
152159
|
+
reader.defaultWrapMode = _common_gltf_GltfSchema__WEBPACK_IMPORTED_MODULE_6__.GltfWrapMode.ClampToEdge;
|
|
152160
|
+
break;
|
|
152161
|
+
}
|
|
152162
|
+
const geom = await reader?.readGltfAndCreateGeometry(transform);
|
|
152105
152163
|
// See RealityTileTree.reprojectAndResolveChildren for how reprojectionTransform is calculated
|
|
152106
152164
|
const xForm = tile.reprojectionTransform;
|
|
152107
152165
|
if (tile.tree.reprojectGeometry && geom?.polyfaces && xForm) {
|
|
@@ -161050,7 +161108,7 @@ class GltfReaderProps {
|
|
|
161050
161108
|
}
|
|
161051
161109
|
/** The GltfMeshData contains the raw GLTF mesh data. If the data is suitable to create a [[RealityMesh]] directly, basically in the quantized format produced by
|
|
161052
161110
|
* ContextCapture, then a RealityMesh is created directly from this data. Otherwise, the mesh primitive is populated from the raw data and a MeshPrimitive
|
|
161053
|
-
* is generated. The
|
|
161111
|
+
* is generated. The MeshPrimitive path is much less efficient but should be rarely used.
|
|
161054
161112
|
*
|
|
161055
161113
|
* @internal
|
|
161056
161114
|
*/
|
|
@@ -161337,7 +161395,8 @@ class GltfReader {
|
|
|
161337
161395
|
}),
|
|
161338
161396
|
};
|
|
161339
161397
|
}
|
|
161340
|
-
readGltfAndCreateGeometry(transformToRoot, needNormals = false, needParams = false) {
|
|
161398
|
+
async readGltfAndCreateGeometry(transformToRoot, needNormals = false, needParams = false) {
|
|
161399
|
+
await this.resolveResources();
|
|
161341
161400
|
const transformStack = new TransformStack(this.getTileTransform(transformToRoot));
|
|
161342
161401
|
const polyfaces = [];
|
|
161343
161402
|
for (const nodeKey of this._sceneNodes) {
|
|
@@ -161572,9 +161631,18 @@ class GltfReader {
|
|
|
161572
161631
|
}
|
|
161573
161632
|
}
|
|
161574
161633
|
polyfaceFromGltfMesh(mesh, transform, needNormals, needParams) {
|
|
161575
|
-
if (
|
|
161634
|
+
if (mesh.pointQParams && mesh.points && mesh.indices)
|
|
161635
|
+
return this.polyfaceFromQuantizedData(mesh.pointQParams, mesh.points, mesh.indices, mesh.normals, mesh.uvQParams, mesh.uvs, transform, needNormals, needParams);
|
|
161636
|
+
const meshPrim = mesh.primitive;
|
|
161637
|
+
const triangles = meshPrim.triangles;
|
|
161638
|
+
const points = meshPrim.points;
|
|
161639
|
+
if (!triangles || triangles.isEmpty || points.length === 0)
|
|
161576
161640
|
return undefined;
|
|
161577
|
-
|
|
161641
|
+
// This will likely only be the case for Draco-compressed meshes-- see where readDracoMeshPrimitive is called within readMeshPrimitive
|
|
161642
|
+
// That is the only case where mesh.primitive is populated but mesh.pointQParams, mesh.points, & mesh.indices are not
|
|
161643
|
+
return this.polyfaceFromMeshPrimitive(triangles, points, meshPrim.normals, meshPrim.uvParams, transform, needNormals, needParams);
|
|
161644
|
+
}
|
|
161645
|
+
polyfaceFromQuantizedData(pointQParams, points, indices, normals, uvQParams, uvs, transform, needNormals, needParams) {
|
|
161578
161646
|
const includeNormals = needNormals && undefined !== normals;
|
|
161579
161647
|
const includeParams = needParams && undefined !== uvQParams && undefined !== uvs;
|
|
161580
161648
|
const polyface = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.IndexedPolyface.create(includeNormals, includeParams);
|
|
@@ -161602,6 +161670,46 @@ class GltfReader {
|
|
|
161602
161670
|
}
|
|
161603
161671
|
return polyface;
|
|
161604
161672
|
}
|
|
161673
|
+
polyfaceFromMeshPrimitive(triangles, points, normals, uvParams, transform, needNormals, needParams) {
|
|
161674
|
+
const includeNormals = needNormals && normals.length > 0;
|
|
161675
|
+
const includeParams = needParams && uvParams.length > 0;
|
|
161676
|
+
const polyface = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.IndexedPolyface.create(includeNormals, includeParams);
|
|
161677
|
+
if (points instanceof _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.QPoint3dList) {
|
|
161678
|
+
for (let i = 0; i < points.length; i++) {
|
|
161679
|
+
const point = points.unquantize(i);
|
|
161680
|
+
if (transform)
|
|
161681
|
+
transform.multiplyPoint3d(point, point);
|
|
161682
|
+
polyface.addPoint(point);
|
|
161683
|
+
}
|
|
161684
|
+
}
|
|
161685
|
+
else {
|
|
161686
|
+
const center = points.range.center;
|
|
161687
|
+
for (const pt of points) {
|
|
161688
|
+
const point = pt.plus(center);
|
|
161689
|
+
if (transform)
|
|
161690
|
+
transform.multiplyPoint3d(point, point);
|
|
161691
|
+
polyface.addPoint(point);
|
|
161692
|
+
}
|
|
161693
|
+
}
|
|
161694
|
+
if (includeNormals)
|
|
161695
|
+
for (const normal of normals)
|
|
161696
|
+
polyface.addNormal(_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.OctEncodedNormal.decodeValue(normal.value));
|
|
161697
|
+
if (includeParams)
|
|
161698
|
+
for (const uv of uvParams)
|
|
161699
|
+
polyface.addParam(uv);
|
|
161700
|
+
const indices = triangles.indices;
|
|
161701
|
+
let j = 0;
|
|
161702
|
+
for (const index of indices) {
|
|
161703
|
+
polyface.addPointIndex(index);
|
|
161704
|
+
if (includeNormals)
|
|
161705
|
+
polyface.addNormalIndex(index);
|
|
161706
|
+
if (includeParams)
|
|
161707
|
+
polyface.addParamIndex(index);
|
|
161708
|
+
if (0 === (++j % 3))
|
|
161709
|
+
polyface.terminateFacet();
|
|
161710
|
+
}
|
|
161711
|
+
return polyface;
|
|
161712
|
+
}
|
|
161605
161713
|
// ###TODO what is the actual type of `json`?
|
|
161606
161714
|
getBufferView(json, accessorName) {
|
|
161607
161715
|
try {
|
|
@@ -162644,7 +162752,7 @@ class GltfReader {
|
|
|
162644
162752
|
}
|
|
162645
162753
|
catch (err) {
|
|
162646
162754
|
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_9__.FrontendLoggerCategory.Render, "Failed to decode draco-encoded glTF mesh");
|
|
162647
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.
|
|
162755
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_9__.FrontendLoggerCategory.Render, err);
|
|
162648
162756
|
}
|
|
162649
162757
|
}
|
|
162650
162758
|
async _resolveResources() {
|
|
@@ -313109,9 +313217,9 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
313109
313217
|
|
|
313110
313218
|
/***/ }),
|
|
313111
313219
|
|
|
313112
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313220
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/index.js":
|
|
313113
313221
|
/*!*************************************************************************************!*\
|
|
313114
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313222
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/index.js ***!
|
|
313115
313223
|
\*************************************************************************************/
|
|
313116
313224
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313117
313225
|
|
|
@@ -313136,7 +313244,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313136
313244
|
/* harmony export */ spread: () => (/* binding */ spread),
|
|
313137
313245
|
/* harmony export */ toFormData: () => (/* binding */ toFormData)
|
|
313138
313246
|
/* harmony export */ });
|
|
313139
|
-
/* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313247
|
+
/* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js");
|
|
313140
313248
|
|
|
313141
313249
|
|
|
313142
313250
|
// This module is intended to unwrap Axios default export as named.
|
|
@@ -313158,7 +313266,7 @@ const {
|
|
|
313158
313266
|
HttpStatusCode,
|
|
313159
313267
|
formToJSON,
|
|
313160
313268
|
getAdapter,
|
|
313161
|
-
mergeConfig
|
|
313269
|
+
mergeConfig,
|
|
313162
313270
|
} = _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
313163
313271
|
|
|
313164
313272
|
|
|
@@ -313166,9 +313274,9 @@ const {
|
|
|
313166
313274
|
|
|
313167
313275
|
/***/ }),
|
|
313168
313276
|
|
|
313169
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313277
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js":
|
|
313170
313278
|
/*!*****************************************************************************************************!*\
|
|
313171
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313279
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js ***!
|
|
313172
313280
|
\*****************************************************************************************************/
|
|
313173
313281
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313174
313282
|
|
|
@@ -313177,11 +313285,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313177
313285
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313178
313286
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313179
313287
|
/* harmony export */ });
|
|
313180
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313181
|
-
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313182
|
-
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313183
|
-
/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313184
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313288
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
313289
|
+
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/null.js");
|
|
313290
|
+
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/xhr.js");
|
|
313291
|
+
/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/fetch.js");
|
|
313292
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
313185
313293
|
|
|
313186
313294
|
|
|
313187
313295
|
|
|
@@ -313194,7 +313302,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313194
313302
|
* - `http` for Node.js
|
|
313195
313303
|
* - `xhr` for browsers
|
|
313196
313304
|
* - `fetch` for fetch API-based requests
|
|
313197
|
-
*
|
|
313305
|
+
*
|
|
313198
313306
|
* @type {Object<string, Function|Object>}
|
|
313199
313307
|
*/
|
|
313200
313308
|
const knownAdapters = {
|
|
@@ -313202,7 +313310,7 @@ const knownAdapters = {
|
|
|
313202
313310
|
xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
313203
313311
|
fetch: {
|
|
313204
313312
|
get: _fetch_js__WEBPACK_IMPORTED_MODULE_2__.getFetch,
|
|
313205
|
-
}
|
|
313313
|
+
},
|
|
313206
313314
|
};
|
|
313207
313315
|
|
|
313208
313316
|
// Assign adapter names for easier debugging and identification
|
|
@@ -313219,7 +313327,7 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(knownAdapters, (fn, va
|
|
|
313219
313327
|
|
|
313220
313328
|
/**
|
|
313221
313329
|
* Render a rejection reason string for unknown or unsupported adapters
|
|
313222
|
-
*
|
|
313330
|
+
*
|
|
313223
313331
|
* @param {string} reason
|
|
313224
313332
|
* @returns {string}
|
|
313225
313333
|
*/
|
|
@@ -313227,17 +313335,18 @@ const renderReason = (reason) => `- ${reason}`;
|
|
|
313227
313335
|
|
|
313228
313336
|
/**
|
|
313229
313337
|
* Check if the adapter is resolved (function, null, or false)
|
|
313230
|
-
*
|
|
313338
|
+
*
|
|
313231
313339
|
* @param {Function|null|false} adapter
|
|
313232
313340
|
* @returns {boolean}
|
|
313233
313341
|
*/
|
|
313234
|
-
const isResolvedHandle = (adapter) =>
|
|
313342
|
+
const isResolvedHandle = (adapter) =>
|
|
313343
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(adapter) || adapter === null || adapter === false;
|
|
313235
313344
|
|
|
313236
313345
|
/**
|
|
313237
313346
|
* Get the first suitable adapter from the provided list.
|
|
313238
313347
|
* Tries each adapter in order until a supported one is found.
|
|
313239
313348
|
* Throws an AxiosError if no adapter is suitable.
|
|
313240
|
-
*
|
|
313349
|
+
*
|
|
313241
313350
|
* @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
|
|
313242
313351
|
* @param {Object} config - Axios request configuration
|
|
313243
313352
|
* @throws {AxiosError} If no suitable adapter is available
|
|
@@ -313274,14 +313383,17 @@ function getAdapter(adapters, config) {
|
|
|
313274
313383
|
}
|
|
313275
313384
|
|
|
313276
313385
|
if (!adapter) {
|
|
313277
|
-
const reasons = Object.entries(rejectedReasons)
|
|
313278
|
-
|
|
313386
|
+
const reasons = Object.entries(rejectedReasons).map(
|
|
313387
|
+
([id, state]) =>
|
|
313388
|
+
`adapter ${id} ` +
|
|
313279
313389
|
(state === false ? 'is not supported by the environment' : 'is not available in the build')
|
|
313280
|
-
|
|
313390
|
+
);
|
|
313281
313391
|
|
|
313282
|
-
let s = length
|
|
313283
|
-
|
|
313284
|
-
|
|
313392
|
+
let s = length
|
|
313393
|
+
? reasons.length > 1
|
|
313394
|
+
? 'since :\n' + reasons.map(renderReason).join('\n')
|
|
313395
|
+
: ' ' + renderReason(reasons[0])
|
|
313396
|
+
: 'as no adapter specified';
|
|
313285
313397
|
|
|
313286
313398
|
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__["default"](
|
|
313287
313399
|
`There is no suitable adapter to dispatch the request ` + s,
|
|
@@ -313306,15 +313418,15 @@ function getAdapter(adapters, config) {
|
|
|
313306
313418
|
* Exposes all known adapters
|
|
313307
313419
|
* @type {Object<string, Function|Object>}
|
|
313308
313420
|
*/
|
|
313309
|
-
adapters: knownAdapters
|
|
313421
|
+
adapters: knownAdapters,
|
|
313310
313422
|
});
|
|
313311
313423
|
|
|
313312
313424
|
|
|
313313
313425
|
/***/ }),
|
|
313314
313426
|
|
|
313315
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313427
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/fetch.js":
|
|
313316
313428
|
/*!**************************************************************************************************!*\
|
|
313317
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313429
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/fetch.js ***!
|
|
313318
313430
|
\**************************************************************************************************/
|
|
313319
313431
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313320
313432
|
|
|
@@ -313324,15 +313436,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313324
313436
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
313325
313437
|
/* harmony export */ getFetch: () => (/* binding */ getFetch)
|
|
313326
313438
|
/* harmony export */ });
|
|
313327
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313328
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313329
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313330
|
-
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313331
|
-
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313332
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313333
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313334
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313335
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313439
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
313440
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
313441
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
313442
|
+
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js");
|
|
313443
|
+
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/trackStream.js");
|
|
313444
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
313445
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
313446
|
+
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js");
|
|
313447
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js");
|
|
313336
313448
|
|
|
313337
313449
|
|
|
313338
313450
|
|
|
@@ -313345,31 +313457,33 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313345
313457
|
|
|
313346
313458
|
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
313347
313459
|
|
|
313348
|
-
const {isFunction} = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
313460
|
+
const { isFunction } = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"];
|
|
313349
313461
|
|
|
313350
|
-
const globalFetchAPI = (({Request, Response}) => ({
|
|
313351
|
-
Request,
|
|
313462
|
+
const globalFetchAPI = (({ Request, Response }) => ({
|
|
313463
|
+
Request,
|
|
313464
|
+
Response,
|
|
313352
313465
|
}))(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global);
|
|
313353
313466
|
|
|
313354
|
-
const {
|
|
313355
|
-
ReadableStream, TextEncoder
|
|
313356
|
-
} = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global;
|
|
313357
|
-
|
|
313467
|
+
const { ReadableStream, TextEncoder } = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].global;
|
|
313358
313468
|
|
|
313359
313469
|
const test = (fn, ...args) => {
|
|
313360
313470
|
try {
|
|
313361
313471
|
return !!fn(...args);
|
|
313362
313472
|
} catch (e) {
|
|
313363
|
-
return false
|
|
313473
|
+
return false;
|
|
313364
313474
|
}
|
|
313365
|
-
}
|
|
313475
|
+
};
|
|
313366
313476
|
|
|
313367
313477
|
const factory = (env) => {
|
|
313368
|
-
env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call(
|
|
313369
|
-
|
|
313370
|
-
|
|
313478
|
+
env = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge.call(
|
|
313479
|
+
{
|
|
313480
|
+
skipUndefined: true,
|
|
313481
|
+
},
|
|
313482
|
+
globalFetchAPI,
|
|
313483
|
+
env
|
|
313484
|
+
);
|
|
313371
313485
|
|
|
313372
|
-
const {fetch: envFetch, Request, Response} = env;
|
|
313486
|
+
const { fetch: envFetch, Request, Response } = env;
|
|
313373
313487
|
const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';
|
|
313374
313488
|
const isRequestSupported = isFunction(Request);
|
|
313375
313489
|
const isResponseSupported = isFunction(Response);
|
|
@@ -313380,46 +313494,61 @@ const factory = (env) => {
|
|
|
313380
313494
|
|
|
313381
313495
|
const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream);
|
|
313382
313496
|
|
|
313383
|
-
const encodeText =
|
|
313384
|
-
|
|
313385
|
-
|
|
313386
|
-
|
|
313387
|
-
|
|
313388
|
-
|
|
313389
|
-
|
|
313390
|
-
|
|
313391
|
-
|
|
313392
|
-
|
|
313393
|
-
|
|
313394
|
-
|
|
313395
|
-
|
|
313396
|
-
|
|
313397
|
-
|
|
313398
|
-
|
|
313497
|
+
const encodeText =
|
|
313498
|
+
isFetchSupported &&
|
|
313499
|
+
(typeof TextEncoder === 'function'
|
|
313500
|
+
? (
|
|
313501
|
+
(encoder) => (str) =>
|
|
313502
|
+
encoder.encode(str)
|
|
313503
|
+
)(new TextEncoder())
|
|
313504
|
+
: async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
|
|
313505
|
+
|
|
313506
|
+
const supportsRequestStream =
|
|
313507
|
+
isRequestSupported &&
|
|
313508
|
+
isReadableStreamSupported &&
|
|
313509
|
+
test(() => {
|
|
313510
|
+
let duplexAccessed = false;
|
|
313511
|
+
|
|
313512
|
+
const hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].origin, {
|
|
313513
|
+
body: new ReadableStream(),
|
|
313514
|
+
method: 'POST',
|
|
313515
|
+
get duplex() {
|
|
313516
|
+
duplexAccessed = true;
|
|
313517
|
+
return 'half';
|
|
313518
|
+
},
|
|
313519
|
+
}).headers.has('Content-Type');
|
|
313399
313520
|
|
|
313400
|
-
|
|
313401
|
-
|
|
313521
|
+
return duplexAccessed && !hasContentType;
|
|
313522
|
+
});
|
|
313402
313523
|
|
|
313403
|
-
const supportsResponseStream =
|
|
313524
|
+
const supportsResponseStream =
|
|
313525
|
+
isResponseSupported &&
|
|
313526
|
+
isReadableStreamSupported &&
|
|
313404
313527
|
test(() => _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(new Response('').body));
|
|
313405
313528
|
|
|
313406
313529
|
const resolvers = {
|
|
313407
|
-
stream: supportsResponseStream && ((res) => res.body)
|
|
313530
|
+
stream: supportsResponseStream && ((res) => res.body),
|
|
313408
313531
|
};
|
|
313409
313532
|
|
|
313410
|
-
isFetchSupported &&
|
|
313411
|
-
|
|
313412
|
-
|
|
313413
|
-
|
|
313533
|
+
isFetchSupported &&
|
|
313534
|
+
(() => {
|
|
313535
|
+
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {
|
|
313536
|
+
!resolvers[type] &&
|
|
313537
|
+
(resolvers[type] = (res, config) => {
|
|
313538
|
+
let method = res && res[type];
|
|
313414
313539
|
|
|
313415
|
-
|
|
313416
|
-
|
|
313417
|
-
|
|
313540
|
+
if (method) {
|
|
313541
|
+
return method.call(res);
|
|
313542
|
+
}
|
|
313418
313543
|
|
|
313419
|
-
|
|
313420
|
-
|
|
313421
|
-
|
|
313422
|
-
|
|
313544
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
313545
|
+
`Response type '${type}' is not supported`,
|
|
313546
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NOT_SUPPORT,
|
|
313547
|
+
config
|
|
313548
|
+
);
|
|
313549
|
+
});
|
|
313550
|
+
});
|
|
313551
|
+
})();
|
|
313423
313552
|
|
|
313424
313553
|
const getBodyLength = async (body) => {
|
|
313425
313554
|
if (body == null) {
|
|
@@ -313449,13 +313578,13 @@ const factory = (env) => {
|
|
|
313449
313578
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(body)) {
|
|
313450
313579
|
return (await encodeText(body)).byteLength;
|
|
313451
313580
|
}
|
|
313452
|
-
}
|
|
313581
|
+
};
|
|
313453
313582
|
|
|
313454
313583
|
const resolveBodyLength = async (headers, body) => {
|
|
313455
313584
|
const length = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFiniteNumber(headers.getContentLength());
|
|
313456
313585
|
|
|
313457
313586
|
return length == null ? getBodyLength(body) : length;
|
|
313458
|
-
}
|
|
313587
|
+
};
|
|
313459
313588
|
|
|
313460
313589
|
return async (config) => {
|
|
313461
313590
|
let {
|
|
@@ -313470,38 +313599,47 @@ const factory = (env) => {
|
|
|
313470
313599
|
responseType,
|
|
313471
313600
|
headers,
|
|
313472
313601
|
withCredentials = 'same-origin',
|
|
313473
|
-
fetchOptions
|
|
313602
|
+
fetchOptions,
|
|
313474
313603
|
} = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"])(config);
|
|
313475
313604
|
|
|
313476
313605
|
let _fetch = envFetch || fetch;
|
|
313477
313606
|
|
|
313478
313607
|
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
313479
313608
|
|
|
313480
|
-
let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
313609
|
+
let composedSignal = (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
313610
|
+
[signal, cancelToken && cancelToken.toAbortSignal()],
|
|
313611
|
+
timeout
|
|
313612
|
+
);
|
|
313481
313613
|
|
|
313482
313614
|
let request = null;
|
|
313483
313615
|
|
|
313484
|
-
const unsubscribe =
|
|
313485
|
-
composedSignal
|
|
313486
|
-
|
|
313616
|
+
const unsubscribe =
|
|
313617
|
+
composedSignal &&
|
|
313618
|
+
composedSignal.unsubscribe &&
|
|
313619
|
+
(() => {
|
|
313620
|
+
composedSignal.unsubscribe();
|
|
313621
|
+
});
|
|
313487
313622
|
|
|
313488
313623
|
let requestContentLength;
|
|
313489
313624
|
|
|
313490
313625
|
try {
|
|
313491
313626
|
if (
|
|
313492
|
-
onUploadProgress &&
|
|
313627
|
+
onUploadProgress &&
|
|
313628
|
+
supportsRequestStream &&
|
|
313629
|
+
method !== 'get' &&
|
|
313630
|
+
method !== 'head' &&
|
|
313493
313631
|
(requestContentLength = await resolveBodyLength(headers, data)) !== 0
|
|
313494
313632
|
) {
|
|
313495
313633
|
let _request = new Request(url, {
|
|
313496
313634
|
method: 'POST',
|
|
313497
313635
|
body: data,
|
|
313498
|
-
duplex:
|
|
313636
|
+
duplex: 'half',
|
|
313499
313637
|
});
|
|
313500
313638
|
|
|
313501
313639
|
let contentTypeHeader;
|
|
313502
313640
|
|
|
313503
313641
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
|
|
313504
|
-
headers.setContentType(contentTypeHeader)
|
|
313642
|
+
headers.setContentType(contentTypeHeader);
|
|
313505
313643
|
}
|
|
313506
313644
|
|
|
313507
313645
|
if (_request.body) {
|
|
@@ -313520,7 +313658,7 @@ const factory = (env) => {
|
|
|
313520
313658
|
|
|
313521
313659
|
// Cloudflare Workers throws when credentials are defined
|
|
313522
313660
|
// see https://github.com/cloudflare/workerd/issues/902
|
|
313523
|
-
const isCredentialsSupported = isRequestSupported &&
|
|
313661
|
+
const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
|
|
313524
313662
|
|
|
313525
313663
|
const resolvedOptions = {
|
|
313526
313664
|
...fetchOptions,
|
|
@@ -313528,29 +313666,35 @@ const factory = (env) => {
|
|
|
313528
313666
|
method: method.toUpperCase(),
|
|
313529
313667
|
headers: headers.normalize().toJSON(),
|
|
313530
313668
|
body: data,
|
|
313531
|
-
duplex:
|
|
313532
|
-
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
313669
|
+
duplex: 'half',
|
|
313670
|
+
credentials: isCredentialsSupported ? withCredentials : undefined,
|
|
313533
313671
|
};
|
|
313534
313672
|
|
|
313535
313673
|
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
313536
313674
|
|
|
313537
|
-
let response = await (isRequestSupported
|
|
313675
|
+
let response = await (isRequestSupported
|
|
313676
|
+
? _fetch(request, fetchOptions)
|
|
313677
|
+
: _fetch(url, resolvedOptions));
|
|
313538
313678
|
|
|
313539
|
-
const isStreamResponse =
|
|
313679
|
+
const isStreamResponse =
|
|
313680
|
+
supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
313540
313681
|
|
|
313541
313682
|
if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
|
|
313542
313683
|
const options = {};
|
|
313543
313684
|
|
|
313544
|
-
['status', 'statusText', 'headers'].forEach(prop => {
|
|
313685
|
+
['status', 'statusText', 'headers'].forEach((prop) => {
|
|
313545
313686
|
options[prop] = response[prop];
|
|
313546
313687
|
});
|
|
313547
313688
|
|
|
313548
313689
|
const responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFiniteNumber(response.headers.get('content-length'));
|
|
313549
313690
|
|
|
313550
|
-
const [onProgress, flush] =
|
|
313551
|
-
|
|
313552
|
-
|
|
313553
|
-
|
|
313691
|
+
const [onProgress, flush] =
|
|
313692
|
+
(onDownloadProgress &&
|
|
313693
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventDecorator)(
|
|
313694
|
+
responseContentLength,
|
|
313695
|
+
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onDownloadProgress), true)
|
|
313696
|
+
)) ||
|
|
313697
|
+
[];
|
|
313554
313698
|
|
|
313555
313699
|
response = new Response(
|
|
313556
313700
|
(0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
@@ -313563,7 +313707,10 @@ const factory = (env) => {
|
|
|
313563
313707
|
|
|
313564
313708
|
responseType = responseType || 'text';
|
|
313565
313709
|
|
|
313566
|
-
let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(resolvers, responseType) || 'text'](
|
|
313710
|
+
let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(resolvers, responseType) || 'text'](
|
|
313711
|
+
response,
|
|
313712
|
+
config
|
|
313713
|
+
);
|
|
313567
313714
|
|
|
313568
313715
|
!isStreamResponse && unsubscribe && unsubscribe();
|
|
313569
313716
|
|
|
@@ -313574,43 +313721,50 @@ const factory = (env) => {
|
|
|
313574
313721
|
status: response.status,
|
|
313575
313722
|
statusText: response.statusText,
|
|
313576
313723
|
config,
|
|
313577
|
-
request
|
|
313578
|
-
})
|
|
313579
|
-
})
|
|
313724
|
+
request,
|
|
313725
|
+
});
|
|
313726
|
+
});
|
|
313580
313727
|
} catch (err) {
|
|
313581
313728
|
unsubscribe && unsubscribe();
|
|
313582
313729
|
|
|
313583
313730
|
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
313584
313731
|
throw Object.assign(
|
|
313585
|
-
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
313732
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
|
|
313733
|
+
'Network Error',
|
|
313734
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NETWORK,
|
|
313735
|
+
config,
|
|
313736
|
+
request,
|
|
313737
|
+
err && err.response
|
|
313738
|
+
),
|
|
313586
313739
|
{
|
|
313587
|
-
cause: err.cause || err
|
|
313740
|
+
cause: err.cause || err,
|
|
313588
313741
|
}
|
|
313589
|
-
)
|
|
313742
|
+
);
|
|
313590
313743
|
}
|
|
313591
313744
|
|
|
313592
313745
|
throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(err, err && err.code, config, request, err && err.response);
|
|
313593
313746
|
}
|
|
313594
|
-
}
|
|
313595
|
-
}
|
|
313747
|
+
};
|
|
313748
|
+
};
|
|
313596
313749
|
|
|
313597
313750
|
const seedCache = new Map();
|
|
313598
313751
|
|
|
313599
313752
|
const getFetch = (config) => {
|
|
313600
313753
|
let env = (config && config.env) || {};
|
|
313601
|
-
const {fetch, Request, Response} = env;
|
|
313602
|
-
const seeds = [
|
|
313603
|
-
Request, Response, fetch
|
|
313604
|
-
];
|
|
313754
|
+
const { fetch, Request, Response } = env;
|
|
313755
|
+
const seeds = [Request, Response, fetch];
|
|
313605
313756
|
|
|
313606
|
-
let len = seeds.length,
|
|
313607
|
-
|
|
313757
|
+
let len = seeds.length,
|
|
313758
|
+
i = len,
|
|
313759
|
+
seed,
|
|
313760
|
+
target,
|
|
313761
|
+
map = seedCache;
|
|
313608
313762
|
|
|
313609
313763
|
while (i--) {
|
|
313610
313764
|
seed = seeds[i];
|
|
313611
313765
|
target = map.get(seed);
|
|
313612
313766
|
|
|
313613
|
-
target === undefined && map.set(seed, target =
|
|
313767
|
+
target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));
|
|
313614
313768
|
|
|
313615
313769
|
map = target;
|
|
313616
313770
|
}
|
|
@@ -313625,9 +313779,9 @@ const adapter = getFetch();
|
|
|
313625
313779
|
|
|
313626
313780
|
/***/ }),
|
|
313627
313781
|
|
|
313628
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313782
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/xhr.js":
|
|
313629
313783
|
/*!************************************************************************************************!*\
|
|
313630
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313784
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/xhr.js ***!
|
|
313631
313785
|
\************************************************************************************************/
|
|
313632
313786
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313633
313787
|
|
|
@@ -313636,16 +313790,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313636
313790
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313637
313791
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313638
313792
|
/* harmony export */ });
|
|
313639
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313640
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313641
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313642
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313643
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313644
|
-
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313645
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313646
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313647
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313648
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313793
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
313794
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js");
|
|
313795
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js");
|
|
313796
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
313797
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js");
|
|
313798
|
+
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseProtocol.js");
|
|
313799
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
313800
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
313801
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
313802
|
+
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js");
|
|
313649
313803
|
|
|
313650
313804
|
|
|
313651
313805
|
|
|
@@ -313659,200 +313813,222 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313659
313813
|
|
|
313660
313814
|
const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
313661
313815
|
|
|
313662
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isXHRAdapterSupported &&
|
|
313663
|
-
|
|
313664
|
-
|
|
313665
|
-
|
|
313666
|
-
|
|
313667
|
-
|
|
313668
|
-
|
|
313669
|
-
|
|
313670
|
-
|
|
313816
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isXHRAdapterSupported &&
|
|
313817
|
+
function (config) {
|
|
313818
|
+
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
313819
|
+
const _config = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__["default"])(config);
|
|
313820
|
+
let requestData = _config.data;
|
|
313821
|
+
const requestHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(_config.headers).normalize();
|
|
313822
|
+
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
313823
|
+
let onCanceled;
|
|
313824
|
+
let uploadThrottled, downloadThrottled;
|
|
313825
|
+
let flushUpload, flushDownload;
|
|
313671
313826
|
|
|
313672
|
-
|
|
313673
|
-
|
|
313674
|
-
|
|
313827
|
+
function done() {
|
|
313828
|
+
flushUpload && flushUpload(); // flush events
|
|
313829
|
+
flushDownload && flushDownload(); // flush events
|
|
313675
313830
|
|
|
313676
|
-
|
|
313831
|
+
_config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
|
|
313677
313832
|
|
|
313678
|
-
|
|
313679
|
-
|
|
313833
|
+
_config.signal && _config.signal.removeEventListener('abort', onCanceled);
|
|
313834
|
+
}
|
|
313680
313835
|
|
|
313681
|
-
|
|
313836
|
+
let request = new XMLHttpRequest();
|
|
313682
313837
|
|
|
313683
|
-
|
|
313838
|
+
request.open(_config.method.toUpperCase(), _config.url, true);
|
|
313684
313839
|
|
|
313685
|
-
|
|
313686
|
-
|
|
313840
|
+
// Set the request timeout in MS
|
|
313841
|
+
request.timeout = _config.timeout;
|
|
313687
313842
|
|
|
313688
|
-
|
|
313689
|
-
|
|
313690
|
-
|
|
313843
|
+
function onloadend() {
|
|
313844
|
+
if (!request) {
|
|
313845
|
+
return;
|
|
313846
|
+
}
|
|
313847
|
+
// Prepare the response
|
|
313848
|
+
const responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(
|
|
313849
|
+
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
313850
|
+
);
|
|
313851
|
+
const responseData =
|
|
313852
|
+
!responseType || responseType === 'text' || responseType === 'json'
|
|
313853
|
+
? request.responseText
|
|
313854
|
+
: request.response;
|
|
313855
|
+
const response = {
|
|
313856
|
+
data: responseData,
|
|
313857
|
+
status: request.status,
|
|
313858
|
+
statusText: request.statusText,
|
|
313859
|
+
headers: responseHeaders,
|
|
313860
|
+
config,
|
|
313861
|
+
request,
|
|
313862
|
+
};
|
|
313863
|
+
|
|
313864
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
313865
|
+
function _resolve(value) {
|
|
313866
|
+
resolve(value);
|
|
313867
|
+
done();
|
|
313868
|
+
},
|
|
313869
|
+
function _reject(err) {
|
|
313870
|
+
reject(err);
|
|
313871
|
+
done();
|
|
313872
|
+
},
|
|
313873
|
+
response
|
|
313874
|
+
);
|
|
313875
|
+
|
|
313876
|
+
// Clean up request
|
|
313877
|
+
request = null;
|
|
313691
313878
|
}
|
|
313692
|
-
// Prepare the response
|
|
313693
|
-
const responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(
|
|
313694
|
-
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
313695
|
-
);
|
|
313696
|
-
const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
|
|
313697
|
-
request.responseText : request.response;
|
|
313698
|
-
const response = {
|
|
313699
|
-
data: responseData,
|
|
313700
|
-
status: request.status,
|
|
313701
|
-
statusText: request.statusText,
|
|
313702
|
-
headers: responseHeaders,
|
|
313703
|
-
config,
|
|
313704
|
-
request
|
|
313705
|
-
};
|
|
313706
313879
|
|
|
313707
|
-
(
|
|
313708
|
-
|
|
313709
|
-
|
|
313710
|
-
}
|
|
313711
|
-
|
|
313712
|
-
|
|
313713
|
-
|
|
313880
|
+
if ('onloadend' in request) {
|
|
313881
|
+
// Use onloadend if available
|
|
313882
|
+
request.onloadend = onloadend;
|
|
313883
|
+
} else {
|
|
313884
|
+
// Listen for ready state to emulate onloadend
|
|
313885
|
+
request.onreadystatechange = function handleLoad() {
|
|
313886
|
+
if (!request || request.readyState !== 4) {
|
|
313887
|
+
return;
|
|
313888
|
+
}
|
|
313714
313889
|
|
|
313715
|
-
|
|
313716
|
-
|
|
313717
|
-
|
|
313890
|
+
// The request errored out and we didn't get a response, this will be
|
|
313891
|
+
// handled by onerror instead
|
|
313892
|
+
// With one exception: request that using file: protocol, most browsers
|
|
313893
|
+
// will return status as 0 even though it's a successful request
|
|
313894
|
+
if (
|
|
313895
|
+
request.status === 0 &&
|
|
313896
|
+
!(request.responseURL && request.responseURL.indexOf('file:') === 0)
|
|
313897
|
+
) {
|
|
313898
|
+
return;
|
|
313899
|
+
}
|
|
313900
|
+
// readystate handler is calling before onerror or ontimeout handlers,
|
|
313901
|
+
// so we should call onloadend on the next 'tick'
|
|
313902
|
+
setTimeout(onloadend);
|
|
313903
|
+
};
|
|
313904
|
+
}
|
|
313718
313905
|
|
|
313719
|
-
|
|
313720
|
-
|
|
313721
|
-
|
|
313722
|
-
} else {
|
|
313723
|
-
// Listen for ready state to emulate onloadend
|
|
313724
|
-
request.onreadystatechange = function handleLoad() {
|
|
313725
|
-
if (!request || request.readyState !== 4) {
|
|
313906
|
+
// Handle browser request cancellation (as opposed to a manual cancellation)
|
|
313907
|
+
request.onabort = function handleAbort() {
|
|
313908
|
+
if (!request) {
|
|
313726
313909
|
return;
|
|
313727
313910
|
}
|
|
313728
313911
|
|
|
313729
|
-
|
|
313730
|
-
|
|
313731
|
-
//
|
|
313732
|
-
|
|
313733
|
-
if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
|
|
313734
|
-
return;
|
|
313735
|
-
}
|
|
313736
|
-
// readystate handler is calling before onerror or ontimeout handlers,
|
|
313737
|
-
// so we should call onloadend on the next 'tick'
|
|
313738
|
-
setTimeout(onloadend);
|
|
313912
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED, config, request));
|
|
313913
|
+
|
|
313914
|
+
// Clean up request
|
|
313915
|
+
request = null;
|
|
313739
313916
|
};
|
|
313740
|
-
}
|
|
313741
313917
|
|
|
313742
|
-
|
|
313743
|
-
|
|
313744
|
-
|
|
313745
|
-
|
|
313746
|
-
|
|
313918
|
+
// Handle low level network errors
|
|
313919
|
+
request.onerror = function handleError(event) {
|
|
313920
|
+
// Browsers deliver a ProgressEvent in XHR onerror
|
|
313921
|
+
// (message may be empty; when present, surface it)
|
|
313922
|
+
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
313923
|
+
const msg = event && event.message ? event.message : 'Network Error';
|
|
313924
|
+
const err = new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](msg, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_NETWORK, config, request);
|
|
313925
|
+
// attach the underlying event for consumers who want details
|
|
313926
|
+
err.event = event || null;
|
|
313927
|
+
reject(err);
|
|
313928
|
+
request = null;
|
|
313929
|
+
};
|
|
313747
313930
|
|
|
313748
|
-
|
|
313931
|
+
// Handle timeout
|
|
313932
|
+
request.ontimeout = function handleTimeout() {
|
|
313933
|
+
let timeoutErrorMessage = _config.timeout
|
|
313934
|
+
? 'timeout of ' + _config.timeout + 'ms exceeded'
|
|
313935
|
+
: 'timeout exceeded';
|
|
313936
|
+
const transitional = _config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__["default"];
|
|
313937
|
+
if (_config.timeoutErrorMessage) {
|
|
313938
|
+
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
313939
|
+
}
|
|
313940
|
+
reject(
|
|
313941
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
313942
|
+
timeoutErrorMessage,
|
|
313943
|
+
transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED,
|
|
313944
|
+
config,
|
|
313945
|
+
request
|
|
313946
|
+
)
|
|
313947
|
+
);
|
|
313749
313948
|
|
|
313750
|
-
|
|
313751
|
-
|
|
313752
|
-
|
|
313949
|
+
// Clean up request
|
|
313950
|
+
request = null;
|
|
313951
|
+
};
|
|
313753
313952
|
|
|
313754
|
-
|
|
313755
|
-
|
|
313756
|
-
// Browsers deliver a ProgressEvent in XHR onerror
|
|
313757
|
-
// (message may be empty; when present, surface it)
|
|
313758
|
-
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
313759
|
-
const msg = event && event.message ? event.message : 'Network Error';
|
|
313760
|
-
const err = new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](msg, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_NETWORK, config, request);
|
|
313761
|
-
// attach the underlying event for consumers who want details
|
|
313762
|
-
err.event = event || null;
|
|
313763
|
-
reject(err);
|
|
313764
|
-
request = null;
|
|
313765
|
-
};
|
|
313766
|
-
|
|
313767
|
-
// Handle timeout
|
|
313768
|
-
request.ontimeout = function handleTimeout() {
|
|
313769
|
-
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
313770
|
-
const transitional = _config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__["default"];
|
|
313771
|
-
if (_config.timeoutErrorMessage) {
|
|
313772
|
-
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
313773
|
-
}
|
|
313774
|
-
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
313775
|
-
timeoutErrorMessage,
|
|
313776
|
-
transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED,
|
|
313777
|
-
config,
|
|
313778
|
-
request));
|
|
313779
|
-
|
|
313780
|
-
// Clean up request
|
|
313781
|
-
request = null;
|
|
313782
|
-
};
|
|
313953
|
+
// Remove Content-Type if data is undefined
|
|
313954
|
+
requestData === undefined && requestHeaders.setContentType(null);
|
|
313783
313955
|
|
|
313784
|
-
|
|
313785
|
-
|
|
313956
|
+
// Add headers to the request
|
|
313957
|
+
if ('setRequestHeader' in request) {
|
|
313958
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
|
|
313959
|
+
request.setRequestHeader(key, val);
|
|
313960
|
+
});
|
|
313961
|
+
}
|
|
313786
313962
|
|
|
313787
|
-
|
|
313788
|
-
|
|
313789
|
-
|
|
313790
|
-
|
|
313791
|
-
});
|
|
313792
|
-
}
|
|
313963
|
+
// Add withCredentials to request if needed
|
|
313964
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_5__["default"].isUndefined(_config.withCredentials)) {
|
|
313965
|
+
request.withCredentials = !!_config.withCredentials;
|
|
313966
|
+
}
|
|
313793
313967
|
|
|
313794
|
-
|
|
313795
|
-
|
|
313796
|
-
|
|
313797
|
-
|
|
313968
|
+
// Add responseType to request if needed
|
|
313969
|
+
if (responseType && responseType !== 'json') {
|
|
313970
|
+
request.responseType = _config.responseType;
|
|
313971
|
+
}
|
|
313798
313972
|
|
|
313799
|
-
|
|
313800
|
-
|
|
313801
|
-
|
|
313802
|
-
|
|
313973
|
+
// Handle progress if needed
|
|
313974
|
+
if (onDownloadProgress) {
|
|
313975
|
+
[downloadThrottled, flushDownload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onDownloadProgress, true);
|
|
313976
|
+
request.addEventListener('progress', downloadThrottled);
|
|
313977
|
+
}
|
|
313803
313978
|
|
|
313804
|
-
|
|
313805
|
-
|
|
313806
|
-
|
|
313807
|
-
request.addEventListener('progress', downloadThrottled);
|
|
313808
|
-
}
|
|
313979
|
+
// Not all browsers support upload events
|
|
313980
|
+
if (onUploadProgress && request.upload) {
|
|
313981
|
+
[uploadThrottled, flushUpload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onUploadProgress);
|
|
313809
313982
|
|
|
313810
|
-
|
|
313811
|
-
if (onUploadProgress && request.upload) {
|
|
313812
|
-
([uploadThrottled, flushUpload] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)(onUploadProgress));
|
|
313983
|
+
request.upload.addEventListener('progress', uploadThrottled);
|
|
313813
313984
|
|
|
313814
|
-
|
|
313985
|
+
request.upload.addEventListener('loadend', flushUpload);
|
|
313986
|
+
}
|
|
313815
313987
|
|
|
313816
|
-
|
|
313817
|
-
|
|
313988
|
+
if (_config.cancelToken || _config.signal) {
|
|
313989
|
+
// Handle cancellation
|
|
313990
|
+
// eslint-disable-next-line func-names
|
|
313991
|
+
onCanceled = (cancel) => {
|
|
313992
|
+
if (!request) {
|
|
313993
|
+
return;
|
|
313994
|
+
}
|
|
313995
|
+
reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__["default"](null, config, request) : cancel);
|
|
313996
|
+
request.abort();
|
|
313997
|
+
request = null;
|
|
313998
|
+
};
|
|
313818
313999
|
|
|
313819
|
-
|
|
313820
|
-
|
|
313821
|
-
|
|
313822
|
-
|
|
313823
|
-
|
|
313824
|
-
return;
|
|
314000
|
+
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
314001
|
+
if (_config.signal) {
|
|
314002
|
+
_config.signal.aborted
|
|
314003
|
+
? onCanceled()
|
|
314004
|
+
: _config.signal.addEventListener('abort', onCanceled);
|
|
313825
314005
|
}
|
|
313826
|
-
reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__["default"](null, config, request) : cancel);
|
|
313827
|
-
request.abort();
|
|
313828
|
-
request = null;
|
|
313829
|
-
};
|
|
313830
|
-
|
|
313831
|
-
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
313832
|
-
if (_config.signal) {
|
|
313833
|
-
_config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
|
|
313834
314006
|
}
|
|
313835
|
-
}
|
|
313836
314007
|
|
|
313837
|
-
|
|
313838
|
-
|
|
313839
|
-
if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_9__["default"].protocols.indexOf(protocol) === -1) {
|
|
313840
|
-
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Unsupported protocol ' + protocol + ':', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_BAD_REQUEST, config));
|
|
313841
|
-
return;
|
|
313842
|
-
}
|
|
314008
|
+
const protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_config.url);
|
|
313843
314009
|
|
|
314010
|
+
if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_9__["default"].protocols.indexOf(protocol) === -1) {
|
|
314011
|
+
reject(
|
|
314012
|
+
new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
|
|
314013
|
+
'Unsupported protocol ' + protocol + ':',
|
|
314014
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ERR_BAD_REQUEST,
|
|
314015
|
+
config
|
|
314016
|
+
)
|
|
314017
|
+
);
|
|
314018
|
+
return;
|
|
314019
|
+
}
|
|
313844
314020
|
|
|
313845
|
-
|
|
313846
|
-
|
|
314021
|
+
// Send the request
|
|
314022
|
+
request.send(requestData || null);
|
|
314023
|
+
});
|
|
313847
314024
|
});
|
|
313848
|
-
});
|
|
313849
314025
|
|
|
313850
314026
|
|
|
313851
314027
|
/***/ }),
|
|
313852
314028
|
|
|
313853
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314029
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js":
|
|
313854
314030
|
/*!*****************************************************************************************!*\
|
|
313855
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314031
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/axios.js ***!
|
|
313856
314032
|
\*****************************************************************************************/
|
|
313857
314033
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313858
314034
|
|
|
@@ -313861,23 +314037,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313861
314037
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313862
314038
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313863
314039
|
/* harmony export */ });
|
|
313864
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313865
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313866
|
-
/* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313867
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313868
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313869
|
-
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313870
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313871
|
-
/* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313872
|
-
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313873
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313874
|
-
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313875
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313876
|
-
/* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313877
|
-
/* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313878
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313879
|
-
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
313880
|
-
/* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314040
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
314041
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js");
|
|
314042
|
+
/* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/Axios.js");
|
|
314043
|
+
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js");
|
|
314044
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js");
|
|
314045
|
+
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js");
|
|
314046
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js");
|
|
314047
|
+
/* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CancelToken.js");
|
|
314048
|
+
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js");
|
|
314049
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js");
|
|
314050
|
+
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js");
|
|
314051
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
314052
|
+
/* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/spread.js");
|
|
314053
|
+
/* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAxiosError.js");
|
|
314054
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
314055
|
+
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js");
|
|
314056
|
+
/* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js");
|
|
313881
314057
|
|
|
313882
314058
|
|
|
313883
314059
|
|
|
@@ -313910,10 +314086,10 @@ function createInstance(defaultConfig) {
|
|
|
313910
314086
|
const instance = (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.request, context);
|
|
313911
314087
|
|
|
313912
314088
|
// Copy axios.prototype to instance
|
|
313913
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype, context, {allOwnKeys: true});
|
|
314089
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__["default"].prototype, context, { allOwnKeys: true });
|
|
313914
314090
|
|
|
313915
314091
|
// Copy context to instance
|
|
313916
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, context, null, {allOwnKeys: true});
|
|
314092
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].extend(instance, context, null, { allOwnKeys: true });
|
|
313917
314093
|
|
|
313918
314094
|
// Factory for creating new instances
|
|
313919
314095
|
instance.create = function create(instanceConfig) {
|
|
@@ -313957,7 +314133,7 @@ axios.mergeConfig = _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"]
|
|
|
313957
314133
|
|
|
313958
314134
|
axios.AxiosHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__["default"];
|
|
313959
314135
|
|
|
313960
|
-
axios.formToJSON = thing => (0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__["default"])(_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
314136
|
+
axios.formToJSON = (thing) => (0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__["default"])(_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
313961
314137
|
|
|
313962
314138
|
axios.getAdapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__["default"].getAdapter;
|
|
313963
314139
|
|
|
@@ -313971,9 +314147,9 @@ axios.default = axios;
|
|
|
313971
314147
|
|
|
313972
314148
|
/***/ }),
|
|
313973
314149
|
|
|
313974
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314150
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CancelToken.js":
|
|
313975
314151
|
/*!******************************************************************************************************!*\
|
|
313976
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314152
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CancelToken.js ***!
|
|
313977
314153
|
\******************************************************************************************************/
|
|
313978
314154
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
313979
314155
|
|
|
@@ -313982,7 +314158,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
313982
314158
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
313983
314159
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
313984
314160
|
/* harmony export */ });
|
|
313985
|
-
/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314161
|
+
/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js");
|
|
313986
314162
|
|
|
313987
314163
|
|
|
313988
314164
|
|
|
@@ -314009,7 +314185,7 @@ class CancelToken {
|
|
|
314009
314185
|
const token = this;
|
|
314010
314186
|
|
|
314011
314187
|
// eslint-disable-next-line func-names
|
|
314012
|
-
this.promise.then(cancel => {
|
|
314188
|
+
this.promise.then((cancel) => {
|
|
314013
314189
|
if (!token._listeners) return;
|
|
314014
314190
|
|
|
314015
314191
|
let i = token._listeners.length;
|
|
@@ -314021,10 +314197,10 @@ class CancelToken {
|
|
|
314021
314197
|
});
|
|
314022
314198
|
|
|
314023
314199
|
// eslint-disable-next-line func-names
|
|
314024
|
-
this.promise.then = onfulfilled => {
|
|
314200
|
+
this.promise.then = (onfulfilled) => {
|
|
314025
314201
|
let _resolve;
|
|
314026
314202
|
// eslint-disable-next-line func-names
|
|
314027
|
-
const promise = new Promise(resolve => {
|
|
314203
|
+
const promise = new Promise((resolve) => {
|
|
314028
314204
|
token.subscribe(resolve);
|
|
314029
314205
|
_resolve = resolve;
|
|
314030
314206
|
}).then(onfulfilled);
|
|
@@ -314112,7 +314288,7 @@ class CancelToken {
|
|
|
314112
314288
|
});
|
|
314113
314289
|
return {
|
|
314114
314290
|
token,
|
|
314115
|
-
cancel
|
|
314291
|
+
cancel,
|
|
314116
314292
|
};
|
|
314117
314293
|
}
|
|
314118
314294
|
}
|
|
@@ -314122,9 +314298,9 @@ class CancelToken {
|
|
|
314122
314298
|
|
|
314123
314299
|
/***/ }),
|
|
314124
314300
|
|
|
314125
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314301
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js":
|
|
314126
314302
|
/*!********************************************************************************************************!*\
|
|
314127
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314303
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js ***!
|
|
314128
314304
|
\********************************************************************************************************/
|
|
314129
314305
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314130
314306
|
|
|
@@ -314133,7 +314309,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314133
314309
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314134
314310
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314135
314311
|
/* harmony export */ });
|
|
314136
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314312
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
314137
314313
|
|
|
314138
314314
|
|
|
314139
314315
|
|
|
@@ -314160,9 +314336,9 @@ class CanceledError extends _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["de
|
|
|
314160
314336
|
|
|
314161
314337
|
/***/ }),
|
|
314162
314338
|
|
|
314163
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314339
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js":
|
|
314164
314340
|
/*!***************************************************************************************************!*\
|
|
314165
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314341
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js ***!
|
|
314166
314342
|
\***************************************************************************************************/
|
|
314167
314343
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314168
314344
|
|
|
@@ -314180,9 +314356,9 @@ function isCancel(value) {
|
|
|
314180
314356
|
|
|
314181
314357
|
/***/ }),
|
|
314182
314358
|
|
|
314183
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314359
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/Axios.js":
|
|
314184
314360
|
/*!**********************************************************************************************!*\
|
|
314185
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314361
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/Axios.js ***!
|
|
314186
314362
|
\**********************************************************************************************/
|
|
314187
314363
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314188
314364
|
|
|
@@ -314191,15 +314367,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314191
314367
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314192
314368
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314193
314369
|
/* harmony export */ });
|
|
314194
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314195
|
-
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314196
|
-
/* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314197
|
-
/* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314198
|
-
/* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314199
|
-
/* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314200
|
-
/* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314201
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314202
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314370
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
314371
|
+
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js");
|
|
314372
|
+
/* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/InterceptorManager.js");
|
|
314373
|
+
/* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js");
|
|
314374
|
+
/* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js");
|
|
314375
|
+
/* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js");
|
|
314376
|
+
/* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/validator.js");
|
|
314377
|
+
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
314378
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js");
|
|
314203
314379
|
|
|
314204
314380
|
|
|
314205
314381
|
|
|
@@ -314226,7 +314402,7 @@ class Axios {
|
|
|
314226
314402
|
this.defaults = instanceConfig || {};
|
|
314227
314403
|
this.interceptors = {
|
|
314228
314404
|
request: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"](),
|
|
314229
|
-
response: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"]()
|
|
314405
|
+
response: new _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__["default"](),
|
|
314230
314406
|
};
|
|
314231
314407
|
}
|
|
314232
314408
|
|
|
@@ -314254,7 +314430,7 @@ class Axios {
|
|
|
314254
314430
|
err.stack = stack;
|
|
314255
314431
|
// match without the 2 top stack lines
|
|
314256
314432
|
} else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
|
|
314257
|
-
err.stack += '\n' + stack
|
|
314433
|
+
err.stack += '\n' + stack;
|
|
314258
314434
|
}
|
|
314259
314435
|
} catch (e) {
|
|
314260
314436
|
// ignore the case where "stack" is an un-writable property
|
|
@@ -314277,27 +314453,35 @@ class Axios {
|
|
|
314277
314453
|
|
|
314278
314454
|
config = (0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(this.defaults, config);
|
|
314279
314455
|
|
|
314280
|
-
const {transitional, paramsSerializer, headers} = config;
|
|
314456
|
+
const { transitional, paramsSerializer, headers } = config;
|
|
314281
314457
|
|
|
314282
314458
|
if (transitional !== undefined) {
|
|
314283
|
-
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314284
|
-
|
|
314285
|
-
|
|
314286
|
-
|
|
314287
|
-
|
|
314288
|
-
|
|
314459
|
+
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314460
|
+
transitional,
|
|
314461
|
+
{
|
|
314462
|
+
silentJSONParsing: validators.transitional(validators.boolean),
|
|
314463
|
+
forcedJSONParsing: validators.transitional(validators.boolean),
|
|
314464
|
+
clarifyTimeoutError: validators.transitional(validators.boolean),
|
|
314465
|
+
legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
|
|
314466
|
+
},
|
|
314467
|
+
false
|
|
314468
|
+
);
|
|
314289
314469
|
}
|
|
314290
314470
|
|
|
314291
314471
|
if (paramsSerializer != null) {
|
|
314292
314472
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].isFunction(paramsSerializer)) {
|
|
314293
314473
|
config.paramsSerializer = {
|
|
314294
|
-
serialize: paramsSerializer
|
|
314295
|
-
}
|
|
314474
|
+
serialize: paramsSerializer,
|
|
314475
|
+
};
|
|
314296
314476
|
} else {
|
|
314297
|
-
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314298
|
-
|
|
314299
|
-
|
|
314300
|
-
|
|
314477
|
+
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314478
|
+
paramsSerializer,
|
|
314479
|
+
{
|
|
314480
|
+
encode: validators.function,
|
|
314481
|
+
serialize: validators.function,
|
|
314482
|
+
},
|
|
314483
|
+
true
|
|
314484
|
+
);
|
|
314301
314485
|
}
|
|
314302
314486
|
}
|
|
314303
314487
|
|
|
@@ -314310,26 +314494,25 @@ class Axios {
|
|
|
314310
314494
|
config.allowAbsoluteUrls = true;
|
|
314311
314495
|
}
|
|
314312
314496
|
|
|
314313
|
-
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314314
|
-
|
|
314315
|
-
|
|
314316
|
-
|
|
314497
|
+
_helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__["default"].assertOptions(
|
|
314498
|
+
config,
|
|
314499
|
+
{
|
|
314500
|
+
baseUrl: validators.spelling('baseURL'),
|
|
314501
|
+
withXsrfToken: validators.spelling('withXSRFToken'),
|
|
314502
|
+
},
|
|
314503
|
+
true
|
|
314504
|
+
);
|
|
314317
314505
|
|
|
314318
314506
|
// Set config.method
|
|
314319
314507
|
config.method = (config.method || this.defaults.method || 'get').toLowerCase();
|
|
314320
314508
|
|
|
314321
314509
|
// Flatten headers
|
|
314322
|
-
let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].merge(
|
|
314323
|
-
headers.common,
|
|
314324
|
-
headers[config.method]
|
|
314325
|
-
);
|
|
314510
|
+
let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].merge(headers.common, headers[config.method]);
|
|
314326
314511
|
|
|
314327
|
-
headers &&
|
|
314328
|
-
['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
|
|
314329
|
-
(method) => {
|
|
314512
|
+
headers &&
|
|
314513
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], (method) => {
|
|
314330
314514
|
delete headers[method];
|
|
314331
|
-
}
|
|
314332
|
-
);
|
|
314515
|
+
});
|
|
314333
314516
|
|
|
314334
314517
|
config.headers = _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__["default"].concat(contextHeaders, headers);
|
|
314335
314518
|
|
|
@@ -314344,7 +314527,8 @@ class Axios {
|
|
|
314344
314527
|
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
|
|
314345
314528
|
|
|
314346
314529
|
const transitional = config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_5__["default"];
|
|
314347
|
-
const legacyInterceptorReqResOrdering =
|
|
314530
|
+
const legacyInterceptorReqResOrdering =
|
|
314531
|
+
transitional && transitional.legacyInterceptorReqResOrdering;
|
|
314348
314532
|
|
|
314349
314533
|
if (legacyInterceptorReqResOrdering) {
|
|
314350
314534
|
requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
|
|
@@ -314418,12 +314602,14 @@ class Axios {
|
|
|
314418
314602
|
// Provide aliases for supported request methods
|
|
314419
314603
|
_utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
|
|
314420
314604
|
/*eslint func-names:0*/
|
|
314421
|
-
Axios.prototype[method] = function(url, config) {
|
|
314422
|
-
return this.request(
|
|
314423
|
-
|
|
314424
|
-
|
|
314425
|
-
|
|
314426
|
-
|
|
314605
|
+
Axios.prototype[method] = function (url, config) {
|
|
314606
|
+
return this.request(
|
|
314607
|
+
(0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(config || {}, {
|
|
314608
|
+
method,
|
|
314609
|
+
url,
|
|
314610
|
+
data: (config || {}).data,
|
|
314611
|
+
})
|
|
314612
|
+
);
|
|
314427
314613
|
};
|
|
314428
314614
|
});
|
|
314429
314615
|
|
|
@@ -314432,14 +314618,18 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
|
|
|
314432
314618
|
|
|
314433
314619
|
function generateHTTPMethod(isForm) {
|
|
314434
314620
|
return function httpMethod(url, data, config) {
|
|
314435
|
-
return this.request(
|
|
314436
|
-
|
|
314437
|
-
|
|
314438
|
-
|
|
314439
|
-
|
|
314440
|
-
|
|
314441
|
-
|
|
314442
|
-
|
|
314621
|
+
return this.request(
|
|
314622
|
+
(0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__["default"])(config || {}, {
|
|
314623
|
+
method,
|
|
314624
|
+
headers: isForm
|
|
314625
|
+
? {
|
|
314626
|
+
'Content-Type': 'multipart/form-data',
|
|
314627
|
+
}
|
|
314628
|
+
: {},
|
|
314629
|
+
url,
|
|
314630
|
+
data,
|
|
314631
|
+
})
|
|
314632
|
+
);
|
|
314443
314633
|
};
|
|
314444
314634
|
}
|
|
314445
314635
|
|
|
@@ -314453,9 +314643,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
|
|
|
314453
314643
|
|
|
314454
314644
|
/***/ }),
|
|
314455
314645
|
|
|
314456
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314646
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js":
|
|
314457
314647
|
/*!***************************************************************************************************!*\
|
|
314458
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314648
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js ***!
|
|
314459
314649
|
\***************************************************************************************************/
|
|
314460
314650
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314461
314651
|
|
|
@@ -314464,20 +314654,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314464
314654
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314465
314655
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314466
314656
|
/* harmony export */ });
|
|
314467
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314657
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
314468
314658
|
|
|
314469
314659
|
|
|
314470
314660
|
|
|
314471
314661
|
|
|
314472
314662
|
class AxiosError extends Error {
|
|
314473
|
-
|
|
314474
|
-
|
|
314475
|
-
|
|
314476
|
-
|
|
314477
|
-
|
|
314478
|
-
|
|
314663
|
+
static from(error, code, config, request, response, customProps) {
|
|
314664
|
+
const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
|
|
314665
|
+
axiosError.cause = error;
|
|
314666
|
+
axiosError.name = error.name;
|
|
314667
|
+
|
|
314668
|
+
// Preserve status from the original error if not already set from response
|
|
314669
|
+
if (error.status != null && axiosError.status == null) {
|
|
314670
|
+
axiosError.status = error.status;
|
|
314479
314671
|
}
|
|
314480
314672
|
|
|
314673
|
+
customProps && Object.assign(axiosError, customProps);
|
|
314674
|
+
return axiosError;
|
|
314675
|
+
}
|
|
314676
|
+
|
|
314481
314677
|
/**
|
|
314482
314678
|
* Create an Error with the specified message, config, error code, request and response.
|
|
314483
314679
|
*
|
|
@@ -314490,37 +314686,48 @@ class AxiosError extends Error {
|
|
|
314490
314686
|
* @returns {Error} The created error.
|
|
314491
314687
|
*/
|
|
314492
314688
|
constructor(message, code, config, request, response) {
|
|
314493
|
-
|
|
314494
|
-
|
|
314495
|
-
|
|
314496
|
-
|
|
314497
|
-
|
|
314498
|
-
|
|
314499
|
-
|
|
314500
|
-
|
|
314501
|
-
|
|
314502
|
-
|
|
314689
|
+
super(message);
|
|
314690
|
+
|
|
314691
|
+
// Make message enumerable to maintain backward compatibility
|
|
314692
|
+
// The native Error constructor sets message as non-enumerable,
|
|
314693
|
+
// but axios < v1.13.3 had it as enumerable
|
|
314694
|
+
Object.defineProperty(this, 'message', {
|
|
314695
|
+
value: message,
|
|
314696
|
+
enumerable: true,
|
|
314697
|
+
writable: true,
|
|
314698
|
+
configurable: true
|
|
314699
|
+
});
|
|
314700
|
+
|
|
314701
|
+
this.name = 'AxiosError';
|
|
314702
|
+
this.isAxiosError = true;
|
|
314703
|
+
code && (this.code = code);
|
|
314704
|
+
config && (this.config = config);
|
|
314705
|
+
request && (this.request = request);
|
|
314706
|
+
if (response) {
|
|
314707
|
+
this.response = response;
|
|
314708
|
+
this.status = response.status;
|
|
314709
|
+
}
|
|
314503
314710
|
}
|
|
314504
314711
|
|
|
314505
|
-
|
|
314506
|
-
|
|
314507
|
-
|
|
314508
|
-
|
|
314509
|
-
|
|
314510
|
-
|
|
314511
|
-
|
|
314512
|
-
|
|
314513
|
-
|
|
314514
|
-
|
|
314515
|
-
|
|
314516
|
-
|
|
314517
|
-
|
|
314518
|
-
|
|
314519
|
-
|
|
314520
|
-
|
|
314521
|
-
|
|
314522
|
-
|
|
314523
|
-
|
|
314712
|
+
toJSON() {
|
|
314713
|
+
return {
|
|
314714
|
+
// Standard
|
|
314715
|
+
message: this.message,
|
|
314716
|
+
name: this.name,
|
|
314717
|
+
// Microsoft
|
|
314718
|
+
description: this.description,
|
|
314719
|
+
number: this.number,
|
|
314720
|
+
// Mozilla
|
|
314721
|
+
fileName: this.fileName,
|
|
314722
|
+
lineNumber: this.lineNumber,
|
|
314723
|
+
columnNumber: this.columnNumber,
|
|
314724
|
+
stack: this.stack,
|
|
314725
|
+
// Axios
|
|
314726
|
+
config: _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(this.config),
|
|
314727
|
+
code: this.code,
|
|
314728
|
+
status: this.status,
|
|
314729
|
+
};
|
|
314730
|
+
}
|
|
314524
314731
|
}
|
|
314525
314732
|
|
|
314526
314733
|
// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
|
|
@@ -314542,9 +314749,9 @@ AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
|
|
|
314542
314749
|
|
|
314543
314750
|
/***/ }),
|
|
314544
314751
|
|
|
314545
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314752
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js":
|
|
314546
314753
|
/*!*****************************************************************************************************!*\
|
|
314547
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314754
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js ***!
|
|
314548
314755
|
\*****************************************************************************************************/
|
|
314549
314756
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314550
314757
|
|
|
@@ -314553,8 +314760,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314553
314760
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314554
314761
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314555
314762
|
/* harmony export */ });
|
|
314556
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314557
|
-
/* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314763
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
314764
|
+
/* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseHeaders.js");
|
|
314558
314765
|
|
|
314559
314766
|
|
|
314560
314767
|
|
|
@@ -314609,8 +314816,10 @@ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
|
|
|
314609
314816
|
}
|
|
314610
314817
|
|
|
314611
314818
|
function formatHeader(header) {
|
|
314612
|
-
return header
|
|
314613
|
-
.
|
|
314819
|
+
return header
|
|
314820
|
+
.trim()
|
|
314821
|
+
.toLowerCase()
|
|
314822
|
+
.replace(/([a-z\d])(\w*)/g, (w, char, str) => {
|
|
314614
314823
|
return char.toUpperCase() + str;
|
|
314615
314824
|
});
|
|
314616
314825
|
}
|
|
@@ -314618,12 +314827,12 @@ function formatHeader(header) {
|
|
|
314618
314827
|
function buildAccessors(obj, header) {
|
|
314619
314828
|
const accessorName = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toCamelCase(' ' + header);
|
|
314620
314829
|
|
|
314621
|
-
['get', 'set', 'has'].forEach(methodName => {
|
|
314830
|
+
['get', 'set', 'has'].forEach((methodName) => {
|
|
314622
314831
|
Object.defineProperty(obj, methodName + accessorName, {
|
|
314623
|
-
value: function(arg1, arg2, arg3) {
|
|
314832
|
+
value: function (arg1, arg2, arg3) {
|
|
314624
314833
|
return this[methodName].call(this, header, arg1, arg2, arg3);
|
|
314625
314834
|
},
|
|
314626
|
-
configurable: true
|
|
314835
|
+
configurable: true,
|
|
314627
314836
|
});
|
|
314628
314837
|
});
|
|
314629
314838
|
}
|
|
@@ -314645,7 +314854,12 @@ class AxiosHeaders {
|
|
|
314645
314854
|
|
|
314646
314855
|
const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(self, lHeader);
|
|
314647
314856
|
|
|
314648
|
-
if
|
|
314857
|
+
if (
|
|
314858
|
+
!key ||
|
|
314859
|
+
self[key] === undefined ||
|
|
314860
|
+
_rewrite === true ||
|
|
314861
|
+
(_rewrite === undefined && self[key] !== false)
|
|
314862
|
+
) {
|
|
314649
314863
|
self[key || _header] = normalizeValue(_value);
|
|
314650
314864
|
}
|
|
314651
314865
|
}
|
|
@@ -314654,21 +314868,26 @@ class AxiosHeaders {
|
|
|
314654
314868
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
|
|
314655
314869
|
|
|
314656
314870
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(header) || header instanceof this.constructor) {
|
|
314657
|
-
setHeaders(header, valueOrRewrite)
|
|
314658
|
-
} else if(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
314871
|
+
setHeaders(header, valueOrRewrite);
|
|
314872
|
+
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
314659
314873
|
setHeaders((0,_helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"])(header), valueOrRewrite);
|
|
314660
314874
|
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(header) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isIterable(header)) {
|
|
314661
|
-
let obj = {},
|
|
314875
|
+
let obj = {},
|
|
314876
|
+
dest,
|
|
314877
|
+
key;
|
|
314662
314878
|
for (const entry of header) {
|
|
314663
314879
|
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(entry)) {
|
|
314664
314880
|
throw TypeError('Object iterator must return a key-value pair');
|
|
314665
314881
|
}
|
|
314666
314882
|
|
|
314667
|
-
obj[key = entry[0]] = (dest = obj[key])
|
|
314668
|
-
|
|
314883
|
+
obj[(key = entry[0])] = (dest = obj[key])
|
|
314884
|
+
? _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(dest)
|
|
314885
|
+
? [...dest, entry[1]]
|
|
314886
|
+
: [dest, entry[1]]
|
|
314887
|
+
: entry[1];
|
|
314669
314888
|
}
|
|
314670
314889
|
|
|
314671
|
-
setHeaders(obj, valueOrRewrite)
|
|
314890
|
+
setHeaders(obj, valueOrRewrite);
|
|
314672
314891
|
} else {
|
|
314673
314892
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
314674
314893
|
}
|
|
@@ -314712,7 +314931,11 @@ class AxiosHeaders {
|
|
|
314712
314931
|
if (header) {
|
|
314713
314932
|
const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(this, header);
|
|
314714
314933
|
|
|
314715
|
-
return !!(
|
|
314934
|
+
return !!(
|
|
314935
|
+
key &&
|
|
314936
|
+
this[key] !== undefined &&
|
|
314937
|
+
(!matcher || matchHeaderValue(this, this[key], key, matcher))
|
|
314938
|
+
);
|
|
314716
314939
|
}
|
|
314717
314940
|
|
|
314718
314941
|
return false;
|
|
@@ -314752,7 +314975,7 @@ class AxiosHeaders {
|
|
|
314752
314975
|
|
|
314753
314976
|
while (i--) {
|
|
314754
314977
|
const key = keys[i];
|
|
314755
|
-
if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
314978
|
+
if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
314756
314979
|
delete this[key];
|
|
314757
314980
|
deleted = true;
|
|
314758
314981
|
}
|
|
@@ -314796,7 +315019,9 @@ class AxiosHeaders {
|
|
|
314796
315019
|
const obj = Object.create(null);
|
|
314797
315020
|
|
|
314798
315021
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(this, (value, header) => {
|
|
314799
|
-
value != null &&
|
|
315022
|
+
value != null &&
|
|
315023
|
+
value !== false &&
|
|
315024
|
+
(obj[header] = asStrings && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) ? value.join(', ') : value);
|
|
314800
315025
|
});
|
|
314801
315026
|
|
|
314802
315027
|
return obj;
|
|
@@ -314807,11 +315032,13 @@ class AxiosHeaders {
|
|
|
314807
315032
|
}
|
|
314808
315033
|
|
|
314809
315034
|
toString() {
|
|
314810
|
-
return Object.entries(this.toJSON())
|
|
315035
|
+
return Object.entries(this.toJSON())
|
|
315036
|
+
.map(([header, value]) => header + ': ' + value)
|
|
315037
|
+
.join('\n');
|
|
314811
315038
|
}
|
|
314812
315039
|
|
|
314813
315040
|
getSetCookie() {
|
|
314814
|
-
return this.get(
|
|
315041
|
+
return this.get('set-cookie') || [];
|
|
314815
315042
|
}
|
|
314816
315043
|
|
|
314817
315044
|
get [Symbol.toStringTag]() {
|
|
@@ -314831,9 +315058,12 @@ class AxiosHeaders {
|
|
|
314831
315058
|
}
|
|
314832
315059
|
|
|
314833
315060
|
static accessor(header) {
|
|
314834
|
-
const internals =
|
|
314835
|
-
|
|
314836
|
-
|
|
315061
|
+
const internals =
|
|
315062
|
+
(this[$internals] =
|
|
315063
|
+
this[$internals] =
|
|
315064
|
+
{
|
|
315065
|
+
accessors: {},
|
|
315066
|
+
});
|
|
314837
315067
|
|
|
314838
315068
|
const accessors = internals.accessors;
|
|
314839
315069
|
const prototype = this.prototype;
|
|
@@ -314853,17 +315083,24 @@ class AxiosHeaders {
|
|
|
314853
315083
|
}
|
|
314854
315084
|
}
|
|
314855
315085
|
|
|
314856
|
-
AxiosHeaders.accessor([
|
|
315086
|
+
AxiosHeaders.accessor([
|
|
315087
|
+
'Content-Type',
|
|
315088
|
+
'Content-Length',
|
|
315089
|
+
'Accept',
|
|
315090
|
+
'Accept-Encoding',
|
|
315091
|
+
'User-Agent',
|
|
315092
|
+
'Authorization',
|
|
315093
|
+
]);
|
|
314857
315094
|
|
|
314858
315095
|
// reserved names hotfix
|
|
314859
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
|
315096
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
314860
315097
|
let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
|
|
314861
315098
|
return {
|
|
314862
315099
|
get: () => value,
|
|
314863
315100
|
set(headerValue) {
|
|
314864
315101
|
this[mapped] = headerValue;
|
|
314865
|
-
}
|
|
314866
|
-
}
|
|
315102
|
+
},
|
|
315103
|
+
};
|
|
314867
315104
|
});
|
|
314868
315105
|
|
|
314869
315106
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
|
|
@@ -314873,9 +315110,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
|
|
|
314873
315110
|
|
|
314874
315111
|
/***/ }),
|
|
314875
315112
|
|
|
314876
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315113
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/InterceptorManager.js":
|
|
314877
315114
|
/*!***********************************************************************************************************!*\
|
|
314878
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315115
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/InterceptorManager.js ***!
|
|
314879
315116
|
\***********************************************************************************************************/
|
|
314880
315117
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314881
315118
|
|
|
@@ -314884,7 +315121,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314884
315121
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314885
315122
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
314886
315123
|
/* harmony export */ });
|
|
314887
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315124
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
314888
315125
|
|
|
314889
315126
|
|
|
314890
315127
|
|
|
@@ -314908,7 +315145,7 @@ class InterceptorManager {
|
|
|
314908
315145
|
fulfilled,
|
|
314909
315146
|
rejected,
|
|
314910
315147
|
synchronous: options ? options.synchronous : false,
|
|
314911
|
-
runWhen: options ? options.runWhen : null
|
|
315148
|
+
runWhen: options ? options.runWhen : null,
|
|
314912
315149
|
});
|
|
314913
315150
|
return this.handlers.length - 1;
|
|
314914
315151
|
}
|
|
@@ -314961,9 +315198,9 @@ class InterceptorManager {
|
|
|
314961
315198
|
|
|
314962
315199
|
/***/ }),
|
|
314963
315200
|
|
|
314964
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315201
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js":
|
|
314965
315202
|
/*!******************************************************************************************************!*\
|
|
314966
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315203
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js ***!
|
|
314967
315204
|
\******************************************************************************************************/
|
|
314968
315205
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
314969
315206
|
|
|
@@ -314972,8 +315209,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
314972
315209
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
314973
315210
|
/* harmony export */ "default": () => (/* binding */ buildFullPath)
|
|
314974
315211
|
/* harmony export */ });
|
|
314975
|
-
/* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
314976
|
-
/* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315212
|
+
/* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAbsoluteURL.js");
|
|
315213
|
+
/* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js");
|
|
314977
315214
|
|
|
314978
315215
|
|
|
314979
315216
|
|
|
@@ -315000,9 +315237,9 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
315000
315237
|
|
|
315001
315238
|
/***/ }),
|
|
315002
315239
|
|
|
315003
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315240
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js":
|
|
315004
315241
|
/*!********************************************************************************************************!*\
|
|
315005
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315242
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/dispatchRequest.js ***!
|
|
315006
315243
|
\********************************************************************************************************/
|
|
315007
315244
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315008
315245
|
|
|
@@ -315011,12 +315248,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315011
315248
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315012
315249
|
/* harmony export */ "default": () => (/* binding */ dispatchRequest)
|
|
315013
315250
|
/* harmony export */ });
|
|
315014
|
-
/* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315015
|
-
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315016
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315017
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315018
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315019
|
-
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315251
|
+
/* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js");
|
|
315252
|
+
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/isCancel.js");
|
|
315253
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js");
|
|
315254
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js");
|
|
315255
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
315256
|
+
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/adapters/adapters.js");
|
|
315020
315257
|
|
|
315021
315258
|
|
|
315022
315259
|
|
|
@@ -315056,10 +315293,7 @@ function dispatchRequest(config) {
|
|
|
315056
315293
|
config.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(config.headers);
|
|
315057
315294
|
|
|
315058
315295
|
// Transform request data
|
|
315059
|
-
config.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(
|
|
315060
|
-
config,
|
|
315061
|
-
config.transformRequest
|
|
315062
|
-
);
|
|
315296
|
+
config.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(config, config.transformRequest);
|
|
315063
315297
|
|
|
315064
315298
|
if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
|
|
315065
315299
|
config.headers.setContentType('application/x-www-form-urlencoded', false);
|
|
@@ -315067,44 +315301,43 @@ function dispatchRequest(config) {
|
|
|
315067
315301
|
|
|
315068
315302
|
const adapter = _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__["default"].getAdapter(config.adapter || _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__["default"].adapter, config);
|
|
315069
315303
|
|
|
315070
|
-
return adapter(config).then(
|
|
315071
|
-
|
|
315072
|
-
|
|
315073
|
-
// Transform response data
|
|
315074
|
-
response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(
|
|
315075
|
-
config,
|
|
315076
|
-
config.transformResponse,
|
|
315077
|
-
response
|
|
315078
|
-
);
|
|
315079
|
-
|
|
315080
|
-
response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(response.headers);
|
|
315081
|
-
|
|
315082
|
-
return response;
|
|
315083
|
-
}, function onAdapterRejection(reason) {
|
|
315084
|
-
if (!(0,_cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__["default"])(reason)) {
|
|
315304
|
+
return adapter(config).then(
|
|
315305
|
+
function onAdapterResolution(response) {
|
|
315085
315306
|
throwIfCancellationRequested(config);
|
|
315086
315307
|
|
|
315087
315308
|
// Transform response data
|
|
315088
|
-
|
|
315089
|
-
|
|
315090
|
-
|
|
315091
|
-
|
|
315092
|
-
|
|
315093
|
-
|
|
315094
|
-
|
|
315309
|
+
response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(config, config.transformResponse, response);
|
|
315310
|
+
|
|
315311
|
+
response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(response.headers);
|
|
315312
|
+
|
|
315313
|
+
return response;
|
|
315314
|
+
},
|
|
315315
|
+
function onAdapterRejection(reason) {
|
|
315316
|
+
if (!(0,_cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__["default"])(reason)) {
|
|
315317
|
+
throwIfCancellationRequested(config);
|
|
315318
|
+
|
|
315319
|
+
// Transform response data
|
|
315320
|
+
if (reason && reason.response) {
|
|
315321
|
+
reason.response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_2__["default"].call(
|
|
315322
|
+
config,
|
|
315323
|
+
config.transformResponse,
|
|
315324
|
+
reason.response
|
|
315325
|
+
);
|
|
315326
|
+
reason.response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(reason.response.headers);
|
|
315327
|
+
}
|
|
315095
315328
|
}
|
|
315096
|
-
}
|
|
315097
315329
|
|
|
315098
|
-
|
|
315099
|
-
|
|
315330
|
+
return Promise.reject(reason);
|
|
315331
|
+
}
|
|
315332
|
+
);
|
|
315100
315333
|
}
|
|
315101
315334
|
|
|
315102
315335
|
|
|
315103
315336
|
/***/ }),
|
|
315104
315337
|
|
|
315105
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315338
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js":
|
|
315106
315339
|
/*!****************************************************************************************************!*\
|
|
315107
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315340
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js ***!
|
|
315108
315341
|
\****************************************************************************************************/
|
|
315109
315342
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315110
315343
|
|
|
@@ -315113,15 +315346,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315113
315346
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315114
315347
|
/* harmony export */ "default": () => (/* binding */ mergeConfig)
|
|
315115
315348
|
/* harmony export */ });
|
|
315116
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315117
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315349
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
315350
|
+
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
315118
315351
|
|
|
315119
315352
|
|
|
315120
315353
|
|
|
315121
315354
|
|
|
315122
315355
|
|
|
315123
|
-
const headersToObject = (thing) =>
|
|
315124
|
-
thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? { ...thing } : thing;
|
|
315356
|
+
const headersToObject = (thing) => (thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? { ...thing } : thing);
|
|
315125
315357
|
|
|
315126
315358
|
/**
|
|
315127
315359
|
* Config-specific merge-function which creates a new config-object
|
|
@@ -315214,23 +315446,12 @@ function mergeConfig(config1, config2) {
|
|
|
315214
315446
|
mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),
|
|
315215
315447
|
};
|
|
315216
315448
|
|
|
315217
|
-
_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].forEach(
|
|
315218
|
-
|
|
315219
|
-
|
|
315220
|
-
|
|
315221
|
-
|
|
315222
|
-
|
|
315223
|
-
prop === "prototype"
|
|
315224
|
-
)
|
|
315225
|
-
return;
|
|
315226
|
-
const merge = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(mergeMap, prop)
|
|
315227
|
-
? mergeMap[prop]
|
|
315228
|
-
: mergeDeepProperties;
|
|
315229
|
-
const configValue = merge(config1[prop], config2[prop], prop);
|
|
315230
|
-
(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(configValue) && merge !== mergeDirectKeys) ||
|
|
315231
|
-
(config[prop] = configValue);
|
|
315232
|
-
},
|
|
315233
|
-
);
|
|
315449
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
315450
|
+
if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
|
|
315451
|
+
const merge = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
315452
|
+
const configValue = merge(config1[prop], config2[prop], prop);
|
|
315453
|
+
(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
|
|
315454
|
+
});
|
|
315234
315455
|
|
|
315235
315456
|
return config;
|
|
315236
315457
|
}
|
|
@@ -315238,9 +315459,9 @@ function mergeConfig(config1, config2) {
|
|
|
315238
315459
|
|
|
315239
315460
|
/***/ }),
|
|
315240
315461
|
|
|
315241
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315462
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js":
|
|
315242
315463
|
/*!***********************************************************************************************!*\
|
|
315243
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315464
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/settle.js ***!
|
|
315244
315465
|
\***********************************************************************************************/
|
|
315245
315466
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315246
315467
|
|
|
@@ -315249,7 +315470,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315249
315470
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315250
315471
|
/* harmony export */ "default": () => (/* binding */ settle)
|
|
315251
315472
|
/* harmony export */ });
|
|
315252
|
-
/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315473
|
+
/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
315253
315474
|
|
|
315254
315475
|
|
|
315255
315476
|
|
|
@@ -315268,22 +315489,26 @@ function settle(resolve, reject, response) {
|
|
|
315268
315489
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
315269
315490
|
resolve(response);
|
|
315270
315491
|
} else {
|
|
315271
|
-
reject(
|
|
315272
|
-
|
|
315273
|
-
|
|
315274
|
-
|
|
315275
|
-
|
|
315276
|
-
|
|
315277
|
-
|
|
315492
|
+
reject(
|
|
315493
|
+
new _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](
|
|
315494
|
+
'Request failed with status code ' + response.status,
|
|
315495
|
+
[_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_REQUEST, _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_RESPONSE][
|
|
315496
|
+
Math.floor(response.status / 100) - 4
|
|
315497
|
+
],
|
|
315498
|
+
response.config,
|
|
315499
|
+
response.request,
|
|
315500
|
+
response
|
|
315501
|
+
)
|
|
315502
|
+
);
|
|
315278
315503
|
}
|
|
315279
315504
|
}
|
|
315280
315505
|
|
|
315281
315506
|
|
|
315282
315507
|
/***/ }),
|
|
315283
315508
|
|
|
315284
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315509
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js":
|
|
315285
315510
|
/*!******************************************************************************************************!*\
|
|
315286
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315511
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/transformData.js ***!
|
|
315287
315512
|
\******************************************************************************************************/
|
|
315288
315513
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315289
315514
|
|
|
@@ -315292,9 +315517,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315292
315517
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315293
315518
|
/* harmony export */ "default": () => (/* binding */ transformData)
|
|
315294
315519
|
/* harmony export */ });
|
|
315295
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315296
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315297
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315520
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
315521
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js");
|
|
315522
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
315298
315523
|
|
|
315299
315524
|
|
|
315300
315525
|
|
|
@@ -315327,9 +315552,9 @@ function transformData(fns, response) {
|
|
|
315327
315552
|
|
|
315328
315553
|
/***/ }),
|
|
315329
315554
|
|
|
315330
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315555
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js":
|
|
315331
315556
|
/*!**************************************************************************************************!*\
|
|
315332
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315557
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/index.js ***!
|
|
315333
315558
|
\**************************************************************************************************/
|
|
315334
315559
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315335
315560
|
|
|
@@ -315338,13 +315563,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315338
315563
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315339
315564
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315340
315565
|
/* harmony export */ });
|
|
315341
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315342
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315343
|
-
/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315344
|
-
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315345
|
-
/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315346
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315347
|
-
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315566
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
315567
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
315568
|
+
/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js");
|
|
315569
|
+
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js");
|
|
315570
|
+
/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toURLEncodedForm.js");
|
|
315571
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
315572
|
+
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js");
|
|
315348
315573
|
|
|
315349
315574
|
|
|
315350
315575
|
|
|
@@ -315381,96 +315606,107 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
315381
315606
|
}
|
|
315382
315607
|
|
|
315383
315608
|
const defaults = {
|
|
315384
|
-
|
|
315385
315609
|
transitional: _transitional_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
315386
315610
|
|
|
315387
315611
|
adapter: ['xhr', 'http', 'fetch'],
|
|
315388
315612
|
|
|
315389
|
-
transformRequest: [
|
|
315390
|
-
|
|
315391
|
-
|
|
315392
|
-
|
|
315613
|
+
transformRequest: [
|
|
315614
|
+
function transformRequest(data, headers) {
|
|
315615
|
+
const contentType = headers.getContentType() || '';
|
|
315616
|
+
const hasJSONContentType = contentType.indexOf('application/json') > -1;
|
|
315617
|
+
const isObjectPayload = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(data);
|
|
315393
315618
|
|
|
315394
|
-
|
|
315395
|
-
|
|
315396
|
-
|
|
315619
|
+
if (isObjectPayload && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isHTMLForm(data)) {
|
|
315620
|
+
data = new FormData(data);
|
|
315621
|
+
}
|
|
315397
315622
|
|
|
315398
|
-
|
|
315623
|
+
const isFormData = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(data);
|
|
315399
315624
|
|
|
315400
|
-
|
|
315401
|
-
|
|
315402
|
-
|
|
315625
|
+
if (isFormData) {
|
|
315626
|
+
return hasJSONContentType ? JSON.stringify((0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__["default"])(data)) : data;
|
|
315627
|
+
}
|
|
315403
315628
|
|
|
315404
|
-
|
|
315405
|
-
|
|
315406
|
-
|
|
315407
|
-
|
|
315408
|
-
|
|
315409
|
-
|
|
315410
|
-
|
|
315411
|
-
|
|
315412
|
-
|
|
315413
|
-
|
|
315414
|
-
|
|
315415
|
-
|
|
315416
|
-
|
|
315417
|
-
|
|
315418
|
-
|
|
315419
|
-
|
|
315629
|
+
if (
|
|
315630
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBuffer(data) ||
|
|
315631
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBuffer(data) ||
|
|
315632
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isStream(data) ||
|
|
315633
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFile(data) ||
|
|
315634
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBlob(data) ||
|
|
315635
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)
|
|
315636
|
+
) {
|
|
315637
|
+
return data;
|
|
315638
|
+
}
|
|
315639
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBufferView(data)) {
|
|
315640
|
+
return data.buffer;
|
|
315641
|
+
}
|
|
315642
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(data)) {
|
|
315643
|
+
headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
|
|
315644
|
+
return data.toString();
|
|
315645
|
+
}
|
|
315420
315646
|
|
|
315421
|
-
|
|
315647
|
+
let isFileList;
|
|
315422
315648
|
|
|
315423
|
-
|
|
315424
|
-
|
|
315425
|
-
|
|
315426
|
-
|
|
315649
|
+
if (isObjectPayload) {
|
|
315650
|
+
if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
|
|
315651
|
+
return (0,_helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__["default"])(data, this.formSerializer).toString();
|
|
315652
|
+
}
|
|
315427
315653
|
|
|
315428
|
-
|
|
315429
|
-
|
|
315654
|
+
if (
|
|
315655
|
+
(isFileList = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(data)) ||
|
|
315656
|
+
contentType.indexOf('multipart/form-data') > -1
|
|
315657
|
+
) {
|
|
315658
|
+
const _FormData = this.env && this.env.FormData;
|
|
315430
315659
|
|
|
315431
|
-
|
|
315432
|
-
|
|
315433
|
-
|
|
315434
|
-
|
|
315435
|
-
|
|
315660
|
+
return (0,_helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__["default"])(
|
|
315661
|
+
isFileList ? { 'files[]': data } : data,
|
|
315662
|
+
_FormData && new _FormData(),
|
|
315663
|
+
this.formSerializer
|
|
315664
|
+
);
|
|
315665
|
+
}
|
|
315436
315666
|
}
|
|
315437
|
-
}
|
|
315438
315667
|
|
|
315439
|
-
|
|
315440
|
-
|
|
315441
|
-
|
|
315442
|
-
|
|
315668
|
+
if (isObjectPayload || hasJSONContentType) {
|
|
315669
|
+
headers.setContentType('application/json', false);
|
|
315670
|
+
return stringifySafely(data);
|
|
315671
|
+
}
|
|
315443
315672
|
|
|
315444
|
-
|
|
315445
|
-
|
|
315673
|
+
return data;
|
|
315674
|
+
},
|
|
315675
|
+
],
|
|
315446
315676
|
|
|
315447
|
-
transformResponse: [
|
|
315448
|
-
|
|
315449
|
-
|
|
315450
|
-
|
|
315677
|
+
transformResponse: [
|
|
315678
|
+
function transformResponse(data) {
|
|
315679
|
+
const transitional = this.transitional || defaults.transitional;
|
|
315680
|
+
const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
315681
|
+
const JSONRequested = this.responseType === 'json';
|
|
315451
315682
|
|
|
315452
|
-
|
|
315453
|
-
|
|
315454
|
-
|
|
315683
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)) {
|
|
315684
|
+
return data;
|
|
315685
|
+
}
|
|
315455
315686
|
|
|
315456
|
-
|
|
315457
|
-
|
|
315458
|
-
|
|
315687
|
+
if (
|
|
315688
|
+
data &&
|
|
315689
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(data) &&
|
|
315690
|
+
((forcedJSONParsing && !this.responseType) || JSONRequested)
|
|
315691
|
+
) {
|
|
315692
|
+
const silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
315693
|
+
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
315459
315694
|
|
|
315460
|
-
|
|
315461
|
-
|
|
315462
|
-
|
|
315463
|
-
|
|
315464
|
-
|
|
315465
|
-
|
|
315695
|
+
try {
|
|
315696
|
+
return JSON.parse(data, this.parseReviver);
|
|
315697
|
+
} catch (e) {
|
|
315698
|
+
if (strictJSONParsing) {
|
|
315699
|
+
if (e.name === 'SyntaxError') {
|
|
315700
|
+
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.response);
|
|
315701
|
+
}
|
|
315702
|
+
throw e;
|
|
315466
315703
|
}
|
|
315467
|
-
throw e;
|
|
315468
315704
|
}
|
|
315469
315705
|
}
|
|
315470
|
-
}
|
|
315471
315706
|
|
|
315472
|
-
|
|
315473
|
-
|
|
315707
|
+
return data;
|
|
315708
|
+
},
|
|
315709
|
+
],
|
|
315474
315710
|
|
|
315475
315711
|
/**
|
|
315476
315712
|
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
@@ -315486,7 +315722,7 @@ const defaults = {
|
|
|
315486
315722
|
|
|
315487
315723
|
env: {
|
|
315488
315724
|
FormData: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.FormData,
|
|
315489
|
-
Blob: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.Blob
|
|
315725
|
+
Blob: _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].classes.Blob,
|
|
315490
315726
|
},
|
|
315491
315727
|
|
|
315492
315728
|
validateStatus: function validateStatus(status) {
|
|
@@ -315495,10 +315731,10 @@ const defaults = {
|
|
|
315495
315731
|
|
|
315496
315732
|
headers: {
|
|
315497
315733
|
common: {
|
|
315498
|
-
|
|
315499
|
-
'Content-Type': undefined
|
|
315500
|
-
}
|
|
315501
|
-
}
|
|
315734
|
+
Accept: 'application/json, text/plain, */*',
|
|
315735
|
+
'Content-Type': undefined,
|
|
315736
|
+
},
|
|
315737
|
+
},
|
|
315502
315738
|
};
|
|
315503
315739
|
|
|
315504
315740
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
|
|
@@ -315510,9 +315746,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
|
|
|
315510
315746
|
|
|
315511
315747
|
/***/ }),
|
|
315512
315748
|
|
|
315513
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315749
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js":
|
|
315514
315750
|
/*!*********************************************************************************************************!*\
|
|
315515
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315751
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/defaults/transitional.js ***!
|
|
315516
315752
|
\*********************************************************************************************************/
|
|
315517
315753
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315518
315754
|
|
|
@@ -315527,15 +315763,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315527
315763
|
silentJSONParsing: true,
|
|
315528
315764
|
forcedJSONParsing: true,
|
|
315529
315765
|
clarifyTimeoutError: false,
|
|
315530
|
-
legacyInterceptorReqResOrdering: true
|
|
315766
|
+
legacyInterceptorReqResOrdering: true,
|
|
315531
315767
|
});
|
|
315532
315768
|
|
|
315533
315769
|
|
|
315534
315770
|
/***/ }),
|
|
315535
315771
|
|
|
315536
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315772
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js":
|
|
315537
315773
|
/*!********************************************************************************************!*\
|
|
315538
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315774
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js ***!
|
|
315539
315775
|
\********************************************************************************************/
|
|
315540
315776
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315541
315777
|
|
|
@@ -315544,13 +315780,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315544
315780
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315545
315781
|
/* harmony export */ VERSION: () => (/* binding */ VERSION)
|
|
315546
315782
|
/* harmony export */ });
|
|
315547
|
-
const VERSION = "1.13.
|
|
315783
|
+
const VERSION = "1.13.6";
|
|
315548
315784
|
|
|
315549
315785
|
/***/ }),
|
|
315550
315786
|
|
|
315551
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315787
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
|
|
315552
315788
|
/*!****************************************************************************************************************!*\
|
|
315553
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315789
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
|
|
315554
315790
|
\****************************************************************************************************************/
|
|
315555
315791
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315556
315792
|
|
|
@@ -315559,7 +315795,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315559
315795
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315560
315796
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315561
315797
|
/* harmony export */ });
|
|
315562
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315798
|
+
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js");
|
|
315563
315799
|
|
|
315564
315800
|
|
|
315565
315801
|
|
|
@@ -315580,7 +315816,7 @@ function encode(str) {
|
|
|
315580
315816
|
')': '%29',
|
|
315581
315817
|
'~': '%7E',
|
|
315582
315818
|
'%20': '+',
|
|
315583
|
-
'%00': '\x00'
|
|
315819
|
+
'%00': '\x00',
|
|
315584
315820
|
};
|
|
315585
315821
|
return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
|
|
315586
315822
|
return charMap[match];
|
|
@@ -315608,13 +315844,17 @@ prototype.append = function append(name, value) {
|
|
|
315608
315844
|
};
|
|
315609
315845
|
|
|
315610
315846
|
prototype.toString = function toString(encoder) {
|
|
315611
|
-
const _encode = encoder
|
|
315612
|
-
|
|
315613
|
-
|
|
315847
|
+
const _encode = encoder
|
|
315848
|
+
? function (value) {
|
|
315849
|
+
return encoder.call(this, value, encode);
|
|
315850
|
+
}
|
|
315851
|
+
: encode;
|
|
315614
315852
|
|
|
315615
|
-
return this._pairs
|
|
315616
|
-
|
|
315617
|
-
|
|
315853
|
+
return this._pairs
|
|
315854
|
+
.map(function each(pair) {
|
|
315855
|
+
return _encode(pair[0]) + '=' + _encode(pair[1]);
|
|
315856
|
+
}, '')
|
|
315857
|
+
.join('&');
|
|
315618
315858
|
};
|
|
315619
315859
|
|
|
315620
315860
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosURLSearchParams);
|
|
@@ -315622,9 +315862,9 @@ prototype.toString = function toString(encoder) {
|
|
|
315622
315862
|
|
|
315623
315863
|
/***/ }),
|
|
315624
315864
|
|
|
315625
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315865
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js":
|
|
315626
315866
|
/*!**********************************************************************************************************!*\
|
|
315627
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315867
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
|
|
315628
315868
|
\**********************************************************************************************************/
|
|
315629
315869
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315630
315870
|
|
|
@@ -315714,9 +315954,9 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
315714
315954
|
|
|
315715
315955
|
/***/ }),
|
|
315716
315956
|
|
|
315717
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315957
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js":
|
|
315718
315958
|
/*!************************************************************************************************!*\
|
|
315719
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315959
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js ***!
|
|
315720
315960
|
\************************************************************************************************/
|
|
315721
315961
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315722
315962
|
|
|
@@ -315743,9 +315983,9 @@ function bind(fn, thisArg) {
|
|
|
315743
315983
|
|
|
315744
315984
|
/***/ }),
|
|
315745
315985
|
|
|
315746
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315986
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js":
|
|
315747
315987
|
/*!****************************************************************************************************!*\
|
|
315748
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315988
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js ***!
|
|
315749
315989
|
\****************************************************************************************************/
|
|
315750
315990
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315751
315991
|
|
|
@@ -315754,8 +315994,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315754
315994
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315755
315995
|
/* harmony export */ "default": () => (/* binding */ buildURL)
|
|
315756
315996
|
/* harmony export */ });
|
|
315757
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315758
|
-
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315997
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
315998
|
+
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
|
|
315759
315999
|
|
|
315760
316000
|
|
|
315761
316001
|
|
|
@@ -315770,11 +316010,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315770
316010
|
* @returns {string} The encoded value.
|
|
315771
316011
|
*/
|
|
315772
316012
|
function encode(val) {
|
|
315773
|
-
return encodeURIComponent(val)
|
|
315774
|
-
replace(/%3A/gi, ':')
|
|
315775
|
-
replace(/%24/g, '$')
|
|
315776
|
-
replace(/%2C/gi, ',')
|
|
315777
|
-
replace(/%20/g, '+');
|
|
316013
|
+
return encodeURIComponent(val)
|
|
316014
|
+
.replace(/%3A/gi, ':')
|
|
316015
|
+
.replace(/%24/g, '$')
|
|
316016
|
+
.replace(/%2C/gi, ',')
|
|
316017
|
+
.replace(/%20/g, '+');
|
|
315778
316018
|
}
|
|
315779
316019
|
|
|
315780
316020
|
/**
|
|
@@ -315791,11 +316031,13 @@ function buildURL(url, params, options) {
|
|
|
315791
316031
|
return url;
|
|
315792
316032
|
}
|
|
315793
316033
|
|
|
315794
|
-
const _encode = options && options.encode || encode;
|
|
316034
|
+
const _encode = (options && options.encode) || encode;
|
|
315795
316035
|
|
|
315796
|
-
const _options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(options)
|
|
315797
|
-
|
|
315798
|
-
|
|
316036
|
+
const _options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(options)
|
|
316037
|
+
? {
|
|
316038
|
+
serialize: options,
|
|
316039
|
+
}
|
|
316040
|
+
: options;
|
|
315799
316041
|
|
|
315800
316042
|
const serializeFn = _options && _options.serialize;
|
|
315801
316043
|
|
|
@@ -315804,13 +316046,13 @@ function buildURL(url, params, options) {
|
|
|
315804
316046
|
if (serializeFn) {
|
|
315805
316047
|
serializedParams = serializeFn(params, _options);
|
|
315806
316048
|
} else {
|
|
315807
|
-
serializedParams = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(params)
|
|
315808
|
-
params.toString()
|
|
315809
|
-
new _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__["default"](params, _options).toString(_encode);
|
|
316049
|
+
serializedParams = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(params)
|
|
316050
|
+
? params.toString()
|
|
316051
|
+
: new _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__["default"](params, _options).toString(_encode);
|
|
315810
316052
|
}
|
|
315811
316053
|
|
|
315812
316054
|
if (serializedParams) {
|
|
315813
|
-
const hashmarkIndex = url.indexOf(
|
|
316055
|
+
const hashmarkIndex = url.indexOf('#');
|
|
315814
316056
|
|
|
315815
316057
|
if (hashmarkIndex !== -1) {
|
|
315816
316058
|
url = url.slice(0, hashmarkIndex);
|
|
@@ -315824,9 +316066,9 @@ function buildURL(url, params, options) {
|
|
|
315824
316066
|
|
|
315825
316067
|
/***/ }),
|
|
315826
316068
|
|
|
315827
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316069
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js":
|
|
315828
316070
|
/*!*******************************************************************************************************!*\
|
|
315829
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316071
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/combineURLs.js ***!
|
|
315830
316072
|
\*******************************************************************************************************/
|
|
315831
316073
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315832
316074
|
|
|
@@ -315854,9 +316096,9 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
315854
316096
|
|
|
315855
316097
|
/***/ }),
|
|
315856
316098
|
|
|
315857
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316099
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js":
|
|
315858
316100
|
/*!**********************************************************************************************************!*\
|
|
315859
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316101
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/composeSignals.js ***!
|
|
315860
316102
|
\**********************************************************************************************************/
|
|
315861
316103
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315862
316104
|
|
|
@@ -315865,15 +316107,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315865
316107
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315866
316108
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315867
316109
|
/* harmony export */ });
|
|
315868
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315869
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315870
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316110
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/cancel/CanceledError.js");
|
|
316111
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
316112
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
315871
316113
|
|
|
315872
316114
|
|
|
315873
316115
|
|
|
315874
316116
|
|
|
315875
316117
|
const composeSignals = (signals, timeout) => {
|
|
315876
|
-
const {length} = (signals = signals ? signals.filter(Boolean) : []);
|
|
316118
|
+
const { length } = (signals = signals ? signals.filter(Boolean) : []);
|
|
315877
316119
|
|
|
315878
316120
|
if (timeout || length) {
|
|
315879
316121
|
let controller = new AbortController();
|
|
@@ -315885,44 +316127,52 @@ const composeSignals = (signals, timeout) => {
|
|
|
315885
316127
|
aborted = true;
|
|
315886
316128
|
unsubscribe();
|
|
315887
316129
|
const err = reason instanceof Error ? reason : this.reason;
|
|
315888
|
-
controller.abort(
|
|
316130
|
+
controller.abort(
|
|
316131
|
+
err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"]
|
|
316132
|
+
? err
|
|
316133
|
+
: new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err)
|
|
316134
|
+
);
|
|
315889
316135
|
}
|
|
315890
|
-
}
|
|
316136
|
+
};
|
|
315891
316137
|
|
|
315892
|
-
let timer =
|
|
315893
|
-
|
|
315894
|
-
|
|
315895
|
-
|
|
316138
|
+
let timer =
|
|
316139
|
+
timeout &&
|
|
316140
|
+
setTimeout(() => {
|
|
316141
|
+
timer = null;
|
|
316142
|
+
onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout of ${timeout}ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT));
|
|
316143
|
+
}, timeout);
|
|
315896
316144
|
|
|
315897
316145
|
const unsubscribe = () => {
|
|
315898
316146
|
if (signals) {
|
|
315899
316147
|
timer && clearTimeout(timer);
|
|
315900
316148
|
timer = null;
|
|
315901
|
-
signals.forEach(signal => {
|
|
315902
|
-
signal.unsubscribe
|
|
316149
|
+
signals.forEach((signal) => {
|
|
316150
|
+
signal.unsubscribe
|
|
316151
|
+
? signal.unsubscribe(onabort)
|
|
316152
|
+
: signal.removeEventListener('abort', onabort);
|
|
315903
316153
|
});
|
|
315904
316154
|
signals = null;
|
|
315905
316155
|
}
|
|
315906
|
-
}
|
|
316156
|
+
};
|
|
315907
316157
|
|
|
315908
316158
|
signals.forEach((signal) => signal.addEventListener('abort', onabort));
|
|
315909
316159
|
|
|
315910
|
-
const {signal} = controller;
|
|
316160
|
+
const { signal } = controller;
|
|
315911
316161
|
|
|
315912
316162
|
signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe);
|
|
315913
316163
|
|
|
315914
316164
|
return signal;
|
|
315915
316165
|
}
|
|
315916
|
-
}
|
|
316166
|
+
};
|
|
315917
316167
|
|
|
315918
316168
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);
|
|
315919
316169
|
|
|
315920
316170
|
|
|
315921
316171
|
/***/ }),
|
|
315922
316172
|
|
|
315923
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316173
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js":
|
|
315924
316174
|
/*!***************************************************************************************************!*\
|
|
315925
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316175
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js ***!
|
|
315926
316176
|
\***************************************************************************************************/
|
|
315927
316177
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315928
316178
|
|
|
@@ -315931,68 +316181,63 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315931
316181
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
315932
316182
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
315933
316183
|
/* harmony export */ });
|
|
315934
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315935
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
315936
|
-
|
|
316184
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316185
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
315937
316186
|
|
|
315938
316187
|
|
|
315939
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv ?
|
|
315940
316188
|
|
|
315941
|
-
|
|
315942
|
-
|
|
315943
|
-
|
|
315944
|
-
|
|
316189
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316190
|
+
? // Standard browser envs support document.cookie
|
|
316191
|
+
{
|
|
316192
|
+
write(name, value, expires, path, domain, secure, sameSite) {
|
|
316193
|
+
if (typeof document === 'undefined') return;
|
|
315945
316194
|
|
|
315946
|
-
|
|
316195
|
+
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
315947
316196
|
|
|
315948
|
-
|
|
315949
|
-
|
|
315950
|
-
|
|
315951
|
-
|
|
315952
|
-
|
|
315953
|
-
|
|
315954
|
-
|
|
315955
|
-
|
|
315956
|
-
|
|
315957
|
-
|
|
315958
|
-
|
|
315959
|
-
|
|
315960
|
-
|
|
315961
|
-
|
|
315962
|
-
|
|
316197
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNumber(expires)) {
|
|
316198
|
+
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
316199
|
+
}
|
|
316200
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(path)) {
|
|
316201
|
+
cookie.push(`path=${path}`);
|
|
316202
|
+
}
|
|
316203
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(domain)) {
|
|
316204
|
+
cookie.push(`domain=${domain}`);
|
|
316205
|
+
}
|
|
316206
|
+
if (secure === true) {
|
|
316207
|
+
cookie.push('secure');
|
|
316208
|
+
}
|
|
316209
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(sameSite)) {
|
|
316210
|
+
cookie.push(`SameSite=${sameSite}`);
|
|
316211
|
+
}
|
|
315963
316212
|
|
|
315964
|
-
|
|
315965
|
-
|
|
316213
|
+
document.cookie = cookie.join('; ');
|
|
316214
|
+
},
|
|
315966
316215
|
|
|
315967
|
-
|
|
315968
|
-
|
|
315969
|
-
|
|
315970
|
-
|
|
315971
|
-
|
|
316216
|
+
read(name) {
|
|
316217
|
+
if (typeof document === 'undefined') return null;
|
|
316218
|
+
const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
|
|
316219
|
+
return match ? decodeURIComponent(match[1]) : null;
|
|
316220
|
+
},
|
|
315972
316221
|
|
|
315973
|
-
|
|
315974
|
-
|
|
316222
|
+
remove(name) {
|
|
316223
|
+
this.write(name, '', Date.now() - 86400000, '/');
|
|
316224
|
+
},
|
|
315975
316225
|
}
|
|
315976
|
-
|
|
315977
|
-
|
|
315978
|
-
|
|
315979
|
-
|
|
315980
|
-
|
|
315981
|
-
|
|
315982
|
-
|
|
315983
|
-
|
|
315984
|
-
return null;
|
|
315985
|
-
},
|
|
315986
|
-
remove() {}
|
|
315987
|
-
});
|
|
315988
|
-
|
|
316226
|
+
: // Non-standard browser env (web workers, react-native) lack needed support.
|
|
316227
|
+
{
|
|
316228
|
+
write() {},
|
|
316229
|
+
read() {
|
|
316230
|
+
return null;
|
|
316231
|
+
},
|
|
316232
|
+
remove() {},
|
|
316233
|
+
});
|
|
315989
316234
|
|
|
315990
316235
|
|
|
315991
316236
|
/***/ }),
|
|
315992
316237
|
|
|
315993
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316238
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js":
|
|
315994
316239
|
/*!**********************************************************************************************************!*\
|
|
315995
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316240
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/formDataToJSON.js ***!
|
|
315996
316241
|
\**********************************************************************************************************/
|
|
315997
316242
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
315998
316243
|
|
|
@@ -316001,7 +316246,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316001
316246
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316002
316247
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316003
316248
|
/* harmony export */ });
|
|
316004
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316249
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316005
316250
|
|
|
316006
316251
|
|
|
316007
316252
|
|
|
@@ -316018,7 +316263,7 @@ function parsePropPath(name) {
|
|
|
316018
316263
|
// foo.x.y.z
|
|
316019
316264
|
// foo-x-y-z
|
|
316020
316265
|
// foo x y z
|
|
316021
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].matchAll(/\w+|\[(\w*)]/g, name).map(match => {
|
|
316266
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
316022
316267
|
return match[0] === '[]' ? '' : match[1] || match[0];
|
|
316023
316268
|
});
|
|
316024
316269
|
}
|
|
@@ -316101,9 +316346,9 @@ function formDataToJSON(formData) {
|
|
|
316101
316346
|
|
|
316102
316347
|
/***/ }),
|
|
316103
316348
|
|
|
316104
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316349
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAbsoluteURL.js":
|
|
316105
316350
|
/*!*********************************************************************************************************!*\
|
|
316106
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316351
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
|
|
316107
316352
|
\*********************************************************************************************************/
|
|
316108
316353
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316109
316354
|
|
|
@@ -316133,12 +316378,11 @@ function isAbsoluteURL(url) {
|
|
|
316133
316378
|
}
|
|
316134
316379
|
|
|
316135
316380
|
|
|
316136
|
-
|
|
316137
316381
|
/***/ }),
|
|
316138
316382
|
|
|
316139
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316383
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAxiosError.js":
|
|
316140
316384
|
/*!********************************************************************************************************!*\
|
|
316141
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316385
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isAxiosError.js ***!
|
|
316142
316386
|
\********************************************************************************************************/
|
|
316143
316387
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316144
316388
|
|
|
@@ -316147,7 +316391,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316147
316391
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316148
316392
|
/* harmony export */ "default": () => (/* binding */ isAxiosError)
|
|
316149
316393
|
/* harmony export */ });
|
|
316150
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316394
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316151
316395
|
|
|
316152
316396
|
|
|
316153
316397
|
|
|
@@ -316160,15 +316404,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316160
316404
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
316161
316405
|
*/
|
|
316162
316406
|
function isAxiosError(payload) {
|
|
316163
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(payload) &&
|
|
316407
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(payload) && payload.isAxiosError === true;
|
|
316164
316408
|
}
|
|
316165
316409
|
|
|
316166
316410
|
|
|
316167
316411
|
/***/ }),
|
|
316168
316412
|
|
|
316169
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316413
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isURLSameOrigin.js":
|
|
316170
316414
|
/*!***********************************************************************************************************!*\
|
|
316171
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316415
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
|
|
316172
316416
|
\***********************************************************************************************************/
|
|
316173
316417
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316174
316418
|
|
|
@@ -316177,28 +316421,30 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316177
316421
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316178
316422
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316179
316423
|
/* harmony export */ });
|
|
316180
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316424
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
316181
316425
|
|
|
316182
316426
|
|
|
316183
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316184
|
-
|
|
316427
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
|
|
316428
|
+
? ((origin, isMSIE) => (url) => {
|
|
316429
|
+
url = new URL(url, _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin);
|
|
316185
316430
|
|
|
316186
|
-
|
|
316187
|
-
|
|
316188
|
-
|
|
316189
|
-
|
|
316190
|
-
|
|
316191
|
-
})(
|
|
316192
|
-
|
|
316193
|
-
|
|
316194
|
-
)
|
|
316431
|
+
return (
|
|
316432
|
+
origin.protocol === url.protocol &&
|
|
316433
|
+
origin.host === url.host &&
|
|
316434
|
+
(isMSIE || origin.port === url.port)
|
|
316435
|
+
);
|
|
316436
|
+
})(
|
|
316437
|
+
new URL(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin),
|
|
316438
|
+
_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator && /(msie|trident)/i.test(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].navigator.userAgent)
|
|
316439
|
+
)
|
|
316440
|
+
: () => true);
|
|
316195
316441
|
|
|
316196
316442
|
|
|
316197
316443
|
/***/ }),
|
|
316198
316444
|
|
|
316199
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316445
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/null.js":
|
|
316200
316446
|
/*!************************************************************************************************!*\
|
|
316201
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316447
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/null.js ***!
|
|
316202
316448
|
\************************************************************************************************/
|
|
316203
316449
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316204
316450
|
|
|
@@ -316213,9 +316459,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316213
316459
|
|
|
316214
316460
|
/***/ }),
|
|
316215
316461
|
|
|
316216
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316462
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseHeaders.js":
|
|
316217
316463
|
/*!********************************************************************************************************!*\
|
|
316218
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316464
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseHeaders.js ***!
|
|
316219
316465
|
\********************************************************************************************************/
|
|
316220
316466
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316221
316467
|
|
|
@@ -316224,7 +316470,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316224
316470
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316225
316471
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316226
316472
|
/* harmony export */ });
|
|
316227
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316473
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316228
316474
|
|
|
316229
316475
|
|
|
316230
316476
|
|
|
@@ -316232,10 +316478,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316232
316478
|
// RawAxiosHeaders whose duplicates are ignored by node
|
|
316233
316479
|
// c.f. https://nodejs.org/api/http.html#http_message_headers
|
|
316234
316480
|
const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toObjectSet([
|
|
316235
|
-
'age',
|
|
316236
|
-
'
|
|
316237
|
-
'
|
|
316238
|
-
'
|
|
316481
|
+
'age',
|
|
316482
|
+
'authorization',
|
|
316483
|
+
'content-length',
|
|
316484
|
+
'content-type',
|
|
316485
|
+
'etag',
|
|
316486
|
+
'expires',
|
|
316487
|
+
'from',
|
|
316488
|
+
'host',
|
|
316489
|
+
'if-modified-since',
|
|
316490
|
+
'if-unmodified-since',
|
|
316491
|
+
'last-modified',
|
|
316492
|
+
'location',
|
|
316493
|
+
'max-forwards',
|
|
316494
|
+
'proxy-authorization',
|
|
316495
|
+
'referer',
|
|
316496
|
+
'retry-after',
|
|
316497
|
+
'user-agent',
|
|
316239
316498
|
]);
|
|
316240
316499
|
|
|
316241
316500
|
/**
|
|
@@ -316252,31 +316511,32 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
|
|
|
316252
316511
|
*
|
|
316253
316512
|
* @returns {Object} Headers parsed into an object
|
|
316254
316513
|
*/
|
|
316255
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (rawHeaders => {
|
|
316514
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((rawHeaders) => {
|
|
316256
316515
|
const parsed = {};
|
|
316257
316516
|
let key;
|
|
316258
316517
|
let val;
|
|
316259
316518
|
let i;
|
|
316260
316519
|
|
|
316261
|
-
rawHeaders &&
|
|
316262
|
-
|
|
316263
|
-
|
|
316264
|
-
|
|
316520
|
+
rawHeaders &&
|
|
316521
|
+
rawHeaders.split('\n').forEach(function parser(line) {
|
|
316522
|
+
i = line.indexOf(':');
|
|
316523
|
+
key = line.substring(0, i).trim().toLowerCase();
|
|
316524
|
+
val = line.substring(i + 1).trim();
|
|
316265
316525
|
|
|
316266
|
-
|
|
316267
|
-
|
|
316268
|
-
|
|
316526
|
+
if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
|
|
316527
|
+
return;
|
|
316528
|
+
}
|
|
316269
316529
|
|
|
316270
|
-
|
|
316271
|
-
|
|
316272
|
-
|
|
316530
|
+
if (key === 'set-cookie') {
|
|
316531
|
+
if (parsed[key]) {
|
|
316532
|
+
parsed[key].push(val);
|
|
316533
|
+
} else {
|
|
316534
|
+
parsed[key] = [val];
|
|
316535
|
+
}
|
|
316273
316536
|
} else {
|
|
316274
|
-
parsed[key] = [val
|
|
316537
|
+
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
316275
316538
|
}
|
|
316276
|
-
}
|
|
316277
|
-
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
316278
|
-
}
|
|
316279
|
-
});
|
|
316539
|
+
});
|
|
316280
316540
|
|
|
316281
316541
|
return parsed;
|
|
316282
316542
|
});
|
|
@@ -316284,9 +316544,9 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
|
|
|
316284
316544
|
|
|
316285
316545
|
/***/ }),
|
|
316286
316546
|
|
|
316287
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316547
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseProtocol.js":
|
|
316288
316548
|
/*!*********************************************************************************************************!*\
|
|
316289
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316549
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/parseProtocol.js ***!
|
|
316290
316550
|
\*********************************************************************************************************/
|
|
316291
316551
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316292
316552
|
|
|
@@ -316299,15 +316559,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316299
316559
|
|
|
316300
316560
|
function parseProtocol(url) {
|
|
316301
316561
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
316302
|
-
return match && match[1] || '';
|
|
316562
|
+
return (match && match[1]) || '';
|
|
316303
316563
|
}
|
|
316304
316564
|
|
|
316305
316565
|
|
|
316306
316566
|
/***/ }),
|
|
316307
316567
|
|
|
316308
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316568
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js":
|
|
316309
316569
|
/*!****************************************************************************************************************!*\
|
|
316310
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316570
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/progressEventReducer.js ***!
|
|
316311
316571
|
\****************************************************************************************************************/
|
|
316312
316572
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316313
316573
|
|
|
@@ -316318,9 +316578,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316318
316578
|
/* harmony export */ progressEventDecorator: () => (/* binding */ progressEventDecorator),
|
|
316319
316579
|
/* harmony export */ progressEventReducer: () => (/* binding */ progressEventReducer)
|
|
316320
316580
|
/* harmony export */ });
|
|
316321
|
-
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316322
|
-
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316323
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316581
|
+
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/speedometer.js");
|
|
316582
|
+
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/throttle.js");
|
|
316583
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316324
316584
|
|
|
316325
316585
|
|
|
316326
316586
|
|
|
@@ -316329,7 +316589,7 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
316329
316589
|
let bytesNotified = 0;
|
|
316330
316590
|
const _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
|
|
316331
316591
|
|
|
316332
|
-
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(e => {
|
|
316592
|
+
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])((e) => {
|
|
316333
316593
|
const loaded = e.loaded;
|
|
316334
316594
|
const total = e.lengthComputable ? e.total : undefined;
|
|
316335
316595
|
const progressBytes = loaded - bytesNotified;
|
|
@@ -316341,37 +316601,44 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
316341
316601
|
const data = {
|
|
316342
316602
|
loaded,
|
|
316343
316603
|
total,
|
|
316344
|
-
progress: total ?
|
|
316604
|
+
progress: total ? loaded / total : undefined,
|
|
316345
316605
|
bytes: progressBytes,
|
|
316346
316606
|
rate: rate ? rate : undefined,
|
|
316347
316607
|
estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
|
|
316348
316608
|
event: e,
|
|
316349
316609
|
lengthComputable: total != null,
|
|
316350
|
-
[isDownloadStream ? 'download' : 'upload']: true
|
|
316610
|
+
[isDownloadStream ? 'download' : 'upload']: true,
|
|
316351
316611
|
};
|
|
316352
316612
|
|
|
316353
316613
|
listener(data);
|
|
316354
316614
|
}, freq);
|
|
316355
|
-
}
|
|
316615
|
+
};
|
|
316356
316616
|
|
|
316357
316617
|
const progressEventDecorator = (total, throttled) => {
|
|
316358
316618
|
const lengthComputable = total != null;
|
|
316359
316619
|
|
|
316360
|
-
return [
|
|
316361
|
-
|
|
316362
|
-
|
|
316363
|
-
|
|
316364
|
-
|
|
316365
|
-
|
|
316620
|
+
return [
|
|
316621
|
+
(loaded) =>
|
|
316622
|
+
throttled[0]({
|
|
316623
|
+
lengthComputable,
|
|
316624
|
+
total,
|
|
316625
|
+
loaded,
|
|
316626
|
+
}),
|
|
316627
|
+
throttled[1],
|
|
316628
|
+
];
|
|
316629
|
+
};
|
|
316366
316630
|
|
|
316367
|
-
const asyncDecorator =
|
|
316631
|
+
const asyncDecorator =
|
|
316632
|
+
(fn) =>
|
|
316633
|
+
(...args) =>
|
|
316634
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(() => fn(...args));
|
|
316368
316635
|
|
|
316369
316636
|
|
|
316370
316637
|
/***/ }),
|
|
316371
316638
|
|
|
316372
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316639
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js":
|
|
316373
316640
|
/*!*********************************************************************************************************!*\
|
|
316374
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316641
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/resolveConfig.js ***!
|
|
316375
316642
|
\*********************************************************************************************************/
|
|
316376
316643
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316377
316644
|
|
|
@@ -316380,14 +316647,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316380
316647
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316381
316648
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316382
316649
|
/* harmony export */ });
|
|
316383
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316384
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316385
|
-
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316386
|
-
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316387
|
-
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316388
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316389
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316390
|
-
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316650
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
316651
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316652
|
+
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/isURLSameOrigin.js");
|
|
316653
|
+
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/cookies.js");
|
|
316654
|
+
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/buildFullPath.js");
|
|
316655
|
+
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/mergeConfig.js");
|
|
316656
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
316657
|
+
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/buildURL.js");
|
|
316391
316658
|
|
|
316392
316659
|
|
|
316393
316660
|
|
|
@@ -316404,12 +316671,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316404
316671
|
|
|
316405
316672
|
newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(headers);
|
|
316406
316673
|
|
|
316407
|
-
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
316674
|
+
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
316675
|
+
(0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__["default"])(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
|
|
316676
|
+
config.params,
|
|
316677
|
+
config.paramsSerializer
|
|
316678
|
+
);
|
|
316408
316679
|
|
|
316409
316680
|
// HTTP basic authentication
|
|
316410
316681
|
if (auth) {
|
|
316411
|
-
headers.set(
|
|
316412
|
-
|
|
316682
|
+
headers.set(
|
|
316683
|
+
'Authorization',
|
|
316684
|
+
'Basic ' +
|
|
316685
|
+
btoa(
|
|
316686
|
+
(auth.username || '') +
|
|
316687
|
+
':' +
|
|
316688
|
+
(auth.password ? unescape(encodeURIComponent(auth.password)) : '')
|
|
316689
|
+
)
|
|
316413
316690
|
);
|
|
316414
316691
|
}
|
|
316415
316692
|
|
|
@@ -316427,7 +316704,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316427
316704
|
}
|
|
316428
316705
|
});
|
|
316429
316706
|
}
|
|
316430
|
-
}
|
|
316707
|
+
}
|
|
316431
316708
|
|
|
316432
316709
|
// Add xsrf header
|
|
316433
316710
|
// This is only done if running in a standard browser environment.
|
|
@@ -316450,12 +316727,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316450
316727
|
});
|
|
316451
316728
|
|
|
316452
316729
|
|
|
316453
|
-
|
|
316454
316730
|
/***/ }),
|
|
316455
316731
|
|
|
316456
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316732
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/speedometer.js":
|
|
316457
316733
|
/*!*******************************************************************************************************!*\
|
|
316458
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316734
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/speedometer.js ***!
|
|
316459
316735
|
\*******************************************************************************************************/
|
|
316460
316736
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316461
316737
|
|
|
@@ -316514,7 +316790,7 @@ function speedometer(samplesCount, min) {
|
|
|
316514
316790
|
|
|
316515
316791
|
const passed = startedAt && now - startedAt;
|
|
316516
316792
|
|
|
316517
|
-
return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
|
|
316793
|
+
return passed ? Math.round((bytesCount * 1000) / passed) : undefined;
|
|
316518
316794
|
};
|
|
316519
316795
|
}
|
|
316520
316796
|
|
|
@@ -316523,9 +316799,9 @@ function speedometer(samplesCount, min) {
|
|
|
316523
316799
|
|
|
316524
316800
|
/***/ }),
|
|
316525
316801
|
|
|
316526
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316802
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/spread.js":
|
|
316527
316803
|
/*!**************************************************************************************************!*\
|
|
316528
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316804
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/spread.js ***!
|
|
316529
316805
|
\**************************************************************************************************/
|
|
316530
316806
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316531
316807
|
|
|
@@ -316566,9 +316842,9 @@ function spread(callback) {
|
|
|
316566
316842
|
|
|
316567
316843
|
/***/ }),
|
|
316568
316844
|
|
|
316569
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316845
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/throttle.js":
|
|
316570
316846
|
/*!****************************************************************************************************!*\
|
|
316571
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316847
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/throttle.js ***!
|
|
316572
316848
|
\****************************************************************************************************/
|
|
316573
316849
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316574
316850
|
|
|
@@ -316597,23 +316873,23 @@ function throttle(fn, freq) {
|
|
|
316597
316873
|
timer = null;
|
|
316598
316874
|
}
|
|
316599
316875
|
fn(...args);
|
|
316600
|
-
}
|
|
316876
|
+
};
|
|
316601
316877
|
|
|
316602
316878
|
const throttled = (...args) => {
|
|
316603
316879
|
const now = Date.now();
|
|
316604
316880
|
const passed = now - timestamp;
|
|
316605
|
-
if (
|
|
316881
|
+
if (passed >= threshold) {
|
|
316606
316882
|
invoke(args, now);
|
|
316607
316883
|
} else {
|
|
316608
316884
|
lastArgs = args;
|
|
316609
316885
|
if (!timer) {
|
|
316610
316886
|
timer = setTimeout(() => {
|
|
316611
316887
|
timer = null;
|
|
316612
|
-
invoke(lastArgs)
|
|
316888
|
+
invoke(lastArgs);
|
|
316613
316889
|
}, threshold - passed);
|
|
316614
316890
|
}
|
|
316615
316891
|
}
|
|
316616
|
-
}
|
|
316892
|
+
};
|
|
316617
316893
|
|
|
316618
316894
|
const flush = () => lastArgs && invoke(lastArgs);
|
|
316619
316895
|
|
|
@@ -316625,9 +316901,9 @@ function throttle(fn, freq) {
|
|
|
316625
316901
|
|
|
316626
316902
|
/***/ }),
|
|
316627
316903
|
|
|
316628
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316904
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js":
|
|
316629
316905
|
/*!******************************************************************************************************!*\
|
|
316630
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316906
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js ***!
|
|
316631
316907
|
\******************************************************************************************************/
|
|
316632
316908
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316633
316909
|
|
|
@@ -316636,9 +316912,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316636
316912
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316637
316913
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
316638
316914
|
/* harmony export */ });
|
|
316639
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316640
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316641
|
-
/* 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.13.
|
|
316915
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
316916
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
316917
|
+
/* 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.13.6/node_modules/axios/lib/helpers/null.js");
|
|
316642
316918
|
|
|
316643
316919
|
|
|
316644
316920
|
|
|
@@ -316679,11 +316955,14 @@ function removeBrackets(key) {
|
|
|
316679
316955
|
*/
|
|
316680
316956
|
function renderKey(path, key, dots) {
|
|
316681
316957
|
if (!path) return key;
|
|
316682
|
-
return path
|
|
316683
|
-
|
|
316684
|
-
|
|
316685
|
-
|
|
316686
|
-
|
|
316958
|
+
return path
|
|
316959
|
+
.concat(key)
|
|
316960
|
+
.map(function each(token, i) {
|
|
316961
|
+
// eslint-disable-next-line no-param-reassign
|
|
316962
|
+
token = removeBrackets(token);
|
|
316963
|
+
return !dots && i ? '[' + token + ']' : token;
|
|
316964
|
+
})
|
|
316965
|
+
.join(dots ? '.' : '');
|
|
316687
316966
|
}
|
|
316688
316967
|
|
|
316689
316968
|
/**
|
|
@@ -316733,21 +317012,26 @@ function toFormData(obj, formData, options) {
|
|
|
316733
317012
|
formData = formData || new (_platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__["default"] || FormData)();
|
|
316734
317013
|
|
|
316735
317014
|
// eslint-disable-next-line no-param-reassign
|
|
316736
|
-
options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFlatObject(
|
|
316737
|
-
|
|
316738
|
-
|
|
316739
|
-
|
|
316740
|
-
|
|
316741
|
-
|
|
316742
|
-
|
|
316743
|
-
|
|
317015
|
+
options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toFlatObject(
|
|
317016
|
+
options,
|
|
317017
|
+
{
|
|
317018
|
+
metaTokens: true,
|
|
317019
|
+
dots: false,
|
|
317020
|
+
indexes: false,
|
|
317021
|
+
},
|
|
317022
|
+
false,
|
|
317023
|
+
function defined(option, source) {
|
|
317024
|
+
// eslint-disable-next-line no-eq-null,eqeqeq
|
|
317025
|
+
return !_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(source[option]);
|
|
317026
|
+
}
|
|
317027
|
+
);
|
|
316744
317028
|
|
|
316745
317029
|
const metaTokens = options.metaTokens;
|
|
316746
317030
|
// eslint-disable-next-line no-use-before-define
|
|
316747
317031
|
const visitor = options.visitor || defaultVisitor;
|
|
316748
317032
|
const dots = options.dots;
|
|
316749
317033
|
const indexes = options.indexes;
|
|
316750
|
-
const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
|
|
317034
|
+
const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
|
|
316751
317035
|
const useBlob = _Blob && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isSpecCompliantForm(formData);
|
|
316752
317036
|
|
|
316753
317037
|
if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(visitor)) {
|
|
@@ -316789,6 +317073,11 @@ function toFormData(obj, formData, options) {
|
|
|
316789
317073
|
function defaultVisitor(value, key, path) {
|
|
316790
317074
|
let arr = value;
|
|
316791
317075
|
|
|
317076
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReactNative(formData) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReactNativeBlob(value)) {
|
|
317077
|
+
formData.append(renderKey(path, key, dots), convertValue(value));
|
|
317078
|
+
return false;
|
|
317079
|
+
}
|
|
317080
|
+
|
|
316792
317081
|
if (value && !path && typeof value === 'object') {
|
|
316793
317082
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].endsWith(key, '{}')) {
|
|
316794
317083
|
// eslint-disable-next-line no-param-reassign
|
|
@@ -316797,17 +317086,22 @@ function toFormData(obj, formData, options) {
|
|
|
316797
317086
|
value = JSON.stringify(value);
|
|
316798
317087
|
} else if (
|
|
316799
317088
|
(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) && isFlatArray(value)) ||
|
|
316800
|
-
((_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(value) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].endsWith(key, '[]')) && (arr = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toArray(value))
|
|
316801
|
-
|
|
317089
|
+
((_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(value) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].endsWith(key, '[]')) && (arr = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toArray(value)))
|
|
317090
|
+
) {
|
|
316802
317091
|
// eslint-disable-next-line no-param-reassign
|
|
316803
317092
|
key = removeBrackets(key);
|
|
316804
317093
|
|
|
316805
317094
|
arr.forEach(function each(el, index) {
|
|
316806
|
-
!(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) &&
|
|
316807
|
-
|
|
316808
|
-
|
|
316809
|
-
|
|
316810
|
-
|
|
317095
|
+
!(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) &&
|
|
317096
|
+
formData.append(
|
|
317097
|
+
// eslint-disable-next-line no-nested-ternary
|
|
317098
|
+
indexes === true
|
|
317099
|
+
? renderKey([key], index, dots)
|
|
317100
|
+
: indexes === null
|
|
317101
|
+
? key
|
|
317102
|
+
: key + '[]',
|
|
317103
|
+
convertValue(el)
|
|
317104
|
+
);
|
|
316811
317105
|
});
|
|
316812
317106
|
return false;
|
|
316813
317107
|
}
|
|
@@ -316827,7 +317121,7 @@ function toFormData(obj, formData, options) {
|
|
|
316827
317121
|
const exposedHelpers = Object.assign(predicates, {
|
|
316828
317122
|
defaultVisitor,
|
|
316829
317123
|
convertValue,
|
|
316830
|
-
isVisitable
|
|
317124
|
+
isVisitable,
|
|
316831
317125
|
});
|
|
316832
317126
|
|
|
316833
317127
|
function build(value, path) {
|
|
@@ -316840,9 +317134,9 @@ function toFormData(obj, formData, options) {
|
|
|
316840
317134
|
stack.push(value);
|
|
316841
317135
|
|
|
316842
317136
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(value, function each(el, key) {
|
|
316843
|
-
const result =
|
|
316844
|
-
|
|
316845
|
-
|
|
317137
|
+
const result =
|
|
317138
|
+
!(_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(el) || el === null) &&
|
|
317139
|
+
visitor.call(formData, el, _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(key) ? key.trim() : key, path, exposedHelpers);
|
|
316846
317140
|
|
|
316847
317141
|
if (result === true) {
|
|
316848
317142
|
build(el, path ? path.concat(key) : [key]);
|
|
@@ -316866,9 +317160,9 @@ function toFormData(obj, formData, options) {
|
|
|
316866
317160
|
|
|
316867
317161
|
/***/ }),
|
|
316868
317162
|
|
|
316869
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317163
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toURLEncodedForm.js":
|
|
316870
317164
|
/*!************************************************************************************************************!*\
|
|
316871
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317165
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
|
|
316872
317166
|
\************************************************************************************************************/
|
|
316873
317167
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316874
317168
|
|
|
@@ -316877,9 +317171,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316877
317171
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
316878
317172
|
/* harmony export */ "default": () => (/* binding */ toURLEncodedForm)
|
|
316879
317173
|
/* harmony export */ });
|
|
316880
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316881
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
316882
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317174
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js");
|
|
317175
|
+
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/toFormData.js");
|
|
317176
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js");
|
|
316883
317177
|
|
|
316884
317178
|
|
|
316885
317179
|
|
|
@@ -316888,7 +317182,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316888
317182
|
|
|
316889
317183
|
function toURLEncodedForm(data, options) {
|
|
316890
317184
|
return (0,_toFormData_js__WEBPACK_IMPORTED_MODULE_0__["default"])(data, new _platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].classes.URLSearchParams(), {
|
|
316891
|
-
visitor: function(value, key, path, helpers) {
|
|
317185
|
+
visitor: function (value, key, path, helpers) {
|
|
316892
317186
|
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNode && _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isBuffer(value)) {
|
|
316893
317187
|
this.append(key, value.toString('base64'));
|
|
316894
317188
|
return false;
|
|
@@ -316896,16 +317190,16 @@ function toURLEncodedForm(data, options) {
|
|
|
316896
317190
|
|
|
316897
317191
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
316898
317192
|
},
|
|
316899
|
-
...options
|
|
317193
|
+
...options,
|
|
316900
317194
|
});
|
|
316901
317195
|
}
|
|
316902
317196
|
|
|
316903
317197
|
|
|
316904
317198
|
/***/ }),
|
|
316905
317199
|
|
|
316906
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317200
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/trackStream.js":
|
|
316907
317201
|
/*!*******************************************************************************************************!*\
|
|
316908
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317202
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/trackStream.js ***!
|
|
316909
317203
|
\*******************************************************************************************************/
|
|
316910
317204
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
316911
317205
|
|
|
@@ -316916,7 +317210,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
316916
317210
|
/* harmony export */ streamChunk: () => (/* binding */ streamChunk),
|
|
316917
317211
|
/* harmony export */ trackStream: () => (/* binding */ trackStream)
|
|
316918
317212
|
/* harmony export */ });
|
|
316919
|
-
|
|
316920
317213
|
const streamChunk = function* (chunk, chunkSize) {
|
|
316921
317214
|
let len = chunk.byteLength;
|
|
316922
317215
|
|
|
@@ -316933,13 +317226,13 @@ const streamChunk = function* (chunk, chunkSize) {
|
|
|
316933
317226
|
yield chunk.slice(pos, end);
|
|
316934
317227
|
pos = end;
|
|
316935
317228
|
}
|
|
316936
|
-
}
|
|
317229
|
+
};
|
|
316937
317230
|
|
|
316938
317231
|
const readBytes = async function* (iterable, chunkSize) {
|
|
316939
317232
|
for await (const chunk of readStream(iterable)) {
|
|
316940
317233
|
yield* streamChunk(chunk, chunkSize);
|
|
316941
317234
|
}
|
|
316942
|
-
}
|
|
317235
|
+
};
|
|
316943
317236
|
|
|
316944
317237
|
const readStream = async function* (stream) {
|
|
316945
317238
|
if (stream[Symbol.asyncIterator]) {
|
|
@@ -316950,7 +317243,7 @@ const readStream = async function* (stream) {
|
|
|
316950
317243
|
const reader = stream.getReader();
|
|
316951
317244
|
try {
|
|
316952
317245
|
for (;;) {
|
|
316953
|
-
const {done, value} = await reader.read();
|
|
317246
|
+
const { done, value } = await reader.read();
|
|
316954
317247
|
if (done) {
|
|
316955
317248
|
break;
|
|
316956
317249
|
}
|
|
@@ -316959,7 +317252,7 @@ const readStream = async function* (stream) {
|
|
|
316959
317252
|
} finally {
|
|
316960
317253
|
await reader.cancel();
|
|
316961
317254
|
}
|
|
316962
|
-
}
|
|
317255
|
+
};
|
|
316963
317256
|
|
|
316964
317257
|
const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
316965
317258
|
const iterator = readBytes(stream, chunkSize);
|
|
@@ -316971,45 +317264,48 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
316971
317264
|
done = true;
|
|
316972
317265
|
onFinish && onFinish(e);
|
|
316973
317266
|
}
|
|
316974
|
-
}
|
|
317267
|
+
};
|
|
316975
317268
|
|
|
316976
|
-
return new ReadableStream(
|
|
316977
|
-
|
|
316978
|
-
|
|
316979
|
-
|
|
317269
|
+
return new ReadableStream(
|
|
317270
|
+
{
|
|
317271
|
+
async pull(controller) {
|
|
317272
|
+
try {
|
|
317273
|
+
const { done, value } = await iterator.next();
|
|
316980
317274
|
|
|
316981
|
-
|
|
316982
|
-
|
|
316983
|
-
|
|
316984
|
-
|
|
316985
|
-
|
|
317275
|
+
if (done) {
|
|
317276
|
+
_onFinish();
|
|
317277
|
+
controller.close();
|
|
317278
|
+
return;
|
|
317279
|
+
}
|
|
316986
317280
|
|
|
316987
|
-
|
|
316988
|
-
|
|
316989
|
-
|
|
316990
|
-
|
|
317281
|
+
let len = value.byteLength;
|
|
317282
|
+
if (onProgress) {
|
|
317283
|
+
let loadedBytes = (bytes += len);
|
|
317284
|
+
onProgress(loadedBytes);
|
|
317285
|
+
}
|
|
317286
|
+
controller.enqueue(new Uint8Array(value));
|
|
317287
|
+
} catch (err) {
|
|
317288
|
+
_onFinish(err);
|
|
317289
|
+
throw err;
|
|
316991
317290
|
}
|
|
316992
|
-
|
|
316993
|
-
|
|
316994
|
-
_onFinish(
|
|
316995
|
-
|
|
316996
|
-
}
|
|
317291
|
+
},
|
|
317292
|
+
cancel(reason) {
|
|
317293
|
+
_onFinish(reason);
|
|
317294
|
+
return iterator.return();
|
|
317295
|
+
},
|
|
316997
317296
|
},
|
|
316998
|
-
|
|
316999
|
-
|
|
317000
|
-
return iterator.return();
|
|
317297
|
+
{
|
|
317298
|
+
highWaterMark: 2,
|
|
317001
317299
|
}
|
|
317002
|
-
|
|
317003
|
-
|
|
317004
|
-
})
|
|
317005
|
-
}
|
|
317300
|
+
);
|
|
317301
|
+
};
|
|
317006
317302
|
|
|
317007
317303
|
|
|
317008
317304
|
/***/ }),
|
|
317009
317305
|
|
|
317010
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317306
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/validator.js":
|
|
317011
317307
|
/*!*****************************************************************************************************!*\
|
|
317012
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317308
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/validator.js ***!
|
|
317013
317309
|
\*****************************************************************************************************/
|
|
317014
317310
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317015
317311
|
|
|
@@ -317018,8 +317314,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317018
317314
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317019
317315
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317020
317316
|
/* harmony export */ });
|
|
317021
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317022
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317317
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/env/data.js");
|
|
317318
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/core/AxiosError.js");
|
|
317023
317319
|
|
|
317024
317320
|
|
|
317025
317321
|
|
|
@@ -317047,7 +317343,15 @@ const deprecatedWarnings = {};
|
|
|
317047
317343
|
*/
|
|
317048
317344
|
validators.transitional = function transitional(validator, version, message) {
|
|
317049
317345
|
function formatMessage(opt, desc) {
|
|
317050
|
-
return
|
|
317346
|
+
return (
|
|
317347
|
+
'[Axios v' +
|
|
317348
|
+
_env_data_js__WEBPACK_IMPORTED_MODULE_0__.VERSION +
|
|
317349
|
+
"] Transitional option '" +
|
|
317350
|
+
opt +
|
|
317351
|
+
"'" +
|
|
317352
|
+
desc +
|
|
317353
|
+
(message ? '. ' + message : '')
|
|
317354
|
+
);
|
|
317051
317355
|
}
|
|
317052
317356
|
|
|
317053
317357
|
// eslint-disable-next-line func-names
|
|
@@ -317079,7 +317383,7 @@ validators.spelling = function spelling(correctSpelling) {
|
|
|
317079
317383
|
// eslint-disable-next-line no-console
|
|
317080
317384
|
console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
|
|
317081
317385
|
return true;
|
|
317082
|
-
}
|
|
317386
|
+
};
|
|
317083
317387
|
};
|
|
317084
317388
|
|
|
317085
317389
|
/**
|
|
@@ -317105,7 +317409,10 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
317105
317409
|
const value = options[opt];
|
|
317106
317410
|
const result = value === undefined || validator(value, opt, options);
|
|
317107
317411
|
if (result !== true) {
|
|
317108
|
-
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](
|
|
317412
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](
|
|
317413
|
+
'option ' + opt + ' must be ' + result,
|
|
317414
|
+
_core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_BAD_OPTION_VALUE
|
|
317415
|
+
);
|
|
317109
317416
|
}
|
|
317110
317417
|
continue;
|
|
317111
317418
|
}
|
|
@@ -317117,15 +317424,15 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
317117
317424
|
|
|
317118
317425
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
317119
317426
|
assertOptions,
|
|
317120
|
-
validators
|
|
317427
|
+
validators,
|
|
317121
317428
|
});
|
|
317122
317429
|
|
|
317123
317430
|
|
|
317124
317431
|
/***/ }),
|
|
317125
317432
|
|
|
317126
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317433
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/Blob.js":
|
|
317127
317434
|
/*!*****************************************************************************************************************!*\
|
|
317128
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317435
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
|
|
317129
317436
|
\*****************************************************************************************************************/
|
|
317130
317437
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317131
317438
|
|
|
@@ -317141,9 +317448,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317141
317448
|
|
|
317142
317449
|
/***/ }),
|
|
317143
317450
|
|
|
317144
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317451
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/FormData.js":
|
|
317145
317452
|
/*!*********************************************************************************************************************!*\
|
|
317146
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317453
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
|
|
317147
317454
|
\*********************************************************************************************************************/
|
|
317148
317455
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317149
317456
|
|
|
@@ -317159,9 +317466,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317159
317466
|
|
|
317160
317467
|
/***/ }),
|
|
317161
317468
|
|
|
317162
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317469
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
|
|
317163
317470
|
/*!****************************************************************************************************************************!*\
|
|
317164
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317471
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
|
|
317165
317472
|
\****************************************************************************************************************************/
|
|
317166
317473
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317167
317474
|
|
|
@@ -317170,7 +317477,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317170
317477
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317171
317478
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317172
317479
|
/* harmony export */ });
|
|
317173
|
-
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317480
|
+
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
|
|
317174
317481
|
|
|
317175
317482
|
|
|
317176
317483
|
|
|
@@ -317179,9 +317486,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317179
317486
|
|
|
317180
317487
|
/***/ }),
|
|
317181
317488
|
|
|
317182
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317489
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/index.js":
|
|
317183
317490
|
/*!**********************************************************************************************************!*\
|
|
317184
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317491
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/index.js ***!
|
|
317185
317492
|
\**********************************************************************************************************/
|
|
317186
317493
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317187
317494
|
|
|
@@ -317190,9 +317497,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317190
317497
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317191
317498
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317192
317499
|
/* harmony export */ });
|
|
317193
|
-
/* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317194
|
-
/* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317195
|
-
/* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317500
|
+
/* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js");
|
|
317501
|
+
/* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/FormData.js");
|
|
317502
|
+
/* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/classes/Blob.js");
|
|
317196
317503
|
|
|
317197
317504
|
|
|
317198
317505
|
|
|
@@ -317202,17 +317509,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317202
317509
|
classes: {
|
|
317203
317510
|
URLSearchParams: _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__["default"],
|
|
317204
317511
|
FormData: _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
317205
|
-
Blob: _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__["default"]
|
|
317512
|
+
Blob: _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__["default"],
|
|
317206
317513
|
},
|
|
317207
|
-
protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
|
|
317514
|
+
protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],
|
|
317208
317515
|
});
|
|
317209
317516
|
|
|
317210
317517
|
|
|
317211
317518
|
/***/ }),
|
|
317212
317519
|
|
|
317213
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317520
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/common/utils.js":
|
|
317214
317521
|
/*!*********************************************************************************************************!*\
|
|
317215
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317522
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/common/utils.js ***!
|
|
317216
317523
|
\*********************************************************************************************************/
|
|
317217
317524
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317218
317525
|
|
|
@@ -317227,7 +317534,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317227
317534
|
/* harmony export */ });
|
|
317228
317535
|
const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
317229
317536
|
|
|
317230
|
-
const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
317537
|
+
const _navigator = (typeof navigator === 'object' && navigator) || undefined;
|
|
317231
317538
|
|
|
317232
317539
|
/**
|
|
317233
317540
|
* Determine if we're running in a standard browser environment
|
|
@@ -317246,7 +317553,8 @@ const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
|
317246
317553
|
*
|
|
317247
317554
|
* @returns {boolean}
|
|
317248
317555
|
*/
|
|
317249
|
-
const hasStandardBrowserEnv =
|
|
317556
|
+
const hasStandardBrowserEnv =
|
|
317557
|
+
hasBrowserEnv &&
|
|
317250
317558
|
(!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
|
|
317251
317559
|
|
|
317252
317560
|
/**
|
|
@@ -317267,16 +317575,16 @@ const hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
317267
317575
|
);
|
|
317268
317576
|
})();
|
|
317269
317577
|
|
|
317270
|
-
const origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
317578
|
+
const origin = (hasBrowserEnv && window.location.href) || 'http://localhost';
|
|
317271
317579
|
|
|
317272
317580
|
|
|
317273
317581
|
|
|
317274
317582
|
|
|
317275
317583
|
/***/ }),
|
|
317276
317584
|
|
|
317277
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317585
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js":
|
|
317278
317586
|
/*!**************************************************************************************************!*\
|
|
317279
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317587
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/index.js ***!
|
|
317280
317588
|
\**************************************************************************************************/
|
|
317281
317589
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317282
317590
|
|
|
@@ -317285,22 +317593,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317285
317593
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317286
317594
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317287
317595
|
/* harmony export */ });
|
|
317288
|
-
/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317289
|
-
/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317596
|
+
/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/browser/index.js");
|
|
317597
|
+
/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/platform/common/utils.js");
|
|
317290
317598
|
|
|
317291
317599
|
|
|
317292
317600
|
|
|
317293
317601
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
317294
317602
|
..._common_utils_js__WEBPACK_IMPORTED_MODULE_0__,
|
|
317295
|
-
..._node_index_js__WEBPACK_IMPORTED_MODULE_1__["default"]
|
|
317603
|
+
..._node_index_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
317296
317604
|
});
|
|
317297
317605
|
|
|
317298
317606
|
|
|
317299
317607
|
/***/ }),
|
|
317300
317608
|
|
|
317301
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317609
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js":
|
|
317302
317610
|
/*!*****************************************************************************************!*\
|
|
317303
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317611
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/utils.js ***!
|
|
317304
317612
|
\*****************************************************************************************/
|
|
317305
317613
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
317306
317614
|
|
|
@@ -317309,7 +317617,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
317309
317617
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
317310
317618
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
317311
317619
|
/* harmony export */ });
|
|
317312
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.
|
|
317620
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.13.6/node_modules/axios/lib/helpers/bind.js");
|
|
317313
317621
|
|
|
317314
317622
|
|
|
317315
317623
|
|
|
@@ -317348,7 +317656,7 @@ const { isArray } = Array;
|
|
|
317348
317656
|
*
|
|
317349
317657
|
* @returns {boolean} True if the value is undefined, otherwise false
|
|
317350
317658
|
*/
|
|
317351
|
-
const isUndefined = typeOfTest(
|
|
317659
|
+
const isUndefined = typeOfTest('undefined');
|
|
317352
317660
|
|
|
317353
317661
|
/**
|
|
317354
317662
|
* Determine if a value is a Buffer
|
|
@@ -317375,7 +317683,7 @@ function isBuffer(val) {
|
|
|
317375
317683
|
*
|
|
317376
317684
|
* @returns {boolean} True if value is an ArrayBuffer, otherwise false
|
|
317377
317685
|
*/
|
|
317378
|
-
const isArrayBuffer = kindOfTest(
|
|
317686
|
+
const isArrayBuffer = kindOfTest('ArrayBuffer');
|
|
317379
317687
|
|
|
317380
317688
|
/**
|
|
317381
317689
|
* Determine if a value is a view on an ArrayBuffer
|
|
@@ -317386,7 +317694,7 @@ const isArrayBuffer = kindOfTest("ArrayBuffer");
|
|
|
317386
317694
|
*/
|
|
317387
317695
|
function isArrayBufferView(val) {
|
|
317388
317696
|
let result;
|
|
317389
|
-
if (typeof ArrayBuffer !==
|
|
317697
|
+
if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
|
|
317390
317698
|
result = ArrayBuffer.isView(val);
|
|
317391
317699
|
} else {
|
|
317392
317700
|
result = val && val.buffer && isArrayBuffer(val.buffer);
|
|
@@ -317401,7 +317709,7 @@ function isArrayBufferView(val) {
|
|
|
317401
317709
|
*
|
|
317402
317710
|
* @returns {boolean} True if value is a String, otherwise false
|
|
317403
317711
|
*/
|
|
317404
|
-
const isString = typeOfTest(
|
|
317712
|
+
const isString = typeOfTest('string');
|
|
317405
317713
|
|
|
317406
317714
|
/**
|
|
317407
317715
|
* Determine if a value is a Function
|
|
@@ -317409,7 +317717,7 @@ const isString = typeOfTest("string");
|
|
|
317409
317717
|
* @param {*} val The value to test
|
|
317410
317718
|
* @returns {boolean} True if value is a Function, otherwise false
|
|
317411
317719
|
*/
|
|
317412
|
-
const isFunction = typeOfTest(
|
|
317720
|
+
const isFunction = typeOfTest('function');
|
|
317413
317721
|
|
|
317414
317722
|
/**
|
|
317415
317723
|
* Determine if a value is a Number
|
|
@@ -317418,7 +317726,7 @@ const isFunction = typeOfTest("function");
|
|
|
317418
317726
|
*
|
|
317419
317727
|
* @returns {boolean} True if value is a Number, otherwise false
|
|
317420
317728
|
*/
|
|
317421
|
-
const isNumber = typeOfTest(
|
|
317729
|
+
const isNumber = typeOfTest('number');
|
|
317422
317730
|
|
|
317423
317731
|
/**
|
|
317424
317732
|
* Determine if a value is an Object
|
|
@@ -317427,7 +317735,7 @@ const isNumber = typeOfTest("number");
|
|
|
317427
317735
|
*
|
|
317428
317736
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
317429
317737
|
*/
|
|
317430
|
-
const isObject = (thing) => thing !== null && typeof thing ===
|
|
317738
|
+
const isObject = (thing) => thing !== null && typeof thing === 'object';
|
|
317431
317739
|
|
|
317432
317740
|
/**
|
|
317433
317741
|
* Determine if a value is a Boolean
|
|
@@ -317445,7 +317753,7 @@ const isBoolean = (thing) => thing === true || thing === false;
|
|
|
317445
317753
|
* @returns {boolean} True if value is a plain Object, otherwise false
|
|
317446
317754
|
*/
|
|
317447
317755
|
const isPlainObject = (val) => {
|
|
317448
|
-
if (kindOf(val) !==
|
|
317756
|
+
if (kindOf(val) !== 'object') {
|
|
317449
317757
|
return false;
|
|
317450
317758
|
}
|
|
317451
317759
|
|
|
@@ -317473,10 +317781,7 @@ const isEmptyObject = (val) => {
|
|
|
317473
317781
|
}
|
|
317474
317782
|
|
|
317475
317783
|
try {
|
|
317476
|
-
return (
|
|
317477
|
-
Object.keys(val).length === 0 &&
|
|
317478
|
-
Object.getPrototypeOf(val) === Object.prototype
|
|
317479
|
-
);
|
|
317784
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
317480
317785
|
} catch (e) {
|
|
317481
317786
|
// Fallback for any other objects that might cause RangeError with Object.keys()
|
|
317482
317787
|
return false;
|
|
@@ -317490,7 +317795,7 @@ const isEmptyObject = (val) => {
|
|
|
317490
317795
|
*
|
|
317491
317796
|
* @returns {boolean} True if value is a Date, otherwise false
|
|
317492
317797
|
*/
|
|
317493
|
-
const isDate = kindOfTest(
|
|
317798
|
+
const isDate = kindOfTest('Date');
|
|
317494
317799
|
|
|
317495
317800
|
/**
|
|
317496
317801
|
* Determine if a value is a File
|
|
@@ -317499,7 +317804,32 @@ const isDate = kindOfTest("Date");
|
|
|
317499
317804
|
*
|
|
317500
317805
|
* @returns {boolean} True if value is a File, otherwise false
|
|
317501
317806
|
*/
|
|
317502
|
-
const isFile = kindOfTest(
|
|
317807
|
+
const isFile = kindOfTest('File');
|
|
317808
|
+
|
|
317809
|
+
/**
|
|
317810
|
+
* Determine if a value is a React Native Blob
|
|
317811
|
+
* React Native "blob": an object with a `uri` attribute. Optionally, it can
|
|
317812
|
+
* also have a `name` and `type` attribute to specify filename and content type
|
|
317813
|
+
*
|
|
317814
|
+
* @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
|
|
317815
|
+
*
|
|
317816
|
+
* @param {*} value The value to test
|
|
317817
|
+
*
|
|
317818
|
+
* @returns {boolean} True if value is a React Native Blob, otherwise false
|
|
317819
|
+
*/
|
|
317820
|
+
const isReactNativeBlob = (value) => {
|
|
317821
|
+
return !!(value && typeof value.uri !== 'undefined');
|
|
317822
|
+
}
|
|
317823
|
+
|
|
317824
|
+
/**
|
|
317825
|
+
* Determine if environment is React Native
|
|
317826
|
+
* ReactNative `FormData` has a non-standard `getParts()` method
|
|
317827
|
+
*
|
|
317828
|
+
* @param {*} formData The formData to test
|
|
317829
|
+
*
|
|
317830
|
+
* @returns {boolean} True if environment is React Native, otherwise false
|
|
317831
|
+
*/
|
|
317832
|
+
const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';
|
|
317503
317833
|
|
|
317504
317834
|
/**
|
|
317505
317835
|
* Determine if a value is a Blob
|
|
@@ -317508,7 +317838,7 @@ const isFile = kindOfTest("File");
|
|
|
317508
317838
|
*
|
|
317509
317839
|
* @returns {boolean} True if value is a Blob, otherwise false
|
|
317510
317840
|
*/
|
|
317511
|
-
const isBlob = kindOfTest(
|
|
317841
|
+
const isBlob = kindOfTest('Blob');
|
|
317512
317842
|
|
|
317513
317843
|
/**
|
|
317514
317844
|
* Determine if a value is a FileList
|
|
@@ -317517,7 +317847,7 @@ const isBlob = kindOfTest("Blob");
|
|
|
317517
317847
|
*
|
|
317518
317848
|
* @returns {boolean} True if value is a File, otherwise false
|
|
317519
317849
|
*/
|
|
317520
|
-
const isFileList = kindOfTest(
|
|
317850
|
+
const isFileList = kindOfTest('FileList');
|
|
317521
317851
|
|
|
317522
317852
|
/**
|
|
317523
317853
|
* Determine if a value is a Stream
|
|
@@ -317535,17 +317865,27 @@ const isStream = (val) => isObject(val) && isFunction(val.pipe);
|
|
|
317535
317865
|
*
|
|
317536
317866
|
* @returns {boolean} True if value is an FormData, otherwise false
|
|
317537
317867
|
*/
|
|
317868
|
+
function getGlobal() {
|
|
317869
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
317870
|
+
if (typeof self !== 'undefined') return self;
|
|
317871
|
+
if (typeof window !== 'undefined') return window;
|
|
317872
|
+
if (typeof global !== 'undefined') return global;
|
|
317873
|
+
return {};
|
|
317874
|
+
}
|
|
317875
|
+
|
|
317876
|
+
const G = getGlobal();
|
|
317877
|
+
const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
|
|
317878
|
+
|
|
317538
317879
|
const isFormData = (thing) => {
|
|
317539
317880
|
let kind;
|
|
317540
|
-
return (
|
|
317541
|
-
thing
|
|
317542
|
-
|
|
317543
|
-
|
|
317544
|
-
|
|
317545
|
-
|
|
317546
|
-
|
|
317547
|
-
|
|
317548
|
-
thing.toString() === "[object FormData]"))))
|
|
317881
|
+
return thing && (
|
|
317882
|
+
(FormDataCtor && thing instanceof FormDataCtor) || (
|
|
317883
|
+
isFunction(thing.append) && (
|
|
317884
|
+
(kind = kindOf(thing)) === 'formdata' ||
|
|
317885
|
+
// detect form-data instance
|
|
317886
|
+
(kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
|
|
317887
|
+
)
|
|
317888
|
+
)
|
|
317549
317889
|
);
|
|
317550
317890
|
};
|
|
317551
317891
|
|
|
@@ -317556,13 +317896,13 @@ const isFormData = (thing) => {
|
|
|
317556
317896
|
*
|
|
317557
317897
|
* @returns {boolean} True if value is a URLSearchParams object, otherwise false
|
|
317558
317898
|
*/
|
|
317559
|
-
const isURLSearchParams = kindOfTest(
|
|
317899
|
+
const isURLSearchParams = kindOfTest('URLSearchParams');
|
|
317560
317900
|
|
|
317561
317901
|
const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
317562
|
-
|
|
317563
|
-
|
|
317564
|
-
|
|
317565
|
-
|
|
317902
|
+
'ReadableStream',
|
|
317903
|
+
'Request',
|
|
317904
|
+
'Response',
|
|
317905
|
+
'Headers',
|
|
317566
317906
|
].map(kindOfTest);
|
|
317567
317907
|
|
|
317568
317908
|
/**
|
|
@@ -317572,9 +317912,9 @@ const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
|
317572
317912
|
*
|
|
317573
317913
|
* @returns {String} The String freed of excess whitespace
|
|
317574
317914
|
*/
|
|
317575
|
-
const trim = (str) =>
|
|
317576
|
-
str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
|
|
317577
|
-
|
|
317915
|
+
const trim = (str) => {
|
|
317916
|
+
return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
|
|
317917
|
+
};
|
|
317578
317918
|
/**
|
|
317579
317919
|
* Iterate over an Array or an Object invoking a function for each item.
|
|
317580
317920
|
*
|
|
@@ -317593,7 +317933,7 @@ const trim = (str) =>
|
|
|
317593
317933
|
*/
|
|
317594
317934
|
function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
317595
317935
|
// Don't bother if no value provided
|
|
317596
|
-
if (obj === null || typeof obj ===
|
|
317936
|
+
if (obj === null || typeof obj === 'undefined') {
|
|
317597
317937
|
return;
|
|
317598
317938
|
}
|
|
317599
317939
|
|
|
@@ -317601,7 +317941,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
317601
317941
|
let l;
|
|
317602
317942
|
|
|
317603
317943
|
// Force an array if not already something iterable
|
|
317604
|
-
if (typeof obj !==
|
|
317944
|
+
if (typeof obj !== 'object') {
|
|
317605
317945
|
/*eslint no-param-reassign:0*/
|
|
317606
317946
|
obj = [obj];
|
|
317607
317947
|
}
|
|
@@ -317618,9 +317958,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
317618
317958
|
}
|
|
317619
317959
|
|
|
317620
317960
|
// Iterate over object keys
|
|
317621
|
-
const keys = allOwnKeys
|
|
317622
|
-
? Object.getOwnPropertyNames(obj)
|
|
317623
|
-
: Object.keys(obj);
|
|
317961
|
+
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
317624
317962
|
const len = keys.length;
|
|
317625
317963
|
let key;
|
|
317626
317964
|
|
|
@@ -317631,6 +317969,14 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
317631
317969
|
}
|
|
317632
317970
|
}
|
|
317633
317971
|
|
|
317972
|
+
/**
|
|
317973
|
+
* Finds a key in an object, case-insensitive, returning the actual key name.
|
|
317974
|
+
* Returns null if the object is a Buffer or if no match is found.
|
|
317975
|
+
*
|
|
317976
|
+
* @param {Object} obj - The object to search.
|
|
317977
|
+
* @param {string} key - The key to find (case-insensitive).
|
|
317978
|
+
* @returns {?string} The actual key name if found, otherwise null.
|
|
317979
|
+
*/
|
|
317634
317980
|
function findKey(obj, key) {
|
|
317635
317981
|
if (isBuffer(obj)) {
|
|
317636
317982
|
return null;
|
|
@@ -317651,16 +317997,11 @@ function findKey(obj, key) {
|
|
|
317651
317997
|
|
|
317652
317998
|
const _global = (() => {
|
|
317653
317999
|
/*eslint no-undef:0*/
|
|
317654
|
-
if (typeof globalThis !==
|
|
317655
|
-
return typeof self !==
|
|
317656
|
-
? self
|
|
317657
|
-
: typeof window !== "undefined"
|
|
317658
|
-
? window
|
|
317659
|
-
: global;
|
|
318000
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
318001
|
+
return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;
|
|
317660
318002
|
})();
|
|
317661
318003
|
|
|
317662
|
-
const isContextDefined = (context) =>
|
|
317663
|
-
!isUndefined(context) && context !== _global;
|
|
318004
|
+
const isContextDefined = (context) => !isUndefined(context) && context !== _global;
|
|
317664
318005
|
|
|
317665
318006
|
/**
|
|
317666
318007
|
* Accepts varargs expecting each argument to be an object, then
|
|
@@ -317685,7 +318026,7 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
317685
318026
|
const result = {};
|
|
317686
318027
|
const assignValue = (val, key) => {
|
|
317687
318028
|
// Skip dangerous property names to prevent prototype pollution
|
|
317688
|
-
if (key ===
|
|
318029
|
+
if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
|
|
317689
318030
|
return;
|
|
317690
318031
|
}
|
|
317691
318032
|
|
|
@@ -317738,7 +318079,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
|
317738
318079
|
});
|
|
317739
318080
|
}
|
|
317740
318081
|
},
|
|
317741
|
-
{ allOwnKeys }
|
|
318082
|
+
{ allOwnKeys }
|
|
317742
318083
|
);
|
|
317743
318084
|
return a;
|
|
317744
318085
|
};
|
|
@@ -317767,17 +318108,14 @@ const stripBOM = (content) => {
|
|
|
317767
318108
|
* @returns {void}
|
|
317768
318109
|
*/
|
|
317769
318110
|
const inherits = (constructor, superConstructor, props, descriptors) => {
|
|
317770
|
-
constructor.prototype = Object.create(
|
|
317771
|
-
|
|
317772
|
-
descriptors,
|
|
317773
|
-
);
|
|
317774
|
-
Object.defineProperty(constructor.prototype, "constructor", {
|
|
318111
|
+
constructor.prototype = Object.create(superConstructor.prototype, descriptors);
|
|
318112
|
+
Object.defineProperty(constructor.prototype, 'constructor', {
|
|
317775
318113
|
value: constructor,
|
|
317776
318114
|
writable: true,
|
|
317777
318115
|
enumerable: false,
|
|
317778
318116
|
configurable: true,
|
|
317779
318117
|
});
|
|
317780
|
-
Object.defineProperty(constructor,
|
|
318118
|
+
Object.defineProperty(constructor, 'super', {
|
|
317781
318119
|
value: superConstructor.prototype,
|
|
317782
318120
|
});
|
|
317783
318121
|
props && Object.assign(constructor.prototype, props);
|
|
@@ -317807,20 +318145,13 @@ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
|
|
|
317807
318145
|
i = props.length;
|
|
317808
318146
|
while (i-- > 0) {
|
|
317809
318147
|
prop = props[i];
|
|
317810
|
-
if (
|
|
317811
|
-
(!propFilter || propFilter(prop, sourceObj, destObj)) &&
|
|
317812
|
-
!merged[prop]
|
|
317813
|
-
) {
|
|
318148
|
+
if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
|
|
317814
318149
|
destObj[prop] = sourceObj[prop];
|
|
317815
318150
|
merged[prop] = true;
|
|
317816
318151
|
}
|
|
317817
318152
|
}
|
|
317818
318153
|
sourceObj = filter !== false && getPrototypeOf(sourceObj);
|
|
317819
|
-
} while (
|
|
317820
|
-
sourceObj &&
|
|
317821
|
-
(!filter || filter(sourceObj, destObj)) &&
|
|
317822
|
-
sourceObj !== Object.prototype
|
|
317823
|
-
);
|
|
318154
|
+
} while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
|
|
317824
318155
|
|
|
317825
318156
|
return destObj;
|
|
317826
318157
|
};
|
|
@@ -317877,7 +318208,7 @@ const isTypedArray = ((TypedArray) => {
|
|
|
317877
318208
|
return (thing) => {
|
|
317878
318209
|
return TypedArray && thing instanceof TypedArray;
|
|
317879
318210
|
};
|
|
317880
|
-
})(typeof Uint8Array !==
|
|
318211
|
+
})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
|
|
317881
318212
|
|
|
317882
318213
|
/**
|
|
317883
318214
|
* For each entry in the object, call the function with the key and value.
|
|
@@ -317920,14 +318251,12 @@ const matchAll = (regExp, str) => {
|
|
|
317920
318251
|
};
|
|
317921
318252
|
|
|
317922
318253
|
/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
|
|
317923
|
-
const isHTMLForm = kindOfTest(
|
|
318254
|
+
const isHTMLForm = kindOfTest('HTMLFormElement');
|
|
317924
318255
|
|
|
317925
318256
|
const toCamelCase = (str) => {
|
|
317926
|
-
return str
|
|
317927
|
-
.
|
|
317928
|
-
|
|
317929
|
-
return p1.toUpperCase() + p2;
|
|
317930
|
-
});
|
|
318257
|
+
return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
|
|
318258
|
+
return p1.toUpperCase() + p2;
|
|
318259
|
+
});
|
|
317931
318260
|
};
|
|
317932
318261
|
|
|
317933
318262
|
/* Creating a function that will check if an object has a property. */
|
|
@@ -317944,7 +318273,7 @@ const hasOwnProperty = (
|
|
|
317944
318273
|
*
|
|
317945
318274
|
* @returns {boolean} True if value is a RegExp object, otherwise false
|
|
317946
318275
|
*/
|
|
317947
|
-
const isRegExp = kindOfTest(
|
|
318276
|
+
const isRegExp = kindOfTest('RegExp');
|
|
317948
318277
|
|
|
317949
318278
|
const reduceDescriptors = (obj, reducer) => {
|
|
317950
318279
|
const descriptors = Object.getOwnPropertyDescriptors(obj);
|
|
@@ -317968,10 +318297,7 @@ const reduceDescriptors = (obj, reducer) => {
|
|
|
317968
318297
|
const freezeMethods = (obj) => {
|
|
317969
318298
|
reduceDescriptors(obj, (descriptor, name) => {
|
|
317970
318299
|
// skip restricted props in strict mode
|
|
317971
|
-
if (
|
|
317972
|
-
isFunction(obj) &&
|
|
317973
|
-
["arguments", "caller", "callee"].indexOf(name) !== -1
|
|
317974
|
-
) {
|
|
318300
|
+
if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
|
|
317975
318301
|
return false;
|
|
317976
318302
|
}
|
|
317977
318303
|
|
|
@@ -317981,7 +318307,7 @@ const freezeMethods = (obj) => {
|
|
|
317981
318307
|
|
|
317982
318308
|
descriptor.enumerable = false;
|
|
317983
318309
|
|
|
317984
|
-
if (
|
|
318310
|
+
if ('writable' in descriptor) {
|
|
317985
318311
|
descriptor.writable = false;
|
|
317986
318312
|
return;
|
|
317987
318313
|
}
|
|
@@ -317994,6 +318320,14 @@ const freezeMethods = (obj) => {
|
|
|
317994
318320
|
});
|
|
317995
318321
|
};
|
|
317996
318322
|
|
|
318323
|
+
/**
|
|
318324
|
+
* Converts an array or a delimited string into an object set with values as keys and true as values.
|
|
318325
|
+
* Useful for fast membership checks.
|
|
318326
|
+
*
|
|
318327
|
+
* @param {Array|string} arrayOrString - The array or string to convert.
|
|
318328
|
+
* @param {string} delimiter - The delimiter to use if input is a string.
|
|
318329
|
+
* @returns {Object} An object with keys from the array or string, values set to true.
|
|
318330
|
+
*/
|
|
317997
318331
|
const toObjectSet = (arrayOrString, delimiter) => {
|
|
317998
318332
|
const obj = {};
|
|
317999
318333
|
|
|
@@ -318003,9 +318337,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|
|
318003
318337
|
});
|
|
318004
318338
|
};
|
|
318005
318339
|
|
|
318006
|
-
isArray(arrayOrString)
|
|
318007
|
-
? define(arrayOrString)
|
|
318008
|
-
: define(String(arrayOrString).split(delimiter));
|
|
318340
|
+
isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
|
|
318009
318341
|
|
|
318010
318342
|
return obj;
|
|
318011
318343
|
};
|
|
@@ -318013,9 +318345,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|
|
318013
318345
|
const noop = () => {};
|
|
318014
318346
|
|
|
318015
318347
|
const toFiniteNumber = (value, defaultValue) => {
|
|
318016
|
-
return value != null && Number.isFinite((value = +value))
|
|
318017
|
-
? value
|
|
318018
|
-
: defaultValue;
|
|
318348
|
+
return value != null && Number.isFinite((value = +value)) ? value : defaultValue;
|
|
318019
318349
|
};
|
|
318020
318350
|
|
|
318021
318351
|
/**
|
|
@@ -318029,11 +318359,17 @@ function isSpecCompliantForm(thing) {
|
|
|
318029
318359
|
return !!(
|
|
318030
318360
|
thing &&
|
|
318031
318361
|
isFunction(thing.append) &&
|
|
318032
|
-
thing[toStringTag] ===
|
|
318362
|
+
thing[toStringTag] === 'FormData' &&
|
|
318033
318363
|
thing[iterator]
|
|
318034
318364
|
);
|
|
318035
318365
|
}
|
|
318036
318366
|
|
|
318367
|
+
/**
|
|
318368
|
+
* Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.
|
|
318369
|
+
*
|
|
318370
|
+
* @param {Object} obj - The object to convert.
|
|
318371
|
+
* @returns {Object} The JSON-compatible object.
|
|
318372
|
+
*/
|
|
318037
318373
|
const toJSONObject = (obj) => {
|
|
318038
318374
|
const stack = new Array(10);
|
|
318039
318375
|
|
|
@@ -318048,7 +318384,7 @@ const toJSONObject = (obj) => {
|
|
|
318048
318384
|
return source;
|
|
318049
318385
|
}
|
|
318050
318386
|
|
|
318051
|
-
if (!(
|
|
318387
|
+
if (!('toJSON' in source)) {
|
|
318052
318388
|
stack[i] = source;
|
|
318053
318389
|
const target = isArray(source) ? [] : {};
|
|
318054
318390
|
|
|
@@ -318069,8 +318405,20 @@ const toJSONObject = (obj) => {
|
|
|
318069
318405
|
return visit(obj, 0);
|
|
318070
318406
|
};
|
|
318071
318407
|
|
|
318072
|
-
|
|
318408
|
+
/**
|
|
318409
|
+
* Determines if a value is an async function.
|
|
318410
|
+
*
|
|
318411
|
+
* @param {*} thing - The value to test.
|
|
318412
|
+
* @returns {boolean} True if value is an async function, otherwise false.
|
|
318413
|
+
*/
|
|
318414
|
+
const isAsyncFn = kindOfTest('AsyncFunction');
|
|
318073
318415
|
|
|
318416
|
+
/**
|
|
318417
|
+
* Determines if a value is thenable (has then and catch methods).
|
|
318418
|
+
*
|
|
318419
|
+
* @param {*} thing - The value to test.
|
|
318420
|
+
* @returns {boolean} True if value is thenable, otherwise false.
|
|
318421
|
+
*/
|
|
318074
318422
|
const isThenable = (thing) =>
|
|
318075
318423
|
thing &&
|
|
318076
318424
|
(isObject(thing) || isFunction(thing)) &&
|
|
@@ -318080,6 +318428,14 @@ const isThenable = (thing) =>
|
|
|
318080
318428
|
// original code
|
|
318081
318429
|
// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
|
|
318082
318430
|
|
|
318431
|
+
/**
|
|
318432
|
+
* Provides a cross-platform setImmediate implementation.
|
|
318433
|
+
* Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.
|
|
318434
|
+
*
|
|
318435
|
+
* @param {boolean} setImmediateSupported - Whether setImmediate is supported.
|
|
318436
|
+
* @param {boolean} postMessageSupported - Whether postMessage is supported.
|
|
318437
|
+
* @returns {Function} A function to schedule a callback asynchronously.
|
|
318438
|
+
*/
|
|
318083
318439
|
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
318084
318440
|
if (setImmediateSupported) {
|
|
318085
318441
|
return setImmediate;
|
|
@@ -318088,27 +318444,33 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
|
318088
318444
|
return postMessageSupported
|
|
318089
318445
|
? ((token, callbacks) => {
|
|
318090
318446
|
_global.addEventListener(
|
|
318091
|
-
|
|
318447
|
+
'message',
|
|
318092
318448
|
({ source, data }) => {
|
|
318093
318449
|
if (source === _global && data === token) {
|
|
318094
318450
|
callbacks.length && callbacks.shift()();
|
|
318095
318451
|
}
|
|
318096
318452
|
},
|
|
318097
|
-
false
|
|
318453
|
+
false
|
|
318098
318454
|
);
|
|
318099
318455
|
|
|
318100
318456
|
return (cb) => {
|
|
318101
318457
|
callbacks.push(cb);
|
|
318102
|
-
_global.postMessage(token,
|
|
318458
|
+
_global.postMessage(token, '*');
|
|
318103
318459
|
};
|
|
318104
318460
|
})(`axios@${Math.random()}`, [])
|
|
318105
318461
|
: (cb) => setTimeout(cb);
|
|
318106
|
-
})(typeof setImmediate ===
|
|
318462
|
+
})(typeof setImmediate === 'function', isFunction(_global.postMessage));
|
|
318107
318463
|
|
|
318464
|
+
/**
|
|
318465
|
+
* Schedules a microtask or asynchronous callback as soon as possible.
|
|
318466
|
+
* Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.
|
|
318467
|
+
*
|
|
318468
|
+
* @type {Function}
|
|
318469
|
+
*/
|
|
318108
318470
|
const asap =
|
|
318109
|
-
typeof queueMicrotask !==
|
|
318471
|
+
typeof queueMicrotask !== 'undefined'
|
|
318110
318472
|
? queueMicrotask.bind(_global)
|
|
318111
|
-
: (typeof process !==
|
|
318473
|
+
: (typeof process !== 'undefined' && process.nextTick) || _setImmediate;
|
|
318112
318474
|
|
|
318113
318475
|
// *********************
|
|
318114
318476
|
|
|
@@ -318133,6 +318495,8 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
|
318133
318495
|
isUndefined,
|
|
318134
318496
|
isDate,
|
|
318135
318497
|
isFile,
|
|
318498
|
+
isReactNativeBlob,
|
|
318499
|
+
isReactNative,
|
|
318136
318500
|
isBlob,
|
|
318137
318501
|
isRegExp,
|
|
318138
318502
|
isFunction,
|
|
@@ -321451,7 +321815,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
321451
321815
|
/***/ ((module) => {
|
|
321452
321816
|
|
|
321453
321817
|
"use strict";
|
|
321454
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.7.0-dev.
|
|
321818
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.7.0-dev.17","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","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":{"@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"}}');
|
|
321455
321819
|
|
|
321456
321820
|
/***/ })
|
|
321457
321821
|
|