@itwin/rpcinterface-full-stack-tests 3.4.0-dev.2 → 3.4.0-dev.22

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.
@@ -21,9 +21,9 @@
21
21
 
22
22
  /***/ }),
23
23
 
24
- /***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.5/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
24
+ /***/ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.3.0/node_modules/@itwin/certa/lib/utils/CallbackUtils.js":
25
25
  /*!********************************************************************************************************************!*\
26
- !*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.2.5/node_modules/@itwin/certa/lib/utils/CallbackUtils.js ***!
26
+ !*** ../../common/temp/node_modules/.pnpm/@itwin+certa@3.3.0/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.5/node_modules/@itwin/certa/lib/utils/CallbackUtils.js");
2299
+ const CallbackUtils_1 = __webpack_require__(/*! @itwin/certa/lib/utils/CallbackUtils */ "../../common/temp/node_modules/.pnpm/@itwin+certa@3.3.0/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) {
@@ -21236,9 +21236,9 @@ module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
21236
21236
 
21237
21237
  /***/ }),
21238
21238
 
21239
- /***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.4/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
21239
+ /***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
21240
21240
  /*!****************************************************************************************************************************************************************************!*\
21241
- !*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.4/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
21241
+ !*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.5/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
21242
21242
  \****************************************************************************************************************************************************************************/
21243
21243
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
21244
21244
 
@@ -21247,8 +21247,8 @@ __webpack_require__.r(__webpack_exports__);
21247
21247
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21248
21248
  /* harmony export */ "default": () => (/* binding */ Browser)
21249
21249
  /* harmony export */ });
21250
- /* 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.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
21251
- /* 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.6/node_modules/@babel/runtime/helpers/esm/createClass.js");
21250
+ /* 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");
21251
+ /* 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");
21252
21252
 
21253
21253
 
21254
21254
 
@@ -21273,12 +21273,12 @@ var serializeCookie = function serializeCookie(name, val, options) {
21273
21273
  var opt = options || {};
21274
21274
  opt.path = opt.path || '/';
21275
21275
  var value = encodeURIComponent(val);
21276
- var str = name + '=' + value;
21276
+ var str = "".concat(name, "=").concat(value);
21277
21277
 
21278
21278
  if (opt.maxAge > 0) {
21279
21279
  var maxAge = opt.maxAge - 0;
21280
- if (isNaN(maxAge)) throw new Error('maxAge should be a Number');
21281
- str += '; Max-Age=' + Math.floor(maxAge);
21280
+ if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');
21281
+ str += "; Max-Age=".concat(Math.floor(maxAge));
21282
21282
  }
21283
21283
 
21284
21284
  if (opt.domain) {
@@ -21286,7 +21286,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
21286
21286
  throw new TypeError('option domain is invalid');
21287
21287
  }
21288
21288
 
21289
- str += '; Domain=' + opt.domain;
21289
+ str += "; Domain=".concat(opt.domain);
21290
21290
  }
21291
21291
 
21292
21292
  if (opt.path) {
@@ -21294,7 +21294,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
21294
21294
  throw new TypeError('option path is invalid');
21295
21295
  }
21296
21296
 
21297
- str += '; Path=' + opt.path;
21297
+ str += "; Path=".concat(opt.path);
21298
21298
  }
21299
21299
 
21300
21300
  if (opt.expires) {
@@ -21302,7 +21302,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
21302
21302
  throw new TypeError('option expires is invalid');
21303
21303
  }
21304
21304
 
21305
- str += '; Expires=' + opt.expires.toUTCString();
21305
+ str += "; Expires=".concat(opt.expires.toUTCString());
21306
21306
  }
21307
21307
 
21308
21308
  if (opt.httpOnly) str += '; HttpOnly';
@@ -21352,7 +21352,7 @@ var cookie = {
21352
21352
  document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);
21353
21353
  },
21354
21354
  read: function read(name) {
21355
- var nameEQ = name + '=';
21355
+ var nameEQ = "".concat(name, "=");
21356
21356
  var ca = document.cookie.split(';');
21357
21357
 
21358
21358
  for (var i = 0; i < ca.length; i++) {
@@ -21562,21 +21562,16 @@ var path = {
21562
21562
  var subdomain = {
21563
21563
  name: 'subdomain',
21564
21564
  lookup: function lookup(options) {
21565
- var found;
21565
+ // If given get the subdomain index else 1
21566
+ var lookupFromSubdomainIndex = typeof options.lookupFromSubdomainIndex === 'number' ? options.lookupFromSubdomainIndex + 1 : 1; // get all matches if window.location. is existing
21567
+ // first item of match is the match itself and the second is the first group macht which sould be the first subdomain match
21568
+ // is the hostname no public domain get the or option of localhost
21566
21569
 
21567
- if (typeof window !== 'undefined') {
21568
- var language = window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);
21570
+ 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
21569
21571
 
21570
- if (language instanceof Array) {
21571
- if (typeof options.lookupFromSubdomainIndex === 'number') {
21572
- found = language[options.lookupFromSubdomainIndex].replace('http://', '').replace('https://', '').replace('.', '');
21573
- } else {
21574
- found = language[0].replace('http://', '').replace('https://', '').replace('.', '');
21575
- }
21576
- }
21577
- }
21572
+ if (!language) return undefined; // return the given group match
21578
21573
 
21579
- return found;
21574
+ return language[lookupFromSubdomainIndex];
21580
21575
  }
21581
21576
  };
21582
21577
 
@@ -21589,8 +21584,8 @@ function getDefaults() {
21589
21584
  lookupSessionStorage: 'i18nextLng',
21590
21585
  // cache user language
21591
21586
  caches: ['localStorage'],
21592
- excludeCacheFor: ['cimode'] //cookieMinutes: 10,
21593
- //cookieDomain: 'myDomain'
21587
+ excludeCacheFor: ['cimode'] // cookieMinutes: 10,
21588
+ // cookieDomain: 'myDomain'
21594
21589
 
21595
21590
  };
21596
21591
  }
@@ -21684,10 +21679,10 @@ __webpack_require__.r(__webpack_exports__);
21684
21679
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21685
21680
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
21686
21681
  /* harmony export */ });
21687
- /* 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.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
21688
- /* 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.6/node_modules/@babel/runtime/helpers/esm/createClass.js");
21689
- /* 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.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
21690
- /* 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.6/node_modules/@babel/runtime/helpers/esm/typeof.js");
21682
+ /* 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");
21683
+ /* 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");
21684
+ /* 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");
21685
+ /* 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");
21691
21686
 
21692
21687
 
21693
21688
 
@@ -61497,7 +61492,7 @@ class StopWatch {
61497
61492
  get current() { return BeDuration.fromMilliseconds(BeTimePoint.now().milliseconds - (!!this._start ? this._start.milliseconds : 0)); }
61498
61493
  /** Get the elapsed time, in seconds, since start() on a running timer. */
61499
61494
  get currentSeconds() { return this.current.seconds; }
61500
- /** Get the elapsed time between start() and stop() on this timer. */
61495
+ /** Get the elapsed time between start() and stop() on this timer in milliseconds. */
61501
61496
  get elapsed() { return BeDuration.fromMilliseconds((!!this._stop ? this._stop.milliseconds : BeTimePoint.now().milliseconds) - (!!this._start ? this._start.milliseconds : 0)); }
61502
61497
  /** Get the elapsed time, in seconds, between start() and stop() on this timer. */
61503
61498
  get elapsedSeconds() { return this.elapsed.seconds; }
