@itwin/core-i18n 5.8.0-dev.2 → 5.8.0-dev.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -1
- package/lib/cjs/ITwinLocalization.js.map +1 -1
- package/lib/cjs/core-i18n.js.map +1 -1
- package/lib/cjs/test/ITwinLocalization.test.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js +76 -76
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.js +73 -73
- package/lib/cjs/test/webpack/bundled-tests.js.map +1 -1
- package/lib/esm/ITwinLocalization.js.map +1 -1
- package/lib/esm/core-i18n.js.map +1 -1
- package/lib/esm/test/ITwinLocalization.test.js.map +1 -1
- package/package.json +6 -6
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
function cov_ogldeftyv() {
|
|
21
21
|
var path = "C:\\agent\\_work\\1\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
|
|
22
|
-
var hash = "
|
|
22
|
+
var hash = "d940188727f7c3f13464903c9fef76d730c540e6";
|
|
23
23
|
var global = new Function("return this")();
|
|
24
24
|
var gcv = "__coverage__";
|
|
25
25
|
var coverageData = {
|
|
@@ -2123,10 +2123,10 @@ function cov_ogldeftyv() {
|
|
|
2123
2123
|
sources: ["C:\\agent\\_work\\1\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
|
|
2124
2124
|
names: [],
|
|
2125
2125
|
mappings: ";AAAA;;;+FAG+F;AAC/F;;GAEG;;;;;;AAEH,sDAA2E;AAC3E,wGAAmG;AACnG,gFAAqF;AACrF,sDAA6C;AAG7C,MAAM,mBAAmB,GAAW,CAAC,CAAC,CAAC,8GAA8G;AAcrJ;;;GAGG;AACH,MAAa,iBAAiB;IACrB,OAAO,CAAO;IACJ,YAAY,CAAc;IAC1B,eAAe,CAAiB;IAChC,iBAAiB,CAAkB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I,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",
|
|
2126
|
-
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, { HttpBackendOptions as 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 /** 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 {\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"]
|
|
2126
|
+
sourcesContent: ["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Localization\n */\n\nimport i18next, { i18n, InitOptions, Module, TOptionsBase } from \"i18next\";\nimport i18nextBrowserLanguageDetector, { DetectorOptions } from \"i18next-browser-languagedetector\";\nimport Backend, { HttpBackendOptions as BackendOptions } from \"i18next-http-backend\";\nimport { Logger } from \"@itwin/core-bentley\";\nimport type { Localization } from \"@itwin/core-common\";\n\nconst DEFAULT_MAX_RETRIES: number = 1; // a low number prevents wasted time and potential timeouts when requesting localization files throws an error\n\n/** Options for ITwinLocalization\n * @public\n */\nexport interface LocalizationOptions {\n urlTemplate?: string;\n backendPlugin?: Module;\n detectorPlugin?: Module;\n initOptions?: InitOptions;\n backendHttpOptions?: BackendOptions;\n detectorOptions?: DetectorOptions;\n}\n\n/** Supplies localizations for iTwin.js\n * @note this class uses the [i18next](https://www.i18next.com/) package.\n * @public\n */\nexport class ITwinLocalization implements Localization {\n public i18next: i18n;\n private readonly _initOptions: InitOptions;\n private readonly _backendOptions: BackendOptions;\n private readonly _detectionOptions: DetectorOptions;\n private readonly _namespaces = new Map<string, Promise<void>>();\n\n public constructor(options?: LocalizationOptions) {\n this.i18next = i18next.createInstance();\n\n this._backendOptions = {\n loadPath: options?.urlTemplate ?? \"locales/{{lng}}/{{ns}}.json\",\n crossDomain: true,\n ...options?.backendHttpOptions,\n };\n\n this._detectionOptions = {\n order: [\"querystring\", \"navigator\", \"htmlTag\"],\n lookupQuerystring: \"lng\",\n caches: [],\n ...options?.detectorOptions,\n };\n\n this._initOptions = {\n interpolation: { escapeValue: true },\n fallbackLng: \"en\",\n maxRetries: DEFAULT_MAX_RETRIES,\n backend: this._backendOptions,\n detection: this._detectionOptions,\n ...options?.initOptions,\n };\n\n this.i18next\n .use(options?.detectorPlugin ?? i18nextBrowserLanguageDetector)\n .use(options?.backendPlugin ?? Backend)\n .use(TranslationLogger);\n }\n\n public async initialize(namespaces: string[]): Promise<void> {\n\n // Also consider namespaces passed into constructor\n const initNamespaces: string[] = [this._initOptions.ns || []].flat();\n const combinedNamespaces: Set<string> = new Set([...namespaces, ...initNamespaces]); // without duplicates\n\n const defaultNamespace: string | false | readonly string[] = this._initOptions.defaultNS ?? namespaces[0];\n if (defaultNamespace)\n combinedNamespaces.add(defaultNamespace as string); // Make sure default namespace is in namespaces list\n\n const initOptions: InitOptions = {\n ...this._initOptions,\n defaultNS: defaultNamespace,\n ns: [...combinedNamespaces],\n };\n\n // if in a development environment, set debugging\n if (process.env.NODE_ENV === \"development\")\n initOptions.debug = true;\n\n const initPromise = this.i18next.init(initOptions) as unknown as Promise<void>;\n\n for (const ns of namespaces)\n this._namespaces.set(ns, initPromise);\n\n return initPromise;\n }\n\n /** Replace all instances of `%{key}` within a string with the translations of those keys.\n * For example:\n * ``` ts\n * \"MyKeys\": {\n * \"Key1\": \"First value\",\n * \"Key2\": \"Second value\"\n * }\n * ```\n *\n * ``` ts\n * i18.translateKeys(\"string with %{MyKeys.Key1} followed by %{MyKeys.Key2}!\"\") // returns \"string with First Value followed by Second Value!\"\n * ```\n * @param line The input line, potentially containing %{keys}.\n * @returns The line with all %{keys} translated\n * @public\n */\n public getLocalizedKeys(line: string): string {\n return line.replace(/\\%\\{(.+?)\\}/g, (_match, tag) => this.getLocalizedString(tag));\n }\n\n /** Return the translated value of a key.\n * @param key - the key that matches a property in the JSON localization file.\n * @note The key includes the namespace, which identifies the particular localization file that contains the property,\n * followed by a colon, followed by the property in the JSON file.\n * For example:\n * ``` ts\n * const dataString: string = IModelApp.localization.getLocalizedString(\"iModelJs:BackgroundMap.BingDataAttribution\");\n * ```\n * assigns to dataString the string with property BackgroundMap.BingDataAttribution from the iModelJs.json localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @public\n */\n public getLocalizedString(key: string | string[], options?: TOptionsBase): string {\n if (options?.returnDetails || options?.returnObjects) {\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\n }\n\n const value = this.i18next.t(key, options);\n\n if (typeof value !== \"string\") {\n throw new Error(\"Translation key(s) string not found\");\n }\n\n return value;\n }\n\n /** Gets the English translation.\n * @param namespace - the namespace that identifies the particular localization file that contains the property.\n * @param key - the key that matches a property in the JSON localization file.\n * @returns The string corresponding to the first key that resolves.\n * @throws Error if no keys resolve to a string.\n * @internal\n */\n public getEnglishString(namespace: string, key: string | string[], options?: TOptionsBase): string {\n if (options?.returnDetails || options?.returnObjects) {\n throw new Error(\"Translation key must map to a string, but the given options will result in an object\");\n }\n\n options = {\n ...options,\n ns: namespace, // ensure namespace argument is used\n };\n\n const en = this.i18next.getFixedT(\"en\", namespace);\n const str = en(key, options);\n if (typeof str !== \"string\")\n throw new Error(\"Translation key(s) not found\");\n\n return str;\n }\n\n /** Get the promise for an already registered Namespace.\n * @param name - the name of the namespace\n * @public\n */\n public getNamespacePromise(name: string): Promise<void> | undefined {\n return this._namespaces.get(name);\n }\n\n /** @internal */\n public getLanguageList(): readonly string[] {\n return this.i18next.languages;\n }\n\n /** override the language detected in the browser */\n public async changeLanguage(language: string) {\n return this.i18next.changeLanguage(language) as unknown as Promise<void>;\n }\n\n /** Register a new Namespace and return it. If the namespace is already registered, it will be returned.\n * @param name - the name of the namespace, which is the base name of the JSON file that contains the localization properties.\n * @note - The registerNamespace method starts fetching the appropriate version of the JSON localization file from the server,\n * based on the current locale. To make sure that fetch is complete before performing translations from this namespace, await\n * fulfillment of the readPromise Promise property of the returned LocalizationNamespace.\n * @see [Localization in iTwin.js]($docs/learning/frontend/Localization.md)\n * @public\n */\n public async registerNamespace(name: string): Promise<void> {\n const existing = this._namespaces.get(name);\n if (existing !== undefined)\n return existing;\n\n const theReadPromise = new Promise<void>((resolve) => {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.i18next.loadNamespaces(name, (err) => {\n if (!err)\n return resolve();\n\n // Here we got a non-null err object.\n // This method is called when the system has attempted to load the resources for the namespaces for each possible locale.\n // For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.\n // Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.\n // There might be errs for some other namespaces as well as this one. We resolve the promise unless there's an error for each possible locale.\n let locales = this.getLanguageList().map((thisLocale: any) => `/${thisLocale}/`);\n\n try {\n for (const thisError of err) {\n if (typeof thisError === \"string\")\n locales = locales.filter((thisLocale) => !thisError.includes(thisLocale));\n }\n } catch {\n locales = [];\n }\n // if we removed every locale from the array, it wasn't loaded.\n if (locales.length === 0)\n Logger.logError(\"i18n\", `No resources for namespace ${name} could be loaded`);\n\n resolve();\n });\n });\n this._namespaces.set(name, theReadPromise);\n return theReadPromise;\n }\n\n /** @internal */\n public unregisterNamespace(name: string): void {\n this._namespaces.delete(name);\n }\n}\n\nclass TranslationLogger {\n public static readonly type = \"logger\";\n public log(args: string[]) { Logger.logInfo(\"i18n\", this.createLogMessage(args)); }\n public warn(args: string[]) { Logger.logWarning(\"i18n\", this.createLogMessage(args)); }\n public error(args: string[]) { Logger.logError(\"i18n\", this.createLogMessage(args)); }\n private createLogMessage(args: string[]) {\n let message = args[0];\n for (let i = 1; i < args.length; ++i) {\n if (typeof args[i] === \"string\")\n message += `\\n ${args[i]}`;\n }\n return message;\n }\n}\n"]
|
|
2127
2127
|
},
|
|
2128
2128
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
2129
|
-
hash: "
|
|
2129
|
+
hash: "d940188727f7c3f13464903c9fef76d730c540e6"
|
|
2130
2130
|
};
|
|
2131
2131
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
2132
2132
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -12729,8 +12729,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
12729
12729
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12730
12730
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
12731
12731
|
/* harmony export */ });
|
|
12732
|
-
/* 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.
|
|
12733
|
-
/* 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.
|
|
12732
|
+
/* 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.29.2/node_modules/@babel/runtime/helpers/esm/classCallCheck.js");
|
|
12733
|
+
/* 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.29.2/node_modules/@babel/runtime/helpers/esm/createClass.js");
|
|
12734
12734
|
|
|
12735
12735
|
|
|
12736
12736
|
|
|
@@ -13158,15 +13158,15 @@ Browser.type = 'languageDetector';
|
|
|
13158
13158
|
"use strict";
|
|
13159
13159
|
|
|
13160
13160
|
|
|
13161
|
-
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
13162
|
-
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
13163
|
-
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
13164
|
-
var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
13165
|
-
var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
13166
|
-
var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
13167
|
-
var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
13168
|
-
var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
13169
|
-
var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
13161
|
+
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/typeof.js");
|
|
13162
|
+
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/classCallCheck.js");
|
|
13163
|
+
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/createClass.js");
|
|
13164
|
+
var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
|
|
13165
|
+
var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/inherits.js");
|
|
13166
|
+
var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
|
|
13167
|
+
var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
|
|
13168
|
+
var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/defineProperty.js");
|
|
13169
|
+
var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/toArray.js");
|
|
13170
13170
|
|
|
13171
13171
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13172
13172
|
|
|
@@ -21403,7 +21403,7 @@ class Logger {
|
|
|
21403
21403
|
* @param category The category of the message.
|
|
21404
21404
|
* @param err The exception object.
|
|
21405
21405
|
* @param log The logger output function to use - defaults to Logger.logError
|
|
21406
|
-
* @deprecated in 5.6. Use logError(category, error, metaData) instead, which will log exceptions in the same way but is more flexible and easier to use.
|
|
21406
|
+
* @deprecated in 5.6 - will not be removed until after 2027-03-03. Use logError(category, error, metaData) instead, which will log exceptions in the same way but is more flexible and easier to use.
|
|
21407
21407
|
*/
|
|
21408
21408
|
static logException(category, err, log = (_category, message, metaData) => Logger.logError(_category, message, metaData)) {
|
|
21409
21409
|
log(category, Logger.getExceptionMessage(err), () => {
|
|
@@ -24370,9 +24370,9 @@ function partitionArray(array, criterion) {
|
|
|
24370
24370
|
|
|
24371
24371
|
/***/ }),
|
|
24372
24372
|
|
|
24373
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24373
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
|
|
24374
24374
|
/*!**************************************************************************************************************************!*\
|
|
24375
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24375
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
|
|
24376
24376
|
\**************************************************************************************************************************/
|
|
24377
24377
|
/***/ ((module) => {
|
|
24378
24378
|
|
|
@@ -24385,9 +24385,9 @@ module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exp
|
|
|
24385
24385
|
|
|
24386
24386
|
/***/ }),
|
|
24387
24387
|
|
|
24388
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24388
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
|
|
24389
24389
|
/*!************************************************************************************************************************!*\
|
|
24390
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24390
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
|
|
24391
24391
|
\************************************************************************************************************************/
|
|
24392
24392
|
/***/ ((module) => {
|
|
24393
24393
|
|
|
@@ -24398,9 +24398,9 @@ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.expor
|
|
|
24398
24398
|
|
|
24399
24399
|
/***/ }),
|
|
24400
24400
|
|
|
24401
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24401
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
|
|
24402
24402
|
/*!*******************************************************************************************************************************!*\
|
|
24403
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24403
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
|
|
24404
24404
|
\*******************************************************************************************************************************/
|
|
24405
24405
|
/***/ ((module) => {
|
|
24406
24406
|
|
|
@@ -24412,9 +24412,9 @@ module.exports = _assertThisInitialized, module.exports.__esModule = true, modul
|
|
|
24412
24412
|
|
|
24413
24413
|
/***/ }),
|
|
24414
24414
|
|
|
24415
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24415
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/classCallCheck.js":
|
|
24416
24416
|
/*!************************************************************************************************************************!*\
|
|
24417
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24417
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
|
|
24418
24418
|
\************************************************************************************************************************/
|
|
24419
24419
|
/***/ ((module) => {
|
|
24420
24420
|
|
|
@@ -24425,13 +24425,13 @@ module.exports = _classCallCheck, module.exports.__esModule = true, module.expor
|
|
|
24425
24425
|
|
|
24426
24426
|
/***/ }),
|
|
24427
24427
|
|
|
24428
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24428
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/createClass.js":
|
|
24429
24429
|
/*!*********************************************************************************************************************!*\
|
|
24430
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24430
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/createClass.js ***!
|
|
24431
24431
|
\*********************************************************************************************************************/
|
|
24432
24432
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24433
24433
|
|
|
24434
|
-
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24434
|
+
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/toPropertyKey.js");
|
|
24435
24435
|
function _defineProperties(e, r) {
|
|
24436
24436
|
for (var t = 0; t < r.length; t++) {
|
|
24437
24437
|
var o = r[t];
|
|
@@ -24447,13 +24447,13 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
|
|
|
24447
24447
|
|
|
24448
24448
|
/***/ }),
|
|
24449
24449
|
|
|
24450
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24450
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/defineProperty.js":
|
|
24451
24451
|
/*!************************************************************************************************************************!*\
|
|
24452
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24452
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/defineProperty.js ***!
|
|
24453
24453
|
\************************************************************************************************************************/
|
|
24454
24454
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24455
24455
|
|
|
24456
|
-
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24456
|
+
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/toPropertyKey.js");
|
|
24457
24457
|
function _defineProperty(e, r, t) {
|
|
24458
24458
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
24459
24459
|
value: t,
|
|
@@ -24466,9 +24466,9 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
|
|
|
24466
24466
|
|
|
24467
24467
|
/***/ }),
|
|
24468
24468
|
|
|
24469
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24469
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
|
|
24470
24470
|
/*!************************************************************************************************************************!*\
|
|
24471
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24471
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
|
|
24472
24472
|
\************************************************************************************************************************/
|
|
24473
24473
|
/***/ ((module) => {
|
|
24474
24474
|
|
|
@@ -24481,13 +24481,13 @@ module.exports = _getPrototypeOf, module.exports.__esModule = true, module.expor
|
|
|
24481
24481
|
|
|
24482
24482
|
/***/ }),
|
|
24483
24483
|
|
|
24484
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24484
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/inherits.js":
|
|
24485
24485
|
/*!******************************************************************************************************************!*\
|
|
24486
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24486
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/inherits.js ***!
|
|
24487
24487
|
\******************************************************************************************************************/
|
|
24488
24488
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24489
24489
|
|
|
24490
|
-
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24490
|
+
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
|
|
24491
24491
|
function _inherits(t, e) {
|
|
24492
24492
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
24493
24493
|
t.prototype = Object.create(e && e.prototype, {
|
|
@@ -24504,9 +24504,9 @@ module.exports = _inherits, module.exports.__esModule = true, module.exports["de
|
|
|
24504
24504
|
|
|
24505
24505
|
/***/ }),
|
|
24506
24506
|
|
|
24507
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24507
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/iterableToArray.js":
|
|
24508
24508
|
/*!*************************************************************************************************************************!*\
|
|
24509
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24509
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
|
|
24510
24510
|
\*************************************************************************************************************************/
|
|
24511
24511
|
/***/ ((module) => {
|
|
24512
24512
|
|
|
@@ -24517,9 +24517,9 @@ module.exports = _iterableToArray, module.exports.__esModule = true, module.expo
|
|
|
24517
24517
|
|
|
24518
24518
|
/***/ }),
|
|
24519
24519
|
|
|
24520
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24520
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/nonIterableRest.js":
|
|
24521
24521
|
/*!*************************************************************************************************************************!*\
|
|
24522
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24522
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
|
|
24523
24523
|
\*************************************************************************************************************************/
|
|
24524
24524
|
/***/ ((module) => {
|
|
24525
24525
|
|
|
@@ -24530,14 +24530,14 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
|
|
|
24530
24530
|
|
|
24531
24531
|
/***/ }),
|
|
24532
24532
|
|
|
24533
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24533
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
|
|
24534
24534
|
/*!***********************************************************************************************************************************!*\
|
|
24535
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24535
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
|
|
24536
24536
|
\***********************************************************************************************************************************/
|
|
24537
24537
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24538
24538
|
|
|
24539
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24540
|
-
var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24539
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
24540
|
+
var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
|
|
24541
24541
|
function _possibleConstructorReturn(t, e) {
|
|
24542
24542
|
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
24543
24543
|
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -24547,9 +24547,9 @@ module.exports = _possibleConstructorReturn, module.exports.__esModule = true, m
|
|
|
24547
24547
|
|
|
24548
24548
|
/***/ }),
|
|
24549
24549
|
|
|
24550
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24550
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
|
|
24551
24551
|
/*!************************************************************************************************************************!*\
|
|
24552
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24552
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
|
|
24553
24553
|
\************************************************************************************************************************/
|
|
24554
24554
|
/***/ ((module) => {
|
|
24555
24555
|
|
|
@@ -24562,16 +24562,16 @@ module.exports = _setPrototypeOf, module.exports.__esModule = true, module.expor
|
|
|
24562
24562
|
|
|
24563
24563
|
/***/ }),
|
|
24564
24564
|
|
|
24565
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24565
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/toArray.js":
|
|
24566
24566
|
/*!*****************************************************************************************************************!*\
|
|
24567
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24567
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/toArray.js ***!
|
|
24568
24568
|
\*****************************************************************************************************************/
|
|
24569
24569
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24570
24570
|
|
|
24571
|
-
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24572
|
-
var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24573
|
-
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24574
|
-
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24571
|
+
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
|
|
24572
|
+
var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/iterableToArray.js");
|
|
24573
|
+
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
|
|
24574
|
+
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/nonIterableRest.js");
|
|
24575
24575
|
function _toArray(r) {
|
|
24576
24576
|
return arrayWithHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableRest();
|
|
24577
24577
|
}
|
|
@@ -24579,13 +24579,13 @@ module.exports = _toArray, module.exports.__esModule = true, module.exports["def
|
|
|
24579
24579
|
|
|
24580
24580
|
/***/ }),
|
|
24581
24581
|
|
|
24582
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24582
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/toPrimitive.js":
|
|
24583
24583
|
/*!*********************************************************************************************************************!*\
|
|
24584
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24584
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
|
|
24585
24585
|
\*********************************************************************************************************************/
|
|
24586
24586
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24587
24587
|
|
|
24588
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24588
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
24589
24589
|
function toPrimitive(t, r) {
|
|
24590
24590
|
if ("object" != _typeof(t) || !t) return t;
|
|
24591
24591
|
var e = t[Symbol.toPrimitive];
|
|
@@ -24600,14 +24600,14 @@ module.exports = toPrimitive, module.exports.__esModule = true, module.exports["
|
|
|
24600
24600
|
|
|
24601
24601
|
/***/ }),
|
|
24602
24602
|
|
|
24603
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24603
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/toPropertyKey.js":
|
|
24604
24604
|
/*!***********************************************************************************************************************!*\
|
|
24605
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24605
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
|
|
24606
24606
|
\***********************************************************************************************************************/
|
|
24607
24607
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24608
24608
|
|
|
24609
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24610
|
-
var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24609
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
24610
|
+
var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/toPrimitive.js");
|
|
24611
24611
|
function toPropertyKey(t) {
|
|
24612
24612
|
var i = toPrimitive(t, "string");
|
|
24613
24613
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
@@ -24616,9 +24616,9 @@ module.exports = toPropertyKey, module.exports.__esModule = true, module.exports
|
|
|
24616
24616
|
|
|
24617
24617
|
/***/ }),
|
|
24618
24618
|
|
|
24619
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24619
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/typeof.js":
|
|
24620
24620
|
/*!****************************************************************************************************************!*\
|
|
24621
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24621
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/typeof.js ***!
|
|
24622
24622
|
\****************************************************************************************************************/
|
|
24623
24623
|
/***/ ((module) => {
|
|
24624
24624
|
|
|
@@ -24635,13 +24635,13 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
|
24635
24635
|
|
|
24636
24636
|
/***/ }),
|
|
24637
24637
|
|
|
24638
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24638
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
|
|
24639
24639
|
/*!************************************************************************************************************************************!*\
|
|
24640
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24640
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
|
|
24641
24641
|
\************************************************************************************************************************************/
|
|
24642
24642
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
24643
24643
|
|
|
24644
|
-
var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24644
|
+
var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
|
|
24645
24645
|
function _unsupportedIterableToArray(r, a) {
|
|
24646
24646
|
if (r) {
|
|
24647
24647
|
if ("string" == typeof r) return arrayLikeToArray(r, a);
|
|
@@ -24653,9 +24653,9 @@ module.exports = _unsupportedIterableToArray, module.exports.__esModule = true,
|
|
|
24653
24653
|
|
|
24654
24654
|
/***/ }),
|
|
24655
24655
|
|
|
24656
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24656
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/classCallCheck.js":
|
|
24657
24657
|
/*!****************************************************************************************************************************!*\
|
|
24658
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24658
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
|
|
24659
24659
|
\****************************************************************************************************************************/
|
|
24660
24660
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
24661
24661
|
|
|
@@ -24671,9 +24671,9 @@ function _classCallCheck(a, n) {
|
|
|
24671
24671
|
|
|
24672
24672
|
/***/ }),
|
|
24673
24673
|
|
|
24674
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24674
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/createClass.js":
|
|
24675
24675
|
/*!*************************************************************************************************************************!*\
|
|
24676
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24676
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
|
|
24677
24677
|
\*************************************************************************************************************************/
|
|
24678
24678
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
24679
24679
|
|
|
@@ -24682,7 +24682,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24682
24682
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24683
24683
|
/* harmony export */ "default": () => (/* binding */ _createClass)
|
|
24684
24684
|
/* harmony export */ });
|
|
24685
|
-
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24685
|
+
/* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js");
|
|
24686
24686
|
|
|
24687
24687
|
function _defineProperties(e, r) {
|
|
24688
24688
|
for (var t = 0; t < r.length; t++) {
|
|
@@ -24699,9 +24699,9 @@ function _createClass(e, r, t) {
|
|
|
24699
24699
|
|
|
24700
24700
|
/***/ }),
|
|
24701
24701
|
|
|
24702
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24702
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/toPrimitive.js":
|
|
24703
24703
|
/*!*************************************************************************************************************************!*\
|
|
24704
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24704
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/toPrimitive.js ***!
|
|
24705
24705
|
\*************************************************************************************************************************/
|
|
24706
24706
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
24707
24707
|
|
|
@@ -24710,7 +24710,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24710
24710
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24711
24711
|
/* harmony export */ "default": () => (/* binding */ toPrimitive)
|
|
24712
24712
|
/* harmony export */ });
|
|
24713
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24713
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
24714
24714
|
|
|
24715
24715
|
function toPrimitive(t, r) {
|
|
24716
24716
|
if ("object" != (0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__["default"])(t) || !t) return t;
|
|
@@ -24726,9 +24726,9 @@ function toPrimitive(t, r) {
|
|
|
24726
24726
|
|
|
24727
24727
|
/***/ }),
|
|
24728
24728
|
|
|
24729
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24729
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":
|
|
24730
24730
|
/*!***************************************************************************************************************************!*\
|
|
24731
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24731
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js ***!
|
|
24732
24732
|
\***************************************************************************************************************************/
|
|
24733
24733
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
24734
24734
|
|
|
@@ -24737,8 +24737,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
24737
24737
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
24738
24738
|
/* harmony export */ "default": () => (/* binding */ toPropertyKey)
|
|
24739
24739
|
/* harmony export */ });
|
|
24740
|
-
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24741
|
-
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24740
|
+
/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/typeof.js");
|
|
24741
|
+
/* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/toPrimitive.js");
|
|
24742
24742
|
|
|
24743
24743
|
|
|
24744
24744
|
function toPropertyKey(t) {
|
|
@@ -24749,9 +24749,9 @@ function toPropertyKey(t) {
|
|
|
24749
24749
|
|
|
24750
24750
|
/***/ }),
|
|
24751
24751
|
|
|
24752
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24752
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/typeof.js":
|
|
24753
24753
|
/*!********************************************************************************************************************!*\
|
|
24754
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.
|
|
24754
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/esm/typeof.js ***!
|
|
24755
24755
|
\********************************************************************************************************************/
|
|
24756
24756
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
24757
24757
|
|