@itwin/ecschema-rpcinterface-tests 3.5.0-dev.32 → 3.5.0-dev.33
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 +1050 -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,13 @@ 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
|
+
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(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
|
+
}
|
|
173914
174046
|
return args;
|
|
173915
174047
|
}
|
|
173916
174048
|
}
|
|
@@ -174148,13 +174280,13 @@ class RealityTile extends _internal__WEBPACK_IMPORTED_MODULE_5__.Tile {
|
|
|
174148
174280
|
constructor(props, tree) {
|
|
174149
174281
|
var _a;
|
|
174150
174282
|
super(props, tree);
|
|
174151
|
-
/** @internal */
|
|
174152
174283
|
this._everDisplayed = false;
|
|
174153
174284
|
this.transformToRoot = props.transformToRoot;
|
|
174154
174285
|
this.additiveRefinement = (undefined === props.additiveRefinement) ? (_a = this.realityParent) === null || _a === void 0 ? void 0 : _a.additiveRefinement : props.additiveRefinement;
|
|
174155
174286
|
this.noContentButTerminateOnSelection = props.noContentButTerminateOnSelection;
|
|
174156
174287
|
this.rangeCorners = props.rangeCorners;
|
|
174157
174288
|
this.region = props.region;
|
|
174289
|
+
this._geometricError = props.geometricError;
|
|
174158
174290
|
if (undefined === this.transformToRoot)
|
|
174159
174291
|
return;
|
|
174160
174292
|
// Can transform be non-rigid?? -- if so would have to handle (readonly) radius.
|
|
@@ -174381,6 +174513,13 @@ class RealityTile extends _internal__WEBPACK_IMPORTED_MODULE_5__.Tile {
|
|
|
174381
174513
|
return 0;
|
|
174382
174514
|
if (this.isLeaf)
|
|
174383
174515
|
return this.hasContentRange && this.isContentCulled(args) ? -1 : 1;
|
|
174516
|
+
if (undefined !== this._geometricError) {
|
|
174517
|
+
const radius = args.getTileRadius(this);
|
|
174518
|
+
const center = args.getTileCenter(this);
|
|
174519
|
+
const pixelSize = args.computePixelSizeInMetersAtClosestPoint(center, radius);
|
|
174520
|
+
const sse = this._geometricError / pixelSize;
|
|
174521
|
+
return args.maximumScreenSpaceError / sse;
|
|
174522
|
+
}
|
|
174384
174523
|
return this.maximumSize / args.getPixelSize(this);
|
|
174385
174524
|
}
|
|
174386
174525
|
/** @internal */
|
|
@@ -174643,6 +174782,7 @@ class RealityTileLoader {
|
|
|
174643
174782
|
get containsPointClouds() { return this._containsPointClouds; }
|
|
174644
174783
|
get parentsAndChildrenExclusive() { return true; }
|
|
174645
174784
|
forceTileLoad(_tile) { return false; }
|
|
174785
|
+
get maximumScreenSpaceError() { return undefined; }
|
|
174646
174786
|
processSelectedTiles(selected, _args) { return selected; }
|
|
174647
174787
|
// 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
174788
|
async loadTileContent(tile, data, system, isCanceled) {
|
|
@@ -174690,6 +174830,18 @@ class RealityTileLoader {
|
|
|
174690
174830
|
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.I3dm:
|
|
174691
174831
|
reader = _internal__WEBPACK_IMPORTED_MODULE_6__.I3dmReader.create(streamBuffer, iModel, modelId, is3d, tile.contentRange, system, yAxisUp, tile.isLeaf, isCanceled, undefined, this.wantDeduplicatedVertices);
|
|
174692
174832
|
break;
|
|
174833
|
+
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Gltf:
|
|
174834
|
+
const props = _internal__WEBPACK_IMPORTED_MODULE_6__.GltfReaderProps.create(streamBuffer.nextBytes(streamBuffer.arrayBuffer.byteLength), yAxisUp);
|
|
174835
|
+
if (props) {
|
|
174836
|
+
reader = new _internal__WEBPACK_IMPORTED_MODULE_6__.GltfGraphicsReader(props, {
|
|
174837
|
+
iModel,
|
|
174838
|
+
gltf: props.glTF,
|
|
174839
|
+
contentRange: tile.contentRange,
|
|
174840
|
+
transform: tile.transformToRoot,
|
|
174841
|
+
hasChildren: !tile.isLeaf,
|
|
174842
|
+
});
|
|
174843
|
+
}
|
|
174844
|
+
break;
|
|
174693
174845
|
case _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.TileFormat.Cmpt:
|
|
174694
174846
|
const header = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.CompositeTileHeader(streamBuffer);
|
|
174695
174847
|
if (!header.isValid)
|
|
@@ -176776,6 +176928,7 @@ const scratchMatrix4d = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Matrix
|
|
|
176776
176928
|
class TileDrawArgs {
|
|
176777
176929
|
/** Constructor */
|
|
176778
176930
|
constructor(params) {
|
|
176931
|
+
var _a;
|
|
176779
176932
|
/** Holds the tile graphics to be drawn. */
|
|
176780
176933
|
this.graphics = new _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_2__.GraphicBranch();
|
|
176781
176934
|
/** 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 +176942,7 @@ class TileDrawArgs {
|
|
|
176789
176942
|
this.hiddenLineSettings = params.hiddenLineSettings;
|
|
176790
176943
|
this.animationTransformNodeId = params.animationTransformNodeId;
|
|
176791
176944
|
this.boundingRange = params.boundingRange;
|
|
176945
|
+
this.maximumScreenSpaceError = (_a = params.maximumScreenSpaceError) !== null && _a !== void 0 ? _a : 16; // 16 is Cesium's default.
|
|
176792
176946
|
// Do not cull tiles based on clip volume if tiles outside clip are supposed to be drawn but in a different color.
|
|
176793
176947
|
if (undefined !== clipVolume && !context.viewport.view.displayStyle.settings.clipStyle.outsideColor)
|
|
176794
176948
|
this.clipVolume = clipVolume;
|
|
@@ -178640,22 +178794,23 @@ function createDefaultViewFlagOverrides(options) {
|
|
|
178640
178794
|
"use strict";
|
|
178641
178795
|
__webpack_require__.r(__webpack_exports__);
|
|
178642
178796
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
178643
|
-
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */
|
|
178644
|
-
/* harmony export */ "
|
|
178797
|
+
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.AnimatedTreeReference),
|
|
178798
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_ArcGISImageryProvider__WEBPACK_IMPORTED_MODULE_43__.ArcGISImageryProvider),
|
|
178799
|
+
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_44__.ArcGISMapLayerImageryProvider),
|
|
178645
178800
|
/* harmony export */ "ArcGISTileMap": () => (/* reexport safe */ _map_ArcGISTileMap__WEBPACK_IMPORTED_MODULE_34__.ArcGISTileMap),
|
|
178646
178801
|
/* harmony export */ "ArcGisErrorCode": () => (/* reexport safe */ _map_ArcGisUtilities__WEBPACK_IMPORTED_MODULE_38__.ArcGisErrorCode),
|
|
178647
178802
|
/* harmony export */ "ArcGisUtilities": () => (/* reexport safe */ _map_ArcGisUtilities__WEBPACK_IMPORTED_MODULE_38__.ArcGisUtilities),
|
|
178648
|
-
/* harmony export */ "AzureMapsLayerImageryProvider": () => (/* reexport safe */
|
|
178803
|
+
/* harmony export */ "AzureMapsLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_AzureMapsLayerImageryProvider__WEBPACK_IMPORTED_MODULE_45__.AzureMapsLayerImageryProvider),
|
|
178649
178804
|
/* harmony export */ "B3dmReader": () => (/* reexport safe */ _B3dmReader__WEBPACK_IMPORTED_MODULE_32__.B3dmReader),
|
|
178650
178805
|
/* 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 */
|
|
178806
|
+
/* harmony export */ "BingElevationProvider": () => (/* reexport safe */ _map_BingElevation__WEBPACK_IMPORTED_MODULE_61__.BingElevationProvider),
|
|
178807
|
+
/* harmony export */ "BingMapsImageryLayerProvider": () => (/* reexport safe */ _map_ImageryProviders_BingImageryProvider__WEBPACK_IMPORTED_MODULE_46__.BingMapsImageryLayerProvider),
|
|
178808
|
+
/* harmony export */ "CesiumIonAssetProvider": () => (/* reexport safe */ _CesiumAssetProvider__WEBPACK_IMPORTED_MODULE_75__.CesiumIonAssetProvider),
|
|
178809
|
+
/* harmony export */ "ContextShareProvider": () => (/* reexport safe */ _ContextShareProvider__WEBPACK_IMPORTED_MODULE_76__.ContextShareProvider),
|
|
178655
178810
|
/* 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 */
|
|
178811
|
+
/* harmony export */ "DynamicIModelTile": () => (/* reexport safe */ _DynamicIModelTile__WEBPACK_IMPORTED_MODULE_67__.DynamicIModelTile),
|
|
178812
|
+
/* harmony export */ "EllipsoidTerrainProvider": () => (/* reexport safe */ _map_EllipsoidTerrainProvider__WEBPACK_IMPORTED_MODULE_57__.EllipsoidTerrainProvider),
|
|
178813
|
+
/* harmony export */ "GeographicTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.GeographicTilingScheme),
|
|
178659
178814
|
/* harmony export */ "GltfBufferData": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfBufferData),
|
|
178660
178815
|
/* harmony export */ "GltfDataType": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfDataType),
|
|
178661
178816
|
/* harmony export */ "GltfGraphicsReader": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfGraphicsReader),
|
|
@@ -178666,56 +178821,56 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178666
178821
|
/* harmony export */ "GltfWrapMode": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfWrapMode),
|
|
178667
178822
|
/* harmony export */ "GraphicsCollectorDrawArgs": () => (/* reexport safe */ _GraphicsCollector__WEBPACK_IMPORTED_MODULE_11__.GraphicsCollectorDrawArgs),
|
|
178668
178823
|
/* harmony export */ "I3dmReader": () => (/* reexport safe */ _I3dmReader__WEBPACK_IMPORTED_MODULE_31__.I3dmReader),
|
|
178669
|
-
/* harmony export */ "IModelTile": () => (/* reexport safe */
|
|
178824
|
+
/* harmony export */ "IModelTile": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_66__.IModelTile),
|
|
178670
178825
|
/* 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 */
|
|
178826
|
+
/* harmony export */ "IModelTileTree": () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_68__.IModelTileTree),
|
|
178827
|
+
/* harmony export */ "ImageryMapLayerFormat": () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_51__.ImageryMapLayerFormat),
|
|
178828
|
+
/* harmony export */ "ImageryMapLayerTreeReference": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__.ImageryMapLayerTreeReference),
|
|
178829
|
+
/* harmony export */ "ImageryMapTile": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__.ImageryMapTile),
|
|
178830
|
+
/* harmony export */ "ImageryMapTileTree": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__.ImageryMapTileTree),
|
|
178676
178831
|
/* harmony export */ "ImdlReader": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.ImdlReader),
|
|
178677
178832
|
/* harmony export */ "LRUTileList": () => (/* reexport safe */ _LRUTileList__WEBPACK_IMPORTED_MODULE_5__.LRUTileList),
|
|
178678
|
-
/* harmony export */ "MapBoxLayerImageryProvider": () => (/* reexport safe */
|
|
178833
|
+
/* harmony export */ "MapBoxLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_MapBoxLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__.MapBoxLayerImageryProvider),
|
|
178679
178834
|
/* harmony export */ "MapCartoRectangle": () => (/* reexport safe */ _map_MapCartoRectangle__WEBPACK_IMPORTED_MODULE_1__.MapCartoRectangle),
|
|
178680
178835
|
/* harmony export */ "MapFeatureInfoRecord": () => (/* reexport safe */ _map_MapFeatureInfo__WEBPACK_IMPORTED_MODULE_36__.MapFeatureInfoRecord),
|
|
178681
178836
|
/* harmony export */ "MapLayerFormat": () => (/* reexport safe */ _map_MapLayerFormatRegistry__WEBPACK_IMPORTED_MODULE_37__.MapLayerFormat),
|
|
178682
178837
|
/* harmony export */ "MapLayerFormatRegistry": () => (/* reexport safe */ _map_MapLayerFormatRegistry__WEBPACK_IMPORTED_MODULE_37__.MapLayerFormatRegistry),
|
|
178683
178838
|
/* harmony export */ "MapLayerImageryProvider": () => (/* reexport safe */ _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_42__.MapLayerImageryProvider),
|
|
178684
178839
|
/* 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 */
|
|
178840
|
+
/* harmony export */ "MapLayerSource": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__.MapLayerSource),
|
|
178841
|
+
/* harmony export */ "MapLayerSourceStatus": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__.MapLayerSourceStatus),
|
|
178842
|
+
/* harmony export */ "MapLayerSources": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__.MapLayerSources),
|
|
178843
|
+
/* harmony export */ "MapLayerTileTreeReference": () => (/* reexport safe */ _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_52__.MapLayerTileTreeReference),
|
|
178844
|
+
/* harmony export */ "MapTile": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.MapTile),
|
|
178845
|
+
/* harmony export */ "MapTileLoader": () => (/* reexport safe */ _map_MapTileLoader__WEBPACK_IMPORTED_MODULE_60__.MapTileLoader),
|
|
178846
|
+
/* harmony export */ "MapTileProjection": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.MapTileProjection),
|
|
178847
|
+
/* harmony export */ "MapTileTree": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__.MapTileTree),
|
|
178848
|
+
/* harmony export */ "MapTileTreeReference": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__.MapTileTreeReference),
|
|
178849
|
+
/* harmony export */ "MapTiledGraphicsProvider": () => (/* reexport safe */ _map_MapTiledGraphicsProvider__WEBPACK_IMPORTED_MODULE_74__.MapTiledGraphicsProvider),
|
|
178850
|
+
/* harmony export */ "MapTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.MapTilingScheme),
|
|
178851
|
+
/* harmony export */ "ModelMapLayerTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.ModelMapLayerTileTreeReference),
|
|
178852
|
+
/* harmony export */ "OPCFormatInterpreter": () => (/* reexport safe */ _OPCFormatInterpreter__WEBPACK_IMPORTED_MODULE_78__.OPCFormatInterpreter),
|
|
178853
|
+
/* harmony export */ "OrbitGtTileTree": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_71__.OrbitGtTileTree),
|
|
178854
|
+
/* harmony export */ "PlanarTilePatch": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.PlanarTilePatch),
|
|
178700
178855
|
/* harmony export */ "QuadId": () => (/* reexport safe */ _map_QuadId__WEBPACK_IMPORTED_MODULE_2__.QuadId),
|
|
178701
178856
|
/* harmony export */ "ReadonlyTileUserSet": () => (/* reexport safe */ _TileUserSet__WEBPACK_IMPORTED_MODULE_29__.ReadonlyTileUserSet),
|
|
178702
|
-
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */
|
|
178703
|
-
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */
|
|
178857
|
+
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityModelTileTree),
|
|
178858
|
+
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityModelTileUtils),
|
|
178704
178859
|
/* harmony export */ "RealityTile": () => (/* reexport safe */ _RealityTile__WEBPACK_IMPORTED_MODULE_6__.RealityTile),
|
|
178705
178860
|
/* harmony export */ "RealityTileDrawArgs": () => (/* reexport safe */ _RealityTileDrawArgs__WEBPACK_IMPORTED_MODULE_10__.RealityTileDrawArgs),
|
|
178706
|
-
/* harmony export */ "RealityTileLoader": () => (/* reexport safe */
|
|
178707
|
-
/* harmony export */ "RealityTileRegion": () => (/* reexport safe */
|
|
178861
|
+
/* harmony export */ "RealityTileLoader": () => (/* reexport safe */ _RealityTileLoader__WEBPACK_IMPORTED_MODULE_59__.RealityTileLoader),
|
|
178862
|
+
/* harmony export */ "RealityTileRegion": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityTileRegion),
|
|
178708
178863
|
/* 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 */
|
|
178864
|
+
/* harmony export */ "RealityTreeReference": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.RealityTreeReference),
|
|
178865
|
+
/* harmony export */ "SelectParent": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_66__.SelectParent),
|
|
178866
|
+
/* harmony export */ "SpatialClassifierTileTreeReference": () => (/* reexport safe */ _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_70__.SpatialClassifierTileTreeReference),
|
|
178867
|
+
/* harmony export */ "SpatialTileTreeReferences": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.SpatialTileTreeReferences),
|
|
178868
|
+
/* harmony export */ "TerrainMeshProvider": () => (/* reexport safe */ _map_TerrainMeshProvider__WEBPACK_IMPORTED_MODULE_54__.TerrainMeshProvider),
|
|
178869
|
+
/* harmony export */ "TerrainProviderRegistry": () => (/* reexport safe */ _map_TerrainProvider__WEBPACK_IMPORTED_MODULE_55__.TerrainProviderRegistry),
|
|
178870
|
+
/* harmony export */ "ThreeDTileFormatInterpreter": () => (/* reexport safe */ _ThreeDTileFormatInterpreter__WEBPACK_IMPORTED_MODULE_77__.ThreeDTileFormatInterpreter),
|
|
178716
178871
|
/* harmony export */ "Tile": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.Tile),
|
|
178717
178872
|
/* harmony export */ "TileAdmin": () => (/* reexport safe */ _TileAdmin__WEBPACK_IMPORTED_MODULE_21__.TileAdmin),
|
|
178718
|
-
/* harmony export */ "TileAvailability": () => (/* reexport safe */
|
|
178873
|
+
/* harmony export */ "TileAvailability": () => (/* reexport safe */ _map_MapTileAvailability__WEBPACK_IMPORTED_MODULE_63__.TileAvailability),
|
|
178719
178874
|
/* harmony export */ "TileBoundingBoxes": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.TileBoundingBoxes),
|
|
178720
178875
|
/* harmony export */ "TileDrawArgs": () => (/* reexport safe */ _TileDrawArgs__WEBPACK_IMPORTED_MODULE_9__.TileDrawArgs),
|
|
178721
178876
|
/* harmony export */ "TileGeometryCollector": () => (/* reexport safe */ _TileGeometryCollector__WEBPACK_IMPORTED_MODULE_19__.TileGeometryCollector),
|
|
@@ -178730,7 +178885,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178730
178885
|
/* harmony export */ "TileTree": () => (/* reexport safe */ _TileTree__WEBPACK_IMPORTED_MODULE_14__.TileTree),
|
|
178731
178886
|
/* harmony export */ "TileTreeLoadStatus": () => (/* reexport safe */ _TileTree__WEBPACK_IMPORTED_MODULE_14__.TileTreeLoadStatus),
|
|
178732
178887
|
/* harmony export */ "TileTreeReference": () => (/* reexport safe */ _TileTreeReference__WEBPACK_IMPORTED_MODULE_18__.TileTreeReference),
|
|
178733
|
-
/* harmony export */ "TileUrlImageryProvider": () => (/* reexport safe */
|
|
178888
|
+
/* harmony export */ "TileUrlImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_TileUrlImageryProvider__WEBPACK_IMPORTED_MODULE_48__.TileUrlImageryProvider),
|
|
178734
178889
|
/* harmony export */ "TileUsageMarker": () => (/* reexport safe */ _TileUsageMarker__WEBPACK_IMPORTED_MODULE_27__.TileUsageMarker),
|
|
178735
178890
|
/* harmony export */ "TileUser": () => (/* reexport safe */ _TileUser__WEBPACK_IMPORTED_MODULE_28__.TileUser),
|
|
178736
178891
|
/* harmony export */ "TileUserIdSet": () => (/* reexport safe */ _LRUTileList__WEBPACK_IMPORTED_MODULE_5__.TileUserIdSet),
|
|
@@ -178741,38 +178896,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178741
178896
|
/* harmony export */ "TraversalDetails": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.TraversalDetails),
|
|
178742
178897
|
/* harmony export */ "TraversalSelectionContext": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.TraversalSelectionContext),
|
|
178743
178898
|
/* 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 */
|
|
178899
|
+
/* harmony export */ "UpsampledMapTile": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_58__.UpsampledMapTile),
|
|
178900
|
+
/* harmony export */ "WebMercatorProjection": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.WebMercatorProjection),
|
|
178901
|
+
/* harmony export */ "WebMercatorTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__.WebMercatorTilingScheme),
|
|
178747
178902
|
/* harmony export */ "WmsCapabilities": () => (/* reexport safe */ _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_40__.WmsCapabilities),
|
|
178748
178903
|
/* harmony export */ "WmsCapability": () => (/* reexport safe */ _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_40__.WmsCapability),
|
|
178749
|
-
/* harmony export */ "WmsMapLayerImageryProvider": () => (/* reexport safe */
|
|
178904
|
+
/* harmony export */ "WmsMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_WmsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_49__.WmsMapLayerImageryProvider),
|
|
178750
178905
|
/* harmony export */ "WmsUtilities": () => (/* reexport safe */ _map_WmsUtilities__WEBPACK_IMPORTED_MODULE_39__.WmsUtilities),
|
|
178751
178906
|
/* harmony export */ "WmtsCapabilities": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_41__.WmtsCapabilities),
|
|
178752
178907
|
/* harmony export */ "WmtsCapability": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_41__.WmtsCapability),
|
|
178753
|
-
/* harmony export */ "WmtsMapLayerImageryProvider": () => (/* reexport safe */
|
|
178908
|
+
/* harmony export */ "WmtsMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_WmtsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_50__.WmtsMapLayerImageryProvider),
|
|
178754
178909
|
/* harmony export */ "addRangeGraphic": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.addRangeGraphic),
|
|
178755
|
-
/* harmony export */ "createClassifierTileTreeReference": () => (/* reexport safe */
|
|
178910
|
+
/* harmony export */ "createClassifierTileTreeReference": () => (/* reexport safe */ _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_70__.createClassifierTileTreeReference),
|
|
178756
178911
|
/* 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 */
|
|
178912
|
+
/* harmony export */ "createMapLayerTreeReference": () => (/* reexport safe */ _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_52__.createMapLayerTreeReference),
|
|
178913
|
+
/* harmony export */ "createMaskTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.createMaskTreeReference),
|
|
178914
|
+
/* harmony export */ "createModelMapLayerTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.createModelMapLayerTileTreeReference),
|
|
178915
|
+
/* harmony export */ "createOrbitGtTileTreeReference": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_71__.createOrbitGtTileTreeReference),
|
|
178916
|
+
/* harmony export */ "createPrimaryTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.createPrimaryTileTreeReference),
|
|
178917
|
+
/* harmony export */ "createRealityTileTreeReference": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__.createRealityTileTreeReference),
|
|
178918
|
+
/* harmony export */ "disposeTileTreesForGeometricModels": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__.disposeTileTreesForGeometricModels),
|
|
178919
|
+
/* harmony export */ "getCesiumAccessTokenAndEndpointUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumAccessTokenAndEndpointUrl),
|
|
178920
|
+
/* harmony export */ "getCesiumAssetUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumAssetUrl),
|
|
178921
|
+
/* harmony export */ "getCesiumOSMBuildingsUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumOSMBuildingsUrl),
|
|
178922
|
+
/* harmony export */ "getCesiumTerrainProvider": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__.getCesiumTerrainProvider),
|
|
178923
|
+
/* harmony export */ "getGcsConverterAvailable": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__.getGcsConverterAvailable),
|
|
178924
|
+
/* harmony export */ "iModelTileParamsFromJSON": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_66__.iModelTileParamsFromJSON),
|
|
178925
|
+
/* harmony export */ "iModelTileTreeParamsFromJSON": () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_68__.iModelTileTreeParamsFromJSON),
|
|
178926
|
+
/* harmony export */ "internalMapLayerImageryFormats": () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_51__.internalMapLayerImageryFormats),
|
|
178772
178927
|
/* harmony export */ "overrideRequestTileTreeProps": () => (/* reexport safe */ _TileAdmin__WEBPACK_IMPORTED_MODULE_21__.overrideRequestTileTreeProps),
|
|
178773
178928
|
/* harmony export */ "readElementGraphics": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.readElementGraphics),
|
|
178774
178929
|
/* harmony export */ "readGltfGraphics": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.readGltfGraphics),
|
|
178775
|
-
/* harmony export */ "readPointCloudTileContent": () => (/* reexport safe */
|
|
178930
|
+
/* harmony export */ "readPointCloudTileContent": () => (/* reexport safe */ _PntsReader__WEBPACK_IMPORTED_MODULE_64__.readPointCloudTileContent)
|
|
178776
178931
|
/* harmony export */ });
|
|
178777
178932
|
/* harmony import */ var _ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ViewFlagOverrides */ "../../core/frontend/lib/esm/tile/ViewFlagOverrides.js");
|
|
178778
178933
|
/* harmony import */ var _map_MapCartoRectangle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map/MapCartoRectangle */ "../../core/frontend/lib/esm/tile/map/MapCartoRectangle.js");
|
|
@@ -178817,41 +178972,42 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178817
178972
|
/* harmony import */ var _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./map/WmsCapabilities */ "../../core/frontend/lib/esm/tile/map/WmsCapabilities.js");
|
|
178818
178973
|
/* harmony import */ var _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./map/WmtsCapabilities */ "../../core/frontend/lib/esm/tile/map/WmtsCapabilities.js");
|
|
178819
178974
|
/* 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
|
|
178975
|
+
/* harmony import */ var _map_ImageryProviders_ArcGISImageryProvider__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGISImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js");
|
|
178976
|
+
/* harmony import */ var _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGISMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js");
|
|
178977
|
+
/* harmony import */ var _map_ImageryProviders_AzureMapsLayerImageryProvider__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./map/ImageryProviders/AzureMapsLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js");
|
|
178978
|
+
/* harmony import */ var _map_ImageryProviders_BingImageryProvider__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./map/ImageryProviders/BingImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js");
|
|
178979
|
+
/* harmony import */ var _map_ImageryProviders_MapBoxLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./map/ImageryProviders/MapBoxLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js");
|
|
178980
|
+
/* harmony import */ var _map_ImageryProviders_TileUrlImageryProvider__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./map/ImageryProviders/TileUrlImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/TileUrlImageryProvider.js");
|
|
178981
|
+
/* harmony import */ var _map_ImageryProviders_WmsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./map/ImageryProviders/WmsMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WmsMapLayerImageryProvider.js");
|
|
178982
|
+
/* harmony import */ var _map_ImageryProviders_WmtsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./map/ImageryProviders/WmtsMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js");
|
|
178983
|
+
/* harmony import */ var _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./map/MapLayerImageryFormats */ "../../core/frontend/lib/esm/tile/map/MapLayerImageryFormats.js");
|
|
178984
|
+
/* harmony import */ var _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./map/MapLayerTileTreeReference */ "../../core/frontend/lib/esm/tile/map/MapLayerTileTreeReference.js");
|
|
178985
|
+
/* harmony import */ var _map_MapTileTree__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./map/MapTileTree */ "../../core/frontend/lib/esm/tile/map/MapTileTree.js");
|
|
178986
|
+
/* harmony import */ var _map_TerrainMeshProvider__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./map/TerrainMeshProvider */ "../../core/frontend/lib/esm/tile/map/TerrainMeshProvider.js");
|
|
178987
|
+
/* harmony import */ var _map_TerrainProvider__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./map/TerrainProvider */ "../../core/frontend/lib/esm/tile/map/TerrainProvider.js");
|
|
178988
|
+
/* harmony import */ var _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./map/CesiumTerrainProvider */ "../../core/frontend/lib/esm/tile/map/CesiumTerrainProvider.js");
|
|
178989
|
+
/* harmony import */ var _map_EllipsoidTerrainProvider__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./map/EllipsoidTerrainProvider */ "../../core/frontend/lib/esm/tile/map/EllipsoidTerrainProvider.js");
|
|
178990
|
+
/* harmony import */ var _map_MapTile__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./map/MapTile */ "../../core/frontend/lib/esm/tile/map/MapTile.js");
|
|
178991
|
+
/* harmony import */ var _RealityTileLoader__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./RealityTileLoader */ "../../core/frontend/lib/esm/tile/RealityTileLoader.js");
|
|
178992
|
+
/* harmony import */ var _map_MapTileLoader__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./map/MapTileLoader */ "../../core/frontend/lib/esm/tile/map/MapTileLoader.js");
|
|
178993
|
+
/* harmony import */ var _map_BingElevation__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./map/BingElevation */ "../../core/frontend/lib/esm/tile/map/BingElevation.js");
|
|
178994
|
+
/* harmony import */ var _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./map/MapTilingScheme */ "../../core/frontend/lib/esm/tile/map/MapTilingScheme.js");
|
|
178995
|
+
/* harmony import */ var _map_MapTileAvailability__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./map/MapTileAvailability */ "../../core/frontend/lib/esm/tile/map/MapTileAvailability.js");
|
|
178996
|
+
/* harmony import */ var _PntsReader__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./PntsReader */ "../../core/frontend/lib/esm/tile/PntsReader.js");
|
|
178997
|
+
/* harmony import */ var _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./RealityModelTileTree */ "../../core/frontend/lib/esm/tile/RealityModelTileTree.js");
|
|
178998
|
+
/* harmony import */ var _IModelTile__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./IModelTile */ "../../core/frontend/lib/esm/tile/IModelTile.js");
|
|
178999
|
+
/* harmony import */ var _DynamicIModelTile__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./DynamicIModelTile */ "../../core/frontend/lib/esm/tile/DynamicIModelTile.js");
|
|
179000
|
+
/* harmony import */ var _IModelTileTree__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./IModelTileTree */ "../../core/frontend/lib/esm/tile/IModelTileTree.js");
|
|
179001
|
+
/* harmony import */ var _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./PrimaryTileTree */ "../../core/frontend/lib/esm/tile/PrimaryTileTree.js");
|
|
179002
|
+
/* harmony import */ var _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./ClassifierTileTree */ "../../core/frontend/lib/esm/tile/ClassifierTileTree.js");
|
|
179003
|
+
/* harmony import */ var _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./OrbitGtTileTree */ "../../core/frontend/lib/esm/tile/OrbitGtTileTree.js");
|
|
179004
|
+
/* harmony import */ var _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./map/ImageryTileTree */ "../../core/frontend/lib/esm/tile/map/ImageryTileTree.js");
|
|
179005
|
+
/* harmony import */ var _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./map/MapLayerSources */ "../../core/frontend/lib/esm/tile/map/MapLayerSources.js");
|
|
179006
|
+
/* harmony import */ var _map_MapTiledGraphicsProvider__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./map/MapTiledGraphicsProvider */ "../../core/frontend/lib/esm/tile/map/MapTiledGraphicsProvider.js");
|
|
179007
|
+
/* harmony import */ var _CesiumAssetProvider__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./CesiumAssetProvider */ "../../core/frontend/lib/esm/tile/CesiumAssetProvider.js");
|
|
179008
|
+
/* harmony import */ var _ContextShareProvider__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./ContextShareProvider */ "../../core/frontend/lib/esm/tile/ContextShareProvider.js");
|
|
179009
|
+
/* harmony import */ var _ThreeDTileFormatInterpreter__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./ThreeDTileFormatInterpreter */ "../../core/frontend/lib/esm/tile/ThreeDTileFormatInterpreter.js");
|
|
179010
|
+
/* harmony import */ var _OPCFormatInterpreter__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./OPCFormatInterpreter */ "../../core/frontend/lib/esm/tile/OPCFormatInterpreter.js");
|
|
178855
179011
|
/*---------------------------------------------------------------------------------------------
|
|
178856
179012
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
178857
179013
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -178944,6 +179100,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
178944
179100
|
|
|
178945
179101
|
|
|
178946
179102
|
|
|
179103
|
+
|
|
178947
179104
|
|
|
178948
179105
|
|
|
178949
179106
|
|
|
@@ -179168,9 +179325,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
179168
179325
|
/* harmony export */ "ArcGisUtilities": () => (/* binding */ ArcGisUtilities)
|
|
179169
179326
|
/* harmony export */ });
|
|
179170
179327
|
/* 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");
|
|
179328
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
179329
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
179174
179330
|
/*---------------------------------------------------------------------------------------------
|
|
179175
179331
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
179176
179332
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -179178,7 +179334,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
179178
179334
|
|
|
179179
179335
|
|
|
179180
179336
|
|
|
179181
|
-
|
|
179182
179337
|
/** @packageDocumentation
|
|
179183
179338
|
* @module Tiles
|
|
179184
179339
|
*/
|
|
@@ -179193,35 +179348,15 @@ var ArcGisErrorCode;
|
|
|
179193
179348
|
})(ArcGisErrorCode || (ArcGisErrorCode = {}));
|
|
179194
179349
|
/** @internal */
|
|
179195
179350
|
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
179351
|
static getBBoxString(range) {
|
|
179211
179352
|
if (!range)
|
|
179212
|
-
range =
|
|
179353
|
+
range = _internal__WEBPACK_IMPORTED_MODULE_1__.MapCartoRectangle.createMaximum();
|
|
179213
179354
|
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
179355
|
}
|
|
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
179356
|
static async getNationalMapSources() {
|
|
179223
179357
|
const sources = new Array();
|
|
179224
|
-
const
|
|
179358
|
+
const response = await fetch("https://viewer.nationalmap.gov/tnmaccess/api/getMapServiceList", { method: "GET" });
|
|
179359
|
+
const services = await response.json();
|
|
179225
179360
|
if (!Array.isArray(services))
|
|
179226
179361
|
return sources;
|
|
179227
179362
|
for (const service of services) {
|
|
@@ -179229,13 +179364,13 @@ class ArcGisUtilities {
|
|
|
179229
179364
|
continue;
|
|
179230
179365
|
switch (service.serviceType) {
|
|
179231
179366
|
case "ArcGIS":
|
|
179232
|
-
sources.push(
|
|
179367
|
+
sources.push(_internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.displayName, url: service.serviceLink, formatId: "ArcGIS" }));
|
|
179233
179368
|
break;
|
|
179234
179369
|
default: {
|
|
179235
179370
|
const wmsIndex = service.wmsUrl.lastIndexOf("/wms");
|
|
179236
179371
|
if (wmsIndex > 0) {
|
|
179237
179372
|
const url = service.wmsUrl.slice(0, wmsIndex + 4);
|
|
179238
|
-
sources.push(
|
|
179373
|
+
sources.push(_internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.displayName, url, formatId: "WMS" }));
|
|
179239
179374
|
}
|
|
179240
179375
|
break;
|
|
179241
179376
|
}
|
|
@@ -179247,7 +179382,8 @@ class ArcGisUtilities {
|
|
|
179247
179382
|
if (undefined === baseUrl)
|
|
179248
179383
|
baseUrl = url;
|
|
179249
179384
|
let sources = new Array();
|
|
179250
|
-
const
|
|
179385
|
+
const response = await fetch(`${url}?f=json`, { method: "GET" });
|
|
179386
|
+
const json = await response.json();
|
|
179251
179387
|
if (json !== undefined) {
|
|
179252
179388
|
if (Array.isArray(json.folders)) {
|
|
179253
179389
|
for (const folder of json.folders) {
|
|
@@ -179258,9 +179394,9 @@ class ArcGisUtilities {
|
|
|
179258
179394
|
for (const service of json.services) {
|
|
179259
179395
|
let source;
|
|
179260
179396
|
if (service.type === "MapServer")
|
|
179261
|
-
source =
|
|
179397
|
+
source = _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.name, url: `${baseUrl}/${service.name}/MapServer`, formatId: "ArcGIS" });
|
|
179262
179398
|
else if (service.type === "ImageServer")
|
|
179263
|
-
source =
|
|
179399
|
+
source = _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: service.name, url: `${baseUrl}/${service.name}/ImageServer`, formatId: "ArcGIS" });
|
|
179264
179400
|
if (source)
|
|
179265
179401
|
sources.push(source);
|
|
179266
179402
|
}
|
|
@@ -179271,13 +179407,14 @@ class ArcGisUtilities {
|
|
|
179271
179407
|
static async getSourcesFromQuery(range, url = "https://usgs.maps.arcgis.com/sharing/rest/search") {
|
|
179272
179408
|
const sources = new Array();
|
|
179273
179409
|
for (let start = 1; start > 0;) {
|
|
179274
|
-
const
|
|
179410
|
+
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" });
|
|
179411
|
+
const json = await response.json();
|
|
179275
179412
|
if (!json)
|
|
179276
179413
|
break;
|
|
179277
179414
|
start = json.nextStart ? json.nextStart : -1;
|
|
179278
179415
|
if (json !== undefined && Array.isArray(json.results)) {
|
|
179279
179416
|
for (const result of json.results) {
|
|
179280
|
-
const source =
|
|
179417
|
+
const source = _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSource.fromJSON({ name: result.name ? result.name : result.title, url: result.url, formatId: "ArcGIS" });
|
|
179281
179418
|
if (source)
|
|
179282
179419
|
sources.push(source);
|
|
179283
179420
|
}
|
|
@@ -179285,33 +179422,45 @@ class ArcGisUtilities {
|
|
|
179285
179422
|
}
|
|
179286
179423
|
return sources;
|
|
179287
179424
|
}
|
|
179288
|
-
|
|
179289
|
-
|
|
179425
|
+
/**
|
|
179426
|
+
* Attempt to access an ArcGIS service, and validate its service metadata.
|
|
179427
|
+
* @param url URL of the source to validate.
|
|
179428
|
+
* @param formatId Format Id of the source.
|
|
179429
|
+
* @param capabilitiesFilter List of capabilities 'keyword' that needs to be advertised in the service's metadata
|
|
179430
|
+
* in order to be valid. For example: 'Map', 'Query', etc
|
|
179431
|
+
* @param userName Username to use for legacy token based security.
|
|
179432
|
+
* @param password Username to use for legacy token based security.
|
|
179433
|
+
* @param ignoreCache Flag to skip cache lookup (i.e. force a new server request)
|
|
179434
|
+
* @return Validation Status. If successful, a list of available sub-layers will also be returned.
|
|
179435
|
+
*/
|
|
179436
|
+
static async validateSource(url, formatId, capabilitiesFilter, userName, password, ignoreCache) {
|
|
179437
|
+
const json = await this.getServiceJson(url, formatId, userName, password, ignoreCache);
|
|
179290
179438
|
if (json === undefined) {
|
|
179291
|
-
return { status:
|
|
179439
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidUrl };
|
|
179292
179440
|
}
|
|
179293
179441
|
else if (json.error !== undefined) {
|
|
179294
179442
|
// If we got a 'Token Required' error, lets check what authentification methods this ESRI service offers
|
|
179295
179443
|
// and return information needed to initiate the authentification process... the end-user
|
|
179296
179444
|
// will have to provide his credentials before we can fully validate this source.
|
|
179297
179445
|
if (json.error.code === ArcGisErrorCode.TokenRequired) {
|
|
179298
|
-
return { status:
|
|
179446
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.RequireAuth };
|
|
179299
179447
|
}
|
|
179300
179448
|
else if (json.error.code === ArcGisErrorCode.InvalidCredentials)
|
|
179301
|
-
return { status:
|
|
179449
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidCredentials };
|
|
179302
179450
|
}
|
|
179303
|
-
// Check this service support
|
|
179304
|
-
let
|
|
179451
|
+
// Check this service support the expected queries
|
|
179452
|
+
let hasCapabilities = false;
|
|
179305
179453
|
try {
|
|
179306
|
-
if (json.capabilities
|
|
179307
|
-
|
|
179308
|
-
|
|
179309
|
-
|
|
179454
|
+
if (json.capabilities && typeof json.capabilities === "string") {
|
|
179455
|
+
const capabilities = json.capabilities;
|
|
179456
|
+
const capsArray = capabilities.split(",").map((entry) => entry.toLowerCase());
|
|
179457
|
+
const filtered = capsArray.filter((element, _index, _array) => capabilitiesFilter.includes(element));
|
|
179458
|
+
hasCapabilities = (filtered.length === capabilitiesFilter.length);
|
|
179310
179459
|
}
|
|
179311
179460
|
}
|
|
179312
179461
|
catch { }
|
|
179313
|
-
if (!
|
|
179314
|
-
return { status:
|
|
179462
|
+
if (!hasCapabilities) {
|
|
179463
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.InvalidFormat };
|
|
179315
179464
|
}
|
|
179316
179465
|
let subLayers;
|
|
179317
179466
|
if (json.layers) {
|
|
@@ -179322,39 +179471,63 @@ class ArcGisUtilities {
|
|
|
179322
179471
|
subLayers.push({ name: layer.name, visible: layer.defaultVisibility !== false, id: layer.id, parent, children });
|
|
179323
179472
|
}
|
|
179324
179473
|
}
|
|
179325
|
-
return { status:
|
|
179474
|
+
return { status: _internal__WEBPACK_IMPORTED_MODULE_1__.MapLayerSourceStatus.Valid, subLayers };
|
|
179326
179475
|
}
|
|
179327
|
-
|
|
179328
|
-
|
|
179476
|
+
/**
|
|
179477
|
+
* Fetch an ArcGIS service metadata, and returns its JSON representation.
|
|
179478
|
+
* If an access client has been configured for the specified formatId,
|
|
179479
|
+
* it will be used to apply required security token.
|
|
179480
|
+
* By default, response for each URL are cached.
|
|
179481
|
+
*/
|
|
179482
|
+
static async getServiceJson(url, formatId, userName, password, ignoreCache) {
|
|
179329
179483
|
if (!ignoreCache) {
|
|
179330
179484
|
const cached = ArcGisUtilities._serviceCache.get(url);
|
|
179331
179485
|
if (cached !== undefined)
|
|
179332
179486
|
return cached;
|
|
179333
179487
|
}
|
|
179334
179488
|
try {
|
|
179335
|
-
const options = {
|
|
179336
|
-
method: "GET",
|
|
179337
|
-
responseType: "json",
|
|
179338
|
-
};
|
|
179339
179489
|
const tmpUrl = new URL(url);
|
|
179340
179490
|
tmpUrl.searchParams.append("f", "json");
|
|
179341
|
-
const accessClient =
|
|
179491
|
+
const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_2__.IModelApp.mapLayerFormatRegistry.getAccessClient(formatId);
|
|
179342
179492
|
if (accessClient) {
|
|
179343
|
-
await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName
|
|
179493
|
+
await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName, password });
|
|
179494
|
+
}
|
|
179495
|
+
const response = await fetch(tmpUrl.toString(), { method: "GET" });
|
|
179496
|
+
const errorCode = await ArcGisUtilities.checkForResponseErrorCode(response);
|
|
179497
|
+
const json = await response.json();
|
|
179498
|
+
if (errorCode === undefined) {
|
|
179499
|
+
ArcGisUtilities._serviceCache.set(url, json); // Cache the response only if it doesn't contain a token error.
|
|
179344
179500
|
}
|
|
179345
|
-
|
|
179346
|
-
|
|
179347
|
-
// Cache the response only if it doesn't contain a token error.
|
|
179348
|
-
if (!ArcGisUtilities.hasTokenError(data)) {
|
|
179349
|
-
ArcGisUtilities._serviceCache.set(url, json);
|
|
179501
|
+
else {
|
|
179502
|
+
ArcGisUtilities._serviceCache.set(url, undefined);
|
|
179350
179503
|
}
|
|
179351
|
-
return json;
|
|
179504
|
+
return json; // Always return json, even though it contains an error code.
|
|
179352
179505
|
}
|
|
179353
179506
|
catch (_error) {
|
|
179354
179507
|
ArcGisUtilities._serviceCache.set(url, undefined);
|
|
179355
179508
|
return undefined;
|
|
179356
179509
|
}
|
|
179357
179510
|
}
|
|
179511
|
+
/** Read a response from ArcGIS server and check for error code in the response.
|
|
179512
|
+
*/
|
|
179513
|
+
static async checkForResponseErrorCode(response) {
|
|
179514
|
+
var _a, _b, _c;
|
|
179515
|
+
if (response.headers && ((_a = response.headers.get("content-type")) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes("json"))) {
|
|
179516
|
+
try {
|
|
179517
|
+
// Note:
|
|
179518
|
+
// Since response stream can only be read once (i.e. calls to .json() method)
|
|
179519
|
+
// we have to clone the response object in order to check for potential error code,
|
|
179520
|
+
// but still keep the response stream as unread.
|
|
179521
|
+
const clonedResponse = response.clone();
|
|
179522
|
+
const json = await clonedResponse.json();
|
|
179523
|
+
if (((_b = json === null || json === void 0 ? void 0 : json.error) === null || _b === void 0 ? void 0 : _b.code) !== undefined)
|
|
179524
|
+
return (_c = json === null || json === void 0 ? void 0 : json.error) === null || _c === void 0 ? void 0 : _c.code;
|
|
179525
|
+
}
|
|
179526
|
+
catch {
|
|
179527
|
+
}
|
|
179528
|
+
}
|
|
179529
|
+
return undefined;
|
|
179530
|
+
}
|
|
179358
179531
|
// return the appended access token if available.
|
|
179359
179532
|
static async appendSecurityToken(url, accessClient, accessTokenParams) {
|
|
179360
179533
|
// Append security token if available
|
|
@@ -179369,6 +179542,60 @@ class ArcGisUtilities {
|
|
|
179369
179542
|
}
|
|
179370
179543
|
return undefined;
|
|
179371
179544
|
}
|
|
179545
|
+
/**
|
|
179546
|
+
* Compute scale, resolution values for requested zoom levels (WSG 84)
|
|
179547
|
+
* Use a scale of 96 dpi for Google Maps scales
|
|
179548
|
+
* Based on this article: https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Resolution_and_Scale
|
|
179549
|
+
* @param startZoom Zoom level where scales begins to be computed
|
|
179550
|
+
* @param endZoom Zoom level where scales ends to be computed
|
|
179551
|
+
* @param latitude Latitude in degrees to use to compute scales (i.e 0 for Equator)
|
|
179552
|
+
* @param tileSize Size of a tile in pixels (i.e 256)
|
|
179553
|
+
* @param screenDpi Monitor resolution in dots per inch (i.e. typically 96dpi is used by Google Maps)
|
|
179554
|
+
* @returns An array containing resolution and scale values for each requested zoom level
|
|
179555
|
+
*/
|
|
179556
|
+
static computeZoomLevelsScales(startZoom = 0, endZoom = 20, latitude = 0, tileSize = 256, screenDpi = 96) {
|
|
179557
|
+
// Note: There is probably a more direct way to compute this, but I prefer to go for a simple and well documented approach.
|
|
179558
|
+
if (startZoom < 0 || endZoom < startZoom || tileSize < 0 || screenDpi < 1 || latitude < -90 || latitude > 90)
|
|
179559
|
+
return [];
|
|
179560
|
+
const inchPerMeter = 1 / 0.0254;
|
|
179561
|
+
const results = [];
|
|
179562
|
+
const equatorLength = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_0__.Constant.earthRadiusWGS84.equator * 2 * Math.PI;
|
|
179563
|
+
const zoom0Resolution = equatorLength / tileSize; // in meters per pixel
|
|
179564
|
+
const cosLatitude = Math.cos(latitude);
|
|
179565
|
+
for (let zoom = startZoom; zoom <= endZoom; zoom++) {
|
|
179566
|
+
const resolution = zoom0Resolution * cosLatitude / Math.pow(2, zoom);
|
|
179567
|
+
const scale = screenDpi * inchPerMeter * resolution;
|
|
179568
|
+
results.push({ zoom, resolution, scale });
|
|
179569
|
+
}
|
|
179570
|
+
return results;
|
|
179571
|
+
}
|
|
179572
|
+
/**
|
|
179573
|
+
* Match the provided minScale,maxScale values to corresponding wgs84 zoom levels
|
|
179574
|
+
* @param defaultMaxLod Value of the last LOD (i.e 22)
|
|
179575
|
+
* @param tileSize Size of a tile in pixels (i.e 256)
|
|
179576
|
+
* @param minScale Minimum scale value that needs to be matched to a LOD level
|
|
179577
|
+
* @param maxScale Maximum scale value that needs to be matched to a LOD level
|
|
179578
|
+
* @returns minLod: LOD value matching minScale, maxLod: LOD value matching maxScale
|
|
179579
|
+
*/
|
|
179580
|
+
static getZoomLevelsScales(defaultMaxLod, tileSize, minScale, maxScale) {
|
|
179581
|
+
let minLod, maxLod;
|
|
179582
|
+
const zoomScales = ArcGisUtilities.computeZoomLevelsScales(0, defaultMaxLod, 0 /* latitude 0 = Equator*/, tileSize);
|
|
179583
|
+
if (zoomScales.length > 0) {
|
|
179584
|
+
if (minScale) {
|
|
179585
|
+
minLod = 0;
|
|
179586
|
+
// We are looking for the largest scale value with a scale value smaller than minScale
|
|
179587
|
+
for (; minLod < zoomScales.length && zoomScales[minLod].scale > minScale; minLod++)
|
|
179588
|
+
;
|
|
179589
|
+
}
|
|
179590
|
+
if (maxScale) {
|
|
179591
|
+
maxLod = defaultMaxLod;
|
|
179592
|
+
// We are looking for the smallest scale value with a value greater than maxScale
|
|
179593
|
+
for (; maxLod >= 0 && zoomScales[maxLod].scale < maxScale; maxLod--)
|
|
179594
|
+
;
|
|
179595
|
+
}
|
|
179596
|
+
}
|
|
179597
|
+
return { minLod, maxLod };
|
|
179598
|
+
}
|
|
179372
179599
|
}
|
|
179373
179600
|
ArcGisUtilities._serviceCache = new Map();
|
|
179374
179601
|
|
|
@@ -180103,6 +180330,116 @@ class EllipsoidTerrainProvider extends _internal__WEBPACK_IMPORTED_MODULE_3__.Te
|
|
|
180103
180330
|
}
|
|
180104
180331
|
|
|
180105
180332
|
|
|
180333
|
+
/***/ }),
|
|
180334
|
+
|
|
180335
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js":
|
|
180336
|
+
/*!**************************************************************************************!*\
|
|
180337
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js ***!
|
|
180338
|
+
\**************************************************************************************/
|
|
180339
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
180340
|
+
|
|
180341
|
+
"use strict";
|
|
180342
|
+
__webpack_require__.r(__webpack_exports__);
|
|
180343
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
180344
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* binding */ ArcGISImageryProvider)
|
|
180345
|
+
/* harmony export */ });
|
|
180346
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
180347
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
180348
|
+
/* harmony import */ var _NotificationManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../NotificationManager */ "../../core/frontend/lib/esm/NotificationManager.js");
|
|
180349
|
+
/*---------------------------------------------------------------------------------------------
|
|
180350
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
180351
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
180352
|
+
*--------------------------------------------------------------------------------------------*/
|
|
180353
|
+
/** @packageDocumentation
|
|
180354
|
+
* @module Tiles
|
|
180355
|
+
*/
|
|
180356
|
+
|
|
180357
|
+
|
|
180358
|
+
|
|
180359
|
+
/** Base class for ArcGIS map-layer imagery providers.
|
|
180360
|
+
*
|
|
180361
|
+
* The initial purpose of this class is to offer shared methods
|
|
180362
|
+
* to query ArcGIS services and apply the appropriate security token.
|
|
180363
|
+
* @see [[ArcGISMapLayerImageryProvider]]
|
|
180364
|
+
* @internal
|
|
180365
|
+
*/
|
|
180366
|
+
class ArcGISImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProvider {
|
|
180367
|
+
constructor(settings, usesCachedTiles) {
|
|
180368
|
+
var _a;
|
|
180369
|
+
super(settings, usesCachedTiles);
|
|
180370
|
+
this._accessClient = (_a = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry) === null || _a === void 0 ? void 0 : _a.getAccessClient(settings.formatId);
|
|
180371
|
+
}
|
|
180372
|
+
/**
|
|
180373
|
+
* Make a request to an ArcGIS service using the provided URL and init parameters.
|
|
180374
|
+
* @param url URL to query
|
|
180375
|
+
* @param options Custom settings to apply to the request.
|
|
180376
|
+
* Refer to fetch API for more details (https://developer.mozilla.org/en-US/docs/Web/API/fetch)
|
|
180377
|
+
*/
|
|
180378
|
+
async fetch(url, options) {
|
|
180379
|
+
var _a, _b;
|
|
180380
|
+
const urlObj = new URL(url);
|
|
180381
|
+
try {
|
|
180382
|
+
if (this._accessClient) {
|
|
180383
|
+
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, {
|
|
180384
|
+
mapLayerUrl: new URL(this._settings.url),
|
|
180385
|
+
userName: this._settings.userName,
|
|
180386
|
+
password: this._settings.password
|
|
180387
|
+
});
|
|
180388
|
+
}
|
|
180389
|
+
}
|
|
180390
|
+
catch {
|
|
180391
|
+
}
|
|
180392
|
+
let response = await fetch(urlObj.toString(), options);
|
|
180393
|
+
let errorCode = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.checkForResponseErrorCode(response.clone());
|
|
180394
|
+
if (errorCode !== undefined &&
|
|
180395
|
+
(errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.TokenRequired || errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.InvalidToken)) {
|
|
180396
|
+
let hasTokenError = true;
|
|
180397
|
+
// **** Legacy token ONLY ***
|
|
180398
|
+
// Token might have expired, make a second attempt by forcing new token.
|
|
180399
|
+
if (this._settings.userName && this._settings.userName.length > 0 && this._lastAccessToken) {
|
|
180400
|
+
// Invalidate previously used token to force token re-generation
|
|
180401
|
+
if (((_a = this._accessClient) === null || _a === void 0 ? void 0 : _a.invalidateToken) !== undefined && this._lastAccessToken !== undefined)
|
|
180402
|
+
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
180403
|
+
const urlObj2 = new URL(url);
|
|
180404
|
+
if (this._accessClient) {
|
|
180405
|
+
try {
|
|
180406
|
+
this._lastAccessToken = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.appendSecurityToken(urlObj, this._accessClient, { mapLayerUrl: urlObj, userName: this._settings.userName, password: this._settings.password });
|
|
180407
|
+
}
|
|
180408
|
+
catch {
|
|
180409
|
+
}
|
|
180410
|
+
}
|
|
180411
|
+
// Make a second attempt with refreshed token
|
|
180412
|
+
response = await fetch(urlObj2.toString(), options);
|
|
180413
|
+
errorCode = await _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.checkForResponseErrorCode(response.clone());
|
|
180414
|
+
if (errorCode !== undefined &&
|
|
180415
|
+
(errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.TokenRequired || errorCode === _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisErrorCode.InvalidToken)) {
|
|
180416
|
+
// OK at this point, if response still contain a token error, we assume end-user will
|
|
180417
|
+
// have to provide credentials again. Change the layer status so we
|
|
180418
|
+
// don't make additional invalid requests..
|
|
180419
|
+
if (((_b = this._accessClient) === null || _b === void 0 ? void 0 : _b.invalidateToken) !== undefined && this._lastAccessToken !== undefined) {
|
|
180420
|
+
this._accessClient.invalidateToken(this._lastAccessToken);
|
|
180421
|
+
this._lastAccessToken = undefined;
|
|
180422
|
+
}
|
|
180423
|
+
}
|
|
180424
|
+
else {
|
|
180425
|
+
hasTokenError = false;
|
|
180426
|
+
}
|
|
180427
|
+
}
|
|
180428
|
+
if (hasTokenError
|
|
180429
|
+
&& this.status === _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProviderStatus.Valid) {
|
|
180430
|
+
// Only report if status is currently valid (avoid reporting twice the same error)
|
|
180431
|
+
this.status = _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerImageryProviderStatus.RequireAuth;
|
|
180432
|
+
this.onStatusChanged.raiseEvent(this);
|
|
180433
|
+
const msg = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.localization.getLocalizedString("iModelJs:MapLayers.Messages.FetchTooltipTokenError", { layerName: this._settings.name });
|
|
180434
|
+
_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.notifications.outputMessage(new _NotificationManager__WEBPACK_IMPORTED_MODULE_2__.NotifyMessageDetails(_NotificationManager__WEBPACK_IMPORTED_MODULE_2__.OutputMessagePriority.Warning, msg));
|
|
180435
|
+
}
|
|
180436
|
+
}
|
|
180437
|
+
return response;
|
|
180438
|
+
}
|
|
180439
|
+
}
|
|
180440
|
+
ArcGISImageryProvider._serviceCache = new Map();
|
|
180441
|
+
|
|
180442
|
+
|
|
180106
180443
|
/***/ }),
|
|
180107
180444
|
|
|
180108
180445
|
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js":
|
|
@@ -180116,15 +180453,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
180116
180453
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
180117
180454
|
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* binding */ ArcGISMapLayerImageryProvider)
|
|
180118
180455
|
/* 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__);
|
|
180456
|
+
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
180457
|
+
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
180458
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
180459
|
+
/* harmony import */ var _itwin_appui_abstract__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/appui-abstract */ "../../ui/appui-abstract/lib/esm/appui-abstract.js");
|
|
180460
|
+
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
180461
|
+
/* 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");
|
|
180462
|
+
/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);
|
|
180128
180463
|
/*---------------------------------------------------------------------------------------------
|
|
180129
180464
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
180130
180465
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -180138,10 +180473,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
180138
180473
|
|
|
180139
180474
|
|
|
180140
180475
|
|
|
180141
|
-
|
|
180142
|
-
|
|
180143
180476
|
/** @internal */
|
|
180144
|
-
class ArcGISMapLayerImageryProvider extends
|
|
180477
|
+
class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGISImageryProvider {
|
|
180145
180478
|
constructor(settings) {
|
|
180146
180479
|
super(settings, false);
|
|
180147
180480
|
this._maxDepthFromLod = 0;
|
|
@@ -180149,7 +180482,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180149
180482
|
this._copyrightText = "Copyright";
|
|
180150
180483
|
this._querySupported = false;
|
|
180151
180484
|
this._tileMapSupported = false;
|
|
180152
|
-
this._accessClient =
|
|
180485
|
+
this._accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.getAccessClient(settings.formatId);
|
|
180153
180486
|
}
|
|
180154
180487
|
get _filterByCartoRange() { return false; } // Can't trust footprint ranges (USGS Hydro)
|
|
180155
180488
|
get minimumZoomLevel() { return Math.max(super.minimumZoomLevel, this._minDepthFromLod); }
|
|
@@ -180158,56 +180491,23 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180158
180491
|
return Buffer.from(uintArray).toJSON();
|
|
180159
180492
|
}
|
|
180160
180493
|
async fetchTile(row, column, zoomLevel) {
|
|
180161
|
-
const tileRequestOptions = { method: "GET", responseType: "arraybuffer" };
|
|
180162
|
-
tileRequestOptions.auth = this.getRequestAuthorization();
|
|
180163
180494
|
const tileUrl = await this.constructUrl(row, column, zoomLevel);
|
|
180164
180495
|
if (tileUrl.length === 0)
|
|
180165
180496
|
return undefined;
|
|
180166
|
-
return
|
|
180497
|
+
return this.fetch(new URL(tileUrl), { method: "GET" });
|
|
180167
180498
|
}
|
|
180168
180499
|
async loadTile(row, column, zoomLevel) {
|
|
180169
|
-
|
|
180170
|
-
if ((this.status === _internal__WEBPACK_IMPORTED_MODULE_4__.MapLayerImageryProviderStatus.RequireAuth)) {
|
|
180500
|
+
if ((this.status === _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.RequireAuth)) {
|
|
180171
180501
|
return undefined;
|
|
180172
180502
|
}
|
|
180173
180503
|
try {
|
|
180174
|
-
|
|
180504
|
+
const tileResponse = await this.fetchTile(row, column, zoomLevel);
|
|
180175
180505
|
if (tileResponse === undefined)
|
|
180176
180506
|
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
180507
|
if (!this._hasSuccessfullyFetchedTile) {
|
|
180208
180508
|
this._hasSuccessfullyFetchedTile = true;
|
|
180209
180509
|
}
|
|
180210
|
-
return this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
180510
|
+
return await this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
180211
180511
|
}
|
|
180212
180512
|
catch (error) {
|
|
180213
180513
|
return undefined;
|
|
@@ -180235,7 +180535,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180235
180535
|
// eslint-disable-next-line @typescript-eslint/prefer-for-of
|
|
180236
180536
|
for (let i = 0; i < childIds.length; i++) {
|
|
180237
180537
|
const childExtent = this.getEPSG4326Extent(childIds[i].row, childIds[i].column, childIds[i].level);
|
|
180238
|
-
const childRange =
|
|
180538
|
+
const childRange = _internal__WEBPACK_IMPORTED_MODULE_2__.MapCartoRectangle.fromDegrees(childExtent.longitudeLeft, childExtent.latitudeBottom, childExtent.longitudeRight, childExtent.latitudeTop);
|
|
180239
180539
|
if (childRange.intersectsRange(this.cartoRange)) {
|
|
180240
180540
|
availableChildIds.push(childIds[i]);
|
|
180241
180541
|
}
|
|
@@ -180255,13 +180555,13 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180255
180555
|
}
|
|
180256
180556
|
async initialize() {
|
|
180257
180557
|
var _a, _b, _c, _d, _e;
|
|
180258
|
-
const json = await
|
|
180558
|
+
const json = await _internal__WEBPACK_IMPORTED_MODULE_2__.ArcGisUtilities.getServiceJson(this._settings.url, this._settings.formatId, this._settings.userName, this._settings.password);
|
|
180259
180559
|
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) ===
|
|
180560
|
+
throw new _itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.ServerError(_itwin_core_common__WEBPACK_IMPORTED_MODULE_0__.IModelStatus.ValidationFailed, "");
|
|
180561
|
+
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
180562
|
// Check again layer status, it might have change during await.
|
|
180263
|
-
if (this.status ===
|
|
180264
|
-
this.status =
|
|
180563
|
+
if (this.status === _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.Valid) {
|
|
180564
|
+
this.status = _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerImageryProviderStatus.RequireAuth;
|
|
180265
180565
|
this.onStatusChanged.raiseEvent(this);
|
|
180266
180566
|
}
|
|
180267
180567
|
}
|
|
@@ -180281,12 +180581,12 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180281
180581
|
}
|
|
180282
180582
|
// Create tile map object only if we are going to request tiles from this server and it support tilemap requests.
|
|
180283
180583
|
if (this._usesCachedTiles && this._tileMapSupported) {
|
|
180284
|
-
this._tileMap = new
|
|
180584
|
+
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
180585
|
}
|
|
180286
180586
|
// Read range using fullextent from service metadata
|
|
180287
180587
|
if (json.fullExtent) {
|
|
180288
180588
|
if (json.fullExtent.spatialReference.latestWkid === 3857 || json.fullExtent.spatialReference.wkid === 102100) {
|
|
180289
|
-
const range3857 =
|
|
180589
|
+
const range3857 = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_4__.Range2d.createFrom({
|
|
180290
180590
|
low: { x: json.fullExtent.xmin, y: json.fullExtent.ymin },
|
|
180291
180591
|
high: { x: json.fullExtent.xmax, y: json.fullExtent.ymax }
|
|
180292
180592
|
});
|
|
@@ -180294,7 +180594,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180294
180594
|
const south = this.getEPSG4326Lat(range3857.yLow);
|
|
180295
180595
|
const east = this.getEPSG4326Lon(range3857.xHigh);
|
|
180296
180596
|
const north = this.getEPSG4326Lat(range3857.yHigh);
|
|
180297
|
-
this.cartoRange =
|
|
180597
|
+
this.cartoRange = _internal__WEBPACK_IMPORTED_MODULE_2__.MapCartoRectangle.fromDegrees(west, south, east, north);
|
|
180298
180598
|
}
|
|
180299
180599
|
}
|
|
180300
180600
|
// Read minLOD if available
|
|
@@ -180307,7 +180607,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180307
180607
|
else if (json.minScale) {
|
|
180308
180608
|
// Read min LOD using minScale
|
|
180309
180609
|
const minScale = json.minScale;
|
|
180310
|
-
if (((_e = json.tileInfo) === null || _e === void 0 ? void 0 : _e.lods) !== undefined && (0,
|
|
180610
|
+
if (((_e = json.tileInfo) === null || _e === void 0 ? void 0 : _e.lods) !== undefined && (0,lodash__WEBPACK_IMPORTED_MODULE_5__.isArray)(json.tileInfo.lods)) {
|
|
180311
180611
|
for (const lod of json.tileInfo.lods) {
|
|
180312
180612
|
if (lod.scale < minScale) {
|
|
180313
180613
|
this._minDepthFromLod = lod.level;
|
|
@@ -180321,56 +180621,19 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180321
180621
|
addLogoCards(cards) {
|
|
180322
180622
|
if (!cards.dataset.arcGisLogoCard) {
|
|
180323
180623
|
cards.dataset.arcGisLogoCard = "true";
|
|
180324
|
-
cards.appendChild(
|
|
180624
|
+
cards.appendChild(_IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.makeLogoCard({ heading: "ArcGIS", notice: this._copyrightText }));
|
|
180325
180625
|
}
|
|
180326
180626
|
}
|
|
180327
180627
|
// Translates the provided Cartographic into a EPSG:3857 point, and retrieve information.
|
|
180328
180628
|
// tolerance is in pixels
|
|
180329
180629
|
async getIdentifyData(quadId, carto, tolerance) {
|
|
180330
|
-
var _a, _b, _c, _d, _e;
|
|
180331
180630
|
const bboxString = this.getEPSG3857ExtentString(quadId.row, quadId.column, quadId.level);
|
|
180332
180631
|
const x = this.getEPSG3857X(carto.longitudeDegrees);
|
|
180333
180632
|
const y = this.getEPSG3857Y(carto.latitudeDegrees);
|
|
180334
180633
|
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
180634
|
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;
|
|
180635
|
+
const response = await this.fetch(urlObj, { method: "GET" });
|
|
180636
|
+
return response.json();
|
|
180374
180637
|
}
|
|
180375
180638
|
// Makes an identify request to ESRI MapService server, and return it as a list of formatted strings
|
|
180376
180639
|
async getToolTip(strings, quadId, carto, tree) {
|
|
@@ -180408,7 +180671,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180408
180671
|
for (const [key, value] of Object.entries(result.attributes)) {
|
|
180409
180672
|
// Convert everything to string for now
|
|
180410
180673
|
const strValue = String(value);
|
|
180411
|
-
(_b = subLayerInfo.records) === null || _b === void 0 ? void 0 : _b.push(new
|
|
180674
|
+
(_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
180675
|
}
|
|
180413
180676
|
if (layerInfo.info === undefined) {
|
|
180414
180677
|
layerInfo.info = [];
|
|
@@ -180438,20 +180701,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
180438
180701
|
const bboxString = `${this.getEPSG3857ExtentString(row, column, zoomLevel)}&bboxSR=3857`;
|
|
180439
180702
|
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
180703
|
}
|
|
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();
|
|
180704
|
+
return tmpUrl;
|
|
180455
180705
|
}
|
|
180456
180706
|
}
|
|
180457
180707
|
|
|
@@ -180841,7 +181091,8 @@ class WmsMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_3__.
|
|
|
180841
181091
|
}
|
|
180842
181092
|
async initialize() {
|
|
180843
181093
|
try {
|
|
180844
|
-
this.
|
|
181094
|
+
const credentials = (this._settings.userName && this._settings.password ? { user: this._settings.userName, password: this._settings.password } : undefined);
|
|
181095
|
+
this._capabilities = await _internal__WEBPACK_IMPORTED_MODULE_3__.WmsCapabilities.create(this._baseUrl, credentials);
|
|
180845
181096
|
if (undefined !== this._capabilities) {
|
|
180846
181097
|
this._allLayersRange = this._capabilities.cartoRange;
|
|
180847
181098
|
if (this._capabilities.layer && Array.isArray(this._capabilities.layer.subLayers)) {
|
|
@@ -181701,17 +181952,32 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
181701
181952
|
|
|
181702
181953
|
|
|
181703
181954
|
|
|
181955
|
+
const loggerCategory = "ArcGISFeatureProvider";
|
|
181704
181956
|
/** @beta */
|
|
181957
|
+
/** Class representing a map-layer format.
|
|
181958
|
+
* Each format has it's unique 'formatId' string, used to uniquely identify a format in the [[MapLayerFormatRegistry]].
|
|
181959
|
+
* When creating an [[ImageMapLayerSettings]] object, a format needs to be specified this 'formatId'.
|
|
181960
|
+
* The MapLayerFormat object can later be used to validate a source, or create a provider.
|
|
181961
|
+
*
|
|
181962
|
+
* Subclasses should override formatId and [[MapLayerFormat.createImageryProvider]].
|
|
181963
|
+
* @beta
|
|
181964
|
+
*/
|
|
181705
181965
|
class MapLayerFormat {
|
|
181966
|
+
/** Register the current format in the [[MapLayerFormatRegistry]].
|
|
181967
|
+
*/
|
|
181706
181968
|
static register() { _IModelApp__WEBPACK_IMPORTED_MODULE_1__.IModelApp.mapLayerFormatRegistry.register(this); }
|
|
181707
|
-
/**
|
|
181969
|
+
/** Allow a source of a specific to be validated before being attached as a map-layer.
|
|
181970
|
+
*/
|
|
181971
|
+
static async validateSource(_url, _userName, _password, _ignoreCache) { return { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.Valid }; }
|
|
181972
|
+
/** Create a [[MapLayerImageryProvider]] that will be used to feed data in a map-layer tile Tree.
|
|
181973
|
+
* @internal
|
|
181974
|
+
*/
|
|
181708
181975
|
static createImageryProvider(_settings) { (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false); }
|
|
181709
181976
|
/** @internal */
|
|
181710
181977
|
static createMapLayerTree(_layerSettings, _layerIndex, _iModel) {
|
|
181711
181978
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false);
|
|
181712
181979
|
return undefined;
|
|
181713
181980
|
}
|
|
181714
|
-
static async validateSource(_url, _credentials, _ignoreCache) { return { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.Valid }; }
|
|
181715
181981
|
}
|
|
181716
181982
|
/** @beta */
|
|
181717
181983
|
class MapLayerFormatRegistry {
|
|
@@ -181720,6 +181986,7 @@ class MapLayerFormatRegistry {
|
|
|
181720
181986
|
this._configOptions = opts !== null && opts !== void 0 ? opts : {};
|
|
181721
181987
|
_internal__WEBPACK_IMPORTED_MODULE_2__.internalMapLayerImageryFormats.forEach((format) => this.register(format));
|
|
181722
181988
|
}
|
|
181989
|
+
isRegistered(formatId) { return this._formats.get(formatId) !== undefined; }
|
|
181723
181990
|
register(formatClass, accessClient) {
|
|
181724
181991
|
if (formatClass.formatId.length === 0)
|
|
181725
181992
|
return; // must be an abstract class, ignore it
|
|
@@ -181746,7 +182013,11 @@ class MapLayerFormatRegistry {
|
|
|
181746
182013
|
createImageryMapLayerTree(layerSettings, layerIndex, iModel) {
|
|
181747
182014
|
const entry = this._formats.get(layerSettings.formatId);
|
|
181748
182015
|
const format = entry === null || entry === void 0 ? void 0 : entry.type;
|
|
181749
|
-
|
|
182016
|
+
if (format === undefined) {
|
|
182017
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(loggerCategory, `Could not find format '${layerSettings.formatId}' in registry`);
|
|
182018
|
+
return undefined;
|
|
182019
|
+
}
|
|
182020
|
+
return format.createMapLayerTree(layerSettings, layerIndex, iModel);
|
|
181750
182021
|
}
|
|
181751
182022
|
/** @internal */
|
|
181752
182023
|
createImageryProvider(layerSettings) {
|
|
@@ -181759,10 +182030,10 @@ class MapLayerFormatRegistry {
|
|
|
181759
182030
|
}
|
|
181760
182031
|
return (format === undefined) ? undefined : format.createImageryProvider(layerSettings);
|
|
181761
182032
|
}
|
|
181762
|
-
async validateSource(formatId, url,
|
|
182033
|
+
async validateSource(formatId, url, userName, password, ignoreCache) {
|
|
181763
182034
|
const entry = this._formats.get(formatId);
|
|
181764
182035
|
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,
|
|
182036
|
+
return (format === undefined) ? { status: _internal__WEBPACK_IMPORTED_MODULE_2__.MapLayerSourceStatus.InvalidFormat } : format.validateSource(url, userName, password, ignoreCache);
|
|
181766
182037
|
}
|
|
181767
182038
|
}
|
|
181768
182039
|
|
|
@@ -181782,18 +182053,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
181782
182053
|
/* harmony export */ "internalMapLayerImageryFormats": () => (/* binding */ internalMapLayerImageryFormats)
|
|
181783
182054
|
/* harmony export */ });
|
|
181784
182055
|
/* 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
182056
|
|
|
181793
|
-
/** Base class imagery map layer formats.
|
|
181794
|
-
*
|
|
182057
|
+
/** Base class imagery map layer formats.
|
|
182058
|
+
* Subclasses should override formatId and [[MapLayerFormat.createImageryProvider]].
|
|
182059
|
+
* @see [[MapLayerFormat]]
|
|
182060
|
+
* @beta
|
|
181795
182061
|
*/
|
|
181796
182062
|
class ImageryMapLayerFormat extends _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerFormat {
|
|
182063
|
+
/** @internal */
|
|
181797
182064
|
static createMapLayerTree(layerSettings, layerIndex, iModel) {
|
|
181798
182065
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.ImageryMapLayerTreeReference(layerSettings, layerIndex, iModel);
|
|
181799
182066
|
}
|
|
@@ -181802,11 +182069,11 @@ class WmsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
181802
182069
|
static createImageryProvider(settings) {
|
|
181803
182070
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.WmsMapLayerImageryProvider(settings);
|
|
181804
182071
|
}
|
|
181805
|
-
static async validateSource(url,
|
|
182072
|
+
static async validateSource(url, userName, password, ignoreCache) {
|
|
181806
182073
|
try {
|
|
181807
182074
|
let subLayers;
|
|
181808
182075
|
const maxVisibleSubLayers = 50;
|
|
181809
|
-
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmsCapabilities.create(url,
|
|
182076
|
+
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmsCapabilities.create(url, (userName && password ? { user: userName, password } : undefined), ignoreCache);
|
|
181810
182077
|
if (capabilities !== undefined) {
|
|
181811
182078
|
subLayers = capabilities.getSubLayers(false);
|
|
181812
182079
|
const rootsSubLayer = subLayers === null || subLayers === void 0 ? void 0 : subLayers.find((sublayer) => sublayer.parent === undefined);
|
|
@@ -181850,7 +182117,7 @@ class WmsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
181850
182117
|
catch (err) {
|
|
181851
182118
|
let status = _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidUrl;
|
|
181852
182119
|
if ((err === null || err === void 0 ? void 0 : err.status) === 401) {
|
|
181853
|
-
status = (
|
|
182120
|
+
status = ((userName && password) ? _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidCredentials : _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.RequireAuth);
|
|
181854
182121
|
}
|
|
181855
182122
|
return { status };
|
|
181856
182123
|
}
|
|
@@ -181861,11 +182128,11 @@ class WmtsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
181861
182128
|
static createImageryProvider(settings) {
|
|
181862
182129
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.WmtsMapLayerImageryProvider(settings);
|
|
181863
182130
|
}
|
|
181864
|
-
static async validateSource(url,
|
|
182131
|
+
static async validateSource(url, userName, password, ignoreCache) {
|
|
181865
182132
|
var _a, _b, _c;
|
|
181866
182133
|
try {
|
|
181867
182134
|
const subLayers = [];
|
|
181868
|
-
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmtsCapabilities.create(url,
|
|
182135
|
+
const capabilities = await _internal__WEBPACK_IMPORTED_MODULE_0__.WmtsCapabilities.create(url, (userName && password ? { user: userName, password } : undefined), ignoreCache);
|
|
181869
182136
|
if (!capabilities)
|
|
181870
182137
|
return { status: _internal__WEBPACK_IMPORTED_MODULE_0__.MapLayerSourceStatus.InvalidUrl };
|
|
181871
182138
|
// Only returns layer that can be published in the Google maps or WGS84 aligned tile trees.
|
|
@@ -181912,8 +182179,8 @@ class WmtsMapLayerFormat extends ImageryMapLayerFormat {
|
|
|
181912
182179
|
}
|
|
181913
182180
|
WmtsMapLayerFormat.formatId = "WMTS";
|
|
181914
182181
|
class ArcGISMapLayerFormat extends ImageryMapLayerFormat {
|
|
181915
|
-
static async validateSource(url,
|
|
181916
|
-
return _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.validateSource(url,
|
|
182182
|
+
static async validateSource(url, userName, password, ignoreCache) {
|
|
182183
|
+
return _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGisUtilities.validateSource(url, this.formatId, ["map"], userName, password, ignoreCache);
|
|
181917
182184
|
}
|
|
181918
182185
|
static createImageryProvider(settings) {
|
|
181919
182186
|
return new _internal__WEBPACK_IMPORTED_MODULE_0__.ArcGISMapLayerImageryProvider(settings);
|
|
@@ -181966,8 +182233,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
181966
182233
|
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
181967
182234
|
/* harmony import */ var _IModelApp__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../IModelApp */ "../../core/frontend/lib/esm/IModelApp.js");
|
|
181968
182235
|
/* 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");
|
|
182236
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
181971
182237
|
/*---------------------------------------------------------------------------------------------
|
|
181972
182238
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
181973
182239
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -181981,11 +182247,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
181981
182247
|
|
|
181982
182248
|
|
|
181983
182249
|
|
|
181984
|
-
|
|
182250
|
+
/** @internal */
|
|
181985
182251
|
const tileImageSize = 256, untiledImageSize = 256;
|
|
181986
182252
|
const earthRadius = 6378137;
|
|
181987
182253
|
const doDebugToolTips = false;
|
|
181988
|
-
/** @
|
|
182254
|
+
/** @beta */
|
|
181989
182255
|
var MapLayerImageryProviderStatus;
|
|
181990
182256
|
(function (MapLayerImageryProviderStatus) {
|
|
181991
182257
|
MapLayerImageryProviderStatus[MapLayerImageryProviderStatus["Valid"] = 0] = "Valid";
|
|
@@ -182001,26 +182267,35 @@ class MapLayerImageryProvider {
|
|
|
182001
182267
|
this._hasSuccessfullyFetchedTile = false;
|
|
182002
182268
|
this.status = MapLayerImageryProviderStatus.Valid;
|
|
182003
182269
|
this.onStatusChanged = new _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BeEvent();
|
|
182004
|
-
|
|
182005
|
-
this.
|
|
182006
|
-
|
|
182007
|
-
this._geographicTilingScheme = new
|
|
182270
|
+
/** @internal */
|
|
182271
|
+
this._mercatorTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.WebMercatorTilingScheme();
|
|
182272
|
+
/** @internal */
|
|
182273
|
+
this._geographicTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.GeographicTilingScheme();
|
|
182274
|
+
// Those values are used internally for various computation, this should not get overriden.
|
|
182275
|
+
/** @internal */
|
|
182276
|
+
this.defaultMinimumZoomLevel = 0;
|
|
182277
|
+
/** @internal */
|
|
182278
|
+
this.defaultMaximumZoomLevel = 22;
|
|
182279
|
+
this._mercatorTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.WebMercatorTilingScheme();
|
|
182280
|
+
this._geographicTilingScheme = new _internal__WEBPACK_IMPORTED_MODULE_5__.GeographicTilingScheme(2, 1, true);
|
|
182008
182281
|
}
|
|
182009
182282
|
get tileSize() { return this._usesCachedTiles ? tileImageSize : untiledImageSize; }
|
|
182010
182283
|
get maximumScreenSize() { return 2 * this.tileSize; }
|
|
182011
|
-
get minimumZoomLevel() { return
|
|
182012
|
-
get maximumZoomLevel() { return
|
|
182284
|
+
get minimumZoomLevel() { return this.defaultMinimumZoomLevel; }
|
|
182285
|
+
get maximumZoomLevel() { return this.defaultMaximumZoomLevel; }
|
|
182013
182286
|
get usesCachedTiles() { return this._usesCachedTiles; }
|
|
182014
182287
|
get mutualExclusiveSubLayer() { return false; }
|
|
182015
182288
|
get useGeographicTilingScheme() { return false; }
|
|
182289
|
+
/** @internal */
|
|
182016
182290
|
get _filterByCartoRange() { return true; }
|
|
182017
182291
|
async initialize() {
|
|
182018
|
-
this.loadTile(0, 0,
|
|
182292
|
+
this.loadTile(0, 0, this.defaultMaximumZoomLevel).then((tileData) => {
|
|
182019
182293
|
if (tileData !== undefined)
|
|
182020
182294
|
this._missingTileData = tileData.data;
|
|
182021
182295
|
});
|
|
182022
182296
|
}
|
|
182023
182297
|
get tilingScheme() { return this.useGeographicTilingScheme ? this._geographicTilingScheme : this._mercatorTilingScheme; }
|
|
182298
|
+
/** @internal */
|
|
182024
182299
|
addLogoCards(_cards, _viewport) { }
|
|
182025
182300
|
get transparentBackgroundString() { return this._settings.transparentBackground ? "true" : "false"; }
|
|
182026
182301
|
async _areChildrenAvailable(_tile) { return true; }
|
|
@@ -182048,41 +182323,51 @@ class MapLayerImageryProvider {
|
|
|
182048
182323
|
// default implementation; simply return an empty feature info
|
|
182049
182324
|
featureInfos.push({ layerName: this._settings.name });
|
|
182050
182325
|
}
|
|
182051
|
-
|
|
182052
|
-
|
|
182053
|
-
|
|
182054
|
-
|
|
182055
|
-
const byteArray = new Uint8Array(
|
|
182326
|
+
/** @internal */
|
|
182327
|
+
async getImageFromTileResponse(tileResponse, zoomLevel) {
|
|
182328
|
+
var _a;
|
|
182329
|
+
const arrayBuffer = await tileResponse.arrayBuffer();
|
|
182330
|
+
const byteArray = new Uint8Array(arrayBuffer);
|
|
182056
182331
|
if (!byteArray || (byteArray.length === 0))
|
|
182057
182332
|
return undefined;
|
|
182058
182333
|
if (this.matchesMissingTile(byteArray) && zoomLevel > 8)
|
|
182059
182334
|
return undefined;
|
|
182335
|
+
const contentType = (_a = tileResponse.headers.get("content-type")) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
|
182060
182336
|
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);
|
|
182337
|
+
if (contentType) {
|
|
182338
|
+
// Note: 'includes' is used here instead of exact comparison because we encountered
|
|
182339
|
+
// some servers that would give content type such as 'image/png;charset=UTF-8'.
|
|
182340
|
+
if (contentType.includes("image/jpeg"))
|
|
182341
|
+
imageFormat = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSourceFormat.Jpeg;
|
|
182342
|
+
else if (contentType.includes("image/png"))
|
|
182343
|
+
imageFormat = _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSourceFormat.Png;
|
|
182344
|
+
}
|
|
182345
|
+
if (imageFormat !== undefined)
|
|
182346
|
+
return new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ImageSource(byteArray, imageFormat);
|
|
182347
|
+
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(false, "Invalid tile content type");
|
|
182348
|
+
return undefined;
|
|
182075
182349
|
}
|
|
182350
|
+
/** @internal */
|
|
182076
182351
|
setStatus(status) {
|
|
182077
182352
|
if (this.status !== status) {
|
|
182078
182353
|
this.status = status;
|
|
182079
182354
|
this.onStatusChanged.raiseEvent(this);
|
|
182080
182355
|
}
|
|
182081
182356
|
}
|
|
182357
|
+
/** @internal */
|
|
182358
|
+
setRequestAuthorization(headers) {
|
|
182359
|
+
if (this._settings.userName && this._settings.password) {
|
|
182360
|
+
headers.set("Authorization", `Basic ${_itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Base64EncodedString.encode(`${this._settings.userName}:${this._settings.password}`)}`);
|
|
182361
|
+
}
|
|
182362
|
+
}
|
|
182363
|
+
/** @internal */
|
|
182082
182364
|
async makeTileRequest(url) {
|
|
182083
|
-
|
|
182084
|
-
|
|
182085
|
-
|
|
182365
|
+
let headers;
|
|
182366
|
+
if (this._settings.userName && this._settings.password) {
|
|
182367
|
+
headers = new Headers();
|
|
182368
|
+
this.setRequestAuthorization(headers);
|
|
182369
|
+
}
|
|
182370
|
+
return fetch(url, { method: "GET", headers });
|
|
182086
182371
|
}
|
|
182087
182372
|
async loadTile(row, column, zoomLevel) {
|
|
182088
182373
|
try {
|
|
@@ -182093,7 +182378,7 @@ class MapLayerImageryProvider {
|
|
|
182093
182378
|
if (!this._hasSuccessfullyFetchedTile) {
|
|
182094
182379
|
this._hasSuccessfullyFetchedTile = true;
|
|
182095
182380
|
}
|
|
182096
|
-
return this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
182381
|
+
return await this.getImageFromTileResponse(tileResponse, zoomLevel);
|
|
182097
182382
|
}
|
|
182098
182383
|
catch (error) {
|
|
182099
182384
|
if ((error === null || error === void 0 ? void 0 : error.status) === 401) {
|
|
@@ -182109,29 +182394,21 @@ class MapLayerImageryProvider {
|
|
|
182109
182394
|
return undefined;
|
|
182110
182395
|
}
|
|
182111
182396
|
}
|
|
182397
|
+
/** @internal */
|
|
182112
182398
|
async toolTipFromUrl(strings, url) {
|
|
182113
|
-
const
|
|
182114
|
-
|
|
182115
|
-
responseType: "text",
|
|
182116
|
-
auth: this.getRequestAuthorization(),
|
|
182117
|
-
}; // spell-checker: disable-line
|
|
182399
|
+
const headers = new Headers();
|
|
182400
|
+
this.setRequestAuthorization(headers);
|
|
182118
182401
|
try {
|
|
182119
|
-
const response = await (
|
|
182120
|
-
|
|
182121
|
-
|
|
182402
|
+
const response = await fetch(url, { method: "GET", headers });
|
|
182403
|
+
const text = await response.text();
|
|
182404
|
+
if (undefined !== text) {
|
|
182405
|
+
strings.push(text);
|
|
182122
182406
|
}
|
|
182123
182407
|
}
|
|
182124
182408
|
catch {
|
|
182125
182409
|
}
|
|
182126
182410
|
}
|
|
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
|
-
}
|
|
182411
|
+
/** @internal */
|
|
182135
182412
|
matchesMissingTile(tileData) {
|
|
182136
182413
|
if (!this._missingTileData)
|
|
182137
182414
|
return false;
|
|
@@ -182144,38 +182421,46 @@ class MapLayerImageryProvider {
|
|
|
182144
182421
|
}
|
|
182145
182422
|
return true;
|
|
182146
182423
|
}
|
|
182424
|
+
/** @internal */
|
|
182147
182425
|
// calculates the projected x cartesian coordinate in EPSG:3857from the longitude in EPSG:4326 (WGS84)
|
|
182148
182426
|
getEPSG3857X(longitude) {
|
|
182149
182427
|
return longitude * 20037508.34 / 180.0;
|
|
182150
182428
|
}
|
|
182429
|
+
/** @internal */
|
|
182151
182430
|
// calculates the projected y cartesian coordinate in EPSG:3857from the latitude in EPSG:4326 (WGS84)
|
|
182152
182431
|
getEPSG3857Y(latitude) {
|
|
182153
182432
|
const y = Math.log(Math.tan((90.0 + latitude) * Math.PI / 360.0)) / (Math.PI / 180.0);
|
|
182154
182433
|
return y * 20037508.34 / 180.0;
|
|
182155
182434
|
}
|
|
182435
|
+
/** @internal */
|
|
182156
182436
|
// calculates the longitude in EPSG:4326 (WGS84) from the projected x cartesian coordinate in EPSG:3857
|
|
182157
182437
|
getEPSG4326Lon(x3857) {
|
|
182158
182438
|
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Angle.radiansToDegrees(x3857 / earthRadius);
|
|
182159
182439
|
}
|
|
182440
|
+
/** @internal */
|
|
182160
182441
|
// calculates the latitude in EPSG:4326 (WGS84) from the projected y cartesian coordinate in EPSG:3857
|
|
182161
182442
|
getEPSG4326Lat(y3857) {
|
|
182162
182443
|
const y = 2 * Math.atan(Math.exp(y3857 / earthRadius)) - (Math.PI / 2);
|
|
182163
182444
|
return _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Angle.radiansToDegrees(y);
|
|
182164
182445
|
}
|
|
182446
|
+
/** @internal */
|
|
182165
182447
|
// Map tile providers like Bing and Mapbox allow the URL to be constructed directory from the zoom level and tile coordinates.
|
|
182166
182448
|
// However, WMS-based servers take a bounding box instead. This method can help get that bounding box from a tile.
|
|
182167
182449
|
getEPSG4326Extent(row, column, zoomLevel) {
|
|
182168
|
-
|
|
182169
|
-
|
|
182170
|
-
const
|
|
182450
|
+
// Shift left (this.tileSize << zoomLevel) overflow when using 512 pixels tile at higher resolution,
|
|
182451
|
+
// so use Math.pow instead (I assume the performance lost to be minimal)
|
|
182452
|
+
const mapSize = this.tileSize * Math.pow(2, zoomLevel);
|
|
182453
|
+
const leftGrid = this.tileSize * column;
|
|
182454
|
+
const topGrid = this.tileSize * row;
|
|
182171
182455
|
const longitudeLeft = 360 * ((leftGrid / mapSize) - 0.5);
|
|
182172
|
-
const y0 = 0.5 - ((topGrid +
|
|
182456
|
+
const y0 = 0.5 - ((topGrid + this.tileSize) / mapSize);
|
|
182173
182457
|
const latitudeBottom = 90.0 - 360.0 * Math.atan(Math.exp(-y0 * 2 * Math.PI)) / Math.PI;
|
|
182174
|
-
const longitudeRight = 360 * (((leftGrid +
|
|
182458
|
+
const longitudeRight = 360 * (((leftGrid + this.tileSize) / mapSize) - 0.5);
|
|
182175
182459
|
const y1 = 0.5 - (topGrid / mapSize);
|
|
182176
182460
|
const latitudeTop = 90.0 - 360.0 * Math.atan(Math.exp(-y1 * 2 * Math.PI)) / Math.PI;
|
|
182177
182461
|
return { longitudeLeft, longitudeRight, latitudeTop, latitudeBottom };
|
|
182178
182462
|
}
|
|
182463
|
+
/** @internal */
|
|
182179
182464
|
getEPSG3857Extent(row, column, zoomLevel) {
|
|
182180
182465
|
const epsg4326Extent = this.getEPSG4326Extent(row, column, zoomLevel);
|
|
182181
182466
|
const left = this.getEPSG3857X(epsg4326Extent.longitudeLeft);
|
|
@@ -182184,10 +182469,12 @@ class MapLayerImageryProvider {
|
|
|
182184
182469
|
const top = this.getEPSG3857Y(epsg4326Extent.latitudeTop);
|
|
182185
182470
|
return { left, right, bottom, top };
|
|
182186
182471
|
}
|
|
182472
|
+
/** @internal */
|
|
182187
182473
|
getEPSG3857ExtentString(row, column, zoomLevel) {
|
|
182188
182474
|
const tileExtent = this.getEPSG3857Extent(row, column, zoomLevel);
|
|
182189
182475
|
return `${tileExtent.left.toFixed(2)},${tileExtent.bottom.toFixed(2)},${tileExtent.right.toFixed(2)},${tileExtent.top.toFixed(2)}`;
|
|
182190
182476
|
}
|
|
182477
|
+
/** @internal */
|
|
182191
182478
|
getEPSG4326ExtentString(row, column, zoomLevel, latLongAxisOrdering) {
|
|
182192
182479
|
const tileExtent = this.getEPSG4326Extent(row, column, zoomLevel);
|
|
182193
182480
|
if (latLongAxisOrdering) {
|
|
@@ -182273,7 +182560,7 @@ class MapLayerSource {
|
|
|
182273
182560
|
return new MapLayerSource(json.formatId, json.name, json.url, json.baseMap, json.transparentBackground);
|
|
182274
182561
|
}
|
|
182275
182562
|
async validateSource(ignoreCache) {
|
|
182276
|
-
return _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.validateSource(this.formatId, this.url, this.
|
|
182563
|
+
return _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.validateSource(this.formatId, this.url, this.userName, this.password, ignoreCache);
|
|
182277
182564
|
}
|
|
182278
182565
|
/** @internal*/
|
|
182279
182566
|
static fromBackgroundMapProps(props) {
|
|
@@ -185150,7 +185437,10 @@ class WmsCapabilities {
|
|
|
185150
185437
|
if (!xmlCapabilities)
|
|
185151
185438
|
return undefined;
|
|
185152
185439
|
const capabilities = new WmsCapabilities(new (wms_capabilities__WEBPACK_IMPORTED_MODULE_1___default())().parse(xmlCapabilities));
|
|
185153
|
-
|
|
185440
|
+
if (!credentials) {
|
|
185441
|
+
// Avoid caching protected data
|
|
185442
|
+
WmsCapabilities._capabilitiesCache.set(url, capabilities);
|
|
185443
|
+
}
|
|
185154
185444
|
return capabilities;
|
|
185155
185445
|
}
|
|
185156
185446
|
getSubLayers(visible = true) {
|
|
@@ -278984,9 +279274,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
278984
279274
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
278985
279275
|
/* harmony export */ "ITwinLocalization": () => (/* binding */ ITwinLocalization)
|
|
278986
279276
|
/* 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.
|
|
279277
|
+
/* 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");
|
|
279278
|
+
/* 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");
|
|
279279
|
+
/* 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
279280
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
278991
279281
|
/*---------------------------------------------------------------------------------------------
|
|
278992
279282
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -304517,9 +304807,9 @@ var WidgetState;
|
|
|
304517
304807
|
|
|
304518
304808
|
/***/ }),
|
|
304519
304809
|
|
|
304520
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
304810
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/getFetch.cjs":
|
|
304521
304811
|
/*!**************************************************************************************************************************!*\
|
|
304522
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
304812
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/getFetch.cjs ***!
|
|
304523
304813
|
\**************************************************************************************************************************/
|
|
304524
304814
|
/***/ ((module, exports, __webpack_require__) => {
|
|
304525
304815
|
|
|
@@ -306149,9 +306439,9 @@ const gBase64 = {
|
|
|
306149
306439
|
|
|
306150
306440
|
/***/ }),
|
|
306151
306441
|
|
|
306152
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306442
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
|
|
306153
306443
|
/*!******************************************************************************************************************************!*\
|
|
306154
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306444
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
|
|
306155
306445
|
\******************************************************************************************************************************/
|
|
306156
306446
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306157
306447
|
|
|
@@ -306162,19 +306452,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306162
306452
|
/* harmony export */ });
|
|
306163
306453
|
function _arrayLikeToArray(arr, len) {
|
|
306164
306454
|
if (len == null || len > arr.length) len = arr.length;
|
|
306165
|
-
|
|
306166
306455
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
306167
306456
|
arr2[i] = arr[i];
|
|
306168
306457
|
}
|
|
306169
|
-
|
|
306170
306458
|
return arr2;
|
|
306171
306459
|
}
|
|
306172
306460
|
|
|
306173
306461
|
/***/ }),
|
|
306174
306462
|
|
|
306175
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306463
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
|
|
306176
306464
|
/*!****************************************************************************************************************************!*\
|
|
306177
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306465
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
|
|
306178
306466
|
\****************************************************************************************************************************/
|
|
306179
306467
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306180
306468
|
|
|
@@ -306189,9 +306477,9 @@ function _arrayWithHoles(arr) {
|
|
|
306189
306477
|
|
|
306190
306478
|
/***/ }),
|
|
306191
306479
|
|
|
306192
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306480
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
|
|
306193
306481
|
/*!***********************************************************************************************************************************!*\
|
|
306194
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306482
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
|
|
306195
306483
|
\***********************************************************************************************************************************/
|
|
306196
306484
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306197
306485
|
|
|
@@ -306204,15 +306492,14 @@ function _assertThisInitialized(self) {
|
|
|
306204
306492
|
if (self === void 0) {
|
|
306205
306493
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
306206
306494
|
}
|
|
306207
|
-
|
|
306208
306495
|
return self;
|
|
306209
306496
|
}
|
|
306210
306497
|
|
|
306211
306498
|
/***/ }),
|
|
306212
306499
|
|
|
306213
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306500
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
306214
306501
|
/*!****************************************************************************************************************************!*\
|
|
306215
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306502
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
306216
306503
|
\****************************************************************************************************************************/
|
|
306217
306504
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306218
306505
|
|
|
@@ -306229,9 +306516,9 @@ function _classCallCheck(instance, Constructor) {
|
|
|
306229
306516
|
|
|
306230
306517
|
/***/ }),
|
|
306231
306518
|
|
|
306232
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306519
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
306233
306520
|
/*!*************************************************************************************************************************!*\
|
|
306234
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306521
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
306235
306522
|
\*************************************************************************************************************************/
|
|
306236
306523
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306237
306524
|
|
|
@@ -306249,7 +306536,6 @@ function _defineProperties(target, props) {
|
|
|
306249
306536
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
306250
306537
|
}
|
|
306251
306538
|
}
|
|
306252
|
-
|
|
306253
306539
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
306254
306540
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
306255
306541
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
@@ -306261,9 +306547,9 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
306261
306547
|
|
|
306262
306548
|
/***/ }),
|
|
306263
306549
|
|
|
306264
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306550
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
|
|
306265
306551
|
/*!****************************************************************************************************************************!*\
|
|
306266
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306552
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
|
306267
306553
|
\****************************************************************************************************************************/
|
|
306268
306554
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306269
306555
|
|
|
@@ -306283,15 +306569,14 @@ function _defineProperty(obj, key, value) {
|
|
|
306283
306569
|
} else {
|
|
306284
306570
|
obj[key] = value;
|
|
306285
306571
|
}
|
|
306286
|
-
|
|
306287
306572
|
return obj;
|
|
306288
306573
|
}
|
|
306289
306574
|
|
|
306290
306575
|
/***/ }),
|
|
306291
306576
|
|
|
306292
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306577
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
|
|
306293
306578
|
/*!****************************************************************************************************************************!*\
|
|
306294
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306579
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
|
|
306295
306580
|
\****************************************************************************************************************************/
|
|
306296
306581
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306297
306582
|
|
|
@@ -306309,9 +306594,9 @@ function _getPrototypeOf(o) {
|
|
|
306309
306594
|
|
|
306310
306595
|
/***/ }),
|
|
306311
306596
|
|
|
306312
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306597
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/inherits.js":
|
|
306313
306598
|
/*!**********************************************************************************************************************!*\
|
|
306314
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306599
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
|
|
306315
306600
|
\**********************************************************************************************************************/
|
|
306316
306601
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306317
306602
|
|
|
@@ -306320,13 +306605,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306320
306605
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306321
306606
|
/* harmony export */ "default": () => (/* binding */ _inherits)
|
|
306322
306607
|
/* harmony export */ });
|
|
306323
|
-
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306608
|
+
/* 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
306609
|
|
|
306325
306610
|
function _inherits(subClass, superClass) {
|
|
306326
306611
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
306327
306612
|
throw new TypeError("Super expression must either be null or a function");
|
|
306328
306613
|
}
|
|
306329
|
-
|
|
306330
306614
|
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
306331
306615
|
constructor: {
|
|
306332
306616
|
value: subClass,
|
|
@@ -306342,9 +306626,9 @@ function _inherits(subClass, superClass) {
|
|
|
306342
306626
|
|
|
306343
306627
|
/***/ }),
|
|
306344
306628
|
|
|
306345
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306629
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
|
|
306346
306630
|
/*!*****************************************************************************************************************************!*\
|
|
306347
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306631
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
|
|
306348
306632
|
\*****************************************************************************************************************************/
|
|
306349
306633
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306350
306634
|
|
|
@@ -306359,9 +306643,9 @@ function _iterableToArray(iter) {
|
|
|
306359
306643
|
|
|
306360
306644
|
/***/ }),
|
|
306361
306645
|
|
|
306362
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306646
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
|
|
306363
306647
|
/*!*****************************************************************************************************************************!*\
|
|
306364
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306648
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
|
|
306365
306649
|
\*****************************************************************************************************************************/
|
|
306366
306650
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306367
306651
|
|
|
@@ -306376,9 +306660,9 @@ function _nonIterableRest() {
|
|
|
306376
306660
|
|
|
306377
306661
|
/***/ }),
|
|
306378
306662
|
|
|
306379
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306663
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
|
|
306380
306664
|
/*!***************************************************************************************************************************************!*\
|
|
306381
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306665
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
|
|
306382
306666
|
\***************************************************************************************************************************************/
|
|
306383
306667
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306384
306668
|
|
|
@@ -306387,8 +306671,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306387
306671
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306388
306672
|
/* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
|
|
306389
306673
|
/* 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.
|
|
306674
|
+
/* 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");
|
|
306675
|
+
/* 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
306676
|
|
|
306393
306677
|
|
|
306394
306678
|
function _possibleConstructorReturn(self, call) {
|
|
@@ -306397,15 +306681,14 @@ function _possibleConstructorReturn(self, call) {
|
|
|
306397
306681
|
} else if (call !== void 0) {
|
|
306398
306682
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
306399
306683
|
}
|
|
306400
|
-
|
|
306401
306684
|
return (0,_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__["default"])(self);
|
|
306402
306685
|
}
|
|
306403
306686
|
|
|
306404
306687
|
/***/ }),
|
|
306405
306688
|
|
|
306406
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306689
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
|
|
306407
306690
|
/*!****************************************************************************************************************************!*\
|
|
306408
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306691
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
|
306409
306692
|
\****************************************************************************************************************************/
|
|
306410
306693
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306411
306694
|
|
|
@@ -306424,9 +306707,9 @@ function _setPrototypeOf(o, p) {
|
|
|
306424
306707
|
|
|
306425
306708
|
/***/ }),
|
|
306426
306709
|
|
|
306427
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306710
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/toArray.js":
|
|
306428
306711
|
/*!*********************************************************************************************************************!*\
|
|
306429
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306712
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
|
|
306430
306713
|
\*********************************************************************************************************************/
|
|
306431
306714
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306432
306715
|
|
|
@@ -306435,10 +306718,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306435
306718
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306436
306719
|
/* harmony export */ "default": () => (/* binding */ _toArray)
|
|
306437
306720
|
/* 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.
|
|
306721
|
+
/* 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");
|
|
306722
|
+
/* 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");
|
|
306723
|
+
/* 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");
|
|
306724
|
+
/* 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
306725
|
|
|
306443
306726
|
|
|
306444
306727
|
|
|
@@ -306449,9 +306732,9 @@ function _toArray(arr) {
|
|
|
306449
306732
|
|
|
306450
306733
|
/***/ }),
|
|
306451
306734
|
|
|
306452
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306735
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
306453
306736
|
/*!********************************************************************************************************************!*\
|
|
306454
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306737
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
306455
306738
|
\********************************************************************************************************************/
|
|
306456
306739
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306457
306740
|
|
|
@@ -306472,9 +306755,9 @@ function _typeof(obj) {
|
|
|
306472
306755
|
|
|
306473
306756
|
/***/ }),
|
|
306474
306757
|
|
|
306475
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306758
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
|
|
306476
306759
|
/*!****************************************************************************************************************************************!*\
|
|
306477
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306760
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.0/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
|
|
306478
306761
|
\****************************************************************************************************************************************/
|
|
306479
306762
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306480
306763
|
|
|
@@ -306483,7 +306766,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306483
306766
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306484
306767
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
|
306485
306768
|
/* harmony export */ });
|
|
306486
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
306769
|
+
/* 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
306770
|
|
|
306488
306771
|
function _unsupportedIterableToArray(o, minLen) {
|
|
306489
306772
|
if (!o) return;
|
|
@@ -306496,9 +306779,9 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
306496
306779
|
|
|
306497
306780
|
/***/ }),
|
|
306498
306781
|
|
|
306499
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306782
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/index.js":
|
|
306500
306783
|
/*!**********************************************************************************************************************!*\
|
|
306501
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306784
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/index.js ***!
|
|
306502
306785
|
\**********************************************************************************************************************/
|
|
306503
306786
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306504
306787
|
|
|
@@ -306507,19 +306790,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306507
306790
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306508
306791
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
306509
306792
|
/* 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.
|
|
306793
|
+
/* 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");
|
|
306794
|
+
/* 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
306795
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
306513
|
-
|
|
306514
306796
|
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
306797
|
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
306798
|
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
306799
|
|
|
306520
306800
|
|
|
306521
|
-
|
|
306522
|
-
|
|
306523
306801
|
var getDefaults = function getDefaults() {
|
|
306524
306802
|
return {
|
|
306525
306803
|
loadPath: '/locales/{{lng}}/{{ns}}.json',
|
|
@@ -306546,32 +306824,26 @@ var getDefaults = function getDefaults() {
|
|
|
306546
306824
|
}
|
|
306547
306825
|
};
|
|
306548
306826
|
};
|
|
306549
|
-
|
|
306550
306827
|
var Backend = function () {
|
|
306551
306828
|
function Backend(services) {
|
|
306552
306829
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
306553
306830
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
306554
|
-
|
|
306555
306831
|
_classCallCheck(this, Backend);
|
|
306556
|
-
|
|
306557
306832
|
this.services = services;
|
|
306558
306833
|
this.options = options;
|
|
306559
306834
|
this.allOptions = allOptions;
|
|
306560
306835
|
this.type = 'backend';
|
|
306561
306836
|
this.init(services, options, allOptions);
|
|
306562
306837
|
}
|
|
306563
|
-
|
|
306564
306838
|
_createClass(Backend, [{
|
|
306565
306839
|
key: "init",
|
|
306566
306840
|
value: function init(services) {
|
|
306567
306841
|
var _this = this;
|
|
306568
|
-
|
|
306569
306842
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
306570
306843
|
var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
306571
306844
|
this.services = services;
|
|
306572
306845
|
this.options = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.defaults)(options, this.options || {}, getDefaults());
|
|
306573
306846
|
this.allOptions = allOptions;
|
|
306574
|
-
|
|
306575
306847
|
if (this.services && this.options.reloadInterval) {
|
|
306576
306848
|
setInterval(function () {
|
|
306577
306849
|
return _this.reload();
|
|
@@ -306592,22 +306864,17 @@ var Backend = function () {
|
|
|
306592
306864
|
key: "_readAny",
|
|
306593
306865
|
value: function _readAny(languages, loadUrlLanguages, namespaces, loadUrlNamespaces, callback) {
|
|
306594
306866
|
var _this2 = this;
|
|
306595
|
-
|
|
306596
306867
|
var loadPath = this.options.loadPath;
|
|
306597
|
-
|
|
306598
306868
|
if (typeof this.options.loadPath === 'function') {
|
|
306599
306869
|
loadPath = this.options.loadPath(languages, namespaces);
|
|
306600
306870
|
}
|
|
306601
|
-
|
|
306602
306871
|
loadPath = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.makePromise)(loadPath);
|
|
306603
306872
|
loadPath.then(function (resolvedLoadPath) {
|
|
306604
306873
|
if (!resolvedLoadPath) return callback(null, {});
|
|
306605
|
-
|
|
306606
306874
|
var url = _this2.services.interpolator.interpolate(resolvedLoadPath, {
|
|
306607
306875
|
lng: languages.join('+'),
|
|
306608
306876
|
ns: namespaces.join('+')
|
|
306609
306877
|
});
|
|
306610
|
-
|
|
306611
306878
|
_this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
|
|
306612
306879
|
});
|
|
306613
306880
|
}
|
|
@@ -306615,14 +306882,12 @@ var Backend = function () {
|
|
|
306615
306882
|
key: "loadUrl",
|
|
306616
306883
|
value: function loadUrl(url, callback, languages, namespaces) {
|
|
306617
306884
|
var _this3 = this;
|
|
306618
|
-
|
|
306619
306885
|
this.options.request(this.options, url, undefined, function (err, res) {
|
|
306620
306886
|
if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' + url + '; status code: ' + res.status, true);
|
|
306621
306887
|
if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' + url + '; status code: ' + res.status, false);
|
|
306622
306888
|
if (!res && err && err.message && err.message.indexOf('Failed to fetch') > -1) return callback('failed loading ' + url + ': ' + err.message, true);
|
|
306623
306889
|
if (err) return callback(err, false);
|
|
306624
306890
|
var ret, parseErr;
|
|
306625
|
-
|
|
306626
306891
|
try {
|
|
306627
306892
|
if (typeof res.data === 'string') {
|
|
306628
306893
|
ret = _this3.options.parse(res.data, languages, namespaces);
|
|
@@ -306632,7 +306897,6 @@ var Backend = function () {
|
|
|
306632
306897
|
} catch (e) {
|
|
306633
306898
|
parseErr = 'failed parsing ' + url + ' to json';
|
|
306634
306899
|
}
|
|
306635
|
-
|
|
306636
306900
|
if (parseErr) return callback(parseErr, false);
|
|
306637
306901
|
callback(null, ret);
|
|
306638
306902
|
});
|
|
@@ -306641,7 +306905,6 @@ var Backend = function () {
|
|
|
306641
306905
|
key: "create",
|
|
306642
306906
|
value: function create(languages, namespace, key, fallbackValue, callback) {
|
|
306643
306907
|
var _this4 = this;
|
|
306644
|
-
|
|
306645
306908
|
if (!this.options.addPath) return;
|
|
306646
306909
|
if (typeof languages === 'string') languages = [languages];
|
|
306647
306910
|
var payload = this.options.parsePayload(namespace, key, fallbackValue);
|
|
@@ -306650,21 +306913,17 @@ var Backend = function () {
|
|
|
306650
306913
|
var resArray = [];
|
|
306651
306914
|
languages.forEach(function (lng) {
|
|
306652
306915
|
var addPath = _this4.options.addPath;
|
|
306653
|
-
|
|
306654
306916
|
if (typeof _this4.options.addPath === 'function') {
|
|
306655
306917
|
addPath = _this4.options.addPath(lng, namespace);
|
|
306656
306918
|
}
|
|
306657
|
-
|
|
306658
306919
|
var url = _this4.services.interpolator.interpolate(addPath, {
|
|
306659
306920
|
lng: lng,
|
|
306660
306921
|
ns: namespace
|
|
306661
306922
|
});
|
|
306662
|
-
|
|
306663
306923
|
_this4.options.request(_this4.options, url, payload, function (data, res) {
|
|
306664
306924
|
finished += 1;
|
|
306665
306925
|
dataArray.push(data);
|
|
306666
306926
|
resArray.push(res);
|
|
306667
|
-
|
|
306668
306927
|
if (finished === languages.length) {
|
|
306669
306928
|
if (callback) callback(dataArray, resArray);
|
|
306670
306929
|
}
|
|
@@ -306675,22 +306934,20 @@ var Backend = function () {
|
|
|
306675
306934
|
key: "reload",
|
|
306676
306935
|
value: function reload() {
|
|
306677
306936
|
var _this5 = this;
|
|
306678
|
-
|
|
306679
306937
|
var _this$services = this.services,
|
|
306680
|
-
|
|
306681
|
-
|
|
306682
|
-
|
|
306938
|
+
backendConnector = _this$services.backendConnector,
|
|
306939
|
+
languageUtils = _this$services.languageUtils,
|
|
306940
|
+
logger = _this$services.logger;
|
|
306683
306941
|
var currentLanguage = backendConnector.language;
|
|
306684
306942
|
if (currentLanguage && currentLanguage.toLowerCase() === 'cimode') return;
|
|
306685
|
-
var toLoad = [];
|
|
306686
306943
|
|
|
306944
|
+
var toLoad = [];
|
|
306687
306945
|
var append = function append(lng) {
|
|
306688
306946
|
var lngs = languageUtils.toResolveHierarchy(lng);
|
|
306689
306947
|
lngs.forEach(function (l) {
|
|
306690
306948
|
if (toLoad.indexOf(l) < 0) toLoad.push(l);
|
|
306691
306949
|
});
|
|
306692
306950
|
};
|
|
306693
|
-
|
|
306694
306951
|
append(currentLanguage);
|
|
306695
306952
|
if (this.allOptions.preload) this.allOptions.preload.forEach(function (l) {
|
|
306696
306953
|
return append(l);
|
|
@@ -306706,18 +306963,16 @@ var Backend = function () {
|
|
|
306706
306963
|
});
|
|
306707
306964
|
}
|
|
306708
306965
|
}]);
|
|
306709
|
-
|
|
306710
306966
|
return Backend;
|
|
306711
306967
|
}();
|
|
306712
|
-
|
|
306713
306968
|
Backend.type = 'backend';
|
|
306714
306969
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Backend);
|
|
306715
306970
|
|
|
306716
306971
|
/***/ }),
|
|
306717
306972
|
|
|
306718
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306973
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/request.js":
|
|
306719
306974
|
/*!************************************************************************************************************************!*\
|
|
306720
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
306975
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/request.js ***!
|
|
306721
306976
|
\************************************************************************************************************************/
|
|
306722
306977
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306723
306978
|
|
|
@@ -306727,14 +306982,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306727
306982
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
306728
306983
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
306729
306984
|
/* 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.
|
|
306985
|
+
/* 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");
|
|
306986
|
+
/* 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
306987
|
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
306988
|
|
|
306734
306989
|
|
|
306735
|
-
|
|
306736
306990
|
var fetchApi;
|
|
306737
|
-
|
|
306738
306991
|
if (typeof fetch === 'function') {
|
|
306739
306992
|
if (typeof global !== 'undefined' && global.fetch) {
|
|
306740
306993
|
fetchApi = global.fetch;
|
|
@@ -306744,9 +306997,7 @@ if (typeof fetch === 'function') {
|
|
|
306744
306997
|
fetchApi = fetch;
|
|
306745
306998
|
}
|
|
306746
306999
|
}
|
|
306747
|
-
|
|
306748
307000
|
var XmlHttpRequestApi;
|
|
306749
|
-
|
|
306750
307001
|
if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)()) {
|
|
306751
307002
|
if (typeof global !== 'undefined' && global.XMLHttpRequest) {
|
|
306752
307003
|
XmlHttpRequestApi = global.XMLHttpRequest;
|
|
@@ -306754,9 +307005,7 @@ if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)()) {
|
|
|
306754
307005
|
XmlHttpRequestApi = window.XMLHttpRequest;
|
|
306755
307006
|
}
|
|
306756
307007
|
}
|
|
306757
|
-
|
|
306758
307008
|
var ActiveXObjectApi;
|
|
306759
|
-
|
|
306760
307009
|
if (typeof ActiveXObject === 'function') {
|
|
306761
307010
|
if (typeof global !== 'undefined' && global.ActiveXObject) {
|
|
306762
307011
|
ActiveXObjectApi = global.ActiveXObject;
|
|
@@ -306764,25 +307013,19 @@ if (typeof ActiveXObject === 'function') {
|
|
|
306764
307013
|
ActiveXObjectApi = window.ActiveXObject;
|
|
306765
307014
|
}
|
|
306766
307015
|
}
|
|
306767
|
-
|
|
306768
307016
|
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
307017
|
if (typeof fetchApi !== 'function') fetchApi = undefined;
|
|
306770
|
-
|
|
306771
307018
|
var addQueryString = function addQueryString(url, params) {
|
|
306772
307019
|
if (params && _typeof(params) === 'object') {
|
|
306773
307020
|
var queryString = '';
|
|
306774
|
-
|
|
306775
307021
|
for (var paramName in params) {
|
|
306776
307022
|
queryString += '&' + encodeURIComponent(paramName) + '=' + encodeURIComponent(params[paramName]);
|
|
306777
307023
|
}
|
|
306778
|
-
|
|
306779
307024
|
if (!queryString) return url;
|
|
306780
307025
|
url = url + (url.indexOf('?') !== -1 ? '&' : '?') + queryString.slice(1);
|
|
306781
307026
|
}
|
|
306782
|
-
|
|
306783
307027
|
return url;
|
|
306784
307028
|
};
|
|
306785
|
-
|
|
306786
307029
|
var fetchIt = function fetchIt(url, fetchOptions, callback) {
|
|
306787
307030
|
fetchApi(url, fetchOptions).then(function (response) {
|
|
306788
307031
|
if (!response.ok) return callback(response.statusText || 'Error', {
|
|
@@ -306796,14 +307039,12 @@ var fetchIt = function fetchIt(url, fetchOptions, callback) {
|
|
|
306796
307039
|
}).catch(callback);
|
|
306797
307040
|
}).catch(callback);
|
|
306798
307041
|
};
|
|
306799
|
-
|
|
306800
307042
|
var omitFetchOptions = false;
|
|
306801
307043
|
|
|
306802
307044
|
var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
|
|
306803
307045
|
if (options.queryStringParams) {
|
|
306804
307046
|
url = addQueryString(url, options.queryStringParams);
|
|
306805
307047
|
}
|
|
306806
|
-
|
|
306807
307048
|
var headers = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.defaults)({}, typeof options.customHeaders === 'function' ? options.customHeaders() : options.customHeaders);
|
|
306808
307049
|
if (payload) headers['Content-Type'] = 'application/json';
|
|
306809
307050
|
var reqOptions = typeof options.requestOptions === 'function' ? options.requestOptions(payload) : options.requestOptions;
|
|
@@ -306812,14 +307053,12 @@ var requestWithFetch = function requestWithFetch(options, url, payload, callback
|
|
|
306812
307053
|
body: payload ? options.stringify(payload) : undefined,
|
|
306813
307054
|
headers: headers
|
|
306814
307055
|
}, omitFetchOptions ? {} : reqOptions);
|
|
306815
|
-
|
|
306816
307056
|
try {
|
|
306817
307057
|
fetchIt(url, fetchOptions, callback);
|
|
306818
307058
|
} catch (e) {
|
|
306819
307059
|
if (!reqOptions || Object.keys(reqOptions).length === 0 || !e.message || e.message.indexOf('not implemented') < 0) {
|
|
306820
307060
|
return callback(e);
|
|
306821
307061
|
}
|
|
306822
|
-
|
|
306823
307062
|
try {
|
|
306824
307063
|
Object.keys(reqOptions).forEach(function (opt) {
|
|
306825
307064
|
delete fetchOptions[opt];
|
|
@@ -306836,84 +307075,66 @@ var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url,
|
|
|
306836
307075
|
if (payload && _typeof(payload) === 'object') {
|
|
306837
307076
|
payload = addQueryString('', payload).slice(1);
|
|
306838
307077
|
}
|
|
306839
|
-
|
|
306840
307078
|
if (options.queryStringParams) {
|
|
306841
307079
|
url = addQueryString(url, options.queryStringParams);
|
|
306842
307080
|
}
|
|
306843
|
-
|
|
306844
307081
|
try {
|
|
306845
307082
|
var x;
|
|
306846
|
-
|
|
306847
307083
|
if (XmlHttpRequestApi) {
|
|
306848
307084
|
x = new XmlHttpRequestApi();
|
|
306849
307085
|
} else {
|
|
306850
307086
|
x = new ActiveXObjectApi('MSXML2.XMLHTTP.3.0');
|
|
306851
307087
|
}
|
|
306852
|
-
|
|
306853
307088
|
x.open(payload ? 'POST' : 'GET', url, 1);
|
|
306854
|
-
|
|
306855
307089
|
if (!options.crossDomain) {
|
|
306856
307090
|
x.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
|
|
306857
307091
|
}
|
|
306858
|
-
|
|
306859
307092
|
x.withCredentials = !!options.withCredentials;
|
|
306860
|
-
|
|
306861
307093
|
if (payload) {
|
|
306862
307094
|
x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
|
306863
307095
|
}
|
|
306864
|
-
|
|
306865
307096
|
if (x.overrideMimeType) {
|
|
306866
307097
|
x.overrideMimeType('application/json');
|
|
306867
307098
|
}
|
|
306868
|
-
|
|
306869
307099
|
var h = options.customHeaders;
|
|
306870
307100
|
h = typeof h === 'function' ? h() : h;
|
|
306871
|
-
|
|
306872
307101
|
if (h) {
|
|
306873
307102
|
for (var i in h) {
|
|
306874
307103
|
x.setRequestHeader(i, h[i]);
|
|
306875
307104
|
}
|
|
306876
307105
|
}
|
|
306877
|
-
|
|
306878
307106
|
x.onreadystatechange = function () {
|
|
306879
307107
|
x.readyState > 3 && callback(x.status >= 400 ? x.statusText : null, {
|
|
306880
307108
|
status: x.status,
|
|
306881
307109
|
data: x.responseText
|
|
306882
307110
|
});
|
|
306883
307111
|
};
|
|
306884
|
-
|
|
306885
307112
|
x.send(payload);
|
|
306886
307113
|
} catch (e) {
|
|
306887
307114
|
console && console.log(e);
|
|
306888
307115
|
}
|
|
306889
307116
|
};
|
|
306890
|
-
|
|
306891
307117
|
var request = function request(options, url, payload, callback) {
|
|
306892
307118
|
if (typeof payload === 'function') {
|
|
306893
307119
|
callback = payload;
|
|
306894
307120
|
payload = undefined;
|
|
306895
307121
|
}
|
|
306896
|
-
|
|
306897
307122
|
callback = callback || function () {};
|
|
306898
|
-
|
|
306899
307123
|
if (fetchApi) {
|
|
306900
307124
|
return requestWithFetch(options, url, payload, callback);
|
|
306901
307125
|
}
|
|
306902
|
-
|
|
306903
307126
|
if ((0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.hasXMLHttpRequest)() || typeof ActiveXObject === 'function') {
|
|
306904
307127
|
return requestWithXmlHttpRequest(options, url, payload, callback);
|
|
306905
307128
|
}
|
|
306906
|
-
|
|
306907
307129
|
callback(new Error('No fetch and no xhr implementation found!'));
|
|
306908
307130
|
};
|
|
306909
|
-
|
|
306910
307131
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (request);
|
|
306911
307132
|
|
|
306912
307133
|
/***/ }),
|
|
306913
307134
|
|
|
306914
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307135
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/utils.js":
|
|
306915
307136
|
/*!**********************************************************************************************************************!*\
|
|
306916
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.
|
|
307137
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/esm/utils.js ***!
|
|
306917
307138
|
\**********************************************************************************************************************/
|
|
306918
307139
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306919
307140
|
|
|
@@ -306925,7 +307146,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306925
307146
|
/* harmony export */ "makePromise": () => (/* binding */ makePromise)
|
|
306926
307147
|
/* harmony export */ });
|
|
306927
307148
|
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
307149
|
var arr = [];
|
|
306930
307150
|
var each = arr.forEach;
|
|
306931
307151
|
var slice = arr.slice;
|
|
@@ -306951,16 +307171,15 @@ function makePromise(maybePromise) {
|
|
|
306951
307171
|
if (isPromise(maybePromise)) {
|
|
306952
307172
|
return maybePromise;
|
|
306953
307173
|
}
|
|
306954
|
-
|
|
306955
307174
|
return Promise.resolve(maybePromise);
|
|
306956
307175
|
}
|
|
306957
307176
|
|
|
306958
307177
|
/***/ }),
|
|
306959
307178
|
|
|
306960
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
306961
|
-
|
|
306962
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next@21.
|
|
306963
|
-
|
|
307179
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/esm/i18next.js":
|
|
307180
|
+
/*!*****************************************************************************************************!*\
|
|
307181
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/esm/i18next.js ***!
|
|
307182
|
+
\*****************************************************************************************************/
|
|
306964
307183
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
306965
307184
|
|
|
306966
307185
|
"use strict";
|
|
@@ -306981,15 +307200,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
306981
307200
|
/* harmony export */ "t": () => (/* binding */ t),
|
|
306982
307201
|
/* harmony export */ "use": () => (/* binding */ use)
|
|
306983
307202
|
/* 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.
|
|
307203
|
+
/* 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");
|
|
307204
|
+
/* 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");
|
|
307205
|
+
/* 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");
|
|
307206
|
+
/* 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");
|
|
307207
|
+
/* 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");
|
|
307208
|
+
/* 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");
|
|
307209
|
+
/* 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");
|
|
307210
|
+
/* 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");
|
|
307211
|
+
/* 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
307212
|
|
|
306994
307213
|
|
|
306995
307214
|
|
|
@@ -308750,6 +308969,21 @@ function parseFormatStr(formatStr) {
|
|
|
308750
308969
|
};
|
|
308751
308970
|
}
|
|
308752
308971
|
|
|
308972
|
+
function createCachedFormatter(fn) {
|
|
308973
|
+
var cache = {};
|
|
308974
|
+
return function invokeFormatter(val, lng, options) {
|
|
308975
|
+
var key = lng + JSON.stringify(options);
|
|
308976
|
+
var formatter = cache[key];
|
|
308977
|
+
|
|
308978
|
+
if (!formatter) {
|
|
308979
|
+
formatter = fn(lng, options);
|
|
308980
|
+
cache[key] = formatter;
|
|
308981
|
+
}
|
|
308982
|
+
|
|
308983
|
+
return formatter(val);
|
|
308984
|
+
};
|
|
308985
|
+
}
|
|
308986
|
+
|
|
308753
308987
|
var Formatter = function () {
|
|
308754
308988
|
function Formatter() {
|
|
308755
308989
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -308759,23 +308993,38 @@ var Formatter = function () {
|
|
|
308759
308993
|
this.logger = baseLogger.create('formatter');
|
|
308760
308994
|
this.options = options;
|
|
308761
308995
|
this.formats = {
|
|
308762
|
-
number: function
|
|
308763
|
-
|
|
308764
|
-
|
|
308765
|
-
|
|
308766
|
-
|
|
308996
|
+
number: createCachedFormatter(function (lng, options) {
|
|
308997
|
+
var formatter = new Intl.NumberFormat(lng, options);
|
|
308998
|
+
return function (val) {
|
|
308999
|
+
return formatter.format(val);
|
|
309000
|
+
};
|
|
309001
|
+
}),
|
|
309002
|
+
currency: createCachedFormatter(function (lng, options) {
|
|
309003
|
+
var formatter = new Intl.NumberFormat(lng, _objectSpread$4(_objectSpread$4({}, options), {}, {
|
|
308767
309004
|
style: 'currency'
|
|
308768
|
-
}))
|
|
308769
|
-
|
|
308770
|
-
|
|
308771
|
-
|
|
308772
|
-
},
|
|
308773
|
-
|
|
308774
|
-
|
|
308775
|
-
|
|
308776
|
-
|
|
308777
|
-
|
|
308778
|
-
}
|
|
309005
|
+
}));
|
|
309006
|
+
return function (val) {
|
|
309007
|
+
return formatter.format(val);
|
|
309008
|
+
};
|
|
309009
|
+
}),
|
|
309010
|
+
datetime: createCachedFormatter(function (lng, options) {
|
|
309011
|
+
var formatter = new Intl.DateTimeFormat(lng, _objectSpread$4({}, options));
|
|
309012
|
+
return function (val) {
|
|
309013
|
+
return formatter.format(val);
|
|
309014
|
+
};
|
|
309015
|
+
}),
|
|
309016
|
+
relativetime: createCachedFormatter(function (lng, options) {
|
|
309017
|
+
var formatter = new Intl.RelativeTimeFormat(lng, _objectSpread$4({}, options));
|
|
309018
|
+
return function (val) {
|
|
309019
|
+
return formatter.format(val, options.range || 'day');
|
|
309020
|
+
};
|
|
309021
|
+
}),
|
|
309022
|
+
list: createCachedFormatter(function (lng, options) {
|
|
309023
|
+
var formatter = new Intl.ListFormat(lng, _objectSpread$4({}, options));
|
|
309024
|
+
return function (val) {
|
|
309025
|
+
return formatter.format(val);
|
|
309026
|
+
};
|
|
309027
|
+
})
|
|
308779
309028
|
};
|
|
308780
309029
|
this.init(options);
|
|
308781
309030
|
}
|
|
@@ -308794,6 +309043,11 @@ var Formatter = function () {
|
|
|
308794
309043
|
value: function add(name, fc) {
|
|
308795
309044
|
this.formats[name.toLowerCase().trim()] = fc;
|
|
308796
309045
|
}
|
|
309046
|
+
}, {
|
|
309047
|
+
key: "addCached",
|
|
309048
|
+
value: function addCached(name, fc) {
|
|
309049
|
+
this.formats[name.toLowerCase().trim()] = createCachedFormatter(fc);
|
|
309050
|
+
}
|
|
308797
309051
|
}, {
|
|
308798
309052
|
key: "format",
|
|
308799
309053
|
value: function format(value, _format, lng, options) {
|
|
@@ -309834,7 +310088,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
309834
310088
|
/***/ ((module) => {
|
|
309835
310089
|
|
|
309836
310090
|
"use strict";
|
|
309837
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.5.0-dev.
|
|
310091
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.5.0-dev.33","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.33","@itwin/core-bentley":"workspace:^3.5.0-dev.33","@itwin/core-common":"workspace:^3.5.0-dev.33","@itwin/core-geometry":"workspace:^3.5.0-dev.33","@itwin/core-orbitgt":"workspace:^3.5.0-dev.33","@itwin/core-quantity":"workspace:^3.5.0-dev.33","@itwin/webgl-compatibility":"workspace:^3.5.0-dev.33"},"//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
310092
|
|
|
309839
310093
|
/***/ })
|
|
309840
310094
|
|