@itwin/core-i18n 4.4.0-dev.3 → 4.4.0-dev.30

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.
@@ -19,7 +19,7 @@
19
19
  */
20
20
  function cov_13zvjr7880() {
21
21
  var path = "D:\\vsts_a\\7\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
22
- var hash = "ce3eb1d692e5e462a755fc803f9001d22b7b0cb7";
22
+ var hash = "99c513f1c7ebd6162e8989fde604e3503fe2d877";
23
23
  var global = new Function("return this")();
24
24
  var gcv = "__coverage__";
25
25
  var coverageData = {
@@ -2273,10 +2273,10 @@ function cov_13zvjr7880() {
2273
2273
  sources: ["D:\\vsts_a\\7\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
2274
2274
  names: [],
2275
2275
  mappings: ";AAAA;;;+FAG+F;AAC/F;;GAEG;;;;;;AAEH,sDAA2E;AAC3E,wGAAmG;AACnG,gFAA+D;AAC/D,sDAA6C;AAG7C,MAAM,mBAAmB,GAAW,CAAC,CAAC,CAAC,8GAA8G;AAcrJ;;;GAGG;AACH,MAAa,iBAAiB;IAO5B,YAAmB,OAA6B;QAF/B,gBAAW,GAAG,IAAI,GAAG,EAAyB,CAAC;QAG9D,IAAI,CAAC,OAAO,GAAG,iBAAO,CAAC,cAAc,EAAE,CAAC;QAExC,IAAI,CAAC,eAAe,GAAG;YACrB,QAAQ,EAAE,OAAO,EAAE,WAAW,IAAI,6BAA6B;YAC/D,WAAW,EAAE,IAAI;YACjB,GAAG,OAAO,EAAE,kBAAkB;SAC/B,CAAC;QAEF,IAAI,CAAC,iBAAiB,GAAG;YACvB,KAAK,EAAE,CAAC,aAAa,EAAE,WAAW,EAAE,SAAS,CAAC;YAC9C,iBAAiB,EAAE,KAAK;YACxB,MAAM,EAAE,EAAE;YACV,GAAG,OAAO,EAAE,eAAe;SAC5B,CAAC;QAEF,IAAI,CAAC,YAAY,GAAG;YAClB,aAAa,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;YACpC,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE,mBAAmB;YAC/B,OAAO,EAAE,IAAI,CAAC,eAAe;YAC7B,SAAS,EAAE,IAAI,CAAC,iBAAiB;YACjC,GAAG,OAAO,EAAE,WAAW;SACxB,CAAC;QAEF,IAAI,CAAC,OAAO;aACT,GAAG,CAAC,OAAO,EAAE,cAAc,IAAI,0CAA8B,CAAC;aAC9D,GAAG,CAAC,OAAO,EAAE,aAAa,IAAI,8BAAO,CAAC;aACtC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC5B,CAAC;IAEM,KAAK,CAAC,UAAU,CAAC,UAAoB;QAE1C,mDAAmD;QACnD,MAAM,cAAc,GAAa,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QACrE,MAAM,kBAAkB,GAAgB,IAAI,GAAG,CAAC,CAAC,GAAG,UAAU,EAAE,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,qBAAqB;QAE1G,MAAM,gBAAgB,GAAuC,IAAI,CAAC,YAAY,CAAC,SAAS,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;QAC1G,IAAI,gBAAgB;YAClB,kBAAkB,CAAC,GAAG,CAAC,gBAA0B,CAAC,CAAC,CAAC,oDAAoD;QAE1G,MAAM,WAAW,GAAgB;YAC/B,GAAG,IAAI,CAAC,YAAY;YACpB,SAAS,EAAE,gBAAgB;YAC3B,EAAE,EAAE,CAAC,GAAG,kBAAkB,CAAC;SAC5B,CAAC;QAEF,iDAAiD;QACjD,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa;YACxC,WAAW,CAAC,KAAK,GAAG,IAAI,CAAC;QAE3B,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAA6B,CAAC;QAE/E,KAAK,MAAM,EAAE,IAAI,UAAU;YACzB,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;QAExC,OAAO,WAAW,CAAC;IACrB,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACI,gBAAgB,CAAC,IAAY;QAClC,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC;IACrF,CAAC;IAED;;;;;;;;;;;;OAYG;IACI,kBAAkB,CAAC,GAAsB,EAAE,OAAsB;QACtE,IAAI,OAAO,EAAE,aAAa,IAAI,OAAO,EAAE,aAAa,EAAE;YACpD,MAAM,IAAI,KAAK,CAAC,sFAAsF,CAAC,CAAC;SACzG;QAED,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAE3C,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;SACxD;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED;;;;;;;OAOG;IACI,+BAA+B,CAAC,SAAiB,EAAE,GAAsB,EAAE,OAAsB;QACtG,IAAI,OAAO,GAAsB,EAAE,CAAC;QAEpC,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;YAC3B,OAAO,GAAG,GAAG,SAAS,IAAI,GAAG,EAAE,CAAC;SACjC;aAAM;YACL,OAAO,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,MAAc,EAAE,EAAE;gBACnC,OAAO,GAAG,SAAS,IAAI,MAAM,EAAE,CAAC;YAClC,CAAC,CAAC,CAAC;SACJ;QAED,OAAO,IAAI,CAAC,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;OAMG;IACI,gBAAgB,CAAC,SAAiB,EAAE,GAAsB,EAAE,OAAsB;QACvF,IAAI,OAAO,EAAE,aAAa,IAAI,OAAO,EAAE,aAAa,EAAE;YACpD,MAAM,IAAI,KAAK,CAAC,sFAAsF,CAAC,CAAC;SACzG;QAED,OAAO,GAAG;YACR,GAAG,OAAO;YACV,EAAE,EAAE,SAAS,EAAE,oCAAoC;SACpD,CAAC;QAEF,MAAM,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QACnD,MAAM,GAAG,GAAG,EAAE,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAC7B,IAAI,OAAO,GAAG,KAAK,QAAQ;YACzB,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAElD,OAAO,GAAG,CAAC;IACb,CAAC;IAED;;;OAGG;IACI,mBAAmB,CAAC,IAAY;QACrC,OAAO,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,gBAAgB;IACT,eAAe;QACpB,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;IAChC,CAAC;IAED,qDAAqD;IAC9C,KAAK,CAAC,cAAc,CAAC,QAAgB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,QAAQ,CAA6B,CAAC;IAC3E,CAAC;IAED;;;;;;;OAOG;IACI,KAAK,CAAC,iBAAiB,CAAC,IAAY;QACzC,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC5C,IAAI,QAAQ,KAAK,SAAS;YACxB,OAAO,QAAQ,CAAC;QAElB,MAAM,cAAc,GAAG,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;YACnD,mEAAmE;YACnE,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE;gBACxC,IAAI,CAAC,GAAG;oBACN,OAAO,OAAO,EAAE,CAAC;gBAEnB,qCAAqC;gBACrC,yHAAyH;gBACzH,2GAA2G;gBAC3G,8HAA8H;gBAC9H,8IAA8I;gBAC9I,IAAI,OAAO,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC,GAAG,CAAC,CAAC,UAAe,EAAE,EAAE,CAAC,IAAI,UAAU,GAAG,CAAC,CAAC;gBAEjF,IAAI;oBACF,KAAK,MAAM,SAAS,IAAI,GAAG,EAAE;wBAC3B,IAAI,OAAO,SAAS,KAAK,QAAQ;4BAC/B,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC;qBAC7E;iBACF;gBAAC,OAAO,CAAC,EAAE;oBACV,OAAO,GAAG,EAAE,CAAC;iBACd;gBACD,+DAA+D;gBAC/D,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;oBACtB,qBAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,8BAA8B,IAAI,kBAAkB,CAAC,CAAC;gBAEhF,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC;QAC3C,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,gBAAgB;IACT,mBAAmB,CAAC,IAAY;QACrC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;CACF;AAnOD,8CAmOC;AAED,MAAM,iBAAiB;IAEd,GAAG,CAAC,IAAc,IAAI,qBAAM,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5E,IAAI,CAAC,IAAc,IAAI,qBAAM,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAChF,KAAK,CAAC,IAAc,IAAI,qBAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9E,gBAAgB,CAAC,IAAc;QACrC,IAAI,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACtB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE;YACpC,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ;gBAC7B,OAAO,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;SAC/B;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;;AAXsB,sBAAI,GAAG,QAAQ,CAAC",
2276
- sourcesContent: ["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n/** @packageDocumentation\r\n * @module Localization\r\n */\r\n\r\nimport i18next, { i18n, InitOptions, Module, TOptionsBase } from \"i18next\";\r\nimport i18nextBrowserLanguageDetector, { DetectorOptions } from \"i18next-browser-languagedetector\";\r\nimport Backend, { BackendOptions } from \"i18next-http-backend\";\r\nimport { Logger } from \"@itwin/core-bentley\";\r\nimport type { Localization } from \"@itwin/core-common\";\r\n\r\nconst DEFAULT_MAX_RETRIES: number = 1; // a low number prevents wasted time and potential timeouts when requesting localization files throws an error\r\n\r\n/** Options for ITwinLocalization\r\n * @public\r\n */\r\nexport interface LocalizationOptions {\r\n urlTemplate?: string;\r\n backendPlugin?: Module;\r\n detectorPlugin?: Module;\r\n initOptions?: InitOptions;\r\n backendHttpOptions?: BackendOptions;\r\n detectorOptions?: DetectorOptions;\r\n}\r\n\r\n/** Supplies localizations for iTwin.js\r\n * @note this class uses the [i18next](https://www.i18next.com/) package.\r\n * @public\r\n */\r\nexport class ITwinLocalization implements Localization {\r\n public i18next: i18n;\r\n private readonly _initOptions: InitOptions;\r\n private readonly _backendOptions: BackendOptions;\r\n private readonly _detectionOptions: DetectorOptions;\r\n private readonly _namespaces = new Map<string, Promise<void>>();\r\n\r\n public constructor(options?: LocalizationOptions) {\r\n this.i18next = i18next.createInstance();\r\n\r\n this._backendOptions = {\r\n loadPath: options?.urlTemplate ?? \"locales/{{lng}}/{{ns}}.json\",\r\n crossDomain: true,\r\n ...options?.backendHttpOptions,\r\n };\r\n\r\n this._detectionOptions = {\r\n order: [\"querystring\", \"navigator\", \"htmlTag\"],\r\n lookupQuerystring: \"lng\",\r\n caches: [],\r\n ...options?.detectorOptions,\r\n };\r\n\r\n this._initOptions = {\r\n interpolation: { escapeValue: true },\r\n fallbackLng: \"en\",\r\n maxRetries: DEFAULT_MAX_RETRIES,\r\n backend: this._backendOptions,\r\n detection: this._detectionOptions,\r\n ...options?.initOptions,\r\n };\r\n\r\n this.i18next\r\n .use(options?.detectorPlugin ?? i18nextBrowserLanguageDetector)\r\n .use(options?.backendPlugin ?? Backend)\r\n .use(TranslationLogger);\r\n }\r\n\r\n public async initialize(namespaces: string[]): Promise<void> {\r\n\r\n // Also consider namespaces passed into constructor\r\n const initNamespaces: string[] = [this._initOptions.ns || []].flat();\r\n const combinedNamespaces: Set<string> = new Set([...namespaces, ...initNamespaces]); // without duplicates\r\n\r\n const defaultNamespace: string | false | readonly string[] = this._initOptions.defaultNS ?? namespaces[0];\r\n if (defaultNamespace)\r\n combinedNamespaces.add(defaultNamespace as string); // Make sure default namespace is in namespaces list\r\n\r\n const initOptions: InitOptions = {\r\n ...this._initOptions,\r\n defaultNS: defaultNamespace,\r\n ns: [...combinedNamespaces],\r\n };\r\n\r\n // if in a development environment, set debugging\r\n if (process.env.NODE_ENV === \"development\")\r\n initOptions.debug = true;\r\n\r\n const initPromise = this.i18next.init(initOptions) as unknown as Promise<void>;\r\n\r\n for (const ns of namespaces)\r\n this._namespaces.set(ns, initPromise);\r\n\r\n return initPromise;\r\n }\r\n\r\n /** Replace all instances of `%{key}` within a string with the translations of those keys.\r\n * For example:\r\n * ``` ts\r\n * \"MyKeys\": {\r\n * \"Key1\": \"First value\",\r\n * \"Key2\": \"Second value\"\r\n * }\r\n * ```\r\n *\r\n * ``` ts\r\n * i18.translateKeys(\"string with %{MyKeys.Key1} followed by %{MyKeys.Key2}!\"\") // returns \"string with First Value followed by Second Value!\"\r\n * ```\r\n * @param line The input line, potentially containing %{keys}.\r\n * @returns The line with all %{keys} translated\r\n * @public\r\n */\r\n public getLocalizedKeys(line: string): string {\r\n return line.replace(/\\%\\{(.+?)\\}/g, (_match, tag) => this.getLocalizedString(tag));\r\n }\r\n\r\n /** Return the translated value of a key.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @note The key includes the namespace, which identifies the particular localization file that contains the property,\r\n * followed by a colon, followed by the property in the JSON file.\r\n * For example:\r\n * ``` ts\r\n * const dataString: string = IModelApp.localization.getLocalizedString(\"iModelJs:BackgroundMap.BingDataAttribution\");\r\n * ```\r\n * assigns to dataString the string with property BackgroundMap.BingDataAttribution from the iModelJs.json localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @public\r\n */\r\n public getLocalizedString(key: string | string[], options?: TOptionsBase): string {\r\n if (options?.returnDetails || options?.returnObjects) {\r\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\r\n }\r\n\r\n const value = this.i18next.t(key, options);\r\n\r\n if (typeof value !== \"string\") {\r\n throw new Error(\"Translation key(s) string not found\");\r\n }\r\n\r\n return value;\r\n }\r\n\r\n /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need\r\n * to include a namespace. If a key includes a namespace, that namespace will be used for interpolating that key.\r\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @internal\r\n */\r\n public getLocalizedStringWithNamespace(namespace: string, key: string | string[], options?: TOptionsBase): string {\r\n let fullKey: string | string[] = \"\";\r\n\r\n if (typeof key === \"string\") {\r\n fullKey = `${namespace}:${key}`;\r\n } else {\r\n fullKey = key.map((subKey: string) => {\r\n return `${namespace}:${subKey}`;\r\n });\r\n }\r\n\r\n return this.getLocalizedString(fullKey, options);\r\n }\r\n\r\n /** Gets the English translation.\r\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\r\n * @param key - the key that matches a property in the JSON localization file.\r\n * @returns The string corresponding to the first key that resolves.\r\n * @throws Error if no keys resolve to a string.\r\n * @internal\r\n */\r\n public getEnglishString(namespace: string, key: string | string[], options?: TOptionsBase): string {\r\n if (options?.returnDetails || options?.returnObjects) {\r\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\r\n }\r\n\r\n options = {\r\n ...options,\r\n ns: namespace, // ensure namespace argument is used\r\n };\r\n\r\n const en = this.i18next.getFixedT(\"en\", namespace);\r\n const str = en(key, options);\r\n if (typeof str !== \"string\")\r\n throw new Error(\"Translation key(s) not found\");\r\n\r\n return str;\r\n }\r\n\r\n /** Get the promise for an already registered Namespace.\r\n * @param name - the name of the namespace\r\n * @public\r\n */\r\n public getNamespacePromise(name: string): Promise<void> | undefined {\r\n return this._namespaces.get(name);\r\n }\r\n\r\n /** @internal */\r\n public getLanguageList(): readonly string[] {\r\n return this.i18next.languages;\r\n }\r\n\r\n /** override the language detected in the browser */\r\n public async changeLanguage(language: string) {\r\n return this.i18next.changeLanguage(language) as unknown as Promise<void>;\r\n }\r\n\r\n /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.\r\n * @param name - the name of the namespace, which is the base name of the JSON file that contains the localization properties.\r\n * @note - The registerNamespace method starts fetching the appropriate version of the JSON localization file from the server,\r\n * based on the current locale. To make sure that fetch is complete before performing translations from this namespace, await\r\n * fulfillment of the readPromise Promise property of the returned LocalizationNamespace.\r\n * @see [Localization in iTwin.js]($docs/learning/frontend/Localization.md)\r\n * @public\r\n */\r\n public async registerNamespace(name: string): Promise<void> {\r\n const existing = this._namespaces.get(name);\r\n if (existing !== undefined)\r\n return existing;\r\n\r\n const theReadPromise = new Promise<void>((resolve) => {\r\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\r\n this.i18next.loadNamespaces(name, (err) => {\r\n if (!err)\r\n return resolve();\r\n\r\n // Here we got a non-null err object.\r\n // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.\r\n // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.\r\n // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.\r\n // There might be errs for some other namespaces as well as this one. We resolve the promise unless there's an error for each possible locale.\r\n let locales = this.getLanguageList().map((thisLocale: any) => `/${thisLocale}/`);\r\n\r\n try {\r\n for (const thisError of err) {\r\n if (typeof thisError === \"string\")\r\n locales = locales.filter((thisLocale) => !thisError.includes(thisLocale));\r\n }\r\n } catch (e) {\r\n locales = [];\r\n }\r\n // if we removed every locale from the array, it wasn't loaded.\r\n if (locales.length === 0)\r\n Logger.logError(\"i18n\", `No resources for namespace ${name} could be loaded`);\r\n\r\n resolve();\r\n });\r\n });\r\n this._namespaces.set(name, theReadPromise);\r\n return theReadPromise;\r\n }\r\n\r\n /** @internal */\r\n public unregisterNamespace(name: string): void {\r\n this._namespaces.delete(name);\r\n }\r\n}\r\n\r\nclass TranslationLogger {\r\n public static readonly type = \"logger\";\r\n public log(args: string[]) { Logger.logInfo(\"i18n\", this.createLogMessage(args)); }\r\n public warn(args: string[]) { Logger.logWarning(\"i18n\", this.createLogMessage(args)); }\r\n public error(args: string[]) { Logger.logError(\"i18n\", this.createLogMessage(args)); }\r\n private createLogMessage(args: string[]) {\r\n let message = args[0];\r\n for (let i = 1; i < args.length; ++i) {\r\n if (typeof args[i] === \"string\")\r\n message += `\\n ${args[i]}`;\r\n }\r\n return message;\r\n }\r\n}\r\n"]
2276
+ sourcesContent: ["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Localization\n */\n\nimport i18next, { i18n, InitOptions, Module, TOptionsBase } from \"i18next\";\nimport i18nextBrowserLanguageDetector, { DetectorOptions } from \"i18next-browser-languagedetector\";\nimport Backend, { BackendOptions } from \"i18next-http-backend\";\nimport { Logger } from \"@itwin/core-bentley\";\nimport type { Localization } from \"@itwin/core-common\";\n\nconst DEFAULT_MAX_RETRIES: number = 1; // a low number prevents wasted time and potential timeouts when requesting localization files throws an error\n\n/** Options for ITwinLocalization\n * @public\n */\nexport interface LocalizationOptions {\n urlTemplate?: string;\n backendPlugin?: Module;\n detectorPlugin?: Module;\n initOptions?: InitOptions;\n backendHttpOptions?: BackendOptions;\n detectorOptions?: DetectorOptions;\n}\n\n/** Supplies localizations for iTwin.js\n * @note this class uses the [i18next](https://www.i18next.com/) package.\n * @public\n */\nexport class ITwinLocalization implements Localization {\n public i18next: i18n;\n private readonly _initOptions: InitOptions;\n private readonly _backendOptions: BackendOptions;\n private readonly _detectionOptions: DetectorOptions;\n private readonly _namespaces = new Map<string, Promise<void>>();\n\n public constructor(options?: LocalizationOptions) {\n this.i18next = i18next.createInstance();\n\n this._backendOptions = {\n loadPath: options?.urlTemplate ?? \"locales/{{lng}}/{{ns}}.json\",\n crossDomain: true,\n ...options?.backendHttpOptions,\n };\n\n this._detectionOptions = {\n order: [\"querystring\", \"navigator\", \"htmlTag\"],\n lookupQuerystring: \"lng\",\n caches: [],\n ...options?.detectorOptions,\n };\n\n this._initOptions = {\n interpolation: { escapeValue: true },\n fallbackLng: \"en\",\n maxRetries: DEFAULT_MAX_RETRIES,\n backend: this._backendOptions,\n detection: this._detectionOptions,\n ...options?.initOptions,\n };\n\n this.i18next\n .use(options?.detectorPlugin ?? i18nextBrowserLanguageDetector)\n .use(options?.backendPlugin ?? Backend)\n .use(TranslationLogger);\n }\n\n public async initialize(namespaces: string[]): Promise<void> {\n\n // Also consider namespaces passed into constructor\n const initNamespaces: string[] = [this._initOptions.ns || []].flat();\n const combinedNamespaces: Set<string> = new Set([...namespaces, ...initNamespaces]); // without duplicates\n\n const defaultNamespace: string | false | readonly string[] = this._initOptions.defaultNS ?? namespaces[0];\n if (defaultNamespace)\n combinedNamespaces.add(defaultNamespace as string); // Make sure default namespace is in namespaces list\n\n const initOptions: InitOptions = {\n ...this._initOptions,\n defaultNS: defaultNamespace,\n ns: [...combinedNamespaces],\n };\n\n // if in a development environment, set debugging\n if (process.env.NODE_ENV === \"development\")\n initOptions.debug = true;\n\n const initPromise = this.i18next.init(initOptions) as unknown as Promise<void>;\n\n for (const ns of namespaces)\n this._namespaces.set(ns, initPromise);\n\n return initPromise;\n }\n\n /** Replace all instances of `%{key}` within a string with the translations of those keys.\n * For example:\n * ``` ts\n * \"MyKeys\": {\n * \"Key1\": \"First value\",\n * \"Key2\": \"Second value\"\n * }\n * ```\n *\n * ``` ts\n * i18.translateKeys(\"string with %{MyKeys.Key1} followed by %{MyKeys.Key2}!\"\") // returns \"string with First Value followed by Second Value!\"\n * ```\n * @param line The input line, potentially containing %{keys}.\n * @returns The line with all %{keys} translated\n * @public\n */\n public getLocalizedKeys(line: string): string {\n return line.replace(/\\%\\{(.+?)\\}/g, (_match, tag) => this.getLocalizedString(tag));\n }\n\n /** Return the translated value of a key.\n * @param key - the key that matches a property in the JSON localization file.\n * @note The key includes the namespace, which identifies the particular localization file that contains the property,\n * followed by a colon, followed by the property in the JSON file.\n * For example:\n * ``` ts\n * const dataString: string = IModelApp.localization.getLocalizedString(\"iModelJs:BackgroundMap.BingDataAttribution\");\n * ```\n * assigns to dataString the string with property BackgroundMap.BingDataAttribution from the iModelJs.json localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @public\n */\n public getLocalizedString(key: string | string[], options?: TOptionsBase): string {\n if (options?.returnDetails || options?.returnObjects) {\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\n }\n\n const value = this.i18next.t(key, options);\n\n if (typeof value !== \"string\") {\n throw new Error(\"Translation key(s) string not found\");\n }\n\n return value;\n }\n\n /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need\n * to include a namespace. If a key includes a namespace, that namespace will be used for interpolating that key.\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\n * @param key - the key that matches a property in the JSON localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @internal\n */\n public getLocalizedStringWithNamespace(namespace: string, key: string | string[], options?: TOptionsBase): string {\n let fullKey: string | string[] = \"\";\n\n if (typeof key === \"string\") {\n fullKey = `${namespace}:${key}`;\n } else {\n fullKey = key.map((subKey: string) => {\n return `${namespace}:${subKey}`;\n });\n }\n\n return this.getLocalizedString(fullKey, options);\n }\n\n /** Gets the English translation.\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\n * @param key - the key that matches a property in the JSON localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @internal\n */\n public getEnglishString(namespace: string, key: string | string[], options?: TOptionsBase): string {\n if (options?.returnDetails || options?.returnObjects) {\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\n }\n\n options = {\n ...options,\n ns: namespace, // ensure namespace argument is used\n };\n\n const en = this.i18next.getFixedT(\"en\", namespace);\n const str = en(key, options);\n if (typeof str !== \"string\")\n throw new Error(\"Translation key(s) not found\");\n\n return str;\n }\n\n /** Get the promise for an already registered Namespace.\n * @param name - the name of the namespace\n * @public\n */\n public getNamespacePromise(name: string): Promise<void> | undefined {\n return this._namespaces.get(name);\n }\n\n /** @internal */\n public getLanguageList(): readonly string[] {\n return this.i18next.languages;\n }\n\n /** override the language detected in the browser */\n public async changeLanguage(language: string) {\n return this.i18next.changeLanguage(language) as unknown as Promise<void>;\n }\n\n /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.\n * @param name - the name of the namespace, which is the base name of the JSON file that contains the localization properties.\n * @note - The registerNamespace method starts fetching the appropriate version of the JSON localization file from the server,\n * based on the current locale. To make sure that fetch is complete before performing translations from this namespace, await\n * fulfillment of the readPromise Promise property of the returned LocalizationNamespace.\n * @see [Localization in iTwin.js]($docs/learning/frontend/Localization.md)\n * @public\n */\n public async registerNamespace(name: string): Promise<void> {\n const existing = this._namespaces.get(name);\n if (existing !== undefined)\n return existing;\n\n const theReadPromise = new Promise<void>((resolve) => {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.i18next.loadNamespaces(name, (err) => {\n if (!err)\n return resolve();\n\n // Here we got a non-null err object.\n // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.\n // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.\n // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.\n // There might be errs for some other namespaces as well as this one. We resolve the promise unless there's an error for each possible locale.\n let locales = this.getLanguageList().map((thisLocale: any) => `/${thisLocale}/`);\n\n try {\n for (const thisError of err) {\n if (typeof thisError === \"string\")\n locales = locales.filter((thisLocale) => !thisError.includes(thisLocale));\n }\n } catch (e) {\n locales = [];\n }\n // if we removed every locale from the array, it wasn't loaded.\n if (locales.length === 0)\n Logger.logError(\"i18n\", `No resources for namespace ${name} could be loaded`);\n\n resolve();\n });\n });\n this._namespaces.set(name, theReadPromise);\n return theReadPromise;\n }\n\n /** @internal */\n public unregisterNamespace(name: string): void {\n this._namespaces.delete(name);\n }\n}\n\nclass TranslationLogger {\n public static readonly type = \"logger\";\n public log(args: string[]) { Logger.logInfo(\"i18n\", this.createLogMessage(args)); }\n public warn(args: string[]) { Logger.logWarning(\"i18n\", this.createLogMessage(args)); }\n public error(args: string[]) { Logger.logError(\"i18n\", this.createLogMessage(args)); }\n private createLogMessage(args: string[]) {\n let message = args[0];\n for (let i = 1; i < args.length; ++i) {\n if (typeof args[i] === \"string\")\n message += `\\n ${args[i]}`;\n }\n return message;\n }\n}\n"]
2277
2277
  },
2278
2278
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
2279
- hash: "ce3eb1d692e5e462a755fc803f9001d22b7b0cb7"
2279
+ hash: "99c513f1c7ebd6162e8989fde604e3503fe2d877"
2280
2280
  };
2281
2281
  var coverage = global[gcv] || (global[gcv] = {});
2282
2282
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -2305,9 +2305,9 @@ Object.defineProperty(exports, "__esModule", ({
2305
2305
  }));
2306
2306
  cov_13zvjr7880().s[3]++;
2307
2307
  exports.ITwinLocalization = void 0;
2308
- const i18next_1 = (cov_13zvjr7880().s[4]++, __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/cjs/i18next.js")));
2309
- const i18next_browser_languagedetector_1 = (cov_13zvjr7880().s[5]++, __importDefault(__webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/cjs/i18nextBrowserLanguageDetector.js")));
2310
- const i18next_http_backend_1 = (cov_13zvjr7880().s[6]++, __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/index.js")));
2308
+ const i18next_1 = (cov_13zvjr7880().s[4]++, __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/cjs/i18next.js")));
2309
+ const i18next_browser_languagedetector_1 = (cov_13zvjr7880().s[5]++, __importDefault(__webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.2/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js")));
2310
+ const i18next_http_backend_1 = (cov_13zvjr7880().s[6]++, __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/index.js")));
2311
2311
  const core_bentley_1 = (cov_13zvjr7880().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
2312
2312
  const DEFAULT_MAX_RETRIES = (cov_13zvjr7880().s[8]++, 1); // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
2313
2313
  /** Supplies localizations for iTwin.js
@@ -2491,7 +2491,6 @@ class ITwinLocalization {
2491
2491
  ...options,
2492
2492
  ns: namespace // ensure namespace argument is used
2493
2493
  };
2494
-
2495
2494
  const en = (cov_13zvjr7880().s[44]++, this.i18next.getFixedT("en", namespace));
2496
2495
  const str = (cov_13zvjr7880().s[45]++, en(key, options));
2497
2496
  cov_13zvjr7880().s[46]++;
@@ -13454,22 +13453,21 @@ module.exports = getFuncName;
13454
13453
 
13455
13454
  /***/ }),
13456
13455
 
13457
- /***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/cjs/i18nextBrowserLanguageDetector.js":
13456
+ /***/ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.2/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js":
13458
13457
  /*!****************************************************************************************************************************************************************************!*\
13459
- !*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/cjs/i18nextBrowserLanguageDetector.js ***!
13458
+ !*** ../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.2/node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js ***!
13460
13459
  \****************************************************************************************************************************************************************************/
13461
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
13460
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
13462
13461
 
13463
13462
  "use strict";
13463
+ __webpack_require__.r(__webpack_exports__);
13464
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13465
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
13466
+ /* harmony export */ });
13467
+ /* 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.23.8/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
13468
+ /* 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.23.8/node_modules/@babel/runtime/helpers/esm/createClass.js");
13464
13469
 
13465
13470
 
13466
- var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/classCallCheck.js");
13467
- var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/createClass.js");
13468
-
13469
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13470
-
13471
- var _classCallCheck__default = /*#__PURE__*/_interopDefaultLegacy(_classCallCheck);
13472
- var _createClass__default = /*#__PURE__*/_interopDefaultLegacy(_createClass);
13473
13471
 
13474
13472
  var arr = [];
13475
13473
  var each = arr.forEach;
@@ -13492,12 +13490,12 @@ var serializeCookie = function serializeCookie(name, val, options) {
13492
13490
  var opt = options || {};
13493
13491
  opt.path = opt.path || '/';
13494
13492
  var value = encodeURIComponent(val);
13495
- var str = "".concat(name, "=").concat(value);
13493
+ var str = name + '=' + value;
13496
13494
 
13497
13495
  if (opt.maxAge > 0) {
13498
13496
  var maxAge = opt.maxAge - 0;
13499
- if (Number.isNaN(maxAge)) throw new Error('maxAge should be a Number');
13500
- str += "; Max-Age=".concat(Math.floor(maxAge));
13497
+ if (isNaN(maxAge)) throw new Error('maxAge should be a Number');
13498
+ str += '; Max-Age=' + Math.floor(maxAge);
13501
13499
  }
13502
13500
 
13503
13501
  if (opt.domain) {
@@ -13505,7 +13503,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
13505
13503
  throw new TypeError('option domain is invalid');
13506
13504
  }
13507
13505
 
13508
- str += "; Domain=".concat(opt.domain);
13506
+ str += '; Domain=' + opt.domain;
13509
13507
  }
13510
13508
 
13511
13509
  if (opt.path) {
@@ -13513,7 +13511,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
13513
13511
  throw new TypeError('option path is invalid');
13514
13512
  }
13515
13513
 
13516
- str += "; Path=".concat(opt.path);
13514
+ str += '; Path=' + opt.path;
13517
13515
  }
13518
13516
 
13519
13517
  if (opt.expires) {
@@ -13521,7 +13519,7 @@ var serializeCookie = function serializeCookie(name, val, options) {
13521
13519
  throw new TypeError('option expires is invalid');
13522
13520
  }
13523
13521
 
13524
- str += "; Expires=".concat(opt.expires.toUTCString());
13522
+ str += '; Expires=' + opt.expires.toUTCString();
13525
13523
  }
13526
13524
 
13527
13525
  if (opt.httpOnly) str += '; HttpOnly';
@@ -13571,7 +13569,7 @@ var cookie = {
13571
13569
  document.cookie = serializeCookie(name, encodeURIComponent(value), cookieOptions);
13572
13570
  },
13573
13571
  read: function read(name) {
13574
- var nameEQ = "".concat(name, "=");
13572
+ var nameEQ = name + '=';
13575
13573
  var ca = document.cookie.split(';');
13576
13574
 
13577
13575
  for (var i = 0; i < ca.length; i++) {
@@ -13615,13 +13613,7 @@ var querystring = {
13615
13613
  var found;
13616
13614
 
13617
13615
  if (typeof window !== 'undefined') {
13618
- var search = window.location.search;
13619
-
13620
- if (!window.location.search && window.location.hash && window.location.hash.indexOf('?') > -1) {
13621
- search = window.location.hash.substring(window.location.hash.indexOf('?'));
13622
- }
13623
-
13624
- var query = search.substring(1);
13616
+ var query = window.location.search.substring(1);
13625
13617
  var params = query.split('&');
13626
13618
 
13627
13619
  for (var i = 0; i < params.length; i++) {
@@ -13781,16 +13773,21 @@ var path = {
13781
13773
  var subdomain = {
13782
13774
  name: 'subdomain',
13783
13775
  lookup: function lookup(options) {
13784
- // If given get the subdomain index else 1
13785
- var lookupFromSubdomainIndex = typeof options.lookupFromSubdomainIndex === 'number' ? options.lookupFromSubdomainIndex + 1 : 1; // get all matches if window.location. is existing
13786
- // first item of match is the match itself and the second is the first group macht which sould be the first subdomain match
13787
- // is the hostname no public domain get the or option of localhost
13776
+ var found;
13788
13777
 
13789
- 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
13778
+ if (typeof window !== 'undefined') {
13779
+ var language = window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);
13790
13780
 
13791
- if (!language) return undefined; // return the given group match
13781
+ if (language instanceof Array) {
13782
+ if (typeof options.lookupFromSubdomainIndex === 'number') {
13783
+ found = language[options.lookupFromSubdomainIndex].replace('http://', '').replace('https://', '').replace('.', '');
13784
+ } else {
13785
+ found = language[0].replace('http://', '').replace('https://', '').replace('.', '');
13786
+ }
13787
+ }
13788
+ }
13792
13789
 
13793
- return language[lookupFromSubdomainIndex];
13790
+ return found;
13794
13791
  }
13795
13792
  };
13796
13793
 
@@ -13803,8 +13800,8 @@ function getDefaults() {
13803
13800
  lookupSessionStorage: 'i18nextLng',
13804
13801
  // cache user language
13805
13802
  caches: ['localStorage'],
13806
- excludeCacheFor: ['cimode'] // cookieMinutes: 10,
13807
- // cookieDomain: 'myDomain'
13803
+ excludeCacheFor: ['cimode'] //cookieMinutes: 10,
13804
+ //cookieDomain: 'myDomain'
13808
13805
 
13809
13806
  };
13810
13807
  }
@@ -13813,14 +13810,14 @@ var Browser = /*#__PURE__*/function () {
13813
13810
  function Browser(services) {
13814
13811
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
13815
13812
 
13816
- _classCallCheck__default["default"](this, Browser);
13813
+ (0,_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_0__["default"])(this, Browser);
13817
13814
 
13818
13815
  this.type = 'languageDetector';
13819
13816
  this.detectors = {};
13820
13817
  this.init(services, options);
13821
13818
  }
13822
13819
 
13823
- _createClass__default["default"](Browser, [{
13820
+ (0,_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_1__["default"])(Browser, [{
13824
13821
  key: "init",
13825
13822
  value: function init(services) {
13826
13823
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -13882,29 +13879,29 @@ var Browser = /*#__PURE__*/function () {
13882
13879
 
13883
13880
  Browser.type = 'languageDetector';
13884
13881
 
13885
- module.exports = Browser;
13882
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Browser);
13886
13883
 
13887
13884
 
13888
13885
  /***/ }),
13889
13886
 
13890
- /***/ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/cjs/i18next.js":
13891
- /*!*****************************************************************************************************!*\
13892
- !*** ../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/cjs/i18next.js ***!
13893
- \*****************************************************************************************************/
13887
+ /***/ "../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/cjs/i18next.js":
13888
+ /*!****************************************************************************************************!*\
13889
+ !*** ../../common/temp/node_modules/.pnpm/i18next@21.9.1/node_modules/i18next/dist/cjs/i18next.js ***!
13890
+ \****************************************************************************************************/
13894
13891
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
13895
13892
 
13896
13893
  "use strict";
13897
13894
 
13898
13895
 
13899
- var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/typeof.js");
13900
- var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/classCallCheck.js");
13901
- var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/createClass.js");
13902
- var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
13903
- var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/inherits.js");
13904
- var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
13905
- var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
13906
- var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/defineProperty.js");
13907
- var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/toArray.js");
13896
+ var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js");
13897
+ var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/classCallCheck.js");
13898
+ var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/createClass.js");
13899
+ var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
13900
+ var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/inherits.js");
13901
+ var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
13902
+ var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
13903
+ var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/defineProperty.js");
13904
+ var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toArray.js");
13908
13905
 
13909
13906
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13910
13907
 
@@ -14011,13 +14008,6 @@ var Logger = function () {
14011
14008
  prefix: "".concat(this.prefix, ":").concat(moduleName, ":")
14012
14009
  }), this.options));
14013
14010
  }
14014
- }, {
14015
- key: "clone",
14016
- value: function clone(options) {
14017
- options = options || this.options;
14018
- options.prefix = options.prefix || this.prefix;
14019
- return new Logger(this.logger, options);
14020
- }
14021
14011
  }]);
14022
14012
 
14023
14013
  return Logger;
@@ -15566,12 +15556,7 @@ var Interpolator = function () {
15566
15556
  var optionsString = "{".concat(c[1]);
15567
15557
  key = c[0];
15568
15558
  optionsString = this.interpolate(optionsString, clonedOptions);
15569
- var matchedSingleQuotes = optionsString.match(/'/g);
15570
- var matchedDoubleQuotes = optionsString.match(/"/g);
15571
-
15572
- if (matchedSingleQuotes && matchedSingleQuotes.length % 2 === 0 && !matchedDoubleQuotes || matchedDoubleQuotes.length % 2 !== 0) {
15573
- optionsString = optionsString.replace(/'/g, '"');
15574
- }
15559
+ optionsString = optionsString.replace(/'/g, '"');
15575
15560
 
15576
15561
  try {
15577
15562
  clonedOptions = JSON.parse(optionsString);
@@ -15668,21 +15653,6 @@ function parseFormatStr(formatStr) {
15668
15653
  };
15669
15654
  }
15670
15655
 
15671
- function createCachedFormatter(fn) {
15672
- var cache = {};
15673
- return function invokeFormatter(val, lng, options) {
15674
- var key = lng + JSON.stringify(options);
15675
- var formatter = cache[key];
15676
-
15677
- if (!formatter) {
15678
- formatter = fn(lng, options);
15679
- cache[key] = formatter;
15680
- }
15681
-
15682
- return formatter(val);
15683
- };
15684
- }
15685
-
15686
15656
  var Formatter = function () {
15687
15657
  function Formatter() {
15688
15658
  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -15692,38 +15662,23 @@ var Formatter = function () {
15692
15662
  this.logger = baseLogger.create('formatter');
15693
15663
  this.options = options;
15694
15664
  this.formats = {
15695
- number: createCachedFormatter(function (lng, options) {
15696
- var formatter = new Intl.NumberFormat(lng, options);
15697
- return function (val) {
15698
- return formatter.format(val);
15699
- };
15700
- }),
15701
- currency: createCachedFormatter(function (lng, options) {
15702
- var formatter = new Intl.NumberFormat(lng, _objectSpread$4(_objectSpread$4({}, options), {}, {
15665
+ number: function number(val, lng, options) {
15666
+ return new Intl.NumberFormat(lng, options).format(val);
15667
+ },
15668
+ currency: function currency(val, lng, options) {
15669
+ return new Intl.NumberFormat(lng, _objectSpread$4(_objectSpread$4({}, options), {}, {
15703
15670
  style: 'currency'
15704
- }));
15705
- return function (val) {
15706
- return formatter.format(val);
15707
- };
15708
- }),
15709
- datetime: createCachedFormatter(function (lng, options) {
15710
- var formatter = new Intl.DateTimeFormat(lng, _objectSpread$4({}, options));
15711
- return function (val) {
15712
- return formatter.format(val);
15713
- };
15714
- }),
15715
- relativetime: createCachedFormatter(function (lng, options) {
15716
- var formatter = new Intl.RelativeTimeFormat(lng, _objectSpread$4({}, options));
15717
- return function (val) {
15718
- return formatter.format(val, options.range || 'day');
15719
- };
15720
- }),
15721
- list: createCachedFormatter(function (lng, options) {
15722
- var formatter = new Intl.ListFormat(lng, _objectSpread$4({}, options));
15723
- return function (val) {
15724
- return formatter.format(val);
15725
- };
15726
- })
15671
+ })).format(val);
15672
+ },
15673
+ datetime: function datetime(val, lng, options) {
15674
+ return new Intl.DateTimeFormat(lng, _objectSpread$4({}, options)).format(val);
15675
+ },
15676
+ relativetime: function relativetime(val, lng, options) {
15677
+ return new Intl.RelativeTimeFormat(lng, _objectSpread$4({}, options)).format(val, options.range || 'day');
15678
+ },
15679
+ list: function list(val, lng, options) {
15680
+ return new Intl.ListFormat(lng, _objectSpread$4({}, options)).format(val);
15681
+ }
15727
15682
  };
15728
15683
  this.init(options);
15729
15684
  }
@@ -15742,11 +15697,6 @@ var Formatter = function () {
15742
15697
  value: function add(name, fc) {
15743
15698
  this.formats[name.toLowerCase().trim()] = fc;
15744
15699
  }
15745
- }, {
15746
- key: "addCached",
15747
- value: function addCached(name, fc) {
15748
- this.formats[name.toLowerCase().trim()] = createCachedFormatter(fc);
15749
- }
15750
15700
  }, {
15751
15701
  key: "format",
15752
15702
  value: function format(value, _format, lng, options) {
@@ -16696,11 +16646,6 @@ var I18n = function (_EventEmitter) {
16696
16646
  });
16697
16647
 
16698
16648
  var clone = new I18n(mergedOptions);
16699
-
16700
- if (options.debug !== undefined || options.prefix !== undefined) {
16701
- clone.logger = clone.logger.clone(options);
16702
- }
16703
-
16704
16649
  var membersToCopy = ['store', 'services', 'language'];
16705
16650
  membersToCopy.forEach(function (m) {
16706
16651
  clone[m] = _this8[m];
@@ -18392,7 +18337,7 @@ __webpack_require__.r(__webpack_exports__);
18392
18337
  "use strict";
18393
18338
  __webpack_require__.r(__webpack_exports__);
18394
18339
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18395
- /* harmony export */ assert: () => (/* binding */ assert)
18340
+ /* harmony export */ "assert": () => (/* binding */ assert)
18396
18341
  /* harmony export */ });
18397
18342
  /*---------------------------------------------------------------------------------------------
18398
18343
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -18448,9 +18393,9 @@ function assert(condition, message) {
18448
18393
  "use strict";
18449
18394
  __webpack_require__.r(__webpack_exports__);
18450
18395
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18451
- /* harmony export */ BeEvent: () => (/* binding */ BeEvent),
18452
- /* harmony export */ BeEventList: () => (/* binding */ BeEventList),
18453
- /* harmony export */ BeUiEvent: () => (/* binding */ BeUiEvent)
18396
+ /* harmony export */ "BeEvent": () => (/* binding */ BeEvent),
18397
+ /* harmony export */ "BeEventList": () => (/* binding */ BeEventList),
18398
+ /* harmony export */ "BeUiEvent": () => (/* binding */ BeUiEvent)
18454
18399
  /* harmony export */ });
18455
18400
  /* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UnexpectedErrors */ "../bentley/lib/esm/UnexpectedErrors.js");
18456
18401
  /*---------------------------------------------------------------------------------------------
@@ -18616,9 +18561,9 @@ class BeEventList {
18616
18561
  "use strict";
18617
18562
  __webpack_require__.r(__webpack_exports__);
18618
18563
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18619
- /* harmony export */ DbOpcode: () => (/* binding */ DbOpcode),
18620
- /* harmony export */ DbResult: () => (/* binding */ DbResult),
18621
- /* harmony export */ OpenMode: () => (/* binding */ OpenMode)
18564
+ /* harmony export */ "DbOpcode": () => (/* binding */ DbOpcode),
18565
+ /* harmony export */ "DbResult": () => (/* binding */ DbResult),
18566
+ /* harmony export */ "OpenMode": () => (/* binding */ OpenMode)
18622
18567
  /* harmony export */ });
18623
18568
  /*---------------------------------------------------------------------------------------------
18624
18569
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -18815,17 +18760,17 @@ var DbResult;
18815
18760
  "use strict";
18816
18761
  __webpack_require__.r(__webpack_exports__);
18817
18762
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18818
- /* harmony export */ BentleyError: () => (/* binding */ BentleyError),
18819
- /* harmony export */ BentleyStatus: () => (/* binding */ BentleyStatus),
18820
- /* harmony export */ BriefcaseStatus: () => (/* binding */ BriefcaseStatus),
18821
- /* harmony export */ ChangeSetStatus: () => (/* binding */ ChangeSetStatus),
18822
- /* harmony export */ GeoServiceStatus: () => (/* binding */ GeoServiceStatus),
18823
- /* harmony export */ HttpStatus: () => (/* binding */ HttpStatus),
18824
- /* harmony export */ IModelHubStatus: () => (/* binding */ IModelHubStatus),
18825
- /* harmony export */ IModelStatus: () => (/* binding */ IModelStatus),
18826
- /* harmony export */ RealityDataStatus: () => (/* binding */ RealityDataStatus),
18827
- /* harmony export */ RepositoryStatus: () => (/* binding */ RepositoryStatus),
18828
- /* harmony export */ RpcInterfaceStatus: () => (/* binding */ RpcInterfaceStatus)
18763
+ /* harmony export */ "BentleyError": () => (/* binding */ BentleyError),
18764
+ /* harmony export */ "BentleyStatus": () => (/* binding */ BentleyStatus),
18765
+ /* harmony export */ "BriefcaseStatus": () => (/* binding */ BriefcaseStatus),
18766
+ /* harmony export */ "ChangeSetStatus": () => (/* binding */ ChangeSetStatus),
18767
+ /* harmony export */ "GeoServiceStatus": () => (/* binding */ GeoServiceStatus),
18768
+ /* harmony export */ "HttpStatus": () => (/* binding */ HttpStatus),
18769
+ /* harmony export */ "IModelHubStatus": () => (/* binding */ IModelHubStatus),
18770
+ /* harmony export */ "IModelStatus": () => (/* binding */ IModelStatus),
18771
+ /* harmony export */ "RealityDataStatus": () => (/* binding */ RealityDataStatus),
18772
+ /* harmony export */ "RepositoryStatus": () => (/* binding */ RepositoryStatus),
18773
+ /* harmony export */ "RpcInterfaceStatus": () => (/* binding */ RpcInterfaceStatus)
18829
18774
  /* harmony export */ });
18830
18775
  /* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeSQLite */ "../bentley/lib/esm/BeSQLite.js");
18831
18776
  /*---------------------------------------------------------------------------------------------
@@ -19540,7 +19485,7 @@ class BentleyError extends Error {
19540
19485
  "use strict";
19541
19486
  __webpack_require__.r(__webpack_exports__);
19542
19487
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19543
- /* harmony export */ BentleyLoggerCategory: () => (/* binding */ BentleyLoggerCategory)
19488
+ /* harmony export */ "BentleyLoggerCategory": () => (/* binding */ BentleyLoggerCategory)
19544
19489
  /* harmony export */ });
19545
19490
  /*---------------------------------------------------------------------------------------------
19546
19491
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -19571,7 +19516,7 @@ var BentleyLoggerCategory;
19571
19516
  "use strict";
19572
19517
  __webpack_require__.r(__webpack_exports__);
19573
19518
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19574
- /* harmony export */ ByteStream: () => (/* binding */ ByteStream)
19519
+ /* harmony export */ "ByteStream": () => (/* binding */ ByteStream)
19575
19520
  /* harmony export */ });
19576
19521
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
19577
19522
  /* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../bentley/lib/esm/Id.js");
@@ -19743,8 +19688,8 @@ class ByteStream {
19743
19688
  "use strict";
19744
19689
  __webpack_require__.r(__webpack_exports__);
19745
19690
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19746
- /* harmony export */ isProperSubclassOf: () => (/* binding */ isProperSubclassOf),
19747
- /* harmony export */ isSubclassOf: () => (/* binding */ isSubclassOf)
19691
+ /* harmony export */ "isProperSubclassOf": () => (/* binding */ isProperSubclassOf),
19692
+ /* harmony export */ "isSubclassOf": () => (/* binding */ isSubclassOf)
19748
19693
  /* harmony export */ });
19749
19694
  /*---------------------------------------------------------------------------------------------
19750
19695
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -19786,15 +19731,15 @@ function isSubclassOf(subclass, superclass) {
19786
19731
  "use strict";
19787
19732
  __webpack_require__.r(__webpack_exports__);
19788
19733
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19789
- /* harmony export */ areEqualPossiblyUndefined: () => (/* binding */ areEqualPossiblyUndefined),
19790
- /* harmony export */ compareBooleans: () => (/* binding */ compareBooleans),
19791
- /* harmony export */ compareBooleansOrUndefined: () => (/* binding */ compareBooleansOrUndefined),
19792
- /* harmony export */ compareNumbers: () => (/* binding */ compareNumbers),
19793
- /* harmony export */ compareNumbersOrUndefined: () => (/* binding */ compareNumbersOrUndefined),
19794
- /* harmony export */ comparePossiblyUndefined: () => (/* binding */ comparePossiblyUndefined),
19795
- /* harmony export */ compareStrings: () => (/* binding */ compareStrings),
19796
- /* harmony export */ compareStringsOrUndefined: () => (/* binding */ compareStringsOrUndefined),
19797
- /* harmony export */ compareWithTolerance: () => (/* binding */ compareWithTolerance)
19734
+ /* harmony export */ "areEqualPossiblyUndefined": () => (/* binding */ areEqualPossiblyUndefined),
19735
+ /* harmony export */ "compareBooleans": () => (/* binding */ compareBooleans),
19736
+ /* harmony export */ "compareBooleansOrUndefined": () => (/* binding */ compareBooleansOrUndefined),
19737
+ /* harmony export */ "compareNumbers": () => (/* binding */ compareNumbers),
19738
+ /* harmony export */ "compareNumbersOrUndefined": () => (/* binding */ compareNumbersOrUndefined),
19739
+ /* harmony export */ "comparePossiblyUndefined": () => (/* binding */ comparePossiblyUndefined),
19740
+ /* harmony export */ "compareStrings": () => (/* binding */ compareStrings),
19741
+ /* harmony export */ "compareStringsOrUndefined": () => (/* binding */ compareStringsOrUndefined),
19742
+ /* harmony export */ "compareWithTolerance": () => (/* binding */ compareWithTolerance)
19798
19743
  /* harmony export */ });
19799
19744
  /*---------------------------------------------------------------------------------------------
19800
19745
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -19872,9 +19817,9 @@ function areEqualPossiblyUndefined(t, u, areEqual) {
19872
19817
  "use strict";
19873
19818
  __webpack_require__.r(__webpack_exports__);
19874
19819
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19875
- /* harmony export */ CompressedId64Set: () => (/* binding */ CompressedId64Set),
19876
- /* harmony export */ MutableCompressedId64Set: () => (/* binding */ MutableCompressedId64Set),
19877
- /* harmony export */ OrderedId64Array: () => (/* binding */ OrderedId64Array)
19820
+ /* harmony export */ "CompressedId64Set": () => (/* binding */ CompressedId64Set),
19821
+ /* harmony export */ "MutableCompressedId64Set": () => (/* binding */ MutableCompressedId64Set),
19822
+ /* harmony export */ "OrderedId64Array": () => (/* binding */ OrderedId64Array)
19878
19823
  /* harmony export */ });
