@formatjs/intl-numberformat 8.5.0 → 8.6.0
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/index.d.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/polyfill-force.d.ts +0 -1
- package/lib/polyfill.d.ts +0 -1
- package/lib/should-polyfill.d.ts +0 -1
- package/lib/src/core.d.ts +0 -1
- package/lib/src/currency-digits.generated.d.ts +0 -1
- package/lib/src/currency-digits.generated.d.ts.map +1 -1
- package/lib/src/get_internal_slots.d.ts +0 -1
- package/lib/src/numbering-systems.generated.d.ts +0 -1
- package/lib/src/to_locale_string.d.ts +0 -1
- package/lib/src/types.d.ts +0 -1
- package/lib/supported-locales.generated.d.ts +0 -1
- package/package.json +34 -6
- package/polyfill-force.d.ts +0 -1
- package/polyfill.d.ts +0 -1
- package/polyfill.iife.js +51 -51
- package/should-polyfill.d.ts +0 -1
- package/src/core.d.ts +0 -1
- package/src/currency-digits.generated.d.ts +0 -1
- package/src/currency-digits.generated.d.ts.map +1 -1
- package/src/get_internal_slots.d.ts +0 -1
- package/src/numbering-systems.generated.d.ts +0 -1
- package/src/to_locale_string.d.ts +0 -1
- package/src/types.d.ts +0 -1
- package/supported-locales.generated.d.ts +0 -1
package/index.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
package/lib/polyfill-force.d.ts
CHANGED
package/lib/polyfill.d.ts
CHANGED
package/lib/should-polyfill.d.ts
CHANGED
package/lib/src/core.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"currency-digits.generated.d.ts","sourceRoot":"","sources":["../../src/currency-digits.generated.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"currency-digits.generated.d.ts","sourceRoot":"","sources":["../../src/currency-digits.generated.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAykB,CAAA"}
|
|
@@ -4,4 +4,3 @@ import { NumberFormatOptions } from '@formatjs/ecma402-abstract';
|
|
|
4
4
|
* https://tc39.es/ecma402/#sup-number.prototype.tolocalestring
|
|
5
5
|
*/
|
|
6
6
|
export declare function toLocaleString(x: number, locales?: string | string[], options?: NumberFormatOptions): string;
|
|
7
|
-
//# sourceMappingURL=to_locale_string.d.ts.map
|
package/lib/src/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-numberformat",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.6.0",
|
|
4
4
|
"description": "Ponyfill for ES2020 Intl.NumberFormat",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"polyfill",
|
|
@@ -17,19 +17,47 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"main": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./index.d.ts",
|
|
23
|
+
"import": "./lib/index.js",
|
|
24
|
+
"default": "./index.js"
|
|
25
|
+
},
|
|
26
|
+
"./polyfill": {
|
|
27
|
+
"types": "./polyfill.d.ts",
|
|
28
|
+
"import": "./lib/polyfill.js",
|
|
29
|
+
"default": "./polyfill.js"
|
|
30
|
+
},
|
|
31
|
+
"./polyfill-force": {
|
|
32
|
+
"types": "./polyfill-force.d.ts",
|
|
33
|
+
"import": "./lib/polyfill-force.js",
|
|
34
|
+
"default": "./polyfill-force.js"
|
|
35
|
+
},
|
|
36
|
+
"./should-polyfill": {
|
|
37
|
+
"types": "./should-polyfill.d.ts",
|
|
38
|
+
"import": "./lib/should-polyfill.js",
|
|
39
|
+
"default": "./should-polyfill.js"
|
|
40
|
+
},
|
|
41
|
+
"./locale-data/*": {
|
|
42
|
+
"types": "./locale-data/*.d.ts",
|
|
43
|
+
"default": "./locale-data/*.js"
|
|
44
|
+
},
|
|
45
|
+
"./polyfill.iife.js": "./polyfill.iife.js",
|
|
46
|
+
"./package.json": "./package.json"
|
|
47
|
+
},
|
|
20
48
|
"repository": {
|
|
21
49
|
"type": "git",
|
|
22
50
|
"url": "git+https://github.com/formatjs/formatjs.git"
|
|
23
51
|
},
|
|
24
52
|
"dependencies": {
|
|
25
|
-
"@formatjs/ecma402-abstract": "1.
|
|
26
|
-
"@formatjs/intl-localematcher": "0.
|
|
53
|
+
"@formatjs/ecma402-abstract": "1.16.0",
|
|
54
|
+
"@formatjs/intl-localematcher": "0.3.0",
|
|
27
55
|
"tslib": "^2.4.0"
|
|
28
56
|
},
|
|
29
57
|
"devDependencies": {
|
|
30
|
-
"@formatjs/intl-getcanonicallocales": "2.2.
|
|
31
|
-
"@formatjs/intl-locale": "3.3.
|
|
32
|
-
"@formatjs/intl-pluralrules": "5.2.
|
|
58
|
+
"@formatjs/intl-getcanonicallocales": "2.2.1",
|
|
59
|
+
"@formatjs/intl-locale": "3.3.1",
|
|
60
|
+
"@formatjs/intl-pluralrules": "5.2.3"
|
|
33
61
|
},
|
|
34
62
|
"bugs": {
|
|
35
63
|
"url": "https://github.com/formatjs/formatjs/issues"
|
package/polyfill-force.d.ts
CHANGED
package/polyfill.d.ts
CHANGED
package/polyfill.iife.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
(() => {
|
|
2
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CanonicalizeLocaleList.js
|
|
3
3
|
function CanonicalizeLocaleList(locales) {
|
|
4
4
|
return Intl.getCanonicalLocales(locales);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
7
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/262.js
|
|
8
8
|
function ToString(o) {
|
|
9
9
|
if (typeof o === "symbol") {
|
|
10
10
|
throw TypeError("Cannot convert a Symbol value to a string");
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
return Object.prototype.isPrototypeOf.call(P, O);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
79
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CoerceOptionsToObject.js
|
|
80
80
|
function CoerceOptionsToObject(options) {
|
|
81
81
|
if (typeof options === "undefined") {
|
|
82
82
|
return /* @__PURE__ */ Object.create(null);
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
return ToObject(options);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
87
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/DefaultNumberOption.js
|
|
88
88
|
function DefaultNumberOption(val, min, max, fallback) {
|
|
89
89
|
if (val !== void 0) {
|
|
90
90
|
val = Number(val);
|
|
@@ -96,13 +96,13 @@
|
|
|
96
96
|
return fallback;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
99
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetNumberOption.js
|
|
100
100
|
function GetNumberOption(options, property, minimum, maximum, fallback) {
|
|
101
101
|
var val = options[property];
|
|
102
102
|
return DefaultNumberOption(val, minimum, maximum, fallback);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
105
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetOption.js
|
|
106
106
|
function GetOption(opts, prop, type, values, fallback) {
|
|
107
107
|
if (typeof opts !== "object") {
|
|
108
108
|
throw new TypeError("Options must be an object");
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
return fallback;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
131
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetStringOrBooleanOption.js
|
|
132
132
|
function GetStringOrBooleanOption(opts, prop, values, trueValue, falsyValue, fallback) {
|
|
133
133
|
var value = opts[prop];
|
|
134
134
|
if (value === void 0) {
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
return value;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
154
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
|
|
155
155
|
var SANCTIONED_UNITS = [
|
|
156
156
|
"angle-degree",
|
|
157
157
|
"area-acre",
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
return SIMPLE_UNITS.indexOf(unitIdentifier) > -1;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
208
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsWellFormedCurrencyCode.js
|
|
209
209
|
function toUpperCase(str) {
|
|
210
210
|
return str.replace(/([a-z])/g, function(_, c) {
|
|
211
211
|
return c.toUpperCase();
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
return true;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
226
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsWellFormedUnitIdentifier.js
|
|
227
227
|
function toLowerCase(str) {
|
|
228
228
|
return str.replace(/([A-Z])/g, function(_, c) {
|
|
229
229
|
return c.toLowerCase();
|
|
@@ -245,12 +245,12 @@
|
|
|
245
245
|
return true;
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
248
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/CollapseNumberRange.js
|
|
249
249
|
function CollapseNumberRange(result) {
|
|
250
250
|
return result;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
253
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/utils.js
|
|
254
254
|
function getMagnitude(x) {
|
|
255
255
|
return Math.floor(Math.log(x) * Math.LOG10E);
|
|
256
256
|
}
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
285
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ComputeExponentForMagnitude.js
|
|
286
286
|
function ComputeExponentForMagnitude(numberFormat, magnitude, _a) {
|
|
287
287
|
var getInternalSlots2 = _a.getInternalSlots;
|
|
288
288
|
var internalSlots = getInternalSlots2(numberFormat);
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
332
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ToRawPrecision.js
|
|
333
333
|
function ToRawPrecision(x, minPrecision, maxPrecision) {
|
|
334
334
|
var p = maxPrecision;
|
|
335
335
|
var m;
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
390
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ToRawFixed.js
|
|
391
391
|
function ToRawFixed(x, minFraction, maxFraction) {
|
|
392
392
|
var f = maxFraction;
|
|
393
393
|
var n = Math.round(x * Math.pow(10, f));
|
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
return { formattedString: m, roundedNumber: xFinal, integerDigitsCount: int };
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
430
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericToString.js
|
|
431
431
|
function FormatNumericToString(intlObject, x) {
|
|
432
432
|
var isNegative = x < 0 || SameValue(x, -0);
|
|
433
433
|
if (isNegative) {
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
return { roundedNumber: x, formattedString: string };
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
466
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ComputeExponent.js
|
|
467
467
|
function ComputeExponent(numberFormat, x, _a) {
|
|
468
468
|
var getInternalSlots2 = _a.getInternalSlots;
|
|
469
469
|
if (x === 0) {
|
|
@@ -493,13 +493,13 @@
|
|
|
493
493
|
];
|
|
494
494
|
}
|
|
495
495
|
|
|
496
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
496
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/CurrencyDigits.js
|
|
497
497
|
function CurrencyDigits(c, _a) {
|
|
498
498
|
var currencyDigitsData2 = _a.currencyDigitsData;
|
|
499
499
|
return HasOwnProperty(currencyDigitsData2, c) ? currencyDigitsData2[c] : 2;
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
502
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatApproximately.js
|
|
503
503
|
function FormatApproximately(numberFormat, result, _a) {
|
|
504
504
|
var getInternalSlots2 = _a.getInternalSlots;
|
|
505
505
|
var internalSlots = getInternalSlots2(numberFormat);
|
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
return result;
|
|
510
510
|
}
|
|
511
511
|
|
|
512
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
512
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/digit-mapping.generated.js
|
|
513
513
|
var digitMapping = {
|
|
514
514
|
"adlm": [
|
|
515
515
|
"\u{1E950}",
|
|
@@ -1293,10 +1293,10 @@
|
|
|
1293
1293
|
]
|
|
1294
1294
|
};
|
|
1295
1295
|
|
|
1296
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1296
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/regex.generated.js
|
|
1297
1297
|
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]/;
|
|
1298
1298
|
|
|
1299
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1299
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/format_to_parts.js
|
|
1300
1300
|
var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
|
|
1301
1301
|
var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
|
|
1302
1302
|
var CLDR_NUMBER_PATTERN = /[#0](?:[\.,][#0]+)*/g;
|
|
@@ -1596,7 +1596,7 @@
|
|
|
1596
1596
|
return rules[pl.select(x)] || rules.other;
|
|
1597
1597
|
}
|
|
1598
1598
|
|
|
1599
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1599
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/PartitionNumberPattern.js
|
|
1600
1600
|
function PartitionNumberPattern(numberFormat, x, _a) {
|
|
1601
1601
|
var _b;
|
|
1602
1602
|
var getInternalSlots2 = _a.getInternalSlots;
|
|
@@ -1660,7 +1660,7 @@
|
|
|
1660
1660
|
return formatToParts({ roundedNumber: x, formattedString: n, exponent, magnitude, sign }, internalSlots.dataLocaleData, pl, internalSlots);
|
|
1661
1661
|
}
|
|
1662
1662
|
|
|
1663
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1663
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/PartitionNumberRangePattern.js
|
|
1664
1664
|
function PartitionNumberRangePattern(numberFormat, x, y, _a) {
|
|
1665
1665
|
var getInternalSlots2 = _a.getInternalSlots;
|
|
1666
1666
|
if (isNaN(x) || isNaN(y)) {
|
|
@@ -1688,7 +1688,7 @@
|
|
|
1688
1688
|
return CollapseNumberRange(result);
|
|
1689
1689
|
}
|
|
1690
1690
|
|
|
1691
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1691
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericRange.js
|
|
1692
1692
|
function FormatNumericRange(numberFormat, x, y, _a) {
|
|
1693
1693
|
var getInternalSlots2 = _a.getInternalSlots;
|
|
1694
1694
|
var parts = PartitionNumberRangePattern(numberFormat, x, y, {
|
|
@@ -1699,7 +1699,7 @@
|
|
|
1699
1699
|
}).join("");
|
|
1700
1700
|
}
|
|
1701
1701
|
|
|
1702
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1702
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericRangeToParts.js
|
|
1703
1703
|
function FormatNumericRangeToParts(numberFormat, x, y, _a) {
|
|
1704
1704
|
var getInternalSlots2 = _a.getInternalSlots;
|
|
1705
1705
|
var parts = PartitionNumberRangePattern(numberFormat, x, y, {
|
|
@@ -1715,7 +1715,7 @@
|
|
|
1715
1715
|
});
|
|
1716
1716
|
}
|
|
1717
1717
|
|
|
1718
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1718
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericToParts.js
|
|
1719
1719
|
function FormatNumericToParts(nf, x, implDetails) {
|
|
1720
1720
|
var parts = PartitionNumberPattern(nf, x, implDetails);
|
|
1721
1721
|
var result = ArrayCreate(0);
|
|
@@ -1729,12 +1729,12 @@
|
|
|
1729
1729
|
return result;
|
|
1730
1730
|
}
|
|
1731
1731
|
|
|
1732
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1732
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/CanonicalizeLocaleList.js
|
|
1733
1733
|
function CanonicalizeLocaleList2(locales) {
|
|
1734
1734
|
return Intl.getCanonicalLocales(locales);
|
|
1735
1735
|
}
|
|
1736
1736
|
|
|
1737
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1737
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/utils.js
|
|
1738
1738
|
var UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;
|
|
1739
1739
|
function invariant2(condition, message, Err) {
|
|
1740
1740
|
if (Err === void 0) {
|
|
@@ -1745,7 +1745,7 @@
|
|
|
1745
1745
|
}
|
|
1746
1746
|
}
|
|
1747
1747
|
|
|
1748
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1748
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestAvailableLocale.js
|
|
1749
1749
|
function BestAvailableLocale(availableLocales, locale) {
|
|
1750
1750
|
var candidate = locale;
|
|
1751
1751
|
while (true) {
|
|
@@ -1763,7 +1763,7 @@
|
|
|
1763
1763
|
}
|
|
1764
1764
|
}
|
|
1765
1765
|
|
|
1766
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1766
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupMatcher.js
|
|
1767
1767
|
function LookupMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
1768
1768
|
var result = { locale: "" };
|
|
1769
1769
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -1782,7 +1782,7 @@
|
|
|
1782
1782
|
return result;
|
|
1783
1783
|
}
|
|
1784
1784
|
|
|
1785
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1785
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestFitMatcher.js
|
|
1786
1786
|
function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
1787
1787
|
var minimizedAvailableLocaleMap = {};
|
|
1788
1788
|
var availableLocaleMap = {};
|
|
@@ -1830,7 +1830,7 @@
|
|
|
1830
1830
|
};
|
|
1831
1831
|
}
|
|
1832
1832
|
|
|
1833
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1833
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/UnicodeExtensionValue.js
|
|
1834
1834
|
function UnicodeExtensionValue(extension, key) {
|
|
1835
1835
|
invariant2(key.length === 2, "key must have 2 elements");
|
|
1836
1836
|
var size = extension.length;
|
|
@@ -1869,7 +1869,7 @@
|
|
|
1869
1869
|
return void 0;
|
|
1870
1870
|
}
|
|
1871
1871
|
|
|
1872
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1872
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/ResolveLocale.js
|
|
1873
1873
|
function ResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
|
|
1874
1874
|
var matcher = options.localeMatcher;
|
|
1875
1875
|
var r;
|
|
@@ -1933,7 +1933,7 @@
|
|
|
1933
1933
|
return result;
|
|
1934
1934
|
}
|
|
1935
1935
|
|
|
1936
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1936
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupSupportedLocales.js
|
|
1937
1937
|
function LookupSupportedLocales(availableLocales, requestedLocales) {
|
|
1938
1938
|
var subset = [];
|
|
1939
1939
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -1947,7 +1947,7 @@
|
|
|
1947
1947
|
return subset;
|
|
1948
1948
|
}
|
|
1949
1949
|
|
|
1950
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1950
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/index.js
|
|
1951
1951
|
function match(requestedLocales, availableLocales, defaultLocale, opts) {
|
|
1952
1952
|
var locales = availableLocales.reduce(function(all, l) {
|
|
1953
1953
|
all.add(l);
|
|
@@ -1960,7 +1960,7 @@
|
|
|
1960
1960
|
}).locale;
|
|
1961
1961
|
}
|
|
1962
1962
|
|
|
1963
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1963
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/SetNumberFormatUnitOptions.js
|
|
1964
1964
|
function SetNumberFormatUnitOptions(nf, options, _a) {
|
|
1965
1965
|
if (options === void 0) {
|
|
1966
1966
|
options = /* @__PURE__ */ Object.create(null);
|
|
@@ -1997,7 +1997,7 @@
|
|
|
1997
1997
|
}
|
|
1998
1998
|
}
|
|
1999
1999
|
|
|
2000
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2000
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/SetNumberFormatDigitOptions.js
|
|
2001
2001
|
function SetNumberFormatDigitOptions(internalSlots, opts, mnfdDefault, mxfdDefault, notation) {
|
|
2002
2002
|
var mnid = GetNumberOption(opts, "minimumIntegerDigits", 1, 21, 1);
|
|
2003
2003
|
var mnfd = opts.minimumFractionDigits;
|
|
@@ -2064,7 +2064,7 @@
|
|
|
2064
2064
|
}
|
|
2065
2065
|
}
|
|
2066
2066
|
|
|
2067
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2067
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/InitializeNumberFormat.js
|
|
2068
2068
|
var VALID_ROUND_INCREMENT_VALUES = [
|
|
2069
2069
|
1,
|
|
2070
2070
|
2,
|
|
@@ -2159,7 +2159,7 @@
|
|
|
2159
2159
|
return nf;
|
|
2160
2160
|
}
|
|
2161
2161
|
|
|
2162
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2162
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/SupportedLocales.js
|
|
2163
2163
|
function SupportedLocales(availableLocales, requestedLocales, options) {
|
|
2164
2164
|
var matcher = "best fit";
|
|
2165
2165
|
if (options !== void 0) {
|
|
@@ -2172,7 +2172,7 @@
|
|
|
2172
2172
|
return LookupSupportedLocales(availableLocales, requestedLocales);
|
|
2173
2173
|
}
|
|
2174
2174
|
|
|
2175
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2175
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
|
|
2176
2176
|
var extendStatics = function(d, b) {
|
|
2177
2177
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
2178
2178
|
d2.__proto__ = b2;
|
|
@@ -2193,7 +2193,7 @@
|
|
|
2193
2193
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2194
2194
|
}
|
|
2195
2195
|
|
|
2196
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2196
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/data.js
|
|
2197
2197
|
var MissingLocaleDataError = (
|
|
2198
2198
|
/** @class */
|
|
2199
2199
|
function(_super) {
|
|
@@ -2207,7 +2207,7 @@
|
|
|
2207
2207
|
}(Error)
|
|
2208
2208
|
);
|
|
2209
2209
|
|
|
2210
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2210
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/types/date-time.js
|
|
2211
2211
|
var RangePatternType;
|
|
2212
2212
|
(function(RangePatternType2) {
|
|
2213
2213
|
RangePatternType2["startRange"] = "startRange";
|
|
@@ -2215,7 +2215,7 @@
|
|
|
2215
2215
|
RangePatternType2["endRange"] = "endRange";
|
|
2216
2216
|
})(RangePatternType || (RangePatternType = {}));
|
|
2217
2217
|
|
|
2218
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2218
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/src/currency-digits.generated.js
|
|
2219
2219
|
var currencyDigitsData = {
|
|
2220
2220
|
"ADP": 0,
|
|
2221
2221
|
"AFN": 0,
|
|
@@ -2291,10 +2291,10 @@
|
|
|
2291
2291
|
"ZWD": 0
|
|
2292
2292
|
};
|
|
2293
2293
|
|
|
2294
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2294
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/src/numbering-systems.generated.js
|
|
2295
2295
|
var numberingSystemNames = ["adlm", "ahom", "arab", "arabext", "armn", "armnlow", "bali", "beng", "bhks", "brah", "cakm", "cham", "cyrl", "deva", "diak", "ethi", "fullwide", "geor", "gong", "gonm", "grek", "greklow", "gujr", "guru", "hanidays", "hanidec", "hans", "hansfin", "hant", "hantfin", "hebr", "hmng", "hmnp", "java", "jpan", "jpanfin", "jpanyear", "kali", "khmr", "knda", "lana", "lanatham", "laoo", "latn", "lepc", "limb", "mathbold", "mathdbl", "mathmono", "mathsanb", "mathsans", "mlym", "modi", "mong", "mroo", "mtei", "mymr", "mymrshan", "mymrtlng", "newa", "nkoo", "olck", "orya", "osma", "rohg", "roman", "romanlow", "saur", "segment", "shrd", "sind", "sinh", "sora", "sund", "takr", "talu", "taml", "tamldec", "telu", "thai", "tibt", "tirh", "tnsa", "vaii", "wara", "wcho"];
|
|
2296
2296
|
|
|
2297
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2297
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/src/get_internal_slots.js
|
|
2298
2298
|
var internalSlotMap = /* @__PURE__ */ new WeakMap();
|
|
2299
2299
|
function getInternalSlots(x) {
|
|
2300
2300
|
var internalSlots = internalSlotMap.get(x);
|
|
@@ -2305,7 +2305,7 @@
|
|
|
2305
2305
|
return internalSlots;
|
|
2306
2306
|
}
|
|
2307
2307
|
|
|
2308
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2308
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/src/core.js
|
|
2309
2309
|
var RESOLVED_OPTIONS_KEYS = [
|
|
2310
2310
|
"locale",
|
|
2311
2311
|
"numberingSystem",
|
|
@@ -2520,16 +2520,16 @@
|
|
|
2520
2520
|
} catch (e) {
|
|
2521
2521
|
}
|
|
2522
2522
|
|
|
2523
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2523
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/src/to_locale_string.js
|
|
2524
2524
|
function toLocaleString(x, locales, options) {
|
|
2525
2525
|
var numberFormat = new NumberFormat(locales, options);
|
|
2526
2526
|
return numberFormat.format(x);
|
|
2527
2527
|
}
|
|
2528
2528
|
|
|
2529
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2529
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/supported-locales.generated.js
|
|
2530
2530
|
var supportedLocales = ["af", "af-NA", "agq", "ak", "am", "ar", "ar-AE", "ar-BH", "ar-DJ", "ar-DZ", "ar-EG", "ar-EH", "ar-ER", "ar-IL", "ar-IQ", "ar-JO", "ar-KM", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-MR", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SD", "ar-SO", "ar-SS", "ar-SY", "ar-TD", "ar-TN", "ar-YE", "as", "asa", "ast", "az", "az-Cyrl", "az-Latn", "bas", "be", "be-tarask", "bem", "bez", "bg", "bm", "bn", "bn-IN", "bo", "bo-IN", "br", "brx", "bs", "bs-Cyrl", "bs-Latn", "ca", "ca-AD", "ca-ES-valencia", "ca-FR", "ca-IT", "ccp", "ccp-IN", "ce", "ceb", "cgg", "chr", "ckb", "ckb-IR", "cs", "cy", "da", "da-GL", "dav", "de", "de-AT", "de-BE", "de-CH", "de-IT", "de-LI", "de-LU", "dje", "doi", "dsb", "dua", "dyo", "dz", "ebu", "ee", "ee-TG", "el", "el-CY", "en", "en-001", "en-150", "en-AE", "en-AG", "en-AI", "en-AS", "en-AT", "en-AU", "en-BB", "en-BE", "en-BI", "en-BM", "en-BS", "en-BW", "en-BZ", "en-CA", "en-CC", "en-CH", "en-CK", "en-CM", "en-CX", "en-CY", "en-DE", "en-DG", "en-DK", "en-DM", "en-ER", "en-FI", "en-FJ", "en-FK", "en-FM", "en-GB", "en-GD", "en-GG", "en-GH", "en-GI", "en-GM", "en-GU", "en-GY", "en-HK", "en-IE", "en-IL", "en-IM", "en-IN", "en-IO", "en-JE", "en-JM", "en-KE", "en-KI", "en-KN", "en-KY", "en-LC", "en-LR", "en-LS", "en-MG", "en-MH", "en-MO", "en-MP", "en-MS", "en-MT", "en-MU", "en-MW", "en-MY", "en-NA", "en-NF", "en-NG", "en-NL", "en-NR", "en-NU", "en-NZ", "en-PG", "en-PH", "en-PK", "en-PN", "en-PR", "en-PW", "en-RW", "en-SB", "en-SC", "en-SD", "en-SE", "en-SG", "en-SH", "en-SI", "en-SL", "en-SS", "en-SX", "en-SZ", "en-TC", "en-TK", "en-TO", "en-TT", "en-TV", "en-TZ", "en-UG", "en-UM", "en-VC", "en-VG", "en-VI", "en-VU", "en-WS", "en-ZA", "en-ZM", "en-ZW", "eo", "es", "es-419", "es-AR", "es-BO", "es-BR", "es-BZ", "es-CL", "es-CO", "es-CR", "es-CU", "es-DO", "es-EA", "es-EC", "es-GQ", "es-GT", "es-HN", "es-IC", "es-MX", "es-NI", "es-PA", "es-PE", "es-PH", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et", "eu", "ewo", "fa", "fa-AF", "ff", "ff-Adlm", "ff-Adlm-BF", "ff-Adlm-CM", "ff-Adlm-GH", "ff-Adlm-GM", "ff-Adlm-GW", "ff-Adlm-LR", "ff-Adlm-MR", "ff-Adlm-NE", "ff-Adlm-NG", "ff-Adlm-SL", "ff-Adlm-SN", "ff-Latn", "ff-Latn-BF", "ff-Latn-CM", "ff-Latn-GH", "ff-Latn-GM", "ff-Latn-GN", "ff-Latn-GW", "ff-Latn-LR", "ff-Latn-MR", "ff-Latn-NE", "ff-Latn-NG", "ff-Latn-SL", "fi", "fil", "fo", "fo-DK", "fr", "fr-BE", "fr-BF", "fr-BI", "fr-BJ", "fr-BL", "fr-CA", "fr-CD", "fr-CF", "fr-CG", "fr-CH", "fr-CI", "fr-CM", "fr-DJ", "fr-DZ", "fr-GA", "fr-GF", "fr-GN", "fr-GP", "fr-GQ", "fr-HT", "fr-KM", "fr-LU", "fr-MA", "fr-MC", "fr-MF", "fr-MG", "fr-ML", "fr-MQ", "fr-MR", "fr-MU", "fr-NC", "fr-NE", "fr-PF", "fr-PM", "fr-RE", "fr-RW", "fr-SC", "fr-SN", "fr-SY", "fr-TD", "fr-TG", "fr-TN", "fr-VU", "fr-WF", "fr-YT", "fur", "fy", "ga", "ga-GB", "gd", "gl", "gsw", "gsw-FR", "gsw-LI", "gu", "guz", "gv", "ha", "ha-GH", "ha-NE", "haw", "he", "hi", "hr", "hr-BA", "hsb", "hu", "hy", "ia", "id", "ig", "ii", "is", "it", "it-CH", "it-SM", "it-VA", "ja", "jgo", "jmc", "jv", "ka", "kab", "kam", "kde", "kea", "kgp", "khq", "ki", "kk", "kkj", "kl", "kln", "km", "kn", "ko", "ko-KP", "kok", "ks", "ks-Arab", "ksb", "ksf", "ksh", "ku", "kw", "ky", "lag", "lb", "lg", "lkt", "ln", "ln-AO", "ln-CF", "ln-CG", "lo", "lrc", "lrc-IQ", "lt", "lu", "luo", "luy", "lv", "mai", "mas", "mas-TZ", "mer", "mfe", "mg", "mgh", "mgo", "mi", "mk", "ml", "mn", "mni", "mni-Beng", "mr", "ms", "ms-BN", "ms-ID", "ms-SG", "mt", "mua", "my", "mzn", "naq", "nb", "nb-SJ", "nd", "nds", "nds-NL", "ne", "ne-IN", "nl", "nl-AW", "nl-BE", "nl-BQ", "nl-CW", "nl-SR", "nl-SX", "nmg", "nn", "nnh", "no", "nus", "nyn", "om", "om-KE", "or", "os", "os-RU", "pa", "pa-Arab", "pa-Guru", "pcm", "pl", "ps", "ps-PK", "pt", "pt-AO", "pt-CH", "pt-CV", "pt-GQ", "pt-GW", "pt-LU", "pt-MO", "pt-MZ", "pt-PT", "pt-ST", "pt-TL", "qu", "qu-BO", "qu-EC", "rm", "rn", "ro", "ro-MD", "rof", "ru", "ru-BY", "ru-KG", "ru-KZ", "ru-MD", "ru-UA", "rw", "rwk", "sa", "sah", "saq", "sat", "sat-Olck", "sbp", "sc", "sd", "sd-Arab", "sd-Deva", "se", "se-FI", "se-SE", "seh", "ses", "sg", "shi", "shi-Latn", "shi-Tfng", "si", "sk", "sl", "smn", "sn", "so", "so-DJ", "so-ET", "so-KE", "sq", "sq-MK", "sq-XK", "sr", "sr-Cyrl", "sr-Cyrl-BA", "sr-Cyrl-ME", "sr-Cyrl-XK", "sr-Latn", "sr-Latn-BA", "sr-Latn-ME", "sr-Latn-XK", "su", "su-Latn", "sv", "sv-AX", "sv-FI", "sw", "sw-CD", "sw-KE", "sw-UG", "ta", "ta-LK", "ta-MY", "ta-SG", "te", "teo", "teo-KE", "tg", "th", "ti", "ti-ER", "tk", "to", "tr", "tr-CY", "tt", "twq", "tzm", "ug", "uk", "und", "ur", "ur-IN", "uz", "uz-Arab", "uz-Cyrl", "uz-Latn", "vai", "vai-Latn", "vai-Vaii", "vi", "vun", "wae", "wo", "xh", "xog", "yav", "yi", "yo", "yo-BJ", "yrl", "yrl-CO", "yrl-VE", "yue", "yue-Hans", "yue-Hant", "zgh", "zh", "zh-Hans", "zh-Hans-HK", "zh-Hans-MO", "zh-Hans-SG", "zh-Hant", "zh-Hant-HK", "zh-Hant-MO", "zu"];
|
|
2531
2531
|
|
|
2532
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2532
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/should-polyfill.js
|
|
2533
2533
|
function onlySupportsEn() {
|
|
2534
2534
|
return !Intl.NumberFormat.polyfilled && !Intl.NumberFormat.supportedLocalesOf(["es"]).length;
|
|
2535
2535
|
}
|
|
@@ -2565,7 +2565,7 @@
|
|
|
2565
2565
|
}
|
|
2566
2566
|
}
|
|
2567
2567
|
|
|
2568
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2568
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-numberformat/lib/polyfill.js
|
|
2569
2569
|
if (shouldPolyfill()) {
|
|
2570
2570
|
defineProperty(Intl, "NumberFormat", { value: NumberFormat });
|
|
2571
2571
|
defineProperty(Number.prototype, "toLocaleString", {
|
package/should-polyfill.d.ts
CHANGED
package/src/core.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"currency-digits.generated.d.ts","sourceRoot":"","sources":["../src/currency-digits.generated.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"currency-digits.generated.d.ts","sourceRoot":"","sources":["../src/currency-digits.generated.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAykB,CAAA"}
|
|
@@ -4,4 +4,3 @@ import { NumberFormatOptions } from '@formatjs/ecma402-abstract';
|
|
|
4
4
|
* https://tc39.es/ecma402/#sup-number.prototype.tolocalestring
|
|
5
5
|
*/
|
|
6
6
|
export declare function toLocaleString(x: number, locales?: string | string[], options?: NumberFormatOptions): string;
|
|
7
|
-
//# sourceMappingURL=to_locale_string.d.ts.map
|
package/src/types.d.ts
CHANGED