@formatjs/intl-relativetimeformat 12.4.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +0 -8
- package/index.js +22 -126
- 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/az-Latn.js +204 -204
- package/locale-data/az.js +204 -204
- package/locale-data/blo.js +300 -108
- package/locale-data/bn-IN.js +14 -14
- package/locale-data/bn.js +10 -10
- package/locale-data/br.js +4 -4
- package/locale-data/chr.js +112 -112
- package/locale-data/ckb-IR.js +12 -12
- package/locale-data/ckb.js +12 -12
- package/locale-data/cop.js +204 -204
- package/locale-data/cv.js +22 -22
- package/locale-data/he.js +68 -68
- package/locale-data/ig.js +92 -92
- package/locale-data/jv.js +38 -38
- 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 +204 -204
- package/locale-data/ki.js +54 -54
- package/locale-data/kk-Arab.js +12 -12
- package/locale-data/kk-Cyrl.js +12 -12
- package/locale-data/kk-KZ.js +12 -12
- package/locale-data/kk.js +12 -12
- package/locale-data/kok-Deva.js +6 -6
- package/locale-data/kok.js +6 -6
- package/locale-data/ml.js +12 -12
- package/locale-data/nl-AW.js +8 -8
- package/locale-data/nl-BE.js +8 -8
- package/locale-data/nl-BQ.js +8 -8
- package/locale-data/nl-CW.js +8 -8
- package/locale-data/nl-SR.js +8 -8
- package/locale-data/nl-SX.js +8 -8
- package/locale-data/nl.js +8 -8
- package/locale-data/ps-PK.js +22 -22
- package/locale-data/ps.js +22 -22
- package/locale-data/sl.js +24 -24
- package/locale-data/sw-CD.js +8 -8
- package/locale-data/sw-KE.js +8 -8
- package/locale-data/sw-UG.js +8 -8
- package/locale-data/sw.js +8 -8
- package/locale-data/ur-IN.js +6 -6
- package/locale-data/ur.js +6 -6
- package/locale-data/vi.js +18 -18
- package/locale-data/yo-BJ.js +18 -18
- package/locale-data/yo.js +18 -18
- package/locale-data/zu.js +76 -76
- package/package.json +1 -1
- package/polyfill-force.js +22 -126
- package/polyfill-force.js.map +1 -1
- package/polyfill.iife.js +41 -256
- package/polyfill.js +30 -246
- 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 -667
- package/locale-data/apc.d.ts +0 -1
- package/locale-data/apc.js +0 -667
- package/locale-data/arn.d.ts +0 -1
- package/locale-data/arn.js +0 -667
- package/locale-data/az-Arab-IQ.d.ts +0 -1
- package/locale-data/az-Arab-IQ.js +0 -667
- package/locale-data/az-Arab-TR.d.ts +0 -1
- package/locale-data/az-Arab-TR.js +0 -667
- package/locale-data/az-Arab.d.ts +0 -1
- package/locale-data/az-Arab.js +0 -667
- package/locale-data/bal-Arab.d.ts +0 -1
- package/locale-data/bal-Arab.js +0 -667
- package/locale-data/bal.d.ts +0 -1
- package/locale-data/bal.js +0 -667
- package/locale-data/bew.d.ts +0 -1
- package/locale-data/bew.js +0 -667
- package/locale-data/bgn-AE.d.ts +0 -1
- package/locale-data/bgn-AE.js +0 -667
- package/locale-data/bgn-AF.d.ts +0 -1
- package/locale-data/bgn-AF.js +0 -667
- package/locale-data/bgn-IR.d.ts +0 -1
- package/locale-data/bgn-IR.js +0 -667
- package/locale-data/bgn-OM.d.ts +0 -1
- package/locale-data/bgn-OM.js +0 -667
- package/locale-data/bgn.d.ts +0 -1
- package/locale-data/bgn.js +0 -667
- package/locale-data/blt.d.ts +0 -1
- package/locale-data/blt.js +0 -667
- package/locale-data/bm-Nkoo.d.ts +0 -1
- package/locale-data/bm-Nkoo.js +0 -667
- package/locale-data/bqi.d.ts +0 -1
- package/locale-data/bqi.js +0 -667
- package/locale-data/bss.d.ts +0 -1
- package/locale-data/bss.js +0 -673
- package/locale-data/byn.d.ts +0 -1
- package/locale-data/byn.js +0 -667
- package/locale-data/cad.d.ts +0 -1
- package/locale-data/cad.js +0 -667
- package/locale-data/cch.d.ts +0 -1
- package/locale-data/cch.js +0 -667
- package/locale-data/cho.d.ts +0 -1
- package/locale-data/cho.js +0 -667
- package/locale-data/cic.d.ts +0 -1
- package/locale-data/cic.js +0 -667
- package/locale-data/co.d.ts +0 -1
- package/locale-data/co.js +0 -667
- package/locale-data/cu.d.ts +0 -1
- package/locale-data/cu.js +0 -667
- package/locale-data/dv.d.ts +0 -1
- package/locale-data/dv.js +0 -667
- package/locale-data/en-Dsrt.d.ts +0 -1
- package/locale-data/en-Dsrt.js +0 -679
- package/locale-data/en-Shaw.d.ts +0 -1
- package/locale-data/en-Shaw.js +0 -667
- package/locale-data/frr.d.ts +0 -1
- package/locale-data/frr.js +0 -667
- package/locale-data/gez-ER.d.ts +0 -1
- package/locale-data/gez-ER.js +0 -667
- package/locale-data/gez.d.ts +0 -1
- package/locale-data/gez.js +0 -667
- package/locale-data/gn.d.ts +0 -1
- package/locale-data/gn.js +0 -667
- package/locale-data/ha-Arab-SD.d.ts +0 -1
- package/locale-data/ha-Arab-SD.js +0 -667
- package/locale-data/ha-Arab.d.ts +0 -1
- package/locale-data/ha-Arab.js +0 -667
- package/locale-data/hnj-Hmnp.d.ts +0 -1
- package/locale-data/hnj-Hmnp.js +0 -667
- package/locale-data/hnj.d.ts +0 -1
- package/locale-data/hnj.js +0 -667
- package/locale-data/ht.d.ts +0 -1
- package/locale-data/ht.js +0 -775
- package/locale-data/io.d.ts +0 -1
- package/locale-data/io.js +0 -667
- package/locale-data/iu-Latn.d.ts +0 -1
- package/locale-data/iu-Latn.js +0 -667
- package/locale-data/iu.d.ts +0 -1
- package/locale-data/iu.js +0 -667
- package/locale-data/jbo.d.ts +0 -1
- package/locale-data/jbo.js +0 -667
- package/locale-data/kaa-Cyrl.d.ts +0 -1
- package/locale-data/kaa-Cyrl.js +0 -667
- package/locale-data/kaa-Latn.d.ts +0 -1
- package/locale-data/kaa-Latn.js +0 -667
- package/locale-data/kaa.d.ts +0 -1
- package/locale-data/kaa.js +0 -667
- package/locale-data/kaj.d.ts +0 -1
- package/locale-data/kaj.js +0 -667
- package/locale-data/kcg.d.ts +0 -1
- package/locale-data/kcg.js +0 -667
- package/locale-data/ken.d.ts +0 -1
- package/locale-data/ken.js +0 -667
- package/locale-data/kpe-GN.d.ts +0 -1
- package/locale-data/kpe-GN.js +0 -667
- package/locale-data/kpe.d.ts +0 -1
- package/locale-data/kpe.js +0 -667
- package/locale-data/ku-Arab-IR.d.ts +0 -1
- package/locale-data/ku-Arab-IR.js +0 -667
- package/locale-data/ku-Arab.d.ts +0 -1
- package/locale-data/ku-Arab.js +0 -667
- package/locale-data/la.d.ts +0 -1
- package/locale-data/la.js +0 -667
- package/locale-data/ltg.d.ts +0 -1
- package/locale-data/ltg.js +0 -667
- package/locale-data/lzz.d.ts +0 -1
- package/locale-data/lzz.js +0 -667
- package/locale-data/mdf.d.ts +0 -1
- package/locale-data/mdf.js +0 -667
- package/locale-data/mhn.d.ts +0 -1
- package/locale-data/mhn.js +0 -667
- package/locale-data/mic.d.ts +0 -1
- package/locale-data/mic.js +0 -667
- package/locale-data/mn-Mong-MN.d.ts +0 -1
- package/locale-data/mn-Mong-MN.js +0 -667
- package/locale-data/mn-Mong.d.ts +0 -1
- package/locale-data/mn-Mong.js +0 -667
- package/locale-data/mni-Mtei.d.ts +0 -1
- package/locale-data/mni-Mtei.js +0 -667
- package/locale-data/moh.d.ts +0 -1
- package/locale-data/moh.js +0 -667
- package/locale-data/ms-Arab-BN.d.ts +0 -1
- package/locale-data/ms-Arab-BN.js +0 -667
- package/locale-data/ms-Arab.d.ts +0 -1
- package/locale-data/ms-Arab.js +0 -667
- package/locale-data/mus.d.ts +0 -1
- package/locale-data/mus.js +0 -667
- package/locale-data/mww-Hmnp.d.ts +0 -1
- package/locale-data/mww-Hmnp.js +0 -667
- package/locale-data/mww.d.ts +0 -1
- package/locale-data/mww.js +0 -667
- package/locale-data/myv.d.ts +0 -1
- package/locale-data/myv.js +0 -667
- package/locale-data/nr.d.ts +0 -1
- package/locale-data/nr.js +0 -667
- package/locale-data/nv.d.ts +0 -1
- package/locale-data/nv.js +0 -667
- package/locale-data/ny.d.ts +0 -1
- package/locale-data/ny.js +0 -667
- package/locale-data/oka-US.d.ts +0 -1
- package/locale-data/oka-US.js +0 -667
- package/locale-data/oka.d.ts +0 -1
- package/locale-data/oka.js +0 -667
- package/locale-data/osa.d.ts +0 -1
- package/locale-data/osa.js +0 -667
- package/locale-data/pap-AW.d.ts +0 -1
- package/locale-data/pap-AW.js +0 -667
- package/locale-data/pap.d.ts +0 -1
- package/locale-data/pap.js +0 -667
- package/locale-data/pi-Latn.d.ts +0 -1
- package/locale-data/pi-Latn.js +0 -667
- package/locale-data/pi.d.ts +0 -1
- package/locale-data/pi.js +0 -667
- package/locale-data/pis.d.ts +0 -1
- package/locale-data/pis.js +0 -667
- package/locale-data/rhg-Rohg-BD.d.ts +0 -1
- package/locale-data/rhg-Rohg-BD.js +0 -667
- package/locale-data/rhg-Rohg.d.ts +0 -1
- package/locale-data/rhg-Rohg.js +0 -667
- package/locale-data/rhg.d.ts +0 -1
- package/locale-data/rhg.js +0 -667
- package/locale-data/rif.d.ts +0 -1
- package/locale-data/rif.js +0 -667
- package/locale-data/sat-Deva.d.ts +0 -1
- package/locale-data/sat-Deva.js +0 -667
- package/locale-data/sdh-IQ.d.ts +0 -1
- package/locale-data/sdh-IQ.js +0 -667
- package/locale-data/sdh.d.ts +0 -1
- package/locale-data/sdh.js +0 -667
- package/locale-data/sgs.d.ts +0 -1
- package/locale-data/sgs.js +0 -667
- package/locale-data/sid.d.ts +0 -1
- package/locale-data/sid.js +0 -667
- package/locale-data/skr.d.ts +0 -1
- package/locale-data/skr.js +0 -667
- package/locale-data/sma-NO.d.ts +0 -1
- package/locale-data/sma-NO.js +0 -667
- package/locale-data/sma.d.ts +0 -1
- package/locale-data/sma.js +0 -667
- package/locale-data/smj-NO.d.ts +0 -1
- package/locale-data/smj-NO.js +0 -667
- package/locale-data/smj.d.ts +0 -1
- package/locale-data/smj.js +0 -667
- package/locale-data/sms.d.ts +0 -1
- package/locale-data/sms.js +0 -667
- package/locale-data/ss-SZ.d.ts +0 -1
- package/locale-data/ss-SZ.js +0 -667
- package/locale-data/ss.d.ts +0 -1
- package/locale-data/ss.js +0 -667
- package/locale-data/ssy.d.ts +0 -1
- package/locale-data/ssy.js +0 -667
- package/locale-data/suz-Deva.d.ts +0 -1
- package/locale-data/suz-Deva.js +0 -667
- package/locale-data/suz.d.ts +0 -1
- package/locale-data/suz.js +0 -667
- package/locale-data/tig.d.ts +0 -1
- package/locale-data/tig.js +0 -667
- package/locale-data/tpi.d.ts +0 -1
- package/locale-data/tpi.js +0 -667
- package/locale-data/trv.d.ts +0 -1
- package/locale-data/trv.js +0 -667
- package/locale-data/trw.d.ts +0 -1
- package/locale-data/trw.js +0 -667
- package/locale-data/ts.d.ts +0 -1
- package/locale-data/ts.js +0 -667
- package/locale-data/ve.d.ts +0 -1
- package/locale-data/ve.js +0 -667
- package/locale-data/vo.d.ts +0 -1
- package/locale-data/vo.js +0 -667
- package/locale-data/wa.d.ts +0 -1
- package/locale-data/wa.js +0 -667
- package/locale-data/wal.d.ts +0 -1
- package/locale-data/wal.js +0 -667
- package/locale-data/wbp.d.ts +0 -1
- package/locale-data/wbp.js +0 -667
- package/locale-data/zh-Latn.d.ts +0 -1
- package/locale-data/zh-Latn.js +0 -667
- /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/package.json
CHANGED
package/polyfill-force.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/ecma262-abstract/ToString.js
|
|
304
|
+
// packages/ecma262-abstract/ToString.js
|
|
391
305
|
/**
|
|
392
306
|
* https://tc39.es/ecma262/#sec-tostring
|
|
393
307
|
*/
|
|
@@ -395,8 +309,7 @@ function ToString(o) {
|
|
|
395
309
|
if (typeof o === "symbol") throw TypeError("Cannot convert a Symbol value to a string");
|
|
396
310
|
return String(o);
|
|
397
311
|
}
|
|
398
|
-
|
|
399
|
-
//#region packages/ecma402-abstract/CanonicalizeLocaleList.js
|
|
312
|
+
// packages/ecma402-abstract/CanonicalizeLocaleList.js
|
|
400
313
|
/**
|
|
401
314
|
* http://ecma-international.org/ecma-402/7.0/index.html#sec-canonicalizelocalelist
|
|
402
315
|
* @param locales
|
|
@@ -404,8 +317,7 @@ function ToString(o) {
|
|
|
404
317
|
function CanonicalizeLocaleList(locales) {
|
|
405
318
|
return Intl.getCanonicalLocales(locales);
|
|
406
319
|
}
|
|
407
|
-
|
|
408
|
-
//#region packages/ecma262-abstract/ToObject.js
|
|
320
|
+
// packages/ecma262-abstract/ToObject.js
|
|
409
321
|
/**
|
|
410
322
|
* https://tc39.es/ecma262/#sec-toobject
|
|
411
323
|
*/
|
|
@@ -413,8 +325,7 @@ function ToObject(arg) {
|
|
|
413
325
|
if (arg == null) throw new TypeError("undefined/null cannot be converted to object");
|
|
414
326
|
return Object(arg);
|
|
415
327
|
}
|
|
416
|
-
|
|
417
|
-
//#region packages/ecma402-abstract/GetOption.js
|
|
328
|
+
// packages/ecma402-abstract/GetOption.js
|
|
418
329
|
/**
|
|
419
330
|
* https://tc39.es/ecma402/#sec-getoption
|
|
420
331
|
* @param opts
|
|
@@ -435,8 +346,7 @@ function GetOption(opts, prop, type, values, fallback) {
|
|
|
435
346
|
}
|
|
436
347
|
return fallback;
|
|
437
348
|
}
|
|
438
|
-
|
|
439
|
-
//#region packages/ecma402-abstract/SupportedLocales.js
|
|
349
|
+
// packages/ecma402-abstract/SupportedLocales.js
|
|
440
350
|
/**
|
|
441
351
|
* https://tc39.es/ecma402/#sec-supportedlocales
|
|
442
352
|
* @param availableLocales
|
|
@@ -452,14 +362,12 @@ function SupportedLocales(availableLocales, requestedLocales, options) {
|
|
|
452
362
|
if (matcher === "best fit") return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
|
|
453
363
|
return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
|
|
454
364
|
}
|
|
455
|
-
|
|
456
|
-
//#region packages/ecma402-abstract/IsUnicodeLocaleIdentifierType.js
|
|
365
|
+
// packages/ecma402-abstract/IsUnicodeLocaleIdentifierType.js
|
|
457
366
|
/** Tests the Unicode locale identifier `type` grammar, not locale support. */
|
|
458
367
|
function IsUnicodeLocaleIdentifierType(value) {
|
|
459
368
|
return /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*(?![\s\S])/i.test(value);
|
|
460
369
|
}
|
|
461
|
-
|
|
462
|
-
//#region packages/ecma402-abstract/CoerceOptionsToObject.js
|
|
370
|
+
// packages/ecma402-abstract/CoerceOptionsToObject.js
|
|
463
371
|
/**
|
|
464
372
|
* https://tc39.es/ecma402/#sec-coerceoptionstoobject
|
|
465
373
|
* @param options
|
|
@@ -469,8 +377,7 @@ function CoerceOptionsToObject(options) {
|
|
|
469
377
|
if (typeof options === "undefined") return Object.create(null);
|
|
470
378
|
return ToObject(options);
|
|
471
379
|
}
|
|
472
|
-
|
|
473
|
-
//#region node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
|
|
380
|
+
// node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
|
|
474
381
|
function memoize(fn, options) {
|
|
475
382
|
const cache = options && options.cache ? options.cache : cacheDefault;
|
|
476
383
|
const serializer = options && options.serializer ? options.serializer : serializerDefault;
|
|
@@ -535,8 +442,7 @@ const strategies = {
|
|
|
535
442
|
variadic: strategyVariadic,
|
|
536
443
|
monadic: strategyMonadic
|
|
537
444
|
};
|
|
538
|
-
|
|
539
|
-
//#region packages/ecma402-abstract/utils.js
|
|
445
|
+
// packages/ecma402-abstract/utils.js
|
|
540
446
|
function defineProperty(target, name, { value }) {
|
|
541
447
|
Object.defineProperty(target, name, {
|
|
542
448
|
configurable: true,
|
|
@@ -560,8 +466,7 @@ function invariant(condition, message, Err = Error) {
|
|
|
560
466
|
const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });
|
|
561
467
|
const createMemoizedPluralRules = memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
|
|
562
468
|
memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });
|
|
563
|
-
|
|
564
|
-
//#region packages/ecma402-abstract/RelativeTimeFormat/InitializeRelativeTimeFormat.js
|
|
469
|
+
// packages/ecma402-abstract/RelativeTimeFormat/InitializeRelativeTimeFormat.js
|
|
565
470
|
function InitializeRelativeTimeFormat(rtf, locales, options, { getInternalSlots, availableLocales, relevantExtensionKeys, localeData, getDefaultLocale }) {
|
|
566
471
|
const internalSlots = getInternalSlots(rtf);
|
|
567
472
|
internalSlots.initializedRelativeTimeFormat = true;
|
|
@@ -593,8 +498,7 @@ function InitializeRelativeTimeFormat(rtf, locales, options, { getInternalSlots,
|
|
|
593
498
|
internalSlots.numberingSystem = nu;
|
|
594
499
|
return rtf;
|
|
595
500
|
}
|
|
596
|
-
|
|
597
|
-
//#region packages/ecma262-abstract/SameValue.js
|
|
501
|
+
// packages/ecma262-abstract/SameValue.js
|
|
598
502
|
/**
|
|
599
503
|
* https://www.ecma-international.org/ecma-262/11.0/index.html#sec-samevalue
|
|
600
504
|
*/
|
|
@@ -603,8 +507,7 @@ function SameValue(x, y) {
|
|
|
603
507
|
if (x === y) return x !== 0 || 1 / x === 1 / y;
|
|
604
508
|
return x !== x && y !== y;
|
|
605
509
|
}
|
|
606
|
-
|
|
607
|
-
//#region packages/ecma262-abstract/Type.js
|
|
510
|
+
// packages/ecma262-abstract/Type.js
|
|
608
511
|
/**
|
|
609
512
|
* https://www.ecma-international.org/ecma-262/11.0/index.html#sec-type
|
|
610
513
|
*/
|
|
@@ -618,8 +521,7 @@ function Type(x) {
|
|
|
618
521
|
if (typeof x === "symbol") return "Symbol";
|
|
619
522
|
if (typeof x === "bigint") return "BigInt";
|
|
620
523
|
}
|
|
621
|
-
|
|
622
|
-
//#region packages/ecma402-abstract/RelativeTimeFormat/SingularRelativeTimeUnit.js
|
|
524
|
+
// packages/ecma402-abstract/RelativeTimeFormat/SingularRelativeTimeUnit.js
|
|
623
525
|
/**
|
|
624
526
|
* https://tc39.es/proposal-intl-relative-time/#sec-singularrelativetimeunit
|
|
625
527
|
* @param unit
|
|
@@ -637,8 +539,7 @@ function SingularRelativeTimeUnit(unit) {
|
|
|
637
539
|
if (unit !== "second" && unit !== "minute" && unit !== "hour" && unit !== "day" && unit !== "week" && unit !== "month" && unit !== "quarter" && unit !== "year") throw new RangeError("invalid unit");
|
|
638
540
|
return unit;
|
|
639
541
|
}
|
|
640
|
-
|
|
641
|
-
//#region packages/ecma402-abstract/PartitionPattern.js
|
|
542
|
+
// packages/ecma402-abstract/PartitionPattern.js
|
|
642
543
|
/**
|
|
643
544
|
* Partition a pattern into a list of literals and placeholders
|
|
644
545
|
* https://tc39.es/ecma402/#sec-partitionpattern
|
|
@@ -670,8 +571,7 @@ function PartitionPattern(pattern) {
|
|
|
670
571
|
});
|
|
671
572
|
return result;
|
|
672
573
|
}
|
|
673
|
-
|
|
674
|
-
//#region packages/ecma402-abstract/RelativeTimeFormat/MakePartsList.js
|
|
574
|
+
// packages/ecma402-abstract/RelativeTimeFormat/MakePartsList.js
|
|
675
575
|
function MakePartsList(pattern, unit, parts) {
|
|
676
576
|
const patternParts = PartitionPattern(pattern);
|
|
677
577
|
const result = [];
|
|
@@ -689,8 +589,7 @@ function MakePartsList(pattern, unit, parts) {
|
|
|
689
589
|
}
|
|
690
590
|
return result;
|
|
691
591
|
}
|
|
692
|
-
|
|
693
|
-
//#region packages/ecma402-abstract/RelativeTimeFormat/PartitionRelativeTimePattern.js
|
|
592
|
+
// packages/ecma402-abstract/RelativeTimeFormat/PartitionRelativeTimePattern.js
|
|
694
593
|
function PartitionRelativeTimePattern(rtf, value, unit, { getInternalSlots }) {
|
|
695
594
|
invariant(Type(value) === "Number", `value must be number, instead got ${typeof value}`, TypeError);
|
|
696
595
|
invariant(Type(unit) === "String", `unit must be number, instead got ${typeof value}`, TypeError);
|
|
@@ -718,8 +617,7 @@ function PartitionRelativeTimePattern(rtf, value, unit, { getInternalSlots }) {
|
|
|
718
617
|
}];
|
|
719
618
|
return MakePartsList(po[pluralRules.select(value)] ?? po.other, resolvedUnit, fv);
|
|
720
619
|
}
|
|
721
|
-
|
|
722
|
-
//#region packages/intl-relativetimeformat/get_internal_slots.ts
|
|
620
|
+
// packages/intl-relativetimeformat/get_internal_slots.ts
|
|
723
621
|
const internalSlotMap = /* @__PURE__ */ new WeakMap();
|
|
724
622
|
function getInternalSlots(x) {
|
|
725
623
|
let internalSlots = internalSlotMap.get(x);
|
|
@@ -729,8 +627,7 @@ function getInternalSlots(x) {
|
|
|
729
627
|
}
|
|
730
628
|
return internalSlots;
|
|
731
629
|
}
|
|
732
|
-
|
|
733
|
-
//#region packages/intl-relativetimeformat/index.ts
|
|
630
|
+
// packages/intl-relativetimeformat/index.ts
|
|
734
631
|
var RelativeTimeFormat = class RelativeTimeFormat {
|
|
735
632
|
constructor(locales, options) {
|
|
736
633
|
return InitializeRelativeTimeFormat(this, locales, options, {
|
|
@@ -816,6 +713,5 @@ if (buf) {
|
|
|
816
713
|
for (const d of buf) RelativeTimeFormat.__addLocaleData(d);
|
|
817
714
|
delete globalThis.__FORMATJS_RELATIVETIMEFORMAT_DATA__;
|
|
818
715
|
}
|
|
819
|
-
//#endregion
|
|
820
716
|
|
|
821
717
|
//# sourceMappingURL=polyfill-force.js.map
|