19879
19824
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
19880
19825
  /* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Id */ "../bentley/lib/esm/Id.js");
@@ -20316,7 +20261,7 @@ class MutableCompressedId64Set {
20316
20261
  "use strict";
20317
20262
  __webpack_require__.r(__webpack_exports__);
20318
20263
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20319
- /* harmony export */ Dictionary: () => (/* binding */ Dictionary)
20264
+ /* harmony export */ "Dictionary": () => (/* binding */ Dictionary)
20320
20265
  /* harmony export */ });
20321
20266
  /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
20322
20267
  /*---------------------------------------------------------------------------------------------
@@ -20531,11 +20476,11 @@ class Dictionary {
20531
20476
  "use strict";
20532
20477
  __webpack_require__.r(__webpack_exports__);
20533
20478
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20534
- /* harmony export */ DisposableList: () => (/* binding */ DisposableList),
20535
- /* harmony export */ dispose: () => (/* binding */ dispose),
20536
- /* harmony export */ disposeArray: () => (/* binding */ disposeArray),
20537
- /* harmony export */ isIDisposable: () => (/* binding */ isIDisposable),
20538
- /* harmony export */ using: () => (/* binding */ using)
20479
+ /* harmony export */ "DisposableList": () => (/* binding */ DisposableList),
20480
+ /* harmony export */ "dispose": () => (/* binding */ dispose),
20481
+ /* harmony export */ "disposeArray": () => (/* binding */ disposeArray),
20482
+ /* harmony export */ "isIDisposable": () => (/* binding */ isIDisposable),
20483
+ /* harmony export */ "using": () => (/* binding */ using)
20539
20484
  /* harmony export */ });
