@formatjs/intl-pluralrules 5.1.4 → 5.1.7
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/package.json +3 -3
- package/polyfill.iife.js +35 -35
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-pluralrules",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.7",
|
|
4
4
|
"description": "Polyfill for Intl.PluralRules",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"polyfill",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"url": "git+https://github.com/formatjs/formatjs.git"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@formatjs/ecma402-abstract": "1.
|
|
23
|
+
"@formatjs/ecma402-abstract": "1.14.2",
|
|
24
24
|
"@formatjs/intl-localematcher": "0.2.31",
|
|
25
25
|
"tslib": "2.4.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@formatjs/intl-getcanonicallocales": "2.0.4",
|
|
29
|
-
"@formatjs/intl-locale": "3.0.
|
|
29
|
+
"@formatjs/intl-locale": "3.0.10"
|
|
30
30
|
},
|
|
31
31
|
"bugs": {
|
|
32
32
|
"url": "https://github.com/formatjs/formatjs/issues"
|
package/polyfill.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(() => {
|
|
2
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
|
|
3
3
|
var extendStatics = function(d, b) {
|
|
4
4
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
5
5
|
d2.__proto__ = b2;
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
34
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CanonicalizeLocaleList.js
|
|
35
35
|
function CanonicalizeLocaleList(locales) {
|
|
36
36
|
return Intl.getCanonicalLocales(locales);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
39
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/262.js
|
|
40
40
|
function ToString(o) {
|
|
41
41
|
if (typeof o === "symbol") {
|
|
42
42
|
throw TypeError("Cannot convert a Symbol value to a string");
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
|
|
109
109
|
var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
|
|
110
110
|
|
|
111
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
111
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CoerceOptionsToObject.js
|
|
112
112
|
function CoerceOptionsToObject(options) {
|
|
113
113
|
if (typeof options === "undefined") {
|
|
114
114
|
return /* @__PURE__ */ Object.create(null);
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
return ToObject(options);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
119
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/DefaultNumberOption.js
|
|
120
120
|
function DefaultNumberOption(val, min, max, fallback) {
|
|
121
121
|
if (val !== void 0) {
|
|
122
122
|
val = Number(val);
|
|
@@ -128,13 +128,13 @@
|
|
|
128
128
|
return fallback;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
131
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetNumberOption.js
|
|
132
132
|
function GetNumberOption(options, property, minimum, maximum, fallback) {
|
|
133
133
|
var val = options[property];
|
|
134
134
|
return DefaultNumberOption(val, minimum, maximum, fallback);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
137
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetOption.js
|
|
138
138
|
function GetOption(opts, prop, type, values, fallback) {
|
|
139
139
|
if (typeof opts !== "object") {
|
|
140
140
|
throw new TypeError("Options must be an object");
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
return fallback;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
163
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
|
|
164
164
|
var SANCTIONED_UNITS = [
|
|
165
165
|
"angle-degree",
|
|
166
166
|
"area-acre",
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
}
|
|
212
212
|
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
|
|
213
213
|
|
|
214
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
214
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/utils.js
|
|
215
215
|
function getMagnitude(x) {
|
|
216
216
|
return Math.floor(Math.log(x) * Math.LOG10E);
|
|
217
217
|
}
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
237
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ToRawPrecision.js
|
|
238
238
|
function ToRawPrecision(x, minPrecision, maxPrecision) {
|
|
239
239
|
var p = maxPrecision;
|
|
240
240
|
var m;
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
295
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ToRawFixed.js
|
|
296
296
|
function ToRawFixed(x, minFraction, maxFraction) {
|
|
297
297
|
var f = maxFraction;
|
|
298
298
|
var n = Math.round(x * Math.pow(10, f));
|
|
@@ -332,7 +332,7 @@
|
|
|
332
332
|
return { formattedString: m, roundedNumber: xFinal, integerDigitsCount: int };
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
335
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericToString.js
|
|
336
336
|
function FormatNumericToString(intlObject, x) {
|
|
337
337
|
var isNegative = x < 0 || SameValue(x, -0);
|
|
338
338
|
if (isNegative) {
|
|
@@ -368,19 +368,19 @@
|
|
|
368
368
|
return { roundedNumber: x, formattedString: string };
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
371
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/regex.generated.js
|
|
372
372
|
var S_UNICODE_REGEX = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;
|
|
373
373
|
|
|
374
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
374
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/format_to_parts.js
|
|
375
375
|
var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
|
|
376
376
|
var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
|
|
377
377
|
|
|
378
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
378
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/CanonicalizeLocaleList.js
|
|
379
379
|
function CanonicalizeLocaleList2(locales) {
|
|
380
380
|
return Intl.getCanonicalLocales(locales);
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
383
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/utils.js
|
|
384
384
|
var UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;
|
|
385
385
|
function invariant2(condition, message, Err) {
|
|
386
386
|
if (Err === void 0) {
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
|
|
394
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
394
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestAvailableLocale.js
|
|
395
395
|
function BestAvailableLocale(availableLocales, locale) {
|
|
396
396
|
var candidate = locale;
|
|
397
397
|
while (true) {
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
|
|
412
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
412
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupMatcher.js
|
|
413
413
|
function LookupMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
414
414
|
var result = { locale: "" };
|
|
415
415
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
return result;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
431
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestFitMatcher.js
|
|
432
432
|
function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
433
433
|
var minimizedAvailableLocaleMap = {};
|
|
434
434
|
var availableLocaleMap = {};
|
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
479
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/UnicodeExtensionValue.js
|
|
480
480
|
function UnicodeExtensionValue(extension, key) {
|
|
481
481
|
invariant2(key.length === 2, "key must have 2 elements");
|
|
482
482
|
var size = extension.length;
|
|
@@ -515,7 +515,7 @@
|
|
|
515
515
|
return void 0;
|
|
516
516
|
}
|
|
517
517
|
|
|
518
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
518
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/ResolveLocale.js
|
|
519
519
|
function ResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
|
|
520
520
|
var matcher = options.localeMatcher;
|
|
521
521
|
var r;
|
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
return result;
|
|
580
580
|
}
|
|
581
581
|
|
|
582
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
582
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupSupportedLocales.js
|
|
583
583
|
function LookupSupportedLocales(availableLocales, requestedLocales) {
|
|
584
584
|
var subset = [];
|
|
585
585
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -593,7 +593,7 @@
|
|
|
593
593
|
return subset;
|
|
594
594
|
}
|
|
595
595
|
|
|
596
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
596
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/index.js
|
|
597
597
|
function match(requestedLocales, availableLocales, defaultLocale, opts) {
|
|
598
598
|
var locales = availableLocales.reduce(function(all, l) {
|
|
599
599
|
all.add(l);
|
|
@@ -606,7 +606,7 @@
|
|
|
606
606
|
}).locale;
|
|
607
607
|
}
|
|
608
608
|
|
|
609
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
609
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/SetNumberFormatDigitOptions.js
|
|
610
610
|
function SetNumberFormatDigitOptions(internalSlots, opts, mnfdDefault, mxfdDefault, notation) {
|
|
611
611
|
var mnid = GetNumberOption(opts, "minimumIntegerDigits", 1, 21, 1);
|
|
612
612
|
var mnfd = opts.minimumFractionDigits;
|
|
@@ -673,7 +673,7 @@
|
|
|
673
673
|
}
|
|
674
674
|
}
|
|
675
675
|
|
|
676
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
676
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/SupportedLocales.js
|
|
677
677
|
function SupportedLocales(availableLocales, requestedLocales, options) {
|
|
678
678
|
var matcher = "best fit";
|
|
679
679
|
if (options !== void 0) {
|
|
@@ -686,7 +686,7 @@
|
|
|
686
686
|
return LookupSupportedLocales(availableLocales, requestedLocales);
|
|
687
687
|
}
|
|
688
688
|
|
|
689
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
689
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/data.js
|
|
690
690
|
var MissingLocaleDataError = function(_super) {
|
|
691
691
|
__extends(MissingLocaleDataError2, _super);
|
|
692
692
|
function MissingLocaleDataError2() {
|
|
@@ -697,7 +697,7 @@
|
|
|
697
697
|
return MissingLocaleDataError2;
|
|
698
698
|
}(Error);
|
|
699
699
|
|
|
700
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
700
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/types/date-time.js
|
|
701
701
|
var RangePatternType;
|
|
702
702
|
(function(RangePatternType2) {
|
|
703
703
|
RangePatternType2["startRange"] = "startRange";
|
|
@@ -705,7 +705,7 @@
|
|
|
705
705
|
RangePatternType2["endRange"] = "endRange";
|
|
706
706
|
})(RangePatternType || (RangePatternType = {}));
|
|
707
707
|
|
|
708
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
708
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/abstract/InitializePluralRules.js
|
|
709
709
|
function InitializePluralRules(pl, locales, options, _a) {
|
|
710
710
|
var availableLocales = _a.availableLocales, relevantExtensionKeys = _a.relevantExtensionKeys, localeData = _a.localeData, getDefaultLocale = _a.getDefaultLocale, getInternalSlots2 = _a.getInternalSlots;
|
|
711
711
|
var requestedLocales = CanonicalizeLocaleList(locales);
|
|
@@ -722,7 +722,7 @@
|
|
|
722
722
|
return pl;
|
|
723
723
|
}
|
|
724
724
|
|
|
725
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
725
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/abstract/GetOperands.js
|
|
726
726
|
function GetOperands(s) {
|
|
727
727
|
invariant(typeof s === "string", "GetOperands should have been called with a string");
|
|
728
728
|
var n = ToNumber(s);
|
|
@@ -763,7 +763,7 @@
|
|
|
763
763
|
};
|
|
764
764
|
}
|
|
765
765
|
|
|
766
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
766
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/abstract/ResolvePlural.js
|
|
767
767
|
function ResolvePlural(pl, n, _a) {
|
|
768
768
|
var getInternalSlots2 = _a.getInternalSlots, PluralRuleSelect2 = _a.PluralRuleSelect;
|
|
769
769
|
var internalSlots = getInternalSlots2(pl);
|
|
@@ -780,7 +780,7 @@
|
|
|
780
780
|
return PluralRuleSelect2(locale, type, n, operands);
|
|
781
781
|
}
|
|
782
782
|
|
|
783
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
783
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/get_internal_slots.js
|
|
784
784
|
var internalSlotMap = /* @__PURE__ */ new WeakMap();
|
|
785
785
|
function getInternalSlots(x) {
|
|
786
786
|
var internalSlots = internalSlotMap.get(x);
|
|
@@ -791,7 +791,7 @@
|
|
|
791
791
|
return internalSlots;
|
|
792
792
|
}
|
|
793
793
|
|
|
794
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
794
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/index.js
|
|
795
795
|
function validateInstance(instance, method) {
|
|
796
796
|
if (!(instance instanceof PluralRules)) {
|
|
797
797
|
throw new TypeError("Method Intl.PluralRules.prototype.".concat(method, " called on incompatible receiver ").concat(String(instance)));
|
|
@@ -905,10 +905,10 @@
|
|
|
905
905
|
} catch (ex) {
|
|
906
906
|
}
|
|
907
907
|
|
|
908
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
908
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/supported-locales.generated.js
|
|
909
909
|
var supportedLocales = ["af", "ak", "am", "an", "ar", "ars", "as", "asa", "ast", "az", "bal", "be", "bem", "bez", "bg", "bho", "bm", "bn", "bo", "br", "brx", "bs", "ca", "ce", "ceb", "cgg", "chr", "ckb", "cs", "cy", "da", "de", "doi", "dsb", "dv", "dz", "ee", "el", "en", "eo", "es", "et", "eu", "fa", "ff", "fi", "fil", "fo", "fr", "fur", "fy", "ga", "gd", "gl", "gsw", "gu", "guw", "gv", "ha", "haw", "he", "hi", "hnj", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "ii", "io", "is", "it", "iu", "ja", "jbo", "jgo", "jmc", "jv", "jw", "ka", "kab", "kaj", "kcg", "kde", "kea", "kk", "kkj", "kl", "km", "kn", "ko", "ks", "ksb", "ksh", "ku", "kw", "ky", "lag", "lb", "lg", "lij", "lkt", "ln", "lo", "lt", "lv", "mas", "mg", "mgo", "mk", "ml", "mn", "mo", "mr", "ms", "mt", "my", "nah", "naq", "nb", "nd", "ne", "nl", "nn", "nnh", "no", "nqo", "nr", "nso", "ny", "nyn", "om", "or", "os", "osa", "pa", "pap", "pcm", "pl", "prg", "ps", "pt", "pt-PT", "rm", "ro", "rof", "ru", "rwk", "sah", "saq", "sat", "sc", "scn", "sd", "sdh", "se", "seh", "ses", "sg", "sh", "shi", "si", "sk", "sl", "sma", "smi", "smj", "smn", "sms", "sn", "so", "sq", "sr", "ss", "ssy", "st", "su", "sv", "sw", "syr", "ta", "te", "teo", "th", "ti", "tig", "tk", "tl", "tn", "to", "tpi", "tr", "ts", "tzm", "ug", "uk", "und", "ur", "uz", "ve", "vi", "vo", "vun", "wa", "wae", "wo", "xh", "xog", "yi", "yo", "yue", "zh", "zu"];
|
|
910
910
|
|
|
911
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
911
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/should-polyfill.js
|
|
912
912
|
function supportedLocalesOf(locale) {
|
|
913
913
|
if (!locale) {
|
|
914
914
|
return true;
|
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
928
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-pluralrules/lib/polyfill.js
|
|
929
929
|
if (shouldPolyfill()) {
|
|
930
930
|
Object.defineProperty(Intl, "PluralRules", {
|
|
931
931
|
value: PluralRules,
|