@@ -61636,7 +61631,10 @@ class Tracing {
61636
61631
  static withOpenTelemetry(base, isError = false) {
61637
61632
  return (category, message, metaData) => {
61638
61633
  var _a, _b;
61639
- (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.addEvent(message, { ...flattenObject(_Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.getMetaData(metaData)), error: isError });
61634
+ try {
61635
+ (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.addEvent(message, { ...flattenObject(_Logger__WEBPACK_IMPORTED_MODULE_0__.Logger.getMetaData(metaData)), error: isError });
61636
+ }
61637
+ catch (_e) { } // avoid throwing random errors (with stack trace mangled by async hooks) when openTelemetry collector doesn't work
61640
61638
  base(category, message, metaData);
61641
61639
  };
61642
61640
  }
@@ -62115,20 +62113,20 @@ var AmbientOcclusion;
62115
62113
  static fromJSON(json) { return undefined !== json ? new Settings(json) : this.defaults; }
62116
62114
  toJSON() {
62117
62115
  return {
62118
- bias: this.bias,
62119
- zLengthCap: this.zLengthCap,
62120
- maxDistance: this.maxDistance,
62121
- intensity: this.intensity,
62122
- texelStepSize: this.texelStepSize,
62123
- blurDelta: this.blurDelta,
62124
- blurSigma: this.blurSigma,
62125
- blurTexelStepSize: this.blurTexelStepSize,
62116
+ bias: this.bias !== Settings._defaultBias ? this.bias : undefined,
62117
+ zLengthCap: this.zLengthCap !== Settings._defaultZLengthCap ? this.zLengthCap : undefined,
62118
+ maxDistance: this.maxDistance !== Settings._defaultMaxDistance ? this.maxDistance : undefined,
62119
+ intensity: this.intensity !== Settings._defaultIntensity ? this.intensity : undefined,
62120
+ texelStepSize: this.texelStepSize !== Settings._defaultTexelStepSize ? this.texelStepSize : undefined,
62121
+ blurDelta: this.blurDelta !== Settings._defaultBlurDelta ? this.blurDelta : undefined,
62122
+ blurSigma: this.blurSigma !== Settings._defaultBlurSigma ? this.blurSigma : undefined,
62123
+ blurTexelStepSize: this.blurTexelStepSize !== Settings._defaultBlurTexelStepSize ? this.blurTexelStepSize : undefined,
62126
62124
  };
62127
62125
  }
62128
62126
  }
62129
62127
  Settings._defaultBias = 0.25;
62130
62128
  Settings._defaultZLengthCap = 0.0025;
62131
- Settings._defaultMaxDistance = 100.0;
62129
+ Settings._defaultMaxDistance = 10000.0;
62132
62130
  Settings._defaultIntensity = 1.0;
62133
62131
  Settings._defaultTexelStepSize = 1;
62134
62132
  Settings._defaultBlurDelta = 1.0;
@@ -63282,7 +63280,8 @@ __webpack_require__.r(__webpack_exports__);
63282
63280
  * @module Codes
63283
63281
  */
63284
63282
 
63285
- /** A three-part structure containing information about the [Code]($docs/bis/guide/fundamentals/codes) of an Element
63283
+ /**
63284
+ * A three-part structure containing information about the [Code]($docs/bis/guide/fundamentals/codes) of an Element
63286
63285
  * @public
63287
63286
  */
63288
63287
  class Code {
@@ -68933,13 +68932,21 @@ var Gradient;
68933
68932
  (0,_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.assert)(undefined !== imageBuffer);
68934
68933
  return imageBuffer;
68935
68934
  }
68936
- /** Applies this gradient's settings to produce a bitmap image. */
68935
+ /** Produces a bitmap image from this gradient.
68936
+ * @param width Width of the image
68937
+ * @param height Height of the image
68938
+ * @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.
68939
+ * @see [[produceImage]] for more customization.
68940
+ */
68937
68941
  getImage(width, height) {
68938
- if (this.mode === Mode.Thematic) {
68939
- // Allow caller to pass in height but not width. Thematic gradients are always one-dimensional.
68940
- // NB: The height used to be hardcoded to 8192 here. Now we will let the render system decide.
68941
- width = 1; // Force width to 1 for thematic gradients.
68942
- }
68942
+ if (this.mode === Mode.Thematic)
68943
+ width = 1;
68944
+ return this.produceImage({ width, height, includeThematicMargin: true });
68945
+ }
68946
+ /** Produces a bitmap image from this gradient. */
68947
+ produceImage(args) {
68948
+ var _a;
68949
+ const { width, height, includeThematicMargin } = { ...args };
68943
68950
  const thisAngle = (this.angle === undefined) ? 0 : this.angle.radians;
68944
68951
  const cosA = Math.cos(thisAngle);
68945
68952
  const sinA = Math.sin(thisAngle);
@@ -69045,14 +69052,11 @@ var Gradient;
69045
69052
  break;
69046
69053
  }
69047
69054
  case Mode.Thematic: {
69048
- let settings = this.thematicSettings;
69049
- if (settings === undefined) {
69050
- settings = _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.defaults;
69051
- }
69055
+ const settings = (_a = this.thematicSettings) !== null && _a !== void 0 ? _a : _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.defaults;
69052
69056
  for (let j = 0; j < height; j++) {
69053
69057
  let f = 1 - j / height;
69054
69058
  let color;
69055
- if (f < _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin || f > _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentMax) {
69059
+ if (includeThematicMargin && (f < _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.margin || f > _ThematicDisplay__WEBPACK_IMPORTED_MODULE_4__.ThematicGradientSettings.contentMax)) {
69056
69060
  color = settings.marginColor;
69057
69061
  }
69058
69062
  else {
@@ -86797,6 +86801,7 @@ class IpcWebSocketBackend extends IpcWebSocket {
86797
86801
  constructor() {
86798
86802
  super();
86799
86803
  this._handlers = new Map();
86804
+ this._processingQueue = [];
86800
86805
  IpcWebSocket.receivers.add(async (e, m) => this.dispatch(e, m));
86801
86806
  }
86802
86807
  send(channel, ...data) {
@@ -86810,22 +86815,35 @@ class IpcWebSocketBackend extends IpcWebSocket {
86810
86815
  };
86811
86816
  }
86812
86817
  async dispatch(_evt, message) {
86813
- if (message.type !== IpcWebSocketMessageType.Invoke || !message.method)
86818
+ if (message.type !== IpcWebSocketMessageType.Invoke)
86814
86819
  return;
86815
- const handler = this._handlers.get(message.channel);
86816
- if (!handler)
86820
+ this._processingQueue.push(message);
86821
+ await this.processMessages();
86822
+ }
86823
+ async processMessages() {
86824
+ if (this._processing || !this._processingQueue.length) {
86817
86825
  return;
86818
- let args = message.data;
86819
- if (typeof (args) === "undefined")
86820
- args = [];
86821
- const response = await handler({}, message.method, ...args);
86822
- IpcWebSocket.transport.send({
86823
- type: IpcWebSocketMessageType.Response,
86824
- channel: message.channel,
86825
- response: message.request,
86826
- data: response,
86827
- sequence: -1,
86828
- });
86826
+ }
86827
+ const message = this._processingQueue.shift();
86828
+ if (message && message.method) {
86829
+ const handler = this._handlers.get(message.channel);
86830
+ if (handler) {
86831
+ this._processing = message;
86832
+ let args = message.data;
86833
+ if (typeof (args) === "undefined")
86834
+ args = [];
86835
+ const response = await handler({}, message.method, ...args);
86836
+ IpcWebSocket.transport.send({
86837
+ type: IpcWebSocketMessageType.Response,
86838
+ channel: message.channel,
86839
+ response: message.request,
86840
+ data: response,
86841
+ sequence: -1,
86842
+ });
86843
+ this._processing = undefined;
86844
+ }
86845
+ }
86846
+ await this.processMessages();
86829
86847
  }
86830
86848
  }
86831
86849
 
@@ -89929,6 +89947,9 @@ class BentleyCloudRpcProtocol extends _WebAppRpcProtocol__WEBPACK_IMPORTED_MODUL
89929
89947
  const components = url.pathname.split("/").filter((x) => x); // filter out empty segments
89930
89948
  const operationComponent = components.slice(-1)[0];
89931
89949
  const encodedRequest = url.searchParams.get("parameters") || "";
89950
+ // The encodedRequest should be base64 - fail now if any other characters detected.
89951
+ if (/[^A-z0-9=+\/]/.test(encodedRequest))
89952
+ throw new _IModelError__WEBPACK_IMPORTED_MODULE_1__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request: Malformed URL parameters detected.`);
89932
89953
  const firstHyphen = operationComponent.indexOf("-");
89933
89954
  const lastHyphen = operationComponent.lastIndexOf("-");
89934
89955
  const interfaceDefinition = operationComponent.slice(0, firstHyphen);
@@ -90320,11 +90341,13 @@ __webpack_require__.r(__webpack_exports__);
90320
90341
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
90321
90342
  /* harmony export */ "WebAppRpcProtocol": () => (/* binding */ WebAppRpcProtocol)
90322
90343
  /* harmony export */ });
90323
- /* harmony import */ var _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/RpcConstants */ "../../core/common/lib/esm/rpc/core/RpcConstants.js");
90324
- /* harmony import */ var _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/RpcProtocol */ "../../core/common/lib/esm/rpc/core/RpcProtocol.js");
90325
- /* harmony import */ var _OpenAPI__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OpenAPI */ "../../core/common/lib/esm/rpc/web/OpenAPI.js");
90326
- /* harmony import */ var _WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./WebAppRpcLogging */ "../../core/common/lib/esm/rpc/web/WebAppRpcLogging.js");
90327
- /* harmony import */ var _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./WebAppRpcRequest */ "../../core/common/lib/esm/rpc/web/WebAppRpcRequest.js");
90344
+ /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
90345
+ /* harmony import */ var _CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../CommonLoggerCategory */ "../../core/common/lib/esm/CommonLoggerCategory.js");
90346
+ /* harmony import */ var _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/RpcConstants */ "../../core/common/lib/esm/rpc/core/RpcConstants.js");
90347
+ /* harmony import */ var _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/RpcProtocol */ "../../core/common/lib/esm/rpc/core/RpcProtocol.js");
90348
+ /* harmony import */ var _OpenAPI__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./OpenAPI */ "../../core/common/lib/esm/rpc/web/OpenAPI.js");
90349
+ /* harmony import */ var _WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./WebAppRpcLogging */ "../../core/common/lib/esm/rpc/web/WebAppRpcLogging.js");
90350
+ /* harmony import */ var _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./WebAppRpcRequest */ "../../core/common/lib/esm/rpc/web/WebAppRpcRequest.js");
90328
90351
  /*---------------------------------------------------------------------------------------------
90329
90352
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
90330
90353
  * See LICENSE.md in the project root for license terms and full copyright notice.
@@ -90337,10 +90360,12 @@ __webpack_require__.r(__webpack_exports__);
90337
90360
 
90338
90361
 
90339
90362
 
90363
+
90364
+
90340
90365
  /** The HTTP application protocol.
90341
90366
  * @internal
90342
90367
  */
90343
- class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.RpcProtocol {
90368
+ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__.RpcProtocol {
90344
90369
  /** Constructs an HTTP protocol. */
90345
90370
  constructor(configuration) {
90346
90371
  super(configuration);
@@ -90348,9 +90373,9 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
90348
90373
  /** An optional prefix for RPC operation URI paths. */
90349
90374
  this.pathPrefix = "";
90350
90375
  /** The RPC request class for this protocol. */
90351
- this.requestType = _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_4__.WebAppRpcRequest;
90376
+ this.requestType = _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest;
90352
90377
  this.supportsStatusCategory = true;
90353
- this.events.addListener(_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_3__.WebAppRpcLogging.logProtocolEvent);
90378
+ this.events.addListener(_WebAppRpcLogging__WEBPACK_IMPORTED_MODULE_5__.WebAppRpcLogging.logProtocolEvent);
90354
90379
  }
90355
90380
  /** Convenience handler for an RPC operation get request for an HTTP server. */
90356
90381
  async handleOperationGetRequest(req, res) {
@@ -90358,9 +90383,19 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
90358
90383
  }
90359
90384
  /** Convenience handler for an RPC operation post request for an HTTP server. */
90360
90385
  async handleOperationPostRequest(req, res) {
90361
- const request = await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_4__.WebAppRpcRequest.parseRequest(this, req);
90386
+ let request;
90387
+ try {
90388
+ request = await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest.parseRequest(this, req);
90389
+ }
90390
+ catch (error) {
90391
+ const message = _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMessage(error);
90392
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(_CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__.CommonLoggerCategory.RpcInterfaceBackend, `Failed to parse request: ${message}`, _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMetadata(error));
90393
+ res.status(400);
90394
+ res.send(JSON.stringify({ message, isError: true }));
90395
+ return;
90396
+ }
90362
90397
  const fulfillment = await this.fulfill(request);
90363
- await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_4__.WebAppRpcRequest.sendResponse(this, request, fulfillment, req, res);
90398
+ await _WebAppRpcRequest__WEBPACK_IMPORTED_MODULE_6__.WebAppRpcRequest.sendResponse(this, request, fulfillment, req, res);
90364
90399
  }
90365
90400
  /** Convenience handler for an OpenAPI description request for an HTTP server. */
90366
90401
  handleOpenApiDescriptionRequest(_req, res) {
@@ -90370,45 +90405,45 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
90370
90405
  /** Converts an HTTP content type value to an RPC content type value. */
90371
90406
  static computeContentType(httpType) {
90372
90407
  if (!httpType)
90373
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Unknown;
90374
- if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.WEB_RPC_CONSTANTS.ANY_TEXT) === 0) {
90375
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Text;
90408
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Unknown;
90409
+ if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.ANY_TEXT) === 0) {
90410
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Text;
90376
90411
  }
90377
- else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.WEB_RPC_CONSTANTS.BINARY) === 0) {
90378
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Binary;
90412
+ else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.BINARY) === 0) {
90413
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Binary;
90379
90414
  }
90380
- else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.WEB_RPC_CONSTANTS.MULTIPART) === 0) {
90381
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Multipart;
90415
+ else if (httpType.indexOf(_core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.WEB_RPC_CONSTANTS.MULTIPART) === 0) {
90416
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Multipart;
90382
90417
  }
90383
90418
  else {
90384
- return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcContentType.Unknown;
90419
+ return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcContentType.Unknown;
90385
90420
  }
90386
90421
  }
90387
90422
  /** Supplies the status corresponding to a protocol-specific code value. */
90388
90423
  getStatus(code) {
90389
90424
  switch (code) {
90390
- case 404: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.NotFound;
90391
- case 202: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Pending;
90392
- case 200: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Resolved;
90393
- case 500: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Rejected;
90394
- case 204: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.NoContent;
90395
- case 502: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.BadGateway;
90396
- case 503: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.ServiceUnavailable;
90397
- case 504: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.GatewayTimeout;
90398
- default: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Unknown;
90425
+ case 404: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NotFound;
90426
+ case 202: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Pending;
90427
+ case 200: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Resolved;
90428
+ case 500: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Rejected;
90429
+ case 204: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NoContent;
90430
+ case 502: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.BadGateway;
90431
+ case 503: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.ServiceUnavailable;
90432
+ case 504: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.GatewayTimeout;
90433
+ default: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Unknown;
90399
90434
  }
90400
90435
  }
90401
90436
  /** Supplies the protocol-specific code corresponding to a status value. */
90402
90437
  getCode(status) {
90403
90438
  switch (status) {
90404
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.NotFound: return 404;
90405
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Pending: return 202;
90406
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Resolved: return 200;
90407
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.Rejected: return 500;
90408
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.NoContent: return 204;
90409
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.BadGateway: return 502;
90410
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.ServiceUnavailable: return 503;
90411
- case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_0__.RpcRequestStatus.GatewayTimeout: return 504;
90439
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NotFound: return 404;
90440
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Pending: return 202;
90441
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Resolved: return 200;
90442
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Rejected: return 500;
90443
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.NoContent: return 204;
90444
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.BadGateway: return 502;
90445
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.ServiceUnavailable: return 503;
90446
+ case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.GatewayTimeout: return 504;
90412
90447
  default: return 501;
90413
90448
  }
90414
90449
  }
@@ -90419,7 +90454,7 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_1__.R
90419
90454
  /** An OpenAPI-compatible description of this protocol.
90420
90455
  * @internal
90421
90456
  */
90422
- get openAPIDescription() { return new _OpenAPI__WEBPACK_IMPORTED_MODULE_2__.RpcOpenAPIDescription(this); }
90457
+ get openAPIDescription() { return new _OpenAPI__WEBPACK_IMPORTED_MODULE_4__.RpcOpenAPIDescription(this); }
90423
90458
  }
90424
90459
 
90425
90460
 
@@ -90520,7 +90555,7 @@ class WebAppRpcRequest extends _core_RpcRequest__WEBPACK_IMPORTED_MODULE_6__.Rpc
90520
90555
  }
90521
90556
  }
90522
90557
  if (!request.id) {
90523
- throw new _IModelError__WEBPACK_IMPORTED_MODULE_2__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request.`);
90558
+ throw new _IModelError__WEBPACK_IMPORTED_MODULE_2__.IModelError(_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.BentleyStatus.ERROR, `Invalid request: Missing required activity ID.`);
90524
90559
  }
90525
90560
  return request;
90526
90561
  }
@@ -136639,8 +136674,6 @@ class RealityMeshGeometry extends _CachedGeometry__WEBPACK_IMPORTED_MODULE_7__.I
136639
136674
  }
136640
136675
  get techniqueId() { return 7 /* RealityMesh */; }
136641
136676
  getPass(target) {
136642
- if (target.isDrawingShadowMap)
136643
- return "none";
136644
136677
  if (this._baseIsTransparent || (target.wantThematicDisplay && target.uniforms.thematic.wantIsoLines))
136645
136678
  return "translucent";
136646
136679
  return "opaque";
@@ -142254,6 +142287,7 @@ class SolarShadowMap {
142254
142287
  this.onGraphicsChanged(this._graphics);
142255
142288
  }
142256
142289
  update(context) {
142290
+ var _a;
142257
142291
  this._isReady = false;
142258
142292
  this.clearGraphics(false);
142259
142293
  if (undefined === context || !context.viewport.view.isSpatialView()) {
@@ -142263,9 +142297,7 @@ class SolarShadowMap {
142263
142297
  }
142264
142298
  const view = context.viewport.view;
142265
142299
  const style = view.getDisplayStyle3d();
142266
- let sunDirection = style.sunDirection;
142267
- if (undefined === sunDirection)
142268
- sunDirection = defaultSunDirection;
142300
+ const sunDirection = (_a = style.sunDirection) !== null && _a !== void 0 ? _a : defaultSunDirection;
142269
142301
  const minimumHorizonDirection = -.01;
142270
142302
  if (sunDirection.z > minimumHorizonDirection) {
142271
142303
  this.notifyGraphicsChanged();
@@ -142287,8 +142319,21 @@ class SolarShadowMap {
142287
142319
  // Limit the map to only displayed models.
142288
142320
  const viewTileRange = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Range3d.createNull();
142289
142321
  view.forEachTileTreeRef((ref) => {
142290
- if (ref.castsShadows)
142291
- ref.accumulateTransformedRange(viewTileRange, worldToMap, undefined);
142322
+ if (ref.castsShadows) {
142323
+ if (ref.isGlobal) {
142324
+ // A shadow-casting tile tree that spans the globe. Limit its range to the viewed extents.
142325
+ for (const p3 of viewFrustum.points) {
142326
+ const p4 = worldToMap.multiplyPoint3d(p3, 1);
142327
+ if (p4.w > 0.0001)
142328
+ viewTileRange.extendXYZW(p4.x, p4.y, p4.z, p4.w);
142329
+ else
142330
+ viewTileRange.high.z = Math.max(1.0, viewTileRange.high.z); // behind eye plane.
142331
+ }
142332
+ }
142333
+ else {
142334
+ ref.accumulateTransformedRange(viewTileRange, worldToMap, undefined);
142335
+ }
142336
+ }
142292
142337
  });
142293
142338
  if (!viewTileRange.isNull)
142294
142339
  viewTileRange.clone(shadowRange);
@@ -143519,7 +143564,15 @@ class System extends _RenderSystem__WEBPACK_IMPORTED_MODULE_7__.RenderSystem {
143519
143564
  }
143520
143565
  /** Attempt to create a texture using gradient symbology. */
143521
143566
  getGradientTexture(symb, iModel) {
143522
- const source = symb.getImage(0x100, 0x100);
143567
+ let width = 0x100;
143568
+ let height = 0x100;
143569
+ if (symb.mode === _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Gradient.Mode.Thematic) {
143570
+ // Pixels in each row are identical, no point in having width > 1.
143571
+ width = 1;
143572
+ // We want maximum height to minimize bleeding of margin color.
143573
+ height = this.maxTextureSize;
143574
+ }
143575
+ const source = symb.produceImage({ width, height, includeThematicMargin: true });
143523
143576
  return this.createTexture({
143524
143577
  image: {
143525
143578
  source,
@@ -147801,7 +147854,7 @@ const computeAmbientOcclusion = `
147801
147854
  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.
147802
147855
  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.
147803
147856
  float intensity = u_hbaoSettings.z; // Raise the final occlusion to the power of this value. Larger values make the ambient shadows darker.
147804
- float texelStepSize = u_hbaoSettings.w; // Indicates the distance to step toward the next texel sample in the current direction.
147857
+ 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.
147805
147858
 
147806
147859
  float tOcclusion = 0.0;
147807
147860
 
@@ -147846,6 +147899,9 @@ const computeAmbientOcclusion = `
147846
147899
  tOcclusion += curOcclusion;
147847
147900
  }
147848
147901
 
147902
+ float distanceFadeFactor = kFrustumType_Perspective == u_frustum.z ? 1.0 - pow(clamp(nonLinearDepth / u_maxDistance, 0.0, 1.0), 4.0) : 1.0;
147903
+ tOcclusion *= distanceFadeFactor;
147904
+
147849
147905
  tOcclusion /= 4.0;
147850
147906
  tOcclusion = 1.0 - clamp(tOcclusion, 0.0, 1.0);
147851
147907
  tOcclusion = pow(tOcclusion, intensity);
@@ -157751,7 +157807,7 @@ class GltfReader {
157751
157807
  if (dracoMeshes.length === 0)
157752
157808
  return;
157753
157809
  try {
157754
- const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc"), __webpack_require__.e("_c41d")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.5/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
157810
+ 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;
157755
157811
  await Promise.all(dracoMeshes.map(async (x) => this.decodeDracoMesh(x, dracoLoader)));
157756
157812
  }
157757
157813
  catch (err) {
@@ -160878,7 +160934,7 @@ function readPnts(stream, dataOffset, pnts) {
160878
160934
  async function decodeDracoPointCloud(buf) {
160879
160935
  var _a, _b, _c, _d, _e, _f;
160880
160936
  try {
160881
- const dracoLoader = (await Promise.all(/*! import() */[__webpack_require__.e("vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc"), __webpack_require__.e("_c41d")]).then(__webpack_require__.bind(__webpack_require__, /*! @loaders.gl/draco */ "../../common/temp/node_modules/.pnpm/@loaders.gl+draco@3.2.5/node_modules/@loaders.gl/draco/dist/esm/index.js"))).DracoLoader;
160937
+ 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;
160882
160938
  const mesh = await dracoLoader.parse(buf, {});
160883
160939
  if (mesh.topology !== "point-list")
160884
160940
  return undefined;
@@ -163063,6 +163119,7 @@ class RealityTileTree extends _internal__WEBPACK_IMPORTED_MODULE_6__.TileTree {
163063
163119
  const preloadDebugBuilder = (debugControl && debugControl.displayRealityTilePreload) ? args.context.createSceneGraphicBuilder() : undefined;
163064
163120
  const graphicTypeBranches = new Map();
163065
163121
  const selectedTiles = this.selectRealityTiles(args, displayedTileDescendants, preloadDebugBuilder);
163122
+ args.processSelectedTiles(selectedTiles);
163066
163123
  let sortIndices;
163067
163124
  if (!this.parentsAndChildrenExclusive) {
163068
163125
  sortIndices = selectedTiles.map((_x, i) => i);
@@ -167323,28 +167380,6 @@ class ArcGisUtilities {
167323
167380
  return undefined;
167324
167381
  }
167325
167382
  }
167326
- static async getFootprintJson(url, credentials) {
167327
- const cached = ArcGisUtilities._footprintCache.get(url);
167328
- if (cached !== undefined)
167329
- return cached;
167330
- try {
167331
- const tmpUrl = new URL(url);
167332
- tmpUrl.searchParams.append("f", "json");
167333
- tmpUrl.searchParams.append("option", "footprints");
167334
- tmpUrl.searchParams.append("outSR", "4326");
167335
- const accessClient = _IModelApp__WEBPACK_IMPORTED_MODULE_3__.IModelApp.mapLayerFormatRegistry.getAccessClient("ArcGIS");
167336
- if (accessClient) {
167337
- 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 });
167338
- }
167339
- const json = await (0,_request_Request__WEBPACK_IMPORTED_MODULE_1__.getJson)(tmpUrl.toString());
167340
- ArcGisUtilities._footprintCache.set(url, json);
167341
- return json;
167342
- }
167343
- catch (_error) {
167344
- ArcGisUtilities._footprintCache.set(url, undefined);
167345
- return undefined;
167346
- }
167347
- }
167348
167383
  // return the appended access token if available.
167349
167384
  static async appendSecurityToken(url, accessClient, accessTokenParams) {
167350
167385
  // Append security token if available
@@ -167361,7 +167396,6 @@ class ArcGisUtilities {
167361
167396
  }
167362
167397
  }
167363
167398
  ArcGisUtilities._serviceCache = new Map();
167364
- ArcGisUtilities._footprintCache = new Map();
167365
167399
 
167366
167400
 
167367
167401
  /***/ }),
@@ -168240,18 +168274,9 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_4
168240
168274
  if (this._usesCachedTiles && this._tileMapSupported) {
168241
168275
  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);
168242
168276
  }
168243
- const footprintJson = await _internal__WEBPACK_IMPORTED_MODULE_4__.ArcGisUtilities.getFootprintJson(this._settings.url, this.getRequestAuthorization());
168244
- if (undefined !== footprintJson && undefined !== footprintJson.featureCollection && Array.isArray(footprintJson.featureCollection.layers)) {
168245
- for (const layer of footprintJson.featureCollection.layers) {
168246
- if (layer.layerDefinition && layer.layerDefinition.extent) {
168247
- 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);
168248
- break;
168249
- }
168250
- }
168251
- }
168252
- // Sometimes footprint request doesnt work, fallback to dataset fullextent
168253
- if (this.cartoRange === undefined && json.fullExtent) {
168254
- if (json.fullExtent.spatialReference.latestWkid === 3857) {
168277
+ // Read range using fullextent from service metadata
168278
+ if (json.fullExtent) {
168279
+ if (json.fullExtent.spatialReference.latestWkid === 3857 || json.fullExtent.spatialReference.wkid === 102100) {
168255
168280
  const range3857 = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_6__.Range2d.createFrom({
168256
168281
  low: { x: json.fullExtent.xmin, y: json.fullExtent.ymin },
168257
168282
  high: { x: json.fullExtent.xmax, y: json.fullExtent.ymax }
@@ -188178,17 +188203,17 @@ class BSplineCurve3dBase extends _curve_CurvePrimitive__WEBPACK_IMPORTED_MODULE_
188178
188203
  * @returns Returns a CurveLocationDetail structure that holds the details of the close point.
188179
188204
  */
188180
188205
  closestPoint(spacePoint, _extend) {
188206
+ // seed at start point -- final point comes with final bezier perpendicular step.
188181
188207
  const point = this.fractionToPoint(0);
188182
188208
  const result = _curve_CurveLocationDetail__WEBPACK_IMPORTED_MODULE_2__.CurveLocationDetail.createCurveFractionPointDistance(this, 0.0, point, point.distance(spacePoint));
188183
- this.fractionToPoint(1.0, point);
188184
- result.updateIfCloserCurveFractionPointDistance(this, 1.0, point, spacePoint.distance(point));
188185
188209
  let span;
188186
188210
  const numSpans = this.numSpan;
188187
188211
  for (let i = 0; i < numSpans; i++) {
188188
188212
  if (this._bcurve.knots.isIndexOfRealSpan(i)) {
188189
188213
  span = this.getSaturatedBezierSpan3dOr3dH(i, true, span);
188190
188214
  if (span) {
188191
- if (span.updateClosestPointByTruePerpendicular(spacePoint, result)) {
188215
+ // umm ... if the bspline is discontinuous, both ends should be tested. Ignore that possibility ...
188216
+ if (span.updateClosestPointByTruePerpendicular(spacePoint, result, false, true)) {
188192
188217
  // the detail records the span bezier -- promote it to the parent curve . ..
188193
188218
  result.curve = this;
188194
188219
  result.fraction = span.fractionToParentFraction(result.fraction);
@@ -191638,7 +191663,7 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
191638
191663
  * @param detail pre-allocated detail to record (evolving) closest point.
191639
191664
  * @returns true if an updated occurred, false if either (a) no perpendicular projections or (b) perpendiculars were not closer.
191640
191665
  */
191641
- updateClosestPointByTruePerpendicular(spacePoint, detail) {
191666
+ updateClosestPointByTruePerpendicular(spacePoint, detail, testAt0 = false, testAt1 = false) {
191642
191667
  let numUpdates = 0;
191643
191668
  let roots;
191644
191669
  if (this.isUnitWeight()) {
@@ -191690,8 +191715,17 @@ class BezierCurve3dH extends _BezierCurveBase__WEBPACK_IMPORTED_MODULE_0__.Bezie
191690
191715
  numUpdates += detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a) ? 1 : 0;
191691
191716
  }
191692
191717
  }
191718
+ if (testAt0)
191719
+ numUpdates += this.updateDetailAtFraction(detail, 0.0, spacePoint) ? 1 : 0;
191720
+ if (testAt1)
191721
+ numUpdates += this.updateDetailAtFraction(detail, 1.0, spacePoint) ? 1 : 0;
191693
191722
  return numUpdates > 0;
191694
191723
  }
191724
+ updateDetailAtFraction(detail, fraction, spacePoint) {
191725
+ const xyz = this.fractionToPoint(fraction);
191726
+ const a = xyz.distance(spacePoint);
191727
+ return detail.updateIfCloserCurveFractionPointDistance(this, fraction, xyz, a);
191728
+ }
191695
191729
  /** Extend `rangeToExtend`, using candidate extrema at
191696
191730
  * * both end points
191697
191731
  * * any internal extrema in x,y,z
@@ -194574,8 +194608,8 @@ var ClipMaskXYZRangePlanes;
194574
194608
  * * isMask === true means the plane sets should cover the outside of its polygon.
194575
194609
  * * Note that the ClipShape's `isMask` property and the ClipPrimitive's `isInvisible` property are distinct controls.
194576
194610
  * * In normal usage, callers get "outside" clip behavior using ONLY the ClipShape isMask property.
194577
- * * The ClipShape happens to pass the _invisible bit down to ClipPlane's that it creates.
194578
- * * At that level, it controls whether the cut edges are produce on the plane
194611
+ * * The ClipShape happens to pass the _invisible bit down to ClipPlanes that it creates.
194612
+ * * At that level, the flag controls whether the cut edges are produced on the plane
194579
194613
  * * This seems like an confused overloading of the meaning.
194580
194614
  * @public
194581
194615
  */
@@ -194594,7 +194628,7 @@ class ClipPrimitive {
194594
194628
  /**
194595
194629
  * Create a ClipPrimitive, capturing the supplied plane set as the clip planes.
194596
194630
  * @param planes clipper
194597
- * @param isInvisible true to invert sense of the test
194631
+ * @param isInvisible set the invisible flag on the ClipPrimitive
194598
194632
  */
194599
194633
  static createCapture(planes, isInvisible = false) {
194600
194634
  let planeData;
@@ -195480,7 +195514,7 @@ class ClipUtilities {
195480
195514
  * * `ClipVector` -- intersection of the ranges of its `ClipPrimitive`.
195481
195515
  * * `undefined` -- entire input range.
195482
195516
  * * If `observeInvisibleFlag` is false, the "invisible" properties are ignored, and this effectively returns the range of the edge work of the members
195483
- * * If `observeInvisibleFlag` is false, the "invisible" properties are observed, and "invisible" parts do not restrict the range.
195517
+ * * If `observeInvisibleFlag` is true, the "invisible" properties are observed, and "invisible" parts do not restrict the range.
195484
195518
  * @param clipper
195485
195519
  * @param range non-null range.
195486
195520
  * @param observeInvisibleFlag indicates how "invisible" bit is applied for ClipPrimitive.
@@ -196042,7 +196076,7 @@ __webpack_require__.r(__webpack_exports__);
196042
196076
 
196043
196077
  /** Class holding an array structure of shapes defined by `ClipPrimitive`
196044
196078
  * * The `ClipVector` defines an intersection of the member `ClipPrimitive` regions.
196045
- * * In the most common usage, one of the `ClipPrimitive` will be an outer region, and all others are holes with marker flag indicating that they outside of each hole is live.
196079
+ * * In the most common usage, one of the `ClipPrimitive` will be an outer region, and all others are holes with marker flag indicating that the outside of each hole is live.
196046
196080
  * @public
196047
196081
  */
196048
196082
  class ClipVector {
@@ -200388,6 +200422,7 @@ class CurveChainWithDistanceIndex extends _curve_CurvePrimitive__WEBPACK_IMPORTE
200388
200422
  const chainFraction = this.chainDistanceToChainFraction(chainDistance);
200389
200423
  const chainDetail = _CurveLocationDetail__WEBPACK_IMPORTED_MODULE_7__.CurveLocationDetail.createCurveFractionPoint(this, chainFraction, childDetail.point);
200390
200424
  chainDetail.childDetail = childDetail;
200425
+ chainDetail.a = childDetail.a;
200391
200426
  return chainDetail;
200392
200427
  }
200393
200428
  return undefined;
@@ -243657,7 +243692,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
243657
243692
  * * Circular or elliptical pipe cross sections can be specified by supplying either a radius, a pair of semi-axis lengths, or a full Arc3d.
243658
243693
  * * For semi-axis length input, x corresponds to an ellipse local axis nominally situated parallel to the xy-plane.
243659
243694
  * * The center of Arc3d input is translated to the centerline start point to act as initial cross section.
243660
- * @param centerline centerline of pipe
243695
+ * @param centerline centerline of pipe. If curved, it will be stroked using the builder's StrokeOptions.
243661
243696
  * @param sectionData circle radius, ellipse semi-axis lengths, or full Arc3d
243662
243697
  * @param numFacetAround how many equal parameter-space chords around each section
243663
243698
  */
@@ -243676,7 +243711,7 @@ class PolyfaceBuilder extends _geometry3d_GeometryHandler__WEBPACK_IMPORTED_MODU
243676
243711
  }
243677
243712
  else if (centerline instanceof _curve_GeometryQuery__WEBPACK_IMPORTED_MODULE_32__.GeometryQuery) {
243678
243713
  const linestring = _curve_LineString3d__WEBPACK_IMPORTED_MODULE_11__.LineString3d.create();
243679
- centerline.emitStrokes(linestring);
243714
+ centerline.emitStrokes(linestring, this._options);
243680
243715
  this.addMiteredPipesFromPoints(linestring.packedPoints, sectionData, numFacetAround);
243681
243716
  }
243682
243717
  }
@@ -254720,6 +254755,26 @@ class Sample {
254720
254755
  }
254721
254756
  return result;
254722
254757
  }
254758
+ /** Create various orders of non-rational B-spline curves with helical poles */
254759
+ static createBsplineCurveHelices(radius, height, numTurns, numSamplesPerTurn) {
254760
+ const pts = [];
254761
+ const zDelta = (height / numTurns) / numSamplesPerTurn;
254762
+ const aDelta = 2 * Math.PI / numSamplesPerTurn;
254763
+ for (let iTurn = 0; iTurn < numTurns; ++iTurn) {
254764
+ for (let iSample = 0; iSample < numSamplesPerTurn; iSample++) {
254765
+ pts.push(_geometry3d_Point3dVector3d__WEBPACK_IMPORTED_MODULE_1__.Point3d.create(radius * Math.cos(iSample * aDelta), radius * Math.sin(iSample * aDelta), pts.length * zDelta));
254766
+ }
254767
+ }
254768
+ const result = [];
254769
+ for (const order of [2, 3, 4, 9, 16, 25]) {
254770
+ if (order > pts.length)
254771
+ continue;
254772
+ const curve = _bspline_BSplineCurve__WEBPACK_IMPORTED_MODULE_9__.BSplineCurve3d.createUniformKnots(pts, order);
254773
+ if (curve !== undefined)
254774
+ result.push(curve);
254775
+ }
254776
+ return result;
254777
+ }
254723
254778
  /** Create weighted bsplines for circular arcs.
254724
254779
  */
254725
254780
  static createBspline3dHArcs() {
@@ -265695,8 +265750,8 @@ __webpack_require__.r(__webpack_exports__);
265695
265750
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
265696
265751
  /* harmony export */ "ITwinLocalization": () => (/* binding */ ITwinLocalization)
265697
265752
  /* harmony export */ });
265698
- /* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.8.14/node_modules/i18next/dist/esm/i18next.js");
265699
- /* 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.4/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js");
265753
+ /* harmony import */ var i18next__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js");
265754
+ /* 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");
265700
265755
  /* 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");
265701
265756
  /* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
265702
265757
  /*---------------------------------------------------------------------------------------------
@@ -287093,7 +287148,7 @@ class TestContext {
287093
287148
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
287094
287149
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
287095
287150
  await core_frontend_1.NoRenderApp.startup({
287096
- applicationVersion: "3.4.0-dev.2",
287151
+ applicationVersion: "3.4.0-dev.22",
287097
287152
  applicationId: this.settings.gprid,
287098
287153
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
287099
287154
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -287615,7 +287670,10 @@ __webpack_require__.r(__webpack_exports__);
287615
287670
  /** @packageDocumentation
287616
287671
  * @module Core
287617
287672
  */
287618
- /** @alpha */
287673
+ /**
287674
+ * Functions related to diagnostics log entry.
287675
+ * @beta
287676
+ */
287619
287677
  var DiagnosticsLogEntry;
287620
287678
  (function (DiagnosticsLogEntry) {
287621
287679
  function isMessage(entry) {
@@ -292746,7 +292804,8 @@ __webpack_require__.r(__webpack_exports__);
292746
292804
  */
292747
292805
 
292748
292806
  /**
292749
- * @alpha
292807
+ * A function which logs messages to the console.
292808
+ * @beta
292750
292809
  */
292751
292810
  function consoleDiagnosticsHandler(diagnostics) {
292752
292811
  // eslint-disable-next-line no-console
@@ -292761,7 +292820,8 @@ function consoleDiagnosticsHandler(diagnostics) {
292761
292820
  });
292762
292821
  }
292763
292822
  /**
292764
- * @alpha
292823
+ * A function which calls all diagnostics handlers passed to it.
292824
+ * @beta
292765
292825
  */
292766
292826
  function createCombinedDiagnosticsHandler(handlers) {
292767
292827
  return (diagnostics) => {
@@ -302345,9 +302405,9 @@ const gBase64 = {
302345
302405
 
302346
302406
  /***/ }),
302347
302407
 
302348
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
302408
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js":
302349
302409
  /*!******************************************************************************************************************************!*\
302350
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
302410
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
302351
302411
  \******************************************************************************************************************************/
302352
302412
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302353
302413
 
@@ -302368,9 +302428,9 @@ function _arrayLikeToArray(arr, len) {
302368
302428
 
302369
302429
  /***/ }),
302370
302430
 
302371
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
302431
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js":
302372
302432
  /*!****************************************************************************************************************************!*\
302373
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
302433
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
302374
302434
  \****************************************************************************************************************************/
302375
302435
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302376
302436
 
@@ -302385,9 +302445,9 @@ function _arrayWithHoles(arr) {
302385
302445
 
302386
302446
  /***/ }),
302387
302447
 
302388
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
302448
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js":
302389
302449
  /*!***********************************************************************************************************************************!*\
302390
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
302450
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***!
302391
302451
  \***********************************************************************************************************************************/
302392
302452
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302393
302453
 
@@ -302406,9 +302466,9 @@ function _assertThisInitialized(self) {
302406
302466
 
302407
302467
  /***/ }),
302408
302468
 
302409
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
302469
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
302410
302470
  /*!****************************************************************************************************************************!*\
302411
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
302471
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
302412
302472
  \****************************************************************************************************************************/
302413
302473
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302414
302474
 
@@ -302425,9 +302485,9 @@ function _classCallCheck(instance, Constructor) {
302425
302485
 
302426
302486
  /***/ }),
302427
302487
 
302428
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js":
302488
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js":
302429
302489
  /*!*************************************************************************************************************************!*\
302430
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
302490
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
302431
302491
  \*************************************************************************************************************************/
302432
302492
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302433
302493
 
@@ -302457,9 +302517,9 @@ function _createClass(Constructor, protoProps, staticProps) {
302457
302517
 
302458
302518
  /***/ }),
302459
302519
 
302460
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
302520
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js":
302461
302521
  /*!****************************************************************************************************************************!*\
302462
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
302522
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
302463
302523
  \****************************************************************************************************************************/
302464
302524
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302465
302525
 
@@ -302485,9 +302545,9 @@ function _defineProperty(obj, key, value) {
302485
302545
 
302486
302546
  /***/ }),
302487
302547
 
302488
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
302548
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js":
302489
302549
  /*!****************************************************************************************************************************!*\
302490
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
302550
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
302491
302551
  \****************************************************************************************************************************/
302492
302552
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302493
302553
 
@@ -302505,9 +302565,9 @@ function _getPrototypeOf(o) {
302505
302565
 
302506
302566
  /***/ }),
302507
302567
 
302508
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/inherits.js":
302568
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js":
302509
302569
  /*!**********************************************************************************************************************!*\
302510
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
302570
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
302511
302571
  \**********************************************************************************************************************/
302512
302572
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302513
302573
 
@@ -302516,7 +302576,7 @@ __webpack_require__.r(__webpack_exports__);
302516
302576
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302517
302577
  /* harmony export */ "default": () => (/* binding */ _inherits)
302518
302578
  /* harmony export */ });
302519
- /* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js");
302579
+ /* 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");
302520
302580
 
302521
302581
  function _inherits(subClass, superClass) {
302522
302582
  if (typeof superClass !== "function" && superClass !== null) {
@@ -302538,9 +302598,9 @@ function _inherits(subClass, superClass) {
302538
302598
 
302539
302599
  /***/ }),
302540
302600
 
302541
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
302601
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js":
302542
302602
  /*!*****************************************************************************************************************************!*\
302543
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
302603
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/iterableToArray.js ***!
302544
302604
  \*****************************************************************************************************************************/
302545
302605
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302546
302606
 
@@ -302555,9 +302615,9 @@ function _iterableToArray(iter) {
302555
302615
 
302556
302616
  /***/ }),
302557
302617
 
302558
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
302618
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js":
302559
302619
  /*!*****************************************************************************************************************************!*\
302560
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
302620
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
302561
302621
  \*****************************************************************************************************************************/
302562
302622
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302563
302623
 
@@ -302572,9 +302632,9 @@ function _nonIterableRest() {
302572
302632
 
302573
302633
  /***/ }),
302574
302634
 
302575
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
302635
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js":
302576
302636
  /*!***************************************************************************************************************************************!*\
302577
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
302637
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
302578
302638
  \***************************************************************************************************************************************/
302579
302639
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302580
302640
 
@@ -302583,8 +302643,8 @@ __webpack_require__.r(__webpack_exports__);
302583
302643
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302584
302644
  /* harmony export */ "default": () => (/* binding */ _possibleConstructorReturn)
302585
302645
  /* harmony export */ });
302586
- /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js");
302587
- /* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302646
+ /* 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");
302647
+ /* 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");
302588
302648
 
302589
302649
 
302590
302650
  function _possibleConstructorReturn(self, call) {
@@ -302599,9 +302659,9 @@ function _possibleConstructorReturn(self, call) {
302599
302659
 
302600
302660
  /***/ }),
302601
302661
 
302602
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
302662
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js":
302603
302663
  /*!****************************************************************************************************************************!*\
302604
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
302664
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***!
302605
302665
  \****************************************************************************************************************************/
302606
302666
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302607
302667
 
@@ -302620,9 +302680,9 @@ function _setPrototypeOf(o, p) {
302620
302680
 
302621
302681
  /***/ }),
302622
302682
 
302623
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/toArray.js":
302683
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js":
302624
302684
  /*!*********************************************************************************************************************!*\
302625
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
302685
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/toArray.js ***!
302626
302686
  \*********************************************************************************************************************/
302627
302687
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302628
302688
 
@@ -302631,10 +302691,10 @@ __webpack_require__.r(__webpack_exports__);
302631
302691
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302632
302692
  /* harmony export */ "default": () => (/* binding */ _toArray)
302633
302693
  /* harmony export */ });
302634
- /* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js");
302635
- /* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js");
302636
- /* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js");
302637
- /* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js");
302694
+ /* 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");
302695
+ /* 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");
302696
+ /* 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");
302697
+ /* 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");
302638
302698
 
302639
302699
 
302640
302700
 
@@ -302645,9 +302705,9 @@ function _toArray(arr) {
302645
302705
 
302646
302706
  /***/ }),
302647
302707
 
302648
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js":
302708
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js":
302649
302709
  /*!********************************************************************************************************************!*\
302650
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
302710
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
302651
302711
  \********************************************************************************************************************/
302652
302712
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302653
302713
 
@@ -302668,9 +302728,9 @@ function _typeof(obj) {
302668
302728
 
302669
302729
  /***/ }),
