@itwin/ecschema-rpcinterface-tests 3.4.0-dev.1 → 3.4.0-dev.14
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/{_c41d.bundled-tests.js → _c5fe.bundled-tests.js} +3 -3
- package/lib/dist/_c5fe.bundled-tests.js.map +1 -0
- package/lib/dist/bundled-tests.js +315 -244
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc.bundled-tests.js → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9.bundled-tests.js} +72 -72
- package/lib/dist/{vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc.bundled-tests.js.map → vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9.bundled-tests.js.map} +1 -1
- package/package.json +17 -18
- package/lib/dist/_c41d.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.2.
|
|
24
|
+
/***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.8/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
|
|
25
25
|
/*!********************************************************************************************************************!*\
|
|
26
|
-
!*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.
|
|
26
|
+
!*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.8/node_modules/@itwin/certa/lib/utils/CallbackUtils.js ***!
|
|
27
27
|
\********************************************************************************************************************/
|
|
28
28
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
29
29
|
|
|
@@ -2296,7 +2296,7 @@ exports.getAccessTokenFromBackend = exports.getTokenCallbackName = void 0;
|
|
|
2296
2296
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2297
2297
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
2298
2298
|
*--------------------------------------------------------------------------------------------*/
|
|
2299
|
-
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.
|
|
2299
|
+
const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.8/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
|
|
2300
2300
|
// Shared by both the frontend and backend side of the tests
|
|
2301
2301
|
exports.getTokenCallbackName = "getToken";
|
|
2302
2302
|
async function getAccessTokenFromBackend(user, oidcConfig) {
|
|
@@ -20899,9 +20899,9 @@ module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
|
20899
20899
|
|
|
20900
20900
|
/***/ }),
|
|
20901
20901
|
|
|
20902
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
20902
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
|
|
20903
20903
|
/*!****************************************************************************************************************************************************************************!*\
|
|
20904
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.
|
|
20904
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
|
|
20905
20905
|
\****************************************************************************************************************************************************************************/
|
|
20906
20906
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
20907
20907
|
|
|
@@ -20910,8 +20910,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20910
20910
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20911
20911
|
/* harmony export */ "default": () => (/* binding */ Browser)
|
|
20912
20912
|
/* harmony export */ });
|
|
20913
|
-
/* 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.18.
|
|
20914
|
-
/* 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.18.
|
|
20913
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
20914
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
20915
20915
|
|
|
20916
20916
|
|
|
20917
20917
|
|
|
@@ -20936,12 +20936,12 @@ var serializeCookie = function serializeCookie(name, val, options) {
|
|
|
20936
20936
|
var opt = options || {};
|
|
20937
20937
|
opt.path = opt.path || '/';
|
|
20938
20938
|
var value = encodeURIComponent(val);
|
|
20939
|
-
var str = name
|
|
20939
|
+
var str = "".concat(name, "=").concat(value);
|
|
20940
20940
|
|
|
20941
20941
|
if (opt.maxAge > 0) {
|
|
20942
20942
|
var maxAge = opt.maxAge - 0;
|
|
20943
|
-
if (isNaN(maxAge)) throw new Error('maxAge should be a Number');
|
|
20944
|
-
str +=
|
|
20943
|
+
if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');
|
|
20944
|
+
str += "; Max-Age=".concat(Math.floor(maxAge));
|
|
20945
20945
|
}
|
|
20946
20946
|
|
|
20947
20947
|
if (opt.domain) {
|
|
@@ -20949,7 +20949,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
|
|
|
20949
20949
|
throw new TypeError('option domain is invalid');
|
|
20950
20950
|
}
|
|
20951
20951
|
|
|
20952
|
-
str +=
|
|
20952
|
+
str += "; Domain=".concat(opt.domain);
|
|
20953
20953
|
}
|
|
20954
20954
|
|
|
20955
20955
|
if (opt.path) {
|
|
@@ -20957,7 +20957,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
|
|
|
20957
20957
|
throw new TypeError('option path is invalid');
|
|
20958
20958
|
}
|
|
20959
20959
|
|
|
20960
|
-
str +=
|
|
20960
|
+
str += "; Path=".concat(opt.path);
|
|
20961
20961
|
}
|
|
20962
20962
|
|
|
20963
20963
|
if (opt.expires) {
|
|
@@ -20965,7 +20965,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
|
|
|
20965
20965
|
throw new TypeError('option expires is invalid');
|
|
20966
20966
|
}
|
|
20967
20967
|
|
|
20968
|
-
str +=
|
|
20968
|
+
str += "; Expires=".concat(opt.expires.toUTCString());
|
|
20969
20969
|
}
|
|
20970
20970
|
|
|
20971
20971
|
if (opt.httpOnly) str += '; HttpOnly';
|
|
@@ -21015,7 +21015,7 @@ var cookie = {
|
|
|
21015
21015
|
document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);
|
|
21016
21016
|
},
|
|
21017
21017
|
read: function read(name) {
|
|
21018
|
-
var nameEQ = name
|
|
21018
|
+
var nameEQ = "".concat(name, "=");
|
|
21019
21019
|
var ca = document.cookie.split(';');
|
|
21020
21020
|
|
|
21021
21021
|
for (var i = 0; i < ca.length; i++) {
|
|
@@ -21225,21 +21225,16 @@ var path = {
|
|
|
21225
21225
|
var subdomain = {
|
|
21226
21226
|
name: 'subdomain',
|
|
21227
21227
|
lookup: function lookup(options) {
|
|
21228
|
-
|
|
21228
|
+
// If given get the subdomain index else 1
|
|
21229
|
+
var lookupFromSubdomainIndex = typeof options.lookupFromSubdomainIndex === 'number' ? options.lookupFromSubdomainIndex + 1 : 1; // get all matches if window.location. is existing
|
|
21230
|
+
// first item of match is the match itself and the second is the first group macht which sould be the first subdomain match
|
|
21231
|
+
// is the hostname no public domain get the or option of localhost
|
|
21229
21232
|
|
|
21230
|
-
|
|
21231
|
-
var language = window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);
|
|
21233
|
+
var language = typeof window !== 'undefined' && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i); // if there is no match (null) return undefined
|
|
21232
21234
|
|
|
21233
|
-
|
|
21234
|
-
if (typeof options.lookupFromSubdomainIndex === 'number') {
|
|
21235
|
-
found = language[options.lookupFromSubdomainIndex].replace('http://', '').replace('https://', '').replace('.', '');
|
|
21236
|
-
} else {
|
|
21237
|
-
found = language[0].replace('http://', '').replace('https://', '').replace('.', '');
|
|
21238
|
-
}
|
|
21239
|
-
}
|
|
21240
|
-
}
|
|
21235
|
+
if (!language) return undefined; // return the given group match
|
|
21241
21236
|
|
|
21242
|
-
return
|
|
21237
|
+
return language[lookupFromSubdomainIndex];
|
|
21243
21238
|
}
|
|
21244
21239
|
};
|
|
21245
21240
|
|
|
@@ -21252,8 +21247,8 @@ function getDefaults() {
|
|
|
21252
21247
|
lookupSessionStorage: 'i18nextLng',
|
|
21253
21248
|
// cache user language
|
|
21254
21249
|
caches: ['localStorage'],
|
|
21255
|
-
excludeCacheFor: ['cimode'] //cookieMinutes: 10,
|
|
21256
|
-
//cookieDomain: 'myDomain'
|
|
21250
|
+
excludeCacheFor: ['cimode'] // cookieMinutes: 10,
|
|
21251
|
+
// cookieDomain: 'myDomain'
|
|
21257
21252
|
|
|
21258
21253
|
};
|
|
21259
21254
|
}
|
|
@@ -21347,10 +21342,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21347
21342
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21348
21343
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
21349
21344
|
/* harmony export */ });
|
|
21350
|
-
/* 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.18.
|
|
21351
|
-
/* 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.18.
|
|
21352
|
-
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
21353
|
-
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
21345
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
21346
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
21347
|
+
/* harmony import */ var _babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
|
21348
|
+
/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
21354
21349
|
|
|
21355
21350
|
|
|
21356
21351
|
|
|
@@ -61160,7 +61155,7 @@ class StopWatch {
|
|
|
61160
61155
|
get current() { return BeDuration.fromMilliseconds(BeTimePoint.now().milliseconds - (!!this._start ? this._start.milliseconds : 0)); }
|
|
61161
61156
|
/** Get the elapsed time, in seconds, since start() on a running timer. */
|
|
61162
61157
|
get currentSeconds() { return this.current.seconds; }
|
|
61163
|
-
/** Get the elapsed time between start() and stop() on this timer. */
|
|
61158
|
+
/** Get the elapsed time between start() and stop() on this timer in milliseconds. */
|
|
61164
61159
|
get elapsed() { return BeDuration.fromMilliseconds((!!this._stop ? this._stop.milliseconds : BeTimePoint.now().milliseconds) - (!!this._start ? this._start.milliseconds : 0)); }
|
|
61165
61160
|
/** Get the elapsed time, in seconds, between start() and stop() on this timer. */
|
|
61166
61161
|
get elapsedSeconds() { return this.elapsed.seconds; }
|
|
@@ -61778,20 +61773,20 @@ var AmbientOcclusion;
|
|
|
61778
61773
|
static fromJSON(json) { return undefined !== json ? new Settings(json) : this.defaults; }
|
|
61779
61774
|
toJSON() {
|
|
61780
61775
|
return {
|
|
61781
|
-
bias: this.bias,
|
|
61782
|
-
zLengthCap: this.zLengthCap,
|
|
61783
|
-
maxDistance: this.maxDistance,
|
|
61784
|
-
intensity: this.intensity,
|
|
61785
|
-
texelStepSize: this.texelStepSize,
|
|
61786
|
-
blurDelta: this.blurDelta,
|
|
61787
|
-
blurSigma: this.blurSigma,
|
|
61788
|
-
blurTexelStepSize: this.blurTexelStepSize,
|
|
61776
|
+
bias: this.bias !== Settings._defaultBias ? this.bias : undefined,
|
|
61777
|
+
zLengthCap: this.zLengthCap !== Settings._defaultZLengthCap ? this.zLengthCap : undefined,
|
|
61778
|
+
maxDistance: this.maxDistance !== Settings._defaultMaxDistance ? this.maxDistance : undefined,
|
|
61779
|
+
intensity: this.intensity !== Settings._defaultIntensity ? this.intensity : undefined,
|
|
61780
|
+
texelStepSize: this.texelStepSize !== Settings._defaultTexelStepSize ? this.texelStepSize : undefined,
|
|
61781
|
+
blurDelta: this.blurDelta !== Settings._defaultBlurDelta ? this.blurDelta : undefined,
|
|
61782
|
+
blurSigma: this.blurSigma !== Settings._defaultBlurSigma ? this.blurSigma : undefined,
|
|
61783
|
+
blurTexelStepSize: this.blurTexelStepSize !== Settings._defaultBlurTexelStepSize ? this.blurTexelStepSize : undefined,
|
|
61789
61784
|
};
|
|
61790
61785
|
}
|
|
61791
61786
|
}
|
|
61792
61787
|
Settings._defaultBias = 0.25;
|
|
61793
61788
|
Settings._defaultZLengthCap = 0.0025;
|
|
61794
|
-
Settings._defaultMaxDistance =
|
|
61789
|
+
Settings._defaultMaxDistance = 10000.0;
|
|
61795
61790
|
Settings._defaultIntensity = 1.0;
|
|
61796
61791
|
Settings._defaultTexelStepSize = 1;
|
|
61797
61792
|
Settings._defaultBlurDelta = 1.0;
|
|
@@ -62945,7 +62940,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
62945
62940
|
* @module Codes
|
|
62946
62941
|
*/
|
|
62947
62942
|
|
|
62948
|
-
/**
|
|
62943
|
+
/**
|
|
62944
|
+
* A three-part structure containing information about the [Code]($docs/bis/guide/fundamentals/codes) of an Element
|
|
62949
62945
|
* @public
|
|
62950
62946
|
*/
|
|
62951
62947
|
class Code {
|
|
@@ -68596,13 +68592,21 @@ var Gradient;
|
|
|
68596
68592
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== imageBuffer);
|
|
68597
68593
|
return imageBuffer;
|
|
68598
68594
|
}
|
|
68599
|
-
/**
|
|
68595
|
+
/** Produces a bitmap image from this gradient.
|
|
68596
|
+
* @param width Width of the image
|
|
68597
|
+
* @param height Height of the image
|
|
68598
|
+
* @note If this gradient uses [[Gradient.Mode.Thematic]], then the width of the image will be 1 and the margin color will be included in the top and bottom rows.
|
|
68599
|
+
* @see [[produceImage]] for more customization.
|
|
68600
|
+
*/
|
|
68600
68601
|
getImage(width, height) {
|
|
68601
|
-
if (this.mode === Mode.Thematic)
|
|
68602
|
-
|
|
68603
|
-
|
|
68604
|
-
|
|
68605
|
-
|
|
68602
|
+
if (this.mode === Mode.Thematic)
|
|
68603
|
+
width = 1;
|
|
68604
|
+
return this.produceImage({ width, height, includeThematicMargin: true });
|
|
68605
|
+
}
|
|
68606
|
+
/** Produces a bitmap image from this gradient. */
|
|
68607
|
+
produceImage(args) {
|
|
68608
|
+
var _a;
|
|
68609
|
+
const { width, height, includeThematicMargin } = { ...args };
|
|
68606
68610
|
const thisAngle = (this.angle === undefined) ? 0 : this.angle.radians;
|
|
68607
68611
|
const cosA = Math.cos(thisAngle);
|
|
68608
68612
|
const sinA = Math.sin(thisAngle);
|
|
@@ -68708,14 +68712,11 @@ var Gradient;
|
|
|
68708
68712
|
break;
|
|
68709
68713
|
}
|
|
68710
68714
|
case Mode.Thematic: {
|
|
68711
|
-
|
|
68712
|
-
if (settings === undefined) {
|
|
68713
|
-
settings = _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.defaults;
|
|
68714
|
-
}
|
|
68715
|
+
const settings = (_a = this.thematicSettings) !== null && _a !== void 0 ? _a : _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.defaults;
|
|
68715
68716
|
for (let j = 0; j < height; j++) {
|
|
68716
68717
|
let f = 1 - j / height;
|
|
68717
68718
|
let color;
|
|
68718
|
-
if (f < _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin || f > _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentMax) {
|
|
68719
|
+
if (includeThematicMargin && (f < _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin || f > _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentMax)) {
|
|
68719
68720
|
color = settings.marginColor;
|
|
68720
68721
|
}
|
|
68721
68722
|
else {
|
|
@@ -86460,6 +86461,7 @@ class IpcWebSocketBackend extends IpcWebSocket {
|
|
|
86460
86461
|
constructor() {
|
|
86461
86462
|
super();
|
|
86462
86463
|
this._handlers = new Map();
|
|
86464
|
+
this._processingQueue = [];
|
|
86463
86465
|
IpcWebSocket.receivers.add(async (e, m) => this.dispatch(e, m));
|
|
86464
86466
|
}
|
|
86465
86467
|
send(channel, ...data) {
|
|
@@ -86473,22 +86475,35 @@ class IpcWebSocketBackend extends IpcWebSocket {
|
|
|
86473
86475
|
};
|
|
86474
86476
|
}
|
|
86475
86477
|
async dispatch(_evt, message) {
|
|
86476
|
-
if (message.type !== IpcWebSocketMessageType.Invoke
|
|
86478
|
+
if (message.type !== IpcWebSocketMessageType.Invoke)
|
|
86477
86479
|
return;
|
|
86478
|
-
|
|
86479
|
-
|
|
86480
|
+
this._processingQueue.push(message);
|
|
86481
|
+
await this.processMessages();
|
|
86482
|
+
}
|
|
86483
|
+
async processMessages() {
|
|
86484
|
+
if (this._processing || !this._processingQueue.length) {
|
|
86480
86485
|
return;
|
|
86481
|
-
|
|
86482
|
-
|
|
86483
|
-
|
|
86484
|
-
|
|
86485
|
-
|
|
86486
|
-
|
|
86487
|
-
|
|
86488
|
-
|
|
86489
|
-
|
|
86490
|
-
|
|
86491
|
-
|
|
86486
|
+
}
|
|
86487
|
+
const message = this._processingQueue.shift();
|
|
86488
|
+
if (message && message.method) {
|
|
86489
|
+
const handler = this._handlers.get(message.channel);
|
|
86490
|
+
if (handler) {
|
|
86491
|
+
this._processing = message;
|
|
86492
|
+
let args = message.data;
|
|
86493
|
+
if (typeof (args) === "undefined")
|
|
86494
|
+
args = [];
|
|
86495
|
+
const response = await handler({}, message.method, ...args);
|
|
86496
|
+
IpcWebSocket.transport.send({
|
|
86497
|
+
type: IpcWebSocketMessageType.Response,
|
|
86498
|
+
channel: message.channel,
|
|
86499
|
+
response: message.request,
|
|
86500
|
+
data: response,
|
|
86501
|
+
sequence: -1,
|
|
86502
|
+
});
|
|
86503
|
+
this._processing = undefined;
|
|
86504
|
+
}
|
|
86505
|
+
}
|
|
86506
|
+
await this.processMessages();
|
|
86492
86507
|
}
|
|
86493
86508
|
}
|
|
86494
86509
|
|
|
@@ -86783,6 +86798,7 @@ class IModelReadRpcInterface extends _RpcInterface__WEBPACK_IMPORTED_MODULE_2__.
|
|
|
86783
86798
|
===========================================================================================*/
|
|
86784
86799
|
async getConnectionProps(_iModelToken) { return this.forward(arguments); }
|
|
86785
86800
|
async queryRows(_iModelToken, _request) { return this.forward(arguments); }
|
|
86801
|
+
async querySubCategories(_iModelToken, _categoryIds) { return this.forward(arguments); }
|
|
86786
86802
|
async queryBlob(_iModelToken, _request) { return this.forward(arguments); }
|
|
86787
86803
|
async getModelProps(_iModelToken, _modelIds) { return this.forward(arguments); }
|
|
86788
86804
|
async queryModelRanges(_iModelToken, _modelIds) { return this.forward(arguments); }
|
|
@@ -86820,6 +86836,9 @@ IModelReadRpcInterface.interfaceVersion = "3.2.0";
|
|
|
86820
86836
|
__decorate([
|
|
86821
86837
|
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable)
|
|
86822
86838
|
], IModelReadRpcInterface.prototype, "getConnectionProps", null);
|
|
86839
|
+
__decorate([
|
|
86840
|
+
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable)
|
|
86841
|
+
], IModelReadRpcInterface.prototype, "querySubCategories", null);
|
|
86823
86842
|
__decorate([
|
|
86824
86843
|
_core_RpcOperation__WEBPACK_IMPORTED_MODULE_1__.RpcOperation.allowResponseCaching(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcResponseCacheControl.Immutable)
|
|
86825
86844
|
], IModelReadRpcInterface.prototype, "getModelProps", null);
|
|
@@ -112693,6 +112712,15 @@ class IModelConnection extends _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.I
|
|
|
112693
112712
|
};
|
|
112694
112713
|
return new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.ECSqlReader(executor, ecsql, params, config);
|
|
112695
112714
|
}
|
|
112715
|
+
/**
|
|
112716
|
+
* queries the BisCore.SubCategory table for the entries that are children of the passed categoryIds
|
|
112717
|
+
* @param compressedCategoryIds compressed category Ids
|
|
112718
|
+
* @returns array of SubCategoryResultRow
|
|
112719
|
+
* @internal
|
|
112720
|
+
*/
|
|
112721
|
+
async querySubCategories(compressedCategoryIds) {
|
|
112722
|
+
return _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.IModelReadRpcInterface.getClientForRouting(this.routingContext.token).querySubCategories(this.getRpcProps(), compressedCategoryIds);
|
|
112723
|
+
}
|
|
112696
112724
|
/** Execute a query and stream its results
|
|
112697
112725
|
* The result of the query is async iterator over the rows. The iterator will get next page automatically once rows in current page has been read.
|
|
112698
112726
|
* [ECSQL row]($docs/learning/ECSQLRowFormat).
|
|
@@ -115887,29 +115915,73 @@ class PerModelCategoryVisibilityOverrides extends _itwin_core_bentley__WEBPACK_I
|
|
|
115887
115915
|
else
|
|
115888
115916
|
return PerModelCategoryVisibility.Override.None;
|
|
115889
115917
|
}
|
|
115890
|
-
|
|
115918
|
+
/**
|
|
115919
|
+
* set the overrides for multiple perModelCategoryVisibility props, loading categoryIds from the iModel if necessary.
|
|
115920
|
+
* @see [[PerModelCategoryVisibility]]
|
|
115921
|
+
* @param perModelCategoryVisibility array of model category visibility overrides @see [[PerModelCategoryVisibility.Props]]
|
|
115922
|
+
* @param iModel Optional param iModel. If no iModel is provided, then the iModel associated with the viewport (used to construct this class) is used.
|
|
115923
|
+
* This optional iModel param is useful for apps which may show multiple iModels at once. Passing in an iModel ensures that the subcategories cache for the provided iModel
|
|
115924
|
+
* is populated as opposed to the iModel associated with the viewport which may or may not be an empty iModel.
|
|
115925
|
+
* @returns a promise that resolves once the overrides have been applied.
|
|
115926
|
+
*/
|
|
115927
|
+
async setOverrides(perModelCategoryVisibility, iModel) {
|
|
115928
|
+
let anyChanged = false;
|
|
115929
|
+
const catIdsToLoad = [];
|
|
115930
|
+
const iModelToUse = iModel ? iModel : this._vp.iModel;
|
|
115931
|
+
for (const override of perModelCategoryVisibility) {
|
|
115932
|
+
const modelId = override.modelId;
|
|
115933
|
+
// The caller may pass a single categoryId as a string, if we don't convert this to an array we will iterate
|
|
115934
|
+
// over each individual character of that string, which is not the desired behavior.
|
|
115935
|
+
const categoryIds = typeof override.categoryIds === "string" ? [override.categoryIds] : override.categoryIds;
|
|
115936
|
+
const visOverride = override.visOverride;
|
|
115937
|
+
for (const categoryId of categoryIds) {
|
|
115938
|
+
if (this.findAndUpdateOverrideInArray(modelId, categoryId, visOverride)) {
|
|
115939
|
+
anyChanged = true;
|
|
115940
|
+
if (PerModelCategoryVisibility.Override.None !== visOverride) {
|
|
115941
|
+
catIdsToLoad.push(categoryId);
|
|
115942
|
+
}
|
|
115943
|
+
}
|
|
115944
|
+
}
|
|
115945
|
+
}
|
|
115946
|
+
if (anyChanged) {
|
|
115947
|
+
this._vp.setViewedCategoriesPerModelChanged();
|
|
115948
|
+
if (catIdsToLoad.length !== 0) {
|
|
115949
|
+
this._vp.subcategories.push(iModelToUse.subcategories, catIdsToLoad, () => this._vp.setViewedCategoriesPerModelChanged());
|
|
115950
|
+
}
|
|
115951
|
+
}
|
|
115952
|
+
return;
|
|
115953
|
+
}
|
|
115954
|
+
/** Find and update the override in the array of overrides. If override not found, adds it to the array.
|
|
115955
|
+
* If the array was changed, returns true. */
|
|
115956
|
+
findAndUpdateOverrideInArray(modelId, categoryId, override) {
|
|
115891
115957
|
const ovr = this._scratch;
|
|
115958
|
+
ovr.reset(modelId, categoryId, false);
|
|
115959
|
+
let changed = false;
|
|
115960
|
+
const index = this.indexOf(ovr);
|
|
115961
|
+
if (-1 === index) {
|
|
115962
|
+
if (PerModelCategoryVisibility.Override.None !== override) {
|
|
115963
|
+
this.insert(new PerModelCategoryVisibilityOverride(modelId, categoryId, PerModelCategoryVisibility.Override.Show === override));
|
|
115964
|
+
changed = true;
|
|
115965
|
+
}
|
|
115966
|
+
}
|
|
115967
|
+
else {
|
|
115968
|
+
if (PerModelCategoryVisibility.Override.None === override) {
|
|
115969
|
+
this._array.splice(index, 1);
|
|
115970
|
+
changed = true;
|
|
115971
|
+
}
|
|
115972
|
+
else if (this._array[index].visible !== (PerModelCategoryVisibility.Override.Show === override)) {
|
|
115973
|
+
this._array[index].visible = (PerModelCategoryVisibility.Override.Show === override);
|
|
115974
|
+
changed = true;
|
|
115975
|
+
}
|
|
115976
|
+
}
|
|
115977
|
+
return changed;
|
|
115978
|
+
}
|
|
115979
|
+
setOverride(modelIds, categoryIds, override) {
|
|
115892
115980
|
let changed = false;
|
|
115893
115981
|
for (const modelId of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(modelIds)) {
|
|
115894
115982
|
for (const categoryId of _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.iterable(categoryIds)) {
|
|
115895
|
-
|
|
115896
|
-
|
|
115897
|
-
if (-1 === index) {
|
|
115898
|
-
if (PerModelCategoryVisibility.Override.None !== override) {
|
|
115899
|
-
this.insert(new PerModelCategoryVisibilityOverride(modelId, categoryId, PerModelCategoryVisibility.Override.Show === override));
|
|
115900
|
-
changed = true;
|
|
115901
|
-
}
|
|
115902
|
-
}
|
|
115903
|
-
else {
|
|
115904
|
-
if (PerModelCategoryVisibility.Override.None === override) {
|
|
115905
|
-
this._array.splice(index, 1);
|
|
115906
|
-
changed = true;
|
|
115907
|
-
}
|
|
115908
|
-
else if (this._array[index].visible !== (PerModelCategoryVisibility.Override.Show === override)) {
|
|
115909
|
-
this._array[index].visible = (PerModelCategoryVisibility.Override.Show === override);
|
|
115910
|
-
changed = true;
|
|
115911
|
-
}
|
|
115912
|
-
}
|
|
115983
|
+
if (this.findAndUpdateOverrideInArray(modelId, categoryId, override))
|
|
115984
|
+
changed = true;
|
|
115913
115985
|
}
|
|
115914
115986
|
}
|
|
115915
115987
|
if (changed) {
|
|
@@ -118529,29 +118601,6 @@ class SubCategoriesCache {
|
|
|
118529
118601
|
cancel: () => request.cancel(),
|
|
118530
118602
|
};
|
|
118531
118603
|
}
|
|
118532
|
-
/**
|
|
118533
|
-
* Populates the notLoadedCategoryIds property of the HydrateViewStateRequestProps.
|
|
118534
|
-
* notLoadedCategoryIds is a subset of categoryIds, filtering out any ids which already have an entry in the cache.
|
|
118535
|
-
*/
|
|
118536
|
-
preload(options, categoryIds) {
|
|
118537
|
-
const missing = this.getMissing(categoryIds);
|
|
118538
|
-
if (undefined === missing)
|
|
118539
|
-
return;
|
|
118540
|
-
this._missingAtTimeOfPreload = missing;
|
|
118541
|
-
options.notLoadedCategoryIds = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.CompressedId64Set.sortAndCompress(missing);
|
|
118542
|
-
}
|
|
118543
|
-
/**
|
|
118544
|
-
* Populates the SubCategoriesCache using the categoryIdsResult of the HydrateViewStateResponseProps
|
|
118545
|
-
*/
|
|
118546
|
-
postload(options) {
|
|
118547
|
-
if (options.categoryIdsResult === undefined)
|
|
118548
|
-
return;
|
|
118549
|
-
// missingAtTimeOfPreload shouldn't be undefined if options.categoryIdsResult is defined... but just to be safe we'll check
|
|
118550
|
-
const missing = this._missingAtTimeOfPreload === undefined ? new Set() : this._missingAtTimeOfPreload;
|
|
118551
|
-
this.processResults(options.categoryIdsResult, missing);
|
|
118552
|
-
// clear missing
|
|
118553
|
-
this._missingAtTimeOfPreload = undefined;
|
|
118554
|
-
}
|
|
118555
118604
|
/** Given categoryIds, return which of these are not cached. */
|
|
118556
118605
|
getMissing(categoryIds) {
|
|
118557
118606
|
let missing;
|
|
@@ -118633,38 +118682,38 @@ class SubCategoriesCache {
|
|
|
118633
118682
|
(function (SubCategoriesCache) {
|
|
118634
118683
|
class Request {
|
|
118635
118684
|
constructor(categoryIds, imodel, maxCategoriesPerQuery = 200) {
|
|
118636
|
-
this.
|
|
118685
|
+
this._categoryIds = [];
|
|
118637
118686
|
this._result = [];
|
|
118638
118687
|
this._canceled = false;
|
|
118639
|
-
this.
|
|
118688
|
+
this._curCategoryIdsIndex = 0;
|
|
118640
118689
|
this._imodel = imodel;
|
|
118641
118690
|
const catIds = [...categoryIds];
|
|
118691
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.OrderedId64Iterable.sortArray(catIds); // sort categories, so that given the same set of categoryIds we will always create the same batches.
|
|
118642
118692
|
while (catIds.length !== 0) {
|
|
118643
118693
|
const end = (catIds.length > maxCategoriesPerQuery) ? maxCategoriesPerQuery : catIds.length;
|
|
118644
|
-
const
|
|
118645
|
-
this.
|
|
118694
|
+
const compressedIds = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.CompressedId64Set.compressArray(catIds.splice(0, end));
|
|
118695
|
+
this._categoryIds.push(compressedIds);
|
|
118646
118696
|
}
|
|
118647
118697
|
}
|
|
118648
118698
|
get wasCanceled() { return this._canceled || this._imodel.isClosed; }
|
|
118649
118699
|
cancel() { this._canceled = true; }
|
|
118650
118700
|
async dispatch() {
|
|
118651
|
-
if (this.wasCanceled || this.
|
|
118701
|
+
if (this.wasCanceled || this._curCategoryIdsIndex >= this._categoryIds.length) // handle case of empty category Id set...
|
|
118652
118702
|
return undefined;
|
|
118653
118703
|
try {
|
|
118654
|
-
const
|
|
118655
|
-
|
|
118656
|
-
|
|
118657
|
-
|
|
118658
|
-
|
|
118659
|
-
}
|
|
118704
|
+
const catIds = this._categoryIds[this._curCategoryIdsIndex];
|
|
118705
|
+
const result = await this._imodel.querySubCategories(catIds);
|
|
118706
|
+
this._result.push(...result);
|
|
118707
|
+
if (this.wasCanceled)
|
|
118708
|
+
return undefined;
|
|
118660
118709
|
}
|
|
118661
118710
|
catch {
|
|
118662
118711
|
// ###TODO: detect cases in which retry is warranted
|
|
118663
118712
|
// Note that currently, if we succeed in obtaining some pages of results and fail to retrieve another page, we will end up processing the
|
|
118664
118713
|
// incomplete results. Since we're not retrying, that's the best we can do.
|
|
118665
118714
|
}
|
|
118666
|
-
// Finished with current
|
|
118667
|
-
if (++this.
|
|
118715
|
+
// Finished with current batch of categoryIds. Dispatch the next batch if one exists.
|
|
118716
|
+
if (++this._curCategoryIdsIndex < this._categoryIds.length) {
|
|
118668
118717
|
if (this.wasCanceled)
|
|
118669
118718
|
return undefined;
|
|
118670
118719
|
else
|
|
@@ -118739,7 +118788,7 @@ class SubCategoriesCache {
|
|
|
118739
118788
|
this._request.promise.then((completed) => {
|
|
118740
118789
|
if (this._disposed)
|
|
118741
118790
|
return;
|
|
118742
|
-
// Invoke all the functions which were awaiting this set of
|
|
118791
|
+
// Invoke all the functions which were awaiting this set of IModelConnection.Categories.
|
|
118743
118792
|
(0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== this._current);
|
|
118744
118793
|
if (completed)
|
|
118745
118794
|
for (const func of this._current.funcs)
|
|
@@ -121312,7 +121361,6 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
|
|
|
121312
121361
|
const acsId = this.getAuxiliaryCoordinateSystemId();
|
|
121313
121362
|
if (_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Id64.isValid(acsId))
|
|
121314
121363
|
hydrateRequest.acsId = acsId;
|
|
121315
|
-
this.iModel.subcategories.preload(hydrateRequest, this.categorySelector.categories);
|
|
121316
121364
|
}
|
|
121317
121365
|
/** Asynchronously load any required data for this ViewState from the backend.
|
|
121318
121366
|
* FINAL, No subclass should override load. If additional load behavior is needed, see preload and postload.
|
|
@@ -121327,15 +121375,16 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
|
|
|
121327
121375
|
const hydrateRequest = {};
|
|
121328
121376
|
this.preload(hydrateRequest);
|
|
121329
121377
|
const promises = [
|
|
121330
|
-
_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.IModelReadRpcInterface.getClientForRouting(this.iModel.routingContext.token).hydrateViewState(this.iModel.getRpcProps(), hydrateRequest)
|
|
121378
|
+
_itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.IModelReadRpcInterface.getClientForRouting(this.iModel.routingContext.token).hydrateViewState(this.iModel.getRpcProps(), hydrateRequest).
|
|
121379
|
+
then(async (hydrateResponse) => this.postload(hydrateResponse)),
|
|
121331
121380
|
this.displayStyle.load(),
|
|
121332
121381
|
];
|
|
121333
|
-
const
|
|
121334
|
-
|
|
121335
|
-
|
|
121382
|
+
const subcategories = this.iModel.subcategories.load(this.categorySelector.categories);
|
|
121383
|
+
if (undefined !== subcategories)
|
|
121384
|
+
promises.push(subcategories.promise.then((_) => { }));
|
|
121385
|
+
await Promise.all(promises);
|
|
121336
121386
|
}
|
|
121337
121387
|
async postload(hydrateResponse) {
|
|
121338
|
-
this.iModel.subcategories.postload(hydrateResponse);
|
|
121339
121388
|
if (hydrateResponse.acsElementProps)
|
|
121340
121389
|
this._auxCoordSystem = _AuxCoordSys__WEBPACK_IMPORTED_MODULE_3__.AuxCoordSystemState.fromProps(hydrateResponse.acsElementProps, this.iModel);
|
|
121341
121390
|
}
|
|
@@ -145823,8 +145872,6 @@ class RealityMeshGeometry extends _CachedGeometry__WEBPACK_IMPORTED_MODULE_7__.I
|
|
|
145823
145872
|
}
|
|
145824
145873
|
get techniqueId() { return 7 /* RealityMesh */; }
|
|
145825
145874
|
getPass(target) {
|
|
145826
|
-
if (target.isDrawingShadowMap)
|
|
145827
|
-
return "none";
|
|
145828
145875
|
if (this._baseIsTransparent || (target.wantThematicDisplay && target.uniforms.thematic.wantIsoLines))
|
|
145829
145876
|
return "translucent";
|
|
145830
145877
|
return "opaque";
|
|
@@ -151438,6 +151485,7 @@ class SolarShadowMap {
|
|
|
151438
151485
|
this.onGraphicsChanged(this._graphics);
|
|
151439
151486
|
}
|
|
151440
151487
|
update(context) {
|
|
151488
|
+
var _a;
|
|
151441
151489
|
this._isReady = false;
|
|
151442
151490
|
this.clearGraphics(false);
|
|
151443
151491
|
if (undefined === context || !context.viewport.view.isSpatialView()) {
|
|
@@ -151447,9 +151495,7 @@ class SolarShadowMap {
|
|
|
151447
151495
|
}
|
|
151448
151496
|
const view = context.viewport.view;
|
|
151449
151497
|
const style = view.getDisplayStyle3d();
|
|
151450
|
-
|
|
151451
|
-
if (undefined === sunDirection)
|
|
151452
|
-
sunDirection = defaultSunDirection;
|
|
151498
|
+
const sunDirection = (_a = style.sunDirection) !== null && _a !== void 0 ? _a : defaultSunDirection;
|
|
151453
151499
|
const minimumHorizonDirection = -.01;
|
|
151454
151500
|
if (sunDirection.z > minimumHorizonDirection) {
|
|
151455
151501
|
this.notifyGraphicsChanged();
|
|
@@ -151471,8 +151517,21 @@ class SolarShadowMap {
|
|
|
151471
151517
|
// Limit the map to only displayed models.
|
|
151472
151518
|
const viewTileRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range3d.createNull();
|
|
151473
151519
|
view.forEachTileTreeRef((ref) => {
|
|
151474
|
-
if (ref.castsShadows)
|
|
151475
|
-
ref.
|
|
151520
|
+
if (ref.castsShadows) {
|
|
151521
|
+
if (ref.isGlobal) {
|
|
151522
|
+
// A shadow-casting tile tree that spans the globe. Limit its range to the viewed extents.
|
|
151523
|
+
for (const p3 of viewFrustum.points) {
|
|
151524
|
+
const p4 = worldToMap.multiplyPoint3d(p3, 1);
|
|
151525
|
+
if (p4.w > 0.0001)
|
|
151526
|
+
viewTileRange.extendXYZW(p4.x, p4.y, p4.z, p4.w);
|
|
151527
|
+
else
|
|
151528
|
+
viewTileRange.high.z = Math.max(1.0, viewTileRange.high.z); // behind eye plane.
|
|
151529
|
+
}
|
|
151530
|
+
}
|
|
151531
|
+
else {
|
|
151532
|
+
ref.accumulateTransformedRange(viewTileRange, worldToMap, undefined);
|
|
151533
|
+
}
|
|
151534
|
+
}
|
|
151476
151535
|
});
|
|
151477
151536
|
if (!viewTileRange.isNull)
|
|
151478
151537
|
viewTileRange.clone(shadowRange);
|
|
@@ -152703,7 +152762,15 @@ class System extends _RenderSystem__WEBPACK_IMPORTED_MODULE_7__.RenderSystem {
|
|
|
152703
152762
|
}
|
|
152704
152763
|
/** Attempt to create a texture using gradient symbology. */
|
|
152705
152764
|
getGradientTexture(symb, iModel) {
|
|
152706
|
-
|
|
152765
|
+
let width = 0x100;
|
|
152766
|
+
let height = 0x100;
|
|
152767
|
+
if (symb.mode === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Gradient.Mode.Thematic) {
|
|
152768
|
+
// Pixels in each row are identical, no point in having width > 1.
|
|
152769
|
+
width = 1;
|
|
152770
|
+
// We want maximum height to minimize bleeding of margin color.
|
|
152771
|
+
height = this.maxTextureSize;
|
|
152772
|
+
}
|
|
152773
|
+
const source = symb.produceImage({ width, height, includeThematicMargin: true });
|
|
152707
152774
|
return this.createTexture({
|
|
152708
152775
|
image: {
|
|
152709
152776
|
source,
|
|
@@ -156985,7 +157052,7 @@ const computeAmbientOcclusion = `
|
|
|
156985
157052
|
float bias = u_hbaoSettings.x; // Represents an angle in radians. If the dot product between the normal of the sample and the vector to the camera is less than this value, sampling stops in the current direction. This is used to remove shadows from near planar edges.
|
|
156986
157053
|
float zLengthCap = u_hbaoSettings.y; // If the distance in linear Z from the current sample to first sample is greater than this value, sampling stops in the current direction.
|
|
156987
157054
|
float intensity = u_hbaoSettings.z; // Raise the final occlusion to the power of this value. Larger values make the ambient shadows darker.
|
|
156988
|
-
float texelStepSize = u_hbaoSettings.w; // Indicates the distance to step toward the next texel sample in the current direction.
|
|
157055
|
+
float texelStepSize = clamp(u_hbaoSettings.w * linearDepth, 1.0, u_hbaoSettings.w); // Indicates the distance to step toward the next texel sample in the current direction.
|
|
156989
157056
|
|
|
156990
157057
|
float tOcclusion = 0.0;
|
|
156991
157058
|
|
|
@@ -157030,6 +157097,9 @@ const computeAmbientOcclusion = `
|
|
|
157030
157097
|
tOcclusion += curOcclusion;
|
|
157031
157098
|
}
|
|
157032
157099
|
|
|
157100
|
+
float distanceFadeFactor = kFrustumType_Perspective == u_frustum.z ? 1.0 - pow(clamp(nonLinearDepth / u_maxDistance, 0.0, 1.0), 4.0) : 1.0;
|
|
157101
|
+
tOcclusion *= distanceFadeFactor;
|
|
157102
|
+
|
|
157033
157103
|
tOcclusion /= 4.0;
|
|
157034
157104
|
tOcclusion = 1.0 - clamp(tOcclusion, 0.0, 1.0);
|
|
157035
157105
|
tOcclusion = pow(tOcclusion, intensity);
|
|
@@ -166935,7 +167005,7 @@ class GltfReader {
|
|
|
166935
167005
|
if (dracoMeshes.length === 0)
|
|
166936
167006
|
return;
|
|
166937
167007
|
try {
|
|
166938
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
167008
|
+
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9"), __webpack_require__.e("_c5fe")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.7/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
166939
167009
|
await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
|
|
166940
167010
|
}
|
|
166941
167011
|
catch (err) {
|
|
@@ -170062,7 +170132,7 @@ function readPnts(stream, dataOffset, pnts) {
|
|
|
170062
170132
|
async function decodeDracoPointCloud(buf) {
|
|
170063
170133
|
var _a, _b, _c, _d, _e, _f;
|
|
170064
170134
|
try {
|
|
170065
|
-
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-
|
|
170135
|
+
const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_7_node_modules_loaders_gl_draco_di-a586d9"), __webpack_require__.e("_c5fe")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.7/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
|
|
170066
170136
|
const mesh = await dracoLoader.parse(buf, {});
|
|
170067
170137
|
if (mesh.topology !== "point-list")
|
|
170068
170138
|
return undefined;
|
|
@@ -172247,6 +172317,7 @@ class RealityTileTree extends _internal__WEBPACK_IMPORTED_MODULE_6__.TileTree {
|
|
|
172247
172317
|
const preloadDebugBuilder = (debugControl && debugControl.displayRealityTilePreload) ? args.context.createSceneGraphicBuilder() : undefined;
|
|
172248
172318
|
const graphicTypeBranches = new Map();
|
|
172249
172319
|
const selectedTiles = this.selectRealityTiles(args, displayedTileDescendants, preloadDebugBuilder);
|
|
172320
|
+
args.processSelectedTiles(selectedTiles);
|
|
172250
172321
|
let sortIndices;
|
|
172251
172322
|
if (!this.parentsAndChildrenExclusive) {
|
|
172252
172323
|
sortIndices = selectedTiles.map((_x, i) => i);
|
|
@@ -176507,28 +176578,6 @@ class ArcGisUtilities {
|
|
|
176507
176578
|
return undefined;
|
|
176508
176579
|
}
|
|
176509
176580
|
}
|
|
176510
|
-
static async getFootprintJson(url, credentials) {
|
|
176511
|
-
const cached = ArcGisUtilities._footprintCache.get(url);
|
|
176512
|
-
if (cached !== undefined)
|
|
176513
|
-
return cached;
|
|
176514
|
-
try {
|
|
176515
|
-
const tmpUrl = new URL(url);
|
|
176516
|
-
tmpUrl.searchParams.append("f", "json");
|
|
176517
|
-
tmpUrl.searchParams.append("option", "footprints");
|
|
176518
|
-
tmpUrl.searchParams.append("outSR", "4326");
|
|
176519
|
-
const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.getAccessClient("ArcGIS");
|
|
176520
|
-
if (accessClient) {
|
|
176521
|
-
await ArcGisUtilities.appendSecurityToken(tmpUrl, accessClient, { mapLayerUrl: new URL(url), userName: credentials === null || credentials === void 0 ? void 0 : credentials.user, password: credentials === null || credentials === void 0 ? void 0 : credentials.password });
|
|
176522
|
-
}
|
|
176523
|
-
const json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_1__.getJson)(tmpUrl.toString());
|
|
176524
|
-
ArcGisUtilities._footprintCache.set(url, json);
|
|
176525
|
-
return json;
|
|
176526
|
-
}
|
|
176527
|
-
catch (_error) {
|
|
176528
|
-
ArcGisUtilities._footprintCache.set(url, undefined);
|
|
176529
|
-
return undefined;
|
|
176530
|
-
}
|
|
176531
|
-
}
|
|
176532
176581
|
// return the appended access token if available.
|
|
176533
176582
|
static async appendSecurityToken(url, accessClient, accessTokenParams) {
|
|
176534
176583
|
// Append security token if available
|
|
@@ -176545,7 +176594,6 @@ class ArcGisUtilities {
|
|
|
176545
176594
|
}
|
|
176546
176595
|
}
|
|
176547
176596
|
ArcGisUtilities._serviceCache = new Map();
|
|
176548
|
-
ArcGisUtilities._footprintCache = new Map();
|
|
176549
176597
|
|
|
176550
176598
|
|
|
176551
176599
|
/***/ }),
|
|
@@ -177424,18 +177472,9 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
|
|
|
177424
177472
|
if (this._usesCachedTiles && this._tileMapSupported) {
|
|
177425
177473
|
this._tileMap = new _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGISTileMap(this._settings.url, (_d = (_c = json.tileInfo) === null || _c === void 0 ? void 0 : _c.lods) === null || _d === void 0 ? void 0 : _d.length);
|
|
177426
177474
|
}
|
|
177427
|
-
|
|
177428
|
-
if (
|
|
177429
|
-
|
|
177430
|
-
if (layer.layerDefinition && layer.layerDefinition.extent) {
|
|
177431
|
-
this.cartoRange = _internal__WEBPACK_IMPORTED_MODULE_4__.MapCartoRectangle.createFromDegrees(layer.layerDefinition.extent.xmin, layer.layerDefinition.extent.ymin, layer.layerDefinition.extent.xmax, layer.layerDefinition.extent.ymax);
|
|
177432
|
-
break;
|
|
177433
|
-
}
|
|
177434
|
-
}
|
|
177435
|
-
}
|
|
177436
|
-
// Sometimes footprint request doesnt work, fallback to dataset fullextent
|
|
177437
|
-
if (this.cartoRange === undefined && json.fullExtent) {
|
|
177438
|
-
if (json.fullExtent.spatialReference.latestWkid === 3857) {
|
|
177475
|
+
// Read range using fullextent from service metadata
|
|
177476
|
+
if (json.fullExtent) {
|
|
177477
|
+
if (json.fullExtent.spatialReference.latestWkid === 3857 || json.fullExtent.spatialReference.wkid === 102100) {
|
|
177439
177478
|
const range3857 = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_6__.Range2d.createFrom({
|
|
177440
177479
|
low: { x: json.fullExtent.xmin, y: json.fullExtent.ymin },
|
|
177441
177480
|
high: { x: json.fullExtent.xmax, y: json.fullExtent.ymax }
|
|
@@ -197362,17 +197401,17 @@ class BSplineCurve3dBase extends _curve_CurvePrimitive__WEBPACK_IMPORTED_MODULE_
|
|
|
197362
197401
|
* @returns Returns a CurveLocationDetail structure that holds the details of the close point.
|
|
197363
197402
|
*/
|
|
197364
197403
|
closestPoint(spacePoint, _extend) {
|
|
197404
|
+
// seed at start point -- final point comes with final bezier perpendicular step.
|
|
197365
197405
|
const point = this.fractionToPoint(0);
|
|
197366
197406
|
const result = _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.createCurveFractionPointDistance(this, 0.0, point, point.distance(spacePoint));
|
|
197367
|
-
this.fractionToPoint(1.0, point);
|
|
197368
|
-
result.updateIfCloserCurveFractionPointDistance(this, 1.0, point, spacePoint.distance(point));
|
|
197369
197407
|
let span;
|
|
197370
197408
|
const numSpans = this.numSpan;
|
|
197371
197409
|
for (let i = 0; i < numSpans; i++) {
|
|
197372
197410
|
if (this._bcurve.knots.isIndexOfRealSpan(i)) {
|
|
197373
197411
|
span = this.getSaturatedBezierSpan3dOr3dH(i, true, span);
|
|
197374
197412
|
if (span) {
|
|
197375
|
-
if
|
|
197413
|
+
// umm ... if the bspline is discontinuous, both ends should be tested. Ignore that possibility ...
|
|
197414
|
+
if (span.updateClosestPointByTruePerpendicular(spacePoint, result, false, true)) {
|
|
197376
197415
|
// the detail records the span bezier -- promote it to the parent curve . ..
|
|
197377
197416
|
result.curve = this;
|
|
197378
197417
|
result.fraction = span.fractionToParentFraction(result.fraction);
|
|
@@ -200822,7 +200861,7 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
|
|
|
200822
200861
|
* @param detail pre-allocated detail to record (evolving) closest point.
|
|
200823
200862
|
* @returns true if an updated occurred, false if either (a) no perpendicular projections or (b) perpendiculars were not closer.
|
|
200824
200863
|
*/
|
|
200825
|
-
updateClosestPointByTruePerpendicular(spacePoint, detail) {
|
|
200864
|
+
updateClosestPointByTruePerpendicular(spacePoint, detail, testAt0 = false, testAt1 = false) {
|
|
200826
200865
|
let numUpdates = 0;
|
|
200827
200866
|
let roots;
|
|
200828
200867
|
if (this.isUnitWeight()) {
|
|
@@ -200874,8 +200913,17 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
|
|
|
200874
200913
|
numUpdates += detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a) ? 1 : 0;
|
|
200875
200914
|
}
|
|
200876
200915
|
}
|
|
200916
|
+
if (testAt0)
|
|
200917
|
+
numUpdates += this.updateDetailAtFraction(detail, 0.0, spacePoint) ? 1 : 0;
|
|
200918
|
+
if (testAt1)
|
|
200919
|
+
numUpdates += this.updateDetailAtFraction(detail, 1.0, spacePoint) ? 1 : 0;
|
|
200877
200920
|
return numUpdates > 0;
|
|
200878
200921
|
}
|
|
200922
|
+
updateDetailAtFraction(detail, fraction, spacePoint) {
|
|
200923
|
+
const xyz = this.fractionToPoint(fraction);
|
|
200924
|
+
const a = xyz.distance(spacePoint);
|
|
200925
|
+
return detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a);
|
|
200926
|
+
}
|
|
200879
200927
|
/** Extend `rangeToExtend`, using candidate extrema at
|
|
200880
200928
|
* * both end points
|
|
200881
200929
|
* * any internal extrema in x,y,z
|
|
@@ -209572,6 +209620,7 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
|
|
|
209572
209620
|
const chainFraction = this.chainDistanceToChainFraction(chainDistance);
|
|
209573
209621
|
const chainDetail = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_7__.CurveLocationDetail.createCurveFractionPoint(this, chainFraction, childDetail.point);
|
|
209574
209622
|
chainDetail.childDetail = childDetail;
|
|
209623
|
+
chainDetail.a = childDetail.a;
|
|
209575
209624
|
return chainDetail;
|
|
209576
209625
|
}
|
|
209577
209626
|
return undefined;
|
|
@@ -252841,7 +252890,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
252841
252890
|
* * Circular or elliptical pipe cross sections can be specified by supplying either a radius, a pair of semi-axis lengths, or a full Arc3d.
|
|
252842
252891
|
* * For semi-axis length input, x corresponds to an ellipse local axis nominally situated parallel to the xy-plane.
|
|
252843
252892
|
* * The center of Arc3d input is translated to the centerline start point to act as initial cross section.
|
|
252844
|
-
* @param centerline centerline of pipe
|
|
252893
|
+
* @param centerline centerline of pipe. If curved, it will be stroked using the builder's StrokeOptions.
|
|
252845
252894
|
* @param sectionData circle radius, ellipse semi-axis lengths, or full Arc3d
|
|
252846
252895
|
* @param numFacetAround how many equal parameter-space chords around each section
|
|
252847
252896
|
*/
|
|
@@ -252860,7 +252909,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
|
|
|
252860
252909
|
}
|
|
252861
252910
|
else if (centerline instanceof _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_32__.GeometryQuery) {
|
|
252862
252911
|
const linestring = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
|
|
252863
|
-
centerline.emitStrokes(linestring);
|
|
252912
|
+
centerline.emitStrokes(linestring, this._options);
|
|
252864
252913
|
this.addMiteredPipesFromPoints(linestring.packedPoints, sectionData, numFacetAround);
|
|
252865
252914
|
}
|
|
252866
252915
|
}
|
|
@@ -263904,6 +263953,26 @@ class Sample {
|
|
|
263904
263953
|
}
|
|
263905
263954
|
return result;
|
|
263906
263955
|
}
|
|
263956
|
+
/** Create various orders of non-rational B-spline curves with helical poles */
|
|
263957
|
+
static createBsplineCurveHelices(radius, height, numTurns, numSamplesPerTurn) {
|
|
263958
|
+
const pts = [];
|
|
263959
|
+
const zDelta = (height / numTurns) / numSamplesPerTurn;
|
|
263960
|
+
const aDelta = 2 * Math.PI / numSamplesPerTurn;
|
|
263961
|
+
for (let iTurn = 0; iTurn < numTurns; ++iTurn) {
|
|
263962
|
+
for (let iSample = 0; iSample < numSamplesPerTurn; iSample++) {
|
|
263963
|
+
pts.push(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(radius * Math.cos(iSample * aDelta), radius * Math.sin(iSample * aDelta), pts.length * zDelta));
|
|
263964
|
+
}
|
|
263965
|
+
}
|
|
263966
|
+
const result = [];
|
|
263967
|
+
for (const order of [2, 3, 4, 9, 16, 25]) {
|
|
263968
|
+
if (order > pts.length)
|
|
263969
|
+
continue;
|
|
263970
|
+
const curve = _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_9__.BSplineCurve3d.createUniformKnots(pts, order);
|
|
263971
|
+
if (curve !== undefined)
|
|
263972
|
+
result.push(curve);
|
|
263973
|
+
}
|
|
263974
|
+
return result;
|
|
263975
|
+
}
|
|
263907
263976
|
/** Create weighted bsplines for circular arcs.
|
|
263908
263977
|
*/
|
|
263909
263978
|
static createBspline3dHArcs() {
|
|
@@ -274879,8 +274948,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
274879
274948
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
274880
274949
|
/* harmony export */ "ITwinLocalization": () => (/* binding */ ITwinLocalization)
|
|
274881
274950
|
/* harmony export */ });
|
|
274882
|
-
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
274883
|
-
/* 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.
|
|
274951
|
+
/* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.0/node_modules/i18next/dist/esm/i18next.js");
|
|
274952
|
+
/* 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.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js");
|
|
274884
274953
|
/* harmony import */ var i18next_xhr_backend__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! i18next-xhr-backend */ "../../common/temp/node_modules/.pnpm/i18next-xhr-backend@3.2.2/node_modules/i18next-xhr-backend/dist/esm/i18nextXHRBackend.js");
|
|
274885
274954
|
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
274886
274955
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -302001,9 +302070,9 @@ const gBase64 = {
|
|
|
302001
302070
|
|
|
302002
302071
|
/***/ }),
|
|
302003
302072
|
|
|
302004
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302073
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
|
|
302005
302074
|
/*!******************************************************************************************************************************!*\
|
|
302006
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302075
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
|
|
302007
302076
|
\******************************************************************************************************************************/
|
|
302008
302077
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302009
302078
|
|
|
@@ -302024,9 +302093,9 @@ function _arrayLikeToArray(arr, len) {
|
|
|
302024
302093
|
|
|
302025
302094
|
/***/ }),
|
|
302026
302095
|
|
|
302027
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302096
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
|
|
302028
302097
|
/*!****************************************************************************************************************************!*\
|
|
302029
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302098
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
|
|
302030
302099
|
\****************************************************************************************************************************/
|
|
302031
302100
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302032
302101
|
|
|
@@ -302041,9 +302110,9 @@ function _arrayWithHoles(arr) {
|
|
|
302041
302110
|
|
|
302042
302111
|
/***/ }),
|
|
302043
302112
|
|
|
302044
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302113
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
|
|
302045
302114
|
/*!***********************************************************************************************************************************!*\
|
|
302046
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302115
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
|
|
302047
302116
|
\***********************************************************************************************************************************/
|
|
302048
302117
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302049
302118
|
|
|
@@ -302062,9 +302131,9 @@ function _assertThisInitialized(self) {
|
|
|
302062
302131
|
|
|
302063
302132
|
/***/ }),
|
|
302064
302133
|
|
|
302065
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302134
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
302066
302135
|
/*!****************************************************************************************************************************!*\
|
|
302067
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302136
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
302068
302137
|
\****************************************************************************************************************************/
|
|
302069
302138
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302070
302139
|
|
|
@@ -302081,9 +302150,9 @@ function _classCallCheck(instance, Constructor) {
|
|
|
302081
302150
|
|
|
302082
302151
|
/***/ }),
|
|
302083
302152
|
|
|
302084
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302153
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
302085
302154
|
/*!*************************************************************************************************************************!*\
|
|
302086
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302155
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
302087
302156
|
\*************************************************************************************************************************/
|
|
302088
302157
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302089
302158
|
|
|
@@ -302113,9 +302182,9 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
302113
302182
|
|
|
302114
302183
|
/***/ }),
|
|
302115
302184
|
|
|
302116
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302185
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
|
|
302117
302186
|
/*!****************************************************************************************************************************!*\
|
|
302118
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302187
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
|
|
302119
302188
|
\****************************************************************************************************************************/
|
|
302120
302189
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302121
302190
|
|
|
@@ -302141,9 +302210,9 @@ function _defineProperty(obj, key, value) {
|
|
|
302141
302210
|
|
|
302142
302211
|
/***/ }),
|
|
302143
302212
|
|
|
302144
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302213
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
|
|
302145
302214
|
/*!****************************************************************************************************************************!*\
|
|
302146
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302215
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
|
|
302147
302216
|
\****************************************************************************************************************************/
|
|
302148
302217
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302149
302218
|
|
|
@@ -302161,9 +302230,9 @@ function _getPrototypeOf(o) {
|
|
|
302161
302230
|
|
|
302162
302231
|
/***/ }),
|
|
302163
302232
|
|
|
302164
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302233
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js":
|
|
302165
302234
|
/*!**********************************************************************************************************************!*\
|
|
302166
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302235
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
|
|
302167
302236
|
\**********************************************************************************************************************/
|
|
302168
302237
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302169
302238
|
|
|
@@ -302172,7 +302241,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302172
302241
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
302173
302242
|
/* harmony export */ "default": () => (/* binding */ _inherits)
|
|
302174
302243
|
/* harmony export */ });
|
|
302175
|
-
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302244
|
+
/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
|
|
302176
302245
|
|
|
302177
302246
|
function _inherits(subClass, superClass) {
|
|
302178
302247
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -302194,9 +302263,9 @@ function _inherits(subClass, superClass) {
|
|
|
302194
302263
|
|
|
302195
302264
|
/***/ }),
|
|
302196
302265
|
|
|
302197
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302266
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
|
|
302198
302267
|
/*!*****************************************************************************************************************************!*\
|
|
302199
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302268
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
|
|
302200
302269
|
\*****************************************************************************************************************************/
|
|
302201
302270
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302202
302271
|
|
|
@@ -302211,9 +302280,9 @@ function _iterableToArray(iter) {
|
|
|
302211
302280
|
|
|
302212
302281
|
/***/ }),
|
|
302213
302282
|
|
|
302214
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302283
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
|
|
302215
302284
|
/*!*****************************************************************************************************************************!*\
|
|
302216
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302285
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
|
|
302217
302286
|
\*****************************************************************************************************************************/
|
|
302218
302287
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302219
302288
|
|
|
@@ -302228,9 +302297,9 @@ function _nonIterableRest() {
|
|
|
302228
302297
|
|
|
302229
302298
|
/***/ }),
|
|
302230
302299
|
|
|
302231
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302300
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
|
|
302232
302301
|
/*!***************************************************************************************************************************************!*\
|
|
302233
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302302
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
|
|
302234
302303
|
\***************************************************************************************************************************************/
|
|
302235
302304
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302236
302305
|
|
|
@@ -302239,8 +302308,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302239
302308
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
302240
302309
|
/* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
|
|
302241
302310
|
/* harmony export */ });
|
|
302242
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302243
|
-
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302311
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
302312
|
+
/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
302244
302313
|
|
|
302245
302314
|
|
|
302246
302315
|
function _possibleConstructorReturn(self, call) {
|
|
@@ -302255,9 +302324,9 @@ function _possibleConstructorReturn(self, call) {
|
|
|
302255
302324
|
|
|
302256
302325
|
/***/ }),
|
|
302257
302326
|
|
|
302258
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302327
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
|
|
302259
302328
|
/*!****************************************************************************************************************************!*\
|
|
302260
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302329
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
|
|
302261
302330
|
\****************************************************************************************************************************/
|
|
302262
302331
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302263
302332
|
|
|
@@ -302276,9 +302345,9 @@ function _setPrototypeOf(o, p) {
|
|
|
302276
302345
|
|
|
302277
302346
|
/***/ }),
|
|
302278
302347
|
|
|
302279
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302348
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js":
|
|
302280
302349
|
/*!*********************************************************************************************************************!*\
|
|
302281
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302350
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
|
|
302282
302351
|
\*********************************************************************************************************************/
|
|
302283
302352
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302284
302353
|
|
|
@@ -302287,10 +302356,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302287
302356
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
302288
302357
|
/* harmony export */ "default": () => (/* binding */ _toArray)
|
|
302289
302358
|
/* harmony export */ });
|
|
302290
|
-
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302291
|
-
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302292
|
-
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302293
|
-
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302359
|
+
/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
|
|
302360
|
+
/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
|
|
302361
|
+
/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
|
|
302362
|
+
/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
|
|
302294
302363
|
|
|
302295
302364
|
|
|
302296
302365
|
|
|
@@ -302301,9 +302370,9 @@ function _toArray(arr) {
|
|
|
302301
302370
|
|
|
302302
302371
|
/***/ }),
|
|
302303
302372
|
|
|
302304
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302373
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
302305
302374
|
/*!********************************************************************************************************************!*\
|
|
302306
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302375
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
302307
302376
|
\********************************************************************************************************************/
|
|
302308
302377
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302309
302378
|
|
|
@@ -302324,9 +302393,9 @@ function _typeof(obj) {
|
|
|
302324
302393
|
|
|
302325
302394
|
/***/ }),
|
|
302326
302395
|
|
|
302327
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302396
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
|
|
302328
302397
|
/*!****************************************************************************************************************************************!*\
|
|
302329
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302398
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
|
|
302330
302399
|
\****************************************************************************************************************************************/
|
|
302331
302400
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302332
302401
|
|
|
@@ -302335,7 +302404,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302335
302404
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
302336
302405
|
/* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
|
|
302337
302406
|
/* harmony export */ });
|
|
302338
|
-
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.
|
|
302407
|
+
/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
|
|
302339
302408
|
|
|
302340
302409
|
function _unsupportedIterableToArray(o, minLen) {
|
|
302341
302410
|
if (!o) return;
|
|
@@ -302348,10 +302417,10 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
302348
302417
|
|
|
302349
302418
|
/***/ }),
|
|
302350
302419
|
|
|
302351
|
-
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.
|
|
302352
|
-
|
|
302353
|
-
!*** ../../common/temp/node_modules/.pnpm/i18next@21.
|
|
302354
|
-
|
|
302420
|
+
/***/ "../../common/temp/node_modules/.pnpm/i18next@21.9.0/node_modules/i18next/dist/esm/i18next.js":
|
|
302421
|
+
/*!****************************************************************************************************!*\
|
|
302422
|
+
!*** ../../common/temp/node_modules/.pnpm/i18next@21.9.0/node_modules/i18next/dist/esm/i18next.js ***!
|
|
302423
|
+
\****************************************************************************************************/
|
|
302355
302424
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
302356
302425
|
|
|
302357
302426
|
"use strict";
|
|
@@ -302372,15 +302441,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
302372
302441
|
/* harmony export */ "t": () => (/* binding */ t),
|
|
302373
302442
|
/* harmony export */ "use": () => (/* binding */ use)
|
|
302374
302443
|
/* harmony export */ });
|
|
302375
|
-
/* 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.18.
|
|
302376
|
-
/* 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.18.
|
|
302377
|
-
/* 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.18.
|
|
302378
|
-
/* 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.18.
|
|
302379
|
-
/* 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.18.
|
|
302380
|
-
/* 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.18.
|
|
302381
|
-
/* 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.18.
|
|
302382
|
-
/* 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.18.
|
|
302383
|
-
/* 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.18.
|
|
302444
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
302445
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
302446
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
302447
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
|
|
302448
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js");
|
|
302449
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
|
|
302450
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
|
|
302451
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
|
|
302452
|
+
/* 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.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js");
|
|
302384
302453
|
|
|
302385
302454
|
|
|
302386
302455
|
|
|
@@ -304252,6 +304321,8 @@ var Connector = function (_EventEmitter) {
|
|
|
304252
304321
|
_this.waitingReads = [];
|
|
304253
304322
|
_this.maxParallelReads = options.maxParallelReads || 10;
|
|
304254
304323
|
_this.readingCalls = 0;
|
|
304324
|
+
_this.maxRetries = options.maxRetries >= 0 ? options.maxRetries : 5;
|
|
304325
|
+
_this.retryTimeout = options.retryTimeout >= 1 ? options.retryTimeout : 350;
|
|
304255
304326
|
_this.state = {};
|
|
304256
304327
|
_this.queue = [];
|
|
304257
304328
|
|
|
@@ -304358,7 +304429,7 @@ var Connector = function (_EventEmitter) {
|
|
|
304358
304429
|
var _this3 = this;
|
|
304359
304430
|
|
|
304360
304431
|
var tried = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
304361
|
-
var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] :
|
|
304432
|
+
var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.retryTimeout;
|
|
304362
304433
|
var callback = arguments.length > 5 ? arguments[5] : undefined;
|
|
304363
304434
|
if (!lng.length) return callback(null, {});
|
|
304364
304435
|
|
|
@@ -304376,13 +304447,6 @@ var Connector = function (_EventEmitter) {
|
|
|
304376
304447
|
|
|
304377
304448
|
this.readingCalls++;
|
|
304378
304449
|
return this.backend[fcName](lng, ns, function (err, data) {
|
|
304379
|
-
if (err && data && tried < 5) {
|
|
304380
|
-
setTimeout(function () {
|
|
304381
|
-
_this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
|
|
304382
|
-
}, wait);
|
|
304383
|
-
return;
|
|
304384
|
-
}
|
|
304385
|
-
|
|
304386
304450
|
_this3.readingCalls--;
|
|
304387
304451
|
|
|
304388
304452
|
if (_this3.waitingReads.length > 0) {
|
|
@@ -304391,6 +304455,13 @@ var Connector = function (_EventEmitter) {
|
|
|
304391
304455
|
_this3.read(next.lng, next.ns, next.fcName, next.tried, next.wait, next.callback);
|
|
304392
304456
|
}
|
|
304393
304457
|
|
|
304458
|
+
if (err && data && tried < _this3.maxRetries) {
|
|
304459
|
+
setTimeout(function () {
|
|
304460
|
+
_this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
|
|
304461
|
+
}, wait);
|
|
304462
|
+
return;
|
|
304463
|
+
}
|
|
304464
|
+
|
|
304394
304465
|
callback(err, data);
|
|
304395
304466
|
});
|
|
304396
304467
|
}
|
|
@@ -305206,7 +305277,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
305206
305277
|
/***/ ((module) => {
|
|
305207
305278
|
|
|
305208
305279
|
"use strict";
|
|
305209
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.
|
|
305280
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.14","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":"tsc 1>&2 --outDir lib/cjs","build:esm":"tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","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.4.0-dev.14","@itwin/core-bentley":"workspace:^3.4.0-dev.14","@itwin/core-common":"workspace:^3.4.0-dev.14","@itwin/core-geometry":"workspace:^3.4.0-dev.14","@itwin/core-orbitgt":"workspace:^3.4.0-dev.14","@itwin/core-quantity":"workspace:^3.4.0-dev.14","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.14"},"//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.7","@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/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"},"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"}}]}}');
|
|
305210
305281
|
|
|
305211
305282
|
/***/ })
|
|
305212
305283
|
|