@formatjs/intl-listformat 8.4.0 → 9.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +0 -8
- package/index.js +14 -110
- package/index.js.map +1 -1
- package/locale-data/{aa-DJ.js → ady-JO.js} +2 -2
- package/locale-data/{ab.js → ady-TR.js} +2 -2
- package/locale-data/{aa.js → ady.js} +2 -2
- package/locale-data/en-IN.js +2 -2
- package/locale-data/he.js +2 -2
- package/locale-data/hi.js +4 -4
- package/locale-data/{aa-ER.js → kbd-TR.js} +2 -2
- package/locale-data/{an.js → kbd.js} +2 -2
- package/locale-data/kek.js +36 -36
- package/locale-data/kok-Deva.js +8 -8
- package/locale-data/kok-Latn.js +12 -12
- package/locale-data/kok.js +8 -8
- package/locale-data/my.js +60 -60
- package/locale-data/to.js +24 -24
- package/package.json +2 -2
- package/polyfill-force.js +14 -110
- package/polyfill-force.js.map +1 -1
- package/polyfill.iife.js +61 -255
- package/polyfill.js +22 -230
- package/polyfill.js.map +1 -1
- package/should-polyfill.d.ts +0 -2
- package/should-polyfill.js +7 -118
- package/should-polyfill.js.map +1 -1
- package/locale-data/ann.d.ts +0 -1
- package/locale-data/ann.js +0 -135
- package/locale-data/apc.d.ts +0 -1
- package/locale-data/apc.js +0 -135
- package/locale-data/arn.d.ts +0 -1
- package/locale-data/arn.js +0 -135
- package/locale-data/az-Arab-IQ.d.ts +0 -1
- package/locale-data/az-Arab-IQ.js +0 -135
- package/locale-data/az-Arab-TR.d.ts +0 -1
- package/locale-data/az-Arab-TR.js +0 -135
- package/locale-data/az-Arab.d.ts +0 -1
- package/locale-data/az-Arab.js +0 -135
- package/locale-data/bal-Arab.d.ts +0 -1
- package/locale-data/bal-Arab.js +0 -135
- package/locale-data/bal.d.ts +0 -1
- package/locale-data/bal.js +0 -135
- package/locale-data/bew.d.ts +0 -1
- package/locale-data/bew.js +0 -135
- package/locale-data/bgn-AE.d.ts +0 -1
- package/locale-data/bgn-AE.js +0 -135
- package/locale-data/bgn-AF.d.ts +0 -1
- package/locale-data/bgn-AF.js +0 -135
- package/locale-data/bgn-IR.d.ts +0 -1
- package/locale-data/bgn-IR.js +0 -135
- package/locale-data/bgn-OM.d.ts +0 -1
- package/locale-data/bgn-OM.js +0 -135
- package/locale-data/bgn.d.ts +0 -1
- package/locale-data/bgn.js +0 -135
- package/locale-data/blt.d.ts +0 -1
- package/locale-data/blt.js +0 -135
- package/locale-data/bm-Nkoo.d.ts +0 -1
- package/locale-data/bm-Nkoo.js +0 -135
- package/locale-data/bqi.d.ts +0 -1
- package/locale-data/bqi.js +0 -135
- package/locale-data/bss.d.ts +0 -1
- package/locale-data/bss.js +0 -135
- package/locale-data/byn.d.ts +0 -1
- package/locale-data/byn.js +0 -135
- package/locale-data/cad.d.ts +0 -1
- package/locale-data/cad.js +0 -135
- package/locale-data/cch.d.ts +0 -1
- package/locale-data/cch.js +0 -135
- package/locale-data/cho.d.ts +0 -1
- package/locale-data/cho.js +0 -135
- package/locale-data/cic.d.ts +0 -1
- package/locale-data/cic.js +0 -135
- package/locale-data/co.d.ts +0 -1
- package/locale-data/co.js +0 -135
- package/locale-data/cu.d.ts +0 -1
- package/locale-data/cu.js +0 -135
- package/locale-data/dv.d.ts +0 -1
- package/locale-data/dv.js +0 -135
- package/locale-data/en-Dsrt.d.ts +0 -1
- package/locale-data/en-Dsrt.js +0 -135
- package/locale-data/en-Shaw.d.ts +0 -1
- package/locale-data/en-Shaw.js +0 -135
- package/locale-data/frr.d.ts +0 -1
- package/locale-data/frr.js +0 -135
- package/locale-data/gez-ER.d.ts +0 -1
- package/locale-data/gez-ER.js +0 -135
- package/locale-data/gez.d.ts +0 -1
- package/locale-data/gez.js +0 -135
- package/locale-data/gn.d.ts +0 -1
- package/locale-data/gn.js +0 -135
- package/locale-data/ha-Arab-SD.d.ts +0 -1
- package/locale-data/ha-Arab-SD.js +0 -135
- package/locale-data/ha-Arab.d.ts +0 -1
- package/locale-data/ha-Arab.js +0 -135
- package/locale-data/hnj-Hmnp.d.ts +0 -1
- package/locale-data/hnj-Hmnp.js +0 -135
- package/locale-data/hnj.d.ts +0 -1
- package/locale-data/hnj.js +0 -135
- package/locale-data/ht.d.ts +0 -1
- package/locale-data/ht.js +0 -135
- package/locale-data/io.d.ts +0 -1
- package/locale-data/io.js +0 -135
- package/locale-data/iu-Latn.d.ts +0 -1
- package/locale-data/iu-Latn.js +0 -135
- package/locale-data/iu.d.ts +0 -1
- package/locale-data/iu.js +0 -135
- package/locale-data/jbo.d.ts +0 -1
- package/locale-data/jbo.js +0 -135
- package/locale-data/kaa-Cyrl.d.ts +0 -1
- package/locale-data/kaa-Cyrl.js +0 -135
- package/locale-data/kaa-Latn.d.ts +0 -1
- package/locale-data/kaa-Latn.js +0 -135
- package/locale-data/kaa.d.ts +0 -1
- package/locale-data/kaa.js +0 -135
- package/locale-data/kaj.d.ts +0 -1
- package/locale-data/kaj.js +0 -135
- package/locale-data/kcg.d.ts +0 -1
- package/locale-data/kcg.js +0 -135
- package/locale-data/ken.d.ts +0 -1
- package/locale-data/ken.js +0 -135
- package/locale-data/kpe-GN.d.ts +0 -1
- package/locale-data/kpe-GN.js +0 -135
- package/locale-data/kpe.d.ts +0 -1
- package/locale-data/kpe.js +0 -135
- package/locale-data/ku-Arab-IR.d.ts +0 -1
- package/locale-data/ku-Arab-IR.js +0 -135
- package/locale-data/ku-Arab.d.ts +0 -1
- package/locale-data/ku-Arab.js +0 -135
- package/locale-data/la.d.ts +0 -1
- package/locale-data/la.js +0 -135
- package/locale-data/ltg.d.ts +0 -1
- package/locale-data/ltg.js +0 -135
- package/locale-data/lzz.d.ts +0 -1
- package/locale-data/lzz.js +0 -135
- package/locale-data/mdf.d.ts +0 -1
- package/locale-data/mdf.js +0 -135
- package/locale-data/mhn.d.ts +0 -1
- package/locale-data/mhn.js +0 -135
- package/locale-data/mic.d.ts +0 -1
- package/locale-data/mic.js +0 -135
- package/locale-data/mn-Mong-MN.d.ts +0 -1
- package/locale-data/mn-Mong-MN.js +0 -135
- package/locale-data/mn-Mong.d.ts +0 -1
- package/locale-data/mn-Mong.js +0 -135
- package/locale-data/mni-Mtei.d.ts +0 -1
- package/locale-data/mni-Mtei.js +0 -135
- package/locale-data/moh.d.ts +0 -1
- package/locale-data/moh.js +0 -135
- package/locale-data/ms-Arab-BN.d.ts +0 -1
- package/locale-data/ms-Arab-BN.js +0 -135
- package/locale-data/ms-Arab.d.ts +0 -1
- package/locale-data/ms-Arab.js +0 -135
- package/locale-data/mus.d.ts +0 -1
- package/locale-data/mus.js +0 -135
- package/locale-data/mww-Hmnp.d.ts +0 -1
- package/locale-data/mww-Hmnp.js +0 -135
- package/locale-data/mww.d.ts +0 -1
- package/locale-data/mww.js +0 -135
- package/locale-data/myv.d.ts +0 -1
- package/locale-data/myv.js +0 -135
- package/locale-data/nr.d.ts +0 -1
- package/locale-data/nr.js +0 -135
- package/locale-data/nv.d.ts +0 -1
- package/locale-data/nv.js +0 -135
- package/locale-data/ny.d.ts +0 -1
- package/locale-data/ny.js +0 -135
- package/locale-data/oka-US.d.ts +0 -1
- package/locale-data/oka-US.js +0 -135
- package/locale-data/oka.d.ts +0 -1
- package/locale-data/oka.js +0 -135
- package/locale-data/osa.d.ts +0 -1
- package/locale-data/osa.js +0 -135
- package/locale-data/pap-AW.d.ts +0 -1
- package/locale-data/pap-AW.js +0 -135
- package/locale-data/pap.d.ts +0 -1
- package/locale-data/pap.js +0 -135
- package/locale-data/pi-Latn.d.ts +0 -1
- package/locale-data/pi-Latn.js +0 -135
- package/locale-data/pi.d.ts +0 -1
- package/locale-data/pi.js +0 -135
- package/locale-data/pis.d.ts +0 -1
- package/locale-data/pis.js +0 -135
- package/locale-data/rhg-Rohg-BD.d.ts +0 -1
- package/locale-data/rhg-Rohg-BD.js +0 -135
- package/locale-data/rhg-Rohg.d.ts +0 -1
- package/locale-data/rhg-Rohg.js +0 -135
- package/locale-data/rhg.d.ts +0 -1
- package/locale-data/rhg.js +0 -135
- package/locale-data/rif.d.ts +0 -1
- package/locale-data/rif.js +0 -135
- package/locale-data/sat-Deva.d.ts +0 -1
- package/locale-data/sat-Deva.js +0 -135
- package/locale-data/sdh-IQ.d.ts +0 -1
- package/locale-data/sdh-IQ.js +0 -135
- package/locale-data/sdh.d.ts +0 -1
- package/locale-data/sdh.js +0 -135
- package/locale-data/sgs.d.ts +0 -1
- package/locale-data/sgs.js +0 -135
- package/locale-data/sid.d.ts +0 -1
- package/locale-data/sid.js +0 -135
- package/locale-data/skr.d.ts +0 -1
- package/locale-data/skr.js +0 -135
- package/locale-data/sma-NO.d.ts +0 -1
- package/locale-data/sma-NO.js +0 -135
- package/locale-data/sma.d.ts +0 -1
- package/locale-data/sma.js +0 -135
- package/locale-data/smj-NO.d.ts +0 -1
- package/locale-data/smj-NO.js +0 -135
- package/locale-data/smj.d.ts +0 -1
- package/locale-data/smj.js +0 -135
- package/locale-data/sms.d.ts +0 -1
- package/locale-data/sms.js +0 -135
- package/locale-data/ss-SZ.d.ts +0 -1
- package/locale-data/ss-SZ.js +0 -135
- package/locale-data/ss.d.ts +0 -1
- package/locale-data/ss.js +0 -135
- package/locale-data/ssy.d.ts +0 -1
- package/locale-data/ssy.js +0 -135
- package/locale-data/suz-Deva.d.ts +0 -1
- package/locale-data/suz-Deva.js +0 -135
- package/locale-data/suz.d.ts +0 -1
- package/locale-data/suz.js +0 -135
- package/locale-data/tig.d.ts +0 -1
- package/locale-data/tig.js +0 -135
- package/locale-data/tpi.d.ts +0 -1
- package/locale-data/tpi.js +0 -135
- package/locale-data/trv.d.ts +0 -1
- package/locale-data/trv.js +0 -135
- package/locale-data/trw.d.ts +0 -1
- package/locale-data/trw.js +0 -135
- package/locale-data/ts.d.ts +0 -1
- package/locale-data/ts.js +0 -135
- package/locale-data/ve.d.ts +0 -1
- package/locale-data/ve.js +0 -135
- package/locale-data/vo.d.ts +0 -1
- package/locale-data/vo.js +0 -135
- package/locale-data/wa.d.ts +0 -1
- package/locale-data/wa.js +0 -135
- package/locale-data/wal.d.ts +0 -1
- package/locale-data/wal.js +0 -135
- package/locale-data/wbp.d.ts +0 -1
- package/locale-data/wbp.js +0 -135
- package/locale-data/zh-Latn.d.ts +0 -1
- package/locale-data/zh-Latn.js +0 -135
- /package/locale-data/{aa-DJ.d.ts → ady-JO.d.ts} +0 -0
- /package/locale-data/{aa-ER.d.ts → ady-TR.d.ts} +0 -0
- /package/locale-data/{aa.d.ts → ady.d.ts} +0 -0
- /package/locale-data/{ab.d.ts → kbd-TR.d.ts} +0 -0
- /package/locale-data/{an.d.ts → kbd.d.ts} +0 -0
package/index.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
//#region packages/ecma402-abstract/types/core.d.ts
|
|
2
1
|
type Locale = string;
|
|
3
2
|
interface LocaleData<T> {
|
|
4
3
|
data: T;
|
|
5
4
|
locale: Locale;
|
|
6
5
|
}
|
|
7
|
-
//#endregion
|
|
8
|
-
//#region packages/ecma402-abstract/types/list.d.ts
|
|
9
6
|
type ListPatternLocaleData = LocaleData<ListPatternFieldsData>;
|
|
10
7
|
interface ListPatternFieldsData {
|
|
11
8
|
conjunction?: ListPatternData;
|
|
@@ -23,14 +20,10 @@ interface ListPatternData {
|
|
|
23
20
|
short?: ListPattern;
|
|
24
21
|
narrow?: ListPattern;
|
|
25
22
|
}
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region packages/ecma402-abstract/utils.d.ts
|
|
28
23
|
interface LiteralPart {
|
|
29
24
|
type: "literal";
|
|
30
25
|
value: string;
|
|
31
26
|
}
|
|
32
|
-
//#endregion
|
|
33
|
-
//#region packages/intl-listformat/index.d.ts
|
|
34
27
|
export interface IntlListFormatOptions {
|
|
35
28
|
/**
|
|
36
29
|
* The locale matching algorithm to use.
|
|
@@ -102,6 +95,5 @@ export default class ListFormat {
|
|
|
102
95
|
static polyfilled: boolean;
|
|
103
96
|
private static readonly __INTERNAL_SLOT_MAP__;
|
|
104
97
|
}
|
|
105
|
-
//#endregion
|
|
106
98
|
export {};
|
|
107
99
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -1,65 +1,45 @@
|
|
|
1
1
|
import { LookupSupportedLocales, ResolveLocale } from "@formatjs/intl-localematcher";
|
|
2
|
-
|
|
2
|
+
// node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-locales@0.0.0/node_modules/@formatjs_generated/cldr.supported-locales/default-content.js
|
|
3
3
|
const defaultContent = {
|
|
4
|
-
"
|
|
5
|
-
"ab": ["ab-GE"],
|
|
4
|
+
"ady": ["ady-RU"],
|
|
6
5
|
"af": ["af-ZA"],
|
|
7
6
|
"agq": ["agq-CM"],
|
|
8
7
|
"ak": ["ak-GH"],
|
|
9
8
|
"am": ["am-ET"],
|
|
10
|
-
"an": ["an-ES"],
|
|
11
|
-
"ann": ["ann-NG"],
|
|
12
|
-
"apc": ["apc-SY"],
|
|
13
9
|
"ar": ["ar-001"],
|
|
14
|
-
"arn": ["arn-CL"],
|
|
15
10
|
"as": ["as-IN"],
|
|
16
11
|
"asa": ["asa-TZ"],
|
|
17
12
|
"ast": ["ast-ES"],
|
|
18
|
-
"az-Arab": ["az-Arab-IR"],
|
|
19
13
|
"az-Cyrl": ["az-Cyrl-AZ"],
|
|
20
14
|
"az-Latn": ["az-Latn-AZ"],
|
|
21
15
|
"ba": ["ba-RU"],
|
|
22
|
-
"bal-Arab": ["bal-Arab-PK"],
|
|
23
16
|
"bal-Latn": ["bal-Latn-PK"],
|
|
24
17
|
"bas": ["bas-CM"],
|
|
25
18
|
"be": ["be-BY"],
|
|
26
19
|
"bem": ["bem-ZM"],
|
|
27
|
-
"bew": ["bew-ID"],
|
|
28
20
|
"bez": ["bez-TZ"],
|
|
29
21
|
"bg": ["bg-BG"],
|
|
30
22
|
"bgc": ["bgc-IN"],
|
|
31
|
-
"bgn": ["bgn-PK"],
|
|
32
23
|
"bho": ["bho-IN"],
|
|
33
24
|
"blo": ["blo-BJ"],
|
|
34
|
-
"blt": ["blt-VN"],
|
|
35
25
|
"bm": ["bm-ML"],
|
|
36
|
-
"bm-Nkoo": ["bm-Nkoo-ML"],
|
|
37
26
|
"bn": ["bn-BD"],
|
|
38
27
|
"bo": ["bo-CN"],
|
|
39
|
-
"bqi": ["bqi-IR"],
|
|
40
28
|
"br": ["br-FR"],
|
|
41
29
|
"brx": ["brx-IN"],
|
|
42
30
|
"bs-Cyrl": ["bs-Cyrl-BA"],
|
|
43
31
|
"bs-Latn": ["bs-Latn-BA"],
|
|
44
|
-
"bss": ["bss-CM"],
|
|
45
32
|
"bua": ["bua-RU"],
|
|
46
|
-
"byn": ["byn-ER"],
|
|
47
33
|
"ca": ["ca-ES"],
|
|
48
|
-
"cad": ["cad-US"],
|
|
49
|
-
"cch": ["cch-NG"],
|
|
50
34
|
"ccp": ["ccp-BD"],
|
|
51
35
|
"ce": ["ce-RU"],
|
|
52
36
|
"ceb": ["ceb-PH"],
|
|
53
37
|
"cgg": ["cgg-UG"],
|
|
54
|
-
"cho": ["cho-US"],
|
|
55
38
|
"chr": ["chr-US"],
|
|
56
|
-
"cic": ["cic-US"],
|
|
57
39
|
"ckb": ["ckb-IQ"],
|
|
58
|
-
"co": ["co-FR"],
|
|
59
40
|
"cop": ["cop-EG"],
|
|
60
41
|
"cs": ["cs-CZ"],
|
|
61
42
|
"csw": ["csw-CA"],
|
|
62
|
-
"cu": ["cu-RU"],
|
|
63
43
|
"cv": ["cv-RU"],
|
|
64
44
|
"cy": ["cy-GB"],
|
|
65
45
|
"da": ["da-DK"],
|
|
@@ -69,14 +49,11 @@ const defaultContent = {
|
|
|
69
49
|
"doi": ["doi-IN"],
|
|
70
50
|
"dsb": ["dsb-DE"],
|
|
71
51
|
"dua": ["dua-CM"],
|
|
72
|
-
"dv": ["dv-MV"],
|
|
73
52
|
"dyo": ["dyo-SN"],
|
|
74
53
|
"dz": ["dz-BT"],
|
|
75
54
|
"ebu": ["ebu-KE"],
|
|
76
55
|
"ee": ["ee-GH"],
|
|
77
56
|
"el": ["el-GR"],
|
|
78
|
-
"en-Dsrt": ["en-Dsrt-US"],
|
|
79
|
-
"en-Shaw": ["en-Shaw-GB"],
|
|
80
57
|
"en": ["en-US"],
|
|
81
58
|
"eo": ["eo-001"],
|
|
82
59
|
"es": ["es-ES"],
|
|
@@ -90,29 +67,23 @@ const defaultContent = {
|
|
|
90
67
|
"fil": ["fil-PH"],
|
|
91
68
|
"fo": ["fo-FO"],
|
|
92
69
|
"fr": ["fr-FR"],
|
|
93
|
-
"frr": ["frr-DE"],
|
|
94
70
|
"fur": ["fur-IT"],
|
|
95
71
|
"fy": ["fy-NL"],
|
|
96
72
|
"ga": ["ga-IE"],
|
|
97
73
|
"gaa": ["gaa-GH"],
|
|
98
74
|
"gd": ["gd-GB"],
|
|
99
|
-
"gez": ["gez-ET"],
|
|
100
75
|
"gl": ["gl-ES"],
|
|
101
|
-
"gn": ["gn-PY"],
|
|
102
76
|
"gsw": ["gsw-CH"],
|
|
103
77
|
"gu": ["gu-IN"],
|
|
104
78
|
"guz": ["guz-KE"],
|
|
105
79
|
"gv": ["gv-IM"],
|
|
106
|
-
"ha-Arab": ["ha-Arab-NG"],
|
|
107
80
|
"ha": ["ha-NG"],
|
|
108
81
|
"haw": ["haw-US"],
|
|
109
82
|
"he": ["he-IL"],
|
|
110
83
|
"hi": ["hi-IN"],
|
|
111
84
|
"hi-Latn": ["hi-Latn-IN"],
|
|
112
|
-
"hnj-Hmnp": ["hnj-Hmnp-US"],
|
|
113
85
|
"hr": ["hr-HR"],
|
|
114
86
|
"hsb": ["hsb-DE"],
|
|
115
|
-
"ht": ["ht-HT"],
|
|
116
87
|
"hu": ["hu-HU"],
|
|
117
88
|
"hy": ["hy-AM"],
|
|
118
89
|
"ia": ["ia-001"],
|
|
@@ -120,27 +91,19 @@ const defaultContent = {
|
|
|
120
91
|
"ie": ["ie-EE"],
|
|
121
92
|
"ig": ["ig-NG"],
|
|
122
93
|
"ii": ["ii-CN"],
|
|
123
|
-
"io": ["io-001"],
|
|
124
94
|
"is": ["is-IS"],
|
|
125
95
|
"it": ["it-IT"],
|
|
126
|
-
"iu": ["iu-CA"],
|
|
127
|
-
"iu-Latn": ["iu-Latn-CA"],
|
|
128
96
|
"ja": ["ja-JP"],
|
|
129
|
-
"jbo": ["jbo-001"],
|
|
130
97
|
"jgo": ["jgo-CM"],
|
|
131
98
|
"jmc": ["jmc-TZ"],
|
|
132
99
|
"jv": ["jv-ID"],
|
|
133
100
|
"ka": ["ka-GE"],
|
|
134
|
-
"kaa-Cyrl": ["kaa-Cyrl-UZ"],
|
|
135
|
-
"kaa-Latn": ["kaa-Latn-UZ"],
|
|
136
101
|
"kab": ["kab-DZ"],
|
|
137
|
-
"kaj": ["kaj-NG"],
|
|
138
102
|
"kam": ["kam-KE"],
|
|
139
|
-
"
|
|
103
|
+
"kbd": ["kbd-RU"],
|
|
140
104
|
"kde": ["kde-TZ"],
|
|
141
105
|
"kea": ["kea-CV"],
|
|
142
106
|
"kek": ["kek-GT"],
|
|
143
|
-
"ken": ["ken-CM"],
|
|
144
107
|
"kgp": ["kgp-BR"],
|
|
145
108
|
"khq": ["khq-ML"],
|
|
146
109
|
"ki": ["ki-KE"],
|
|
@@ -154,13 +117,11 @@ const defaultContent = {
|
|
|
154
117
|
"ko": ["ko-KR"],
|
|
155
118
|
"kok-Deva": ["kok-Deva-IN"],
|
|
156
119
|
"kok-Latn": ["kok-Latn-IN"],
|
|
157
|
-
"kpe": ["kpe-LR"],
|
|
158
120
|
"ks-Arab": ["ks-Arab-IN"],
|
|
159
121
|
"ks-Deva": ["ks-Deva-IN"],
|
|
160
122
|
"ksb": ["ksb-TZ"],
|
|
161
123
|
"ksf": ["ksf-CM"],
|
|
162
124
|
"ksh": ["ksh-DE"],
|
|
163
|
-
"ku-Arab": ["ku-Arab-IQ"],
|
|
164
125
|
"ku-Latn": ["ku-Latn-TR"],
|
|
165
126
|
"kw": ["kw-GB"],
|
|
166
127
|
"kxv-Deva": ["kxv-Deva-IN"],
|
|
@@ -168,7 +129,6 @@ const defaultContent = {
|
|
|
168
129
|
"kxv-Orya": ["kxv-Orya-IN"],
|
|
169
130
|
"kxv-Telu": ["kxv-Telu-IN"],
|
|
170
131
|
"ky": ["ky-KG"],
|
|
171
|
-
"la": ["la-VA"],
|
|
172
132
|
"lag": ["lag-TZ"],
|
|
173
133
|
"lb": ["lb-LU"],
|
|
174
134
|
"lg": ["lg-UG"],
|
|
@@ -180,39 +140,27 @@ const defaultContent = {
|
|
|
180
140
|
"lo": ["lo-LA"],
|
|
181
141
|
"lrc": ["lrc-IR"],
|
|
182
142
|
"lt": ["lt-LT"],
|
|
183
|
-
"ltg": ["ltg-LV"],
|
|
184
143
|
"lu": ["lu-CD"],
|
|
185
144
|
"luo": ["luo-KE"],
|
|
186
145
|
"luy": ["luy-KE"],
|
|
187
146
|
"lv": ["lv-LV"],
|
|
188
|
-
"lzz": ["lzz-TR"],
|
|
189
147
|
"mai": ["mai-IN"],
|
|
190
148
|
"mas": ["mas-KE"],
|
|
191
|
-
"mdf": ["mdf-RU"],
|
|
192
149
|
"mer": ["mer-KE"],
|
|
193
150
|
"mfe": ["mfe-MU"],
|
|
194
151
|
"mg": ["mg-MG"],
|
|
195
152
|
"mgh": ["mgh-MZ"],
|
|
196
153
|
"mgo": ["mgo-CM"],
|
|
197
|
-
"mhn": ["mhn-IT"],
|
|
198
154
|
"mi": ["mi-NZ"],
|
|
199
|
-
"mic": ["mic-CA"],
|
|
200
155
|
"mk": ["mk-MK"],
|
|
201
156
|
"ml": ["ml-IN"],
|
|
202
157
|
"mn": ["mn-MN"],
|
|
203
|
-
"mn-Mong": ["mn-Mong-CN"],
|
|
204
158
|
"mni-Beng": ["mni-Beng-IN"],
|
|
205
|
-
"mni-Mtei": ["mni-Mtei-IN"],
|
|
206
|
-
"moh": ["moh-CA"],
|
|
207
159
|
"mr": ["mr-IN"],
|
|
208
|
-
"ms-Arab": ["ms-Arab-MY"],
|
|
209
160
|
"ms": ["ms-MY"],
|
|
210
161
|
"mt": ["mt-MT"],
|
|
211
162
|
"mua": ["mua-CM"],
|
|
212
|
-
"mus": ["mus-US"],
|
|
213
|
-
"mww-Hmnp": ["mww-Hmnp-US"],
|
|
214
163
|
"my": ["my-MM"],
|
|
215
|
-
"myv": ["myv-RU"],
|
|
216
164
|
"mzn": ["mzn-IR"],
|
|
217
165
|
"naq": ["naq-NA"],
|
|
218
166
|
"nb": ["nb-NO"],
|
|
@@ -224,24 +172,16 @@ const defaultContent = {
|
|
|
224
172
|
"nn": ["nn-NO"],
|
|
225
173
|
"nnh": ["nnh-CM"],
|
|
226
174
|
"nqo": ["nqo-GN"],
|
|
227
|
-
"nr": ["nr-ZA"],
|
|
228
175
|
"nso": ["nso-ZA"],
|
|
229
176
|
"nus": ["nus-SS"],
|
|
230
|
-
"nv": ["nv-US"],
|
|
231
|
-
"ny": ["ny-MW"],
|
|
232
177
|
"nyn": ["nyn-UG"],
|
|
233
178
|
"oc": ["oc-FR"],
|
|
234
|
-
"oka": ["oka-CA"],
|
|
235
179
|
"om": ["om-ET"],
|
|
236
180
|
"or": ["or-IN"],
|
|
237
181
|
"os": ["os-GE"],
|
|
238
|
-
"osa": ["osa-US"],
|
|
239
182
|
"pa-Arab": ["pa-Arab-PK"],
|
|
240
183
|
"pa-Guru": ["pa-Guru-IN"],
|
|
241
|
-
"pap": ["pap-CW"],
|
|
242
184
|
"pcm": ["pcm-NG"],
|
|
243
|
-
"pi-Latn": ["pi-Latn-GB"],
|
|
244
|
-
"pis": ["pis-SB"],
|
|
245
185
|
"pl": ["pl-PL"],
|
|
246
186
|
"pms": ["pms-IT"],
|
|
247
187
|
"prg": ["prg-PL"],
|
|
@@ -250,8 +190,6 @@ const defaultContent = {
|
|
|
250
190
|
"qu": ["qu-PE"],
|
|
251
191
|
"quc": ["quc-GT"],
|
|
252
192
|
"raj": ["raj-IN"],
|
|
253
|
-
"rhg-Rohg": ["rhg-Rohg-MM"],
|
|
254
|
-
"rif": ["rif-MA"],
|
|
255
193
|
"rm": ["rm-CH"],
|
|
256
194
|
"rn": ["rn-BI"],
|
|
257
195
|
"ro": ["ro-RO"],
|
|
@@ -262,41 +200,30 @@ const defaultContent = {
|
|
|
262
200
|
"sa": ["sa-IN"],
|
|
263
201
|
"sah": ["sah-RU"],
|
|
264
202
|
"saq": ["saq-KE"],
|
|
265
|
-
"sat-Deva": ["sat-Deva-IN"],
|
|
266
203
|
"sat-Olck": ["sat-Olck-IN"],
|
|
267
204
|
"sbp": ["sbp-TZ"],
|
|
268
205
|
"sc": ["sc-IT"],
|
|
269
206
|
"scn": ["scn-IT"],
|
|
270
207
|
"sd-Arab": ["sd-Arab-PK"],
|
|
271
208
|
"sd-Deva": ["sd-Deva-IN"],
|
|
272
|
-
"sdh": ["sdh-IR"],
|
|
273
209
|
"se": ["se-NO"],
|
|
274
210
|
"seh": ["seh-MZ"],
|
|
275
211
|
"ses": ["ses-ML"],
|
|
276
212
|
"sg": ["sg-CF"],
|
|
277
|
-
"sgs": ["sgs-LT"],
|
|
278
213
|
"shi-Latn": ["shi-Latn-MA"],
|
|
279
214
|
"shi-Tfng": ["shi-Tfng-MA"],
|
|
280
215
|
"shn": ["shn-MM"],
|
|
281
216
|
"si": ["si-LK"],
|
|
282
|
-
"sid": ["sid-ET"],
|
|
283
217
|
"sk": ["sk-SK"],
|
|
284
|
-
"skr": ["skr-PK"],
|
|
285
218
|
"sl": ["sl-SI"],
|
|
286
|
-
"sma": ["sma-SE"],
|
|
287
|
-
"smj": ["smj-SE"],
|
|
288
219
|
"smn": ["smn-FI"],
|
|
289
|
-
"sms": ["sms-FI"],
|
|
290
220
|
"sn": ["sn-ZW"],
|
|
291
221
|
"so": ["so-SO"],
|
|
292
222
|
"sq": ["sq-AL"],
|
|
293
223
|
"sr-Cyrl": ["sr-Cyrl-RS"],
|
|
294
224
|
"sr-Latn": ["sr-Latn-RS"],
|
|
295
|
-
"ss": ["ss-ZA"],
|
|
296
|
-
"ssy": ["ssy-ER"],
|
|
297
225
|
"st": ["st-ZA"],
|
|
298
226
|
"su-Latn": ["su-Latn-ID"],
|
|
299
|
-
"suz-Deva": ["suz-Deva-NP"],
|
|
300
227
|
"suz-Sunu": ["suz-Sunu-NP"],
|
|
301
228
|
"sv": ["sv-SE"],
|
|
302
229
|
"sw": ["sw-TZ"],
|
|
@@ -308,16 +235,11 @@ const defaultContent = {
|
|
|
308
235
|
"tg": ["tg-TJ"],
|
|
309
236
|
"th": ["th-TH"],
|
|
310
237
|
"ti": ["ti-ET"],
|
|
311
|
-
"tig": ["tig-ER"],
|
|
312
238
|
"tk": ["tk-TM"],
|
|
313
239
|
"tn": ["tn-ZA"],
|
|
314
240
|
"to": ["to-TO"],
|
|
315
241
|
"tok": ["tok-001"],
|
|
316
|
-
"tpi": ["tpi-PG"],
|
|
317
242
|
"tr": ["tr-TR"],
|
|
318
|
-
"trv": ["trv-TW"],
|
|
319
|
-
"trw": ["trw-PK"],
|
|
320
|
-
"ts": ["ts-ZA"],
|
|
321
243
|
"tt": ["tt-RU"],
|
|
322
244
|
"twq": ["twq-NE"],
|
|
323
245
|
"tyv": ["tyv-RU"],
|
|
@@ -330,16 +252,11 @@ const defaultContent = {
|
|
|
330
252
|
"uz-Latn": ["uz-Latn-UZ"],
|
|
331
253
|
"vai-Latn": ["vai-Latn-LR"],
|
|
332
254
|
"vai-Vaii": ["vai-Vaii-LR"],
|
|
333
|
-
"ve": ["ve-ZA"],
|
|
334
255
|
"vec": ["vec-IT"],
|
|
335
256
|
"vi": ["vi-VN"],
|
|
336
257
|
"vmw": ["vmw-MZ"],
|
|
337
|
-
"vo": ["vo-001"],
|
|
338
258
|
"vun": ["vun-TZ"],
|
|
339
|
-
"wa": ["wa-BE"],
|
|
340
259
|
"wae": ["wae-CH"],
|
|
341
|
-
"wal": ["wal-ET"],
|
|
342
|
-
"wbp": ["wbp-AU"],
|
|
343
260
|
"wo": ["wo-SN"],
|
|
344
261
|
"xh": ["xh-ZA"],
|
|
345
262
|
"xnr": ["xnr-IN"],
|
|
@@ -354,11 +271,9 @@ const defaultContent = {
|
|
|
354
271
|
"zgh": ["zgh-MA"],
|
|
355
272
|
"zh-Hans": ["zh-Hans-CN"],
|
|
356
273
|
"zh-Hant": ["zh-Hant-TW"],
|
|
357
|
-
"zh-Latn": ["zh-Latn-CN"],
|
|
358
274
|
"zu": ["zu-ZA"]
|
|
359
275
|
};
|
|
360
|
-
|
|
361
|
-
//#region packages/ecma402-abstract/registerLocaleData.js
|
|
276
|
+
// packages/ecma402-abstract/registerLocaleData.js
|
|
362
277
|
const explicitLocales = /* @__PURE__ */ new WeakMap();
|
|
363
278
|
function registerLocaleData(locale, data, localeData, availableLocales) {
|
|
364
279
|
let loaded = explicitLocales.get(localeData);
|
|
@@ -386,8 +301,7 @@ function registerLocaleData(locale, data, localeData, availableLocales) {
|
|
|
386
301
|
}
|
|
387
302
|
}
|
|
388
303
|
}
|
|
389
|
-
|
|
390
|
-
//#region packages/ecma402-abstract/CanonicalizeLocaleList.js
|
|
304
|
+
// packages/ecma402-abstract/CanonicalizeLocaleList.js
|
|
391
305
|
/**
|
|
392
306
|
* http://ecma-international.org/ecma-402/7.0/index.html#sec-canonicalizelocalelist
|
|
393
307
|
* @param locales
|
|
@@ -395,8 +309,7 @@ function registerLocaleData(locale, data, localeData, availableLocales) {
|
|
|
395
309
|
function CanonicalizeLocaleList(locales) {
|
|
396
310
|
return Intl.getCanonicalLocales(locales);
|
|
397
311
|
}
|
|
398
|
-
|
|
399
|
-
//#region packages/ecma262-abstract/ToString.js
|
|
312
|
+
// packages/ecma262-abstract/ToString.js
|
|
400
313
|
/**
|
|
401
314
|
* https://tc39.es/ecma262/#sec-tostring
|
|
402
315
|
*/
|
|
@@ -404,8 +317,7 @@ function ToString(o) {
|
|
|
404
317
|
if (typeof o === "symbol") throw TypeError("Cannot convert a Symbol value to a string");
|
|
405
318
|
return String(o);
|
|
406
319
|
}
|
|
407
|
-
|
|
408
|
-
//#region packages/ecma402-abstract/GetOption.js
|
|
320
|
+
// packages/ecma402-abstract/GetOption.js
|
|
409
321
|
/**
|
|
410
322
|
* https://tc39.es/ecma402/#sec-getoption
|
|
411
323
|
* @param opts
|
|
@@ -426,8 +338,7 @@ function GetOption(opts, prop, type, values, fallback) {
|
|
|
426
338
|
}
|
|
427
339
|
return fallback;
|
|
428
340
|
}
|
|
429
|
-
|
|
430
|
-
//#region packages/ecma402-abstract/GetOptionsObject.js
|
|
341
|
+
// packages/ecma402-abstract/GetOptionsObject.js
|
|
431
342
|
/**
|
|
432
343
|
* ECMA-262 §7.3.36 GetOptionsObject, steps 2–3.
|
|
433
344
|
* https://tc39.es/ecma262/#sec-getoptionsobject
|
|
@@ -440,8 +351,7 @@ function GetOptionsObject(options) {
|
|
|
440
351
|
if (options !== null && (typeof options === "object" || typeof options === "function")) return options;
|
|
441
352
|
throw new TypeError("Options must be an object");
|
|
442
353
|
}
|
|
443
|
-
|
|
444
|
-
//#region node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
|
|
354
|
+
// node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
|
|
445
355
|
function memoize(fn, options) {
|
|
446
356
|
const cache = options && options.cache ? options.cache : cacheDefault;
|
|
447
357
|
const serializer = options && options.serializer ? options.serializer : serializerDefault;
|
|
@@ -506,8 +416,7 @@ const strategies = {
|
|
|
506
416
|
variadic: strategyVariadic,
|
|
507
417
|
monadic: strategyMonadic
|
|
508
418
|
};
|
|
509
|
-
|
|
510
|
-
//#region packages/ecma402-abstract/utils.js
|
|
419
|
+
// packages/ecma402-abstract/utils.js
|
|
511
420
|
function setInternalSlot(map, pl, field, value) {
|
|
512
421
|
if (!map.get(pl)) map.set(pl, Object.create(null));
|
|
513
422
|
const slots = map.get(pl);
|
|
@@ -533,8 +442,7 @@ function invariant(condition, message, Err = Error) {
|
|
|
533
442
|
memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });
|
|
534
443
|
memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
|
|
535
444
|
memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });
|
|
536
|
-
|
|
537
|
-
//#region packages/ecma402-abstract/PartitionPattern.js
|
|
445
|
+
// packages/ecma402-abstract/PartitionPattern.js
|
|
538
446
|
/**
|
|
539
447
|
* Partition a pattern into a list of literals and placeholders
|
|
540
448
|
* https://tc39.es/ecma402/#sec-partitionpattern
|
|
@@ -566,8 +474,7 @@ function PartitionPattern(pattern) {
|
|
|
566
474
|
});
|
|
567
475
|
return result;
|
|
568
476
|
}
|
|
569
|
-
|
|
570
|
-
//#region packages/ecma262-abstract/ToObject.js
|
|
477
|
+
// packages/ecma262-abstract/ToObject.js
|
|
571
478
|
/**
|
|
572
479
|
* https://tc39.es/ecma262/#sec-toobject
|
|
573
480
|
*/
|
|
@@ -575,8 +482,7 @@ function ToObject(arg) {
|
|
|
575
482
|
if (arg == null) throw new TypeError("undefined/null cannot be converted to object");
|
|
576
483
|
return Object(arg);
|
|
577
484
|
}
|
|
578
|
-
|
|
579
|
-
//#region packages/ecma402-abstract/SupportedLocales.js
|
|
485
|
+
// packages/ecma402-abstract/SupportedLocales.js
|
|
580
486
|
/**
|
|
581
487
|
* https://tc39.es/ecma402/#sec-supportedlocales
|
|
582
488
|
* @param availableLocales
|
|
@@ -592,8 +498,7 @@ function SupportedLocales(availableLocales, requestedLocales, options) {
|
|
|
592
498
|
if (matcher === "best fit") return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
|
|
593
499
|
return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
|
|
594
500
|
}
|
|
595
|
-
|
|
596
|
-
//#region packages/intl-listformat/index.ts
|
|
501
|
+
// packages/intl-listformat/index.ts
|
|
597
502
|
function validateInstance(instance, method) {
|
|
598
503
|
if (!(instance instanceof ListFormat)) throw new TypeError(`Method Intl.ListFormat.prototype.${method} called on incompatible receiver ${String(instance)}`);
|
|
599
504
|
}
|
|
@@ -779,7 +684,6 @@ try {
|
|
|
779
684
|
configurable: true
|
|
780
685
|
});
|
|
781
686
|
} catch {}
|
|
782
|
-
//#endregion
|
|
783
687
|
export { ListFormat as default };
|
|
784
688
|
|
|
785
689
|
//# sourceMappingURL=index.js.map
|