@itwin/rpcinterface-full-stack-tests 3.5.0-dev.32 → 3.5.0-dev.34
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/{_fc1f.bundled-tests.js → _ea7b.bundled-tests.js} +3 -3
- package/lib/dist/_ea7b.bundled-tests.js.map +1 -0
- package/lib/dist/bundled-tests.js +1052 -797
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/object-storage.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_itwin_object-storage-azure_1_4_0_node_modules_itwin_obj-3576c6.bundled-tests.js +35 -20
- package/lib/dist/vendors-common_temp_node_modules_pnpm_itwin_object-storage-azure_1_4_0_node_modules_itwin_obj-3576c6.bundled-tests.js.map +1 -1
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_9_node_modules_loaders_gl_draco_di-01256f.bundled-tests.js → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_11_node_modules_loaders_gl_draco_d-403021.bundled-tests.js} +110 -110
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_9_node_modules_loaders_gl_draco_di-01256f.bundled-tests.js.map → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_11_node_modules_loaders_gl_draco_d-403021.bundled-tests.js.map} +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_reflect-metadata_0_1_13_node_modules_reflect-metadata_R-610cb3.bundled-tests.js.map +1 -1
- package/package.json +14 -14
- package/lib/dist/_fc1f.bundled-tests.js.map +0 -1
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
/***/ }),
|
|
23
23
|
|
|
24
|
-
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.3
|
|
24
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.4.3/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
|
|
25
25
|
/*!********************************************************************************************************************!*\
|
|
26
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.3
|
|
26
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.4.3/node_modules/@itwin/certa/lib/utils/CallbackUtils.js ***!
|
|
27
27
|
\********************************************************************************************************************/
|
|
28
28
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
29
29
|
|
|
@@ -2772,7 +2772,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
|
|
|
2772
2772
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2773
2773
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
2774
2774
|
*--------------------------------------------------------------------------------------------*/
|
|
2775
|
-
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.3
|
|
2775
|
+
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.4.3/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
|
|
2776
2776
|
// Shared by both the frontend and backend side of the tests
|
|
2777
2777
|
exports.getTokenCallbackName = "getToken";
|
|
2778
2778
|
async function getAccessTokenFromBackend(user, oidcConfig) {
|
|
@@ -22276,9 +22276,9 @@ module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
|
22276
22276
|
|
|
22277
22277
|
/***/ }),
|
|
22278
22278
|
|
|
22279
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
22279
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
|
|
22280
22280
|
/*!****************************************************************************************************************************************************************************!*\
|
|
22281
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
22281
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
|
|
22282
22282
|
\****************************************************************************************************************************************************************************/
|
|
22283
22283
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
22284
22284
|
|
|
@@ -22287,8 +22287,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22287
22287
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22288
22288
|
/* harmony export */ "default": () => (/* binding */ Browser)
|
|
22289
22289
|
/* harmony export */ });
|
|
22290
|
-
/* 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.
|
|
22291
|
-
/* 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.
|
|
22290
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
22291
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
22292
22292
|
|
|
22293
22293
|
|
|
22294
22294
|
|
|
@@ -48450,9 +48450,9 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
48450
48450
|
|
|
48451
48451
|
/***/ }),
|
|
48452
48452
|
|
|
48453
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48453
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js":
|
|
48454
48454
|
/*!***************************************************************************************************!*\
|
|
48455
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48455
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js ***!
|
|
48456
48456
|
\***************************************************************************************************/
|
|
48457
48457
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
48458
48458
|
|
|
@@ -48586,19 +48586,19 @@ class Comparator {
|
|
|
48586
48586
|
|
|
48587
48587
|
module.exports = Comparator
|
|
48588
48588
|
|
|
48589
|
-
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48590
|
-
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48591
|
-
const cmp = __webpack_require__(/*! ../functions/cmp */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48592
|
-
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48593
|
-
const SemVer = __webpack_require__(/*! ./semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48594
|
-
const Range = __webpack_require__(/*! ./range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48589
|
+
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js")
|
|
48590
|
+
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
48591
|
+
const cmp = __webpack_require__(/*! ../functions/cmp */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js")
|
|
48592
|
+
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js")
|
|
48593
|
+
const SemVer = __webpack_require__(/*! ./semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
48594
|
+
const Range = __webpack_require__(/*! ./range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
48595
48595
|
|
|
48596
48596
|
|
|
48597
48597
|
/***/ }),
|
|
48598
48598
|
|
|
48599
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48599
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js":
|
|
48600
48600
|
/*!**********************************************************************************************!*\
|
|
48601
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48601
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js ***!
|
|
48602
48602
|
\**********************************************************************************************/
|
|
48603
48603
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
48604
48604
|
|
|
@@ -48799,17 +48799,17 @@ module.exports = Range
|
|
|
48799
48799
|
const LRU = __webpack_require__(/*! lru-cache */ "../../common/temp/node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js")
|
|
48800
48800
|
const cache = new LRU({ max: 1000 })
|
|
48801
48801
|
|
|
48802
|
-
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48803
|
-
const Comparator = __webpack_require__(/*! ./comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48804
|
-
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48805
|
-
const SemVer = __webpack_require__(/*! ./semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48802
|
+
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js")
|
|
48803
|
+
const Comparator = __webpack_require__(/*! ./comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js")
|
|
48804
|
+
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js")
|
|
48805
|
+
const SemVer = __webpack_require__(/*! ./semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
48806
48806
|
const {
|
|
48807
48807
|
re,
|
|
48808
48808
|
t,
|
|
48809
48809
|
comparatorTrimReplace,
|
|
48810
48810
|
tildeTrimReplace,
|
|
48811
48811
|
caretTrimReplace,
|
|
48812
|
-
} = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48812
|
+
} = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
48813
48813
|
|
|
48814
48814
|
const isNullSet = c => c.value === '<0.0.0-0'
|
|
48815
48815
|
const isAny = c => c.value === ''
|
|
@@ -48856,6 +48856,7 @@ const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
|
|
|
48856
48856
|
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
|
|
48857
48857
|
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
|
|
48858
48858
|
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
|
|
48859
|
+
// ~0.0.1 --> >=0.0.1 <0.1.0-0
|
|
48859
48860
|
const replaceTildes = (comp, options) =>
|
|
48860
48861
|
comp.trim().split(/\s+/).map((c) => {
|
|
48861
48862
|
return replaceTilde(c, options)
|
|
@@ -48895,6 +48896,8 @@ const replaceTilde = (comp, options) => {
|
|
|
48895
48896
|
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
|
|
48896
48897
|
// ^1.2.3 --> >=1.2.3 <2.0.0-0
|
|
48897
48898
|
// ^1.2.0 --> >=1.2.0 <2.0.0-0
|
|
48899
|
+
// ^0.0.1 --> >=0.0.1 <0.0.2-0
|
|
48900
|
+
// ^0.1.0 --> >=0.1.0 <0.2.0-0
|
|
48898
48901
|
const replaceCarets = (comp, options) =>
|
|
48899
48902
|
comp.trim().split(/\s+/).map((c) => {
|
|
48900
48903
|
return replaceCaret(c, options)
|
|
@@ -49125,18 +49128,18 @@ const testSet = (set, version, options) => {
|
|
|
49125
49128
|
|
|
49126
49129
|
/***/ }),
|
|
49127
49130
|
|
|
49128
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49131
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js":
|
|
49129
49132
|
/*!***********************************************************************************************!*\
|
|
49130
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49133
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js ***!
|
|
49131
49134
|
\***********************************************************************************************/
|
|
49132
49135
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49133
49136
|
|
|
49134
|
-
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49135
|
-
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__(/*! ../internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49136
|
-
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49137
|
+
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js")
|
|
49138
|
+
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__(/*! ../internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js")
|
|
49139
|
+
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
49137
49140
|
|
|
49138
|
-
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49139
|
-
const { compareIdentifiers } = __webpack_require__(/*! ../internal/identifiers */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49141
|
+
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js")
|
|
49142
|
+
const { compareIdentifiers } = __webpack_require__(/*! ../internal/identifiers */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js")
|
|
49140
49143
|
class SemVer {
|
|
49141
49144
|
constructor (version, options) {
|
|
49142
49145
|
options = parseOptions(options)
|
|
@@ -49422,13 +49425,13 @@ module.exports = SemVer
|
|
|
49422
49425
|
|
|
49423
49426
|
/***/ }),
|
|
49424
49427
|
|
|
49425
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49428
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/clean.js":
|
|
49426
49429
|
/*!************************************************************************************************!*\
|
|
49427
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49430
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/clean.js ***!
|
|
49428
49431
|
\************************************************************************************************/
|
|
49429
49432
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49430
49433
|
|
|
49431
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49434
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49432
49435
|
const clean = (version, options) => {
|
|
49433
49436
|
const s = parse(version.trim().replace(/^[=v]+/, ''), options)
|
|
49434
49437
|
return s ? s.version : null
|
|
@@ -49438,18 +49441,18 @@ module.exports = clean
|
|
|
49438
49441
|
|
|
49439
49442
|
/***/ }),
|
|
49440
49443
|
|
|
49441
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49444
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js":
|
|
49442
49445
|
/*!**********************************************************************************************!*\
|
|
49443
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49446
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js ***!
|
|
49444
49447
|
\**********************************************************************************************/
|
|
49445
49448
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49446
49449
|
|
|
49447
|
-
const eq = __webpack_require__(/*! ./eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49448
|
-
const neq = __webpack_require__(/*! ./neq */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49449
|
-
const gt = __webpack_require__(/*! ./gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49450
|
-
const gte = __webpack_require__(/*! ./gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49451
|
-
const lt = __webpack_require__(/*! ./lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49452
|
-
const lte = __webpack_require__(/*! ./lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49450
|
+
const eq = __webpack_require__(/*! ./eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js")
|
|
49451
|
+
const neq = __webpack_require__(/*! ./neq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/neq.js")
|
|
49452
|
+
const gt = __webpack_require__(/*! ./gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js")
|
|
49453
|
+
const gte = __webpack_require__(/*! ./gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js")
|
|
49454
|
+
const lt = __webpack_require__(/*! ./lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js")
|
|
49455
|
+
const lte = __webpack_require__(/*! ./lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js")
|
|
49453
49456
|
|
|
49454
49457
|
const cmp = (a, op, b, loose) => {
|
|
49455
49458
|
switch (op) {
|
|
@@ -49500,15 +49503,15 @@ module.exports = cmp
|
|
|
49500
49503
|
|
|
49501
49504
|
/***/ }),
|
|
49502
49505
|
|
|
49503
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49506
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/coerce.js":
|
|
49504
49507
|
/*!*************************************************************************************************!*\
|
|
49505
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49508
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/coerce.js ***!
|
|
49506
49509
|
\*************************************************************************************************/
|
|
49507
49510
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49508
49511
|
|
|
49509
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49510
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49511
|
-
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49512
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49513
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49514
|
+
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
49512
49515
|
|
|
49513
49516
|
const coerce = (version, options) => {
|
|
49514
49517
|
if (version instanceof SemVer) {
|
|
@@ -49562,13 +49565,13 @@ module.exports = coerce
|
|
|
49562
49565
|
|
|
49563
49566
|
/***/ }),
|
|
49564
49567
|
|
|
49565
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49568
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js":
|
|
49566
49569
|
/*!********************************************************************************************************!*\
|
|
49567
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49570
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js ***!
|
|
49568
49571
|
\********************************************************************************************************/
|
|
49569
49572
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49570
49573
|
|
|
49571
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49574
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49572
49575
|
const compareBuild = (a, b, loose) => {
|
|
49573
49576
|
const versionA = new SemVer(a, loose)
|
|
49574
49577
|
const versionB = new SemVer(b, loose)
|
|
@@ -49579,26 +49582,26 @@ module.exports = compareBuild
|
|
|
49579
49582
|
|
|
49580
49583
|
/***/ }),
|
|
49581
49584
|
|
|
49582
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49585
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-loose.js":
|
|
49583
49586
|
/*!********************************************************************************************************!*\
|
|
49584
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49587
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-loose.js ***!
|
|
49585
49588
|
\********************************************************************************************************/
|
|
49586
49589
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49587
49590
|
|
|
49588
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49591
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49589
49592
|
const compareLoose = (a, b) => compare(a, b, true)
|
|
49590
49593
|
module.exports = compareLoose
|
|
49591
49594
|
|
|
49592
49595
|
|
|
49593
49596
|
/***/ }),
|
|
49594
49597
|
|
|
49595
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49598
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js":
|
|
49596
49599
|
/*!**************************************************************************************************!*\
|
|
49597
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49600
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js ***!
|
|
49598
49601
|
\**************************************************************************************************/
|
|
49599
49602
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49600
49603
|
|
|
49601
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49604
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49602
49605
|
const compare = (a, b, loose) =>
|
|
49603
49606
|
new SemVer(a, loose).compare(new SemVer(b, loose))
|
|
49604
49607
|
|
|
@@ -49607,14 +49610,14 @@ module.exports = compare
|
|
|
49607
49610
|
|
|
49608
49611
|
/***/ }),
|
|
49609
49612
|
|
|
49610
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49613
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/diff.js":
|
|
49611
49614
|
/*!***********************************************************************************************!*\
|
|
49612
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49615
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/diff.js ***!
|
|
49613
49616
|
\***********************************************************************************************/
|
|
49614
49617
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49615
49618
|
|
|
49616
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49617
|
-
const eq = __webpack_require__(/*! ./eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49619
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49620
|
+
const eq = __webpack_require__(/*! ./eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js")
|
|
49618
49621
|
|
|
49619
49622
|
const diff = (version1, version2) => {
|
|
49620
49623
|
if (eq(version1, version2)) {
|
|
@@ -49640,52 +49643,52 @@ module.exports = diff
|
|
|
49640
49643
|
|
|
49641
49644
|
/***/ }),
|
|
49642
49645
|
|
|
49643
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49646
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js":
|
|
49644
49647
|
/*!*********************************************************************************************!*\
|
|
49645
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49648
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js ***!
|
|
49646
49649
|
\*********************************************************************************************/
|
|
49647
49650
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49648
49651
|
|
|
49649
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49652
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49650
49653
|
const eq = (a, b, loose) => compare(a, b, loose) === 0
|
|
49651
49654
|
module.exports = eq
|
|
49652
49655
|
|
|
49653
49656
|
|
|
49654
49657
|
/***/ }),
|
|
49655
49658
|
|
|
49656
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49659
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js":
|
|
49657
49660
|
/*!*********************************************************************************************!*\
|
|
49658
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49661
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js ***!
|
|
49659
49662
|
\*********************************************************************************************/
|
|
49660
49663
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49661
49664
|
|
|
49662
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49665
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49663
49666
|
const gt = (a, b, loose) => compare(a, b, loose) > 0
|
|
49664
49667
|
module.exports = gt
|
|
49665
49668
|
|
|
49666
49669
|
|
|
49667
49670
|
/***/ }),
|
|
49668
49671
|
|
|
49669
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49672
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js":
|
|
49670
49673
|
/*!**********************************************************************************************!*\
|
|
49671
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49674
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js ***!
|
|
49672
49675
|
\**********************************************************************************************/
|
|
49673
49676
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49674
49677
|
|
|
49675
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49678
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49676
49679
|
const gte = (a, b, loose) => compare(a, b, loose) >= 0
|
|
49677
49680
|
module.exports = gte
|
|
49678
49681
|
|
|
49679
49682
|
|
|
49680
49683
|
/***/ }),
|
|
49681
49684
|
|
|
49682
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49685
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/inc.js":
|
|
49683
49686
|
/*!**********************************************************************************************!*\
|
|
49684
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49687
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/inc.js ***!
|
|
49685
49688
|
\**********************************************************************************************/
|
|
49686
49689
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49687
49690
|
|
|
49688
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49691
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49689
49692
|
|
|
49690
49693
|
const inc = (version, release, options, identifier) => {
|
|
49691
49694
|
if (typeof (options) === 'string') {
|
|
@@ -49707,82 +49710,82 @@ module.exports = inc
|
|
|
49707
49710
|
|
|
49708
49711
|
/***/ }),
|
|
49709
49712
|
|
|
49710
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49713
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js":
|
|
49711
49714
|
/*!*********************************************************************************************!*\
|
|
49712
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49715
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js ***!
|
|
49713
49716
|
\*********************************************************************************************/
|
|
49714
49717
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49715
49718
|
|
|
49716
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49719
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49717
49720
|
const lt = (a, b, loose) => compare(a, b, loose) < 0
|
|
49718
49721
|
module.exports = lt
|
|
49719
49722
|
|
|
49720
49723
|
|
|
49721
49724
|
/***/ }),
|
|
49722
49725
|
|
|
49723
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49726
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js":
|
|
49724
49727
|
/*!**********************************************************************************************!*\
|
|
49725
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49728
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js ***!
|
|
49726
49729
|
\**********************************************************************************************/
|
|
49727
49730
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49728
49731
|
|
|
49729
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49732
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49730
49733
|
const lte = (a, b, loose) => compare(a, b, loose) <= 0
|
|
49731
49734
|
module.exports = lte
|
|
49732
49735
|
|
|
49733
49736
|
|
|
49734
49737
|
/***/ }),
|
|
49735
49738
|
|
|
49736
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49739
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/major.js":
|
|
49737
49740
|
/*!************************************************************************************************!*\
|
|
49738
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49741
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/major.js ***!
|
|
49739
49742
|
\************************************************************************************************/
|
|
49740
49743
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49741
49744
|
|
|
49742
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49745
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49743
49746
|
const major = (a, loose) => new SemVer(a, loose).major
|
|
49744
49747
|
module.exports = major
|
|
49745
49748
|
|
|
49746
49749
|
|
|
49747
49750
|
/***/ }),
|
|
49748
49751
|
|
|
49749
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49752
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/minor.js":
|
|
49750
49753
|
/*!************************************************************************************************!*\
|
|
49751
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49754
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/minor.js ***!
|
|
49752
49755
|
\************************************************************************************************/
|
|
49753
49756
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49754
49757
|
|
|
49755
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49758
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49756
49759
|
const minor = (a, loose) => new SemVer(a, loose).minor
|
|
49757
49760
|
module.exports = minor
|
|
49758
49761
|
|
|
49759
49762
|
|
|
49760
49763
|
/***/ }),
|
|
49761
49764
|
|
|
49762
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49765
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/neq.js":
|
|
49763
49766
|
/*!**********************************************************************************************!*\
|
|
49764
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49767
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/neq.js ***!
|
|
49765
49768
|
\**********************************************************************************************/
|
|
49766
49769
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49767
49770
|
|
|
49768
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49771
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49769
49772
|
const neq = (a, b, loose) => compare(a, b, loose) !== 0
|
|
49770
49773
|
module.exports = neq
|
|
49771
49774
|
|
|
49772
49775
|
|
|
49773
49776
|
/***/ }),
|
|
49774
49777
|
|
|
49775
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49778
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js":
|
|
49776
49779
|
/*!************************************************************************************************!*\
|
|
49777
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49780
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js ***!
|
|
49778
49781
|
\************************************************************************************************/
|
|
49779
49782
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49780
49783
|
|
|
49781
|
-
const { MAX_LENGTH } = __webpack_require__(/*! ../internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49782
|
-
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49783
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49784
|
+
const { MAX_LENGTH } = __webpack_require__(/*! ../internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js")
|
|
49785
|
+
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
49786
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49784
49787
|
|
|
49785
|
-
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49788
|
+
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js")
|
|
49786
49789
|
const parse = (version, options) => {
|
|
49787
49790
|
options = parseOptions(options)
|
|
49788
49791
|
|
|
@@ -49815,26 +49818,26 @@ module.exports = parse
|
|
|
49815
49818
|
|
|
49816
49819
|
/***/ }),
|
|
49817
49820
|
|
|
49818
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49821
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/patch.js":
|
|
49819
49822
|
/*!************************************************************************************************!*\
|
|
49820
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49823
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/patch.js ***!
|
|
49821
49824
|
\************************************************************************************************/
|
|
49822
49825
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49823
49826
|
|
|
49824
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49827
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49825
49828
|
const patch = (a, loose) => new SemVer(a, loose).patch
|
|
49826
49829
|
module.exports = patch
|
|
49827
49830
|
|
|
49828
49831
|
|
|
49829
49832
|
/***/ }),
|
|
49830
49833
|
|
|
49831
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49834
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/prerelease.js":
|
|
49832
49835
|
/*!*****************************************************************************************************!*\
|
|
49833
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49836
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/prerelease.js ***!
|
|
49834
49837
|
\*****************************************************************************************************/
|
|
49835
49838
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49836
49839
|
|
|
49837
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49840
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49838
49841
|
const prerelease = (version, options) => {
|
|
49839
49842
|
const parsed = parse(version, options)
|
|
49840
49843
|
return (parsed && parsed.prerelease.length) ? parsed.prerelease : null
|
|
@@ -49844,39 +49847,39 @@ module.exports = prerelease
|
|
|
49844
49847
|
|
|
49845
49848
|
/***/ }),
|
|
49846
49849
|
|
|
49847
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49850
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rcompare.js":
|
|
49848
49851
|
/*!***************************************************************************************************!*\
|
|
49849
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49852
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rcompare.js ***!
|
|
49850
49853
|
\***************************************************************************************************/
|
|
49851
49854
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49852
49855
|
|
|
49853
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49856
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49854
49857
|
const rcompare = (a, b, loose) => compare(b, a, loose)
|
|
49855
49858
|
module.exports = rcompare
|
|
49856
49859
|
|
|
49857
49860
|
|
|
49858
49861
|
/***/ }),
|
|
49859
49862
|
|
|
49860
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49863
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rsort.js":
|
|
49861
49864
|
/*!************************************************************************************************!*\
|
|
49862
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49865
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rsort.js ***!
|
|
49863
49866
|
\************************************************************************************************/
|
|
49864
49867
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49865
49868
|
|
|
49866
|
-
const compareBuild = __webpack_require__(/*! ./compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49869
|
+
const compareBuild = __webpack_require__(/*! ./compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js")
|
|
49867
49870
|
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))
|
|
49868
49871
|
module.exports = rsort
|
|
49869
49872
|
|
|
49870
49873
|
|
|
49871
49874
|
/***/ }),
|
|
49872
49875
|
|
|
49873
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49876
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js":
|
|
49874
49877
|
/*!****************************************************************************************************!*\
|
|
49875
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49878
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js ***!
|
|
49876
49879
|
\****************************************************************************************************/
|
|
49877
49880
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49878
49881
|
|
|
49879
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49882
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
49880
49883
|
const satisfies = (version, range, options) => {
|
|
49881
49884
|
try {
|
|
49882
49885
|
range = new Range(range, options)
|
|
@@ -49890,26 +49893,26 @@ module.exports = satisfies
|
|
|
49890
49893
|
|
|
49891
49894
|
/***/ }),
|
|
49892
49895
|
|
|
49893
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49896
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/sort.js":
|
|
49894
49897
|
/*!***********************************************************************************************!*\
|
|
49895
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49898
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/sort.js ***!
|
|
49896
49899
|
\***********************************************************************************************/
|
|
49897
49900
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49898
49901
|
|
|
49899
|
-
const compareBuild = __webpack_require__(/*! ./compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49902
|
+
const compareBuild = __webpack_require__(/*! ./compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js")
|
|
49900
49903
|
const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))
|
|
49901
49904
|
module.exports = sort
|
|
49902
49905
|
|
|
49903
49906
|
|
|
49904
49907
|
/***/ }),
|
|
49905
49908
|
|
|
49906
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49909
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/valid.js":
|
|
49907
49910
|
/*!************************************************************************************************!*\
|
|
49908
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49911
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/valid.js ***!
|
|
49909
49912
|
\************************************************************************************************/
|
|
49910
49913
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49911
49914
|
|
|
49912
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49915
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49913
49916
|
const valid = (version, options) => {
|
|
49914
49917
|
const v = parse(version, options)
|
|
49915
49918
|
return v ? v.version : null
|
|
@@ -49919,67 +49922,107 @@ module.exports = valid
|
|
|
49919
49922
|
|
|
49920
49923
|
/***/ }),
|
|
49921
49924
|
|
|
49922
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49925
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/index.js":
|
|
49923
49926
|
/*!**************************************************************************************!*\
|
|
49924
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49927
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/index.js ***!
|
|
49925
49928
|
\**************************************************************************************/
|
|
49926
49929
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49927
49930
|
|
|
49928
49931
|
// just pre-load all the stuff that index.js lazily exports
|
|
49929
|
-
const internalRe = __webpack_require__(/*! ./internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49932
|
+
const internalRe = __webpack_require__(/*! ./internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
49933
|
+
const constants = __webpack_require__(/*! ./internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js")
|
|
49934
|
+
const SemVer = __webpack_require__(/*! ./classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49935
|
+
const identifiers = __webpack_require__(/*! ./internal/identifiers */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js")
|
|
49936
|
+
const parse = __webpack_require__(/*! ./functions/parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49937
|
+
const valid = __webpack_require__(/*! ./functions/valid */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/valid.js")
|
|
49938
|
+
const clean = __webpack_require__(/*! ./functions/clean */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/clean.js")
|
|
49939
|
+
const inc = __webpack_require__(/*! ./functions/inc */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/inc.js")
|
|
49940
|
+
const diff = __webpack_require__(/*! ./functions/diff */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/diff.js")
|
|
49941
|
+
const major = __webpack_require__(/*! ./functions/major */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/major.js")
|
|
49942
|
+
const minor = __webpack_require__(/*! ./functions/minor */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/minor.js")
|
|
49943
|
+
const patch = __webpack_require__(/*! ./functions/patch */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/patch.js")
|
|
49944
|
+
const prerelease = __webpack_require__(/*! ./functions/prerelease */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/prerelease.js")
|
|
49945
|
+
const compare = __webpack_require__(/*! ./functions/compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49946
|
+
const rcompare = __webpack_require__(/*! ./functions/rcompare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rcompare.js")
|
|
49947
|
+
const compareLoose = __webpack_require__(/*! ./functions/compare-loose */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-loose.js")
|
|
49948
|
+
const compareBuild = __webpack_require__(/*! ./functions/compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js")
|
|
49949
|
+
const sort = __webpack_require__(/*! ./functions/sort */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/sort.js")
|
|
49950
|
+
const rsort = __webpack_require__(/*! ./functions/rsort */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rsort.js")
|
|
49951
|
+
const gt = __webpack_require__(/*! ./functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js")
|
|
49952
|
+
const lt = __webpack_require__(/*! ./functions/lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js")
|
|
49953
|
+
const eq = __webpack_require__(/*! ./functions/eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js")
|
|
49954
|
+
const neq = __webpack_require__(/*! ./functions/neq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/neq.js")
|
|
49955
|
+
const gte = __webpack_require__(/*! ./functions/gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js")
|
|
49956
|
+
const lte = __webpack_require__(/*! ./functions/lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js")
|
|
49957
|
+
const cmp = __webpack_require__(/*! ./functions/cmp */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js")
|
|
49958
|
+
const coerce = __webpack_require__(/*! ./functions/coerce */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/coerce.js")
|
|
49959
|
+
const Comparator = __webpack_require__(/*! ./classes/comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js")
|
|
49960
|
+
const Range = __webpack_require__(/*! ./classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
49961
|
+
const satisfies = __webpack_require__(/*! ./functions/satisfies */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js")
|
|
49962
|
+
const toComparators = __webpack_require__(/*! ./ranges/to-comparators */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/to-comparators.js")
|
|
49963
|
+
const maxSatisfying = __webpack_require__(/*! ./ranges/max-satisfying */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/max-satisfying.js")
|
|
49964
|
+
const minSatisfying = __webpack_require__(/*! ./ranges/min-satisfying */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-satisfying.js")
|
|
49965
|
+
const minVersion = __webpack_require__(/*! ./ranges/min-version */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-version.js")
|
|
49966
|
+
const validRange = __webpack_require__(/*! ./ranges/valid */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/valid.js")
|
|
49967
|
+
const outside = __webpack_require__(/*! ./ranges/outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js")
|
|
49968
|
+
const gtr = __webpack_require__(/*! ./ranges/gtr */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/gtr.js")
|
|
49969
|
+
const ltr = __webpack_require__(/*! ./ranges/ltr */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/ltr.js")
|
|
49970
|
+
const intersects = __webpack_require__(/*! ./ranges/intersects */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/intersects.js")
|
|
49971
|
+
const simplifyRange = __webpack_require__(/*! ./ranges/simplify */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/simplify.js")
|
|
49972
|
+
const subset = __webpack_require__(/*! ./ranges/subset */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/subset.js")
|
|
49930
49973
|
module.exports = {
|
|
49974
|
+
parse,
|
|
49975
|
+
valid,
|
|
49976
|
+
clean,
|
|
49977
|
+
inc,
|
|
49978
|
+
diff,
|
|
49979
|
+
major,
|
|
49980
|
+
minor,
|
|
49981
|
+
patch,
|
|
49982
|
+
prerelease,
|
|
49983
|
+
compare,
|
|
49984
|
+
rcompare,
|
|
49985
|
+
compareLoose,
|
|
49986
|
+
compareBuild,
|
|
49987
|
+
sort,
|
|
49988
|
+
rsort,
|
|
49989
|
+
gt,
|
|
49990
|
+
lt,
|
|
49991
|
+
eq,
|
|
49992
|
+
neq,
|
|
49993
|
+
gte,
|
|
49994
|
+
lte,
|
|
49995
|
+
cmp,
|
|
49996
|
+
coerce,
|
|
49997
|
+
Comparator,
|
|
49998
|
+
Range,
|
|
49999
|
+
satisfies,
|
|
50000
|
+
toComparators,
|
|
50001
|
+
maxSatisfying,
|
|
50002
|
+
minSatisfying,
|
|
50003
|
+
minVersion,
|
|
50004
|
+
validRange,
|
|
50005
|
+
outside,
|
|
50006
|
+
gtr,
|
|
50007
|
+
ltr,
|
|
50008
|
+
intersects,
|
|
50009
|
+
simplifyRange,
|
|
50010
|
+
subset,
|
|
50011
|
+
SemVer,
|
|
49931
50012
|
re: internalRe.re,
|
|
49932
50013
|
src: internalRe.src,
|
|
49933
50014
|
tokens: internalRe.t,
|
|
49934
|
-
SEMVER_SPEC_VERSION:
|
|
49935
|
-
|
|
49936
|
-
|
|
49937
|
-
rcompareIdentifiers: (__webpack_require__(/*! ./internal/identifiers */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/identifiers.js").rcompareIdentifiers),
|
|
49938
|
-
parse: __webpack_require__(/*! ./functions/parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/parse.js"),
|
|
49939
|
-
valid: __webpack_require__(/*! ./functions/valid */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/valid.js"),
|
|
49940
|
-
clean: __webpack_require__(/*! ./functions/clean */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/clean.js"),
|
|
49941
|
-
inc: __webpack_require__(/*! ./functions/inc */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/inc.js"),
|
|
49942
|
-
diff: __webpack_require__(/*! ./functions/diff */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/diff.js"),
|
|
49943
|
-
major: __webpack_require__(/*! ./functions/major */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/major.js"),
|
|
49944
|
-
minor: __webpack_require__(/*! ./functions/minor */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/minor.js"),
|
|
49945
|
-
patch: __webpack_require__(/*! ./functions/patch */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/patch.js"),
|
|
49946
|
-
prerelease: __webpack_require__(/*! ./functions/prerelease */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/prerelease.js"),
|
|
49947
|
-
compare: __webpack_require__(/*! ./functions/compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare.js"),
|
|
49948
|
-
rcompare: __webpack_require__(/*! ./functions/rcompare */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rcompare.js"),
|
|
49949
|
-
compareLoose: __webpack_require__(/*! ./functions/compare-loose */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-loose.js"),
|
|
49950
|
-
compareBuild: __webpack_require__(/*! ./functions/compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-build.js"),
|
|
49951
|
-
sort: __webpack_require__(/*! ./functions/sort */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/sort.js"),
|
|
49952
|
-
rsort: __webpack_require__(/*! ./functions/rsort */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rsort.js"),
|
|
49953
|
-
gt: __webpack_require__(/*! ./functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gt.js"),
|
|
49954
|
-
lt: __webpack_require__(/*! ./functions/lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lt.js"),
|
|
49955
|
-
eq: __webpack_require__(/*! ./functions/eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/eq.js"),
|
|
49956
|
-
neq: __webpack_require__(/*! ./functions/neq */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/neq.js"),
|
|
49957
|
-
gte: __webpack_require__(/*! ./functions/gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gte.js"),
|
|
49958
|
-
lte: __webpack_require__(/*! ./functions/lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lte.js"),
|
|
49959
|
-
cmp: __webpack_require__(/*! ./functions/cmp */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/cmp.js"),
|
|
49960
|
-
coerce: __webpack_require__(/*! ./functions/coerce */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/coerce.js"),
|
|
49961
|
-
Comparator: __webpack_require__(/*! ./classes/comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/comparator.js"),
|
|
49962
|
-
Range: __webpack_require__(/*! ./classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/range.js"),
|
|
49963
|
-
satisfies: __webpack_require__(/*! ./functions/satisfies */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/satisfies.js"),
|
|
49964
|
-
toComparators: __webpack_require__(/*! ./ranges/to-comparators */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/to-comparators.js"),
|
|
49965
|
-
maxSatisfying: __webpack_require__(/*! ./ranges/max-satisfying */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/max-satisfying.js"),
|
|
49966
|
-
minSatisfying: __webpack_require__(/*! ./ranges/min-satisfying */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-satisfying.js"),
|
|
49967
|
-
minVersion: __webpack_require__(/*! ./ranges/min-version */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-version.js"),
|
|
49968
|
-
validRange: __webpack_require__(/*! ./ranges/valid */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/valid.js"),
|
|
49969
|
-
outside: __webpack_require__(/*! ./ranges/outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/outside.js"),
|
|
49970
|
-
gtr: __webpack_require__(/*! ./ranges/gtr */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/gtr.js"),
|
|
49971
|
-
ltr: __webpack_require__(/*! ./ranges/ltr */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/ltr.js"),
|
|
49972
|
-
intersects: __webpack_require__(/*! ./ranges/intersects */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/intersects.js"),
|
|
49973
|
-
simplifyRange: __webpack_require__(/*! ./ranges/simplify */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/simplify.js"),
|
|
49974
|
-
subset: __webpack_require__(/*! ./ranges/subset */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/subset.js"),
|
|
50015
|
+
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
|
50016
|
+
compareIdentifiers: identifiers.compareIdentifiers,
|
|
50017
|
+
rcompareIdentifiers: identifiers.rcompareIdentifiers,
|
|
49975
50018
|
}
|
|
49976
50019
|
|
|
49977
50020
|
|
|
49978
50021
|
/***/ }),
|
|
49979
50022
|
|
|
49980
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50023
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js":
|
|
49981
50024
|
/*!***************************************************************************************************!*\
|
|
49982
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50025
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js ***!
|
|
49983
50026
|
\***************************************************************************************************/
|
|
49984
50027
|
/***/ ((module) => {
|
|
49985
50028
|
|
|
@@ -50004,9 +50047,9 @@ module.exports = {
|
|
|
50004
50047
|
|
|
50005
50048
|
/***/ }),
|
|
50006
50049
|
|
|
50007
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50050
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js":
|
|
50008
50051
|
/*!***********************************************************************************************!*\
|
|
50009
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50052
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js ***!
|
|
50010
50053
|
\***********************************************************************************************/
|
|
50011
50054
|
/***/ ((module) => {
|
|
50012
50055
|
|
|
@@ -50023,9 +50066,9 @@ module.exports = debug
|
|
|
50023
50066
|
|
|
50024
50067
|
/***/ }),
|
|
50025
50068
|
|
|
50026
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50069
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js":
|
|
50027
50070
|
/*!*****************************************************************************************************!*\
|
|
50028
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50071
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js ***!
|
|
50029
50072
|
\*****************************************************************************************************/
|
|
50030
50073
|
/***/ ((module) => {
|
|
50031
50074
|
|
|
@@ -50056,9 +50099,9 @@ module.exports = {
|
|
|
50056
50099
|
|
|
50057
50100
|
/***/ }),
|
|
50058
50101
|
|
|
50059
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50102
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js":
|
|
50060
50103
|
/*!*******************************************************************************************************!*\
|
|
50061
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50104
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js ***!
|
|
50062
50105
|
\*******************************************************************************************************/
|
|
50063
50106
|
/***/ ((module) => {
|
|
50064
50107
|
|
|
@@ -50077,14 +50120,14 @@ module.exports = parseOptions
|
|
|
50077
50120
|
|
|
50078
50121
|
/***/ }),
|
|
50079
50122
|
|
|
50080
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50123
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js":
|
|
50081
50124
|
/*!********************************************************************************************!*\
|
|
50082
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50125
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js ***!
|
|
50083
50126
|
\********************************************************************************************/
|
|
50084
50127
|
/***/ ((module, exports, __webpack_require__) => {
|
|
50085
50128
|
|
|
50086
|
-
const { MAX_SAFE_COMPONENT_LENGTH } = __webpack_require__(/*! ./constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50087
|
-
const debug = __webpack_require__(/*! ./debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50129
|
+
const { MAX_SAFE_COMPONENT_LENGTH } = __webpack_require__(/*! ./constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js")
|
|
50130
|
+
const debug = __webpack_require__(/*! ./debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js")
|
|
50088
50131
|
exports = module.exports = {}
|
|
50089
50132
|
|
|
50090
50133
|
// The actual regexps go on exports.re
|
|
@@ -50269,27 +50312,27 @@ createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$')
|
|
|
50269
50312
|
|
|
50270
50313
|
/***/ }),
|
|
50271
50314
|
|
|
50272
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50315
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/gtr.js":
|
|
50273
50316
|
/*!*******************************************************************************************!*\
|
|
50274
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50317
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/gtr.js ***!
|
|
50275
50318
|
\*******************************************************************************************/
|
|
50276
50319
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50277
50320
|
|
|
50278
50321
|
// Determine if version is greater than all the versions possible in the range.
|
|
50279
|
-
const outside = __webpack_require__(/*! ./outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50322
|
+
const outside = __webpack_require__(/*! ./outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js")
|
|
50280
50323
|
const gtr = (version, range, options) => outside(version, range, '>', options)
|
|
50281
50324
|
module.exports = gtr
|
|
50282
50325
|
|
|
50283
50326
|
|
|
50284
50327
|
/***/ }),
|
|
50285
50328
|
|
|
50286
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50329
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/intersects.js":
|
|
50287
50330
|
/*!**************************************************************************************************!*\
|
|
50288
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50331
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/intersects.js ***!
|
|
50289
50332
|
\**************************************************************************************************/
|
|
50290
50333
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50291
50334
|
|
|
50292
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50335
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50293
50336
|
const intersects = (r1, r2, options) => {
|
|
50294
50337
|
r1 = new Range(r1, options)
|
|
50295
50338
|
r2 = new Range(r2, options)
|
|
@@ -50300,13 +50343,13 @@ module.exports = intersects
|
|
|
50300
50343
|
|
|
50301
50344
|
/***/ }),
|
|
50302
50345
|
|
|
50303
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50346
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/ltr.js":
|
|
50304
50347
|
/*!*******************************************************************************************!*\
|
|
50305
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50348
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/ltr.js ***!
|
|
50306
50349
|
\*******************************************************************************************/
|
|
50307
50350
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50308
50351
|
|
|
50309
|
-
const outside = __webpack_require__(/*! ./outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50352
|
+
const outside = __webpack_require__(/*! ./outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js")
|
|
50310
50353
|
// Determine if version is less than all the versions possible in the range
|
|
50311
50354
|
const ltr = (version, range, options) => outside(version, range, '<', options)
|
|
50312
50355
|
module.exports = ltr
|
|
@@ -50314,14 +50357,14 @@ module.exports = ltr
|
|
|
50314
50357
|
|
|
50315
50358
|
/***/ }),
|
|
50316
50359
|
|
|
50317
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50360
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/max-satisfying.js":
|
|
50318
50361
|
/*!******************************************************************************************************!*\
|
|
50319
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50362
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/max-satisfying.js ***!
|
|
50320
50363
|
\******************************************************************************************************/
|
|
50321
50364
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50322
50365
|
|
|
50323
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50324
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50366
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
50367
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50325
50368
|
|
|
50326
50369
|
const maxSatisfying = (versions, range, options) => {
|
|
50327
50370
|
let max = null
|
|
@@ -50349,14 +50392,14 @@ module.exports = maxSatisfying
|
|
|
50349
50392
|
|
|
50350
50393
|
/***/ }),
|
|
50351
50394
|
|
|
50352
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50395
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-satisfying.js":
|
|
50353
50396
|
/*!******************************************************************************************************!*\
|
|
50354
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50397
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-satisfying.js ***!
|
|
50355
50398
|
\******************************************************************************************************/
|
|
50356
50399
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50357
50400
|
|
|
50358
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50359
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50401
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
50402
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50360
50403
|
const minSatisfying = (versions, range, options) => {
|
|
50361
50404
|
let min = null
|
|
50362
50405
|
let minSV = null
|
|
@@ -50383,15 +50426,15 @@ module.exports = minSatisfying
|
|
|
50383
50426
|
|
|
50384
50427
|
/***/ }),
|
|
50385
50428
|
|
|
50386
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50429
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-version.js":
|
|
50387
50430
|
/*!***************************************************************************************************!*\
|
|
50388
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50431
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-version.js ***!
|
|
50389
50432
|
\***************************************************************************************************/
|
|
50390
50433
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50391
50434
|
|
|
50392
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50393
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50394
|
-
const gt = __webpack_require__(/*! ../functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50435
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
50436
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50437
|
+
const gt = __webpack_require__(/*! ../functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js")
|
|
50395
50438
|
|
|
50396
50439
|
const minVersion = (range, loose) => {
|
|
50397
50440
|
range = new Range(range, loose)
|
|
@@ -50454,21 +50497,21 @@ module.exports = minVersion
|
|
|
50454
50497
|
|
|
50455
50498
|
/***/ }),
|
|
50456
50499
|
|
|
50457
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50500
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js":
|
|
50458
50501
|
/*!***********************************************************************************************!*\
|
|
50459
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50502
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js ***!
|
|
50460
50503
|
\***********************************************************************************************/
|
|
50461
50504
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50462
50505
|
|
|
50463
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50464
|
-
const Comparator = __webpack_require__(/*! ../classes/comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50506
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
50507
|
+
const Comparator = __webpack_require__(/*! ../classes/comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js")
|
|
50465
50508
|
const { ANY } = Comparator
|
|
50466
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50467
|
-
const satisfies = __webpack_require__(/*! ../functions/satisfies */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50468
|
-
const gt = __webpack_require__(/*! ../functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50469
|
-
const lt = __webpack_require__(/*! ../functions/lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50470
|
-
const lte = __webpack_require__(/*! ../functions/lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50471
|
-
const gte = __webpack_require__(/*! ../functions/gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50509
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50510
|
+
const satisfies = __webpack_require__(/*! ../functions/satisfies */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js")
|
|
50511
|
+
const gt = __webpack_require__(/*! ../functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js")
|
|
50512
|
+
const lt = __webpack_require__(/*! ../functions/lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js")
|
|
50513
|
+
const lte = __webpack_require__(/*! ../functions/lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js")
|
|
50514
|
+
const gte = __webpack_require__(/*! ../functions/gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js")
|
|
50472
50515
|
|
|
50473
50516
|
const outside = (version, range, hilo, options) => {
|
|
50474
50517
|
version = new SemVer(version, options)
|
|
@@ -50544,17 +50587,17 @@ module.exports = outside
|
|
|
50544
50587
|
|
|
50545
50588
|
/***/ }),
|
|
50546
50589
|
|
|
50547
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50590
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/simplify.js":
|
|
50548
50591
|
/*!************************************************************************************************!*\
|
|
50549
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50592
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/simplify.js ***!
|
|
50550
50593
|
\************************************************************************************************/
|
|
50551
50594
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50552
50595
|
|
|
50553
50596
|
// given a set of versions and a range, create a "simplified" range
|
|
50554
50597
|
// that includes the same versions that the original range does
|
|
50555
50598
|
// If the original range is shorter than the simplified one, return that.
|
|
50556
|
-
const satisfies = __webpack_require__(/*! ../functions/satisfies.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50557
|
-
const compare = __webpack_require__(/*! ../functions/compare.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50599
|
+
const satisfies = __webpack_require__(/*! ../functions/satisfies.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js")
|
|
50600
|
+
const compare = __webpack_require__(/*! ../functions/compare.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
50558
50601
|
module.exports = (versions, range, options) => {
|
|
50559
50602
|
const set = []
|
|
50560
50603
|
let first = null
|
|
@@ -50601,17 +50644,17 @@ module.exports = (versions, range, options) => {
|
|
|
50601
50644
|
|
|
50602
50645
|
/***/ }),
|
|
50603
50646
|
|
|
50604
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50647
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/subset.js":
|
|
50605
50648
|
/*!**********************************************************************************************!*\
|
|
50606
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50649
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/subset.js ***!
|
|
50607
50650
|
\**********************************************************************************************/
|
|
50608
50651
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50609
50652
|
|
|
50610
|
-
const Range = __webpack_require__(/*! ../classes/range.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50611
|
-
const Comparator = __webpack_require__(/*! ../classes/comparator.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50653
|
+
const Range = __webpack_require__(/*! ../classes/range.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50654
|
+
const Comparator = __webpack_require__(/*! ../classes/comparator.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js")
|
|
50612
50655
|
const { ANY } = Comparator
|
|
50613
|
-
const satisfies = __webpack_require__(/*! ../functions/satisfies.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50614
|
-
const compare = __webpack_require__(/*! ../functions/compare.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50656
|
+
const satisfies = __webpack_require__(/*! ../functions/satisfies.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js")
|
|
50657
|
+
const compare = __webpack_require__(/*! ../functions/compare.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
50615
50658
|
|
|
50616
50659
|
// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:
|
|
50617
50660
|
// - Every simple range `r1, r2, ...` is a null set, OR
|
|
@@ -50855,13 +50898,13 @@ module.exports = subset
|
|
|
50855
50898
|
|
|
50856
50899
|
/***/ }),
|
|
50857
50900
|
|
|
50858
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50901
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/to-comparators.js":
|
|
50859
50902
|
/*!******************************************************************************************************!*\
|
|
50860
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50903
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/to-comparators.js ***!
|
|
50861
50904
|
\******************************************************************************************************/
|
|
50862
50905
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50863
50906
|
|
|
50864
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50907
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50865
50908
|
|
|
50866
50909
|
// Mostly just for testing and legacy API reasons
|
|
50867
50910
|
const toComparators = (range, options) =>
|
|
@@ -50873,13 +50916,13 @@ module.exports = toComparators
|
|
|
50873
50916
|
|
|
50874
50917
|
/***/ }),
|
|
50875
50918
|
|
|
50876
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50919
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/valid.js":
|
|
50877
50920
|
/*!*********************************************************************************************!*\
|
|
50878
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50921
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/valid.js ***!
|
|
50879
50922
|
\*********************************************************************************************/
|
|
50880
50923
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50881
50924
|
|
|
50882
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50925
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50883
50926
|
const validRange = (range, options) => {
|
|
50884
50927
|
try {
|
|
50885
50928
|
// Return '*' instead of '' so that truthiness works.
|
|
@@ -63819,6 +63862,16 @@ var Base64EncodedString;
|
|
|
63819
63862
|
value = fromUint8Array(value);
|
|
63820
63863
|
return value;
|
|
63821
63864
|
};
|
|
63865
|
+
/* Encode a string into a Base64EncodedString. */
|
|
63866
|
+
function encode(src, urlSafe) {
|
|
63867
|
+
return js_base64__WEBPACK_IMPORTED_MODULE_0__.Base64.encode(src, urlSafe);
|
|
63868
|
+
}
|
|
63869
|
+
Base64EncodedString.encode = encode;
|
|
63870
|
+
/* Decode a Base64EncodedString into a string. */
|
|
63871
|
+
function decode(src) {
|
|
63872
|
+
return js_base64__WEBPACK_IMPORTED_MODULE_0__.Base64.decode(src);
|
|
63873
|
+
}
|
|
63874
|
+
Base64EncodedString.decode = decode;
|
|
63822
63875
|
})(Base64EncodedString || (Base64EncodedString = {}));
|
|
63823
63876
|
|
|
63824
63877
|
|
|
@@ -75862,7 +75915,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
75862
75915
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
75863
75916
|
/* harmony export */ "RpcInterface": () => (/* binding */ RpcInterface)
|
|
75864
75917
|
/* harmony export */ });
|
|
75865
|
-
/* harmony import */ var semver__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
75918
|
+
/* harmony import */ var semver__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/index.js");
|
|
75866
75919
|
/* harmony import */ var semver__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(semver__WEBPACK_IMPORTED_MODULE_0__);
|
|
75867
75920
|
/* harmony import */ var _rpc_core_RpcConfiguration__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./rpc/core/RpcConfiguration */ "../../core/common/lib/esm/rpc/core/RpcConfiguration.js");
|
|
75868
75921
|
/* harmony import */ var _rpc_core_RpcRegistry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./rpc/core/RpcRegistry */ "../../core/common/lib/esm/rpc/core/RpcRegistry.js");
|
|
@@ -104737,17 +104790,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
104737
104790
|
/* harmony import */ var _SheetViewState__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./SheetViewState */ "../../core/frontend/lib/esm/SheetViewState.js");
|
|
104738
104791
|
/* harmony import */ var _SpatialViewState__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./SpatialViewState */ "../../core/frontend/lib/esm/SpatialViewState.js");
|
|
104739
104792
|
/* harmony import */ var _TentativePoint__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./TentativePoint */ "../../core/frontend/lib/esm/TentativePoint.js");
|
|
104740
|
-
/* harmony import */ var
|
|
104741
|
-
/* harmony import */ var
|
|
104742
|
-
/* harmony import */ var
|
|
104743
|
-
/* harmony import */ var
|
|
104744
|
-
/* harmony import */ var
|
|
104745
|
-
/* harmony import */ var
|
|
104746
|
-
/* harmony import */ var
|
|
104747
|
-
/* harmony import */ var
|
|
104748
|
-
/* harmony import */ var
|
|
104749
|
-
/* harmony import */ var
|
|
104750
|
-
/* harmony import */ var
|
|
104793
|
+
/* harmony import */ var _RealityDataSource__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./RealityDataSource */ "../../core/frontend/lib/esm/RealityDataSource.js");
|
|
104794
|
+
/* harmony import */ var _tile_internal__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./tile/internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
104795
|
+
/* harmony import */ var _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./tools/AccuDrawTool */ "../../core/frontend/lib/esm/tools/AccuDrawTool.js");
|
|
104796
|
+
/* harmony import */ var _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./tools/ClipViewTool */ "../../core/frontend/lib/esm/tools/ClipViewTool.js");
|
|
104797
|
+
/* harmony import */ var _tools_IdleTool__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./tools/IdleTool */ "../../core/frontend/lib/esm/tools/IdleTool.js");
|
|
104798
|
+
/* harmony import */ var _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./tools/MeasureTool */ "../../core/frontend/lib/esm/tools/MeasureTool.js");
|
|
104799
|
+
/* harmony import */ var _tools_SelectTool__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./tools/SelectTool */ "../../core/frontend/lib/esm/tools/SelectTool.js");
|
|
104800
|
+
/* harmony import */ var _tools_Tool__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./tools/Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
104801
|
+
/* harmony import */ var _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./tools/ToolAdmin */ "../../core/frontend/lib/esm/tools/ToolAdmin.js");
|
|
104802
|
+
/* harmony import */ var _tools_ViewTool__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./tools/ViewTool */ "../../core/frontend/lib/esm/tools/ViewTool.js");
|
|
104803
|
+
/* harmony import */ var _ViewManager__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./ViewManager */ "../../core/frontend/lib/esm/ViewManager.js");
|
|
104804
|
+
/* harmony import */ var _ViewState__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./ViewState */ "../../core/frontend/lib/esm/ViewState.js");
|
|
104751
104805
|
/*---------------------------------------------------------------------------------------------
|
|
104752
104806
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
104753
104807
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -104794,6 +104848,7 @@ const COPYRIGHT_NOTICE = 'Copyright © 2017-2022 <a href="https://www.bentley.co
|
|
|
104794
104848
|
|
|
104795
104849
|
|
|
104796
104850
|
|
|
104851
|
+
|
|
104797
104852
|
|
|
104798
104853
|
|
|
104799
104854
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
@@ -104818,6 +104873,10 @@ class IModelApp {
|
|
|
104818
104873
|
* @beta
|
|
104819
104874
|
*/
|
|
104820
104875
|
static get terrainProviderRegistry() { return this._terrainProviderRegistry; }
|
|
104876
|
+
/** The [[RealityDataSourceProviderRegistry]] for this session.
|
|
104877
|
+
* @alpha
|
|
104878
|
+
*/
|
|
104879
|
+
static get realityDataSourceProviders() { return this._realityDataSourceProviders; }
|
|
104821
104880
|
/** The [[RenderSystem]] for this session. */
|
|
104822
104881
|
static get renderSystem() { return this._renderSystem; }
|
|
104823
104882
|
/** The [[ViewManager]] for this session. */
|
|
@@ -104932,18 +104991,18 @@ class IModelApp {
|
|
|
104932
104991
|
const toolsNs = "CoreTools";
|
|
104933
104992
|
await this.localization.initialize(["iModelJs", toolsNs]);
|
|
104934
104993
|
[
|
|
104935
|
-
|
|
104936
|
-
|
|
104937
|
-
|
|
104938
|
-
|
|
104939
|
-
|
|
104940
|
-
|
|
104994
|
+
_tools_SelectTool__WEBPACK_IMPORTED_MODULE_31__,
|
|
104995
|
+
_tools_IdleTool__WEBPACK_IMPORTED_MODULE_29__,
|
|
104996
|
+
_tools_ViewTool__WEBPACK_IMPORTED_MODULE_34__,
|
|
104997
|
+
_tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_28__,
|
|
104998
|
+
_tools_MeasureTool__WEBPACK_IMPORTED_MODULE_30__,
|
|
104999
|
+
_tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_27__,
|
|
104941
105000
|
].forEach((tool) => this.tools.registerModule(tool, toolsNs));
|
|
104942
105001
|
this.registerEntityState(_EntityState__WEBPACK_IMPORTED_MODULE_14__.EntityState.classFullName, _EntityState__WEBPACK_IMPORTED_MODULE_14__.EntityState);
|
|
104943
105002
|
[
|
|
104944
105003
|
_ModelState__WEBPACK_IMPORTED_MODULE_17__,
|
|
104945
105004
|
_SheetViewState__WEBPACK_IMPORTED_MODULE_22__,
|
|
104946
|
-
|
|
105005
|
+
_ViewState__WEBPACK_IMPORTED_MODULE_36__,
|
|
104947
105006
|
_DrawingViewState__WEBPACK_IMPORTED_MODULE_12__,
|
|
104948
105007
|
_SpatialViewState__WEBPACK_IMPORTED_MODULE_23__,
|
|
104949
105008
|
_DisplayStyleState__WEBPACK_IMPORTED_MODULE_11__,
|
|
@@ -104954,18 +105013,19 @@ class IModelApp {
|
|
|
104954
105013
|
this._renderSystem = (opts.renderSys instanceof _render_RenderSystem__WEBPACK_IMPORTED_MODULE_20__.RenderSystem) ? opts.renderSys : this.createRenderSys(opts.renderSys);
|
|
104955
105014
|
if (opts.userPreferences)
|
|
104956
105015
|
this._userPreferences = opts.userPreferences;
|
|
104957
|
-
this._viewManager = (_h = opts.viewManager) !== null && _h !== void 0 ? _h : new
|
|
104958
|
-
this._tileAdmin = await
|
|
105016
|
+
this._viewManager = (_h = opts.viewManager) !== null && _h !== void 0 ? _h : new _ViewManager__WEBPACK_IMPORTED_MODULE_35__.ViewManager();
|
|
105017
|
+
this._tileAdmin = await _tile_internal__WEBPACK_IMPORTED_MODULE_26__.TileAdmin.create(opts.tileAdmin);
|
|
104959
105018
|
this._notifications = (_j = opts.notifications) !== null && _j !== void 0 ? _j : new _NotificationManager__WEBPACK_IMPORTED_MODULE_18__.NotificationManager();
|
|
104960
|
-
this._toolAdmin = (_k = opts.toolAdmin) !== null && _k !== void 0 ? _k : new
|
|
105019
|
+
this._toolAdmin = (_k = opts.toolAdmin) !== null && _k !== void 0 ? _k : new _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_33__.ToolAdmin();
|
|
104961
105020
|
this._accuDraw = (_l = opts.accuDraw) !== null && _l !== void 0 ? _l : new _AccuDraw__WEBPACK_IMPORTED_MODULE_6__.AccuDraw();
|
|
104962
105021
|
this._accuSnap = (_m = opts.accuSnap) !== null && _m !== void 0 ? _m : new _AccuSnap__WEBPACK_IMPORTED_MODULE_7__.AccuSnap();
|
|
104963
105022
|
this._locateManager = (_o = opts.locateManager) !== null && _o !== void 0 ? _o : new _ElementLocateManager__WEBPACK_IMPORTED_MODULE_13__.ElementLocateManager();
|
|
104964
105023
|
this._tentativePoint = (_p = opts.tentativePoint) !== null && _p !== void 0 ? _p : new _TentativePoint__WEBPACK_IMPORTED_MODULE_24__.TentativePoint();
|
|
104965
105024
|
this._quantityFormatter = (_q = opts.quantityFormatter) !== null && _q !== void 0 ? _q : new _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_19__.QuantityFormatter();
|
|
104966
105025
|
this._uiAdmin = (_r = opts.uiAdmin) !== null && _r !== void 0 ? _r : new _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_0__.UiAdmin();
|
|
104967
|
-
this._mapLayerFormatRegistry = new
|
|
104968
|
-
this._terrainProviderRegistry = new
|
|
105026
|
+
this._mapLayerFormatRegistry = new _tile_internal__WEBPACK_IMPORTED_MODULE_26__.MapLayerFormatRegistry(opts.mapLayerOptions);
|
|
105027
|
+
this._terrainProviderRegistry = new _tile_internal__WEBPACK_IMPORTED_MODULE_26__.TerrainProviderRegistry();
|
|
105028
|
+
this._realityDataSourceProviders = new _RealityDataSource__WEBPACK_IMPORTED_MODULE_25__.RealityDataSourceProviderRegistry();
|
|
104969
105029
|
this._realityDataAccess = opts.realityDataAccess;
|
|
104970
105030
|
this._publicPath = (_s = opts.publicPath) !== null && _s !== void 0 ? _s : "";
|
|
104971
105031
|
[
|
|
@@ -105067,7 +105127,7 @@ class IModelApp {
|
|
|
105067
105127
|
IModelApp.tileAdmin.process();
|
|
105068
105128
|
}
|
|
105069
105129
|
catch (exception) {
|
|
105070
|
-
|
|
105130
|
+
_tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_33__.ToolAdmin.exceptionHandler(exception); // eslint-disable-line @typescript-eslint/no-floating-promises
|
|
105071
105131
|
IModelApp._wantEventLoop = false;
|
|
105072
105132
|
IModelApp._animationRequested = true; // unrecoverable after exception, don't request any further frames.
|
|
105073
105133
|
window.removeEventListener("resize", IModelApp.requestNextAnimation);
|
|
@@ -105269,7 +105329,7 @@ IModelApp.onBeforeShutdown = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1_
|
|
|
105269
105329
|
*/
|
|
105270
105330
|
IModelApp.onAfterStartup = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1__.BeEvent();
|
|
105271
105331
|
/** The [[ToolRegistry]] for this session. */
|
|
105272
|
-
IModelApp.tools = new
|
|
105332
|
+
IModelApp.tools = new _tools_Tool__WEBPACK_IMPORTED_MODULE_32__.ToolRegistry();
|
|
105273
105333
|
/** The [[TelemetryManager]] for this session
|
|
105274
105334
|
* @internal
|
|
105275
105335
|
*/
|
|
@@ -109008,7 +109068,8 @@ class PlanarClipMaskState {
|
|
|
109008
109068
|
__webpack_require__.r(__webpack_exports__);
|
|
109009
109069
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
109010
109070
|
/* harmony export */ "RealityDataError": () => (/* binding */ RealityDataError),
|
|
109011
|
-
/* harmony export */ "RealityDataSource": () => (/* binding */ RealityDataSource)
|
|
109071
|
+
/* harmony export */ "RealityDataSource": () => (/* binding */ RealityDataSource),
|
|
109072
|
+
/* harmony export */ "RealityDataSourceProviderRegistry": () => (/* binding */ RealityDataSourceProviderRegistry)
|
|
109012
109073
|
/* harmony export */ });
|
|
109013
109074
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
109014
109075
|
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
@@ -109017,6 +109078,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
109017
109078
|
/* harmony import */ var _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RealityDataSourceTilesetUrlImpl */ "../../core/frontend/lib/esm/RealityDataSourceTilesetUrlImpl.js");
|
|
109018
109079
|
/* harmony import */ var _RealityDataSourceContextShareImpl__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RealityDataSourceContextShareImpl */ "../../core/frontend/lib/esm/RealityDataSourceContextShareImpl.js");
|
|
109019
109080
|
/* harmony import */ var _RealityDataSourceCesiumIonAssetImpl__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./RealityDataSourceCesiumIonAssetImpl */ "../../core/frontend/lib/esm/RealityDataSourceCesiumIonAssetImpl.js");
|
|
109081
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
109020
109082
|
/*---------------------------------------------------------------------------------------------
|
|
109021
109083
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
109022
109084
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -109031,6 +109093,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
109031
109093
|
|
|
109032
109094
|
|
|
109033
109095
|
|
|
109096
|
+
|
|
109034
109097
|
const loggerCategory = _FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_2__.FrontendLoggerCategory.RealityData;
|
|
109035
109098
|
/**
|
|
109036
109099
|
* Reality Data Operation error
|
|
@@ -109127,23 +109190,48 @@ var RealityDataSource;
|
|
|
109127
109190
|
* There will aways be only one reality data RealityDataSource for a corresponding reality data source key.
|
|
109128
109191
|
* @alpha
|
|
109129
109192
|
*/
|
|
109130
|
-
async function fromKey(
|
|
109131
|
-
|
|
109132
|
-
|
|
109133
|
-
|
|
109134
|
-
|
|
109135
|
-
return _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__.RealityDataSourceTilesetUrlImpl.createFromKey(rdSourceKey, iTwinId);
|
|
109136
|
-
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.ContextShare:
|
|
109137
|
-
return _RealityDataSourceContextShareImpl__WEBPACK_IMPORTED_MODULE_5__.RealityDataSourceContextShareImpl.createFromKey(rdSourceKey, iTwinId);
|
|
109138
|
-
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.OrbitGtBlob:
|
|
109139
|
-
return _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__.RealityDataSourceTilesetUrlImpl.createFromKey(rdSourceKey, iTwinId);
|
|
109140
|
-
default:
|
|
109141
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(loggerCategory, `Error realityModelFromJson - region undefined`);
|
|
109193
|
+
async function fromKey(key, iTwinId) {
|
|
109194
|
+
const provider = _IModelApp__WEBPACK_IMPORTED_MODULE_7__.IModelApp.realityDataSourceProviders.find(key.provider);
|
|
109195
|
+
if (!provider) {
|
|
109196
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(loggerCategory, `RealityDataSourceProvider "${key.provider}" is not registered`);
|
|
109197
|
+
return undefined;
|
|
109142
109198
|
}
|
|
109143
|
-
return
|
|
109199
|
+
return provider.createRealityDataSource(key, iTwinId);
|
|
109144
109200
|
}
|
|
109145
109201
|
RealityDataSource.fromKey = fromKey;
|
|
109146
109202
|
})(RealityDataSource || (RealityDataSource = {}));
|
|
109203
|
+
/** A registry of [[RealityDataSourceProvider]]s identified by their unique names. The registry can be accessed via [[IModelApp.realityDataSourceProviders]].
|
|
109204
|
+
* It includes a handful of built-in providers for sources like Cesium ION, ContextShare, OrbitGT, and arbitrary public-accessible URLs.
|
|
109205
|
+
* Any number of additional providers can be registered. They should typically be registered just after [[IModelAp.startup]].
|
|
109206
|
+
* @alpha
|
|
109207
|
+
*/
|
|
109208
|
+
class RealityDataSourceProviderRegistry {
|
|
109209
|
+
/** @internal */
|
|
109210
|
+
constructor() {
|
|
109211
|
+
this._providers = new Map();
|
|
109212
|
+
this.register(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.CesiumIonAsset, {
|
|
109213
|
+
createRealityDataSource: async (key, iTwinId) => _RealityDataSourceCesiumIonAssetImpl__WEBPACK_IMPORTED_MODULE_6__.RealityDataSourceCesiumIonAssetImpl.createFromKey(key, iTwinId),
|
|
109214
|
+
});
|
|
109215
|
+
this.register(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.TilesetUrl, {
|
|
109216
|
+
createRealityDataSource: async (key, iTwinId) => _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__.RealityDataSourceTilesetUrlImpl.createFromKey(key, iTwinId),
|
|
109217
|
+
});
|
|
109218
|
+
this.register(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.ContextShare, {
|
|
109219
|
+
createRealityDataSource: async (key, iTwinId) => _RealityDataSourceContextShareImpl__WEBPACK_IMPORTED_MODULE_5__.RealityDataSourceContextShareImpl.createFromKey(key, iTwinId),
|
|
109220
|
+
});
|
|
109221
|
+
this.register(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.OrbitGtBlob, {
|
|
109222
|
+
// ###TODO separate TilesetUrlImpl
|
|
109223
|
+
createRealityDataSource: async (key, iTwinId) => _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__.RealityDataSourceTilesetUrlImpl.createFromKey(key, iTwinId),
|
|
109224
|
+
});
|
|
109225
|
+
}
|
|
109226
|
+
/** Register `provider` to produce [[RealityDataSource]]s for the specified provider `name`. */
|
|
109227
|
+
register(name, provider) {
|
|
109228
|
+
this._providers.set(name, provider);
|
|
109229
|
+
}
|
|
109230
|
+
/** Look up the provider registered by the specified `name`. */
|
|
109231
|
+
find(name) {
|
|
109232
|
+
return this._providers.get(name);
|
|
109233
|
+
}
|
|
109234
|
+
}
|
|
109147
109235
|
|
|
109148
109236
|
|
|
109149
109237
|
/***/ }),
|
|
@@ -109303,6 +109391,9 @@ class RealityDataSourceCesiumIonAssetImpl {
|
|
|
109303
109391
|
const tileUrl = this._baseUrl + name;
|
|
109304
109392
|
return this._doRequest(tileUrl, "json");
|
|
109305
109393
|
}
|
|
109394
|
+
getTileContentType(url) {
|
|
109395
|
+
return url.endsWith("json") ? "tileset" : "tile";
|
|
109396
|
+
}
|
|
109306
109397
|
/**
|
|
109307
109398
|
* Gets spatial location and extents of this reality data source
|
|
109308
109399
|
* @returns spatial location and extents
|
|
@@ -109528,6 +109619,9 @@ class RealityDataSourceContextShareImpl {
|
|
|
109528
109619
|
}
|
|
109529
109620
|
return undefined;
|
|
109530
109621
|
}
|
|
109622
|
+
getTileContentType(url) {
|
|
109623
|
+
return url.endsWith("json") ? "tileset" : "tile";
|
|
109624
|
+
}
|
|
109531
109625
|
/**
|
|
109532
109626
|
* Gets spatial location and extents of this reality data source
|
|
109533
109627
|
* @returns spatial location and extents
|
|
@@ -109699,6 +109793,9 @@ class RealityDataSourceTilesetUrlImpl {
|
|
|
109699
109793
|
const tileUrl = this._baseUrl + name;
|
|
109700
109794
|
return this._doRequest(tileUrl, "json");
|
|
109701
109795
|
}
|
|
109796
|
+
getTileContentType(url) {
|
|
109797
|
+
return url.endsWith("json") ? "tileset" : "tile";
|
|
109798
|
+
}
|
|
109702
109799
|
/**
|
|
109703
109800
|
* Gets spatial location and extents of this reality data source
|
|
109704
109801
|
* @returns spatial location and extents
|
|
@@ -119533,6 +119630,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
119533
119630
|
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.AnimatedTreeReference),
|
|
119534
119631
|
/* harmony export */ "AnimationBranchStates": () => (/* reexport safe */ _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_80__.AnimationBranchStates),
|
|
119535
119632
|
/* harmony export */ "AnimationNodeId": () => (/* reexport safe */ _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_80__.AnimationNodeId),
|
|
119633
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ArcGISImageryProvider),
|
|
119536
119634
|
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ArcGISMapLayerImageryProvider),
|
|
119537
119635
|
/* harmony export */ "ArcGISTileMap": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ArcGISTileMap),
|
|
119538
119636
|
/* harmony export */ "ArcGisErrorCode": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ArcGisErrorCode),
|
|
@@ -119759,6 +119857,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
119759
119857
|
/* harmony export */ "ReadonlyTileUserSet": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ReadonlyTileUserSet),
|
|
119760
119858
|
/* harmony export */ "RealityDataError": () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.RealityDataError),
|
|
119761
119859
|
/* harmony export */ "RealityDataSource": () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.RealityDataSource),
|
|
119860
|
+
/* harmony export */ "RealityDataSourceProviderRegistry": () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.RealityDataSourceProviderRegistry),
|
|
119762
119861
|
/* harmony export */ "RealityMeshParams": () => (/* reexport safe */ _render_RealityMeshParams__WEBPACK_IMPORTED_MODULE_88__.RealityMeshParams),
|
|
119763
119862
|
/* harmony export */ "RealityMeshParamsBuilder": () => (/* reexport safe */ _render_RealityMeshParams__WEBPACK_IMPORTED_MODULE_88__.RealityMeshParamsBuilder),
|
|
119764
119863
|
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.RealityModelTileTree),
|
|
@@ -160203,7 +160302,7 @@ class GltfReader {
|
|
|
160203
160302
|
if (dracoMeshes.length === 0)
|
|
160204
160303
|
return;
|
|
160205
160304
|
try {
|
|
160206
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
160305
|
+
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_11_node_modules_loaders_gl_draco_d-403021"), __webpack_require__.e("_ea7b")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.11/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
160207
160306
|
await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
|
|
160208
160307
|
}
|
|
160209
160308
|
catch (err) {
|
|
@@ -160367,6 +160466,9 @@ class GltfGraphicsReader extends GltfReader {
|
|
|
160367
160466
|
iModel: args.iModel,
|
|
160368
160467
|
vertexTableRequired: true,
|
|
160369
160468
|
});
|
|
160469
|
+
this._contentRange = args.contentRange;
|
|
160470
|
+
this._transform = args.transform;
|
|
160471
|
+
this._isLeaf = true !== args.hasChildren;
|
|
160370
160472
|
this.binaryData = props.binaryData;
|
|
160371
160473
|
const pickableId = (_a = args.pickableOptions) === null || _a === void 0 ? void 0 : _a.id;
|
|
160372
160474
|
if (pickableId) {
|
|
@@ -160376,7 +160478,7 @@ class GltfGraphicsReader extends GltfReader {
|
|
|
160376
160478
|
}
|
|
160377
160479
|
async read() {
|
|
160378
160480
|
await this.resolveResources();
|
|
160379
|
-
return this.readGltfAndCreateGraphics(
|
|
160481
|
+
return this.readGltfAndCreateGraphics(this._isLeaf, this._featureTable, this._contentRange, this._transform);
|
|
160380
160482
|
}
|
|
160381
160483
|
get nodes() { return this._nodes; }
|
|
160382
160484
|
get scenes() { var _a; return (_a = this._glTF.scenes) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
@@ -163345,7 +163447,7 @@ function readPnts(stream, dataOffset, pnts) {
|
|
|
163345
163447
|
async function decodeDracoPointCloud(buf) {
|
|
163346
163448
|
var _a, _b, _c, _d, _e, _f;
|
|
163347
163449
|
try {
|
|
163348
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
163450
|
+
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_11_node_modules_loaders_gl_draco_d-403021"), __webpack_require__.e("_ea7b")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.11/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
163349
163451
|
const mesh = await dracoLoader.parse(buf, {});
|
|
163350
163452
|
if (mesh.topology !== "point-list")
|
|
163351
163453
|
return undefined;
|
|
@@ -164291,7 +164393,14 @@ class RealityModelTileTreeParams {
|
|
|
164291
164393
|
this.id = tileTreeId;
|
|
164292
164394
|
this.modelId = modelId;
|
|
164293
164395
|
this.iModel = iModel;
|
|
164294
|
-
|
|
164396
|
+
const refine = loader.tree.tilesetJson.refine;
|
|
164397
|
+
this.rootTile = new RealityModelTileProps({
|
|
164398
|
+
json: loader.tree.tilesetJson,
|
|
164399
|
+
id: "",
|
|
164400
|
+
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
164401
|
+
additiveRefinement: undefined !== refine ? "ADD" === refine : undefined,
|
|
164402
|
+
usesGeometricError: loader.tree.rdSource.usesGeometricError,
|
|
164403
|
+
});
|
|
164295
164404
|
}
|
|
164296
164405
|
get location() { return this.loader.tree.location; }
|
|
164297
164406
|
get yAxisUp() { return this.loader.tree.yAxisUp; }
|
|
@@ -164299,10 +164408,13 @@ class RealityModelTileTreeParams {
|
|
|
164299
164408
|
}
|
|
164300
164409
|
/** @internal */
|
|
164301
164410
|
class RealityModelTileProps {
|
|
164302
|
-
constructor(
|
|
164303
|
-
var _a;
|
|
164304
|
-
this.contentId =
|
|
164305
|
-
this.parent = parent;
|
|
164411
|
+
constructor(args) {
|
|
164412
|
+
var _a, _b;
|
|
164413
|
+
this.contentId = args.id;
|
|
164414
|
+
this.parent = args.parent;
|
|
164415
|
+
this.transformToRoot = args.transformToRoot;
|
|
164416
|
+
this.additiveRefinement = args.additiveRefinement;
|
|
164417
|
+
const json = args.json;
|
|
164306
164418
|
const boundingVolume = RealityModelTileUtils.rangeFromBoundingVolume(json.boundingVolume);
|
|
164307
164419
|
if (boundingVolume) {
|
|
164308
164420
|
this.range = boundingVolume.range;
|
|
@@ -164314,18 +164426,18 @@ class RealityModelTileProps {
|
|
|
164314
164426
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false, "Unbounded tile");
|
|
164315
164427
|
}
|
|
164316
164428
|
this.isLeaf = !Array.isArray(json.children) || 0 === json.children.length;
|
|
164317
|
-
this.transformToRoot = transformToRoot;
|
|
164318
|
-
this.additiveRefinement = additiveRefinement;
|
|
164319
164429
|
const hasContents = undefined !== getUrl(json.content);
|
|
164320
164430
|
if (hasContents)
|
|
164321
164431
|
this.contentRange = (_a = RealityModelTileUtils.rangeFromBoundingVolume(json.content.boundingVolume)) === null || _a === void 0 ? void 0 : _a.range;
|
|
164322
164432
|
else {
|
|
164323
164433
|
// A node without content should probably be selectable even if not additive refinement - But restrict it to that case here
|
|
164324
164434
|
// to avoid potential problems with existing reality models, but still avoid overselection in the OSM world building set.
|
|
164325
|
-
if (this.additiveRefinement || (parent === null ||
|
|
164435
|
+
if (this.additiveRefinement || ((_b = args.parent) === null || _b === void 0 ? void 0 : _b.additiveRefinement))
|
|
164326
164436
|
this.noContentButTerminateOnSelection = true;
|
|
164327
164437
|
}
|
|
164328
164438
|
this.maximumSize = (this.noContentButTerminateOnSelection || hasContents) ? RealityModelTileUtils.maximumSizeFromGeometricTolerance(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.fromJSON(this.range), json.geometricError) : 0;
|
|
164439
|
+
if (args.usesGeometricError)
|
|
164440
|
+
this.geometricError = json.geometricError;
|
|
164329
164441
|
}
|
|
164330
164442
|
}
|
|
164331
164443
|
/** @internal */
|
|
@@ -164338,7 +164450,12 @@ class FindChildResult {
|
|
|
164338
164450
|
}
|
|
164339
164451
|
/** @internal */
|
|
164340
164452
|
function assembleUrl(prefix, url) {
|
|
164453
|
+
if (url.startsWith("/")) {
|
|
164454
|
+
// Relative to base origin, not to parent tile
|
|
164455
|
+
return url.substring(1);
|
|
164456
|
+
}
|
|
164341
164457
|
if (url.startsWith("./")) {
|
|
164458
|
+
// Relative to parent tile
|
|
164342
164459
|
url = url.substring(2);
|
|
164343
164460
|
}
|
|
164344
164461
|
else {
|
|
@@ -164370,16 +164487,13 @@ function addUrlPrefix(subTree, prefix) {
|
|
|
164370
164487
|
/** @internal */
|
|
164371
164488
|
async function expandSubTree(root, rdsource) {
|
|
164372
164489
|
const childUrl = getUrl(root.content);
|
|
164373
|
-
if (undefined
|
|
164374
|
-
const subTree = await rdsource.getTileJson(childUrl);
|
|
164375
|
-
const prefixIndex = childUrl.lastIndexOf("/");
|
|
164376
|
-
if (prefixIndex > 0)
|
|
164377
|
-
addUrlPrefix(subTree.root, childUrl.substring(0, prefixIndex + 1));
|
|
164378
|
-
return subTree.root;
|
|
164379
|
-
}
|
|
164380
|
-
else {
|
|
164490
|
+
if (undefined === childUrl || "tileset" !== rdsource.getTileContentType(childUrl))
|
|
164381
164491
|
return root;
|
|
164382
|
-
|
|
164492
|
+
const subTree = await rdsource.getTileJson(childUrl);
|
|
164493
|
+
const prefixIndex = childUrl.lastIndexOf("/");
|
|
164494
|
+
if (prefixIndex > 0)
|
|
164495
|
+
addUrlPrefix(subTree.root, childUrl.substring(0, prefixIndex + 1));
|
|
164496
|
+
return subTree.root;
|
|
164383
164497
|
}
|
|
164384
164498
|
/** @internal */
|
|
164385
164499
|
class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_7__.RealityTileLoader {
|
|
@@ -164407,6 +164521,9 @@ class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_7__.Real
|
|
|
164407
164521
|
getBatchIdMap() { return this._batchedIdMap; }
|
|
164408
164522
|
get clipLowResolutionTiles() { return true; }
|
|
164409
164523
|
get viewFlagOverrides() { return this._viewFlagOverrides; }
|
|
164524
|
+
get maximumScreenSpaceError() {
|
|
164525
|
+
return this.tree.rdSource.maximumScreenSpaceError;
|
|
164526
|
+
}
|
|
164410
164527
|
async loadChildren(tile) {
|
|
164411
164528
|
const props = await this.getChildrenProps(tile);
|
|
164412
164529
|
if (undefined === props)
|
|
@@ -164425,8 +164542,18 @@ class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_7__.Real
|
|
|
164425
164542
|
for (let i = 0; i < findResult.json.children.length; i++) {
|
|
164426
164543
|
const childId = prefix + i;
|
|
164427
164544
|
const foundChild = await this.findTileInJson(this.tree.tilesetJson, childId, "", undefined);
|
|
164428
|
-
if (undefined !== foundChild)
|
|
164429
|
-
|
|
164545
|
+
if (undefined !== foundChild) {
|
|
164546
|
+
const refine = foundChild.json.refine;
|
|
164547
|
+
props.push(new RealityModelTileProps({
|
|
164548
|
+
json: foundChild.json,
|
|
164549
|
+
parent,
|
|
164550
|
+
id: foundChild.id,
|
|
164551
|
+
transformToRoot: foundChild.transformToRoot,
|
|
164552
|
+
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
164553
|
+
additiveRefinement: undefined !== refine ? refine === "ADD" : undefined,
|
|
164554
|
+
usesGeometricError: this.tree.rdSource.usesGeometricError,
|
|
164555
|
+
}));
|
|
164556
|
+
}
|
|
164430
164557
|
}
|
|
164431
164558
|
}
|
|
164432
164559
|
return props;
|
|
@@ -164562,8 +164689,14 @@ class RealityModelTileTree extends _internal__WEBPACK_IMPORTED_MODULE_7__.Realit
|
|
|
164562
164689
|
}
|
|
164563
164690
|
createDrawArgs(context) {
|
|
164564
164691
|
const args = super.createDrawArgs(context);
|
|
164565
|
-
if (args)
|
|
164692
|
+
if (args) {
|
|
164566
164693
|
args.graphics.realityModelDisplaySettings = this._getDisplaySettings();
|
|
164694
|
+
if (args.tree instanceof _internal__WEBPACK_IMPORTED_MODULE_7__.RealityTileTree) {
|
|
164695
|
+
const maxSSE = args.tree.loader.maximumScreenSpaceError;
|
|
164696
|
+
if (undefined !== maxSSE)
|
|
164697
|
+
args.maximumScreenSpaceError = maxSSE;
|
|
164698
|
+
}
|
|
164699
|
+
}
|
|
164567
164700
|
return args;
|
|
164568
164701
|
}
|
|
164569
164702
|
}
|
|
@@ -164801,13 +164934,13 @@ class RealityTile extends _internal__WEBPACK_IMPORTED_MODULE_5__.Tile {
|
|
|
164801
164934
|
constructor(props, tree) {
|
|
164802
164935
|
var _a;
|
|
164803
164936
|
super(props, tree);
|
|
164804
|
-
/** @internal */
|
|
164805
164937
|
this._everDisplayed = false;
|
|
164806
164938
|
this.transformToRoot = props.transformToRoot;
|
|
164807
164939
|
this.additiveRefinement = (undefined === props.additiveRefinement) ? (_a = this.realityParent) === null || _a === void 0 ? void 0 : _a.additiveRefinement : props.additiveRefinement;
|
|
164808
164940
|
this.noContentButTerminateOnSelection = props.noContentButTerminateOnSelection;
|
|
164809
164941
|
this.rangeCorners = props.rangeCorners;
|
|
164810
164942
|
this.region = props.region;
|
|
164943
|
+
this._geometricError = props.geometricError;
|
|
164811
164944
|
if (undefined === this.transformToRoot)
|
|
164812
164945
|
return;
|
|
164813
164946
|
// Can transform be non-rigid?? -- if so would have to handle (readonly) radius.
|
|
@@ -165034,6 +165167,13 @@ class RealityTile extends _internal__WEBPACK_IMPORTED_MODULE_5__.Tile {
|
|
|
165034
165167
|
return 0;
|
|
165035
165168
|
if (this.isLeaf)
|
|
165036
165169
|
return this.hasContentRange && this.isContentCulled(args) ? -1 : 1;
|
|
165170
|
+
if (undefined !== this._geometricError) {
|
|
165171
|
+
const radius = args.getTileRadius(this);
|
|
165172
|
+
const center = args.getTileCenter(this);
|
|
165173
|
+
const pixelSize = args.computePixelSizeInMetersAtClosestPoint(center, radius);
|
|
165174
|
+
const sse = this._geometricError / pixelSize;
|
|
165175
|
+
return args.maximumScreenSpaceError / sse;
|
|
165176
|
+
}
|
|
165037
165177
|
return this.maximumSize / args.getPixelSize(this);
|
|
165038
165178
|
}
|
|
165039
165179
|
/** @internal */
|
|
@@ -165296,6 +165436,7 @@ class RealityTileLoader {
|
|
|
165296
165436
|
get containsPointClouds() { return this._containsPointClouds; }
|
|
165297
165437
|
get parentsAndChildrenExclusive() { return true; }
|
|
165298
165438
|
forceTileLoad(_tile) { return false; }
|
|
165439
|
+
get maximumScreenSpaceError() { return undefined; }
|
|
165299
165440
|
processSelectedTiles(selected, _args) { return selected; }
|
|
165300
165441
|
// NB: The isCanceled arg is chiefly for tests...in usual case it just returns false if the tile is no longer in 'loading' state.
|
|
165301
165442
|
async loadTileContent(tile, data, system, isCanceled) {
|
|
@@ -165343,6 +165484,18 @@ class RealityTileLoader {
|
|
|
165343
165484
|
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.I3dm:
|
|
165344
165485
|
reader = _internal__WEBPACK_IMPORTED_MODULE_6__.I3dmReader.create(streamBuffer, iModel, modelId, is3d, tile.contentRange, system, yAxisUp, tile.isLeaf, isCanceled, undefined, this.wantDeduplicatedVertices);
|
|
165345
165486
|
break;
|
|
165487
|
+
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf:
|
|
165488
|
+
const props = _internal__WEBPACK_IMPORTED_MODULE_6__.GltfReaderProps.create(streamBuffer.nextBytes(streamBuffer.arrayBuffer.byteLength), yAxisUp);
|
|
165489
|
+
if (props) {
|
|
165490
|
+
reader = new _internal__WEBPACK_IMPORTED_MODULE_6__.GltfGraphicsReader(props, {
|
|
165491
|
+
iModel,
|
|
165492
|
+
gltf: props.glTF,
|
|
165493
|
+
contentRange: tile.contentRange,
|
|
165494
|
+
transform: tile.transformToRoot,
|
|
165495
|
+
hasChildren: !tile.isLeaf,
|
|
165496
|
+
});
|
|
165497
|
+
}
|
|
165498
|
+
break;
|
|
165346
165499
|
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Cmpt:
|
|
165347
165500
|
const header = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CompositeTileHeader(streamBuffer);
|
|
165348
165501
|
if (!header.isValid)
|
|
@@ -167429,6 +167582,7 @@ const scratchMatrix4d = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Matrix
|
|
|
167429
167582
|
class TileDrawArgs {
|
|
167430
167583
|
/** Constructor */
|
|
167431
167584
|
constructor(params) {
|
|
167585
|
+
var _a;
|
|
167432
167586
|
/** Holds the tile graphics to be drawn. */
|
|
167433
167587
|
this.graphics = new _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_2__.GraphicBranch();
|
|
167434
167588
|
/** Tiles that we want to draw and that are ready to draw. May not actually be selected, e.g. if sibling tiles are not yet ready. */
|
|
@@ -167442,6 +167596,7 @@ class TileDrawArgs {
|
|
|
167442
167596
|
this.hiddenLineSettings = params.hiddenLineSettings;
|
|
167443
167597
|
this.animationTransformNodeId = params.animationTransformNodeId;
|
|
167444
167598
|
this.boundingRange = params.boundingRange;
|
|
167599
|
+
this.maximumScreenSpaceError = (_a = params.maximumScreenSpaceError) !== null && _a !== void 0 ? _a : 16; // 16 is Cesium's default.
|
|
167445
167600
|
// Do not cull tiles based on clip volume if tiles outside clip are supposed to be drawn but in a different color.
|
|
167446
167601
|
if (undefined !== clipVolume && !context.viewport.view.displayStyle.settings.clipStyle.outsideColor)
|
|
167447
167602
|
this.clipVolume = clipVolume;
|
|
@@ -169293,22 +169448,23 @@ function createDefaultViewFlagOverrides(options) {
|
|
|
169293
169448
|
"use strict";
|
|
169294
169449
|
__webpack_require__.r(__webpack_exports__);
|
|
169295
169450
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
169296
|
-
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */
|
|
169297
|
-
/* harmony export */ "
|
|
169451
|
+
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.AnimatedTreeReference),
|
|
169452
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_ArcGISImageryProvider__WEBPACK_IMPORTED_MODULE_43__.ArcGISImageryProvider),
|
|
169453
|
+
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_44__.ArcGISMapLayerImageryProvider),
|
|
169298
169454
|
/* harmony export */ "ArcGISTileMap": () => (/* reexport safe */ _map_ArcGISTileMap__WEBPACK_IMPORTED_MODULE_34__.ArcGISTileMap),
|
|
169299
169455
|
/* harmony export */ "ArcGisErrorCode": () => (/* reexport safe */ _map_ArcGisUtilities__WEBPACK_IMPORTED_MODULE_38__.ArcGisErrorCode),
|
|
169300
169456
|
/* harmony export */ "ArcGisUtilities": () => (/* reexport safe */ _map_ArcGisUtilities__WEBPACK_IMPORTED_MODULE_38__.ArcGisUtilities),
|
|
169301
|
-
/* harmony export */ "AzureMapsLayerImageryProvider": () => (/* reexport safe */
|
|
169457
|
+
/* harmony export */ "AzureMapsLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_AzureMapsLayerImageryProvider__WEBPACK_IMPORTED_MODULE_45__.AzureMapsLayerImageryProvider),
|
|
169302
169458
|
/* harmony export */ "B3dmReader": () => (/* reexport safe */ _B3dmReader__WEBPACK_IMPORTED_MODULE_32__.B3dmReader),
|
|
169303
169459
|
/* harmony export */ "BatchedTileIdMap": () => (/* reexport safe */ _BatchedTileIdMap__WEBPACK_IMPORTED_MODULE_12__.BatchedTileIdMap),
|
|
169304
|
-
/* harmony export */ "BingElevationProvider": () => (/* reexport safe */
|
|
169305
|
-
/* harmony export */ "BingMapsImageryLayerProvider": () => (/* reexport safe */
|
|
169306
|
-
/* harmony export */ "CesiumIonAssetProvider": () => (/* reexport safe */
|
|
169307
|
-
/* harmony export */ "ContextShareProvider": () => (/* reexport safe */
|
|
169460
|
+
/* harmony export */ "BingElevationProvider": () => (/* reexport safe */ _map_BingElevation__WEBPACK_IMPORTED_MODULE_61__.BingElevationProvider),
|
|
169461
|
+
/* harmony export */ "BingMapsImageryLayerProvider": () => (/* reexport safe */ _map_ImageryProviders_BingImageryProvider__WEBPACK_IMPORTED_MODULE_46__.BingMapsImageryLayerProvider),
|
|
169462
|
+
/* harmony export */ "CesiumIonAssetProvider": () => (/* reexport safe */ _CesiumAssetProvider__WEBPACK_IMPORTED_MODULE_75__.CesiumIonAssetProvider),
|
|
169463
|
+
/* harmony export */ "ContextShareProvider": () => (/* reexport safe */ _ContextShareProvider__WEBPACK_IMPORTED_MODULE_76__.ContextShareProvider),
|
|
169308
169464
|
/* harmony export */ "DisclosedTileTreeSet": () => (/* reexport safe */ _DisclosedTileTreeSet__WEBPACK_IMPORTED_MODULE_3__.DisclosedTileTreeSet),
|
|
169309
|
-
/* harmony export */ "DynamicIModelTile": () => (/* reexport safe */
|
|
169310
|
-
/* harmony export */ "EllipsoidTerrainProvider": () => (/* reexport safe */
|
|
169311
|
-
/* harmony export */ "GeographicTilingScheme": () => (/* reexport safe */
|
|
169465
|
+
/* harmony export */ "DynamicIModelTile": () => (/* reexport safe */ _DynamicIModelTile__WEBPACK_IMPORTED_MODULE_67__.DynamicIModelTile),
|
|
169466
|
+
/* harmony export */ "EllipsoidTerrainProvider": () => (/* reexport safe */ _map_EllipsoidTerrainProvider__WEBPACK_IMPORTED_MODULE_57__.EllipsoidTerrainProvider),
|
|
169467
|
+
/* harmony export */ "GeographicTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.GeographicTilingScheme),
|
|
169312
169468
|
/* harmony export */ "GltfBufferData": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfBufferData),
|
|
169313
169469
|
/* harmony export */ "GltfDataType": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfDataType),
|
|
169314
169470
|
/* harmony export */ "GltfGraphicsReader": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfGraphicsReader),
|
|
@@ -169319,56 +169475,56 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169319
169475
|
/* harmony export */ "GltfWrapMode": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfWrapMode),
|
|
169320
169476
|
/* harmony export */ "GraphicsCollectorDrawArgs": () => (/* reexport safe */ _GraphicsCollector__WEBPACK_IMPORTED_MODULE_11__.GraphicsCollectorDrawArgs),
|
|
169321
169477
|
/* harmony export */ "I3dmReader": () => (/* reexport safe */ _I3dmReader__WEBPACK_IMPORTED_MODULE_31__.I3dmReader),
|
|
169322
|
-
/* harmony export */ "IModelTile": () => (/* reexport safe */
|
|
169478
|
+
/* harmony export */ "IModelTile": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_66__.IModelTile),
|
|
169323
169479
|
/* harmony export */ "IModelTileRequestChannels": () => (/* reexport safe */ _IModelTileRequestChannels__WEBPACK_IMPORTED_MODULE_25__.IModelTileRequestChannels),
|
|
169324
|
-
/* harmony export */ "IModelTileTree": () => (/* reexport safe */
|
|
169325
|
-
/* harmony export */ "ImageryMapLayerFormat": () => (/* reexport safe */
|
|
169326
|
-
/* harmony export */ "ImageryMapLayerTreeReference": () => (/* reexport safe */
|
|
169327
|
-
/* harmony export */ "ImageryMapTile": () => (/* reexport safe */
|
|
169328
|
-
/* harmony export */ "ImageryMapTileTree": () => (/* reexport safe */
|
|
169480
|
+
/* harmony export */ "IModelTileTree": () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_68__.IModelTileTree),
|
|
169481
|
+
/* harmony export */ "ImageryMapLayerFormat": () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_51__.ImageryMapLayerFormat),
|
|
169482
|
+
/* harmony export */ "ImageryMapLayerTreeReference": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__.ImageryMapLayerTreeReference),
|
|
169483
|
+
/* harmony export */ "ImageryMapTile": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__.ImageryMapTile),
|
|
169484
|
+
/* harmony export */ "ImageryMapTileTree": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__.ImageryMapTileTree),
|
|
169329
169485
|
/* harmony export */ "ImdlReader": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.ImdlReader),
|
|
169330
169486
|
/* harmony export */ "LRUTileList": () => (/* reexport safe */ _LRUTileList__WEBPACK_IMPORTED_MODULE_5__.LRUTileList),
|
|
169331
|
-
/* harmony export */ "MapBoxLayerImageryProvider": () => (/* reexport safe */
|
|
169487
|
+
/* harmony export */ "MapBoxLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_MapBoxLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__.MapBoxLayerImageryProvider),
|
|
169332
169488
|
/* harmony export */ "MapCartoRectangle": () => (/* reexport safe */ _map_MapCartoRectangle__WEBPACK_IMPORTED_MODULE_1__.MapCartoRectangle),
|
|
169333
169489
|
/* harmony export */ "MapFeatureInfoRecord": () => (/* reexport safe */ _map_MapFeatureInfo__WEBPACK_IMPORTED_MODULE_36__.MapFeatureInfoRecord),
|
|
169334
169490
|
/* harmony export */ "MapLayerFormat": () => (/* reexport safe */ _map_MapLayerFormatRegistry__WEBPACK_IMPORTED_MODULE_37__.MapLayerFormat),
|
|
169335
169491
|
/* harmony export */ "MapLayerFormatRegistry": () => (/* reexport safe */ _map_MapLayerFormatRegistry__WEBPACK_IMPORTED_MODULE_37__.MapLayerFormatRegistry),
|
|
169336
169492
|
/* harmony export */ "MapLayerImageryProvider": () => (/* reexport safe */ _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_42__.MapLayerImageryProvider),
|
|
169337
169493
|
/* harmony export */ "MapLayerImageryProviderStatus": () => (/* reexport safe */ _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_42__.MapLayerImageryProviderStatus),
|
|
169338
|
-
/* harmony export */ "MapLayerSource": () => (/* reexport safe */
|
|
169339
|
-
/* harmony export */ "MapLayerSourceStatus": () => (/* reexport safe */
|
|
169340
|
-
/* harmony export */ "MapLayerSources": () => (/* reexport safe */
|
|
169341
|
-
/* harmony export */ "MapLayerTileTreeReference": () => (/* reexport safe */
|
|
169342
|
-
/* harmony export */ "MapTile": () => (/* reexport safe */
|
|
169343
|
-
/* harmony export */ "MapTileLoader": () => (/* reexport safe */
|
|
169344
|
-
/* harmony export */ "MapTileProjection": () => (/* reexport safe */
|
|
169345
|
-
/* harmony export */ "MapTileTree": () => (/* reexport safe */
|
|
169346
|
-
/* harmony export */ "MapTileTreeReference": () => (/* reexport safe */
|
|
169347
|
-
/* harmony export */ "MapTiledGraphicsProvider": () => (/* reexport safe */
|
|
169348
|
-
/* harmony export */ "MapTilingScheme": () => (/* reexport safe */
|
|
169349
|
-
/* harmony export */ "ModelMapLayerTileTreeReference": () => (/* reexport safe */
|
|
169350
|
-
/* harmony export */ "OPCFormatInterpreter": () => (/* reexport safe */
|
|
169351
|
-
/* harmony export */ "OrbitGtTileTree": () => (/* reexport safe */
|
|
169352
|
-
/* harmony export */ "PlanarTilePatch": () => (/* reexport safe */
|
|
169494
|
+
/* harmony export */ "MapLayerSource": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__.MapLayerSource),
|
|
169495
|
+
/* harmony export */ "MapLayerSourceStatus": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__.MapLayerSourceStatus),
|
|
169496
|
+
/* harmony export */ "MapLayerSources": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__.MapLayerSources),
|
|
169497
|
+
/* harmony export */ "MapLayerTileTreeReference": () => (/* reexport safe */ _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_52__.MapLayerTileTreeReference),
|
|
169498
|
+
/* harmony export */ "MapTile": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.MapTile),
|
|
169499
|
+
/* harmony export */ "MapTileLoader": () => (/* reexport safe */ _map_MapTileLoader__WEBPACK_IMPORTED_MODULE_60__.MapTileLoader),
|
|
169500
|
+
/* harmony export */ "MapTileProjection": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.MapTileProjection),
|
|
169501
|
+
/* harmony export */ "MapTileTree": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__.MapTileTree),
|
|
169502
|
+
/* harmony export */ "MapTileTreeReference": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__.MapTileTreeReference),
|
|
169503
|
+
/* harmony export */ "MapTiledGraphicsProvider": () => (/* reexport safe */ _map_MapTiledGraphicsProvider__WEBPACK_IMPORTED_MODULE_74__.MapTiledGraphicsProvider),
|
|
169504
|
+
/* harmony export */ "MapTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.MapTilingScheme),
|
|
169505
|
+
/* harmony export */ "ModelMapLayerTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.ModelMapLayerTileTreeReference),
|
|
169506
|
+
/* harmony export */ "OPCFormatInterpreter": () => (/* reexport safe */ _OPCFormatInterpreter__WEBPACK_IMPORTED_MODULE_78__.OPCFormatInterpreter),
|
|
169507
|
+
/* harmony export */ "OrbitGtTileTree": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_71__.OrbitGtTileTree),
|
|
169508
|
+
/* harmony export */ "PlanarTilePatch": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.PlanarTilePatch),
|
|
169353
169509
|
/* harmony export */ "QuadId": () => (/* reexport safe */ _map_QuadId__WEBPACK_IMPORTED_MODULE_2__.QuadId),
|
|
169354
169510
|
/* harmony export */ "ReadonlyTileUserSet": () => (/* reexport safe */ _TileUserSet__WEBPACK_IMPORTED_MODULE_29__.ReadonlyTileUserSet),
|
|
169355
|
-
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */
|
|
169356
|
-
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */
|
|
169511
|
+
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityModelTileTree),
|
|
169512
|
+
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityModelTileUtils),
|
|
169357
169513
|
/* harmony export */ "RealityTile": () => (/* reexport safe */ _RealityTile__WEBPACK_IMPORTED_MODULE_6__.RealityTile),
|
|
169358
169514
|
/* harmony export */ "RealityTileDrawArgs": () => (/* reexport safe */ _RealityTileDrawArgs__WEBPACK_IMPORTED_MODULE_10__.RealityTileDrawArgs),
|
|
169359
|
-
/* harmony export */ "RealityTileLoader": () => (/* reexport safe */
|
|
169360
|
-
/* harmony export */ "RealityTileRegion": () => (/* reexport safe */
|
|
169515
|
+
/* harmony export */ "RealityTileLoader": () => (/* reexport safe */ _RealityTileLoader__WEBPACK_IMPORTED_MODULE_59__.RealityTileLoader),
|
|
169516
|
+
/* harmony export */ "RealityTileRegion": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityTileRegion),
|
|
169361
169517
|
/* harmony export */ "RealityTileTree": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.RealityTileTree),
|
|
169362
|
-
/* harmony export */ "RealityTreeReference": () => (/* reexport safe */
|
|
169363
|
-
/* harmony export */ "SelectParent": () => (/* reexport safe */
|
|
169364
|
-
/* harmony export */ "SpatialClassifierTileTreeReference": () => (/* reexport safe */
|
|
169365
|
-
/* harmony export */ "SpatialTileTreeReferences": () => (/* reexport safe */
|
|
169366
|
-
/* harmony export */ "TerrainMeshProvider": () => (/* reexport safe */
|
|
169367
|
-
/* harmony export */ "TerrainProviderRegistry": () => (/* reexport safe */
|
|
169368
|
-
/* harmony export */ "ThreeDTileFormatInterpreter": () => (/* reexport safe */
|
|
169518
|
+
/* harmony export */ "RealityTreeReference": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityTreeReference),
|
|
169519
|
+
/* harmony export */ "SelectParent": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_66__.SelectParent),
|
|
169520
|
+
/* harmony export */ "SpatialClassifierTileTreeReference": () => (/* reexport safe */ _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_70__.SpatialClassifierTileTreeReference),
|
|
169521
|
+
/* harmony export */ "SpatialTileTreeReferences": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.SpatialTileTreeReferences),
|
|
169522
|
+
/* harmony export */ "TerrainMeshProvider": () => (/* reexport safe */ _map_TerrainMeshProvider__WEBPACK_IMPORTED_MODULE_54__.TerrainMeshProvider),
|
|
169523
|
+
/* harmony export */ "TerrainProviderRegistry": () => (/* reexport safe */ _map_TerrainProvider__WEBPACK_IMPORTED_MODULE_55__.TerrainProviderRegistry),
|
|
169524
|
+
/* harmony export */ "ThreeDTileFormatInterpreter": () => (/* reexport safe */ _ThreeDTileFormatInterpreter__WEBPACK_IMPORTED_MODULE_77__.ThreeDTileFormatInterpreter),
|
|
169369
169525
|
/* harmony export */ "Tile": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.Tile),
|
|
169370
169526
|
/* harmony export */ "TileAdmin": () => (/* reexport safe */ _TileAdmin__WEBPACK_IMPORTED_MODULE_21__.TileAdmin),
|
|
169371
|
-
/* harmony export */ "TileAvailability": () => (/* reexport safe */
|
|
169527
|
+
/* harmony export */ "TileAvailability": () => (/* reexport safe */ _map_MapTileAvailability__WEBPACK_IMPORTED_MODULE_63__.TileAvailability),
|
|
169372
169528
|
/* harmony export */ "TileBoundingBoxes": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.TileBoundingBoxes),
|
|
169373
169529
|
/* harmony export */ "TileDrawArgs": () => (/* reexport safe */ _TileDrawArgs__WEBPACK_IMPORTED_MODULE_9__.TileDrawArgs),
|
|
169374
169530
|
/* harmony export */ "TileGeometryCollector": () => (/* reexport safe */ _TileGeometryCollector__WEBPACK_IMPORTED_MODULE_19__.TileGeometryCollector),
|
|
@@ -169383,7 +169539,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169383
169539
|
/* harmony export */ "TileTree": () => (/* reexport safe */ _TileTree__WEBPACK_IMPORTED_MODULE_14__.TileTree),
|
|
169384
169540
|
/* harmony export */ "TileTreeLoadStatus": () => (/* reexport safe */ _TileTree__WEBPACK_IMPORTED_MODULE_14__.TileTreeLoadStatus),
|
|
169385
169541
|
/* harmony export */ "TileTreeReference": () => (/* reexport safe */ _TileTreeReference__WEBPACK_IMPORTED_MODULE_18__.TileTreeReference),
|
|
169386
|
-
/* harmony export */ "TileUrlImageryProvider": () => (/* reexport safe */
|
|
169542
|
+
/* harmony export */ "TileUrlImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_TileUrlImageryProvider__WEBPACK_IMPORTED_MODULE_48__.TileUrlImageryProvider),
|
|
169387
169543
|
/* harmony export */ "TileUsageMarker": () => (/* reexport safe */ _TileUsageMarker__WEBPACK_IMPORTED_MODULE_27__.TileUsageMarker),
|
|
169388
169544
|
/* harmony export */ "TileUser": () => (/* reexport safe */ _TileUser__WEBPACK_IMPORTED_MODULE_28__.TileUser),
|
|
169389
169545
|
/* harmony export */ "TileUserIdSet": () => (/* reexport safe */ _LRUTileList__WEBPACK_IMPORTED_MODULE_5__.TileUserIdSet),
|
|
@@ -169394,38 +169550,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169394
169550
|
/* harmony export */ "TraversalDetails": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.TraversalDetails),
|
|
169395
169551
|
/* harmony export */ "TraversalSelectionContext": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.TraversalSelectionContext),
|
|
169396
169552
|
/* harmony export */ "UniqueTileUserSets": () => (/* reexport safe */ _TileUserSet__WEBPACK_IMPORTED_MODULE_29__.UniqueTileUserSets),
|
|
169397
|
-
/* harmony export */ "UpsampledMapTile": () => (/* reexport safe */
|
|
169398
|
-
/* harmony export */ "WebMercatorProjection": () => (/* reexport safe */
|
|
169399
|
-
/* harmony export */ "WebMercatorTilingScheme": () => (/* reexport safe */
|
|
169553
|
+
/* harmony export */ "UpsampledMapTile": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.UpsampledMapTile),
|
|
169554
|
+
/* harmony export */ "WebMercatorProjection": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.WebMercatorProjection),
|
|
169555
|
+
/* harmony export */ "WebMercatorTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.WebMercatorTilingScheme),
|
|
169400
169556
|
/* harmony export */ "WmsCapabilities": () => (/* reexport safe */ _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_40__.WmsCapabilities),
|
|
169401
169557
|
/* harmony export */ "WmsCapability": () => (/* reexport safe */ _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_40__.WmsCapability),
|
|
169402
|
-
/* harmony export */ "WmsMapLayerImageryProvider": () => (/* reexport safe */
|
|
169558
|
+
/* harmony export */ "WmsMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_WmsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_49__.WmsMapLayerImageryProvider),
|
|
169403
169559
|
/* harmony export */ "WmsUtilities": () => (/* reexport safe */ _map_WmsUtilities__WEBPACK_IMPORTED_MODULE_39__.WmsUtilities),
|
|
169404
169560
|
/* harmony export */ "WmtsCapabilities": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_41__.WmtsCapabilities),
|
|
169405
169561
|
/* harmony export */ "WmtsCapability": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_41__.WmtsCapability),
|
|
169406
|
-
/* harmony export */ "WmtsMapLayerImageryProvider": () => (/* reexport safe */
|
|
169562
|
+
/* harmony export */ "WmtsMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_WmtsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_50__.WmtsMapLayerImageryProvider),
|
|
169407
169563
|
/* harmony export */ "addRangeGraphic": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.addRangeGraphic),
|
|
169408
|
-
/* harmony export */ "createClassifierTileTreeReference": () => (/* reexport safe */
|
|
169564
|
+
/* harmony export */ "createClassifierTileTreeReference": () => (/* reexport safe */ _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_70__.createClassifierTileTreeReference),
|
|
169409
169565
|
/* harmony export */ "createDefaultViewFlagOverrides": () => (/* reexport safe */ _ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__.createDefaultViewFlagOverrides),
|
|
169410
|
-
/* harmony export */ "createMapLayerTreeReference": () => (/* reexport safe */
|
|
169411
|
-
/* harmony export */ "createMaskTreeReference": () => (/* reexport safe */
|
|
169412
|
-
/* harmony export */ "createModelMapLayerTileTreeReference": () => (/* reexport safe */
|
|
169413
|
-
/* harmony export */ "createOrbitGtTileTreeReference": () => (/* reexport safe */
|
|
169414
|
-
/* harmony export */ "createPrimaryTileTreeReference": () => (/* reexport safe */
|
|
169415
|
-
/* harmony export */ "createRealityTileTreeReference": () => (/* reexport safe */
|
|
169416
|
-
/* harmony export */ "disposeTileTreesForGeometricModels": () => (/* reexport safe */
|
|
169417
|
-
/* harmony export */ "getCesiumAccessTokenAndEndpointUrl": () => (/* reexport safe */
|
|
169418
|
-
/* harmony export */ "getCesiumAssetUrl": () => (/* reexport safe */
|
|
169419
|
-
/* harmony export */ "getCesiumOSMBuildingsUrl": () => (/* reexport safe */
|
|
169420
|
-
/* harmony export */ "getCesiumTerrainProvider": () => (/* reexport safe */
|
|
169421
|
-
/* harmony export */ "getGcsConverterAvailable": () => (/* reexport safe */
|
|
169422
|
-
/* harmony export */ "iModelTileParamsFromJSON": () => (/* reexport safe */
|
|
169423
|
-
/* harmony export */ "iModelTileTreeParamsFromJSON": () => (/* reexport safe */
|
|
169424
|
-
/* harmony export */ "internalMapLayerImageryFormats": () => (/* reexport safe */
|
|
169566
|
+
/* harmony export */ "createMapLayerTreeReference": () => (/* reexport safe */ _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_52__.createMapLayerTreeReference),
|
|
169567
|
+
/* harmony export */ "createMaskTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.createMaskTreeReference),
|
|
169568
|
+
/* harmony export */ "createModelMapLayerTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.createModelMapLayerTileTreeReference),
|
|
169569
|
+
/* harmony export */ "createOrbitGtTileTreeReference": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_71__.createOrbitGtTileTreeReference),
|
|
169570
|
+
/* harmony export */ "createPrimaryTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.createPrimaryTileTreeReference),
|
|
169571
|
+
/* harmony export */ "createRealityTileTreeReference": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.createRealityTileTreeReference),
|
|
169572
|
+
/* harmony export */ "disposeTileTreesForGeometricModels": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.disposeTileTreesForGeometricModels),
|
|
169573
|
+
/* harmony export */ "getCesiumAccessTokenAndEndpointUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumAccessTokenAndEndpointUrl),
|
|
169574
|
+
/* harmony export */ "getCesiumAssetUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumAssetUrl),
|
|
169575
|
+
/* harmony export */ "getCesiumOSMBuildingsUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumOSMBuildingsUrl),
|
|
169576
|
+
/* harmony export */ "getCesiumTerrainProvider": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumTerrainProvider),
|
|
169577
|
+
/* harmony export */ "getGcsConverterAvailable": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__.getGcsConverterAvailable),
|
|
169578
|
+
/* harmony export */ "iModelTileParamsFromJSON": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_66__.iModelTileParamsFromJSON),
|
|
169579
|
+
/* harmony export */ "iModelTileTreeParamsFromJSON": () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_68__.iModelTileTreeParamsFromJSON),
|
|
169580
|
+
/* harmony export */ "internalMapLayerImageryFormats": () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_51__.internalMapLayerImageryFormats),
|
|
169425
169581
|
/* harmony export */ "overrideRequestTileTreeProps": () => (/* reexport safe */ _TileAdmin__WEBPACK_IMPORTED_MODULE_21__.overrideRequestTileTreeProps),
|
|
169426
169582
|
/* harmony export */ "readElementGraphics": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.readElementGraphics),
|
|
169427
169583
|
/* harmony export */ "readGltfGraphics": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.readGltfGraphics),
|
|
169428
|
-
/* harmony export */ "readPointCloudTileContent": () => (/* reexport safe */
|
|
169584
|
+
/* harmony export */ "readPointCloudTileContent": () => (/* reexport safe */ _PntsReader__WEBPACK_IMPORTED_MODULE_64__.readPointCloudTileContent)
|
|
169429
169585
|
/* harmony export */ });
|
|
169430
169586
|
/* harmony import */ var _ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ViewFlagOverrides */ "../../core/frontend/lib/esm/tile/ViewFlagOverrides.js");
|
|
169431
169587
|
/* harmony import */ var _map_MapCartoRectangle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map/MapCartoRectangle */ "../../core/frontend/lib/esm/tile/map/MapCartoRectangle.js");
|
|
@@ -169470,41 +169626,42 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169470
169626
|
/* harmony import */ var _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./map/WmsCapabilities */ "../../core/frontend/lib/esm/tile/map/WmsCapabilities.js");
|
|
169471
169627
|
/* harmony import */ var _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./map/WmtsCapabilities */ "../../core/frontend/lib/esm/tile/map/WmtsCapabilities.js");
|
|
169472
169628
|
/* harmony import */ var _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./map/MapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/MapLayerImageryProvider.js");
|
|
169473
|
-
/* harmony import */ var
|
|
169474
|
-
/* harmony import */ var
|
|
169475
|
-
/* harmony import */ var
|
|
169476
|
-
/* harmony import */ var
|
|
169477
|
-
/* harmony import */ var
|
|
169478
|
-
/* harmony import */ var
|
|
169479
|
-
/* harmony import */ var
|
|
169480
|
-
/* harmony import */ var
|
|
169481
|
-
/* harmony import */ var
|
|
169482
|
-
/* harmony import */ var
|
|
169483
|
-
/* harmony import */ var
|
|
169484
|
-
/* harmony import */ var
|
|
169485
|
-
/* harmony import */ var
|
|
169486
|
-
/* harmony import */ var
|
|
169487
|
-
/* harmony import */ var
|
|
169488
|
-
/* harmony import */ var
|
|
169489
|
-
/* harmony import */ var
|
|
169490
|
-
/* harmony import */ var
|
|
169491
|
-
/* harmony import */ var
|
|
169492
|
-
/* harmony import */ var
|
|
169493
|
-
/* harmony import */ var
|
|
169494
|
-
/* harmony import */ var
|
|
169495
|
-
/* harmony import */ var
|
|
169496
|
-
/* harmony import */ var
|
|
169497
|
-
/* harmony import */ var
|
|
169498
|
-
/* harmony import */ var
|
|
169499
|
-
/* harmony import */ var
|
|
169500
|
-
/* harmony import */ var
|
|
169501
|
-
/* harmony import */ var
|
|
169502
|
-
/* harmony import */ var
|
|
169503
|
-
/* harmony import */ var
|
|
169504
|
-
/* harmony import */ var
|
|
169505
|
-
/* harmony import */ var
|
|
169506
|
-
/* harmony import */ var
|
|
169507
|
-
/* harmony import */ var
|
|
169629
|
+
/* harmony import */ var _map_ImageryProviders_ArcGISImageryProvider__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGISImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js");
|
|
169630
|
+
/* harmony import */ var _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGISMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js");
|
|
169631
|
+
/* harmony import */ var _map_ImageryProviders_AzureMapsLayerImageryProvider__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./map/ImageryProviders/AzureMapsLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js");
|
|
169632
|
+
/* harmony import */ var _map_ImageryProviders_BingImageryProvider__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./map/ImageryProviders/BingImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js");
|
|
169633
|
+
/* harmony import */ var _map_ImageryProviders_MapBoxLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./map/ImageryProviders/MapBoxLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js");
|
|
169634
|
+
/* harmony import */ var _map_ImageryProviders_TileUrlImageryProvider__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./map/ImageryProviders/TileUrlImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/TileUrlImageryProvider.js");
|
|
169635
|
+
/* harmony import */ var _map_ImageryProviders_WmsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./map/ImageryProviders/WmsMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WmsMapLayerImageryProvider.js");
|
|
169636
|
+
/* harmony import */ var _map_ImageryProviders_WmtsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./map/ImageryProviders/WmtsMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js");
|
|
169637
|
+
/* harmony import */ var _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./map/MapLayerImageryFormats */ "../../core/frontend/lib/esm/tile/map/MapLayerImageryFormats.js");
|
|
169638
|
+
/* harmony import */ var _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./map/MapLayerTileTreeReference */ "../../core/frontend/lib/esm/tile/map/MapLayerTileTreeReference.js");
|
|
169639
|
+
/* harmony import */ var _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./map/MapTileTree */ "../../core/frontend/lib/esm/tile/map/MapTileTree.js");
|
|
169640
|
+
/* harmony import */ var _map_TerrainMeshProvider__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./map/TerrainMeshProvider */ "../../core/frontend/lib/esm/tile/map/TerrainMeshProvider.js");
|
|
169641
|
+
/* harmony import */ var _map_TerrainProvider__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./map/TerrainProvider */ "../../core/frontend/lib/esm/tile/map/TerrainProvider.js");
|
|
169642
|
+
/* harmony import */ var _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./map/CesiumTerrainProvider */ "../../core/frontend/lib/esm/tile/map/CesiumTerrainProvider.js");
|
|
169643
|
+
/* harmony import */ var _map_EllipsoidTerrainProvider__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./map/EllipsoidTerrainProvider */ "../../core/frontend/lib/esm/tile/map/EllipsoidTerrainProvider.js");
|
|
169644
|
+
/* harmony import */ var _map_MapTile__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./map/MapTile */ "../../core/frontend/lib/esm/tile/map/MapTile.js");
|
|
169645
|
+
/* harmony import */ var _RealityTileLoader__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./RealityTileLoader */ "../../core/frontend/lib/esm/tile/RealityTileLoader.js");
|
|
169646
|
+
/* harmony import */ var _map_MapTileLoader__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./map/MapTileLoader */ "../../core/frontend/lib/esm/tile/map/MapTileLoader.js");
|
|
169647
|
+
/* harmony import */ var _map_BingElevation__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./map/BingElevation */ "../../core/frontend/lib/esm/tile/map/BingElevation.js");
|
|
169648
|
+
/* harmony import */ var _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./map/MapTilingScheme */ "../../core/frontend/lib/esm/tile/map/MapTilingScheme.js");
|
|
169649
|
+
/* harmony import */ var _map_MapTileAvailability__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./map/MapTileAvailability */ "../../core/frontend/lib/esm/tile/map/MapTileAvailability.js");
|
|
169650
|
+
/* harmony import */ var _PntsReader__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./PntsReader */ "../../core/frontend/lib/esm/tile/PntsReader.js");
|
|
169651
|
+
/* harmony import */ var _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./RealityModelTileTree */ "../../core/frontend/lib/esm/tile/RealityModelTileTree.js");
|
|
169652
|
+
/* harmony import */ var _IModelTile__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./IModelTile */ "../../core/frontend/lib/esm/tile/IModelTile.js");
|
|
169653
|
+
/* harmony import */ var _DynamicIModelTile__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./DynamicIModelTile */ "../../core/frontend/lib/esm/tile/DynamicIModelTile.js");
|
|
169654
|
+
/* harmony import */ var _IModelTileTree__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./IModelTileTree */ "../../core/frontend/lib/esm/tile/IModelTileTree.js");
|
|
169655
|
+
/* harmony import */ var _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./PrimaryTileTree */ "../../core/frontend/lib/esm/tile/PrimaryTileTree.js");
|
|
169656
|
+
/* harmony import */ var _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./ClassifierTileTree */ "../../core/frontend/lib/esm/tile/ClassifierTileTree.js");
|
|
169657
|
+
/* harmony import */ var _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./OrbitGtTileTree */ "../../core/frontend/lib/esm/tile/OrbitGtTileTree.js");
|
|
169658
|
+
/* harmony import */ var _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./map/ImageryTileTree */ "../../core/frontend/lib/esm/tile/map/ImageryTileTree.js");
|
|
169659
|
+
/* harmony import */ var _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./map/MapLayerSources */ "../../core/frontend/lib/esm/tile/map/MapLayerSources.js");
|
|
169660
|
+
/* harmony import */ var _map_MapTiledGraphicsProvider__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./map/MapTiledGraphicsProvider */ "../../core/frontend/lib/esm/tile/map/MapTiledGraphicsProvider.js");
|
|
169661
|
+
/* harmony import */ var _CesiumAssetProvider__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./CesiumAssetProvider */ "../../core/frontend/lib/esm/tile/CesiumAssetProvider.js");
|
|
169662
|
+
/* harmony import */ var _ContextShareProvider__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./ContextShareProvider */ "../../core/frontend/lib/esm/tile/ContextShareProvider.js");
|
|
169663
|
+
/* harmony import */ var _ThreeDTileFormatInterpreter__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./ThreeDTileFormatInterpreter */ "../../core/frontend/lib/esm/tile/ThreeDTileFormatInterpreter.js");
|
|
169664
|
+
/* harmony import */ var _OPCFormatInterpreter__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./OPCFormatInterpreter */ "../../core/frontend/lib/esm/tile/OPCFormatInterpreter.js");
|
|
169508
169665
|
/*---------------------------------------------------------------------------------------------
|
|
169509
169666
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
169510
169667
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -169597,6 +169754,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169597
169754
|
|
|
169598
169755
|
|
|
169599
169756
|
|
|
169757
|
+
|
|
169600
169758
|
|
|
169601
169759
|
|
|
169602
169760
|
|
|
@@ -169821,9 +169979,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169821
169979
|
/* harmony export */ "ArcGisUtilities": () => (/* binding */ ArcGisUtilities)
|
|
169822
169980
|
/* harmony export */ });
|
|
169823
169981
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
169824
|
-
/* harmony import */ var
|
|
169825
|
-
/* harmony import */ var
|
|
169826
|
-
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
169982
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
169983
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
169827
169984
|
/*---------------------------------------------------------------------------------------------
|
|
169828
169985
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
169829
169986
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -169831,7 +169988,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
169831
169988
|
|
|
169832
169989
|
|
|
169833
169990
|
|
|
169834
|
-
|
|
169835
169991
|
/** @packageDocumentation
|
|
169836
169992
|
* @module Tiles
|
|
169837
169993
|
*/
|
|
@@ -169846,35 +170002,15 @@ var ArcGisErrorCode;
|
|
|
169846
170002
|
})(ArcGisErrorCode || (ArcGisErrorCode = {}));
|
|
169847
170003
|
/** @internal */
|
|
169848
170004
|
class ArcGisUtilities {
|
|
169849
|
-
static hasTokenError(response) {
|
|
169850
|
-
var _a, _b, _c;
|
|
169851
|
-
if (response.header && ((_a = response.header["content-type"]) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes("json"))) {
|
|
169852
|
-
try {
|
|
169853
|
-
// Tile response returns byte array, so we need to check the response data type and convert accordingly.
|
|
169854
|
-
const json = ((response.body instanceof ArrayBuffer) ? JSON.parse(Buffer.from(response.body).toString()) : response.body);
|
|
169855
|
-
return (((_b = json === null || json === void 0 ? void 0 : json.error) === null || _b === void 0 ? void 0 : _b.code) === ArcGisErrorCode.TokenRequired || ((_c = json === null || json === void 0 ? void 0 : json.error) === null || _c === void 0 ? void 0 : _c.code) === ArcGisErrorCode.InvalidToken);
|
|
169856
|
-
}
|
|
169857
|
-
catch (_err) {
|
|
169858
|
-
return false; // that probably means we failed to convert byte array to JSON
|
|
169859
|
-
}
|
|
169860
|
-
}
|
|
169861
|
-
return false;
|
|
169862
|
-
}
|
|
169863
170005
|
static getBBoxString(range) {
|
|
169864
170006
|
if (!range)
|
|
169865
|
-
range =
|
|
170007
|
+
range = _internal__WEBPACK_IMPORTED_MODULE_1__.MapCartoRectangle.createMaximum();
|
|
169866
170008
|
return `${range.low.x * _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Angle.degreesPerRadian},${range.low.y * _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Angle.degreesPerRadian},${range.high.x * _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Angle.degreesPerRadian},${range.high.y * _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Angle.degreesPerRadian}`;
|
|
169867
170009
|
}
|
|
169868
|
-
static async getEndpoint(url) {
|
|
169869
|
-
const capabilities = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_1__.request)(`${url}?f=pjson`, {
|
|
169870
|
-
method: "GET",
|
|
169871
|
-
responseType: "json",
|
|
169872
|
-
});
|
|
169873
|
-
return capabilities.body;
|
|
169874
|
-
}
|
|
169875
170010
|
static async getNationalMapSources() {
|
|
169876
170011
|
const sources = new Array();
|
|
169877
|
-
const
|
|
170012
|
+
const response = await fetch("https://viewer.nationalmap.gov/tnmaccess/api/getMapServiceList", { method: "GET" });
|
|
170013
|
+
const services = await response.json();
|
|
169878
170014
|
if (!Array.isArray(services))
|
|
169879
170015
|
return sources;
|
|
169880
170016
|
for (const service of services) {
|
|
@@ -169882,13 +170018,13 @@ class ArcGisUtilities {
|
|
|
169882
170018
|
continue;
|
|
169883
170019
|
switch (service.serviceType) {
|
|
169884
170020
|
case "ArcGIS":
|
|
169885
|
-
sources.push(
|
|
170021
|
+
sources.push(_internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.displayName, url: service.serviceLink, formatId: "ArcGIS" }));
|
|
169886
170022
|
break;
|
|
169887
170023
|
default: {
|
|
169888
170024
|
const wmsIndex = service.wmsUrl.lastIndexOf("/wms");
|
|
169889
170025
|
if (wmsIndex > 0) {
|
|
169890
170026
|
const url = service.wmsUrl.slice(0, wmsIndex + 4);
|
|
169891
|
-
sources.push(
|
|
170027
|
+
sources.push(_internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.displayName, url, formatId: "WMS" }));
|
|
169892
170028
|
}
|
|
169893
170029
|
break;
|
|
169894
170030
|
}
|
|
@@ -169900,7 +170036,8 @@ class ArcGisUtilities {
|
|
|
169900
170036
|
if (undefined === baseUrl)
|
|
169901
170037
|
baseUrl = url;
|
|
169902
170038
|
let sources = new Array();
|
|
169903
|
-
const
|
|
170039
|
+
const response = await fetch(`${url}?f=json`, { method: "GET" });
|
|
170040
|
+
const json = await response.json();
|
|
169904
170041
|
if (json !== undefined) {
|
|
169905
170042
|
if (Array.isArray(json.folders)) {
|
|
169906
170043
|
for (const folder of json.folders) {
|
|
@@ -169911,9 +170048,9 @@ class ArcGisUtilities {
|
|
|
169911
170048
|
for (const service of json.services) {
|
|
169912
170049
|
let source;
|
|
169913
170050
|
if (service.type === "MapServer")
|
|
169914
|
-
source =
|
|
170051
|
+
source = _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.name, url: `${baseUrl}/${service.name}/MapServer`, formatId: "ArcGIS" });
|
|
169915
170052
|
else if (service.type === "ImageServer")
|
|
169916
|
-
source =
|
|
170053
|
+
source = _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.name, url: `${baseUrl}/${service.name}/ImageServer`, formatId: "ArcGIS" });
|
|
169917
170054
|
if (source)
|
|
169918
170055
|
sources.push(source);
|
|
169919
170056
|
}
|
|
@@ -169924,13 +170061,14 @@ class ArcGisUtilities {
|
|
|
169924
170061
|
static async getSourcesFromQuery(range, url = "https://usgs.maps.arcgis.com/sharing/rest/search") {
|
|
169925
170062
|
const sources = new Array();
|
|
169926
170063
|
for (let start = 1; start > 0;) {
|
|
169927
|
-
const
|
|
170064
|
+
const response = await fetch(`${url}?f=json&q=(group:9d1199a521334e77a7d15abbc29f8144) AND (type:"Map Service")&bbox=${ArcGisUtilities.getBBoxString(range)}&sortOrder=desc&start=${start}&num=100`, { method: "GET" });
|
|
170065
|
+
const json = await response.json();
|
|
169928
170066
|
if (!json)
|
|
169929
170067
|
break;
|
|
169930
170068
|
start = json.nextStart ? json.nextStart : -1;
|
|
169931
170069
|
if (json !== undefined && Array.isArray(json.results)) {
|
|
169932
170070
|
for (const result of json.results) {
|
|
169933
|
-
const source =
|
|
170071
|
+
const source = _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: result.name ? result.name : result.title, url: result.url, formatId: "ArcGIS" });
|
|
169934
170072
|
if (source)
|
|
169935
170073
|
sources.push(source);
|
|
169936
170074
|
}
|
|
@@ -169938,33 +170076,45 @@ class ArcGisUtilities {
|
|
|
169938
170076
|
}
|
|
169939
170077
|
return sources;
|
|
169940
170078
|
}
|
|
169941
|
-
|
|
169942
|
-
|
|
170079
|
+
/**
|
|
170080
|
+
* Attempt to access an ArcGIS service, and validate its service metadata.
|
|
170081
|
+
* @param url URL of the source to validate.
|
|
170082
|
+
* @param formatId Format Id of the source.
|
|
170083
|
+
* @param capabilitiesFilter List of capabilities 'keyword' that needs to be advertised in the service's metadata
|
|
170084
|
+
* in order to be valid. For example: 'Map', 'Query', etc
|
|
170085
|
+
* @param userName Username to use for legacy token based security.
|
|
170086
|
+
* @param password Username to use for legacy token based security.
|
|
170087
|
+
* @param ignoreCache Flag to skip cache lookup (i.e. force a new server request)
|
|
170088
|
+
* @return Validation Status. If successful, a list of available sub-layers will also be returned.
|
|
170089
|
+
*/
|
|
170090
|
+
static async validateSource(url, formatId, capabilitiesFilter, userName, password, ignoreCache) {
|
|
170091
|
+
const json = await this.getServiceJson(url, formatId, userName, password, ignoreCache);
|
|
169943
170092
|
if (json === undefined) {
|
|
169944
|
-
return { status:
|
|
170093
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidUrl };
|
|
169945
170094
|
}
|
|
169946
170095
|
else if (json.error !== undefined) {
|
|
169947
170096
|
// If we got a 'Token Required' error, lets check what authentification methods this ESRI service offers
|
|
169948
170097
|
// and return information needed to initiate the authentification process... the end-user
|
|
169949
170098
|
// will have to provide his credentials before we can fully validate this source.
|
|
169950
170099
|
if (json.error.code === ArcGisErrorCode.TokenRequired) {
|
|
169951
|
-
return { status:
|
|
170100
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.RequireAuth };
|
|
169952
170101
|
}
|
|
169953
170102
|
else if (json.error.code === ArcGisErrorCode.InvalidCredentials)
|
|
169954
|
-
return { status:
|
|
170103
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidCredentials };
|
|
169955
170104
|
}
|
|
169956
|
-
// Check this service support
|
|
169957
|
-
let
|
|
170105
|
+
// Check this service support the expected queries
|
|
170106
|
+
let hasCapabilities = false;
|
|
169958
170107
|
try {
|
|
169959
|
-
if (json.capabilities
|
|
169960
|
-
|
|
169961
|
-
|
|
169962
|
-
|
|
170108
|
+
if (json.capabilities && typeof json.capabilities === "string") {
|
|
170109
|
+
const capabilities = json.capabilities;
|
|
170110
|
+
const capsArray = capabilities.split(",").map((entry) => entry.toLowerCase());
|
|
170111
|
+
const filtered = capsArray.filter((element, _index, _array) => capabilitiesFilter.includes(element));
|
|
170112
|
+
hasCapabilities = (filtered.length === capabilitiesFilter.length);
|
|
169963
170113
|
}
|
|
169964
170114
|
}
|
|
169965
170115
|
catch { }
|
|
169966
|
-
if (!
|
|
169967
|
-
return { status:
|
|
170116
|
+
if (!hasCapabilities) {
|
|
170117
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidFormat };
|
|
169968
170118
|
}
|
|
169969
170119
|
let subLayers;
|
|
169970
170120
|
if (json.layers) {
|
|
@@ -169975,39 +170125,63 @@ class ArcGisUtilities {
|
|
|
169975
170125
|
subLayers.push({ name: layer.name, visible: layer.defaultVisibility !== false, id: layer.id, parent, children });
|
|
169976
170126
|
}
|
|
169977
170127
|
}
|
|
169978
|
-
return { status:
|
|
170128
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.Valid, subLayers };
|
|
169979
170129
|
}
|
|
169980
|
-
|
|
169981
|
-
|
|
170130
|
+
/**
|
|
170131
|
+
* Fetch an ArcGIS service metadata, and returns its JSON representation.
|
|
170132
|
+
* If an access client has been configured for the specified formatId,
|
|
170133
|
+
* it will be used to apply required security token.
|
|
170134
|
+
* By default, response for each URL are cached.
|
|
170135
|
+
*/
|
|
170136
|
+
static async getServiceJson(url, formatId, userName, password, ignoreCache) {
|
|
169982
170137
|
if (!ignoreCache) {
|
|
169983
170138
|
const cached = ArcGisUtilities._serviceCache.get(url);
|
|
169984
170139
|
if (cached !== undefined)
|
|
169985
170140
|
return cached;
|
|
169986
170141
|
}
|
|
169987
170142
|
try {
|
|
169988
|
-
const options = {
|
|
169989
|
-
method: "GET",
|
|
169990
|
-
responseType: "json",
|
|
169991
|
-
};
|
|
169992
170143
|
const tmpUrl = new URL(url);
|
|
169993
170144
|
tmpUrl.searchParams.append("f", "json");
|
|
169994
|
-
const accessClient =
|
|
170145
|
+
const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.mapLayerFormatRegistry.getAccessClient(formatId);
|
|
169995
170146
|
if (accessClient) {
|
|
169996
|
-
await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName
|
|
170147
|
+
await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName, password });
|
|
169997
170148
|
}
|
|
169998
|
-
const
|
|
169999
|
-
const
|
|
170000
|
-
|
|
170001
|
-
if (
|
|
170002
|
-
ArcGisUtilities._serviceCache.set(url, json);
|
|
170149
|
+
const response = await fetch(tmpUrl.toString(), { method: "GET" });
|
|
170150
|
+
const errorCode = await ArcGisUtilities.checkForResponseErrorCode(response);
|
|
170151
|
+
const json = await response.json();
|
|
170152
|
+
if (errorCode === undefined) {
|
|
170153
|
+
ArcGisUtilities._serviceCache.set(url, json); // Cache the response only if it doesn't contain a token error.
|
|
170003
170154
|
}
|
|
170004
|
-
|
|
170155
|
+
else {
|
|
170156
|
+
ArcGisUtilities._serviceCache.set(url, undefined);
|
|
170157
|
+
}
|
|
170158
|
+
return json; // Always return json, even though it contains an error code.
|
|
170005
170159
|
}
|
|
170006
170160
|
catch (_error) {
|
|
170007
170161
|
ArcGisUtilities._serviceCache.set(url, undefined);
|
|
170008
170162
|
return undefined;
|
|
170009
170163
|
}
|
|
170010
170164
|
}
|
|
170165
|
+
/** Read a response from ArcGIS server and check for error code in the response.
|
|
170166
|
+
*/
|
|
170167
|
+
static async checkForResponseErrorCode(response) {
|
|
170168
|
+
var _a, _b, _c;
|
|
170169
|
+
if (response.headers && ((_a = response.headers.get("content-type")) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes("json"))) {
|
|
170170
|
+
try {
|
|
170171
|
+
// Note:
|
|
170172
|
+
// Since response stream can only be read once (i.e. calls to .json() method)
|
|
170173
|
+
// we have to clone the response object in order to check for potential error code,
|
|
170174
|
+
// but still keep the response stream as unread.
|
|
170175
|
+
const clonedResponse = response.clone();
|
|
170176
|
+
const json = await clonedResponse.json();
|
|
170177
|
+
if (((_b = json === null || json === void 0 ? void 0 : json.error) === null || _b === void 0 ? void 0 : _b.code) !== undefined)
|
|
170178
|
+
return (_c = json === null || json === void 0 ? void 0 : json.error) === null || _c === void 0 ? void 0 : _c.code;
|
|
170179
|
+
}
|
|
170180
|
+
catch {
|
|
170181
|
+
}
|
|
170182
|
+
}
|
|
170183
|
+
return undefined;
|
|
170184
|
+
}
|
|
170011
170185
|
// return the appended access token if available.
|
|
170012
170186
|
static async appendSecurityToken(url, accessClient, accessTokenParams) {
|
|
170013
170187
|
// Append security token if available
|
|
@@ -170022,6 +170196,60 @@ class ArcGisUtilities {
|
|
|
170022
170196
|
}
|
|
170023
170197
|
return undefined;
|
|
170024
170198
|
}
|
|
170199
|
+
/**
|
|
170200
|
+
* Compute scale, resolution values for requested zoom levels (WSG 84)
|
|
170201
|
+
* Use a scale of 96 dpi for Google Maps scales
|
|
170202
|
+
* Based on this article: https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Resolution_and_Scale
|
|
170203
|
+
* @param startZoom Zoom level where scales begins to be computed
|
|
170204
|
+
* @param endZoom Zoom level where scales ends to be computed
|
|
170205
|
+
* @param latitude Latitude in degrees to use to compute scales (i.e 0 for Equator)
|
|
170206
|
+
* @param tileSize Size of a tile in pixels (i.e 256)
|
|
170207
|
+
* @param screenDpi Monitor resolution in dots per inch (i.e. typically 96dpi is used by Google Maps)
|
|
170208
|
+
* @returns An array containing resolution and scale values for each requested zoom level
|
|
170209
|
+
*/
|
|
170210
|
+
static computeZoomLevelsScales(startZoom = 0, endZoom = 20, latitude = 0, tileSize = 256, screenDpi = 96) {
|
|
170211
|
+
// Note: There is probably a more direct way to compute this, but I prefer to go for a simple and well documented approach.
|
|
170212
|
+
if (startZoom < 0 || endZoom < startZoom || tileSize < 0 || screenDpi < 1 || latitude < -90 || latitude > 90)
|
|
170213
|
+
return [];
|
|
170214
|
+
const inchPerMeter = 1 / 0.0254;
|
|
170215
|
+
const results = [];
|
|
170216
|
+
const equatorLength = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Constant.earthRadiusWGS84.equator * 2 * Math.PI;
|
|
170217
|
+
const zoom0Resolution = equatorLength / tileSize; // in meters per pixel
|
|
170218
|
+
const cosLatitude = Math.cos(latitude);
|
|
170219
|
+
for (let zoom = startZoom; zoom <= endZoom; zoom++) {
|
|
170220
|
+
const resolution = zoom0Resolution * cosLatitude / Math.pow(2, zoom);
|
|
170221
|
+
const scale = screenDpi * inchPerMeter * resolution;
|
|
170222
|
+
results.push({ zoom, resolution, scale });
|
|
170223
|
+
}
|
|
170224
|
+
return results;
|
|
170225
|
+
}
|
|
170226
|
+
/**
|
|
170227
|
+
* Match the provided minScale,maxScale values to corresponding wgs84 zoom levels
|
|
170228
|
+
* @param defaultMaxLod Value of the last LOD (i.e 22)
|
|
170229
|
+
* @param tileSize Size of a tile in pixels (i.e 256)
|
|
170230
|
+
* @param minScale Minimum scale value that needs to be matched to a LOD level
|
|
170231
|
+
* @param maxScale Maximum scale value that needs to be matched to a LOD level
|
|
170232
|
+
* @returns minLod: LOD value matching minScale, maxLod: LOD value matching maxScale
|
|
170233
|
+
*/
|
|
170234
|
+
static getZoomLevelsScales(defaultMaxLod, tileSize, minScale, maxScale) {
|
|
170235
|
+
let minLod, maxLod;
|
|
170236
|
+
const zoomScales = ArcGisUtilities.computeZoomLevelsScales(0, defaultMaxLod, 0 /* latitude 0 = Equator*/, tileSize);
|
|
170237
|
+
if (zoomScales.length > 0) {
|
|
170238
|
+
if (minScale) {
|
|
170239
|
+
minLod = 0;
|
|
170240
|
+
// We are looking for the largest scale value with a scale value smaller than minScale
|
|
170241
|
+
for (; minLod < zoomScales.length && zoomScales[minLod].scale > minScale; minLod++)
|
|
170242
|
+
;
|
|
170243
|
+
}
|
|
170244
|
+
if (maxScale) {
|
|
170245
|
+
maxLod = defaultMaxLod;
|
|
170246
|
+
// We are looking for the smallest scale value with a value greater than maxScale
|
|
170247
|
+
for (; maxLod >= 0 && zoomScales[maxLod].scale < maxScale; maxLod--)
|
|
170248
|
+
;
|
|
170249
|
+
}
|
|
170250
|
+
}
|
|
170251
|
+
return { minLod, maxLod };
|
|
170252
|
+
}
|
|
170025
170253
|
}
|
|
170026
170254
|
ArcGisUtilities._serviceCache = new Map();
|
|
170027
170255
|
|
|
@@ -170756,6 +170984,116 @@ class EllipsoidTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_3__.Te
|
|
|
170756
170984
|
}
|
|
170757
170985
|
|
|
170758
170986
|
|
|
170987
|
+
/***/ }),
|
|
170988
|
+
|
|
170989
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js":
|
|
170990
|
+
/*!**************************************************************************************!*\
|
|
170991
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js ***!
|
|
170992
|
+
\**************************************************************************************/
|
|
170993
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
170994
|
+
|
|
170995
|
+
"use strict";
|
|
170996
|
+
__webpack_require__.r(__webpack_exports__);
|
|
170997
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
170998
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* binding */ ArcGISImageryProvider)
|
|
170999
|
+
/* harmony export */ });
|
|
171000
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
171001
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
171002
|
+
/* harmony import */ var _NotificationManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../NotificationManager */ "../../core/frontend/lib/esm/NotificationManager.js");
|
|
171003
|
+
/*---------------------------------------------------------------------------------------------
|
|
171004
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
171005
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
171006
|
+
*--------------------------------------------------------------------------------------------*/
|
|
171007
|
+
/** @packageDocumentation
|
|
171008
|
+
* @module Tiles
|
|
171009
|
+
*/
|
|
171010
|
+
|
|
171011
|
+
|
|
171012
|
+
|
|
171013
|
+
/** Base class for ArcGIS map-layer imagery providers.
|
|
171014
|
+
*
|
|
171015
|
+
* The initial purpose of this class is to offer shared methods
|
|
171016
|
+
* to query ArcGIS services and apply the appropriate security token.
|
|
171017
|
+
* @see [[ArcGISMapLayerImageryProvider]]
|
|
171018
|
+
* @internal
|
|
171019
|
+
*/
|
|
171020
|
+
class ArcGISImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProvider {
|
|
171021
|
+
constructor(settings, usesCachedTiles) {
|
|
171022
|
+
var _a;
|
|
171023
|
+
super(settings, usesCachedTiles);
|
|
171024
|
+
this._accessClient = (_a = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry) === null || _a === void 0 ? void 0 : _a.getAccessClient(settings.formatId);
|
|
171025
|
+
}
|
|
171026
|
+
/**
|
|
171027
|
+
* Make a request to an ArcGIS service using the provided URL and init parameters.
|
|
171028
|
+
* @param url URL to query
|
|
171029
|
+
* @param options Custom settings to apply to the request.
|
|
171030
|
+
* Refer to fetch API for more details (https://developer.mozilla.org/en-US/docs/Web/API/fetch)
|
|
171031
|
+
*/
|
|
171032
|
+
async fetch(url, options) {
|
|
171033
|
+
var _a, _b;
|
|
171034
|
+
const urlObj = new URL(url);
|
|
171035
|
+
try {
|
|
171036
|
+
if (this._accessClient) {
|
|
171037
|
+
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, {
|
|
171038
|
+
mapLayerUrl: new URL(this._settings.url),
|
|
171039
|
+
userName: this._settings.userName,
|
|
171040
|
+
password: this._settings.password
|
|
171041
|
+
});
|
|
171042
|
+
}
|
|
171043
|
+
}
|
|
171044
|
+
catch {
|
|
171045
|
+
}
|
|
171046
|
+
let response = await fetch(urlObj.toString(), options);
|
|
171047
|
+
let errorCode = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.checkForResponseErrorCode(response.clone());
|
|
171048
|
+
if (errorCode !== undefined &&
|
|
171049
|
+
(errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.TokenRequired || errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.InvalidToken)) {
|
|
171050
|
+
let hasTokenError = true;
|
|
171051
|
+
// **** Legacy token ONLY ***
|
|
171052
|
+
// Token might have expired, make a second attempt by forcing new token.
|
|
171053
|
+
if (this._settings.userName && this._settings.userName.length > 0 && this._lastAccessToken) {
|
|
171054
|
+
// Invalidate previously used token to force token re-generation
|
|
171055
|
+
if (((_a = this._accessClient) === null || _a === void 0 ? void 0 : _a.invalidateToken) !== undefined && this._lastAccessToken !== undefined)
|
|
171056
|
+
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
171057
|
+
const urlObj2 = new URL(url);
|
|
171058
|
+
if (this._accessClient) {
|
|
171059
|
+
try {
|
|
171060
|
+
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, { mapLayerUrl: urlObj, userName: this._settings.userName, password: this._settings.password });
|
|
171061
|
+
}
|
|
171062
|
+
catch {
|
|
171063
|
+
}
|
|
171064
|
+
}
|
|
171065
|
+
// Make a second attempt with refreshed token
|
|
171066
|
+
response = await fetch(urlObj2.toString(), options);
|
|
171067
|
+
errorCode = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.checkForResponseErrorCode(response.clone());
|
|
171068
|
+
if (errorCode !== undefined &&
|
|
171069
|
+
(errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.TokenRequired || errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.InvalidToken)) {
|
|
171070
|
+
// OK at this point, if response still contain a token error, we assume end-user will
|
|
171071
|
+
// have to provide credentials again. Change the layer status so we
|
|
171072
|
+
// don't make additional invalid requests..
|
|
171073
|
+
if (((_b = this._accessClient) === null || _b === void 0 ? void 0 : _b.invalidateToken) !== undefined && this._lastAccessToken !== undefined) {
|
|
171074
|
+
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
171075
|
+
this._lastAccessToken = undefined;
|
|
171076
|
+
}
|
|
171077
|
+
}
|
|
171078
|
+
else {
|
|
171079
|
+
hasTokenError = false;
|
|
171080
|
+
}
|
|
171081
|
+
}
|
|
171082
|
+
if (hasTokenError
|
|
171083
|
+
&& this.status === _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProviderStatus.Valid) {
|
|
171084
|
+
// Only report if status is currently valid (avoid reporting twice the same error)
|
|
171085
|
+
this.status = _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProviderStatus.RequireAuth;
|
|
171086
|
+
this.onStatusChanged.raiseEvent(this);
|
|
171087
|
+
const msg = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.localization.getLocalizedString("iModelJs:MapLayers.Messages.FetchTooltipTokenError", { layerName: this._settings.name });
|
|
171088
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_2__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_2__.OutputMessagePriority.Warning, msg));
|
|
171089
|
+
}
|
|
171090
|
+
}
|
|
171091
|
+
return response;
|
|
171092
|
+
}
|
|
171093
|
+
}
|
|
171094
|
+
ArcGISImageryProvider._serviceCache = new Map();
|
|
171095
|
+
|
|
171096
|
+
|
|
170759
171097
|
/***/ }),
|
|
170760
171098
|
|
|
170761
171099
|
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js":
|
|
@@ -170769,15 +171107,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
170769
171107
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
170770
171108
|
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* binding */ ArcGISMapLayerImageryProvider)
|
|
170771
171109
|
/* harmony export */ });
|
|
170772
|
-
/* harmony import */ var
|
|
170773
|
-
/* harmony import */ var
|
|
170774
|
-
/* harmony import */ var
|
|
170775
|
-
/* harmony import */ var
|
|
170776
|
-
/* harmony import */ var
|
|
170777
|
-
/* harmony import */ var
|
|
170778
|
-
/* harmony import */ var
|
|
170779
|
-
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ "../../common/temp/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js");
|
|
170780
|
-
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
|
|
171110
|
+
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
171111
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
171112
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
171113
|
+
/* harmony import */ var _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/appui-abstract */ "../../ui/appui-abstract/lib/esm/appui-abstract.js");
|
|
171114
|
+
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
171115
|
+
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ "../../common/temp/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js");
|
|
171116
|
+
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);
|
|
170781
171117
|
/*---------------------------------------------------------------------------------------------
|
|
170782
171118
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
170783
171119
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -170791,10 +171127,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
170791
171127
|
|
|
170792
171128
|
|
|
170793
171129
|
|
|
170794
|
-
|
|
170795
|
-
|
|
170796
171130
|
/** @internal */
|
|
170797
|
-
class ArcGISMapLayerImageryProvider extends
|
|
171131
|
+
class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGISImageryProvider {
|
|
170798
171132
|
constructor(settings) {
|
|
170799
171133
|
super(settings, false);
|
|
170800
171134
|
this._maxDepthFromLod = 0;
|
|
@@ -170802,7 +171136,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170802
171136
|
this._copyrightText = "Copyright";
|
|
170803
171137
|
this._querySupported = false;
|
|
170804
171138
|
this._tileMapSupported = false;
|
|
170805
|
-
this._accessClient =
|
|
171139
|
+
this._accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.getAccessClient(settings.formatId);
|
|
170806
171140
|
}
|
|
170807
171141
|
get _filterByCartoRange() { return false; } // Can't trust footprint ranges (USGS Hydro)
|
|
170808
171142
|
get minimumZoomLevel() { return Math.max(super.minimumZoomLevel, this._minDepthFromLod); }
|
|
@@ -170811,56 +171145,23 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170811
171145
|
return Buffer.from(uintArray).toJSON();
|
|
170812
171146
|
}
|
|
170813
171147
|
async fetchTile(row, column, zoomLevel) {
|
|
170814
|
-
const tileRequestOptions = { method: "GET", responseType: "arraybuffer" };
|
|
170815
|
-
tileRequestOptions.auth = this.getRequestAuthorization();
|
|
170816
171148
|
const tileUrl = await this.constructUrl(row, column, zoomLevel);
|
|
170817
171149
|
if (tileUrl.length === 0)
|
|
170818
171150
|
return undefined;
|
|
170819
|
-
return
|
|
171151
|
+
return this.fetch(new URL(tileUrl), { method: "GET" });
|
|
170820
171152
|
}
|
|
170821
171153
|
async loadTile(row, column, zoomLevel) {
|
|
170822
|
-
|
|
170823
|
-
if ((this.status === _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.RequireAuth)) {
|
|
171154
|
+
if ((this.status === _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.RequireAuth)) {
|
|
170824
171155
|
return undefined;
|
|
170825
171156
|
}
|
|
170826
171157
|
try {
|
|
170827
|
-
|
|
171158
|
+
const tileResponse = await this.fetchTile(row, column, zoomLevel);
|
|
170828
171159
|
if (tileResponse === undefined)
|
|
170829
171160
|
return undefined;
|
|
170830
|
-
// Check the content type from the response, it might contain an authentication error that need to be reported.
|
|
170831
|
-
// Skip if the layer state was already invalid
|
|
170832
|
-
if (_internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.hasTokenError(tileResponse)) {
|
|
170833
|
-
if (((_a = this._accessClient) === null || _a === void 0 ? void 0 : _a.invalidateToken) !== undefined && this._lastAccessToken !== undefined)
|
|
170834
|
-
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
170835
|
-
// Token might have expired, make a second attempt by forcing new token.
|
|
170836
|
-
if (this._settings.userName && this._settings.userName.length > 0 && this._lastAccessToken) {
|
|
170837
|
-
tileResponse = await this.fetchTile(row, column, zoomLevel);
|
|
170838
|
-
if (tileResponse === undefined)
|
|
170839
|
-
return undefined;
|
|
170840
|
-
}
|
|
170841
|
-
// OK at this point, if response still contain a token error, we assume end-user will
|
|
170842
|
-
// have to provide credentials again. Change the layer status so we
|
|
170843
|
-
// don't make additional invalid requests..
|
|
170844
|
-
if (tileResponse && _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.hasTokenError(tileResponse)) {
|
|
170845
|
-
// Check again layer status, it might have change during await.
|
|
170846
|
-
if (this.status === _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.Valid) {
|
|
170847
|
-
this.status = _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.RequireAuth;
|
|
170848
|
-
this.onStatusChanged.raiseEvent(this);
|
|
170849
|
-
// Only report error to end-user if we were previously able to fetch tiles
|
|
170850
|
-
// and then encountered an error, otherwise I assume an error was already reported
|
|
170851
|
-
// through the source validation process.
|
|
170852
|
-
if (this._hasSuccessfullyFetchedTile) {
|
|
170853
|
-
const msg = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.localization.getLocalizedString("iModelJs:MapLayers.Messages.LoadTileTokenError", { layerName: this._settings.name });
|
|
170854
|
-
_IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_3__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_3__.OutputMessagePriority.Warning, msg));
|
|
170855
|
-
}
|
|
170856
|
-
}
|
|
170857
|
-
return undefined;
|
|
170858
|
-
}
|
|
170859
|
-
}
|
|
170860
171161
|
if (!this._hasSuccessfullyFetchedTile) {
|
|
170861
171162
|
this._hasSuccessfullyFetchedTile = true;
|
|
170862
171163
|
}
|
|
170863
|
-
return this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
171164
|
+
return await this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
170864
171165
|
}
|
|
170865
171166
|
catch (error) {
|
|
170866
171167
|
return undefined;
|
|
@@ -170888,7 +171189,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170888
171189
|
// eslint-disable-next-line @typescript-eslint/prefer-for-of
|
|
170889
171190
|
for (let i = 0; i < childIds.length; i++) {
|
|
170890
171191
|
const childExtent = this.getEPSG4326Extent(childIds[i].row, childIds[i].column, childIds[i].level);
|
|
170891
|
-
const childRange =
|
|
171192
|
+
const childRange = _internal__WEBPACK_IMPORTED_MODULE_2__.MapCartoRectangle.fromDegrees(childExtent.longitudeLeft, childExtent.latitudeBottom, childExtent.longitudeRight, childExtent.latitudeTop);
|
|
170892
171193
|
if (childRange.intersectsRange(this.cartoRange)) {
|
|
170893
171194
|
availableChildIds.push(childIds[i]);
|
|
170894
171195
|
}
|
|
@@ -170908,13 +171209,13 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170908
171209
|
}
|
|
170909
171210
|
async initialize() {
|
|
170910
171211
|
var _a, _b, _c, _d, _e;
|
|
170911
|
-
const json = await
|
|
171212
|
+
const json = await _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGisUtilities.getServiceJson(this._settings.url, this._settings.formatId, this._settings.userName, this._settings.password);
|
|
170912
171213
|
if (json === undefined)
|
|
170913
|
-
throw new
|
|
170914
|
-
if (((_a = json === null || json === void 0 ? void 0 : json.error) === null || _a === void 0 ? void 0 : _a.code) ===
|
|
171214
|
+
throw new _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.ServerError(_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.ValidationFailed, "");
|
|
171215
|
+
if (((_a = json === null || json === void 0 ? void 0 : json.error) === null || _a === void 0 ? void 0 : _a.code) === _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGisErrorCode.TokenRequired || ((_b = json === null || json === void 0 ? void 0 : json.error) === null || _b === void 0 ? void 0 : _b.code) === _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGisErrorCode.InvalidToken) {
|
|
170915
171216
|
// Check again layer status, it might have change during await.
|
|
170916
|
-
if (this.status ===
|
|
170917
|
-
this.status =
|
|
171217
|
+
if (this.status === _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.Valid) {
|
|
171218
|
+
this.status = _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.RequireAuth;
|
|
170918
171219
|
this.onStatusChanged.raiseEvent(this);
|
|
170919
171220
|
}
|
|
170920
171221
|
}
|
|
@@ -170934,12 +171235,12 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170934
171235
|
}
|
|
170935
171236
|
// Create tile map object only if we are going to request tiles from this server and it support tilemap requests.
|
|
170936
171237
|
if (this._usesCachedTiles && this._tileMapSupported) {
|
|
170937
|
-
this._tileMap = new
|
|
171238
|
+
this._tileMap = new _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGISTileMap(this._settings.url, this._settings, (_d = (_c = json.tileInfo) === null || _c === void 0 ? void 0 : _c.lods) === null || _d === void 0 ? void 0 : _d.length, this._accessClient);
|
|
170938
171239
|
}
|
|
170939
171240
|
// Read range using fullextent from service metadata
|
|
170940
171241
|
if (json.fullExtent) {
|
|
170941
171242
|
if (json.fullExtent.spatialReference.latestWkid === 3857 || json.fullExtent.spatialReference.wkid === 102100) {
|
|
170942
|
-
const range3857 =
|
|
171243
|
+
const range3857 = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_4__.Range2d.createFrom({
|
|
170943
171244
|
low: { x: json.fullExtent.xmin, y: json.fullExtent.ymin },
|
|
170944
171245
|
high: { x: json.fullExtent.xmax, y: json.fullExtent.ymax }
|
|
170945
171246
|
});
|
|
@@ -170947,7 +171248,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170947
171248
|
const south = this.getEPSG4326Lat(range3857.yLow);
|
|
170948
171249
|
const east = this.getEPSG4326Lon(range3857.xHigh);
|
|
170949
171250
|
const north = this.getEPSG4326Lat(range3857.yHigh);
|
|
170950
|
-
this.cartoRange =
|
|
171251
|
+
this.cartoRange = _internal__WEBPACK_IMPORTED_MODULE_2__.MapCartoRectangle.fromDegrees(west, south, east, north);
|
|
170951
171252
|
}
|
|
170952
171253
|
}
|
|
170953
171254
|
// Read minLOD if available
|
|
@@ -170960,7 +171261,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170960
171261
|
else if (json.minScale) {
|
|
170961
171262
|
// Read min LOD using minScale
|
|
170962
171263
|
const minScale = json.minScale;
|
|
170963
|
-
if (((_e = json.tileInfo) === null || _e === void 0 ? void 0 : _e.lods) !== undefined && (0,
|
|
171264
|
+
if (((_e = json.tileInfo) === null || _e === void 0 ? void 0 : _e.lods) !== undefined && (0,lodash__WEBPACK_IMPORTED_MODULE_5__.isArray)(json.tileInfo.lods)) {
|
|
170964
171265
|
for (const lod of json.tileInfo.lods) {
|
|
170965
171266
|
if (lod.scale < minScale) {
|
|
170966
171267
|
this._minDepthFromLod = lod.level;
|
|
@@ -170974,56 +171275,19 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
170974
171275
|
addLogoCards(cards) {
|
|
170975
171276
|
if (!cards.dataset.arcGisLogoCard) {
|
|
170976
171277
|
cards.dataset.arcGisLogoCard = "true";
|
|
170977
|
-
cards.appendChild(
|
|
171278
|
+
cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.makeLogoCard({ heading: "ArcGIS", notice: this._copyrightText }));
|
|
170978
171279
|
}
|
|
170979
171280
|
}
|
|
170980
171281
|
// Translates the provided Cartographic into a EPSG:3857 point, and retrieve information.
|
|
170981
171282
|
// tolerance is in pixels
|
|
170982
171283
|
async getIdentifyData(quadId, carto, tolerance) {
|
|
170983
|
-
var _a, _b, _c, _d, _e;
|
|
170984
171284
|
const bboxString = this.getEPSG3857ExtentString(quadId.row, quadId.column, quadId.level);
|
|
170985
171285
|
const x = this.getEPSG3857X(carto.longitudeDegrees);
|
|
170986
171286
|
const y = this.getEPSG3857Y(carto.latitudeDegrees);
|
|
170987
171287
|
const tmpUrl = `${this._settings.url}/identify?f=json&tolerance=${tolerance}&returnGeometry=false&sr=3857&imageDisplay=${this.tileSize},${this.tileSize},96&layers=${this.getLayerString("visible")}&geometry=${x},${y}&geometryType=esriGeometryPoint&mapExtent=${bboxString}`;
|
|
170988
171288
|
const urlObj = new URL(tmpUrl);
|
|
170989
|
-
|
|
170990
|
-
|
|
170991
|
-
this._lastAccessToken = undefined; // reset any previous accessToken, and rely on access client's cache
|
|
170992
|
-
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, { mapLayerUrl: urlObj, userName: this._settings.userName, password: this._settings.password });
|
|
170993
|
-
}
|
|
170994
|
-
catch {
|
|
170995
|
-
}
|
|
170996
|
-
}
|
|
170997
|
-
let json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_0__.getJson)(urlObj.toString());
|
|
170998
|
-
if (((_a = json === null || json === void 0 ? void 0 : json.error) === null || _a === void 0 ? void 0 : _a.code) === _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisErrorCode.TokenRequired || ((_b = json === null || json === void 0 ? void 0 : json.error) === null || _b === void 0 ? void 0 : _b.code) === _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisErrorCode.InvalidToken) {
|
|
170999
|
-
if (((_c = this._accessClient) === null || _c === void 0 ? void 0 : _c.invalidateToken) !== undefined && this._lastAccessToken !== undefined)
|
|
171000
|
-
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
171001
|
-
// Token might have expired, make a second attempt by forcing new token.
|
|
171002
|
-
if (this._settings.userName && this._settings.userName.length > 0 && this._lastAccessToken) {
|
|
171003
|
-
const urlObj2 = new URL(tmpUrl);
|
|
171004
|
-
if (this._accessClient) {
|
|
171005
|
-
try {
|
|
171006
|
-
await _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, { mapLayerUrl: urlObj, userName: this._settings.userName, password: this._settings.password });
|
|
171007
|
-
}
|
|
171008
|
-
catch {
|
|
171009
|
-
}
|
|
171010
|
-
}
|
|
171011
|
-
json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_0__.getJson)(urlObj2.toString());
|
|
171012
|
-
}
|
|
171013
|
-
// OK at this point, if response still contain a token error, we assume end-user will
|
|
171014
|
-
// have to provide credentials again. Change the layer status so we
|
|
171015
|
-
// don't make additional invalid requests..
|
|
171016
|
-
if (((_d = json === null || json === void 0 ? void 0 : json.error) === null || _d === void 0 ? void 0 : _d.code) === _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisErrorCode.TokenRequired || ((_e = json === null || json === void 0 ? void 0 : json.error) === null || _e === void 0 ? void 0 : _e.code) === _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisErrorCode.InvalidToken) {
|
|
171017
|
-
// Check again layer status, it might have change during await.
|
|
171018
|
-
if (this.status === _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.Valid) {
|
|
171019
|
-
this.status = _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.RequireAuth;
|
|
171020
|
-
const msg = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.localization.getLocalizedString("iModelJs:MapLayers.Messages.FetchTooltipTokenError", { layerName: this._settings.name });
|
|
171021
|
-
_IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_3__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_3__.OutputMessagePriority.Warning, msg));
|
|
171022
|
-
}
|
|
171023
|
-
json = undefined;
|
|
171024
|
-
}
|
|
171025
|
-
}
|
|
171026
|
-
return json;
|
|
171289
|
+
const response = await this.fetch(urlObj, { method: "GET" });
|
|
171290
|
+
return response.json();
|
|
171027
171291
|
}
|
|
171028
171292
|
// Makes an identify request to ESRI MapService server, and return it as a list of formatted strings
|
|
171029
171293
|
async getToolTip(strings, quadId, carto, tree) {
|
|
@@ -171061,7 +171325,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
171061
171325
|
for (const [key, value] of Object.entries(result.attributes)) {
|
|
171062
171326
|
// Convert everything to string for now
|
|
171063
171327
|
const strValue = String(value);
|
|
171064
|
-
(_b = subLayerInfo.records) === null || _b === void 0 ? void 0 : _b.push(new
|
|
171328
|
+
(_b = subLayerInfo.records) === null || _b === void 0 ? void 0 : _b.push(new _internal__WEBPACK_IMPORTED_MODULE_2__.MapFeatureInfoRecord({ valueFormat: _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__.PropertyValueFormat.Primitive, value: strValue, displayValue: strValue }, { name: key, displayLabel: key, typename: _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__.StandardTypeNames.String }));
|
|
171065
171329
|
}
|
|
171066
171330
|
if (layerInfo.info === undefined) {
|
|
171067
171331
|
layerInfo.info = [];
|
|
@@ -171091,20 +171355,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
171091
171355
|
const bboxString = `${this.getEPSG3857ExtentString(row, column, zoomLevel)}&bboxSR=3857`;
|
|
171092
171356
|
tmpUrl = `${this._settings.url}/export?bbox=${bboxString}&size=${this.tileSize},${this.tileSize}&layers=${this.getLayerString()}&format=png&transparent=${this.transparentBackgroundString}&f=image&sr=3857&imagesr=3857`;
|
|
171093
171357
|
}
|
|
171094
|
-
|
|
171095
|
-
try {
|
|
171096
|
-
if (this._accessClient) {
|
|
171097
|
-
this._lastAccessToken = undefined; // reset any previous accessToken, and rely on access client's cache
|
|
171098
|
-
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, {
|
|
171099
|
-
mapLayerUrl: new URL(this._settings.url),
|
|
171100
|
-
userName: this._settings.userName,
|
|
171101
|
-
password: this._settings.password
|
|
171102
|
-
});
|
|
171103
|
-
}
|
|
171104
|
-
}
|
|
171105
|
-
catch {
|
|
171106
|
-
}
|
|
171107
|
-
return urlObj.toString();
|
|
171358
|
+
return tmpUrl;
|
|
171108
171359
|
}
|
|
171109
171360
|
}
|
|
171110
171361
|
|
|
@@ -171494,7 +171745,8 @@ class WmsMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_3__.
|
|
|
171494
171745
|
}
|
|
171495
171746
|
async initialize() {
|
|
171496
171747
|
try {
|
|
171497
|
-
this.
|
|
171748
|
+
const credentials = (this._settings.userName && this._settings.password ? { user: this._settings.userName, password: this._settings.password } : undefined);
|
|
171749
|
+
this._capabilities = await _internal__WEBPACK_IMPORTED_MODULE_3__.WmsCapabilities.create(this._baseUrl, credentials);
|
|
171498
171750
|
if (undefined !== this._capabilities) {
|
|
171499
171751
|
this._allLayersRange = this._capabilities.cartoRange;
|
|
171500
171752
|
if (this._capabilities.layer && Array.isArray(this._capabilities.layer.subLayers)) {
|
|
@@ -172354,17 +172606,32 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
172354
172606
|
|
|
172355
172607
|
|
|
172356
172608
|
|
|
172609
|
+
const loggerCategory = "ArcGISFeatureProvider";
|
|
172357
172610
|
/** @beta */
|
|
172611
|
+
/** Class representing a map-layer format.
|
|
172612
|
+
* Each format has it's unique 'formatId' string, used to uniquely identify a format in the [[MapLayerFormatRegistry]].
|
|
172613
|
+
* When creating an [[ImageMapLayerSettings]] object, a format needs to be specified this 'formatId'.
|
|
172614
|
+
* The MapLayerFormat object can later be used to validate a source, or create a provider.
|
|
172615
|
+
*
|
|
172616
|
+
* Subclasses should override formatId and [[MapLayerFormat.createImageryProvider]].
|
|
172617
|
+
* @beta
|
|
172618
|
+
*/
|
|
172358
172619
|
class MapLayerFormat {
|
|
172620
|
+
/** Register the current format in the [[MapLayerFormatRegistry]].
|
|
172621
|
+
*/
|
|
172359
172622
|
static register() { _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.register(this); }
|
|
172360
|
-
/**
|
|
172623
|
+
/** Allow a source of a specific to be validated before being attached as a map-layer.
|
|
172624
|
+
*/
|
|
172625
|
+
static async validateSource(_url, _userName, _password, _ignoreCache) { return { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.Valid }; }
|
|
172626
|
+
/** Create a [[MapLayerImageryProvider]] that will be used to feed data in a map-layer tile Tree.
|
|
172627
|
+
* @internal
|
|
172628
|
+
*/
|
|
172361
172629
|
static createImageryProvider(_settings) { (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false); }
|
|
172362
172630
|
/** @internal */
|
|
172363
172631
|
static createMapLayerTree(_layerSettings, _layerIndex, _iModel) {
|
|
172364
172632
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false);
|
|
172365
172633
|
return undefined;
|
|
172366
172634
|
}
|
|
172367
|
-
static async validateSource(_url, _credentials, _ignoreCache) { return { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.Valid }; }
|
|
172368
172635
|
}
|
|
172369
172636
|
/** @beta */
|
|
172370
172637
|
class MapLayerFormatRegistry {
|
|
@@ -172373,6 +172640,7 @@ class MapLayerFormatRegistry {
|
|
|
172373
172640
|
this._configOptions = opts !== null && opts !== void 0 ? opts : {};
|
|
172374
172641
|
_internal__WEBPACK_IMPORTED_MODULE_2__.internalMapLayerImageryFormats.forEach((format) => this.register(format));
|
|
172375
172642
|
}
|
|
172643
|
+
isRegistered(formatId) { return this._formats.get(formatId) !== undefined; }
|
|
172376
172644
|
register(formatClass, accessClient) {
|
|
172377
172645
|
if (formatClass.formatId.length === 0)
|
|
172378
172646
|
return; // must be an abstract class, ignore it
|
|
@@ -172399,7 +172667,11 @@ class MapLayerFormatRegistry {
|
|
|
172399
172667
|
createImageryMapLayerTree(layerSettings, layerIndex, iModel) {
|
|
172400
172668
|
const entry = this._formats.get(layerSettings.formatId);
|
|
172401
172669
|
const format = entry === null || entry === void 0 ? void 0 : entry.type;
|
|
172402
|
-
|
|
172670
|
+
if (format === undefined) {
|
|
172671
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(loggerCategory, `Could not find format '${layerSettings.formatId}' in registry`);
|
|
172672
|
+
return undefined;
|
|
172673
|
+
}
|
|
172674
|
+
return format.createMapLayerTree(layerSettings, layerIndex, iModel);
|
|
172403
172675
|
}
|
|
172404
172676
|
/** @internal */
|
|
172405
172677
|
createImageryProvider(layerSettings) {
|
|
@@ -172412,10 +172684,10 @@ class MapLayerFormatRegistry {
|
|
|
172412
172684
|
}
|
|
172413
172685
|
return (format === undefined) ? undefined : format.createImageryProvider(layerSettings);
|
|
172414
172686
|
}
|
|
172415
|
-
async validateSource(formatId, url,
|
|
172687
|
+
async validateSource(formatId, url, userName, password, ignoreCache) {
|
|
172416
172688
|
const entry = this._formats.get(formatId);
|
|
172417
172689
|
const format = entry === null || entry === void 0 ? void 0 : entry.type;
|
|
172418
|
-
return (format === undefined) ? { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.InvalidFormat } : format.validateSource(url,
|
|
172690
|
+
return (format === undefined) ? { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.InvalidFormat } : format.validateSource(url, userName, password, ignoreCache);
|
|
172419
172691
|
}
|
|
172420
172692
|
}
|
|
172421
172693
|
|
|
@@ -172435,18 +172707,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
172435
172707
|
/* harmony export */ "internalMapLayerImageryFormats": () => (/* binding */ internalMapLayerImageryFormats)
|
|
172436
172708
|
/* harmony export */ });
|
|
172437
172709
|
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
172438
|
-
/*---------------------------------------------------------------------------------------------
|
|
172439
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
172440
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
172441
|
-
*--------------------------------------------------------------------------------------------*/
|
|
172442
|
-
/** @packageDocumentation
|
|
172443
|
-
* @module MapLayers
|
|
172444
|
-
*/
|
|
172445
172710
|
|
|
172446
|
-
/** Base class imagery map layer formats.
|
|
172447
|
-
*
|
|
172711
|
+
/** Base class imagery map layer formats.
|
|
172712
|
+
* Subclasses should override formatId and [[MapLayerFormat.createImageryProvider]].
|
|
172713
|
+
* @see [[MapLayerFormat]]
|
|
172714
|
+
* @beta
|
|
172448
172715
|
*/
|
|
172449
172716
|
class ImageryMapLayerFormat extends _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerFormat {
|
|
172717
|
+
/** @internal */
|
|
172450
172718
|
static createMapLayerTree(layerSettings, layerIndex, iModel) {
|
|
172451
172719
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.ImageryMapLayerTreeReference(layerSettings, layerIndex, iModel);
|
|
172452
172720
|
}
|
|
@@ -172455,11 +172723,11 @@ class WmsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
172455
172723
|
static createImageryProvider(settings) {
|
|
172456
172724
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.WmsMapLayerImageryProvider(settings);
|
|
172457
172725
|
}
|
|
172458
|
-
static async validateSource(url,
|
|
172726
|
+
static async validateSource(url, userName, password, ignoreCache) {
|
|
172459
172727
|
try {
|
|
172460
172728
|
let subLayers;
|
|
172461
172729
|
const maxVisibleSubLayers = 50;
|
|
172462
|
-
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmsCapabilities.create(url,
|
|
172730
|
+
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmsCapabilities.create(url, (userName && password ? { user: userName, password } : undefined), ignoreCache);
|
|
172463
172731
|
if (capabilities !== undefined) {
|
|
172464
172732
|
subLayers = capabilities.getSubLayers(false);
|
|
172465
172733
|
const rootsSubLayer = subLayers === null || subLayers === void 0 ? void 0 : subLayers.find((sublayer) => sublayer.parent === undefined);
|
|
@@ -172503,7 +172771,7 @@ class WmsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
172503
172771
|
catch (err) {
|
|
172504
172772
|
let status = _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidUrl;
|
|
172505
172773
|
if ((err === null || err === void 0 ? void 0 : err.status) === 401) {
|
|
172506
|
-
status = (
|
|
172774
|
+
status = ((userName && password) ? _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidCredentials : _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.RequireAuth);
|
|
172507
172775
|
}
|
|
172508
172776
|
return { status };
|
|
172509
172777
|
}
|
|
@@ -172514,11 +172782,11 @@ class WmtsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
172514
172782
|
static createImageryProvider(settings) {
|
|
172515
172783
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.WmtsMapLayerImageryProvider(settings);
|
|
172516
172784
|
}
|
|
172517
|
-
static async validateSource(url,
|
|
172785
|
+
static async validateSource(url, userName, password, ignoreCache) {
|
|
172518
172786
|
var _a, _b, _c;
|
|
172519
172787
|
try {
|
|
172520
172788
|
const subLayers = [];
|
|
172521
|
-
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmtsCapabilities.create(url,
|
|
172789
|
+
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmtsCapabilities.create(url, (userName && password ? { user: userName, password } : undefined), ignoreCache);
|
|
172522
172790
|
if (!capabilities)
|
|
172523
172791
|
return { status: _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidUrl };
|
|
172524
172792
|
// Only returns layer that can be published in the Google maps or WGS84 aligned tile trees.
|
|
@@ -172565,8 +172833,8 @@ class WmtsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
172565
172833
|
}
|
|
172566
172834
|
WmtsMapLayerFormat.formatId = "WMTS";
|
|
172567
172835
|
class ArcGISMapLayerFormat extends ImageryMapLayerFormat {
|
|
172568
|
-
static async validateSource(url,
|
|
172569
|
-
return _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.validateSource(url,
|
|
172836
|
+
static async validateSource(url, userName, password, ignoreCache) {
|
|
172837
|
+
return _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.validateSource(url, this.formatId, ["map"], userName, password, ignoreCache);
|
|
172570
172838
|
}
|
|
172571
172839
|
static createImageryProvider(settings) {
|
|
172572
172840
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGISMapLayerImageryProvider(settings);
|
|
@@ -172619,8 +172887,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
172619
172887
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
172620
172888
|
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
172621
172889
|
/* harmony import */ var _NotificationManager__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../NotificationManager */ "../../core/frontend/lib/esm/NotificationManager.js");
|
|
172622
|
-
/* harmony import */ var
|
|
172623
|
-
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
172890
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
172624
172891
|
/*---------------------------------------------------------------------------------------------
|
|
172625
172892
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
172626
172893
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -172634,11 +172901,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
172634
172901
|
|
|
172635
172902
|
|
|
172636
172903
|
|
|
172637
|
-
|
|
172904
|
+
/** @internal */
|
|
172638
172905
|
const tileImageSize = 256, untiledImageSize = 256;
|
|
172639
172906
|
const earthRadius = 6378137;
|
|
172640
172907
|
const doDebugToolTips = false;
|
|
172641
|
-
/** @
|
|
172908
|
+
/** @beta */
|
|
172642
172909
|
var MapLayerImageryProviderStatus;
|
|
172643
172910
|
(function (MapLayerImageryProviderStatus) {
|
|
172644
172911
|
MapLayerImageryProviderStatus[MapLayerImageryProviderStatus["Valid"] = 0] = "Valid";
|
|
@@ -172654,26 +172921,35 @@ class MapLayerImageryProvider {
|
|
|
172654
172921
|
this._hasSuccessfullyFetchedTile = false;
|
|
172655
172922
|
this.status = MapLayerImageryProviderStatus.Valid;
|
|
172656
172923
|
this.onStatusChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
172657
|
-
|
|
172658
|
-
this.
|
|
172659
|
-
|
|
172660
|
-
this._geographicTilingScheme = new
|
|
172924
|
+
/** @internal */
|
|
172925
|
+
this._mercatorTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.WebMercatorTilingScheme();
|
|
172926
|
+
/** @internal */
|
|
172927
|
+
this._geographicTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.GeographicTilingScheme();
|
|
172928
|
+
// Those values are used internally for various computation, this should not get overriden.
|
|
172929
|
+
/** @internal */
|
|
172930
|
+
this.defaultMinimumZoomLevel = 0;
|
|
172931
|
+
/** @internal */
|
|
172932
|
+
this.defaultMaximumZoomLevel = 22;
|
|
172933
|
+
this._mercatorTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.WebMercatorTilingScheme();
|
|
172934
|
+
this._geographicTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.GeographicTilingScheme(2, 1, true);
|
|
172661
172935
|
}
|
|
172662
172936
|
get tileSize() { return this._usesCachedTiles ? tileImageSize : untiledImageSize; }
|
|
172663
172937
|
get maximumScreenSize() { return 2 * this.tileSize; }
|
|
172664
|
-
get minimumZoomLevel() { return
|
|
172665
|
-
get maximumZoomLevel() { return
|
|
172938
|
+
get minimumZoomLevel() { return this.defaultMinimumZoomLevel; }
|
|
172939
|
+
get maximumZoomLevel() { return this.defaultMaximumZoomLevel; }
|
|
172666
172940
|
get usesCachedTiles() { return this._usesCachedTiles; }
|
|
172667
172941
|
get mutualExclusiveSubLayer() { return false; }
|
|
172668
172942
|
get useGeographicTilingScheme() { return false; }
|
|
172943
|
+
/** @internal */
|
|
172669
172944
|
get _filterByCartoRange() { return true; }
|
|
172670
172945
|
async initialize() {
|
|
172671
|
-
this.loadTile(0, 0,
|
|
172946
|
+
this.loadTile(0, 0, this.defaultMaximumZoomLevel).then((tileData) => {
|
|
172672
172947
|
if (tileData !== undefined)
|
|
172673
172948
|
this._missingTileData = tileData.data;
|
|
172674
172949
|
});
|
|
172675
172950
|
}
|
|
172676
172951
|
get tilingScheme() { return this.useGeographicTilingScheme ? this._geographicTilingScheme : this._mercatorTilingScheme; }
|
|
172952
|
+
/** @internal */
|
|
172677
172953
|
addLogoCards(_cards, _viewport) { }
|
|
172678
172954
|
get transparentBackgroundString() { return this._settings.transparentBackground ? "true" : "false"; }
|
|
172679
172955
|
async _areChildrenAvailable(_tile) { return true; }
|
|
@@ -172701,41 +172977,51 @@ class MapLayerImageryProvider {
|
|
|
172701
172977
|
// default implementation; simply return an empty feature info
|
|
172702
172978
|
featureInfos.push({ layerName: this._settings.name });
|
|
172703
172979
|
}
|
|
172704
|
-
|
|
172705
|
-
|
|
172706
|
-
|
|
172707
|
-
|
|
172708
|
-
const byteArray = new Uint8Array(
|
|
172980
|
+
/** @internal */
|
|
172981
|
+
async getImageFromTileResponse(tileResponse, zoomLevel) {
|
|
172982
|
+
var _a;
|
|
172983
|
+
const arrayBuffer = await tileResponse.arrayBuffer();
|
|
172984
|
+
const byteArray = new Uint8Array(arrayBuffer);
|
|
172709
172985
|
if (!byteArray || (byteArray.length === 0))
|
|
172710
172986
|
return undefined;
|
|
172711
172987
|
if (this.matchesMissingTile(byteArray) && zoomLevel > 8)
|
|
172712
172988
|
return undefined;
|
|
172989
|
+
const contentType = (_a = tileResponse.headers.get("content-type")) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
172713
172990
|
let imageFormat;
|
|
172714
|
-
|
|
172715
|
-
|
|
172716
|
-
|
|
172717
|
-
|
|
172718
|
-
|
|
172719
|
-
|
|
172720
|
-
|
|
172721
|
-
|
|
172722
|
-
|
|
172723
|
-
|
|
172724
|
-
|
|
172725
|
-
|
|
172726
|
-
}
|
|
172727
|
-
return new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSource(byteArray, imageFormat);
|
|
172991
|
+
if (contentType) {
|
|
172992
|
+
// Note: 'includes' is used here instead of exact comparison because we encountered
|
|
172993
|
+
// some servers that would give content type such as 'image/png;charset=UTF-8'.
|
|
172994
|
+
if (contentType.includes("image/jpeg"))
|
|
172995
|
+
imageFormat = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSourceFormat.Jpeg;
|
|
172996
|
+
else if (contentType.includes("image/png"))
|
|
172997
|
+
imageFormat = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSourceFormat.Png;
|
|
172998
|
+
}
|
|
172999
|
+
if (imageFormat !== undefined)
|
|
173000
|
+
return new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSource(byteArray, imageFormat);
|
|
173001
|
+
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false, "Invalid tile content type");
|
|
173002
|
+
return undefined;
|
|
172728
173003
|
}
|
|
173004
|
+
/** @internal */
|
|
172729
173005
|
setStatus(status) {
|
|
172730
173006
|
if (this.status !== status) {
|
|
172731
173007
|
this.status = status;
|
|
172732
173008
|
this.onStatusChanged.raiseEvent(this);
|
|
172733
173009
|
}
|
|
172734
173010
|
}
|
|
173011
|
+
/** @internal */
|
|
173012
|
+
setRequestAuthorization(headers) {
|
|
173013
|
+
if (this._settings.userName && this._settings.password) {
|
|
173014
|
+
headers.set("Authorization", `Basic ${_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Base64EncodedString.encode(`${this._settings.userName}:${this._settings.password}`)}`);
|
|
173015
|
+
}
|
|
173016
|
+
}
|
|
173017
|
+
/** @internal */
|
|
172735
173018
|
async makeTileRequest(url) {
|
|
172736
|
-
|
|
172737
|
-
|
|
172738
|
-
|
|
173019
|
+
let headers;
|
|
173020
|
+
if (this._settings.userName && this._settings.password) {
|
|
173021
|
+
headers = new Headers();
|
|
173022
|
+
this.setRequestAuthorization(headers);
|
|
173023
|
+
}
|
|
173024
|
+
return fetch(url, { method: "GET", headers });
|
|
172739
173025
|
}
|
|
172740
173026
|
async loadTile(row, column, zoomLevel) {
|
|
172741
173027
|
try {
|
|
@@ -172746,7 +173032,7 @@ class MapLayerImageryProvider {
|
|
|
172746
173032
|
if (!this._hasSuccessfullyFetchedTile) {
|
|
172747
173033
|
this._hasSuccessfullyFetchedTile = true;
|
|
172748
173034
|
}
|
|
172749
|
-
return this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
173035
|
+
return await this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
172750
173036
|
}
|
|
172751
173037
|
catch (error) {
|
|
172752
173038
|
if ((error === null || error === void 0 ? void 0 : error.status) === 401) {
|
|
@@ -172762,29 +173048,21 @@ class MapLayerImageryProvider {
|
|
|
172762
173048
|
return undefined;
|
|
172763
173049
|
}
|
|
172764
173050
|
}
|
|
173051
|
+
/** @internal */
|
|
172765
173052
|
async toolTipFromUrl(strings, url) {
|
|
172766
|
-
const
|
|
172767
|
-
|
|
172768
|
-
responseType: "text",
|
|
172769
|
-
auth: this.getRequestAuthorization(),
|
|
172770
|
-
}; // spell-checker: disable-line
|
|
173053
|
+
const headers = new Headers();
|
|
173054
|
+
this.setRequestAuthorization(headers);
|
|
172771
173055
|
try {
|
|
172772
|
-
const response = await (
|
|
172773
|
-
|
|
172774
|
-
|
|
173056
|
+
const response = await fetch(url, { method: "GET", headers });
|
|
173057
|
+
const text = await response.text();
|
|
173058
|
+
if (undefined !== text) {
|
|
173059
|
+
strings.push(text);
|
|
172775
173060
|
}
|
|
172776
173061
|
}
|
|
172777
173062
|
catch {
|
|
172778
173063
|
}
|
|
172779
173064
|
}
|
|
172780
|
-
|
|
172781
|
-
try {
|
|
172782
|
-
const json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_5__.getJson)(url);
|
|
172783
|
-
if (undefined !== json) {
|
|
172784
|
-
}
|
|
172785
|
-
}
|
|
172786
|
-
catch { }
|
|
172787
|
-
}
|
|
173065
|
+
/** @internal */
|
|
172788
173066
|
matchesMissingTile(tileData) {
|
|
172789
173067
|
if (!this._missingTileData)
|
|
172790
173068
|
return false;
|
|
@@ -172797,38 +173075,46 @@ class MapLayerImageryProvider {
|
|
|
172797
173075
|
}
|
|
172798
173076
|
return true;
|
|
172799
173077
|
}
|
|
173078
|
+
/** @internal */
|
|
172800
173079
|
// calculates the projected x cartesian coordinate in EPSG:3857from the longitude in EPSG:4326 (WGS84)
|
|
172801
173080
|
getEPSG3857X(longitude) {
|
|
172802
173081
|
return longitude * 20037508.34 / 180.0;
|
|
172803
173082
|
}
|
|
173083
|
+
/** @internal */
|
|
172804
173084
|
// calculates the projected y cartesian coordinate in EPSG:3857from the latitude in EPSG:4326 (WGS84)
|
|
172805
173085
|
getEPSG3857Y(latitude) {
|
|
172806
173086
|
const y = Math.log(Math.tan((90.0 + latitude) * Math.PI / 360.0)) / (Math.PI / 180.0);
|
|
172807
173087
|
return y * 20037508.34 / 180.0;
|
|
172808
173088
|
}
|
|
173089
|
+
/** @internal */
|
|
172809
173090
|
// calculates the longitude in EPSG:4326 (WGS84) from the projected x cartesian coordinate in EPSG:3857
|
|
172810
173091
|
getEPSG4326Lon(x3857) {
|
|
172811
173092
|
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Angle.radiansToDegrees(x3857 / earthRadius);
|
|
172812
173093
|
}
|
|
173094
|
+
/** @internal */
|
|
172813
173095
|
// calculates the latitude in EPSG:4326 (WGS84) from the projected y cartesian coordinate in EPSG:3857
|
|
172814
173096
|
getEPSG4326Lat(y3857) {
|
|
172815
173097
|
const y = 2 * Math.atan(Math.exp(y3857 / earthRadius)) - (Math.PI / 2);
|
|
172816
173098
|
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Angle.radiansToDegrees(y);
|
|
172817
173099
|
}
|
|
173100
|
+
/** @internal */
|
|
172818
173101
|
// Map tile providers like Bing and Mapbox allow the URL to be constructed directory from the zoom level and tile coordinates.
|
|
172819
173102
|
// However, WMS-based servers take a bounding box instead. This method can help get that bounding box from a tile.
|
|
172820
173103
|
getEPSG4326Extent(row, column, zoomLevel) {
|
|
172821
|
-
|
|
172822
|
-
|
|
172823
|
-
const
|
|
173104
|
+
// Shift left (this.tileSize << zoomLevel) overflow when using 512 pixels tile at higher resolution,
|
|
173105
|
+
// so use Math.pow instead (I assume the performance lost to be minimal)
|
|
173106
|
+
const mapSize = this.tileSize * Math.pow(2, zoomLevel);
|
|
173107
|
+
const leftGrid = this.tileSize * column;
|
|
173108
|
+
const topGrid = this.tileSize * row;
|
|
172824
173109
|
const longitudeLeft = 360 * ((leftGrid / mapSize) - 0.5);
|
|
172825
|
-
const y0 = 0.5 - ((topGrid +
|
|
173110
|
+
const y0 = 0.5 - ((topGrid + this.tileSize) / mapSize);
|
|
172826
173111
|
const latitudeBottom = 90.0 - 360.0 * Math.atan(Math.exp(-y0 * 2 * Math.PI)) / Math.PI;
|
|
172827
|
-
const longitudeRight = 360 * (((leftGrid +
|
|
173112
|
+
const longitudeRight = 360 * (((leftGrid + this.tileSize) / mapSize) - 0.5);
|
|
172828
173113
|
const y1 = 0.5 - (topGrid / mapSize);
|
|
172829
173114
|
const latitudeTop = 90.0 - 360.0 * Math.atan(Math.exp(-y1 * 2 * Math.PI)) / Math.PI;
|
|
172830
173115
|
return { longitudeLeft, longitudeRight, latitudeTop, latitudeBottom };
|
|
172831
173116
|
}
|
|
173117
|
+
/** @internal */
|
|
172832
173118
|
getEPSG3857Extent(row, column, zoomLevel) {
|
|
172833
173119
|
const epsg4326Extent = this.getEPSG4326Extent(row, column, zoomLevel);
|
|
172834
173120
|
const left = this.getEPSG3857X(epsg4326Extent.longitudeLeft);
|
|
@@ -172837,10 +173123,12 @@ class MapLayerImageryProvider {
|
|
|
172837
173123
|
const top = this.getEPSG3857Y(epsg4326Extent.latitudeTop);
|
|
172838
173124
|
return { left, right, bottom, top };
|
|
172839
173125
|
}
|
|
173126
|
+
/** @internal */
|
|
172840
173127
|
getEPSG3857ExtentString(row, column, zoomLevel) {
|
|
172841
173128
|
const tileExtent = this.getEPSG3857Extent(row, column, zoomLevel);
|
|
172842
173129
|
return `${tileExtent.left.toFixed(2)},${tileExtent.bottom.toFixed(2)},${tileExtent.right.toFixed(2)},${tileExtent.top.toFixed(2)}`;
|
|
172843
173130
|
}
|
|
173131
|
+
/** @internal */
|
|
172844
173132
|
getEPSG4326ExtentString(row, column, zoomLevel, latLongAxisOrdering) {
|
|
172845
173133
|
const tileExtent = this.getEPSG4326Extent(row, column, zoomLevel);
|
|
172846
173134
|
if (latLongAxisOrdering) {
|
|
@@ -172926,7 +173214,7 @@ class MapLayerSource {
|
|
|
172926
173214
|
return new MapLayerSource(json.formatId, json.name, json.url, json.baseMap, json.transparentBackground);
|
|
172927
173215
|
}
|
|
172928
173216
|
async validateSource(ignoreCache) {
|
|
172929
|
-
return _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.validateSource(this.formatId, this.url, this.
|
|
173217
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.validateSource(this.formatId, this.url, this.userName, this.password, ignoreCache);
|
|
172930
173218
|
}
|
|
172931
173219
|
/** @internal*/
|
|
172932
173220
|
static fromBackgroundMapProps(props) {
|
|
@@ -175803,7 +176091,10 @@ class WmsCapabilities {
|
|
|
175803
176091
|
if (!xmlCapabilities)
|
|
175804
176092
|
return undefined;
|
|
175805
176093
|
const capabilities = new WmsCapabilities(new (wms_capabilities__WEBPACK_IMPORTED_MODULE_1___default())().parse(xmlCapabilities));
|
|
175806
|
-
|
|
176094
|
+
if (!credentials) {
|
|
176095
|
+
// Avoid caching protected data
|
|
176096
|
+
WmsCapabilities._capabilitiesCache.set(url, capabilities);
|
|
176097
|
+
}
|
|
175807
176098
|
return capabilities;
|
|
175808
176099
|
}
|
|
175809
176100
|
getSubLayers(visible = true) {
|
|
@@ -269637,9 +269928,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
269637
269928
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
269638
269929
|
/* harmony export */ "ITwinLocalization": () => (/* binding */ ITwinLocalization)
|
|
269639
269930
|
/* harmony export */ });
|
|
269640
|
-
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
269641
|
-
/* harmony import */ var i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
269642
|
-
/* harmony import */ var i18next_http_backend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
269931
|
+
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/esm/i18next.js");
|
|
269932
|
+
/* harmony import */ var i18next_browser_languagedetector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js");
|
|
269933
|
+
/* harmony import */ var i18next_http_backend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/index.js");
|
|
269643
269934
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
269644
269935
|
/*---------------------------------------------------------------------------------------------
|
|
269645
269936
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -291051,7 +291342,7 @@ class TestContext {
|
|
|
291051
291342
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
291052
291343
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
|
|
291053
291344
|
await core_frontend_1.NoRenderApp.startup({
|
|
291054
|
-
applicationVersion: "3.5.0-dev.
|
|
291345
|
+
applicationVersion: "3.5.0-dev.34",
|
|
291055
291346
|
applicationId: this.settings.gprid,
|
|
291056
291347
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
291057
291348
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -304839,9 +305130,9 @@ var WidgetState;
|
|
|
304839
305130
|
|
|
304840
305131
|
/***/ }),
|
|
304841
305132
|
|
|
304842
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
305133
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/getFetch.cjs":
|
|
304843
305134
|
/*!**************************************************************************************************************************!*\
|
|
304844
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
305135
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/getFetch.cjs ***!
|
|
304845
305136
|
\**************************************************************************************************************************/
|
|
304846
305137
|
/***/ ((module, exports, __webpack_require__) => {
|
|
304847
305138
|
|
|
@@ -306471,9 +306762,9 @@ const gBase64 = {
|
|
|
306471
306762
|
|
|
306472
306763
|
/***/ }),
|
|
306473
306764
|
|
|
306474
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306765
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
|
|
306475
306766
|
/*!******************************************************************************************************************************!*\
|
|
306476
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306767
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
|
|
306477
306768
|
\******************************************************************************************************************************/
|
|
306478
306769
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306479
306770
|
|
|
@@ -306484,19 +306775,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306484
306775
|
/* harmony export */ });
|
|
306485
306776
|
function _arrayLikeToArray(arr, len) {
|
|
306486
306777
|
if (len == null || len > arr.length) len = arr.length;
|
|
306487
|
-
|
|
306488
306778
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
306489
306779
|
arr2[i] = arr[i];
|
|
306490
306780
|
}
|
|
306491
|
-
|
|
306492
306781
|
return arr2;
|
|
306493
306782
|
}
|
|
306494
306783
|
|
|
306495
306784
|
/***/ }),
|
|
306496
306785
|
|
|
306497
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306786
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
|
|
306498
306787
|
/*!****************************************************************************************************************************!*\
|
|
306499
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306788
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
|
|
306500
306789
|
\****************************************************************************************************************************/
|
|
306501
306790
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306502
306791
|
|
|
@@ -306511,9 +306800,9 @@ function _arrayWithHoles(arr) {
|
|
|
306511
306800
|
|
|
306512
306801
|
/***/ }),
|
|
306513
306802
|
|
|
306514
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306803
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
|
|
306515
306804
|
/*!***********************************************************************************************************************************!*\
|
|
306516
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306805
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
|
|
306517
306806
|
\***********************************************************************************************************************************/
|
|
306518
306807
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306519
306808
|
|
|
@@ -306526,15 +306815,14 @@ function _assertThisInitialized(self) {
|
|
|
306526
306815
|
if (self === void 0) {
|
|
306527
306816
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
306528
306817
|
}
|
|
306529
|
-
|
|
306530
306818
|
return self;
|
|
306531
306819
|
}
|
|
306532
306820
|
|
|
306533
306821
|
/***/ }),
|
|
306534
306822
|
|
|
306535
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306823
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
306536
306824
|
/*!****************************************************************************************************************************!*\
|
|
306537
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306825
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
306538
306826
|
\****************************************************************************************************************************/
|
|
306539
306827
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306540
306828
|
|
|
@@ -306551,9 +306839,9 @@ function _classCallCheck(instance, Constructor) {
|
|
|
306551
306839
|
|
|
306552
306840
|
/***/ }),
|
|
306553
306841
|
|
|
306554
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306842
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
306555
306843
|
/*!*************************************************************************************************************************!*\
|
|
306556
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306844
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
306557
306845
|
\*************************************************************************************************************************/
|
|
306558
306846
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306559
306847
|
|
|
@@ -306571,7 +306859,6 @@ function _defineProperties(target, props) {
|
|
|
306571
306859
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
306572
306860
|
}
|
|
306573
306861
|
}
|
|
306574
|
-
|
|
306575
306862
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
306576
306863
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
306577
306864
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
@@ -306583,9 +306870,9 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
306583
306870
|
|
|
306584
306871
|
/***/ }),
|
|
306585
306872
|
|
|
306586
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306873
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
|
|
306587
306874
|
/*!****************************************************************************************************************************!*\
|
|
306588
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306875
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
|
306589
306876
|
\****************************************************************************************************************************/
|
|
306590
306877
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306591
306878
|
|
|
@@ -306605,15 +306892,14 @@ function _defineProperty(obj, key, value) {
|
|
|
306605
306892
|
} else {
|
|
306606
306893
|
obj[key] = value;
|
|
306607
306894
|
}
|
|
306608
|
-
|
|
306609
306895
|
return obj;
|
|
306610
306896
|
}
|
|
306611
306897
|
|
|
306612
306898
|
/***/ }),
|
|
306613
306899
|
|
|
306614
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306900
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
|
|
306615
306901
|
/*!****************************************************************************************************************************!*\
|
|
306616
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306902
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
|
|
306617
306903
|
\****************************************************************************************************************************/
|
|
306618
306904
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306619
306905
|
|
|
@@ -306631,9 +306917,9 @@ function _getPrototypeOf(o) {
|
|
|
306631
306917
|
|
|
306632
306918
|
/***/ }),
|
|
306633
306919
|
|
|
306634
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306920
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/inherits.js":
|
|
306635
306921
|
/*!**********************************************************************************************************************!*\
|
|
306636
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306922
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
|
|
306637
306923
|
\**********************************************************************************************************************/
|
|
306638
306924
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306639
306925
|
|
|
@@ -306642,13 +306928,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306642
306928
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306643
306929
|
/* harmony export */ "default": () => (/* binding */ _inherits)
|
|
306644
306930
|
/* harmony export */ });
|
|
306645
|
-
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306931
|
+
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
|
|
306646
306932
|
|
|
306647
306933
|
function _inherits(subClass, superClass) {
|
|
306648
306934
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
306649
306935
|
throw new TypeError("Super expression must either be null or a function");
|
|
306650
306936
|
}
|
|
306651
|
-
|
|
306652
306937
|
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
306653
306938
|
constructor: {
|
|
306654
306939
|
value: subClass,
|
|
@@ -306664,9 +306949,9 @@ function _inherits(subClass, superClass) {
|
|
|
306664
306949
|
|
|
306665
306950
|
/***/ }),
|
|
306666
306951
|
|
|
306667
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306952
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
|
|
306668
306953
|
/*!*****************************************************************************************************************************!*\
|
|
306669
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306954
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
|
|
306670
306955
|
\*****************************************************************************************************************************/
|
|
306671
306956
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306672
306957
|
|
|
@@ -306681,9 +306966,9 @@ function _iterableToArray(iter) {
|
|
|
306681
306966
|
|
|
306682
306967
|
/***/ }),
|
|
306683
306968
|
|
|
306684
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306969
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
|
|
306685
306970
|
/*!*****************************************************************************************************************************!*\
|
|
306686
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306971
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
|
|
306687
306972
|
\*****************************************************************************************************************************/
|
|
306688
306973
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306689
306974
|
|
|
@@ -306698,9 +306983,9 @@ function _nonIterableRest() {
|
|
|
306698
306983
|
|
|
306699
306984
|
/***/ }),
|
|
306700
306985
|
|
|
306701
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306986
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
|
|
306702
306987
|
/*!***************************************************************************************************************************************!*\
|
|
306703
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306988
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
|
|
306704
306989
|
\***************************************************************************************************************************************/
|
|
306705
306990
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306706
306991
|
|
|
@@ -306709,8 +306994,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306709
306994
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306710
306995
|
/* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
|
|
306711
306996
|
/* harmony export */ });
|
|
306712
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306713
|
-
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306997
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
306998
|
+
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
306714
306999
|
|
|
306715
307000
|
|
|
306716
307001
|
function _possibleConstructorReturn(self, call) {
|
|
@@ -306719,15 +307004,14 @@ function _possibleConstructorReturn(self, call) {
|
|
|
306719
307004
|
} else if (call !== void 0) {
|
|
306720
307005
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
306721
307006
|
}
|
|
306722
|
-
|
|
306723
307007
|
return (0,_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__["default"])(self);
|
|
306724
307008
|
}
|
|
306725
307009
|
|
|
306726
307010
|
/***/ }),
|
|
306727
307011
|
|
|
306728
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307012
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
|
|
306729
307013
|
/*!****************************************************************************************************************************!*\
|
|
306730
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307014
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
|
306731
307015
|
\****************************************************************************************************************************/
|
|
306732
307016
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306733
307017
|
|
|
@@ -306746,9 +307030,9 @@ function _setPrototypeOf(o, p) {
|
|
|
306746
307030
|
|
|
306747
307031
|
/***/ }),
|
|
306748
307032
|
|
|
306749
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307033
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/toArray.js":
|
|
306750
307034
|
/*!*********************************************************************************************************************!*\
|
|
306751
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307035
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
|
|
306752
307036
|
\*********************************************************************************************************************/
|
|
306753
307037
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306754
307038
|
|
|
@@ -306757,10 +307041,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306757
307041
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306758
307042
|
/* harmony export */ "default": () => (/* binding */ _toArray)
|
|
306759
307043
|
/* harmony export */ });
|
|
306760
|
-
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306761
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306762
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306763
|
-
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307044
|
+
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
|
|
307045
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
|
|
307046
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
|
|
307047
|
+
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
|
|
306764
307048
|
|
|
306765
307049
|
|
|
306766
307050
|
|
|
@@ -306771,9 +307055,9 @@ function _toArray(arr) {
|
|
|
306771
307055
|
|
|
306772
307056
|
/***/ }),
|
|
306773
307057
|
|
|
306774
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307058
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
306775
307059
|
/*!********************************************************************************************************************!*\
|
|
306776
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307060
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
306777
307061
|
\********************************************************************************************************************/
|
|
306778
307062
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306779
307063
|
|
|
@@ -306794,9 +307078,9 @@ function _typeof(obj) {
|
|
|
306794
307078
|
|
|
306795
307079
|
/***/ }),
|
|
306796
307080
|
|
|
306797
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307081
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
|
|
306798
307082
|
/*!****************************************************************************************************************************************!*\
|
|
306799
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307083
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
|
|
306800
307084
|
\****************************************************************************************************************************************/
|
|
306801
307085
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306802
307086
|
|
|
@@ -306805,7 +307089,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306805
307089
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306806
307090
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
|
306807
307091
|
/* harmony export */ });
|
|
306808
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
307092
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
|
|
306809
307093
|
|
|
306810
307094
|
function _unsupportedIterableToArray(o, minLen) {
|
|
306811
307095
|
if (!o) return;
|
|
@@ -306818,9 +307102,9 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
306818
307102
|
|
|
306819
307103
|
/***/ }),
|
|
306820
307104
|
|
|
306821
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307105
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/index.js":
|
|
306822
307106
|
/*!**********************************************************************************************************************!*\
|
|
306823
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307107
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/index.js ***!
|
|
306824
307108
|
\**********************************************************************************************************************/
|
|
306825
307109
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306826
307110
|
|
|
@@ -306829,19 +307113,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306829
307113
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306830
307114
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
306831
307115
|
/* harmony export */ });
|
|
306832
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306833
|
-
/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./request.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307116
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/utils.js");
|
|
307117
|
+
/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./request.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/request.js");
|
|
306834
307118
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
306835
|
-
|
|
306836
307119
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
306837
|
-
|
|
306838
307120
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
306839
|
-
|
|
306840
307121
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
306841
307122
|
|
|
306842
307123
|
|
|
306843
|
-
|
|
306844
|
-
|
|
306845
307124
|
var getDefaults = function getDefaults() {
|
|
306846
307125
|
return {
|
|
306847
307126
|
loadPath: '/locales/{{lng}}/{{ns}}.json',
|
|
@@ -306868,32 +307147,26 @@ var getDefaults = function getDefaults() {
|
|
|
306868
307147
|
}
|
|
306869
307148
|
};
|
|
306870
307149
|
};
|
|
306871
|
-
|
|
306872
307150
|
var Backend = function () {
|
|
306873
307151
|
function Backend(services) {
|
|
306874
307152
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
306875
307153
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
306876
|
-
|
|
306877
307154
|
_classCallCheck(this, Backend);
|
|
306878
|
-
|
|
306879
307155
|
this.services = services;
|
|
306880
307156
|
this.options = options;
|
|
306881
307157
|
this.allOptions = allOptions;
|
|
306882
307158
|
this.type = 'backend';
|
|
306883
307159
|
this.init(services, options, allOptions);
|
|
306884
307160
|
}
|
|
306885
|
-
|
|
306886
307161
|
_createClass(Backend, [{
|
|
306887
307162
|
key: "init",
|
|
306888
307163
|
value: function init(services) {
|
|
306889
307164
|
var _this = this;
|
|
306890
|
-
|
|
306891
307165
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
306892
307166
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
306893
307167
|
this.services = services;
|
|
306894
307168
|
this.options = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.defaults)(options, this.options || {}, getDefaults());
|
|
306895
307169
|
this.allOptions = allOptions;
|
|
306896
|
-
|
|
306897
307170
|
if (this.services && this.options.reloadInterval) {
|
|
306898
307171
|
setInterval(function () {
|
|
306899
307172
|
return _this.reload();
|
|
@@ -306914,22 +307187,17 @@ var Backend = function () {
|
|
|
306914
307187
|
key: "_readAny",
|
|
306915
307188
|
value: function _readAny(languages, loadUrlLanguages, namespaces, loadUrlNamespaces, callback) {
|
|
306916
307189
|
var _this2 = this;
|
|
306917
|
-
|
|
306918
307190
|
var loadPath = this.options.loadPath;
|
|
306919
|
-
|
|
306920
307191
|
if (typeof this.options.loadPath === 'function') {
|
|
306921
307192
|
loadPath = this.options.loadPath(languages, namespaces);
|
|
306922
307193
|
}
|
|
306923
|
-
|
|
306924
307194
|
loadPath = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.makePromise)(loadPath);
|
|
306925
307195
|
loadPath.then(function (resolvedLoadPath) {
|
|
306926
307196
|
if (!resolvedLoadPath) return callback(null, {});
|
|
306927
|
-
|
|
306928
307197
|
var url = _this2.services.interpolator.interpolate(resolvedLoadPath, {
|
|
306929
307198
|
lng: languages.join('+'),
|
|
306930
307199
|
ns: namespaces.join('+')
|
|
306931
307200
|
});
|
|
306932
|
-
|
|
306933
307201
|
_this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
|
|
306934
307202
|
});
|
|
306935
307203
|
}
|
|
@@ -306937,14 +307205,12 @@ var Backend = function () {
|
|
|
306937
307205
|
key: "loadUrl",
|
|
306938
307206
|
value: function loadUrl(url, callback, languages, namespaces) {
|
|
306939
307207
|
var _this3 = this;
|
|
306940
|
-
|
|
306941
307208
|
this.options.request(this.options, url, undefined, function (err, res) {
|
|
306942
307209
|
if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' + url + '; status code: ' + res.status, true);
|
|
306943
307210
|
if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' + url + '; status code: ' + res.status, false);
|
|
306944
307211
|
if (!res && err && err.message && err.message.indexOf('Failed to fetch') > -1) return callback('failed loading ' + url + ': ' + err.message, true);
|
|
306945
307212
|
if (err) return callback(err, false);
|
|
306946
307213
|
var ret, parseErr;
|
|
306947
|
-
|
|
306948
307214
|
try {
|
|
306949
307215
|
if (typeof res.data === 'string') {
|
|
306950
307216
|
ret = _this3.options.parse(res.data, languages, namespaces);
|
|
@@ -306954,7 +307220,6 @@ var Backend = function () {
|
|
|
306954
307220
|
} catch (e) {
|
|
306955
307221
|
parseErr = 'failed parsing ' + url + ' to json';
|
|
306956
307222
|
}
|
|
306957
|
-
|
|
306958
307223
|
if (parseErr) return callback(parseErr, false);
|
|
306959
307224
|
callback(null, ret);
|
|
306960
307225
|
});
|
|
@@ -306963,7 +307228,6 @@ var Backend = function () {
|
|
|
306963
307228
|
key: "create",
|
|
306964
307229
|
value: function create(languages, namespace, key, fallbackValue, callback) {
|
|
306965
307230
|
var _this4 = this;
|
|
306966
|
-
|
|
306967
307231
|
if (!this.options.addPath) return;
|
|
306968
307232
|
if (typeof languages === 'string') languages = [languages];
|
|
306969
307233
|
var payload = this.options.parsePayload(namespace, key, fallbackValue);
|
|
@@ -306972,21 +307236,17 @@ var Backend = function () {
|
|
|
306972
307236
|
var resArray = [];
|
|
306973
307237
|
languages.forEach(function (lng) {
|
|
306974
307238
|
var addPath = _this4.options.addPath;
|
|
306975
|
-
|
|
306976
307239
|
if (typeof _this4.options.addPath === 'function') {
|
|
306977
307240
|
addPath = _this4.options.addPath(lng, namespace);
|
|
306978
307241
|
}
|
|
306979
|
-
|
|
306980
307242
|
var url = _this4.services.interpolator.interpolate(addPath, {
|
|
306981
307243
|
lng: lng,
|
|
306982
307244
|
ns: namespace
|
|
306983
307245
|
});
|
|
306984
|
-
|
|
306985
307246
|
_this4.options.request(_this4.options, url, payload, function (data, res) {
|
|
306986
307247
|
finished += 1;
|
|
306987
307248
|
dataArray.push(data);
|
|
306988
307249
|
resArray.push(res);
|
|
306989
|
-
|
|
306990
307250
|
if (finished === languages.length) {
|
|
306991
307251
|
if (callback) callback(dataArray, resArray);
|
|
306992
307252
|
}
|
|
@@ -306997,22 +307257,20 @@ var Backend = function () {
|
|
|
306997
307257
|
key: "reload",
|
|
306998
307258
|
value: function reload() {
|
|
306999
307259
|
var _this5 = this;
|
|
307000
|
-
|
|
307001
307260
|
var _this$services = this.services,
|
|
307002
|
-
|
|
307003
|
-
|
|
307004
|
-
|
|
307261
|
+
backendConnector = _this$services.backendConnector,
|
|
307262
|
+
languageUtils = _this$services.languageUtils,
|
|
307263
|
+
logger = _this$services.logger;
|
|
307005
307264
|
var currentLanguage = backendConnector.language;
|
|
307006
307265
|
if (currentLanguage && currentLanguage.toLowerCase() === 'cimode') return;
|
|
307007
|
-
var toLoad = [];
|
|
307008
307266
|
|
|
307267
|
+
var toLoad = [];
|
|
307009
307268
|
var append = function append(lng) {
|
|
307010
307269
|
var lngs = languageUtils.toResolveHierarchy(lng);
|
|
307011
307270
|
lngs.forEach(function (l) {
|
|
307012
307271
|
if (toLoad.indexOf(l) < 0) toLoad.push(l);
|
|
307013
307272
|
});
|
|
307014
307273
|
};
|
|
307015
|
-
|
|
307016
307274
|
append(currentLanguage);
|
|
307017
307275
|
if (this.allOptions.preload) this.allOptions.preload.forEach(function (l) {
|
|
307018
307276
|
return append(l);
|
|
@@ -307028,18 +307286,16 @@ var Backend = function () {
|
|
|
307028
307286
|
});
|
|
307029
307287
|
}
|
|
307030
307288
|
}]);
|
|
307031
|
-
|
|
307032
307289
|
return Backend;
|
|
307033
307290
|
}();
|
|
307034
|
-
|
|
307035
307291
|
Backend.type = 'backend';
|
|
307036
307292
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Backend);
|
|
307037
307293
|
|
|
307038
307294
|
/***/ }),
|
|
307039
307295
|
|
|
307040
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307296
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/request.js":
|
|
307041
307297
|
/*!************************************************************************************************************************!*\
|
|
307042
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307298
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/request.js ***!
|
|
307043
307299
|
\************************************************************************************************************************/
|
|
307044
307300
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
307045
307301
|
|
|
@@ -307049,14 +307305,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
307049
307305
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
307050
307306
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
307051
307307
|
/* harmony export */ });
|
|
307052
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307053
|
-
/* harmony import */ var _getFetch_cjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getFetch.cjs */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307308
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/utils.js");
|
|
307309
|
+
/* harmony import */ var _getFetch_cjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getFetch.cjs */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/getFetch.cjs");
|
|
307054
307310
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
307055
307311
|
|
|
307056
307312
|
|
|
307057
|
-
|
|
307058
307313
|
var fetchApi;
|
|
307059
|
-
|
|
307060
307314
|
if (typeof fetch === 'function') {
|
|
307061
307315
|
if (typeof global !== 'undefined' && global.fetch) {
|
|
307062
307316
|
fetchApi = global.fetch;
|
|
@@ -307066,9 +307320,7 @@ if (typeof fetch === 'function') {
|
|
|
307066
307320
|
fetchApi = fetch;
|
|
307067
307321
|
}
|
|
307068
307322
|
}
|
|
307069
|
-
|
|
307070
307323
|
var XmlHttpRequestApi;
|
|
307071
|
-
|
|
307072
307324
|
if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)()) {
|
|
307073
307325
|
if (typeof global !== 'undefined' && global.XMLHttpRequest) {
|
|
307074
307326
|
XmlHttpRequestApi = global.XMLHttpRequest;
|
|
@@ -307076,9 +307328,7 @@ if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)()) {
|
|
|
307076
307328
|
XmlHttpRequestApi = window.XMLHttpRequest;
|
|
307077
307329
|
}
|
|
307078
307330
|
}
|
|
307079
|
-
|
|
307080
307331
|
var ActiveXObjectApi;
|
|
307081
|
-
|
|
307082
307332
|
if (typeof ActiveXObject === 'function') {
|
|
307083
307333
|
if (typeof global !== 'undefined' && global.ActiveXObject) {
|
|
307084
307334
|
ActiveXObjectApi = global.ActiveXObject;
|
|
@@ -307086,25 +307336,19 @@ if (typeof ActiveXObject === 'function') {
|
|
|
307086
307336
|
ActiveXObjectApi = window.ActiveXObject;
|
|
307087
307337
|
}
|
|
307088
307338
|
}
|
|
307089
|
-
|
|
307090
307339
|
if (!fetchApi && /*#__PURE__*/ (_getFetch_cjs__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (_getFetch_cjs__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(_getFetch_cjs__WEBPACK_IMPORTED_MODULE_1__, 2))) && !XmlHttpRequestApi && !ActiveXObjectApi) fetchApi = _getFetch_cjs__WEBPACK_IMPORTED_MODULE_1__ || /*#__PURE__*/ (_getFetch_cjs__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (_getFetch_cjs__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(_getFetch_cjs__WEBPACK_IMPORTED_MODULE_1__, 2)));
|
|
307091
307340
|
if (typeof fetchApi !== 'function') fetchApi = undefined;
|
|
307092
|
-
|
|
307093
307341
|
var addQueryString = function addQueryString(url, params) {
|
|
307094
307342
|
if (params && _typeof(params) === 'object') {
|
|
307095
307343
|
var queryString = '';
|
|
307096
|
-
|
|
307097
307344
|
for (var paramName in params) {
|
|
307098
307345
|
queryString += '&' + encodeURIComponent(paramName) + '=' + encodeURIComponent(params[paramName]);
|
|
307099
307346
|
}
|
|
307100
|
-
|
|
307101
307347
|
if (!queryString) return url;
|
|
307102
307348
|
url = url + (url.indexOf('?') !== -1 ? '&' : '?') + queryString.slice(1);
|
|
307103
307349
|
}
|
|
307104
|
-
|
|
307105
307350
|
return url;
|
|
307106
307351
|
};
|
|
307107
|
-
|
|
307108
307352
|
var fetchIt = function fetchIt(url, fetchOptions, callback) {
|
|
307109
307353
|
fetchApi(url, fetchOptions).then(function (response) {
|
|
307110
307354
|
if (!response.ok) return callback(response.statusText || 'Error', {
|
|
@@ -307118,14 +307362,12 @@ var fetchIt = function fetchIt(url, fetchOptions, callback) {
|
|
|
307118
307362
|
}).catch(callback);
|
|
307119
307363
|
}).catch(callback);
|
|
307120
307364
|
};
|
|
307121
|
-
|
|
307122
307365
|
var omitFetchOptions = false;
|
|
307123
307366
|
|
|
307124
307367
|
var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
|
|
307125
307368
|
if (options.queryStringParams) {
|
|
307126
307369
|
url = addQueryString(url, options.queryStringParams);
|
|
307127
307370
|
}
|
|
307128
|
-
|
|
307129
307371
|
var headers = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.defaults)({}, typeof options.customHeaders === 'function' ? options.customHeaders() : options.customHeaders);
|
|
307130
307372
|
if (payload) headers['Content-Type'] = 'application/json';
|
|
307131
307373
|
var reqOptions = typeof options.requestOptions === 'function' ? options.requestOptions(payload) : options.requestOptions;
|
|
@@ -307134,14 +307376,12 @@ var requestWithFetch = function requestWithFetch(options, url, payload, callback
|
|
|
307134
307376
|
body: payload ? options.stringify(payload) : undefined,
|
|
307135
307377
|
headers: headers
|
|
307136
307378
|
}, omitFetchOptions ? {} : reqOptions);
|
|
307137
|
-
|
|
307138
307379
|
try {
|
|
307139
307380
|
fetchIt(url, fetchOptions, callback);
|
|
307140
307381
|
} catch (e) {
|
|
307141
307382
|
if (!reqOptions || Object.keys(reqOptions).length === 0 || !e.message || e.message.indexOf('not implemented') < 0) {
|
|
307142
307383
|
return callback(e);
|
|
307143
307384
|
}
|
|
307144
|
-
|
|
307145
307385
|
try {
|
|
307146
307386
|
Object.keys(reqOptions).forEach(function (opt) {
|
|
307147
307387
|
delete fetchOptions[opt];
|
|
@@ -307158,84 +307398,66 @@ var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url,
|
|
|
307158
307398
|
if (payload && _typeof(payload) === 'object') {
|
|
307159
307399
|
payload = addQueryString('', payload).slice(1);
|
|
307160
307400
|
}
|
|
307161
|
-
|
|
307162
307401
|
if (options.queryStringParams) {
|
|
307163
307402
|
url = addQueryString(url, options.queryStringParams);
|
|
307164
307403
|
}
|
|
307165
|
-
|
|
307166
307404
|
try {
|
|
307167
307405
|
var x;
|
|
307168
|
-
|
|
307169
307406
|
if (XmlHttpRequestApi) {
|
|
307170
307407
|
x = new XmlHttpRequestApi();
|
|
307171
307408
|
} else {
|
|
307172
307409
|
x = new ActiveXObjectApi('MSXML2.XMLHTTP.3.0');
|
|
307173
307410
|
}
|
|
307174
|
-
|
|
307175
307411
|
x.open(payload ? 'POST' : 'GET', url, 1);
|
|
307176
|
-
|
|
307177
307412
|
if (!options.crossDomain) {
|
|
307178
307413
|
x.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
|
|
307179
307414
|
}
|
|
307180
|
-
|
|
307181
307415
|
x.withCredentials = !!options.withCredentials;
|
|
307182
|
-
|
|
307183
307416
|
if (payload) {
|
|
307184
307417
|
x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
|
307185
307418
|
}
|
|
307186
|
-
|
|
307187
307419
|
if (x.overrideMimeType) {
|
|
307188
307420
|
x.overrideMimeType('application/json');
|
|
307189
307421
|
}
|
|
307190
|
-
|
|
307191
307422
|
var h = options.customHeaders;
|
|
307192
307423
|
h = typeof h === 'function' ? h() : h;
|
|
307193
|
-
|
|
307194
307424
|
if (h) {
|
|
307195
307425
|
for (var i in h) {
|
|
307196
307426
|
x.setRequestHeader(i, h[i]);
|
|
307197
307427
|
}
|
|
307198
307428
|
}
|
|
307199
|
-
|
|
307200
307429
|
x.onreadystatechange = function () {
|
|
307201
307430
|
x.readyState > 3 && callback(x.status >= 400 ? x.statusText : null, {
|
|
307202
307431
|
status: x.status,
|
|
307203
307432
|
data: x.responseText
|
|
307204
307433
|
});
|
|
307205
307434
|
};
|
|
307206
|
-
|
|
307207
307435
|
x.send(payload);
|
|
307208
307436
|
} catch (e) {
|
|
307209
307437
|
console && console.log(e);
|
|
307210
307438
|
}
|
|
307211
307439
|
};
|
|
307212
|
-
|
|
307213
307440
|
var request = function request(options, url, payload, callback) {
|
|
307214
307441
|
if (typeof payload === 'function') {
|
|
307215
307442
|
callback = payload;
|
|
307216
307443
|
payload = undefined;
|
|
307217
307444
|
}
|
|
307218
|
-
|
|
307219
307445
|
callback = callback || function () {};
|
|
307220
|
-
|
|
307221
307446
|
if (fetchApi) {
|
|
307222
307447
|
return requestWithFetch(options, url, payload, callback);
|
|
307223
307448
|
}
|
|
307224
|
-
|
|
307225
307449
|
if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)() || typeof ActiveXObject === 'function') {
|
|
307226
307450
|
return requestWithXmlHttpRequest(options, url, payload, callback);
|
|
307227
307451
|
}
|
|
307228
|
-
|
|
307229
307452
|
callback(new Error('No fetch and no xhr implementation found!'));
|
|
307230
307453
|
};
|
|
307231
|
-
|
|
307232
307454
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (request);
|
|
307233
307455
|
|
|
307234
307456
|
/***/ }),
|
|
307235
307457
|
|
|
307236
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307458
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/utils.js":
|
|
307237
307459
|
/*!**********************************************************************************************************************!*\
|
|
307238
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307460
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/utils.js ***!
|
|
307239
307461
|
\**********************************************************************************************************************/
|
|
307240
307462
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
307241
307463
|
|
|
@@ -307247,7 +307469,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
307247
307469
|
/* harmony export */ "makePromise": () => (/* binding */ makePromise)
|
|
307248
307470
|
/* harmony export */ });
|
|
307249
307471
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
307250
|
-
|
|
307251
307472
|
var arr = [];
|
|
307252
307473
|
var each = arr.forEach;
|
|
307253
307474
|
var slice = arr.slice;
|
|
@@ -307273,16 +307494,15 @@ function makePromise(maybePromise) {
|
|
|
307273
307494
|
if (isPromise(maybePromise)) {
|
|
307274
307495
|
return maybePromise;
|
|
307275
307496
|
}
|
|
307276
|
-
|
|
307277
307497
|
return Promise.resolve(maybePromise);
|
|
307278
307498
|
}
|
|
307279
307499
|
|
|
307280
307500
|
/***/ }),
|
|
307281
307501
|
|
|
307282
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
307283
|
-
|
|
307284
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next@21.
|
|
307285
|
-
|
|
307502
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/esm/i18next.js":
|
|
307503
|
+
/*!*****************************************************************************************************!*\
|
|
307504
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/esm/i18next.js ***!
|
|
307505
|
+
\*****************************************************************************************************/
|
|
307286
307506
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
307287
307507
|
|
|
307288
307508
|
"use strict";
|
|
@@ -307303,15 +307523,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
307303
307523
|
/* harmony export */ "t": () => (/* binding */ t),
|
|
307304
307524
|
/* harmony export */ "use": () => (/* binding */ use)
|
|
307305
307525
|
/* harmony export */ });
|
|
307306
|
-
/* 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.
|
|
307307
|
-
/* 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.
|
|
307308
|
-
/* 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.
|
|
307309
|
-
/* 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.
|
|
307310
|
-
/* 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.
|
|
307311
|
-
/* 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.
|
|
307312
|
-
/* 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.
|
|
307313
|
-
/* 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.
|
|
307314
|
-
/* 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.
|
|
307526
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
307527
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
307528
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
307529
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
307530
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/inherits.js");
|
|
307531
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
|
307532
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
|
307533
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
|
307534
|
+
/* 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.20.0/node_modules/@babel/runtime/helpers/esm/toArray.js");
|
|
307315
307535
|
|
|
307316
307536
|
|
|
307317
307537
|
|
|
@@ -309072,6 +309292,21 @@ function parseFormatStr(formatStr) {
|
|
|
309072
309292
|
};
|
|
309073
309293
|
}
|
|
309074
309294
|
|
|
309295
|
+
function createCachedFormatter(fn) {
|
|
309296
|
+
var cache = {};
|
|
309297
|
+
return function invokeFormatter(val, lng, options) {
|
|
309298
|
+
var key = lng + JSON.stringify(options);
|
|
309299
|
+
var formatter = cache[key];
|
|
309300
|
+
|
|
309301
|
+
if (!formatter) {
|
|
309302
|
+
formatter = fn(lng, options);
|
|
309303
|
+
cache[key] = formatter;
|
|
309304
|
+
}
|
|
309305
|
+
|
|
309306
|
+
return formatter(val);
|
|
309307
|
+
};
|
|
309308
|
+
}
|
|
309309
|
+
|
|
309075
309310
|
var Formatter = function () {
|
|
309076
309311
|
function Formatter() {
|
|
309077
309312
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -309081,23 +309316,38 @@ var Formatter = function () {
|
|
|
309081
309316
|
this.logger = baseLogger.create('formatter');
|
|
309082
309317
|
this.options = options;
|
|
309083
309318
|
this.formats = {
|
|
309084
|
-
number: function
|
|
309085
|
-
|
|
309086
|
-
|
|
309087
|
-
|
|
309088
|
-
|
|
309319
|
+
number: createCachedFormatter(function (lng, options) {
|
|
309320
|
+
var formatter = new Intl.NumberFormat(lng, options);
|
|
309321
|
+
return function (val) {
|
|
309322
|
+
return formatter.format(val);
|
|
309323
|
+
};
|
|
309324
|
+
}),
|
|
309325
|
+
currency: createCachedFormatter(function (lng, options) {
|
|
309326
|
+
var formatter = new Intl.NumberFormat(lng, _objectSpread$4(_objectSpread$4({}, options), {}, {
|
|
309089
309327
|
style: 'currency'
|
|
309090
|
-
}))
|
|
309091
|
-
|
|
309092
|
-
|
|
309093
|
-
|
|
309094
|
-
},
|
|
309095
|
-
|
|
309096
|
-
|
|
309097
|
-
|
|
309098
|
-
|
|
309099
|
-
|
|
309100
|
-
}
|
|
309328
|
+
}));
|
|
309329
|
+
return function (val) {
|
|
309330
|
+
return formatter.format(val);
|
|
309331
|
+
};
|
|
309332
|
+
}),
|
|
309333
|
+
datetime: createCachedFormatter(function (lng, options) {
|
|
309334
|
+
var formatter = new Intl.DateTimeFormat(lng, _objectSpread$4({}, options));
|
|
309335
|
+
return function (val) {
|
|
309336
|
+
return formatter.format(val);
|
|
309337
|
+
};
|
|
309338
|
+
}),
|
|
309339
|
+
relativetime: createCachedFormatter(function (lng, options) {
|
|
309340
|
+
var formatter = new Intl.RelativeTimeFormat(lng, _objectSpread$4({}, options));
|
|
309341
|
+
return function (val) {
|
|
309342
|
+
return formatter.format(val, options.range || 'day');
|
|
309343
|
+
};
|
|
309344
|
+
}),
|
|
309345
|
+
list: createCachedFormatter(function (lng, options) {
|
|
309346
|
+
var formatter = new Intl.ListFormat(lng, _objectSpread$4({}, options));
|
|
309347
|
+
return function (val) {
|
|
309348
|
+
return formatter.format(val);
|
|
309349
|
+
};
|
|
309350
|
+
})
|
|
309101
309351
|
};
|
|
309102
309352
|
this.init(options);
|
|
309103
309353
|
}
|
|
@@ -309116,6 +309366,11 @@ var Formatter = function () {
|
|
|
309116
309366
|
value: function add(name, fc) {
|
|
309117
309367
|
this.formats[name.toLowerCase().trim()] = fc;
|
|
309118
309368
|
}
|
|
309369
|
+
}, {
|
|
309370
|
+
key: "addCached",
|
|
309371
|
+
value: function addCached(name, fc) {
|
|
309372
|
+
this.formats[name.toLowerCase().trim()] = createCachedFormatter(fc);
|
|
309373
|
+
}
|
|
309119
309374
|
}, {
|
|
309120
309375
|
key: "format",
|
|
309121
309376
|
value: function format(value, _format, lng, options) {
|
|
@@ -310156,7 +310411,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
310156
310411
|
/***/ ((module) => {
|
|
310157
310412
|
|
|
310158
310413
|
"use strict";
|
|
310159
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.5.0-dev.
|
|
310414
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.5.0-dev.34","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","build:ci":"npm run -s build && npm run -s build:esm","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","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/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-eslintrc -c \\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\" \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^3.5.0-dev.34","@itwin/core-bentley":"workspace:^3.5.0-dev.34","@itwin/core-common":"workspace:^3.5.0-dev.34","@itwin/core-geometry":"workspace:^3.5.0-dev.34","@itwin/core-orbitgt":"workspace:^3.5.0-dev.34","@itwin/core-quantity":"workspace:^3.5.0-dev.34","@itwin/webgl-compatibility":"workspace:^3.5.0-dev.34"},"//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/certa":"workspace:*","@itwin/eslint-plugin":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/deep-assign":"^0.1.0","@types/lodash":"^4.14.0","@types/mocha":"^8.2.2","@types/node":"16.11.59","@types/qs":"^6.5.0","@types/semver":"7.3.10","@types/superagent":"^4.1.14","@types/sinon":"^9.0.0","chai":"^4.1.2","chai-as-promised":"^7","cpx2":"^3.0.0","eslint":"^7.11.0","glob":"^7.1.2","mocha":"^10.0.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^9.0.2","source-map-loader":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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/object-storage-azure":"~1.4.0","@itwin/cloud-agnostic-core":"~1.4.0","@itwin/object-storage-core":"~1.4.0","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","deep-assign":"^2.0.0","fuse.js":"^3.3.0","lodash":"^4.17.10","qs":"^6.5.1","semver":"^7.3.5","superagent":"7.1.3","wms-capabilities":"0.4.0","xml-js":"~1.6.11","reflect-metadata":"0.1.13"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"},"eslintConfig":{"plugins":["@itwin"],"extends":"plugin:@itwin/itwinjs-recommended","rules":{"@itwin/no-internal-barrel-imports":["error",{"required-barrel-modules":["./src/tile/internal.ts"]}],"@itwin/public-extension-exports":["error",{"releaseTags":["public","preview"],"outputApiFile":false}]},"overrides":[{"files":["*.test.ts","*.test.tsx","**/test/**/*.ts"],"rules":{"@itwin/no-internal-barrel-imports":"off"}}]}}');
|
|
310160
310415
|
|
|
310161
310416
|
/***/ }),
|
|
310162
310417
|
|