20540
20485
  /*---------------------------------------------------------------------------------------------
20541
20486
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -20662,9 +20607,9 @@ class DisposableList {
20662
20607
  "use strict";
20663
20608
  __webpack_require__.r(__webpack_exports__);
20664
20609
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20665
- /* harmony export */ Guid: () => (/* binding */ Guid),
20666
- /* harmony export */ Id64: () => (/* binding */ Id64),
20667
- /* harmony export */ TransientIdSequence: () => (/* binding */ TransientIdSequence)
20610
+ /* harmony export */ "Guid": () => (/* binding */ Guid),
20611
+ /* harmony export */ "Id64": () => (/* binding */ Id64),
20612
+ /* harmony export */ "TransientIdSequence": () => (/* binding */ TransientIdSequence)
20668
20613
  /* harmony export */ });
20669
20614
  /*---------------------------------------------------------------------------------------------
20670
20615
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -21318,8 +21263,8 @@ var Guid;
21318
21263
  "use strict";
21319
21264
  __webpack_require__.r(__webpack_exports__);
21320
21265
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21321
- /* harmony export */ IndexMap: () => (/* binding */ IndexMap),
21322
- /* harmony export */ IndexedValue: () => (/* binding */ IndexedValue)
21266
+ /* harmony export */ "IndexMap": () => (/* binding */ IndexMap),
21267
+ /* harmony export */ "IndexedValue": () => (/* binding */ IndexedValue)
21323
21268
  /* harmony export */ });