302670
302730
 
302671
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
302731
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js":
302672
302732
  /*!****************************************************************************************************************************************!*\
302673
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
302733
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.9/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
302674
302734
  \****************************************************************************************************************************************/
302675
302735
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302676
302736
 
@@ -302679,7 +302739,7 @@ __webpack_require__.r(__webpack_exports__);
302679
302739
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
302680
302740
  /* harmony export */ "default": () => (/* binding */ _unsupportedIterableToArray)
302681
302741
  /* harmony export */ });
302682
- /* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.18.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js");
302742
+ /* 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");
302683
302743
 
302684
302744
  function _unsupportedIterableToArray(o, minLen) {
302685
302745
  if (!o) return;
@@ -302692,10 +302752,10 @@ function _unsupportedIterableToArray(o, minLen) {
302692
302752
 
302693
302753
  /***/ }),
302694
302754
 
302695
- /***/ "../../common/temp/node_modules/.pnpm/i18next@21.8.14/node_modules/i18next/dist/esm/i18next.js":
302696
- /*!*****************************************************************************************************!*\
302697
- !*** ../../common/temp/node_modules/.pnpm/i18next@21.8.14/node_modules/i18next/dist/esm/i18next.js ***!
302698
- \*****************************************************************************************************/
302755
+ /***/ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js":
302756
+ /*!****************************************************************************************************!*\
302757
+ !*** ../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/esm/i18next.js ***!
302758
+ \****************************************************************************************************/
302699
302759
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
302700
302760
 
