@formatjs/intl-datetimeformat 6.4.3 → 6.5.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/package.json +3 -3
- package/polyfill.iife.js +50 -50
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-datetimeformat",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.0",
|
|
4
4
|
"description": "Intl.DateTimeFormat polyfill",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"tslib": "^2.4.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@formatjs/intl-getcanonicallocales": "2.0
|
|
31
|
-
"@formatjs/intl-locale": "3.0
|
|
30
|
+
"@formatjs/intl-getcanonicallocales": "2.1.0",
|
|
31
|
+
"@formatjs/intl-locale": "3.1.0"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/polyfill.iife.js
CHANGED
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
mod2
|
|
22
22
|
));
|
|
23
23
|
|
|
24
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
24
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.js
|
|
25
25
|
var require_tslib = __commonJS({
|
|
26
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
26
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.js"(exports, module) {
|
|
27
27
|
var __extends2;
|
|
28
28
|
var __assign2;
|
|
29
29
|
var __rest2;
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
}
|
|
462
462
|
});
|
|
463
463
|
|
|
464
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
464
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/modules/index.js
|
|
465
465
|
var import_tslib = __toESM(require_tslib(), 1);
|
|
466
466
|
var {
|
|
467
467
|
__extends,
|
|
@@ -491,12 +491,12 @@
|
|
|
491
491
|
__classPrivateFieldIn
|
|
492
492
|
} = import_tslib.default;
|
|
493
493
|
|
|
494
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
494
|
+
// ../../../../../../../../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
|
|
495
495
|
function CanonicalizeLocaleList(locales) {
|
|
496
496
|
return Intl.getCanonicalLocales(locales);
|
|
497
497
|
}
|
|
498
498
|
|
|
499
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
499
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CanonicalizeTimeZoneName.js
|
|
500
500
|
function CanonicalizeTimeZoneName(tz, _a) {
|
|
501
501
|
var tzData = _a.tzData, uppercaseLinks = _a.uppercaseLinks;
|
|
502
502
|
var uppercasedTz = tz.toUpperCase();
|
|
@@ -511,7 +511,7 @@
|
|
|
511
511
|
return ianaTimeZone;
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
514
|
+
// ../../../../../../../../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
|
|
515
515
|
function ToString(o) {
|
|
516
516
|
if (typeof o === "symbol") {
|
|
517
517
|
throw TypeError("Cannot convert a Symbol value to a string");
|
|
@@ -762,7 +762,7 @@
|
|
|
762
762
|
return mod(t, MS_PER_SECOND);
|
|
763
763
|
}
|
|
764
764
|
|
|
765
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
765
|
+
// ../../../../../../../../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
|
|
766
766
|
function DefaultNumberOption(val, min, max, fallback) {
|
|
767
767
|
if (val !== void 0) {
|
|
768
768
|
val = Number(val);
|
|
@@ -774,13 +774,13 @@
|
|
|
774
774
|
return fallback;
|
|
775
775
|
}
|
|
776
776
|
|
|
777
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
777
|
+
// ../../../../../../../../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
|
|
778
778
|
function GetNumberOption(options, property, minimum, maximum, fallback) {
|
|
779
779
|
var val = options[property];
|
|
780
780
|
return DefaultNumberOption(val, minimum, maximum, fallback);
|
|
781
781
|
}
|
|
782
782
|
|
|
783
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
783
|
+
// ../../../../../../../../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
|
|
784
784
|
function GetOption(opts, prop, type, values, fallback) {
|
|
785
785
|
if (typeof opts !== "object") {
|
|
786
786
|
throw new TypeError("Options must be an object");
|
|
@@ -806,7 +806,7 @@
|
|
|
806
806
|
return fallback;
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
809
|
+
// ../../../../../../../../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
|
|
810
810
|
var SANCTIONED_UNITS = [
|
|
811
811
|
"angle-degree",
|
|
812
812
|
"area-acre",
|
|
@@ -857,7 +857,7 @@
|
|
|
857
857
|
}
|
|
858
858
|
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
|
|
859
859
|
|
|
860
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
860
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsValidTimeZoneName.js
|
|
861
861
|
function IsValidTimeZoneName(tz, _a) {
|
|
862
862
|
var tzData = _a.tzData, uppercaseLinks = _a.uppercaseLinks;
|
|
863
863
|
var uppercasedTz = tz.toUpperCase();
|
|
@@ -875,7 +875,7 @@
|
|
|
875
875
|
return zoneNames.has(uppercasedTz) || linkNames.has(uppercasedTz);
|
|
876
876
|
}
|
|
877
877
|
|
|
878
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
878
|
+
// ../../../../../../../../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
|
|
879
879
|
function defineProperty(target, name, _a) {
|
|
880
880
|
var value = _a.value;
|
|
881
881
|
Object.defineProperty(target, name, {
|
|
@@ -894,19 +894,19 @@
|
|
|
894
894
|
}
|
|
895
895
|
}
|
|
896
896
|
|
|
897
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
897
|
+
// ../../../../../../../../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
|
|
898
898
|
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]/;
|
|
899
899
|
|
|
900
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
900
|
+
// ../../../../../../../../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
|
|
901
901
|
var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
|
|
902
902
|
var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
|
|
903
903
|
|
|
904
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
904
|
+
// ../../../../../../../../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
|
|
905
905
|
function CanonicalizeLocaleList2(locales) {
|
|
906
906
|
return Intl.getCanonicalLocales(locales);
|
|
907
907
|
}
|
|
908
908
|
|
|
909
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
909
|
+
// ../../../../../../../../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
|
|
910
910
|
var UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;
|
|
911
911
|
function invariant2(condition, message, Err) {
|
|
912
912
|
if (Err === void 0) {
|
|
@@ -917,7 +917,7 @@
|
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
919
|
|
|
920
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
920
|
+
// ../../../../../../../../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
|
|
921
921
|
function BestAvailableLocale(availableLocales, locale) {
|
|
922
922
|
var candidate = locale;
|
|
923
923
|
while (true) {
|
|
@@ -935,7 +935,7 @@
|
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
937
|
|
|
938
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
938
|
+
// ../../../../../../../../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
|
|
939
939
|
function LookupMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
940
940
|
var result = { locale: "" };
|
|
941
941
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -954,7 +954,7 @@
|
|
|
954
954
|
return result;
|
|
955
955
|
}
|
|
956
956
|
|
|
957
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
957
|
+
// ../../../../../../../../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
|
|
958
958
|
function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
959
959
|
var minimizedAvailableLocaleMap = {};
|
|
960
960
|
var availableLocaleMap = {};
|
|
@@ -1002,7 +1002,7 @@
|
|
|
1002
1002
|
};
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
1005
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1005
|
+
// ../../../../../../../../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
|
|
1006
1006
|
function UnicodeExtensionValue(extension, key) {
|
|
1007
1007
|
invariant2(key.length === 2, "key must have 2 elements");
|
|
1008
1008
|
var size = extension.length;
|
|
@@ -1041,7 +1041,7 @@
|
|
|
1041
1041
|
return void 0;
|
|
1042
1042
|
}
|
|
1043
1043
|
|
|
1044
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1044
|
+
// ../../../../../../../../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
|
|
1045
1045
|
function ResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
|
|
1046
1046
|
var matcher = options.localeMatcher;
|
|
1047
1047
|
var r;
|
|
@@ -1105,7 +1105,7 @@
|
|
|
1105
1105
|
return result;
|
|
1106
1106
|
}
|
|
1107
1107
|
|
|
1108
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1108
|
+
// ../../../../../../../../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
|
|
1109
1109
|
function LookupSupportedLocales(availableLocales, requestedLocales) {
|
|
1110
1110
|
var subset = [];
|
|
1111
1111
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -1119,7 +1119,7 @@
|
|
|
1119
1119
|
return subset;
|
|
1120
1120
|
}
|
|
1121
1121
|
|
|
1122
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1122
|
+
// ../../../../../../../../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
|
|
1123
1123
|
function match(requestedLocales, availableLocales, defaultLocale, opts) {
|
|
1124
1124
|
var locales = availableLocales.reduce(function(all, l) {
|
|
1125
1125
|
all.add(l);
|
|
@@ -1132,7 +1132,7 @@
|
|
|
1132
1132
|
}).locale;
|
|
1133
1133
|
}
|
|
1134
1134
|
|
|
1135
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1135
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/PartitionPattern.js
|
|
1136
1136
|
function PartitionPattern(pattern) {
|
|
1137
1137
|
var result = [];
|
|
1138
1138
|
var beginIndex = pattern.indexOf("{");
|
|
@@ -1164,7 +1164,7 @@
|
|
|
1164
1164
|
return result;
|
|
1165
1165
|
}
|
|
1166
1166
|
|
|
1167
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1167
|
+
// ../../../../../../../../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
|
|
1168
1168
|
function SupportedLocales(availableLocales, requestedLocales, options) {
|
|
1169
1169
|
var matcher = "best fit";
|
|
1170
1170
|
if (options !== void 0) {
|
|
@@ -1177,7 +1177,7 @@
|
|
|
1177
1177
|
return LookupSupportedLocales(availableLocales, requestedLocales);
|
|
1178
1178
|
}
|
|
1179
1179
|
|
|
1180
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1180
|
+
// ../../../../../../../../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
|
|
1181
1181
|
var MissingLocaleDataError = function(_super) {
|
|
1182
1182
|
__extends(MissingLocaleDataError2, _super);
|
|
1183
1183
|
function MissingLocaleDataError2() {
|
|
@@ -1188,7 +1188,7 @@
|
|
|
1188
1188
|
return MissingLocaleDataError2;
|
|
1189
1189
|
}(Error);
|
|
1190
1190
|
|
|
1191
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1191
|
+
// ../../../../../../../../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
|
|
1192
1192
|
var RangePatternType;
|
|
1193
1193
|
(function(RangePatternType2) {
|
|
1194
1194
|
RangePatternType2["startRange"] = "startRange";
|
|
@@ -1196,7 +1196,7 @@
|
|
|
1196
1196
|
RangePatternType2["endRange"] = "endRange";
|
|
1197
1197
|
})(RangePatternType || (RangePatternType = {}));
|
|
1198
1198
|
|
|
1199
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1199
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/get_internal_slots.js
|
|
1200
1200
|
var internalSlotMap = /* @__PURE__ */ new WeakMap();
|
|
1201
1201
|
function getInternalSlots(x) {
|
|
1202
1202
|
var internalSlots = internalSlotMap.get(x);
|
|
@@ -1207,7 +1207,7 @@
|
|
|
1207
1207
|
return internalSlots;
|
|
1208
1208
|
}
|
|
1209
1209
|
|
|
1210
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1210
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/data/links.js
|
|
1211
1211
|
var links_default = {
|
|
1212
1212
|
"Australia/ACT": "Australia/Sydney",
|
|
1213
1213
|
"Australia/LHI": "Australia/Lord_Howe",
|
|
@@ -1454,7 +1454,7 @@
|
|
|
1454
1454
|
"Pacific/Truk": "Pacific/Port_Moresby"
|
|
1455
1455
|
};
|
|
1456
1456
|
|
|
1457
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1457
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/packer.js
|
|
1458
1458
|
function unpack(data) {
|
|
1459
1459
|
var abbrvs = data.abbrvs.split("|");
|
|
1460
1460
|
var offsets = data.offsets.split("|").map(function(n) {
|
|
@@ -1480,7 +1480,7 @@
|
|
|
1480
1480
|
return zones;
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1483
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/utils.js
|
|
1484
1484
|
var DATE_TIME_PROPS = [
|
|
1485
1485
|
"weekday",
|
|
1486
1486
|
"era",
|
|
@@ -1503,7 +1503,7 @@
|
|
|
1503
1503
|
var shortMorePenalty = 3;
|
|
1504
1504
|
var offsetPenalty = 1;
|
|
1505
1505
|
|
|
1506
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1506
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/ToLocalTime.js
|
|
1507
1507
|
function getApplicableZoneData(t, timeZone, tzData) {
|
|
1508
1508
|
var _a;
|
|
1509
1509
|
var zoneData = tzData[timeZone];
|
|
@@ -1546,7 +1546,7 @@
|
|
|
1546
1546
|
};
|
|
1547
1547
|
}
|
|
1548
1548
|
|
|
1549
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1549
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimePattern.js
|
|
1550
1550
|
function pad(n) {
|
|
1551
1551
|
if (n < 10) {
|
|
1552
1552
|
return "0".concat(n);
|
|
@@ -1702,7 +1702,7 @@
|
|
|
1702
1702
|
return result;
|
|
1703
1703
|
}
|
|
1704
1704
|
|
|
1705
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1705
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/PartitionDateTimePattern.js
|
|
1706
1706
|
function PartitionDateTimePattern(dtf, x, implDetails) {
|
|
1707
1707
|
x = TimeClip(x);
|
|
1708
1708
|
if (isNaN(x)) {
|
|
@@ -1714,7 +1714,7 @@
|
|
|
1714
1714
|
return FormatDateTimePattern(dtf, PartitionPattern(pattern), x, implDetails);
|
|
1715
1715
|
}
|
|
1716
1716
|
|
|
1717
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1717
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTime.js
|
|
1718
1718
|
function FormatDateTime(dtf, x, implDetails) {
|
|
1719
1719
|
var parts = PartitionDateTimePattern(dtf, x, implDetails);
|
|
1720
1720
|
var result = "";
|
|
@@ -1725,7 +1725,7 @@
|
|
|
1725
1725
|
return result;
|
|
1726
1726
|
}
|
|
1727
1727
|
|
|
1728
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1728
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/BasicFormatMatcher.js
|
|
1729
1729
|
function BasicFormatMatcher(options, formats) {
|
|
1730
1730
|
var bestScore = -Infinity;
|
|
1731
1731
|
var bestFormat = formats[0];
|
|
@@ -1802,7 +1802,7 @@
|
|
|
1802
1802
|
return __assign({}, bestFormat);
|
|
1803
1803
|
}
|
|
1804
1804
|
|
|
1805
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1805
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/skeleton.js
|
|
1806
1806
|
var DATE_TIME_REGEX = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1807
1807
|
var expPatternTrimmer = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
|
|
1808
1808
|
function matchSkeletonPattern(match2, result) {
|
|
@@ -2055,7 +2055,7 @@
|
|
|
2055
2055
|
];
|
|
2056
2056
|
}
|
|
2057
2057
|
|
|
2058
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2058
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/BestFitFormatMatcher.js
|
|
2059
2059
|
function isNumericType(t) {
|
|
2060
2060
|
return t === "numeric" || t === "2-digit";
|
|
2061
2061
|
}
|
|
@@ -2137,7 +2137,7 @@
|
|
|
2137
2137
|
return patternFormat;
|
|
2138
2138
|
}
|
|
2139
2139
|
|
|
2140
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2140
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/DateTimeStyleFormat.js
|
|
2141
2141
|
function DateTimeStyleFormat(dateStyle, timeStyle, dataLocaleData) {
|
|
2142
2142
|
var dateFormat, timeFormat;
|
|
2143
2143
|
if (timeStyle !== void 0) {
|
|
@@ -2176,7 +2176,7 @@
|
|
|
2176
2176
|
return dateFormat;
|
|
2177
2177
|
}
|
|
2178
2178
|
|
|
2179
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2179
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/ToDateTimeOptions.js
|
|
2180
2180
|
function ToDateTimeOptions(options, required, defaults) {
|
|
2181
2181
|
if (options === void 0) {
|
|
2182
2182
|
options = null;
|
|
@@ -2233,7 +2233,7 @@
|
|
|
2233
2233
|
return options;
|
|
2234
2234
|
}
|
|
2235
2235
|
|
|
2236
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2236
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/InitializeDateTimeFormat.js
|
|
2237
2237
|
function isTimeRelated(opt) {
|
|
2238
2238
|
for (var _i = 0, _a = ["hour", "minute", "second"]; _i < _a.length; _i++) {
|
|
2239
2239
|
var prop = _a[_i];
|
|
@@ -2395,7 +2395,7 @@
|
|
|
2395
2395
|
return dtf;
|
|
2396
2396
|
}
|
|
2397
2397
|
|
|
2398
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2398
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimeToParts.js
|
|
2399
2399
|
function FormatDateTimeToParts(dtf, x, implDetails) {
|
|
2400
2400
|
var parts = PartitionDateTimePattern(dtf, x, implDetails);
|
|
2401
2401
|
var result = ArrayCreate(0);
|
|
@@ -2409,7 +2409,7 @@
|
|
|
2409
2409
|
return result;
|
|
2410
2410
|
}
|
|
2411
2411
|
|
|
2412
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2412
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/PartitionDateTimeRangePattern.js
|
|
2413
2413
|
var TABLE_2_FIELDS = [
|
|
2414
2414
|
"era",
|
|
2415
2415
|
"year",
|
|
@@ -2522,7 +2522,7 @@
|
|
|
2522
2522
|
return result;
|
|
2523
2523
|
}
|
|
2524
2524
|
|
|
2525
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2525
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimeRangeToParts.js
|
|
2526
2526
|
function FormatDateTimeRangeToParts(dtf, x, y, implDetails) {
|
|
2527
2527
|
var parts = PartitionDateTimeRangePattern(dtf, x, y, implDetails);
|
|
2528
2528
|
var result = new Array(0);
|
|
@@ -2537,7 +2537,7 @@
|
|
|
2537
2537
|
return result;
|
|
2538
2538
|
}
|
|
2539
2539
|
|
|
2540
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2540
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimeRange.js
|
|
2541
2541
|
function FormatDateTimeRange(dtf, x, y, implDetails) {
|
|
2542
2542
|
var parts = PartitionDateTimeRangePattern(dtf, x, y, implDetails);
|
|
2543
2543
|
var result = "";
|
|
@@ -2548,7 +2548,7 @@
|
|
|
2548
2548
|
return result;
|
|
2549
2549
|
}
|
|
2550
2550
|
|
|
2551
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2551
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/core.js
|
|
2552
2552
|
var UPPERCASED_LINKS = Object.keys(links_default).reduce(function(all, l) {
|
|
2553
2553
|
all[l.toUpperCase()] = links_default[l];
|
|
2554
2554
|
return all;
|
|
@@ -2822,10 +2822,10 @@
|
|
|
2822
2822
|
} catch (e) {
|
|
2823
2823
|
}
|
|
2824
2824
|
|
|
2825
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2825
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/supported-locales.generated.js
|
|
2826
2826
|
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"];
|
|
2827
2827
|
|
|
2828
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2828
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/should-polyfill.js
|
|
2829
2829
|
function supportsDateStyle() {
|
|
2830
2830
|
try {
|
|
2831
2831
|
return !!new Intl.DateTimeFormat(void 0, {
|
|
@@ -2871,7 +2871,7 @@
|
|
|
2871
2871
|
}
|
|
2872
2872
|
}
|
|
2873
2873
|
|
|
2874
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2874
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/to_locale_string.js
|
|
2875
2875
|
function toLocaleString(x, locales, options) {
|
|
2876
2876
|
var dtf = new DateTimeFormat(locales, options);
|
|
2877
2877
|
return dtf.format(x);
|
|
@@ -2885,7 +2885,7 @@
|
|
|
2885
2885
|
return dtf.format(x);
|
|
2886
2886
|
}
|
|
2887
2887
|
|
|
2888
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2888
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/polyfill.js
|
|
2889
2889
|
if (shouldPolyfill()) {
|
|
2890
2890
|
defineProperty(Intl, "DateTimeFormat", { value: DateTimeFormat });
|
|
2891
2891
|
defineProperty(Date.prototype, "toLocaleString", {
|