21324
21269
  /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
21325
21270
  /*---------------------------------------------------------------------------------------------
@@ -21441,7 +21386,7 @@ __webpack_require__.r(__webpack_exports__);
21441
21386
  "use strict";
21442
21387
  __webpack_require__.r(__webpack_exports__);
21443
21388
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21444
- /* harmony export */ JsonUtils: () => (/* binding */ JsonUtils)
21389
+ /* harmony export */ "JsonUtils": () => (/* binding */ JsonUtils)
21445
21390
  /* harmony export */ });
21446
21391
  /*---------------------------------------------------------------------------------------------
21447
21392
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -21604,10 +21549,10 @@ var JsonUtils;
21604
21549
  "use strict";
21605
21550
  __webpack_require__.r(__webpack_exports__);
21606
21551
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21607
- /* harmony export */ Entry: () => (/* binding */ Entry),
21608
- /* harmony export */ LRUCache: () => (/* binding */ LRUCache),
21609
- /* harmony export */ LRUDictionary: () => (/* binding */ LRUDictionary),
21610
- /* harmony export */ LRUMap: () => (/* binding */ LRUMap)
21552
+ /* harmony export */ "Entry": () => (/* binding */ Entry),
21553
+ /* harmony export */ "LRUCache": () => (/* binding */ LRUCache),
21554
+ /* harmony export */ "LRUDictionary": () => (/* binding */ LRUDictionary),
21555
+ /* harmony export */ "LRUMap": () => (/* binding */ LRUMap)
21611
21556
  /* harmony export */ });
21612
21557
  /* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dictionary */ "../bentley/lib/esm/Dictionary.js");
21613
21558
  /*---------------------------------------------------------------------------------------------
@@ -21949,9 +21894,9 @@ class LRUDictionary extends LRUCache {
21949
21894
  "use strict";
21950
21895
  __webpack_require__.r(__webpack_exports__);
21951
21896
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
21952
- /* harmony export */ LogLevel: () => (/* binding */ LogLevel),
21953
- /* harmony export */ Logger: () => (/* binding */ Logger),
21954
- /* harmony export */ PerfLogger: () => (/* binding */ PerfLogger)
21897
+ /* harmony export */ "LogLevel": () => (/* binding */ LogLevel),
21898
+ /* harmony export */ "Logger": () => (/* binding */ Logger),
21899
+ /* harmony export */ "PerfLogger": () => (/* binding */ PerfLogger)
21955
21900
  /* harmony export */ });
21956
21901
  /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
21957
21902
  /* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../bentley/lib/esm/BentleyLoggerCategory.js");
@@ -22221,7 +22166,7 @@ PerfLogger._severity = LogLevel.Info;
22221
22166
  "use strict";
22222
22167
  __webpack_require__.r(__webpack_exports__);
22223
22168
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22224
- /* harmony export */ ObservableSet: () => (/* binding */ ObservableSet)
22169
+ /* harmony export */ "ObservableSet": () => (/* binding */ ObservableSet)
22225
22170
  /* harmony export */ });
22226
22171
  /* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BeEvent */ "../bentley/lib/esm/BeEvent.js");
22227
22172
  /*---------------------------------------------------------------------------------------------
@@ -22284,8 +22229,8 @@ class ObservableSet extends Set {
22284
22229
  "use strict";
22285
22230
  __webpack_require__.r(__webpack_exports__);
22286
22231
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22287
- /* harmony export */ AbandonedError: () => (/* binding */ AbandonedError),
22288
- /* harmony export */ OneAtATimeAction: () => (/* binding */ OneAtATimeAction)
22232
+ /* harmony export */ "AbandonedError": () => (/* binding */ AbandonedError),
22233
+ /* harmony export */ "OneAtATimeAction": () => (/* binding */ OneAtATimeAction)
22289
22234
  /* harmony export */ });
22290
22235
  /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
22291
22236
  /*---------------------------------------------------------------------------------------------
@@ -22390,7 +22335,7 @@ class OneAtATimeAction {
22390
22335
  "use strict";
22391
22336
  __webpack_require__.r(__webpack_exports__);
22392
22337
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22393
- /* harmony export */ OrderedId64Iterable: () => (/* binding */ OrderedId64Iterable)
22338
+ /* harmony export */ "OrderedId64Iterable": () => (/* binding */ OrderedId64Iterable)
22394
22339
  /* harmony export */ });
