@itwin/core-i18n 4.9.0-dev.2 → 4.9.0-dev.21

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.
@@ -17,13 +17,13 @@
17
17
  /** @packageDocumentation
18
18
  * @module Localization
19
19
  */
20
- function cov_1n64vqx5d7() {
21
- var path = "D:\\vsts_a\\8\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
22
- var hash = "15b6e216b0b1bdb375cda1e9318317b5afb32f29";
20
+ function cov_1x4lba4gyb() {
21
+ var path = "D:\\vsts_a\\18\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
22
+ var hash = "d487228355083ff74e38bca6e7aa0704fe8b0739";
23
23
  var global = new Function("return this")();
24
24
  var gcv = "__coverage__";
25
25
  var coverageData = {
26
- path: "D:\\vsts_a\\8\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
26
+ path: "D:\\vsts_a\\18\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
27
27
  statementMap: {
28
28
  "0": {
29
29
  start: {
@@ -2270,13 +2270,13 @@ function cov_1n64vqx5d7() {
2270
2270
  inputSourceMap: {
2271
2271
  version: 3,
2272
2272
  file: "ITwinLocalization.js",
2273
- sources: ["D:\\vsts_a\\8\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
2273
+ sources: ["D:\\vsts_a\\18\\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,CAAC;YACrD,MAAM,IAAI,KAAK,CAAC,sFAAsF,CAAC,CAAC;QAC1G,CAAC;QAED,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;QAE3C,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;QACzD,CAAC;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,CAAC;YAC5B,OAAO,GAAG,GAAG,SAAS,IAAI,GAAG,EAAE,CAAC;QAClC,CAAC;aAAM,CAAC;YACN,OAAO,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,MAAc,EAAE,EAAE;gBACnC,OAAO,GAAG,SAAS,IAAI,MAAM,EAAE,CAAC;YAClC,CAAC,CAAC,CAAC;QACL,CAAC;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,CAAC;YACrD,MAAM,IAAI,KAAK,CAAC,sFAAsF,CAAC,CAAC;QAC1G,CAAC;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,CAAC;oBACH,KAAK,MAAM,SAAS,IAAI,GAAG,EAAE,CAAC;wBAC5B,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;oBAC9E,CAAC;gBACH,CAAC;gBAAC,OAAO,CAAC,EAAE,CAAC;oBACX,OAAO,GAAG,EAAE,CAAC;gBACf,CAAC;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,CAAC;YACrC,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ;gBAC7B,OAAO,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;QAChC,CAAC;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;;AAXsB,sBAAI,GAAG,QAAQ,CAAC",
2276
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"]
2277
2277
  },
2278
2278
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
2279
- hash: "15b6e216b0b1bdb375cda1e9318317b5afb32f29"
2279
+ hash: "d487228355083ff74e38bca6e7aa0704fe8b0739"
2280
2280
  };
2281
2281
  var coverage = global[gcv] || (global[gcv] = {});
2282
2282
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -2285,56 +2285,56 @@ function cov_1n64vqx5d7() {
2285
2285
  var actualCoverage = coverage[path];
2286
2286
  {
2287
2287
  // @ts-ignore
2288
- cov_1n64vqx5d7 = function () {
2288
+ cov_1x4lba4gyb = function () {
2289
2289
  return actualCoverage;
2290
2290
  };
2291
2291
  }
2292
2292
  return actualCoverage;
2293
2293
  }
2294
- cov_1n64vqx5d7();
2295
- var __importDefault = (cov_1n64vqx5d7().s[0]++, (cov_1n64vqx5d7().b[0][0]++, this) && (cov_1n64vqx5d7().b[0][1]++, this.__importDefault) || (cov_1n64vqx5d7().b[0][2]++, function (mod) {
2296
- cov_1n64vqx5d7().f[0]++;
2297
- cov_1n64vqx5d7().s[1]++;
2298
- return (cov_1n64vqx5d7().b[2][0]++, mod) && (cov_1n64vqx5d7().b[2][1]++, mod.__esModule) ? (cov_1n64vqx5d7().b[1][0]++, mod) : (cov_1n64vqx5d7().b[1][1]++, {
2294
+ cov_1x4lba4gyb();
2295
+ var __importDefault = (cov_1x4lba4gyb().s[0]++, (cov_1x4lba4gyb().b[0][0]++, this) && (cov_1x4lba4gyb().b[0][1]++, this.__importDefault) || (cov_1x4lba4gyb().b[0][2]++, function (mod) {
2296
+ cov_1x4lba4gyb().f[0]++;
2297
+ cov_1x4lba4gyb().s[1]++;
2298
+ return (cov_1x4lba4gyb().b[2][0]++, mod) && (cov_1x4lba4gyb().b[2][1]++, mod.__esModule) ? (cov_1x4lba4gyb().b[1][0]++, mod) : (cov_1x4lba4gyb().b[1][1]++, {
2299
2299
  "default": mod
2300
2300
  });
2301
2301
  }));
2302
- cov_1n64vqx5d7().s[2]++;
2302
+ cov_1x4lba4gyb().s[2]++;
2303
2303
  Object.defineProperty(exports, "__esModule", ({
2304
2304
  value: true
2305
2305
  }));
2306
- cov_1n64vqx5d7().s[3]++;
2306
+ cov_1x4lba4gyb().s[3]++;
2307
2307
  exports.ITwinLocalization = void 0;
2308
- const i18next_1 = (cov_1n64vqx5d7().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_1n64vqx5d7().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_1n64vqx5d7().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
- const core_bentley_1 = (cov_1n64vqx5d7().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
2312
- const DEFAULT_MAX_RETRIES = (cov_1n64vqx5d7().s[8]++, 1); // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
2308
+ const i18next_1 = (cov_1x4lba4gyb().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_1x4lba4gyb().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_1x4lba4gyb().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
+ const core_bentley_1 = (cov_1x4lba4gyb().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
2312
+ const DEFAULT_MAX_RETRIES = (cov_1x4lba4gyb().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
2314
2314
  * @note this class uses the [i18next](https://www.i18next.com/) package.
2315
2315
  * @public
2316
2316
  */
2317
2317
  class ITwinLocalization {
2318
2318
  constructor(options) {
2319
- cov_1n64vqx5d7().f[1]++;
2320
- cov_1n64vqx5d7().s[9]++;
2319
+ cov_1x4lba4gyb().f[1]++;
2320
+ cov_1x4lba4gyb().s[9]++;
2321
2321
  this._namespaces = new Map();
2322
- cov_1n64vqx5d7().s[10]++;
2322
+ cov_1x4lba4gyb().s[10]++;
2323
2323
  this.i18next = i18next_1.default.createInstance();
2324
- cov_1n64vqx5d7().s[11]++;
2324
+ cov_1x4lba4gyb().s[11]++;
2325
2325
  this._backendOptions = {
2326
- loadPath: (cov_1n64vqx5d7().b[3][0]++, options?.urlTemplate) ?? (cov_1n64vqx5d7().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
2326
+ loadPath: (cov_1x4lba4gyb().b[3][0]++, options?.urlTemplate) ?? (cov_1x4lba4gyb().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
2327
2327
  crossDomain: true,
2328
2328
  ...options?.backendHttpOptions
2329
2329
  };
2330
- cov_1n64vqx5d7().s[12]++;
2330
+ cov_1x4lba4gyb().s[12]++;
2331
2331
  this._detectionOptions = {
2332
2332
  order: ["querystring", "navigator", "htmlTag"],
2333
2333
  lookupQuerystring: "lng",
2334
2334
  caches: [],
2335
2335
  ...options?.detectorOptions
2336
2336
  };
2337
- cov_1n64vqx5d7().s[13]++;
2337
+ cov_1x4lba4gyb().s[13]++;
2338
2338
  this._initOptions = {
2339
2339
  interpolation: {
2340
2340
  escapeValue: true
@@ -2345,40 +2345,40 @@ class ITwinLocalization {
2345
2345
  detection: this._detectionOptions,
2346
2346
  ...options?.initOptions
2347
2347
  };
2348
- cov_1n64vqx5d7().s[14]++;
2349
- this.i18next.use((cov_1n64vqx5d7().b[4][0]++, options?.detectorPlugin) ?? (cov_1n64vqx5d7().b[4][1]++, i18next_browser_languagedetector_1.default)).use((cov_1n64vqx5d7().b[5][0]++, options?.backendPlugin) ?? (cov_1n64vqx5d7().b[5][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
2348
+ cov_1x4lba4gyb().s[14]++;
2349
+ this.i18next.use((cov_1x4lba4gyb().b[4][0]++, options?.detectorPlugin) ?? (cov_1x4lba4gyb().b[4][1]++, i18next_browser_languagedetector_1.default)).use((cov_1x4lba4gyb().b[5][0]++, options?.backendPlugin) ?? (cov_1x4lba4gyb().b[5][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
2350
2350
  }
2351
2351
  async initialize(namespaces) {
2352
- cov_1n64vqx5d7().f[2]++;
2352
+ cov_1x4lba4gyb().f[2]++;
2353
2353
  // Also consider namespaces passed into constructor
2354
- const initNamespaces = (cov_1n64vqx5d7().s[15]++, [(cov_1n64vqx5d7().b[6][0]++, this._initOptions.ns) || (cov_1n64vqx5d7().b[6][1]++, [])].flat());
2355
- const combinedNamespaces = (cov_1n64vqx5d7().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
2356
- const defaultNamespace = (cov_1n64vqx5d7().s[17]++, (cov_1n64vqx5d7().b[7][0]++, this._initOptions.defaultNS) ?? (cov_1n64vqx5d7().b[7][1]++, namespaces[0]));
2357
- cov_1n64vqx5d7().s[18]++;
2354
+ const initNamespaces = (cov_1x4lba4gyb().s[15]++, [(cov_1x4lba4gyb().b[6][0]++, this._initOptions.ns) || (cov_1x4lba4gyb().b[6][1]++, [])].flat());
2355
+ const combinedNamespaces = (cov_1x4lba4gyb().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
2356
+ const defaultNamespace = (cov_1x4lba4gyb().s[17]++, (cov_1x4lba4gyb().b[7][0]++, this._initOptions.defaultNS) ?? (cov_1x4lba4gyb().b[7][1]++, namespaces[0]));
2357
+ cov_1x4lba4gyb().s[18]++;
2358
2358
  if (defaultNamespace) {
2359
- cov_1n64vqx5d7().b[8][0]++;
2360
- cov_1n64vqx5d7().s[19]++;
2359
+ cov_1x4lba4gyb().b[8][0]++;
2360
+ cov_1x4lba4gyb().s[19]++;
2361
2361
  combinedNamespaces.add(defaultNamespace);
2362
2362
  } else {
2363
- cov_1n64vqx5d7().b[8][1]++;
2363
+ cov_1x4lba4gyb().b[8][1]++;
2364
2364
  } // Make sure default namespace is in namespaces list
2365
- const initOptions = (cov_1n64vqx5d7().s[20]++, {
2365
+ const initOptions = (cov_1x4lba4gyb().s[20]++, {
2366
2366
  ...this._initOptions,
2367
2367
  defaultNS: defaultNamespace,
2368
2368
  ns: [...combinedNamespaces]
2369
2369
  });
2370
2370
  // if in a development environment, set debugging
2371
- cov_1n64vqx5d7().s[21]++;
2371
+ cov_1x4lba4gyb().s[21]++;
2372
2372
  if (false) {} else {
2373
- cov_1n64vqx5d7().b[9][1]++;
2373
+ cov_1x4lba4gyb().b[9][1]++;
2374
2374
  }
2375
- const initPromise = (cov_1n64vqx5d7().s[23]++, this.i18next.init(initOptions));
2376
- cov_1n64vqx5d7().s[24]++;
2375
+ const initPromise = (cov_1x4lba4gyb().s[23]++, this.i18next.init(initOptions));
2376
+ cov_1x4lba4gyb().s[24]++;
2377
2377
  for (const ns of namespaces) {
2378
- cov_1n64vqx5d7().s[25]++;
2378
+ cov_1x4lba4gyb().s[25]++;
2379
2379
  this._namespaces.set(ns, initPromise);
2380
2380
  }
2381
- cov_1n64vqx5d7().s[26]++;
2381
+ cov_1x4lba4gyb().s[26]++;
2382
2382
  return initPromise;
2383
2383
  }
2384
2384
  /** Replace all instances of `%{key}` within a string with the translations of those keys.
@@ -2398,11 +2398,11 @@ class ITwinLocalization {
2398
2398
  * @public
2399
2399
  */
2400
2400
  getLocalizedKeys(line) {
2401
- cov_1n64vqx5d7().f[3]++;
2402
- cov_1n64vqx5d7().s[27]++;
2401
+ cov_1x4lba4gyb().f[3]++;
2402
+ cov_1x4lba4gyb().s[27]++;
2403
2403
  return line.replace(/\%\{(.+?)\}/g, (_match, tag) => {
2404
- cov_1n64vqx5d7().f[4]++;
2405
- cov_1n64vqx5d7().s[28]++;
2404
+ cov_1x4lba4gyb().f[4]++;
2405
+ cov_1x4lba4gyb().s[28]++;
2406
2406
  return this.getLocalizedString(tag);
2407
2407
  });
2408
2408
  }
@@ -2420,25 +2420,25 @@ class ITwinLocalization {
2420
2420
  * @public
2421
2421
  */
2422
2422
  getLocalizedString(key, options) {
2423
- cov_1n64vqx5d7().f[5]++;
2424
- cov_1n64vqx5d7().s[29]++;
2425
- if ((cov_1n64vqx5d7().b[11][0]++, options?.returnDetails) || (cov_1n64vqx5d7().b[11][1]++, options?.returnObjects)) {
2426
- cov_1n64vqx5d7().b[10][0]++;
2427
- cov_1n64vqx5d7().s[30]++;
2423
+ cov_1x4lba4gyb().f[5]++;
2424
+ cov_1x4lba4gyb().s[29]++;
2425
+ if ((cov_1x4lba4gyb().b[11][0]++, options?.returnDetails) || (cov_1x4lba4gyb().b[11][1]++, options?.returnObjects)) {
2426
+ cov_1x4lba4gyb().b[10][0]++;
2427
+ cov_1x4lba4gyb().s[30]++;
2428
2428
  throw new Error("Translation key must map to a string, but the given options will result in an object");
2429
2429
  } else {
2430
- cov_1n64vqx5d7().b[10][1]++;
2430
+ cov_1x4lba4gyb().b[10][1]++;
2431
2431
  }
2432
- const value = (cov_1n64vqx5d7().s[31]++, this.i18next.t(key, options));
2433
- cov_1n64vqx5d7().s[32]++;
2432
+ const value = (cov_1x4lba4gyb().s[31]++, this.i18next.t(key, options));
2433
+ cov_1x4lba4gyb().s[32]++;
2434
2434
  if (typeof value !== "string") {
2435
- cov_1n64vqx5d7().b[12][0]++;
2436
- cov_1n64vqx5d7().s[33]++;
2435
+ cov_1x4lba4gyb().b[12][0]++;
2436
+ cov_1x4lba4gyb().s[33]++;
2437
2437
  throw new Error("Translation key(s) string not found");
2438
2438
  } else {
2439
- cov_1n64vqx5d7().b[12][1]++;
2439
+ cov_1x4lba4gyb().b[12][1]++;
2440
2440
  }
2441
- cov_1n64vqx5d7().s[34]++;
2441
+ cov_1x4lba4gyb().s[34]++;
2442
2442
  return value;
2443
2443
  }
2444
2444
  /** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need
@@ -2450,23 +2450,23 @@ class ITwinLocalization {
2450
2450
  * @internal
2451
2451
  */
2452
2452
  getLocalizedStringWithNamespace(namespace, key, options) {
2453
- cov_1n64vqx5d7().f[6]++;
2454
- let fullKey = (cov_1n64vqx5d7().s[35]++, "");
2455
- cov_1n64vqx5d7().s[36]++;
2453
+ cov_1x4lba4gyb().f[6]++;
2454
+ let fullKey = (cov_1x4lba4gyb().s[35]++, "");
2455
+ cov_1x4lba4gyb().s[36]++;
2456
2456
  if (typeof key === "string") {
2457
- cov_1n64vqx5d7().b[13][0]++;
2458
- cov_1n64vqx5d7().s[37]++;
2457
+ cov_1x4lba4gyb().b[13][0]++;
2458
+ cov_1x4lba4gyb().s[37]++;
2459
2459
  fullKey = `${namespace}:${key}`;
2460
2460
  } else {
2461
- cov_1n64vqx5d7().b[13][1]++;
2462
- cov_1n64vqx5d7().s[38]++;
2461
+ cov_1x4lba4gyb().b[13][1]++;
2462
+ cov_1x4lba4gyb().s[38]++;
2463
2463
  fullKey = key.map(subKey => {
2464
- cov_1n64vqx5d7().f[7]++;
2465
- cov_1n64vqx5d7().s[39]++;
2464
+ cov_1x4lba4gyb().f[7]++;
2465
+ cov_1x4lba4gyb().s[39]++;
2466
2466
  return `${namespace}:${subKey}`;
2467
2467
  });
2468
2468
  }
2469
- cov_1n64vqx5d7().s[40]++;
2469
+ cov_1x4lba4gyb().s[40]++;
2470
2470
  return this.getLocalizedString(fullKey, options);
2471
2471
  }
2472
2472
  /** Gets the English translation.
@@ -2477,31 +2477,31 @@ class ITwinLocalization {
2477
2477
  * @internal
2478
2478
  */
2479
2479
  getEnglishString(namespace, key, options) {
2480
- cov_1n64vqx5d7().f[8]++;
2481
- cov_1n64vqx5d7().s[41]++;
2482
- if ((cov_1n64vqx5d7().b[15][0]++, options?.returnDetails) || (cov_1n64vqx5d7().b[15][1]++, options?.returnObjects)) {
2483
- cov_1n64vqx5d7().b[14][0]++;
2484
- cov_1n64vqx5d7().s[42]++;
2480
+ cov_1x4lba4gyb().f[8]++;
2481
+ cov_1x4lba4gyb().s[41]++;
2482
+ if ((cov_1x4lba4gyb().b[15][0]++, options?.returnDetails) || (cov_1x4lba4gyb().b[15][1]++, options?.returnObjects)) {
2483
+ cov_1x4lba4gyb().b[14][0]++;
2484
+ cov_1x4lba4gyb().s[42]++;
2485
2485
  throw new Error("Translation key must map to a string, but the given options will result in an object");
2486
2486
  } else {
2487
- cov_1n64vqx5d7().b[14][1]++;
2487
+ cov_1x4lba4gyb().b[14][1]++;
2488
2488
  }
2489
- cov_1n64vqx5d7().s[43]++;
2489
+ cov_1x4lba4gyb().s[43]++;
2490
2490
  options = {
2491
2491
  ...options,
2492
2492
  ns: namespace // ensure namespace argument is used
2493
2493
  };
2494
- const en = (cov_1n64vqx5d7().s[44]++, this.i18next.getFixedT("en", namespace));
2495
- const str = (cov_1n64vqx5d7().s[45]++, en(key, options));
2496
- cov_1n64vqx5d7().s[46]++;
2494
+ const en = (cov_1x4lba4gyb().s[44]++, this.i18next.getFixedT("en", namespace));
2495
+ const str = (cov_1x4lba4gyb().s[45]++, en(key, options));
2496
+ cov_1x4lba4gyb().s[46]++;
2497
2497
  if (typeof str !== "string") {
2498
- cov_1n64vqx5d7().b[16][0]++;
2499
- cov_1n64vqx5d7().s[47]++;
2498
+ cov_1x4lba4gyb().b[16][0]++;
2499
+ cov_1x4lba4gyb().s[47]++;
2500
2500
  throw new Error("Translation key(s) not found");
2501
2501
  } else {
2502
- cov_1n64vqx5d7().b[16][1]++;
2502
+ cov_1x4lba4gyb().b[16][1]++;
2503
2503
  }
2504
- cov_1n64vqx5d7().s[48]++;
2504
+ cov_1x4lba4gyb().s[48]++;
2505
2505
  return str;
2506
2506
  }
2507
2507
  /** Get the promise for an already registered Namespace.
@@ -2509,20 +2509,20 @@ class ITwinLocalization {
2509
2509
  * @public
2510
2510
  */
2511
2511
  getNamespacePromise(name) {
2512
- cov_1n64vqx5d7().f[9]++;
2513
- cov_1n64vqx5d7().s[49]++;
2512
+ cov_1x4lba4gyb().f[9]++;
2513
+ cov_1x4lba4gyb().s[49]++;
2514
2514
  return this._namespaces.get(name);
2515
2515
  }
2516
2516
  /** @internal */
2517
2517
  getLanguageList() {
2518
- cov_1n64vqx5d7().f[10]++;
2519
- cov_1n64vqx5d7().s[50]++;
2518
+ cov_1x4lba4gyb().f[10]++;
2519
+ cov_1x4lba4gyb().s[50]++;
2520
2520
  return this.i18next.languages;
2521
2521
  }
2522
2522
  /** override the language detected in the browser */
2523
2523
  async changeLanguage(language) {
2524
- cov_1n64vqx5d7().f[11]++;
2525
- cov_1n64vqx5d7().s[51]++;
2524
+ cov_1x4lba4gyb().f[11]++;
2525
+ cov_1x4lba4gyb().s[51]++;
2526
2526
  return this.i18next.changeLanguage(language);
2527
2527
  }
2528
2528
  /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.
@@ -2534,123 +2534,123 @@ class ITwinLocalization {
2534
2534
  * @public
2535
2535
  */
2536
2536
  async registerNamespace(name) {
2537
- cov_1n64vqx5d7().f[12]++;
2538
- const existing = (cov_1n64vqx5d7().s[52]++, this._namespaces.get(name));
2539
- cov_1n64vqx5d7().s[53]++;
2537
+ cov_1x4lba4gyb().f[12]++;
2538
+ const existing = (cov_1x4lba4gyb().s[52]++, this._namespaces.get(name));
2539
+ cov_1x4lba4gyb().s[53]++;
2540
2540
  if (existing !== undefined) {
2541
- cov_1n64vqx5d7().b[17][0]++;
2542
- cov_1n64vqx5d7().s[54]++;
2541
+ cov_1x4lba4gyb().b[17][0]++;
2542
+ cov_1x4lba4gyb().s[54]++;
2543
2543
  return existing;
2544
2544
  } else {
2545
- cov_1n64vqx5d7().b[17][1]++;
2545
+ cov_1x4lba4gyb().b[17][1]++;
2546
2546
  }
2547
- const theReadPromise = (cov_1n64vqx5d7().s[55]++, new Promise(resolve => {
2548
- cov_1n64vqx5d7().f[13]++;
2549
- cov_1n64vqx5d7().s[56]++;
2547
+ const theReadPromise = (cov_1x4lba4gyb().s[55]++, new Promise(resolve => {
2548
+ cov_1x4lba4gyb().f[13]++;
2549
+ cov_1x4lba4gyb().s[56]++;
2550
2550
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
2551
2551
  this.i18next.loadNamespaces(name, err => {
2552
- cov_1n64vqx5d7().f[14]++;
2553
- cov_1n64vqx5d7().s[57]++;
2552
+ cov_1x4lba4gyb().f[14]++;
2553
+ cov_1x4lba4gyb().s[57]++;
2554
2554
  if (!err) {
2555
- cov_1n64vqx5d7().b[18][0]++;
2556
- cov_1n64vqx5d7().s[58]++;
2555
+ cov_1x4lba4gyb().b[18][0]++;
2556
+ cov_1x4lba4gyb().s[58]++;
2557
2557
  return resolve();
2558
2558
  } else {
2559
- cov_1n64vqx5d7().b[18][1]++;
2559
+ cov_1x4lba4gyb().b[18][1]++;
2560
2560
  }
2561
2561
  // Here we got a non-null err object.
2562
2562
  // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.
2563
2563
  // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.
2564
2564
  // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.
2565
2565
  // 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.
2566
- let locales = (cov_1n64vqx5d7().s[59]++, this.getLanguageList().map(thisLocale => {
2567
- cov_1n64vqx5d7().f[15]++;
2568
- cov_1n64vqx5d7().s[60]++;
2566
+ let locales = (cov_1x4lba4gyb().s[59]++, this.getLanguageList().map(thisLocale => {
2567
+ cov_1x4lba4gyb().f[15]++;
2568
+ cov_1x4lba4gyb().s[60]++;
2569
2569
  return `/${thisLocale}/`;
2570
2570
  }));
2571
- cov_1n64vqx5d7().s[61]++;
2571
+ cov_1x4lba4gyb().s[61]++;
2572
2572
  try {
2573
- cov_1n64vqx5d7().s[62]++;
2573
+ cov_1x4lba4gyb().s[62]++;
2574
2574
  for (const thisError of err) {
2575
- cov_1n64vqx5d7().s[63]++;
2575
+ cov_1x4lba4gyb().s[63]++;
2576
2576
  if (typeof thisError === "string") {
2577
- cov_1n64vqx5d7().b[19][0]++;
2578
- cov_1n64vqx5d7().s[64]++;
2577
+ cov_1x4lba4gyb().b[19][0]++;
2578
+ cov_1x4lba4gyb().s[64]++;
2579
2579
  locales = locales.filter(thisLocale => {
2580
- cov_1n64vqx5d7().f[16]++;
2581
- cov_1n64vqx5d7().s[65]++;
2580
+ cov_1x4lba4gyb().f[16]++;
2581
+ cov_1x4lba4gyb().s[65]++;
2582
2582
  return !thisError.includes(thisLocale);
2583
2583
  });
2584
2584
  } else {
2585
- cov_1n64vqx5d7().b[19][1]++;
2585
+ cov_1x4lba4gyb().b[19][1]++;
2586
2586
  }
2587
2587
  }
2588
2588
  } catch (e) {
2589
- cov_1n64vqx5d7().s[66]++;
2589
+ cov_1x4lba4gyb().s[66]++;
2590
2590
  locales = [];
2591
2591
  }
2592
2592
  // if we removed every locale from the array, it wasn't loaded.
2593
- cov_1n64vqx5d7().s[67]++;
2593
+ cov_1x4lba4gyb().s[67]++;
2594
2594
  if (locales.length === 0) {
2595
- cov_1n64vqx5d7().b[20][0]++;
2596
- cov_1n64vqx5d7().s[68]++;
2595
+ cov_1x4lba4gyb().b[20][0]++;
2596
+ cov_1x4lba4gyb().s[68]++;
2597
2597
  core_bentley_1.Logger.logError("i18n", `No resources for namespace ${name} could be loaded`);
2598
2598
  } else {
2599
- cov_1n64vqx5d7().b[20][1]++;
2599
+ cov_1x4lba4gyb().b[20][1]++;
2600
2600
  }
2601
- cov_1n64vqx5d7().s[69]++;
2601
+ cov_1x4lba4gyb().s[69]++;
2602
2602
  resolve();
2603
2603
  });
2604
2604
  }));
2605
- cov_1n64vqx5d7().s[70]++;
2605
+ cov_1x4lba4gyb().s[70]++;
2606
2606
  this._namespaces.set(name, theReadPromise);
2607
- cov_1n64vqx5d7().s[71]++;
2607
+ cov_1x4lba4gyb().s[71]++;
2608
2608
  return theReadPromise;
2609
2609
  }
2610
2610
  /** @internal */
2611
2611
  unregisterNamespace(name) {
2612
- cov_1n64vqx5d7().f[17]++;
2613
- cov_1n64vqx5d7().s[72]++;
2612
+ cov_1x4lba4gyb().f[17]++;
2613
+ cov_1x4lba4gyb().s[72]++;
2614
2614
  this._namespaces.delete(name);
2615
2615
  }
2616
2616
  }
2617
- cov_1n64vqx5d7().s[73]++;
2617
+ cov_1x4lba4gyb().s[73]++;
2618
2618
  exports.ITwinLocalization = ITwinLocalization;
2619
2619
  class TranslationLogger {
2620
2620
  log(args) {
2621
- cov_1n64vqx5d7().f[18]++;
2622
- cov_1n64vqx5d7().s[74]++;
2621
+ cov_1x4lba4gyb().f[18]++;
2622
+ cov_1x4lba4gyb().s[74]++;
2623
2623
  core_bentley_1.Logger.logInfo("i18n", this.createLogMessage(args));
2624
2624
  }
2625
2625
  warn(args) {
2626
- cov_1n64vqx5d7().f[19]++;
2627
- cov_1n64vqx5d7().s[75]++;
2626
+ cov_1x4lba4gyb().f[19]++;
2627
+ cov_1x4lba4gyb().s[75]++;
2628
2628
  core_bentley_1.Logger.logWarning("i18n", this.createLogMessage(args));
2629
2629
  }
2630
2630
  error(args) {
2631
- cov_1n64vqx5d7().f[20]++;
2632
- cov_1n64vqx5d7().s[76]++;
2631
+ cov_1x4lba4gyb().f[20]++;
2632
+ cov_1x4lba4gyb().s[76]++;
2633
2633
  core_bentley_1.Logger.logError("i18n", this.createLogMessage(args));
2634
2634
  }
2635
2635
  createLogMessage(args) {
2636
- cov_1n64vqx5d7().f[21]++;
2637
- let message = (cov_1n64vqx5d7().s[77]++, args[0]);
2638
- cov_1n64vqx5d7().s[78]++;
2639
- for (let i = (cov_1n64vqx5d7().s[79]++, 1); i < args.length; ++i) {
2640
- cov_1n64vqx5d7().s[80]++;
2636
+ cov_1x4lba4gyb().f[21]++;
2637
+ let message = (cov_1x4lba4gyb().s[77]++, args[0]);
2638
+ cov_1x4lba4gyb().s[78]++;
2639
+ for (let i = (cov_1x4lba4gyb().s[79]++, 1); i < args.length; ++i) {
2640
+ cov_1x4lba4gyb().s[80]++;
2641
2641
  if (typeof args[i] === "string") {
2642
- cov_1n64vqx5d7().b[21][0]++;
2643
- cov_1n64vqx5d7().s[81]++;
2642
+ cov_1x4lba4gyb().b[21][0]++;
2643
+ cov_1x4lba4gyb().s[81]++;
2644
2644
  message += `\n ${args[i]}`;
2645
2645
  } else {
2646
- cov_1n64vqx5d7().b[21][1]++;
2646
+ cov_1x4lba4gyb().b[21][1]++;
2647
2647
  }
2648
2648
  }
2649
- cov_1n64vqx5d7().s[82]++;
2649
+ cov_1x4lba4gyb().s[82]++;
2650
2650
  return message;
2651
2651
  }
2652
2652
  }
2653
- cov_1n64vqx5d7().s[83]++;
2653
+ cov_1x4lba4gyb().s[83]++;
2654
2654
  TranslationLogger.type = "logger";
2655
2655
 
2656
2656
  /***/ }),
@@ -10916,7 +10916,7 @@ module.exports = function compareByInspect(a, b) {
10916
10916
 
10917
10917
  var AssertionError = __webpack_require__(/*! assertion-error */ "../../common/temp/node_modules/.pnpm/assertion-error@1.1.0/node_modules/assertion-error/index.js");
10918
10918
  var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.10/node_modules/chai/lib/chai/utils/flag.js");
10919
- var type = __webpack_require__(/*! type-detect */ "../../common/temp/node_modules/.pnpm/type-detect@4.0.8/node_modules/type-detect/type-detect.js");
10919
+ var type = __webpack_require__(/*! type-detect */ "../../common/temp/node_modules/.pnpm/type-detect@4.1.0/node_modules/type-detect/type-detect.js");
10920
10920
 
10921
10921
  module.exports = function expectTypes(obj, types) {
10922
10922
  var flagMsg = flag(obj, 'message');
@@ -11088,7 +11088,7 @@ module.exports = function getMessage(obj, args) {
11088
11088
  \********************************************************************************************************/
11089
11089
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
11090
11090
 
11091
- var type = __webpack_require__(/*! type-detect */ "../../common/temp/node_modules/.pnpm/type-detect@4.0.8/node_modules/type-detect/type-detect.js");
11091
+ var type = __webpack_require__(/*! type-detect */ "../../common/temp/node_modules/.pnpm/type-detect@4.1.0/node_modules/type-detect/type-detect.js");
11092
11092
 
11093
11093
  var flag = __webpack_require__(/*! ./flag */ "../../common/temp/node_modules/.pnpm/chai@4.3.10/node_modules/chai/lib/chai/utils/flag.js");
11094
11094
 
@@ -11297,7 +11297,7 @@ exports.test = __webpack_require__(/*! ./test */ "../../common/temp/node_modules
11297
11297
  * type utility
11298
11298
  */
11299
11299
 
11300
- exports.type = __webpack_require__(/*! type-detect */ "../../common/temp/node_modules/.pnpm/type-detect@4.0.8/node_modules/type-detect/type-detect.js");
11300
+ exports.type = __webpack_require__(/*! type-detect */ "../../common/temp/node_modules/.pnpm/type-detect@4.1.0/node_modules/type-detect/type-detect.js");
11301
11301
 
11302
11302
  /*!
11303
11303
  * expectTypes utility
@@ -11344,7 +11344,7 @@ exports.transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common
11344
11344
  * Deep equal utility
11345
11345
  */
11346
11346
 
11347
- exports.eql = __webpack_require__(/*! deep-eql */ "../../common/temp/node_modules/.pnpm/deep-eql@4.1.3/node_modules/deep-eql/index.js");
11347
+ exports.eql = __webpack_require__(/*! deep-eql */ "../../common/temp/node_modules/.pnpm/deep-eql@4.1.4/node_modules/deep-eql/index.js");
11348
11348
 
11349
11349
  /*!
11350
11350
  * Deep path info
@@ -12886,9 +12886,9 @@ module.exports = exports
12886
12886
 
12887
12887
  /***/ }),
12888
12888
 
12889
- /***/ "../../common/temp/node_modules/.pnpm/deep-eql@4.1.3/node_modules/deep-eql/index.js":
12889
+ /***/ "../../common/temp/node_modules/.pnpm/deep-eql@4.1.4/node_modules/deep-eql/index.js":
12890
12890
  /*!******************************************************************************************!*\
12891
- !*** ../../common/temp/node_modules/.pnpm/deep-eql@4.1.3/node_modules/deep-eql/index.js ***!
12891
+ !*** ../../common/temp/node_modules/.pnpm/deep-eql@4.1.4/node_modules/deep-eql/index.js ***!
12892
12892
  \******************************************************************************************/
12893
12893
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
12894
12894
 
@@ -12901,7 +12901,7 @@ module.exports = exports
12901
12901
  * MIT Licensed
12902
12902
  */
12903
12903
 
12904
- var type = __webpack_require__(/*! type-detect */ "../../common/temp/node_modules/.pnpm/type-detect@4.0.8/node_modules/type-detect/type-detect.js");
12904
+ var type = __webpack_require__(/*! type-detect */ "../../common/temp/node_modules/.pnpm/type-detect@4.1.0/node_modules/type-detect/type-detect.js");
12905
12905
  function FakeMap() {
12906
12906
  this._key = 'chai/deep-eql__' + Math.random() + Date.now();
12907
12907
  }
@@ -13169,13 +13169,18 @@ function regexpEqual(leftHandOperand, rightHandOperand) {
13169
13169
  */
13170
13170
 
13171
13171
  function entriesEqual(leftHandOperand, rightHandOperand, options) {
13172
- // IE11 doesn't support Set#entries or Set#@@iterator, so we need manually populate using Set#forEach
13173
- if (leftHandOperand.size !== rightHandOperand.size) {
13172
+ try {
13173
+ // IE11 doesn't support Set#entries or Set#@@iterator, so we need manually populate using Set#forEach
13174
+ if (leftHandOperand.size !== rightHandOperand.size) {
13175
+ return false;
13176
+ }
13177
+ if (leftHandOperand.size === 0) {
13178
+ return true;
13179
+ }
13180
+ } catch (sizeError) {
13181
+ // things that aren't actual Maps or Sets will throw here
13174
13182
  return false;
13175
13183
  }
13176
- if (leftHandOperand.size === 0) {
13177
- return true;
13178
- }
13179
13184
  var leftHandItems = [];
13180
13185
  var rightHandItems = [];
13181
13186
  leftHandOperand.forEach(function gatherEntries(key, value) {
@@ -13464,8 +13469,8 @@ __webpack_require__.r(__webpack_exports__);
13464
13469
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13465
13470
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
13466
13471
  /* 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");
13472
+ /* 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.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
13473
+ /* 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.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js");
13469
13474
 
13470
13475
 
13471
13476
 
@@ -13893,15 +13898,15 @@ Browser.type = 'languageDetector';
13893
13898
  "use strict";
13894
13899
 
13895
13900
 
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");
13901
+ var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js");
13902
+ var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/classCallCheck.js");
13903
+ var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/createClass.js");
13904
+ var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
13905
+ var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/inherits.js");
13906
+ var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
13907
+ var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
13908
+ var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/defineProperty.js");
13909
+ var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toArray.js");
13905
13910
 
13906
13911
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
13907
13912
 
@@ -17911,399 +17916,150 @@ module.exports = {
17911
17916
 
17912
17917
  /***/ }),
17913
17918
 
17914
- /***/ "../../common/temp/node_modules/.pnpm/type-detect@4.0.8/node_modules/type-detect/type-detect.js":
17919
+ /***/ "../../common/temp/node_modules/.pnpm/type-detect@4.1.0/node_modules/type-detect/type-detect.js":
17915
17920
  /*!******************************************************************************************************!*\
17916
- !*** ../../common/temp/node_modules/.pnpm/type-detect@4.0.8/node_modules/type-detect/type-detect.js ***!
17921
+ !*** ../../common/temp/node_modules/.pnpm/type-detect@4.1.0/node_modules/type-detect/type-detect.js ***!
17917
17922
  \******************************************************************************************************/
17918
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
17923
+ /***/ (function(module) {
17919
17924
 
17920
17925
  (function (global, factory) {
17921
- true ? module.exports = factory() :
17922
- 0;
17923
- }(this, (function () { 'use strict';
17924
-
17925
- /* !
17926
- * type-detect
17927
- * Copyright(c) 2013 jake luer <jake@alogicalparadox.com>
17928
- * MIT Licensed
17929
- */
17930
- var promiseExists = typeof Promise === 'function';
17931
-
17932
- /* eslint-disable no-undef */
17933
- var globalObject = typeof self === 'object' ? self : __webpack_require__.g; // eslint-disable-line id-blacklist
17934
-
17935
- var symbolExists = typeof Symbol !== 'undefined';
17936
- var mapExists = typeof Map !== 'undefined';
17937
- var setExists = typeof Set !== 'undefined';
17938
- var weakMapExists = typeof WeakMap !== 'undefined';
17939
- var weakSetExists = typeof WeakSet !== 'undefined';
17940
- var dataViewExists = typeof DataView !== 'undefined';
17941
- var symbolIteratorExists = symbolExists && typeof Symbol.iterator !== 'undefined';
17942
- var symbolToStringTagExists = symbolExists && typeof Symbol.toStringTag !== 'undefined';
17943
- var setEntriesExists = setExists && typeof Set.prototype.entries === 'function';
17944
- var mapEntriesExists = mapExists && typeof Map.prototype.entries === 'function';
17945
- var setIteratorPrototype = setEntriesExists && Object.getPrototypeOf(new Set().entries());
17946
- var mapIteratorPrototype = mapEntriesExists && Object.getPrototypeOf(new Map().entries());
17947
- var arrayIteratorExists = symbolIteratorExists && typeof Array.prototype[Symbol.iterator] === 'function';
17948
- var arrayIteratorPrototype = arrayIteratorExists && Object.getPrototypeOf([][Symbol.iterator]());
17949
- var stringIteratorExists = symbolIteratorExists && typeof String.prototype[Symbol.iterator] === 'function';
17950
- var stringIteratorPrototype = stringIteratorExists && Object.getPrototypeOf(''[Symbol.iterator]());
17951
- var toStringLeftSliceLength = 8;
17952
- var toStringRightSliceLength = -1;
17953
- /**
17954
- * ### typeOf (obj)
17955
- *
17956
- * Uses `Object.prototype.toString` to determine the type of an object,
17957
- * normalising behaviour across engine versions & well optimised.
17958
- *
17959
- * @param {Mixed} object
17960
- * @return {String} object type
17961
- * @api public
17962
- */
17963
- function typeDetect(obj) {
17964
- /* ! Speed optimisation
17965
- * Pre:
17966
- * string literal x 3,039,035 ops/sec ±1.62% (78 runs sampled)
17967
- * boolean literal x 1,424,138 ops/sec ±4.54% (75 runs sampled)
17968
- * number literal x 1,653,153 ops/sec ±1.91% (82 runs sampled)
17969
- * undefined x 9,978,660 ops/sec ±1.92% (75 runs sampled)
17970
- * function x 2,556,769 ops/sec ±1.73% (77 runs sampled)
17971
- * Post:
17972
- * string literal x 38,564,796 ops/sec ±1.15% (79 runs sampled)
17973
- * boolean literal x 31,148,940 ops/sec ±1.10% (79 runs sampled)
17974
- * number literal x 32,679,330 ops/sec ±1.90% (78 runs sampled)
17975
- * undefined x 32,363,368 ops/sec ±1.07% (82 runs sampled)
17976
- * function x 31,296,870 ops/sec ±0.96% (83 runs sampled)
17977
- */
17978
- var typeofObj = typeof obj;
17979
- if (typeofObj !== 'object') {
17980
- return typeofObj;
17981
- }
17982
-
17983
- /* ! Speed optimisation
17984
- * Pre:
17985
- * null x 28,645,765 ops/sec ±1.17% (82 runs sampled)
17986
- * Post:
17987
- * null x 36,428,962 ops/sec ±1.37% (84 runs sampled)
17988
- */
17989
- if (obj === null) {
17990
- return 'null';
17991
- }
17992
-
17993
- /* ! Spec Conformance
17994
- * Test: `Object.prototype.toString.call(window)``
17995
- * - Node === "[object global]"
17996
- * - Chrome === "[object global]"
17997
- * - Firefox === "[object Window]"
17998
- * - PhantomJS === "[object Window]"
17999
- * - Safari === "[object Window]"
18000
- * - IE 11 === "[object Window]"
18001
- * - IE Edge === "[object Window]"
18002
- * Test: `Object.prototype.toString.call(this)``
18003
- * - Chrome Worker === "[object global]"
18004
- * - Firefox Worker === "[object DedicatedWorkerGlobalScope]"
18005
- * - Safari Worker === "[object DedicatedWorkerGlobalScope]"
18006
- * - IE 11 Worker === "[object WorkerGlobalScope]"
18007
- * - IE Edge Worker === "[object WorkerGlobalScope]"
18008
- */
18009
- if (obj === globalObject) {
18010
- return 'global';
18011
- }
18012
-
18013
- /* ! Speed optimisation
18014
- * Pre:
18015
- * array literal x 2,888,352 ops/sec ±0.67% (82 runs sampled)
18016
- * Post:
18017
- * array literal x 22,479,650 ops/sec ±0.96% (81 runs sampled)
18018
- */
18019
- if (
18020
- Array.isArray(obj) &&
18021
- (symbolToStringTagExists === false || !(Symbol.toStringTag in obj))
18022
- ) {
18023
- return 'Array';
18024
- }
18025
-
18026
- // Not caching existence of `window` and related properties due to potential
18027
- // for `window` to be unset before tests in quasi-browser environments.
18028
- if (typeof window === 'object' && window !== null) {
18029
- /* ! Spec Conformance
18030
- * (https://html.spec.whatwg.org/multipage/browsers.html#location)
18031
- * WhatWG HTML$7.7.3 - The `Location` interface
18032
- * Test: `Object.prototype.toString.call(window.location)``
18033
- * - IE <=11 === "[object Object]"
18034
- * - IE Edge <=13 === "[object Object]"
18035
- */
18036
- if (typeof window.location === 'object' && obj === window.location) {
18037
- return 'Location';
18038
- }
18039
-
18040
- /* ! Spec Conformance
18041
- * (https://html.spec.whatwg.org/#document)
18042
- * WhatWG HTML$3.1.1 - The `Document` object
18043
- * Note: Most browsers currently adher to the W3C DOM Level 2 spec
18044
- * (https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-26809268)
18045
- * which suggests that browsers should use HTMLTableCellElement for
18046
- * both TD and TH elements. WhatWG separates these.
18047
- * WhatWG HTML states:
18048
- * > For historical reasons, Window objects must also have a
18049
- * > writable, configurable, non-enumerable property named
18050
- * > HTMLDocument whose value is the Document interface object.
18051
- * Test: `Object.prototype.toString.call(document)``
18052
- * - Chrome === "[object HTMLDocument]"
18053
- * - Firefox === "[object HTMLDocument]"
18054
- * - Safari === "[object HTMLDocument]"
18055
- * - IE <=10 === "[object Document]"
18056
- * - IE 11 === "[object HTMLDocument]"
18057
- * - IE Edge <=13 === "[object HTMLDocument]"
18058
- */
18059
- if (typeof window.document === 'object' && obj === window.document) {
18060
- return 'Document';
18061
- }
18062
-
18063
- if (typeof window.navigator === 'object') {
18064
- /* ! Spec Conformance
18065
- * (https://html.spec.whatwg.org/multipage/webappapis.html#mimetypearray)
18066
- * WhatWG HTML$8.6.1.5 - Plugins - Interface MimeTypeArray
18067
- * Test: `Object.prototype.toString.call(navigator.mimeTypes)``
18068
- * - IE <=10 === "[object MSMimeTypesCollection]"
18069
- */
18070
- if (typeof window.navigator.mimeTypes === 'object' &&
18071
- obj === window.navigator.mimeTypes) {
18072
- return 'MimeTypeArray';
18073
- }
18074
-
18075
- /* ! Spec Conformance
18076
- * (https://html.spec.whatwg.org/multipage/webappapis.html#pluginarray)
18077
- * WhatWG HTML$8.6.1.5 - Plugins - Interface PluginArray
18078
- * Test: `Object.prototype.toString.call(navigator.plugins)``
18079
- * - IE <=10 === "[object MSPluginsCollection]"
18080
- */
18081
- if (typeof window.navigator.plugins === 'object' &&
18082
- obj === window.navigator.plugins) {
18083
- return 'PluginArray';
18084
- }
18085
- }
18086
-
18087
- if ((typeof window.HTMLElement === 'function' ||
18088
- typeof window.HTMLElement === 'object') &&
18089
- obj instanceof window.HTMLElement) {
18090
- /* ! Spec Conformance
18091
- * (https://html.spec.whatwg.org/multipage/webappapis.html#pluginarray)
18092
- * WhatWG HTML$4.4.4 - The `blockquote` element - Interface `HTMLQuoteElement`
18093
- * Test: `Object.prototype.toString.call(document.createElement('blockquote'))``
18094
- * - IE <=10 === "[object HTMLBlockElement]"
18095
- */
18096
- if (obj.tagName === 'BLOCKQUOTE') {
18097
- return 'HTMLQuoteElement';
18098
- }
18099
-
18100
- /* ! Spec Conformance
18101
- * (https://html.spec.whatwg.org/#htmltabledatacellelement)
18102
- * WhatWG HTML$4.9.9 - The `td` element - Interface `HTMLTableDataCellElement`
18103
- * Note: Most browsers currently adher to the W3C DOM Level 2 spec
18104
- * (https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-82915075)
18105
- * which suggests that browsers should use HTMLTableCellElement for
18106
- * both TD and TH elements. WhatWG separates these.
18107
- * Test: Object.prototype.toString.call(document.createElement('td'))
18108
- * - Chrome === "[object HTMLTableCellElement]"
18109
- * - Firefox === "[object HTMLTableCellElement]"
18110
- * - Safari === "[object HTMLTableCellElement]"
18111
- */
18112
- if (obj.tagName === 'TD') {
18113
- return 'HTMLTableDataCellElement';
18114
- }
18115
-
18116
- /* ! Spec Conformance
18117
- * (https://html.spec.whatwg.org/#htmltableheadercellelement)
18118
- * WhatWG HTML$4.9.9 - The `td` element - Interface `HTMLTableHeaderCellElement`
18119
- * Note: Most browsers currently adher to the W3C DOM Level 2 spec
18120
- * (https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-82915075)
18121
- * which suggests that browsers should use HTMLTableCellElement for
18122
- * both TD and TH elements. WhatWG separates these.
18123
- * Test: Object.prototype.toString.call(document.createElement('th'))
18124
- * - Chrome === "[object HTMLTableCellElement]"
18125
- * - Firefox === "[object HTMLTableCellElement]"
18126
- * - Safari === "[object HTMLTableCellElement]"
18127
- */
18128
- if (obj.tagName === 'TH') {
18129
- return 'HTMLTableHeaderCellElement';
18130
- }
17926
+ true ? module.exports = factory() :
17927
+ 0;
17928
+ })(this, (function () { 'use strict';
17929
+
17930
+ var promiseExists = typeof Promise === 'function';
17931
+ var globalObject = (function (Obj) {
17932
+ if (typeof globalThis === 'object') {
17933
+ return globalThis;
17934
+ }
17935
+ Object.defineProperty(Obj, 'typeDetectGlobalObject', {
17936
+ get: function get() {
17937
+ return this;
17938
+ },
17939
+ configurable: true,
17940
+ });
17941
+ var global = typeDetectGlobalObject;
17942
+ delete Obj.typeDetectGlobalObject;
17943
+ return global;
17944
+ })(Object.prototype);
17945
+ var symbolExists = typeof Symbol !== 'undefined';
17946
+ var mapExists = typeof Map !== 'undefined';
17947
+ var setExists = typeof Set !== 'undefined';
17948
+ var weakMapExists = typeof WeakMap !== 'undefined';
17949
+ var weakSetExists = typeof WeakSet !== 'undefined';
17950
+ var dataViewExists = typeof DataView !== 'undefined';
17951
+ var symbolIteratorExists = symbolExists && typeof Symbol.iterator !== 'undefined';
17952
+ var symbolToStringTagExists = symbolExists && typeof Symbol.toStringTag !== 'undefined';
17953
+ var setEntriesExists = setExists && typeof Set.prototype.entries === 'function';
17954
+ var mapEntriesExists = mapExists && typeof Map.prototype.entries === 'function';
17955
+ var setIteratorPrototype = setEntriesExists && Object.getPrototypeOf(new Set().entries());
17956
+ var mapIteratorPrototype = mapEntriesExists && Object.getPrototypeOf(new Map().entries());
17957
+ var arrayIteratorExists = symbolIteratorExists && typeof Array.prototype[Symbol.iterator] === 'function';
17958
+ var arrayIteratorPrototype = arrayIteratorExists && Object.getPrototypeOf([][Symbol.iterator]());
17959
+ var stringIteratorExists = symbolIteratorExists && typeof String.prototype[Symbol.iterator] === 'function';
17960
+ var stringIteratorPrototype = stringIteratorExists && Object.getPrototypeOf(''[Symbol.iterator]());
17961
+ var toStringLeftSliceLength = 8;
17962
+ var toStringRightSliceLength = -1;
17963
+ function typeDetect(obj) {
17964
+ var typeofObj = typeof obj;
17965
+ if (typeofObj !== 'object') {
17966
+ return typeofObj;
17967
+ }
17968
+ if (obj === null) {
17969
+ return 'null';
17970
+ }
17971
+ if (obj === globalObject) {
17972
+ return 'global';
17973
+ }
17974
+ if (Array.isArray(obj) &&
17975
+ (symbolToStringTagExists === false || !(Symbol.toStringTag in obj))) {
17976
+ return 'Array';
17977
+ }
17978
+ if (typeof window === 'object' && window !== null) {
17979
+ if (typeof window.location === 'object' && obj === window.location) {
17980
+ return 'Location';
17981
+ }
17982
+ if (typeof window.document === 'object' && obj === window.document) {
17983
+ return 'Document';
17984
+ }
17985
+ if (typeof window.navigator === 'object') {
17986
+ if (typeof window.navigator.mimeTypes === 'object' &&
17987
+ obj === window.navigator.mimeTypes) {
17988
+ return 'MimeTypeArray';
17989
+ }
17990
+ if (typeof window.navigator.plugins === 'object' &&
17991
+ obj === window.navigator.plugins) {
17992
+ return 'PluginArray';
17993
+ }
17994
+ }
17995
+ if ((typeof window.HTMLElement === 'function' ||
17996
+ typeof window.HTMLElement === 'object') &&
17997
+ obj instanceof window.HTMLElement) {
17998
+ if (obj.tagName === 'BLOCKQUOTE') {
17999
+ return 'HTMLQuoteElement';
18000
+ }
18001
+ if (obj.tagName === 'TD') {
18002
+ return 'HTMLTableDataCellElement';
18003
+ }
18004
+ if (obj.tagName === 'TH') {
18005
+ return 'HTMLTableHeaderCellElement';
18006
+ }
18007
+ }
18008
+ }
18009
+ var stringTag = (symbolToStringTagExists && obj[Symbol.toStringTag]);
18010
+ if (typeof stringTag === 'string') {
18011
+ return stringTag;
18012
+ }
18013
+ var objPrototype = Object.getPrototypeOf(obj);
18014
+ if (objPrototype === RegExp.prototype) {
18015
+ return 'RegExp';
18016
+ }
18017
+ if (objPrototype === Date.prototype) {
18018
+ return 'Date';
18019
+ }
18020
+ if (promiseExists && objPrototype === Promise.prototype) {
18021
+ return 'Promise';
18022
+ }
18023
+ if (setExists && objPrototype === Set.prototype) {
18024
+ return 'Set';
18025
+ }
18026
+ if (mapExists && objPrototype === Map.prototype) {
18027
+ return 'Map';
18028
+ }
18029
+ if (weakSetExists && objPrototype === WeakSet.prototype) {
18030
+ return 'WeakSet';
18031
+ }
18032
+ if (weakMapExists && objPrototype === WeakMap.prototype) {
18033
+ return 'WeakMap';
18034
+ }
18035
+ if (dataViewExists && objPrototype === DataView.prototype) {
18036
+ return 'DataView';
18037
+ }
18038
+ if (mapExists && objPrototype === mapIteratorPrototype) {
18039
+ return 'Map Iterator';
18040
+ }
18041
+ if (setExists && objPrototype === setIteratorPrototype) {
18042
+ return 'Set Iterator';
18043
+ }
18044
+ if (arrayIteratorExists && objPrototype === arrayIteratorPrototype) {
18045
+ return 'Array Iterator';
18046
+ }
18047
+ if (stringIteratorExists && objPrototype === stringIteratorPrototype) {
18048
+ return 'String Iterator';
18049
+ }
18050
+ if (objPrototype === null) {
18051
+ return 'Object';
18052
+ }
18053
+ return Object
18054
+ .prototype
18055
+ .toString
18056
+ .call(obj)
18057
+ .slice(toStringLeftSliceLength, toStringRightSliceLength);
18131
18058
  }
18132
- }
18133
-
18134
- /* ! Speed optimisation
18135
- * Pre:
18136
- * Float64Array x 625,644 ops/sec ±1.58% (80 runs sampled)
18137
- * Float32Array x 1,279,852 ops/sec ±2.91% (77 runs sampled)
18138
- * Uint32Array x 1,178,185 ops/sec ±1.95% (83 runs sampled)
18139
- * Uint16Array x 1,008,380 ops/sec ±2.25% (80 runs sampled)
18140
- * Uint8Array x 1,128,040 ops/sec ±2.11% (81 runs sampled)
18141
- * Int32Array x 1,170,119 ops/sec ±2.88% (80 runs sampled)
18142
- * Int16Array x 1,176,348 ops/sec ±5.79% (86 runs sampled)
18143
- * Int8Array x 1,058,707 ops/sec ±4.94% (77 runs sampled)
18144
- * Uint8ClampedArray x 1,110,633 ops/sec ±4.20% (80 runs sampled)
18145
- * Post:
18146
- * Float64Array x 7,105,671 ops/sec ±13.47% (64 runs sampled)
18147
- * Float32Array x 5,887,912 ops/sec ±1.46% (82 runs sampled)
18148
- * Uint32Array x 6,491,661 ops/sec ±1.76% (79 runs sampled)
18149
- * Uint16Array x 6,559,795 ops/sec ±1.67% (82 runs sampled)
18150
- * Uint8Array x 6,463,966 ops/sec ±1.43% (85 runs sampled)
18151
- * Int32Array x 5,641,841 ops/sec ±3.49% (81 runs sampled)
18152
- * Int16Array x 6,583,511 ops/sec ±1.98% (80 runs sampled)
18153
- * Int8Array x 6,606,078 ops/sec ±1.74% (81 runs sampled)
18154
- * Uint8ClampedArray x 6,602,224 ops/sec ±1.77% (83 runs sampled)
18155
- */
18156
- var stringTag = (symbolToStringTagExists && obj[Symbol.toStringTag]);
18157
- if (typeof stringTag === 'string') {
18158
- return stringTag;
18159
- }
18160
-
18161
- var objPrototype = Object.getPrototypeOf(obj);
18162
- /* ! Speed optimisation
18163
- * Pre:
18164
- * regex literal x 1,772,385 ops/sec ±1.85% (77 runs sampled)
18165
- * regex constructor x 2,143,634 ops/sec ±2.46% (78 runs sampled)
18166
- * Post:
18167
- * regex literal x 3,928,009 ops/sec ±0.65% (78 runs sampled)
18168
- * regex constructor x 3,931,108 ops/sec ±0.58% (84 runs sampled)
18169
- */
18170
- if (objPrototype === RegExp.prototype) {
18171
- return 'RegExp';
18172
- }
18173
-
18174
- /* ! Speed optimisation
18175
- * Pre:
18176
- * date x 2,130,074 ops/sec ±4.42% (68 runs sampled)
18177
- * Post:
18178
- * date x 3,953,779 ops/sec ±1.35% (77 runs sampled)
18179
- */
18180
- if (objPrototype === Date.prototype) {
18181
- return 'Date';
18182
- }
18183
-
18184
- /* ! Spec Conformance
18185
- * (http://www.ecma-international.org/ecma-262/6.0/index.html#sec-promise.prototype-@@tostringtag)
18186
- * ES6$25.4.5.4 - Promise.prototype[@@toStringTag] should be "Promise":
18187
- * Test: `Object.prototype.toString.call(Promise.resolve())``
18188
- * - Chrome <=47 === "[object Object]"
18189
- * - Edge <=20 === "[object Object]"
18190
- * - Firefox 29-Latest === "[object Promise]"
18191
- * - Safari 7.1-Latest === "[object Promise]"
18192
- */
18193
- if (promiseExists && objPrototype === Promise.prototype) {
18194
- return 'Promise';
18195
- }
18196
-
18197
- /* ! Speed optimisation
18198
- * Pre:
18199
- * set x 2,222,186 ops/sec ±1.31% (82 runs sampled)
18200
- * Post:
18201
- * set x 4,545,879 ops/sec ±1.13% (83 runs sampled)
18202
- */
18203
- if (setExists && objPrototype === Set.prototype) {
18204
- return 'Set';
18205
- }
18206
-
18207
- /* ! Speed optimisation
18208
- * Pre:
18209
- * map x 2,396,842 ops/sec ±1.59% (81 runs sampled)
18210
- * Post:
18211
- * map x 4,183,945 ops/sec ±6.59% (82 runs sampled)
18212
- */
18213
- if (mapExists && objPrototype === Map.prototype) {
18214
- return 'Map';
18215
- }
18216
-
18217
- /* ! Speed optimisation
18218
- * Pre:
18219
- * weakset x 1,323,220 ops/sec ±2.17% (76 runs sampled)
18220
- * Post:
18221
- * weakset x 4,237,510 ops/sec ±2.01% (77 runs sampled)
18222
- */
18223
- if (weakSetExists && objPrototype === WeakSet.prototype) {
18224
- return 'WeakSet';
18225
- }
18226
-
18227
- /* ! Speed optimisation
18228
- * Pre:
18229
- * weakmap x 1,500,260 ops/sec ±2.02% (78 runs sampled)
18230
- * Post:
18231
- * weakmap x 3,881,384 ops/sec ±1.45% (82 runs sampled)
18232
- */
18233
- if (weakMapExists && objPrototype === WeakMap.prototype) {
18234
- return 'WeakMap';
18235
- }
18236
-
18237
- /* ! Spec Conformance
18238
- * (http://www.ecma-international.org/ecma-262/6.0/index.html#sec-dataview.prototype-@@tostringtag)
18239
- * ES6$24.2.4.21 - DataView.prototype[@@toStringTag] should be "DataView":
18240
- * Test: `Object.prototype.toString.call(new DataView(new ArrayBuffer(1)))``
18241
- * - Edge <=13 === "[object Object]"
18242
- */
18243
- if (dataViewExists && objPrototype === DataView.prototype) {
18244
- return 'DataView';
18245
- }
18246
-
18247
- /* ! Spec Conformance
18248
- * (http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%mapiteratorprototype%-@@tostringtag)
18249
- * ES6$23.1.5.2.2 - %MapIteratorPrototype%[@@toStringTag] should be "Map Iterator":
18250
- * Test: `Object.prototype.toString.call(new Map().entries())``
18251
- * - Edge <=13 === "[object Object]"
18252
- */
18253
- if (mapExists && objPrototype === mapIteratorPrototype) {
18254
- return 'Map Iterator';
18255
- }
18256
-
18257
- /* ! Spec Conformance
18258
- * (http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%setiteratorprototype%-@@tostringtag)
18259
- * ES6$23.2.5.2.2 - %SetIteratorPrototype%[@@toStringTag] should be "Set Iterator":
18260
- * Test: `Object.prototype.toString.call(new Set().entries())``
18261
- * - Edge <=13 === "[object Object]"
18262
- */
18263
- if (setExists && objPrototype === setIteratorPrototype) {
18264
- return 'Set Iterator';
18265
- }
18266
-
18267
- /* ! Spec Conformance
18268
- * (http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%arrayiteratorprototype%-@@tostringtag)
18269
- * ES6$22.1.5.2.2 - %ArrayIteratorPrototype%[@@toStringTag] should be "Array Iterator":
18270
- * Test: `Object.prototype.toString.call([][Symbol.iterator]())``
18271
- * - Edge <=13 === "[object Object]"
18272
- */
18273
- if (arrayIteratorExists && objPrototype === arrayIteratorPrototype) {
18274
- return 'Array Iterator';
18275
- }
18276
-
18277
- /* ! Spec Conformance
18278
- * (http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%stringiteratorprototype%-@@tostringtag)
18279
- * ES6$21.1.5.2.2 - %StringIteratorPrototype%[@@toStringTag] should be "String Iterator":
18280
- * Test: `Object.prototype.toString.call(''[Symbol.iterator]())``
18281
- * - Edge <=13 === "[object Object]"
18282
- */
18283
- if (stringIteratorExists && objPrototype === stringIteratorPrototype) {
18284
- return 'String Iterator';
18285
- }
18286
-
18287
- /* ! Speed optimisation
18288
- * Pre:
18289
- * object from null x 2,424,320 ops/sec ±1.67% (76 runs sampled)
18290
- * Post:
18291
- * object from null x 5,838,000 ops/sec ±0.99% (84 runs sampled)
18292
- */
18293
- if (objPrototype === null) {
18294
- return 'Object';
18295
- }
18296
18059
 
18297
- return Object
18298
- .prototype
18299
- .toString
18300
- .call(obj)
18301
- .slice(toStringLeftSliceLength, toStringRightSliceLength);
18302
- }
18060
+ return typeDetect;
18303
18061
 
18304
- return typeDetect;
18305
-
18306
- })));
18062
+ }));
18307
18063
 
18308
18064
 
18309
18065
  /***/ }),
@@ -25106,177 +24862,156 @@ function partitionArray(array, criterion) {
25106
24862
 
25107
24863
  /***/ }),
25108
24864
 
25109
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
24865
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
25110
24866
  /*!**************************************************************************************************************************!*\
25111
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
24867
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
25112
24868
  \**************************************************************************************************************************/
25113
24869
  /***/ ((module) => {
25114
24870
 
25115
- function _arrayLikeToArray(arr, len) {
25116
- if (len == null || len > arr.length) len = arr.length;
25117
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
25118
- return arr2;
24871
+ function _arrayLikeToArray(r, a) {
24872
+ (null == a || a > r.length) && (a = r.length);
24873
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
24874
+ return n;
25119
24875
  }
25120
24876
  module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
25121
24877
 
25122
24878
  /***/ }),
25123
24879
 
25124
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
24880
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
25125
24881
  /*!************************************************************************************************************************!*\
25126
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
24882
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
25127
24883
  \************************************************************************************************************************/
25128
24884
  /***/ ((module) => {
25129
24885
 
25130
- function _arrayWithHoles(arr) {
25131
- if (Array.isArray(arr)) return arr;
24886
+ function _arrayWithHoles(r) {
24887
+ if (Array.isArray(r)) return r;
25132
24888
  }
25133
24889
  module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
25134
24890
 
25135
24891
  /***/ }),
25136
24892
 
25137
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
24893
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
25138
24894
  /*!*******************************************************************************************************************************!*\
25139
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
24895
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
25140
24896
  \*******************************************************************************************************************************/
25141
24897
  /***/ ((module) => {
25142
24898
 
25143
- function _assertThisInitialized(self) {
25144
- if (self === void 0) {
25145
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
25146
- }
25147
- return self;
24899
+ function _assertThisInitialized(e) {
24900
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
24901
+ return e;
25148
24902
  }
25149
24903
  module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
25150
24904
 
25151
24905
  /***/ }),
25152
24906
 
25153
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/classCallCheck.js":
24907
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/classCallCheck.js":
25154
24908
  /*!************************************************************************************************************************!*\
25155
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
24909
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
25156
24910
  \************************************************************************************************************************/
25157
24911
  /***/ ((module) => {
25158
24912
 
25159
- function _classCallCheck(instance, Constructor) {
25160
- if (!(instance instanceof Constructor)) {
25161
- throw new TypeError("Cannot call a class as a function");
25162
- }
24913
+ function _classCallCheck(a, n) {
24914
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
25163
24915
  }
25164
24916
  module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
25165
24917
 
25166
24918
  /***/ }),
25167
24919
 
25168
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/createClass.js":
24920
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/createClass.js":
25169
24921
  /*!*********************************************************************************************************************!*\
25170
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/createClass.js ***!
24922
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/createClass.js ***!
25171
24923
  \*********************************************************************************************************************/
25172
24924
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25173
24925
 
25174
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25175
- function _defineProperties(target, props) {
25176
- for (var i = 0; i < props.length; i++) {
25177
- var descriptor = props[i];
25178
- descriptor.enumerable = descriptor.enumerable || false;
25179
- descriptor.configurable = true;
25180
- if ("value" in descriptor) descriptor.writable = true;
25181
- Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
24926
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
24927
+ function _defineProperties(e, r) {
24928
+ for (var t = 0; t < r.length; t++) {
24929
+ var o = r[t];
24930
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
25182
24931
  }
25183
24932
  }
25184
- function _createClass(Constructor, protoProps, staticProps) {
25185
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
25186
- if (staticProps) _defineProperties(Constructor, staticProps);
25187
- Object.defineProperty(Constructor, "prototype", {
25188
- writable: false
25189
- });
25190
- return Constructor;
24933
+ function _createClass(e, r, t) {
24934
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
24935
+ writable: !1
24936
+ }), e;
25191
24937
  }
25192
24938
  module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
25193
24939
 
25194
24940
  /***/ }),
25195
24941
 
25196
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/defineProperty.js":
24942
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/defineProperty.js":
25197
24943
  /*!************************************************************************************************************************!*\
25198
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/defineProperty.js ***!
24944
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/defineProperty.js ***!
25199
24945
  \************************************************************************************************************************/
25200
24946
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25201
24947
 
25202
- var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPropertyKey.js");
25203
- function _defineProperty(obj, key, value) {
25204
- key = toPropertyKey(key);
25205
- if (key in obj) {
25206
- Object.defineProperty(obj, key, {
25207
- value: value,
25208
- enumerable: true,
25209
- configurable: true,
25210
- writable: true
25211
- });
25212
- } else {
25213
- obj[key] = value;
25214
- }
25215
- return obj;
24948
+ var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPropertyKey.js");
24949
+ function _defineProperty(e, r, t) {
24950
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
24951
+ value: t,
24952
+ enumerable: !0,
24953
+ configurable: !0,
24954
+ writable: !0
24955
+ }) : e[r] = t, e;
25216
24956
  }
25217
24957
  module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
25218
24958
 
25219
24959
  /***/ }),
25220
24960
 
25221
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
24961
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
25222
24962
  /*!************************************************************************************************************************!*\
25223
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
24963
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
25224
24964
  \************************************************************************************************************************/
25225
24965
  /***/ ((module) => {
25226
24966
 
25227
- function _getPrototypeOf(o) {
25228
- module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
25229
- return o.__proto__ || Object.getPrototypeOf(o);
25230
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
25231
- return _getPrototypeOf(o);
24967
+ function _getPrototypeOf(t) {
24968
+ return (module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
24969
+ return t.__proto__ || Object.getPrototypeOf(t);
24970
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _getPrototypeOf(t);
25232
24971
  }
25233
24972
  module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
25234
24973
 
25235
24974
  /***/ }),
25236
24975
 
25237
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/inherits.js":
24976
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/inherits.js":
25238
24977
  /*!******************************************************************************************************************!*\
25239
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/inherits.js ***!
24978
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/inherits.js ***!
25240
24979
  \******************************************************************************************************************/
25241
24980
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25242
24981
 
25243
- var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
25244
- function _inherits(subClass, superClass) {
25245
- if (typeof superClass !== "function" && superClass !== null) {
25246
- throw new TypeError("Super expression must either be null or a function");
25247
- }
25248
- subClass.prototype = Object.create(superClass && superClass.prototype, {
24982
+ var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
24983
+ function _inherits(t, e) {
24984
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
24985
+ t.prototype = Object.create(e && e.prototype, {
25249
24986
  constructor: {
25250
- value: subClass,
25251
- writable: true,
25252
- configurable: true
24987
+ value: t,
24988
+ writable: !0,
24989
+ configurable: !0
25253
24990
  }
25254
- });
25255
- Object.defineProperty(subClass, "prototype", {
25256
- writable: false
25257
- });
25258
- if (superClass) setPrototypeOf(subClass, superClass);
24991
+ }), Object.defineProperty(t, "prototype", {
24992
+ writable: !1
24993
+ }), e && setPrototypeOf(t, e);
25259
24994
  }
25260
24995
  module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
25261
24996
 
25262
24997
  /***/ }),
25263
24998
 
25264
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/iterableToArray.js":
24999
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/iterableToArray.js":
25265
25000
  /*!*************************************************************************************************************************!*\
25266
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
25001
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
25267
25002
  \*************************************************************************************************************************/
25268
25003
  /***/ ((module) => {
25269
25004
 
25270
- function _iterableToArray(iter) {
25271
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
25005
+ function _iterableToArray(r) {
25006
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
25272
25007
  }
25273
25008
  module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
25274
25009
 
25275
25010
  /***/ }),
25276
25011
 
25277
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/nonIterableRest.js":
25012
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/nonIterableRest.js":
25278
25013
  /*!*************************************************************************************************************************!*\
25279
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
25014
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
25280
25015
  \*************************************************************************************************************************/
25281
25016
  /***/ ((module) => {
25282
25017
 
@@ -25287,67 +25022,62 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
25287
25022
 
25288
25023
  /***/ }),
25289
25024
 
25290
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
25025
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
25291
25026
  /*!***********************************************************************************************************************************!*\
25292
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
25027
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
25293
25028
  \***********************************************************************************************************************************/
25294
25029
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25295
25030
 
25296
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25297
- var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
25298
- function _possibleConstructorReturn(self, call) {
25299
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
25300
- return call;
25301
- } else if (call !== void 0) {
25302
- throw new TypeError("Derived constructors may only return object or undefined");
25303
- }
25304
- return assertThisInitialized(self);
25031
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25032
+ var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
25033
+ function _possibleConstructorReturn(t, e) {
25034
+ if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
25035
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
25036
+ return assertThisInitialized(t);
25305
25037
  }
25306
25038
  module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
25307
25039
 
25308
25040
  /***/ }),
25309
25041
 
25310
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
25042
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
25311
25043
  /*!************************************************************************************************************************!*\
25312
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
25044
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
25313
25045
  \************************************************************************************************************************/
25314
25046
  /***/ ((module) => {
25315
25047
 
25316
- function _setPrototypeOf(o, p) {
25317
- module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
25318
- o.__proto__ = p;
25319
- return o;
25320
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
25321
- return _setPrototypeOf(o, p);
25048
+ function _setPrototypeOf(t, e) {
25049
+ return (module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
25050
+ return t.__proto__ = e, t;
25051
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _setPrototypeOf(t, e);
25322
25052
  }
25323
25053
  module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
25324
25054
 
25325
25055
  /***/ }),
25326
25056
 
25327
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toArray.js":
25057
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toArray.js":
25328
25058
  /*!*****************************************************************************************************************!*\
25329
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toArray.js ***!
25059
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toArray.js ***!
25330
25060
  \*****************************************************************************************************************/
25331
25061
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25332
25062
 
25333
- var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
25334
- var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/iterableToArray.js");
25335
- var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
25336
- var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/nonIterableRest.js");
25337
- function _toArray(arr) {
25338
- return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
25063
+ var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
25064
+ var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/iterableToArray.js");
25065
+ var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
25066
+ var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/nonIterableRest.js");
25067
+ function _toArray(r) {
25068
+ return arrayWithHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableRest();
25339
25069
  }
25340
25070
  module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
25341
25071
 
25342
25072
  /***/ }),
25343
25073
 
25344
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPrimitive.js":
25074
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPrimitive.js":
25345
25075
  /*!*********************************************************************************************************************!*\
25346
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
25076
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
25347
25077
  \*********************************************************************************************************************/
25348
25078
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25349
25079
 
25350
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25080
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25351
25081
  function toPrimitive(t, r) {
25352
25082
  if ("object" != _typeof(t) || !t) return t;
25353
25083
  var e = t[Symbol.toPrimitive];
@@ -25362,25 +25092,25 @@ module.exports = toPrimitive, module.exports.__esModule = true, module.exports["
25362
25092
 
25363
25093
  /***/ }),
25364
25094
 
25365
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPropertyKey.js":
25095
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPropertyKey.js":
25366
25096
  /*!***********************************************************************************************************************!*\
25367
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
25097
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
25368
25098
  \***********************************************************************************************************************/
25369
25099
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25370
25100
 
25371
- var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25372
- var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/toPrimitive.js");
25101
+ var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
25102
+ var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/toPrimitive.js");
25373
25103
  function toPropertyKey(t) {
25374
25104
  var i = toPrimitive(t, "string");
25375
- return "symbol" == _typeof(i) ? i : String(i);
25105
+ return "symbol" == _typeof(i) ? i : i + "";
25376
25106
  }
25377
25107
  module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
25378
25108
 
25379
25109
  /***/ }),
25380
25110
 
25381
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js":
25111
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js":
25382
25112
  /*!****************************************************************************************************************!*\
25383
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/typeof.js ***!
25113
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/typeof.js ***!
25384
25114
  \****************************************************************************************************************/
25385
25115
  /***/ ((module) => {
25386
25116
 
@@ -25397,20 +25127,19 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
25397
25127
 
25398
25128
  /***/ }),
25399
25129
 
25400
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
25130
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
25401
25131
  /*!************************************************************************************************************************************!*\
25402
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
25132
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
25403
25133
  \************************************************************************************************************************************/
25404
25134
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
25405
25135
 
25406
- var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
25407
- function _unsupportedIterableToArray(o, minLen) {
25408
- if (!o) return;
25409
- if (typeof o === "string") return arrayLikeToArray(o, minLen);
25410
- var n = Object.prototype.toString.call(o).slice(8, -1);
25411
- if (n === "Object" && o.constructor) n = o.constructor.name;
25412
- if (n === "Map" || n === "Set") return Array.from(o);
25413
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
25136
+ var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
25137
+ function _unsupportedIterableToArray(r, a) {
25138
+ if (r) {
25139
+ if ("string" == typeof r) return arrayLikeToArray(r, a);
25140
+ var t = {}.toString.call(r).slice(8, -1);
25141
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;
25142
+ }
25414
25143
  }
25415
25144
  module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
25416
25145
 
@@ -25923,9 +25652,9 @@ function makePromise(maybePromise) {
25923
25652
 
25924
25653
  /***/ }),
25925
25654
 
25926
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
25655
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
25927
25656
  /*!****************************************************************************************************************************!*\
25928
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
25657
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
25929
25658
  \****************************************************************************************************************************/
25930
25659
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25931
25660
 
@@ -25934,17 +25663,16 @@ __webpack_require__.r(__webpack_exports__);
25934
25663
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25935
25664
  /* harmony export */ "default": () => (/* binding */ _classCallCheck)
25936
25665
  /* harmony export */ });
25937
- function _classCallCheck(instance, Constructor) {
25938
- if (!(instance instanceof Constructor)) {
25939
- throw new TypeError("Cannot call a class as a function");
25940
- }
25666
+ function _classCallCheck(a, n) {
25667
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
25941
25668
  }
25942
25669
 
25670
+
25943
25671
  /***/ }),
25944
25672
 
25945
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/createClass.js":
25673
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js":
25946
25674
  /*!*************************************************************************************************************************!*\
25947
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
25675
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
25948
25676
  \*************************************************************************************************************************/
25949
25677
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25950
25678
 
@@ -25953,31 +25681,26 @@ __webpack_require__.r(__webpack_exports__);
25953
25681
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25954
25682
  /* harmony export */ "default": () => (/* binding */ _createClass)
25955
25683
  /* harmony export */ });
25956
- /* 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");
25684
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
25957
25685
 
25958
- function _defineProperties(target, props) {
25959
- for (var i = 0; i < props.length; i++) {
25960
- var descriptor = props[i];
25961
- descriptor.enumerable = descriptor.enumerable || false;
25962
- descriptor.configurable = true;
25963
- if ("value" in descriptor) descriptor.writable = true;
25964
- Object.defineProperty(target, (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(descriptor.key), descriptor);
25686
+ function _defineProperties(e, r) {
25687
+ for (var t = 0; t < r.length; t++) {
25688
+ var o = r[t];
25689
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__["default"])(o.key), o);
25965
25690
  }
25966
25691
  }
25967
- function _createClass(Constructor, protoProps, staticProps) {
25968
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
25969
- if (staticProps) _defineProperties(Constructor, staticProps);
25970
- Object.defineProperty(Constructor, "prototype", {
25971
- writable: false
25972
- });
25973
- return Constructor;
25692
+ function _createClass(e, r, t) {
25693
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
25694
+ writable: !1
25695
+ }), e;
25974
25696
  }
25975
25697
 
25698
+
25976
25699
  /***/ }),
25977
25700
 
25978
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
25701
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
25979
25702
  /*!*************************************************************************************************************************!*\
25980
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
25703
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
25981
25704
  \*************************************************************************************************************************/
25982
25705
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25983
25706
 
@@ -25986,7 +25709,7 @@ __webpack_require__.r(__webpack_exports__);
25986
25709
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25987
25710
  /* harmony export */ "default": () => (/* binding */ toPrimitive)
25988
25711
  /* harmony export */ });
25989
- /* 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");
25712
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
25990
25713
 
25991
25714
  function toPrimitive(t, r) {
25992
25715
  if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
@@ -25999,11 +25722,12 @@ function toPrimitive(t, r) {
25999
25722
  return ("string" === r ? String : Number)(t);
26000
25723
  }
26001
25724
 
25725
+
26002
25726
  /***/ }),
26003
25727
 
26004
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
25728
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
26005
25729
  /*!***************************************************************************************************************************!*\
26006
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
25730
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
26007
25731
  \***************************************************************************************************************************/
26008
25732
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
26009
25733
 
@@ -26012,20 +25736,21 @@ __webpack_require__.r(__webpack_exports__);
26012
25736
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
26013
25737
  /* harmony export */ "default": () => (/* binding */ toPropertyKey)
26014
25738
  /* harmony export */ });
26015
- /* 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");
26016
- /* 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");
25739
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js");
25740
+ /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
26017
25741
 
26018
25742
 
26019
25743
  function toPropertyKey(t) {
26020
25744
  var i = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__["default"])(t, "string");
26021
- return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i) ? i : String(i);
25745
+ return "symbol" == (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(i) ? i : i + "";
26022
25746
  }
26023
25747
 
25748
+
26024
25749
  /***/ }),
26025
25750
 
26026
- /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/typeof.js":
25751
+ /***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js":
26027
25752
  /*!********************************************************************************************************************!*\
26028
- !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.23.8/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
25753
+ !*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.25.0/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
26029
25754
  \********************************************************************************************************************/
26030
25755
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
26031
25756
 
@@ -26044,6 +25769,7 @@ function _typeof(o) {
26044
25769
  }, _typeof(o);
26045
25770
  }
26046
25771
 
25772
+
26047
25773
  /***/ })
26048
25774
 
26049
25775
  /******/ });