302701
302761
  "use strict";
@@ -302716,15 +302776,15 @@ __webpack_require__.r(__webpack_exports__);
302716
302776
  /* harmony export */ "t": () => (/* binding */ t),
302717
302777
  /* harmony export */ "use": () => (/* binding */ use)
302718
302778
  /* harmony export */ });
302719
- /* 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.6/node_modules/@babel/runtime/helpers/esm/typeof.js");
302720
- /* 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.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
302721
- /* 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.6/node_modules/@babel/runtime/helpers/esm/createClass.js");
302722
- /* 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.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js");
302723
- /* 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.6/node_modules/@babel/runtime/helpers/esm/inherits.js");
302724
- /* 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.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js");
302725
- /* 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.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js");
302726
- /* 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.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js");
302727
- /* 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.6/node_modules/@babel/runtime/helpers/esm/toArray.js");
302779
+ /* 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");
302780
+ /* 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");
302781
+ /* 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");
302782
+ /* 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");
302783
+ /* 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");
302784
+ /* 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");
302785
+ /* 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");
302786
+ /* 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");
302787
+ /* 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");
302728
302788
 
302729
302789
 
302730
302790
 
@@ -304596,6 +304656,8 @@ var Connector = function (_EventEmitter) {
304596
304656
  _this.waitingReads = [];
304597
304657
  _this.maxParallelReads = options.maxParallelReads || 10;
304598
304658
  _this.readingCalls = 0;
304659
+ _this.maxRetries = options.maxRetries >= 0 ? options.maxRetries : 5;
304660
+ _this.retryTimeout = options.retryTimeout >= 1 ? options.retryTimeout : 350;
304599
304661
  _this.state = {};
304600
304662
  _this.queue = [];
304601
304663
 
@@ -304702,7 +304764,7 @@ var Connector = function (_EventEmitter) {
304702
304764
  var _this3 = this;
304703
304765
 
304704
304766
  var tried = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
304705
- var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 350;
304767
+ var wait = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : this.retryTimeout;
304706
304768
  var callback = arguments.length > 5 ? arguments[5] : undefined;
304707
304769
  if (!lng.length) return callback(null, {});
304708
304770
 
@@ -304720,13 +304782,6 @@ var Connector = function (_EventEmitter) {
304720
304782
 
304721
304783
  this.readingCalls++;
304722
304784
  return this.backend[fcName](lng, ns, function (err, data) {
304723
- if (err && data && tried < 5) {
304724
- setTimeout(function () {
304725
- _this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
304726
- }, wait);
304727
- return;
304728
- }
304729
-
304730
304785
  _this3.readingCalls--;
304731
304786
 
304732
304787
  if (_this3.waitingReads.length > 0) {
@@ -304735,6 +304790,13 @@ var Connector = function (_EventEmitter) {
304735
304790
  _this3.read(next.lng, next.ns, next.fcName, next.tried, next.wait, next.callback);
304736
304791
  }
304737
304792
 
304793
+ if (err && data && tried < _this3.maxRetries) {
304794
+ setTimeout(function () {
304795
+ _this3.read.call(_this3, lng, ns, fcName, tried + 1, wait * 2, callback);
304796
+ }, wait);
304797
+ return;
304798
+ }
304799
+
304738
304800
  callback(err, data);
304739
304801
  });
304740
304802
  }
@@ -304970,7 +305032,7 @@ var I18n = function (_EventEmitter) {
304970
305032
  options = {};
304971
305033
  }
304972
305034
 
304973
- if (!options.defaultNS && options.ns) {
305035
+ if (!options.defaultNS && options.defaultNS !== false && options.ns) {
304974
305036
  if (typeof options.ns === 'string') {
304975
305037
  options.defaultNS = options.ns;
304976
305038
  } else if (options.ns.indexOf('translation') < 0) {
@@ -305550,7 +305612,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
305550
305612
  /***/ ((module) => {
305551
305613
 
305552
305614
  "use strict";
305553
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.2","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.2","@itwin/core-bentley":"workspace:^3.4.0-dev.2","@itwin/core-common":"workspace:^3.4.0-dev.2","@itwin/core-geometry":"workspace:^3.4.0-dev.2","@itwin/core-orbitgt":"workspace:^3.4.0-dev.2","@itwin/core-quantity":"workspace:^3.4.0-dev.2","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.2"},"//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.9","@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"}}]}}');
305615
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.22","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.22","@itwin/core-bentley":"workspace:^3.4.0-dev.22","@itwin/core-common":"workspace:^3.4.0-dev.22","@itwin/core-geometry":"workspace:^3.4.0-dev.22","@itwin/core-orbitgt":"workspace:^3.4.0-dev.22","@itwin/core-quantity":"workspace:^3.4.0-dev.22","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.22"},"//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"}}]}}');
305554
305616
 
305555
305617
  /***/ }),
305556
305618