22395
22340
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
22396
22341
  /*---------------------------------------------------------------------------------------------
@@ -22638,8 +22583,8 @@ var OrderedId64Iterable;
22638
22583
  "use strict";
22639
22584
  __webpack_require__.r(__webpack_exports__);
22640
22585
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22641
- /* harmony export */ OrderedSet: () => (/* binding */ OrderedSet),
22642
- /* harmony export */ ReadonlyOrderedSet: () => (/* binding */ ReadonlyOrderedSet)
22586
+ /* harmony export */ "OrderedSet": () => (/* binding */ OrderedSet),
22587
+ /* harmony export */ "ReadonlyOrderedSet": () => (/* binding */ ReadonlyOrderedSet)
22643
22588
  /* harmony export */ });
22644
22589
  /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
22645
22590
  /*---------------------------------------------------------------------------------------------
@@ -22714,7 +22659,7 @@ class OrderedSet extends ReadonlyOrderedSet {
22714
22659
  "use strict";
22715
22660
  __webpack_require__.r(__webpack_exports__);
22716
22661
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22717
- /* harmony export */ PriorityQueue: () => (/* binding */ PriorityQueue)
22662
+ /* harmony export */ "PriorityQueue": () => (/* binding */ PriorityQueue)
22718
22663
  /* harmony export */ });
22719
22664
  /* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
22720
22665
  /*---------------------------------------------------------------------------------------------
@@ -22866,7 +22811,7 @@ class PriorityQueue {
22866
22811
  "use strict";
22867
22812
  __webpack_require__.r(__webpack_exports__);
22868
22813
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22869
- /* harmony export */ ProcessDetector: () => (/* binding */ ProcessDetector)
22814
+ /* harmony export */ "ProcessDetector": () => (/* binding */ ProcessDetector)
22870
22815
  /* harmony export */ });
22871
22816
  /*---------------------------------------------------------------------------------------------
22872
22817
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -22948,11 +22893,11 @@ class ProcessDetector {
22948
22893
  "use strict";
22949
22894
  __webpack_require__.r(__webpack_exports__);
22950
22895
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22951
- /* harmony export */ DuplicatePolicy: () => (/* binding */ DuplicatePolicy),
22952
- /* harmony export */ ReadonlySortedArray: () => (/* binding */ ReadonlySortedArray),
22953
- /* harmony export */ SortedArray: () => (/* binding */ SortedArray),
22954
- /* harmony export */ lowerBound: () => (/* binding */ lowerBound),
22955
- /* harmony export */ shallowClone: () => (/* binding */ shallowClone)
22896
+ /* harmony export */ "DuplicatePolicy": () => (/* binding */ DuplicatePolicy),
22897
+ /* harmony export */ "ReadonlySortedArray": () => (/* binding */ ReadonlySortedArray),
22898
+ /* harmony export */ "SortedArray": () => (/* binding */ SortedArray),
22899
+ /* harmony export */ "lowerBound": () => (/* binding */ lowerBound),
22900
+ /* harmony export */ "shallowClone": () => (/* binding */ shallowClone)
22956
22901
  /* harmony export */ });
22957
22902
  /*---------------------------------------------------------------------------------------------
22958
22903
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -23275,9 +23220,9 @@ class SortedArray extends ReadonlySortedArray {
23275
23220
  "use strict";
23276
23221
  __webpack_require__.r(__webpack_exports__);
23277
23222
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23278
- /* harmony export */ ErrorCategory: () => (/* binding */ ErrorCategory),
23279
- /* harmony export */ StatusCategory: () => (/* binding */ StatusCategory),
23280
- /* harmony export */ SuccessCategory: () => (/* binding */ SuccessCategory)
23223
+ /* harmony export */ "ErrorCategory": () => (/* binding */ ErrorCategory),
23224
+ /* harmony export */ "StatusCategory": () => (/* binding */ StatusCategory),
23225
+ /* harmony export */ "SuccessCategory": () => (/* binding */ SuccessCategory)
23281
23226
  /* harmony export */ });
23282
23227
  /* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
23283
23228
  /*---------------------------------------------------------------------------------------------
@@ -23748,9 +23693,9 @@ function lookupCategory(error) {
23748
23693
  "use strict";
23749
23694
  __webpack_require__.r(__webpack_exports__);
23750
23695
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23751
- /* harmony export */ base64StringToUint8Array: () => (/* binding */ base64StringToUint8Array),
23752
- /* harmony export */ utf8ToString: () => (/* binding */ utf8ToString),
23753
- /* harmony export */ utf8ToStringPolyfill: () => (/* binding */ utf8ToStringPolyfill)
23696
+ /* harmony export */ "base64StringToUint8Array": () => (/* binding */ base64StringToUint8Array),
23697
+ /* harmony export */ "utf8ToString": () => (/* binding */ utf8ToString),
23698
+ /* harmony export */ "utf8ToStringPolyfill": () => (/* binding */ utf8ToStringPolyfill)
23754
23699
  /* harmony export */ });
23755
23700
  /*---------------------------------------------------------------------------------------------
23756
23701
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -23907,9 +23852,9 @@ function base64StringToUint8Array(base64) {
23907
23852
  "use strict";
23908
23853
  __webpack_require__.r(__webpack_exports__);
23909
23854
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23910
- /* harmony export */ BeDuration: () => (/* binding */ BeDuration),
23911
- /* harmony export */ BeTimePoint: () => (/* binding */ BeTimePoint),
23912
- /* harmony export */ StopWatch: () => (/* binding */ StopWatch)
23855
+ /* harmony export */ "BeDuration": () => (/* binding */ BeDuration),
23856
+ /* harmony export */ "BeTimePoint": () => (/* binding */ BeTimePoint),
23857
+ /* harmony export */ "StopWatch": () => (/* binding */ StopWatch)
23913
23858
  /* harmony export */ });
23914
23859
  /*---------------------------------------------------------------------------------------------
23915
23860
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24070,8 +24015,8 @@ class StopWatch {
24070
24015
  "use strict";
24071
24016
  __webpack_require__.r(__webpack_exports__);
24072
24017
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24073
- /* harmony export */ SpanKind: () => (/* binding */ SpanKind),
24074
- /* harmony export */ Tracing: () => (/* binding */ Tracing)
24018
+ /* harmony export */ "SpanKind": () => (/* binding */ SpanKind),
24019
+ /* harmony export */ "Tracing": () => (/* binding */ Tracing)
24075
24020
  /* harmony export */ });
24076
24021
  /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../bentley/lib/esm/Logger.js");
24077
24022
  /*---------------------------------------------------------------------------------------------
@@ -24086,6 +24031,7 @@ __webpack_require__.r(__webpack_exports__);
24086
24031
  /**
24087
24032
  * Mirrors the SpanKind enum from [@opentelemetry/api](https://open-telemetry.github.io/opentelemetry-js/enums/_opentelemetry_api.SpanKind.html)
24088
24033
  * @public
24034
+ * @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
24089
24035
  */
24090
24036
  var SpanKind;
24091
24037
  (function (SpanKind) {
@@ -24141,9 +24087,11 @@ function* getFlatEntries(obj, path = "") {
24141
24087
  function flattenObject(obj) {
24142
24088
  return Object.fromEntries(getFlatEntries(obj));
24143
24089
  }
24090
+ /* eslint-disable deprecation/deprecation -- lots of self-references here... */
24144
24091
  /**
24145
24092
  * Enables OpenTelemetry tracing in addition to traditional logging.
24146
24093
  * @public
24094
+ * @deprecated in 4.4 - OpenTelemetry Tracing helpers will become internal in a future release. Apps should use `@opentelemetry/api` directly.
24147
24095
  */
24148
24096
  class Tracing {
24149
24097
  /**
@@ -24175,6 +24123,14 @@ class Tracing {
24175
24123
  }
24176
24124
  });
24177
24125
  }
24126
+ /**
24127
+ * Adds a span event describing a runtime exception, as advised in OpenTelemetry documentation
24128
+ * @param e error (exception) object
24129
+ * @internal
24130
+ */
24131
+ static recordException(e) {
24132
+ Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.recordException(e);
24133
+ }
24178
24134
  /**
24179
24135
  * Enable logging to OpenTelemetry. [[Tracing.withSpan]] will be enabled, all log entries will be attached to active span as span events.
24180
24136
  * [IModelHost.startup]($backend) will call this automatically if the `enableOpenTelemetry` option is enabled and it succeeds in requiring `@opentelemetry/api`.
@@ -24224,6 +24180,7 @@ class Tracing {
24224
24180
  Tracing._openTelemetry?.trace.getSpan(Tracing._openTelemetry.context.active())?.setAttributes(attributes);
24225
24181
  }
24226
24182
  }
24183
+ /* eslint-enable deprecation/deprecation */
24227
24184
 
24228
24185
 
24229
24186
  /***/ }),
@@ -24237,7 +24194,7 @@ class Tracing {
24237
24194
  "use strict";
24238
24195
  __webpack_require__.r(__webpack_exports__);
24239
24196
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24240
- /* harmony export */ TupleKeyedMap: () => (/* binding */ TupleKeyedMap)
24197
+ /* harmony export */ "TupleKeyedMap": () => (/* binding */ TupleKeyedMap)
24241
24198
  /* harmony export */ });
24242
24199
  /*---------------------------------------------------------------------------------------------
24243
24200
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24350,11 +24307,11 @@ class TupleKeyedMap {
24350
24307
  "use strict";
24351
24308
  __webpack_require__.r(__webpack_exports__);
24352
24309
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24353
- /* harmony export */ TypedArrayBuilder: () => (/* binding */ TypedArrayBuilder),
24354
- /* harmony export */ Uint16ArrayBuilder: () => (/* binding */ Uint16ArrayBuilder),
24355
- /* harmony export */ Uint32ArrayBuilder: () => (/* binding */ Uint32ArrayBuilder),
24356
- /* harmony export */ Uint8ArrayBuilder: () => (/* binding */ Uint8ArrayBuilder),
24357
- /* harmony export */ UintArrayBuilder: () => (/* binding */ UintArrayBuilder)
24310
+ /* harmony export */ "TypedArrayBuilder": () => (/* binding */ TypedArrayBuilder),
24311
+ /* harmony export */ "Uint16ArrayBuilder": () => (/* binding */ Uint16ArrayBuilder),
24312
+ /* harmony export */ "Uint32ArrayBuilder": () => (/* binding */ Uint32ArrayBuilder),
24313
+ /* harmony export */ "Uint8ArrayBuilder": () => (/* binding */ Uint8ArrayBuilder),
24314
+ /* harmony export */ "UintArrayBuilder": () => (/* binding */ UintArrayBuilder)
24358
24315
  /* harmony export */ });
24359
24316
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
24360
24317
  /*---------------------------------------------------------------------------------------------
@@ -24568,7 +24525,7 @@ class UintArrayBuilder extends TypedArrayBuilder {
24568
24525
  "use strict";
24569
24526
  __webpack_require__.r(__webpack_exports__);
24570
24527
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24571
- /* harmony export */ UnexpectedErrors: () => (/* binding */ UnexpectedErrors)
24528
+ /* harmony export */ "UnexpectedErrors": () => (/* binding */ UnexpectedErrors)
24572
24529
  /* harmony export */ });
24573
24530
  /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../bentley/lib/esm/Logger.js");
24574
24531
  /*---------------------------------------------------------------------------------------------
@@ -24649,9 +24606,9 @@ UnexpectedErrors._handler = _a.errorLog; // default to error logging
24649
24606
  "use strict";
24650
24607
  __webpack_require__.r(__webpack_exports__);
24651
24608
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24652
- /* harmony export */ asInstanceOf: () => (/* binding */ asInstanceOf),
24653
- /* harmony export */ isInstanceOf: () => (/* binding */ isInstanceOf),
24654
- /* harmony export */ omit: () => (/* binding */ omit)
24609
+ /* harmony export */ "asInstanceOf": () => (/* binding */ asInstanceOf),
24610
+ /* harmony export */ "isInstanceOf": () => (/* binding */ isInstanceOf),
24611
+ /* harmony export */ "omit": () => (/* binding */ omit)
24655
24612
  /* harmony export */ });
24656
24613
  /*---------------------------------------------------------------------------------------------
24657
24614
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24700,7 +24657,7 @@ function omit(t, keys) {
24700
24657
  "use strict";
24701
24658
  __webpack_require__.r(__webpack_exports__);
24702
24659
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24703
- /* harmony export */ YieldManager: () => (/* binding */ YieldManager)
24660
+ /* harmony export */ "YieldManager": () => (/* binding */ YieldManager)
24704
24661
  /* harmony export */ });
