@itwin/ecschema-rpcinterface-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 +1051 -796
- 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 +16 -16
- 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) {
|
|
@@ -21939,9 +21939,9 @@ module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
|
21939
21939
|
|
|
21940
21940
|
/***/ }),
|
|
21941
21941
|
|
|
21942
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
21942
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
|
|
21943
21943
|
/*!****************************************************************************************************************************************************************************!*\
|
|
21944
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
21944
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
|
|
21945
21945
|
\****************************************************************************************************************************************************************************/
|
|
21946
21946
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
21947
21947
|
|
|
@@ -21950,8 +21950,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21950
21950
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21951
21951
|
/* harmony export */ "default": () => (/* binding */ Browser)
|
|
21952
21952
|
/* harmony export */ });
|
|
21953
|
-
/* 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.
|
|
21954
|
-
/* 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.
|
|
21953
|
+
/* 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");
|
|
21954
|
+
/* 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");
|
|
21955
21955
|
|
|
21956
21956
|
|
|
21957
21957
|
|
|
@@ -48113,9 +48113,9 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
48113
48113
|
|
|
48114
48114
|
/***/ }),
|
|
48115
48115
|
|
|
48116
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48116
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js":
|
|
48117
48117
|
/*!***************************************************************************************************!*\
|
|
48118
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48118
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js ***!
|
|
48119
48119
|
\***************************************************************************************************/
|
|
48120
48120
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
48121
48121
|
|
|
@@ -48249,19 +48249,19 @@ class Comparator {
|
|
|
48249
48249
|
|
|
48250
48250
|
module.exports = Comparator
|
|
48251
48251
|
|
|
48252
|
-
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48253
|
-
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48254
|
-
const cmp = __webpack_require__(/*! ../functions/cmp */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48255
|
-
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48256
|
-
const SemVer = __webpack_require__(/*! ./semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48257
|
-
const Range = __webpack_require__(/*! ./range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48252
|
+
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js")
|
|
48253
|
+
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
48254
|
+
const cmp = __webpack_require__(/*! ../functions/cmp */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js")
|
|
48255
|
+
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js")
|
|
48256
|
+
const SemVer = __webpack_require__(/*! ./semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
48257
|
+
const Range = __webpack_require__(/*! ./range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
48258
48258
|
|
|
48259
48259
|
|
|
48260
48260
|
/***/ }),
|
|
48261
48261
|
|
|
48262
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48262
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js":
|
|
48263
48263
|
/*!**********************************************************************************************!*\
|
|
48264
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48264
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js ***!
|
|
48265
48265
|
\**********************************************************************************************/
|
|
48266
48266
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
48267
48267
|
|
|
@@ -48462,17 +48462,17 @@ module.exports = Range
|
|
|
48462
48462
|
const LRU = __webpack_require__(/*! lru-cache */ "../../common/temp/node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js")
|
|
48463
48463
|
const cache = new LRU({ max: 1000 })
|
|
48464
48464
|
|
|
48465
|
-
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48466
|
-
const Comparator = __webpack_require__(/*! ./comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48467
|
-
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48468
|
-
const SemVer = __webpack_require__(/*! ./semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48465
|
+
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js")
|
|
48466
|
+
const Comparator = __webpack_require__(/*! ./comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js")
|
|
48467
|
+
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js")
|
|
48468
|
+
const SemVer = __webpack_require__(/*! ./semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
48469
48469
|
const {
|
|
48470
48470
|
re,
|
|
48471
48471
|
t,
|
|
48472
48472
|
comparatorTrimReplace,
|
|
48473
48473
|
tildeTrimReplace,
|
|
48474
48474
|
caretTrimReplace,
|
|
48475
|
-
} = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48475
|
+
} = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
48476
48476
|
|
|
48477
48477
|
const isNullSet = c => c.value === '<0.0.0-0'
|
|
48478
48478
|
const isAny = c => c.value === ''
|
|
@@ -48519,6 +48519,7 @@ const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
|
|
|
48519
48519
|
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
|
|
48520
48520
|
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
|
|
48521
48521
|
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
|
|
48522
|
+
// ~0.0.1 --> >=0.0.1 <0.1.0-0
|
|
48522
48523
|
const replaceTildes = (comp, options) =>
|
|
48523
48524
|
comp.trim().split(/\s+/).map((c) => {
|
|
48524
48525
|
return replaceTilde(c, options)
|
|
@@ -48558,6 +48559,8 @@ const replaceTilde = (comp, options) => {
|
|
|
48558
48559
|
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
|
|
48559
48560
|
// ^1.2.3 --> >=1.2.3 <2.0.0-0
|
|
48560
48561
|
// ^1.2.0 --> >=1.2.0 <2.0.0-0
|
|
48562
|
+
// ^0.0.1 --> >=0.0.1 <0.0.2-0
|
|
48563
|
+
// ^0.1.0 --> >=0.1.0 <0.2.0-0
|
|
48561
48564
|
const replaceCarets = (comp, options) =>
|
|
48562
48565
|
comp.trim().split(/\s+/).map((c) => {
|
|
48563
48566
|
return replaceCaret(c, options)
|
|
@@ -48788,18 +48791,18 @@ const testSet = (set, version, options) => {
|
|
|
48788
48791
|
|
|
48789
48792
|
/***/ }),
|
|
48790
48793
|
|
|
48791
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48794
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js":
|
|
48792
48795
|
/*!***********************************************************************************************!*\
|
|
48793
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48796
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js ***!
|
|
48794
48797
|
\***********************************************************************************************/
|
|
48795
48798
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
48796
48799
|
|
|
48797
|
-
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48798
|
-
const { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__(/*! ../internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48799
|
-
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48800
|
+
const debug = __webpack_require__(/*! ../internal/debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js")
|
|
48801
|
+
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")
|
|
48802
|
+
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
48800
48803
|
|
|
48801
|
-
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48802
|
-
const { compareIdentifiers } = __webpack_require__(/*! ../internal/identifiers */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
48804
|
+
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js")
|
|
48805
|
+
const { compareIdentifiers } = __webpack_require__(/*! ../internal/identifiers */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js")
|
|
48803
48806
|
class SemVer {
|
|
48804
48807
|
constructor (version, options) {
|
|
48805
48808
|
options = parseOptions(options)
|
|
@@ -49085,13 +49088,13 @@ module.exports = SemVer
|
|
|
49085
49088
|
|
|
49086
49089
|
/***/ }),
|
|
49087
49090
|
|
|
49088
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49091
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/clean.js":
|
|
49089
49092
|
/*!************************************************************************************************!*\
|
|
49090
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49093
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/clean.js ***!
|
|
49091
49094
|
\************************************************************************************************/
|
|
49092
49095
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49093
49096
|
|
|
49094
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49097
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49095
49098
|
const clean = (version, options) => {
|
|
49096
49099
|
const s = parse(version.trim().replace(/^[=v]+/, ''), options)
|
|
49097
49100
|
return s ? s.version : null
|
|
@@ -49101,18 +49104,18 @@ module.exports = clean
|
|
|
49101
49104
|
|
|
49102
49105
|
/***/ }),
|
|
49103
49106
|
|
|
49104
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49107
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js":
|
|
49105
49108
|
/*!**********************************************************************************************!*\
|
|
49106
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49109
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js ***!
|
|
49107
49110
|
\**********************************************************************************************/
|
|
49108
49111
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49109
49112
|
|
|
49110
|
-
const eq = __webpack_require__(/*! ./eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49111
|
-
const neq = __webpack_require__(/*! ./neq */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49112
|
-
const gt = __webpack_require__(/*! ./gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49113
|
-
const gte = __webpack_require__(/*! ./gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49114
|
-
const lt = __webpack_require__(/*! ./lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49115
|
-
const lte = __webpack_require__(/*! ./lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49113
|
+
const eq = __webpack_require__(/*! ./eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js")
|
|
49114
|
+
const neq = __webpack_require__(/*! ./neq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/neq.js")
|
|
49115
|
+
const gt = __webpack_require__(/*! ./gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js")
|
|
49116
|
+
const gte = __webpack_require__(/*! ./gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js")
|
|
49117
|
+
const lt = __webpack_require__(/*! ./lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js")
|
|
49118
|
+
const lte = __webpack_require__(/*! ./lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js")
|
|
49116
49119
|
|
|
49117
49120
|
const cmp = (a, op, b, loose) => {
|
|
49118
49121
|
switch (op) {
|
|
@@ -49163,15 +49166,15 @@ module.exports = cmp
|
|
|
49163
49166
|
|
|
49164
49167
|
/***/ }),
|
|
49165
49168
|
|
|
49166
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49169
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/coerce.js":
|
|
49167
49170
|
/*!*************************************************************************************************!*\
|
|
49168
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49171
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/coerce.js ***!
|
|
49169
49172
|
\*************************************************************************************************/
|
|
49170
49173
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49171
49174
|
|
|
49172
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49173
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49174
|
-
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49175
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49176
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49177
|
+
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
49175
49178
|
|
|
49176
49179
|
const coerce = (version, options) => {
|
|
49177
49180
|
if (version instanceof SemVer) {
|
|
@@ -49225,13 +49228,13 @@ module.exports = coerce
|
|
|
49225
49228
|
|
|
49226
49229
|
/***/ }),
|
|
49227
49230
|
|
|
49228
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49231
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js":
|
|
49229
49232
|
/*!********************************************************************************************************!*\
|
|
49230
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49233
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js ***!
|
|
49231
49234
|
\********************************************************************************************************/
|
|
49232
49235
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49233
49236
|
|
|
49234
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49237
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49235
49238
|
const compareBuild = (a, b, loose) => {
|
|
49236
49239
|
const versionA = new SemVer(a, loose)
|
|
49237
49240
|
const versionB = new SemVer(b, loose)
|
|
@@ -49242,26 +49245,26 @@ module.exports = compareBuild
|
|
|
49242
49245
|
|
|
49243
49246
|
/***/ }),
|
|
49244
49247
|
|
|
49245
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49248
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-loose.js":
|
|
49246
49249
|
/*!********************************************************************************************************!*\
|
|
49247
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49250
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-loose.js ***!
|
|
49248
49251
|
\********************************************************************************************************/
|
|
49249
49252
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49250
49253
|
|
|
49251
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49254
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49252
49255
|
const compareLoose = (a, b) => compare(a, b, true)
|
|
49253
49256
|
module.exports = compareLoose
|
|
49254
49257
|
|
|
49255
49258
|
|
|
49256
49259
|
/***/ }),
|
|
49257
49260
|
|
|
49258
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49261
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js":
|
|
49259
49262
|
/*!**************************************************************************************************!*\
|
|
49260
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49263
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js ***!
|
|
49261
49264
|
\**************************************************************************************************/
|
|
49262
49265
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49263
49266
|
|
|
49264
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49267
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49265
49268
|
const compare = (a, b, loose) =>
|
|
49266
49269
|
new SemVer(a, loose).compare(new SemVer(b, loose))
|
|
49267
49270
|
|
|
@@ -49270,14 +49273,14 @@ module.exports = compare
|
|
|
49270
49273
|
|
|
49271
49274
|
/***/ }),
|
|
49272
49275
|
|
|
49273
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49276
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/diff.js":
|
|
49274
49277
|
/*!***********************************************************************************************!*\
|
|
49275
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49278
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/diff.js ***!
|
|
49276
49279
|
\***********************************************************************************************/
|
|
49277
49280
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49278
49281
|
|
|
49279
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49280
|
-
const eq = __webpack_require__(/*! ./eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49282
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49283
|
+
const eq = __webpack_require__(/*! ./eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js")
|
|
49281
49284
|
|
|
49282
49285
|
const diff = (version1, version2) => {
|
|
49283
49286
|
if (eq(version1, version2)) {
|
|
@@ -49303,52 +49306,52 @@ module.exports = diff
|
|
|
49303
49306
|
|
|
49304
49307
|
/***/ }),
|
|
49305
49308
|
|
|
49306
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49309
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js":
|
|
49307
49310
|
/*!*********************************************************************************************!*\
|
|
49308
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49311
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js ***!
|
|
49309
49312
|
\*********************************************************************************************/
|
|
49310
49313
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49311
49314
|
|
|
49312
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49315
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49313
49316
|
const eq = (a, b, loose) => compare(a, b, loose) === 0
|
|
49314
49317
|
module.exports = eq
|
|
49315
49318
|
|
|
49316
49319
|
|
|
49317
49320
|
/***/ }),
|
|
49318
49321
|
|
|
49319
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49322
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js":
|
|
49320
49323
|
/*!*********************************************************************************************!*\
|
|
49321
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49324
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js ***!
|
|
49322
49325
|
\*********************************************************************************************/
|
|
49323
49326
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49324
49327
|
|
|
49325
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49328
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49326
49329
|
const gt = (a, b, loose) => compare(a, b, loose) > 0
|
|
49327
49330
|
module.exports = gt
|
|
49328
49331
|
|
|
49329
49332
|
|
|
49330
49333
|
/***/ }),
|
|
49331
49334
|
|
|
49332
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49335
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js":
|
|
49333
49336
|
/*!**********************************************************************************************!*\
|
|
49334
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49337
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js ***!
|
|
49335
49338
|
\**********************************************************************************************/
|
|
49336
49339
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49337
49340
|
|
|
49338
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49341
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49339
49342
|
const gte = (a, b, loose) => compare(a, b, loose) >= 0
|
|
49340
49343
|
module.exports = gte
|
|
49341
49344
|
|
|
49342
49345
|
|
|
49343
49346
|
/***/ }),
|
|
49344
49347
|
|
|
49345
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49348
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/inc.js":
|
|
49346
49349
|
/*!**********************************************************************************************!*\
|
|
49347
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49350
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/inc.js ***!
|
|
49348
49351
|
\**********************************************************************************************/
|
|
49349
49352
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49350
49353
|
|
|
49351
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49354
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49352
49355
|
|
|
49353
49356
|
const inc = (version, release, options, identifier) => {
|
|
49354
49357
|
if (typeof (options) === 'string') {
|
|
@@ -49370,82 +49373,82 @@ module.exports = inc
|
|
|
49370
49373
|
|
|
49371
49374
|
/***/ }),
|
|
49372
49375
|
|
|
49373
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49376
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js":
|
|
49374
49377
|
/*!*********************************************************************************************!*\
|
|
49375
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49378
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js ***!
|
|
49376
49379
|
\*********************************************************************************************/
|
|
49377
49380
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49378
49381
|
|
|
49379
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49382
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49380
49383
|
const lt = (a, b, loose) => compare(a, b, loose) < 0
|
|
49381
49384
|
module.exports = lt
|
|
49382
49385
|
|
|
49383
49386
|
|
|
49384
49387
|
/***/ }),
|
|
49385
49388
|
|
|
49386
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49389
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js":
|
|
49387
49390
|
/*!**********************************************************************************************!*\
|
|
49388
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49391
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js ***!
|
|
49389
49392
|
\**********************************************************************************************/
|
|
49390
49393
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49391
49394
|
|
|
49392
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49395
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49393
49396
|
const lte = (a, b, loose) => compare(a, b, loose) <= 0
|
|
49394
49397
|
module.exports = lte
|
|
49395
49398
|
|
|
49396
49399
|
|
|
49397
49400
|
/***/ }),
|
|
49398
49401
|
|
|
49399
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49402
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/major.js":
|
|
49400
49403
|
/*!************************************************************************************************!*\
|
|
49401
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49404
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/major.js ***!
|
|
49402
49405
|
\************************************************************************************************/
|
|
49403
49406
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49404
49407
|
|
|
49405
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49408
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49406
49409
|
const major = (a, loose) => new SemVer(a, loose).major
|
|
49407
49410
|
module.exports = major
|
|
49408
49411
|
|
|
49409
49412
|
|
|
49410
49413
|
/***/ }),
|
|
49411
49414
|
|
|
49412
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49415
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/minor.js":
|
|
49413
49416
|
/*!************************************************************************************************!*\
|
|
49414
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49417
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/minor.js ***!
|
|
49415
49418
|
\************************************************************************************************/
|
|
49416
49419
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49417
49420
|
|
|
49418
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49421
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49419
49422
|
const minor = (a, loose) => new SemVer(a, loose).minor
|
|
49420
49423
|
module.exports = minor
|
|
49421
49424
|
|
|
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/neq.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/neq.js ***!
|
|
49428
49431
|
\**********************************************************************************************/
|
|
49429
49432
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49430
49433
|
|
|
49431
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49434
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49432
49435
|
const neq = (a, b, loose) => compare(a, b, loose) !== 0
|
|
49433
49436
|
module.exports = neq
|
|
49434
49437
|
|
|
49435
49438
|
|
|
49436
49439
|
/***/ }),
|
|
49437
49440
|
|
|
49438
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49441
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js":
|
|
49439
49442
|
/*!************************************************************************************************!*\
|
|
49440
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49443
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js ***!
|
|
49441
49444
|
\************************************************************************************************/
|
|
49442
49445
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49443
49446
|
|
|
49444
|
-
const { MAX_LENGTH } = __webpack_require__(/*! ../internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49445
|
-
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49446
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49447
|
+
const { MAX_LENGTH } = __webpack_require__(/*! ../internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js")
|
|
49448
|
+
const { re, t } = __webpack_require__(/*! ../internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
49449
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49447
49450
|
|
|
49448
|
-
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49451
|
+
const parseOptions = __webpack_require__(/*! ../internal/parse-options */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js")
|
|
49449
49452
|
const parse = (version, options) => {
|
|
49450
49453
|
options = parseOptions(options)
|
|
49451
49454
|
|
|
@@ -49478,26 +49481,26 @@ module.exports = parse
|
|
|
49478
49481
|
|
|
49479
49482
|
/***/ }),
|
|
49480
49483
|
|
|
49481
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49484
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/patch.js":
|
|
49482
49485
|
/*!************************************************************************************************!*\
|
|
49483
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49486
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/patch.js ***!
|
|
49484
49487
|
\************************************************************************************************/
|
|
49485
49488
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49486
49489
|
|
|
49487
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49490
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49488
49491
|
const patch = (a, loose) => new SemVer(a, loose).patch
|
|
49489
49492
|
module.exports = patch
|
|
49490
49493
|
|
|
49491
49494
|
|
|
49492
49495
|
/***/ }),
|
|
49493
49496
|
|
|
49494
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49497
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/prerelease.js":
|
|
49495
49498
|
/*!*****************************************************************************************************!*\
|
|
49496
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49499
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/prerelease.js ***!
|
|
49497
49500
|
\*****************************************************************************************************/
|
|
49498
49501
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49499
49502
|
|
|
49500
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49503
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49501
49504
|
const prerelease = (version, options) => {
|
|
49502
49505
|
const parsed = parse(version, options)
|
|
49503
49506
|
return (parsed && parsed.prerelease.length) ? parsed.prerelease : null
|
|
@@ -49507,39 +49510,39 @@ module.exports = prerelease
|
|
|
49507
49510
|
|
|
49508
49511
|
/***/ }),
|
|
49509
49512
|
|
|
49510
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49513
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rcompare.js":
|
|
49511
49514
|
/*!***************************************************************************************************!*\
|
|
49512
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49515
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rcompare.js ***!
|
|
49513
49516
|
\***************************************************************************************************/
|
|
49514
49517
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49515
49518
|
|
|
49516
|
-
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49519
|
+
const compare = __webpack_require__(/*! ./compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49517
49520
|
const rcompare = (a, b, loose) => compare(b, a, loose)
|
|
49518
49521
|
module.exports = rcompare
|
|
49519
49522
|
|
|
49520
49523
|
|
|
49521
49524
|
/***/ }),
|
|
49522
49525
|
|
|
49523
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49526
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rsort.js":
|
|
49524
49527
|
/*!************************************************************************************************!*\
|
|
49525
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49528
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rsort.js ***!
|
|
49526
49529
|
\************************************************************************************************/
|
|
49527
49530
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49528
49531
|
|
|
49529
|
-
const compareBuild = __webpack_require__(/*! ./compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49532
|
+
const compareBuild = __webpack_require__(/*! ./compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js")
|
|
49530
49533
|
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))
|
|
49531
49534
|
module.exports = rsort
|
|
49532
49535
|
|
|
49533
49536
|
|
|
49534
49537
|
/***/ }),
|
|
49535
49538
|
|
|
49536
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49539
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js":
|
|
49537
49540
|
/*!****************************************************************************************************!*\
|
|
49538
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49541
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js ***!
|
|
49539
49542
|
\****************************************************************************************************/
|
|
49540
49543
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49541
49544
|
|
|
49542
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49545
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
49543
49546
|
const satisfies = (version, range, options) => {
|
|
49544
49547
|
try {
|
|
49545
49548
|
range = new Range(range, options)
|
|
@@ -49553,26 +49556,26 @@ module.exports = satisfies
|
|
|
49553
49556
|
|
|
49554
49557
|
/***/ }),
|
|
49555
49558
|
|
|
49556
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49559
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/sort.js":
|
|
49557
49560
|
/*!***********************************************************************************************!*\
|
|
49558
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49561
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/sort.js ***!
|
|
49559
49562
|
\***********************************************************************************************/
|
|
49560
49563
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49561
49564
|
|
|
49562
|
-
const compareBuild = __webpack_require__(/*! ./compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49565
|
+
const compareBuild = __webpack_require__(/*! ./compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js")
|
|
49563
49566
|
const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))
|
|
49564
49567
|
module.exports = sort
|
|
49565
49568
|
|
|
49566
49569
|
|
|
49567
49570
|
/***/ }),
|
|
49568
49571
|
|
|
49569
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49572
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/valid.js":
|
|
49570
49573
|
/*!************************************************************************************************!*\
|
|
49571
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49574
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/valid.js ***!
|
|
49572
49575
|
\************************************************************************************************/
|
|
49573
49576
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49574
49577
|
|
|
49575
|
-
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49578
|
+
const parse = __webpack_require__(/*! ./parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49576
49579
|
const valid = (version, options) => {
|
|
49577
49580
|
const v = parse(version, options)
|
|
49578
49581
|
return v ? v.version : null
|
|
@@ -49582,67 +49585,107 @@ module.exports = valid
|
|
|
49582
49585
|
|
|
49583
49586
|
/***/ }),
|
|
49584
49587
|
|
|
49585
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49588
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/index.js":
|
|
49586
49589
|
/*!**************************************************************************************!*\
|
|
49587
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49590
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/index.js ***!
|
|
49588
49591
|
\**************************************************************************************/
|
|
49589
49592
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49590
49593
|
|
|
49591
49594
|
// just pre-load all the stuff that index.js lazily exports
|
|
49592
|
-
const internalRe = __webpack_require__(/*! ./internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49595
|
+
const internalRe = __webpack_require__(/*! ./internal/re */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js")
|
|
49596
|
+
const constants = __webpack_require__(/*! ./internal/constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js")
|
|
49597
|
+
const SemVer = __webpack_require__(/*! ./classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
49598
|
+
const identifiers = __webpack_require__(/*! ./internal/identifiers */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js")
|
|
49599
|
+
const parse = __webpack_require__(/*! ./functions/parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/parse.js")
|
|
49600
|
+
const valid = __webpack_require__(/*! ./functions/valid */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/valid.js")
|
|
49601
|
+
const clean = __webpack_require__(/*! ./functions/clean */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/clean.js")
|
|
49602
|
+
const inc = __webpack_require__(/*! ./functions/inc */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/inc.js")
|
|
49603
|
+
const diff = __webpack_require__(/*! ./functions/diff */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/diff.js")
|
|
49604
|
+
const major = __webpack_require__(/*! ./functions/major */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/major.js")
|
|
49605
|
+
const minor = __webpack_require__(/*! ./functions/minor */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/minor.js")
|
|
49606
|
+
const patch = __webpack_require__(/*! ./functions/patch */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/patch.js")
|
|
49607
|
+
const prerelease = __webpack_require__(/*! ./functions/prerelease */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/prerelease.js")
|
|
49608
|
+
const compare = __webpack_require__(/*! ./functions/compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
49609
|
+
const rcompare = __webpack_require__(/*! ./functions/rcompare */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rcompare.js")
|
|
49610
|
+
const compareLoose = __webpack_require__(/*! ./functions/compare-loose */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-loose.js")
|
|
49611
|
+
const compareBuild = __webpack_require__(/*! ./functions/compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare-build.js")
|
|
49612
|
+
const sort = __webpack_require__(/*! ./functions/sort */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/sort.js")
|
|
49613
|
+
const rsort = __webpack_require__(/*! ./functions/rsort */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/rsort.js")
|
|
49614
|
+
const gt = __webpack_require__(/*! ./functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js")
|
|
49615
|
+
const lt = __webpack_require__(/*! ./functions/lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js")
|
|
49616
|
+
const eq = __webpack_require__(/*! ./functions/eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/eq.js")
|
|
49617
|
+
const neq = __webpack_require__(/*! ./functions/neq */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/neq.js")
|
|
49618
|
+
const gte = __webpack_require__(/*! ./functions/gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js")
|
|
49619
|
+
const lte = __webpack_require__(/*! ./functions/lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js")
|
|
49620
|
+
const cmp = __webpack_require__(/*! ./functions/cmp */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/cmp.js")
|
|
49621
|
+
const coerce = __webpack_require__(/*! ./functions/coerce */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/coerce.js")
|
|
49622
|
+
const Comparator = __webpack_require__(/*! ./classes/comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js")
|
|
49623
|
+
const Range = __webpack_require__(/*! ./classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
49624
|
+
const satisfies = __webpack_require__(/*! ./functions/satisfies */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js")
|
|
49625
|
+
const toComparators = __webpack_require__(/*! ./ranges/to-comparators */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/to-comparators.js")
|
|
49626
|
+
const maxSatisfying = __webpack_require__(/*! ./ranges/max-satisfying */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/max-satisfying.js")
|
|
49627
|
+
const minSatisfying = __webpack_require__(/*! ./ranges/min-satisfying */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-satisfying.js")
|
|
49628
|
+
const minVersion = __webpack_require__(/*! ./ranges/min-version */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-version.js")
|
|
49629
|
+
const validRange = __webpack_require__(/*! ./ranges/valid */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/valid.js")
|
|
49630
|
+
const outside = __webpack_require__(/*! ./ranges/outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js")
|
|
49631
|
+
const gtr = __webpack_require__(/*! ./ranges/gtr */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/gtr.js")
|
|
49632
|
+
const ltr = __webpack_require__(/*! ./ranges/ltr */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/ltr.js")
|
|
49633
|
+
const intersects = __webpack_require__(/*! ./ranges/intersects */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/intersects.js")
|
|
49634
|
+
const simplifyRange = __webpack_require__(/*! ./ranges/simplify */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/simplify.js")
|
|
49635
|
+
const subset = __webpack_require__(/*! ./ranges/subset */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/subset.js")
|
|
49593
49636
|
module.exports = {
|
|
49637
|
+
parse,
|
|
49638
|
+
valid,
|
|
49639
|
+
clean,
|
|
49640
|
+
inc,
|
|
49641
|
+
diff,
|
|
49642
|
+
major,
|
|
49643
|
+
minor,
|
|
49644
|
+
patch,
|
|
49645
|
+
prerelease,
|
|
49646
|
+
compare,
|
|
49647
|
+
rcompare,
|
|
49648
|
+
compareLoose,
|
|
49649
|
+
compareBuild,
|
|
49650
|
+
sort,
|
|
49651
|
+
rsort,
|
|
49652
|
+
gt,
|
|
49653
|
+
lt,
|
|
49654
|
+
eq,
|
|
49655
|
+
neq,
|
|
49656
|
+
gte,
|
|
49657
|
+
lte,
|
|
49658
|
+
cmp,
|
|
49659
|
+
coerce,
|
|
49660
|
+
Comparator,
|
|
49661
|
+
Range,
|
|
49662
|
+
satisfies,
|
|
49663
|
+
toComparators,
|
|
49664
|
+
maxSatisfying,
|
|
49665
|
+
minSatisfying,
|
|
49666
|
+
minVersion,
|
|
49667
|
+
validRange,
|
|
49668
|
+
outside,
|
|
49669
|
+
gtr,
|
|
49670
|
+
ltr,
|
|
49671
|
+
intersects,
|
|
49672
|
+
simplifyRange,
|
|
49673
|
+
subset,
|
|
49674
|
+
SemVer,
|
|
49594
49675
|
re: internalRe.re,
|
|
49595
49676
|
src: internalRe.src,
|
|
49596
49677
|
tokens: internalRe.t,
|
|
49597
|
-
SEMVER_SPEC_VERSION:
|
|
49598
|
-
|
|
49599
|
-
|
|
49600
|
-
rcompareIdentifiers: (__webpack_require__(/*! ./internal/identifiers */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/identifiers.js").rcompareIdentifiers),
|
|
49601
|
-
parse: __webpack_require__(/*! ./functions/parse */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/parse.js"),
|
|
49602
|
-
valid: __webpack_require__(/*! ./functions/valid */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/valid.js"),
|
|
49603
|
-
clean: __webpack_require__(/*! ./functions/clean */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/clean.js"),
|
|
49604
|
-
inc: __webpack_require__(/*! ./functions/inc */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/inc.js"),
|
|
49605
|
-
diff: __webpack_require__(/*! ./functions/diff */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/diff.js"),
|
|
49606
|
-
major: __webpack_require__(/*! ./functions/major */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/major.js"),
|
|
49607
|
-
minor: __webpack_require__(/*! ./functions/minor */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/minor.js"),
|
|
49608
|
-
patch: __webpack_require__(/*! ./functions/patch */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/patch.js"),
|
|
49609
|
-
prerelease: __webpack_require__(/*! ./functions/prerelease */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/prerelease.js"),
|
|
49610
|
-
compare: __webpack_require__(/*! ./functions/compare */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare.js"),
|
|
49611
|
-
rcompare: __webpack_require__(/*! ./functions/rcompare */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rcompare.js"),
|
|
49612
|
-
compareLoose: __webpack_require__(/*! ./functions/compare-loose */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-loose.js"),
|
|
49613
|
-
compareBuild: __webpack_require__(/*! ./functions/compare-build */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-build.js"),
|
|
49614
|
-
sort: __webpack_require__(/*! ./functions/sort */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/sort.js"),
|
|
49615
|
-
rsort: __webpack_require__(/*! ./functions/rsort */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rsort.js"),
|
|
49616
|
-
gt: __webpack_require__(/*! ./functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gt.js"),
|
|
49617
|
-
lt: __webpack_require__(/*! ./functions/lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lt.js"),
|
|
49618
|
-
eq: __webpack_require__(/*! ./functions/eq */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/eq.js"),
|
|
49619
|
-
neq: __webpack_require__(/*! ./functions/neq */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/neq.js"),
|
|
49620
|
-
gte: __webpack_require__(/*! ./functions/gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gte.js"),
|
|
49621
|
-
lte: __webpack_require__(/*! ./functions/lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lte.js"),
|
|
49622
|
-
cmp: __webpack_require__(/*! ./functions/cmp */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/cmp.js"),
|
|
49623
|
-
coerce: __webpack_require__(/*! ./functions/coerce */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/coerce.js"),
|
|
49624
|
-
Comparator: __webpack_require__(/*! ./classes/comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/comparator.js"),
|
|
49625
|
-
Range: __webpack_require__(/*! ./classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/range.js"),
|
|
49626
|
-
satisfies: __webpack_require__(/*! ./functions/satisfies */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/satisfies.js"),
|
|
49627
|
-
toComparators: __webpack_require__(/*! ./ranges/to-comparators */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/to-comparators.js"),
|
|
49628
|
-
maxSatisfying: __webpack_require__(/*! ./ranges/max-satisfying */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/max-satisfying.js"),
|
|
49629
|
-
minSatisfying: __webpack_require__(/*! ./ranges/min-satisfying */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-satisfying.js"),
|
|
49630
|
-
minVersion: __webpack_require__(/*! ./ranges/min-version */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-version.js"),
|
|
49631
|
-
validRange: __webpack_require__(/*! ./ranges/valid */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/valid.js"),
|
|
49632
|
-
outside: __webpack_require__(/*! ./ranges/outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/outside.js"),
|
|
49633
|
-
gtr: __webpack_require__(/*! ./ranges/gtr */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/gtr.js"),
|
|
49634
|
-
ltr: __webpack_require__(/*! ./ranges/ltr */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/ltr.js"),
|
|
49635
|
-
intersects: __webpack_require__(/*! ./ranges/intersects */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/intersects.js"),
|
|
49636
|
-
simplifyRange: __webpack_require__(/*! ./ranges/simplify */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/simplify.js"),
|
|
49637
|
-
subset: __webpack_require__(/*! ./ranges/subset */ "../../common/temp/node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/subset.js"),
|
|
49678
|
+
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
|
49679
|
+
compareIdentifiers: identifiers.compareIdentifiers,
|
|
49680
|
+
rcompareIdentifiers: identifiers.rcompareIdentifiers,
|
|
49638
49681
|
}
|
|
49639
49682
|
|
|
49640
49683
|
|
|
49641
49684
|
/***/ }),
|
|
49642
49685
|
|
|
49643
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49686
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js":
|
|
49644
49687
|
/*!***************************************************************************************************!*\
|
|
49645
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49688
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js ***!
|
|
49646
49689
|
\***************************************************************************************************/
|
|
49647
49690
|
/***/ ((module) => {
|
|
49648
49691
|
|
|
@@ -49667,9 +49710,9 @@ module.exports = {
|
|
|
49667
49710
|
|
|
49668
49711
|
/***/ }),
|
|
49669
49712
|
|
|
49670
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49713
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js":
|
|
49671
49714
|
/*!***********************************************************************************************!*\
|
|
49672
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49715
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js ***!
|
|
49673
49716
|
\***********************************************************************************************/
|
|
49674
49717
|
/***/ ((module) => {
|
|
49675
49718
|
|
|
@@ -49686,9 +49729,9 @@ module.exports = debug
|
|
|
49686
49729
|
|
|
49687
49730
|
/***/ }),
|
|
49688
49731
|
|
|
49689
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49732
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js":
|
|
49690
49733
|
/*!*****************************************************************************************************!*\
|
|
49691
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49734
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/identifiers.js ***!
|
|
49692
49735
|
\*****************************************************************************************************/
|
|
49693
49736
|
/***/ ((module) => {
|
|
49694
49737
|
|
|
@@ -49719,9 +49762,9 @@ module.exports = {
|
|
|
49719
49762
|
|
|
49720
49763
|
/***/ }),
|
|
49721
49764
|
|
|
49722
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49765
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js":
|
|
49723
49766
|
/*!*******************************************************************************************************!*\
|
|
49724
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49767
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/parse-options.js ***!
|
|
49725
49768
|
\*******************************************************************************************************/
|
|
49726
49769
|
/***/ ((module) => {
|
|
49727
49770
|
|
|
@@ -49740,14 +49783,14 @@ module.exports = parseOptions
|
|
|
49740
49783
|
|
|
49741
49784
|
/***/ }),
|
|
49742
49785
|
|
|
49743
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49786
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js":
|
|
49744
49787
|
/*!********************************************************************************************!*\
|
|
49745
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49788
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/re.js ***!
|
|
49746
49789
|
\********************************************************************************************/
|
|
49747
49790
|
/***/ ((module, exports, __webpack_require__) => {
|
|
49748
49791
|
|
|
49749
|
-
const { MAX_SAFE_COMPONENT_LENGTH } = __webpack_require__(/*! ./constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49750
|
-
const debug = __webpack_require__(/*! ./debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49792
|
+
const { MAX_SAFE_COMPONENT_LENGTH } = __webpack_require__(/*! ./constants */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/constants.js")
|
|
49793
|
+
const debug = __webpack_require__(/*! ./debug */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/internal/debug.js")
|
|
49751
49794
|
exports = module.exports = {}
|
|
49752
49795
|
|
|
49753
49796
|
// The actual regexps go on exports.re
|
|
@@ -49932,27 +49975,27 @@ createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$')
|
|
|
49932
49975
|
|
|
49933
49976
|
/***/ }),
|
|
49934
49977
|
|
|
49935
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49978
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/gtr.js":
|
|
49936
49979
|
/*!*******************************************************************************************!*\
|
|
49937
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49980
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/gtr.js ***!
|
|
49938
49981
|
\*******************************************************************************************/
|
|
49939
49982
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49940
49983
|
|
|
49941
49984
|
// Determine if version is greater than all the versions possible in the range.
|
|
49942
|
-
const outside = __webpack_require__(/*! ./outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49985
|
+
const outside = __webpack_require__(/*! ./outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js")
|
|
49943
49986
|
const gtr = (version, range, options) => outside(version, range, '>', options)
|
|
49944
49987
|
module.exports = gtr
|
|
49945
49988
|
|
|
49946
49989
|
|
|
49947
49990
|
/***/ }),
|
|
49948
49991
|
|
|
49949
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49992
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/intersects.js":
|
|
49950
49993
|
/*!**************************************************************************************************!*\
|
|
49951
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49994
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/intersects.js ***!
|
|
49952
49995
|
\**************************************************************************************************/
|
|
49953
49996
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49954
49997
|
|
|
49955
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49998
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
49956
49999
|
const intersects = (r1, r2, options) => {
|
|
49957
50000
|
r1 = new Range(r1, options)
|
|
49958
50001
|
r2 = new Range(r2, options)
|
|
@@ -49963,13 +50006,13 @@ module.exports = intersects
|
|
|
49963
50006
|
|
|
49964
50007
|
/***/ }),
|
|
49965
50008
|
|
|
49966
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50009
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/ltr.js":
|
|
49967
50010
|
/*!*******************************************************************************************!*\
|
|
49968
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50011
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/ltr.js ***!
|
|
49969
50012
|
\*******************************************************************************************/
|
|
49970
50013
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49971
50014
|
|
|
49972
|
-
const outside = __webpack_require__(/*! ./outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50015
|
+
const outside = __webpack_require__(/*! ./outside */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js")
|
|
49973
50016
|
// Determine if version is less than all the versions possible in the range
|
|
49974
50017
|
const ltr = (version, range, options) => outside(version, range, '<', options)
|
|
49975
50018
|
module.exports = ltr
|
|
@@ -49977,14 +50020,14 @@ module.exports = ltr
|
|
|
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/ranges/max-satisfying.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/ranges/max-satisfying.js ***!
|
|
49983
50026
|
\******************************************************************************************************/
|
|
49984
50027
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
49985
50028
|
|
|
49986
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
49987
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50029
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
50030
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
49988
50031
|
|
|
49989
50032
|
const maxSatisfying = (versions, range, options) => {
|
|
49990
50033
|
let max = null
|
|
@@ -50012,14 +50055,14 @@ module.exports = maxSatisfying
|
|
|
50012
50055
|
|
|
50013
50056
|
/***/ }),
|
|
50014
50057
|
|
|
50015
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50058
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-satisfying.js":
|
|
50016
50059
|
/*!******************************************************************************************************!*\
|
|
50017
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50060
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-satisfying.js ***!
|
|
50018
50061
|
\******************************************************************************************************/
|
|
50019
50062
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50020
50063
|
|
|
50021
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50022
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50064
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
50065
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50023
50066
|
const minSatisfying = (versions, range, options) => {
|
|
50024
50067
|
let min = null
|
|
50025
50068
|
let minSV = null
|
|
@@ -50046,15 +50089,15 @@ module.exports = minSatisfying
|
|
|
50046
50089
|
|
|
50047
50090
|
/***/ }),
|
|
50048
50091
|
|
|
50049
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50092
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-version.js":
|
|
50050
50093
|
/*!***************************************************************************************************!*\
|
|
50051
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50094
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/min-version.js ***!
|
|
50052
50095
|
\***************************************************************************************************/
|
|
50053
50096
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50054
50097
|
|
|
50055
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50056
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50057
|
-
const gt = __webpack_require__(/*! ../functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50098
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
50099
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50100
|
+
const gt = __webpack_require__(/*! ../functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js")
|
|
50058
50101
|
|
|
50059
50102
|
const minVersion = (range, loose) => {
|
|
50060
50103
|
range = new Range(range, loose)
|
|
@@ -50117,21 +50160,21 @@ module.exports = minVersion
|
|
|
50117
50160
|
|
|
50118
50161
|
/***/ }),
|
|
50119
50162
|
|
|
50120
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50163
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js":
|
|
50121
50164
|
/*!***********************************************************************************************!*\
|
|
50122
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50165
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/outside.js ***!
|
|
50123
50166
|
\***********************************************************************************************/
|
|
50124
50167
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50125
50168
|
|
|
50126
|
-
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50127
|
-
const Comparator = __webpack_require__(/*! ../classes/comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50169
|
+
const SemVer = __webpack_require__(/*! ../classes/semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/semver.js")
|
|
50170
|
+
const Comparator = __webpack_require__(/*! ../classes/comparator */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js")
|
|
50128
50171
|
const { ANY } = Comparator
|
|
50129
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50130
|
-
const satisfies = __webpack_require__(/*! ../functions/satisfies */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50131
|
-
const gt = __webpack_require__(/*! ../functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50132
|
-
const lt = __webpack_require__(/*! ../functions/lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50133
|
-
const lte = __webpack_require__(/*! ../functions/lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50134
|
-
const gte = __webpack_require__(/*! ../functions/gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50172
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50173
|
+
const satisfies = __webpack_require__(/*! ../functions/satisfies */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js")
|
|
50174
|
+
const gt = __webpack_require__(/*! ../functions/gt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gt.js")
|
|
50175
|
+
const lt = __webpack_require__(/*! ../functions/lt */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lt.js")
|
|
50176
|
+
const lte = __webpack_require__(/*! ../functions/lte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/lte.js")
|
|
50177
|
+
const gte = __webpack_require__(/*! ../functions/gte */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/gte.js")
|
|
50135
50178
|
|
|
50136
50179
|
const outside = (version, range, hilo, options) => {
|
|
50137
50180
|
version = new SemVer(version, options)
|
|
@@ -50207,17 +50250,17 @@ module.exports = outside
|
|
|
50207
50250
|
|
|
50208
50251
|
/***/ }),
|
|
50209
50252
|
|
|
50210
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50253
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/simplify.js":
|
|
50211
50254
|
/*!************************************************************************************************!*\
|
|
50212
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50255
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/simplify.js ***!
|
|
50213
50256
|
\************************************************************************************************/
|
|
50214
50257
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50215
50258
|
|
|
50216
50259
|
// given a set of versions and a range, create a "simplified" range
|
|
50217
50260
|
// that includes the same versions that the original range does
|
|
50218
50261
|
// If the original range is shorter than the simplified one, return that.
|
|
50219
|
-
const satisfies = __webpack_require__(/*! ../functions/satisfies.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50220
|
-
const compare = __webpack_require__(/*! ../functions/compare.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50262
|
+
const satisfies = __webpack_require__(/*! ../functions/satisfies.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js")
|
|
50263
|
+
const compare = __webpack_require__(/*! ../functions/compare.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
50221
50264
|
module.exports = (versions, range, options) => {
|
|
50222
50265
|
const set = []
|
|
50223
50266
|
let first = null
|
|
@@ -50264,17 +50307,17 @@ module.exports = (versions, range, options) => {
|
|
|
50264
50307
|
|
|
50265
50308
|
/***/ }),
|
|
50266
50309
|
|
|
50267
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50310
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/subset.js":
|
|
50268
50311
|
/*!**********************************************************************************************!*\
|
|
50269
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50312
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/subset.js ***!
|
|
50270
50313
|
\**********************************************************************************************/
|
|
50271
50314
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50272
50315
|
|
|
50273
|
-
const Range = __webpack_require__(/*! ../classes/range.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50274
|
-
const Comparator = __webpack_require__(/*! ../classes/comparator.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50316
|
+
const Range = __webpack_require__(/*! ../classes/range.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50317
|
+
const Comparator = __webpack_require__(/*! ../classes/comparator.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/comparator.js")
|
|
50275
50318
|
const { ANY } = Comparator
|
|
50276
|
-
const satisfies = __webpack_require__(/*! ../functions/satisfies.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50277
|
-
const compare = __webpack_require__(/*! ../functions/compare.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50319
|
+
const satisfies = __webpack_require__(/*! ../functions/satisfies.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/satisfies.js")
|
|
50320
|
+
const compare = __webpack_require__(/*! ../functions/compare.js */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/functions/compare.js")
|
|
50278
50321
|
|
|
50279
50322
|
// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:
|
|
50280
50323
|
// - Every simple range `r1, r2, ...` is a null set, OR
|
|
@@ -50518,13 +50561,13 @@ module.exports = subset
|
|
|
50518
50561
|
|
|
50519
50562
|
/***/ }),
|
|
50520
50563
|
|
|
50521
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50564
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/to-comparators.js":
|
|
50522
50565
|
/*!******************************************************************************************************!*\
|
|
50523
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50566
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/to-comparators.js ***!
|
|
50524
50567
|
\******************************************************************************************************/
|
|
50525
50568
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50526
50569
|
|
|
50527
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50570
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50528
50571
|
|
|
50529
50572
|
// Mostly just for testing and legacy API reasons
|
|
50530
50573
|
const toComparators = (range, options) =>
|
|
@@ -50536,13 +50579,13 @@ module.exports = toComparators
|
|
|
50536
50579
|
|
|
50537
50580
|
/***/ }),
|
|
50538
50581
|
|
|
50539
|
-
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50582
|
+
/***/ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/valid.js":
|
|
50540
50583
|
/*!*********************************************************************************************!*\
|
|
50541
|
-
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50584
|
+
!*** ../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/ranges/valid.js ***!
|
|
50542
50585
|
\*********************************************************************************************/
|
|
50543
50586
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50544
50587
|
|
|
50545
|
-
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
50588
|
+
const Range = __webpack_require__(/*! ../classes/range */ "../../common/temp/node_modules/.pnpm/semver@7.3.8/node_modules/semver/classes/range.js")
|
|
50546
50589
|
const validRange = (range, options) => {
|
|
50547
50590
|
try {
|
|
50548
50591
|
// Return '*' instead of '' so that truthiness works.
|
|
@@ -63482,6 +63525,16 @@ var Base64EncodedString;
|
|
|
63482
63525
|
value = fromUint8Array(value);
|
|
63483
63526
|
return value;
|
|
63484
63527
|
};
|
|
63528
|
+
/* Encode a string into a Base64EncodedString. */
|
|
63529
|
+
function encode(src, urlSafe) {
|
|
63530
|
+
return js_base64__WEBPACK_IMPORTED_MODULE_0__.Base64.encode(src, urlSafe);
|
|
63531
|
+
}
|
|
63532
|
+
Base64EncodedString.encode = encode;
|
|
63533
|
+
/* Decode a Base64EncodedString into a string. */
|
|
63534
|
+
function decode(src) {
|
|
63535
|
+
return js_base64__WEBPACK_IMPORTED_MODULE_0__.Base64.decode(src);
|
|
63536
|
+
}
|
|
63537
|
+
Base64EncodedString.decode = decode;
|
|
63485
63538
|
})(Base64EncodedString || (Base64EncodedString = {}));
|
|
63486
63539
|
|
|
63487
63540
|
|
|
@@ -75525,7 +75578,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
75525
75578
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
75526
75579
|
/* harmony export */ "RpcInterface": () => (/* binding */ RpcInterface)
|
|
75527
75580
|
/* harmony export */ });
|
|
75528
|
-
/* harmony import */ var semver__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! semver */ "../../common/temp/node_modules/.pnpm/semver@7.3.
|
|
75581
|
+
/* 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");
|
|
75529
75582
|
/* harmony import */ var semver__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(semver__WEBPACK_IMPORTED_MODULE_0__);
|
|
75530
75583
|
/* harmony import */ var _rpc_core_RpcConfiguration__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./rpc/core/RpcConfiguration */ "../../core/common/lib/esm/rpc/core/RpcConfiguration.js");
|
|
75531
75584
|
/* harmony import */ var _rpc_core_RpcRegistry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./rpc/core/RpcRegistry */ "../../core/common/lib/esm/rpc/core/RpcRegistry.js");
|
|
@@ -114084,17 +114137,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
114084
114137
|
/* harmony import */ var _SheetViewState__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./SheetViewState */ "../../core/frontend/lib/esm/SheetViewState.js");
|
|
114085
114138
|
/* harmony import */ var _SpatialViewState__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./SpatialViewState */ "../../core/frontend/lib/esm/SpatialViewState.js");
|
|
114086
114139
|
/* harmony import */ var _TentativePoint__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./TentativePoint */ "../../core/frontend/lib/esm/TentativePoint.js");
|
|
114087
|
-
/* harmony import */ var
|
|
114088
|
-
/* harmony import */ var
|
|
114089
|
-
/* harmony import */ var
|
|
114090
|
-
/* harmony import */ var
|
|
114091
|
-
/* harmony import */ var
|
|
114092
|
-
/* harmony import */ var
|
|
114093
|
-
/* harmony import */ var
|
|
114094
|
-
/* harmony import */ var
|
|
114095
|
-
/* harmony import */ var
|
|
114096
|
-
/* harmony import */ var
|
|
114097
|
-
/* harmony import */ var
|
|
114140
|
+
/* harmony import */ var _RealityDataSource__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./RealityDataSource */ "../../core/frontend/lib/esm/RealityDataSource.js");
|
|
114141
|
+
/* harmony import */ var _tile_internal__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./tile/internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
114142
|
+
/* harmony import */ var _tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./tools/AccuDrawTool */ "../../core/frontend/lib/esm/tools/AccuDrawTool.js");
|
|
114143
|
+
/* harmony import */ var _tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./tools/ClipViewTool */ "../../core/frontend/lib/esm/tools/ClipViewTool.js");
|
|
114144
|
+
/* harmony import */ var _tools_IdleTool__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./tools/IdleTool */ "../../core/frontend/lib/esm/tools/IdleTool.js");
|
|
114145
|
+
/* harmony import */ var _tools_MeasureTool__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./tools/MeasureTool */ "../../core/frontend/lib/esm/tools/MeasureTool.js");
|
|
114146
|
+
/* harmony import */ var _tools_SelectTool__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./tools/SelectTool */ "../../core/frontend/lib/esm/tools/SelectTool.js");
|
|
114147
|
+
/* harmony import */ var _tools_Tool__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./tools/Tool */ "../../core/frontend/lib/esm/tools/Tool.js");
|
|
114148
|
+
/* harmony import */ var _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./tools/ToolAdmin */ "../../core/frontend/lib/esm/tools/ToolAdmin.js");
|
|
114149
|
+
/* harmony import */ var _tools_ViewTool__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./tools/ViewTool */ "../../core/frontend/lib/esm/tools/ViewTool.js");
|
|
114150
|
+
/* harmony import */ var _ViewManager__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./ViewManager */ "../../core/frontend/lib/esm/ViewManager.js");
|
|
114151
|
+
/* harmony import */ var _ViewState__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./ViewState */ "../../core/frontend/lib/esm/ViewState.js");
|
|
114098
114152
|
/*---------------------------------------------------------------------------------------------
|
|
114099
114153
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
114100
114154
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -114141,6 +114195,7 @@ const COPYRIGHT_NOTICE = 'Copyright © 2017-2022 <a href="https://www.bentley.co
|
|
|
114141
114195
|
|
|
114142
114196
|
|
|
114143
114197
|
|
|
114198
|
+
|
|
114144
114199
|
|
|
114145
114200
|
|
|
114146
114201
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
@@ -114165,6 +114220,10 @@ class IModelApp {
|
|
|
114165
114220
|
* @beta
|
|
114166
114221
|
*/
|
|
114167
114222
|
static get terrainProviderRegistry() { return this._terrainProviderRegistry; }
|
|
114223
|
+
/** The [[RealityDataSourceProviderRegistry]] for this session.
|
|
114224
|
+
* @alpha
|
|
114225
|
+
*/
|
|
114226
|
+
static get realityDataSourceProviders() { return this._realityDataSourceProviders; }
|
|
114168
114227
|
/** The [[RenderSystem]] for this session. */
|
|
114169
114228
|
static get renderSystem() { return this._renderSystem; }
|
|
114170
114229
|
/** The [[ViewManager]] for this session. */
|
|
@@ -114279,18 +114338,18 @@ class IModelApp {
|
|
|
114279
114338
|
const toolsNs = "CoreTools";
|
|
114280
114339
|
await this.localization.initialize(["iModelJs", toolsNs]);
|
|
114281
114340
|
[
|
|
114282
|
-
|
|
114283
|
-
|
|
114284
|
-
|
|
114285
|
-
|
|
114286
|
-
|
|
114287
|
-
|
|
114341
|
+
_tools_SelectTool__WEBPACK_IMPORTED_MODULE_31__,
|
|
114342
|
+
_tools_IdleTool__WEBPACK_IMPORTED_MODULE_29__,
|
|
114343
|
+
_tools_ViewTool__WEBPACK_IMPORTED_MODULE_34__,
|
|
114344
|
+
_tools_ClipViewTool__WEBPACK_IMPORTED_MODULE_28__,
|
|
114345
|
+
_tools_MeasureTool__WEBPACK_IMPORTED_MODULE_30__,
|
|
114346
|
+
_tools_AccuDrawTool__WEBPACK_IMPORTED_MODULE_27__,
|
|
114288
114347
|
].forEach((tool) => this.tools.registerModule(tool, toolsNs));
|
|
114289
114348
|
this.registerEntityState(_EntityState__WEBPACK_IMPORTED_MODULE_14__.EntityState.classFullName, _EntityState__WEBPACK_IMPORTED_MODULE_14__.EntityState);
|
|
114290
114349
|
[
|
|
114291
114350
|
_ModelState__WEBPACK_IMPORTED_MODULE_17__,
|
|
114292
114351
|
_SheetViewState__WEBPACK_IMPORTED_MODULE_22__,
|
|
114293
|
-
|
|
114352
|
+
_ViewState__WEBPACK_IMPORTED_MODULE_36__,
|
|
114294
114353
|
_DrawingViewState__WEBPACK_IMPORTED_MODULE_12__,
|
|
114295
114354
|
_SpatialViewState__WEBPACK_IMPORTED_MODULE_23__,
|
|
114296
114355
|
_DisplayStyleState__WEBPACK_IMPORTED_MODULE_11__,
|
|
@@ -114301,18 +114360,19 @@ class IModelApp {
|
|
|
114301
114360
|
this._renderSystem = (opts.renderSys instanceof _render_RenderSystem__WEBPACK_IMPORTED_MODULE_20__.RenderSystem) ? opts.renderSys : this.createRenderSys(opts.renderSys);
|
|
114302
114361
|
if (opts.userPreferences)
|
|
114303
114362
|
this._userPreferences = opts.userPreferences;
|
|
114304
|
-
this._viewManager = (_h = opts.viewManager) !== null && _h !== void 0 ? _h : new
|
|
114305
|
-
this._tileAdmin = await
|
|
114363
|
+
this._viewManager = (_h = opts.viewManager) !== null && _h !== void 0 ? _h : new _ViewManager__WEBPACK_IMPORTED_MODULE_35__.ViewManager();
|
|
114364
|
+
this._tileAdmin = await _tile_internal__WEBPACK_IMPORTED_MODULE_26__.TileAdmin.create(opts.tileAdmin);
|
|
114306
114365
|
this._notifications = (_j = opts.notifications) !== null && _j !== void 0 ? _j : new _NotificationManager__WEBPACK_IMPORTED_MODULE_18__.NotificationManager();
|
|
114307
|
-
this._toolAdmin = (_k = opts.toolAdmin) !== null && _k !== void 0 ? _k : new
|
|
114366
|
+
this._toolAdmin = (_k = opts.toolAdmin) !== null && _k !== void 0 ? _k : new _tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_33__.ToolAdmin();
|
|
114308
114367
|
this._accuDraw = (_l = opts.accuDraw) !== null && _l !== void 0 ? _l : new _AccuDraw__WEBPACK_IMPORTED_MODULE_6__.AccuDraw();
|
|
114309
114368
|
this._accuSnap = (_m = opts.accuSnap) !== null && _m !== void 0 ? _m : new _AccuSnap__WEBPACK_IMPORTED_MODULE_7__.AccuSnap();
|
|
114310
114369
|
this._locateManager = (_o = opts.locateManager) !== null && _o !== void 0 ? _o : new _ElementLocateManager__WEBPACK_IMPORTED_MODULE_13__.ElementLocateManager();
|
|
114311
114370
|
this._tentativePoint = (_p = opts.tentativePoint) !== null && _p !== void 0 ? _p : new _TentativePoint__WEBPACK_IMPORTED_MODULE_24__.TentativePoint();
|
|
114312
114371
|
this._quantityFormatter = (_q = opts.quantityFormatter) !== null && _q !== void 0 ? _q : new _quantity_formatting_QuantityFormatter__WEBPACK_IMPORTED_MODULE_19__.QuantityFormatter();
|
|
114313
114372
|
this._uiAdmin = (_r = opts.uiAdmin) !== null && _r !== void 0 ? _r : new _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_0__.UiAdmin();
|
|
114314
|
-
this._mapLayerFormatRegistry = new
|
|
114315
|
-
this._terrainProviderRegistry = new
|
|
114373
|
+
this._mapLayerFormatRegistry = new _tile_internal__WEBPACK_IMPORTED_MODULE_26__.MapLayerFormatRegistry(opts.mapLayerOptions);
|
|
114374
|
+
this._terrainProviderRegistry = new _tile_internal__WEBPACK_IMPORTED_MODULE_26__.TerrainProviderRegistry();
|
|
114375
|
+
this._realityDataSourceProviders = new _RealityDataSource__WEBPACK_IMPORTED_MODULE_25__.RealityDataSourceProviderRegistry();
|
|
114316
114376
|
this._realityDataAccess = opts.realityDataAccess;
|
|
114317
114377
|
this._publicPath = (_s = opts.publicPath) !== null && _s !== void 0 ? _s : "";
|
|
114318
114378
|
[
|
|
@@ -114414,7 +114474,7 @@ class IModelApp {
|
|
|
114414
114474
|
IModelApp.tileAdmin.process();
|
|
114415
114475
|
}
|
|
114416
114476
|
catch (exception) {
|
|
114417
|
-
|
|
114477
|
+
_tools_ToolAdmin__WEBPACK_IMPORTED_MODULE_33__.ToolAdmin.exceptionHandler(exception); // eslint-disable-line @typescript-eslint/no-floating-promises
|
|
114418
114478
|
IModelApp._wantEventLoop = false;
|
|
114419
114479
|
IModelApp._animationRequested = true; // unrecoverable after exception, don't request any further frames.
|
|
114420
114480
|
window.removeEventListener("resize", IModelApp.requestNextAnimation);
|
|
@@ -114616,7 +114676,7 @@ IModelApp.onBeforeShutdown = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1_
|
|
|
114616
114676
|
*/
|
|
114617
114677
|
IModelApp.onAfterStartup = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_1__.BeEvent();
|
|
114618
114678
|
/** The [[ToolRegistry]] for this session. */
|
|
114619
|
-
IModelApp.tools = new
|
|
114679
|
+
IModelApp.tools = new _tools_Tool__WEBPACK_IMPORTED_MODULE_32__.ToolRegistry();
|
|
114620
114680
|
/** The [[TelemetryManager]] for this session
|
|
114621
114681
|
* @internal
|
|
114622
114682
|
*/
|
|
@@ -118355,7 +118415,8 @@ class PlanarClipMaskState {
|
|
|
118355
118415
|
__webpack_require__.r(__webpack_exports__);
|
|
118356
118416
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
118357
118417
|
/* harmony export */ "RealityDataError": () => (/* binding */ RealityDataError),
|
|
118358
|
-
/* harmony export */ "RealityDataSource": () => (/* binding */ RealityDataSource)
|
|
118418
|
+
/* harmony export */ "RealityDataSource": () => (/* binding */ RealityDataSource),
|
|
118419
|
+
/* harmony export */ "RealityDataSourceProviderRegistry": () => (/* binding */ RealityDataSourceProviderRegistry)
|
|
118359
118420
|
/* harmony export */ });
|
|
118360
118421
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
118361
118422
|
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
@@ -118364,6 +118425,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
118364
118425
|
/* harmony import */ var _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RealityDataSourceTilesetUrlImpl */ "../../core/frontend/lib/esm/RealityDataSourceTilesetUrlImpl.js");
|
|
118365
118426
|
/* harmony import */ var _RealityDataSourceContextShareImpl__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./RealityDataSourceContextShareImpl */ "../../core/frontend/lib/esm/RealityDataSourceContextShareImpl.js");
|
|
118366
118427
|
/* harmony import */ var _RealityDataSourceCesiumIonAssetImpl__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./RealityDataSourceCesiumIonAssetImpl */ "../../core/frontend/lib/esm/RealityDataSourceCesiumIonAssetImpl.js");
|
|
118428
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
118367
118429
|
/*---------------------------------------------------------------------------------------------
|
|
118368
118430
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
118369
118431
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -118378,6 +118440,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
118378
118440
|
|
|
118379
118441
|
|
|
118380
118442
|
|
|
118443
|
+
|
|
118381
118444
|
const loggerCategory = _FrontendLoggerCategory__WEBPACK_IMPORTED_MODULE_2__.FrontendLoggerCategory.RealityData;
|
|
118382
118445
|
/**
|
|
118383
118446
|
* Reality Data Operation error
|
|
@@ -118474,23 +118537,48 @@ var RealityDataSource;
|
|
|
118474
118537
|
* There will aways be only one reality data RealityDataSource for a corresponding reality data source key.
|
|
118475
118538
|
* @alpha
|
|
118476
118539
|
*/
|
|
118477
|
-
async function fromKey(
|
|
118478
|
-
|
|
118479
|
-
|
|
118480
|
-
|
|
118481
|
-
|
|
118482
|
-
return _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__.RealityDataSourceTilesetUrlImpl.createFromKey(rdSourceKey, iTwinId);
|
|
118483
|
-
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.ContextShare:
|
|
118484
|
-
return _RealityDataSourceContextShareImpl__WEBPACK_IMPORTED_MODULE_5__.RealityDataSourceContextShareImpl.createFromKey(rdSourceKey, iTwinId);
|
|
118485
|
-
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.OrbitGtBlob:
|
|
118486
|
-
return _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__.RealityDataSourceTilesetUrlImpl.createFromKey(rdSourceKey, iTwinId);
|
|
118487
|
-
default:
|
|
118488
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(loggerCategory, `Error realityModelFromJson - region undefined`);
|
|
118540
|
+
async function fromKey(key, iTwinId) {
|
|
118541
|
+
const provider = _IModelApp__WEBPACK_IMPORTED_MODULE_7__.IModelApp.realityDataSourceProviders.find(key.provider);
|
|
118542
|
+
if (!provider) {
|
|
118543
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logWarning(loggerCategory, `RealityDataSourceProvider "${key.provider}" is not registered`);
|
|
118544
|
+
return undefined;
|
|
118489
118545
|
}
|
|
118490
|
-
return
|
|
118546
|
+
return provider.createRealityDataSource(key, iTwinId);
|
|
118491
118547
|
}
|
|
118492
118548
|
RealityDataSource.fromKey = fromKey;
|
|
118493
118549
|
})(RealityDataSource || (RealityDataSource = {}));
|
|
118550
|
+
/** A registry of [[RealityDataSourceProvider]]s identified by their unique names. The registry can be accessed via [[IModelApp.realityDataSourceProviders]].
|
|
118551
|
+
* It includes a handful of built-in providers for sources like Cesium ION, ContextShare, OrbitGT, and arbitrary public-accessible URLs.
|
|
118552
|
+
* Any number of additional providers can be registered. They should typically be registered just after [[IModelAp.startup]].
|
|
118553
|
+
* @alpha
|
|
118554
|
+
*/
|
|
118555
|
+
class RealityDataSourceProviderRegistry {
|
|
118556
|
+
/** @internal */
|
|
118557
|
+
constructor() {
|
|
118558
|
+
this._providers = new Map();
|
|
118559
|
+
this.register(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.CesiumIonAsset, {
|
|
118560
|
+
createRealityDataSource: async (key, iTwinId) => _RealityDataSourceCesiumIonAssetImpl__WEBPACK_IMPORTED_MODULE_6__.RealityDataSourceCesiumIonAssetImpl.createFromKey(key, iTwinId),
|
|
118561
|
+
});
|
|
118562
|
+
this.register(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.TilesetUrl, {
|
|
118563
|
+
createRealityDataSource: async (key, iTwinId) => _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__.RealityDataSourceTilesetUrlImpl.createFromKey(key, iTwinId),
|
|
118564
|
+
});
|
|
118565
|
+
this.register(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.ContextShare, {
|
|
118566
|
+
createRealityDataSource: async (key, iTwinId) => _RealityDataSourceContextShareImpl__WEBPACK_IMPORTED_MODULE_5__.RealityDataSourceContextShareImpl.createFromKey(key, iTwinId),
|
|
118567
|
+
});
|
|
118568
|
+
this.register(_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.RealityDataProvider.OrbitGtBlob, {
|
|
118569
|
+
// ###TODO separate TilesetUrlImpl
|
|
118570
|
+
createRealityDataSource: async (key, iTwinId) => _RealityDataSourceTilesetUrlImpl__WEBPACK_IMPORTED_MODULE_4__.RealityDataSourceTilesetUrlImpl.createFromKey(key, iTwinId),
|
|
118571
|
+
});
|
|
118572
|
+
}
|
|
118573
|
+
/** Register `provider` to produce [[RealityDataSource]]s for the specified provider `name`. */
|
|
118574
|
+
register(name, provider) {
|
|
118575
|
+
this._providers.set(name, provider);
|
|
118576
|
+
}
|
|
118577
|
+
/** Look up the provider registered by the specified `name`. */
|
|
118578
|
+
find(name) {
|
|
118579
|
+
return this._providers.get(name);
|
|
118580
|
+
}
|
|
118581
|
+
}
|
|
118494
118582
|
|
|
118495
118583
|
|
|
118496
118584
|
/***/ }),
|
|
@@ -118650,6 +118738,9 @@ class RealityDataSourceCesiumIonAssetImpl {
|
|
|
118650
118738
|
const tileUrl = this._baseUrl + name;
|
|
118651
118739
|
return this._doRequest(tileUrl, "json");
|
|
118652
118740
|
}
|
|
118741
|
+
getTileContentType(url) {
|
|
118742
|
+
return url.endsWith("json") ? "tileset" : "tile";
|
|
118743
|
+
}
|
|
118653
118744
|
/**
|
|
118654
118745
|
* Gets spatial location and extents of this reality data source
|
|
118655
118746
|
* @returns spatial location and extents
|
|
@@ -118875,6 +118966,9 @@ class RealityDataSourceContextShareImpl {
|
|
|
118875
118966
|
}
|
|
118876
118967
|
return undefined;
|
|
118877
118968
|
}
|
|
118969
|
+
getTileContentType(url) {
|
|
118970
|
+
return url.endsWith("json") ? "tileset" : "tile";
|
|
118971
|
+
}
|
|
118878
118972
|
/**
|
|
118879
118973
|
* Gets spatial location and extents of this reality data source
|
|
118880
118974
|
* @returns spatial location and extents
|
|
@@ -119046,6 +119140,9 @@ class RealityDataSourceTilesetUrlImpl {
|
|
|
119046
119140
|
const tileUrl = this._baseUrl + name;
|
|
119047
119141
|
return this._doRequest(tileUrl, "json");
|
|
119048
119142
|
}
|
|
119143
|
+
getTileContentType(url) {
|
|
119144
|
+
return url.endsWith("json") ? "tileset" : "tile";
|
|
119145
|
+
}
|
|
119049
119146
|
/**
|
|
119050
119147
|
* Gets spatial location and extents of this reality data source
|
|
119051
119148
|
* @returns spatial location and extents
|
|
@@ -128880,6 +128977,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
128880
128977
|
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.AnimatedTreeReference),
|
|
128881
128978
|
/* harmony export */ "AnimationBranchStates": () => (/* reexport safe */ _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_80__.AnimationBranchStates),
|
|
128882
128979
|
/* harmony export */ "AnimationNodeId": () => (/* reexport safe */ _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_80__.AnimationNodeId),
|
|
128980
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ArcGISImageryProvider),
|
|
128883
128981
|
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ArcGISMapLayerImageryProvider),
|
|
128884
128982
|
/* harmony export */ "ArcGISTileMap": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ArcGISTileMap),
|
|
128885
128983
|
/* harmony export */ "ArcGisErrorCode": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ArcGisErrorCode),
|
|
@@ -129106,6 +129204,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
129106
129204
|
/* harmony export */ "ReadonlyTileUserSet": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.ReadonlyTileUserSet),
|
|
129107
129205
|
/* harmony export */ "RealityDataError": () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.RealityDataError),
|
|
129108
129206
|
/* harmony export */ "RealityDataSource": () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.RealityDataSource),
|
|
129207
|
+
/* harmony export */ "RealityDataSourceProviderRegistry": () => (/* reexport safe */ _RealityDataSource__WEBPACK_IMPORTED_MODULE_123__.RealityDataSourceProviderRegistry),
|
|
129109
129208
|
/* harmony export */ "RealityMeshParams": () => (/* reexport safe */ _render_RealityMeshParams__WEBPACK_IMPORTED_MODULE_88__.RealityMeshParams),
|
|
129110
129209
|
/* harmony export */ "RealityMeshParamsBuilder": () => (/* reexport safe */ _render_RealityMeshParams__WEBPACK_IMPORTED_MODULE_88__.RealityMeshParamsBuilder),
|
|
129111
129210
|
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_104__.RealityModelTileTree),
|
|
@@ -169550,7 +169649,7 @@ class GltfReader {
|
|
|
169550
169649
|
if (dracoMeshes.length === 0)
|
|
169551
169650
|
return;
|
|
169552
169651
|
try {
|
|
169553
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
169652
|
+
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;
|
|
169554
169653
|
await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
|
|
169555
169654
|
}
|
|
169556
169655
|
catch (err) {
|
|
@@ -169714,6 +169813,9 @@ class GltfGraphicsReader extends GltfReader {
|
|
|
169714
169813
|
iModel: args.iModel,
|
|
169715
169814
|
vertexTableRequired: true,
|
|
169716
169815
|
});
|
|
169816
|
+
this._contentRange = args.contentRange;
|
|
169817
|
+
this._transform = args.transform;
|
|
169818
|
+
this._isLeaf = true !== args.hasChildren;
|
|
169717
169819
|
this.binaryData = props.binaryData;
|
|
169718
169820
|
const pickableId = (_a = args.pickableOptions) === null || _a === void 0 ? void 0 : _a.id;
|
|
169719
169821
|
if (pickableId) {
|
|
@@ -169723,7 +169825,7 @@ class GltfGraphicsReader extends GltfReader {
|
|
|
169723
169825
|
}
|
|
169724
169826
|
async read() {
|
|
169725
169827
|
await this.resolveResources();
|
|
169726
|
-
return this.readGltfAndCreateGraphics(
|
|
169828
|
+
return this.readGltfAndCreateGraphics(this._isLeaf, this._featureTable, this._contentRange, this._transform);
|
|
169727
169829
|
}
|
|
169728
169830
|
get nodes() { return this._nodes; }
|
|
169729
169831
|
get scenes() { var _a; return (_a = this._glTF.scenes) !== null && _a !== void 0 ? _a : emptyDict; }
|
|
@@ -172692,7 +172794,7 @@ function readPnts(stream, dataOffset, pnts) {
|
|
|
172692
172794
|
async function decodeDracoPointCloud(buf) {
|
|
172693
172795
|
var _a, _b, _c, _d, _e, _f;
|
|
172694
172796
|
try {
|
|
172695
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
172797
|
+
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;
|
|
172696
172798
|
const mesh = await dracoLoader.parse(buf, {});
|
|
172697
172799
|
if (mesh.topology !== "point-list")
|
|
172698
172800
|
return undefined;
|
|
@@ -173638,7 +173740,14 @@ class RealityModelTileTreeParams {
|
|
|
173638
173740
|
this.id = tileTreeId;
|
|
173639
173741
|
this.modelId = modelId;
|
|
173640
173742
|
this.iModel = iModel;
|
|
173641
|
-
|
|
173743
|
+
const refine = loader.tree.tilesetJson.refine;
|
|
173744
|
+
this.rootTile = new RealityModelTileProps({
|
|
173745
|
+
json: loader.tree.tilesetJson,
|
|
173746
|
+
id: "",
|
|
173747
|
+
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
173748
|
+
additiveRefinement: undefined !== refine ? "ADD" === refine : undefined,
|
|
173749
|
+
usesGeometricError: loader.tree.rdSource.usesGeometricError,
|
|
173750
|
+
});
|
|
173642
173751
|
}
|
|
173643
173752
|
get location() { return this.loader.tree.location; }
|
|
173644
173753
|
get yAxisUp() { return this.loader.tree.yAxisUp; }
|
|
@@ -173646,10 +173755,13 @@ class RealityModelTileTreeParams {
|
|
|
173646
173755
|
}
|
|
173647
173756
|
/** @internal */
|
|
173648
173757
|
class RealityModelTileProps {
|
|
173649
|
-
constructor(
|
|
173650
|
-
var _a;
|
|
173651
|
-
this.contentId =
|
|
173652
|
-
this.parent = parent;
|
|
173758
|
+
constructor(args) {
|
|
173759
|
+
var _a, _b;
|
|
173760
|
+
this.contentId = args.id;
|
|
173761
|
+
this.parent = args.parent;
|
|
173762
|
+
this.transformToRoot = args.transformToRoot;
|
|
173763
|
+
this.additiveRefinement = args.additiveRefinement;
|
|
173764
|
+
const json = args.json;
|
|
173653
173765
|
const boundingVolume = RealityModelTileUtils.rangeFromBoundingVolume(json.boundingVolume);
|
|
173654
173766
|
if (boundingVolume) {
|
|
173655
173767
|
this.range = boundingVolume.range;
|
|
@@ -173661,18 +173773,18 @@ class RealityModelTileProps {
|
|
|
173661
173773
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false, "Unbounded tile");
|
|
173662
173774
|
}
|
|
173663
173775
|
this.isLeaf = !Array.isArray(json.children) || 0 === json.children.length;
|
|
173664
|
-
this.transformToRoot = transformToRoot;
|
|
173665
|
-
this.additiveRefinement = additiveRefinement;
|
|
173666
173776
|
const hasContents = undefined !== getUrl(json.content);
|
|
173667
173777
|
if (hasContents)
|
|
173668
173778
|
this.contentRange = (_a = RealityModelTileUtils.rangeFromBoundingVolume(json.content.boundingVolume)) === null || _a === void 0 ? void 0 : _a.range;
|
|
173669
173779
|
else {
|
|
173670
173780
|
// A node without content should probably be selectable even if not additive refinement - But restrict it to that case here
|
|
173671
173781
|
// to avoid potential problems with existing reality models, but still avoid overselection in the OSM world building set.
|
|
173672
|
-
if (this.additiveRefinement || (parent === null ||
|
|
173782
|
+
if (this.additiveRefinement || ((_b = args.parent) === null || _b === void 0 ? void 0 : _b.additiveRefinement))
|
|
173673
173783
|
this.noContentButTerminateOnSelection = true;
|
|
173674
173784
|
}
|
|
173675
173785
|
this.maximumSize = (this.noContentButTerminateOnSelection || hasContents) ? RealityModelTileUtils.maximumSizeFromGeometricTolerance(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Range3d.fromJSON(this.range), json.geometricError) : 0;
|
|
173786
|
+
if (args.usesGeometricError)
|
|
173787
|
+
this.geometricError = json.geometricError;
|
|
173676
173788
|
}
|
|
173677
173789
|
}
|
|
173678
173790
|
/** @internal */
|
|
@@ -173685,7 +173797,12 @@ class FindChildResult {
|
|
|
173685
173797
|
}
|
|
173686
173798
|
/** @internal */
|
|
173687
173799
|
function assembleUrl(prefix, url) {
|
|
173800
|
+
if (url.startsWith("/")) {
|
|
173801
|
+
// Relative to base origin, not to parent tile
|
|
173802
|
+
return url.substring(1);
|
|
173803
|
+
}
|
|
173688
173804
|
if (url.startsWith("./")) {
|
|
173805
|
+
// Relative to parent tile
|
|
173689
173806
|
url = url.substring(2);
|
|
173690
173807
|
}
|
|
173691
173808
|
else {
|
|
@@ -173717,16 +173834,13 @@ function addUrlPrefix(subTree, prefix) {
|
|
|
173717
173834
|
/** @internal */
|
|
173718
173835
|
async function expandSubTree(root, rdsource) {
|
|
173719
173836
|
const childUrl = getUrl(root.content);
|
|
173720
|
-
if (undefined
|
|
173721
|
-
const subTree = await rdsource.getTileJson(childUrl);
|
|
173722
|
-
const prefixIndex = childUrl.lastIndexOf("/");
|
|
173723
|
-
if (prefixIndex > 0)
|
|
173724
|
-
addUrlPrefix(subTree.root, childUrl.substring(0, prefixIndex + 1));
|
|
173725
|
-
return subTree.root;
|
|
173726
|
-
}
|
|
173727
|
-
else {
|
|
173837
|
+
if (undefined === childUrl || "tileset" !== rdsource.getTileContentType(childUrl))
|
|
173728
173838
|
return root;
|
|
173729
|
-
|
|
173839
|
+
const subTree = await rdsource.getTileJson(childUrl);
|
|
173840
|
+
const prefixIndex = childUrl.lastIndexOf("/");
|
|
173841
|
+
if (prefixIndex > 0)
|
|
173842
|
+
addUrlPrefix(subTree.root, childUrl.substring(0, prefixIndex + 1));
|
|
173843
|
+
return subTree.root;
|
|
173730
173844
|
}
|
|
173731
173845
|
/** @internal */
|
|
173732
173846
|
class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_7__.RealityTileLoader {
|
|
@@ -173754,6 +173868,9 @@ class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_7__.Real
|
|
|
173754
173868
|
getBatchIdMap() { return this._batchedIdMap; }
|
|
173755
173869
|
get clipLowResolutionTiles() { return true; }
|
|
173756
173870
|
get viewFlagOverrides() { return this._viewFlagOverrides; }
|
|
173871
|
+
get maximumScreenSpaceError() {
|
|
173872
|
+
return this.tree.rdSource.maximumScreenSpaceError;
|
|
173873
|
+
}
|
|
173757
173874
|
async loadChildren(tile) {
|
|
173758
173875
|
const props = await this.getChildrenProps(tile);
|
|
173759
173876
|
if (undefined === props)
|
|
@@ -173772,8 +173889,18 @@ class RealityModelTileLoader extends _internal__WEBPACK_IMPORTED_MODULE_7__.Real
|
|
|
173772
173889
|
for (let i = 0; i < findResult.json.children.length; i++) {
|
|
173773
173890
|
const childId = prefix + i;
|
|
173774
173891
|
const foundChild = await this.findTileInJson(this.tree.tilesetJson, childId, "", undefined);
|
|
173775
|
-
if (undefined !== foundChild)
|
|
173776
|
-
|
|
173892
|
+
if (undefined !== foundChild) {
|
|
173893
|
+
const refine = foundChild.json.refine;
|
|
173894
|
+
props.push(new RealityModelTileProps({
|
|
173895
|
+
json: foundChild.json,
|
|
173896
|
+
parent,
|
|
173897
|
+
id: foundChild.id,
|
|
173898
|
+
transformToRoot: foundChild.transformToRoot,
|
|
173899
|
+
// If not specified explicitly, additiveRefinement is inherited from parent tile.
|
|
173900
|
+
additiveRefinement: undefined !== refine ? refine === "ADD" : undefined,
|
|
173901
|
+
usesGeometricError: this.tree.rdSource.usesGeometricError,
|
|
173902
|
+
}));
|
|
173903
|
+
}
|
|
173777
173904
|
}
|
|
173778
173905
|
}
|
|
173779
173906
|
return props;
|
|
@@ -173909,8 +174036,14 @@ class RealityModelTileTree extends _internal__WEBPACK_IMPORTED_MODULE_7__.Realit
|
|
|
173909
174036
|
}
|
|
173910
174037
|
createDrawArgs(context) {
|
|
173911
174038
|
const args = super.createDrawArgs(context);
|
|
173912
|
-
if (args)
|
|
174039
|
+
if (args) {
|
|
173913
174040
|
args.graphics.realityModelDisplaySettings = this._getDisplaySettings();
|
|
174041
|
+
if (args.tree instanceof _internal__WEBPACK_IMPORTED_MODULE_7__.RealityTileTree) {
|
|
174042
|
+
const maxSSE = args.tree.loader.maximumScreenSpaceError;
|
|
174043
|
+
if (undefined !== maxSSE)
|
|
174044
|
+
args.maximumScreenSpaceError = maxSSE;
|
|
174045
|
+
}
|
|
174046
|
+
}
|
|
173914
174047
|
return args;
|
|
173915
174048
|
}
|
|
173916
174049
|
}
|
|
@@ -174148,13 +174281,13 @@ class RealityTile extends _internal__WEBPACK_IMPORTED_MODULE_5__.Tile {
|
|
|
174148
174281
|
constructor(props, tree) {
|
|
174149
174282
|
var _a;
|
|
174150
174283
|
super(props, tree);
|
|
174151
|
-
/** @internal */
|
|
174152
174284
|
this._everDisplayed = false;
|
|
174153
174285
|
this.transformToRoot = props.transformToRoot;
|
|
174154
174286
|
this.additiveRefinement = (undefined === props.additiveRefinement) ? (_a = this.realityParent) === null || _a === void 0 ? void 0 : _a.additiveRefinement : props.additiveRefinement;
|
|
174155
174287
|
this.noContentButTerminateOnSelection = props.noContentButTerminateOnSelection;
|
|
174156
174288
|
this.rangeCorners = props.rangeCorners;
|
|
174157
174289
|
this.region = props.region;
|
|
174290
|
+
this._geometricError = props.geometricError;
|
|
174158
174291
|
if (undefined === this.transformToRoot)
|
|
174159
174292
|
return;
|
|
174160
174293
|
// Can transform be non-rigid?? -- if so would have to handle (readonly) radius.
|
|
@@ -174381,6 +174514,13 @@ class RealityTile extends _internal__WEBPACK_IMPORTED_MODULE_5__.Tile {
|
|
|
174381
174514
|
return 0;
|
|
174382
174515
|
if (this.isLeaf)
|
|
174383
174516
|
return this.hasContentRange && this.isContentCulled(args) ? -1 : 1;
|
|
174517
|
+
if (undefined !== this._geometricError) {
|
|
174518
|
+
const radius = args.getTileRadius(this);
|
|
174519
|
+
const center = args.getTileCenter(this);
|
|
174520
|
+
const pixelSize = args.computePixelSizeInMetersAtClosestPoint(center, radius);
|
|
174521
|
+
const sse = this._geometricError / pixelSize;
|
|
174522
|
+
return args.maximumScreenSpaceError / sse;
|
|
174523
|
+
}
|
|
174384
174524
|
return this.maximumSize / args.getPixelSize(this);
|
|
174385
174525
|
}
|
|
174386
174526
|
/** @internal */
|
|
@@ -174643,6 +174783,7 @@ class RealityTileLoader {
|
|
|
174643
174783
|
get containsPointClouds() { return this._containsPointClouds; }
|
|
174644
174784
|
get parentsAndChildrenExclusive() { return true; }
|
|
174645
174785
|
forceTileLoad(_tile) { return false; }
|
|
174786
|
+
get maximumScreenSpaceError() { return undefined; }
|
|
174646
174787
|
processSelectedTiles(selected, _args) { return selected; }
|
|
174647
174788
|
// NB: The isCanceled arg is chiefly for tests...in usual case it just returns false if the tile is no longer in 'loading' state.
|
|
174648
174789
|
async loadTileContent(tile, data, system, isCanceled) {
|
|
@@ -174690,6 +174831,18 @@ class RealityTileLoader {
|
|
|
174690
174831
|
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.I3dm:
|
|
174691
174832
|
reader = _internal__WEBPACK_IMPORTED_MODULE_6__.I3dmReader.create(streamBuffer, iModel, modelId, is3d, tile.contentRange, system, yAxisUp, tile.isLeaf, isCanceled, undefined, this.wantDeduplicatedVertices);
|
|
174692
174833
|
break;
|
|
174834
|
+
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf:
|
|
174835
|
+
const props = _internal__WEBPACK_IMPORTED_MODULE_6__.GltfReaderProps.create(streamBuffer.nextBytes(streamBuffer.arrayBuffer.byteLength), yAxisUp);
|
|
174836
|
+
if (props) {
|
|
174837
|
+
reader = new _internal__WEBPACK_IMPORTED_MODULE_6__.GltfGraphicsReader(props, {
|
|
174838
|
+
iModel,
|
|
174839
|
+
gltf: props.glTF,
|
|
174840
|
+
contentRange: tile.contentRange,
|
|
174841
|
+
transform: tile.transformToRoot,
|
|
174842
|
+
hasChildren: !tile.isLeaf,
|
|
174843
|
+
});
|
|
174844
|
+
}
|
|
174845
|
+
break;
|
|
174693
174846
|
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Cmpt:
|
|
174694
174847
|
const header = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CompositeTileHeader(streamBuffer);
|
|
174695
174848
|
if (!header.isValid)
|
|
@@ -176776,6 +176929,7 @@ const scratchMatrix4d = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Matrix
|
|
|
176776
176929
|
class TileDrawArgs {
|
|
176777
176930
|
/** Constructor */
|
|
176778
176931
|
constructor(params) {
|
|
176932
|
+
var _a;
|
|
176779
176933
|
/** Holds the tile graphics to be drawn. */
|
|
176780
176934
|
this.graphics = new _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_2__.GraphicBranch();
|
|
176781
176935
|
/** 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. */
|
|
@@ -176789,6 +176943,7 @@ class TileDrawArgs {
|
|
|
176789
176943
|
this.hiddenLineSettings = params.hiddenLineSettings;
|
|
176790
176944
|
this.animationTransformNodeId = params.animationTransformNodeId;
|
|
176791
176945
|
this.boundingRange = params.boundingRange;
|
|
176946
|
+
this.maximumScreenSpaceError = (_a = params.maximumScreenSpaceError) !== null && _a !== void 0 ? _a : 16; // 16 is Cesium's default.
|
|
176792
176947
|
// Do not cull tiles based on clip volume if tiles outside clip are supposed to be drawn but in a different color.
|
|
176793
176948
|
if (undefined !== clipVolume && !context.viewport.view.displayStyle.settings.clipStyle.outsideColor)
|
|
176794
176949
|
this.clipVolume = clipVolume;
|
|
@@ -178640,22 +178795,23 @@ function createDefaultViewFlagOverrides(options) {
|
|
|
178640
178795
|
"use strict";
|
|
178641
178796
|
__webpack_require__.r(__webpack_exports__);
|
|
178642
178797
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
178643
|
-
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */
|
|
178644
|
-
/* harmony export */ "
|
|
178798
|
+
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.AnimatedTreeReference),
|
|
178799
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_ArcGISImageryProvider__WEBPACK_IMPORTED_MODULE_43__.ArcGISImageryProvider),
|
|
178800
|
+
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_44__.ArcGISMapLayerImageryProvider),
|
|
178645
178801
|
/* harmony export */ "ArcGISTileMap": () => (/* reexport safe */ _map_ArcGISTileMap__WEBPACK_IMPORTED_MODULE_34__.ArcGISTileMap),
|
|
178646
178802
|
/* harmony export */ "ArcGisErrorCode": () => (/* reexport safe */ _map_ArcGisUtilities__WEBPACK_IMPORTED_MODULE_38__.ArcGisErrorCode),
|
|
178647
178803
|
/* harmony export */ "ArcGisUtilities": () => (/* reexport safe */ _map_ArcGisUtilities__WEBPACK_IMPORTED_MODULE_38__.ArcGisUtilities),
|
|
178648
|
-
/* harmony export */ "AzureMapsLayerImageryProvider": () => (/* reexport safe */
|
|
178804
|
+
/* harmony export */ "AzureMapsLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_AzureMapsLayerImageryProvider__WEBPACK_IMPORTED_MODULE_45__.AzureMapsLayerImageryProvider),
|
|
178649
178805
|
/* harmony export */ "B3dmReader": () => (/* reexport safe */ _B3dmReader__WEBPACK_IMPORTED_MODULE_32__.B3dmReader),
|
|
178650
178806
|
/* harmony export */ "BatchedTileIdMap": () => (/* reexport safe */ _BatchedTileIdMap__WEBPACK_IMPORTED_MODULE_12__.BatchedTileIdMap),
|
|
178651
|
-
/* harmony export */ "BingElevationProvider": () => (/* reexport safe */
|
|
178652
|
-
/* harmony export */ "BingMapsImageryLayerProvider": () => (/* reexport safe */
|
|
178653
|
-
/* harmony export */ "CesiumIonAssetProvider": () => (/* reexport safe */
|
|
178654
|
-
/* harmony export */ "ContextShareProvider": () => (/* reexport safe */
|
|
178807
|
+
/* harmony export */ "BingElevationProvider": () => (/* reexport safe */ _map_BingElevation__WEBPACK_IMPORTED_MODULE_61__.BingElevationProvider),
|
|
178808
|
+
/* harmony export */ "BingMapsImageryLayerProvider": () => (/* reexport safe */ _map_ImageryProviders_BingImageryProvider__WEBPACK_IMPORTED_MODULE_46__.BingMapsImageryLayerProvider),
|
|
178809
|
+
/* harmony export */ "CesiumIonAssetProvider": () => (/* reexport safe */ _CesiumAssetProvider__WEBPACK_IMPORTED_MODULE_75__.CesiumIonAssetProvider),
|
|
178810
|
+
/* harmony export */ "ContextShareProvider": () => (/* reexport safe */ _ContextShareProvider__WEBPACK_IMPORTED_MODULE_76__.ContextShareProvider),
|
|
178655
178811
|
/* harmony export */ "DisclosedTileTreeSet": () => (/* reexport safe */ _DisclosedTileTreeSet__WEBPACK_IMPORTED_MODULE_3__.DisclosedTileTreeSet),
|
|
178656
|
-
/* harmony export */ "DynamicIModelTile": () => (/* reexport safe */
|
|
178657
|
-
/* harmony export */ "EllipsoidTerrainProvider": () => (/* reexport safe */
|
|
178658
|
-
/* harmony export */ "GeographicTilingScheme": () => (/* reexport safe */
|
|
178812
|
+
/* harmony export */ "DynamicIModelTile": () => (/* reexport safe */ _DynamicIModelTile__WEBPACK_IMPORTED_MODULE_67__.DynamicIModelTile),
|
|
178813
|
+
/* harmony export */ "EllipsoidTerrainProvider": () => (/* reexport safe */ _map_EllipsoidTerrainProvider__WEBPACK_IMPORTED_MODULE_57__.EllipsoidTerrainProvider),
|
|
178814
|
+
/* harmony export */ "GeographicTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.GeographicTilingScheme),
|
|
178659
178815
|
/* harmony export */ "GltfBufferData": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfBufferData),
|
|
178660
178816
|
/* harmony export */ "GltfDataType": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfDataType),
|
|
178661
178817
|
/* harmony export */ "GltfGraphicsReader": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfGraphicsReader),
|
|
@@ -178666,56 +178822,56 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178666
178822
|
/* harmony export */ "GltfWrapMode": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfWrapMode),
|
|
178667
178823
|
/* harmony export */ "GraphicsCollectorDrawArgs": () => (/* reexport safe */ _GraphicsCollector__WEBPACK_IMPORTED_MODULE_11__.GraphicsCollectorDrawArgs),
|
|
178668
178824
|
/* harmony export */ "I3dmReader": () => (/* reexport safe */ _I3dmReader__WEBPACK_IMPORTED_MODULE_31__.I3dmReader),
|
|
178669
|
-
/* harmony export */ "IModelTile": () => (/* reexport safe */
|
|
178825
|
+
/* harmony export */ "IModelTile": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_66__.IModelTile),
|
|
178670
178826
|
/* harmony export */ "IModelTileRequestChannels": () => (/* reexport safe */ _IModelTileRequestChannels__WEBPACK_IMPORTED_MODULE_25__.IModelTileRequestChannels),
|
|
178671
|
-
/* harmony export */ "IModelTileTree": () => (/* reexport safe */
|
|
178672
|
-
/* harmony export */ "ImageryMapLayerFormat": () => (/* reexport safe */
|
|
178673
|
-
/* harmony export */ "ImageryMapLayerTreeReference": () => (/* reexport safe */
|
|
178674
|
-
/* harmony export */ "ImageryMapTile": () => (/* reexport safe */
|
|
178675
|
-
/* harmony export */ "ImageryMapTileTree": () => (/* reexport safe */
|
|
178827
|
+
/* harmony export */ "IModelTileTree": () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_68__.IModelTileTree),
|
|
178828
|
+
/* harmony export */ "ImageryMapLayerFormat": () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_51__.ImageryMapLayerFormat),
|
|
178829
|
+
/* harmony export */ "ImageryMapLayerTreeReference": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__.ImageryMapLayerTreeReference),
|
|
178830
|
+
/* harmony export */ "ImageryMapTile": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__.ImageryMapTile),
|
|
178831
|
+
/* harmony export */ "ImageryMapTileTree": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__.ImageryMapTileTree),
|
|
178676
178832
|
/* harmony export */ "ImdlReader": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.ImdlReader),
|
|
178677
178833
|
/* harmony export */ "LRUTileList": () => (/* reexport safe */ _LRUTileList__WEBPACK_IMPORTED_MODULE_5__.LRUTileList),
|
|
178678
|
-
/* harmony export */ "MapBoxLayerImageryProvider": () => (/* reexport safe */
|
|
178834
|
+
/* harmony export */ "MapBoxLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_MapBoxLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__.MapBoxLayerImageryProvider),
|
|
178679
178835
|
/* harmony export */ "MapCartoRectangle": () => (/* reexport safe */ _map_MapCartoRectangle__WEBPACK_IMPORTED_MODULE_1__.MapCartoRectangle),
|
|
178680
178836
|
/* harmony export */ "MapFeatureInfoRecord": () => (/* reexport safe */ _map_MapFeatureInfo__WEBPACK_IMPORTED_MODULE_36__.MapFeatureInfoRecord),
|
|
178681
178837
|
/* harmony export */ "MapLayerFormat": () => (/* reexport safe */ _map_MapLayerFormatRegistry__WEBPACK_IMPORTED_MODULE_37__.MapLayerFormat),
|
|
178682
178838
|
/* harmony export */ "MapLayerFormatRegistry": () => (/* reexport safe */ _map_MapLayerFormatRegistry__WEBPACK_IMPORTED_MODULE_37__.MapLayerFormatRegistry),
|
|
178683
178839
|
/* harmony export */ "MapLayerImageryProvider": () => (/* reexport safe */ _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_42__.MapLayerImageryProvider),
|
|
178684
178840
|
/* harmony export */ "MapLayerImageryProviderStatus": () => (/* reexport safe */ _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_42__.MapLayerImageryProviderStatus),
|
|
178685
|
-
/* harmony export */ "MapLayerSource": () => (/* reexport safe */
|
|
178686
|
-
/* harmony export */ "MapLayerSourceStatus": () => (/* reexport safe */
|
|
178687
|
-
/* harmony export */ "MapLayerSources": () => (/* reexport safe */
|
|
178688
|
-
/* harmony export */ "MapLayerTileTreeReference": () => (/* reexport safe */
|
|
178689
|
-
/* harmony export */ "MapTile": () => (/* reexport safe */
|
|
178690
|
-
/* harmony export */ "MapTileLoader": () => (/* reexport safe */
|
|
178691
|
-
/* harmony export */ "MapTileProjection": () => (/* reexport safe */
|
|
178692
|
-
/* harmony export */ "MapTileTree": () => (/* reexport safe */
|
|
178693
|
-
/* harmony export */ "MapTileTreeReference": () => (/* reexport safe */
|
|
178694
|
-
/* harmony export */ "MapTiledGraphicsProvider": () => (/* reexport safe */
|
|
178695
|
-
/* harmony export */ "MapTilingScheme": () => (/* reexport safe */
|
|
178696
|
-
/* harmony export */ "ModelMapLayerTileTreeReference": () => (/* reexport safe */
|
|
178697
|
-
/* harmony export */ "OPCFormatInterpreter": () => (/* reexport safe */
|
|
178698
|
-
/* harmony export */ "OrbitGtTileTree": () => (/* reexport safe */
|
|
178699
|
-
/* harmony export */ "PlanarTilePatch": () => (/* reexport safe */
|
|
178841
|
+
/* harmony export */ "MapLayerSource": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__.MapLayerSource),
|
|
178842
|
+
/* harmony export */ "MapLayerSourceStatus": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__.MapLayerSourceStatus),
|
|
178843
|
+
/* harmony export */ "MapLayerSources": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__.MapLayerSources),
|
|
178844
|
+
/* harmony export */ "MapLayerTileTreeReference": () => (/* reexport safe */ _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_52__.MapLayerTileTreeReference),
|
|
178845
|
+
/* harmony export */ "MapTile": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.MapTile),
|
|
178846
|
+
/* harmony export */ "MapTileLoader": () => (/* reexport safe */ _map_MapTileLoader__WEBPACK_IMPORTED_MODULE_60__.MapTileLoader),
|
|
178847
|
+
/* harmony export */ "MapTileProjection": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.MapTileProjection),
|
|
178848
|
+
/* harmony export */ "MapTileTree": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__.MapTileTree),
|
|
178849
|
+
/* harmony export */ "MapTileTreeReference": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__.MapTileTreeReference),
|
|
178850
|
+
/* harmony export */ "MapTiledGraphicsProvider": () => (/* reexport safe */ _map_MapTiledGraphicsProvider__WEBPACK_IMPORTED_MODULE_74__.MapTiledGraphicsProvider),
|
|
178851
|
+
/* harmony export */ "MapTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.MapTilingScheme),
|
|
178852
|
+
/* harmony export */ "ModelMapLayerTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.ModelMapLayerTileTreeReference),
|
|
178853
|
+
/* harmony export */ "OPCFormatInterpreter": () => (/* reexport safe */ _OPCFormatInterpreter__WEBPACK_IMPORTED_MODULE_78__.OPCFormatInterpreter),
|
|
178854
|
+
/* harmony export */ "OrbitGtTileTree": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_71__.OrbitGtTileTree),
|
|
178855
|
+
/* harmony export */ "PlanarTilePatch": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.PlanarTilePatch),
|
|
178700
178856
|
/* harmony export */ "QuadId": () => (/* reexport safe */ _map_QuadId__WEBPACK_IMPORTED_MODULE_2__.QuadId),
|
|
178701
178857
|
/* harmony export */ "ReadonlyTileUserSet": () => (/* reexport safe */ _TileUserSet__WEBPACK_IMPORTED_MODULE_29__.ReadonlyTileUserSet),
|
|
178702
|
-
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */
|
|
178703
|
-
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */
|
|
178858
|
+
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityModelTileTree),
|
|
178859
|
+
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityModelTileUtils),
|
|
178704
178860
|
/* harmony export */ "RealityTile": () => (/* reexport safe */ _RealityTile__WEBPACK_IMPORTED_MODULE_6__.RealityTile),
|
|
178705
178861
|
/* harmony export */ "RealityTileDrawArgs": () => (/* reexport safe */ _RealityTileDrawArgs__WEBPACK_IMPORTED_MODULE_10__.RealityTileDrawArgs),
|
|
178706
|
-
/* harmony export */ "RealityTileLoader": () => (/* reexport safe */
|
|
178707
|
-
/* harmony export */ "RealityTileRegion": () => (/* reexport safe */
|
|
178862
|
+
/* harmony export */ "RealityTileLoader": () => (/* reexport safe */ _RealityTileLoader__WEBPACK_IMPORTED_MODULE_59__.RealityTileLoader),
|
|
178863
|
+
/* harmony export */ "RealityTileRegion": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityTileRegion),
|
|
178708
178864
|
/* harmony export */ "RealityTileTree": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.RealityTileTree),
|
|
178709
|
-
/* harmony export */ "RealityTreeReference": () => (/* reexport safe */
|
|
178710
|
-
/* harmony export */ "SelectParent": () => (/* reexport safe */
|
|
178711
|
-
/* harmony export */ "SpatialClassifierTileTreeReference": () => (/* reexport safe */
|
|
178712
|
-
/* harmony export */ "SpatialTileTreeReferences": () => (/* reexport safe */
|
|
178713
|
-
/* harmony export */ "TerrainMeshProvider": () => (/* reexport safe */
|
|
178714
|
-
/* harmony export */ "TerrainProviderRegistry": () => (/* reexport safe */
|
|
178715
|
-
/* harmony export */ "ThreeDTileFormatInterpreter": () => (/* reexport safe */
|
|
178865
|
+
/* harmony export */ "RealityTreeReference": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityTreeReference),
|
|
178866
|
+
/* harmony export */ "SelectParent": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_66__.SelectParent),
|
|
178867
|
+
/* harmony export */ "SpatialClassifierTileTreeReference": () => (/* reexport safe */ _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_70__.SpatialClassifierTileTreeReference),
|
|
178868
|
+
/* harmony export */ "SpatialTileTreeReferences": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.SpatialTileTreeReferences),
|
|
178869
|
+
/* harmony export */ "TerrainMeshProvider": () => (/* reexport safe */ _map_TerrainMeshProvider__WEBPACK_IMPORTED_MODULE_54__.TerrainMeshProvider),
|
|
178870
|
+
/* harmony export */ "TerrainProviderRegistry": () => (/* reexport safe */ _map_TerrainProvider__WEBPACK_IMPORTED_MODULE_55__.TerrainProviderRegistry),
|
|
178871
|
+
/* harmony export */ "ThreeDTileFormatInterpreter": () => (/* reexport safe */ _ThreeDTileFormatInterpreter__WEBPACK_IMPORTED_MODULE_77__.ThreeDTileFormatInterpreter),
|
|
178716
178872
|
/* harmony export */ "Tile": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.Tile),
|
|
178717
178873
|
/* harmony export */ "TileAdmin": () => (/* reexport safe */ _TileAdmin__WEBPACK_IMPORTED_MODULE_21__.TileAdmin),
|
|
178718
|
-
/* harmony export */ "TileAvailability": () => (/* reexport safe */
|
|
178874
|
+
/* harmony export */ "TileAvailability": () => (/* reexport safe */ _map_MapTileAvailability__WEBPACK_IMPORTED_MODULE_63__.TileAvailability),
|
|
178719
178875
|
/* harmony export */ "TileBoundingBoxes": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.TileBoundingBoxes),
|
|
178720
178876
|
/* harmony export */ "TileDrawArgs": () => (/* reexport safe */ _TileDrawArgs__WEBPACK_IMPORTED_MODULE_9__.TileDrawArgs),
|
|
178721
178877
|
/* harmony export */ "TileGeometryCollector": () => (/* reexport safe */ _TileGeometryCollector__WEBPACK_IMPORTED_MODULE_19__.TileGeometryCollector),
|
|
@@ -178730,7 +178886,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178730
178886
|
/* harmony export */ "TileTree": () => (/* reexport safe */ _TileTree__WEBPACK_IMPORTED_MODULE_14__.TileTree),
|
|
178731
178887
|
/* harmony export */ "TileTreeLoadStatus": () => (/* reexport safe */ _TileTree__WEBPACK_IMPORTED_MODULE_14__.TileTreeLoadStatus),
|
|
178732
178888
|
/* harmony export */ "TileTreeReference": () => (/* reexport safe */ _TileTreeReference__WEBPACK_IMPORTED_MODULE_18__.TileTreeReference),
|
|
178733
|
-
/* harmony export */ "TileUrlImageryProvider": () => (/* reexport safe */
|
|
178889
|
+
/* harmony export */ "TileUrlImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_TileUrlImageryProvider__WEBPACK_IMPORTED_MODULE_48__.TileUrlImageryProvider),
|
|
178734
178890
|
/* harmony export */ "TileUsageMarker": () => (/* reexport safe */ _TileUsageMarker__WEBPACK_IMPORTED_MODULE_27__.TileUsageMarker),
|
|
178735
178891
|
/* harmony export */ "TileUser": () => (/* reexport safe */ _TileUser__WEBPACK_IMPORTED_MODULE_28__.TileUser),
|
|
178736
178892
|
/* harmony export */ "TileUserIdSet": () => (/* reexport safe */ _LRUTileList__WEBPACK_IMPORTED_MODULE_5__.TileUserIdSet),
|
|
@@ -178741,38 +178897,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178741
178897
|
/* harmony export */ "TraversalDetails": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.TraversalDetails),
|
|
178742
178898
|
/* harmony export */ "TraversalSelectionContext": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.TraversalSelectionContext),
|
|
178743
178899
|
/* harmony export */ "UniqueTileUserSets": () => (/* reexport safe */ _TileUserSet__WEBPACK_IMPORTED_MODULE_29__.UniqueTileUserSets),
|
|
178744
|
-
/* harmony export */ "UpsampledMapTile": () => (/* reexport safe */
|
|
178745
|
-
/* harmony export */ "WebMercatorProjection": () => (/* reexport safe */
|
|
178746
|
-
/* harmony export */ "WebMercatorTilingScheme": () => (/* reexport safe */
|
|
178900
|
+
/* harmony export */ "UpsampledMapTile": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.UpsampledMapTile),
|
|
178901
|
+
/* harmony export */ "WebMercatorProjection": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.WebMercatorProjection),
|
|
178902
|
+
/* harmony export */ "WebMercatorTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.WebMercatorTilingScheme),
|
|
178747
178903
|
/* harmony export */ "WmsCapabilities": () => (/* reexport safe */ _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_40__.WmsCapabilities),
|
|
178748
178904
|
/* harmony export */ "WmsCapability": () => (/* reexport safe */ _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_40__.WmsCapability),
|
|
178749
|
-
/* harmony export */ "WmsMapLayerImageryProvider": () => (/* reexport safe */
|
|
178905
|
+
/* harmony export */ "WmsMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_WmsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_49__.WmsMapLayerImageryProvider),
|
|
178750
178906
|
/* harmony export */ "WmsUtilities": () => (/* reexport safe */ _map_WmsUtilities__WEBPACK_IMPORTED_MODULE_39__.WmsUtilities),
|
|
178751
178907
|
/* harmony export */ "WmtsCapabilities": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_41__.WmtsCapabilities),
|
|
178752
178908
|
/* harmony export */ "WmtsCapability": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_41__.WmtsCapability),
|
|
178753
|
-
/* harmony export */ "WmtsMapLayerImageryProvider": () => (/* reexport safe */
|
|
178909
|
+
/* harmony export */ "WmtsMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_WmtsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_50__.WmtsMapLayerImageryProvider),
|
|
178754
178910
|
/* harmony export */ "addRangeGraphic": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.addRangeGraphic),
|
|
178755
|
-
/* harmony export */ "createClassifierTileTreeReference": () => (/* reexport safe */
|
|
178911
|
+
/* harmony export */ "createClassifierTileTreeReference": () => (/* reexport safe */ _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_70__.createClassifierTileTreeReference),
|
|
178756
178912
|
/* harmony export */ "createDefaultViewFlagOverrides": () => (/* reexport safe */ _ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__.createDefaultViewFlagOverrides),
|
|
178757
|
-
/* harmony export */ "createMapLayerTreeReference": () => (/* reexport safe */
|
|
178758
|
-
/* harmony export */ "createMaskTreeReference": () => (/* reexport safe */
|
|
178759
|
-
/* harmony export */ "createModelMapLayerTileTreeReference": () => (/* reexport safe */
|
|
178760
|
-
/* harmony export */ "createOrbitGtTileTreeReference": () => (/* reexport safe */
|
|
178761
|
-
/* harmony export */ "createPrimaryTileTreeReference": () => (/* reexport safe */
|
|
178762
|
-
/* harmony export */ "createRealityTileTreeReference": () => (/* reexport safe */
|
|
178763
|
-
/* harmony export */ "disposeTileTreesForGeometricModels": () => (/* reexport safe */
|
|
178764
|
-
/* harmony export */ "getCesiumAccessTokenAndEndpointUrl": () => (/* reexport safe */
|
|
178765
|
-
/* harmony export */ "getCesiumAssetUrl": () => (/* reexport safe */
|
|
178766
|
-
/* harmony export */ "getCesiumOSMBuildingsUrl": () => (/* reexport safe */
|
|
178767
|
-
/* harmony export */ "getCesiumTerrainProvider": () => (/* reexport safe */
|
|
178768
|
-
/* harmony export */ "getGcsConverterAvailable": () => (/* reexport safe */
|
|
178769
|
-
/* harmony export */ "iModelTileParamsFromJSON": () => (/* reexport safe */
|
|
178770
|
-
/* harmony export */ "iModelTileTreeParamsFromJSON": () => (/* reexport safe */
|
|
178771
|
-
/* harmony export */ "internalMapLayerImageryFormats": () => (/* reexport safe */
|
|
178913
|
+
/* harmony export */ "createMapLayerTreeReference": () => (/* reexport safe */ _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_52__.createMapLayerTreeReference),
|
|
178914
|
+
/* harmony export */ "createMaskTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.createMaskTreeReference),
|
|
178915
|
+
/* harmony export */ "createModelMapLayerTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.createModelMapLayerTileTreeReference),
|
|
178916
|
+
/* harmony export */ "createOrbitGtTileTreeReference": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_71__.createOrbitGtTileTreeReference),
|
|
178917
|
+
/* harmony export */ "createPrimaryTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.createPrimaryTileTreeReference),
|
|
178918
|
+
/* harmony export */ "createRealityTileTreeReference": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.createRealityTileTreeReference),
|
|
178919
|
+
/* harmony export */ "disposeTileTreesForGeometricModels": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.disposeTileTreesForGeometricModels),
|
|
178920
|
+
/* harmony export */ "getCesiumAccessTokenAndEndpointUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumAccessTokenAndEndpointUrl),
|
|
178921
|
+
/* harmony export */ "getCesiumAssetUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumAssetUrl),
|
|
178922
|
+
/* harmony export */ "getCesiumOSMBuildingsUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumOSMBuildingsUrl),
|
|
178923
|
+
/* harmony export */ "getCesiumTerrainProvider": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumTerrainProvider),
|
|
178924
|
+
/* harmony export */ "getGcsConverterAvailable": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__.getGcsConverterAvailable),
|
|
178925
|
+
/* harmony export */ "iModelTileParamsFromJSON": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_66__.iModelTileParamsFromJSON),
|
|
178926
|
+
/* harmony export */ "iModelTileTreeParamsFromJSON": () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_68__.iModelTileTreeParamsFromJSON),
|
|
178927
|
+
/* harmony export */ "internalMapLayerImageryFormats": () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_51__.internalMapLayerImageryFormats),
|
|
178772
178928
|
/* harmony export */ "overrideRequestTileTreeProps": () => (/* reexport safe */ _TileAdmin__WEBPACK_IMPORTED_MODULE_21__.overrideRequestTileTreeProps),
|
|
178773
178929
|
/* harmony export */ "readElementGraphics": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.readElementGraphics),
|
|
178774
178930
|
/* harmony export */ "readGltfGraphics": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.readGltfGraphics),
|
|
178775
|
-
/* harmony export */ "readPointCloudTileContent": () => (/* reexport safe */
|
|
178931
|
+
/* harmony export */ "readPointCloudTileContent": () => (/* reexport safe */ _PntsReader__WEBPACK_IMPORTED_MODULE_64__.readPointCloudTileContent)
|
|
178776
178932
|
/* harmony export */ });
|
|
178777
178933
|
/* harmony import */ var _ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ViewFlagOverrides */ "../../core/frontend/lib/esm/tile/ViewFlagOverrides.js");
|
|
178778
178934
|
/* harmony import */ var _map_MapCartoRectangle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map/MapCartoRectangle */ "../../core/frontend/lib/esm/tile/map/MapCartoRectangle.js");
|
|
@@ -178817,41 +178973,42 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178817
178973
|
/* harmony import */ var _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./map/WmsCapabilities */ "../../core/frontend/lib/esm/tile/map/WmsCapabilities.js");
|
|
178818
178974
|
/* harmony import */ var _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./map/WmtsCapabilities */ "../../core/frontend/lib/esm/tile/map/WmtsCapabilities.js");
|
|
178819
178975
|
/* harmony import */ var _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./map/MapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/MapLayerImageryProvider.js");
|
|
178820
|
-
/* harmony import */ var
|
|
178821
|
-
/* harmony import */ var
|
|
178822
|
-
/* harmony import */ var
|
|
178823
|
-
/* harmony import */ var
|
|
178824
|
-
/* harmony import */ var
|
|
178825
|
-
/* harmony import */ var
|
|
178826
|
-
/* harmony import */ var
|
|
178827
|
-
/* harmony import */ var
|
|
178828
|
-
/* harmony import */ var
|
|
178829
|
-
/* harmony import */ var
|
|
178830
|
-
/* harmony import */ var
|
|
178831
|
-
/* harmony import */ var
|
|
178832
|
-
/* harmony import */ var
|
|
178833
|
-
/* harmony import */ var
|
|
178834
|
-
/* harmony import */ var
|
|
178835
|
-
/* harmony import */ var
|
|
178836
|
-
/* harmony import */ var
|
|
178837
|
-
/* harmony import */ var
|
|
178838
|
-
/* harmony import */ var
|
|
178839
|
-
/* harmony import */ var
|
|
178840
|
-
/* harmony import */ var
|
|
178841
|
-
/* harmony import */ var
|
|
178842
|
-
/* harmony import */ var
|
|
178843
|
-
/* harmony import */ var
|
|
178844
|
-
/* harmony import */ var
|
|
178845
|
-
/* harmony import */ var
|
|
178846
|
-
/* harmony import */ var
|
|
178847
|
-
/* harmony import */ var
|
|
178848
|
-
/* harmony import */ var
|
|
178849
|
-
/* harmony import */ var
|
|
178850
|
-
/* harmony import */ var
|
|
178851
|
-
/* harmony import */ var
|
|
178852
|
-
/* harmony import */ var
|
|
178853
|
-
/* harmony import */ var
|
|
178854
|
-
/* harmony import */ var
|
|
178976
|
+
/* harmony import */ var _map_ImageryProviders_ArcGISImageryProvider__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGISImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js");
|
|
178977
|
+
/* harmony import */ var _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGISMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js");
|
|
178978
|
+
/* harmony import */ var _map_ImageryProviders_AzureMapsLayerImageryProvider__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./map/ImageryProviders/AzureMapsLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js");
|
|
178979
|
+
/* harmony import */ var _map_ImageryProviders_BingImageryProvider__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./map/ImageryProviders/BingImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js");
|
|
178980
|
+
/* harmony import */ var _map_ImageryProviders_MapBoxLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./map/ImageryProviders/MapBoxLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js");
|
|
178981
|
+
/* harmony import */ var _map_ImageryProviders_TileUrlImageryProvider__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./map/ImageryProviders/TileUrlImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/TileUrlImageryProvider.js");
|
|
178982
|
+
/* harmony import */ var _map_ImageryProviders_WmsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./map/ImageryProviders/WmsMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WmsMapLayerImageryProvider.js");
|
|
178983
|
+
/* harmony import */ var _map_ImageryProviders_WmtsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./map/ImageryProviders/WmtsMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js");
|
|
178984
|
+
/* harmony import */ var _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./map/MapLayerImageryFormats */ "../../core/frontend/lib/esm/tile/map/MapLayerImageryFormats.js");
|
|
178985
|
+
/* harmony import */ var _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./map/MapLayerTileTreeReference */ "../../core/frontend/lib/esm/tile/map/MapLayerTileTreeReference.js");
|
|
178986
|
+
/* harmony import */ var _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./map/MapTileTree */ "../../core/frontend/lib/esm/tile/map/MapTileTree.js");
|
|
178987
|
+
/* harmony import */ var _map_TerrainMeshProvider__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./map/TerrainMeshProvider */ "../../core/frontend/lib/esm/tile/map/TerrainMeshProvider.js");
|
|
178988
|
+
/* harmony import */ var _map_TerrainProvider__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./map/TerrainProvider */ "../../core/frontend/lib/esm/tile/map/TerrainProvider.js");
|
|
178989
|
+
/* harmony import */ var _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./map/CesiumTerrainProvider */ "../../core/frontend/lib/esm/tile/map/CesiumTerrainProvider.js");
|
|
178990
|
+
/* harmony import */ var _map_EllipsoidTerrainProvider__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./map/EllipsoidTerrainProvider */ "../../core/frontend/lib/esm/tile/map/EllipsoidTerrainProvider.js");
|
|
178991
|
+
/* harmony import */ var _map_MapTile__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./map/MapTile */ "../../core/frontend/lib/esm/tile/map/MapTile.js");
|
|
178992
|
+
/* harmony import */ var _RealityTileLoader__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./RealityTileLoader */ "../../core/frontend/lib/esm/tile/RealityTileLoader.js");
|
|
178993
|
+
/* harmony import */ var _map_MapTileLoader__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./map/MapTileLoader */ "../../core/frontend/lib/esm/tile/map/MapTileLoader.js");
|
|
178994
|
+
/* harmony import */ var _map_BingElevation__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./map/BingElevation */ "../../core/frontend/lib/esm/tile/map/BingElevation.js");
|
|
178995
|
+
/* harmony import */ var _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./map/MapTilingScheme */ "../../core/frontend/lib/esm/tile/map/MapTilingScheme.js");
|
|
178996
|
+
/* harmony import */ var _map_MapTileAvailability__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./map/MapTileAvailability */ "../../core/frontend/lib/esm/tile/map/MapTileAvailability.js");
|
|
178997
|
+
/* harmony import */ var _PntsReader__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./PntsReader */ "../../core/frontend/lib/esm/tile/PntsReader.js");
|
|
178998
|
+
/* harmony import */ var _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./RealityModelTileTree */ "../../core/frontend/lib/esm/tile/RealityModelTileTree.js");
|
|
178999
|
+
/* harmony import */ var _IModelTile__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./IModelTile */ "../../core/frontend/lib/esm/tile/IModelTile.js");
|
|
179000
|
+
/* harmony import */ var _DynamicIModelTile__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./DynamicIModelTile */ "../../core/frontend/lib/esm/tile/DynamicIModelTile.js");
|
|
179001
|
+
/* harmony import */ var _IModelTileTree__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./IModelTileTree */ "../../core/frontend/lib/esm/tile/IModelTileTree.js");
|
|
179002
|
+
/* harmony import */ var _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./PrimaryTileTree */ "../../core/frontend/lib/esm/tile/PrimaryTileTree.js");
|
|
179003
|
+
/* harmony import */ var _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./ClassifierTileTree */ "../../core/frontend/lib/esm/tile/ClassifierTileTree.js");
|
|
179004
|
+
/* harmony import */ var _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./OrbitGtTileTree */ "../../core/frontend/lib/esm/tile/OrbitGtTileTree.js");
|
|
179005
|
+
/* harmony import */ var _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./map/ImageryTileTree */ "../../core/frontend/lib/esm/tile/map/ImageryTileTree.js");
|
|
179006
|
+
/* harmony import */ var _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./map/MapLayerSources */ "../../core/frontend/lib/esm/tile/map/MapLayerSources.js");
|
|
179007
|
+
/* harmony import */ var _map_MapTiledGraphicsProvider__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./map/MapTiledGraphicsProvider */ "../../core/frontend/lib/esm/tile/map/MapTiledGraphicsProvider.js");
|
|
179008
|
+
/* harmony import */ var _CesiumAssetProvider__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./CesiumAssetProvider */ "../../core/frontend/lib/esm/tile/CesiumAssetProvider.js");
|
|
179009
|
+
/* harmony import */ var _ContextShareProvider__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./ContextShareProvider */ "../../core/frontend/lib/esm/tile/ContextShareProvider.js");
|
|
179010
|
+
/* harmony import */ var _ThreeDTileFormatInterpreter__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./ThreeDTileFormatInterpreter */ "../../core/frontend/lib/esm/tile/ThreeDTileFormatInterpreter.js");
|
|
179011
|
+
/* harmony import */ var _OPCFormatInterpreter__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./OPCFormatInterpreter */ "../../core/frontend/lib/esm/tile/OPCFormatInterpreter.js");
|
|
178855
179012
|
/*---------------------------------------------------------------------------------------------
|
|
178856
179013
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
178857
179014
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -178944,6 +179101,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178944
179101
|
|
|
178945
179102
|
|
|
178946
179103
|
|
|
179104
|
+
|
|
178947
179105
|
|
|
178948
179106
|
|
|
178949
179107
|
|
|
@@ -179168,9 +179326,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
179168
179326
|
/* harmony export */ "ArcGisUtilities": () => (/* binding */ ArcGisUtilities)
|
|
179169
179327
|
/* harmony export */ });
|
|
179170
179328
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
179171
|
-
/* harmony import */ var
|
|
179172
|
-
/* harmony import */ var
|
|
179173
|
-
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
179329
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
179330
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
179174
179331
|
/*---------------------------------------------------------------------------------------------
|
|
179175
179332
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
179176
179333
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -179178,7 +179335,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
179178
179335
|
|
|
179179
179336
|
|
|
179180
179337
|
|
|
179181
|
-
|
|
179182
179338
|
/** @packageDocumentation
|
|
179183
179339
|
* @module Tiles
|
|
179184
179340
|
*/
|
|
@@ -179193,35 +179349,15 @@ var ArcGisErrorCode;
|
|
|
179193
179349
|
})(ArcGisErrorCode || (ArcGisErrorCode = {}));
|
|
179194
179350
|
/** @internal */
|
|
179195
179351
|
class ArcGisUtilities {
|
|
179196
|
-
static hasTokenError(response) {
|
|
179197
|
-
var _a, _b, _c;
|
|
179198
|
-
if (response.header && ((_a = response.header["content-type"]) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes("json"))) {
|
|
179199
|
-
try {
|
|
179200
|
-
// Tile response returns byte array, so we need to check the response data type and convert accordingly.
|
|
179201
|
-
const json = ((response.body instanceof ArrayBuffer) ? JSON.parse(Buffer.from(response.body).toString()) : response.body);
|
|
179202
|
-
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);
|
|
179203
|
-
}
|
|
179204
|
-
catch (_err) {
|
|
179205
|
-
return false; // that probably means we failed to convert byte array to JSON
|
|
179206
|
-
}
|
|
179207
|
-
}
|
|
179208
|
-
return false;
|
|
179209
|
-
}
|
|
179210
179352
|
static getBBoxString(range) {
|
|
179211
179353
|
if (!range)
|
|
179212
|
-
range =
|
|
179354
|
+
range = _internal__WEBPACK_IMPORTED_MODULE_1__.MapCartoRectangle.createMaximum();
|
|
179213
179355
|
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}`;
|
|
179214
179356
|
}
|
|
179215
|
-
static async getEndpoint(url) {
|
|
179216
|
-
const capabilities = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_1__.request)(`${url}?f=pjson`, {
|
|
179217
|
-
method: "GET",
|
|
179218
|
-
responseType: "json",
|
|
179219
|
-
});
|
|
179220
|
-
return capabilities.body;
|
|
179221
|
-
}
|
|
179222
179357
|
static async getNationalMapSources() {
|
|
179223
179358
|
const sources = new Array();
|
|
179224
|
-
const
|
|
179359
|
+
const response = await fetch("https://viewer.nationalmap.gov/tnmaccess/api/getMapServiceList", { method: "GET" });
|
|
179360
|
+
const services = await response.json();
|
|
179225
179361
|
if (!Array.isArray(services))
|
|
179226
179362
|
return sources;
|
|
179227
179363
|
for (const service of services) {
|
|
@@ -179229,13 +179365,13 @@ class ArcGisUtilities {
|
|
|
179229
179365
|
continue;
|
|
179230
179366
|
switch (service.serviceType) {
|
|
179231
179367
|
case "ArcGIS":
|
|
179232
|
-
sources.push(
|
|
179368
|
+
sources.push(_internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.displayName, url: service.serviceLink, formatId: "ArcGIS" }));
|
|
179233
179369
|
break;
|
|
179234
179370
|
default: {
|
|
179235
179371
|
const wmsIndex = service.wmsUrl.lastIndexOf("/wms");
|
|
179236
179372
|
if (wmsIndex > 0) {
|
|
179237
179373
|
const url = service.wmsUrl.slice(0, wmsIndex + 4);
|
|
179238
|
-
sources.push(
|
|
179374
|
+
sources.push(_internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.displayName, url, formatId: "WMS" }));
|
|
179239
179375
|
}
|
|
179240
179376
|
break;
|
|
179241
179377
|
}
|
|
@@ -179247,7 +179383,8 @@ class ArcGisUtilities {
|
|
|
179247
179383
|
if (undefined === baseUrl)
|
|
179248
179384
|
baseUrl = url;
|
|
179249
179385
|
let sources = new Array();
|
|
179250
|
-
const
|
|
179386
|
+
const response = await fetch(`${url}?f=json`, { method: "GET" });
|
|
179387
|
+
const json = await response.json();
|
|
179251
179388
|
if (json !== undefined) {
|
|
179252
179389
|
if (Array.isArray(json.folders)) {
|
|
179253
179390
|
for (const folder of json.folders) {
|
|
@@ -179258,9 +179395,9 @@ class ArcGisUtilities {
|
|
|
179258
179395
|
for (const service of json.services) {
|
|
179259
179396
|
let source;
|
|
179260
179397
|
if (service.type === "MapServer")
|
|
179261
|
-
source =
|
|
179398
|
+
source = _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.name, url: `${baseUrl}/${service.name}/MapServer`, formatId: "ArcGIS" });
|
|
179262
179399
|
else if (service.type === "ImageServer")
|
|
179263
|
-
source =
|
|
179400
|
+
source = _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.name, url: `${baseUrl}/${service.name}/ImageServer`, formatId: "ArcGIS" });
|
|
179264
179401
|
if (source)
|
|
179265
179402
|
sources.push(source);
|
|
179266
179403
|
}
|
|
@@ -179271,13 +179408,14 @@ class ArcGisUtilities {
|
|
|
179271
179408
|
static async getSourcesFromQuery(range, url = "https://usgs.maps.arcgis.com/sharing/rest/search") {
|
|
179272
179409
|
const sources = new Array();
|
|
179273
179410
|
for (let start = 1; start > 0;) {
|
|
179274
|
-
const
|
|
179411
|
+
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" });
|
|
179412
|
+
const json = await response.json();
|
|
179275
179413
|
if (!json)
|
|
179276
179414
|
break;
|
|
179277
179415
|
start = json.nextStart ? json.nextStart : -1;
|
|
179278
179416
|
if (json !== undefined && Array.isArray(json.results)) {
|
|
179279
179417
|
for (const result of json.results) {
|
|
179280
|
-
const source =
|
|
179418
|
+
const source = _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: result.name ? result.name : result.title, url: result.url, formatId: "ArcGIS" });
|
|
179281
179419
|
if (source)
|
|
179282
179420
|
sources.push(source);
|
|
179283
179421
|
}
|
|
@@ -179285,33 +179423,45 @@ class ArcGisUtilities {
|
|
|
179285
179423
|
}
|
|
179286
179424
|
return sources;
|
|
179287
179425
|
}
|
|
179288
|
-
|
|
179289
|
-
|
|
179426
|
+
/**
|
|
179427
|
+
* Attempt to access an ArcGIS service, and validate its service metadata.
|
|
179428
|
+
* @param url URL of the source to validate.
|
|
179429
|
+
* @param formatId Format Id of the source.
|
|
179430
|
+
* @param capabilitiesFilter List of capabilities 'keyword' that needs to be advertised in the service's metadata
|
|
179431
|
+
* in order to be valid. For example: 'Map', 'Query', etc
|
|
179432
|
+
* @param userName Username to use for legacy token based security.
|
|
179433
|
+
* @param password Username to use for legacy token based security.
|
|
179434
|
+
* @param ignoreCache Flag to skip cache lookup (i.e. force a new server request)
|
|
179435
|
+
* @return Validation Status. If successful, a list of available sub-layers will also be returned.
|
|
179436
|
+
*/
|
|
179437
|
+
static async validateSource(url, formatId, capabilitiesFilter, userName, password, ignoreCache) {
|
|
179438
|
+
const json = await this.getServiceJson(url, formatId, userName, password, ignoreCache);
|
|
179290
179439
|
if (json === undefined) {
|
|
179291
|
-
return { status:
|
|
179440
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidUrl };
|
|
179292
179441
|
}
|
|
179293
179442
|
else if (json.error !== undefined) {
|
|
179294
179443
|
// If we got a 'Token Required' error, lets check what authentification methods this ESRI service offers
|
|
179295
179444
|
// and return information needed to initiate the authentification process... the end-user
|
|
179296
179445
|
// will have to provide his credentials before we can fully validate this source.
|
|
179297
179446
|
if (json.error.code === ArcGisErrorCode.TokenRequired) {
|
|
179298
|
-
return { status:
|
|
179447
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.RequireAuth };
|
|
179299
179448
|
}
|
|
179300
179449
|
else if (json.error.code === ArcGisErrorCode.InvalidCredentials)
|
|
179301
|
-
return { status:
|
|
179450
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidCredentials };
|
|
179302
179451
|
}
|
|
179303
|
-
// Check this service support
|
|
179304
|
-
let
|
|
179452
|
+
// Check this service support the expected queries
|
|
179453
|
+
let hasCapabilities = false;
|
|
179305
179454
|
try {
|
|
179306
|
-
if (json.capabilities
|
|
179307
|
-
|
|
179308
|
-
|
|
179309
|
-
|
|
179455
|
+
if (json.capabilities && typeof json.capabilities === "string") {
|
|
179456
|
+
const capabilities = json.capabilities;
|
|
179457
|
+
const capsArray = capabilities.split(",").map((entry) => entry.toLowerCase());
|
|
179458
|
+
const filtered = capsArray.filter((element, _index, _array) => capabilitiesFilter.includes(element));
|
|
179459
|
+
hasCapabilities = (filtered.length === capabilitiesFilter.length);
|
|
179310
179460
|
}
|
|
179311
179461
|
}
|
|
179312
179462
|
catch { }
|
|
179313
|
-
if (!
|
|
179314
|
-
return { status:
|
|
179463
|
+
if (!hasCapabilities) {
|
|
179464
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidFormat };
|
|
179315
179465
|
}
|
|
179316
179466
|
let subLayers;
|
|
179317
179467
|
if (json.layers) {
|
|
@@ -179322,39 +179472,63 @@ class ArcGisUtilities {
|
|
|
179322
179472
|
subLayers.push({ name: layer.name, visible: layer.defaultVisibility !== false, id: layer.id, parent, children });
|
|
179323
179473
|
}
|
|
179324
179474
|
}
|
|
179325
|
-
return { status:
|
|
179475
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.Valid, subLayers };
|
|
179326
179476
|
}
|
|
179327
|
-
|
|
179328
|
-
|
|
179477
|
+
/**
|
|
179478
|
+
* Fetch an ArcGIS service metadata, and returns its JSON representation.
|
|
179479
|
+
* If an access client has been configured for the specified formatId,
|
|
179480
|
+
* it will be used to apply required security token.
|
|
179481
|
+
* By default, response for each URL are cached.
|
|
179482
|
+
*/
|
|
179483
|
+
static async getServiceJson(url, formatId, userName, password, ignoreCache) {
|
|
179329
179484
|
if (!ignoreCache) {
|
|
179330
179485
|
const cached = ArcGisUtilities._serviceCache.get(url);
|
|
179331
179486
|
if (cached !== undefined)
|
|
179332
179487
|
return cached;
|
|
179333
179488
|
}
|
|
179334
179489
|
try {
|
|
179335
|
-
const options = {
|
|
179336
|
-
method: "GET",
|
|
179337
|
-
responseType: "json",
|
|
179338
|
-
};
|
|
179339
179490
|
const tmpUrl = new URL(url);
|
|
179340
179491
|
tmpUrl.searchParams.append("f", "json");
|
|
179341
|
-
const accessClient =
|
|
179492
|
+
const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.mapLayerFormatRegistry.getAccessClient(formatId);
|
|
179342
179493
|
if (accessClient) {
|
|
179343
|
-
await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName
|
|
179494
|
+
await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName, password });
|
|
179344
179495
|
}
|
|
179345
|
-
const
|
|
179346
|
-
const
|
|
179347
|
-
|
|
179348
|
-
if (
|
|
179349
|
-
ArcGisUtilities._serviceCache.set(url, json);
|
|
179496
|
+
const response = await fetch(tmpUrl.toString(), { method: "GET" });
|
|
179497
|
+
const errorCode = await ArcGisUtilities.checkForResponseErrorCode(response);
|
|
179498
|
+
const json = await response.json();
|
|
179499
|
+
if (errorCode === undefined) {
|
|
179500
|
+
ArcGisUtilities._serviceCache.set(url, json); // Cache the response only if it doesn't contain a token error.
|
|
179350
179501
|
}
|
|
179351
|
-
|
|
179502
|
+
else {
|
|
179503
|
+
ArcGisUtilities._serviceCache.set(url, undefined);
|
|
179504
|
+
}
|
|
179505
|
+
return json; // Always return json, even though it contains an error code.
|
|
179352
179506
|
}
|
|
179353
179507
|
catch (_error) {
|
|
179354
179508
|
ArcGisUtilities._serviceCache.set(url, undefined);
|
|
179355
179509
|
return undefined;
|
|
179356
179510
|
}
|
|
179357
179511
|
}
|
|
179512
|
+
/** Read a response from ArcGIS server and check for error code in the response.
|
|
179513
|
+
*/
|
|
179514
|
+
static async checkForResponseErrorCode(response) {
|
|
179515
|
+
var _a, _b, _c;
|
|
179516
|
+
if (response.headers && ((_a = response.headers.get("content-type")) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes("json"))) {
|
|
179517
|
+
try {
|
|
179518
|
+
// Note:
|
|
179519
|
+
// Since response stream can only be read once (i.e. calls to .json() method)
|
|
179520
|
+
// we have to clone the response object in order to check for potential error code,
|
|
179521
|
+
// but still keep the response stream as unread.
|
|
179522
|
+
const clonedResponse = response.clone();
|
|
179523
|
+
const json = await clonedResponse.json();
|
|
179524
|
+
if (((_b = json === null || json === void 0 ? void 0 : json.error) === null || _b === void 0 ? void 0 : _b.code) !== undefined)
|
|
179525
|
+
return (_c = json === null || json === void 0 ? void 0 : json.error) === null || _c === void 0 ? void 0 : _c.code;
|
|
179526
|
+
}
|
|
179527
|
+
catch {
|
|
179528
|
+
}
|
|
179529
|
+
}
|
|
179530
|
+
return undefined;
|
|
179531
|
+
}
|
|
179358
179532
|
// return the appended access token if available.
|
|
179359
179533
|
static async appendSecurityToken(url, accessClient, accessTokenParams) {
|
|
179360
179534
|
// Append security token if available
|
|
@@ -179369,6 +179543,60 @@ class ArcGisUtilities {
|
|
|
179369
179543
|
}
|
|
179370
179544
|
return undefined;
|
|
179371
179545
|
}
|
|
179546
|
+
/**
|
|
179547
|
+
* Compute scale, resolution values for requested zoom levels (WSG 84)
|
|
179548
|
+
* Use a scale of 96 dpi for Google Maps scales
|
|
179549
|
+
* Based on this article: https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Resolution_and_Scale
|
|
179550
|
+
* @param startZoom Zoom level where scales begins to be computed
|
|
179551
|
+
* @param endZoom Zoom level where scales ends to be computed
|
|
179552
|
+
* @param latitude Latitude in degrees to use to compute scales (i.e 0 for Equator)
|
|
179553
|
+
* @param tileSize Size of a tile in pixels (i.e 256)
|
|
179554
|
+
* @param screenDpi Monitor resolution in dots per inch (i.e. typically 96dpi is used by Google Maps)
|
|
179555
|
+
* @returns An array containing resolution and scale values for each requested zoom level
|
|
179556
|
+
*/
|
|
179557
|
+
static computeZoomLevelsScales(startZoom = 0, endZoom = 20, latitude = 0, tileSize = 256, screenDpi = 96) {
|
|
179558
|
+
// Note: There is probably a more direct way to compute this, but I prefer to go for a simple and well documented approach.
|
|
179559
|
+
if (startZoom < 0 || endZoom < startZoom || tileSize < 0 || screenDpi < 1 || latitude < -90 || latitude > 90)
|
|
179560
|
+
return [];
|
|
179561
|
+
const inchPerMeter = 1 / 0.0254;
|
|
179562
|
+
const results = [];
|
|
179563
|
+
const equatorLength = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Constant.earthRadiusWGS84.equator * 2 * Math.PI;
|
|
179564
|
+
const zoom0Resolution = equatorLength / tileSize; // in meters per pixel
|
|
179565
|
+
const cosLatitude = Math.cos(latitude);
|
|
179566
|
+
for (let zoom = startZoom; zoom <= endZoom; zoom++) {
|
|
179567
|
+
const resolution = zoom0Resolution * cosLatitude / Math.pow(2, zoom);
|
|
179568
|
+
const scale = screenDpi * inchPerMeter * resolution;
|
|
179569
|
+
results.push({ zoom, resolution, scale });
|
|
179570
|
+
}
|
|
179571
|
+
return results;
|
|
179572
|
+
}
|
|
179573
|
+
/**
|
|
179574
|
+
* Match the provided minScale,maxScale values to corresponding wgs84 zoom levels
|
|
179575
|
+
* @param defaultMaxLod Value of the last LOD (i.e 22)
|
|
179576
|
+
* @param tileSize Size of a tile in pixels (i.e 256)
|
|
179577
|
+
* @param minScale Minimum scale value that needs to be matched to a LOD level
|
|
179578
|
+
* @param maxScale Maximum scale value that needs to be matched to a LOD level
|
|
179579
|
+
* @returns minLod: LOD value matching minScale, maxLod: LOD value matching maxScale
|
|
179580
|
+
*/
|
|
179581
|
+
static getZoomLevelsScales(defaultMaxLod, tileSize, minScale, maxScale) {
|
|
179582
|
+
let minLod, maxLod;
|
|
179583
|
+
const zoomScales = ArcGisUtilities.computeZoomLevelsScales(0, defaultMaxLod, 0 /* latitude 0 = Equator*/, tileSize);
|
|
179584
|
+
if (zoomScales.length > 0) {
|
|
179585
|
+
if (minScale) {
|
|
179586
|
+
minLod = 0;
|
|
179587
|
+
// We are looking for the largest scale value with a scale value smaller than minScale
|
|
179588
|
+
for (; minLod < zoomScales.length && zoomScales[minLod].scale > minScale; minLod++)
|
|
179589
|
+
;
|
|
179590
|
+
}
|
|
179591
|
+
if (maxScale) {
|
|
179592
|
+
maxLod = defaultMaxLod;
|
|
179593
|
+
// We are looking for the smallest scale value with a value greater than maxScale
|
|
179594
|
+
for (; maxLod >= 0 && zoomScales[maxLod].scale < maxScale; maxLod--)
|
|
179595
|
+
;
|
|
179596
|
+
}
|
|
179597
|
+
}
|
|
179598
|
+
return { minLod, maxLod };
|
|
179599
|
+
}
|
|
179372
179600
|
}
|
|
179373
179601
|
ArcGisUtilities._serviceCache = new Map();
|
|
179374
179602
|
|
|
@@ -180103,6 +180331,116 @@ class EllipsoidTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_3__.Te
|
|
|
180103
180331
|
}
|
|
180104
180332
|
|
|
180105
180333
|
|
|
180334
|
+
/***/ }),
|
|
180335
|
+
|
|
180336
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js":
|
|
180337
|
+
/*!**************************************************************************************!*\
|
|
180338
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js ***!
|
|
180339
|
+
\**************************************************************************************/
|
|
180340
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
180341
|
+
|
|
180342
|
+
"use strict";
|
|
180343
|
+
__webpack_require__.r(__webpack_exports__);
|
|
180344
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
180345
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* binding */ ArcGISImageryProvider)
|
|
180346
|
+
/* harmony export */ });
|
|
180347
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
180348
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
180349
|
+
/* harmony import */ var _NotificationManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../NotificationManager */ "../../core/frontend/lib/esm/NotificationManager.js");
|
|
180350
|
+
/*---------------------------------------------------------------------------------------------
|
|
180351
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
180352
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
180353
|
+
*--------------------------------------------------------------------------------------------*/
|
|
180354
|
+
/** @packageDocumentation
|
|
180355
|
+
* @module Tiles
|
|
180356
|
+
*/
|
|
180357
|
+
|
|
180358
|
+
|
|
180359
|
+
|
|
180360
|
+
/** Base class for ArcGIS map-layer imagery providers.
|
|
180361
|
+
*
|
|
180362
|
+
* The initial purpose of this class is to offer shared methods
|
|
180363
|
+
* to query ArcGIS services and apply the appropriate security token.
|
|
180364
|
+
* @see [[ArcGISMapLayerImageryProvider]]
|
|
180365
|
+
* @internal
|
|
180366
|
+
*/
|
|
180367
|
+
class ArcGISImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProvider {
|
|
180368
|
+
constructor(settings, usesCachedTiles) {
|
|
180369
|
+
var _a;
|
|
180370
|
+
super(settings, usesCachedTiles);
|
|
180371
|
+
this._accessClient = (_a = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry) === null || _a === void 0 ? void 0 : _a.getAccessClient(settings.formatId);
|
|
180372
|
+
}
|
|
180373
|
+
/**
|
|
180374
|
+
* Make a request to an ArcGIS service using the provided URL and init parameters.
|
|
180375
|
+
* @param url URL to query
|
|
180376
|
+
* @param options Custom settings to apply to the request.
|
|
180377
|
+
* Refer to fetch API for more details (https://developer.mozilla.org/en-US/docs/Web/API/fetch)
|
|
180378
|
+
*/
|
|
180379
|
+
async fetch(url, options) {
|
|
180380
|
+
var _a, _b;
|
|
180381
|
+
const urlObj = new URL(url);
|
|
180382
|
+
try {
|
|
180383
|
+
if (this._accessClient) {
|
|
180384
|
+
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, {
|
|
180385
|
+
mapLayerUrl: new URL(this._settings.url),
|
|
180386
|
+
userName: this._settings.userName,
|
|
180387
|
+
password: this._settings.password
|
|
180388
|
+
});
|
|
180389
|
+
}
|
|
180390
|
+
}
|
|
180391
|
+
catch {
|
|
180392
|
+
}
|
|
180393
|
+
let response = await fetch(urlObj.toString(), options);
|
|
180394
|
+
let errorCode = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.checkForResponseErrorCode(response.clone());
|
|
180395
|
+
if (errorCode !== undefined &&
|
|
180396
|
+
(errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.TokenRequired || errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.InvalidToken)) {
|
|
180397
|
+
let hasTokenError = true;
|
|
180398
|
+
// **** Legacy token ONLY ***
|
|
180399
|
+
// Token might have expired, make a second attempt by forcing new token.
|
|
180400
|
+
if (this._settings.userName && this._settings.userName.length > 0 && this._lastAccessToken) {
|
|
180401
|
+
// Invalidate previously used token to force token re-generation
|
|
180402
|
+
if (((_a = this._accessClient) === null || _a === void 0 ? void 0 : _a.invalidateToken) !== undefined && this._lastAccessToken !== undefined)
|
|
180403
|
+
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
180404
|
+
const urlObj2 = new URL(url);
|
|
180405
|
+
if (this._accessClient) {
|
|
180406
|
+
try {
|
|
180407
|
+
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, { mapLayerUrl: urlObj, userName: this._settings.userName, password: this._settings.password });
|
|
180408
|
+
}
|
|
180409
|
+
catch {
|
|
180410
|
+
}
|
|
180411
|
+
}
|
|
180412
|
+
// Make a second attempt with refreshed token
|
|
180413
|
+
response = await fetch(urlObj2.toString(), options);
|
|
180414
|
+
errorCode = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.checkForResponseErrorCode(response.clone());
|
|
180415
|
+
if (errorCode !== undefined &&
|
|
180416
|
+
(errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.TokenRequired || errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.InvalidToken)) {
|
|
180417
|
+
// OK at this point, if response still contain a token error, we assume end-user will
|
|
180418
|
+
// have to provide credentials again. Change the layer status so we
|
|
180419
|
+
// don't make additional invalid requests..
|
|
180420
|
+
if (((_b = this._accessClient) === null || _b === void 0 ? void 0 : _b.invalidateToken) !== undefined && this._lastAccessToken !== undefined) {
|
|
180421
|
+
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
180422
|
+
this._lastAccessToken = undefined;
|
|
180423
|
+
}
|
|
180424
|
+
}
|
|
180425
|
+
else {
|
|
180426
|
+
hasTokenError = false;
|
|
180427
|
+
}
|
|
180428
|
+
}
|
|
180429
|
+
if (hasTokenError
|
|
180430
|
+
&& this.status === _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProviderStatus.Valid) {
|
|
180431
|
+
// Only report if status is currently valid (avoid reporting twice the same error)
|
|
180432
|
+
this.status = _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProviderStatus.RequireAuth;
|
|
180433
|
+
this.onStatusChanged.raiseEvent(this);
|
|
180434
|
+
const msg = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.localization.getLocalizedString("iModelJs:MapLayers.Messages.FetchTooltipTokenError", { layerName: this._settings.name });
|
|
180435
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_2__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_2__.OutputMessagePriority.Warning, msg));
|
|
180436
|
+
}
|
|
180437
|
+
}
|
|
180438
|
+
return response;
|
|
180439
|
+
}
|
|
180440
|
+
}
|
|
180441
|
+
ArcGISImageryProvider._serviceCache = new Map();
|
|
180442
|
+
|
|
180443
|
+
|
|
180106
180444
|
/***/ }),
|
|
180107
180445
|
|
|
180108
180446
|
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js":
|
|
@@ -180116,15 +180454,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
180116
180454
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
180117
180455
|
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* binding */ ArcGISMapLayerImageryProvider)
|
|
180118
180456
|
/* harmony export */ });
|
|
180119
|
-
/* harmony import */ var
|
|
180120
|
-
/* harmony import */ var
|
|
180121
|
-
/* harmony import */ var
|
|
180122
|
-
/* harmony import */ var
|
|
180123
|
-
/* harmony import */ var
|
|
180124
|
-
/* harmony import */ var
|
|
180125
|
-
/* harmony import */ var
|
|
180126
|
-
/* 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");
|
|
180127
|
-
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);
|
|
180457
|
+
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
180458
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
180459
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
180460
|
+
/* harmony import */ var _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/appui-abstract */ "../../ui/appui-abstract/lib/esm/appui-abstract.js");
|
|
180461
|
+
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
180462
|
+
/* 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");
|
|
180463
|
+
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);
|
|
180128
180464
|
/*---------------------------------------------------------------------------------------------
|
|
180129
180465
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
180130
180466
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -180138,10 +180474,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
180138
180474
|
|
|
180139
180475
|
|
|
180140
180476
|
|
|
180141
|
-
|
|
180142
|
-
|
|
180143
180477
|
/** @internal */
|
|
180144
|
-
class ArcGISMapLayerImageryProvider extends
|
|
180478
|
+
class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGISImageryProvider {
|
|
180145
180479
|
constructor(settings) {
|
|
180146
180480
|
super(settings, false);
|
|
180147
180481
|
this._maxDepthFromLod = 0;
|
|
@@ -180149,7 +180483,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180149
180483
|
this._copyrightText = "Copyright";
|
|
180150
180484
|
this._querySupported = false;
|
|
180151
180485
|
this._tileMapSupported = false;
|
|
180152
|
-
this._accessClient =
|
|
180486
|
+
this._accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.getAccessClient(settings.formatId);
|
|
180153
180487
|
}
|
|
180154
180488
|
get _filterByCartoRange() { return false; } // Can't trust footprint ranges (USGS Hydro)
|
|
180155
180489
|
get minimumZoomLevel() { return Math.max(super.minimumZoomLevel, this._minDepthFromLod); }
|
|
@@ -180158,56 +180492,23 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180158
180492
|
return Buffer.from(uintArray).toJSON();
|
|
180159
180493
|
}
|
|
180160
180494
|
async fetchTile(row, column, zoomLevel) {
|
|
180161
|
-
const tileRequestOptions = { method: "GET", responseType: "arraybuffer" };
|
|
180162
|
-
tileRequestOptions.auth = this.getRequestAuthorization();
|
|
180163
180495
|
const tileUrl = await this.constructUrl(row, column, zoomLevel);
|
|
180164
180496
|
if (tileUrl.length === 0)
|
|
180165
180497
|
return undefined;
|
|
180166
|
-
return
|
|
180498
|
+
return this.fetch(new URL(tileUrl), { method: "GET" });
|
|
180167
180499
|
}
|
|
180168
180500
|
async loadTile(row, column, zoomLevel) {
|
|
180169
|
-
|
|
180170
|
-
if ((this.status === _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.RequireAuth)) {
|
|
180501
|
+
if ((this.status === _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.RequireAuth)) {
|
|
180171
180502
|
return undefined;
|
|
180172
180503
|
}
|
|
180173
180504
|
try {
|
|
180174
|
-
|
|
180505
|
+
const tileResponse = await this.fetchTile(row, column, zoomLevel);
|
|
180175
180506
|
if (tileResponse === undefined)
|
|
180176
180507
|
return undefined;
|
|
180177
|
-
// Check the content type from the response, it might contain an authentication error that need to be reported.
|
|
180178
|
-
// Skip if the layer state was already invalid
|
|
180179
|
-
if (_internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.hasTokenError(tileResponse)) {
|
|
180180
|
-
if (((_a = this._accessClient) === null || _a === void 0 ? void 0 : _a.invalidateToken) !== undefined && this._lastAccessToken !== undefined)
|
|
180181
|
-
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
180182
|
-
// Token might have expired, make a second attempt by forcing new token.
|
|
180183
|
-
if (this._settings.userName && this._settings.userName.length > 0 && this._lastAccessToken) {
|
|
180184
|
-
tileResponse = await this.fetchTile(row, column, zoomLevel);
|
|
180185
|
-
if (tileResponse === undefined)
|
|
180186
|
-
return undefined;
|
|
180187
|
-
}
|
|
180188
|
-
// OK at this point, if response still contain a token error, we assume end-user will
|
|
180189
|
-
// have to provide credentials again. Change the layer status so we
|
|
180190
|
-
// don't make additional invalid requests..
|
|
180191
|
-
if (tileResponse && _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.hasTokenError(tileResponse)) {
|
|
180192
|
-
// Check again layer status, it might have change during await.
|
|
180193
|
-
if (this.status === _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.Valid) {
|
|
180194
|
-
this.status = _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.RequireAuth;
|
|
180195
|
-
this.onStatusChanged.raiseEvent(this);
|
|
180196
|
-
// Only report error to end-user if we were previously able to fetch tiles
|
|
180197
|
-
// and then encountered an error, otherwise I assume an error was already reported
|
|
180198
|
-
// through the source validation process.
|
|
180199
|
-
if (this._hasSuccessfullyFetchedTile) {
|
|
180200
|
-
const msg = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.localization.getLocalizedString("iModelJs:MapLayers.Messages.LoadTileTokenError", { layerName: this._settings.name });
|
|
180201
|
-
_IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_3__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_3__.OutputMessagePriority.Warning, msg));
|
|
180202
|
-
}
|
|
180203
|
-
}
|
|
180204
|
-
return undefined;
|
|
180205
|
-
}
|
|
180206
|
-
}
|
|
180207
180508
|
if (!this._hasSuccessfullyFetchedTile) {
|
|
180208
180509
|
this._hasSuccessfullyFetchedTile = true;
|
|
180209
180510
|
}
|
|
180210
|
-
return this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
180511
|
+
return await this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
180211
180512
|
}
|
|
180212
180513
|
catch (error) {
|
|
180213
180514
|
return undefined;
|
|
@@ -180235,7 +180536,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180235
180536
|
// eslint-disable-next-line @typescript-eslint/prefer-for-of
|
|
180236
180537
|
for (let i = 0; i < childIds.length; i++) {
|
|
180237
180538
|
const childExtent = this.getEPSG4326Extent(childIds[i].row, childIds[i].column, childIds[i].level);
|
|
180238
|
-
const childRange =
|
|
180539
|
+
const childRange = _internal__WEBPACK_IMPORTED_MODULE_2__.MapCartoRectangle.fromDegrees(childExtent.longitudeLeft, childExtent.latitudeBottom, childExtent.longitudeRight, childExtent.latitudeTop);
|
|
180239
180540
|
if (childRange.intersectsRange(this.cartoRange)) {
|
|
180240
180541
|
availableChildIds.push(childIds[i]);
|
|
180241
180542
|
}
|
|
@@ -180255,13 +180556,13 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180255
180556
|
}
|
|
180256
180557
|
async initialize() {
|
|
180257
180558
|
var _a, _b, _c, _d, _e;
|
|
180258
|
-
const json = await
|
|
180559
|
+
const json = await _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGisUtilities.getServiceJson(this._settings.url, this._settings.formatId, this._settings.userName, this._settings.password);
|
|
180259
180560
|
if (json === undefined)
|
|
180260
|
-
throw new
|
|
180261
|
-
if (((_a = json === null || json === void 0 ? void 0 : json.error) === null || _a === void 0 ? void 0 : _a.code) ===
|
|
180561
|
+
throw new _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.ServerError(_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.ValidationFailed, "");
|
|
180562
|
+
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) {
|
|
180262
180563
|
// Check again layer status, it might have change during await.
|
|
180263
|
-
if (this.status ===
|
|
180264
|
-
this.status =
|
|
180564
|
+
if (this.status === _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.Valid) {
|
|
180565
|
+
this.status = _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.RequireAuth;
|
|
180265
180566
|
this.onStatusChanged.raiseEvent(this);
|
|
180266
180567
|
}
|
|
180267
180568
|
}
|
|
@@ -180281,12 +180582,12 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180281
180582
|
}
|
|
180282
180583
|
// Create tile map object only if we are going to request tiles from this server and it support tilemap requests.
|
|
180283
180584
|
if (this._usesCachedTiles && this._tileMapSupported) {
|
|
180284
|
-
this._tileMap = new
|
|
180585
|
+
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);
|
|
180285
180586
|
}
|
|
180286
180587
|
// Read range using fullextent from service metadata
|
|
180287
180588
|
if (json.fullExtent) {
|
|
180288
180589
|
if (json.fullExtent.spatialReference.latestWkid === 3857 || json.fullExtent.spatialReference.wkid === 102100) {
|
|
180289
|
-
const range3857 =
|
|
180590
|
+
const range3857 = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_4__.Range2d.createFrom({
|
|
180290
180591
|
low: { x: json.fullExtent.xmin, y: json.fullExtent.ymin },
|
|
180291
180592
|
high: { x: json.fullExtent.xmax, y: json.fullExtent.ymax }
|
|
180292
180593
|
});
|
|
@@ -180294,7 +180595,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180294
180595
|
const south = this.getEPSG4326Lat(range3857.yLow);
|
|
180295
180596
|
const east = this.getEPSG4326Lon(range3857.xHigh);
|
|
180296
180597
|
const north = this.getEPSG4326Lat(range3857.yHigh);
|
|
180297
|
-
this.cartoRange =
|
|
180598
|
+
this.cartoRange = _internal__WEBPACK_IMPORTED_MODULE_2__.MapCartoRectangle.fromDegrees(west, south, east, north);
|
|
180298
180599
|
}
|
|
180299
180600
|
}
|
|
180300
180601
|
// Read minLOD if available
|
|
@@ -180307,7 +180608,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180307
180608
|
else if (json.minScale) {
|
|
180308
180609
|
// Read min LOD using minScale
|
|
180309
180610
|
const minScale = json.minScale;
|
|
180310
|
-
if (((_e = json.tileInfo) === null || _e === void 0 ? void 0 : _e.lods) !== undefined && (0,
|
|
180611
|
+
if (((_e = json.tileInfo) === null || _e === void 0 ? void 0 : _e.lods) !== undefined && (0,lodash__WEBPACK_IMPORTED_MODULE_5__.isArray)(json.tileInfo.lods)) {
|
|
180311
180612
|
for (const lod of json.tileInfo.lods) {
|
|
180312
180613
|
if (lod.scale < minScale) {
|
|
180313
180614
|
this._minDepthFromLod = lod.level;
|
|
@@ -180321,56 +180622,19 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180321
180622
|
addLogoCards(cards) {
|
|
180322
180623
|
if (!cards.dataset.arcGisLogoCard) {
|
|
180323
180624
|
cards.dataset.arcGisLogoCard = "true";
|
|
180324
|
-
cards.appendChild(
|
|
180625
|
+
cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.makeLogoCard({ heading: "ArcGIS", notice: this._copyrightText }));
|
|
180325
180626
|
}
|
|
180326
180627
|
}
|
|
180327
180628
|
// Translates the provided Cartographic into a EPSG:3857 point, and retrieve information.
|
|
180328
180629
|
// tolerance is in pixels
|
|
180329
180630
|
async getIdentifyData(quadId, carto, tolerance) {
|
|
180330
|
-
var _a, _b, _c, _d, _e;
|
|
180331
180631
|
const bboxString = this.getEPSG3857ExtentString(quadId.row, quadId.column, quadId.level);
|
|
180332
180632
|
const x = this.getEPSG3857X(carto.longitudeDegrees);
|
|
180333
180633
|
const y = this.getEPSG3857Y(carto.latitudeDegrees);
|
|
180334
180634
|
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}`;
|
|
180335
180635
|
const urlObj = new URL(tmpUrl);
|
|
180336
|
-
|
|
180337
|
-
|
|
180338
|
-
this._lastAccessToken = undefined; // reset any previous accessToken, and rely on access client's cache
|
|
180339
|
-
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, { mapLayerUrl: urlObj, userName: this._settings.userName, password: this._settings.password });
|
|
180340
|
-
}
|
|
180341
|
-
catch {
|
|
180342
|
-
}
|
|
180343
|
-
}
|
|
180344
|
-
let json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_0__.getJson)(urlObj.toString());
|
|
180345
|
-
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) {
|
|
180346
|
-
if (((_c = this._accessClient) === null || _c === void 0 ? void 0 : _c.invalidateToken) !== undefined && this._lastAccessToken !== undefined)
|
|
180347
|
-
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
180348
|
-
// Token might have expired, make a second attempt by forcing new token.
|
|
180349
|
-
if (this._settings.userName && this._settings.userName.length > 0 && this._lastAccessToken) {
|
|
180350
|
-
const urlObj2 = new URL(tmpUrl);
|
|
180351
|
-
if (this._accessClient) {
|
|
180352
|
-
try {
|
|
180353
|
-
await _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, { mapLayerUrl: urlObj, userName: this._settings.userName, password: this._settings.password });
|
|
180354
|
-
}
|
|
180355
|
-
catch {
|
|
180356
|
-
}
|
|
180357
|
-
}
|
|
180358
|
-
json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_0__.getJson)(urlObj2.toString());
|
|
180359
|
-
}
|
|
180360
|
-
// OK at this point, if response still contain a token error, we assume end-user will
|
|
180361
|
-
// have to provide credentials again. Change the layer status so we
|
|
180362
|
-
// don't make additional invalid requests..
|
|
180363
|
-
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) {
|
|
180364
|
-
// Check again layer status, it might have change during await.
|
|
180365
|
-
if (this.status === _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.Valid) {
|
|
180366
|
-
this.status = _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.RequireAuth;
|
|
180367
|
-
const msg = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.localization.getLocalizedString("iModelJs:MapLayers.Messages.FetchTooltipTokenError", { layerName: this._settings.name });
|
|
180368
|
-
_IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_3__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_3__.OutputMessagePriority.Warning, msg));
|
|
180369
|
-
}
|
|
180370
|
-
json = undefined;
|
|
180371
|
-
}
|
|
180372
|
-
}
|
|
180373
|
-
return json;
|
|
180636
|
+
const response = await this.fetch(urlObj, { method: "GET" });
|
|
180637
|
+
return response.json();
|
|
180374
180638
|
}
|
|
180375
180639
|
// Makes an identify request to ESRI MapService server, and return it as a list of formatted strings
|
|
180376
180640
|
async getToolTip(strings, quadId, carto, tree) {
|
|
@@ -180408,7 +180672,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180408
180672
|
for (const [key, value] of Object.entries(result.attributes)) {
|
|
180409
180673
|
// Convert everything to string for now
|
|
180410
180674
|
const strValue = String(value);
|
|
180411
|
-
(_b = subLayerInfo.records) === null || _b === void 0 ? void 0 : _b.push(new
|
|
180675
|
+
(_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 }));
|
|
180412
180676
|
}
|
|
180413
180677
|
if (layerInfo.info === undefined) {
|
|
180414
180678
|
layerInfo.info = [];
|
|
@@ -180438,20 +180702,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180438
180702
|
const bboxString = `${this.getEPSG3857ExtentString(row, column, zoomLevel)}&bboxSR=3857`;
|
|
180439
180703
|
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`;
|
|
180440
180704
|
}
|
|
180441
|
-
|
|
180442
|
-
try {
|
|
180443
|
-
if (this._accessClient) {
|
|
180444
|
-
this._lastAccessToken = undefined; // reset any previous accessToken, and rely on access client's cache
|
|
180445
|
-
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, {
|
|
180446
|
-
mapLayerUrl: new URL(this._settings.url),
|
|
180447
|
-
userName: this._settings.userName,
|
|
180448
|
-
password: this._settings.password
|
|
180449
|
-
});
|
|
180450
|
-
}
|
|
180451
|
-
}
|
|
180452
|
-
catch {
|
|
180453
|
-
}
|
|
180454
|
-
return urlObj.toString();
|
|
180705
|
+
return tmpUrl;
|
|
180455
180706
|
}
|
|
180456
180707
|
}
|
|
180457
180708
|
|
|
@@ -180841,7 +181092,8 @@ class WmsMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_3__.
|
|
|
180841
181092
|
}
|
|
180842
181093
|
async initialize() {
|
|
180843
181094
|
try {
|
|
180844
|
-
this.
|
|
181095
|
+
const credentials = (this._settings.userName && this._settings.password ? { user: this._settings.userName, password: this._settings.password } : undefined);
|
|
181096
|
+
this._capabilities = await _internal__WEBPACK_IMPORTED_MODULE_3__.WmsCapabilities.create(this._baseUrl, credentials);
|
|
180845
181097
|
if (undefined !== this._capabilities) {
|
|
180846
181098
|
this._allLayersRange = this._capabilities.cartoRange;
|
|
180847
181099
|
if (this._capabilities.layer && Array.isArray(this._capabilities.layer.subLayers)) {
|
|
@@ -181701,17 +181953,32 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
181701
181953
|
|
|
181702
181954
|
|
|
181703
181955
|
|
|
181956
|
+
const loggerCategory = "ArcGISFeatureProvider";
|
|
181704
181957
|
/** @beta */
|
|
181958
|
+
/** Class representing a map-layer format.
|
|
181959
|
+
* Each format has it's unique 'formatId' string, used to uniquely identify a format in the [[MapLayerFormatRegistry]].
|
|
181960
|
+
* When creating an [[ImageMapLayerSettings]] object, a format needs to be specified this 'formatId'.
|
|
181961
|
+
* The MapLayerFormat object can later be used to validate a source, or create a provider.
|
|
181962
|
+
*
|
|
181963
|
+
* Subclasses should override formatId and [[MapLayerFormat.createImageryProvider]].
|
|
181964
|
+
* @beta
|
|
181965
|
+
*/
|
|
181705
181966
|
class MapLayerFormat {
|
|
181967
|
+
/** Register the current format in the [[MapLayerFormatRegistry]].
|
|
181968
|
+
*/
|
|
181706
181969
|
static register() { _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.register(this); }
|
|
181707
|
-
/**
|
|
181970
|
+
/** Allow a source of a specific to be validated before being attached as a map-layer.
|
|
181971
|
+
*/
|
|
181972
|
+
static async validateSource(_url, _userName, _password, _ignoreCache) { return { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.Valid }; }
|
|
181973
|
+
/** Create a [[MapLayerImageryProvider]] that will be used to feed data in a map-layer tile Tree.
|
|
181974
|
+
* @internal
|
|
181975
|
+
*/
|
|
181708
181976
|
static createImageryProvider(_settings) { (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false); }
|
|
181709
181977
|
/** @internal */
|
|
181710
181978
|
static createMapLayerTree(_layerSettings, _layerIndex, _iModel) {
|
|
181711
181979
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false);
|
|
181712
181980
|
return undefined;
|
|
181713
181981
|
}
|
|
181714
|
-
static async validateSource(_url, _credentials, _ignoreCache) { return { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.Valid }; }
|
|
181715
181982
|
}
|
|
181716
181983
|
/** @beta */
|
|
181717
181984
|
class MapLayerFormatRegistry {
|
|
@@ -181720,6 +181987,7 @@ class MapLayerFormatRegistry {
|
|
|
181720
181987
|
this._configOptions = opts !== null && opts !== void 0 ? opts : {};
|
|
181721
181988
|
_internal__WEBPACK_IMPORTED_MODULE_2__.internalMapLayerImageryFormats.forEach((format) => this.register(format));
|
|
181722
181989
|
}
|
|
181990
|
+
isRegistered(formatId) { return this._formats.get(formatId) !== undefined; }
|
|
181723
181991
|
register(formatClass, accessClient) {
|
|
181724
181992
|
if (formatClass.formatId.length === 0)
|
|
181725
181993
|
return; // must be an abstract class, ignore it
|
|
@@ -181746,7 +182014,11 @@ class MapLayerFormatRegistry {
|
|
|
181746
182014
|
createImageryMapLayerTree(layerSettings, layerIndex, iModel) {
|
|
181747
182015
|
const entry = this._formats.get(layerSettings.formatId);
|
|
181748
182016
|
const format = entry === null || entry === void 0 ? void 0 : entry.type;
|
|
181749
|
-
|
|
182017
|
+
if (format === undefined) {
|
|
182018
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(loggerCategory, `Could not find format '${layerSettings.formatId}' in registry`);
|
|
182019
|
+
return undefined;
|
|
182020
|
+
}
|
|
182021
|
+
return format.createMapLayerTree(layerSettings, layerIndex, iModel);
|
|
181750
182022
|
}
|
|
181751
182023
|
/** @internal */
|
|
181752
182024
|
createImageryProvider(layerSettings) {
|
|
@@ -181759,10 +182031,10 @@ class MapLayerFormatRegistry {
|
|
|
181759
182031
|
}
|
|
181760
182032
|
return (format === undefined) ? undefined : format.createImageryProvider(layerSettings);
|
|
181761
182033
|
}
|
|
181762
|
-
async validateSource(formatId, url,
|
|
182034
|
+
async validateSource(formatId, url, userName, password, ignoreCache) {
|
|
181763
182035
|
const entry = this._formats.get(formatId);
|
|
181764
182036
|
const format = entry === null || entry === void 0 ? void 0 : entry.type;
|
|
181765
|
-
return (format === undefined) ? { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.InvalidFormat } : format.validateSource(url,
|
|
182037
|
+
return (format === undefined) ? { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.InvalidFormat } : format.validateSource(url, userName, password, ignoreCache);
|
|
181766
182038
|
}
|
|
181767
182039
|
}
|
|
181768
182040
|
|
|
@@ -181782,18 +182054,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
181782
182054
|
/* harmony export */ "internalMapLayerImageryFormats": () => (/* binding */ internalMapLayerImageryFormats)
|
|
181783
182055
|
/* harmony export */ });
|
|
181784
182056
|
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
181785
|
-
/*---------------------------------------------------------------------------------------------
|
|
181786
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
181787
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
181788
|
-
*--------------------------------------------------------------------------------------------*/
|
|
181789
|
-
/** @packageDocumentation
|
|
181790
|
-
* @module MapLayers
|
|
181791
|
-
*/
|
|
181792
182057
|
|
|
181793
|
-
/** Base class imagery map layer formats.
|
|
181794
|
-
*
|
|
182058
|
+
/** Base class imagery map layer formats.
|
|
182059
|
+
* Subclasses should override formatId and [[MapLayerFormat.createImageryProvider]].
|
|
182060
|
+
* @see [[MapLayerFormat]]
|
|
182061
|
+
* @beta
|
|
181795
182062
|
*/
|
|
181796
182063
|
class ImageryMapLayerFormat extends _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerFormat {
|
|
182064
|
+
/** @internal */
|
|
181797
182065
|
static createMapLayerTree(layerSettings, layerIndex, iModel) {
|
|
181798
182066
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.ImageryMapLayerTreeReference(layerSettings, layerIndex, iModel);
|
|
181799
182067
|
}
|
|
@@ -181802,11 +182070,11 @@ class WmsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
181802
182070
|
static createImageryProvider(settings) {
|
|
181803
182071
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.WmsMapLayerImageryProvider(settings);
|
|
181804
182072
|
}
|
|
181805
|
-
static async validateSource(url,
|
|
182073
|
+
static async validateSource(url, userName, password, ignoreCache) {
|
|
181806
182074
|
try {
|
|
181807
182075
|
let subLayers;
|
|
181808
182076
|
const maxVisibleSubLayers = 50;
|
|
181809
|
-
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmsCapabilities.create(url,
|
|
182077
|
+
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmsCapabilities.create(url, (userName && password ? { user: userName, password } : undefined), ignoreCache);
|
|
181810
182078
|
if (capabilities !== undefined) {
|
|
181811
182079
|
subLayers = capabilities.getSubLayers(false);
|
|
181812
182080
|
const rootsSubLayer = subLayers === null || subLayers === void 0 ? void 0 : subLayers.find((sublayer) => sublayer.parent === undefined);
|
|
@@ -181850,7 +182118,7 @@ class WmsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
181850
182118
|
catch (err) {
|
|
181851
182119
|
let status = _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidUrl;
|
|
181852
182120
|
if ((err === null || err === void 0 ? void 0 : err.status) === 401) {
|
|
181853
|
-
status = (
|
|
182121
|
+
status = ((userName && password) ? _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidCredentials : _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.RequireAuth);
|
|
181854
182122
|
}
|
|
181855
182123
|
return { status };
|
|
181856
182124
|
}
|
|
@@ -181861,11 +182129,11 @@ class WmtsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
181861
182129
|
static createImageryProvider(settings) {
|
|
181862
182130
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.WmtsMapLayerImageryProvider(settings);
|
|
181863
182131
|
}
|
|
181864
|
-
static async validateSource(url,
|
|
182132
|
+
static async validateSource(url, userName, password, ignoreCache) {
|
|
181865
182133
|
var _a, _b, _c;
|
|
181866
182134
|
try {
|
|
181867
182135
|
const subLayers = [];
|
|
181868
|
-
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmtsCapabilities.create(url,
|
|
182136
|
+
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmtsCapabilities.create(url, (userName && password ? { user: userName, password } : undefined), ignoreCache);
|
|
181869
182137
|
if (!capabilities)
|
|
181870
182138
|
return { status: _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidUrl };
|
|
181871
182139
|
// Only returns layer that can be published in the Google maps or WGS84 aligned tile trees.
|
|
@@ -181912,8 +182180,8 @@ class WmtsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
181912
182180
|
}
|
|
181913
182181
|
WmtsMapLayerFormat.formatId = "WMTS";
|
|
181914
182182
|
class ArcGISMapLayerFormat extends ImageryMapLayerFormat {
|
|
181915
|
-
static async validateSource(url,
|
|
181916
|
-
return _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.validateSource(url,
|
|
182183
|
+
static async validateSource(url, userName, password, ignoreCache) {
|
|
182184
|
+
return _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.validateSource(url, this.formatId, ["map"], userName, password, ignoreCache);
|
|
181917
182185
|
}
|
|
181918
182186
|
static createImageryProvider(settings) {
|
|
181919
182187
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGISMapLayerImageryProvider(settings);
|
|
@@ -181966,8 +182234,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
181966
182234
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
181967
182235
|
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
181968
182236
|
/* harmony import */ var _NotificationManager__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../NotificationManager */ "../../core/frontend/lib/esm/NotificationManager.js");
|
|
181969
|
-
/* harmony import */ var
|
|
181970
|
-
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
182237
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
181971
182238
|
/*---------------------------------------------------------------------------------------------
|
|
181972
182239
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
181973
182240
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -181981,11 +182248,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
181981
182248
|
|
|
181982
182249
|
|
|
181983
182250
|
|
|
181984
|
-
|
|
182251
|
+
/** @internal */
|
|
181985
182252
|
const tileImageSize = 256, untiledImageSize = 256;
|
|
181986
182253
|
const earthRadius = 6378137;
|
|
181987
182254
|
const doDebugToolTips = false;
|
|
181988
|
-
/** @
|
|
182255
|
+
/** @beta */
|
|
181989
182256
|
var MapLayerImageryProviderStatus;
|
|
181990
182257
|
(function (MapLayerImageryProviderStatus) {
|
|
181991
182258
|
MapLayerImageryProviderStatus[MapLayerImageryProviderStatus["Valid"] = 0] = "Valid";
|
|
@@ -182001,26 +182268,35 @@ class MapLayerImageryProvider {
|
|
|
182001
182268
|
this._hasSuccessfullyFetchedTile = false;
|
|
182002
182269
|
this.status = MapLayerImageryProviderStatus.Valid;
|
|
182003
182270
|
this.onStatusChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
182004
|
-
|
|
182005
|
-
this.
|
|
182006
|
-
|
|
182007
|
-
this._geographicTilingScheme = new
|
|
182271
|
+
/** @internal */
|
|
182272
|
+
this._mercatorTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.WebMercatorTilingScheme();
|
|
182273
|
+
/** @internal */
|
|
182274
|
+
this._geographicTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.GeographicTilingScheme();
|
|
182275
|
+
// Those values are used internally for various computation, this should not get overriden.
|
|
182276
|
+
/** @internal */
|
|
182277
|
+
this.defaultMinimumZoomLevel = 0;
|
|
182278
|
+
/** @internal */
|
|
182279
|
+
this.defaultMaximumZoomLevel = 22;
|
|
182280
|
+
this._mercatorTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.WebMercatorTilingScheme();
|
|
182281
|
+
this._geographicTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.GeographicTilingScheme(2, 1, true);
|
|
182008
182282
|
}
|
|
182009
182283
|
get tileSize() { return this._usesCachedTiles ? tileImageSize : untiledImageSize; }
|
|
182010
182284
|
get maximumScreenSize() { return 2 * this.tileSize; }
|
|
182011
|
-
get minimumZoomLevel() { return
|
|
182012
|
-
get maximumZoomLevel() { return
|
|
182285
|
+
get minimumZoomLevel() { return this.defaultMinimumZoomLevel; }
|
|
182286
|
+
get maximumZoomLevel() { return this.defaultMaximumZoomLevel; }
|
|
182013
182287
|
get usesCachedTiles() { return this._usesCachedTiles; }
|
|
182014
182288
|
get mutualExclusiveSubLayer() { return false; }
|
|
182015
182289
|
get useGeographicTilingScheme() { return false; }
|
|
182290
|
+
/** @internal */
|
|
182016
182291
|
get _filterByCartoRange() { return true; }
|
|
182017
182292
|
async initialize() {
|
|
182018
|
-
this.loadTile(0, 0,
|
|
182293
|
+
this.loadTile(0, 0, this.defaultMaximumZoomLevel).then((tileData) => {
|
|
182019
182294
|
if (tileData !== undefined)
|
|
182020
182295
|
this._missingTileData = tileData.data;
|
|
182021
182296
|
});
|
|
182022
182297
|
}
|
|
182023
182298
|
get tilingScheme() { return this.useGeographicTilingScheme ? this._geographicTilingScheme : this._mercatorTilingScheme; }
|
|
182299
|
+
/** @internal */
|
|
182024
182300
|
addLogoCards(_cards, _viewport) { }
|
|
182025
182301
|
get transparentBackgroundString() { return this._settings.transparentBackground ? "true" : "false"; }
|
|
182026
182302
|
async _areChildrenAvailable(_tile) { return true; }
|
|
@@ -182048,41 +182324,51 @@ class MapLayerImageryProvider {
|
|
|
182048
182324
|
// default implementation; simply return an empty feature info
|
|
182049
182325
|
featureInfos.push({ layerName: this._settings.name });
|
|
182050
182326
|
}
|
|
182051
|
-
|
|
182052
|
-
|
|
182053
|
-
|
|
182054
|
-
|
|
182055
|
-
const byteArray = new Uint8Array(
|
|
182327
|
+
/** @internal */
|
|
182328
|
+
async getImageFromTileResponse(tileResponse, zoomLevel) {
|
|
182329
|
+
var _a;
|
|
182330
|
+
const arrayBuffer = await tileResponse.arrayBuffer();
|
|
182331
|
+
const byteArray = new Uint8Array(arrayBuffer);
|
|
182056
182332
|
if (!byteArray || (byteArray.length === 0))
|
|
182057
182333
|
return undefined;
|
|
182058
182334
|
if (this.matchesMissingTile(byteArray) && zoomLevel > 8)
|
|
182059
182335
|
return undefined;
|
|
182336
|
+
const contentType = (_a = tileResponse.headers.get("content-type")) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
182060
182337
|
let imageFormat;
|
|
182061
|
-
|
|
182062
|
-
|
|
182063
|
-
|
|
182064
|
-
|
|
182065
|
-
|
|
182066
|
-
|
|
182067
|
-
|
|
182068
|
-
|
|
182069
|
-
|
|
182070
|
-
|
|
182071
|
-
|
|
182072
|
-
|
|
182073
|
-
}
|
|
182074
|
-
return new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSource(byteArray, imageFormat);
|
|
182338
|
+
if (contentType) {
|
|
182339
|
+
// Note: 'includes' is used here instead of exact comparison because we encountered
|
|
182340
|
+
// some servers that would give content type such as 'image/png;charset=UTF-8'.
|
|
182341
|
+
if (contentType.includes("image/jpeg"))
|
|
182342
|
+
imageFormat = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSourceFormat.Jpeg;
|
|
182343
|
+
else if (contentType.includes("image/png"))
|
|
182344
|
+
imageFormat = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSourceFormat.Png;
|
|
182345
|
+
}
|
|
182346
|
+
if (imageFormat !== undefined)
|
|
182347
|
+
return new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSource(byteArray, imageFormat);
|
|
182348
|
+
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false, "Invalid tile content type");
|
|
182349
|
+
return undefined;
|
|
182075
182350
|
}
|
|
182351
|
+
/** @internal */
|
|
182076
182352
|
setStatus(status) {
|
|
182077
182353
|
if (this.status !== status) {
|
|
182078
182354
|
this.status = status;
|
|
182079
182355
|
this.onStatusChanged.raiseEvent(this);
|
|
182080
182356
|
}
|
|
182081
182357
|
}
|
|
182358
|
+
/** @internal */
|
|
182359
|
+
setRequestAuthorization(headers) {
|
|
182360
|
+
if (this._settings.userName && this._settings.password) {
|
|
182361
|
+
headers.set("Authorization", `Basic ${_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Base64EncodedString.encode(`${this._settings.userName}:${this._settings.password}`)}`);
|
|
182362
|
+
}
|
|
182363
|
+
}
|
|
182364
|
+
/** @internal */
|
|
182082
182365
|
async makeTileRequest(url) {
|
|
182083
|
-
|
|
182084
|
-
|
|
182085
|
-
|
|
182366
|
+
let headers;
|
|
182367
|
+
if (this._settings.userName && this._settings.password) {
|
|
182368
|
+
headers = new Headers();
|
|
182369
|
+
this.setRequestAuthorization(headers);
|
|
182370
|
+
}
|
|
182371
|
+
return fetch(url, { method: "GET", headers });
|
|
182086
182372
|
}
|
|
182087
182373
|
async loadTile(row, column, zoomLevel) {
|
|
182088
182374
|
try {
|
|
@@ -182093,7 +182379,7 @@ class MapLayerImageryProvider {
|
|
|
182093
182379
|
if (!this._hasSuccessfullyFetchedTile) {
|
|
182094
182380
|
this._hasSuccessfullyFetchedTile = true;
|
|
182095
182381
|
}
|
|
182096
|
-
return this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
182382
|
+
return await this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
182097
182383
|
}
|
|
182098
182384
|
catch (error) {
|
|
182099
182385
|
if ((error === null || error === void 0 ? void 0 : error.status) === 401) {
|
|
@@ -182109,29 +182395,21 @@ class MapLayerImageryProvider {
|
|
|
182109
182395
|
return undefined;
|
|
182110
182396
|
}
|
|
182111
182397
|
}
|
|
182398
|
+
/** @internal */
|
|
182112
182399
|
async toolTipFromUrl(strings, url) {
|
|
182113
|
-
const
|
|
182114
|
-
|
|
182115
|
-
responseType: "text",
|
|
182116
|
-
auth: this.getRequestAuthorization(),
|
|
182117
|
-
}; // spell-checker: disable-line
|
|
182400
|
+
const headers = new Headers();
|
|
182401
|
+
this.setRequestAuthorization(headers);
|
|
182118
182402
|
try {
|
|
182119
|
-
const response = await (
|
|
182120
|
-
|
|
182121
|
-
|
|
182403
|
+
const response = await fetch(url, { method: "GET", headers });
|
|
182404
|
+
const text = await response.text();
|
|
182405
|
+
if (undefined !== text) {
|
|
182406
|
+
strings.push(text);
|
|
182122
182407
|
}
|
|
182123
182408
|
}
|
|
182124
182409
|
catch {
|
|
182125
182410
|
}
|
|
182126
182411
|
}
|
|
182127
|
-
|
|
182128
|
-
try {
|
|
182129
|
-
const json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_5__.getJson)(url);
|
|
182130
|
-
if (undefined !== json) {
|
|
182131
|
-
}
|
|
182132
|
-
}
|
|
182133
|
-
catch { }
|
|
182134
|
-
}
|
|
182412
|
+
/** @internal */
|
|
182135
182413
|
matchesMissingTile(tileData) {
|
|
182136
182414
|
if (!this._missingTileData)
|
|
182137
182415
|
return false;
|
|
@@ -182144,38 +182422,46 @@ class MapLayerImageryProvider {
|
|
|
182144
182422
|
}
|
|
182145
182423
|
return true;
|
|
182146
182424
|
}
|
|
182425
|
+
/** @internal */
|
|
182147
182426
|
// calculates the projected x cartesian coordinate in EPSG:3857from the longitude in EPSG:4326 (WGS84)
|
|
182148
182427
|
getEPSG3857X(longitude) {
|
|
182149
182428
|
return longitude * 20037508.34 / 180.0;
|
|
182150
182429
|
}
|
|
182430
|
+
/** @internal */
|
|
182151
182431
|
// calculates the projected y cartesian coordinate in EPSG:3857from the latitude in EPSG:4326 (WGS84)
|
|
182152
182432
|
getEPSG3857Y(latitude) {
|
|
182153
182433
|
const y = Math.log(Math.tan((90.0 + latitude) * Math.PI / 360.0)) / (Math.PI / 180.0);
|
|
182154
182434
|
return y * 20037508.34 / 180.0;
|
|
182155
182435
|
}
|
|
182436
|
+
/** @internal */
|
|
182156
182437
|
// calculates the longitude in EPSG:4326 (WGS84) from the projected x cartesian coordinate in EPSG:3857
|
|
182157
182438
|
getEPSG4326Lon(x3857) {
|
|
182158
182439
|
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Angle.radiansToDegrees(x3857 / earthRadius);
|
|
182159
182440
|
}
|
|
182441
|
+
/** @internal */
|
|
182160
182442
|
// calculates the latitude in EPSG:4326 (WGS84) from the projected y cartesian coordinate in EPSG:3857
|
|
182161
182443
|
getEPSG4326Lat(y3857) {
|
|
182162
182444
|
const y = 2 * Math.atan(Math.exp(y3857 / earthRadius)) - (Math.PI / 2);
|
|
182163
182445
|
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Angle.radiansToDegrees(y);
|
|
182164
182446
|
}
|
|
182447
|
+
/** @internal */
|
|
182165
182448
|
// Map tile providers like Bing and Mapbox allow the URL to be constructed directory from the zoom level and tile coordinates.
|
|
182166
182449
|
// However, WMS-based servers take a bounding box instead. This method can help get that bounding box from a tile.
|
|
182167
182450
|
getEPSG4326Extent(row, column, zoomLevel) {
|
|
182168
|
-
|
|
182169
|
-
|
|
182170
|
-
const
|
|
182451
|
+
// Shift left (this.tileSize << zoomLevel) overflow when using 512 pixels tile at higher resolution,
|
|
182452
|
+
// so use Math.pow instead (I assume the performance lost to be minimal)
|
|
182453
|
+
const mapSize = this.tileSize * Math.pow(2, zoomLevel);
|
|
182454
|
+
const leftGrid = this.tileSize * column;
|
|
182455
|
+
const topGrid = this.tileSize * row;
|
|
182171
182456
|
const longitudeLeft = 360 * ((leftGrid / mapSize) - 0.5);
|
|
182172
|
-
const y0 = 0.5 - ((topGrid +
|
|
182457
|
+
const y0 = 0.5 - ((topGrid + this.tileSize) / mapSize);
|
|
182173
182458
|
const latitudeBottom = 90.0 - 360.0 * Math.atan(Math.exp(-y0 * 2 * Math.PI)) / Math.PI;
|
|
182174
|
-
const longitudeRight = 360 * (((leftGrid +
|
|
182459
|
+
const longitudeRight = 360 * (((leftGrid + this.tileSize) / mapSize) - 0.5);
|
|
182175
182460
|
const y1 = 0.5 - (topGrid / mapSize);
|
|
182176
182461
|
const latitudeTop = 90.0 - 360.0 * Math.atan(Math.exp(-y1 * 2 * Math.PI)) / Math.PI;
|
|
182177
182462
|
return { longitudeLeft, longitudeRight, latitudeTop, latitudeBottom };
|
|
182178
182463
|
}
|
|
182464
|
+
/** @internal */
|
|
182179
182465
|
getEPSG3857Extent(row, column, zoomLevel) {
|
|
182180
182466
|
const epsg4326Extent = this.getEPSG4326Extent(row, column, zoomLevel);
|
|
182181
182467
|
const left = this.getEPSG3857X(epsg4326Extent.longitudeLeft);
|
|
@@ -182184,10 +182470,12 @@ class MapLayerImageryProvider {
|
|
|
182184
182470
|
const top = this.getEPSG3857Y(epsg4326Extent.latitudeTop);
|
|
182185
182471
|
return { left, right, bottom, top };
|
|
182186
182472
|
}
|
|
182473
|
+
/** @internal */
|
|
182187
182474
|
getEPSG3857ExtentString(row, column, zoomLevel) {
|
|
182188
182475
|
const tileExtent = this.getEPSG3857Extent(row, column, zoomLevel);
|
|
182189
182476
|
return `${tileExtent.left.toFixed(2)},${tileExtent.bottom.toFixed(2)},${tileExtent.right.toFixed(2)},${tileExtent.top.toFixed(2)}`;
|
|
182190
182477
|
}
|
|
182478
|
+
/** @internal */
|
|
182191
182479
|
getEPSG4326ExtentString(row, column, zoomLevel, latLongAxisOrdering) {
|
|
182192
182480
|
const tileExtent = this.getEPSG4326Extent(row, column, zoomLevel);
|
|
182193
182481
|
if (latLongAxisOrdering) {
|
|
@@ -182273,7 +182561,7 @@ class MapLayerSource {
|
|
|
182273
182561
|
return new MapLayerSource(json.formatId, json.name, json.url, json.baseMap, json.transparentBackground);
|
|
182274
182562
|
}
|
|
182275
182563
|
async validateSource(ignoreCache) {
|
|
182276
|
-
return _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.validateSource(this.formatId, this.url, this.
|
|
182564
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.validateSource(this.formatId, this.url, this.userName, this.password, ignoreCache);
|
|
182277
182565
|
}
|
|
182278
182566
|
/** @internal*/
|
|
182279
182567
|
static fromBackgroundMapProps(props) {
|
|
@@ -185150,7 +185438,10 @@ class WmsCapabilities {
|
|
|
185150
185438
|
if (!xmlCapabilities)
|
|
185151
185439
|
return undefined;
|
|
185152
185440
|
const capabilities = new WmsCapabilities(new (wms_capabilities__WEBPACK_IMPORTED_MODULE_1___default())().parse(xmlCapabilities));
|
|
185153
|
-
|
|
185441
|
+
if (!credentials) {
|
|
185442
|
+
// Avoid caching protected data
|
|
185443
|
+
WmsCapabilities._capabilitiesCache.set(url, capabilities);
|
|
185444
|
+
}
|
|
185154
185445
|
return capabilities;
|
|
185155
185446
|
}
|
|
185156
185447
|
getSubLayers(visible = true) {
|
|
@@ -278984,9 +279275,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
278984
279275
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
278985
279276
|
/* harmony export */ "ITwinLocalization": () => (/* binding */ ITwinLocalization)
|
|
278986
279277
|
/* harmony export */ });
|
|
278987
|
-
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
278988
|
-
/* 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.
|
|
278989
|
-
/* 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.
|
|
279278
|
+
/* 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");
|
|
279279
|
+
/* 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");
|
|
279280
|
+
/* 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");
|
|
278990
279281
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
278991
279282
|
/*---------------------------------------------------------------------------------------------
|
|
278992
279283
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -304517,9 +304808,9 @@ var WidgetState;
|
|
|
304517
304808
|
|
|
304518
304809
|
/***/ }),
|
|
304519
304810
|
|
|
304520
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
304811
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/getFetch.cjs":
|
|
304521
304812
|
/*!**************************************************************************************************************************!*\
|
|
304522
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
304813
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/getFetch.cjs ***!
|
|
304523
304814
|
\**************************************************************************************************************************/
|
|
304524
304815
|
/***/ ((module, exports, __webpack_require__) => {
|
|
304525
304816
|
|
|
@@ -306149,9 +306440,9 @@ const gBase64 = {
|
|
|
306149
306440
|
|
|
306150
306441
|
/***/ }),
|
|
306151
306442
|
|
|
306152
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306443
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
|
|
306153
306444
|
/*!******************************************************************************************************************************!*\
|
|
306154
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306445
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
|
|
306155
306446
|
\******************************************************************************************************************************/
|
|
306156
306447
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306157
306448
|
|
|
@@ -306162,19 +306453,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306162
306453
|
/* harmony export */ });
|
|
306163
306454
|
function _arrayLikeToArray(arr, len) {
|
|
306164
306455
|
if (len == null || len > arr.length) len = arr.length;
|
|
306165
|
-
|
|
306166
306456
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
306167
306457
|
arr2[i] = arr[i];
|
|
306168
306458
|
}
|
|
306169
|
-
|
|
306170
306459
|
return arr2;
|
|
306171
306460
|
}
|
|
306172
306461
|
|
|
306173
306462
|
/***/ }),
|
|
306174
306463
|
|
|
306175
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306464
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
|
|
306176
306465
|
/*!****************************************************************************************************************************!*\
|
|
306177
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306466
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
|
|
306178
306467
|
\****************************************************************************************************************************/
|
|
306179
306468
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306180
306469
|
|
|
@@ -306189,9 +306478,9 @@ function _arrayWithHoles(arr) {
|
|
|
306189
306478
|
|
|
306190
306479
|
/***/ }),
|
|
306191
306480
|
|
|
306192
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306481
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
|
|
306193
306482
|
/*!***********************************************************************************************************************************!*\
|
|
306194
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306483
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
|
|
306195
306484
|
\***********************************************************************************************************************************/
|
|
306196
306485
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306197
306486
|
|
|
@@ -306204,15 +306493,14 @@ function _assertThisInitialized(self) {
|
|
|
306204
306493
|
if (self === void 0) {
|
|
306205
306494
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
306206
306495
|
}
|
|
306207
|
-
|
|
306208
306496
|
return self;
|
|
306209
306497
|
}
|
|
306210
306498
|
|
|
306211
306499
|
/***/ }),
|
|
306212
306500
|
|
|
306213
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306501
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
306214
306502
|
/*!****************************************************************************************************************************!*\
|
|
306215
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306503
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
306216
306504
|
\****************************************************************************************************************************/
|
|
306217
306505
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306218
306506
|
|
|
@@ -306229,9 +306517,9 @@ function _classCallCheck(instance, Constructor) {
|
|
|
306229
306517
|
|
|
306230
306518
|
/***/ }),
|
|
306231
306519
|
|
|
306232
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306520
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
306233
306521
|
/*!*************************************************************************************************************************!*\
|
|
306234
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306522
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
306235
306523
|
\*************************************************************************************************************************/
|
|
306236
306524
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306237
306525
|
|
|
@@ -306249,7 +306537,6 @@ function _defineProperties(target, props) {
|
|
|
306249
306537
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
306250
306538
|
}
|
|
306251
306539
|
}
|
|
306252
|
-
|
|
306253
306540
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
306254
306541
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
306255
306542
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
@@ -306261,9 +306548,9 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
306261
306548
|
|
|
306262
306549
|
/***/ }),
|
|
306263
306550
|
|
|
306264
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306551
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
|
|
306265
306552
|
/*!****************************************************************************************************************************!*\
|
|
306266
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306553
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
|
306267
306554
|
\****************************************************************************************************************************/
|
|
306268
306555
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306269
306556
|
|
|
@@ -306283,15 +306570,14 @@ function _defineProperty(obj, key, value) {
|
|
|
306283
306570
|
} else {
|
|
306284
306571
|
obj[key] = value;
|
|
306285
306572
|
}
|
|
306286
|
-
|
|
306287
306573
|
return obj;
|
|
306288
306574
|
}
|
|
306289
306575
|
|
|
306290
306576
|
/***/ }),
|
|
306291
306577
|
|
|
306292
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306578
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
|
|
306293
306579
|
/*!****************************************************************************************************************************!*\
|
|
306294
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306580
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
|
|
306295
306581
|
\****************************************************************************************************************************/
|
|
306296
306582
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306297
306583
|
|
|
@@ -306309,9 +306595,9 @@ function _getPrototypeOf(o) {
|
|
|
306309
306595
|
|
|
306310
306596
|
/***/ }),
|
|
306311
306597
|
|
|
306312
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306598
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/inherits.js":
|
|
306313
306599
|
/*!**********************************************************************************************************************!*\
|
|
306314
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306600
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
|
|
306315
306601
|
\**********************************************************************************************************************/
|
|
306316
306602
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306317
306603
|
|
|
@@ -306320,13 +306606,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306320
306606
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306321
306607
|
/* harmony export */ "default": () => (/* binding */ _inherits)
|
|
306322
306608
|
/* harmony export */ });
|
|
306323
|
-
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306609
|
+
/* 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");
|
|
306324
306610
|
|
|
306325
306611
|
function _inherits(subClass, superClass) {
|
|
306326
306612
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
306327
306613
|
throw new TypeError("Super expression must either be null or a function");
|
|
306328
306614
|
}
|
|
306329
|
-
|
|
306330
306615
|
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
306331
306616
|
constructor: {
|
|
306332
306617
|
value: subClass,
|
|
@@ -306342,9 +306627,9 @@ function _inherits(subClass, superClass) {
|
|
|
306342
306627
|
|
|
306343
306628
|
/***/ }),
|
|
306344
306629
|
|
|
306345
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306630
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
|
|
306346
306631
|
/*!*****************************************************************************************************************************!*\
|
|
306347
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306632
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
|
|
306348
306633
|
\*****************************************************************************************************************************/
|
|
306349
306634
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306350
306635
|
|
|
@@ -306359,9 +306644,9 @@ function _iterableToArray(iter) {
|
|
|
306359
306644
|
|
|
306360
306645
|
/***/ }),
|
|
306361
306646
|
|
|
306362
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306647
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
|
|
306363
306648
|
/*!*****************************************************************************************************************************!*\
|
|
306364
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306649
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
|
|
306365
306650
|
\*****************************************************************************************************************************/
|
|
306366
306651
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306367
306652
|
|
|
@@ -306376,9 +306661,9 @@ function _nonIterableRest() {
|
|
|
306376
306661
|
|
|
306377
306662
|
/***/ }),
|
|
306378
306663
|
|
|
306379
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306664
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
|
|
306380
306665
|
/*!***************************************************************************************************************************************!*\
|
|
306381
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306666
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
|
|
306382
306667
|
\***************************************************************************************************************************************/
|
|
306383
306668
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306384
306669
|
|
|
@@ -306387,8 +306672,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306387
306672
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306388
306673
|
/* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
|
|
306389
306674
|
/* harmony export */ });
|
|
306390
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306391
|
-
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306675
|
+
/* 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");
|
|
306676
|
+
/* 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");
|
|
306392
306677
|
|
|
306393
306678
|
|
|
306394
306679
|
function _possibleConstructorReturn(self, call) {
|
|
@@ -306397,15 +306682,14 @@ function _possibleConstructorReturn(self, call) {
|
|
|
306397
306682
|
} else if (call !== void 0) {
|
|
306398
306683
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
306399
306684
|
}
|
|
306400
|
-
|
|
306401
306685
|
return (0,_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__["default"])(self);
|
|
306402
306686
|
}
|
|
306403
306687
|
|
|
306404
306688
|
/***/ }),
|
|
306405
306689
|
|
|
306406
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306690
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
|
|
306407
306691
|
/*!****************************************************************************************************************************!*\
|
|
306408
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306692
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
|
306409
306693
|
\****************************************************************************************************************************/
|
|
306410
306694
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306411
306695
|
|
|
@@ -306424,9 +306708,9 @@ function _setPrototypeOf(o, p) {
|
|
|
306424
306708
|
|
|
306425
306709
|
/***/ }),
|
|
306426
306710
|
|
|
306427
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306711
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/toArray.js":
|
|
306428
306712
|
/*!*********************************************************************************************************************!*\
|
|
306429
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306713
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
|
|
306430
306714
|
\*********************************************************************************************************************/
|
|
306431
306715
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306432
306716
|
|
|
@@ -306435,10 +306719,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306435
306719
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306436
306720
|
/* harmony export */ "default": () => (/* binding */ _toArray)
|
|
306437
306721
|
/* harmony export */ });
|
|
306438
|
-
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306439
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306440
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306441
|
-
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306722
|
+
/* 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");
|
|
306723
|
+
/* 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");
|
|
306724
|
+
/* 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");
|
|
306725
|
+
/* 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");
|
|
306442
306726
|
|
|
306443
306727
|
|
|
306444
306728
|
|
|
@@ -306449,9 +306733,9 @@ function _toArray(arr) {
|
|
|
306449
306733
|
|
|
306450
306734
|
/***/ }),
|
|
306451
306735
|
|
|
306452
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306736
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
306453
306737
|
/*!********************************************************************************************************************!*\
|
|
306454
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306738
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
306455
306739
|
\********************************************************************************************************************/
|
|
306456
306740
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306457
306741
|
|
|
@@ -306472,9 +306756,9 @@ function _typeof(obj) {
|
|
|
306472
306756
|
|
|
306473
306757
|
/***/ }),
|
|
306474
306758
|
|
|
306475
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306759
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
|
|
306476
306760
|
/*!****************************************************************************************************************************************!*\
|
|
306477
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306761
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
|
|
306478
306762
|
\****************************************************************************************************************************************/
|
|
306479
306763
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306480
306764
|
|
|
@@ -306483,7 +306767,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306483
306767
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306484
306768
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
|
306485
306769
|
/* harmony export */ });
|
|
306486
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306770
|
+
/* 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");
|
|
306487
306771
|
|
|
306488
306772
|
function _unsupportedIterableToArray(o, minLen) {
|
|
306489
306773
|
if (!o) return;
|
|
@@ -306496,9 +306780,9 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
306496
306780
|
|
|
306497
306781
|
/***/ }),
|
|
306498
306782
|
|
|
306499
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306783
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/index.js":
|
|
306500
306784
|
/*!**********************************************************************************************************************!*\
|
|
306501
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306785
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/index.js ***!
|
|
306502
306786
|
\**********************************************************************************************************************/
|
|
306503
306787
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306504
306788
|
|
|
@@ -306507,19 +306791,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306507
306791
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306508
306792
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
306509
306793
|
/* harmony export */ });
|
|
306510
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306511
|
-
/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./request.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306794
|
+
/* 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");
|
|
306795
|
+
/* 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");
|
|
306512
306796
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
306513
|
-
|
|
306514
306797
|
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); } }
|
|
306515
|
-
|
|
306516
306798
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
306517
|
-
|
|
306518
306799
|
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; }
|
|
306519
306800
|
|
|
306520
306801
|
|
|
306521
|
-
|
|
306522
|
-
|
|
306523
306802
|
var getDefaults = function getDefaults() {
|
|
306524
306803
|
return {
|
|
306525
306804
|
loadPath: '/locales/{{lng}}/{{ns}}.json',
|
|
@@ -306546,32 +306825,26 @@ var getDefaults = function getDefaults() {
|
|
|
306546
306825
|
}
|
|
306547
306826
|
};
|
|
306548
306827
|
};
|
|
306549
|
-
|
|
306550
306828
|
var Backend = function () {
|
|
306551
306829
|
function Backend(services) {
|
|
306552
306830
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
306553
306831
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
306554
|
-
|
|
306555
306832
|
_classCallCheck(this, Backend);
|
|
306556
|
-
|
|
306557
306833
|
this.services = services;
|
|
306558
306834
|
this.options = options;
|
|
306559
306835
|
this.allOptions = allOptions;
|
|
306560
306836
|
this.type = 'backend';
|
|
306561
306837
|
this.init(services, options, allOptions);
|
|
306562
306838
|
}
|
|
306563
|
-
|
|
306564
306839
|
_createClass(Backend, [{
|
|
306565
306840
|
key: "init",
|
|
306566
306841
|
value: function init(services) {
|
|
306567
306842
|
var _this = this;
|
|
306568
|
-
|
|
306569
306843
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
306570
306844
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
306571
306845
|
this.services = services;
|
|
306572
306846
|
this.options = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.defaults)(options, this.options || {}, getDefaults());
|
|
306573
306847
|
this.allOptions = allOptions;
|
|
306574
|
-
|
|
306575
306848
|
if (this.services && this.options.reloadInterval) {
|
|
306576
306849
|
setInterval(function () {
|
|
306577
306850
|
return _this.reload();
|
|
@@ -306592,22 +306865,17 @@ var Backend = function () {
|
|
|
306592
306865
|
key: "_readAny",
|
|
306593
306866
|
value: function _readAny(languages, loadUrlLanguages, namespaces, loadUrlNamespaces, callback) {
|
|
306594
306867
|
var _this2 = this;
|
|
306595
|
-
|
|
306596
306868
|
var loadPath = this.options.loadPath;
|
|
306597
|
-
|
|
306598
306869
|
if (typeof this.options.loadPath === 'function') {
|
|
306599
306870
|
loadPath = this.options.loadPath(languages, namespaces);
|
|
306600
306871
|
}
|
|
306601
|
-
|
|
306602
306872
|
loadPath = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.makePromise)(loadPath);
|
|
306603
306873
|
loadPath.then(function (resolvedLoadPath) {
|
|
306604
306874
|
if (!resolvedLoadPath) return callback(null, {});
|
|
306605
|
-
|
|
306606
306875
|
var url = _this2.services.interpolator.interpolate(resolvedLoadPath, {
|
|
306607
306876
|
lng: languages.join('+'),
|
|
306608
306877
|
ns: namespaces.join('+')
|
|
306609
306878
|
});
|
|
306610
|
-
|
|
306611
306879
|
_this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
|
|
306612
306880
|
});
|
|
306613
306881
|
}
|
|
@@ -306615,14 +306883,12 @@ var Backend = function () {
|
|
|
306615
306883
|
key: "loadUrl",
|
|
306616
306884
|
value: function loadUrl(url, callback, languages, namespaces) {
|
|
306617
306885
|
var _this3 = this;
|
|
306618
|
-
|
|
306619
306886
|
this.options.request(this.options, url, undefined, function (err, res) {
|
|
306620
306887
|
if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' + url + '; status code: ' + res.status, true);
|
|
306621
306888
|
if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' + url + '; status code: ' + res.status, false);
|
|
306622
306889
|
if (!res && err && err.message && err.message.indexOf('Failed to fetch') > -1) return callback('failed loading ' + url + ': ' + err.message, true);
|
|
306623
306890
|
if (err) return callback(err, false);
|
|
306624
306891
|
var ret, parseErr;
|
|
306625
|
-
|
|
306626
306892
|
try {
|
|
306627
306893
|
if (typeof res.data === 'string') {
|
|
306628
306894
|
ret = _this3.options.parse(res.data, languages, namespaces);
|
|
@@ -306632,7 +306898,6 @@ var Backend = function () {
|
|
|
306632
306898
|
} catch (e) {
|
|
306633
306899
|
parseErr = 'failed parsing ' + url + ' to json';
|
|
306634
306900
|
}
|
|
306635
|
-
|
|
306636
306901
|
if (parseErr) return callback(parseErr, false);
|
|
306637
306902
|
callback(null, ret);
|
|
306638
306903
|
});
|
|
@@ -306641,7 +306906,6 @@ var Backend = function () {
|
|
|
306641
306906
|
key: "create",
|
|
306642
306907
|
value: function create(languages, namespace, key, fallbackValue, callback) {
|
|
306643
306908
|
var _this4 = this;
|
|
306644
|
-
|
|
306645
306909
|
if (!this.options.addPath) return;
|
|
306646
306910
|
if (typeof languages === 'string') languages = [languages];
|
|
306647
306911
|
var payload = this.options.parsePayload(namespace, key, fallbackValue);
|
|
@@ -306650,21 +306914,17 @@ var Backend = function () {
|
|
|
306650
306914
|
var resArray = [];
|
|
306651
306915
|
languages.forEach(function (lng) {
|
|
306652
306916
|
var addPath = _this4.options.addPath;
|
|
306653
|
-
|
|
306654
306917
|
if (typeof _this4.options.addPath === 'function') {
|
|
306655
306918
|
addPath = _this4.options.addPath(lng, namespace);
|
|
306656
306919
|
}
|
|
306657
|
-
|
|
306658
306920
|
var url = _this4.services.interpolator.interpolate(addPath, {
|
|
306659
306921
|
lng: lng,
|
|
306660
306922
|
ns: namespace
|
|
306661
306923
|
});
|
|
306662
|
-
|
|
306663
306924
|
_this4.options.request(_this4.options, url, payload, function (data, res) {
|
|
306664
306925
|
finished += 1;
|
|
306665
306926
|
dataArray.push(data);
|
|
306666
306927
|
resArray.push(res);
|
|
306667
|
-
|
|
306668
306928
|
if (finished === languages.length) {
|
|
306669
306929
|
if (callback) callback(dataArray, resArray);
|
|
306670
306930
|
}
|
|
@@ -306675,22 +306935,20 @@ var Backend = function () {
|
|
|
306675
306935
|
key: "reload",
|
|
306676
306936
|
value: function reload() {
|
|
306677
306937
|
var _this5 = this;
|
|
306678
|
-
|
|
306679
306938
|
var _this$services = this.services,
|
|
306680
|
-
|
|
306681
|
-
|
|
306682
|
-
|
|
306939
|
+
backendConnector = _this$services.backendConnector,
|
|
306940
|
+
languageUtils = _this$services.languageUtils,
|
|
306941
|
+
logger = _this$services.logger;
|
|
306683
306942
|
var currentLanguage = backendConnector.language;
|
|
306684
306943
|
if (currentLanguage && currentLanguage.toLowerCase() === 'cimode') return;
|
|
306685
|
-
var toLoad = [];
|
|
306686
306944
|
|
|
306945
|
+
var toLoad = [];
|
|
306687
306946
|
var append = function append(lng) {
|
|
306688
306947
|
var lngs = languageUtils.toResolveHierarchy(lng);
|
|
306689
306948
|
lngs.forEach(function (l) {
|
|
306690
306949
|
if (toLoad.indexOf(l) < 0) toLoad.push(l);
|
|
306691
306950
|
});
|
|
306692
306951
|
};
|
|
306693
|
-
|
|
306694
306952
|
append(currentLanguage);
|
|
306695
306953
|
if (this.allOptions.preload) this.allOptions.preload.forEach(function (l) {
|
|
306696
306954
|
return append(l);
|
|
@@ -306706,18 +306964,16 @@ var Backend = function () {
|
|
|
306706
306964
|
});
|
|
306707
306965
|
}
|
|
306708
306966
|
}]);
|
|
306709
|
-
|
|
306710
306967
|
return Backend;
|
|
306711
306968
|
}();
|
|
306712
|
-
|
|
306713
306969
|
Backend.type = 'backend';
|
|
306714
306970
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Backend);
|
|
306715
306971
|
|
|
306716
306972
|
/***/ }),
|
|
306717
306973
|
|
|
306718
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306974
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/request.js":
|
|
306719
306975
|
/*!************************************************************************************************************************!*\
|
|
306720
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306976
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/request.js ***!
|
|
306721
306977
|
\************************************************************************************************************************/
|
|
306722
306978
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306723
306979
|
|
|
@@ -306727,14 +306983,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306727
306983
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306728
306984
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
306729
306985
|
/* harmony export */ });
|
|
306730
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306731
|
-
/* harmony import */ var _getFetch_cjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getFetch.cjs */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306986
|
+
/* 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");
|
|
306987
|
+
/* 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");
|
|
306732
306988
|
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); }
|
|
306733
306989
|
|
|
306734
306990
|
|
|
306735
|
-
|
|
306736
306991
|
var fetchApi;
|
|
306737
|
-
|
|
306738
306992
|
if (typeof fetch === 'function') {
|
|
306739
306993
|
if (typeof global !== 'undefined' && global.fetch) {
|
|
306740
306994
|
fetchApi = global.fetch;
|
|
@@ -306744,9 +306998,7 @@ if (typeof fetch === 'function') {
|
|
|
306744
306998
|
fetchApi = fetch;
|
|
306745
306999
|
}
|
|
306746
307000
|
}
|
|
306747
|
-
|
|
306748
307001
|
var XmlHttpRequestApi;
|
|
306749
|
-
|
|
306750
307002
|
if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)()) {
|
|
306751
307003
|
if (typeof global !== 'undefined' && global.XMLHttpRequest) {
|
|
306752
307004
|
XmlHttpRequestApi = global.XMLHttpRequest;
|
|
@@ -306754,9 +307006,7 @@ if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)()) {
|
|
|
306754
307006
|
XmlHttpRequestApi = window.XMLHttpRequest;
|
|
306755
307007
|
}
|
|
306756
307008
|
}
|
|
306757
|
-
|
|
306758
307009
|
var ActiveXObjectApi;
|
|
306759
|
-
|
|
306760
307010
|
if (typeof ActiveXObject === 'function') {
|
|
306761
307011
|
if (typeof global !== 'undefined' && global.ActiveXObject) {
|
|
306762
307012
|
ActiveXObjectApi = global.ActiveXObject;
|
|
@@ -306764,25 +307014,19 @@ if (typeof ActiveXObject === 'function') {
|
|
|
306764
307014
|
ActiveXObjectApi = window.ActiveXObject;
|
|
306765
307015
|
}
|
|
306766
307016
|
}
|
|
306767
|
-
|
|
306768
307017
|
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)));
|
|
306769
307018
|
if (typeof fetchApi !== 'function') fetchApi = undefined;
|
|
306770
|
-
|
|
306771
307019
|
var addQueryString = function addQueryString(url, params) {
|
|
306772
307020
|
if (params && _typeof(params) === 'object') {
|
|
306773
307021
|
var queryString = '';
|
|
306774
|
-
|
|
306775
307022
|
for (var paramName in params) {
|
|
306776
307023
|
queryString += '&' + encodeURIComponent(paramName) + '=' + encodeURIComponent(params[paramName]);
|
|
306777
307024
|
}
|
|
306778
|
-
|
|
306779
307025
|
if (!queryString) return url;
|
|
306780
307026
|
url = url + (url.indexOf('?') !== -1 ? '&' : '?') + queryString.slice(1);
|
|
306781
307027
|
}
|
|
306782
|
-
|
|
306783
307028
|
return url;
|
|
306784
307029
|
};
|
|
306785
|
-
|
|
306786
307030
|
var fetchIt = function fetchIt(url, fetchOptions, callback) {
|
|
306787
307031
|
fetchApi(url, fetchOptions).then(function (response) {
|
|
306788
307032
|
if (!response.ok) return callback(response.statusText || 'Error', {
|
|
@@ -306796,14 +307040,12 @@ var fetchIt = function fetchIt(url, fetchOptions, callback) {
|
|
|
306796
307040
|
}).catch(callback);
|
|
306797
307041
|
}).catch(callback);
|
|
306798
307042
|
};
|
|
306799
|
-
|
|
306800
307043
|
var omitFetchOptions = false;
|
|
306801
307044
|
|
|
306802
307045
|
var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
|
|
306803
307046
|
if (options.queryStringParams) {
|
|
306804
307047
|
url = addQueryString(url, options.queryStringParams);
|
|
306805
307048
|
}
|
|
306806
|
-
|
|
306807
307049
|
var headers = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.defaults)({}, typeof options.customHeaders === 'function' ? options.customHeaders() : options.customHeaders);
|
|
306808
307050
|
if (payload) headers['Content-Type'] = 'application/json';
|
|
306809
307051
|
var reqOptions = typeof options.requestOptions === 'function' ? options.requestOptions(payload) : options.requestOptions;
|
|
@@ -306812,14 +307054,12 @@ var requestWithFetch = function requestWithFetch(options, url, payload, callback
|
|
|
306812
307054
|
body: payload ? options.stringify(payload) : undefined,
|
|
306813
307055
|
headers: headers
|
|
306814
307056
|
}, omitFetchOptions ? {} : reqOptions);
|
|
306815
|
-
|
|
306816
307057
|
try {
|
|
306817
307058
|
fetchIt(url, fetchOptions, callback);
|
|
306818
307059
|
} catch (e) {
|
|
306819
307060
|
if (!reqOptions || Object.keys(reqOptions).length === 0 || !e.message || e.message.indexOf('not implemented') < 0) {
|
|
306820
307061
|
return callback(e);
|
|
306821
307062
|
}
|
|
306822
|
-
|
|
306823
307063
|
try {
|
|
306824
307064
|
Object.keys(reqOptions).forEach(function (opt) {
|
|
306825
307065
|
delete fetchOptions[opt];
|
|
@@ -306836,84 +307076,66 @@ var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url,
|
|
|
306836
307076
|
if (payload && _typeof(payload) === 'object') {
|
|
306837
307077
|
payload = addQueryString('', payload).slice(1);
|
|
306838
307078
|
}
|
|
306839
|
-
|
|
306840
307079
|
if (options.queryStringParams) {
|
|
306841
307080
|
url = addQueryString(url, options.queryStringParams);
|
|
306842
307081
|
}
|
|
306843
|
-
|
|
306844
307082
|
try {
|
|
306845
307083
|
var x;
|
|
306846
|
-
|
|
306847
307084
|
if (XmlHttpRequestApi) {
|
|
306848
307085
|
x = new XmlHttpRequestApi();
|
|
306849
307086
|
} else {
|
|
306850
307087
|
x = new ActiveXObjectApi('MSXML2.XMLHTTP.3.0');
|
|
306851
307088
|
}
|
|
306852
|
-
|
|
306853
307089
|
x.open(payload ? 'POST' : 'GET', url, 1);
|
|
306854
|
-
|
|
306855
307090
|
if (!options.crossDomain) {
|
|
306856
307091
|
x.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
|
|
306857
307092
|
}
|
|
306858
|
-
|
|
306859
307093
|
x.withCredentials = !!options.withCredentials;
|
|
306860
|
-
|
|
306861
307094
|
if (payload) {
|
|
306862
307095
|
x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
|
306863
307096
|
}
|
|
306864
|
-
|
|
306865
307097
|
if (x.overrideMimeType) {
|
|
306866
307098
|
x.overrideMimeType('application/json');
|
|
306867
307099
|
}
|
|
306868
|
-
|
|
306869
307100
|
var h = options.customHeaders;
|
|
306870
307101
|
h = typeof h === 'function' ? h() : h;
|
|
306871
|
-
|
|
306872
307102
|
if (h) {
|
|
306873
307103
|
for (var i in h) {
|
|
306874
307104
|
x.setRequestHeader(i, h[i]);
|
|
306875
307105
|
}
|
|
306876
307106
|
}
|
|
306877
|
-
|
|
306878
307107
|
x.onreadystatechange = function () {
|
|
306879
307108
|
x.readyState > 3 && callback(x.status >= 400 ? x.statusText : null, {
|
|
306880
307109
|
status: x.status,
|
|
306881
307110
|
data: x.responseText
|
|
306882
307111
|
});
|
|
306883
307112
|
};
|
|
306884
|
-
|
|
306885
307113
|
x.send(payload);
|
|
306886
307114
|
} catch (e) {
|
|
306887
307115
|
console && console.log(e);
|
|
306888
307116
|
}
|
|
306889
307117
|
};
|
|
306890
|
-
|
|
306891
307118
|
var request = function request(options, url, payload, callback) {
|
|
306892
307119
|
if (typeof payload === 'function') {
|
|
306893
307120
|
callback = payload;
|
|
306894
307121
|
payload = undefined;
|
|
306895
307122
|
}
|
|
306896
|
-
|
|
306897
307123
|
callback = callback || function () {};
|
|
306898
|
-
|
|
306899
307124
|
if (fetchApi) {
|
|
306900
307125
|
return requestWithFetch(options, url, payload, callback);
|
|
306901
307126
|
}
|
|
306902
|
-
|
|
306903
307127
|
if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)() || typeof ActiveXObject === 'function') {
|
|
306904
307128
|
return requestWithXmlHttpRequest(options, url, payload, callback);
|
|
306905
307129
|
}
|
|
306906
|
-
|
|
306907
307130
|
callback(new Error('No fetch and no xhr implementation found!'));
|
|
306908
307131
|
};
|
|
306909
|
-
|
|
306910
307132
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (request);
|
|
306911
307133
|
|
|
306912
307134
|
/***/ }),
|
|
306913
307135
|
|
|
306914
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307136
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/utils.js":
|
|
306915
307137
|
/*!**********************************************************************************************************************!*\
|
|
306916
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307138
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/utils.js ***!
|
|
306917
307139
|
\**********************************************************************************************************************/
|
|
306918
307140
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306919
307141
|
|
|
@@ -306925,7 +307147,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306925
307147
|
/* harmony export */ "makePromise": () => (/* binding */ makePromise)
|
|
306926
307148
|
/* harmony export */ });
|
|
306927
307149
|
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); }
|
|
306928
|
-
|
|
306929
307150
|
var arr = [];
|
|
306930
307151
|
var each = arr.forEach;
|
|
306931
307152
|
var slice = arr.slice;
|
|
@@ -306951,16 +307172,15 @@ function makePromise(maybePromise) {
|
|
|
306951
307172
|
if (isPromise(maybePromise)) {
|
|
306952
307173
|
return maybePromise;
|
|
306953
307174
|
}
|
|
306954
|
-
|
|
306955
307175
|
return Promise.resolve(maybePromise);
|
|
306956
307176
|
}
|
|
306957
307177
|
|
|
306958
307178
|
/***/ }),
|
|
306959
307179
|
|
|
306960
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
306961
|
-
|
|
306962
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next@21.
|
|
306963
|
-
|
|
307180
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/esm/i18next.js":
|
|
307181
|
+
/*!*****************************************************************************************************!*\
|
|
307182
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/esm/i18next.js ***!
|
|
307183
|
+
\*****************************************************************************************************/
|
|
306964
307184
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306965
307185
|
|
|
306966
307186
|
"use strict";
|
|
@@ -306981,15 +307201,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306981
307201
|
/* harmony export */ "t": () => (/* binding */ t),
|
|
306982
307202
|
/* harmony export */ "use": () => (/* binding */ use)
|
|
306983
307203
|
/* harmony export */ });
|
|
306984
|
-
/* 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.
|
|
306985
|
-
/* 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.
|
|
306986
|
-
/* 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.
|
|
306987
|
-
/* 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.
|
|
306988
|
-
/* 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.
|
|
306989
|
-
/* 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.
|
|
306990
|
-
/* 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.
|
|
306991
|
-
/* 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.
|
|
306992
|
-
/* 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.
|
|
307204
|
+
/* 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");
|
|
307205
|
+
/* 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");
|
|
307206
|
+
/* 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");
|
|
307207
|
+
/* 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");
|
|
307208
|
+
/* 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");
|
|
307209
|
+
/* 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");
|
|
307210
|
+
/* 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");
|
|
307211
|
+
/* 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");
|
|
307212
|
+
/* 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");
|
|
306993
307213
|
|
|
306994
307214
|
|
|
306995
307215
|
|
|
@@ -308750,6 +308970,21 @@ function parseFormatStr(formatStr) {
|
|
|
308750
308970
|
};
|
|
308751
308971
|
}
|
|
308752
308972
|
|
|
308973
|
+
function createCachedFormatter(fn) {
|
|
308974
|
+
var cache = {};
|
|
308975
|
+
return function invokeFormatter(val, lng, options) {
|
|
308976
|
+
var key = lng + JSON.stringify(options);
|
|
308977
|
+
var formatter = cache[key];
|
|
308978
|
+
|
|
308979
|
+
if (!formatter) {
|
|
308980
|
+
formatter = fn(lng, options);
|
|
308981
|
+
cache[key] = formatter;
|
|
308982
|
+
}
|
|
308983
|
+
|
|
308984
|
+
return formatter(val);
|
|
308985
|
+
};
|
|
308986
|
+
}
|
|
308987
|
+
|
|
308753
308988
|
var Formatter = function () {
|
|
308754
308989
|
function Formatter() {
|
|
308755
308990
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -308759,23 +308994,38 @@ var Formatter = function () {
|
|
|
308759
308994
|
this.logger = baseLogger.create('formatter');
|
|
308760
308995
|
this.options = options;
|
|
308761
308996
|
this.formats = {
|
|
308762
|
-
number: function
|
|
308763
|
-
|
|
308764
|
-
|
|
308765
|
-
|
|
308766
|
-
|
|
308997
|
+
number: createCachedFormatter(function (lng, options) {
|
|
308998
|
+
var formatter = new Intl.NumberFormat(lng, options);
|
|
308999
|
+
return function (val) {
|
|
309000
|
+
return formatter.format(val);
|
|
309001
|
+
};
|
|
309002
|
+
}),
|
|
309003
|
+
currency: createCachedFormatter(function (lng, options) {
|
|
309004
|
+
var formatter = new Intl.NumberFormat(lng, _objectSpread$4(_objectSpread$4({}, options), {}, {
|
|
308767
309005
|
style: 'currency'
|
|
308768
|
-
}))
|
|
308769
|
-
|
|
308770
|
-
|
|
308771
|
-
|
|
308772
|
-
},
|
|
308773
|
-
|
|
308774
|
-
|
|
308775
|
-
|
|
308776
|
-
|
|
308777
|
-
|
|
308778
|
-
}
|
|
309006
|
+
}));
|
|
309007
|
+
return function (val) {
|
|
309008
|
+
return formatter.format(val);
|
|
309009
|
+
};
|
|
309010
|
+
}),
|
|
309011
|
+
datetime: createCachedFormatter(function (lng, options) {
|
|
309012
|
+
var formatter = new Intl.DateTimeFormat(lng, _objectSpread$4({}, options));
|
|
309013
|
+
return function (val) {
|
|
309014
|
+
return formatter.format(val);
|
|
309015
|
+
};
|
|
309016
|
+
}),
|
|
309017
|
+
relativetime: createCachedFormatter(function (lng, options) {
|
|
309018
|
+
var formatter = new Intl.RelativeTimeFormat(lng, _objectSpread$4({}, options));
|
|
309019
|
+
return function (val) {
|
|
309020
|
+
return formatter.format(val, options.range || 'day');
|
|
309021
|
+
};
|
|
309022
|
+
}),
|
|
309023
|
+
list: createCachedFormatter(function (lng, options) {
|
|
309024
|
+
var formatter = new Intl.ListFormat(lng, _objectSpread$4({}, options));
|
|
309025
|
+
return function (val) {
|
|
309026
|
+
return formatter.format(val);
|
|
309027
|
+
};
|
|
309028
|
+
})
|
|
308779
309029
|
};
|
|
308780
309030
|
this.init(options);
|
|
308781
309031
|
}
|
|
@@ -308794,6 +309044,11 @@ var Formatter = function () {
|
|
|
308794
309044
|
value: function add(name, fc) {
|
|
308795
309045
|
this.formats[name.toLowerCase().trim()] = fc;
|
|
308796
309046
|
}
|
|
309047
|
+
}, {
|
|
309048
|
+
key: "addCached",
|
|
309049
|
+
value: function addCached(name, fc) {
|
|
309050
|
+
this.formats[name.toLowerCase().trim()] = createCachedFormatter(fc);
|
|
309051
|
+
}
|
|
308797
309052
|
}, {
|
|
308798
309053
|
key: "format",
|
|
308799
309054
|
value: function format(value, _format, lng, options) {
|
|
@@ -309834,7 +310089,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
309834
310089
|
/***/ ((module) => {
|
|
309835
310090
|
|
|
309836
310091
|
"use strict";
|
|
309837
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.5.0-dev.
|
|
310092
|
+
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"}}]}}');
|
|
309838
310093
|
|
|
309839
310094
|
/***/ })
|
|
309840
310095
|
|