@itwin/ecschema-rpcinterface-tests 5.0.0-dev.22 → 5.0.0-dev.24
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 +1226 -845
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_1_6_node_modules_loaders_gl_draco_di-0642a6.bundled-tests.js +5 -5
- package/package.json +16 -16
- package/lib/dist/vendors-common_temp_node_modules_pnpm_meshoptimizer_0_20_0_node_modules_meshoptimizer_index_m-a5ae61.bundled-tests.js +0 -698
- package/lib/dist/vendors-common_temp_node_modules_pnpm_meshoptimizer_0_20_0_node_modules_meshoptimizer_index_m-a5ae61.bundled-tests.js.map +0 -1
|
@@ -662,7 +662,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
662
662
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
663
663
|
/* harmony export */ AxiosRestClient: () => (/* binding */ AxiosRestClient)
|
|
664
664
|
/* harmony export */ });
|
|
665
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
665
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js");
|
|
666
666
|
/* harmony import */ var _types_RestClient__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../types/RestClient */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@5.8.1/node_modules/@itwin/imodels-client-management/lib/esm/base/types/RestClient.js");
|
|
667
667
|
/* harmony import */ var _AxiosResponseHeadersAdapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosResponseHeadersAdapter */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@5.8.1/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/AxiosResponseHeadersAdapter.js");
|
|
668
668
|
/* harmony import */ var _UtilityFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./UtilityFunctions */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@5.8.1/node_modules/@itwin/imodels-client-management/lib/esm/base/internal/UtilityFunctions.js");
|
|
@@ -771,7 +771,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
771
771
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
772
772
|
/* harmony export */ AxiosRetryPolicy: () => (/* binding */ AxiosRetryPolicy)
|
|
773
773
|
/* harmony export */ });
|
|
774
|
-
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
774
|
+
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! axios */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/index.js");
|
|
775
775
|
/* harmony import */ var _Constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../Constants */ "../../common/temp/node_modules/.pnpm/@itwin+imodels-client-management@5.8.1/node_modules/@itwin/imodels-client-management/lib/esm/Constants.js");
|
|
776
776
|
/*---------------------------------------------------------------------------------------------
|
|
777
777
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -4111,9 +4111,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4111
4111
|
|
|
4112
4112
|
/***/ }),
|
|
4113
4113
|
|
|
4114
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4114
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestFrontendAuthorizationClient.js":
|
|
4115
4115
|
/*!*************************************************************************************************************************************************************************************!*\
|
|
4116
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4116
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestFrontendAuthorizationClient.js ***!
|
|
4117
4117
|
\*************************************************************************************************************************************************************************************/
|
|
4118
4118
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4119
4119
|
|
|
@@ -4168,9 +4168,9 @@ exports.TestFrontendAuthorizationClient = TestFrontendAuthorizationClient;
|
|
|
4168
4168
|
|
|
4169
4169
|
/***/ }),
|
|
4170
4170
|
|
|
4171
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4171
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestUsers.js":
|
|
4172
4172
|
/*!***************************************************************************************************************************************************************!*\
|
|
4173
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4173
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestUsers.js ***!
|
|
4174
4174
|
\***************************************************************************************************************************************************************/
|
|
4175
4175
|
/***/ ((__unused_webpack_module, exports) => {
|
|
4176
4176
|
|
|
@@ -4256,16 +4256,16 @@ exports.TestUsers = TestUsers;
|
|
|
4256
4256
|
|
|
4257
4257
|
/***/ }),
|
|
4258
4258
|
|
|
4259
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4259
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js":
|
|
4260
4260
|
/*!***********************************************************************************************************************************************************************!*\
|
|
4261
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4261
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js ***!
|
|
4262
4262
|
\***********************************************************************************************************************************************************************/
|
|
4263
4263
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
4264
4264
|
|
|
4265
4265
|
"use strict";
|
|
4266
4266
|
|
|
4267
4267
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4268
|
-
exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
|
|
4268
|
+
exports.getServiceAuthTokenFromBackend = exports.getAccessTokenFromBackend = exports.getServiceAuthTokenCallbackName = exports.getTokenCallbackName = void 0;
|
|
4269
4269
|
/*---------------------------------------------------------------------------------------------
|
|
4270
4270
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
4271
4271
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -4273,6 +4273,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
|
|
|
4273
4273
|
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../tools/certa/lib/utils/CallbackUtils.js");
|
|
4274
4274
|
// Shared by both the frontend and backend side of the tests
|
|
4275
4275
|
exports.getTokenCallbackName = "getToken";
|
|
4276
|
+
exports.getServiceAuthTokenCallbackName = "getServiceAuthToken";
|
|
4276
4277
|
/**
|
|
4277
4278
|
* Retrieves an access token from the backend using the specified user credentials.
|
|
4278
4279
|
*/
|
|
@@ -4281,13 +4282,21 @@ async function getAccessTokenFromBackend(user, oidcConfig) {
|
|
|
4281
4282
|
return accessToken;
|
|
4282
4283
|
}
|
|
4283
4284
|
exports.getAccessTokenFromBackend = getAccessTokenFromBackend;
|
|
4285
|
+
/**
|
|
4286
|
+
* Retrieves a service authorization token from the backend.
|
|
4287
|
+
*/
|
|
4288
|
+
async function getServiceAuthTokenFromBackend(oidcConfig) {
|
|
4289
|
+
const accessToken = await (0, CallbackUtils_1.executeBackendCallback)(exports.getServiceAuthTokenCallbackName, oidcConfig);
|
|
4290
|
+
return accessToken;
|
|
4291
|
+
}
|
|
4292
|
+
exports.getServiceAuthTokenFromBackend = getServiceAuthTokenFromBackend;
|
|
4284
4293
|
//# sourceMappingURL=certaCommon.js.map
|
|
4285
4294
|
|
|
4286
4295
|
/***/ }),
|
|
4287
4296
|
|
|
4288
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4297
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js":
|
|
4289
4298
|
/*!**************************************************************************************************************************************************************!*\
|
|
4290
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4299
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js ***!
|
|
4291
4300
|
\**************************************************************************************************************************************************************/
|
|
4292
4301
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4293
4302
|
|
|
@@ -4312,9 +4321,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
4312
4321
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
4313
4322
|
};
|
|
4314
4323
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4315
|
-
__exportStar(__webpack_require__(/*! ./TestUsers */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4316
|
-
__exportStar(__webpack_require__(/*! ./TestFrontendAuthorizationClient */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4317
|
-
__exportStar(__webpack_require__(/*! ./certa/certaCommon */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
4324
|
+
__exportStar(__webpack_require__(/*! ./TestUsers */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestUsers.js"), exports);
|
|
4325
|
+
__exportStar(__webpack_require__(/*! ./TestFrontendAuthorizationClient */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/TestFrontendAuthorizationClient.js"), exports);
|
|
4326
|
+
__exportStar(__webpack_require__(/*! ./certa/certaCommon */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/certa/certaCommon.js"), exports);
|
|
4318
4327
|
//# sourceMappingURL=frontend.js.map
|
|
4319
4328
|
|
|
4320
4329
|
/***/ }),
|
|
@@ -18293,8 +18302,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18293
18302
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
18294
18303
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
18295
18304
|
/* harmony export */ });
|
|
18296
|
-
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
18297
|
-
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
18305
|
+
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
18306
|
+
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
18298
18307
|
|
|
18299
18308
|
|
|
18300
18309
|
|
|
@@ -23387,8 +23396,11 @@ var Id64;
|
|
|
23387
23396
|
/** Remove an Id from the set. */
|
|
23388
23397
|
delete(low, high) {
|
|
23389
23398
|
const set = this._map.get(high);
|
|
23390
|
-
if (undefined !== set)
|
|
23399
|
+
if (undefined !== set) {
|
|
23391
23400
|
set.delete(low);
|
|
23401
|
+
if (set.size === 0)
|
|
23402
|
+
this._map.delete(high);
|
|
23403
|
+
}
|
|
23392
23404
|
}
|
|
23393
23405
|
/** Returns true if the set contains the specified Id. */
|
|
23394
23406
|
has(low, high) {
|
|
@@ -59886,13 +59898,13 @@ var CurrentImdlVersion;
|
|
|
59886
59898
|
* front-end is not capable of reading the tile content. Otherwise, this front-end can read the tile content even if the header specifies a
|
|
59887
59899
|
* greater minor version than CurrentVersion.Minor, although some data may be skipped.
|
|
59888
59900
|
*/
|
|
59889
|
-
CurrentImdlVersion[CurrentImdlVersion["Major"] =
|
|
59901
|
+
CurrentImdlVersion[CurrentImdlVersion["Major"] = 36] = "Major";
|
|
59890
59902
|
/** The unsigned 16-bit minor version number. If the major version in the tile header is equal to CurrentVersion.Major, then this package can
|
|
59891
59903
|
* read the tile content even if the minor version in the tile header is greater than this value, although some data may be skipped.
|
|
59892
59904
|
*/
|
|
59893
59905
|
CurrentImdlVersion[CurrentImdlVersion["Minor"] = 0] = "Minor";
|
|
59894
59906
|
/** The unsigned 32-bit version number derived from the 16-bit major and minor version numbers. */
|
|
59895
|
-
CurrentImdlVersion[CurrentImdlVersion["Combined"] =
|
|
59907
|
+
CurrentImdlVersion[CurrentImdlVersion["Combined"] = 2359296] = "Combined";
|
|
59896
59908
|
})(CurrentImdlVersion || (CurrentImdlVersion = {}));
|
|
59897
59909
|
/** Header embedded at the beginning of binary tile data in iMdl format describing its contents.
|
|
59898
59910
|
* @internal
|
|
@@ -81694,7 +81706,7 @@ class GraphicalEditingScope extends _BriefcaseTxns__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
81694
81706
|
}
|
|
81695
81707
|
if (deletedIds) {
|
|
81696
81708
|
this.iModel.selectionSet.remove(deletedIds);
|
|
81697
|
-
this.iModel.hilited.
|
|
81709
|
+
this.iModel.hilited.remove({ elements: deletedIds });
|
|
81698
81710
|
}
|
|
81699
81711
|
this.onGeometryChanges.raiseEvent(changes, this);
|
|
81700
81712
|
}
|
|
@@ -87211,9 +87223,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
87211
87223
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
87212
87224
|
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
87213
87225
|
/*---------------------------------------------------------------------------------------------
|
|
87214
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
87215
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
87216
|
-
*--------------------------------------------------------------------------------------------*/
|
|
87226
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
87227
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
87228
|
+
*--------------------------------------------------------------------------------------------*/
|
|
87229
|
+
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
87230
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
87231
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
87232
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
87233
|
+
};
|
|
87234
|
+
var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
87235
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
87236
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
87237
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
87238
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
87239
|
+
};
|
|
87240
|
+
var _HiliteSet_instances, _HiliteSet_mode, _HiliteSet_selectionChangesListener, _HiliteSet_changing, _HiliteSet_onChanged, _HiliteSet_change, _HiliteSet_processSelectionSetEvent, _SelectionSet_instances, _SelectionSet_selection, _SelectionSet_sendChangedEvent, _SelectionSet_add, _SelectionSet_remove;
|
|
87217
87241
|
/** @packageDocumentation
|
|
87218
87242
|
* @module SelectionSet
|
|
87219
87243
|
*/
|
|
@@ -87225,85 +87249,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
87225
87249
|
*/
|
|
87226
87250
|
var SelectionSetEventType;
|
|
87227
87251
|
(function (SelectionSetEventType) {
|
|
87228
|
-
/**
|
|
87252
|
+
/** Ids have been added to the set. */
|
|
87229
87253
|
SelectionSetEventType[SelectionSetEventType["Add"] = 0] = "Add";
|
|
87230
|
-
/**
|
|
87254
|
+
/** Ids have been removed from the set. */
|
|
87231
87255
|
SelectionSetEventType[SelectionSetEventType["Remove"] = 1] = "Remove";
|
|
87232
|
-
/** Some
|
|
87256
|
+
/** Some ids have been added to the set and others have been removed. */
|
|
87233
87257
|
SelectionSetEventType[SelectionSetEventType["Replace"] = 2] = "Replace";
|
|
87234
|
-
/** All
|
|
87258
|
+
/** All ids have been removed from the set. */
|
|
87235
87259
|
SelectionSetEventType[SelectionSetEventType["Clear"] = 3] = "Clear";
|
|
87236
87260
|
})(SelectionSetEventType || (SelectionSetEventType = {}));
|
|
87237
|
-
/**
|
|
87261
|
+
/** Holds a set of hilited entities and makes any changes to the set by passing the change
|
|
87262
|
+
* function to given `change` callback.
|
|
87238
87263
|
* @internal
|
|
87239
87264
|
*/
|
|
87240
87265
|
class HilitedIds extends _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.Uint32Set {
|
|
87241
|
-
constructor(
|
|
87266
|
+
constructor(_change) {
|
|
87242
87267
|
super();
|
|
87243
|
-
this.
|
|
87244
|
-
this._iModel = iModel;
|
|
87268
|
+
this._change = _change;
|
|
87245
87269
|
}
|
|
87246
87270
|
add(low, high) {
|
|
87247
|
-
super.add(low, high);
|
|
87248
|
-
this.onChanged();
|
|
87271
|
+
this._change(() => super.add(low, high));
|
|
87249
87272
|
}
|
|
87250
87273
|
delete(low, high) {
|
|
87251
|
-
super.delete(low, high);
|
|
87252
|
-
this.onChanged();
|
|
87274
|
+
this._change(() => super.delete(low, high));
|
|
87253
87275
|
}
|
|
87254
87276
|
clear() {
|
|
87255
|
-
super.clear();
|
|
87256
|
-
this.onChanged();
|
|
87277
|
+
this._change(() => super.clear());
|
|
87257
87278
|
}
|
|
87258
87279
|
addIds(ids) {
|
|
87259
|
-
this.
|
|
87280
|
+
this._change(() => super.addIds(ids));
|
|
87260
87281
|
}
|
|
87261
87282
|
deleteIds(ids) {
|
|
87262
|
-
this.
|
|
87263
|
-
}
|
|
87264
|
-
onChanged() {
|
|
87265
|
-
if (!this._changing)
|
|
87266
|
-
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.viewManager.onSelectionSetChanged(this._iModel);
|
|
87267
|
-
}
|
|
87268
|
-
change(func) {
|
|
87269
|
-
const changing = this._changing;
|
|
87270
|
-
this._changing = false;
|
|
87271
|
-
func();
|
|
87272
|
-
this._changing = changing;
|
|
87273
|
-
this.onChanged();
|
|
87274
|
-
}
|
|
87275
|
-
}
|
|
87276
|
-
/** Keeps the set of hilited elements in sync with the selection set.
|
|
87277
|
-
* @internal
|
|
87278
|
-
*/
|
|
87279
|
-
class HilitedElementIds extends HilitedIds {
|
|
87280
|
-
constructor(iModel, syncWithSelectionSet = true) {
|
|
87281
|
-
super(iModel);
|
|
87282
|
-
this.wantSyncWithSelectionSet = syncWithSelectionSet;
|
|
87283
|
-
}
|
|
87284
|
-
get wantSyncWithSelectionSet() { return undefined !== this._removeListener; }
|
|
87285
|
-
set wantSyncWithSelectionSet(want) {
|
|
87286
|
-
if (want === this.wantSyncWithSelectionSet)
|
|
87287
|
-
return;
|
|
87288
|
-
if (want) {
|
|
87289
|
-
const set = this._iModel.selectionSet;
|
|
87290
|
-
this._removeListener = set.onChanged.addListener((ev) => this.change(() => this.processSelectionSetEvent(ev)));
|
|
87291
|
-
this.processSelectionSetEvent({
|
|
87292
|
-
set,
|
|
87293
|
-
type: SelectionSetEventType.Add,
|
|
87294
|
-
added: set.elements,
|
|
87295
|
-
});
|
|
87296
|
-
}
|
|
87297
|
-
else {
|
|
87298
|
-
this._removeListener();
|
|
87299
|
-
this._removeListener = undefined;
|
|
87300
|
-
}
|
|
87301
|
-
}
|
|
87302
|
-
processSelectionSetEvent(ev) {
|
|
87303
|
-
if (SelectionSetEventType.Add !== ev.type)
|
|
87304
|
-
this.deleteIds(ev.removed);
|
|
87305
|
-
if (ev.type === SelectionSetEventType.Add || ev.type === SelectionSetEventType.Replace)
|
|
87306
|
-
this.addIds(ev.added);
|
|
87283
|
+
this._change(() => super.deleteIds(ids));
|
|
87307
87284
|
}
|
|
87308
87285
|
}
|
|
87309
87286
|
/** A set of *hilited* elements for an [[IModelConnection]], by element id.
|
|
@@ -87325,8 +87302,6 @@ class HilitedElementIds extends HilitedIds {
|
|
|
87325
87302
|
* @extensions
|
|
87326
87303
|
*/
|
|
87327
87304
|
class HiliteSet {
|
|
87328
|
-
/** The set of hilited elements. */
|
|
87329
|
-
get elements() { return this._elements; }
|
|
87330
87305
|
/** Controls how the sets of hilited [[models]] and [[subcategories]] interact with one another.
|
|
87331
87306
|
* By default they are treated as a union: a [Feature]($common) is hilited if either its model **or** its subcategory is hilited.
|
|
87332
87307
|
* This can be changed to an intersection such that a [Feature]($common) is hilited only if both its model **and** subcategory are hilited.
|
|
@@ -87334,60 +87309,133 @@ class HiliteSet {
|
|
|
87334
87309
|
* [[elements]] is always hilited regardless of its model or subcategories.
|
|
87335
87310
|
*/
|
|
87336
87311
|
get modelSubCategoryMode() {
|
|
87337
|
-
return this
|
|
87312
|
+
return __classPrivateFieldGet(this, _HiliteSet_mode, "f");
|
|
87338
87313
|
}
|
|
87339
87314
|
set modelSubCategoryMode(mode) {
|
|
87340
|
-
if (mode === this
|
|
87315
|
+
if (mode === __classPrivateFieldGet(this, _HiliteSet_mode, "f")) {
|
|
87341
87316
|
return;
|
|
87317
|
+
}
|
|
87342
87318
|
this.onModelSubCategoryModeChanged.raiseEvent(mode);
|
|
87343
|
-
this
|
|
87319
|
+
__classPrivateFieldSet(this, _HiliteSet_mode, mode, "f");
|
|
87344
87320
|
}
|
|
87345
87321
|
/** Construct a HiliteSet
|
|
87346
87322
|
* @param iModel The iModel containing the entities to be hilited.
|
|
87347
|
-
* @param syncWithSelectionSet If true, the
|
|
87323
|
+
* @param syncWithSelectionSet If true, the hilite set contents will be synchronized with those in the `iModel`'s [[SelectionSet]].
|
|
87348
87324
|
*/
|
|
87349
87325
|
constructor(iModel, syncWithSelectionSet = true) {
|
|
87326
|
+
_HiliteSet_instances.add(this);
|
|
87350
87327
|
this.iModel = iModel;
|
|
87351
|
-
this
|
|
87328
|
+
_HiliteSet_mode.set(this, "union");
|
|
87329
|
+
_HiliteSet_selectionChangesListener.set(this, void 0);
|
|
87330
|
+
_HiliteSet_changing.set(this, false);
|
|
87352
87331
|
/** Event raised just before changing the value of [[modelSubCategoryMode]]. */
|
|
87353
87332
|
this.onModelSubCategoryModeChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
87354
|
-
this.
|
|
87355
|
-
this.subcategories = new HilitedIds(
|
|
87356
|
-
this.models = new HilitedIds(
|
|
87333
|
+
this.elements = new HilitedIds((func) => __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, func));
|
|
87334
|
+
this.subcategories = new HilitedIds((func) => __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, func));
|
|
87335
|
+
this.models = new HilitedIds((func) => __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, func));
|
|
87336
|
+
this.wantSyncWithSelectionSet = syncWithSelectionSet;
|
|
87357
87337
|
}
|
|
87358
|
-
/** Control whether the
|
|
87338
|
+
/** Control whether the hilite set will be synchronized with the contents of the [[SelectionSet]].
|
|
87359
87339
|
* By default they are synchronized. Applications that override this take responsibility for managing the set of hilited entities.
|
|
87360
87340
|
* When turning synchronization off, the contents of the HiliteSet will remain unchanged.
|
|
87361
87341
|
* When turning synchronization on, the current contents of the HiliteSet will be preserved, and the contents of the selection set will be added to them.
|
|
87362
87342
|
*/
|
|
87363
|
-
get wantSyncWithSelectionSet() {
|
|
87364
|
-
|
|
87343
|
+
get wantSyncWithSelectionSet() {
|
|
87344
|
+
return !!__classPrivateFieldGet(this, _HiliteSet_selectionChangesListener, "f");
|
|
87345
|
+
}
|
|
87346
|
+
set wantSyncWithSelectionSet(want) {
|
|
87347
|
+
if (want === this.wantSyncWithSelectionSet) {
|
|
87348
|
+
return;
|
|
87349
|
+
}
|
|
87350
|
+
if (want) {
|
|
87351
|
+
const set = this.iModel.selectionSet;
|
|
87352
|
+
__classPrivateFieldSet(this, _HiliteSet_selectionChangesListener, set.onChanged.addListener((ev) => __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_processSelectionSetEvent).call(this, ev)), "f");
|
|
87353
|
+
this.add(set.active);
|
|
87354
|
+
}
|
|
87355
|
+
else {
|
|
87356
|
+
__classPrivateFieldGet(this, _HiliteSet_selectionChangesListener, "f")();
|
|
87357
|
+
__classPrivateFieldSet(this, _HiliteSet_selectionChangesListener, undefined, "f");
|
|
87358
|
+
}
|
|
87359
|
+
}
|
|
87360
|
+
/** Adds a collection of geometric element, model and subcategory ids to this hilite set. */
|
|
87361
|
+
add(additions) {
|
|
87362
|
+
__classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, () => {
|
|
87363
|
+
additions.elements && this.elements.addIds(additions.elements);
|
|
87364
|
+
additions.models && this.models.addIds(additions.models);
|
|
87365
|
+
additions.subcategories && this.subcategories.addIds(additions.subcategories);
|
|
87366
|
+
});
|
|
87367
|
+
}
|
|
87368
|
+
/** Removes a collection of geometric element, model and subcategory ids from this hilite set. */
|
|
87369
|
+
remove(removals) {
|
|
87370
|
+
__classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, () => {
|
|
87371
|
+
removals.elements && this.elements.deleteIds(removals.elements);
|
|
87372
|
+
removals.models && this.models.deleteIds(removals.models);
|
|
87373
|
+
removals.subcategories && this.subcategories.deleteIds(removals.subcategories);
|
|
87374
|
+
});
|
|
87375
|
+
}
|
|
87376
|
+
/** Replaces ids currently in the hilite set with the given collection. */
|
|
87377
|
+
replace(ids) {
|
|
87378
|
+
__classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, () => {
|
|
87379
|
+
this.clear();
|
|
87380
|
+
this.add(ids);
|
|
87381
|
+
});
|
|
87382
|
+
}
|
|
87365
87383
|
/** Remove all elements from the hilited set. */
|
|
87366
87384
|
clear() {
|
|
87367
|
-
this.
|
|
87368
|
-
|
|
87369
|
-
|
|
87385
|
+
__classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, () => {
|
|
87386
|
+
this.elements.clear();
|
|
87387
|
+
this.models.clear();
|
|
87388
|
+
this.subcategories.clear();
|
|
87389
|
+
});
|
|
87370
87390
|
}
|
|
87371
87391
|
/** Returns true if nothing is hilited. */
|
|
87372
|
-
get isEmpty() {
|
|
87392
|
+
get isEmpty() {
|
|
87393
|
+
return this.elements.isEmpty && this.subcategories.isEmpty && this.models.isEmpty;
|
|
87394
|
+
}
|
|
87373
87395
|
/** Toggle the hilited state of one or more elements.
|
|
87374
87396
|
* @param arg the ID(s) of the elements whose state is to be toggled.
|
|
87375
87397
|
* @param onOff True to add the elements to the hilited set, false to remove them.
|
|
87398
|
+
* @deprecated in 5.0. Use [[add]], [[remove]], [[replace]] instead.
|
|
87376
87399
|
*/
|
|
87377
87400
|
setHilite(arg, onOff) {
|
|
87378
|
-
|
|
87379
|
-
|
|
87380
|
-
|
|
87381
|
-
|
|
87382
|
-
|
|
87383
|
-
this.elements.deleteId(id);
|
|
87401
|
+
if (onOff) {
|
|
87402
|
+
this.add({ elements: arg });
|
|
87403
|
+
}
|
|
87404
|
+
else {
|
|
87405
|
+
this.remove({ elements: arg });
|
|
87384
87406
|
}
|
|
87385
|
-
if (oldSize !== this.elements.size)
|
|
87386
|
-
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.viewManager.onSelectionSetChanged(this.iModel);
|
|
87387
87407
|
}
|
|
87388
87408
|
}
|
|
87389
|
-
|
|
87390
|
-
|
|
87409
|
+
_HiliteSet_mode = new WeakMap(), _HiliteSet_selectionChangesListener = new WeakMap(), _HiliteSet_changing = new WeakMap(), _HiliteSet_instances = new WeakSet(), _HiliteSet_onChanged = function _HiliteSet_onChanged() {
|
|
87410
|
+
if (!__classPrivateFieldGet(this, _HiliteSet_changing, "f")) {
|
|
87411
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.viewManager.onSelectionSetChanged(this.iModel);
|
|
87412
|
+
}
|
|
87413
|
+
}, _HiliteSet_change = function _HiliteSet_change(func) {
|
|
87414
|
+
const changing = __classPrivateFieldGet(this, _HiliteSet_changing, "f");
|
|
87415
|
+
__classPrivateFieldSet(this, _HiliteSet_changing, true, "f");
|
|
87416
|
+
try {
|
|
87417
|
+
func();
|
|
87418
|
+
}
|
|
87419
|
+
finally {
|
|
87420
|
+
__classPrivateFieldSet(this, _HiliteSet_changing, changing, "f");
|
|
87421
|
+
}
|
|
87422
|
+
__classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_onChanged).call(this);
|
|
87423
|
+
}, _HiliteSet_processSelectionSetEvent = function _HiliteSet_processSelectionSetEvent(ev) {
|
|
87424
|
+
switch (ev.type) {
|
|
87425
|
+
case SelectionSetEventType.Add:
|
|
87426
|
+
return this.add(ev.additions);
|
|
87427
|
+
case SelectionSetEventType.Replace:
|
|
87428
|
+
return __classPrivateFieldGet(this, _HiliteSet_instances, "m", _HiliteSet_change).call(this, () => {
|
|
87429
|
+
this.add(ev.additions);
|
|
87430
|
+
this.remove(ev.removals);
|
|
87431
|
+
});
|
|
87432
|
+
case SelectionSetEventType.Remove:
|
|
87433
|
+
case SelectionSetEventType.Clear:
|
|
87434
|
+
return this.remove(ev.removals);
|
|
87435
|
+
}
|
|
87436
|
+
};
|
|
87437
|
+
/** A set of *currently selected* geometric elements, models and subcategories for an `IModelConnection`.
|
|
87438
|
+
* Generally, selected elements are displayed with a customizable hilite effect within a [[Viewport]], see [[HiliteSet]].
|
|
87391
87439
|
* @see [Hilite.Settings]($common) for customization of the hilite effect.
|
|
87392
87440
|
* @public
|
|
87393
87441
|
* @extensions
|
|
@@ -87396,127 +87444,355 @@ class SelectionSet {
|
|
|
87396
87444
|
/** The IDs of the selected elements.
|
|
87397
87445
|
* @note Do not modify this set directly. Instead, use methods like [[SelectionSet.add]].
|
|
87398
87446
|
*/
|
|
87399
|
-
get elements() {
|
|
87447
|
+
get elements() {
|
|
87448
|
+
return __classPrivateFieldGet(this, _SelectionSet_selection, "f").elements;
|
|
87449
|
+
}
|
|
87450
|
+
/** The IDs of the selected models.
|
|
87451
|
+
* @note Do not modify this set directly. Instead, use methods like [[SelectionSet.add]].
|
|
87452
|
+
*/
|
|
87453
|
+
get models() {
|
|
87454
|
+
return __classPrivateFieldGet(this, _SelectionSet_selection, "f").models;
|
|
87455
|
+
}
|
|
87456
|
+
/** The IDs of the selected subcategories.
|
|
87457
|
+
* @note Do not modify this set directly. Instead, use methods like [[SelectionSet.add]].
|
|
87458
|
+
*/
|
|
87459
|
+
get subcategories() {
|
|
87460
|
+
return __classPrivateFieldGet(this, _SelectionSet_selection, "f").subcategories;
|
|
87461
|
+
}
|
|
87462
|
+
/** Get the active selection as a collection of geometric element, model and subcategory ids.
|
|
87463
|
+
* @note Do not modify the sets in returned collection directly. Instead, use methods like [[SelectionSet.add]].
|
|
87464
|
+
*/
|
|
87465
|
+
get active() {
|
|
87466
|
+
return { ...__classPrivateFieldGet(this, _SelectionSet_selection, "f") };
|
|
87467
|
+
}
|
|
87400
87468
|
constructor(iModel) {
|
|
87469
|
+
_SelectionSet_instances.add(this);
|
|
87401
87470
|
this.iModel = iModel;
|
|
87402
|
-
this
|
|
87403
|
-
/** Called whenever
|
|
87471
|
+
_SelectionSet_selection.set(this, void 0);
|
|
87472
|
+
/** Called whenever ids are added or removed from this `SelectionSet` */
|
|
87404
87473
|
this.onChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
87405
|
-
|
|
87406
|
-
|
|
87407
|
-
|
|
87408
|
-
|
|
87474
|
+
__classPrivateFieldSet(this, _SelectionSet_selection, {
|
|
87475
|
+
elements: new Set(),
|
|
87476
|
+
models: new Set(),
|
|
87477
|
+
subcategories: new Set(),
|
|
87478
|
+
}, "f");
|
|
87409
87479
|
}
|
|
87410
87480
|
/** Get the number of entries in this selection set. */
|
|
87411
|
-
get size() {
|
|
87412
|
-
|
|
87413
|
-
|
|
87414
|
-
/**
|
|
87481
|
+
get size() {
|
|
87482
|
+
return this.elements.size + this.models.size + this.subcategories.size;
|
|
87483
|
+
}
|
|
87484
|
+
/** Check whether there are any ids in this selection set. */
|
|
87485
|
+
get isActive() {
|
|
87486
|
+
return this.elements.size > 0 || this.models.size > 0 || this.subcategories.size > 0;
|
|
87487
|
+
}
|
|
87488
|
+
/** Return true if elemId is in this `SelectionSet`.
|
|
87415
87489
|
* @see [[isSelected]]
|
|
87490
|
+
* @deprecated in 5.0. Use `SelectionSet.elements.has(elemId)` instead.
|
|
87416
87491
|
*/
|
|
87417
|
-
has(elemId) {
|
|
87492
|
+
has(elemId) {
|
|
87493
|
+
return !!elemId && this.elements.has(elemId);
|
|
87494
|
+
}
|
|
87418
87495
|
/** Query whether an Id is in the selection set.
|
|
87419
87496
|
* @see [[has]]
|
|
87497
|
+
* @deprecated in 5.0. Use `SelectionSet.elements.has(elemId)` instead.
|
|
87420
87498
|
*/
|
|
87421
|
-
isSelected(elemId) {
|
|
87499
|
+
isSelected(elemId) {
|
|
87500
|
+
return !!elemId && this.elements.has(elemId);
|
|
87501
|
+
}
|
|
87422
87502
|
/** Clear current selection set.
|
|
87423
87503
|
* @note raises the [[onChanged]] event with [[SelectionSetEventType.Clear]].
|
|
87424
87504
|
*/
|
|
87425
87505
|
emptyAll() {
|
|
87426
|
-
if (!this.isActive)
|
|
87506
|
+
if (!this.isActive) {
|
|
87427
87507
|
return;
|
|
87428
|
-
|
|
87429
|
-
|
|
87430
|
-
|
|
87508
|
+
}
|
|
87509
|
+
const removals = __classPrivateFieldGet(this, _SelectionSet_selection, "f");
|
|
87510
|
+
__classPrivateFieldSet(this, _SelectionSet_selection, {
|
|
87511
|
+
elements: new Set(),
|
|
87512
|
+
models: new Set(),
|
|
87513
|
+
subcategories: new Set(),
|
|
87514
|
+
}, "f");
|
|
87515
|
+
__classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, { set: this, type: SelectionSetEventType.Clear, removals, removed: removals.elements });
|
|
87431
87516
|
}
|
|
87432
87517
|
/**
|
|
87433
87518
|
* Add one or more Ids to the current selection set.
|
|
87434
87519
|
* @param elem The set of Ids to add.
|
|
87435
87520
|
* @returns true if any elements were added.
|
|
87436
87521
|
*/
|
|
87437
|
-
add(
|
|
87438
|
-
return this.
|
|
87439
|
-
}
|
|
87440
|
-
_add(elem, sendEvent = true) {
|
|
87441
|
-
const oldSize = this.elements.size;
|
|
87442
|
-
for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(elem))
|
|
87443
|
-
this.elements.add(id);
|
|
87444
|
-
const changed = oldSize !== this.elements.size;
|
|
87445
|
-
if (sendEvent && changed)
|
|
87446
|
-
this.sendChangedEvent({ type: SelectionSetEventType.Add, set: this, added: elem });
|
|
87447
|
-
return changed;
|
|
87522
|
+
add(adds) {
|
|
87523
|
+
return !!__classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_add).call(this, adds);
|
|
87448
87524
|
}
|
|
87449
87525
|
/**
|
|
87450
87526
|
* Remove one or more Ids from the current selection set.
|
|
87451
87527
|
* @param elem The set of Ids to remove.
|
|
87452
87528
|
* @returns true if any elements were removed.
|
|
87453
87529
|
*/
|
|
87454
|
-
remove(
|
|
87455
|
-
return this.
|
|
87456
|
-
}
|
|
87457
|
-
_remove(elem, sendEvent = true) {
|
|
87458
|
-
const oldSize = this.elements.size;
|
|
87459
|
-
for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(elem))
|
|
87460
|
-
this.elements.delete(id);
|
|
87461
|
-
const changed = oldSize !== this.elements.size;
|
|
87462
|
-
if (sendEvent && changed)
|
|
87463
|
-
this.sendChangedEvent({ type: SelectionSetEventType.Remove, set: this, removed: elem });
|
|
87464
|
-
return changed;
|
|
87530
|
+
remove(removes) {
|
|
87531
|
+
return !!__classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_remove).call(this, removes);
|
|
87465
87532
|
}
|
|
87466
87533
|
/**
|
|
87467
87534
|
* Add one set of Ids, and remove another set of Ids. Any Ids that are in both sets are removed.
|
|
87468
87535
|
* @returns True if any Ids were either added or removed.
|
|
87469
87536
|
*/
|
|
87470
87537
|
addAndRemove(adds, removes) {
|
|
87471
|
-
const
|
|
87472
|
-
const
|
|
87473
|
-
|
|
87474
|
-
|
|
87475
|
-
|
|
87476
|
-
this
|
|
87477
|
-
|
|
87478
|
-
|
|
87479
|
-
|
|
87480
|
-
|
|
87481
|
-
|
|
87482
|
-
|
|
87483
|
-
|
|
87484
|
-
|
|
87485
|
-
|
|
87486
|
-
|
|
87487
|
-
|
|
87488
|
-
|
|
87489
|
-
|
|
87538
|
+
const additions = __classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_add).call(this, adds, false);
|
|
87539
|
+
const removals = __classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_remove).call(this, removes, false);
|
|
87540
|
+
const addedElements = additions?.elements ?? [];
|
|
87541
|
+
const removedElements = removals?.elements ?? [];
|
|
87542
|
+
if (additions && removals) {
|
|
87543
|
+
__classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, {
|
|
87544
|
+
type: SelectionSetEventType.Replace,
|
|
87545
|
+
set: this,
|
|
87546
|
+
additions,
|
|
87547
|
+
added: addedElements,
|
|
87548
|
+
removals,
|
|
87549
|
+
removed: removedElements,
|
|
87550
|
+
});
|
|
87551
|
+
}
|
|
87552
|
+
else if (additions) {
|
|
87553
|
+
__classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, {
|
|
87554
|
+
type: SelectionSetEventType.Add,
|
|
87555
|
+
set: this,
|
|
87556
|
+
additions,
|
|
87557
|
+
added: addedElements,
|
|
87558
|
+
});
|
|
87559
|
+
}
|
|
87560
|
+
else if (removals) {
|
|
87561
|
+
__classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, {
|
|
87562
|
+
type: SelectionSetEventType.Remove,
|
|
87563
|
+
set: this,
|
|
87564
|
+
removals,
|
|
87565
|
+
removed: removedElements,
|
|
87566
|
+
});
|
|
87490
87567
|
}
|
|
87491
|
-
return
|
|
87568
|
+
return !!additions || !!removals;
|
|
87569
|
+
}
|
|
87570
|
+
/** Invert the state of a set of Ids in the `SelectionSet` */
|
|
87571
|
+
invert(ids) {
|
|
87572
|
+
const adds = {};
|
|
87573
|
+
const removes = {};
|
|
87574
|
+
forEachSelectableType({
|
|
87575
|
+
ids,
|
|
87576
|
+
elements: (elementIds) => {
|
|
87577
|
+
for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(elementIds)) {
|
|
87578
|
+
((this.elements.has(id) ? removes : adds).elements ??= new Set()).add(id);
|
|
87579
|
+
}
|
|
87580
|
+
},
|
|
87581
|
+
models: (modelIds) => {
|
|
87582
|
+
for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(modelIds)) {
|
|
87583
|
+
((this.models.has(id) ? removes : adds).models ??= new Set()).add(id);
|
|
87584
|
+
}
|
|
87585
|
+
},
|
|
87586
|
+
subcategories: (subcategoryIds) => {
|
|
87587
|
+
for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(subcategoryIds)) {
|
|
87588
|
+
((this.subcategories.has(id) ? removes : adds).subcategories ??= new Set()).add(id);
|
|
87589
|
+
}
|
|
87590
|
+
},
|
|
87591
|
+
});
|
|
87592
|
+
return this.addAndRemove(adds, removes);
|
|
87492
87593
|
}
|
|
87493
87594
|
/** Change selection set to be the supplied set of Ids. */
|
|
87494
|
-
replace(
|
|
87495
|
-
if (areEqual(this
|
|
87496
|
-
return;
|
|
87497
|
-
const removed = this._elements;
|
|
87498
|
-
this._elements = new Set();
|
|
87499
|
-
this._add(elem, false);
|
|
87500
|
-
if (0 < removed.size) {
|
|
87501
|
-
for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(elem)) {
|
|
87502
|
-
if (removed.has(id))
|
|
87503
|
-
removed.delete(id);
|
|
87504
|
-
}
|
|
87595
|
+
replace(ids) {
|
|
87596
|
+
if (areEqual(__classPrivateFieldGet(this, _SelectionSet_selection, "f"), ids)) {
|
|
87597
|
+
return false;
|
|
87505
87598
|
}
|
|
87506
|
-
|
|
87599
|
+
const previousSelection = __classPrivateFieldGet(this, _SelectionSet_selection, "f");
|
|
87600
|
+
__classPrivateFieldSet(this, _SelectionSet_selection, {
|
|
87601
|
+
elements: new Set(),
|
|
87602
|
+
models: new Set(),
|
|
87603
|
+
subcategories: new Set(),
|
|
87604
|
+
}, "f");
|
|
87605
|
+
__classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_add).call(this, ids, false);
|
|
87606
|
+
const additions = {};
|
|
87607
|
+
const removals = {};
|
|
87608
|
+
forEachSelectableType({
|
|
87609
|
+
ids: __classPrivateFieldGet(this, _SelectionSet_selection, "f"),
|
|
87610
|
+
elements: (elementIds) => {
|
|
87611
|
+
removeIds({
|
|
87612
|
+
target: previousSelection.elements,
|
|
87613
|
+
ids: elementIds,
|
|
87614
|
+
onNotFound: (id) => (additions.elements ??= new Set()).add(id),
|
|
87615
|
+
});
|
|
87616
|
+
if (previousSelection.elements.size > 0) {
|
|
87617
|
+
removals.elements = previousSelection.elements;
|
|
87618
|
+
}
|
|
87619
|
+
},
|
|
87620
|
+
models: (modelIds) => {
|
|
87621
|
+
removeIds({
|
|
87622
|
+
target: previousSelection.models,
|
|
87623
|
+
ids: modelIds,
|
|
87624
|
+
onNotFound: (id) => (additions.models ??= new Set()).add(id),
|
|
87625
|
+
});
|
|
87626
|
+
if (previousSelection.models.size > 0) {
|
|
87627
|
+
removals.models = previousSelection.models;
|
|
87628
|
+
}
|
|
87629
|
+
},
|
|
87630
|
+
subcategories: (subcategoryIds) => {
|
|
87631
|
+
removeIds({
|
|
87632
|
+
target: previousSelection.subcategories,
|
|
87633
|
+
ids: subcategoryIds,
|
|
87634
|
+
onNotFound: (id) => (additions.subcategories ??= new Set()).add(id),
|
|
87635
|
+
});
|
|
87636
|
+
if (previousSelection.subcategories.size > 0) {
|
|
87637
|
+
removals.subcategories = previousSelection.subcategories;
|
|
87638
|
+
}
|
|
87639
|
+
},
|
|
87640
|
+
});
|
|
87641
|
+
__classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, {
|
|
87642
|
+
type: SelectionSetEventType.Replace,
|
|
87643
|
+
set: this,
|
|
87644
|
+
additions,
|
|
87645
|
+
added: additions.elements ?? [],
|
|
87646
|
+
removals,
|
|
87647
|
+
removed: removals.elements ?? [],
|
|
87648
|
+
});
|
|
87649
|
+
return true;
|
|
87507
87650
|
}
|
|
87508
87651
|
}
|
|
87652
|
+
_SelectionSet_selection = new WeakMap(), _SelectionSet_instances = new WeakSet(), _SelectionSet_sendChangedEvent = function _SelectionSet_sendChangedEvent(ev) {
|
|
87653
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.viewManager.onSelectionSetChanged(this.iModel);
|
|
87654
|
+
this.onChanged.raiseEvent(ev);
|
|
87655
|
+
}, _SelectionSet_add = function _SelectionSet_add(adds, sendEvent = true) {
|
|
87656
|
+
const oldSize = this.size;
|
|
87657
|
+
const additions = {};
|
|
87658
|
+
forEachSelectableType({
|
|
87659
|
+
ids: adds,
|
|
87660
|
+
elements: (elementIds) => addIds({
|
|
87661
|
+
target: __classPrivateFieldGet(this, _SelectionSet_selection, "f").elements,
|
|
87662
|
+
ids: elementIds,
|
|
87663
|
+
onAdd: (id) => (additions.elements ??= []).push(id),
|
|
87664
|
+
}),
|
|
87665
|
+
models: (modelIds) => addIds({
|
|
87666
|
+
target: __classPrivateFieldGet(this, _SelectionSet_selection, "f").models,
|
|
87667
|
+
ids: modelIds,
|
|
87668
|
+
onAdd: (id) => (additions.models ??= []).push(id),
|
|
87669
|
+
}),
|
|
87670
|
+
subcategories: (subcategoryIds) => addIds({
|
|
87671
|
+
target: __classPrivateFieldGet(this, _SelectionSet_selection, "f").subcategories,
|
|
87672
|
+
ids: subcategoryIds,
|
|
87673
|
+
onAdd: (id) => (additions.subcategories ??= []).push(id),
|
|
87674
|
+
}),
|
|
87675
|
+
});
|
|
87676
|
+
const changed = oldSize !== this.size;
|
|
87677
|
+
if (!changed) {
|
|
87678
|
+
return undefined;
|
|
87679
|
+
}
|
|
87680
|
+
if (sendEvent) {
|
|
87681
|
+
__classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, {
|
|
87682
|
+
type: SelectionSetEventType.Add,
|
|
87683
|
+
set: this,
|
|
87684
|
+
additions,
|
|
87685
|
+
added: additions.elements ?? [],
|
|
87686
|
+
});
|
|
87687
|
+
}
|
|
87688
|
+
return additions;
|
|
87689
|
+
}, _SelectionSet_remove = function _SelectionSet_remove(removes, sendEvent = true) {
|
|
87690
|
+
const oldSize = this.size;
|
|
87691
|
+
const removals = {};
|
|
87692
|
+
forEachSelectableType({
|
|
87693
|
+
ids: removes,
|
|
87694
|
+
elements: (elementIds) => removeIds({
|
|
87695
|
+
target: __classPrivateFieldGet(this, _SelectionSet_selection, "f").elements,
|
|
87696
|
+
ids: elementIds,
|
|
87697
|
+
onRemove: (id) => (removals.elements ??= []).push(id),
|
|
87698
|
+
}),
|
|
87699
|
+
models: (modelIds) => removeIds({
|
|
87700
|
+
target: __classPrivateFieldGet(this, _SelectionSet_selection, "f").models,
|
|
87701
|
+
ids: modelIds,
|
|
87702
|
+
onRemove: (id) => (removals.models ??= []).push(id),
|
|
87703
|
+
}),
|
|
87704
|
+
subcategories: (subcategoryIds) => removeIds({
|
|
87705
|
+
target: __classPrivateFieldGet(this, _SelectionSet_selection, "f").subcategories,
|
|
87706
|
+
ids: subcategoryIds,
|
|
87707
|
+
onRemove: (id) => (removals.subcategories ??= []).push(id),
|
|
87708
|
+
}),
|
|
87709
|
+
});
|
|
87710
|
+
const changed = oldSize !== this.size;
|
|
87711
|
+
if (!changed) {
|
|
87712
|
+
return undefined;
|
|
87713
|
+
}
|
|
87714
|
+
if (sendEvent) {
|
|
87715
|
+
__classPrivateFieldGet(this, _SelectionSet_instances, "m", _SelectionSet_sendChangedEvent).call(this, {
|
|
87716
|
+
type: SelectionSetEventType.Remove,
|
|
87717
|
+
set: this,
|
|
87718
|
+
removals,
|
|
87719
|
+
removed: removals.elements ?? [],
|
|
87720
|
+
});
|
|
87721
|
+
}
|
|
87722
|
+
return removals;
|
|
87723
|
+
};
|
|
87724
|
+
function forEachSelectableType({ ids, elements, models, subcategories, }) {
|
|
87725
|
+
if (typeof ids === "string" || Array.isArray(ids) || ids instanceof Set) {
|
|
87726
|
+
elements(ids);
|
|
87727
|
+
return { elements: ids };
|
|
87728
|
+
}
|
|
87729
|
+
elements(ids.elements ?? []);
|
|
87730
|
+
models(ids.models ?? []);
|
|
87731
|
+
subcategories(ids.subcategories ?? []);
|
|
87732
|
+
return ids;
|
|
87733
|
+
}
|
|
87509
87734
|
function areEqual(lhs, rhs) {
|
|
87735
|
+
let result = true;
|
|
87736
|
+
forEachSelectableType({
|
|
87737
|
+
ids: rhs,
|
|
87738
|
+
elements: (elementIds) => {
|
|
87739
|
+
if (result && !areIdsEqual(lhs.elements, elementIds)) {
|
|
87740
|
+
result = false;
|
|
87741
|
+
}
|
|
87742
|
+
},
|
|
87743
|
+
models: (modelIds) => {
|
|
87744
|
+
if (result && !areIdsEqual(lhs.models, modelIds)) {
|
|
87745
|
+
result = false;
|
|
87746
|
+
}
|
|
87747
|
+
},
|
|
87748
|
+
subcategories: (subcategoryIds) => {
|
|
87749
|
+
if (result && !areIdsEqual(lhs.subcategories, subcategoryIds)) {
|
|
87750
|
+
result = false;
|
|
87751
|
+
}
|
|
87752
|
+
},
|
|
87753
|
+
});
|
|
87754
|
+
return result;
|
|
87755
|
+
}
|
|
87756
|
+
function areIdsEqual(lhs, rhs) {
|
|
87510
87757
|
// Size is unreliable if input can contain duplicates...
|
|
87511
|
-
if (Array.isArray(rhs))
|
|
87758
|
+
if (Array.isArray(rhs)) {
|
|
87512
87759
|
rhs = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.toIdSet(rhs);
|
|
87513
|
-
|
|
87760
|
+
}
|
|
87761
|
+
if (lhs.size !== _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.sizeOf(rhs)) {
|
|
87514
87762
|
return false;
|
|
87515
|
-
|
|
87516
|
-
|
|
87763
|
+
}
|
|
87764
|
+
for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(rhs)) {
|
|
87765
|
+
if (!lhs.has(id)) {
|
|
87517
87766
|
return false;
|
|
87767
|
+
}
|
|
87768
|
+
}
|
|
87518
87769
|
return true;
|
|
87519
87770
|
}
|
|
87771
|
+
function addIds({ target, ids, onAdd }) {
|
|
87772
|
+
let size = target.size;
|
|
87773
|
+
for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(ids)) {
|
|
87774
|
+
target.add(id);
|
|
87775
|
+
const newSize = target.size;
|
|
87776
|
+
if (newSize !== size) {
|
|
87777
|
+
onAdd?.(id);
|
|
87778
|
+
}
|
|
87779
|
+
size = newSize;
|
|
87780
|
+
}
|
|
87781
|
+
}
|
|
87782
|
+
function removeIds({ target, ids, onRemove, onNotFound, }) {
|
|
87783
|
+
let size = target.size;
|
|
87784
|
+
for (const id of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(ids)) {
|
|
87785
|
+
target.delete(id);
|
|
87786
|
+
const newSize = target.size;
|
|
87787
|
+
if (newSize !== size) {
|
|
87788
|
+
onRemove?.(id);
|
|
87789
|
+
}
|
|
87790
|
+
else {
|
|
87791
|
+
onNotFound?.(id);
|
|
87792
|
+
}
|
|
87793
|
+
size = newSize;
|
|
87794
|
+
}
|
|
87795
|
+
}
|
|
87520
87796
|
|
|
87521
87797
|
|
|
87522
87798
|
/***/ }),
|
|
@@ -98419,6 +98695,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
98419
98695
|
/* harmony import */ var _internal_render_AnimationNodeId__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../internal/render/AnimationNodeId */ "../../core/frontend/lib/esm/common/internal/render/AnimationNodeId.js");
|
|
98420
98696
|
/* harmony import */ var _internal_render_VertexIndices__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../internal/render/VertexIndices */ "../../core/frontend/lib/esm/common/internal/render/VertexIndices.js");
|
|
98421
98697
|
/* harmony import */ var _CompactEdges__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./CompactEdges */ "../../core/frontend/lib/esm/common/imdl/CompactEdges.js");
|
|
98698
|
+
/* harmony import */ var _tile_internal__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../tile/internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
98422
98699
|
/*---------------------------------------------------------------------------------------------
|
|
98423
98700
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
98424
98701
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -98437,6 +98714,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
98437
98714
|
|
|
98438
98715
|
|
|
98439
98716
|
|
|
98717
|
+
|
|
98440
98718
|
/** Header preceding "glTF" data in iMdl tile. */
|
|
98441
98719
|
class GltfHeader extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileHeader {
|
|
98442
98720
|
get isValid() { return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf === this.format; }
|
|
@@ -98628,10 +98906,15 @@ class Parser {
|
|
|
98628
98906
|
this._stream = stream;
|
|
98629
98907
|
this._timeline = options.timeline;
|
|
98630
98908
|
}
|
|
98631
|
-
parse() {
|
|
98909
|
+
async parse() {
|
|
98632
98910
|
const featureTable = this.parseFeatureTable();
|
|
98633
98911
|
if (!featureTable)
|
|
98634
98912
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileReadStatus.InvalidFeatureTable;
|
|
98913
|
+
if (this.hasMeshoptCompression()) {
|
|
98914
|
+
this._meshoptDecoder = await (0,_tile_internal__WEBPACK_IMPORTED_MODULE_11__.getMeshoptDecoder)();
|
|
98915
|
+
if (!this._meshoptDecoder)
|
|
98916
|
+
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileReadStatus.InvalidTileData;
|
|
98917
|
+
}
|
|
98635
98918
|
const rtcCenter = this._document.rtcCenter ? {
|
|
98636
98919
|
x: this._document.rtcCenter[0] ?? 0,
|
|
98637
98920
|
y: this._document.rtcCenter[1] ?? 0,
|
|
@@ -98648,6 +98931,26 @@ class Parser {
|
|
|
98648
98931
|
patterns: this._patterns,
|
|
98649
98932
|
};
|
|
98650
98933
|
}
|
|
98934
|
+
hasMeshoptCompression() {
|
|
98935
|
+
let hasMeshoptCompression = false;
|
|
98936
|
+
for (const meshKey of Object.keys(this._document.meshes)) {
|
|
98937
|
+
const mesh = this._document.meshes[meshKey];
|
|
98938
|
+
mesh?.primitives?.forEach((primitive) => {
|
|
98939
|
+
if (primitive.type !== "areaPattern") {
|
|
98940
|
+
const imdlPrimitive = primitive;
|
|
98941
|
+
const vertexTable = imdlPrimitive.vertices;
|
|
98942
|
+
if (vertexTable.compressedSize && vertexTable.compressedSize > 0) {
|
|
98943
|
+
hasMeshoptCompression = true;
|
|
98944
|
+
}
|
|
98945
|
+
const surf = imdlPrimitive.surface;
|
|
98946
|
+
if (surf && surf.compressedIndexCount && surf.compressedIndexCount > 0) {
|
|
98947
|
+
hasMeshoptCompression = true;
|
|
98948
|
+
}
|
|
98949
|
+
}
|
|
98950
|
+
});
|
|
98951
|
+
}
|
|
98952
|
+
return hasMeshoptCompression;
|
|
98953
|
+
}
|
|
98651
98954
|
parseFeatureTable() {
|
|
98652
98955
|
this._stream.curPos = this._featureTableInfo.startPos;
|
|
98653
98956
|
const header = _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.FeatureTableHeader.readFrom(this._stream);
|
|
@@ -99149,9 +99452,25 @@ class Parser {
|
|
|
99149
99452
|
const surf = mesh.surface;
|
|
99150
99453
|
if (!surf)
|
|
99151
99454
|
return undefined;
|
|
99152
|
-
|
|
99455
|
+
let indices = this.findBuffer(surf.indices);
|
|
99153
99456
|
if (!indices)
|
|
99154
99457
|
return undefined;
|
|
99458
|
+
if (surf.compressedIndexCount && surf.compressedIndexCount > 0) {
|
|
99459
|
+
if (!this._meshoptDecoder) {
|
|
99460
|
+
return undefined;
|
|
99461
|
+
}
|
|
99462
|
+
const decompressedIndices = new Uint8Array(surf.compressedIndexCount * 4);
|
|
99463
|
+
this._meshoptDecoder.decodeIndexSequence(decompressedIndices, surf.compressedIndexCount, 4, indices);
|
|
99464
|
+
// reduce from 32 to 24 bits
|
|
99465
|
+
indices = new Uint8Array(surf.compressedIndexCount * 3);
|
|
99466
|
+
for (let i = 0; i < surf.compressedIndexCount; i++) {
|
|
99467
|
+
const srcIndex = i * 4;
|
|
99468
|
+
const dstIndex = i * 3;
|
|
99469
|
+
indices[dstIndex + 0] = decompressedIndices[srcIndex + 0];
|
|
99470
|
+
indices[dstIndex + 1] = decompressedIndices[srcIndex + 1];
|
|
99471
|
+
indices[dstIndex + 2] = decompressedIndices[srcIndex + 2];
|
|
99472
|
+
}
|
|
99473
|
+
}
|
|
99155
99474
|
const type = surf.type;
|
|
99156
99475
|
if (!(0,_internal_render_SurfaceParams__WEBPACK_IMPORTED_MODULE_4__.isValidSurfaceType)(type))
|
|
99157
99476
|
return undefined;
|
|
@@ -99211,9 +99530,40 @@ class Parser {
|
|
|
99211
99530
|
const json = primitive.vertices;
|
|
99212
99531
|
if (!json)
|
|
99213
99532
|
return undefined;
|
|
99214
|
-
|
|
99215
|
-
if (
|
|
99216
|
-
|
|
99533
|
+
let bytes;
|
|
99534
|
+
if (json.compressedSize && json.compressedSize > 0) {
|
|
99535
|
+
if (!this._meshoptDecoder) {
|
|
99536
|
+
return undefined;
|
|
99537
|
+
}
|
|
99538
|
+
const bufferViewJson = this._document.bufferViews[_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asString(json.bufferView)];
|
|
99539
|
+
if (undefined === bufferViewJson)
|
|
99540
|
+
return undefined;
|
|
99541
|
+
const byteOffset = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asInt(bufferViewJson.byteOffset);
|
|
99542
|
+
const byteLength = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asInt(bufferViewJson.byteLength);
|
|
99543
|
+
if (0 === byteLength)
|
|
99544
|
+
return undefined;
|
|
99545
|
+
const compressedBytes = this._binaryData.subarray(byteOffset, byteOffset + json.compressedSize);
|
|
99546
|
+
if (!compressedBytes)
|
|
99547
|
+
return undefined;
|
|
99548
|
+
bytes = new Uint8Array(json.width * json.height * 4);
|
|
99549
|
+
this._meshoptDecoder.decodeVertexBuffer(bytes, json.count, json.numRgbaPerVertex * 4, compressedBytes);
|
|
99550
|
+
const remainingBytesSize = byteLength - json.compressedSize;
|
|
99551
|
+
// if there are remaining bytes, copy the data that did not go through the compression
|
|
99552
|
+
if (remainingBytesSize > 0) {
|
|
99553
|
+
const remainingBytes = this._binaryData.subarray(byteOffset + json.compressedSize, byteOffset + byteLength);
|
|
99554
|
+
if (!remainingBytes)
|
|
99555
|
+
return undefined;
|
|
99556
|
+
const decompressedSize = json.count * json.numRgbaPerVertex * 4;
|
|
99557
|
+
for (let i = 0; i < remainingBytesSize; i++) {
|
|
99558
|
+
bytes[decompressedSize + i] = remainingBytes[i];
|
|
99559
|
+
}
|
|
99560
|
+
}
|
|
99561
|
+
}
|
|
99562
|
+
else {
|
|
99563
|
+
bytes = this.findBuffer(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asString(json.bufferView));
|
|
99564
|
+
if (!bytes)
|
|
99565
|
+
return undefined;
|
|
99566
|
+
}
|
|
99217
99567
|
const uniformFeatureID = undefined !== json.featureID ? _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asInt(json.featureID) : undefined;
|
|
99218
99568
|
const rangeMin = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asArray(json.params.decodedMin);
|
|
99219
99569
|
const rangeMax = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.JsonUtils.asArray(json.params.decodedMax);
|
|
@@ -99425,7 +99775,7 @@ function convertFeatureTable(imdlFeatureTable, batchModelId) {
|
|
|
99425
99775
|
return table;
|
|
99426
99776
|
}
|
|
99427
99777
|
/** @internal */
|
|
99428
|
-
function parseImdlDocument(options) {
|
|
99778
|
+
async function parseImdlDocument(options) {
|
|
99429
99779
|
const stream = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.ByteStream.fromUint8Array(options.data);
|
|
99430
99780
|
const imdlHeader = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ImdlHeader(stream);
|
|
99431
99781
|
if (!imdlHeader.isValid)
|
|
@@ -99470,7 +99820,7 @@ function parseImdlDocument(options) {
|
|
|
99470
99820
|
multiModel: 0 !== (imdlHeader.flags & _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.ImdlFlags.MultiModelFeatureTable),
|
|
99471
99821
|
};
|
|
99472
99822
|
const parser = new Parser(imdlDoc, binaryData, options, featureTable, stream);
|
|
99473
|
-
return parser.parse();
|
|
99823
|
+
return await parser.parse();
|
|
99474
99824
|
}
|
|
99475
99825
|
catch {
|
|
99476
99826
|
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileReadStatus.InvalidTileData;
|
|
@@ -105374,6 +105724,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
105374
105724
|
/* harmony export */ getGcsConverterAvailable: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.getGcsConverterAvailable),
|
|
105375
105725
|
/* harmony export */ getImageSourceFormatForMimeType: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_9__.getImageSourceFormatForMimeType),
|
|
105376
105726
|
/* harmony export */ getImageSourceMimeType: () => (/* reexport safe */ _common__WEBPACK_IMPORTED_MODULE_9__.getImageSourceMimeType),
|
|
105727
|
+
/* harmony export */ getMeshoptDecoder: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.getMeshoptDecoder),
|
|
105377
105728
|
/* harmony export */ getQuantityTypeKey: () => (/* reexport safe */ _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_71__.getQuantityTypeKey),
|
|
105378
105729
|
/* harmony export */ headersIncludeAuthMethod: () => (/* reexport safe */ _request_utils__WEBPACK_IMPORTED_MODULE_124__.headersIncludeAuthMethod),
|
|
105379
105730
|
/* harmony export */ iModelTileParamsFromJSON: () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.iModelTileParamsFromJSON),
|
|
@@ -145626,10 +145977,10 @@ function acquireImdlParser(args) {
|
|
|
145626
145977
|
const timeline = args.timeline;
|
|
145627
145978
|
if (args.noWorker) {
|
|
145628
145979
|
return {
|
|
145629
|
-
parse: async (options) =>
|
|
145980
|
+
parse: async (options) => (0,_common_imdl_ParseImdlDocument__WEBPACK_IMPORTED_MODULE_3__.parseImdlDocument)({
|
|
145630
145981
|
...options,
|
|
145631
145982
|
timeline,
|
|
145632
|
-
})
|
|
145983
|
+
}),
|
|
145633
145984
|
release: () => undefined,
|
|
145634
145985
|
};
|
|
145635
145986
|
}
|
|
@@ -145762,7 +146113,7 @@ async function readImdlContent(args) {
|
|
|
145762
146113
|
createUntransformedRootNode: args.containsTransformNodes,
|
|
145763
146114
|
modelGroups: args.modelGroups,
|
|
145764
146115
|
};
|
|
145765
|
-
const document = args.parseDocument ? (await args.parseDocument(parseOpts)) : (0,_common_imdl_ParseImdlDocument__WEBPACK_IMPORTED_MODULE_5__.parseImdlDocument)({ ...parseOpts, timeline: args.timeline });
|
|
146116
|
+
const document = args.parseDocument ? (await args.parseDocument(parseOpts)) : await (0,_common_imdl_ParseImdlDocument__WEBPACK_IMPORTED_MODULE_5__.parseImdlDocument)({ ...parseOpts, timeline: args.timeline });
|
|
145766
146117
|
if (isCanceled())
|
|
145767
146118
|
return { isLeaf: true, readStatus: _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileReadStatus.Canceled };
|
|
145768
146119
|
else if (typeof document === "number")
|
|
@@ -146188,7 +146539,8 @@ class LRUTileList {
|
|
|
146188
146539
|
"use strict";
|
|
146189
146540
|
__webpack_require__.r(__webpack_exports__);
|
|
146190
146541
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
146191
|
-
/* harmony export */ decodeMeshoptBuffer: () => (/* binding */ decodeMeshoptBuffer)
|
|
146542
|
+
/* harmony export */ decodeMeshoptBuffer: () => (/* binding */ decodeMeshoptBuffer),
|
|
146543
|
+
/* harmony export */ getMeshoptDecoder: () => (/* binding */ getMeshoptDecoder)
|
|
146192
146544
|
/* harmony export */ });
|
|
146193
146545
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
146194
146546
|
/* harmony import */ var _common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../common/FrontendLoggerCategory */ "../../core/frontend/lib/esm/common/FrontendLoggerCategory.js");
|
|
@@ -146201,61 +146553,115 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
146201
146553
|
*/
|
|
146202
146554
|
|
|
146203
146555
|
|
|
146204
|
-
|
|
146205
|
-
|
|
146206
|
-
|
|
146207
|
-
|
|
146556
|
+
;
|
|
146557
|
+
// This is a modified version of https://github.com/zeux/meshoptimizer/blob/master/js/meshopt_decoder.js.
|
|
146558
|
+
// The orginial code will load wasm when the module is imported, which seems to upset vitest somehow.
|
|
146559
|
+
// This version loads wasm only when a decoder is requested, which only occurs when parsing a compressed tile.
|
|
146560
|
+
async function getDecoder() {
|
|
146561
|
+
// Built with clang version 16.0.0
|
|
146562
|
+
// Built from meshoptimizer 0.20
|
|
146563
|
+
const wasmBase = "b9H79Tebbbe8Fv9Gbb9Gvuuuuueu9Giuuub9Geueu9Giuuueuikqbeeedddillviebeoweuec:q;iekr;leDo9TW9T9VV95dbH9F9F939H79T9F9J9H229F9Jt9VV7bb8A9TW79O9V9Wt9F9KW9J9V9KW9wWVtW949c919M9MWVbeY9TW79O9V9Wt9F9KW9J9V9KW69U9KW949c919M9MWVbdE9TW79O9V9Wt9F9KW9J9V9KW69U9KW949tWG91W9U9JWbiL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9p9JtblK9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9r919HtbvL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWVT949Wbol79IV9Rbrq;d8Yqdbk:yzeHu8Jjjjjbcj;eb9Rgv8Kjjjjbc9:hodnadcefal0mbcuhoaiRbbc:Ge9hmbavaialfgrad9Radz1jjjbhwcj;abad9UhlaicefhodnadTmbalc;WFbGglcjdalcjd6EhDcbhqinaqae9pmeaDaeaq9RaqaDfae6Egkcsfglcl4cifcd4hxdndndndnalc9WGgmTmbcbhPcehsawcjdfhzaohHinaraH9Rax6midnaraHaxfgo9RcK6mbczhlcbhOinalgic9WfgAawcj;cbffhldndndndndnaHaAco4fRbbaOcoG4ciGPlbedibkal9cb83ibalcwf9cb83ibxikalaoRblaoRbbgAco4gCaCciSgCE86bbawcj;cbfaifglcGfaoclfaCfgCRbbaAcl4ciGgXaXciSgXE86bbalcVfaCaXfgCRbbaAcd4ciGgXaXciSgXE86bbalc7faCaXfgCRbbaAciGgAaAciSgAE86bbalctfaCaAfgCRbbaoRbegAco4gXaXciSgXE86bbalc91faCaXfgCRbbaAcl4ciGgXaXciSgXE86bbalc4faCaXfgCRbbaAcd4ciGgXaXciSgXE86bbalc93faCaXfgCRbbaAciGgAaAciSgAE86bbalc94faCaAfgCRbbaoRbdgAco4gXaXciSgXE86bbalc95faCaXfgCRbbaAcl4ciGgXaXciSgXE86bbalc96faCaXfgCRbbaAcd4ciGgXaXciSgXE86bbalc97faCaXfgCRbbaAciGgAaAciSgAE86bbalc98faCaAfgARbbaoRbigoco4gCaCciSgCE86bbalc99faAaCfgARbbaocl4ciGgCaCciSgCE86bbalc9:faAaCfgARbbaocd4ciGgCaCciSgCE86bbalcufaAaCfglRbbaociGgoaociSgoE86bbalaofhoxdkalaoRbwaoRbbgAcl4gCaCcsSgCE86bbawcj;cbfaifglcGfaocwfaCfgCRbbaAcsGgAaAcsSgAE86bbalcVfaCaAfgARbbaoRbegCcl4gXaXcsSgXE86bbalc7faAaXfgARbbaCcsGgCaCcsSgCE86bbalctfaAaCfgARbbaoRbdgCcl4gXaXcsSgXE86bbalc91faAaXfgARbbaCcsGgCaCcsSgCE86bbalc4faAaCfgARbbaoRbigCcl4gXaXcsSgXE86bbalc93faAaXfgARbbaCcsGgCaCcsSgCE86bbalc94faAaCfgARbbaoRblgCcl4gXaXcsSgXE86bbalc95faAaXfgARbbaCcsGgCaCcsSgCE86bbalc96faAaCfgARbbaoRbvgCcl4gXaXcsSgXE86bbalc97faAaXfgARbbaCcsGgCaCcsSgCE86bbalc98faAaCfgARbbaoRbogCcl4gXaXcsSgXE86bbalc99faAaXfgARbbaCcsGgCaCcsSgCE86bbalc9:faAaCfgARbbaoRbrgocl4gCaCcsSgCE86bbalcufaAaCfglRbbaocsGgoaocsSgoE86bbalaofhoxekalao8Pbb83bbalcwfaocwf8Pbb83bbaoczfhokdnaiam9pmbaOcdfhOaiczfhlarao9RcL0mekkaiam6miaoTmidnakTmbawaPfRbbhOawcj;cbfhlazhiakhAinaialRbbgHce4cbaHceG9R7aOfgO86bbaiadfhialcefhlaAcufgAmbkkazcefhzaPcefgPad6hsaohHaPad9hmexvkkcbhoasceGmdxikaoaxad2fhXdnakTmbcbhmcehsawcjdfhCinarao9Rax6miaoTmdaoaxfhoawamfRbbhOawcj;cbfhlaChiakhAinaialRbbgHce4cbaHceG9R7aOfgO86bbaiadfhialcefhlaAcufgAmbkaCcefhCamcefgmad6hsamad9hmbkaXhoxikcbhlcehsinarao9Rax6mdaoTmeaoaxfhoalcefglad6hsadal9hmbkaXhoxdkcbhoasceGTmekc9:hoxikabaqad2fawcjdfakad2z1jjjb8Aawawcjdfakcufad2fadz1jjjb8Aakaqfhqaombkc9:hoxekcbc99arao9Radcaadca0ESEhokavcj;ebf8Kjjjjbaok;xzeHu8Jjjjjbc;ae9Rgv8Kjjjjbc9:hodnaeci9UgrcHfal0mbcuhoaiRbbgwc;WeGc;Ge9hmbawcsGgDce0mbavc;abfcFecjez:jjjjb8AavcUf9cu83ibavc8Wf9cu83ibavcyf9cu83ibavcaf9cu83ibavcKf9cu83ibavczf9cu83ibav9cu83iwav9cu83ibaialfc9WfhqaicefgwarfhodnaeTmbcmcsaDceSEhkcbhxcbhmcbhrcbhicbhlindnaoaq9nmbc9:hoxikdndnawRbbgDc;Ve0mbavc;abfalaDcu7gPcl4fcsGcitfgsydlhzasydbhHdnaDcsGgDak9pmbavaiaPfcsGcdtfydbaxaDEhsaDThDdndnadcd9hmbabarcetfgPaH87ebaPcdfaz87ebaPclfas87ebxekabarcdtfgPaHBdbaPclfazBdbaPcwfasBdbkaxaDfhxavc;abfalcitfgPasBdbaPazBdlavaicdtfasBdbavc;abfalcefcsGglcitfgPaHBdbaPasBdlaiaDfhialcefhlxdkdndnaDcsSmbamaDfaDc987fcefhmxekaocefhDao8SbbgscFeGhPdndnascu9mmbaDhoxekaocvfhoaPcFbGhPcrhsdninaD8SbbgOcFbGastaPVhPaOcu9kmeaDcefhDascrfgsc8J9hmbxdkkaDcefhokaPce4cbaPceG9R7amfhmkdndnadcd9hmbabarcetfgDaH87ebaDcdfaz87ebaDclfam87ebxekabarcdtfgDaHBdbaDclfazBdbaDcwfamBdbkavc;abfalcitfgDamBdbaDazBdlavaicdtfamBdbavc;abfalcefcsGglcitfgDaHBdbaDamBdlaicefhialcefhlxekdnaDcpe0mbaxcefgOavaiaqaDcsGfRbbgscl49RcsGcdtfydbascz6gPEhDavaias9RcsGcdtfydbaOaPfgzascsGgOEhsaOThOdndnadcd9hmbabarcetfgHax87ebaHcdfaD87ebaHclfas87ebxekabarcdtfgHaxBdbaHclfaDBdbaHcwfasBdbkavaicdtfaxBdbavc;abfalcitfgHaDBdbaHaxBdlavaicefgicsGcdtfaDBdbavc;abfalcefcsGcitfgHasBdbaHaDBdlavaiaPfcsGgicdtfasBdbavc;abfalcdfcsGglcitfgDaxBdbaDasBdlalcefhlaiaOfhiazaOfhxxekaxcbaoRbbgHEgAaDc;:eSgDfhzaHcsGhCaHcl4hXdndnaHcs0mbazcefhOxekazhOavaiaX9RcsGcdtfydbhzkdndnaCmbaOcefhxxekaOhxavaiaH9RcsGcdtfydbhOkdndnaDTmbaocefhDxekaocdfhDao8SbegPcFeGhsdnaPcu9kmbaocofhAascFbGhscrhodninaD8SbbgPcFbGaotasVhsaPcu9kmeaDcefhDaocrfgoc8J9hmbkaAhDxekaDcefhDkasce4cbasceG9R7amfgmhAkdndnaXcsSmbaDhsxekaDcefhsaD8SbbgocFeGhPdnaocu9kmbaDcvfhzaPcFbGhPcrhodninas8SbbgDcFbGaotaPVhPaDcu9kmeascefhsaocrfgoc8J9hmbkazhsxekascefhskaPce4cbaPceG9R7amfgmhzkdndnaCcsSmbashoxekascefhoas8SbbgDcFeGhPdnaDcu9kmbascvfhOaPcFbGhPcrhDdninao8SbbgscFbGaDtaPVhPascu9kmeaocefhoaDcrfgDc8J9hmbkaOhoxekaocefhokaPce4cbaPceG9R7amfgmhOkdndnadcd9hmbabarcetfgDaA87ebaDcdfaz87ebaDclfaO87ebxekabarcdtfgDaABdbaDclfazBdbaDcwfaOBdbkavc;abfalcitfgDazBdbaDaABdlavaicdtfaABdbavc;abfalcefcsGcitfgDaOBdbaDazBdlavaicefgicsGcdtfazBdbavc;abfalcdfcsGcitfgDaABdbaDaOBdlavaiaHcz6aXcsSVfgicsGcdtfaOBdbaiaCTaCcsSVfhialcifhlkawcefhwalcsGhlaicsGhiarcifgrae6mbkkcbc99aoaqSEhokavc;aef8Kjjjjbaok:flevu8Jjjjjbcz9Rhvc9:hodnaecvfal0mbcuhoaiRbbc;:eGc;qe9hmbav9cb83iwaicefhraialfc98fhwdnaeTmbdnadcdSmbcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcdtfaic8Etc8F91aicd47avcwfaiceGcdtVgoydbfglBdbaoalBdbaDcefgDae9hmbxdkkcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcetfaic8Etc8F91aicd47avcwfaiceGcdtVgoydbfgl87ebaoalBdbaDcefgDae9hmbkkcbc99arawSEhokaok:Lvoeue99dud99eud99dndnadcl9hmbaeTmeindndnabcdfgd8Sbb:Yab8Sbbgi:Ygl:l:tabcefgv8Sbbgo:Ygr:l:tgwJbb;:9cawawNJbbbbawawJbbbb9GgDEgq:mgkaqaicb9iEalMgwawNakaqaocb9iEarMgqaqNMM:r:vglNJbbbZJbbb:;aDEMgr:lJbbb9p9DTmbar:Ohixekcjjjj94hikadai86bbdndnaqalNJbbbZJbbb:;aqJbbbb9GEMgq:lJbbb9p9DTmbaq:Ohdxekcjjjj94hdkavad86bbdndnawalNJbbbZJbbb:;awJbbbb9GEMgw:lJbbb9p9DTmbaw:Ohdxekcjjjj94hdkabad86bbabclfhbaecufgembxdkkaeTmbindndnabclfgd8Ueb:Yab8Uebgi:Ygl:l:tabcdfgv8Uebgo:Ygr:l:tgwJb;:FSawawNJbbbbawawJbbbb9GgDEgq:mgkaqaicb9iEalMgwawNakaqaocb9iEarMgqaqNMM:r:vglNJbbbZJbbb:;aDEMgr:lJbbb9p9DTmbar:Ohixekcjjjj94hikadai87ebdndnaqalNJbbbZJbbb:;aqJbbbb9GEMgq:lJbbb9p9DTmbaq:Ohdxekcjjjj94hdkavad87ebdndnawalNJbbbZJbbb:;awJbbbb9GEMgw:lJbbb9p9DTmbaw:Ohdxekcjjjj94hdkabad87ebabcwfhbaecufgembkkk;siliui99iue99dnaeTmbcbhiabhlindndnJ;Zl81Zalcof8UebgvciV:Y:vgoal8Ueb:YNgrJb;:FSNJbbbZJbbb:;arJbbbb9GEMgw:lJbbb9p9DTmbaw:OhDxekcjjjj94hDkalclf8Uebhqalcdf8UebhkabaiavcefciGfcetfaD87ebdndnaoak:YNgwJb;:FSNJbbbZJbbb:;awJbbbb9GEMgx:lJbbb9p9DTmbax:Ohkxekcjjjj94hkkabaiavcdfciGfcetfak87ebdndnaoaq:YNgoJb;:FSNJbbbZJbbb:;aoJbbbb9GEMgx:lJbbb9p9DTmbax:Ohqxekcjjjj94hqkabaiavcufciGfcetfaq87ebdndnJbbjZararN:tawawN:taoaoN:tgrJbbbbarJbbbb9GE:rJb;:FSNJbbbZMgr:lJbbb9p9DTmbar:Ohqxekcjjjj94hqkabaiavciGfcetfaq87ebalcwfhlaiclfhiaecufgembkkk9mbdnadcd4ae2gdTmbinababydbgecwtcw91:Yaece91cjjj98Gcjjj;8if::NUdbabclfhbadcufgdmbkkk9teiucbcbydj1jjbgeabcifc98GfgbBdj1jjbdndnabZbcztgd9nmbcuhiabad9RcFFifcz4nbcuSmekaehikaik;LeeeudndnaeabVciGTmbabhixekdndnadcz9pmbabhixekabhiinaiaeydbBdbaiclfaeclfydbBdbaicwfaecwfydbBdbaicxfaecxfydbBdbaeczfheaiczfhiadc9Wfgdcs0mbkkadcl6mbinaiaeydbBdbaeclfheaiclfhiadc98fgdci0mbkkdnadTmbinaiaeRbb86bbaicefhiaecefheadcufgdmbkkabk;aeedudndnabciGTmbabhixekaecFeGc:b:c:ew2hldndnadcz9pmbabhixekabhiinaialBdbaicxfalBdbaicwfalBdbaiclfalBdbaiczfhiadc9Wfgdcs0mbkkadcl6mbinaialBdbaiclfhiadc98fgdci0mbkkdnadTmbinaiae86bbaicefhiadcufgdmbkkabkkkebcjwklz9Kbb";
|
|
146564
|
+
const wasmSimd = "b9H79TebbbeKl9Gbb9Gvuuuuueu9Giuuub9Geueuikqbbebeedddilve9Weeeviebeoweuec:q;Aekr;leDo9TW9T9VV95dbH9F9F939H79T9F9J9H229F9Jt9VV7bb8A9TW79O9V9Wt9F9KW9J9V9KW9wWVtW949c919M9MWVbdY9TW79O9V9Wt9F9KW9J9V9KW69U9KW949c919M9MWVblE9TW79O9V9Wt9F9KW9J9V9KW69U9KW949tWG91W9U9JWbvL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9p9JtboK9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9r919HtbrL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWVT949Wbwl79IV9RbDq;b9tqlbzik9:evu8Jjjjjbcz9Rhbcbheincbhdcbhiinabcwfadfaicjuaead4ceGglE86bbaialfhiadcefgdcw9hmbkaec:q:yjjbfai86bbaecitc:q1jjbfab8Piw83ibaecefgecjd9hmbkk;e8JlHud97euo978Jjjjjbcj;kb9Rgv8Kjjjjbc9:hodnadcefal0mbcuhoaiRbbc:Ge9hmbavaialfgrad9Rad;8qbbcj;abad9UhoaicefhldnadTmbaoc;WFbGgocjdaocjd6EhwcbhDinaDae9pmeawaeaD9RaDawfae6Egqcsfgoc9WGgkci2hxakcethmaocl4cifcd4hPabaDad2fhscbhzdnincbhHalhOcbhAdninaraO9RaP6miavcj;cbfaAak2fhCaOaPfhlcbhidnakc;ab6mbaral9Rc;Gb6mbcbhoinaCaofhidndndndndnaOaoco4fRbbgXciGPlbedibkaipxbbbbbbbbbbbbbbbbpklbxikaialpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbalclfaYpQbfaKc:q:yjjbfRbbfhlxdkaialpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbalcwfaYpQbfaKc:q:yjjbfRbbfhlxekaialpbbbpklbalczfhlkdndndndndnaXcd4ciGPlbedibkaipxbbbbbbbbbbbbbbbbpklzxikaialpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklzalclfaYpQbfaKc:q:yjjbfRbbfhlxdkaialpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklzalcwfaYpQbfaKc:q:yjjbfRbbfhlxekaialpbbbpklzalczfhlkdndndndndnaXcl4ciGPlbedibkaipxbbbbbbbbbbbbbbbbpklaxikaialpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklaalclfaYpQbfaKc:q:yjjbfRbbfhlxdkaialpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklaalcwfaYpQbfaKc:q:yjjbfRbbfhlxekaialpbbbpklaalczfhlkdndndndndnaXco4Plbedibkaipxbbbbbbbbbbbbbbbbpkl8WxikaialpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibaXc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spkl8WalclfaYpQbfaXc:q:yjjbfRbbfhlxdkaialpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibaXc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spkl8WalcwfaYpQbfaXc:q:yjjbfRbbfhlxekaialpbbbpkl8Walczfhlkaoc;abfhiaocjefak0meaihoaral9Rc;Fb0mbkkdndnaiak9pmbaici4hoinaral9RcK6mdaCaifhXdndndndndnaOaico4fRbbaocoG4ciGPlbedibkaXpxbbbbbbbbbbbbbbbbpklbxikaXalpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbalclfaYpQbfaKc:q:yjjbfRbbfhlxdkaXalpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbalcwfaYpQbfaKc:q:yjjbfRbbfhlxekaXalpbbbpklbalczfhlkaocdfhoaiczfgiak6mbkkalTmbaAcd0hHalhOaAcefgAclSmdxekkcbhlaHceGTmdkdnakTmbavcjdfazfhiavazfpbdbhYcbhXinaiavcj;cbfaXfgopblbgLcep9TaLpxeeeeeeeeeeeeeeeegQp9op9Hp9rgLaoakfpblbg8Acep9Ta8AaQp9op9Hp9rg8ApmbzeHdOiAlCvXoQrLgEaoamfpblbg3cep9Ta3aQp9op9Hp9rg3aoaxfpblbg5cep9Ta5aQp9op9Hp9rg5pmbzeHdOiAlCvXoQrLg8EpmbezHdiOAlvCXorQLgQaQpmbedibedibedibediaYp9UgYp9AdbbaiadfgoaYaQaQpmlvorlvorlvorlvorp9UgYp9AdbbaoadfgoaYaQaQpmwDqkwDqkwDqkwDqkp9UgYp9AdbbaoadfgoaYaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaoadfgoaYaEa8EpmwDKYqk8AExm35Ps8E8FgQaQpmbedibedibedibedip9UgYp9AdbbaoadfgoaYaQaQpmlvorlvorlvorlvorp9UgYp9AdbbaoadfgoaYaQaQpmwDqkwDqkwDqkwDqkp9UgYp9AdbbaoadfgoaYaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaoadfgoaYaLa8ApmwKDYq8AkEx3m5P8Es8FgLa3a5pmwKDYq8AkEx3m5P8Es8Fg8ApmbezHdiOAlvCXorQLgQaQpmbedibedibedibedip9UgYp9AdbbaoadfgoaYaQaQpmlvorlvorlvorlvorp9UgYp9AdbbaoadfgoaYaQaQpmwDqkwDqkwDqkwDqkp9UgYp9AdbbaoadfgoaYaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaoadfgoaYaLa8ApmwDKYqk8AExm35Ps8E8FgQaQpmbedibedibedibedip9UgYp9AdbbaoadfgoaYaQaQpmlvorlvorlvorlvorp9UgYp9AdbbaoadfgoaYaQaQpmwDqkwDqkwDqkwDqkp9UgYp9AdbbaoadfgoaYaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaoadfhiaXczfgXak6mbkkazclfgzad6mbkasavcjdfaqad2;8qbbavavcjdfaqcufad2fad;8qbbaqaDfhDc9:hoalmexikkc9:hoxekcbc99aral9Radcaadca0ESEhokavcj;kbf8Kjjjjbaokwbz:bjjjbk;tzeHu8Jjjjjbc;ae9Rgv8Kjjjjbc9:hodnaeci9UgrcHfal0mbcuhoaiRbbgwc;WeGc;Ge9hmbawcsGgDce0mbavc;abfcFecje;8kbavcUf9cu83ibavc8Wf9cu83ibavcyf9cu83ibavcaf9cu83ibavcKf9cu83ibavczf9cu83ibav9cu83iwav9cu83ibaialfc9WfhqaicefgwarfhodnaeTmbcmcsaDceSEhkcbhxcbhmcbhrcbhicbhlindnaoaq9nmbc9:hoxikdndnawRbbgDc;Ve0mbavc;abfalaDcu7gPcl4fcsGcitfgsydlhzasydbhHdnaDcsGgDak9pmbavaiaPfcsGcdtfydbaxaDEhsaDThDdndnadcd9hmbabarcetfgPaH87ebaPcdfaz87ebaPclfas87ebxekabarcdtfgPaHBdbaPclfazBdbaPcwfasBdbkaxaDfhxavc;abfalcitfgPasBdbaPazBdlavaicdtfasBdbavc;abfalcefcsGglcitfgPaHBdbaPasBdlaiaDfhialcefhlxdkdndnaDcsSmbamaDfaDc987fcefhmxekaocefhDao8SbbgscFeGhPdndnascu9mmbaDhoxekaocvfhoaPcFbGhPcrhsdninaD8SbbgOcFbGastaPVhPaOcu9kmeaDcefhDascrfgsc8J9hmbxdkkaDcefhokaPce4cbaPceG9R7amfhmkdndnadcd9hmbabarcetfgDaH87ebaDcdfaz87ebaDclfam87ebxekabarcdtfgDaHBdbaDclfazBdbaDcwfamBdbkavc;abfalcitfgDamBdbaDazBdlavaicdtfamBdbavc;abfalcefcsGglcitfgDaHBdbaDamBdlaicefhialcefhlxekdnaDcpe0mbaxcefgOavaiaqaDcsGfRbbgscl49RcsGcdtfydbascz6gPEhDavaias9RcsGcdtfydbaOaPfgzascsGgOEhsaOThOdndnadcd9hmbabarcetfgHax87ebaHcdfaD87ebaHclfas87ebxekabarcdtfgHaxBdbaHclfaDBdbaHcwfasBdbkavaicdtfaxBdbavc;abfalcitfgHaDBdbaHaxBdlavaicefgicsGcdtfaDBdbavc;abfalcefcsGcitfgHasBdbaHaDBdlavaiaPfcsGgicdtfasBdbavc;abfalcdfcsGglcitfgDaxBdbaDasBdlalcefhlaiaOfhiazaOfhxxekaxcbaoRbbgHEgAaDc;:eSgDfhzaHcsGhCaHcl4hXdndnaHcs0mbazcefhOxekazhOavaiaX9RcsGcdtfydbhzkdndnaCmbaOcefhxxekaOhxavaiaH9RcsGcdtfydbhOkdndnaDTmbaocefhDxekaocdfhDao8SbegPcFeGhsdnaPcu9kmbaocofhAascFbGhscrhodninaD8SbbgPcFbGaotasVhsaPcu9kmeaDcefhDaocrfgoc8J9hmbkaAhDxekaDcefhDkasce4cbasceG9R7amfgmhAkdndnaXcsSmbaDhsxekaDcefhsaD8SbbgocFeGhPdnaocu9kmbaDcvfhzaPcFbGhPcrhodninas8SbbgDcFbGaotaPVhPaDcu9kmeascefhsaocrfgoc8J9hmbkazhsxekascefhskaPce4cbaPceG9R7amfgmhzkdndnaCcsSmbashoxekascefhoas8SbbgDcFeGhPdnaDcu9kmbascvfhOaPcFbGhPcrhDdninao8SbbgscFbGaDtaPVhPascu9kmeaocefhoaDcrfgDc8J9hmbkaOhoxekaocefhokaPce4cbaPceG9R7amfgmhOkdndnadcd9hmbabarcetfgDaA87ebaDcdfaz87ebaDclfaO87ebxekabarcdtfgDaABdbaDclfazBdbaDcwfaOBdbkavc;abfalcitfgDazBdbaDaABdlavaicdtfaABdbavc;abfalcefcsGcitfgDaOBdbaDazBdlavaicefgicsGcdtfazBdbavc;abfalcdfcsGcitfgDaABdbaDaOBdlavaiaHcz6aXcsSVfgicsGcdtfaOBdbaiaCTaCcsSVfhialcifhlkawcefhwalcsGhlaicsGhiarcifgrae6mbkkcbc99aoaqSEhokavc;aef8Kjjjjbaok:flevu8Jjjjjbcz9Rhvc9:hodnaecvfal0mbcuhoaiRbbc;:eGc;qe9hmbav9cb83iwaicefhraialfc98fhwdnaeTmbdnadcdSmbcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcdtfaic8Etc8F91aicd47avcwfaiceGcdtVgoydbfglBdbaoalBdbaDcefgDae9hmbxdkkcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcetfaic8Etc8F91aicd47avcwfaiceGcdtVgoydbfgl87ebaoalBdbaDcefgDae9hmbkkcbc99arawSEhokaok:wPliuo97eue978Jjjjjbca9Rhiaec98Ghldndnadcl9hmbdnalTmbcbhvabhdinadadpbbbgocKp:RecKp:Sep;6egraocwp:RecKp:Sep;6earp;Geaoczp:RecKp:Sep;6egwp;Gep;Kep;LegDpxbbbbbbbbbbbbbbbbp:2egqarpxbbbjbbbjbbbjbbbjgkp9op9rp;Kegrpxbb;:9cbb;:9cbb;:9cbb;:9cararp;MeaDaDp;Meawaqawakp9op9rp;Kegrarp;Mep;Kep;Kep;Jep;Negwp;Mepxbbn0bbn0bbn0bbn0gqp;KepxFbbbFbbbFbbbFbbbp9oaopxbbbFbbbFbbbFbbbFp9op9qarawp;Meaqp;Kecwp:RepxbFbbbFbbbFbbbFbbp9op9qaDawp;Meaqp;Keczp:RepxbbFbbbFbbbFbbbFbp9op9qpkbbadczfhdavclfgval6mbkkalae9pmeaipxbbbbbbbbbbbbbbbbgqpklbaiabalcdtfgdaeciGglcdtgv;8qbbdnalTmbaiaipblbgocKp:RecKp:Sep;6egraocwp:RecKp:Sep;6earp;Geaoczp:RecKp:Sep;6egwp;Gep;Kep;LegDaqp:2egqarpxbbbjbbbjbbbjbbbjgkp9op9rp;Kegrpxbb;:9cbb;:9cbb;:9cbb;:9cararp;MeaDaDp;Meawaqawakp9op9rp;Kegrarp;Mep;Kep;Kep;Jep;Negwp;Mepxbbn0bbn0bbn0bbn0gqp;KepxFbbbFbbbFbbbFbbbp9oaopxbbbFbbbFbbbFbbbFp9op9qarawp;Meaqp;Kecwp:RepxbFbbbFbbbFbbbFbbp9op9qaDawp;Meaqp;Keczp:RepxbbFbbbFbbbFbbbFbp9op9qpklbkadaiav;8qbbskdnalTmbcbhvabhdinadczfgxaxpbbbgopxbbbbbbFFbbbbbbFFgkp9oadpbbbgDaopmlvorxmPsCXQL358E8FpxFubbFubbFubbFubbp9op;6eaDaopmbediwDqkzHOAKY8AEgoczp:Sep;6egrp;Geaoczp:Reczp:Sep;6egwp;Gep;Kep;Legopxb;:FSb;:FSb;:FSb;:FSawaopxbbbbbbbbbbbbbbbbp:2egqawpxbbbjbbbjbbbjbbbjgmp9op9rp;Kegwawp;Meaoaop;Mearaqaramp9op9rp;Kegoaop;Mep;Kep;Kep;Jep;Negrp;Mepxbbn0bbn0bbn0bbn0gqp;Keczp:Reawarp;Meaqp;KepxFFbbFFbbFFbbFFbbp9op9qgwaoarp;Meaqp;KepxFFbbFFbbFFbbFFbbp9ogopmwDKYqk8AExm35Ps8E8Fp9qpkbbadaDakp9oawaopmbezHdiOAlvCXorQLp9qpkbbadcafhdavclfgval6mbkkalae9pmbaiaeciGgvcitgdfcbcaad9R;8kbaiabalcitfglad;8qbbdnavTmbaiaipblzgopxbbbbbbFFbbbbbbFFgkp9oaipblbgDaopmlvorxmPsCXQL358E8FpxFubbFubbFubbFubbp9op;6eaDaopmbediwDqkzHOAKY8AEgoczp:Sep;6egrp;Geaoczp:Reczp:Sep;6egwp;Gep;Kep;Legopxb;:FSb;:FSb;:FSb;:FSawaopxbbbbbbbbbbbbbbbbp:2egqawpxbbbjbbbjbbbjbbbjgmp9op9rp;Kegwawp;Meaoaop;Mearaqaramp9op9rp;Kegoaop;Mep;Kep;Kep;Jep;Negrp;Mepxbbn0bbn0bbn0bbn0gqp;Keczp:Reawarp;Meaqp;KepxFFbbFFbbFFbbFFbbp9op9qgwaoarp;Meaqp;KepxFFbbFFbbFFbbFFbbp9ogopmwDKYqk8AExm35Ps8E8Fp9qpklzaiaDakp9oawaopmbezHdiOAlvCXorQLp9qpklbkalaiad;8qbbkk;4wllue97euv978Jjjjjbc8W9Rhidnaec98GglTmbcbhvabhoinaiaopbbbgraoczfgwpbbbgDpmlvorxmPsCXQL358E8Fgqczp:Segkclp:RepklbaopxbbjZbbjZbbjZbbjZpx;Zl81Z;Zl81Z;Zl81Z;Zl81Zakpxibbbibbbibbbibbbp9qp;6ep;NegkaraDpmbediwDqkzHOAKY8AEgrczp:Reczp:Sep;6ep;MegDaDp;Meakarczp:Sep;6ep;Megxaxp;Meakaqczp:Reczp:Sep;6ep;Megqaqp;Mep;Kep;Kep;Lepxbbbbbbbbbbbbbbbbp:4ep;Jepxb;:FSb;:FSb;:FSb;:FSgkp;Mepxbbn0bbn0bbn0bbn0grp;KepxFFbbFFbbFFbbFFbbgmp9oaxakp;Mearp;Keczp:Rep9qgxaqakp;Mearp;Keczp:ReaDakp;Mearp;Keamp9op9qgkpmbezHdiOAlvCXorQLgrp5baipblbpEb:T:j83ibaocwfarp5eaipblbpEe:T:j83ibawaxakpmwDKYqk8AExm35Ps8E8Fgkp5baipblbpEd:T:j83ibaocKfakp5eaipblbpEi:T:j83ibaocafhoavclfgval6mbkkdnalae9pmbaiaeciGgvcitgofcbcaao9R;8kbaiabalcitfgwao;8qbbdnavTmbaiaipblbgraipblzgDpmlvorxmPsCXQL358E8Fgqczp:Segkclp:RepklaaipxbbjZbbjZbbjZbbjZpx;Zl81Z;Zl81Z;Zl81Z;Zl81Zakpxibbbibbbibbbibbbp9qp;6ep;NegkaraDpmbediwDqkzHOAKY8AEgrczp:Reczp:Sep;6ep;MegDaDp;Meakarczp:Sep;6ep;Megxaxp;Meakaqczp:Reczp:Sep;6ep;Megqaqp;Mep;Kep;Kep;Lepxbbbbbbbbbbbbbbbbp:4ep;Jepxb;:FSb;:FSb;:FSb;:FSgkp;Mepxbbn0bbn0bbn0bbn0grp;KepxFFbbFFbbFFbbFFbbgmp9oaxakp;Mearp;Keczp:Rep9qgxaqakp;Mearp;Keczp:ReaDakp;Mearp;Keamp9op9qgkpmbezHdiOAlvCXorQLgrp5baipblapEb:T:j83ibaiarp5eaipblapEe:T:j83iwaiaxakpmwDKYqk8AExm35Ps8E8Fgkp5baipblapEd:T:j83izaiakp5eaipblapEi:T:j83iKkawaiao;8qbbkk:Pddiue978Jjjjjbc;ab9Rhidnadcd4ae2glc98GgvTmbcbheabhdinadadpbbbgocwp:Recwp:Sep;6eaocep:SepxbbjFbbjFbbjFbbjFp9opxbbjZbbjZbbjZbbjZp:Uep;Mepkbbadczfhdaeclfgeav6mbkkdnaval9pmbaialciGgecdtgdVcbc;abad9R;8kbaiabavcdtfgvad;8qbbdnaeTmbaiaipblbgocwp:Recwp:Sep;6eaocep:SepxbbjFbbjFbbjFbbjFp9opxbbjZbbjZbbjZbbjZp:Uep;Mepklbkavaiad;8qbbkk9teiucbcbydj1jjbgeabcifc98GfgbBdj1jjbdndnabZbcztgd9nmbcuhiabad9RcFFifcz4nbcuSmekaehikaikkkebcjwklz9Tbb";
|
|
146565
|
+
const detector = new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0, 1, 4, 1, 96, 0, 0, 3, 3, 2, 0, 0, 5, 3, 1, 0, 1, 12, 1, 0, 10, 22, 2, 12, 0, 65, 0, 65, 0, 65, 0, 252, 10, 0, 0, 11, 7, 0, 65, 0, 253, 15, 26, 11]);
|
|
146566
|
+
const wasmpack = new Uint8Array([32, 0, 65, 2, 1, 106, 34, 33, 3, 128, 11, 4, 13, 64, 6, 253, 10, 7, 15, 116, 127, 5, 8, 12, 40, 16, 19, 54, 20, 9, 27, 255, 113, 17, 42, 67, 24, 23, 146, 148, 18, 14, 22, 45, 70, 69, 56, 114, 101, 21, 25, 63, 75, 136, 108, 28, 118, 29, 73, 115]);
|
|
146567
|
+
if (typeof WebAssembly !== 'object') {
|
|
146568
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.FrontendLoggerCategory.Render, "WebAssembly is not supported in this environment");
|
|
146569
|
+
return undefined;
|
|
146208
146570
|
}
|
|
146209
|
-
|
|
146210
|
-
|
|
146211
|
-
|
|
146212
|
-
|
|
146213
|
-
|
|
146214
|
-
|
|
146215
|
-
return undefined;
|
|
146216
|
-
case "ready":
|
|
146217
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._decoder);
|
|
146218
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined === this._promise);
|
|
146219
|
-
return this._decoder;
|
|
146220
|
-
case "loading":
|
|
146221
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._promise);
|
|
146222
|
-
await this._promise;
|
|
146223
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)("failed" === this._status || "ready" === this._status);
|
|
146224
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined === this._promise);
|
|
146225
|
-
return this._decoder;
|
|
146226
|
-
}
|
|
146227
|
-
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)("uninitialized" === status);
|
|
146228
|
-
this._status = "loading";
|
|
146229
|
-
this._promise = this.load();
|
|
146230
|
-
return this.getDecoder();
|
|
146571
|
+
const wasm = WebAssembly.validate(detector) ? unpack(wasmSimd) : unpack(wasmBase);
|
|
146572
|
+
let instance;
|
|
146573
|
+
try {
|
|
146574
|
+
const result = await WebAssembly.instantiate(wasm, {});
|
|
146575
|
+
instance = result.instance;
|
|
146576
|
+
instance.exports.__wasm_call_ctors();
|
|
146231
146577
|
}
|
|
146232
|
-
|
|
146233
|
-
|
|
146234
|
-
|
|
146235
|
-
const decoder = (await __webpack_require__.e(/*! import() */ "vendors-common_temp_node_modules_pnpm_meshoptimizer_0_20_0_node_modules_meshoptimizer_index_m-a5ae61").then(__webpack_require__.bind(__webpack_require__, /*! meshoptimizer */ "../../common/temp/node_modules/.pnpm/meshoptimizer@0.20.0/node_modules/meshoptimizer/index.module.js"))).MeshoptDecoder;
|
|
146236
|
-
await decoder.ready;
|
|
146237
|
-
// Configure it to do the decoding outside of the main thread. No compelling reason to use more than one worker.
|
|
146238
|
-
decoder.useWorkers(1);
|
|
146239
|
-
this._status = "ready";
|
|
146240
|
-
this._decoder = decoder;
|
|
146241
|
-
}
|
|
146242
|
-
catch (err) {
|
|
146243
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logException(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.FrontendLoggerCategory.Render, err);
|
|
146244
|
-
this._status = "failed";
|
|
146245
|
-
}
|
|
146246
|
-
finally {
|
|
146247
|
-
this._promise = undefined;
|
|
146248
|
-
}
|
|
146578
|
+
catch (err) {
|
|
146579
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logException(_common_FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.FrontendLoggerCategory.Render, err);
|
|
146580
|
+
return undefined;
|
|
146249
146581
|
}
|
|
146582
|
+
function unpack(data) {
|
|
146583
|
+
const result = new Uint8Array(data.length);
|
|
146584
|
+
for (let i = 0; i < data.length; ++i) {
|
|
146585
|
+
const ch = data.charCodeAt(i);
|
|
146586
|
+
result[i] = ch > 96 ? ch - 97 : ch > 64 ? ch - 39 : ch + 4;
|
|
146587
|
+
}
|
|
146588
|
+
let write = 0;
|
|
146589
|
+
for (let i = 0; i < data.length; ++i) {
|
|
146590
|
+
result[write++] = (result[i] < 60) ? wasmpack[result[i]] : (result[i] - 60) * 64 + result[++i];
|
|
146591
|
+
}
|
|
146592
|
+
return result.buffer.slice(0, write);
|
|
146593
|
+
}
|
|
146594
|
+
function decode(decoder, target, count, size, source, filter) {
|
|
146595
|
+
const fun = instance.exports[decoder];
|
|
146596
|
+
const sbrk = instance.exports.sbrk;
|
|
146597
|
+
const count4 = (count + 3) & ~3;
|
|
146598
|
+
const tp = sbrk(count4 * size);
|
|
146599
|
+
const sp = sbrk(source.length);
|
|
146600
|
+
const heap = new Uint8Array(instance.exports.memory.buffer);
|
|
146601
|
+
heap.set(source, sp);
|
|
146602
|
+
const res = fun(tp, count, size, sp, source.length);
|
|
146603
|
+
if (res === 0 && filter) {
|
|
146604
|
+
filter(tp, count4, size);
|
|
146605
|
+
}
|
|
146606
|
+
target.set(heap.subarray(tp, tp + count * size));
|
|
146607
|
+
sbrk(tp - sbrk(0));
|
|
146608
|
+
if (res !== 0) {
|
|
146609
|
+
throw new Error(`Malformed buffer data: ${res}`);
|
|
146610
|
+
}
|
|
146611
|
+
}
|
|
146612
|
+
const decoders = {
|
|
146613
|
+
//eslint-disable-next-line @typescript-eslint/naming-convention
|
|
146614
|
+
ATTRIBUTES: 'meshopt_decodeVertexBuffer',
|
|
146615
|
+
//eslint-disable-next-line @typescript-eslint/naming-convention
|
|
146616
|
+
TRIANGLES: 'meshopt_decodeIndexBuffer',
|
|
146617
|
+
//eslint-disable-next-line @typescript-eslint/naming-convention
|
|
146618
|
+
INDICES: 'meshopt_decodeIndexSequence',
|
|
146619
|
+
};
|
|
146620
|
+
const filters = {
|
|
146621
|
+
//eslint-disable-next-line @typescript-eslint/naming-convention
|
|
146622
|
+
NONE: '',
|
|
146623
|
+
//eslint-disable-next-line @typescript-eslint/naming-convention
|
|
146624
|
+
OCTAHEDRAL: 'meshopt_decodeFilterOct',
|
|
146625
|
+
//eslint-disable-next-line @typescript-eslint/naming-convention
|
|
146626
|
+
QUATERNION: 'meshopt_decodeFilterQuat',
|
|
146627
|
+
//eslint-disable-next-line @typescript-eslint/naming-convention
|
|
146628
|
+
EXPONENTIAL: 'meshopt_decodeFilterExp',
|
|
146629
|
+
};
|
|
146630
|
+
return {
|
|
146631
|
+
decodeVertexBuffer(target, count, size, source, filter) {
|
|
146632
|
+
decode(decoders.ATTRIBUTES, target, count, size, source, filter ? instance.exports[filters[filter]] : undefined);
|
|
146633
|
+
},
|
|
146634
|
+
decodeIndexBuffer(target, count, size, source) {
|
|
146635
|
+
decode(decoders.TRIANGLES, target, count, size, source);
|
|
146636
|
+
},
|
|
146637
|
+
decodeIndexSequence(target, count, size, source) {
|
|
146638
|
+
decode(decoders.INDICES, target, count, size, source);
|
|
146639
|
+
},
|
|
146640
|
+
decodeGltfBuffer(target, count, size, source, mode, filter) {
|
|
146641
|
+
decode(decoders[mode], target, count, size, source, filter ? instance.exports[filters[filter]] : undefined);
|
|
146642
|
+
},
|
|
146643
|
+
};
|
|
146644
|
+
}
|
|
146645
|
+
;
|
|
146646
|
+
let meshoptDecoderLoaded = false;
|
|
146647
|
+
let meshoptDecoder;
|
|
146648
|
+
/** @internal */
|
|
146649
|
+
async function getMeshoptDecoder() {
|
|
146650
|
+
if (!meshoptDecoderLoaded) {
|
|
146651
|
+
meshoptDecoder = await getDecoder();
|
|
146652
|
+
meshoptDecoderLoaded = true;
|
|
146653
|
+
}
|
|
146654
|
+
return meshoptDecoder;
|
|
146250
146655
|
}
|
|
146251
|
-
const loader = new Loader();
|
|
146252
146656
|
/** @internal */
|
|
146253
146657
|
async function decodeMeshoptBuffer(source, args) {
|
|
146254
|
-
const decoder = await
|
|
146658
|
+
const decoder = await getMeshoptDecoder();
|
|
146255
146659
|
if (!decoder) {
|
|
146256
146660
|
return undefined;
|
|
146257
146661
|
}
|
|
146258
|
-
|
|
146662
|
+
const target = new Uint8Array(args.count * args.byteStride);
|
|
146663
|
+
decoder.decodeGltfBuffer(target, args.count, args.byteStride, source, args.mode, args.filter);
|
|
146664
|
+
return target;
|
|
146259
146665
|
}
|
|
146260
146666
|
|
|
146261
146667
|
|
|
@@ -153491,6 +153897,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
153491
153897
|
/* harmony export */ getCesiumOSMBuildingsUrl: () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_67__.getCesiumOSMBuildingsUrl),
|
|
153492
153898
|
/* harmony export */ getCesiumTerrainProvider: () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_67__.getCesiumTerrainProvider),
|
|
153493
153899
|
/* harmony export */ getGcsConverterAvailable: () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_64__.getGcsConverterAvailable),
|
|
153900
|
+
/* harmony export */ getMeshoptDecoder: () => (/* reexport safe */ _MeshoptCompression__WEBPACK_IMPORTED_MODULE_92__.getMeshoptDecoder),
|
|
153494
153901
|
/* harmony export */ iModelTileParamsFromJSON: () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_78__.iModelTileParamsFromJSON),
|
|
153495
153902
|
/* harmony export */ iModelTileTreeParamsFromJSON: () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_80__.iModelTileTreeParamsFromJSON),
|
|
153496
153903
|
/* harmony export */ internalMapLayerImageryFormats: () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_62__.internalMapLayerImageryFormats),
|
|
@@ -164347,8 +164754,8 @@ class ViewClipShapeModifyTool extends ViewClipModifyTool {
|
|
|
164347
164754
|
for (let i = 0; i < shapePts.length; i++) {
|
|
164348
164755
|
const prevFace = (0 === i ? shapePts.length - 2 : i - 1);
|
|
164349
164756
|
const nextFace = (shapePts.length - 1 === i ? 0 : i);
|
|
164350
|
-
const prevSelected = offsetAll || (prevFace === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[prevFace]));
|
|
164351
|
-
const nextSelected = offsetAll || (nextFace === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[nextFace]));
|
|
164757
|
+
const prevSelected = offsetAll || (prevFace === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[prevFace]));
|
|
164758
|
+
const nextSelected = offsetAll || (nextFace === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[nextFace]));
|
|
164352
164759
|
if (prevSelected && nextSelected) {
|
|
164353
164760
|
const prevPt = shapePts[i].plusScaled(this._controls[prevFace].direction, localOffset);
|
|
164354
164761
|
const nextPt = shapePts[i].plusScaled(this._controls[nextFace].direction, localOffset);
|
|
@@ -164372,8 +164779,8 @@ class ViewClipShapeModifyTool extends ViewClipModifyTool {
|
|
|
164372
164779
|
let zHigh = clipShape.zHigh;
|
|
164373
164780
|
const zLowIndex = this._controls.length - 2;
|
|
164374
164781
|
const zHighIndex = this._controls.length - 1;
|
|
164375
|
-
const zLowSelected = offsetAll || (zLowIndex === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[zLowIndex]));
|
|
164376
|
-
const zHighSelected = offsetAll || (zHighIndex === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[zHighIndex]));
|
|
164782
|
+
const zLowSelected = offsetAll || (zLowIndex === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[zLowIndex]));
|
|
164783
|
+
const zHighSelected = offsetAll || (zHighIndex === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[zHighIndex]));
|
|
164377
164784
|
if (zLowSelected || zHighSelected) {
|
|
164378
164785
|
const clipExtents = ViewClipTool.getClipShapeExtents(clipShape, this._viewRange);
|
|
164379
164786
|
if (zLowSelected)
|
|
@@ -164411,7 +164818,7 @@ class ViewClipPlanesModifyTool extends ViewClipModifyTool {
|
|
|
164411
164818
|
const offsetAll = ev.isShiftKey;
|
|
164412
164819
|
const planeSet = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.ConvexClipPlaneSet.createEmpty();
|
|
164413
164820
|
for (let i = 0; i < this._controls.length; i++) {
|
|
164414
|
-
const selected = offsetAll || (i === this._anchorIndex || this.manipulator.iModel.selectionSet.has(this._ids[i]));
|
|
164821
|
+
const selected = offsetAll || (i === this._anchorIndex || this.manipulator.iModel.selectionSet.elements.has(this._ids[i]));
|
|
164415
164822
|
const origin = this._controls[i].origin.clone();
|
|
164416
164823
|
const direction = this._controls[i].direction;
|
|
164417
164824
|
if (selected)
|
|
@@ -164476,7 +164883,7 @@ class ViewClipDecoration extends _EditManipulator__WEBPACK_IMPORTED_MODULE_7__.E
|
|
|
164476
164883
|
get clipPlaneSet() { return this._clipPlanes; }
|
|
164477
164884
|
getControlIndex(id) { return this._controlIds.indexOf(id); }
|
|
164478
164885
|
stop() {
|
|
164479
|
-
const selectedId = (undefined !== this._clipId && this.iModel.selectionSet.has(this._clipId)) ? this._clipId : undefined;
|
|
164886
|
+
const selectedId = (undefined !== this._clipId && this.iModel.selectionSet.elements.has(this._clipId)) ? this._clipId : undefined;
|
|
164480
164887
|
this._clipId = undefined; // Invalidate id so that decorator will be dropped...
|
|
164481
164888
|
super.stop();
|
|
164482
164889
|
if (undefined !== selectedId)
|
|
@@ -164640,7 +165047,7 @@ class ViewClipDecoration extends _EditManipulator__WEBPACK_IMPORTED_MODULE_7__.E
|
|
|
164640
165047
|
return false;
|
|
164641
165048
|
// Show controls if only range box and it's controls are selected, selection set doesn't include any other elements...
|
|
164642
165049
|
let showControls = false;
|
|
164643
|
-
if (this.iModel.selectionSet.size <= this._controlIds.length + 1 && this.iModel.selectionSet.has(this._clipId)) {
|
|
165050
|
+
if (this.iModel.selectionSet.size <= this._controlIds.length + 1 && this.iModel.selectionSet.elements.has(this._clipId)) {
|
|
164644
165051
|
showControls = true;
|
|
164645
165052
|
if (this.iModel.selectionSet.size > 1) {
|
|
164646
165053
|
this.iModel.selectionSet.elements.forEach((val) => {
|
|
@@ -164963,7 +165370,7 @@ class ViewClipDecoration extends _EditManipulator__WEBPACK_IMPORTED_MODULE_7__.E
|
|
|
164963
165370
|
const hidPts = shapePts.map((pt) => pt.clone());
|
|
164964
165371
|
const arrowVisBuilder = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_11__.GraphicType.WorldOverlay, transform, this._controlIds[iFace]);
|
|
164965
165372
|
const arrowHidBuilder = context.createGraphicBuilder(_common_render_GraphicType__WEBPACK_IMPORTED_MODULE_11__.GraphicType.WorldDecoration, transform);
|
|
164966
|
-
const isSelected = this.iModel.selectionSet.has(this._controlIds[iFace]);
|
|
165373
|
+
const isSelected = this.iModel.selectionSet.elements.has(this._controlIds[iFace]);
|
|
164967
165374
|
let outlineColorOvr = this._controls[iFace].outline;
|
|
164968
165375
|
if (undefined !== outlineColorOvr) {
|
|
164969
165376
|
outlineColorOvr = _EditManipulator__WEBPACK_IMPORTED_MODULE_7__.EditManipulator.HandleUtils.adjustForBackgroundColor(outlineColorOvr, vp);
|
|
@@ -165491,9 +165898,9 @@ class ElementAgenda {
|
|
|
165491
165898
|
setEntriesHiliteState(onOff, groupStart = 0, groupEnd = 0) {
|
|
165492
165899
|
if (!this.manageHiliteState)
|
|
165493
165900
|
return;
|
|
165494
|
-
const ss = this.iModel.selectionSet.
|
|
165901
|
+
const ss = this.iModel.selectionSet.elements.size > 0 ? this.iModel.selectionSet.elements : undefined;
|
|
165495
165902
|
if (undefined === ss && 0 === groupEnd) {
|
|
165496
|
-
this.iModel.hilited
|
|
165903
|
+
this.iModel.hilited[onOff ? "add" : "remove"]({ elements: this.elements });
|
|
165497
165904
|
return;
|
|
165498
165905
|
}
|
|
165499
165906
|
const shouldChangeHilite = (id, index) => {
|
|
@@ -165502,7 +165909,7 @@ class ElementAgenda {
|
|
|
165502
165909
|
return (0 === groupEnd || (index >= groupStart && index < groupEnd));
|
|
165503
165910
|
};
|
|
165504
165911
|
const group = this.elements.filter((id, index) => shouldChangeHilite(id, index));
|
|
165505
|
-
this.iModel.hilited
|
|
165912
|
+
this.iModel.hilited[onOff ? "add" : "remove"]({ elements: group });
|
|
165506
165913
|
}
|
|
165507
165914
|
/** Removes the last group of elements added to this agenda. */
|
|
165508
165915
|
popGroup() {
|
|
@@ -165743,7 +166150,14 @@ class ElementSetTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_9__.Primiti
|
|
|
165743
166150
|
this._useSelectionSet = false;
|
|
165744
166151
|
if (!this.iModel.selectionSet.isActive)
|
|
165745
166152
|
return;
|
|
165746
|
-
|
|
166153
|
+
const isSelectionSetValid = () => {
|
|
166154
|
+
if (0 === this.iModel.selectionSet.elements.size) {
|
|
166155
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_6__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_6__.OutputMessagePriority.Info, _Tool__WEBPACK_IMPORTED_MODULE_11__.CoreTools.translate("ElementSet.Error.ActiveSSWithoutElems")));
|
|
166156
|
+
return false;
|
|
166157
|
+
}
|
|
166158
|
+
return (this.iModel.selectionSet.elements.size >= this.requiredElementCount);
|
|
166159
|
+
};
|
|
166160
|
+
if (this.allowSelectionSet && isSelectionSetValid())
|
|
165747
166161
|
this._useSelectionSet = true;
|
|
165748
166162
|
else if (this.clearSelectionSet)
|
|
165749
166163
|
this.iModel.selectionSet.emptyAll();
|
|
@@ -167632,7 +168046,7 @@ class MeasureElementTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_10__.Pr
|
|
|
167632
168046
|
/** @internal */
|
|
167633
168047
|
async onCleanup() {
|
|
167634
168048
|
if (0 !== this._acceptedIds.length)
|
|
167635
|
-
this.iModel.hilited.
|
|
168049
|
+
this.iModel.hilited.remove({ elements: this._acceptedIds });
|
|
167636
168050
|
}
|
|
167637
168051
|
/** @internal */
|
|
167638
168052
|
async onUnsuspend() { this.showPrompt(); }
|
|
@@ -167902,7 +168316,7 @@ class MeasureElementTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_10__.Pr
|
|
|
167902
168316
|
const marker = new MeasureMarker((this._acceptedMeasurements.length + 1).toString(), toolTip, point, _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Point2d.create(25, 25));
|
|
167903
168317
|
this._acceptedMeasurements.push(marker);
|
|
167904
168318
|
this._acceptedIds.push(hit.sourceId);
|
|
167905
|
-
this.iModel.hilited.
|
|
168319
|
+
this.iModel.hilited.add({ elements: hit.sourceId });
|
|
167906
168320
|
await this.updateTotals();
|
|
167907
168321
|
this.setupAndPromptForNextAction();
|
|
167908
168322
|
if (undefined !== ev.viewport)
|
|
@@ -167919,7 +168333,7 @@ class MeasureElementTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_10__.Pr
|
|
|
167919
168333
|
}
|
|
167920
168334
|
else {
|
|
167921
168335
|
if (0 !== this._acceptedIds.length) {
|
|
167922
|
-
this.iModel.hilited.
|
|
168336
|
+
this.iModel.hilited.remove({ elements: this._acceptedIds[this._acceptedIds.length - 1] });
|
|
167923
168337
|
this._acceptedIds.pop();
|
|
167924
168338
|
}
|
|
167925
168339
|
await this.updateTotals();
|
|
@@ -168669,7 +169083,7 @@ class SelectionTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_8__.Primitiv
|
|
|
168669
169083
|
}
|
|
168670
169084
|
// Check for overlapping hits...
|
|
168671
169085
|
const lastHit = SelectionMode.Remove === this.selectionMode ? undefined : _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.locateManager.currHit;
|
|
168672
|
-
if (lastHit && this.iModel.selectionSet.has(lastHit.sourceId)) {
|
|
169086
|
+
if (lastHit && this.iModel.selectionSet.elements.has(lastHit.sourceId)) {
|
|
168673
169087
|
const autoHit = _IModelApp__WEBPACK_IMPORTED_MODULE_5__.IModelApp.accuSnap.currHit;
|
|
168674
169088
|
// Play nice w/auto-locate, only remove previous hit if not currently auto-locating or over previous hit
|
|
168675
169089
|
if (undefined === autoHit || autoHit.isSameHit(lastHit)) {
|
|
@@ -168730,7 +169144,7 @@ class SelectionTool extends _PrimitiveTool__WEBPACK_IMPORTED_MODULE_8__.Primitiv
|
|
|
168730
169144
|
const mode = this.selectionMode;
|
|
168731
169145
|
if (SelectionMode.Replace === mode)
|
|
168732
169146
|
return _ElementLocateManager__WEBPACK_IMPORTED_MODULE_4__.LocateFilterStatus.Accept;
|
|
168733
|
-
const isSelected = this.iModel.selectionSet.has(hit.sourceId);
|
|
169147
|
+
const isSelected = this.iModel.selectionSet.elements.has(hit.sourceId);
|
|
168734
169148
|
const status = ((SelectionMode.Add === mode ? !isSelected : isSelected) ? _ElementLocateManager__WEBPACK_IMPORTED_MODULE_4__.LocateFilterStatus.Accept : _ElementLocateManager__WEBPACK_IMPORTED_MODULE_4__.LocateFilterStatus.Reject);
|
|
168735
169149
|
if (out && _ElementLocateManager__WEBPACK_IMPORTED_MODULE_4__.LocateFilterStatus.Reject === status)
|
|
168736
169150
|
out.explanation = _Tool__WEBPACK_IMPORTED_MODULE_9__.CoreTools.translate(`ElementSet.Error.${isSelected ? "AlreadySelected" : "NotSelected"}`);
|
|
@@ -188690,7 +189104,19 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_1__.CurvePrimitive
|
|
|
188690
189104
|
get vector90() {
|
|
188691
189105
|
return this._matrix.columnY();
|
|
188692
189106
|
}
|
|
188693
|
-
/**
|
|
189107
|
+
/**
|
|
189108
|
+
* Compute an arc binormal vector with arbitrary length.
|
|
189109
|
+
* * The arc parameterization is counter-clockwise with respect to this vector.
|
|
189110
|
+
* * This vector is parallel to [[perpendicularVector]] and possibly opposite.
|
|
189111
|
+
*/
|
|
189112
|
+
binormalVector(result) {
|
|
189113
|
+
const plane = this.fractionToPointAnd2Derivatives(0.0);
|
|
189114
|
+
return plane.vectorU.crossProduct(plane.vectorV, result);
|
|
189115
|
+
}
|
|
189116
|
+
/**
|
|
189117
|
+
* Read property for (clone of) plane normal, with arbitrary length.
|
|
189118
|
+
* * Does not take arc sweep direction into account. See also [[binormalVector]].
|
|
189119
|
+
*/
|
|
188694
189120
|
get perpendicularVector() {
|
|
188695
189121
|
return this._matrix.columnZ();
|
|
188696
189122
|
}
|
|
@@ -191608,20 +192034,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
191608
192034
|
/* harmony export */ MiteredSweepOutputSelect: () => (/* binding */ MiteredSweepOutputSelect)
|
|
191609
192035
|
/* harmony export */ });
|
|
191610
192036
|
/* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
|
|
191611
|
-
/* harmony import */ var
|
|
192037
|
+
/* harmony import */ var _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../geometry3d/Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
|
|
191612
192038
|
/* harmony import */ var _geometry3d_AngleSweep__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../geometry3d/AngleSweep */ "../../core/geometry/lib/esm/geometry3d/AngleSweep.js");
|
|
191613
|
-
/* harmony import */ var
|
|
191614
|
-
/* harmony import */ var
|
|
192039
|
+
/* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
|
|
192040
|
+
/* harmony import */ var _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../geometry3d/Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
|
|
191615
192041
|
/* harmony import */ var _geometry3d_Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../geometry3d/Point3dArrayCarrier */ "../../core/geometry/lib/esm/geometry3d/Point3dArrayCarrier.js");
|
|
191616
192042
|
/* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
|
|
191617
|
-
/* harmony import */ var
|
|
191618
|
-
/* harmony import */ var
|
|
191619
|
-
/* harmony import */ var
|
|
191620
|
-
/* harmony import */ var
|
|
191621
|
-
/* harmony import */ var
|
|
192043
|
+
/* harmony import */ var _geometry3d_PolylineOps__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../geometry3d/PolylineOps */ "../../core/geometry/lib/esm/geometry3d/PolylineOps.js");
|
|
192044
|
+
/* harmony import */ var _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../geometry3d/Ray3d */ "../../core/geometry/lib/esm/geometry3d/Ray3d.js");
|
|
192045
|
+
/* harmony import */ var _geometry3d_Segment1d__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../geometry3d/Segment1d */ "../../core/geometry/lib/esm/geometry3d/Segment1d.js");
|
|
192046
|
+
/* harmony import */ var _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../geometry3d/Transform */ "../../core/geometry/lib/esm/geometry3d/Transform.js");
|
|
192047
|
+
/* harmony import */ var _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../numerics/SmallSystem */ "../../core/geometry/lib/esm/numerics/SmallSystem.js");
|
|
191622
192048
|
/* harmony import */ var _polyface_PolyfaceBuilder__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../polyface/PolyfaceBuilder */ "../../core/geometry/lib/esm/polyface/PolyfaceBuilder.js");
|
|
191623
192049
|
/* harmony import */ var _solid_Cone__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../solid/Cone */ "../../core/geometry/lib/esm/solid/Cone.js");
|
|
191624
|
-
/* harmony import */ var
|
|
192050
|
+
/* harmony import */ var _solid_RuledSweep__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../solid/RuledSweep */ "../../core/geometry/lib/esm/solid/RuledSweep.js");
|
|
191625
192051
|
/* harmony import */ var _solid_TorusPipe__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../solid/TorusPipe */ "../../core/geometry/lib/esm/solid/TorusPipe.js");
|
|
191626
192052
|
/* harmony import */ var _Arc3d__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Arc3d */ "../../core/geometry/lib/esm/curve/Arc3d.js");
|
|
191627
192053
|
/* harmony import */ var _CurveCollection__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./CurveCollection */ "../../core/geometry/lib/esm/curve/CurveCollection.js");
|
|
@@ -191631,8 +192057,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
191631
192057
|
/* harmony import */ var _LineString3d__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./LineString3d */ "../../core/geometry/lib/esm/curve/LineString3d.js");
|
|
191632
192058
|
/* harmony import */ var _Loop__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Loop */ "../../core/geometry/lib/esm/curve/Loop.js");
|
|
191633
192059
|
/* harmony import */ var _Path__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Path */ "../../core/geometry/lib/esm/curve/Path.js");
|
|
191634
|
-
/* harmony import */ var
|
|
191635
|
-
/* harmony import */ var
|
|
192060
|
+
/* harmony import */ var _RegionOps__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./RegionOps */ "../../core/geometry/lib/esm/curve/RegionOps.js");
|
|
192061
|
+
/* harmony import */ var _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./spiral/IntegratedSpiral3d */ "../../core/geometry/lib/esm/curve/spiral/IntegratedSpiral3d.js");
|
|
191636
192062
|
/*---------------------------------------------------------------------------------------------
|
|
191637
192063
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
191638
192064
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -191915,6 +192341,44 @@ class CurveFactory {
|
|
|
191915
192341
|
}
|
|
191916
192342
|
return undefined;
|
|
191917
192343
|
}
|
|
192344
|
+
/** Get start point and tangent for variant curve data. */
|
|
192345
|
+
static startPointAndTangent(curve) {
|
|
192346
|
+
if (curve instanceof _CurvePrimitive__WEBPACK_IMPORTED_MODULE_12__.CurvePrimitive)
|
|
192347
|
+
return curve.fractionToPointAndDerivative(0.0);
|
|
192348
|
+
if (curve.length < 2)
|
|
192349
|
+
return undefined;
|
|
192350
|
+
if (Array.isArray(curve))
|
|
192351
|
+
curve = new _geometry3d_Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_3__.Point3dArrayCarrier(curve);
|
|
192352
|
+
const ray = _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_15__.Ray3d.createZero();
|
|
192353
|
+
curve.getPoint3dAtUncheckedPointIndex(0, ray.origin);
|
|
192354
|
+
curve.vectorIndexIndex(0, 1, ray.direction);
|
|
192355
|
+
return ray;
|
|
192356
|
+
}
|
|
192357
|
+
;
|
|
192358
|
+
/** Create an [[Arc3d]] from `sectionData` that has its center at the start point of the centerline. */
|
|
192359
|
+
static createArcFromSectionData(centerline, sectionData) {
|
|
192360
|
+
const ray = CurveFactory.startPointAndTangent(centerline);
|
|
192361
|
+
if (!ray)
|
|
192362
|
+
return undefined;
|
|
192363
|
+
let arc;
|
|
192364
|
+
if (sectionData instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d) {
|
|
192365
|
+
arc = sectionData.clone();
|
|
192366
|
+
arc.center = ray.origin;
|
|
192367
|
+
}
|
|
192368
|
+
else {
|
|
192369
|
+
const vector0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.create();
|
|
192370
|
+
const vector90 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.create();
|
|
192371
|
+
const length0 = (typeof sectionData === "number") ? sectionData : sectionData.x;
|
|
192372
|
+
const length90 = (typeof sectionData === "number") ? sectionData : sectionData.y;
|
|
192373
|
+
const baseFrame = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d.createRigidHeadsUp(ray.direction, _Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisOrder.ZXY);
|
|
192374
|
+
baseFrame.columnX(vector0).scaleInPlace(length0);
|
|
192375
|
+
baseFrame.columnY(vector90).scaleInPlace(length90);
|
|
192376
|
+
arc = _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d.create(ray.origin, vector0, vector90);
|
|
192377
|
+
}
|
|
192378
|
+
if (arc.binormalVector().dotProduct(ray.direction) < 0.0)
|
|
192379
|
+
arc.reverseInPlace();
|
|
192380
|
+
return arc;
|
|
192381
|
+
}
|
|
191918
192382
|
/**
|
|
191919
192383
|
* Create section arcs for mitered pipe.
|
|
191920
192384
|
* * At the end of each pipe segment, the pipe is mitered by the plane that bisects the angle between successive
|
|
@@ -191927,63 +192391,22 @@ class CurveFactory {
|
|
|
191927
192391
|
* lengths, or an Arc3d:
|
|
191928
192392
|
* * For semi-axis length input, x and y correspond to ellipse local axes perpendicular to each other and to the
|
|
191929
192393
|
* start tangent.
|
|
191930
|
-
* * For Arc3d input, the center is translated to the centerline start point
|
|
191931
|
-
*
|
|
192394
|
+
* * For Arc3d input, the center is translated to the centerline start point. For best results, ensure this arc
|
|
192395
|
+
* is perpendicular to the centerline start tangent.
|
|
192396
|
+
* * This function internally calls [[createMiteredSweepSections]] with default options.
|
|
191932
192397
|
* @param centerline centerline of pipe. For best results, ensure no successive duplicate points with e.g.,
|
|
191933
192398
|
* [[GrowableXYZArray.createCompressed]].
|
|
191934
192399
|
* @param sectionData circle radius, ellipse semi-axis lengths, or full Arc3d (if not full, function makes it full).
|
|
192400
|
+
* @returns array of sections or empty array if section creation failed.
|
|
191935
192401
|
*/
|
|
191936
192402
|
static createMiteredPipeSections(centerline, sectionData) {
|
|
191937
|
-
const
|
|
191938
|
-
if (
|
|
192403
|
+
const arc = CurveFactory.createArcFromSectionData(centerline, sectionData);
|
|
192404
|
+
if (!arc)
|
|
191939
192405
|
return [];
|
|
191940
|
-
const
|
|
191941
|
-
|
|
191942
|
-
|
|
191943
|
-
|
|
191944
|
-
centerline.vectorIndexIndex(0, 1, vectorBC); // initially, the start tangent
|
|
191945
|
-
if (sectionData instanceof _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d) {
|
|
191946
|
-
vector0.setFrom(sectionData.vector0);
|
|
191947
|
-
vector90.setFrom(sectionData.vector90);
|
|
191948
|
-
sweep.setFrom(sectionData.sweep); // allow e.g., half-pipe
|
|
191949
|
-
const sectionFacesForward = sectionData.matrixRef.columnDotXYZ(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, vectorBC.x, vectorBC.y, vectorBC.z) > 0;
|
|
191950
|
-
if (sectionFacesForward !== sectionData.sweep.isCCW)
|
|
191951
|
-
sweep.reverseInPlace();
|
|
191952
|
-
}
|
|
191953
|
-
else if (typeof sectionData === "number" || _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Point3d.isXAndY(sectionData)) {
|
|
191954
|
-
const length0 = (typeof sectionData === "number") ? sectionData : sectionData.x;
|
|
191955
|
-
const length90 = (typeof sectionData === "number") ? sectionData : sectionData.y;
|
|
191956
|
-
const baseFrame = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_15__.Matrix3d.createRigidHeadsUp(vectorBC, _Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisOrder.ZXY);
|
|
191957
|
-
baseFrame.columnX(vector0).scaleInPlace(length0);
|
|
191958
|
-
baseFrame.columnY(vector90).scaleInPlace(length90);
|
|
191959
|
-
}
|
|
191960
|
-
else {
|
|
191961
|
-
return [];
|
|
191962
|
-
}
|
|
191963
|
-
// ASSUME: initial section normal points toward sweep direction for subsequent facet creation
|
|
191964
|
-
const initialSection = _Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d.create(undefined, vector0, vector90, sweep);
|
|
191965
|
-
centerline.getPoint3dAtUncheckedPointIndex(0, initialSection.centerRef);
|
|
191966
|
-
arcs.push(initialSection);
|
|
191967
|
-
const vectorAB = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.create();
|
|
191968
|
-
const bisector = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.create();
|
|
191969
|
-
const center = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Point3d.create();
|
|
191970
|
-
for (let i = 1; i < centerline.length; i++) {
|
|
191971
|
-
vectorAB.setFromVector3d(vectorBC);
|
|
191972
|
-
centerline.getPoint3dAtUncheckedPointIndex(i, center);
|
|
191973
|
-
if (i + 1 < centerline.length)
|
|
191974
|
-
centerline.vectorIndexIndex(i, i + 1, vectorBC);
|
|
191975
|
-
else
|
|
191976
|
-
vectorBC.setFromVector3d(vectorAB);
|
|
191977
|
-
if (vectorAB.normalizeInPlace() && vectorBC.normalizeInPlace()) {
|
|
191978
|
-
vectorAB.interpolate(0.5, vectorBC, bisector);
|
|
191979
|
-
// At pipe end, the ellipse center comes directly from centerline[i], and vector0/vector90 are
|
|
191980
|
-
// obtained by sweeping the corresponding vectors of the pipe start ellipse to the bisector plane.
|
|
191981
|
-
moveVectorToPlane(vector0, vectorAB, bisector, vector0);
|
|
191982
|
-
moveVectorToPlane(vector90, vectorAB, bisector, vector90);
|
|
191983
|
-
arcs.push(_Arc3d__WEBPACK_IMPORTED_MODULE_2__.Arc3d.create(center, vector0, vector90, sweep));
|
|
191984
|
-
}
|
|
191985
|
-
}
|
|
191986
|
-
return arcs;
|
|
192406
|
+
const miteredSweeps = CurveFactory.createMiteredSweepSections(centerline, arc);
|
|
192407
|
+
if (miteredSweeps)
|
|
192408
|
+
return miteredSweeps.sections;
|
|
192409
|
+
return [];
|
|
191987
192410
|
}
|
|
191988
192411
|
/** For a smooth curve, stroke and return unnormalized start/end tangents. */
|
|
191989
192412
|
static strokeSmoothCurve(curve, options) {
|
|
@@ -192038,10 +192461,10 @@ class CurveFactory {
|
|
|
192038
192461
|
closedCurve = curve;
|
|
192039
192462
|
if (closedCurve) {
|
|
192040
192463
|
// The alignment condition is equivalent to positive projected curve area computed wrt to the plane normal.
|
|
192041
|
-
const toLocal =
|
|
192042
|
-
const projection = closedCurve.cloneTransformed(
|
|
192464
|
+
const toLocal = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d.createRigidHeadsUp(planeNormal).transpose();
|
|
192465
|
+
const projection = closedCurve.cloneTransformed(_geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createOriginAndMatrix(undefined, toLocal));
|
|
192043
192466
|
if (projection) { // now we can ignore z-coords
|
|
192044
|
-
const areaXY =
|
|
192467
|
+
const areaXY = _RegionOps__WEBPACK_IMPORTED_MODULE_18__.RegionOps.computeXYArea(projection);
|
|
192045
192468
|
if (areaXY && areaXY < 0)
|
|
192046
192469
|
curve.reverseInPlace();
|
|
192047
192470
|
}
|
|
@@ -192054,7 +192477,7 @@ class CurveFactory {
|
|
|
192054
192477
|
*/
|
|
192055
192478
|
static doSweepToPlane(output, edgePlane0, edgePlane1, targetPlane, section) {
|
|
192056
192479
|
const sweepVector = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.createStartEnd(edgePlane0.getOriginRef(), edgePlane1.getOriginRef());
|
|
192057
|
-
const transform =
|
|
192480
|
+
const transform = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createFlattenAlongVectorToPlane(sweepVector, targetPlane.getOriginRef(), targetPlane.getNormalRef());
|
|
192058
192481
|
if (transform === undefined)
|
|
192059
192482
|
return section;
|
|
192060
192483
|
const transformedSection = section.cloneTransformed(transform);
|
|
@@ -192085,10 +192508,12 @@ class CurveFactory {
|
|
|
192085
192508
|
* @return array of sections, formed from projecting `initialSection` successively onto the bisector planes.
|
|
192086
192509
|
*/
|
|
192087
192510
|
static createMiteredSweepSections(centerline, initialSection, options) {
|
|
192511
|
+
if (!options)
|
|
192512
|
+
options = {};
|
|
192088
192513
|
const rail = this.strokeSmoothCurve(centerline, options.strokeOptions);
|
|
192089
192514
|
if (!rail)
|
|
192090
192515
|
return undefined;
|
|
192091
|
-
const planes =
|
|
192516
|
+
const planes = _geometry3d_PolylineOps__WEBPACK_IMPORTED_MODULE_19__.PolylineOps.createBisectorPlanesForDistinctPoints(rail.strokes);
|
|
192092
192517
|
if (!planes || planes.length < 2)
|
|
192093
192518
|
return undefined;
|
|
192094
192519
|
this.alignFirstAndLastBisectorPlanes(planes[0], planes[planes.length - 1], rail, options);
|
|
@@ -192100,7 +192525,7 @@ class CurveFactory {
|
|
|
192100
192525
|
for (let i = 1; i < planes.length; i++)
|
|
192101
192526
|
currentSection = this.doSweepToPlane(sectionData, planes[i - 1], planes[i], planes[i], currentSection);
|
|
192102
192527
|
if (options.outputSelect) {
|
|
192103
|
-
const ruledSweep =
|
|
192528
|
+
const ruledSweep = _solid_RuledSweep__WEBPACK_IMPORTED_MODULE_20__.RuledSweep.create(sectionData.sections, options.capped ?? false);
|
|
192104
192529
|
if (ruledSweep) {
|
|
192105
192530
|
sectionData.ruledSweep = ruledSweep;
|
|
192106
192531
|
if (MiteredSweepOutputSelect.AlsoMesh === options.outputSelect) {
|
|
@@ -192142,25 +192567,25 @@ class CurveFactory {
|
|
|
192142
192567
|
const lineTurnRadians = vectorAB.angleToXY(vectorBC0);
|
|
192143
192568
|
const spiralTurnRadians = 0.5 * lineTurnRadians.radians;
|
|
192144
192569
|
const radiansBC = radiansAB + lineTurnRadians.radians;
|
|
192145
|
-
const axesA =
|
|
192146
|
-
const frameA =
|
|
192570
|
+
const axesA = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d.createRotationAroundAxisIndex(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(radiansAB));
|
|
192571
|
+
const frameA = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createRefs(startPoint.clone(), axesA);
|
|
192147
192572
|
// We know how much it has to turn, and but not the length or end radius.
|
|
192148
192573
|
// make a spiral of referenceLength and scale it back to the junction line
|
|
192149
|
-
const spiralARefLength =
|
|
192574
|
+
const spiralARefLength = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0.0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(0), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(spiralTurnRadians), referenceLength, undefined, frameA);
|
|
192150
192575
|
if (spiralARefLength) {
|
|
192151
192576
|
const midPlanePerpendicularRadians = radiansAB + spiralTurnRadians;
|
|
192152
|
-
const midPlanePerpendicularVector = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.createPolar(1.0,
|
|
192577
|
+
const midPlanePerpendicularVector = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.createPolar(1.0, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(midPlanePerpendicularRadians));
|
|
192153
192578
|
const altitudeB = midPlanePerpendicularVector.dotProductStartEnd(startPoint, shoulderPoint);
|
|
192154
192579
|
const altitudeSpiralEnd = midPlanePerpendicularVector.dotProductStartEnd(startPoint, spiralARefLength.endPoint());
|
|
192155
192580
|
const scaleFactor = altitudeB / altitudeSpiralEnd;
|
|
192156
|
-
const spiralA =
|
|
192581
|
+
const spiralA = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0.0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(0), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(spiralTurnRadians), referenceLength * scaleFactor, undefined, frameA);
|
|
192157
192582
|
const distanceAB = vectorAB.magnitude();
|
|
192158
192583
|
const vectorBC = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.createStartEnd(shoulderPoint, targetPoint);
|
|
192159
192584
|
vectorBC.scaleToLength(distanceAB, vectorBC);
|
|
192160
192585
|
const pointC = shoulderPoint.plus(vectorBC);
|
|
192161
|
-
const axesC =
|
|
192162
|
-
const frameC =
|
|
192163
|
-
const spiralC =
|
|
192586
|
+
const axesC = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d.createRotationAroundAxisIndex(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(radiansBC + Math.PI));
|
|
192587
|
+
const frameC = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createRefs(pointC, axesC);
|
|
192588
|
+
const spiralC = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, -spiralA.radius01.x1, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.zero(), undefined, spiralA.curveLength(), _geometry3d_Segment1d__WEBPACK_IMPORTED_MODULE_23__.Segment1d.create(1, 0), frameC);
|
|
192164
192589
|
return [spiralA, spiralC];
|
|
192165
192590
|
}
|
|
192166
192591
|
return undefined;
|
|
@@ -192183,7 +192608,7 @@ class CurveFactory {
|
|
|
192183
192608
|
const spiralTurnRadians = 0.5 * lineTurnAngle.radians;
|
|
192184
192609
|
const bisectorRadians = 0.5 * (Math.PI - lineTurnAngle.radians);
|
|
192185
192610
|
const radiansCB = Math.atan2(-vectorBC.y, -vectorBC.x);
|
|
192186
|
-
const spiralAB0 =
|
|
192611
|
+
const spiralAB0 = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.zero(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(spiralTurnRadians), spiralLength, undefined, _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createIdentity());
|
|
192187
192612
|
if (spiralAB0) {
|
|
192188
192613
|
const localEndPoint = spiralAB0.fractionToPoint(1);
|
|
192189
192614
|
const distanceAB = pointA.distance(pointB);
|
|
@@ -192194,14 +192619,14 @@ class CurveFactory {
|
|
|
192194
192619
|
const xFractionAB = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.conditionalDivideFraction(distanceAB - distanceBE - localEndPoint.x, distanceAB);
|
|
192195
192620
|
const xFractionCB = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.conditionalDivideFraction(distanceCB - distanceBE - localEndPoint.x, distanceCB);
|
|
192196
192621
|
if (xFractionAB !== undefined && xFractionCB !== undefined) {
|
|
192197
|
-
const axesA =
|
|
192622
|
+
const axesA = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d.createRotationAroundAxisIndex(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(radiansAB));
|
|
192198
192623
|
const frameAOrigin = pointA.interpolate(xFractionAB, pointB);
|
|
192199
|
-
const frameA =
|
|
192200
|
-
const spiralAB =
|
|
192201
|
-
const axesB =
|
|
192624
|
+
const frameA = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createRefs(frameAOrigin, axesA);
|
|
192625
|
+
const spiralAB = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.zero(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(spiralTurnRadians), spiralLength, undefined, frameA);
|
|
192626
|
+
const axesB = _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_16__.Matrix3d.createRotationAroundAxisIndex(_Geometry__WEBPACK_IMPORTED_MODULE_0__.AxisIndex.Z, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(radiansCB));
|
|
192202
192627
|
const frameBOrigin = pointC.interpolate(xFractionCB, pointB);
|
|
192203
|
-
const frameB =
|
|
192204
|
-
const spiralBC =
|
|
192628
|
+
const frameB = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createRefs(frameBOrigin, axesB);
|
|
192629
|
+
const spiralBC = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, undefined, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.zero(), _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.createRadians(-spiralTurnRadians), spiralLength, undefined, frameB);
|
|
192205
192630
|
return [spiralAB, spiralBC];
|
|
192206
192631
|
}
|
|
192207
192632
|
}
|
|
@@ -192233,8 +192658,8 @@ class CurveFactory {
|
|
|
192233
192658
|
const sideB = -sideA;
|
|
192234
192659
|
const radiusA = sideA * Math.abs(arcRadius);
|
|
192235
192660
|
const radiusB = sideB * Math.abs(arcRadius);
|
|
192236
|
-
const spiralA =
|
|
192237
|
-
const spiralB =
|
|
192661
|
+
const spiralA = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, radiusA, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.zero(), undefined, lengthA, undefined, _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createIdentity());
|
|
192662
|
+
const spiralB = _spiral_IntegratedSpiral3d__WEBPACK_IMPORTED_MODULE_22__.IntegratedSpiral3d.createFrom4OutOf5(spiralType, 0, radiusB, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_21__.Angle.zero(), undefined, lengthB, undefined, _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createIdentity());
|
|
192238
192663
|
const spiralEndA = spiralA.fractionToPointAndUnitTangent(1.0);
|
|
192239
192664
|
const spiralEndB = spiralB.fractionToPointAndUnitTangent(1.0);
|
|
192240
192665
|
// From the end of spiral, step away to arc center (and this is in local coordinates of each spiral)
|
|
@@ -192245,12 +192670,12 @@ class CurveFactory {
|
|
|
192245
192670
|
// Those local coordinates are rotated to unitAB and unitBC ...
|
|
192246
192671
|
const vectorA = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.createAdd2Scaled(unitAB, sA, unitPerpAB, tA);
|
|
192247
192672
|
const vectorB = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.createAdd2Scaled(unitCB, sB, unitPerpCB, tB);
|
|
192248
|
-
const uv =
|
|
192249
|
-
if (
|
|
192673
|
+
const uv = _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_24__.Vector2d.create();
|
|
192674
|
+
if (_numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_25__.SmallSystem.linearSystem2d(unitAB.x, -unitCB.x, unitAB.y, -unitCB.y, vectorB.x - vectorA.x, vectorB.y - vectorA.y, uv)) {
|
|
192250
192675
|
const tangencyAB = pointB.plusScaled(unitAB, uv.x);
|
|
192251
192676
|
const tangencyCB = pointB.plusScaled(unitCB, uv.y);
|
|
192252
|
-
const frameA =
|
|
192253
|
-
const frameB =
|
|
192677
|
+
const frameA = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createOriginAndMatrixColumns(tangencyAB, unitAB, unitPerpAB, _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.unitZ());
|
|
192678
|
+
const frameB = _geometry3d_Transform__WEBPACK_IMPORTED_MODULE_17__.Transform.createOriginAndMatrixColumns(tangencyCB, unitCB, unitPerpCB, _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_7__.Vector3d.unitZ());
|
|
192254
192679
|
spiralA.tryTransformInPlace(frameA);
|
|
192255
192680
|
spiralB.tryTransformInPlace(frameB);
|
|
192256
192681
|
const rayA1 = spiralA.fractionToPointAndUnitTangent(1.0);
|
|
@@ -192277,21 +192702,13 @@ class CurveFactory {
|
|
|
192277
192702
|
const normalCx = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.crossProductXYXY(normalAy, normalAz, normalBy, normalBz);
|
|
192278
192703
|
const normalCy = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.crossProductXYXY(normalAz, normalAx, normalBz, normalBx);
|
|
192279
192704
|
const normalCz = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.crossProductXYXY(normalAx, normalAy, normalBx, normalBy);
|
|
192280
|
-
const rayOrigin =
|
|
192705
|
+
const rayOrigin = _numerics_SmallSystem__WEBPACK_IMPORTED_MODULE_25__.SmallSystem.linearSystem3d(normalAx, normalAy, normalAz, normalBx, normalBy, normalBz, normalCx, normalCy, normalCz, -altitudeA, -altitudeB, 0.0);
|
|
192281
192706
|
if (rayOrigin !== undefined) {
|
|
192282
|
-
return
|
|
192707
|
+
return _geometry3d_Ray3d__WEBPACK_IMPORTED_MODULE_15__.Ray3d.createXYZUVW(rayOrigin.x, rayOrigin.y, rayOrigin.z, normalCx, normalCy, normalCz);
|
|
192283
192708
|
}
|
|
192284
192709
|
return undefined;
|
|
192285
192710
|
}
|
|
192286
192711
|
}
|
|
192287
|
-
/** Starting at vectorR, move parallel to vectorV until perpendicular to planeNormal. */
|
|
192288
|
-
function moveVectorToPlane(vectorR, vectorV, planeNormal, result) {
|
|
192289
|
-
// find s such that (vectorR + s * vectorV) DOT planeNormal = 0.
|
|
192290
|
-
const dotRN = vectorR.dotProduct(planeNormal);
|
|
192291
|
-
const dotVN = vectorV.dotProduct(planeNormal);
|
|
192292
|
-
const s = _Geometry__WEBPACK_IMPORTED_MODULE_0__.Geometry.safeDivideFraction(dotRN, dotVN, 0.0);
|
|
192293
|
-
return vectorR.plusScaled(vectorV, -s, result);
|
|
192294
|
-
}
|
|
192295
192712
|
|
|
192296
192713
|
|
|
192297
192714
|
/***/ }),
|
|
@@ -200167,7 +200584,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
200167
200584
|
*/
|
|
200168
200585
|
class StrokeOptions {
|
|
200169
200586
|
constructor() {
|
|
200170
|
-
/** Whether or not to triangulate each added facet */
|
|
200587
|
+
/** Whether or not to triangulate each added facet. */
|
|
200171
200588
|
this.shouldTriangulate = false;
|
|
200172
200589
|
/** Default number of strokes for a circle. */
|
|
200173
200590
|
this.defaultCircleStrokes = 16;
|
|
@@ -226009,7 +226426,8 @@ class PolylineOps {
|
|
|
226009
226426
|
data.pop();
|
|
226010
226427
|
}
|
|
226011
226428
|
}
|
|
226012
|
-
/**
|
|
226429
|
+
/**
|
|
226430
|
+
* Create an array of planes.
|
|
226013
226431
|
* * First plane has origin at first centerline point, with unit normal directed at the next point.
|
|
226014
226432
|
* * Intermediate planes have origin at intermediate points, with unit normals computed from the average of unit vectors
|
|
226015
226433
|
* along the incoming and outgoing segments.
|
|
@@ -239655,26 +240073,41 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
239655
240073
|
*/
|
|
239656
240074
|
class SortableEdge extends Float64Array {
|
|
239657
240075
|
/** Return the vertex index that appears first in the order stored. */
|
|
239658
|
-
get vertexIndexA() {
|
|
240076
|
+
get vertexIndexA() {
|
|
240077
|
+
return this[0];
|
|
240078
|
+
}
|
|
239659
240079
|
/** Return the vertex index that appears second in the order stored. */
|
|
239660
|
-
get vertexIndexB() {
|
|
240080
|
+
get vertexIndexB() {
|
|
240081
|
+
return this[1];
|
|
240082
|
+
}
|
|
239661
240083
|
/** Return the facet index. */
|
|
239662
|
-
get facetIndex() {
|
|
239663
|
-
|
|
239664
|
-
|
|
239665
|
-
/**
|
|
239666
|
-
get
|
|
239667
|
-
|
|
239668
|
-
|
|
239669
|
-
/** Return
|
|
239670
|
-
|
|
239671
|
-
|
|
240084
|
+
get facetIndex() {
|
|
240085
|
+
return this[2];
|
|
240086
|
+
}
|
|
240087
|
+
/** return true if vertexIndexA is less than vertexIndexB. */
|
|
240088
|
+
get isLowHigh() {
|
|
240089
|
+
return this[0] < this[1];
|
|
240090
|
+
}
|
|
240091
|
+
/** Return the vertex index with lower numeric value. */
|
|
240092
|
+
get lowVertexIndex() {
|
|
240093
|
+
return this[0] < this[1] ? this[0] : this[1];
|
|
240094
|
+
}
|
|
240095
|
+
/** Return the vertex index with higher numeric value. */
|
|
240096
|
+
get highVertexIndex() {
|
|
240097
|
+
return this[0] > this[1] ? this[0] : this[1];
|
|
240098
|
+
}
|
|
240099
|
+
/** Return true if the vertices edgeA and edgeB are the same vertex indices in opposite order. */
|
|
240100
|
+
static areDirectedPartners(edgeA, edgeB) {
|
|
240101
|
+
return edgeA[0] === edgeB[1] && edgeA[1] === edgeB[0];
|
|
240102
|
+
}
|
|
240103
|
+
/** Return true if the vertices edgeA and edgeB are the same vertex indices with no consideration of order. */
|
|
239672
240104
|
static areUndirectedPartners(edgeA, edgeB) {
|
|
239673
240105
|
return (edgeA[0] === edgeB[0] && edgeA[1] === edgeB[1]) || ((edgeA[0] === edgeB[1] && edgeA[1] === edgeB[0]));
|
|
239674
240106
|
}
|
|
239675
|
-
/**
|
|
239676
|
-
*
|
|
239677
|
-
* *
|
|
240107
|
+
/**
|
|
240108
|
+
* Return numeric relationship of edgeA and edgeB:
|
|
240109
|
+
* * 1 if they share start and end in the same order.
|
|
240110
|
+
* * -1 if they share start and end in reversed order.
|
|
239678
240111
|
* * 0 otherwise.
|
|
239679
240112
|
*/
|
|
239680
240113
|
static relativeOrientation(edgeA, edgeB) {
|
|
@@ -239684,10 +240117,12 @@ class SortableEdge extends Float64Array {
|
|
|
239684
240117
|
return -1;
|
|
239685
240118
|
return 0;
|
|
239686
240119
|
}
|
|
239687
|
-
get isNullEdge() {
|
|
240120
|
+
get isNullEdge() {
|
|
240121
|
+
return this[0] === this[1];
|
|
240122
|
+
}
|
|
239688
240123
|
/**
|
|
239689
|
-
*
|
|
239690
|
-
* * If the edges have the same vertex pair (in same or opposite order) they will end up adjacent in a sort
|
|
240124
|
+
* Lexical comparison of two edges.
|
|
240125
|
+
* * If the edges have the same vertex pair (in same or opposite order) they will end up adjacent in a sort.
|
|
239691
240126
|
* * If the edges have 0 or 1 shared vertex indices, the one with lowest low comes first.
|
|
239692
240127
|
* @param edgeA first edge
|
|
239693
240128
|
* @param edgeB second edge
|
|
@@ -239715,7 +240150,9 @@ class SortableEdge extends Float64Array {
|
|
|
239715
240150
|
this[1] = vertexB;
|
|
239716
240151
|
this[2] = facetIndex;
|
|
239717
240152
|
}
|
|
239718
|
-
toJSON() {
|
|
240153
|
+
toJSON() {
|
|
240154
|
+
return [this[0], this[1], this[2]];
|
|
240155
|
+
}
|
|
239719
240156
|
static clusterToJSON(data) {
|
|
239720
240157
|
if (data instanceof SortableEdge)
|
|
239721
240158
|
return data.toJSON();
|
|
@@ -239731,18 +240168,19 @@ class SortableEdge extends Float64Array {
|
|
|
239731
240168
|
}
|
|
239732
240169
|
}
|
|
239733
240170
|
/**
|
|
239734
|
-
* An IndexedEdgeMatcher carries an array (`edges`) of edges start & end indices for sorting and subsequent analyses
|
|
240171
|
+
* An IndexedEdgeMatcher carries an array (`edges`) of edges start & end indices for sorting and subsequent analyses
|
|
240172
|
+
* (such as testing for closed mesh).
|
|
239735
240173
|
*/
|
|
239736
240174
|
class IndexedEdgeMatcher {
|
|
239737
240175
|
constructor() {
|
|
239738
240176
|
this.edges = [];
|
|
239739
240177
|
}
|
|
239740
240178
|
/**
|
|
239741
|
-
*
|
|
239742
|
-
* @returns the edge (as emplaced at the back of the sortableEdge array)
|
|
240179
|
+
* Push a new edge.
|
|
239743
240180
|
* @param vertexA start vertex
|
|
239744
240181
|
* @param vertexB end vertex
|
|
239745
240182
|
* @param facetIndex facet index
|
|
240183
|
+
* @returns the edge (as emplaced at the back of the sortableEdge array)
|
|
239746
240184
|
*/
|
|
239747
240185
|
addEdge(vertexA, vertexB, facetIndex) {
|
|
239748
240186
|
const edge = new SortableEdge(vertexA, vertexB, facetIndex);
|
|
@@ -239750,9 +240188,10 @@ class IndexedEdgeMatcher {
|
|
|
239750
240188
|
return edge;
|
|
239751
240189
|
}
|
|
239752
240190
|
/**
|
|
239753
|
-
* Push edges all around a facet, returning to vertexArray[0]
|
|
240191
|
+
* Push edges all around a facet, returning to vertexArray[0].
|
|
239754
240192
|
* @param vertexArray array of vertex indices around facet
|
|
239755
|
-
* @param facetIndex
|
|
240193
|
+
* @param facetIndex facet index
|
|
240194
|
+
* @param closeLoop true to add an edge from last to first vertex.
|
|
239756
240195
|
*/
|
|
239757
240196
|
addPath(vertexArray, facetIndex, closeLoop = true) {
|
|
239758
240197
|
if (vertexArray.length === 0)
|
|
@@ -239783,16 +240222,20 @@ class IndexedEdgeMatcher {
|
|
|
239783
240222
|
}
|
|
239784
240223
|
}
|
|
239785
240224
|
/**
|
|
239786
|
-
*
|
|
240225
|
+
* Sort the edges, and look for three categories of paired edges:
|
|
239787
240226
|
* * caller must allocate all result arrays of interest.
|
|
239788
240227
|
* * Any combination of the result arrays may be `undefined`, indicating that category is to be ignored.
|
|
239789
|
-
* * Any combination of the result arrays may be aliased as the same target, in which case those to categories are
|
|
239790
|
-
*
|
|
240228
|
+
* * Any combination of the result arrays may be aliased as the same target, in which case those to categories are
|
|
240229
|
+
* merged into the target.
|
|
240230
|
+
* * For instance, to ignore manifold pairs and collect all others (singleton, null, and other) as a single array
|
|
240231
|
+
* `allOther`, create `const allOther = []` as an empty array and call
|
|
239791
240232
|
* `sortAndCollectClusters (undefined, allOther, allOther, allOther);`
|
|
239792
|
-
* @param manifoldPairs optional array to receive pairs of properly mated SortableEdgePairs, i.e. simple interior
|
|
240233
|
+
* @param manifoldPairs optional array to receive pairs of properly mated SortableEdgePairs, i.e. simple interior
|
|
240234
|
+
* edges adjacent to two facets in opposing directions.
|
|
239793
240235
|
* @param singletons optional array to receive edges that are simple boundary edges.
|
|
239794
240236
|
* @param nullEdges optional array to receive arrays of null edges (same start and end vertex)
|
|
239795
|
-
* @param allOtherClusters optional array to receive arrays in which all the edges are partners in an undirected sense
|
|
240237
|
+
* @param allOtherClusters optional array to receive arrays in which all the edges are partners in an undirected sense
|
|
240238
|
+
* but not a simple directed pair.
|
|
239796
240239
|
*/
|
|
239797
240240
|
sortAndCollectClusters(manifoldPairs, singletons, nullEdges, allOtherClusters) {
|
|
239798
240241
|
this.sort();
|
|
@@ -239809,7 +240252,8 @@ class IndexedEdgeMatcher {
|
|
|
239809
240252
|
for (let index0 = 0; index0 < n; index0 += clusterLength) {
|
|
239810
240253
|
const baseEdge = this.edges[index0];
|
|
239811
240254
|
clusterLength = 1;
|
|
239812
|
-
for (let index1 = index0 + 1; index1 < n &&
|
|
240255
|
+
for (let index1 = index0 + 1; index1 < n &&
|
|
240256
|
+
SortableEdge.areUndirectedPartners(baseEdge, this.edges[index1]); index1++) {
|
|
239813
240257
|
clusterLength++;
|
|
239814
240258
|
}
|
|
239815
240259
|
if (this.edges[index0].isNullEdge) {
|
|
@@ -240056,7 +240500,8 @@ class IndexedPolyfaceSubsetVisitor extends IndexedPolyfaceVisitor {
|
|
|
240056
240500
|
}
|
|
240057
240501
|
/**
|
|
240058
240502
|
* Advance the iterator to a particular facet in the subset of client polyface facets.
|
|
240059
|
-
* @param activeIndex the index of the facet within the subset, not to be confused with the index of the facet within
|
|
240503
|
+
* @param activeIndex the index of the facet within the subset, not to be confused with the index of the facet within
|
|
240504
|
+
* the client polyface.
|
|
240060
240505
|
* @return whether the iterator was successfully moved.
|
|
240061
240506
|
*/
|
|
240062
240507
|
moveToReadIndex(activeIndex) {
|
|
@@ -240764,7 +241209,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
240764
241209
|
/* harmony import */ var _curve_Query_StrokeCountChain__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../curve/Query/StrokeCountChain */ "../../core/geometry/lib/esm/curve/Query/StrokeCountChain.js");
|
|
240765
241210
|
/* harmony import */ var _curve_StrokeOptions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../curve/StrokeOptions */ "../../core/geometry/lib/esm/curve/StrokeOptions.js");
|
|
240766
241211
|
/* harmony import */ var _Geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Geometry */ "../../core/geometry/lib/esm/Geometry.js");
|
|
240767
|
-
/* harmony import */ var
|
|
241212
|
+
/* harmony import */ var _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../geometry3d/Angle */ "../../core/geometry/lib/esm/geometry3d/Angle.js");
|
|
240768
241213
|
/* harmony import */ var _geometry3d_BilinearPatch__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../geometry3d/BilinearPatch */ "../../core/geometry/lib/esm/geometry3d/BilinearPatch.js");
|
|
240769
241214
|
/* harmony import */ var _geometry3d_FrameBuilder__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../geometry3d/FrameBuilder */ "../../core/geometry/lib/esm/geometry3d/FrameBuilder.js");
|
|
240770
241215
|
/* harmony import */ var _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../geometry3d/GeometryHandler */ "../../core/geometry/lib/esm/geometry3d/GeometryHandler.js");
|
|
@@ -240774,7 +241219,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
240774
241219
|
/* harmony import */ var _geometry3d_Matrix3d__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../geometry3d/Matrix3d */ "../../core/geometry/lib/esm/geometry3d/Matrix3d.js");
|
|
240775
241220
|
/* harmony import */ var _geometry3d_Plane3dByOriginAndVectors__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../geometry3d/Plane3dByOriginAndVectors */ "../../core/geometry/lib/esm/geometry3d/Plane3dByOriginAndVectors.js");
|
|
240776
241221
|
/* harmony import */ var _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../geometry3d/Point2dVector2d */ "../../core/geometry/lib/esm/geometry3d/Point2dVector2d.js");
|
|
240777
|
-
/* harmony import */ var
|
|
241222
|
+
/* harmony import */ var _geometry3d_Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../geometry3d/Point3dArrayCarrier */ "../../core/geometry/lib/esm/geometry3d/Point3dArrayCarrier.js");
|
|
240778
241223
|
/* harmony import */ var _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../geometry3d/Point3dVector3d */ "../../core/geometry/lib/esm/geometry3d/Point3dVector3d.js");
|
|
240779
241224
|
/* harmony import */ var _geometry3d_PolygonOps__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../geometry3d/PolygonOps */ "../../core/geometry/lib/esm/geometry3d/PolygonOps.js");
|
|
240780
241225
|
/* harmony import */ var _geometry3d_Range__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../geometry3d/Range */ "../../core/geometry/lib/esm/geometry3d/Range.js");
|
|
@@ -240787,10 +241232,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
240787
241232
|
/* harmony import */ var _topology_Triangulation__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../topology/Triangulation */ "../../core/geometry/lib/esm/topology/Triangulation.js");
|
|
240788
241233
|
/* harmony import */ var _BoxTopology__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./BoxTopology */ "../../core/geometry/lib/esm/polyface/BoxTopology.js");
|
|
240789
241234
|
/* harmony import */ var _GreedyTriangulationBetweenLineStrings__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./GreedyTriangulationBetweenLineStrings */ "../../core/geometry/lib/esm/polyface/GreedyTriangulationBetweenLineStrings.js");
|
|
240790
|
-
/* harmony import */ var
|
|
240791
|
-
/* harmony import */ var
|
|
241235
|
+
/* harmony import */ var _IndexedEdgeMatcher__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./IndexedEdgeMatcher */ "../../core/geometry/lib/esm/polyface/IndexedEdgeMatcher.js");
|
|
241236
|
+
/* harmony import */ var _IndexedPolyfaceVisitor__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./IndexedPolyfaceVisitor */ "../../core/geometry/lib/esm/polyface/IndexedPolyfaceVisitor.js");
|
|
240792
241237
|
/* harmony import */ var _Polyface__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Polyface */ "../../core/geometry/lib/esm/polyface/Polyface.js");
|
|
240793
|
-
/* harmony import */ var
|
|
241238
|
+
/* harmony import */ var _PolyfaceQuery__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./PolyfaceQuery */ "../../core/geometry/lib/esm/polyface/PolyfaceQuery.js");
|
|
240794
241239
|
/*---------------------------------------------------------------------------------------------
|
|
240795
241240
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
240796
241241
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -242622,44 +243067,6 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
242622
243067
|
const context = _GreedyTriangulationBetweenLineStrings__WEBPACK_IMPORTED_MODULE_30__.GreedyTriangulationBetweenLineStrings.createContext();
|
|
242623
243068
|
context.emitTriangles(resolveToIndexedXYZCollectionOrCarrier(pointsA), resolveToIndexedXYZCollectionOrCarrier(pointsB), (triangle) => { this.addTriangleFacet(triangle.points); });
|
|
242624
243069
|
}
|
|
242625
|
-
/** Doc is same as `addMiteredPipes` doc. */
|
|
242626
|
-
addMiteredPipesFromPoints(centerline, sectionData, numFacetAround = 12, capped = false) {
|
|
242627
|
-
const sections = _curve_CurveFactory__WEBPACK_IMPORTED_MODULE_31__.CurveFactory.createMiteredPipeSections(centerline, sectionData);
|
|
242628
|
-
const pointA0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Point3d.create();
|
|
242629
|
-
const pointA1 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Point3d.create();
|
|
242630
|
-
const pointB0 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Point3d.create();
|
|
242631
|
-
const pointB1 = _geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_0__.Point3d.create();
|
|
242632
|
-
const wantCaps = capped && (!(sectionData instanceof _curve_Arc3d__WEBPACK_IMPORTED_MODULE_32__.Arc3d) || sectionData.sweep.isFullCircle);
|
|
242633
|
-
if (numFacetAround < 3)
|
|
242634
|
-
numFacetAround = 3;
|
|
242635
|
-
const df = 1.0 / numFacetAround;
|
|
242636
|
-
if (wantCaps) { // start cap facets
|
|
242637
|
-
const startLineString = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
|
|
242638
|
-
for (let i = 0; i < numFacetAround; i++)
|
|
242639
|
-
startLineString.addPoint(sections[0].fractionToPoint(i * df));
|
|
242640
|
-
this.addTrianglesInUncheckedConvexPolygon(startLineString, true);
|
|
242641
|
-
this.endFace();
|
|
242642
|
-
}
|
|
242643
|
-
for (let i = 1; i < sections.length; i++) { // side facets
|
|
242644
|
-
const arcA = sections[i - 1];
|
|
242645
|
-
const arcB = sections[i];
|
|
242646
|
-
arcA.fractionToPoint(0.0, pointA0);
|
|
242647
|
-
arcB.fractionToPoint(0.0, pointB0);
|
|
242648
|
-
for (let k = 1; k <= numFacetAround; k++, pointA0.setFromPoint3d(pointA1), pointB0.setFromPoint3d(pointB1)) {
|
|
242649
|
-
const f = k * df;
|
|
242650
|
-
arcA.fractionToPoint(f, pointA1);
|
|
242651
|
-
arcB.fractionToPoint(f, pointB1);
|
|
242652
|
-
this.addQuadFacet([pointA0, pointA1, pointB1, pointB0]); // ASSUME: CCW section traversal wrt rail tangent
|
|
242653
|
-
}
|
|
242654
|
-
}
|
|
242655
|
-
if (wantCaps) { // end cap facets
|
|
242656
|
-
const endLineString = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
|
|
242657
|
-
for (let i = 0; i < numFacetAround; i++)
|
|
242658
|
-
endLineString.addPoint(sections[sections.length - 1].fractionToPoint(i * df));
|
|
242659
|
-
this.addTrianglesInUncheckedConvexPolygon(endLineString, false);
|
|
242660
|
-
this.endFace();
|
|
242661
|
-
}
|
|
242662
|
-
}
|
|
242663
243070
|
/**
|
|
242664
243071
|
* Add quad facets along a mitered pipe that follows a centerline curve.
|
|
242665
243072
|
* * At the end of each pipe segment, the pipe is mitered by the plane that bisects the angle between successive
|
|
@@ -242668,8 +243075,10 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
242668
243075
|
* lengths, or an Arc3d:
|
|
242669
243076
|
* * For semi-axis length input, x and y correspond to ellipse local axes perpendicular to each other and to the
|
|
242670
243077
|
* start tangent.
|
|
242671
|
-
* * For Arc3d input, the center is translated to the centerline start point
|
|
242672
|
-
*
|
|
243078
|
+
* * For Arc3d input, the center is translated to the centerline start point. For best results, ensure this arc
|
|
243079
|
+
* is perpendicular to the centerline start tangent.
|
|
243080
|
+
* * This function internally calls [[CurveFactory.createMiteredSweepSections]], passing in the `startTangent`
|
|
243081
|
+
* option to preserve the rotation of Arc3d-type `sectionData`.
|
|
242673
243082
|
* @param centerline centerline of pipe. If curved, it will be stroked using the builder's StrokeOptions, otherwise
|
|
242674
243083
|
* for best results, ensure no successive duplicate points with e.g., [[GrowableXYZArray.createCompressed]].
|
|
242675
243084
|
* @param sectionData circle radius, ellipse semi-axis lengths, or Arc3d.
|
|
@@ -242677,16 +243086,20 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
242677
243086
|
* @param capped if `true`, add a cap at each end of the pipe; defaults to `false`.
|
|
242678
243087
|
*/
|
|
242679
243088
|
addMiteredPipes(centerline, sectionData, numFacetAround = 12, capped = false) {
|
|
242680
|
-
|
|
242681
|
-
|
|
242682
|
-
|
|
242683
|
-
|
|
242684
|
-
|
|
242685
|
-
|
|
242686
|
-
|
|
242687
|
-
|
|
242688
|
-
|
|
242689
|
-
|
|
243089
|
+
const arc = _curve_CurveFactory__WEBPACK_IMPORTED_MODULE_31__.CurveFactory.createArcFromSectionData(centerline, sectionData);
|
|
243090
|
+
if (!arc)
|
|
243091
|
+
return;
|
|
243092
|
+
if (numFacetAround < 3)
|
|
243093
|
+
numFacetAround = 3;
|
|
243094
|
+
const section = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
|
|
243095
|
+
section.appendFractionalStrokePoints(arc, numFacetAround, 0.0, 1.0, true);
|
|
243096
|
+
const strokeOptions = this._options.clone();
|
|
243097
|
+
const outputSelect = _curve_CurveFactory__WEBPACK_IMPORTED_MODULE_31__.MiteredSweepOutputSelect.AlsoMesh;
|
|
243098
|
+
const startTangent = sectionData instanceof _curve_Arc3d__WEBPACK_IMPORTED_MODULE_32__.Arc3d ? arc.binormalVector() : undefined; // preserve arc orientation
|
|
243099
|
+
const options = { strokeOptions, capped, outputSelect, startTangent };
|
|
243100
|
+
const sections = _curve_CurveFactory__WEBPACK_IMPORTED_MODULE_31__.CurveFactory.createMiteredSweepSections(centerline, section, options);
|
|
243101
|
+
if (sections && sections.mesh)
|
|
243102
|
+
this.addIndexedPolyface(sections.mesh);
|
|
242690
243103
|
}
|
|
242691
243104
|
/** Return the polyface index array indices corresponding to the given edge, or `undefined` if error. */
|
|
242692
243105
|
getEdgeIndices(edge) {
|
|
@@ -242758,10 +243171,10 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
242758
243171
|
*/
|
|
242759
243172
|
addSweptIndexedPolyface(source, sweepVector, triangulateSides = false) {
|
|
242760
243173
|
let isSimpleSweep = true;
|
|
242761
|
-
const totalProjectedArea =
|
|
243174
|
+
const totalProjectedArea = _PolyfaceQuery__WEBPACK_IMPORTED_MODULE_33__.PolyfaceQuery.sumFacetAreas(source, sweepVector);
|
|
242762
243175
|
if (_Geometry__WEBPACK_IMPORTED_MODULE_2__.Geometry.isAlmostEqualNumber(0.0, totalProjectedArea))
|
|
242763
243176
|
isSimpleSweep = false;
|
|
242764
|
-
const partitionedIndices =
|
|
243177
|
+
const partitionedIndices = _PolyfaceQuery__WEBPACK_IMPORTED_MODULE_33__.PolyfaceQuery.partitionFacetIndicesByVisibilityVector(source, sweepVector, _geometry3d_Angle__WEBPACK_IMPORTED_MODULE_34__.Angle.createDegrees(1.0e-3));
|
|
242765
243178
|
const numForwardFacets = partitionedIndices[0].length;
|
|
242766
243179
|
const numBackwardFacets = partitionedIndices[1].length;
|
|
242767
243180
|
const numSideFacets = partitionedIndices[2].length;
|
|
@@ -242778,15 +243191,15 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
242778
243191
|
// collect base edges added to the builder, and extract boundary
|
|
242779
243192
|
const numBaseFacets = firstSweptFacet - firstBaseFacet;
|
|
242780
243193
|
const baseFacetIndices = Array.from({ length: numBaseFacets }, (_, i) => firstBaseFacet + i);
|
|
242781
|
-
const baseFacetVisitor =
|
|
242782
|
-
const baseEdges =
|
|
243194
|
+
const baseFacetVisitor = _IndexedPolyfaceVisitor__WEBPACK_IMPORTED_MODULE_35__.IndexedPolyfaceSubsetVisitor.createSubsetVisitor(this._polyface, baseFacetIndices, 1);
|
|
243195
|
+
const baseEdges = _PolyfaceQuery__WEBPACK_IMPORTED_MODULE_33__.PolyfaceQuery.createIndexedEdges(baseFacetVisitor);
|
|
242783
243196
|
const baseBoundaryEdges = [];
|
|
242784
243197
|
baseEdges.sortAndCollectClusters(undefined, baseBoundaryEdges, undefined, undefined);
|
|
242785
243198
|
// add a side face per boundary edge
|
|
242786
243199
|
const oldShouldTriangulate = this._options.shouldTriangulate;
|
|
242787
243200
|
this._options.shouldTriangulate = triangulateSides;
|
|
242788
243201
|
for (const edgeOrCluster of baseBoundaryEdges) {
|
|
242789
|
-
if (edgeOrCluster instanceof
|
|
243202
|
+
if (edgeOrCluster instanceof _IndexedEdgeMatcher__WEBPACK_IMPORTED_MODULE_36__.SortableEdge)
|
|
242790
243203
|
this.addSweptFace(edgeOrCluster, numBaseFacets);
|
|
242791
243204
|
else if (Array.isArray(edgeOrCluster))
|
|
242792
243205
|
for (const edge of edgeOrCluster)
|
|
@@ -242801,7 +243214,7 @@ PolyfaceBuilder._workVectorFindOrAdd = _geometry3d_Point3dVector3d__WEBPACK_IMPO
|
|
|
242801
243214
|
PolyfaceBuilder._workUVFindOrAdd = _geometry3d_Point2dVector2d__WEBPACK_IMPORTED_MODULE_1__.Point2d.create();
|
|
242802
243215
|
function resolveToIndexedXYZCollectionOrCarrier(points) {
|
|
242803
243216
|
if (Array.isArray(points))
|
|
242804
|
-
return new
|
|
243217
|
+
return new _geometry3d_Point3dArrayCarrier__WEBPACK_IMPORTED_MODULE_37__.Point3dArrayCarrier(points);
|
|
242805
243218
|
if (points instanceof _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d)
|
|
242806
243219
|
return points.packedPoints;
|
|
242807
243220
|
return points;
|
|
@@ -263078,7 +263491,8 @@ class SweepContour {
|
|
|
263078
263491
|
this.localToWorld = map;
|
|
263079
263492
|
this.axis = axis;
|
|
263080
263493
|
}
|
|
263081
|
-
/**
|
|
263494
|
+
/**
|
|
263495
|
+
* Create for linear sweep.
|
|
263082
263496
|
* @param contour curve to sweep, CAPTURED. For best results, contour should be planar.
|
|
263083
263497
|
* @param defaultNormal optional default normal for guiding coordinate frame setup.
|
|
263084
263498
|
*/
|
|
@@ -263089,8 +263503,10 @@ class SweepContour {
|
|
|
263089
263503
|
}
|
|
263090
263504
|
return undefined;
|
|
263091
263505
|
}
|
|
263092
|
-
/**
|
|
263093
|
-
*
|
|
263506
|
+
/**
|
|
263507
|
+
* Create for linear sweep.
|
|
263508
|
+
* @param points polygon to sweep, CAPTURED as a Loop. Closure point is optional. If multiple polygons are passed in,
|
|
263509
|
+
* parity logic is employed.
|
|
263094
263510
|
* For best results, all points should be coplanar.
|
|
263095
263511
|
* @param defaultNormal optional default normal for guiding coordinate frame setup.
|
|
263096
263512
|
*/
|
|
@@ -263112,7 +263528,8 @@ class SweepContour {
|
|
|
263112
263528
|
}
|
|
263113
263529
|
return undefined;
|
|
263114
263530
|
}
|
|
263115
|
-
/**
|
|
263531
|
+
/**
|
|
263532
|
+
* Create for rotational sweep.
|
|
263116
263533
|
* @param contour curve to sweep, CAPTURED. For best results, contour should be coplanar with axis.
|
|
263117
263534
|
* @param axis rotation axis
|
|
263118
263535
|
*/
|
|
@@ -263124,7 +263541,7 @@ class SweepContour {
|
|
|
263124
263541
|
}
|
|
263125
263542
|
return undefined;
|
|
263126
263543
|
}
|
|
263127
|
-
/** Return (Reference to) the curves */
|
|
263544
|
+
/** Return (Reference to) the curves. */
|
|
263128
263545
|
getCurves() { return this.curves; }
|
|
263129
263546
|
/**
|
|
263130
263547
|
* Apply `transform` to the curves, axis.
|
|
@@ -263172,7 +263589,7 @@ class SweepContour {
|
|
|
263172
263589
|
return false;
|
|
263173
263590
|
return true;
|
|
263174
263591
|
}
|
|
263175
|
-
/** Recompute the local strokes cache for this contour */
|
|
263592
|
+
/** Recompute the local strokes cache for this contour. */
|
|
263176
263593
|
computeXYStrokes(options) {
|
|
263177
263594
|
this._xyStrokes = undefined;
|
|
263178
263595
|
const worldToLocal = this.localToWorld.inverse();
|
|
@@ -263182,14 +263599,15 @@ class SweepContour {
|
|
|
263182
263599
|
this._xyStrokes = strokes;
|
|
263183
263600
|
}
|
|
263184
263601
|
}
|
|
263185
|
-
/** Return cached contour strokes */
|
|
263602
|
+
/** Return cached contour strokes. */
|
|
263186
263603
|
get xyStrokes() {
|
|
263187
263604
|
return this._xyStrokes;
|
|
263188
263605
|
}
|
|
263189
263606
|
/**
|
|
263190
263607
|
* Build the (cached) internal facets for the contour.
|
|
263191
263608
|
* @param options primarily how to stroke the contour, but also how to facet it.
|
|
263192
|
-
* * By default, a triangulation is computed, but if `options.maximizeConvexFacets === true`, edges between coplanar
|
|
263609
|
+
* * By default, a triangulation is computed, but if `options.maximizeConvexFacets === true`, edges between coplanar
|
|
263610
|
+
* triangles are removed to return maximally convex facets.
|
|
263193
263611
|
*/
|
|
263194
263612
|
buildFacets(options) {
|
|
263195
263613
|
if (this._facets)
|
|
@@ -263212,7 +263630,8 @@ class SweepContour {
|
|
|
263212
263630
|
purgeFacets() {
|
|
263213
263631
|
this._facets = undefined;
|
|
263214
263632
|
}
|
|
263215
|
-
/**
|
|
263633
|
+
/**
|
|
263634
|
+
* Emit facets to a builder.
|
|
263216
263635
|
* This method may cache and reuse facets over multiple calls.
|
|
263217
263636
|
*/
|
|
263218
263637
|
emitFacets(builder, reverse, transform) {
|
|
@@ -263220,10 +263639,11 @@ class SweepContour {
|
|
|
263220
263639
|
if (this._facets)
|
|
263221
263640
|
builder.addIndexedPolyface(this._facets, reverse, transform);
|
|
263222
263641
|
}
|
|
263223
|
-
/**
|
|
263642
|
+
/**
|
|
263643
|
+
* Emit facets to a function.
|
|
263224
263644
|
* This method may cache and reuse facets over multiple calls.
|
|
263225
|
-
* @param announce callback to receive the facet set
|
|
263226
|
-
* @param options how to stroke the contour
|
|
263645
|
+
* @param announce callback to receive the facet set.
|
|
263646
|
+
* @param options how to stroke the contour.
|
|
263227
263647
|
*/
|
|
263228
263648
|
announceFacets(announce, options) {
|
|
263229
263649
|
this.buildFacets(options);
|
|
@@ -263233,8 +263653,10 @@ class SweepContour {
|
|
|
263233
263653
|
/**
|
|
263234
263654
|
* Create a UnionOfConvexClipPlaneSets that clips to the swept faceted contour region.
|
|
263235
263655
|
* @param sweepVector the sweep direction and distance:
|
|
263236
|
-
* * If undefined, the sweep direction is along the contour normal and no caps are constructed (the sweep is infinite
|
|
263237
|
-
*
|
|
263656
|
+
* * If undefined, the sweep direction is along the contour normal and no caps are constructed (the sweep is infinite
|
|
263657
|
+
* in both directions).
|
|
263658
|
+
* * If defined, the returned clipper is inverted if and only if sweepVector is in the opposite half-space as the
|
|
263659
|
+
* computed contour normal.
|
|
263238
263660
|
* @param cap0 construct a clip plane equal to the contour plane. Note that `sweepVector` must be defined.
|
|
263239
263661
|
* @param cap1 construct a clip plane parallel to the contour plane at the end of `sweepVector`.
|
|
263240
263662
|
* @param options how to stroke the contour
|
|
@@ -263248,7 +263670,7 @@ class SweepContour {
|
|
|
263248
263670
|
sweepVector = this.localToWorld.matrix.columnZ();
|
|
263249
263671
|
}
|
|
263250
263672
|
options.maximizeConvexFacets = true; // produce fewer ConvexClipPlaneSets
|
|
263251
|
-
//
|
|
263673
|
+
// it's a trip around the barn, but it's easy to make a polyface and scan it
|
|
263252
263674
|
this.buildFacets(options);
|
|
263253
263675
|
const facets = this._facets;
|
|
263254
263676
|
if (facets) {
|
|
@@ -291098,7 +291520,7 @@ exports.TestContext = void 0;
|
|
|
291098
291520
|
const chai_1 = __webpack_require__(/*! chai */ "../../common/temp/node_modules/.pnpm/chai@4.3.10/node_modules/chai/index.js");
|
|
291099
291521
|
const core_bentley_1 = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
291100
291522
|
const core_frontend_1 = __webpack_require__(/*! @itwin/core-frontend */ "../../core/frontend/lib/esm/core-frontend.js");
|
|
291101
|
-
const frontend_1 = __webpack_require__(/*! @itwin/oidc-signin-tool/lib/cjs/frontend */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.
|
|
291523
|
+
const frontend_1 = __webpack_require__(/*! @itwin/oidc-signin-tool/lib/cjs/frontend */ "../../common/temp/node_modules/.pnpm/@itwin+oidc-signin-tool@4.4.0_67wltvhdskk2oee2c3z2o4tfly/node_modules/@itwin/oidc-signin-tool/lib/cjs/frontend.js");
|
|
291102
291524
|
const Settings_1 = __webpack_require__(/*! ../../common/Settings */ "./lib/common/Settings.js");
|
|
291103
291525
|
const SideChannels_1 = __webpack_require__(/*! ../../common/SideChannels */ "./lib/common/SideChannels.js");
|
|
291104
291526
|
const IModelSession_1 = __webpack_require__(/*! ./IModelSession */ "./lib/frontend/setup/IModelSession.js");
|
|
@@ -296620,9 +297042,9 @@ const gBase64 = {
|
|
|
296620
297042
|
|
|
296621
297043
|
/***/ }),
|
|
296622
297044
|
|
|
296623
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297045
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
|
|
296624
297046
|
/*!******************************************************************************************************************************!*\
|
|
296625
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297047
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
|
|
296626
297048
|
\******************************************************************************************************************************/
|
|
296627
297049
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296628
297050
|
|
|
@@ -296640,9 +297062,9 @@ function _arrayLikeToArray(r, a) {
|
|
|
296640
297062
|
|
|
296641
297063
|
/***/ }),
|
|
296642
297064
|
|
|
296643
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297065
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
|
|
296644
297066
|
/*!****************************************************************************************************************************!*\
|
|
296645
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297067
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
|
|
296646
297068
|
\****************************************************************************************************************************/
|
|
296647
297069
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296648
297070
|
|
|
@@ -296658,9 +297080,9 @@ function _arrayWithHoles(r) {
|
|
|
296658
297080
|
|
|
296659
297081
|
/***/ }),
|
|
296660
297082
|
|
|
296661
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297083
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
|
|
296662
297084
|
/*!***********************************************************************************************************************************!*\
|
|
296663
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297085
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
|
|
296664
297086
|
\***********************************************************************************************************************************/
|
|
296665
297087
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296666
297088
|
|
|
@@ -296677,9 +297099,9 @@ function _assertThisInitialized(e) {
|
|
|
296677
297099
|
|
|
296678
297100
|
/***/ }),
|
|
296679
297101
|
|
|
296680
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297102
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
296681
297103
|
/*!****************************************************************************************************************************!*\
|
|
296682
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297104
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
296683
297105
|
\****************************************************************************************************************************/
|
|
296684
297106
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296685
297107
|
|
|
@@ -296695,9 +297117,9 @@ function _classCallCheck(a, n) {
|
|
|
296695
297117
|
|
|
296696
297118
|
/***/ }),
|
|
296697
297119
|
|
|
296698
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297120
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
296699
297121
|
/*!*************************************************************************************************************************!*\
|
|
296700
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297122
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
296701
297123
|
\*************************************************************************************************************************/
|
|
296702
297124
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296703
297125
|
|
|
@@ -296706,7 +297128,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296706
297128
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296707
297129
|
/* harmony export */ "default": () => (/* binding */ _createClass)
|
|
296708
297130
|
/* harmony export */ });
|
|
296709
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297131
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
|
|
296710
297132
|
|
|
296711
297133
|
function _defineProperties(e, r) {
|
|
296712
297134
|
for (var t = 0; t < r.length; t++) {
|
|
@@ -296723,9 +297145,9 @@ function _createClass(e, r, t) {
|
|
|
296723
297145
|
|
|
296724
297146
|
/***/ }),
|
|
296725
297147
|
|
|
296726
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297148
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
|
|
296727
297149
|
/*!****************************************************************************************************************************!*\
|
|
296728
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297150
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
|
296729
297151
|
\****************************************************************************************************************************/
|
|
296730
297152
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296731
297153
|
|
|
@@ -296734,7 +297156,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296734
297156
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296735
297157
|
/* harmony export */ "default": () => (/* binding */ _defineProperty)
|
|
296736
297158
|
/* harmony export */ });
|
|
296737
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297159
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
|
|
296738
297160
|
|
|
296739
297161
|
function _defineProperty(e, r, t) {
|
|
296740
297162
|
return (r = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(r)) in e ? Object.defineProperty(e, r, {
|
|
@@ -296748,9 +297170,9 @@ function _defineProperty(e, r, t) {
|
|
|
296748
297170
|
|
|
296749
297171
|
/***/ }),
|
|
296750
297172
|
|
|
296751
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297173
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
|
|
296752
297174
|
/*!****************************************************************************************************************************!*\
|
|
296753
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297175
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
|
|
296754
297176
|
\****************************************************************************************************************************/
|
|
296755
297177
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296756
297178
|
|
|
@@ -296768,9 +297190,9 @@ function _getPrototypeOf(t) {
|
|
|
296768
297190
|
|
|
296769
297191
|
/***/ }),
|
|
296770
297192
|
|
|
296771
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297193
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/inherits.js":
|
|
296772
297194
|
/*!**********************************************************************************************************************!*\
|
|
296773
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297195
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
|
|
296774
297196
|
\**********************************************************************************************************************/
|
|
296775
297197
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296776
297198
|
|
|
@@ -296779,7 +297201,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296779
297201
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296780
297202
|
/* harmony export */ "default": () => (/* binding */ _inherits)
|
|
296781
297203
|
/* harmony export */ });
|
|
296782
|
-
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297204
|
+
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
|
|
296783
297205
|
|
|
296784
297206
|
function _inherits(t, e) {
|
|
296785
297207
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -296797,9 +297219,9 @@ function _inherits(t, e) {
|
|
|
296797
297219
|
|
|
296798
297220
|
/***/ }),
|
|
296799
297221
|
|
|
296800
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297222
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
|
|
296801
297223
|
/*!*****************************************************************************************************************************!*\
|
|
296802
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297224
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
|
|
296803
297225
|
\*****************************************************************************************************************************/
|
|
296804
297226
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296805
297227
|
|
|
@@ -296815,9 +297237,9 @@ function _iterableToArray(r) {
|
|
|
296815
297237
|
|
|
296816
297238
|
/***/ }),
|
|
296817
297239
|
|
|
296818
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297240
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
|
|
296819
297241
|
/*!*****************************************************************************************************************************!*\
|
|
296820
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297242
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
|
|
296821
297243
|
\*****************************************************************************************************************************/
|
|
296822
297244
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296823
297245
|
|
|
@@ -296833,9 +297255,9 @@ function _nonIterableRest() {
|
|
|
296833
297255
|
|
|
296834
297256
|
/***/ }),
|
|
296835
297257
|
|
|
296836
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297258
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
|
|
296837
297259
|
/*!***************************************************************************************************************************************!*\
|
|
296838
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297260
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
|
|
296839
297261
|
\***************************************************************************************************************************************/
|
|
296840
297262
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296841
297263
|
|
|
@@ -296844,8 +297266,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296844
297266
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296845
297267
|
/* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
|
|
296846
297268
|
/* harmony export */ });
|
|
296847
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296848
|
-
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297269
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
297270
|
+
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
296849
297271
|
|
|
296850
297272
|
|
|
296851
297273
|
function _possibleConstructorReturn(t, e) {
|
|
@@ -296857,9 +297279,9 @@ function _possibleConstructorReturn(t, e) {
|
|
|
296857
297279
|
|
|
296858
297280
|
/***/ }),
|
|
296859
297281
|
|
|
296860
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297282
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
|
|
296861
297283
|
/*!****************************************************************************************************************************!*\
|
|
296862
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297284
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
|
296863
297285
|
\****************************************************************************************************************************/
|
|
296864
297286
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296865
297287
|
|
|
@@ -296877,9 +297299,9 @@ function _setPrototypeOf(t, e) {
|
|
|
296877
297299
|
|
|
296878
297300
|
/***/ }),
|
|
296879
297301
|
|
|
296880
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297302
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toArray.js":
|
|
296881
297303
|
/*!*********************************************************************************************************************!*\
|
|
296882
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297304
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
|
|
296883
297305
|
\*********************************************************************************************************************/
|
|
296884
297306
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296885
297307
|
|
|
@@ -296888,10 +297310,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296888
297310
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296889
297311
|
/* harmony export */ "default": () => (/* binding */ _toArray)
|
|
296890
297312
|
/* harmony export */ });
|
|
296891
|
-
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296892
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296893
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296894
|
-
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297313
|
+
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
|
|
297314
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
|
|
297315
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
|
|
297316
|
+
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
|
|
296895
297317
|
|
|
296896
297318
|
|
|
296897
297319
|
|
|
@@ -296903,9 +297325,9 @@ function _toArray(r) {
|
|
|
296903
297325
|
|
|
296904
297326
|
/***/ }),
|
|
296905
297327
|
|
|
296906
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297328
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
|
|
296907
297329
|
/*!*************************************************************************************************************************!*\
|
|
296908
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297330
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
|
|
296909
297331
|
\*************************************************************************************************************************/
|
|
296910
297332
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296911
297333
|
|
|
@@ -296914,7 +297336,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296914
297336
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296915
297337
|
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
|
296916
297338
|
/* harmony export */ });
|
|
296917
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297339
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
296918
297340
|
|
|
296919
297341
|
function toPrimitive(t, r) {
|
|
296920
297342
|
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
|
@@ -296930,9 +297352,9 @@ function toPrimitive(t, r) {
|
|
|
296930
297352
|
|
|
296931
297353
|
/***/ }),
|
|
296932
297354
|
|
|
296933
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297355
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
|
|
296934
297356
|
/*!***************************************************************************************************************************!*\
|
|
296935
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297357
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
|
|
296936
297358
|
\***************************************************************************************************************************/
|
|
296937
297359
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296938
297360
|
|
|
@@ -296941,8 +297363,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296941
297363
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296942
297364
|
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
|
296943
297365
|
/* harmony export */ });
|
|
296944
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
296945
|
-
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297366
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
297367
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
|
|
296946
297368
|
|
|
296947
297369
|
|
|
296948
297370
|
function toPropertyKey(t) {
|
|
@@ -296953,9 +297375,9 @@ function toPropertyKey(t) {
|
|
|
296953
297375
|
|
|
296954
297376
|
/***/ }),
|
|
296955
297377
|
|
|
296956
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297378
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
296957
297379
|
/*!********************************************************************************************************************!*\
|
|
296958
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297380
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
296959
297381
|
\********************************************************************************************************************/
|
|
296960
297382
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296961
297383
|
|
|
@@ -296977,9 +297399,9 @@ function _typeof(o) {
|
|
|
296977
297399
|
|
|
296978
297400
|
/***/ }),
|
|
296979
297401
|
|
|
296980
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297402
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
|
|
296981
297403
|
/*!****************************************************************************************************************************************!*\
|
|
296982
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297404
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
|
|
296983
297405
|
\****************************************************************************************************************************************/
|
|
296984
297406
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
296985
297407
|
|
|
@@ -296988,7 +297410,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
296988
297410
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
296989
297411
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
|
296990
297412
|
/* harmony export */ });
|
|
296991
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
297413
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
|
|
296992
297414
|
|
|
296993
297415
|
function _unsupportedIterableToArray(r, a) {
|
|
296994
297416
|
if (r) {
|
|
@@ -297001,9 +297423,9 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
297001
297423
|
|
|
297002
297424
|
/***/ }),
|
|
297003
297425
|
|
|
297004
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297426
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/index.js":
|
|
297005
297427
|
/*!************************************************************************************!*\
|
|
297006
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297428
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/index.js ***!
|
|
297007
297429
|
\************************************************************************************/
|
|
297008
297430
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
297009
297431
|
|
|
@@ -297028,7 +297450,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
297028
297450
|
/* harmony export */ spread: () => (/* binding */ spread),
|
|
297029
297451
|
/* harmony export */ toFormData: () => (/* binding */ toFormData)
|
|
297030
297452
|
/* harmony export */ });
|
|
297031
|
-
/* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297453
|
+
/* harmony import */ var _lib_axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js");
|
|
297032
297454
|
|
|
297033
297455
|
|
|
297034
297456
|
// This module is intended to unwrap Axios default export as named.
|
|
@@ -297058,9 +297480,9 @@ const {
|
|
|
297058
297480
|
|
|
297059
297481
|
/***/ }),
|
|
297060
297482
|
|
|
297061
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297483
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js":
|
|
297062
297484
|
/*!****************************************************************************************************!*\
|
|
297063
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297485
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js ***!
|
|
297064
297486
|
\****************************************************************************************************/
|
|
297065
297487
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
297066
297488
|
|
|
@@ -297069,11 +297491,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
297069
297491
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
297070
297492
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
297071
297493
|
/* harmony export */ });
|
|
297072
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297073
|
-
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297074
|
-
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297075
|
-
/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297076
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297494
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
297495
|
+
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./http.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js");
|
|
297496
|
+
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./xhr.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/xhr.js");
|
|
297497
|
+
/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fetch.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/fetch.js");
|
|
297498
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
|
|
297077
297499
|
|
|
297078
297500
|
|
|
297079
297501
|
|
|
@@ -297157,9 +297579,9 @@ const isResolvedHandle = (adapter) => _utils_js__WEBPACK_IMPORTED_MODULE_3__["de
|
|
|
297157
297579
|
|
|
297158
297580
|
/***/ }),
|
|
297159
297581
|
|
|
297160
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297582
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/fetch.js":
|
|
297161
297583
|
/*!*************************************************************************************************!*\
|
|
297162
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297584
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/fetch.js ***!
|
|
297163
297585
|
\*************************************************************************************************/
|
|
297164
297586
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
297165
297587
|
|
|
@@ -297168,15 +297590,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
297168
297590
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
297169
297591
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
297170
297592
|
/* harmony export */ });
|
|
297171
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297172
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297173
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297174
|
-
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297175
|
-
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297176
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297177
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297178
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297179
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297593
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
|
|
297594
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
297595
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
|
|
297596
|
+
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/composeSignals.js");
|
|
297597
|
+
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/trackStream.js");
|
|
297598
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
297599
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
297600
|
+
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js");
|
|
297601
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js");
|
|
297180
297602
|
|
|
297181
297603
|
|
|
297182
297604
|
|
|
@@ -297248,11 +297670,7 @@ const getBodyLength = async (body) => {
|
|
|
297248
297670
|
}
|
|
297249
297671
|
|
|
297250
297672
|
if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isSpecCompliantForm(body)) {
|
|
297251
|
-
|
|
297252
|
-
method: 'POST',
|
|
297253
|
-
body,
|
|
297254
|
-
});
|
|
297255
|
-
return (await _request.arrayBuffer()).byteLength;
|
|
297673
|
+
return (await new Request(body).arrayBuffer()).byteLength;
|
|
297256
297674
|
}
|
|
297257
297675
|
|
|
297258
297676
|
if(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isArrayBufferView(body) || _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isArrayBuffer(body)) {
|
|
@@ -297292,13 +297710,18 @@ const resolveBodyLength = async (headers, body) => {
|
|
|
297292
297710
|
|
|
297293
297711
|
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
297294
297712
|
|
|
297295
|
-
let composedSignal = (
|
|
297713
|
+
let [composedSignal, stopTimeout] = (signal || cancelToken || timeout) ?
|
|
297714
|
+
(0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_4__["default"])([signal, cancelToken], timeout) : [];
|
|
297296
297715
|
|
|
297297
|
-
let request;
|
|
297716
|
+
let finished, request;
|
|
297298
297717
|
|
|
297299
|
-
const
|
|
297300
|
-
|
|
297301
|
-
|
|
297718
|
+
const onFinish = () => {
|
|
297719
|
+
!finished && setTimeout(() => {
|
|
297720
|
+
composedSignal && composedSignal.unsubscribe();
|
|
297721
|
+
});
|
|
297722
|
+
|
|
297723
|
+
finished = true;
|
|
297724
|
+
}
|
|
297302
297725
|
|
|
297303
297726
|
let requestContentLength;
|
|
297304
297727
|
|
|
@@ -297325,7 +297748,7 @@ const resolveBodyLength = async (headers, body) => {
|
|
|
297325
297748
|
(0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_5__.asyncDecorator)(onUploadProgress))
|
|
297326
297749
|
);
|
|
297327
297750
|
|
|
297328
|
-
data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
297751
|
+
data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush, encodeText);
|
|
297329
297752
|
}
|
|
297330
297753
|
}
|
|
297331
297754
|
|
|
@@ -297333,9 +297756,6 @@ const resolveBodyLength = async (headers, body) => {
|
|
|
297333
297756
|
withCredentials = withCredentials ? 'include' : 'omit';
|
|
297334
297757
|
}
|
|
297335
297758
|
|
|
297336
|
-
// Cloudflare Workers throws when credentials are defined
|
|
297337
|
-
// see https://github.com/cloudflare/workerd/issues/902
|
|
297338
|
-
const isCredentialsSupported = "credentials" in Request.prototype;
|
|
297339
297759
|
request = new Request(url, {
|
|
297340
297760
|
...fetchOptions,
|
|
297341
297761
|
signal: composedSignal,
|
|
@@ -297343,14 +297763,14 @@ const resolveBodyLength = async (headers, body) => {
|
|
|
297343
297763
|
headers: headers.normalize().toJSON(),
|
|
297344
297764
|
body: data,
|
|
297345
297765
|
duplex: "half",
|
|
297346
|
-
credentials:
|
|
297766
|
+
credentials: withCredentials
|
|
297347
297767
|
});
|
|
297348
297768
|
|
|
297349
297769
|
let response = await fetch(request);
|
|
297350
297770
|
|
|
297351
297771
|
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
297352
297772
|
|
|
297353
|
-
if (supportsResponseStream && (onDownloadProgress ||
|
|
297773
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
|
297354
297774
|
const options = {};
|
|
297355
297775
|
|
|
297356
297776
|
['status', 'statusText', 'headers'].forEach(prop => {
|
|
@@ -297367,8 +297787,8 @@ const resolveBodyLength = async (headers, body) => {
|
|
|
297367
297787
|
response = new Response(
|
|
297368
297788
|
(0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_6__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
297369
297789
|
flush && flush();
|
|
297370
|
-
|
|
297371
|
-
}),
|
|
297790
|
+
isStreamResponse && onFinish();
|
|
297791
|
+
}, encodeText),
|
|
297372
297792
|
options
|
|
297373
297793
|
);
|
|
297374
297794
|
}
|
|
@@ -297377,7 +297797,9 @@ const resolveBodyLength = async (headers, body) => {
|
|
|
297377
297797
|
|
|
297378
297798
|
let responseData = await resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].findKey(resolvers, responseType) || 'text'](response, config);
|
|
297379
297799
|
|
|
297380
|
-
!isStreamResponse &&
|
|
297800
|
+
!isStreamResponse && onFinish();
|
|
297801
|
+
|
|
297802
|
+
stopTimeout && stopTimeout();
|
|
297381
297803
|
|
|
297382
297804
|
return await new Promise((resolve, reject) => {
|
|
297383
297805
|
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_7__["default"])(resolve, reject, {
|
|
@@ -297390,7 +297812,7 @@ const resolveBodyLength = async (headers, body) => {
|
|
|
297390
297812
|
})
|
|
297391
297813
|
})
|
|
297392
297814
|
} catch (err) {
|
|
297393
|
-
|
|
297815
|
+
onFinish();
|
|
297394
297816
|
|
|
297395
297817
|
if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
|
|
297396
297818
|
throw Object.assign(
|
|
@@ -297410,9 +297832,9 @@ const resolveBodyLength = async (headers, body) => {
|
|
|
297410
297832
|
|
|
297411
297833
|
/***/ }),
|
|
297412
297834
|
|
|
297413
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297835
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/xhr.js":
|
|
297414
297836
|
/*!***********************************************************************************************!*\
|
|
297415
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297837
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/xhr.js ***!
|
|
297416
297838
|
\***********************************************************************************************/
|
|
297417
297839
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
297418
297840
|
|
|
@@ -297421,16 +297843,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
297421
297843
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
297422
297844
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
297423
297845
|
/* harmony export */ });
|
|
297424
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297425
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297426
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297427
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297428
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297429
|
-
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297430
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297431
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297432
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297433
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297846
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
297847
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../core/settle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js");
|
|
297848
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js");
|
|
297849
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
|
|
297850
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
|
|
297851
|
+
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseProtocol.js");
|
|
297852
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
|
|
297853
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
297854
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
297855
|
+
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js");
|
|
297434
297856
|
|
|
297435
297857
|
|
|
297436
297858
|
|
|
@@ -297632,9 +298054,9 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
297632
298054
|
|
|
297633
298055
|
/***/ }),
|
|
297634
298056
|
|
|
297635
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298057
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js":
|
|
297636
298058
|
/*!****************************************************************************************!*\
|
|
297637
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298059
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/axios.js ***!
|
|
297638
298060
|
\****************************************************************************************/
|
|
297639
298061
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
297640
298062
|
|
|
@@ -297643,23 +298065,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
297643
298065
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
297644
298066
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
297645
298067
|
/* harmony export */ });
|
|
297646
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297647
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297648
|
-
/* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297649
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297650
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297651
|
-
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297652
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297653
|
-
/* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297654
|
-
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297655
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297656
|
-
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297657
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297658
|
-
/* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297659
|
-
/* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297660
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297661
|
-
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297662
|
-
/* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298068
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
298069
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js");
|
|
298070
|
+
/* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core/Axios.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/Axios.js");
|
|
298071
|
+
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js");
|
|
298072
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js");
|
|
298073
|
+
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js");
|
|
298074
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
|
|
298075
|
+
/* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CancelToken.js");
|
|
298076
|
+
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js");
|
|
298077
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js");
|
|
298078
|
+
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js");
|
|
298079
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
|
|
298080
|
+
/* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./helpers/spread.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/spread.js");
|
|
298081
|
+
/* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAxiosError.js");
|
|
298082
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
298083
|
+
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js");
|
|
298084
|
+
/* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/HttpStatusCode.js");
|
|
297663
298085
|
|
|
297664
298086
|
|
|
297665
298087
|
|
|
@@ -297753,9 +298175,9 @@ axios.default = axios;
|
|
|
297753
298175
|
|
|
297754
298176
|
/***/ }),
|
|
297755
298177
|
|
|
297756
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298178
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CancelToken.js":
|
|
297757
298179
|
/*!*****************************************************************************************************!*\
|
|
297758
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298180
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CancelToken.js ***!
|
|
297759
298181
|
\*****************************************************************************************************/
|
|
297760
298182
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
297761
298183
|
|
|
@@ -297764,7 +298186,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
297764
298186
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
297765
298187
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
297766
298188
|
/* harmony export */ });
|
|
297767
|
-
/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298189
|
+
/* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
|
|
297768
298190
|
|
|
297769
298191
|
|
|
297770
298192
|
|
|
@@ -297869,20 +298291,6 @@ class CancelToken {
|
|
|
297869
298291
|
}
|
|
297870
298292
|
}
|
|
297871
298293
|
|
|
297872
|
-
toAbortSignal() {
|
|
297873
|
-
const controller = new AbortController();
|
|
297874
|
-
|
|
297875
|
-
const abort = (err) => {
|
|
297876
|
-
controller.abort(err);
|
|
297877
|
-
};
|
|
297878
|
-
|
|
297879
|
-
this.subscribe(abort);
|
|
297880
|
-
|
|
297881
|
-
controller.signal.unsubscribe = () => this.unsubscribe(abort);
|
|
297882
|
-
|
|
297883
|
-
return controller.signal;
|
|
297884
|
-
}
|
|
297885
|
-
|
|
297886
298294
|
/**
|
|
297887
298295
|
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
|
297888
298296
|
* cancels the `CancelToken`.
|
|
@@ -297904,9 +298312,9 @@ class CancelToken {
|
|
|
297904
298312
|
|
|
297905
298313
|
/***/ }),
|
|
297906
298314
|
|
|
297907
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298315
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js":
|
|
297908
298316
|
/*!*******************************************************************************************************!*\
|
|
297909
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298317
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js ***!
|
|
297910
298318
|
\*******************************************************************************************************/
|
|
297911
298319
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
297912
298320
|
|
|
@@ -297915,8 +298323,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
297915
298323
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
297916
298324
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
297917
298325
|
/* harmony export */ });
|
|
297918
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297919
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298326
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
|
|
298327
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
297920
298328
|
|
|
297921
298329
|
|
|
297922
298330
|
|
|
@@ -297946,9 +298354,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].inherits(CanceledError, _core_
|
|
|
297946
298354
|
|
|
297947
298355
|
/***/ }),
|
|
297948
298356
|
|
|
297949
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298357
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js":
|
|
297950
298358
|
/*!**************************************************************************************************!*\
|
|
297951
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298359
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js ***!
|
|
297952
298360
|
\**************************************************************************************************/
|
|
297953
298361
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
297954
298362
|
|
|
@@ -297966,9 +298374,9 @@ function isCancel(value) {
|
|
|
297966
298374
|
|
|
297967
298375
|
/***/ }),
|
|
297968
298376
|
|
|
297969
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298377
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/Axios.js":
|
|
297970
298378
|
/*!*********************************************************************************************!*\
|
|
297971
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298379
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/Axios.js ***!
|
|
297972
298380
|
\*********************************************************************************************/
|
|
297973
298381
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
297974
298382
|
|
|
@@ -297977,14 +298385,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
297977
298385
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
297978
298386
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
297979
298387
|
/* harmony export */ });
|
|
297980
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297981
|
-
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297982
|
-
/* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297983
|
-
/* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297984
|
-
/* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297985
|
-
/* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297986
|
-
/* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
297987
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298388
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
298389
|
+
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js");
|
|
298390
|
+
/* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./InterceptorManager.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/InterceptorManager.js");
|
|
298391
|
+
/* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./dispatchRequest.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/dispatchRequest.js");
|
|
298392
|
+
/* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js");
|
|
298393
|
+
/* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js");
|
|
298394
|
+
/* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/validator.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/validator.js");
|
|
298395
|
+
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
297988
298396
|
|
|
297989
298397
|
|
|
297990
298398
|
|
|
@@ -298217,9 +298625,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_3__["default"].forEach(['post', 'put', 'patch
|
|
|
298217
298625
|
|
|
298218
298626
|
/***/ }),
|
|
298219
298627
|
|
|
298220
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298628
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js":
|
|
298221
298629
|
/*!**************************************************************************************************!*\
|
|
298222
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298630
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js ***!
|
|
298223
298631
|
\**************************************************************************************************/
|
|
298224
298632
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
298225
298633
|
|
|
@@ -298228,7 +298636,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
298228
298636
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
298229
298637
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
298230
298638
|
/* harmony export */ });
|
|
298231
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298639
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
298232
298640
|
|
|
298233
298641
|
|
|
298234
298642
|
|
|
@@ -298258,10 +298666,7 @@ function AxiosError(message, code, config, request, response) {
|
|
|
298258
298666
|
code && (this.code = code);
|
|
298259
298667
|
config && (this.config = config);
|
|
298260
298668
|
request && (this.request = request);
|
|
298261
|
-
|
|
298262
|
-
this.response = response;
|
|
298263
|
-
this.status = response.status ? response.status : null;
|
|
298264
|
-
}
|
|
298669
|
+
response && (this.response = response);
|
|
298265
298670
|
}
|
|
298266
298671
|
|
|
298267
298672
|
_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].inherits(AxiosError, Error, {
|
|
@@ -298281,7 +298686,7 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].inherits(AxiosError, Error, {
|
|
|
298281
298686
|
// Axios
|
|
298282
298687
|
config: _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(this.config),
|
|
298283
298688
|
code: this.code,
|
|
298284
|
-
status: this.status
|
|
298689
|
+
status: this.response && this.response.status ? this.response.status : null
|
|
298285
298690
|
};
|
|
298286
298691
|
}
|
|
298287
298692
|
});
|
|
@@ -298336,9 +298741,9 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
298336
298741
|
|
|
298337
298742
|
/***/ }),
|
|
298338
298743
|
|
|
298339
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298744
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js":
|
|
298340
298745
|
/*!****************************************************************************************************!*\
|
|
298341
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298746
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js ***!
|
|
298342
298747
|
\****************************************************************************************************/
|
|
298343
298748
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
298344
298749
|
|
|
@@ -298347,8 +298752,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
298347
298752
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
298348
298753
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
298349
298754
|
/* harmony export */ });
|
|
298350
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298351
|
-
/* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298755
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
298756
|
+
/* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseHeaders.js");
|
|
298352
298757
|
|
|
298353
298758
|
|
|
298354
298759
|
|
|
@@ -298655,9 +299060,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
|
|
|
298655
299060
|
|
|
298656
299061
|
/***/ }),
|
|
298657
299062
|
|
|
298658
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299063
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/InterceptorManager.js":
|
|
298659
299064
|
/*!**********************************************************************************************************!*\
|
|
298660
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299065
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/InterceptorManager.js ***!
|
|
298661
299066
|
\**********************************************************************************************************/
|
|
298662
299067
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
298663
299068
|
|
|
@@ -298666,7 +299071,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
298666
299071
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
298667
299072
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
298668
299073
|
/* harmony export */ });
|
|
298669
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299074
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
298670
299075
|
|
|
298671
299076
|
|
|
298672
299077
|
|
|
@@ -298742,9 +299147,9 @@ class InterceptorManager {
|
|
|
298742
299147
|
|
|
298743
299148
|
/***/ }),
|
|
298744
299149
|
|
|
298745
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299150
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js":
|
|
298746
299151
|
/*!*****************************************************************************************************!*\
|
|
298747
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299152
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js ***!
|
|
298748
299153
|
\*****************************************************************************************************/
|
|
298749
299154
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
298750
299155
|
|
|
@@ -298753,8 +299158,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
298753
299158
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
298754
299159
|
/* harmony export */ "default": () => (/* binding */ buildFullPath)
|
|
298755
299160
|
/* harmony export */ });
|
|
298756
|
-
/* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298757
|
-
/* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299161
|
+
/* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAbsoluteURL.js");
|
|
299162
|
+
/* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/combineURLs.js");
|
|
298758
299163
|
|
|
298759
299164
|
|
|
298760
299165
|
|
|
@@ -298780,9 +299185,9 @@ function buildFullPath(baseURL, requestedURL) {
|
|
|
298780
299185
|
|
|
298781
299186
|
/***/ }),
|
|
298782
299187
|
|
|
298783
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299188
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/dispatchRequest.js":
|
|
298784
299189
|
/*!*******************************************************************************************************!*\
|
|
298785
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299190
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/dispatchRequest.js ***!
|
|
298786
299191
|
\*******************************************************************************************************/
|
|
298787
299192
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
298788
299193
|
|
|
@@ -298791,12 +299196,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
298791
299196
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
298792
299197
|
/* harmony export */ "default": () => (/* binding */ dispatchRequest)
|
|
298793
299198
|
/* harmony export */ });
|
|
298794
|
-
/* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298795
|
-
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298796
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298797
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298798
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298799
|
-
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299199
|
+
/* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transformData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/transformData.js");
|
|
299200
|
+
/* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../cancel/isCancel.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/isCancel.js");
|
|
299201
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js");
|
|
299202
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
|
|
299203
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
299204
|
+
/* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adapters/adapters.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/adapters/adapters.js");
|
|
298800
299205
|
|
|
298801
299206
|
|
|
298802
299207
|
|
|
@@ -298882,9 +299287,9 @@ function dispatchRequest(config) {
|
|
|
298882
299287
|
|
|
298883
299288
|
/***/ }),
|
|
298884
299289
|
|
|
298885
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299290
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js":
|
|
298886
299291
|
/*!***************************************************************************************************!*\
|
|
298887
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299292
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js ***!
|
|
298888
299293
|
\***************************************************************************************************/
|
|
298889
299294
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
298890
299295
|
|
|
@@ -298893,8 +299298,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
298893
299298
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
298894
299299
|
/* harmony export */ "default": () => (/* binding */ mergeConfig)
|
|
298895
299300
|
/* harmony export */ });
|
|
298896
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
298897
|
-
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299301
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
299302
|
+
/* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
298898
299303
|
|
|
298899
299304
|
|
|
298900
299305
|
|
|
@@ -299005,9 +299410,9 @@ function mergeConfig(config1, config2) {
|
|
|
299005
299410
|
|
|
299006
299411
|
/***/ }),
|
|
299007
299412
|
|
|
299008
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299413
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js":
|
|
299009
299414
|
/*!**********************************************************************************************!*\
|
|
299010
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299415
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/settle.js ***!
|
|
299011
299416
|
\**********************************************************************************************/
|
|
299012
299417
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299013
299418
|
|
|
@@ -299016,7 +299421,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299016
299421
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299017
299422
|
/* harmony export */ "default": () => (/* binding */ settle)
|
|
299018
299423
|
/* harmony export */ });
|
|
299019
|
-
/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299424
|
+
/* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
|
|
299020
299425
|
|
|
299021
299426
|
|
|
299022
299427
|
|
|
@@ -299048,9 +299453,9 @@ function settle(resolve, reject, response) {
|
|
|
299048
299453
|
|
|
299049
299454
|
/***/ }),
|
|
299050
299455
|
|
|
299051
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299456
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/transformData.js":
|
|
299052
299457
|
/*!*****************************************************************************************************!*\
|
|
299053
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299458
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/transformData.js ***!
|
|
299054
299459
|
\*****************************************************************************************************/
|
|
299055
299460
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299056
299461
|
|
|
@@ -299059,9 +299464,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299059
299464
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299060
299465
|
/* harmony export */ "default": () => (/* binding */ transformData)
|
|
299061
299466
|
/* harmony export */ });
|
|
299062
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299063
|
-
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299064
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299467
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
299468
|
+
/* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../defaults/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js");
|
|
299469
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
299065
299470
|
|
|
299066
299471
|
|
|
299067
299472
|
|
|
@@ -299094,9 +299499,9 @@ function transformData(fns, response) {
|
|
|
299094
299499
|
|
|
299095
299500
|
/***/ }),
|
|
299096
299501
|
|
|
299097
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299502
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js":
|
|
299098
299503
|
/*!*************************************************************************************************!*\
|
|
299099
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299504
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/index.js ***!
|
|
299100
299505
|
\*************************************************************************************************/
|
|
299101
299506
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299102
299507
|
|
|
@@ -299105,13 +299510,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299105
299510
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299106
299511
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
299107
299512
|
/* harmony export */ });
|
|
299108
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299109
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299110
|
-
/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299111
|
-
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299112
|
-
/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299113
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299114
|
-
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299513
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
299514
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
|
|
299515
|
+
/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js");
|
|
299516
|
+
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js");
|
|
299517
|
+
/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toURLEncodedForm.js");
|
|
299518
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
|
|
299519
|
+
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js");
|
|
299115
299520
|
|
|
299116
299521
|
|
|
299117
299522
|
|
|
@@ -299277,9 +299682,9 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
|
|
|
299277
299682
|
|
|
299278
299683
|
/***/ }),
|
|
299279
299684
|
|
|
299280
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299685
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js":
|
|
299281
299686
|
/*!********************************************************************************************************!*\
|
|
299282
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299687
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/defaults/transitional.js ***!
|
|
299283
299688
|
\********************************************************************************************************/
|
|
299284
299689
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299285
299690
|
|
|
@@ -299299,9 +299704,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299299
299704
|
|
|
299300
299705
|
/***/ }),
|
|
299301
299706
|
|
|
299302
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299707
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js":
|
|
299303
299708
|
/*!*******************************************************************************************!*\
|
|
299304
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299709
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js ***!
|
|
299305
299710
|
\*******************************************************************************************/
|
|
299306
299711
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299307
299712
|
|
|
@@ -299310,13 +299715,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299310
299715
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299311
299716
|
/* harmony export */ VERSION: () => (/* binding */ VERSION)
|
|
299312
299717
|
/* harmony export */ });
|
|
299313
|
-
const VERSION = "1.7.
|
|
299718
|
+
const VERSION = "1.7.4";
|
|
299314
299719
|
|
|
299315
299720
|
/***/ }),
|
|
299316
299721
|
|
|
299317
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299722
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js":
|
|
299318
299723
|
/*!***************************************************************************************************************!*\
|
|
299319
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299724
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
|
|
299320
299725
|
\***************************************************************************************************************/
|
|
299321
299726
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299322
299727
|
|
|
@@ -299325,7 +299730,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299325
299730
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299326
299731
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
299327
299732
|
/* harmony export */ });
|
|
299328
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299733
|
+
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js");
|
|
299329
299734
|
|
|
299330
299735
|
|
|
299331
299736
|
|
|
@@ -299388,9 +299793,9 @@ prototype.toString = function toString(encoder) {
|
|
|
299388
299793
|
|
|
299389
299794
|
/***/ }),
|
|
299390
299795
|
|
|
299391
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299796
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/HttpStatusCode.js":
|
|
299392
299797
|
/*!*********************************************************************************************************!*\
|
|
299393
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299798
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
|
|
299394
299799
|
\*********************************************************************************************************/
|
|
299395
299800
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299396
299801
|
|
|
@@ -299474,9 +299879,9 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
299474
299879
|
|
|
299475
299880
|
/***/ }),
|
|
299476
299881
|
|
|
299477
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299882
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js":
|
|
299478
299883
|
/*!***********************************************************************************************!*\
|
|
299479
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299884
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js ***!
|
|
299480
299885
|
\***********************************************************************************************/
|
|
299481
299886
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299482
299887
|
|
|
@@ -299496,9 +299901,9 @@ function bind(fn, thisArg) {
|
|
|
299496
299901
|
|
|
299497
299902
|
/***/ }),
|
|
299498
299903
|
|
|
299499
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299904
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js":
|
|
299500
299905
|
/*!***************************************************************************************************!*\
|
|
299501
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299906
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js ***!
|
|
299502
299907
|
\***************************************************************************************************/
|
|
299503
299908
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299504
299909
|
|
|
@@ -299507,8 +299912,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299507
299912
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299508
299913
|
/* harmony export */ "default": () => (/* binding */ buildURL)
|
|
299509
299914
|
/* harmony export */ });
|
|
299510
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299511
|
-
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299915
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
299916
|
+
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
|
|
299512
299917
|
|
|
299513
299918
|
|
|
299514
299919
|
|
|
@@ -299576,9 +299981,9 @@ function buildURL(url, params, options) {
|
|
|
299576
299981
|
|
|
299577
299982
|
/***/ }),
|
|
299578
299983
|
|
|
299579
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299984
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/combineURLs.js":
|
|
299580
299985
|
/*!******************************************************************************************************!*\
|
|
299581
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299986
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/combineURLs.js ***!
|
|
299582
299987
|
\******************************************************************************************************/
|
|
299583
299988
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299584
299989
|
|
|
@@ -299606,9 +300011,9 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
299606
300011
|
|
|
299607
300012
|
/***/ }),
|
|
299608
300013
|
|
|
299609
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300014
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/composeSignals.js":
|
|
299610
300015
|
/*!*********************************************************************************************************!*\
|
|
299611
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300016
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/composeSignals.js ***!
|
|
299612
300017
|
\*********************************************************************************************************/
|
|
299613
300018
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299614
300019
|
|
|
@@ -299617,54 +300022,51 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299617
300022
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299618
300023
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
299619
300024
|
/* harmony export */ });
|
|
299620
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299621
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299622
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.7/node_modules/axios/lib/utils.js");
|
|
299623
|
-
|
|
300025
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/cancel/CanceledError.js");
|
|
300026
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
|
|
299624
300027
|
|
|
299625
300028
|
|
|
299626
300029
|
|
|
299627
300030
|
const composeSignals = (signals, timeout) => {
|
|
299628
|
-
|
|
299629
|
-
|
|
299630
|
-
if (timeout || length) {
|
|
299631
|
-
let controller = new AbortController();
|
|
300031
|
+
let controller = new AbortController();
|
|
299632
300032
|
|
|
299633
|
-
|
|
300033
|
+
let aborted;
|
|
299634
300034
|
|
|
299635
|
-
|
|
299636
|
-
|
|
299637
|
-
|
|
299638
|
-
|
|
299639
|
-
|
|
299640
|
-
|
|
299641
|
-
}
|
|
300035
|
+
const onabort = function (cancel) {
|
|
300036
|
+
if (!aborted) {
|
|
300037
|
+
aborted = true;
|
|
300038
|
+
unsubscribe();
|
|
300039
|
+
const err = cancel instanceof Error ? cancel : this.reason;
|
|
300040
|
+
controller.abort(err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? err : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_1__["default"](err instanceof Error ? err.message : err));
|
|
299642
300041
|
}
|
|
300042
|
+
}
|
|
300043
|
+
|
|
300044
|
+
let timer = timeout && setTimeout(() => {
|
|
300045
|
+
onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](`timeout ${timeout} of ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ETIMEDOUT))
|
|
300046
|
+
}, timeout)
|
|
299643
300047
|
|
|
299644
|
-
|
|
300048
|
+
const unsubscribe = () => {
|
|
300049
|
+
if (signals) {
|
|
300050
|
+
timer && clearTimeout(timer);
|
|
299645
300051
|
timer = null;
|
|
299646
|
-
|
|
299647
|
-
|
|
299648
|
-
|
|
299649
|
-
|
|
299650
|
-
|
|
299651
|
-
timer && clearTimeout(timer);
|
|
299652
|
-
timer = null;
|
|
299653
|
-
signals.forEach(signal => {
|
|
299654
|
-
signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);
|
|
299655
|
-
});
|
|
299656
|
-
signals = null;
|
|
299657
|
-
}
|
|
300052
|
+
signals.forEach(signal => {
|
|
300053
|
+
signal &&
|
|
300054
|
+
(signal.removeEventListener ? signal.removeEventListener('abort', onabort) : signal.unsubscribe(onabort));
|
|
300055
|
+
});
|
|
300056
|
+
signals = null;
|
|
299658
300057
|
}
|
|
300058
|
+
}
|
|
299659
300059
|
|
|
299660
|
-
|
|
300060
|
+
signals.forEach((signal) => signal && signal.addEventListener && signal.addEventListener('abort', onabort));
|
|
299661
300061
|
|
|
299662
|
-
|
|
300062
|
+
const {signal} = controller;
|
|
299663
300063
|
|
|
299664
|
-
|
|
300064
|
+
signal.unsubscribe = unsubscribe;
|
|
299665
300065
|
|
|
299666
|
-
|
|
299667
|
-
|
|
300066
|
+
return [signal, () => {
|
|
300067
|
+
timer && clearTimeout(timer);
|
|
300068
|
+
timer = null;
|
|
300069
|
+
}];
|
|
299668
300070
|
}
|
|
299669
300071
|
|
|
299670
300072
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);
|
|
@@ -299672,9 +300074,9 @@ const composeSignals = (signals, timeout) => {
|
|
|
299672
300074
|
|
|
299673
300075
|
/***/ }),
|
|
299674
300076
|
|
|
299675
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300077
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/cookies.js":
|
|
299676
300078
|
/*!**************************************************************************************************!*\
|
|
299677
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300079
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/cookies.js ***!
|
|
299678
300080
|
\**************************************************************************************************/
|
|
299679
300081
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299680
300082
|
|
|
@@ -299683,8 +300085,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299683
300085
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299684
300086
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
299685
300087
|
/* harmony export */ });
|
|
299686
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299687
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300088
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
300089
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
|
|
299688
300090
|
|
|
299689
300091
|
|
|
299690
300092
|
|
|
@@ -299731,9 +300133,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299731
300133
|
|
|
299732
300134
|
/***/ }),
|
|
299733
300135
|
|
|
299734
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300136
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js":
|
|
299735
300137
|
/*!*********************************************************************************************************!*\
|
|
299736
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300138
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/formDataToJSON.js ***!
|
|
299737
300139
|
\*********************************************************************************************************/
|
|
299738
300140
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299739
300141
|
|
|
@@ -299742,7 +300144,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299742
300144
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299743
300145
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
299744
300146
|
/* harmony export */ });
|
|
299745
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300147
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
299746
300148
|
|
|
299747
300149
|
|
|
299748
300150
|
|
|
@@ -299842,9 +300244,9 @@ function formDataToJSON(formData) {
|
|
|
299842
300244
|
|
|
299843
300245
|
/***/ }),
|
|
299844
300246
|
|
|
299845
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300247
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAbsoluteURL.js":
|
|
299846
300248
|
/*!********************************************************************************************************!*\
|
|
299847
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300249
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
|
|
299848
300250
|
\********************************************************************************************************/
|
|
299849
300251
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299850
300252
|
|
|
@@ -299872,9 +300274,9 @@ function isAbsoluteURL(url) {
|
|
|
299872
300274
|
|
|
299873
300275
|
/***/ }),
|
|
299874
300276
|
|
|
299875
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300277
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAxiosError.js":
|
|
299876
300278
|
/*!*******************************************************************************************************!*\
|
|
299877
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300279
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isAxiosError.js ***!
|
|
299878
300280
|
\*******************************************************************************************************/
|
|
299879
300281
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299880
300282
|
|
|
@@ -299883,7 +300285,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299883
300285
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299884
300286
|
/* harmony export */ "default": () => (/* binding */ isAxiosError)
|
|
299885
300287
|
/* harmony export */ });
|
|
299886
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300288
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
299887
300289
|
|
|
299888
300290
|
|
|
299889
300291
|
|
|
@@ -299902,9 +300304,9 @@ function isAxiosError(payload) {
|
|
|
299902
300304
|
|
|
299903
300305
|
/***/ }),
|
|
299904
300306
|
|
|
299905
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300307
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isURLSameOrigin.js":
|
|
299906
300308
|
/*!**********************************************************************************************************!*\
|
|
299907
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300309
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
|
|
299908
300310
|
\**********************************************************************************************************/
|
|
299909
300311
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299910
300312
|
|
|
@@ -299913,8 +300315,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299913
300315
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
299914
300316
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
299915
300317
|
/* harmony export */ });
|
|
299916
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
299917
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300318
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
300319
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
|
|
299918
300320
|
|
|
299919
300321
|
|
|
299920
300322
|
|
|
@@ -299925,7 +300327,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299925
300327
|
// Standard browser envs have full support of the APIs needed to test
|
|
299926
300328
|
// whether the request URL is of the same origin as current location.
|
|
299927
300329
|
(function standardBrowserEnv() {
|
|
299928
|
-
const msie =
|
|
300330
|
+
const msie = /(msie|trident)/i.test(navigator.userAgent);
|
|
299929
300331
|
const urlParsingNode = document.createElement('a');
|
|
299930
300332
|
let originURL;
|
|
299931
300333
|
|
|
@@ -299986,9 +300388,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
299986
300388
|
|
|
299987
300389
|
/***/ }),
|
|
299988
300390
|
|
|
299989
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300391
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js":
|
|
299990
300392
|
/*!***********************************************************************************************!*\
|
|
299991
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300393
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/null.js ***!
|
|
299992
300394
|
\***********************************************************************************************/
|
|
299993
300395
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
299994
300396
|
|
|
@@ -300003,9 +300405,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300003
300405
|
|
|
300004
300406
|
/***/ }),
|
|
300005
300407
|
|
|
300006
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300408
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseHeaders.js":
|
|
300007
300409
|
/*!*******************************************************************************************************!*\
|
|
300008
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300410
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseHeaders.js ***!
|
|
300009
300411
|
\*******************************************************************************************************/
|
|
300010
300412
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300011
300413
|
|
|
@@ -300014,7 +300416,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300014
300416
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
300015
300417
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
300016
300418
|
/* harmony export */ });
|
|
300017
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300419
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
300018
300420
|
|
|
300019
300421
|
|
|
300020
300422
|
|
|
@@ -300074,9 +300476,9 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
|
|
|
300074
300476
|
|
|
300075
300477
|
/***/ }),
|
|
300076
300478
|
|
|
300077
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300479
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseProtocol.js":
|
|
300078
300480
|
/*!********************************************************************************************************!*\
|
|
300079
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300481
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/parseProtocol.js ***!
|
|
300080
300482
|
\********************************************************************************************************/
|
|
300081
300483
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300082
300484
|
|
|
@@ -300095,9 +300497,9 @@ function parseProtocol(url) {
|
|
|
300095
300497
|
|
|
300096
300498
|
/***/ }),
|
|
300097
300499
|
|
|
300098
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300500
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js":
|
|
300099
300501
|
/*!***************************************************************************************************************!*\
|
|
300100
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300502
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/progressEventReducer.js ***!
|
|
300101
300503
|
\***************************************************************************************************************/
|
|
300102
300504
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300103
300505
|
|
|
@@ -300108,9 +300510,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300108
300510
|
/* harmony export */ progressEventDecorator: () => (/* binding */ progressEventDecorator),
|
|
300109
300511
|
/* harmony export */ progressEventReducer: () => (/* binding */ progressEventReducer)
|
|
300110
300512
|
/* harmony export */ });
|
|
300111
|
-
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300112
|
-
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300113
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300513
|
+
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/speedometer.js");
|
|
300514
|
+
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/throttle.js");
|
|
300515
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
300114
300516
|
|
|
300115
300517
|
|
|
300116
300518
|
|
|
@@ -300159,9 +300561,9 @@ const asyncDecorator = (fn) => (...args) => _utils_js__WEBPACK_IMPORTED_MODULE_2
|
|
|
300159
300561
|
|
|
300160
300562
|
/***/ }),
|
|
300161
300563
|
|
|
300162
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300564
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js":
|
|
300163
300565
|
/*!********************************************************************************************************!*\
|
|
300164
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300566
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/resolveConfig.js ***!
|
|
300165
300567
|
\********************************************************************************************************/
|
|
300166
300568
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300167
300569
|
|
|
@@ -300170,14 +300572,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300170
300572
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
300171
300573
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
300172
300574
|
/* harmony export */ });
|
|
300173
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300174
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300175
|
-
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300176
|
-
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300177
|
-
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300178
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300179
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300180
|
-
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300575
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
|
|
300576
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
300577
|
+
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/isURLSameOrigin.js");
|
|
300578
|
+
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cookies.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/cookies.js");
|
|
300579
|
+
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/buildFullPath.js");
|
|
300580
|
+
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/mergeConfig.js");
|
|
300581
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosHeaders.js");
|
|
300582
|
+
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./buildURL.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/buildURL.js");
|
|
300181
300583
|
|
|
300182
300584
|
|
|
300183
300585
|
|
|
@@ -300239,9 +300641,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300239
300641
|
|
|
300240
300642
|
/***/ }),
|
|
300241
300643
|
|
|
300242
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300644
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/speedometer.js":
|
|
300243
300645
|
/*!******************************************************************************************************!*\
|
|
300244
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300646
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/speedometer.js ***!
|
|
300245
300647
|
\******************************************************************************************************/
|
|
300246
300648
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300247
300649
|
|
|
@@ -300309,9 +300711,9 @@ function speedometer(samplesCount, min) {
|
|
|
300309
300711
|
|
|
300310
300712
|
/***/ }),
|
|
300311
300713
|
|
|
300312
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300714
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/spread.js":
|
|
300313
300715
|
/*!*************************************************************************************************!*\
|
|
300314
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300716
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/spread.js ***!
|
|
300315
300717
|
\*************************************************************************************************/
|
|
300316
300718
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300317
300719
|
|
|
@@ -300352,9 +300754,9 @@ function spread(callback) {
|
|
|
300352
300754
|
|
|
300353
300755
|
/***/ }),
|
|
300354
300756
|
|
|
300355
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300757
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/throttle.js":
|
|
300356
300758
|
/*!***************************************************************************************************!*\
|
|
300357
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300759
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/throttle.js ***!
|
|
300358
300760
|
\***************************************************************************************************/
|
|
300359
300761
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300360
300762
|
|
|
@@ -300411,9 +300813,9 @@ function throttle(fn, freq) {
|
|
|
300411
300813
|
|
|
300412
300814
|
/***/ }),
|
|
300413
300815
|
|
|
300414
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300816
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js":
|
|
300415
300817
|
/*!*****************************************************************************************************!*\
|
|
300416
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300818
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js ***!
|
|
300417
300819
|
\*****************************************************************************************************/
|
|
300418
300820
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300419
300821
|
|
|
@@ -300422,9 +300824,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300422
300824
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
300423
300825
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
300424
300826
|
/* harmony export */ });
|
|
300425
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300426
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300427
|
-
/* 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.7.
|
|
300827
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
300828
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
|
|
300829
|
+
/* 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.7.4/node_modules/axios/lib/helpers/null.js");
|
|
300428
300830
|
|
|
300429
300831
|
|
|
300430
300832
|
|
|
@@ -300648,9 +301050,9 @@ function toFormData(obj, formData, options) {
|
|
|
300648
301050
|
|
|
300649
301051
|
/***/ }),
|
|
300650
301052
|
|
|
300651
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301053
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toURLEncodedForm.js":
|
|
300652
301054
|
/*!***********************************************************************************************************!*\
|
|
300653
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301055
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
|
|
300654
301056
|
\***********************************************************************************************************/
|
|
300655
301057
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300656
301058
|
|
|
@@ -300659,9 +301061,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300659
301061
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
300660
301062
|
/* harmony export */ "default": () => (/* binding */ toURLEncodedForm)
|
|
300661
301063
|
/* harmony export */ });
|
|
300662
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300663
|
-
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300664
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301064
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js");
|
|
301065
|
+
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/toFormData.js");
|
|
301066
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js");
|
|
300665
301067
|
|
|
300666
301068
|
|
|
300667
301069
|
|
|
@@ -300684,9 +301086,9 @@ function toURLEncodedForm(data, options) {
|
|
|
300684
301086
|
|
|
300685
301087
|
/***/ }),
|
|
300686
301088
|
|
|
300687
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301089
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/trackStream.js":
|
|
300688
301090
|
/*!******************************************************************************************************!*\
|
|
300689
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301091
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/trackStream.js ***!
|
|
300690
301092
|
\******************************************************************************************************/
|
|
300691
301093
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300692
301094
|
|
|
@@ -300716,34 +301118,14 @@ const streamChunk = function* (chunk, chunkSize) {
|
|
|
300716
301118
|
}
|
|
300717
301119
|
}
|
|
300718
301120
|
|
|
300719
|
-
const readBytes = async function* (iterable, chunkSize) {
|
|
300720
|
-
for await (const chunk of
|
|
300721
|
-
yield* streamChunk(chunk, chunkSize);
|
|
301121
|
+
const readBytes = async function* (iterable, chunkSize, encode) {
|
|
301122
|
+
for await (const chunk of iterable) {
|
|
301123
|
+
yield* streamChunk(ArrayBuffer.isView(chunk) ? chunk : (await encode(String(chunk))), chunkSize);
|
|
300722
301124
|
}
|
|
300723
301125
|
}
|
|
300724
301126
|
|
|
300725
|
-
const
|
|
300726
|
-
|
|
300727
|
-
yield* stream;
|
|
300728
|
-
return;
|
|
300729
|
-
}
|
|
300730
|
-
|
|
300731
|
-
const reader = stream.getReader();
|
|
300732
|
-
try {
|
|
300733
|
-
for (;;) {
|
|
300734
|
-
const {done, value} = await reader.read();
|
|
300735
|
-
if (done) {
|
|
300736
|
-
break;
|
|
300737
|
-
}
|
|
300738
|
-
yield value;
|
|
300739
|
-
}
|
|
300740
|
-
} finally {
|
|
300741
|
-
await reader.cancel();
|
|
300742
|
-
}
|
|
300743
|
-
}
|
|
300744
|
-
|
|
300745
|
-
const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
300746
|
-
const iterator = readBytes(stream, chunkSize);
|
|
301127
|
+
const trackStream = (stream, chunkSize, onProgress, onFinish, encode) => {
|
|
301128
|
+
const iterator = readBytes(stream, chunkSize, encode);
|
|
300747
301129
|
|
|
300748
301130
|
let bytes = 0;
|
|
300749
301131
|
let done;
|
|
@@ -300788,9 +301170,9 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
300788
301170
|
|
|
300789
301171
|
/***/ }),
|
|
300790
301172
|
|
|
300791
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301173
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/validator.js":
|
|
300792
301174
|
/*!****************************************************************************************************!*\
|
|
300793
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301175
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/validator.js ***!
|
|
300794
301176
|
\****************************************************************************************************/
|
|
300795
301177
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300796
301178
|
|
|
@@ -300799,8 +301181,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300799
301181
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
300800
301182
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
300801
301183
|
/* harmony export */ });
|
|
300802
|
-
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300803
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301184
|
+
/* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/env/data.js");
|
|
301185
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/core/AxiosError.js");
|
|
300804
301186
|
|
|
300805
301187
|
|
|
300806
301188
|
|
|
@@ -300896,9 +301278,9 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
300896
301278
|
|
|
300897
301279
|
/***/ }),
|
|
300898
301280
|
|
|
300899
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301281
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/Blob.js":
|
|
300900
301282
|
/*!****************************************************************************************************************!*\
|
|
300901
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301283
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
|
|
300902
301284
|
\****************************************************************************************************************/
|
|
300903
301285
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300904
301286
|
|
|
@@ -300914,9 +301296,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300914
301296
|
|
|
300915
301297
|
/***/ }),
|
|
300916
301298
|
|
|
300917
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301299
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/FormData.js":
|
|
300918
301300
|
/*!********************************************************************************************************************!*\
|
|
300919
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301301
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
|
|
300920
301302
|
\********************************************************************************************************************/
|
|
300921
301303
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300922
301304
|
|
|
@@ -300932,9 +301314,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300932
301314
|
|
|
300933
301315
|
/***/ }),
|
|
300934
301316
|
|
|
300935
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301317
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js":
|
|
300936
301318
|
/*!***************************************************************************************************************************!*\
|
|
300937
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301319
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
|
|
300938
301320
|
\***************************************************************************************************************************/
|
|
300939
301321
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300940
301322
|
|
|
@@ -300943,7 +301325,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300943
301325
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
300944
301326
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
300945
301327
|
/* harmony export */ });
|
|
300946
|
-
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301328
|
+
/* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
|
|
300947
301329
|
|
|
300948
301330
|
|
|
300949
301331
|
|
|
@@ -300952,9 +301334,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300952
301334
|
|
|
300953
301335
|
/***/ }),
|
|
300954
301336
|
|
|
300955
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301337
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/index.js":
|
|
300956
301338
|
/*!*********************************************************************************************************!*\
|
|
300957
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301339
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/index.js ***!
|
|
300958
301340
|
\*********************************************************************************************************/
|
|
300959
301341
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300960
301342
|
|
|
@@ -300963,9 +301345,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300963
301345
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
300964
301346
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
300965
301347
|
/* harmony export */ });
|
|
300966
|
-
/* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300967
|
-
/* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
300968
|
-
/* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301348
|
+
/* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js");
|
|
301349
|
+
/* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/FormData.js");
|
|
301350
|
+
/* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/classes/Blob.js");
|
|
300969
301351
|
|
|
300970
301352
|
|
|
300971
301353
|
|
|
@@ -300983,9 +301365,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300983
301365
|
|
|
300984
301366
|
/***/ }),
|
|
300985
301367
|
|
|
300986
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301368
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/common/utils.js":
|
|
300987
301369
|
/*!********************************************************************************************************!*\
|
|
300988
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301370
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/common/utils.js ***!
|
|
300989
301371
|
\********************************************************************************************************/
|
|
300990
301372
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
300991
301373
|
|
|
@@ -300995,13 +301377,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
300995
301377
|
/* harmony export */ hasBrowserEnv: () => (/* binding */ hasBrowserEnv),
|
|
300996
301378
|
/* harmony export */ hasStandardBrowserEnv: () => (/* binding */ hasStandardBrowserEnv),
|
|
300997
301379
|
/* harmony export */ hasStandardBrowserWebWorkerEnv: () => (/* binding */ hasStandardBrowserWebWorkerEnv),
|
|
300998
|
-
/* harmony export */ navigator: () => (/* binding */ _navigator),
|
|
300999
301380
|
/* harmony export */ origin: () => (/* binding */ origin)
|
|
301000
301381
|
/* harmony export */ });
|
|
301001
301382
|
const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
301002
301383
|
|
|
301003
|
-
const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
301004
|
-
|
|
301005
301384
|
/**
|
|
301006
301385
|
* Determine if we're running in a standard browser environment
|
|
301007
301386
|
*
|
|
@@ -301019,8 +301398,10 @@ const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
|
301019
301398
|
*
|
|
301020
301399
|
* @returns {boolean}
|
|
301021
301400
|
*/
|
|
301022
|
-
const hasStandardBrowserEnv =
|
|
301023
|
-
(
|
|
301401
|
+
const hasStandardBrowserEnv = (
|
|
301402
|
+
(product) => {
|
|
301403
|
+
return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0
|
|
301404
|
+
})(typeof navigator !== 'undefined' && navigator.product);
|
|
301024
301405
|
|
|
301025
301406
|
/**
|
|
301026
301407
|
* Determine if we're running in a standard browser webWorker environment
|
|
@@ -301047,9 +301428,9 @@ const origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
|
301047
301428
|
|
|
301048
301429
|
/***/ }),
|
|
301049
301430
|
|
|
301050
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301431
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js":
|
|
301051
301432
|
/*!*************************************************************************************************!*\
|
|
301052
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301433
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/index.js ***!
|
|
301053
301434
|
\*************************************************************************************************/
|
|
301054
301435
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
301055
301436
|
|
|
@@ -301058,8 +301439,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
301058
301439
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
301059
301440
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
301060
301441
|
/* harmony export */ });
|
|
301061
|
-
/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301062
|
-
/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301442
|
+
/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/browser/index.js");
|
|
301443
|
+
/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/platform/common/utils.js");
|
|
301063
301444
|
|
|
301064
301445
|
|
|
301065
301446
|
|
|
@@ -301071,9 +301452,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
301071
301452
|
|
|
301072
301453
|
/***/ }),
|
|
301073
301454
|
|
|
301074
|
-
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301455
|
+
/***/ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js":
|
|
301075
301456
|
/*!****************************************************************************************!*\
|
|
301076
|
-
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301457
|
+
!*** ../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/utils.js ***!
|
|
301077
301458
|
\****************************************************************************************/
|
|
301078
301459
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
301079
301460
|
|
|
@@ -301082,7 +301463,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
301082
301463
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
301083
301464
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
301084
301465
|
/* harmony export */ });
|
|
301085
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.
|
|
301466
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "../../common/temp/node_modules/.pnpm/axios@1.7.4/node_modules/axios/lib/helpers/bind.js");
|
|
301086
301467
|
|
|
301087
301468
|
|
|
301088
301469
|
|
|
@@ -302332,15 +302713,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302332
302713
|
/* harmony export */ t: () => (/* binding */ t),
|
|
302333
302714
|
/* harmony export */ use: () => (/* binding */ use)
|
|
302334
302715
|
/* harmony export */ });
|
|
302335
|
-
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
302336
|
-
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
302337
|
-
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
302338
|
-
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
302339
|
-
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
302340
|
-
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
302341
|
-
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
302342
|
-
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
302343
|
-
/* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
302716
|
+
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
302717
|
+
/* harmony import */ var _babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
302718
|
+
/* harmony import */ var _babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
302719
|
+
/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
302720
|
+
/* harmony import */ var _babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/inherits.js");
|
|
302721
|
+
/* harmony import */ var _babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/esm/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
|
302722
|
+
/* harmony import */ var _babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
|
302723
|
+
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
|
302724
|
+
/* harmony import */ var _babel_runtime_helpers_esm_toArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toArray.js");
|
|
302344
302725
|
|
|
302345
302726
|
|
|
302346
302727
|
|
|
@@ -305157,7 +305538,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
305157
305538
|
/***/ ((module) => {
|
|
305158
305539
|
|
|
305159
305540
|
"use strict";
|
|
305160
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.
|
|
305541
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.0.0-dev.24","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","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 ES2020 --outDir lib/esm","clean":"rimraf 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","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","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 --coverage","test:debug":"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:*"},"//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/eslint-plugin":"5.0.0-dev.1","@types/chai-as-promised":"^7","@vitest/browser":"^2.1.0","@vitest/coverage-v8":"^2.1.0","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","cpx2":"^3.0.0","eslint":"^9.13.0","glob":"^10.3.12","playwright":"~1.47.1","rimraf":"^3.0.2","source-map-loader":"^4.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^2.1.0","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"1.0.6","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/cloud-agnostic-core":"^2.2.4","@itwin/object-storage-core":"^2.2.5","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
305161
305542
|
|
|
305162
305543
|
/***/ })
|
|
305163
305544
|
|