24705
24662
  /*---------------------------------------------------------------------------------------------
24706
24663
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -24753,95 +24710,95 @@ class YieldManager {
24753
24710
  "use strict";
24754
24711
  __webpack_require__.r(__webpack_exports__);
24755
24712
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24756
- /* harmony export */ AbandonedError: () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.AbandonedError),
24757
- /* harmony export */ BeDuration: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeDuration),
24758
- /* harmony export */ BeEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEvent),
24759
- /* harmony export */ BeEventList: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEventList),
24760
- /* harmony export */ BeTimePoint: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeTimePoint),
24761
- /* harmony export */ BeUiEvent: () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUiEvent),
24762
- /* harmony export */ BentleyError: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyError),
24763
- /* harmony export */ BentleyLoggerCategory: () => (/* reexport safe */ _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__.BentleyLoggerCategory),
24764
- /* harmony export */ BentleyStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyStatus),
24765
- /* harmony export */ BriefcaseStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BriefcaseStatus),
24766
- /* harmony export */ ByteStream: () => (/* reexport safe */ _ByteStream__WEBPACK_IMPORTED_MODULE_7__.ByteStream),
24767
- /* harmony export */ ChangeSetStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ChangeSetStatus),
24768
- /* harmony export */ CompressedId64Set: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.CompressedId64Set),
24769
- /* harmony export */ DbOpcode: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbOpcode),
24770
- /* harmony export */ DbResult: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbResult),
24771
- /* harmony export */ Dictionary: () => (/* reexport safe */ _Dictionary__WEBPACK_IMPORTED_MODULE_11__.Dictionary),
24772
- /* harmony export */ DisposableList: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.DisposableList),
24773
- /* harmony export */ DuplicatePolicy: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.DuplicatePolicy),
24774
- /* harmony export */ Entry: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.Entry),
24775
- /* harmony export */ ErrorCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.ErrorCategory),
24776
- /* harmony export */ GeoServiceStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.GeoServiceStatus),
24777
- /* harmony export */ Guid: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Guid),
24778
- /* harmony export */ HttpStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.HttpStatus),
24779
- /* harmony export */ IModelHubStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelHubStatus),
24780
- /* harmony export */ IModelStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelStatus),
24781
- /* harmony export */ Id64: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Id64),
24782
- /* harmony export */ IndexMap: () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexMap),
24783
- /* harmony export */ IndexedValue: () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexedValue),
24784
- /* harmony export */ JsonUtils: () => (/* reexport safe */ _JsonUtils__WEBPACK_IMPORTED_MODULE_16__.JsonUtils),
24785
- /* harmony export */ LRUCache: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUCache),
24786
- /* harmony export */ LRUDictionary: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUDictionary),
24787
- /* harmony export */ LRUMap: () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUMap),
24788
- /* harmony export */ LogLevel: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.LogLevel),
24789
- /* harmony export */ Logger: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.Logger),
24790
- /* harmony export */ MutableCompressedId64Set: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.MutableCompressedId64Set),
24791
- /* harmony export */ ObservableSet: () => (/* reexport safe */ _ObservableSet__WEBPACK_IMPORTED_MODULE_19__.ObservableSet),
24792
- /* harmony export */ OneAtATimeAction: () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.OneAtATimeAction),
24793
- /* harmony export */ OpenMode: () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.OpenMode),
24794
- /* harmony export */ OrderedId64Array: () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.OrderedId64Array),
24795
- /* harmony export */ OrderedId64Iterable: () => (/* reexport safe */ _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_21__.OrderedId64Iterable),
24796
- /* harmony export */ OrderedSet: () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.OrderedSet),
24797
- /* harmony export */ PerfLogger: () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.PerfLogger),
24798
- /* harmony export */ PriorityQueue: () => (/* reexport safe */ _PriorityQueue__WEBPACK_IMPORTED_MODULE_24__.PriorityQueue),
24799
- /* harmony export */ ProcessDetector: () => (/* reexport safe */ _ProcessDetector__WEBPACK_IMPORTED_MODULE_25__.ProcessDetector),
24800
- /* harmony export */ ReadonlyOrderedSet: () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.ReadonlyOrderedSet),
24801
- /* harmony export */ ReadonlySortedArray: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.ReadonlySortedArray),
24802
- /* harmony export */ RealityDataStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RealityDataStatus),
24803
- /* harmony export */ RepositoryStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RepositoryStatus),
24804
- /* harmony export */ RpcInterfaceStatus: () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RpcInterfaceStatus),
24805
- /* harmony export */ SortedArray: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.SortedArray),
24806
- /* harmony export */ SpanKind: () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.SpanKind),
24807
- /* harmony export */ StatusCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.StatusCategory),
24808
- /* harmony export */ StopWatch: () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.StopWatch),
24809
- /* harmony export */ SuccessCategory: () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.SuccessCategory),
24810
- /* harmony export */ Tracing: () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.Tracing),
24811
- /* harmony export */ TransientIdSequence: () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.TransientIdSequence),
24812
- /* harmony export */ TupleKeyedMap: () => (/* reexport safe */ _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_30__.TupleKeyedMap),
24813
- /* harmony export */ TypedArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.TypedArrayBuilder),
24814
- /* harmony export */ Uint16ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint16ArrayBuilder),
24815
- /* harmony export */ Uint32ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint32ArrayBuilder),
24816
- /* harmony export */ Uint8ArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint8ArrayBuilder),
24817
- /* harmony export */ UintArrayBuilder: () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.UintArrayBuilder),
24818
- /* harmony export */ UnexpectedErrors: () => (/* reexport safe */ _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_32__.UnexpectedErrors),
24819
- /* harmony export */ YieldManager: () => (/* reexport safe */ _YieldManager__WEBPACK_IMPORTED_MODULE_34__.YieldManager),
24820
- /* harmony export */ areEqualPossiblyUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.areEqualPossiblyUndefined),
24821
- /* harmony export */ asInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.asInstanceOf),
24822
- /* harmony export */ assert: () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
24823
- /* harmony export */ base64StringToUint8Array: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.base64StringToUint8Array),
24824
- /* harmony export */ compareBooleans: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
24825
- /* harmony export */ compareBooleansOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
24826
- /* harmony export */ compareNumbers: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),
24827
- /* harmony export */ compareNumbersOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbersOrUndefined),
24828
- /* harmony export */ comparePossiblyUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.comparePossiblyUndefined),
24829
- /* harmony export */ compareStrings: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStrings),
24830
- /* harmony export */ compareStringsOrUndefined: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStringsOrUndefined),
24831
- /* harmony export */ compareWithTolerance: () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareWithTolerance),
24832
- /* harmony export */ dispose: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.dispose),
24833
- /* harmony export */ disposeArray: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.disposeArray),
24834
- /* harmony export */ isIDisposable: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isIDisposable),
24835
- /* harmony export */ isInstanceOf: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.isInstanceOf),
24836
- /* harmony export */ isProperSubclassOf: () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isProperSubclassOf),
24837
- /* harmony export */ isSubclassOf: () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isSubclassOf),
24838
- /* harmony export */ lowerBound: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.lowerBound),
24839
- /* harmony export */ omit: () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.omit),
24840
- /* harmony export */ partitionArray: () => (/* reexport safe */ _partitionArray__WEBPACK_IMPORTED_MODULE_23__.partitionArray),
24841
- /* harmony export */ shallowClone: () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.shallowClone),
24842
- /* harmony export */ using: () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.using),
24843
- /* harmony export */ utf8ToString: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToString),
24844
- /* harmony export */ utf8ToStringPolyfill: () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToStringPolyfill)
24713
+ /* harmony export */ "AbandonedError": () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.AbandonedError),
24714
+ /* harmony export */ "BeDuration": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeDuration),
24715
+ /* harmony export */ "BeEvent": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEvent),
24716
+ /* harmony export */ "BeEventList": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEventList),
24717
+ /* harmony export */ "BeTimePoint": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeTimePoint),
24718
+ /* harmony export */ "BeUiEvent": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUiEvent),
24719
+ /* harmony export */ "BentleyError": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyError),
24720
+ /* harmony export */ "BentleyLoggerCategory": () => (/* reexport safe */ _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__.BentleyLoggerCategory),
24721
+ /* harmony export */ "BentleyStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyStatus),
24722
+ /* harmony export */ "BriefcaseStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BriefcaseStatus),
24723
+ /* harmony export */ "ByteStream": () => (/* reexport safe */ _ByteStream__WEBPACK_IMPORTED_MODULE_7__.ByteStream),
24724
+ /* harmony export */ "ChangeSetStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ChangeSetStatus),
24725
+ /* harmony export */ "CompressedId64Set": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.CompressedId64Set),
24726
+ /* harmony export */ "DbOpcode": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbOpcode),
24727
+ /* harmony export */ "DbResult": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbResult),
24728
+ /* harmony export */ "Dictionary": () => (/* reexport safe */ _Dictionary__WEBPACK_IMPORTED_MODULE_11__.Dictionary),
24729
+ /* harmony export */ "DisposableList": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.DisposableList),
24730
+ /* harmony export */ "DuplicatePolicy": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.DuplicatePolicy),
24731
+ /* harmony export */ "Entry": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.Entry),
24732
+ /* harmony export */ "ErrorCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.ErrorCategory),
24733
+ /* harmony export */ "GeoServiceStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.GeoServiceStatus),
24734
+ /* harmony export */ "Guid": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Guid),
24735
+ /* harmony export */ "HttpStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.HttpStatus),
24736
+ /* harmony export */ "IModelHubStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelHubStatus),
24737
+ /* harmony export */ "IModelStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelStatus),
24738
+ /* harmony export */ "Id64": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Id64),
24739
+ /* harmony export */ "IndexMap": () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexMap),
24740
+ /* harmony export */ "IndexedValue": () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexedValue),
24741
+ /* harmony export */ "JsonUtils": () => (/* reexport safe */ _JsonUtils__WEBPACK_IMPORTED_MODULE_16__.JsonUtils),
24742
+ /* harmony export */ "LRUCache": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUCache),
24743
+ /* harmony export */ "LRUDictionary": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUDictionary),
24744
+ /* harmony export */ "LRUMap": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUMap),
24745
+ /* harmony export */ "LogLevel": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.LogLevel),
24746
+ /* harmony export */ "Logger": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.Logger),
24747
+ /* harmony export */ "MutableCompressedId64Set": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.MutableCompressedId64Set),
24748
+ /* harmony export */ "ObservableSet": () => (/* reexport safe */ _ObservableSet__WEBPACK_IMPORTED_MODULE_19__.ObservableSet),
24749
+ /* harmony export */ "OneAtATimeAction": () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.OneAtATimeAction),
24750
+ /* harmony export */ "OpenMode": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.OpenMode),
24751
+ /* harmony export */ "OrderedId64Array": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.OrderedId64Array),
24752
+ /* harmony export */ "OrderedId64Iterable": () => (/* reexport safe */ _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_21__.OrderedId64Iterable),
24753
+ /* harmony export */ "OrderedSet": () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.OrderedSet),
24754
+ /* harmony export */ "PerfLogger": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.PerfLogger),
24755
+ /* harmony export */ "PriorityQueue": () => (/* reexport safe */ _PriorityQueue__WEBPACK_IMPORTED_MODULE_24__.PriorityQueue),
24756
+ /* harmony export */ "ProcessDetector": () => (/* reexport safe */ _ProcessDetector__WEBPACK_IMPORTED_MODULE_25__.ProcessDetector),
24757
+ /* harmony export */ "ReadonlyOrderedSet": () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.ReadonlyOrderedSet),
24758
+ /* harmony export */ "ReadonlySortedArray": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.ReadonlySortedArray),
24759
+ /* harmony export */ "RealityDataStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RealityDataStatus),
24760
+ /* harmony export */ "RepositoryStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RepositoryStatus),
24761
+ /* harmony export */ "RpcInterfaceStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RpcInterfaceStatus),
24762
+ /* harmony export */ "SortedArray": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.SortedArray),
24763
+ /* harmony export */ "SpanKind": () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.SpanKind),
24764
+ /* harmony export */ "StatusCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.StatusCategory),
24765
+ /* harmony export */ "StopWatch": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.StopWatch),
24766
+ /* harmony export */ "SuccessCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.SuccessCategory),
24767
+ /* harmony export */ "Tracing": () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.Tracing),
24768
+ /* harmony export */ "TransientIdSequence": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.TransientIdSequence),
24769
+ /* harmony export */ "TupleKeyedMap": () => (/* reexport safe */ _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_30__.TupleKeyedMap),
24770
+ /* harmony export */ "TypedArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.TypedArrayBuilder),
24771
+ /* harmony export */ "Uint16ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint16ArrayBuilder),
24772
+ /* harmony export */ "Uint32ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint32ArrayBuilder),
24773
+ /* harmony export */ "Uint8ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint8ArrayBuilder),
24774
+ /* harmony export */ "UintArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.UintArrayBuilder),
24775
+ /* harmony export */ "UnexpectedErrors": () => (/* reexport safe */ _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_32__.UnexpectedErrors),
24776
+ /* harmony export */ "YieldManager": () => (/* reexport safe */ _YieldManager__WEBPACK_IMPORTED_MODULE_34__.YieldManager),
24777
+ /* harmony export */ "areEqualPossiblyUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.areEqualPossiblyUndefined),
24778
+ /* harmony export */ "asInstanceOf": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.asInstanceOf),
24779
+ /* harmony export */ "assert": () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
24780
+ /* harmony export */ "base64StringToUint8Array": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.base64StringToUint8Array),
24781
+ /* harmony export */ "compareBooleans": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
24782
+ /* harmony export */ "compareBooleansOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
24783
+ /* harmony export */ "compareNumbers": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),
24784
+ /* harmony export */ "compareNumbersOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbersOrUndefined),
24785
+ /* harmony export */ "comparePossiblyUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.comparePossiblyUndefined),
24786
+ /* harmony export */ "compareStrings": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStrings),
24787
+ /* harmony export */ "compareStringsOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStringsOrUndefined),
24788
+ /* harmony export */ "compareWithTolerance": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareWithTolerance),
24789
+ /* harmony export */ "dispose": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.dispose),
24790
+ /* harmony export */ "disposeArray": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.disposeArray),
24791
+ /* harmony export */ "isIDisposable": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isIDisposable),
24792
+ /* harmony export */ "isInstanceOf": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.isInstanceOf),
24793
+ /* harmony export */ "isProperSubclassOf": () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isProperSubclassOf),
24794
+ /* harmony export */ "isSubclassOf": () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isSubclassOf),
24795
+ /* harmony export */ "lowerBound": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.lowerBound),
24796
+ /* harmony export */ "omit": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.omit),
24797
+ /* harmony export */ "partitionArray": () => (/* reexport safe */ _partitionArray__WEBPACK_IMPORTED_MODULE_23__.partitionArray),
24798
+ /* harmony export */ "shallowClone": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.shallowClone),
24799
+ /* harmony export */ "using": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.using),
24800
+ /* harmony export */ "utf8ToString": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToString),
24801
+ /* harmony export */ "utf8ToStringPolyfill": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToStringPolyfill)
24845
24802
  /* harmony export */ });
24846
24803
  /* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../bentley/lib/esm/AccessToken.js");
24847
24804
  /* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
@@ -24969,7 +24926,7 @@ __webpack_require__.r(__webpack_exports__);
24969
24926
  "use strict";
24970
24927
  __webpack_require__.r(__webpack_exports__);
24971
24928
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24972
- /* harmony export */ partitionArray: () => (/* binding */ partitionArray)
24929
+ /* harmony export */ "partitionArray": () => (/* binding */ partitionArray)
24973
24930
  /* harmony export */ });
24974
24931
  /*---------------------------------------------------------------------------------------------
24975
24932
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -25024,9 +24981,9 @@ function partitionArray(array, criterion) {
25024
24981
 
25025
24982
  /***/ }),
25026
24983
 
25027
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
24984
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
25028
24985
  /*!**************************************************************************************************************************!*\
25029
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
24986
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
25030
24987
  \**************************************************************************************************************************/
25031
24988
  /***/ ((module) => {
25032
24989
 
@@ -25039,9 +24996,9 @@ module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exp
25039
24996
 
25040
24997
  /***/ }),
25041
24998
 
25042
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
24999
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
25043
25000
  /*!************************************************************************************************************************!*\
25044
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
25001
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
25045
25002
  \************************************************************************************************************************/
25046
25003
  /***/ ((module) => {
25047
25004
 
@@ -25052,9 +25009,9 @@ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.expor
25052
25009
 
25053
25010
  /***/ }),
25054
25011
 
25055
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
25012
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
25056
25013
  /*!*******************************************************************************************************************************!*\
25057
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
25014
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
25058
25015
  \*******************************************************************************************************************************/
25059
25016
  /***/ ((module) => {
25060
25017
 
@@ -25068,9 +25025,9 @@ module.exports = _assertThisInitialized, module.exports.__esModule = true, modul
25068
25025
 
25069
25026
  /***/ }),
25070
25027
 
25071
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/classCallCheck.js":
25028
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/classCallCheck.js":
25072
25029
  /*!************************************************************************************************************************!*\
25073
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
25030
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
25074
25031
  \************************************************************************************************************************/
25075
25032
  /***/ ((module) => {
25076
25033
 
@@ -25083,13 +25040,13 @@ module.exports = _classCallCheck, module.exports.__esModule = true, module.expor
25083
25040
 
25084
25041
  /***/ }),
