@formatjs/intl-locale 3.3.2 → 3.3.4
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/calendars.generated.d.ts.map +1 -0
- package/character-orders.generated.d.ts.map +1 -0
- package/get_internal_slots.d.ts.map +1 -0
- package/hour-cycles.generated.d.ts.map +1 -0
- package/index.d.ts +35 -0
- package/index.d.ts.map +1 -0
- package/index.js +74 -0
- package/lib/calendars.generated.d.ts.map +1 -0
- package/lib/character-orders.generated.d.ts.map +1 -0
- package/lib/get_internal_slots.d.ts.map +1 -0
- package/lib/hour-cycles.generated.d.ts.map +1 -0
- package/lib/index.d.ts +35 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +75 -1
- package/lib/numbering-systems.generated.d.ts.map +1 -0
- package/lib/polyfill-force.d.ts.map +1 -0
- package/lib/polyfill.d.ts.map +1 -0
- package/lib/preference-data.d.ts.map +1 -0
- package/lib/should-polyfill.d.ts.map +1 -0
- package/lib/timezones.generated.d.ts.map +1 -0
- package/lib/week-data.generated.d.ts.map +1 -0
- package/numbering-systems.generated.d.ts.map +1 -0
- package/package.json +5 -5
- package/polyfill-force.d.ts.map +1 -0
- package/polyfill.d.ts.map +1 -0
- package/polyfill.iife.js +124 -69
- package/preference-data.d.ts.map +1 -0
- package/should-polyfill.d.ts.map +1 -0
- package/timezones.generated.d.ts.map +1 -0
- package/week-data.generated.d.ts.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendars.generated.d.ts","sourceRoot":"","sources":["calendars.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+iE,CAAA;AACrkE,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"character-orders.generated.d.ts","sourceRoot":"","sources":["character-orders.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4jBlB,CAAA;AACV,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,eAAe,CAAA;AAC7D,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_internal_slots.d.ts","sourceRoot":"","sources":["get_internal_slots.ts"],"names":[],"mappings":"AAGA,OAAO,MAAM,EAAE,EAAC,kBAAkB,EAAC,MAAM,GAAG,CAAA;AAI5C,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAOtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hour-cycles.generated.d.ts","sourceRoot":"","sources":["hour-cycles.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAs+I,CAAA;AAC7/I,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,UAAU,CAAA"}
|
package/index.d.ts
CHANGED
|
@@ -43,30 +43,65 @@ export declare class Locale {
|
|
|
43
43
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.region
|
|
44
44
|
*/
|
|
45
45
|
get region(): string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getCalendars
|
|
48
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getCalendars
|
|
49
|
+
*/
|
|
50
|
+
getCalendars(): string[];
|
|
46
51
|
/**
|
|
47
52
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.calendars
|
|
48
53
|
*/
|
|
49
54
|
get calendars(): string[];
|
|
55
|
+
/**
|
|
56
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getCollations
|
|
57
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getCollations
|
|
58
|
+
*/
|
|
59
|
+
getCollations(): string[];
|
|
50
60
|
/**
|
|
51
61
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.collations
|
|
52
62
|
*/
|
|
53
63
|
get collations(): string[];
|
|
64
|
+
/**
|
|
65
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getHourCycles
|
|
66
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getHourCycles
|
|
67
|
+
*/
|
|
68
|
+
getHourCycles(): string[];
|
|
54
69
|
/**
|
|
55
70
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.hourCycles
|
|
56
71
|
*/
|
|
57
72
|
get hourCycles(): string[];
|
|
73
|
+
/**
|
|
74
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getNumberingSystems
|
|
75
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getNumberingSystems
|
|
76
|
+
*/
|
|
77
|
+
getNumberingSystems(): string[];
|
|
58
78
|
/**
|
|
59
79
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.numberingSystems
|
|
60
80
|
*/
|
|
61
81
|
get numberingSystems(): string[];
|
|
82
|
+
/**
|
|
83
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTimeZones
|
|
84
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getTimeZones
|
|
85
|
+
*/
|
|
86
|
+
getTimeZones(): string[] | undefined;
|
|
62
87
|
/**
|
|
63
88
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.timeZones
|
|
64
89
|
*/
|
|
65
90
|
get timeZones(): string[] | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo
|
|
93
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getTextInfo
|
|
94
|
+
*/
|
|
95
|
+
getTextInfo(): any;
|
|
66
96
|
/**
|
|
67
97
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.textInfo
|
|
68
98
|
*/
|
|
69
99
|
get textInfo(): any;
|
|
100
|
+
/**
|
|
101
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo
|
|
102
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getWeekInfo
|
|
103
|
+
*/
|
|
104
|
+
getWeekInfo(): any;
|
|
70
105
|
/**
|
|
71
106
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.weekInfo
|
|
72
107
|
*/
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAkCA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAA;IACzC,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;IACvC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAMD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,MAAM,EAAE,MAAM,CAAA;IACd,iBAAiB,EAAE,OAAO,CAAA;CAC3B;AAyXD,qBAAa,MAAM;gBACL,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,IAAI,CAAC,EAAE,iBAAiB;IAmI1D;;OAEG;IACI,QAAQ,IAAI,MAAM;IAUzB;;OAEG;IACI,QAAQ,IAAI,MAAM;IAUlB,QAAQ;IAIf,IAAW,QAAQ,WAGlB;IAED,IAAW,QAAQ,uBAElB;IAED,IAAW,SAAS,uBAEnB;IAED,IAAW,SAAS,8CAEnB;IAED,IAAW,SAAS,4CAEnB;IAED,IAAW,OAAO,wBAEjB;IACD,IAAW,eAAe,uBAEzB;IACD;;OAEG;IACH,IAAW,QAAQ,WAGlB;IACD;;OAEG;IACH,IAAW,MAAM,uBAGhB;IACD;;OAEG;IACH,IAAW,MAAM,uBAGhB;IAED;;OAEG;IACH,IAAW,SAAS,aAEnB;IAED;;OAEG;IACH,IAAW,UAAU,aAEpB;IAED;;OAEG;IACH,IAAW,UAAU,aAEpB;IAED;;OAEG;IACH,IAAW,gBAAgB,aAE1B;IAED;;OAEG;IACH,IAAW,SAAS,yBAEnB;IAED;;OAEG;IACH,IAAW,QAAQ,QAgBlB;IAED;;OAEG;IACH,IAAW,QAAQ,QA+BlB;IAED,MAAM,CAAC,qBAAqB,gDAA0B;IACtD,gBAAuB,UAAU,QAAO;CACzC;AAsBD,eAAe,MAAM,CAAA"}
|
package/index.js
CHANGED
|
@@ -452,6 +452,13 @@ var Locale = exports.Locale = /** @class */ (function () {
|
|
|
452
452
|
enumerable: false,
|
|
453
453
|
configurable: true
|
|
454
454
|
});
|
|
455
|
+
/**
|
|
456
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getCalendars
|
|
457
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getCalendars
|
|
458
|
+
*/
|
|
459
|
+
Locale.prototype.getCalendars = function () {
|
|
460
|
+
return calendarsOfLocale(this);
|
|
461
|
+
};
|
|
455
462
|
Object.defineProperty(Locale.prototype, "calendars", {
|
|
456
463
|
/**
|
|
457
464
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.calendars
|
|
@@ -462,6 +469,13 @@ var Locale = exports.Locale = /** @class */ (function () {
|
|
|
462
469
|
enumerable: false,
|
|
463
470
|
configurable: true
|
|
464
471
|
});
|
|
472
|
+
/**
|
|
473
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getCollations
|
|
474
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getCollations
|
|
475
|
+
*/
|
|
476
|
+
Locale.prototype.getCollations = function () {
|
|
477
|
+
return collationsOfLocale(this);
|
|
478
|
+
};
|
|
465
479
|
Object.defineProperty(Locale.prototype, "collations", {
|
|
466
480
|
/**
|
|
467
481
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.collations
|
|
@@ -472,6 +486,17 @@ var Locale = exports.Locale = /** @class */ (function () {
|
|
|
472
486
|
enumerable: false,
|
|
473
487
|
configurable: true
|
|
474
488
|
});
|
|
489
|
+
/**
|
|
490
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getHourCycles
|
|
491
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getHourCycles
|
|
492
|
+
*/
|
|
493
|
+
Locale.prototype.getHourCycles = function () {
|
|
494
|
+
var locInternalSlots = (0, get_internal_slots_1.default)(this);
|
|
495
|
+
if (locInternalSlots.initializedLocale === undefined) {
|
|
496
|
+
throw new TypeError('Error uninitialized locale');
|
|
497
|
+
}
|
|
498
|
+
return hourCyclesOfLocale(this);
|
|
499
|
+
};
|
|
475
500
|
Object.defineProperty(Locale.prototype, "hourCycles", {
|
|
476
501
|
/**
|
|
477
502
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.hourCycles
|
|
@@ -482,6 +507,13 @@ var Locale = exports.Locale = /** @class */ (function () {
|
|
|
482
507
|
enumerable: false,
|
|
483
508
|
configurable: true
|
|
484
509
|
});
|
|
510
|
+
/**
|
|
511
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getNumberingSystems
|
|
512
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getNumberingSystems
|
|
513
|
+
*/
|
|
514
|
+
Locale.prototype.getNumberingSystems = function () {
|
|
515
|
+
return numberingSystemsOfLocale(this);
|
|
516
|
+
};
|
|
485
517
|
Object.defineProperty(Locale.prototype, "numberingSystems", {
|
|
486
518
|
/**
|
|
487
519
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.numberingSystems
|
|
@@ -492,6 +524,13 @@ var Locale = exports.Locale = /** @class */ (function () {
|
|
|
492
524
|
enumerable: false,
|
|
493
525
|
configurable: true
|
|
494
526
|
});
|
|
527
|
+
/**
|
|
528
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTimeZones
|
|
529
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getTimeZones
|
|
530
|
+
*/
|
|
531
|
+
Locale.prototype.getTimeZones = function () {
|
|
532
|
+
return timeZonesOfLocale(this);
|
|
533
|
+
};
|
|
495
534
|
Object.defineProperty(Locale.prototype, "timeZones", {
|
|
496
535
|
/**
|
|
497
536
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.timeZones
|
|
@@ -502,6 +541,18 @@ var Locale = exports.Locale = /** @class */ (function () {
|
|
|
502
541
|
enumerable: false,
|
|
503
542
|
configurable: true
|
|
504
543
|
});
|
|
544
|
+
/**
|
|
545
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo
|
|
546
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getTextInfo
|
|
547
|
+
*/
|
|
548
|
+
Locale.prototype.getTextInfo = function () {
|
|
549
|
+
var info = Object.create(Object.prototype);
|
|
550
|
+
var dir = characterDirectionOfLocale(this);
|
|
551
|
+
(0, ecma402_abstract_1.defineProperty)(info, 'direction', {
|
|
552
|
+
value: dir,
|
|
553
|
+
});
|
|
554
|
+
return info;
|
|
555
|
+
};
|
|
505
556
|
Object.defineProperty(Locale.prototype, "textInfo", {
|
|
506
557
|
/**
|
|
507
558
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.textInfo
|
|
@@ -525,6 +576,29 @@ var Locale = exports.Locale = /** @class */ (function () {
|
|
|
525
576
|
enumerable: false,
|
|
526
577
|
configurable: true
|
|
527
578
|
});
|
|
579
|
+
/**
|
|
580
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo
|
|
581
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getWeekInfo
|
|
582
|
+
*/
|
|
583
|
+
Locale.prototype.getWeekInfo = function () {
|
|
584
|
+
var info = Object.create(Object.prototype);
|
|
585
|
+
var locInternalSlots = (0, get_internal_slots_1.default)(this);
|
|
586
|
+
if (locInternalSlots.initializedLocale === undefined) {
|
|
587
|
+
throw new TypeError('Error uninitialized locale');
|
|
588
|
+
}
|
|
589
|
+
var wi = weekInfoOfLocale(this);
|
|
590
|
+
var we = wi.weekend;
|
|
591
|
+
(0, ecma402_abstract_1.defineProperty)(info, 'firstDay', {
|
|
592
|
+
value: wi.firstDay,
|
|
593
|
+
});
|
|
594
|
+
(0, ecma402_abstract_1.defineProperty)(info, 'weekend', {
|
|
595
|
+
value: we,
|
|
596
|
+
});
|
|
597
|
+
(0, ecma402_abstract_1.defineProperty)(info, 'minimalDays', {
|
|
598
|
+
value: wi.minimalDays,
|
|
599
|
+
});
|
|
600
|
+
return info;
|
|
601
|
+
};
|
|
528
602
|
Object.defineProperty(Locale.prototype, "weekInfo", {
|
|
529
603
|
/**
|
|
530
604
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.weekInfo
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendars.generated.d.ts","sourceRoot":"","sources":["../calendars.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+iE,CAAA;AACrkE,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"character-orders.generated.d.ts","sourceRoot":"","sources":["../character-orders.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4jBlB,CAAA;AACV,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,eAAe,CAAA;AAC7D,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_internal_slots.d.ts","sourceRoot":"","sources":["../get_internal_slots.ts"],"names":[],"mappings":"AAGA,OAAO,MAAM,EAAE,EAAC,kBAAkB,EAAC,MAAM,GAAG,CAAA;AAI5C,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAOtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hour-cycles.generated.d.ts","sourceRoot":"","sources":["../hour-cycles.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAs+I,CAAA;AAC7/I,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,UAAU,CAAA"}
|
package/lib/index.d.ts
CHANGED
|
@@ -43,30 +43,65 @@ export declare class Locale {
|
|
|
43
43
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.region
|
|
44
44
|
*/
|
|
45
45
|
get region(): string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getCalendars
|
|
48
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getCalendars
|
|
49
|
+
*/
|
|
50
|
+
getCalendars(): string[];
|
|
46
51
|
/**
|
|
47
52
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.calendars
|
|
48
53
|
*/
|
|
49
54
|
get calendars(): string[];
|
|
55
|
+
/**
|
|
56
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getCollations
|
|
57
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getCollations
|
|
58
|
+
*/
|
|
59
|
+
getCollations(): string[];
|
|
50
60
|
/**
|
|
51
61
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.collations
|
|
52
62
|
*/
|
|
53
63
|
get collations(): string[];
|
|
64
|
+
/**
|
|
65
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getHourCycles
|
|
66
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getHourCycles
|
|
67
|
+
*/
|
|
68
|
+
getHourCycles(): string[];
|
|
54
69
|
/**
|
|
55
70
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.hourCycles
|
|
56
71
|
*/
|
|
57
72
|
get hourCycles(): string[];
|
|
73
|
+
/**
|
|
74
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getNumberingSystems
|
|
75
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getNumberingSystems
|
|
76
|
+
*/
|
|
77
|
+
getNumberingSystems(): string[];
|
|
58
78
|
/**
|
|
59
79
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.numberingSystems
|
|
60
80
|
*/
|
|
61
81
|
get numberingSystems(): string[];
|
|
82
|
+
/**
|
|
83
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTimeZones
|
|
84
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getTimeZones
|
|
85
|
+
*/
|
|
86
|
+
getTimeZones(): string[] | undefined;
|
|
62
87
|
/**
|
|
63
88
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.timeZones
|
|
64
89
|
*/
|
|
65
90
|
get timeZones(): string[] | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo
|
|
93
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getTextInfo
|
|
94
|
+
*/
|
|
95
|
+
getTextInfo(): any;
|
|
66
96
|
/**
|
|
67
97
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.textInfo
|
|
68
98
|
*/
|
|
69
99
|
get textInfo(): any;
|
|
100
|
+
/**
|
|
101
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo
|
|
102
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getWeekInfo
|
|
103
|
+
*/
|
|
104
|
+
getWeekInfo(): any;
|
|
70
105
|
/**
|
|
71
106
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.weekInfo
|
|
72
107
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAkCA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAA;IACzC,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;IACvC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAMD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IAC3D,MAAM,EAAE,MAAM,CAAA;IACd,iBAAiB,EAAE,OAAO,CAAA;CAC3B;AAyXD,qBAAa,MAAM;gBACL,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,IAAI,CAAC,EAAE,iBAAiB;IAmI1D;;OAEG;IACI,QAAQ,IAAI,MAAM;IAUzB;;OAEG;IACI,QAAQ,IAAI,MAAM;IAUlB,QAAQ;IAIf,IAAW,QAAQ,WAGlB;IAED,IAAW,QAAQ,uBAElB;IAED,IAAW,SAAS,uBAEnB;IAED,IAAW,SAAS,8CAEnB;IAED,IAAW,SAAS,4CAEnB;IAED,IAAW,OAAO,wBAEjB;IACD,IAAW,eAAe,uBAEzB;IACD;;OAEG;IACH,IAAW,QAAQ,WAGlB;IACD;;OAEG;IACH,IAAW,MAAM,uBAGhB;IACD;;OAEG;IACH,IAAW,MAAM,uBAGhB;IAED;;OAEG;IACH,IAAW,SAAS,aAEnB;IAED;;OAEG;IACH,IAAW,UAAU,aAEpB;IAED;;OAEG;IACH,IAAW,UAAU,aAEpB;IAED;;OAEG;IACH,IAAW,gBAAgB,aAE1B;IAED;;OAEG;IACH,IAAW,SAAS,yBAEnB;IAED;;OAEG;IACH,IAAW,QAAQ,QAgBlB;IAED;;OAEG;IACH,IAAW,QAAQ,QA+BlB;IAED,MAAM,CAAC,qBAAqB,gDAA0B;IACtD,gBAAuB,UAAU,QAAO;CACzC;AAsBD,eAAe,MAAM,CAAA"}
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __spreadArray } from "tslib";
|
|
2
2
|
import { supportedValuesOf } from '@formatjs/intl-enumerator';
|
|
3
|
-
import { GetOption, invariant, SameValue, CoerceOptionsToObject, } from '@formatjs/ecma402-abstract';
|
|
3
|
+
import { defineProperty, GetOption, invariant, SameValue, CoerceOptionsToObject, } from '@formatjs/ecma402-abstract';
|
|
4
4
|
import { isStructurallyValidLanguageTag, isUnicodeLanguageSubtag, isUnicodeRegionSubtag, parseUnicodeLanguageId, isUnicodeScriptSubtag, emitUnicodeLocaleId, parseUnicodeLocaleId, emitUnicodeLanguageId, likelySubtags, } from '@formatjs/intl-getcanonicallocales';
|
|
5
5
|
import getInternalSlots from './get_internal_slots';
|
|
6
6
|
import { getCalendarPreferenceDataForRegion, getHourCyclesPreferenceDataForLocaleOrRegion, getTimeZonePreferenceForRegion, getWeekDataForRegion, } from './preference-data';
|
|
@@ -449,6 +449,13 @@ export var Locale = /** @class */ (function () {
|
|
|
449
449
|
enumerable: false,
|
|
450
450
|
configurable: true
|
|
451
451
|
});
|
|
452
|
+
/**
|
|
453
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getCalendars
|
|
454
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getCalendars
|
|
455
|
+
*/
|
|
456
|
+
Locale.prototype.getCalendars = function () {
|
|
457
|
+
return calendarsOfLocale(this);
|
|
458
|
+
};
|
|
452
459
|
Object.defineProperty(Locale.prototype, "calendars", {
|
|
453
460
|
/**
|
|
454
461
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.calendars
|
|
@@ -459,6 +466,13 @@ export var Locale = /** @class */ (function () {
|
|
|
459
466
|
enumerable: false,
|
|
460
467
|
configurable: true
|
|
461
468
|
});
|
|
469
|
+
/**
|
|
470
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getCollations
|
|
471
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getCollations
|
|
472
|
+
*/
|
|
473
|
+
Locale.prototype.getCollations = function () {
|
|
474
|
+
return collationsOfLocale(this);
|
|
475
|
+
};
|
|
462
476
|
Object.defineProperty(Locale.prototype, "collations", {
|
|
463
477
|
/**
|
|
464
478
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.collations
|
|
@@ -469,6 +483,17 @@ export var Locale = /** @class */ (function () {
|
|
|
469
483
|
enumerable: false,
|
|
470
484
|
configurable: true
|
|
471
485
|
});
|
|
486
|
+
/**
|
|
487
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getHourCycles
|
|
488
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getHourCycles
|
|
489
|
+
*/
|
|
490
|
+
Locale.prototype.getHourCycles = function () {
|
|
491
|
+
var locInternalSlots = getInternalSlots(this);
|
|
492
|
+
if (locInternalSlots.initializedLocale === undefined) {
|
|
493
|
+
throw new TypeError('Error uninitialized locale');
|
|
494
|
+
}
|
|
495
|
+
return hourCyclesOfLocale(this);
|
|
496
|
+
};
|
|
472
497
|
Object.defineProperty(Locale.prototype, "hourCycles", {
|
|
473
498
|
/**
|
|
474
499
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.hourCycles
|
|
@@ -479,6 +504,13 @@ export var Locale = /** @class */ (function () {
|
|
|
479
504
|
enumerable: false,
|
|
480
505
|
configurable: true
|
|
481
506
|
});
|
|
507
|
+
/**
|
|
508
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getNumberingSystems
|
|
509
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getNumberingSystems
|
|
510
|
+
*/
|
|
511
|
+
Locale.prototype.getNumberingSystems = function () {
|
|
512
|
+
return numberingSystemsOfLocale(this);
|
|
513
|
+
};
|
|
482
514
|
Object.defineProperty(Locale.prototype, "numberingSystems", {
|
|
483
515
|
/**
|
|
484
516
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.numberingSystems
|
|
@@ -489,6 +521,13 @@ export var Locale = /** @class */ (function () {
|
|
|
489
521
|
enumerable: false,
|
|
490
522
|
configurable: true
|
|
491
523
|
});
|
|
524
|
+
/**
|
|
525
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTimeZones
|
|
526
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getTimeZones
|
|
527
|
+
*/
|
|
528
|
+
Locale.prototype.getTimeZones = function () {
|
|
529
|
+
return timeZonesOfLocale(this);
|
|
530
|
+
};
|
|
492
531
|
Object.defineProperty(Locale.prototype, "timeZones", {
|
|
493
532
|
/**
|
|
494
533
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.timeZones
|
|
@@ -499,6 +538,18 @@ export var Locale = /** @class */ (function () {
|
|
|
499
538
|
enumerable: false,
|
|
500
539
|
configurable: true
|
|
501
540
|
});
|
|
541
|
+
/**
|
|
542
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo
|
|
543
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getTextInfo
|
|
544
|
+
*/
|
|
545
|
+
Locale.prototype.getTextInfo = function () {
|
|
546
|
+
var info = Object.create(Object.prototype);
|
|
547
|
+
var dir = characterDirectionOfLocale(this);
|
|
548
|
+
defineProperty(info, 'direction', {
|
|
549
|
+
value: dir,
|
|
550
|
+
});
|
|
551
|
+
return info;
|
|
552
|
+
};
|
|
502
553
|
Object.defineProperty(Locale.prototype, "textInfo", {
|
|
503
554
|
/**
|
|
504
555
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.textInfo
|
|
@@ -522,6 +573,29 @@ export var Locale = /** @class */ (function () {
|
|
|
522
573
|
enumerable: false,
|
|
523
574
|
configurable: true
|
|
524
575
|
});
|
|
576
|
+
/**
|
|
577
|
+
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo
|
|
578
|
+
* https://tc39.es/proposal-intl-locale-info/#sec-Intl.Locale.prototype.getWeekInfo
|
|
579
|
+
*/
|
|
580
|
+
Locale.prototype.getWeekInfo = function () {
|
|
581
|
+
var info = Object.create(Object.prototype);
|
|
582
|
+
var locInternalSlots = getInternalSlots(this);
|
|
583
|
+
if (locInternalSlots.initializedLocale === undefined) {
|
|
584
|
+
throw new TypeError('Error uninitialized locale');
|
|
585
|
+
}
|
|
586
|
+
var wi = weekInfoOfLocale(this);
|
|
587
|
+
var we = wi.weekend;
|
|
588
|
+
defineProperty(info, 'firstDay', {
|
|
589
|
+
value: wi.firstDay,
|
|
590
|
+
});
|
|
591
|
+
defineProperty(info, 'weekend', {
|
|
592
|
+
value: we,
|
|
593
|
+
});
|
|
594
|
+
defineProperty(info, 'minimalDays', {
|
|
595
|
+
value: wi.minimalDays,
|
|
596
|
+
});
|
|
597
|
+
return info;
|
|
598
|
+
};
|
|
525
599
|
Object.defineProperty(Locale.prototype, "weekInfo", {
|
|
526
600
|
/**
|
|
527
601
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.weekInfo
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numbering-systems.generated.d.ts","sourceRoot":"","sources":["../numbering-systems.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAywDnB,CAAA;AACV,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"polyfill-force.d.ts","sourceRoot":"","sources":["../polyfill-force.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"polyfill.d.ts","sourceRoot":"","sources":["../polyfill.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preference-data.d.ts","sourceRoot":"","sources":["../preference-data.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAc,gBAAgB,EAAC,MAAM,uBAAuB,CAAA;AAExE,OAAO,EAAC,gBAAgB,EAAC,CAAA;AAEzB,wBAAgB,kCAAkC,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CA0B5E;AAED,wBAAgB,4CAA4C,CAC1D,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,GACd,MAAM,EAAE,CAWV;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAQvE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAItE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"should-polyfill.d.ts","sourceRoot":"","sources":["../should-polyfill.ts"],"names":[],"mappings":"AAWA,wBAAgB,cAAc,YAE7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timezones.generated.d.ts","sourceRoot":"","sources":["../timezones.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA02T,CAAA;AACh4T,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAywDnB,CAAA;AACV,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,gBAAgB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-locale",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.4",
|
|
4
4
|
"description": "Intl.Locale polyfill",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"intl",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"url": "https://github.com/formatjs/formatjs/issues"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"
|
|
28
|
-
"@formatjs/
|
|
29
|
-
"@formatjs/intl-
|
|
30
|
-
"
|
|
27
|
+
"@formatjs/ecma402-abstract": "1.17.2",
|
|
28
|
+
"@formatjs/intl-enumerator": "1.3.4",
|
|
29
|
+
"@formatjs/intl-getcanonicallocales": "2.2.1",
|
|
30
|
+
"tslib": "^2.4.0"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"polyfill-force.d.ts","sourceRoot":"","sources":["polyfill-force.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"polyfill.d.ts","sourceRoot":"","sources":["polyfill.ts"],"names":[],"mappings":""}
|
package/polyfill.iife.js
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
36
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
|
|
37
37
|
var tslib_es6_exports = {};
|
|
38
38
|
__export(tslib_es6_exports, {
|
|
39
39
|
__assign: () => __assign,
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
}
|
|
388
388
|
var extendStatics, __assign, __createBinding, __setModuleDefault;
|
|
389
389
|
var init_tslib_es6 = __esm({
|
|
390
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
390
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js"() {
|
|
391
391
|
extendStatics = function(d, b) {
|
|
392
392
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
393
393
|
d2.__proto__ = b2;
|
|
@@ -433,9 +433,9 @@
|
|
|
433
433
|
}
|
|
434
434
|
});
|
|
435
435
|
|
|
436
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
436
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/should-polyfill.js
|
|
437
437
|
var require_should_polyfill = __commonJS({
|
|
438
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
438
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/should-polyfill.js"(exports) {
|
|
439
439
|
"use strict";
|
|
440
440
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
441
441
|
exports.shouldPolyfill = void 0;
|
|
@@ -446,9 +446,9 @@
|
|
|
446
446
|
}
|
|
447
447
|
});
|
|
448
448
|
|
|
449
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
449
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/calendars.generated.js
|
|
450
450
|
var require_calendars_generated = __commonJS({
|
|
451
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
451
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/calendars.generated.js"(exports) {
|
|
452
452
|
"use strict";
|
|
453
453
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
454
454
|
exports.calendars = void 0;
|
|
@@ -456,9 +456,9 @@
|
|
|
456
456
|
}
|
|
457
457
|
});
|
|
458
458
|
|
|
459
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
459
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/get-supported-calendars.js
|
|
460
460
|
var require_get_supported_calendars = __commonJS({
|
|
461
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
461
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/get-supported-calendars.js"(exports) {
|
|
462
462
|
"use strict";
|
|
463
463
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
464
464
|
exports.getSupportedCalendars = void 0;
|
|
@@ -485,9 +485,9 @@
|
|
|
485
485
|
}
|
|
486
486
|
});
|
|
487
487
|
|
|
488
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
488
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/collations.generated.js
|
|
489
489
|
var require_collations_generated = __commonJS({
|
|
490
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
490
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/collations.generated.js"(exports) {
|
|
491
491
|
"use strict";
|
|
492
492
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
493
493
|
exports.collations = void 0;
|
|
@@ -495,9 +495,9 @@
|
|
|
495
495
|
}
|
|
496
496
|
});
|
|
497
497
|
|
|
498
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
498
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/get-supported-collations.js
|
|
499
499
|
var require_get_supported_collations = __commonJS({
|
|
500
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
500
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/get-supported-collations.js"(exports) {
|
|
501
501
|
"use strict";
|
|
502
502
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
503
503
|
exports.getSupportedCollations = void 0;
|
|
@@ -521,9 +521,9 @@
|
|
|
521
521
|
}
|
|
522
522
|
});
|
|
523
523
|
|
|
524
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
524
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/currencies.generated.js
|
|
525
525
|
var require_currencies_generated = __commonJS({
|
|
526
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
526
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/currencies.generated.js"(exports) {
|
|
527
527
|
"use strict";
|
|
528
528
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
529
529
|
exports.currencies = void 0;
|
|
@@ -531,9 +531,9 @@
|
|
|
531
531
|
}
|
|
532
532
|
});
|
|
533
533
|
|
|
534
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
534
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/get-supported-currencies.js
|
|
535
535
|
var require_get_supported_currencies = __commonJS({
|
|
536
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
536
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/get-supported-currencies.js"(exports) {
|
|
537
537
|
"use strict";
|
|
538
538
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
539
539
|
exports.getSupportedCurrencies = void 0;
|
|
@@ -582,9 +582,9 @@
|
|
|
582
582
|
}
|
|
583
583
|
});
|
|
584
584
|
|
|
585
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
585
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/numbering-systems.generated.js
|
|
586
586
|
var require_numbering_systems_generated = __commonJS({
|
|
587
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
587
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/numbering-systems.generated.js"(exports) {
|
|
588
588
|
"use strict";
|
|
589
589
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
590
590
|
exports.numberingSystemNames = void 0;
|
|
@@ -592,9 +592,9 @@
|
|
|
592
592
|
}
|
|
593
593
|
});
|
|
594
594
|
|
|
595
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
595
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/get-supported-numbering-systems.js
|
|
596
596
|
var require_get_supported_numbering_systems = __commonJS({
|
|
597
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
597
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/get-supported-numbering-systems.js"(exports) {
|
|
598
598
|
"use strict";
|
|
599
599
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
600
600
|
exports.getSupportedNumberingSystems = void 0;
|
|
@@ -622,9 +622,9 @@
|
|
|
622
622
|
}
|
|
623
623
|
});
|
|
624
624
|
|
|
625
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
625
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/timezones.generated.js
|
|
626
626
|
var require_timezones_generated = __commonJS({
|
|
627
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
627
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/timezones.generated.js"(exports) {
|
|
628
628
|
"use strict";
|
|
629
629
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
630
630
|
exports.timezones = void 0;
|
|
@@ -632,9 +632,9 @@
|
|
|
632
632
|
}
|
|
633
633
|
});
|
|
634
634
|
|
|
635
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
635
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/get-supported-timezones.js
|
|
636
636
|
var require_get_supported_timezones = __commonJS({
|
|
637
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
637
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/get-supported-timezones.js"(exports) {
|
|
638
638
|
"use strict";
|
|
639
639
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
640
640
|
exports.getSupportedTimeZones = void 0;
|
|
@@ -659,9 +659,9 @@
|
|
|
659
659
|
}
|
|
660
660
|
});
|
|
661
661
|
|
|
662
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
662
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/units.generated.js
|
|
663
663
|
var require_units_generated = __commonJS({
|
|
664
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
664
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/units.generated.js"(exports) {
|
|
665
665
|
"use strict";
|
|
666
666
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
667
667
|
exports.units = void 0;
|
|
@@ -669,9 +669,9 @@
|
|
|
669
669
|
}
|
|
670
670
|
});
|
|
671
671
|
|
|
672
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
672
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/get-supported-units.js
|
|
673
673
|
var require_get_supported_units = __commonJS({
|
|
674
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
674
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/get-supported-units.js"(exports) {
|
|
675
675
|
"use strict";
|
|
676
676
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
677
677
|
exports.getSupportedUnits = void 0;
|
|
@@ -696,9 +696,9 @@
|
|
|
696
696
|
}
|
|
697
697
|
});
|
|
698
698
|
|
|
699
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
699
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/index.js
|
|
700
700
|
var require_src = __commonJS({
|
|
701
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
701
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/src/index.js"(exports) {
|
|
702
702
|
"use strict";
|
|
703
703
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
704
704
|
exports.supportedValuesOf = void 0;
|
|
@@ -730,9 +730,9 @@
|
|
|
730
730
|
}
|
|
731
731
|
});
|
|
732
732
|
|
|
733
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
733
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/index.js
|
|
734
734
|
var require_intl_enumerator = __commonJS({
|
|
735
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
735
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-enumerator@0.0.0/node_modules/@formatjs/intl-enumerator/index.js"(exports) {
|
|
736
736
|
"use strict";
|
|
737
737
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
738
738
|
exports.supportedValuesOf = exports.shouldPolyfill = void 0;
|
|
@@ -747,9 +747,9 @@
|
|
|
747
747
|
}
|
|
748
748
|
});
|
|
749
749
|
|
|
750
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
750
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/parser.js
|
|
751
751
|
var require_parser = __commonJS({
|
|
752
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
752
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/parser.js"(exports) {
|
|
753
753
|
"use strict";
|
|
754
754
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
755
755
|
exports.parseUnicodeLocaleId = exports.parseUnicodeLanguageId = exports.isUnicodeVariantSubtag = exports.isUnicodeScriptSubtag = exports.isUnicodeRegionSubtag = exports.isStructurallyValidLanguageTag = exports.isUnicodeLanguageSubtag = exports.SEPARATOR = void 0;
|
|
@@ -987,9 +987,9 @@
|
|
|
987
987
|
}
|
|
988
988
|
});
|
|
989
989
|
|
|
990
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
990
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/emitter.js
|
|
991
991
|
var require_emitter = __commonJS({
|
|
992
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
992
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/emitter.js"(exports) {
|
|
993
993
|
"use strict";
|
|
994
994
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
995
995
|
exports.emitUnicodeLocaleId = exports.emitUnicodeLanguageId = void 0;
|
|
@@ -1029,9 +1029,9 @@
|
|
|
1029
1029
|
}
|
|
1030
1030
|
});
|
|
1031
1031
|
|
|
1032
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1032
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/aliases.generated.js
|
|
1033
1033
|
var require_aliases_generated = __commonJS({
|
|
1034
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
1034
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/aliases.generated.js"(exports) {
|
|
1035
1035
|
"use strict";
|
|
1036
1036
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1037
1037
|
exports.variantAlias = exports.scriptAlias = exports.territoryAlias = exports.languageAlias = void 0;
|
|
@@ -2173,9 +2173,9 @@
|
|
|
2173
2173
|
}
|
|
2174
2174
|
});
|
|
2175
2175
|
|
|
2176
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2176
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/likelySubtags.generated.js
|
|
2177
2177
|
var require_likelySubtags_generated = __commonJS({
|
|
2178
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
2178
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/likelySubtags.generated.js"(exports) {
|
|
2179
2179
|
"use strict";
|
|
2180
2180
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2181
2181
|
exports.likelySubtags = void 0;
|
|
@@ -4050,9 +4050,9 @@
|
|
|
4050
4050
|
}
|
|
4051
4051
|
});
|
|
4052
4052
|
|
|
4053
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4053
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/canonicalizer.js
|
|
4054
4054
|
var require_canonicalizer = __commonJS({
|
|
4055
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
4055
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/canonicalizer.js"(exports) {
|
|
4056
4056
|
"use strict";
|
|
4057
4057
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4058
4058
|
exports.canonicalizeUnicodeLocaleId = exports.canonicalizeUnicodeLanguageId = void 0;
|
|
@@ -4245,17 +4245,17 @@
|
|
|
4245
4245
|
}
|
|
4246
4246
|
});
|
|
4247
4247
|
|
|
4248
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4248
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/types.js
|
|
4249
4249
|
var require_types = __commonJS({
|
|
4250
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
4250
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/src/types.js"(exports) {
|
|
4251
4251
|
"use strict";
|
|
4252
4252
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4253
4253
|
}
|
|
4254
4254
|
});
|
|
4255
4255
|
|
|
4256
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4256
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/index.js
|
|
4257
4257
|
var require_intl_getcanonicallocales = __commonJS({
|
|
4258
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
4258
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-getcanonicallocales@0.0.0/node_modules/@formatjs/intl-getcanonicallocales/index.js"(exports) {
|
|
4259
4259
|
"use strict";
|
|
4260
4260
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4261
4261
|
exports.isUnicodeLanguageSubtag = exports.isUnicodeScriptSubtag = exports.isUnicodeRegionSubtag = exports.isStructurallyValidLanguageTag = exports.parseUnicodeLanguageId = exports.parseUnicodeLocaleId = exports.getCanonicalLocales = void 0;
|
|
@@ -4309,11 +4309,11 @@
|
|
|
4309
4309
|
}
|
|
4310
4310
|
});
|
|
4311
4311
|
|
|
4312
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4312
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/index.js
|
|
4313
4313
|
init_tslib_es6();
|
|
4314
4314
|
var import_intl_enumerator = __toESM(require_intl_enumerator());
|
|
4315
4315
|
|
|
4316
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4316
|
+
// ../../../../../../../../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
|
|
4317
4317
|
function ToString(o) {
|
|
4318
4318
|
if (typeof o === "symbol") {
|
|
4319
4319
|
throw TypeError("Cannot convert a Symbol value to a string");
|
|
@@ -4341,7 +4341,7 @@
|
|
|
4341
4341
|
var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
|
|
4342
4342
|
var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
|
|
4343
4343
|
|
|
4344
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4344
|
+
// ../../../../../../../../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
|
|
4345
4345
|
function CoerceOptionsToObject(options) {
|
|
4346
4346
|
if (typeof options === "undefined") {
|
|
4347
4347
|
return /* @__PURE__ */ Object.create(null);
|
|
@@ -4349,7 +4349,7 @@
|
|
|
4349
4349
|
return ToObject(options);
|
|
4350
4350
|
}
|
|
4351
4351
|
|
|
4352
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4352
|
+
// ../../../../../../../../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
|
|
4353
4353
|
function GetOption(opts, prop, type, values, fallback) {
|
|
4354
4354
|
if (typeof opts !== "object") {
|
|
4355
4355
|
throw new TypeError("Options must be an object");
|
|
@@ -4375,7 +4375,7 @@
|
|
|
4375
4375
|
return fallback;
|
|
4376
4376
|
}
|
|
4377
4377
|
|
|
4378
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4378
|
+
// ../../../../../../../../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
|
|
4379
4379
|
var SANCTIONED_UNITS = [
|
|
4380
4380
|
"angle-degree",
|
|
4381
4381
|
"area-acre",
|
|
@@ -4426,7 +4426,16 @@
|
|
|
4426
4426
|
}
|
|
4427
4427
|
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
|
|
4428
4428
|
|
|
4429
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4429
|
+
// ../../../../../../../../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
|
|
4430
|
+
function defineProperty(target, name, _a) {
|
|
4431
|
+
var value = _a.value;
|
|
4432
|
+
Object.defineProperty(target, name, {
|
|
4433
|
+
configurable: true,
|
|
4434
|
+
enumerable: false,
|
|
4435
|
+
writable: true,
|
|
4436
|
+
value
|
|
4437
|
+
});
|
|
4438
|
+
}
|
|
4430
4439
|
function invariant(condition, message, Err) {
|
|
4431
4440
|
if (Err === void 0) {
|
|
4432
4441
|
Err = Error;
|
|
@@ -4436,14 +4445,14 @@
|
|
|
4436
4445
|
}
|
|
4437
4446
|
}
|
|
4438
4447
|
|
|
4439
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4448
|
+
// ../../../../../../../../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
|
|
4440
4449
|
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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7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;
|
|
4441
4450
|
|
|
4442
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4451
|
+
// ../../../../../../../../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
|
|
4443
4452
|
var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
|
|
4444
4453
|
var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
|
|
4445
4454
|
|
|
4446
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4455
|
+
// ../../../../../../../../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
|
|
4447
4456
|
init_tslib_es6();
|
|
4448
4457
|
var MissingLocaleDataError = (
|
|
4449
4458
|
/** @class */
|
|
@@ -4458,7 +4467,7 @@
|
|
|
4458
4467
|
}(Error)
|
|
4459
4468
|
);
|
|
4460
4469
|
|
|
4461
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4470
|
+
// ../../../../../../../../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
|
|
4462
4471
|
var RangePatternType;
|
|
4463
4472
|
(function(RangePatternType2) {
|
|
4464
4473
|
RangePatternType2["startRange"] = "startRange";
|
|
@@ -4466,10 +4475,10 @@
|
|
|
4466
4475
|
RangePatternType2["endRange"] = "endRange";
|
|
4467
4476
|
})(RangePatternType || (RangePatternType = {}));
|
|
4468
4477
|
|
|
4469
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4478
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/index.js
|
|
4470
4479
|
var import_intl_getcanonicallocales = __toESM(require_intl_getcanonicallocales());
|
|
4471
4480
|
|
|
4472
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4481
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/get_internal_slots.js
|
|
4473
4482
|
var internalSlotMap = /* @__PURE__ */ new WeakMap();
|
|
4474
4483
|
function getInternalSlots(x) {
|
|
4475
4484
|
var internalSlots = internalSlotMap.get(x);
|
|
@@ -4480,10 +4489,10 @@
|
|
|
4480
4489
|
return internalSlots;
|
|
4481
4490
|
}
|
|
4482
4491
|
|
|
4483
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4492
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/preference-data.js
|
|
4484
4493
|
init_tslib_es6();
|
|
4485
4494
|
|
|
4486
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4495
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/timezones.generated.js
|
|
4487
4496
|
var timezones = {
|
|
4488
4497
|
"ad": [
|
|
4489
4498
|
"Europe/Andorra"
|
|
@@ -5448,7 +5457,7 @@
|
|
|
5448
5457
|
]
|
|
5449
5458
|
};
|
|
5450
5459
|
|
|
5451
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
5460
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/hour-cycles.generated.js
|
|
5452
5461
|
var hourCycles = {
|
|
5453
5462
|
"001": [
|
|
5454
5463
|
"h23",
|
|
@@ -6414,7 +6423,7 @@
|
|
|
6414
6423
|
]
|
|
6415
6424
|
};
|
|
6416
6425
|
|
|
6417
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
6426
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/calendars.generated.js
|
|
6418
6427
|
var calendars = {
|
|
6419
6428
|
"001": [
|
|
6420
6429
|
"gregorian"
|
|
@@ -6636,7 +6645,7 @@
|
|
|
6636
6645
|
]
|
|
6637
6646
|
};
|
|
6638
6647
|
|
|
6639
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
6648
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/week-data.generated.js
|
|
6640
6649
|
var weekData = {
|
|
6641
6650
|
"001": {
|
|
6642
6651
|
"firstDay": 1,
|
|
@@ -8701,7 +8710,7 @@
|
|
|
8701
8710
|
}
|
|
8702
8711
|
};
|
|
8703
8712
|
|
|
8704
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
8713
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/preference-data.js
|
|
8705
8714
|
function getCalendarPreferenceDataForRegion(region) {
|
|
8706
8715
|
var _region = region ? region.toUpperCase() : null;
|
|
8707
8716
|
return (calendars[_region || ""] || calendars["001"]).map(function(c) {
|
|
@@ -8732,7 +8741,7 @@
|
|
|
8732
8741
|
return weekData[_region || "001"] || weekData["001"];
|
|
8733
8742
|
}
|
|
8734
8743
|
|
|
8735
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
8744
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/character-orders.generated.js
|
|
8736
8745
|
var characterOrders = {
|
|
8737
8746
|
"af": "left-to-right",
|
|
8738
8747
|
"af-NA": "left-to-right",
|
|
@@ -9307,7 +9316,7 @@
|
|
|
9307
9316
|
"zu": "left-to-right"
|
|
9308
9317
|
};
|
|
9309
9318
|
|
|
9310
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
9319
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/numbering-systems.generated.js
|
|
9311
9320
|
var numberingSystems = {
|
|
9312
9321
|
"af": [
|
|
9313
9322
|
"latn"
|
|
@@ -11111,7 +11120,7 @@
|
|
|
11111
11120
|
]
|
|
11112
11121
|
};
|
|
11113
11122
|
|
|
11114
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
11123
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/index.js
|
|
11115
11124
|
var RELEVANT_EXTENSION_KEYS = ["ca", "co", "hc", "kf", "kn", "nu"];
|
|
11116
11125
|
var UNICODE_TYPE_REGEX = /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;
|
|
11117
11126
|
function applyOptionsToTag(tag, options) {
|
|
@@ -11541,6 +11550,9 @@
|
|
|
11541
11550
|
enumerable: false,
|
|
11542
11551
|
configurable: true
|
|
11543
11552
|
});
|
|
11553
|
+
Locale2.prototype.getCalendars = function() {
|
|
11554
|
+
return calendarsOfLocale(this);
|
|
11555
|
+
};
|
|
11544
11556
|
Object.defineProperty(Locale2.prototype, "calendars", {
|
|
11545
11557
|
/**
|
|
11546
11558
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.calendars
|
|
@@ -11551,6 +11563,9 @@
|
|
|
11551
11563
|
enumerable: false,
|
|
11552
11564
|
configurable: true
|
|
11553
11565
|
});
|
|
11566
|
+
Locale2.prototype.getCollations = function() {
|
|
11567
|
+
return collationsOfLocale(this);
|
|
11568
|
+
};
|
|
11554
11569
|
Object.defineProperty(Locale2.prototype, "collations", {
|
|
11555
11570
|
/**
|
|
11556
11571
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.collations
|
|
@@ -11561,6 +11576,13 @@
|
|
|
11561
11576
|
enumerable: false,
|
|
11562
11577
|
configurable: true
|
|
11563
11578
|
});
|
|
11579
|
+
Locale2.prototype.getHourCycles = function() {
|
|
11580
|
+
var locInternalSlots = getInternalSlots(this);
|
|
11581
|
+
if (locInternalSlots.initializedLocale === void 0) {
|
|
11582
|
+
throw new TypeError("Error uninitialized locale");
|
|
11583
|
+
}
|
|
11584
|
+
return hourCyclesOfLocale(this);
|
|
11585
|
+
};
|
|
11564
11586
|
Object.defineProperty(Locale2.prototype, "hourCycles", {
|
|
11565
11587
|
/**
|
|
11566
11588
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.hourCycles
|
|
@@ -11571,6 +11593,9 @@
|
|
|
11571
11593
|
enumerable: false,
|
|
11572
11594
|
configurable: true
|
|
11573
11595
|
});
|
|
11596
|
+
Locale2.prototype.getNumberingSystems = function() {
|
|
11597
|
+
return numberingSystemsOfLocale(this);
|
|
11598
|
+
};
|
|
11574
11599
|
Object.defineProperty(Locale2.prototype, "numberingSystems", {
|
|
11575
11600
|
/**
|
|
11576
11601
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.numberingSystems
|
|
@@ -11581,6 +11606,9 @@
|
|
|
11581
11606
|
enumerable: false,
|
|
11582
11607
|
configurable: true
|
|
11583
11608
|
});
|
|
11609
|
+
Locale2.prototype.getTimeZones = function() {
|
|
11610
|
+
return timeZonesOfLocale(this);
|
|
11611
|
+
};
|
|
11584
11612
|
Object.defineProperty(Locale2.prototype, "timeZones", {
|
|
11585
11613
|
/**
|
|
11586
11614
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.timeZones
|
|
@@ -11591,6 +11619,14 @@
|
|
|
11591
11619
|
enumerable: false,
|
|
11592
11620
|
configurable: true
|
|
11593
11621
|
});
|
|
11622
|
+
Locale2.prototype.getTextInfo = function() {
|
|
11623
|
+
var info = Object.create(Object.prototype);
|
|
11624
|
+
var dir = characterDirectionOfLocale(this);
|
|
11625
|
+
defineProperty(info, "direction", {
|
|
11626
|
+
value: dir
|
|
11627
|
+
});
|
|
11628
|
+
return info;
|
|
11629
|
+
};
|
|
11594
11630
|
Object.defineProperty(Locale2.prototype, "textInfo", {
|
|
11595
11631
|
/**
|
|
11596
11632
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.textInfo
|
|
@@ -11613,6 +11649,25 @@
|
|
|
11613
11649
|
enumerable: false,
|
|
11614
11650
|
configurable: true
|
|
11615
11651
|
});
|
|
11652
|
+
Locale2.prototype.getWeekInfo = function() {
|
|
11653
|
+
var info = Object.create(Object.prototype);
|
|
11654
|
+
var locInternalSlots = getInternalSlots(this);
|
|
11655
|
+
if (locInternalSlots.initializedLocale === void 0) {
|
|
11656
|
+
throw new TypeError("Error uninitialized locale");
|
|
11657
|
+
}
|
|
11658
|
+
var wi = weekInfoOfLocale(this);
|
|
11659
|
+
var we = wi.weekend;
|
|
11660
|
+
defineProperty(info, "firstDay", {
|
|
11661
|
+
value: wi.firstDay
|
|
11662
|
+
});
|
|
11663
|
+
defineProperty(info, "weekend", {
|
|
11664
|
+
value: we
|
|
11665
|
+
});
|
|
11666
|
+
defineProperty(info, "minimalDays", {
|
|
11667
|
+
value: wi.minimalDays
|
|
11668
|
+
});
|
|
11669
|
+
return info;
|
|
11670
|
+
};
|
|
11616
11671
|
Object.defineProperty(Locale2.prototype, "weekInfo", {
|
|
11617
11672
|
/**
|
|
11618
11673
|
* https://tc39.es/proposal-intl-locale/#sec-Intl.Locale.prototype.weekInfo
|
|
@@ -11671,7 +11726,7 @@
|
|
|
11671
11726
|
} catch (e) {
|
|
11672
11727
|
}
|
|
11673
11728
|
|
|
11674
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
11729
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/should-polyfill.js
|
|
11675
11730
|
function hasIntlGetCanonicalLocalesBug() {
|
|
11676
11731
|
try {
|
|
11677
11732
|
return new Intl.Locale("und-x-private").toString() === "x-private";
|
|
@@ -11683,7 +11738,7 @@
|
|
|
11683
11738
|
return !("Locale" in Intl) || hasIntlGetCanonicalLocalesBug();
|
|
11684
11739
|
}
|
|
11685
11740
|
|
|
11686
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
11741
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-locale/lib/polyfill.js
|
|
11687
11742
|
if (shouldPolyfill()) {
|
|
11688
11743
|
Object.defineProperty(Intl, "Locale", {
|
|
11689
11744
|
value: Locale,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preference-data.d.ts","sourceRoot":"","sources":["preference-data.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAc,gBAAgB,EAAC,MAAM,uBAAuB,CAAA;AAExE,OAAO,EAAC,gBAAgB,EAAC,CAAA;AAEzB,wBAAgB,kCAAkC,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CA0B5E;AAED,wBAAgB,4CAA4C,CAC1D,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE,MAAM,GACd,MAAM,EAAE,CAWV;AAED,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAQvE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAItE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"should-polyfill.d.ts","sourceRoot":"","sources":["should-polyfill.ts"],"names":[],"mappings":"AAWA,wBAAgB,cAAc,YAE7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timezones.generated.d.ts","sourceRoot":"","sources":["timezones.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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