@itwin/core-i18n 3.6.0-dev.5 → 3.6.0-dev.50
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 +18 -1
- package/LICENSE.md +1 -1
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js +460 -413
- package/lib/cjs/test/webpack/bundled-tests.instrumented.js.map +1 -1
- package/lib/cjs/test/webpack/bundled-tests.js +316 -269
- package/lib/cjs/test/webpack/bundled-tests.js.map +1 -1
- package/package.json +7 -7
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
/** @packageDocumentation
|
|
18
18
|
* @module Localization
|
|
19
19
|
*/
|
|
20
|
-
function
|
|
21
|
-
var path = "D:\\vsts_a\\
|
|
22
|
-
var hash = "
|
|
20
|
+
function cov_2l9mmpbx71() {
|
|
21
|
+
var path = "D:\\vsts_a\\4\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js";
|
|
22
|
+
var hash = "24e58bea480e0876d4033d5608415d9c06c3e4a5";
|
|
23
23
|
var global = new Function("return this")();
|
|
24
24
|
var gcv = "__coverage__";
|
|
25
25
|
var coverageData = {
|
|
26
|
-
path: "D:\\vsts_a\\
|
|
26
|
+
path: "D:\\vsts_a\\4\\s\\core\\i18n\\lib\\cjs\\ITwinLocalization.js",
|
|
27
27
|
statementMap: {
|
|
28
28
|
"0": {
|
|
29
29
|
start: {
|
|
@@ -3086,13 +3086,13 @@ function cov_12vai742k9() {
|
|
|
3086
3086
|
inputSourceMap: {
|
|
3087
3087
|
version: 3,
|
|
3088
3088
|
file: "ITwinLocalization.js",
|
|
3089
|
-
sources: ["D:\\vsts_a\\
|
|
3089
|
+
sources: ["D:\\vsts_a\\4\\s\\core\\i18n\\src\\ITwinLocalization.ts"],
|
|
3090
3090
|
names: [],
|
|
3091
3091
|
mappings: "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",
|
|
3092
3092
|
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"]
|
|
3093
3093
|
},
|
|
3094
3094
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
3095
|
-
hash: "
|
|
3095
|
+
hash: "24e58bea480e0876d4033d5608415d9c06c3e4a5"
|
|
3096
3096
|
};
|
|
3097
3097
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
3098
3098
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -3101,57 +3101,57 @@ function cov_12vai742k9() {
|
|
|
3101
3101
|
var actualCoverage = coverage[path];
|
|
3102
3102
|
{
|
|
3103
3103
|
// @ts-ignore
|
|
3104
|
-
|
|
3104
|
+
cov_2l9mmpbx71 = function () {
|
|
3105
3105
|
return actualCoverage;
|
|
3106
3106
|
};
|
|
3107
3107
|
}
|
|
3108
3108
|
return actualCoverage;
|
|
3109
3109
|
}
|
|
3110
|
-
|
|
3111
|
-
var __importDefault = (
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
return (
|
|
3110
|
+
cov_2l9mmpbx71();
|
|
3111
|
+
var __importDefault = (cov_2l9mmpbx71().s[0]++, (cov_2l9mmpbx71().b[0][0]++, this) && (cov_2l9mmpbx71().b[0][1]++, this.__importDefault) || (cov_2l9mmpbx71().b[0][2]++, function (mod) {
|
|
3112
|
+
cov_2l9mmpbx71().f[0]++;
|
|
3113
|
+
cov_2l9mmpbx71().s[1]++;
|
|
3114
|
+
return (cov_2l9mmpbx71().b[2][0]++, mod) && (cov_2l9mmpbx71().b[2][1]++, mod.__esModule) ? (cov_2l9mmpbx71().b[1][0]++, mod) : (cov_2l9mmpbx71().b[1][1]++, {
|
|
3115
3115
|
"default": mod
|
|
3116
3116
|
});
|
|
3117
3117
|
}));
|
|
3118
|
-
|
|
3118
|
+
cov_2l9mmpbx71().s[2]++;
|
|
3119
3119
|
Object.defineProperty(exports, "__esModule", ({
|
|
3120
3120
|
value: true
|
|
3121
3121
|
}));
|
|
3122
|
-
|
|
3122
|
+
cov_2l9mmpbx71().s[3]++;
|
|
3123
3123
|
exports.ITwinLocalization = void 0;
|
|
3124
|
-
const i18next_1 = (
|
|
3125
|
-
const i18next_browser_languagedetector_1 = (
|
|
3126
|
-
const i18next_http_backend_1 = (
|
|
3127
|
-
const core_bentley_1 = (
|
|
3128
|
-
const DEFAULT_MAX_RETRIES = (
|
|
3124
|
+
const i18next_1 = (cov_2l9mmpbx71().s[4]++, __importDefault(__webpack_require__(/*! i18next */ "../../common/temp/node_modules/.pnpm/i18next@21.10.0/node_modules/i18next/dist/cjs/i18next.js")));
|
|
3125
|
+
const i18next_browser_languagedetector_1 = (cov_2l9mmpbx71().s[5]++, __importDefault(__webpack_require__(/*! i18next-browser-languagedetector */ "../../common/temp/node_modules/.pnpm/i18next-browser-languagedetector@6.1.8/node_modules/i18next-browser-languagedetector/dist/cjs/i18nextBrowserLanguageDetector.js")));
|
|
3126
|
+
const i18next_http_backend_1 = (cov_2l9mmpbx71().s[6]++, __importDefault(__webpack_require__(/*! i18next-http-backend */ "../../common/temp/node_modules/.pnpm/i18next-http-backend@1.4.5/node_modules/i18next-http-backend/cjs/index.js")));
|
|
3127
|
+
const core_bentley_1 = (cov_2l9mmpbx71().s[7]++, __webpack_require__(/*! @itwin/core-bentley */ "../bentley/lib/esm/core-bentley.js"));
|
|
3128
|
+
const DEFAULT_MAX_RETRIES = (cov_2l9mmpbx71().s[8]++, 1); // a low number prevents wasted time and potential timeouts when requesting localization files throws an error
|
|
3129
3129
|
/** Supplies localizations for iTwin.js
|
|
3130
3130
|
* @note this class uses the [i18next](https://www.i18next.com/) package.
|
|
3131
3131
|
* @public
|
|
3132
3132
|
*/
|
|
3133
3133
|
class ITwinLocalization {
|
|
3134
3134
|
constructor(options) {
|
|
3135
|
-
|
|
3135
|
+
cov_2l9mmpbx71().f[1]++;
|
|
3136
3136
|
var _a, _b, _c;
|
|
3137
|
-
|
|
3137
|
+
cov_2l9mmpbx71().s[9]++;
|
|
3138
3138
|
this._namespaces = new Map();
|
|
3139
|
-
|
|
3139
|
+
cov_2l9mmpbx71().s[10]++;
|
|
3140
3140
|
this.i18next = i18next_1.default.createInstance();
|
|
3141
|
-
|
|
3141
|
+
cov_2l9mmpbx71().s[11]++;
|
|
3142
3142
|
this._backendOptions = {
|
|
3143
|
-
loadPath: (
|
|
3143
|
+
loadPath: (cov_2l9mmpbx71().b[4][0]++, (_a = (cov_2l9mmpbx71().b[6][0]++, options === null) || (cov_2l9mmpbx71().b[6][1]++, options === void 0) ? (cov_2l9mmpbx71().b[5][0]++, void 0) : (cov_2l9mmpbx71().b[5][1]++, options.urlTemplate)) !== null) && (cov_2l9mmpbx71().b[4][1]++, _a !== void 0) ? (cov_2l9mmpbx71().b[3][0]++, _a) : (cov_2l9mmpbx71().b[3][1]++, "locales/{{lng}}/{{ns}}.json"),
|
|
3144
3144
|
crossDomain: true,
|
|
3145
|
-
...((
|
|
3145
|
+
...((cov_2l9mmpbx71().b[8][0]++, options === null) || (cov_2l9mmpbx71().b[8][1]++, options === void 0) ? (cov_2l9mmpbx71().b[7][0]++, void 0) : (cov_2l9mmpbx71().b[7][1]++, options.backendHttpOptions))
|
|
3146
3146
|
};
|
|
3147
|
-
|
|
3147
|
+
cov_2l9mmpbx71().s[12]++;
|
|
3148
3148
|
this._detectionOptions = {
|
|
3149
3149
|
order: ["querystring", "navigator", "htmlTag"],
|
|
3150
3150
|
lookupQuerystring: "lng",
|
|
3151
3151
|
caches: [],
|
|
3152
|
-
...((
|
|
3152
|
+
...((cov_2l9mmpbx71().b[10][0]++, options === null) || (cov_2l9mmpbx71().b[10][1]++, options === void 0) ? (cov_2l9mmpbx71().b[9][0]++, void 0) : (cov_2l9mmpbx71().b[9][1]++, options.detectorOptions))
|
|
3153
3153
|
};
|
|
3154
|
-
|
|
3154
|
+
cov_2l9mmpbx71().s[13]++;
|
|
3155
3155
|
this._initOptions = {
|
|
3156
3156
|
interpolation: {
|
|
3157
3157
|
escapeValue: true
|
|
@@ -3160,43 +3160,43 @@ class ITwinLocalization {
|
|
|
3160
3160
|
maxRetries: DEFAULT_MAX_RETRIES,
|
|
3161
3161
|
backend: this._backendOptions,
|
|
3162
3162
|
detection: this._detectionOptions,
|
|
3163
|
-
...((
|
|
3163
|
+
...((cov_2l9mmpbx71().b[12][0]++, options === null) || (cov_2l9mmpbx71().b[12][1]++, options === void 0) ? (cov_2l9mmpbx71().b[11][0]++, void 0) : (cov_2l9mmpbx71().b[11][1]++, options.initOptions))
|
|
3164
3164
|
};
|
|
3165
|
-
|
|
3166
|
-
this.i18next.use((
|
|
3165
|
+
cov_2l9mmpbx71().s[14]++;
|
|
3166
|
+
this.i18next.use((cov_2l9mmpbx71().b[14][0]++, (_b = (cov_2l9mmpbx71().b[16][0]++, options === null) || (cov_2l9mmpbx71().b[16][1]++, options === void 0) ? (cov_2l9mmpbx71().b[15][0]++, void 0) : (cov_2l9mmpbx71().b[15][1]++, options.detectorPlugin)) !== null) && (cov_2l9mmpbx71().b[14][1]++, _b !== void 0) ? (cov_2l9mmpbx71().b[13][0]++, _b) : (cov_2l9mmpbx71().b[13][1]++, i18next_browser_languagedetector_1.default)).use((cov_2l9mmpbx71().b[18][0]++, (_c = (cov_2l9mmpbx71().b[20][0]++, options === null) || (cov_2l9mmpbx71().b[20][1]++, options === void 0) ? (cov_2l9mmpbx71().b[19][0]++, void 0) : (cov_2l9mmpbx71().b[19][1]++, options.backendPlugin)) !== null) && (cov_2l9mmpbx71().b[18][1]++, _c !== void 0) ? (cov_2l9mmpbx71().b[17][0]++, _c) : (cov_2l9mmpbx71().b[17][1]++, i18next_http_backend_1.default)).use(TranslationLogger);
|
|
3167
3167
|
}
|
|
3168
3168
|
async initialize(namespaces) {
|
|
3169
|
-
|
|
3169
|
+
cov_2l9mmpbx71().f[2]++;
|
|
3170
3170
|
var _a;
|
|
3171
3171
|
// Also consider namespaces passed into constructor
|
|
3172
|
-
const initNamespaces = (
|
|
3173
|
-
const combinedNamespaces = (
|
|
3174
|
-
const defaultNamespace = (
|
|
3175
|
-
|
|
3172
|
+
const initNamespaces = (cov_2l9mmpbx71().s[15]++, [(cov_2l9mmpbx71().b[21][0]++, this._initOptions.ns) || (cov_2l9mmpbx71().b[21][1]++, [])].flat());
|
|
3173
|
+
const combinedNamespaces = (cov_2l9mmpbx71().s[16]++, new Set([...namespaces, ...initNamespaces])); // without duplicates
|
|
3174
|
+
const defaultNamespace = (cov_2l9mmpbx71().s[17]++, (cov_2l9mmpbx71().b[23][0]++, (_a = this._initOptions.defaultNS) !== null) && (cov_2l9mmpbx71().b[23][1]++, _a !== void 0) ? (cov_2l9mmpbx71().b[22][0]++, _a) : (cov_2l9mmpbx71().b[22][1]++, namespaces[0]));
|
|
3175
|
+
cov_2l9mmpbx71().s[18]++;
|
|
3176
3176
|
if (defaultNamespace) {
|
|
3177
|
-
|
|
3178
|
-
|
|
3177
|
+
cov_2l9mmpbx71().b[24][0]++;
|
|
3178
|
+
cov_2l9mmpbx71().s[19]++;
|
|
3179
3179
|
combinedNamespaces.add(defaultNamespace);
|
|
3180
3180
|
} else {
|
|
3181
|
-
|
|
3181
|
+
cov_2l9mmpbx71().b[24][1]++;
|
|
3182
3182
|
} // Make sure default namespace is in namespaces list
|
|
3183
|
-
const initOptions = (
|
|
3183
|
+
const initOptions = (cov_2l9mmpbx71().s[20]++, {
|
|
3184
3184
|
...this._initOptions,
|
|
3185
3185
|
defaultNS: defaultNamespace,
|
|
3186
3186
|
ns: [...combinedNamespaces]
|
|
3187
3187
|
});
|
|
3188
3188
|
// if in a development environment, set debugging
|
|
3189
|
-
|
|
3189
|
+
cov_2l9mmpbx71().s[21]++;
|
|
3190
3190
|
if (false) {} else {
|
|
3191
|
-
|
|
3191
|
+
cov_2l9mmpbx71().b[25][1]++;
|
|
3192
3192
|
}
|
|
3193
|
-
const initPromise = (
|
|
3194
|
-
|
|
3193
|
+
const initPromise = (cov_2l9mmpbx71().s[23]++, this.i18next.init(initOptions));
|
|
3194
|
+
cov_2l9mmpbx71().s[24]++;
|
|
3195
3195
|
for (const ns of namespaces) {
|
|
3196
|
-
|
|
3196
|
+
cov_2l9mmpbx71().s[25]++;
|
|
3197
3197
|
this._namespaces.set(ns, initPromise);
|
|
3198
3198
|
}
|
|
3199
|
-
|
|
3199
|
+
cov_2l9mmpbx71().s[26]++;
|
|
3200
3200
|
return initPromise;
|
|
3201
3201
|
}
|
|
3202
3202
|
/** Replace all instances of `%{key}` within a string with the translations of those keys.
|
|
@@ -3216,11 +3216,11 @@ class ITwinLocalization {
|
|
|
3216
3216
|
* @public
|
|
3217
3217
|
*/
|
|
3218
3218
|
getLocalizedKeys(line) {
|
|
3219
|
-
|
|
3220
|
-
|
|
3219
|
+
cov_2l9mmpbx71().f[3]++;
|
|
3220
|
+
cov_2l9mmpbx71().s[27]++;
|
|
3221
3221
|
return line.replace(/\%\{(.+?)\}/g, (_match, tag) => {
|
|
3222
|
-
|
|
3223
|
-
|
|
3222
|
+
cov_2l9mmpbx71().f[4]++;
|
|
3223
|
+
cov_2l9mmpbx71().s[28]++;
|
|
3224
3224
|
return this.getLocalizedString(tag);
|
|
3225
3225
|
});
|
|
3226
3226
|
}
|
|
@@ -3238,25 +3238,25 @@ class ITwinLocalization {
|
|
|
3238
3238
|
* @public
|
|
3239
3239
|
*/
|
|
3240
3240
|
getLocalizedString(key, options) {
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
if ((
|
|
3244
|
-
|
|
3245
|
-
|
|
3241
|
+
cov_2l9mmpbx71().f[5]++;
|
|
3242
|
+
cov_2l9mmpbx71().s[29]++;
|
|
3243
|
+
if ((cov_2l9mmpbx71().b[27][0]++, (cov_2l9mmpbx71().b[29][0]++, options === null) || (cov_2l9mmpbx71().b[29][1]++, options === void 0) ? (cov_2l9mmpbx71().b[28][0]++, void 0) : (cov_2l9mmpbx71().b[28][1]++, options.returnDetails)) || (cov_2l9mmpbx71().b[27][1]++, (cov_2l9mmpbx71().b[31][0]++, options === null) || (cov_2l9mmpbx71().b[31][1]++, options === void 0) ? (cov_2l9mmpbx71().b[30][0]++, void 0) : (cov_2l9mmpbx71().b[30][1]++, options.returnObjects))) {
|
|
3244
|
+
cov_2l9mmpbx71().b[26][0]++;
|
|
3245
|
+
cov_2l9mmpbx71().s[30]++;
|
|
3246
3246
|
throw new Error("Translation key must map to a string, but the given options will result in an object");
|
|
3247
3247
|
} else {
|
|
3248
|
-
|
|
3248
|
+
cov_2l9mmpbx71().b[26][1]++;
|
|
3249
3249
|
}
|
|
3250
|
-
const value = (
|
|
3251
|
-
|
|
3250
|
+
const value = (cov_2l9mmpbx71().s[31]++, this.i18next.t(key, options));
|
|
3251
|
+
cov_2l9mmpbx71().s[32]++;
|
|
3252
3252
|
if (typeof value !== "string") {
|
|
3253
|
-
|
|
3254
|
-
|
|
3253
|
+
cov_2l9mmpbx71().b[32][0]++;
|
|
3254
|
+
cov_2l9mmpbx71().s[33]++;
|
|
3255
3255
|
throw new Error("Translation key(s) string not found");
|
|
3256
3256
|
} else {
|
|
3257
|
-
|
|
3257
|
+
cov_2l9mmpbx71().b[32][1]++;
|
|
3258
3258
|
}
|
|
3259
|
-
|
|
3259
|
+
cov_2l9mmpbx71().s[34]++;
|
|
3260
3260
|
return value;
|
|
3261
3261
|
}
|
|
3262
3262
|
/** Similar to `getLocalizedString` but the default namespace is a separate parameter and the key does not need
|
|
@@ -3268,23 +3268,23 @@ class ITwinLocalization {
|
|
|
3268
3268
|
* @internal
|
|
3269
3269
|
*/
|
|
3270
3270
|
getLocalizedStringWithNamespace(namespace, key, options) {
|
|
3271
|
-
|
|
3272
|
-
let fullKey = (
|
|
3273
|
-
|
|
3271
|
+
cov_2l9mmpbx71().f[6]++;
|
|
3272
|
+
let fullKey = (cov_2l9mmpbx71().s[35]++, "");
|
|
3273
|
+
cov_2l9mmpbx71().s[36]++;
|
|
3274
3274
|
if (typeof key === "string") {
|
|
3275
|
-
|
|
3276
|
-
|
|
3275
|
+
cov_2l9mmpbx71().b[33][0]++;
|
|
3276
|
+
cov_2l9mmpbx71().s[37]++;
|
|
3277
3277
|
fullKey = `${namespace}:${key}`;
|
|
3278
3278
|
} else {
|
|
3279
|
-
|
|
3280
|
-
|
|
3279
|
+
cov_2l9mmpbx71().b[33][1]++;
|
|
3280
|
+
cov_2l9mmpbx71().s[38]++;
|
|
3281
3281
|
fullKey = key.map(subKey => {
|
|
3282
|
-
|
|
3283
|
-
|
|
3282
|
+
cov_2l9mmpbx71().f[7]++;
|
|
3283
|
+
cov_2l9mmpbx71().s[39]++;
|
|
3284
3284
|
return `${namespace}:${subKey}`;
|
|
3285
3285
|
});
|
|
3286
3286
|
}
|
|
3287
|
-
|
|
3287
|
+
cov_2l9mmpbx71().s[40]++;
|
|
3288
3288
|
return this.getLocalizedString(fullKey, options);
|
|
3289
3289
|
}
|
|
3290
3290
|
/** Gets the English translation.
|
|
@@ -3295,32 +3295,32 @@ class ITwinLocalization {
|
|
|
3295
3295
|
* @internal
|
|
3296
3296
|
*/
|
|
3297
3297
|
getEnglishString(namespace, key, options) {
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
if ((
|
|
3301
|
-
|
|
3302
|
-
|
|
3298
|
+
cov_2l9mmpbx71().f[8]++;
|
|
3299
|
+
cov_2l9mmpbx71().s[41]++;
|
|
3300
|
+
if ((cov_2l9mmpbx71().b[35][0]++, (cov_2l9mmpbx71().b[37][0]++, options === null) || (cov_2l9mmpbx71().b[37][1]++, options === void 0) ? (cov_2l9mmpbx71().b[36][0]++, void 0) : (cov_2l9mmpbx71().b[36][1]++, options.returnDetails)) || (cov_2l9mmpbx71().b[35][1]++, (cov_2l9mmpbx71().b[39][0]++, options === null) || (cov_2l9mmpbx71().b[39][1]++, options === void 0) ? (cov_2l9mmpbx71().b[38][0]++, void 0) : (cov_2l9mmpbx71().b[38][1]++, options.returnObjects))) {
|
|
3301
|
+
cov_2l9mmpbx71().b[34][0]++;
|
|
3302
|
+
cov_2l9mmpbx71().s[42]++;
|
|
3303
3303
|
throw new Error("Translation key must map to a string, but the given options will result in an object");
|
|
3304
3304
|
} else {
|
|
3305
|
-
|
|
3305
|
+
cov_2l9mmpbx71().b[34][1]++;
|
|
3306
3306
|
}
|
|
3307
|
-
|
|
3307
|
+
cov_2l9mmpbx71().s[43]++;
|
|
3308
3308
|
options = {
|
|
3309
3309
|
...options,
|
|
3310
3310
|
ns: namespace // ensure namespace argument is used
|
|
3311
3311
|
};
|
|
3312
3312
|
|
|
3313
|
-
const en = (
|
|
3314
|
-
const str = (
|
|
3315
|
-
|
|
3313
|
+
const en = (cov_2l9mmpbx71().s[44]++, this.i18next.getFixedT("en", namespace));
|
|
3314
|
+
const str = (cov_2l9mmpbx71().s[45]++, en(key, options));
|
|
3315
|
+
cov_2l9mmpbx71().s[46]++;
|
|
3316
3316
|
if (typeof str !== "string") {
|
|
3317
|
-
|
|
3318
|
-
|
|
3317
|
+
cov_2l9mmpbx71().b[40][0]++;
|
|
3318
|
+
cov_2l9mmpbx71().s[47]++;
|
|
3319
3319
|
throw new Error("Translation key(s) not found");
|
|
3320
3320
|
} else {
|
|
3321
|
-
|
|
3321
|
+
cov_2l9mmpbx71().b[40][1]++;
|
|
3322
3322
|
}
|
|
3323
|
-
|
|
3323
|
+
cov_2l9mmpbx71().s[48]++;
|
|
3324
3324
|
return str;
|
|
3325
3325
|
}
|
|
3326
3326
|
/** Get the promise for an already registered Namespace.
|
|
@@ -3328,20 +3328,20 @@ class ITwinLocalization {
|
|
|
3328
3328
|
* @public
|
|
3329
3329
|
*/
|
|
3330
3330
|
getNamespacePromise(name) {
|
|
3331
|
-
|
|
3332
|
-
|
|
3331
|
+
cov_2l9mmpbx71().f[9]++;
|
|
3332
|
+
cov_2l9mmpbx71().s[49]++;
|
|
3333
3333
|
return this._namespaces.get(name);
|
|
3334
3334
|
}
|
|
3335
3335
|
/** @internal */
|
|
3336
3336
|
getLanguageList() {
|
|
3337
|
-
|
|
3338
|
-
|
|
3337
|
+
cov_2l9mmpbx71().f[10]++;
|
|
3338
|
+
cov_2l9mmpbx71().s[50]++;
|
|
3339
3339
|
return this.i18next.languages;
|
|
3340
3340
|
}
|
|
3341
3341
|
/** override the language detected in the browser */
|
|
3342
3342
|
async changeLanguage(language) {
|
|
3343
|
-
|
|
3344
|
-
|
|
3343
|
+
cov_2l9mmpbx71().f[11]++;
|
|
3344
|
+
cov_2l9mmpbx71().s[51]++;
|
|
3345
3345
|
return this.i18next.changeLanguage(language);
|
|
3346
3346
|
}
|
|
3347
3347
|
/** Register a new Namespace and return it. If the namespace is already registered, it will be returned.
|
|
@@ -3353,123 +3353,123 @@ class ITwinLocalization {
|
|
|
3353
3353
|
* @public
|
|
3354
3354
|
*/
|
|
3355
3355
|
async registerNamespace(name) {
|
|
3356
|
-
|
|
3357
|
-
const existing = (
|
|
3358
|
-
|
|
3356
|
+
cov_2l9mmpbx71().f[12]++;
|
|
3357
|
+
const existing = (cov_2l9mmpbx71().s[52]++, this._namespaces.get(name));
|
|
3358
|
+
cov_2l9mmpbx71().s[53]++;
|
|
3359
3359
|
if (existing !== undefined) {
|
|
3360
|
-
|
|
3361
|
-
|
|
3360
|
+
cov_2l9mmpbx71().b[41][0]++;
|
|
3361
|
+
cov_2l9mmpbx71().s[54]++;
|
|
3362
3362
|
return existing;
|
|
3363
3363
|
} else {
|
|
3364
|
-
|
|
3364
|
+
cov_2l9mmpbx71().b[41][1]++;
|
|
3365
3365
|
}
|
|
3366
|
-
const theReadPromise = (
|
|
3367
|
-
|
|
3368
|
-
|
|
3366
|
+
const theReadPromise = (cov_2l9mmpbx71().s[55]++, new Promise(resolve => {
|
|
3367
|
+
cov_2l9mmpbx71().f[13]++;
|
|
3368
|
+
cov_2l9mmpbx71().s[56]++;
|
|
3369
3369
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
3370
3370
|
this.i18next.loadNamespaces(name, err => {
|
|
3371
|
-
|
|
3372
|
-
|
|
3371
|
+
cov_2l9mmpbx71().f[14]++;
|
|
3372
|
+
cov_2l9mmpbx71().s[57]++;
|
|
3373
3373
|
if (!err) {
|
|
3374
|
-
|
|
3375
|
-
|
|
3374
|
+
cov_2l9mmpbx71().b[42][0]++;
|
|
3375
|
+
cov_2l9mmpbx71().s[58]++;
|
|
3376
3376
|
return resolve();
|
|
3377
3377
|
} else {
|
|
3378
|
-
|
|
3378
|
+
cov_2l9mmpbx71().b[42][1]++;
|
|
3379
3379
|
}
|
|
3380
3380
|
// Here we got a non-null err object.
|
|
3381
3381
|
// This method is called when the system has attempted to load the resources for the namespaces for each possible locale.
|
|
3382
3382
|
// For example 'fr-ca' might be the most specific locale, in which case 'fr' and 'en' are fallback locales.
|
|
3383
3383
|
// Using Backend from i18next-http-backend, err will be an array of strings of each namespace it tried to read and its locale.
|
|
3384
3384
|
// 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.
|
|
3385
|
-
let locales = (
|
|
3386
|
-
|
|
3387
|
-
|
|
3385
|
+
let locales = (cov_2l9mmpbx71().s[59]++, this.getLanguageList().map(thisLocale => {
|
|
3386
|
+
cov_2l9mmpbx71().f[15]++;
|
|
3387
|
+
cov_2l9mmpbx71().s[60]++;
|
|
3388
3388
|
return `/${thisLocale}/`;
|
|
3389
3389
|
}));
|
|
3390
|
-
|
|
3390
|
+
cov_2l9mmpbx71().s[61]++;
|
|
3391
3391
|
try {
|
|
3392
|
-
|
|
3392
|
+
cov_2l9mmpbx71().s[62]++;
|
|
3393
3393
|
for (const thisError of err) {
|
|
3394
|
-
|
|
3394
|
+
cov_2l9mmpbx71().s[63]++;
|
|
3395
3395
|
if (typeof thisError === "string") {
|
|
3396
|
-
|
|
3397
|
-
|
|
3396
|
+
cov_2l9mmpbx71().b[43][0]++;
|
|
3397
|
+
cov_2l9mmpbx71().s[64]++;
|
|
3398
3398
|
locales = locales.filter(thisLocale => {
|
|
3399
|
-
|
|
3400
|
-
|
|
3399
|
+
cov_2l9mmpbx71().f[16]++;
|
|
3400
|
+
cov_2l9mmpbx71().s[65]++;
|
|
3401
3401
|
return !thisError.includes(thisLocale);
|
|
3402
3402
|
});
|
|
3403
3403
|
} else {
|
|
3404
|
-
|
|
3404
|
+
cov_2l9mmpbx71().b[43][1]++;
|
|
3405
3405
|
}
|
|
3406
3406
|
}
|
|
3407
3407
|
} catch (e) {
|
|
3408
|
-
|
|
3408
|
+
cov_2l9mmpbx71().s[66]++;
|
|
3409
3409
|
locales = [];
|
|
3410
3410
|
}
|
|
3411
3411
|
// if we removed every locale from the array, it wasn't loaded.
|
|
3412
|
-
|
|
3412
|
+
cov_2l9mmpbx71().s[67]++;
|
|
3413
3413
|
if (locales.length === 0) {
|
|
3414
|
-
|
|
3415
|
-
|
|
3414
|
+
cov_2l9mmpbx71().b[44][0]++;
|
|
3415
|
+
cov_2l9mmpbx71().s[68]++;
|
|
3416
3416
|
core_bentley_1.Logger.logError("i18n", `No resources for namespace ${name} could be loaded`);
|
|
3417
3417
|
} else {
|
|
3418
|
-
|
|
3418
|
+
cov_2l9mmpbx71().b[44][1]++;
|
|
3419
3419
|
}
|
|
3420
|
-
|
|
3420
|
+
cov_2l9mmpbx71().s[69]++;
|
|
3421
3421
|
resolve();
|
|
3422
3422
|
});
|
|
3423
3423
|
}));
|
|
3424
|
-
|
|
3424
|
+
cov_2l9mmpbx71().s[70]++;
|
|
3425
3425
|
this._namespaces.set(name, theReadPromise);
|
|
3426
|
-
|
|
3426
|
+
cov_2l9mmpbx71().s[71]++;
|
|
3427
3427
|
return theReadPromise;
|
|
3428
3428
|
}
|
|
3429
3429
|
/** @internal */
|
|
3430
3430
|
unregisterNamespace(name) {
|
|
3431
|
-
|
|
3432
|
-
|
|
3431
|
+
cov_2l9mmpbx71().f[17]++;
|
|
3432
|
+
cov_2l9mmpbx71().s[72]++;
|
|
3433
3433
|
this._namespaces.delete(name);
|
|
3434
3434
|
}
|
|
3435
3435
|
}
|
|
3436
|
-
|
|
3436
|
+
cov_2l9mmpbx71().s[73]++;
|
|
3437
3437
|
exports.ITwinLocalization = ITwinLocalization;
|
|
3438
3438
|
class TranslationLogger {
|
|
3439
3439
|
log(args) {
|
|
3440
|
-
|
|
3441
|
-
|
|
3440
|
+
cov_2l9mmpbx71().f[18]++;
|
|
3441
|
+
cov_2l9mmpbx71().s[74]++;
|
|
3442
3442
|
core_bentley_1.Logger.logInfo("i18n", this.createLogMessage(args));
|
|
3443
3443
|
}
|
|
3444
3444
|
warn(args) {
|
|
3445
|
-
|
|
3446
|
-
|
|
3445
|
+
cov_2l9mmpbx71().f[19]++;
|
|
3446
|
+
cov_2l9mmpbx71().s[75]++;
|
|
3447
3447
|
core_bentley_1.Logger.logWarning("i18n", this.createLogMessage(args));
|
|
3448
3448
|
}
|
|
3449
3449
|
error(args) {
|
|
3450
|
-
|
|
3451
|
-
|
|
3450
|
+
cov_2l9mmpbx71().f[20]++;
|
|
3451
|
+
cov_2l9mmpbx71().s[76]++;
|
|
3452
3452
|
core_bentley_1.Logger.logError("i18n", this.createLogMessage(args));
|
|
3453
3453
|
}
|
|
3454
3454
|
createLogMessage(args) {
|
|
3455
|
-
|
|
3456
|
-
let message = (
|
|
3457
|
-
|
|
3458
|
-
for (let i = (
|
|
3459
|
-
|
|
3455
|
+
cov_2l9mmpbx71().f[21]++;
|
|
3456
|
+
let message = (cov_2l9mmpbx71().s[77]++, args[0]);
|
|
3457
|
+
cov_2l9mmpbx71().s[78]++;
|
|
3458
|
+
for (let i = (cov_2l9mmpbx71().s[79]++, 1); i < args.length; ++i) {
|
|
3459
|
+
cov_2l9mmpbx71().s[80]++;
|
|
3460
3460
|
if (typeof args[i] === "string") {
|
|
3461
|
-
|
|
3462
|
-
|
|
3461
|
+
cov_2l9mmpbx71().b[45][0]++;
|
|
3462
|
+
cov_2l9mmpbx71().s[81]++;
|
|
3463
3463
|
message += `\n ${args[i]}`;
|
|
3464
3464
|
} else {
|
|
3465
|
-
|
|
3465
|
+
cov_2l9mmpbx71().b[45][1]++;
|
|
3466
3466
|
}
|
|
3467
3467
|
}
|
|
3468
|
-
|
|
3468
|
+
cov_2l9mmpbx71().s[82]++;
|
|
3469
3469
|
return message;
|
|
3470
3470
|
}
|
|
3471
3471
|
}
|
|
3472
|
-
|
|
3472
|
+
cov_2l9mmpbx71().s[83]++;
|
|
3473
3473
|
TranslationLogger.type = "logger";
|
|
3474
3474
|
|
|
3475
3475
|
/***/ }),
|
|
@@ -12163,7 +12163,7 @@ exports.transferFlags = __webpack_require__(/*! ./transferFlags */ "../../common
|
|
|
12163
12163
|
* Deep equal utility
|
|
12164
12164
|
*/
|
|
12165
12165
|
|
|
12166
|
-
exports.eql = __webpack_require__(/*! deep-eql */ "../../common/temp/node_modules/.pnpm/deep-eql@4.1.
|
|
12166
|
+
exports.eql = __webpack_require__(/*! deep-eql */ "../../common/temp/node_modules/.pnpm/deep-eql@4.1.3/node_modules/deep-eql/index.js");
|
|
12167
12167
|
|
|
12168
12168
|
/*!
|
|
12169
12169
|
* Deep path info
|
|
@@ -13728,9 +13728,9 @@ module.exports = exports
|
|
|
13728
13728
|
|
|
13729
13729
|
/***/ }),
|
|
13730
13730
|
|
|
13731
|
-
/***/ "../../common/temp/node_modules/.pnpm/deep-eql@4.1.
|
|
13731
|
+
/***/ "../../common/temp/node_modules/.pnpm/deep-eql@4.1.3/node_modules/deep-eql/index.js":
|
|
13732
13732
|
/*!******************************************************************************************!*\
|
|
13733
|
-
!*** ../../common/temp/node_modules/.pnpm/deep-eql@4.1.
|
|
13733
|
+
!*** ../../common/temp/node_modules/.pnpm/deep-eql@4.1.3/node_modules/deep-eql/index.js ***!
|
|
13734
13734
|
\******************************************************************************************/
|
|
13735
13735
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
13736
13736
|
|
|
@@ -14129,8 +14129,15 @@ function getEnumerableKeys(target) {
|
|
|
14129
14129
|
return keys;
|
|
14130
14130
|
}
|
|
14131
14131
|
|
|
14132
|
-
function
|
|
14133
|
-
var keys =
|
|
14132
|
+
function getEnumerableSymbols(target) {
|
|
14133
|
+
var keys = [];
|
|
14134
|
+
var allKeys = Object.getOwnPropertySymbols(target);
|
|
14135
|
+
for (var i = 0; i < allKeys.length; i += 1) {
|
|
14136
|
+
var key = allKeys[i];
|
|
14137
|
+
if (Object.getOwnPropertyDescriptor(target, key).enumerable) {
|
|
14138
|
+
keys.push(key);
|
|
14139
|
+
}
|
|
14140
|
+
}
|
|
14134
14141
|
return keys;
|
|
14135
14142
|
}
|
|
14136
14143
|
|
|
@@ -14169,8 +14176,8 @@ function keysEqual(leftHandOperand, rightHandOperand, keys, options) {
|
|
|
14169
14176
|
function objectEqual(leftHandOperand, rightHandOperand, options) {
|
|
14170
14177
|
var leftHandKeys = getEnumerableKeys(leftHandOperand);
|
|
14171
14178
|
var rightHandKeys = getEnumerableKeys(rightHandOperand);
|
|
14172
|
-
var leftHandSymbols =
|
|
14173
|
-
var rightHandSymbols =
|
|
14179
|
+
var leftHandSymbols = getEnumerableSymbols(leftHandOperand);
|
|
14180
|
+
var rightHandSymbols = getEnumerableSymbols(rightHandOperand);
|
|
14174
14181
|
leftHandKeys = leftHandKeys.concat(leftHandSymbols);
|
|
14175
14182
|
rightHandKeys = rightHandKeys.concat(rightHandSymbols);
|
|
14176
14183
|
|
|
@@ -14289,8 +14296,8 @@ module.exports = getFuncName;
|
|
|
14289
14296
|
"use strict";
|
|
14290
14297
|
|
|
14291
14298
|
|
|
14292
|
-
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
14293
|
-
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
14299
|
+
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/classCallCheck.js");
|
|
14300
|
+
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/createClass.js");
|
|
14294
14301
|
|
|
14295
14302
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14296
14303
|
|
|
@@ -14722,15 +14729,15 @@ module.exports = Browser;
|
|
|
14722
14729
|
"use strict";
|
|
14723
14730
|
|
|
14724
14731
|
|
|
14725
|
-
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
14726
|
-
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
14727
|
-
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
14728
|
-
var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
14729
|
-
var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
14730
|
-
var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
14731
|
-
var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
14732
|
-
var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
14733
|
-
var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
14732
|
+
var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/typeof.js");
|
|
14733
|
+
var _classCallCheck = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/classCallCheck.js");
|
|
14734
|
+
var _createClass = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/createClass.js");
|
|
14735
|
+
var _assertThisInitialized = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
|
|
14736
|
+
var _inherits = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/inherits.js");
|
|
14737
|
+
var _possibleConstructorReturn = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js");
|
|
14738
|
+
var _getPrototypeOf = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/getPrototypeOf.js");
|
|
14739
|
+
var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/defineProperty.js");
|
|
14740
|
+
var _toArray = __webpack_require__(/*! @babel/runtime/helpers/toArray */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/toArray.js");
|
|
14734
14741
|
|
|
14735
14742
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14736
14743
|
|
|
@@ -19255,60 +19262,6 @@ function assert(condition, message) {
|
|
|
19255
19262
|
}
|
|
19256
19263
|
|
|
19257
19264
|
|
|
19258
|
-
/***/ }),
|
|
19259
|
-
|
|
19260
|
-
/***/ "../bentley/lib/esm/AsyncMutex.js":
|
|
19261
|
-
/*!****************************************!*\
|
|
19262
|
-
!*** ../bentley/lib/esm/AsyncMutex.js ***!
|
|
19263
|
-
\****************************************/
|
|
19264
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
19265
|
-
|
|
19266
|
-
"use strict";
|
|
19267
|
-
__webpack_require__.r(__webpack_exports__);
|
|
19268
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19269
|
-
/* harmony export */ "AsyncMutex": () => (/* binding */ AsyncMutex)
|
|
19270
|
-
/* harmony export */ });
|
|
19271
|
-
/*---------------------------------------------------------------------------------------------
|
|
19272
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
19273
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
19274
|
-
*--------------------------------------------------------------------------------------------*/
|
|
19275
|
-
/** @packageDocumentation
|
|
19276
|
-
* @module Utils
|
|
19277
|
-
*/
|
|
19278
|
-
/**
|
|
19279
|
-
* Utility to ensure a block of async code executes atomically.
|
|
19280
|
-
* Even if JavaScript precludes the possibility of race conditions between threads, there is potential for
|
|
19281
|
-
* race conditions with async code. This utility is needed in cases where a block of async code needs to run
|
|
19282
|
-
* to completion before another block is started.
|
|
19283
|
-
* This utility was based on this article: https://spin.atomicobject.com/2018/09/10/javascript-concurrency/
|
|
19284
|
-
* @alpha
|
|
19285
|
-
*/
|
|
19286
|
-
class AsyncMutex {
|
|
19287
|
-
constructor() {
|
|
19288
|
-
this._mutex = Promise.resolve();
|
|
19289
|
-
}
|
|
19290
|
-
/**
|
|
19291
|
-
* Await the return value to setup a lock. The return value
|
|
19292
|
-
* is also the unlock function that can be called to unlock
|
|
19293
|
-
* the mutex.
|
|
19294
|
-
*/
|
|
19295
|
-
async lock() {
|
|
19296
|
-
/**
|
|
19297
|
-
* Note: The promise returned by this method will resolve (with the unlock function, which is actually the
|
|
19298
|
-
* mutex’s then’s resolve function) once any previous mutexes have finished and called their
|
|
19299
|
-
* respective unlock function that was yielded over their promise.
|
|
19300
|
-
*/
|
|
19301
|
-
let begin = (_unlock) => { };
|
|
19302
|
-
this._mutex = this._mutex.then(async () => {
|
|
19303
|
-
return new Promise(begin);
|
|
19304
|
-
});
|
|
19305
|
-
return new Promise((res) => {
|
|
19306
|
-
begin = res;
|
|
19307
|
-
});
|
|
19308
|
-
}
|
|
19309
|
-
}
|
|
19310
|
-
|
|
19311
|
-
|
|
19312
19265
|
/***/ }),
|
|
19313
19266
|
|
|
19314
19267
|
/***/ "../bentley/lib/esm/BeEvent.js":
|
|
@@ -19796,8 +19749,8 @@ var IModelStatus;
|
|
|
19796
19749
|
IModelStatus[IModelStatus["FunctionNotFound"] = 65606] = "FunctionNotFound";
|
|
19797
19750
|
IModelStatus[IModelStatus["NoActiveCommand"] = 65607] = "NoActiveCommand";
|
|
19798
19751
|
})(IModelStatus || (IModelStatus = {}));
|
|
19799
|
-
/** Error
|
|
19800
|
-
* @
|
|
19752
|
+
/** Error statuses produced by various briefcase operations, typically encountered as the `errorNumber` of an [IModelError]($common).
|
|
19753
|
+
* @public
|
|
19801
19754
|
*/
|
|
19802
19755
|
var BriefcaseStatus;
|
|
19803
19756
|
(function (BriefcaseStatus) {
|
|
@@ -19813,7 +19766,7 @@ var BriefcaseStatus;
|
|
|
19813
19766
|
BriefcaseStatus[BriefcaseStatus["ContainsDeletedChangeSets"] = 131080] = "ContainsDeletedChangeSets";
|
|
19814
19767
|
})(BriefcaseStatus || (BriefcaseStatus = {}));
|
|
19815
19768
|
/** RpcInterface status codes
|
|
19816
|
-
* @beta
|
|
19769
|
+
* @beta
|
|
19817
19770
|
*/
|
|
19818
19771
|
var RpcInterfaceStatus;
|
|
19819
19772
|
(function (RpcInterfaceStatus) {
|
|
@@ -19822,8 +19775,8 @@ var RpcInterfaceStatus;
|
|
|
19822
19775
|
/** The RpcInterface implemented by the server is incompatible with the interface requested by the client. */
|
|
19823
19776
|
RpcInterfaceStatus[RpcInterfaceStatus["IncompatibleVersion"] = 135168] = "IncompatibleVersion";
|
|
19824
19777
|
})(RpcInterfaceStatus || (RpcInterfaceStatus = {}));
|
|
19825
|
-
/** Error
|
|
19826
|
-
* @
|
|
19778
|
+
/** Error statuses produced by various Changeset operations, typically encountered as the `errorNumber` of an [IModelError]($common).
|
|
19779
|
+
* @public
|
|
19827
19780
|
*/
|
|
19828
19781
|
var ChangeSetStatus;
|
|
19829
19782
|
(function (ChangeSetStatus) {
|
|
@@ -19883,7 +19836,7 @@ var ChangeSetStatus;
|
|
|
19883
19836
|
ChangeSetStatus[ChangeSetStatus["DownloadCancelled"] = 90138] = "DownloadCancelled";
|
|
19884
19837
|
})(ChangeSetStatus || (ChangeSetStatus = {}));
|
|
19885
19838
|
/** Return codes for methods which perform repository management operations
|
|
19886
|
-
* @
|
|
19839
|
+
* @internal
|
|
19887
19840
|
*/
|
|
19888
19841
|
var RepositoryStatus;
|
|
19889
19842
|
(function (RepositoryStatus) {
|
|
@@ -19920,7 +19873,7 @@ var RepositoryStatus;
|
|
|
19920
19873
|
RepositoryStatus[RepositoryStatus["ChannelConstraintViolation"] = 86031] = "ChannelConstraintViolation";
|
|
19921
19874
|
})(RepositoryStatus || (RepositoryStatus = {}));
|
|
19922
19875
|
/** Status from returned HTTP status code
|
|
19923
|
-
* @beta
|
|
19876
|
+
* @beta
|
|
19924
19877
|
*/
|
|
19925
19878
|
var HttpStatus;
|
|
19926
19879
|
(function (HttpStatus) {
|
|
@@ -19935,8 +19888,8 @@ var HttpStatus;
|
|
|
19935
19888
|
/** 5xx Server errors */
|
|
19936
19889
|
HttpStatus[HttpStatus["ServerError"] = 94212] = "ServerError";
|
|
19937
19890
|
})(HttpStatus || (HttpStatus = {}));
|
|
19938
|
-
/** iModelHub
|
|
19939
|
-
* @
|
|
19891
|
+
/** Statuses produced by APIs that interact with iModelHub, typically encountered as the `errorNumber` of an [IModelError]($common).
|
|
19892
|
+
* @public
|
|
19940
19893
|
*/
|
|
19941
19894
|
var IModelHubStatus;
|
|
19942
19895
|
(function (IModelHubStatus) {
|
|
@@ -20456,7 +20409,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20456
20409
|
/** Allows the contents of an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer)
|
|
20457
20410
|
* to be consumed sequentially using methods to extract
|
|
20458
20411
|
* data of a particular type from the bytes beginning at the current read position.
|
|
20459
|
-
* Methods and properties beginning with '
|
|
20412
|
+
* Methods and properties beginning with 'read' and taking no arguments consume data at the current read position and advance it
|
|
20460
20413
|
* by the size of the data read. The read position can also be directly adjusted by the caller.
|
|
20461
20414
|
* @public
|
|
20462
20415
|
*/
|
|
@@ -20541,21 +20494,37 @@ class ByteStream {
|
|
|
20541
20494
|
/** Resets the current read position to the beginning of the stream */
|
|
20542
20495
|
reset() { this.curPos = 0; }
|
|
20543
20496
|
/** Read a unsigned 8-bit integer from the current read position and advance by 1 byte. */
|
|
20544
|
-
|
|
20497
|
+
readUint8() { return this.read(1, (view) => view.getUint8(this.curPos)); }
|
|
20545
20498
|
/** Read an unsigned 16-bit integer from the current read position and advance by 2 bytes. */
|
|
20546
|
-
|
|
20499
|
+
readUint16() { return this.read(2, (view) => view.getUint16(this.curPos, true)); }
|
|
20547
20500
|
/** Read an unsigned 32-bit integer from the current read position and advance by 4 bytes. */
|
|
20548
|
-
|
|
20501
|
+
readUint32() { return this.read(4, (view) => view.getUint32(this.curPos, true)); }
|
|
20549
20502
|
/** Read a signed 32-bit integer from the current read position and advance by 4 bytes. */
|
|
20550
|
-
|
|
20503
|
+
readInt32() { return this.read(4, (view) => view.getInt32(this.curPos, true)); }
|
|
20551
20504
|
/** Read a 32-bit floating point number from the current read position and advance by 4 bytes. */
|
|
20552
|
-
|
|
20505
|
+
readFloat32() { return this.read(4, (view) => view.getFloat32(this.curPos, true)); }
|
|
20553
20506
|
/** Read a 64-bit floating point number from the current read position and advance by 8 bytes. */
|
|
20554
|
-
|
|
20507
|
+
readFloat64() { return this.read(8, (view) => view.getFloat64(this.curPos, true)); }
|
|
20555
20508
|
/** Read an unsigned 64-bit integer from the current read position, advance by 8 bytes, and return the 64-bit value as an Id64String. */
|
|
20556
|
-
|
|
20509
|
+
readId64() { return _Id__WEBPACK_IMPORTED_MODULE_1__.Id64.fromUint32Pair(this.readUint32(), this.readUint32()); }
|
|
20557
20510
|
/** Read an unsigned 24-bit integer from the current read position and advance by 3 bytes. */
|
|
20558
|
-
|
|
20511
|
+
readUint24() { return this.readUint8() | (this.readUint8() << 8) | (this.readUint8() << 16); }
|
|
20512
|
+
/** @deprecated use [[readUint8]]. */
|
|
20513
|
+
get nextUint8() { return this.readUint8(); }
|
|
20514
|
+
/** @deprecated use [[readUint16]]. */
|
|
20515
|
+
get nextUint16() { return this.readUint16(); }
|
|
20516
|
+
/** @deprecated use [[readUint32]]. */
|
|
20517
|
+
get nextUint32() { return this.readUint32(); }
|
|
20518
|
+
/** @deprecated use [[readInt32]]. */
|
|
20519
|
+
get nextInt32() { return this.readInt32(); }
|
|
20520
|
+
/** @deprecated use [[readFloat32]]. */
|
|
20521
|
+
get nextFloat32() { return this.readFloat32(); }
|
|
20522
|
+
/** @deprecated use [[readFloat64]]. */
|
|
20523
|
+
get nextFloat64() { return this.readFloat64(); }
|
|
20524
|
+
/** @deprecated use [[readId64]]. */
|
|
20525
|
+
get nextId64() { return this.readId64(); }
|
|
20526
|
+
/** @deprecated use [[readUint32]]. */
|
|
20527
|
+
get nextUint24() { return this.readUint24(); }
|
|
20559
20528
|
/** Read the specified number of bytes beginning at the current read position into a Uint8Array and advance by the specified number of byte.
|
|
20560
20529
|
* @param numBytes The number of bytes to read.
|
|
20561
20530
|
*/
|
|
@@ -22078,8 +22047,16 @@ class TransientIdSequence {
|
|
|
22078
22047
|
constructor() {
|
|
22079
22048
|
this._localId = 0;
|
|
22080
22049
|
}
|
|
22050
|
+
/** Generate and return the next transient Id64String in the sequence.
|
|
22051
|
+
* @deprecated Use [[getNext]].
|
|
22052
|
+
*/
|
|
22053
|
+
get next() {
|
|
22054
|
+
return this.getNext();
|
|
22055
|
+
}
|
|
22081
22056
|
/** Generate and return the next transient Id64String in the sequence. */
|
|
22082
|
-
|
|
22057
|
+
getNext() {
|
|
22058
|
+
return Id64.fromLocalAndBriefcaseIds(++this._localId, 0xffffff);
|
|
22059
|
+
}
|
|
22083
22060
|
}
|
|
22084
22061
|
/**
|
|
22085
22062
|
* The Guid namespace provides facilities for working with GUID strings using the "8-4-4-4-12" pattern.
|
|
@@ -25150,7 +25127,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25150
25127
|
/* harmony export */ "TypedArrayBuilder": () => (/* binding */ TypedArrayBuilder),
|
|
25151
25128
|
/* harmony export */ "Uint16ArrayBuilder": () => (/* binding */ Uint16ArrayBuilder),
|
|
25152
25129
|
/* harmony export */ "Uint32ArrayBuilder": () => (/* binding */ Uint32ArrayBuilder),
|
|
25153
|
-
/* harmony export */ "Uint8ArrayBuilder": () => (/* binding */ Uint8ArrayBuilder)
|
|
25130
|
+
/* harmony export */ "Uint8ArrayBuilder": () => (/* binding */ Uint8ArrayBuilder),
|
|
25131
|
+
/* harmony export */ "UintArrayBuilder": () => (/* binding */ UintArrayBuilder)
|
|
25154
25132
|
/* harmony export */ });
|
|
25155
25133
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
|
|
25156
25134
|
/*---------------------------------------------------------------------------------------------
|
|
@@ -25161,7 +25139,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25161
25139
|
* @module Collections
|
|
25162
25140
|
*/
|
|
25163
25141
|
|
|
25164
|
-
/** Incrementally builds a [TypedArray] of unsigned 8-, 16-, or 32-bit integers.
|
|
25142
|
+
/** Incrementally builds a [TypedArray](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray) of unsigned 8-, 16-, or 32-bit integers.
|
|
25165
25143
|
* Sometimes you wish to populate a `TypedArray`, but you don't know how many elements you will need.
|
|
25166
25144
|
* `TypedArray` requires you to specify the size upon construction, and does not permit you to change the size later.
|
|
25167
25145
|
*
|
|
@@ -25172,6 +25150,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25172
25150
|
*
|
|
25173
25151
|
* Once you've finished adding elements, you can obtain the finished `TypedArray` via [[toTypedArray]].
|
|
25174
25152
|
* @see [[Uint8ArrayBuilder]], [[Uint16ArrayBuilder]], and [[Uint32ArrayBuilder]] to build specific types of arrays.
|
|
25153
|
+
* @see [[UintArrayBuilder]] when you don't know the maximum number of bytes required for each element in the array.
|
|
25175
25154
|
* @public
|
|
25176
25155
|
*/
|
|
25177
25156
|
class TypedArrayBuilder {
|
|
@@ -25251,7 +25230,7 @@ class TypedArrayBuilder {
|
|
|
25251
25230
|
* @public
|
|
25252
25231
|
*/
|
|
25253
25232
|
class Uint8ArrayBuilder extends TypedArrayBuilder {
|
|
25254
|
-
/**
|
|
25233
|
+
/** See [[TypedArrayBuilder]] constructor. */
|
|
25255
25234
|
constructor(options) {
|
|
25256
25235
|
super(Uint8Array, options);
|
|
25257
25236
|
}
|
|
@@ -25260,7 +25239,7 @@ class Uint8ArrayBuilder extends TypedArrayBuilder {
|
|
|
25260
25239
|
* @public
|
|
25261
25240
|
*/
|
|
25262
25241
|
class Uint16ArrayBuilder extends TypedArrayBuilder {
|
|
25263
|
-
/**
|
|
25242
|
+
/** See [[TypedArrayBuilder]] constructor. */
|
|
25264
25243
|
constructor(options) {
|
|
25265
25244
|
super(Uint16Array, options);
|
|
25266
25245
|
}
|
|
@@ -25269,7 +25248,7 @@ class Uint16ArrayBuilder extends TypedArrayBuilder {
|
|
|
25269
25248
|
* @public
|
|
25270
25249
|
*/
|
|
25271
25250
|
class Uint32ArrayBuilder extends TypedArrayBuilder {
|
|
25272
|
-
/**
|
|
25251
|
+
/** See [[TypedArrayBuilder]] constructor. */
|
|
25273
25252
|
constructor(options) {
|
|
25274
25253
|
super(Uint32Array, options);
|
|
25275
25254
|
}
|
|
@@ -25280,6 +25259,78 @@ class Uint32ArrayBuilder extends TypedArrayBuilder {
|
|
|
25280
25259
|
return new Uint8Array(this._data.buffer, 0, this.length * 4);
|
|
25281
25260
|
}
|
|
25282
25261
|
}
|
|
25262
|
+
/** A [[TypedArrayBuilder]] that can populate a [[UintArray]] with the minimum
|
|
25263
|
+
* [bytes per element](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/BYTES_PER_ELEMENT) required.
|
|
25264
|
+
*
|
|
25265
|
+
* By default, the underlying array is a `Uint8Array`, though this can be configured via [[UintArrayBuilderOptions.initialType]].
|
|
25266
|
+
* As values are added to the array, if the bytes per element supported by the underlying array is too small to hold one of the new values, the array is
|
|
25267
|
+
* reallocated to a type large enough to hold all of the new values. For example, the following produces a `Uint8Array` because all values are less than 256:
|
|
25268
|
+
*
|
|
25269
|
+
* ```ts
|
|
25270
|
+
* const builder = new UintArrayBuilder();
|
|
25271
|
+
* builder.append([1, 2, 254, 255]);
|
|
25272
|
+
* const array = builder.toTypedArray();
|
|
25273
|
+
* assert(array instanceof Uint8Array);
|
|
25274
|
+
* ```
|
|
25275
|
+
*
|
|
25276
|
+
* However, the following produces a `Uint16Array` because one of the values is larger than 255 but none are larger than 65,535:
|
|
25277
|
+
*
|
|
25278
|
+
* ```ts
|
|
25279
|
+
* const builder = new UintArrayBuilder();
|
|
25280
|
+
* builder.append([1, 255, 257, 65535]);
|
|
25281
|
+
* const array = builder.toTypedArray();
|
|
25282
|
+
* assert(array instanceof Uint16Array);
|
|
25283
|
+
* ```
|
|
25284
|
+
*
|
|
25285
|
+
* @see [[Uint8ArrayBuilder]], [[Uint16ArrayBuilder]], or [[Uint32ArrayBuilder]] if you know the number of bytes you want to allocate for each element in the array.
|
|
25286
|
+
* @public
|
|
25287
|
+
*/
|
|
25288
|
+
class UintArrayBuilder extends TypedArrayBuilder {
|
|
25289
|
+
constructor(options) {
|
|
25290
|
+
var _a;
|
|
25291
|
+
super((_a = options === null || options === void 0 ? void 0 : options.initialType) !== null && _a !== void 0 ? _a : Uint8Array, options);
|
|
25292
|
+
}
|
|
25293
|
+
/** The number of bytes (1, 2, or 4) currently allocated per element by the underlying array.
|
|
25294
|
+
* This may change as larger values are added to the array.
|
|
25295
|
+
*/
|
|
25296
|
+
get bytesPerElement() {
|
|
25297
|
+
return this._data.BYTES_PER_ELEMENT;
|
|
25298
|
+
}
|
|
25299
|
+
/** Ensures that the underlying array is of a type that can contain the largest value in `newValues`.
|
|
25300
|
+
* For example, if `_data` is a `Uint16Array` and `newValues` contains any value(s) larger than 65,535, it will be replaced with a `Uint32Array`.
|
|
25301
|
+
* This method is invoked by [[push]] and [[append]].
|
|
25302
|
+
*/
|
|
25303
|
+
ensureBytesPerElement(newValues) {
|
|
25304
|
+
const curBytesPerElem = this.bytesPerElement;
|
|
25305
|
+
(0,_Assert__WEBPACK_IMPORTED_MODULE_0__.assert)(curBytesPerElem === 1 || curBytesPerElem === 2 || curBytesPerElem === 4);
|
|
25306
|
+
if (curBytesPerElem >= 4)
|
|
25307
|
+
return;
|
|
25308
|
+
let neededBytesPerElem = curBytesPerElem;
|
|
25309
|
+
for (const value of newValues) {
|
|
25310
|
+
if (value > 0xffff) {
|
|
25311
|
+
neededBytesPerElem = 4;
|
|
25312
|
+
break;
|
|
25313
|
+
}
|
|
25314
|
+
else if (value > 0xff) {
|
|
25315
|
+
neededBytesPerElem = 2;
|
|
25316
|
+
}
|
|
25317
|
+
}
|
|
25318
|
+
if (neededBytesPerElem <= curBytesPerElem)
|
|
25319
|
+
return;
|
|
25320
|
+
this._constructor = neededBytesPerElem === 1 ? Uint8Array : (neededBytesPerElem === 2 ? Uint16Array : Uint32Array);
|
|
25321
|
+
this._data = new this._constructor(this._data);
|
|
25322
|
+
}
|
|
25323
|
+
/** See [[TypedArrayBuilder.push]]. */
|
|
25324
|
+
push(value) {
|
|
25325
|
+
this.ensureBytesPerElement([value]);
|
|
25326
|
+
super.push(value);
|
|
25327
|
+
}
|
|
25328
|
+
/** See [[TypedArrayBuilder.append]]. */
|
|
25329
|
+
append(values) {
|
|
25330
|
+
this.ensureBytesPerElement(values);
|
|
25331
|
+
super.append(values);
|
|
25332
|
+
}
|
|
25333
|
+
}
|
|
25283
25334
|
|
|
25284
25335
|
|
|
25285
25336
|
/***/ }),
|
|
@@ -25469,132 +25520,131 @@ class YieldManager {
|
|
|
25469
25520
|
"use strict";
|
|
25470
25521
|
__webpack_require__.r(__webpack_exports__);
|
|
25471
25522
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
25472
|
-
/* harmony export */ "AbandonedError": () => (/* reexport safe */
|
|
25473
|
-
/* harmony export */ "
|
|
25474
|
-
/* harmony export */ "
|
|
25475
|
-
/* harmony export */ "
|
|
25476
|
-
/* harmony export */ "
|
|
25477
|
-
/* harmony export */ "
|
|
25478
|
-
/* harmony export */ "
|
|
25479
|
-
/* harmony export */ "
|
|
25480
|
-
/* harmony export */ "
|
|
25481
|
-
/* harmony export */ "
|
|
25482
|
-
/* harmony export */ "
|
|
25483
|
-
/* harmony export */ "
|
|
25484
|
-
/* harmony export */ "
|
|
25485
|
-
/* harmony export */ "
|
|
25486
|
-
/* harmony export */ "
|
|
25487
|
-
/* harmony export */ "
|
|
25488
|
-
/* harmony export */ "
|
|
25489
|
-
/* harmony export */ "
|
|
25490
|
-
/* harmony export */ "
|
|
25491
|
-
/* harmony export */ "
|
|
25492
|
-
/* harmony export */ "
|
|
25493
|
-
/* harmony export */ "
|
|
25494
|
-
/* harmony export */ "
|
|
25495
|
-
/* harmony export */ "
|
|
25496
|
-
/* harmony export */ "
|
|
25497
|
-
/* harmony export */ "
|
|
25498
|
-
/* harmony export */ "
|
|
25499
|
-
/* harmony export */ "
|
|
25500
|
-
/* harmony export */ "
|
|
25501
|
-
/* harmony export */ "
|
|
25502
|
-
/* harmony export */ "
|
|
25503
|
-
/* harmony export */ "
|
|
25504
|
-
/* harmony export */ "
|
|
25505
|
-
/* harmony export */ "
|
|
25506
|
-
/* harmony export */ "
|
|
25507
|
-
/* harmony export */ "
|
|
25508
|
-
/* harmony export */ "
|
|
25509
|
-
/* harmony export */ "
|
|
25510
|
-
/* harmony export */ "
|
|
25511
|
-
/* harmony export */ "
|
|
25512
|
-
/* harmony export */ "
|
|
25513
|
-
/* harmony export */ "
|
|
25514
|
-
/* harmony export */ "
|
|
25515
|
-
/* harmony export */ "
|
|
25516
|
-
/* harmony export */ "
|
|
25517
|
-
/* harmony export */ "
|
|
25518
|
-
/* harmony export */ "
|
|
25519
|
-
/* harmony export */ "
|
|
25520
|
-
/* harmony export */ "
|
|
25521
|
-
/* harmony export */ "
|
|
25522
|
-
/* harmony export */ "
|
|
25523
|
-
/* harmony export */ "
|
|
25524
|
-
/* harmony export */ "
|
|
25525
|
-
/* harmony export */ "
|
|
25526
|
-
/* harmony export */ "
|
|
25527
|
-
/* harmony export */ "
|
|
25528
|
-
/* harmony export */ "
|
|
25529
|
-
/* harmony export */ "
|
|
25530
|
-
/* harmony export */ "
|
|
25531
|
-
/* harmony export */ "
|
|
25532
|
-
/* harmony export */ "
|
|
25533
|
-
/* harmony export */ "
|
|
25534
|
-
/* harmony export */ "UnexpectedErrors": () => (/* reexport safe */
|
|
25535
|
-
/* harmony export */ "YieldManager": () => (/* reexport safe */
|
|
25536
|
-
/* harmony export */ "areEqualPossiblyUndefined": () => (/* reexport safe */
|
|
25537
|
-
/* harmony export */ "asInstanceOf": () => (/* reexport safe */
|
|
25523
|
+
/* harmony export */ "AbandonedError": () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.AbandonedError),
|
|
25524
|
+
/* harmony export */ "BeDuration": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeDuration),
|
|
25525
|
+
/* harmony export */ "BeEvent": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEvent),
|
|
25526
|
+
/* harmony export */ "BeEventList": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeEventList),
|
|
25527
|
+
/* harmony export */ "BeTimePoint": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.BeTimePoint),
|
|
25528
|
+
/* harmony export */ "BeUiEvent": () => (/* reexport safe */ _BeEvent__WEBPACK_IMPORTED_MODULE_2__.BeUiEvent),
|
|
25529
|
+
/* harmony export */ "BentleyError": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyError),
|
|
25530
|
+
/* harmony export */ "BentleyLoggerCategory": () => (/* reexport safe */ _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__.BentleyLoggerCategory),
|
|
25531
|
+
/* harmony export */ "BentleyStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BentleyStatus),
|
|
25532
|
+
/* harmony export */ "BriefcaseStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.BriefcaseStatus),
|
|
25533
|
+
/* harmony export */ "ByteStream": () => (/* reexport safe */ _ByteStream__WEBPACK_IMPORTED_MODULE_7__.ByteStream),
|
|
25534
|
+
/* harmony export */ "ChangeSetStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.ChangeSetStatus),
|
|
25535
|
+
/* harmony export */ "CompressedId64Set": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.CompressedId64Set),
|
|
25536
|
+
/* harmony export */ "DbOpcode": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbOpcode),
|
|
25537
|
+
/* harmony export */ "DbResult": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.DbResult),
|
|
25538
|
+
/* harmony export */ "Dictionary": () => (/* reexport safe */ _Dictionary__WEBPACK_IMPORTED_MODULE_11__.Dictionary),
|
|
25539
|
+
/* harmony export */ "DisposableList": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.DisposableList),
|
|
25540
|
+
/* harmony export */ "DuplicatePolicy": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.DuplicatePolicy),
|
|
25541
|
+
/* harmony export */ "Entry": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.Entry),
|
|
25542
|
+
/* harmony export */ "ErrorCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.ErrorCategory),
|
|
25543
|
+
/* harmony export */ "GeoServiceStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.GeoServiceStatus),
|
|
25544
|
+
/* harmony export */ "Guid": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Guid),
|
|
25545
|
+
/* harmony export */ "HttpStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.HttpStatus),
|
|
25546
|
+
/* harmony export */ "IModelHubStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelHubStatus),
|
|
25547
|
+
/* harmony export */ "IModelStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.IModelStatus),
|
|
25548
|
+
/* harmony export */ "Id64": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.Id64),
|
|
25549
|
+
/* harmony export */ "IndexMap": () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexMap),
|
|
25550
|
+
/* harmony export */ "IndexedValue": () => (/* reexport safe */ _IndexMap__WEBPACK_IMPORTED_MODULE_14__.IndexedValue),
|
|
25551
|
+
/* harmony export */ "JsonUtils": () => (/* reexport safe */ _JsonUtils__WEBPACK_IMPORTED_MODULE_16__.JsonUtils),
|
|
25552
|
+
/* harmony export */ "LRUCache": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUCache),
|
|
25553
|
+
/* harmony export */ "LRUDictionary": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUDictionary),
|
|
25554
|
+
/* harmony export */ "LRUMap": () => (/* reexport safe */ _LRUMap__WEBPACK_IMPORTED_MODULE_18__.LRUMap),
|
|
25555
|
+
/* harmony export */ "LogLevel": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.LogLevel),
|
|
25556
|
+
/* harmony export */ "Logger": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.Logger),
|
|
25557
|
+
/* harmony export */ "MutableCompressedId64Set": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.MutableCompressedId64Set),
|
|
25558
|
+
/* harmony export */ "ObservableSet": () => (/* reexport safe */ _ObservableSet__WEBPACK_IMPORTED_MODULE_19__.ObservableSet),
|
|
25559
|
+
/* harmony export */ "OneAtATimeAction": () => (/* reexport safe */ _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__.OneAtATimeAction),
|
|
25560
|
+
/* harmony export */ "OpenMode": () => (/* reexport safe */ _BeSQLite__WEBPACK_IMPORTED_MODULE_6__.OpenMode),
|
|
25561
|
+
/* harmony export */ "OrderedId64Array": () => (/* reexport safe */ _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__.OrderedId64Array),
|
|
25562
|
+
/* harmony export */ "OrderedId64Iterable": () => (/* reexport safe */ _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_21__.OrderedId64Iterable),
|
|
25563
|
+
/* harmony export */ "OrderedSet": () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.OrderedSet),
|
|
25564
|
+
/* harmony export */ "PerfLogger": () => (/* reexport safe */ _Logger__WEBPACK_IMPORTED_MODULE_17__.PerfLogger),
|
|
25565
|
+
/* harmony export */ "PriorityQueue": () => (/* reexport safe */ _PriorityQueue__WEBPACK_IMPORTED_MODULE_24__.PriorityQueue),
|
|
25566
|
+
/* harmony export */ "ProcessDetector": () => (/* reexport safe */ _ProcessDetector__WEBPACK_IMPORTED_MODULE_25__.ProcessDetector),
|
|
25567
|
+
/* harmony export */ "ReadonlyOrderedSet": () => (/* reexport safe */ _OrderedSet__WEBPACK_IMPORTED_MODULE_22__.ReadonlyOrderedSet),
|
|
25568
|
+
/* harmony export */ "ReadonlySortedArray": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.ReadonlySortedArray),
|
|
25569
|
+
/* harmony export */ "RealityDataStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RealityDataStatus),
|
|
25570
|
+
/* harmony export */ "RepositoryStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RepositoryStatus),
|
|
25571
|
+
/* harmony export */ "RpcInterfaceStatus": () => (/* reexport safe */ _BentleyError__WEBPACK_IMPORTED_MODULE_3__.RpcInterfaceStatus),
|
|
25572
|
+
/* harmony export */ "SortedArray": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.SortedArray),
|
|
25573
|
+
/* harmony export */ "SpanKind": () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.SpanKind),
|
|
25574
|
+
/* harmony export */ "StatusCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.StatusCategory),
|
|
25575
|
+
/* harmony export */ "StopWatch": () => (/* reexport safe */ _Time__WEBPACK_IMPORTED_MODULE_28__.StopWatch),
|
|
25576
|
+
/* harmony export */ "SuccessCategory": () => (/* reexport safe */ _StatusCategory__WEBPACK_IMPORTED_MODULE_5__.SuccessCategory),
|
|
25577
|
+
/* harmony export */ "Tracing": () => (/* reexport safe */ _Tracing__WEBPACK_IMPORTED_MODULE_29__.Tracing),
|
|
25578
|
+
/* harmony export */ "TransientIdSequence": () => (/* reexport safe */ _Id__WEBPACK_IMPORTED_MODULE_13__.TransientIdSequence),
|
|
25579
|
+
/* harmony export */ "TupleKeyedMap": () => (/* reexport safe */ _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_30__.TupleKeyedMap),
|
|
25580
|
+
/* harmony export */ "TypedArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.TypedArrayBuilder),
|
|
25581
|
+
/* harmony export */ "Uint16ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint16ArrayBuilder),
|
|
25582
|
+
/* harmony export */ "Uint32ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint32ArrayBuilder),
|
|
25583
|
+
/* harmony export */ "Uint8ArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.Uint8ArrayBuilder),
|
|
25584
|
+
/* harmony export */ "UintArrayBuilder": () => (/* reexport safe */ _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__.UintArrayBuilder),
|
|
25585
|
+
/* harmony export */ "UnexpectedErrors": () => (/* reexport safe */ _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_32__.UnexpectedErrors),
|
|
25586
|
+
/* harmony export */ "YieldManager": () => (/* reexport safe */ _YieldManager__WEBPACK_IMPORTED_MODULE_34__.YieldManager),
|
|
25587
|
+
/* harmony export */ "areEqualPossiblyUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.areEqualPossiblyUndefined),
|
|
25588
|
+
/* harmony export */ "asInstanceOf": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.asInstanceOf),
|
|
25538
25589
|
/* harmony export */ "assert": () => (/* reexport safe */ _Assert__WEBPACK_IMPORTED_MODULE_1__.assert),
|
|
25539
|
-
/* harmony export */ "base64StringToUint8Array": () => (/* reexport safe */
|
|
25540
|
-
/* harmony export */ "compareBooleans": () => (/* reexport safe */
|
|
25541
|
-
/* harmony export */ "compareBooleansOrUndefined": () => (/* reexport safe */
|
|
25542
|
-
/* harmony export */ "compareNumbers": () => (/* reexport safe */
|
|
25543
|
-
/* harmony export */ "compareNumbersOrUndefined": () => (/* reexport safe */
|
|
25544
|
-
/* harmony export */ "comparePossiblyUndefined": () => (/* reexport safe */
|
|
25545
|
-
/* harmony export */ "compareStrings": () => (/* reexport safe */
|
|
25546
|
-
/* harmony export */ "compareStringsOrUndefined": () => (/* reexport safe */
|
|
25547
|
-
/* harmony export */ "compareWithTolerance": () => (/* reexport safe */
|
|
25548
|
-
/* harmony export */ "dispose": () => (/* reexport safe */
|
|
25549
|
-
/* harmony export */ "disposeArray": () => (/* reexport safe */
|
|
25550
|
-
/* harmony export */ "isIDisposable": () => (/* reexport safe */
|
|
25551
|
-
/* harmony export */ "isInstanceOf": () => (/* reexport safe */
|
|
25552
|
-
/* harmony export */ "isProperSubclassOf": () => (/* reexport safe */
|
|
25553
|
-
/* harmony export */ "isSubclassOf": () => (/* reexport safe */
|
|
25554
|
-
/* harmony export */ "lowerBound": () => (/* reexport safe */
|
|
25555
|
-
/* harmony export */ "omit": () => (/* reexport safe */
|
|
25556
|
-
/* harmony export */ "partitionArray": () => (/* reexport safe */
|
|
25557
|
-
/* harmony export */ "shallowClone": () => (/* reexport safe */
|
|
25558
|
-
/* harmony export */ "using": () => (/* reexport safe */
|
|
25559
|
-
/* harmony export */ "utf8ToString": () => (/* reexport safe */
|
|
25560
|
-
/* harmony export */ "utf8ToStringPolyfill": () => (/* reexport safe */
|
|
25590
|
+
/* harmony export */ "base64StringToUint8Array": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.base64StringToUint8Array),
|
|
25591
|
+
/* harmony export */ "compareBooleans": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleans),
|
|
25592
|
+
/* harmony export */ "compareBooleansOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareBooleansOrUndefined),
|
|
25593
|
+
/* harmony export */ "compareNumbers": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbers),
|
|
25594
|
+
/* harmony export */ "compareNumbersOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareNumbersOrUndefined),
|
|
25595
|
+
/* harmony export */ "comparePossiblyUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.comparePossiblyUndefined),
|
|
25596
|
+
/* harmony export */ "compareStrings": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStrings),
|
|
25597
|
+
/* harmony export */ "compareStringsOrUndefined": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareStringsOrUndefined),
|
|
25598
|
+
/* harmony export */ "compareWithTolerance": () => (/* reexport safe */ _Compare__WEBPACK_IMPORTED_MODULE_9__.compareWithTolerance),
|
|
25599
|
+
/* harmony export */ "dispose": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.dispose),
|
|
25600
|
+
/* harmony export */ "disposeArray": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.disposeArray),
|
|
25601
|
+
/* harmony export */ "isIDisposable": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.isIDisposable),
|
|
25602
|
+
/* harmony export */ "isInstanceOf": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.isInstanceOf),
|
|
25603
|
+
/* harmony export */ "isProperSubclassOf": () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isProperSubclassOf),
|
|
25604
|
+
/* harmony export */ "isSubclassOf": () => (/* reexport safe */ _ClassUtils__WEBPACK_IMPORTED_MODULE_8__.isSubclassOf),
|
|
25605
|
+
/* harmony export */ "lowerBound": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.lowerBound),
|
|
25606
|
+
/* harmony export */ "omit": () => (/* reexport safe */ _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__.omit),
|
|
25607
|
+
/* harmony export */ "partitionArray": () => (/* reexport safe */ _partitionArray__WEBPACK_IMPORTED_MODULE_23__.partitionArray),
|
|
25608
|
+
/* harmony export */ "shallowClone": () => (/* reexport safe */ _SortedArray__WEBPACK_IMPORTED_MODULE_26__.shallowClone),
|
|
25609
|
+
/* harmony export */ "using": () => (/* reexport safe */ _Disposable__WEBPACK_IMPORTED_MODULE_12__.using),
|
|
25610
|
+
/* harmony export */ "utf8ToString": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToString),
|
|
25611
|
+
/* harmony export */ "utf8ToStringPolyfill": () => (/* reexport safe */ _StringUtils__WEBPACK_IMPORTED_MODULE_27__.utf8ToStringPolyfill)
|
|
25561
25612
|
/* harmony export */ });
|
|
25562
25613
|
/* harmony import */ var _AccessToken__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccessToken */ "../bentley/lib/esm/AccessToken.js");
|
|
25563
25614
|
/* harmony import */ var _Assert__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Assert */ "../bentley/lib/esm/Assert.js");
|
|
25564
|
-
/* harmony import */ var
|
|
25565
|
-
/* harmony import */ var
|
|
25566
|
-
/* harmony import */ var
|
|
25567
|
-
/* harmony import */ var
|
|
25568
|
-
/* harmony import */ var
|
|
25569
|
-
/* harmony import */ var
|
|
25570
|
-
/* harmony import */ var
|
|
25571
|
-
/* harmony import */ var
|
|
25572
|
-
/* harmony import */ var
|
|
25573
|
-
/* harmony import */ var
|
|
25574
|
-
/* harmony import */ var
|
|
25575
|
-
/* harmony import */ var
|
|
25576
|
-
/* harmony import */ var
|
|
25577
|
-
/* harmony import */ var
|
|
25578
|
-
/* harmony import */ var
|
|
25579
|
-
/* harmony import */ var
|
|
25580
|
-
/* harmony import */ var
|
|
25581
|
-
/* harmony import */ var
|
|
25582
|
-
/* harmony import */ var
|
|
25583
|
-
/* harmony import */ var
|
|
25584
|
-
/* harmony import */ var
|
|
25585
|
-
/* harmony import */ var
|
|
25586
|
-
/* harmony import */ var
|
|
25587
|
-
/* harmony import */ var
|
|
25588
|
-
/* harmony import */ var
|
|
25589
|
-
/* harmony import */ var
|
|
25590
|
-
/* harmony import */ var
|
|
25591
|
-
/* harmony import */ var
|
|
25592
|
-
/* harmony import */ var
|
|
25593
|
-
/* harmony import */ var
|
|
25594
|
-
/* harmony import */ var
|
|
25595
|
-
/* harmony import */ var
|
|
25596
|
-
/* harmony import */ var
|
|
25597
|
-
/* harmony import */ var _YieldManager__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./YieldManager */ "../bentley/lib/esm/YieldManager.js");
|
|
25615
|
+
/* harmony import */ var _BeEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BeEvent */ "../bentley/lib/esm/BeEvent.js");
|
|
25616
|
+
/* harmony import */ var _BentleyError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BentleyError */ "../bentley/lib/esm/BentleyError.js");
|
|
25617
|
+
/* harmony import */ var _BentleyLoggerCategory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BentleyLoggerCategory */ "../bentley/lib/esm/BentleyLoggerCategory.js");
|
|
25618
|
+
/* harmony import */ var _StatusCategory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./StatusCategory */ "../bentley/lib/esm/StatusCategory.js");
|
|
25619
|
+
/* harmony import */ var _BeSQLite__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./BeSQLite */ "../bentley/lib/esm/BeSQLite.js");
|
|
25620
|
+
/* harmony import */ var _ByteStream__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ByteStream */ "../bentley/lib/esm/ByteStream.js");
|
|
25621
|
+
/* harmony import */ var _ClassUtils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./ClassUtils */ "../bentley/lib/esm/ClassUtils.js");
|
|
25622
|
+
/* harmony import */ var _Compare__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Compare */ "../bentley/lib/esm/Compare.js");
|
|
25623
|
+
/* harmony import */ var _CompressedId64Set__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./CompressedId64Set */ "../bentley/lib/esm/CompressedId64Set.js");
|
|
25624
|
+
/* harmony import */ var _Dictionary__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./Dictionary */ "../bentley/lib/esm/Dictionary.js");
|
|
25625
|
+
/* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./Disposable */ "../bentley/lib/esm/Disposable.js");
|
|
25626
|
+
/* harmony import */ var _Id__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./Id */ "../bentley/lib/esm/Id.js");
|
|
25627
|
+
/* harmony import */ var _IndexMap__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./IndexMap */ "../bentley/lib/esm/IndexMap.js");
|
|
25628
|
+
/* harmony import */ var _JsonSchema__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./JsonSchema */ "../bentley/lib/esm/JsonSchema.js");
|
|
25629
|
+
/* harmony import */ var _JsonUtils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./JsonUtils */ "../bentley/lib/esm/JsonUtils.js");
|
|
25630
|
+
/* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./Logger */ "../bentley/lib/esm/Logger.js");
|
|
25631
|
+
/* harmony import */ var _LRUMap__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./LRUMap */ "../bentley/lib/esm/LRUMap.js");
|
|
25632
|
+
/* harmony import */ var _ObservableSet__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./ObservableSet */ "../bentley/lib/esm/ObservableSet.js");
|
|
25633
|
+
/* harmony import */ var _OneAtATimeAction__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./OneAtATimeAction */ "../bentley/lib/esm/OneAtATimeAction.js");
|
|
25634
|
+
/* harmony import */ var _OrderedId64Iterable__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./OrderedId64Iterable */ "../bentley/lib/esm/OrderedId64Iterable.js");
|
|
25635
|
+
/* harmony import */ var _OrderedSet__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./OrderedSet */ "../bentley/lib/esm/OrderedSet.js");
|
|
25636
|
+
/* harmony import */ var _partitionArray__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./partitionArray */ "../bentley/lib/esm/partitionArray.js");
|
|
25637
|
+
/* harmony import */ var _PriorityQueue__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./PriorityQueue */ "../bentley/lib/esm/PriorityQueue.js");
|
|
25638
|
+
/* harmony import */ var _ProcessDetector__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./ProcessDetector */ "../bentley/lib/esm/ProcessDetector.js");
|
|
25639
|
+
/* harmony import */ var _SortedArray__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./SortedArray */ "../bentley/lib/esm/SortedArray.js");
|
|
25640
|
+
/* harmony import */ var _StringUtils__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./StringUtils */ "../bentley/lib/esm/StringUtils.js");
|
|
25641
|
+
/* harmony import */ var _Time__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./Time */ "../bentley/lib/esm/Time.js");
|
|
25642
|
+
/* harmony import */ var _Tracing__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./Tracing */ "../bentley/lib/esm/Tracing.js");
|
|
25643
|
+
/* harmony import */ var _TupleKeyedMap__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./TupleKeyedMap */ "../bentley/lib/esm/TupleKeyedMap.js");
|
|
25644
|
+
/* harmony import */ var _TypedArrayBuilder__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./TypedArrayBuilder */ "../bentley/lib/esm/TypedArrayBuilder.js");
|
|
25645
|
+
/* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./UnexpectedErrors */ "../bentley/lib/esm/UnexpectedErrors.js");
|
|
25646
|
+
/* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./UtilityTypes */ "../bentley/lib/esm/UtilityTypes.js");
|
|
25647
|
+
/* harmony import */ var _YieldManager__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./YieldManager */ "../bentley/lib/esm/YieldManager.js");
|
|
25598
25648
|
/*---------------------------------------------------------------------------------------------
|
|
25599
25649
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
25600
25650
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -25632,7 +25682,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25632
25682
|
|
|
25633
25683
|
|
|
25634
25684
|
|
|
25635
|
-
|
|
25636
25685
|
|
|
25637
25686
|
|
|
25638
25687
|
/** @docs-package-description
|
|
@@ -25742,26 +25791,24 @@ function partitionArray(array, criterion) {
|
|
|
25742
25791
|
|
|
25743
25792
|
/***/ }),
|
|
25744
25793
|
|
|
25745
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25794
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/arrayLikeToArray.js":
|
|
25746
25795
|
/*!**************************************************************************************************************************!*\
|
|
25747
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25796
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
|
|
25748
25797
|
\**************************************************************************************************************************/
|
|
25749
25798
|
/***/ ((module) => {
|
|
25750
25799
|
|
|
25751
25800
|
function _arrayLikeToArray(arr, len) {
|
|
25752
25801
|
if (len == null || len > arr.length) len = arr.length;
|
|
25753
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
25754
|
-
arr2[i] = arr[i];
|
|
25755
|
-
}
|
|
25802
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
25756
25803
|
return arr2;
|
|
25757
25804
|
}
|
|
25758
25805
|
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
25759
25806
|
|
|
25760
25807
|
/***/ }),
|
|
25761
25808
|
|
|
25762
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25809
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/arrayWithHoles.js":
|
|
25763
25810
|
/*!************************************************************************************************************************!*\
|
|
25764
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25811
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
|
|
25765
25812
|
\************************************************************************************************************************/
|
|
25766
25813
|
/***/ ((module) => {
|
|
25767
25814
|
|
|
@@ -25772,9 +25819,9 @@ module.exports = _arrayWithHoles, module.exports.__esModule = true, module.expor
|
|
|
25772
25819
|
|
|
25773
25820
|
/***/ }),
|
|
25774
25821
|
|
|
25775
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25822
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/assertThisInitialized.js":
|
|
25776
25823
|
/*!*******************************************************************************************************************************!*\
|
|
25777
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25824
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
|
|
25778
25825
|
\*******************************************************************************************************************************/
|
|
25779
25826
|
/***/ ((module) => {
|
|
25780
25827
|
|
|
@@ -25788,9 +25835,9 @@ module.exports = _assertThisInitialized, module.exports.__esModule = true, modul
|
|
|
25788
25835
|
|
|
25789
25836
|
/***/ }),
|
|
25790
25837
|
|
|
25791
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25838
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/classCallCheck.js":
|
|
25792
25839
|
/*!************************************************************************************************************************!*\
|
|
25793
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25840
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/classCallCheck.js ***!
|
|
25794
25841
|
\************************************************************************************************************************/
|
|
25795
25842
|
/***/ ((module) => {
|
|
25796
25843
|
|
|
@@ -25803,13 +25850,13 @@ module.exports = _classCallCheck, module.exports.__esModule = true, module.expor
|
|
|
25803
25850
|
|
|
25804
25851
|
/***/ }),
|
|
25805
25852
|
|
|
25806
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25853
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/createClass.js":
|
|
25807
25854
|
/*!*********************************************************************************************************************!*\
|
|
25808
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25855
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/createClass.js ***!
|
|
25809
25856
|
\*********************************************************************************************************************/
|
|
25810
25857
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25811
25858
|
|
|
25812
|
-
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25859
|
+
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/toPropertyKey.js");
|
|
25813
25860
|
function _defineProperties(target, props) {
|
|
25814
25861
|
for (var i = 0; i < props.length; i++) {
|
|
25815
25862
|
var descriptor = props[i];
|
|
@@ -25831,13 +25878,13 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
|
|
|
25831
25878
|
|
|
25832
25879
|
/***/ }),
|
|
25833
25880
|
|
|
25834
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25881
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/defineProperty.js":
|
|
25835
25882
|
/*!************************************************************************************************************************!*\
|
|
25836
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25883
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/defineProperty.js ***!
|
|
25837
25884
|
\************************************************************************************************************************/
|
|
25838
25885
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25839
25886
|
|
|
25840
|
-
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25887
|
+
var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/toPropertyKey.js");
|
|
25841
25888
|
function _defineProperty(obj, key, value) {
|
|
25842
25889
|
key = toPropertyKey(key);
|
|
25843
25890
|
if (key in obj) {
|
|
@@ -25856,9 +25903,9 @@ module.exports = _defineProperty, module.exports.__esModule = true, module.expor
|
|
|
25856
25903
|
|
|
25857
25904
|
/***/ }),
|
|
25858
25905
|
|
|
25859
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25906
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/getPrototypeOf.js":
|
|
25860
25907
|
/*!************************************************************************************************************************!*\
|
|
25861
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25908
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
|
|
25862
25909
|
\************************************************************************************************************************/
|
|
25863
25910
|
/***/ ((module) => {
|
|
25864
25911
|
|
|
@@ -25872,13 +25919,13 @@ module.exports = _getPrototypeOf, module.exports.__esModule = true, module.expor
|
|
|
25872
25919
|
|
|
25873
25920
|
/***/ }),
|
|
25874
25921
|
|
|
25875
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25922
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/inherits.js":
|
|
25876
25923
|
/*!******************************************************************************************************************!*\
|
|
25877
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25924
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/inherits.js ***!
|
|
25878
25925
|
\******************************************************************************************************************/
|
|
25879
25926
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25880
25927
|
|
|
25881
|
-
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25928
|
+
var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/setPrototypeOf.js");
|
|
25882
25929
|
function _inherits(subClass, superClass) {
|
|
25883
25930
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
25884
25931
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -25899,9 +25946,9 @@ module.exports = _inherits, module.exports.__esModule = true, module.exports["de
|
|
|
25899
25946
|
|
|
25900
25947
|
/***/ }),
|
|
25901
25948
|
|
|
25902
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25949
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/iterableToArray.js":
|
|
25903
25950
|
/*!*************************************************************************************************************************!*\
|
|
25904
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25951
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/iterableToArray.js ***!
|
|
25905
25952
|
\*************************************************************************************************************************/
|
|
25906
25953
|
/***/ ((module) => {
|
|
25907
25954
|
|
|
@@ -25912,9 +25959,9 @@ module.exports = _iterableToArray, module.exports.__esModule = true, module.expo
|
|
|
25912
25959
|
|
|
25913
25960
|
/***/ }),
|
|
25914
25961
|
|
|
25915
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25962
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/nonIterableRest.js":
|
|
25916
25963
|
/*!*************************************************************************************************************************!*\
|
|
25917
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25964
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
|
|
25918
25965
|
\*************************************************************************************************************************/
|
|
25919
25966
|
/***/ ((module) => {
|
|
25920
25967
|
|
|
@@ -25925,14 +25972,14 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
|
|
|
25925
25972
|
|
|
25926
25973
|
/***/ }),
|
|
25927
25974
|
|
|
25928
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25975
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
|
|
25929
25976
|
/*!***********************************************************************************************************************************!*\
|
|
25930
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25977
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
|
|
25931
25978
|
\***********************************************************************************************************************************/
|
|
25932
25979
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25933
25980
|
|
|
25934
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25935
|
-
var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25981
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
25982
|
+
var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/assertThisInitialized.js");
|
|
25936
25983
|
function _possibleConstructorReturn(self, call) {
|
|
25937
25984
|
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
25938
25985
|
return call;
|
|
@@ -25945,9 +25992,9 @@ module.exports = _possibleConstructorReturn, module.exports.__esModule = true, m
|
|
|
25945
25992
|
|
|
25946
25993
|
/***/ }),
|
|
25947
25994
|
|
|
25948
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25995
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/setPrototypeOf.js":
|
|
25949
25996
|
/*!************************************************************************************************************************!*\
|
|
25950
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25997
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
|
|
25951
25998
|
\************************************************************************************************************************/
|
|
25952
25999
|
/***/ ((module) => {
|
|
25953
26000
|
|
|
@@ -25962,16 +26009,16 @@ module.exports = _setPrototypeOf, module.exports.__esModule = true, module.expor
|
|
|
25962
26009
|
|
|
25963
26010
|
/***/ }),
|
|
25964
26011
|
|
|
25965
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26012
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/toArray.js":
|
|
25966
26013
|
/*!*****************************************************************************************************************!*\
|
|
25967
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26014
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/toArray.js ***!
|
|
25968
26015
|
\*****************************************************************************************************************/
|
|
25969
26016
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25970
26017
|
|
|
25971
|
-
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25972
|
-
var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25973
|
-
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
25974
|
-
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26018
|
+
var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/arrayWithHoles.js");
|
|
26019
|
+
var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/iterableToArray.js");
|
|
26020
|
+
var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js");
|
|
26021
|
+
var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/nonIterableRest.js");
|
|
25975
26022
|
function _toArray(arr) {
|
|
25976
26023
|
return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
|
|
25977
26024
|
}
|
|
@@ -25979,13 +26026,13 @@ module.exports = _toArray, module.exports.__esModule = true, module.exports["def
|
|
|
25979
26026
|
|
|
25980
26027
|
/***/ }),
|
|
25981
26028
|
|
|
25982
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26029
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/toPrimitive.js":
|
|
25983
26030
|
/*!*********************************************************************************************************************!*\
|
|
25984
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26031
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/toPrimitive.js ***!
|
|
25985
26032
|
\*********************************************************************************************************************/
|
|
25986
26033
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
25987
26034
|
|
|
25988
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26035
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
25989
26036
|
function _toPrimitive(input, hint) {
|
|
25990
26037
|
if (_typeof(input) !== "object" || input === null) return input;
|
|
25991
26038
|
var prim = input[Symbol.toPrimitive];
|
|
@@ -26000,14 +26047,14 @@ module.exports = _toPrimitive, module.exports.__esModule = true, module.exports[
|
|
|
26000
26047
|
|
|
26001
26048
|
/***/ }),
|
|
26002
26049
|
|
|
26003
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26050
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/toPropertyKey.js":
|
|
26004
26051
|
/*!***********************************************************************************************************************!*\
|
|
26005
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26052
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
|
|
26006
26053
|
\***********************************************************************************************************************/
|
|
26007
26054
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26008
26055
|
|
|
26009
|
-
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26010
|
-
var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26056
|
+
var _typeof = (__webpack_require__(/*! ./typeof.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/typeof.js")["default"]);
|
|
26057
|
+
var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/toPrimitive.js");
|
|
26011
26058
|
function _toPropertyKey(arg) {
|
|
26012
26059
|
var key = toPrimitive(arg, "string");
|
|
26013
26060
|
return _typeof(key) === "symbol" ? key : String(key);
|
|
@@ -26016,9 +26063,9 @@ module.exports = _toPropertyKey, module.exports.__esModule = true, module.export
|
|
|
26016
26063
|
|
|
26017
26064
|
/***/ }),
|
|
26018
26065
|
|
|
26019
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26066
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/typeof.js":
|
|
26020
26067
|
/*!****************************************************************************************************************!*\
|
|
26021
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26068
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/typeof.js ***!
|
|
26022
26069
|
\****************************************************************************************************************/
|
|
26023
26070
|
/***/ ((module) => {
|
|
26024
26071
|
|
|
@@ -26035,13 +26082,13 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
|
26035
26082
|
|
|
26036
26083
|
/***/ }),
|
|
26037
26084
|
|
|
26038
|
-
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26085
|
+
/***/ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":
|
|
26039
26086
|
/*!************************************************************************************************************************************!*\
|
|
26040
|
-
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26087
|
+
!*** ../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
|
|
26041
26088
|
\************************************************************************************************************************************/
|
|
26042
26089
|
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
26043
26090
|
|
|
26044
|
-
var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.
|
|
26091
|
+
var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ "../../common/temp/node_modules/.pnpm/@babel+runtime@7.20.7/node_modules/@babel/runtime/helpers/arrayLikeToArray.js");
|
|
26045
26092
|
function _unsupportedIterableToArray(o, minLen) {
|
|
26046
26093
|
if (!o) return;
|
|
26047
26094
|
if (typeof o === "string") return arrayLikeToArray(o, minLen);
|