25085
25042
 
25086
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/createClass.js":
25043
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/createClass.js":
25087
25044
  /*!*********************************************************************************************************************!*\
25088
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/createClass.js ***!
25045
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/createClass.js ***!
25089
25046
  \*********************************************************************************************************************/
25090
25047
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25091
25048
 
25092
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25049
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25093
25050
  function _defineProperties(target, props) {
25094
25051
  for (var i = 0; i < props.length; i++) {
25095
25052
  var descriptor = props[i];
@@ -25111,13 +25068,13 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
25111
25068
 
25112
25069
  /***/ }),
25113
25070
 
25114
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/defineProperty.js":
25071
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/defineProperty.js":
25115
25072
  /*!************************************************************************************************************************!*\
25116
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/defineProperty.js ***!
25073
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/defineProperty.js ***!
25117
25074
  \************************************************************************************************************************/
25118
25075
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25119
25076
 
25120
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25077
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25121
25078
  function _defineProperty(obj, key, value) {
25122
25079
  key = toPropertyKey(key);
25123
25080
  if (key in obj) {
@@ -25136,9 +25093,9 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
25136
25093
 
25137
25094
  /***/ }),
25138
25095
 
25139
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
25096
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
25140
25097
  /*!************************************************************************************************************************!*\
25141
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
25098
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
25142
25099
  \************************************************************************************************************************/
25143
25100
  /***/ ((module) => {
25144
25101
 
@@ -25152,13 +25109,13 @@ module.exports = _getPrototypeOf, module.exports.__esModule = true, module.expor
25152
25109
 
25153
25110
  /***/ }),
25154
25111
 
25155
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/inherits.js":
25112
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/inherits.js":
25156
25113
  /*!******************************************************************************************************************!*\
25157
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/inherits.js ***!
25114
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/inherits.js ***!
25158
25115
  \******************************************************************************************************************/
25159
25116
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25160
25117
 
25161
- var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
25118
+ var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
25162
25119
  function _inherits(subClass, superClass) {
25163
25120
  if (typeof superClass !== "function" && superClass !== null) {
25164
25121
  throw new TypeError("Super expression must either be null or a function");
@@ -25179,9 +25136,9 @@ module.exports = _inherits, module.exports.__esModule = true, module.exports["de
25179
25136
 
25180
25137
  /***/ }),
25181
25138
 
25182
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/iterableToArray.js":
25139
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/iterableToArray.js":
25183
25140
  /*!*************************************************************************************************************************!*\
25184
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
25141
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
25185
25142
  \*************************************************************************************************************************/
25186
25143
  /***/ ((module) => {
25187
25144
 
@@ -25192,9 +25149,9 @@ module.exports = _iterableToArray, module.exports.__esModule = true, module.expo
25192
25149
 
25193
25150
  /***/ }),
25194
25151
 
25195
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/nonIterableRest.js":
25152
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/nonIterableRest.js":
25196
25153
  /*!*************************************************************************************************************************!*\
25197
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
25154
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
25198
25155
  \*************************************************************************************************************************/
25199
25156
  /***/ ((module) => {
25200
25157
 
@@ -25205,14 +25162,14 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
25205
25162
 
25206
25163
  /***/ }),
25207
25164
 
25208
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
25165
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
25209
25166
  /*!***********************************************************************************************************************************!*\
25210
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
25167
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
25211
25168
  \***********************************************************************************************************************************/
25212
25169
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25213
25170
 
25214
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25215
- var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
25171
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25172
+ var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
25216
25173
  function _possibleConstructorReturn(self, call) {
25217
25174
  if (call && (_typeof(call) === "object" || typeof call === "function")) {
25218
25175
  return call;
@@ -25225,9 +25182,9 @@ module.exports = _possibleConstructorReturn, module.exports.__esModule = true, m
25225
25182
 
25226
25183
  /***/ }),
25227
25184
 
25228
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
25185
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
25229
25186
  /*!************************************************************************************************************************!*\
25230
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
25187
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
25231
25188
  \************************************************************************************************************************/
25232
25189
  /***/ ((module) => {
25233
25190
 
@@ -25242,16 +25199,16 @@ module.exports = _setPrototypeOf, module.exports.__esModule = true, module.expor
25242
25199
 
25243
25200
  /***/ }),
25244
25201
 
25245
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/toArray.js":
25202
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toArray.js":
25246
25203
  /*!*****************************************************************************************************************!*\
25247
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/toArray.js ***!
25204
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toArray.js ***!
25248
25205
  \*****************************************************************************************************************/
25249
25206
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25250
25207
 
25251
- var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
25252
- var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/iterableToArray.js");
25253
- var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
25254
- var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/nonIterableRest.js");
25208
+ var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
25209
+ var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/iterableToArray.js");
25210
+ var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
25211
+ var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/nonIterableRest.js");
25255
25212
  function _toArray(arr) {
25256
25213
  return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
25257
25214
  }
@@ -25259,46 +25216,46 @@ module.exports = _toArray, module.exports.__esModule = true, module.exports["def
25259
25216
 
25260
25217
  /***/ }),
25261
25218
 
25262
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/toPrimitive.js":
25219
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPrimitive.js":
25263
25220
  /*!*********************************************************************************************************************!*\
25264
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
25221
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
25265
25222
  \*********************************************************************************************************************/
25266
25223
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25267
25224
 
25268
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25269
- function _toPrimitive(input, hint) {
25270
- if (_typeof(input) !== "object" || input === null) return input;
25271
- var prim = input[Symbol.toPrimitive];
25272
- if (prim !== undefined) {
25273
- var res = prim.call(input, hint || "default");
25274
- if (_typeof(res) !== "object") return res;
25225
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25226
+ function toPrimitive(t, r) {
25227
+ if ("object" != _typeof(t) || !t) return t;
25228
+ var e = t[Symbol.toPrimitive];
25229
+ if (void 0 !== e) {
25230
+ var i = e.call(t, r || "default");
25231
+ if ("object" != _typeof(i)) return i;
25275
25232
  throw new TypeError("@@toPrimitive must return a primitive value.");
25276
25233
  }
25277
- return (hint === "string" ? String : Number)(input);
25234
+ return ("string" === r ? String : Number)(t);
25278
25235
  }
25279
- module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
25236
+ module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
25280
25237
 
25281
25238
  /***/ }),
25282
25239
 
25283
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/toPropertyKey.js":
25240
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPropertyKey.js":
25284
25241
  /*!***********************************************************************************************************************!*\
25285
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
25242
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
25286
25243
  \***********************************************************************************************************************/
25287
25244
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25288
25245
 
25289
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25290
- var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/toPrimitive.js");
25291
- function _toPropertyKey(arg) {
25292
- var key = toPrimitive(arg, "string");
25293
- return _typeof(key) === "symbol" ? key : String(key);
25246
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25247
+ var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPrimitive.js");
25248
+ function toPropertyKey(t) {
25249
+ var i = toPrimitive(t, "string");
25250
+ return "symbol" == _typeof(i) ? i : String(i);
25294
25251
  }
25295
- module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
25252
+ module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
25296
25253
 
25297
25254
  /***/ }),
25298
25255
 
25299
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/typeof.js":
25256
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js":
25300
25257
  /*!****************************************************************************************************************!*\
25301
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/typeof.js ***!
25258
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js ***!
25302
25259
  \****************************************************************************************************************/
25303
25260
  /***/ ((module) => {
25304
25261
 
@@ -25315,13 +25272,13 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
25315
25272
 
25316
25273
  /***/ }),
25317
25274
 
25318
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
25275
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
25319
25276
  /*!************************************************************************************************************************************!*\
25320
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
25277
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
25321
25278
  \************************************************************************************************************************************/
25322
25279
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25323
25280
 
25324
- var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.2/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
25281
+ var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
25325
25282
  function _unsupportedIterableToArray(o, minLen) {
25326
25283
  if (!o) return;
25327
25284
  if (typeof o === "string") return arrayLikeToArray(o, minLen);
@@ -25334,9 +25291,9 @@ module.exports = _unsupportedIterableToArray, module.exports.__esModule = true,
25334
25291
 
25335
25292
  /***/ }),
25336
25293
 
25337
- /***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/getFetch.js":
25294
+ /***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/getFetch.js":
25338
25295
  /*!*************************************************************************************************************************!*\
25339
- !*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/getFetch.js ***!
25296
+ !*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/getFetch.js ***!
25340
25297
  \*************************************************************************************************************************/
25341
25298
  /***/ ((module, exports, __webpack_require__) => {
25342
25299
 
@@ -25361,9 +25318,9 @@ if ( true && (typeof window === 'undefined' || typeof window.document === 'undef
25361
25318
 
25362
25319
  /***/ }),
25363
25320
 
25364
- /***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/index.js":
25321
+ /***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/index.js":
25365
25322
  /*!**********************************************************************************************************************!*\
25366
- !*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/index.js ***!
25323
+ !*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/index.js ***!
25367
25324
  \**********************************************************************************************************************/
25368
25325
  /***/ ((module, exports, __webpack_require__) => {
25369
25326
 
@@ -25374,13 +25331,21 @@ Object.defineProperty(exports, "__esModule", ({
25374
25331
  value: true
25375
25332
  }));
25376
25333
  exports["default"] = void 0;
25377
- var _utils = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/utils.js");
25378
- var _request = _interopRequireDefault(__webpack_require__(/*! ./request.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/request.js"));
25334
+
25335
+ var _utils = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/utils.js");
25336
+
25337
+ var _request = _interopRequireDefault(__webpack_require__(/*! ./request.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/request.js"));
25338
+
25379
25339
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25340
+
25380
25341
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
25342
+
25381
25343
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
25344
+
25382
25345
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25346
+
25383
25347
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
25348
+
25384
25349
  var getDefaults = function getDefaults() {
25385
25350
  return {
25386
25351
  loadPath: '/locales/{{lng}}/{{ns}}.json',
@@ -25407,26 +25372,32 @@ var getDefaults = function getDefaults() {
25407
25372
  }
25408
25373
  };
25409
25374
  };
25375
+
25410
25376
  var Backend = function () {
25411
25377
  function Backend(services) {
25412
25378
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
25413
25379
  var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
25380
+
25414
25381
  _classCallCheck(this, Backend);
25382
+
25415
25383
  this.services = services;
25416
25384
  this.options = options;
25417
25385
  this.allOptions = allOptions;
25418
25386
  this.type = 'backend';
25419
25387
  this.init(services, options, allOptions);
25420
25388
  }
25389
+
25421
25390
  _createClass(Backend, [{
25422
25391
  key: "init",
25423
25392
  value: function init(services) {
25424
25393
  var _this = this;
25394
+
25425
25395
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
25426
25396
  var allOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
25427
25397
  this.services = services;
25428
25398
  this.options = (0, _utils.defaults)(options, this.options || {}, getDefaults());
25429
25399
  this.allOptions = allOptions;
25400
+
25430
25401
  if (this.services && this.options.reloadInterval) {
25431
25402
  setInterval(function () {
25432
25403
  return _this.reload();
@@ -25447,17 +25418,22 @@ var Backend = function () {
25447
25418
  key: "_readAny",
25448
25419
  value: function _readAny(languages, loadUrlLanguages, namespaces, loadUrlNamespaces, callback) {
25449
25420
  var _this2 = this;
25421
+
25450
25422
  var loadPath = this.options.loadPath;
25423
+
25451
25424
  if (typeof this.options.loadPath === 'function') {
25452
25425
  loadPath = this.options.loadPath(languages, namespaces);
25453
25426
  }
25427
+
25454
25428
  loadPath = (0, _utils.makePromise)(loadPath);
25455
25429
  loadPath.then(function (resolvedLoadPath) {
25456
25430
  if (!resolvedLoadPath) return callback(null, {});
25431
+
25457
25432
  var url = _this2.services.interpolator.interpolate(resolvedLoadPath, {
25458
25433
  lng: languages.join('+'),
25459
25434
  ns: namespaces.join('+')
25460
25435
  });
25436
+
25461
25437
  _this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
25462
25438
  });
25463
25439
  }
@@ -25465,12 +25441,14 @@ var Backend = function () {
25465
25441
  key: "loadUrl",
25466
25442
  value: function loadUrl(url, callback, languages, namespaces) {
25467
25443
  var _this3 = this;
25444
+
25468
25445
  this.options.request(this.options, url, undefined, function (err, res) {
25469
25446
  if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' + url + '; status code: ' + res.status, true);
25470
25447
  if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' + url + '; status code: ' + res.status, false);
25471
25448
  if (!res && err && err.message && err.message.indexOf('Failed to fetch') > -1) return callback('failed loading ' + url + ': ' + err.message, true);
25472
25449
  if (err) return callback(err, false);
25473
25450
  var ret, parseErr;
25451
+
25474
25452
  try {
25475
25453
  if (typeof res.data === 'string') {
25476
25454
  ret = _this3.options.parse(res.data, languages, namespaces);
@@ -25480,6 +25458,7 @@ var Backend = function () {
25480
25458
  } catch (e) {
25481
25459
  parseErr = 'failed parsing ' + url + ' to json';
25482
25460
  }
25461
+
25483
25462
  if (parseErr) return callback(parseErr, false);
25484
25463
  callback(null, ret);
25485
25464
  });
@@ -25488,6 +25467,7 @@ var Backend = function () {
25488
25467
  key: "create",
25489
25468
  value: function create(languages, namespace, key, fallbackValue, callback) {
25490
25469
  var _this4 = this;
25470
+
25491
25471
  if (!this.options.addPath) return;
25492
25472
  if (typeof languages === 'string') languages = [languages];
25493
25473
  var payload = this.options.parsePayload(namespace, key, fallbackValue);
@@ -25496,17 +25476,21 @@ var Backend = function () {
25496
25476
  var resArray = [];
25497
25477
  languages.forEach(function (lng) {
25498
25478
  var addPath = _this4.options.addPath;
25479
+
25499
25480
  if (typeof _this4.options.addPath === 'function') {
25500
25481
  addPath = _this4.options.addPath(lng, namespace);
25501
25482
  }
25483
+
25502
25484
  var url = _this4.services.interpolator.interpolate(addPath, {
25503
25485
  lng: lng,
25504
25486
  ns: namespace
25505
25487
  });
25488
+
25506
25489
  _this4.options.request(_this4.options, url, payload, function (data, res) {
25507
25490
  finished += 1;
25508
25491
  dataArray.push(data);
25509
25492
  resArray.push(res);
25493
+
25510
25494
  if (finished === languages.length) {
25511
25495
  if (callback) callback(dataArray, resArray);
25512
25496
  }
@@ -25517,20 +25501,22 @@ var Backend = function () {
25517
25501
  key: "reload",
25518
25502
  value: function reload() {
25519
25503
  var _this5 = this;
25504
+
25520
25505
  var _this$services = this.services,
25521
- backendConnector = _this$services.backendConnector,
25522
- languageUtils = _this$services.languageUtils,
25523
- logger = _this$services.logger;
25506
+ backendConnector = _this$services.backendConnector,
25507
+ languageUtils = _this$services.languageUtils,
25508
+ logger = _this$services.logger;
25524
25509
  var currentLanguage = backendConnector.language;
25525
25510
  if (currentLanguage && currentLanguage.toLowerCase() === 'cimode') return;
25526
-
25527
25511
  var toLoad = [];
25512
+
25528
25513
  var append = function append(lng) {
25529
25514
  var lngs = languageUtils.toResolveHierarchy(lng);
25530
25515
  lngs.forEach(function (l) {
25531
25516
  if (toLoad.indexOf(l) < 0) toLoad.push(l);
25532
25517
  });
25533
25518
  };
25519
+
25534
25520
  append(currentLanguage);
25535
25521
  if (this.allOptions.preload) this.allOptions.preload.forEach(function (l) {
25536
25522
  return append(l);
@@ -25546,8 +25532,10 @@ var Backend = function () {
25546
25532
  });
25547
25533
  }
25548
25534
  }]);
25535
+
25549
25536
  return Backend;
25550
25537
  }();
25538
+
25551
25539
  Backend.type = 'backend';
25552
25540
  var _default = Backend;
25553
25541
  exports["default"] = _default;
@@ -25555,9 +25543,9 @@ module.exports = exports.default;
25555
25543
 
25556
25544
  /***/ }),
25557
25545
 
25558
- /***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/request.js":
25546
+ /***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/request.js":
25559
25547
  /*!************************************************************************************************************************!*\
25560
- !*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/request.js ***!
25548
+ !*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/request.js ***!
25561
25549
  \************************************************************************************************************************/
25562
25550
  /***/ ((module, exports, __webpack_require__) => {
25563
25551
 
@@ -25568,12 +25556,19 @@ Object.defineProperty(exports, "__esModule", ({
25568
25556
  value: true
25569
25557
  }));
25570
25558
  exports["default"] = void 0;
25571
- var _utils = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/utils.js");
25572
- var fetchNode = _interopRequireWildcard(__webpack_require__(/*! ./getFetch.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/getFetch.js"));
25559
+
25560
+ var _utils = __webpack_require__(/*! ./utils.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/utils.js");
25561
+
25562
+ var fetchNode = _interopRequireWildcard(__webpack_require__(/*! ./getFetch.js */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/getFetch.js"));
25563
+
25573
25564
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
25565
+
25574
25566
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25567
+
25575
25568
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
25569
+
25576
25570
  var fetchApi;
25571
+
25577
25572
  if (typeof fetch === 'function') {
25578
25573
  if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.fetch) {
25579
25574
  fetchApi = __webpack_require__.g.fetch;
@@ -25583,7 +25578,9 @@ if (typeof fetch === 'function') {
25583
25578
  fetchApi = fetch;
25584
25579
  }
25585
25580
  }
25581
+
25586
25582
  var XmlHttpRequestApi;
25583
+
25587
25584
  if ((0, _utils.hasXMLHttpRequest)()) {
25588
25585
  if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.XMLHttpRequest) {
25589
25586
  XmlHttpRequestApi = __webpack_require__.g.XMLHttpRequest;
@@ -25591,7 +25588,9 @@ if ((0, _utils.hasXMLHttpRequest)()) {
25591
25588
  XmlHttpRequestApi = window.XMLHttpRequest;
25592
25589
  }
25593
25590
  }
25591
+
25594
25592
  var ActiveXObjectApi;
25593
+
25595
25594
  if (typeof ActiveXObject === 'function') {
25596
25595
  if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.ActiveXObject) {
25597
25596
  ActiveXObjectApi = __webpack_require__.g.ActiveXObject;
@@ -25599,19 +25598,25 @@ if (typeof ActiveXObject === 'function') {
25599
25598
  ActiveXObjectApi = window.ActiveXObject;
25600
25599
  }
25601
25600
  }
25601
+
25602
25602
  if (!fetchApi && fetchNode && !XmlHttpRequestApi && !ActiveXObjectApi) fetchApi = fetchNode.default || fetchNode;
25603
25603
  if (typeof fetchApi !== 'function') fetchApi = undefined;
25604
+
25604
25605
  var addQueryString = function addQueryString(url, params) {
25605
25606
  if (params && _typeof(params) === 'object') {
25606
25607
  var queryString = '';
25608
+
25607
25609
  for (var paramName in params) {
25608
25610
  queryString += '&' + encodeURIComponent(paramName) + '=' + encodeURIComponent(params[paramName]);
25609
25611
  }
25612
+
25610
25613
  if (!queryString) return url;
25611
25614
  url = url + (url.indexOf('?') !== -1 ? '&' : '?') + queryString.slice(1);
25612
25615
  }
25616
+
25613
25617
  return url;
25614
25618
  };
25619
+
25615
25620
  var fetchIt = function fetchIt(url, fetchOptions, callback) {
25616
25621
  fetchApi(url, fetchOptions).then(function (response) {
25617
25622
  if (!response.ok) return callback(response.statusText || 'Error', {
@@ -25625,12 +25630,14 @@ var fetchIt = function fetchIt(url, fetchOptions, callback) {
25625
25630
  }).catch(callback);
25626
25631
  }).catch(callback);
25627
25632
  };
25633
+
25628
25634
  var omitFetchOptions = false;
25629
25635
 
25630
25636
  var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
25631
25637
  if (options.queryStringParams) {
25632
25638
  url = addQueryString(url, options.queryStringParams);
25633
25639
  }
25640
+
25634
25641
  var headers = (0, _utils.defaults)({}, typeof options.customHeaders === 'function' ? options.customHeaders() : options.customHeaders);
25635
25642
  if (payload) headers['Content-Type'] = 'application/json';
25636
25643
  var reqOptions = typeof options.requestOptions === 'function' ? options.requestOptions(payload) : options.requestOptions;
@@ -25639,12 +25646,14 @@ var requestWithFetch = function requestWithFetch(options, url, payload, callback
25639
25646
  body: payload ? options.stringify(payload) : undefined,
25640
25647
  headers: headers
25641
25648
  }, omitFetchOptions ? {} : reqOptions);
25649
+
25642
25650
  try {
25643
25651
  fetchIt(url, fetchOptions, callback);
25644
25652
  } catch (e) {
25645
25653
  if (!reqOptions || Object.keys(reqOptions).length === 0 || !e.message || e.message.indexOf('not implemented') < 0) {
25646
25654
  return callback(e);
25647
25655
  }
25656
+
25648
25657
  try {
25649
25658
  Object.keys(reqOptions).forEach(function (opt) {
25650
25659
  delete fetchOptions[opt];
@@ -25661,68 +25670,86 @@ var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url,
25661
25670
  if (payload && _typeof(payload) === 'object') {
25662
25671
  payload = addQueryString('', payload).slice(1);
25663
25672
  }
25673
+
25664
25674
  if (options.queryStringParams) {
25665
25675
  url = addQueryString(url, options.queryStringParams);
25666
25676
  }
25677
+
25667
25678
  try {
25668
25679
  var x;
25680
+
25669
25681
  if (XmlHttpRequestApi) {
25670
25682
  x = new XmlHttpRequestApi();
25671
25683
  } else {
25672
25684
  x = new ActiveXObjectApi('MSXML2.XMLHTTP.3.0');
25673
25685
  }
25686
+
25674
25687
  x.open(payload ? 'POST' : 'GET', url, 1);
25688
+
25675
25689
  if (!options.crossDomain) {
25676
25690
  x.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
25677
25691
  }
25692
+
25678
25693
  x.withCredentials = !!options.withCredentials;
25694
+
25679
25695
  if (payload) {
25680
25696
  x.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
25681
25697
  }
25698
+
25682
25699
  if (x.overrideMimeType) {
25683
25700
  x.overrideMimeType('application/json');
25684
25701
  }
25702
+
25685
25703
  var h = options.customHeaders;
25686
25704
  h = typeof h === 'function' ? h() : h;
25705
+
25687
25706
  if (h) {
25688
25707
  for (var i in h) {
25689
25708
  x.setRequestHeader(i, h[i]);
25690
25709
  }
25691
25710
  }
25711
+
25692
25712
  x.onreadystatechange = function () {
25693
25713
  x.readyState > 3 && callback(x.status >= 400 ? x.statusText : null, {
25694
25714
  status: x.status,
25695
25715
  data: x.responseText
25696
25716
  });
25697
25717
  };
25718
+
25698
25719
  x.send(payload);
25699
25720
  } catch (e) {
25700
25721
  console && console.log(e);
25701
25722
  }
25702
25723
  };
25724
+
25703
25725
  var request = function request(options, url, payload, callback) {
25704
25726
  if (typeof payload === 'function') {
25705
25727
  callback = payload;
25706
25728
  payload = undefined;
25707
25729
  }
25730
+
25708
25731
  callback = callback || function () {};
25732
+
25709
25733
  if (fetchApi) {
25710
25734
  return requestWithFetch(options, url, payload, callback);
25711
25735
  }
25736
+
25712
25737
  if ((0, _utils.hasXMLHttpRequest)() || typeof ActiveXObject === 'function') {
25713
25738
  return requestWithXmlHttpRequest(options, url, payload, callback);
25714
25739
  }
25740
+
25715
25741
  callback(new Error('No fetch and no xhr implementation found!'));
25716
25742
  };
25743
+
25717
25744
  var _default = request;
25718
25745
  exports["default"] = _default;
25719
25746
  module.exports = exports.default;
25720
25747
 
25721
25748
  /***/ }),
25722
25749
 
25723
- /***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/utils.js":
25750
+ /***/ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/utils.js":
25724
25751
  /*!**********************************************************************************************************************!*\
25725
- !*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/utils.js ***!
25752
+ !*** ../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.4/node_modules/i18next-http-backend/cjs/utils.js ***!
25726
25753
  \**********************************************************************************************************************/
25727
25754
  /***/ ((__unused_webpack_module, exports) => {
25728
25755
 
@@ -25735,10 +25762,13 @@ Object.defineProperty(exports, "__esModule", ({
25735
25762
  exports.defaults = defaults;
25736
25763
  exports.hasXMLHttpRequest = hasXMLHttpRequest;
25737
25764
  exports.makePromise = makePromise;
25765
+
25738
25766
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
25767
+
25739
25768
  var arr = [];
25740
25769
  var each = arr.forEach;
25741
25770
  var slice = arr.slice;
25771
+
25742
25772
  function defaults(obj) {
25743
25773
  each.call(slice.call(arguments, 1), function (source) {
25744
25774
  if (source) {
@@ -25749,6 +25779,7 @@ function defaults(obj) {
25749
25779
  });
25750
25780
  return obj;
25751
25781
  }
25782
+
25752
25783
  function hasXMLHttpRequest() {
25753
25784
  return typeof XMLHttpRequest === 'function' || (typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof(XMLHttpRequest)) === 'object';
25754
25785
  }
@@ -25761,9 +25792,133 @@ function makePromise(maybePromise) {
25761
25792
  if (isPromise(maybePromise)) {
25762
25793
  return maybePromise;
25763
25794
  }
25795
+
25764
25796
  return Promise.resolve(maybePromise);
25765
25797
  }
25766
25798
 
25799
+ /***/ }),
25800
+
25801
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
25802
+ /*!****************************************************************************************************************************!*\
25803
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
25804
+ \****************************************************************************************************************************/
25805
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25806
+
25807
+ "use strict";
25808
+ __webpack_require__.r(__webpack_exports__);
25809
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25810
+ /* harmony export */ "default": () => (/* binding */ _classCallCheck)
25811
+ /* harmony export */ });
25812
+ function _classCallCheck(instance, Constructor) {
25813
+ if (!(instance instanceof Constructor)) {
25814
+ throw new TypeError("Cannot call a class as a function");
25815
+ }
25816
+ }
25817
+
25818
+ /***/ }),
25819
+
25820
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/createClass.js":
25821
+ /*!*************************************************************************************************************************!*\
25822
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
25823
+ \*************************************************************************************************************************/
25824
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25825
+
25826
+ "use strict";
25827
+ __webpack_require__.r(__webpack_exports__);
25828
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25829
+ /* harmony export */ "default": () => (/* binding */ _createClass)
25830
+ /* harmony export */ });
25831
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
25832
+
25833
+ function _defineProperties(target, props) {
25834
+ for (var i = 0; i < props.length; i++) {
25835
+ var descriptor = props[i];
25836
+ descriptor.enumerable = descriptor.enumerable || false;
25837
+ descriptor.configurable = true;
25838
+ if ("value" in descriptor) descriptor.writable = true;
25839
+ Object.defineProperty(target, (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(descriptor.key), descriptor);
25840
+ }
25841
+ }
25842
+ function _createClass(Constructor, protoProps, staticProps) {
25843
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
25844
+ if (staticProps) _defineProperties(Constructor, staticProps);
25845
+ Object.defineProperty(Constructor, "prototype", {
25846
+ writable: false
25847
+ });
25848
+ return Constructor;
25849
+ }
25850
+
25851
+ /***/ }),
25852
+
25853
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
25854
+ /*!*************************************************************************************************************************!*\
25855
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
25856
+ \*************************************************************************************************************************/
25857
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25858
+
25859
+ "use strict";
25860
+ __webpack_require__.r(__webpack_exports__);
25861
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25862
+ /* harmony export */ "default": () => (/* binding */ toPrimitive)
25863
+ /* harmony export */ });
25864
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/typeof.js");
25865
+
25866
+ function toPrimitive(t, r) {
25867
+ if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
25868
+ var e = t[Symbol.toPrimitive];
25869
+ if (void 0 !== e) {
25870
+ var i = e.call(t, r || "default");
25871
+ if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i)) return i;
25872
+ throw new TypeError("@@toPrimitive must return a primitive value.");
25873
+ }
25874
+ return ("string" === r ? String : Number)(t);
25875
+ }
25876
+
25877
+ /***/ }),
25878
+
25879
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
25880
+ /*!***************************************************************************************************************************!*\
25881
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
25882
+ \***************************************************************************************************************************/
25883
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25884
+
25885
+ "use strict";
25886
+ __webpack_require__.r(__webpack_exports__);
25887
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25888
+ /* harmony export */ "default": () => (/* binding */ toPropertyKey)
25889
+ /* harmony export */ });
25890
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/typeof.js");
25891
+ /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
25892
+
25893
+
25894
+ function toPropertyKey(t) {
25895
+ var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__["default"])(t, "string");
25896
+ return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i) ? i : String(i);
25897
+ }
25898
+
25899
+ /***/ }),
25900
+
25901
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/typeof.js":
25902
+ /*!********************************************************************************************************************!*\
25903
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
25904
+ \********************************************************************************************************************/
25905
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25906
+
25907
+ "use strict";
25908
+ __webpack_require__.r(__webpack_exports__);
25909
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25910
+ /* harmony export */ "default": () => (/* binding */ _typeof)
25911
+ /* harmony export */ });
25912
+ function _typeof(o) {
25913
+ "@babel/helpers - typeof";
25914
+
25915
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
25916
+ return typeof o;
25917
+ } : function (o) {
25918
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
25919
+ }, _typeof(o);
25920
+ }
25921
+
25767
25922
  /***/ })
25768
25923
 
25769
25924
  /******/ });