@everymatrix/cashier-method-details 1.0.69 → 1.0.70
Sign up to get free protection for your applications and to get access to all the features.
- package/components/CashierConfirmModal-Du_O46d4.js +1063 -0
- package/components/CashierConfirmModal-MLLynZHj.cjs +4 -0
- package/components/CashierError-BYyEe0s_.js +3728 -0
- package/components/CashierError-D58pPqCe.cjs +5 -0
- package/components/CashierHeader-B7JeO3Bq.js +354 -0
- package/components/CashierHeader-DX8_HELz.cjs +1 -0
- package/components/CashierIframeRedirect-B0B6qsrm.js +384 -0
- package/components/CashierIframeRedirect-pFg7Fyqd.cjs +1 -0
- package/components/CashierMethodDetails-BB054oOy.js +7951 -0
- package/components/CashierMethodDetails-DRupXgLK.cjs +18 -0
- package/components/CashierModal-C57LNqYN.cjs +1 -0
- package/components/CashierModal-GQjpCap4.js +220 -0
- package/components/CashierNotifications-C4VV7xlv.cjs +1 -0
- package/components/CashierNotifications-Cd4Eb7fs.js +136 -0
- package/components/CashierReceiptPage-D8-JSful.cjs +1 -0
- package/components/CashierReceiptPage-v9aID2bZ.js +926 -0
- package/components/CashierSpinner-5W-4uvnf.js +71 -0
- package/components/CashierSpinner-CuyNjyQl.cjs +1 -0
- package/package.json +10 -9
@@ -0,0 +1,3728 @@
|
|
1
|
+
import { n as J, s as It, r as Nt, a as it, i as Ct, S as Lt, b as Mt, f as O, c as Rt, d as Gt, e as ee, g as V, h as me, j as G, k as N, l as D, u as te, m as re, o as ne, t as I, p as R, q as Dt, v as C, w as Ut, x as Ft, y as Pe, z as we, A as jt, B as kt, C as Vt, D as Me } from "./CashierConfirmModal-Du_O46d4.js";
|
2
|
+
const M = [];
|
3
|
+
function Xt(e, t) {
|
4
|
+
return {
|
5
|
+
subscribe: ue(e, t).subscribe
|
6
|
+
};
|
7
|
+
}
|
8
|
+
function ue(e, t = J) {
|
9
|
+
let r;
|
10
|
+
const n = /* @__PURE__ */ new Set();
|
11
|
+
function i(o) {
|
12
|
+
if (it(e, o) && (e = o, r)) {
|
13
|
+
const l = !M.length;
|
14
|
+
for (const u of n)
|
15
|
+
u[1](), M.push(u, e);
|
16
|
+
if (l) {
|
17
|
+
for (let u = 0; u < M.length; u += 2)
|
18
|
+
M[u][0](M[u + 1]);
|
19
|
+
M.length = 0;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
function a(o) {
|
24
|
+
i(o(e));
|
25
|
+
}
|
26
|
+
function s(o, l = J) {
|
27
|
+
const u = [o, l];
|
28
|
+
return n.add(u), n.size === 1 && (r = t(i, a) || J), o(e), () => {
|
29
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
30
|
+
};
|
31
|
+
}
|
32
|
+
return { set: i, update: a, subscribe: s };
|
33
|
+
}
|
34
|
+
function X(e, t, r) {
|
35
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
36
|
+
if (!i.every(Boolean))
|
37
|
+
throw new Error("derived() expects stores as input, got a falsy value");
|
38
|
+
const a = t.length < 2;
|
39
|
+
return Xt(r, (s, o) => {
|
40
|
+
let l = !1;
|
41
|
+
const u = [];
|
42
|
+
let h = 0, f = J;
|
43
|
+
const c = () => {
|
44
|
+
if (h)
|
45
|
+
return;
|
46
|
+
f();
|
47
|
+
const E = t(n ? u[0] : u, s, o);
|
48
|
+
a ? s(E) : f = Ct(E) ? E : J;
|
49
|
+
}, y = i.map(
|
50
|
+
(E, b) => It(
|
51
|
+
E,
|
52
|
+
(m) => {
|
53
|
+
u[b] = m, h &= ~(1 << b), l && c();
|
54
|
+
},
|
55
|
+
() => {
|
56
|
+
h |= 1 << b;
|
57
|
+
}
|
58
|
+
)
|
59
|
+
);
|
60
|
+
return l = !0, c(), function() {
|
61
|
+
Nt(y), f(), l = !1;
|
62
|
+
};
|
63
|
+
});
|
64
|
+
}
|
65
|
+
var Jn = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
66
|
+
function zt(e) {
|
67
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
68
|
+
}
|
69
|
+
var Wt = function(t) {
|
70
|
+
return Zt(t) && !Jt(t);
|
71
|
+
};
|
72
|
+
function Zt(e) {
|
73
|
+
return !!e && typeof e == "object";
|
74
|
+
}
|
75
|
+
function Jt(e) {
|
76
|
+
var t = Object.prototype.toString.call(e);
|
77
|
+
return t === "[object RegExp]" || t === "[object Date]" || $t(e);
|
78
|
+
}
|
79
|
+
var Qt = typeof Symbol == "function" && Symbol.for, qt = Qt ? Symbol.for("react.element") : 60103;
|
80
|
+
function $t(e) {
|
81
|
+
return e.$$typeof === qt;
|
82
|
+
}
|
83
|
+
function Yt(e) {
|
84
|
+
return Array.isArray(e) ? [] : {};
|
85
|
+
}
|
86
|
+
function Q(e, t) {
|
87
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? U(Yt(e), e, t) : e;
|
88
|
+
}
|
89
|
+
function Kt(e, t, r) {
|
90
|
+
return e.concat(t).map(function(n) {
|
91
|
+
return Q(n, r);
|
92
|
+
});
|
93
|
+
}
|
94
|
+
function er(e, t) {
|
95
|
+
if (!t.customMerge)
|
96
|
+
return U;
|
97
|
+
var r = t.customMerge(e);
|
98
|
+
return typeof r == "function" ? r : U;
|
99
|
+
}
|
100
|
+
function tr(e) {
|
101
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
102
|
+
return Object.propertyIsEnumerable.call(e, t);
|
103
|
+
}) : [];
|
104
|
+
}
|
105
|
+
function Re(e) {
|
106
|
+
return Object.keys(e).concat(tr(e));
|
107
|
+
}
|
108
|
+
function at(e, t) {
|
109
|
+
try {
|
110
|
+
return t in e;
|
111
|
+
} catch (r) {
|
112
|
+
return !1;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
function rr(e, t) {
|
116
|
+
return at(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
117
|
+
}
|
118
|
+
function nr(e, t, r) {
|
119
|
+
var n = {};
|
120
|
+
return r.isMergeableObject(e) && Re(e).forEach(function(i) {
|
121
|
+
n[i] = Q(e[i], r);
|
122
|
+
}), Re(t).forEach(function(i) {
|
123
|
+
rr(e, i) || (at(e, i) && r.isMergeableObject(t[i]) ? n[i] = er(i, r)(e[i], t[i], r) : n[i] = Q(t[i], r));
|
124
|
+
}), n;
|
125
|
+
}
|
126
|
+
function U(e, t, r) {
|
127
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Kt, r.isMergeableObject = r.isMergeableObject || Wt, r.cloneUnlessOtherwiseSpecified = Q;
|
128
|
+
var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
|
129
|
+
return a ? n ? r.arrayMerge(e, t, r) : nr(e, t, r) : Q(t, r);
|
130
|
+
}
|
131
|
+
U.all = function(t, r) {
|
132
|
+
if (!Array.isArray(t))
|
133
|
+
throw new Error("first argument should be an array");
|
134
|
+
return t.reduce(function(n, i) {
|
135
|
+
return U(n, i, r);
|
136
|
+
}, {});
|
137
|
+
};
|
138
|
+
var ir = U, ar = ir;
|
139
|
+
const or = /* @__PURE__ */ zt(ar);
|
140
|
+
var ve = function(e, t) {
|
141
|
+
return ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
142
|
+
r.__proto__ = n;
|
143
|
+
} || function(r, n) {
|
144
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
145
|
+
}, ve(e, t);
|
146
|
+
};
|
147
|
+
function he(e, t) {
|
148
|
+
if (typeof t != "function" && t !== null)
|
149
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
150
|
+
ve(e, t);
|
151
|
+
function r() {
|
152
|
+
this.constructor = e;
|
153
|
+
}
|
154
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
155
|
+
}
|
156
|
+
var v = function() {
|
157
|
+
return v = Object.assign || function(t) {
|
158
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
159
|
+
r = arguments[n];
|
160
|
+
for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
|
161
|
+
}
|
162
|
+
return t;
|
163
|
+
}, v.apply(this, arguments);
|
164
|
+
};
|
165
|
+
function sr(e, t) {
|
166
|
+
var r = {};
|
167
|
+
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
168
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
169
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
170
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
171
|
+
return r;
|
172
|
+
}
|
173
|
+
function pe(e, t, r) {
|
174
|
+
if (r || arguments.length === 2) for (var n = 0, i = t.length, a; n < i; n++)
|
175
|
+
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
176
|
+
return e.concat(a || Array.prototype.slice.call(t));
|
177
|
+
}
|
178
|
+
var g;
|
179
|
+
(function(e) {
|
180
|
+
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
181
|
+
})(g || (g = {}));
|
182
|
+
var x;
|
183
|
+
(function(e) {
|
184
|
+
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
185
|
+
})(x || (x = {}));
|
186
|
+
var F;
|
187
|
+
(function(e) {
|
188
|
+
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
189
|
+
})(F || (F = {}));
|
190
|
+
function Ge(e) {
|
191
|
+
return e.type === x.literal;
|
192
|
+
}
|
193
|
+
function lr(e) {
|
194
|
+
return e.type === x.argument;
|
195
|
+
}
|
196
|
+
function ot(e) {
|
197
|
+
return e.type === x.number;
|
198
|
+
}
|
199
|
+
function st(e) {
|
200
|
+
return e.type === x.date;
|
201
|
+
}
|
202
|
+
function lt(e) {
|
203
|
+
return e.type === x.time;
|
204
|
+
}
|
205
|
+
function ut(e) {
|
206
|
+
return e.type === x.select;
|
207
|
+
}
|
208
|
+
function ht(e) {
|
209
|
+
return e.type === x.plural;
|
210
|
+
}
|
211
|
+
function ur(e) {
|
212
|
+
return e.type === x.pound;
|
213
|
+
}
|
214
|
+
function ft(e) {
|
215
|
+
return e.type === x.tag;
|
216
|
+
}
|
217
|
+
function ct(e) {
|
218
|
+
return !!(e && typeof e == "object" && e.type === F.number);
|
219
|
+
}
|
220
|
+
function _e(e) {
|
221
|
+
return !!(e && typeof e == "object" && e.type === F.dateTime);
|
222
|
+
}
|
223
|
+
var mt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
224
|
+
function fr(e) {
|
225
|
+
var t = {};
|
226
|
+
return e.replace(hr, function(r) {
|
227
|
+
var n = r.length;
|
228
|
+
switch (r[0]) {
|
229
|
+
case "G":
|
230
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
231
|
+
break;
|
232
|
+
case "y":
|
233
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
234
|
+
break;
|
235
|
+
case "Y":
|
236
|
+
case "u":
|
237
|
+
case "U":
|
238
|
+
case "r":
|
239
|
+
throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
|
240
|
+
case "q":
|
241
|
+
case "Q":
|
242
|
+
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
243
|
+
case "M":
|
244
|
+
case "L":
|
245
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
246
|
+
break;
|
247
|
+
case "w":
|
248
|
+
case "W":
|
249
|
+
throw new RangeError("`w/W` (week) patterns are not supported");
|
250
|
+
case "d":
|
251
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
252
|
+
break;
|
253
|
+
case "D":
|
254
|
+
case "F":
|
255
|
+
case "g":
|
256
|
+
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
257
|
+
case "E":
|
258
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
259
|
+
break;
|
260
|
+
case "e":
|
261
|
+
if (n < 4)
|
262
|
+
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
263
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
264
|
+
break;
|
265
|
+
case "c":
|
266
|
+
if (n < 4)
|
267
|
+
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
268
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
269
|
+
break;
|
270
|
+
case "a":
|
271
|
+
t.hour12 = !0;
|
272
|
+
break;
|
273
|
+
case "b":
|
274
|
+
case "B":
|
275
|
+
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
276
|
+
case "h":
|
277
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
278
|
+
break;
|
279
|
+
case "H":
|
280
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
281
|
+
break;
|
282
|
+
case "K":
|
283
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
284
|
+
break;
|
285
|
+
case "k":
|
286
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
287
|
+
break;
|
288
|
+
case "j":
|
289
|
+
case "J":
|
290
|
+
case "C":
|
291
|
+
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
292
|
+
case "m":
|
293
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
294
|
+
break;
|
295
|
+
case "s":
|
296
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
297
|
+
break;
|
298
|
+
case "S":
|
299
|
+
case "A":
|
300
|
+
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
301
|
+
case "z":
|
302
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
303
|
+
break;
|
304
|
+
case "Z":
|
305
|
+
case "O":
|
306
|
+
case "v":
|
307
|
+
case "V":
|
308
|
+
case "X":
|
309
|
+
case "x":
|
310
|
+
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
311
|
+
}
|
312
|
+
return "";
|
313
|
+
}), t;
|
314
|
+
}
|
315
|
+
var cr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
316
|
+
function mr(e) {
|
317
|
+
if (e.length === 0)
|
318
|
+
throw new Error("Number skeleton cannot be empty");
|
319
|
+
for (var t = e.split(cr).filter(function(c) {
|
320
|
+
return c.length > 0;
|
321
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
322
|
+
var a = i[n], s = a.split("/");
|
323
|
+
if (s.length === 0)
|
324
|
+
throw new Error("Invalid number skeleton");
|
325
|
+
for (var o = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
326
|
+
var f = h[u];
|
327
|
+
if (f.length === 0)
|
328
|
+
throw new Error("Invalid number skeleton");
|
329
|
+
}
|
330
|
+
r.push({ stem: o, options: l });
|
331
|
+
}
|
332
|
+
return r;
|
333
|
+
}
|
334
|
+
function pr(e) {
|
335
|
+
return e.replace(/^(.*?)-/, "");
|
336
|
+
}
|
337
|
+
var De = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pt = /^(@+)?(\+|#+)?[rs]?$/g, br = /(\*)(0+)|(#+)(0+)|(0+)/g, bt = /^(0+)$/;
|
338
|
+
function Ue(e) {
|
339
|
+
var t = {};
|
340
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pt, function(r, n, i) {
|
341
|
+
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
342
|
+
}), t;
|
343
|
+
}
|
344
|
+
function gt(e) {
|
345
|
+
switch (e) {
|
346
|
+
case "sign-auto":
|
347
|
+
return {
|
348
|
+
signDisplay: "auto"
|
349
|
+
};
|
350
|
+
case "sign-accounting":
|
351
|
+
case "()":
|
352
|
+
return {
|
353
|
+
currencySign: "accounting"
|
354
|
+
};
|
355
|
+
case "sign-always":
|
356
|
+
case "+!":
|
357
|
+
return {
|
358
|
+
signDisplay: "always"
|
359
|
+
};
|
360
|
+
case "sign-accounting-always":
|
361
|
+
case "()!":
|
362
|
+
return {
|
363
|
+
signDisplay: "always",
|
364
|
+
currencySign: "accounting"
|
365
|
+
};
|
366
|
+
case "sign-except-zero":
|
367
|
+
case "+?":
|
368
|
+
return {
|
369
|
+
signDisplay: "exceptZero"
|
370
|
+
};
|
371
|
+
case "sign-accounting-except-zero":
|
372
|
+
case "()?":
|
373
|
+
return {
|
374
|
+
signDisplay: "exceptZero",
|
375
|
+
currencySign: "accounting"
|
376
|
+
};
|
377
|
+
case "sign-never":
|
378
|
+
case "+_":
|
379
|
+
return {
|
380
|
+
signDisplay: "never"
|
381
|
+
};
|
382
|
+
}
|
383
|
+
}
|
384
|
+
function gr(e) {
|
385
|
+
var t;
|
386
|
+
if (e[0] === "E" && e[1] === "E" ? (t = {
|
387
|
+
notation: "engineering"
|
388
|
+
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
389
|
+
notation: "scientific"
|
390
|
+
}, e = e.slice(1)), t) {
|
391
|
+
var r = e.slice(0, 2);
|
392
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !bt.test(e))
|
393
|
+
throw new Error("Malformed concise eng/scientific notation");
|
394
|
+
t.minimumIntegerDigits = e.length;
|
395
|
+
}
|
396
|
+
return t;
|
397
|
+
}
|
398
|
+
function Fe(e) {
|
399
|
+
var t = {}, r = gt(e);
|
400
|
+
return r || t;
|
401
|
+
}
|
402
|
+
function dr(e) {
|
403
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
404
|
+
var i = n[r];
|
405
|
+
switch (i.stem) {
|
406
|
+
case "percent":
|
407
|
+
case "%":
|
408
|
+
t.style = "percent";
|
409
|
+
continue;
|
410
|
+
case "%x100":
|
411
|
+
t.style = "percent", t.scale = 100;
|
412
|
+
continue;
|
413
|
+
case "currency":
|
414
|
+
t.style = "currency", t.currency = i.options[0];
|
415
|
+
continue;
|
416
|
+
case "group-off":
|
417
|
+
case ",_":
|
418
|
+
t.useGrouping = !1;
|
419
|
+
continue;
|
420
|
+
case "precision-integer":
|
421
|
+
case ".":
|
422
|
+
t.maximumFractionDigits = 0;
|
423
|
+
continue;
|
424
|
+
case "measure-unit":
|
425
|
+
case "unit":
|
426
|
+
t.style = "unit", t.unit = pr(i.options[0]);
|
427
|
+
continue;
|
428
|
+
case "compact-short":
|
429
|
+
case "K":
|
430
|
+
t.notation = "compact", t.compactDisplay = "short";
|
431
|
+
continue;
|
432
|
+
case "compact-long":
|
433
|
+
case "KK":
|
434
|
+
t.notation = "compact", t.compactDisplay = "long";
|
435
|
+
continue;
|
436
|
+
case "scientific":
|
437
|
+
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
438
|
+
return v(v({}, l), Fe(u));
|
439
|
+
}, {}));
|
440
|
+
continue;
|
441
|
+
case "engineering":
|
442
|
+
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
443
|
+
return v(v({}, l), Fe(u));
|
444
|
+
}, {}));
|
445
|
+
continue;
|
446
|
+
case "notation-simple":
|
447
|
+
t.notation = "standard";
|
448
|
+
continue;
|
449
|
+
case "unit-width-narrow":
|
450
|
+
t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
|
451
|
+
continue;
|
452
|
+
case "unit-width-short":
|
453
|
+
t.currencyDisplay = "code", t.unitDisplay = "short";
|
454
|
+
continue;
|
455
|
+
case "unit-width-full-name":
|
456
|
+
t.currencyDisplay = "name", t.unitDisplay = "long";
|
457
|
+
continue;
|
458
|
+
case "unit-width-iso-code":
|
459
|
+
t.currencyDisplay = "symbol";
|
460
|
+
continue;
|
461
|
+
case "scale":
|
462
|
+
t.scale = parseFloat(i.options[0]);
|
463
|
+
continue;
|
464
|
+
case "rounding-mode-floor":
|
465
|
+
t.roundingMode = "floor";
|
466
|
+
continue;
|
467
|
+
case "rounding-mode-ceiling":
|
468
|
+
t.roundingMode = "ceil";
|
469
|
+
continue;
|
470
|
+
case "rounding-mode-down":
|
471
|
+
t.roundingMode = "trunc";
|
472
|
+
continue;
|
473
|
+
case "rounding-mode-up":
|
474
|
+
t.roundingMode = "expand";
|
475
|
+
continue;
|
476
|
+
case "rounding-mode-half-even":
|
477
|
+
t.roundingMode = "halfEven";
|
478
|
+
continue;
|
479
|
+
case "rounding-mode-half-down":
|
480
|
+
t.roundingMode = "halfTrunc";
|
481
|
+
continue;
|
482
|
+
case "rounding-mode-half-up":
|
483
|
+
t.roundingMode = "halfExpand";
|
484
|
+
continue;
|
485
|
+
case "integer-width":
|
486
|
+
if (i.options.length > 1)
|
487
|
+
throw new RangeError("integer-width stems only accept a single optional option");
|
488
|
+
i.options[0].replace(br, function(l, u, h, f, c, y) {
|
489
|
+
if (u)
|
490
|
+
t.minimumIntegerDigits = h.length;
|
491
|
+
else {
|
492
|
+
if (f && c)
|
493
|
+
throw new Error("We currently do not support maximum integer digits");
|
494
|
+
if (y)
|
495
|
+
throw new Error("We currently do not support exact integer digits");
|
496
|
+
}
|
497
|
+
return "";
|
498
|
+
});
|
499
|
+
continue;
|
500
|
+
}
|
501
|
+
if (bt.test(i.stem)) {
|
502
|
+
t.minimumIntegerDigits = i.stem.length;
|
503
|
+
continue;
|
504
|
+
}
|
505
|
+
if (De.test(i.stem)) {
|
506
|
+
if (i.options.length > 1)
|
507
|
+
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
508
|
+
i.stem.replace(De, function(l, u, h, f, c, y) {
|
509
|
+
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
510
|
+
});
|
511
|
+
var a = i.options[0];
|
512
|
+
a === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = v(v({}, t), Ue(a)));
|
513
|
+
continue;
|
514
|
+
}
|
515
|
+
if (pt.test(i.stem)) {
|
516
|
+
t = v(v({}, t), Ue(i.stem));
|
517
|
+
continue;
|
518
|
+
}
|
519
|
+
var s = gt(i.stem);
|
520
|
+
s && (t = v(v({}, t), s));
|
521
|
+
var o = gr(i.stem);
|
522
|
+
o && (t = v(v({}, t), o));
|
523
|
+
}
|
524
|
+
return t;
|
525
|
+
}
|
526
|
+
var K = {
|
527
|
+
"001": [
|
528
|
+
"H",
|
529
|
+
"h"
|
530
|
+
],
|
531
|
+
AC: [
|
532
|
+
"H",
|
533
|
+
"h",
|
534
|
+
"hb",
|
535
|
+
"hB"
|
536
|
+
],
|
537
|
+
AD: [
|
538
|
+
"H",
|
539
|
+
"hB"
|
540
|
+
],
|
541
|
+
AE: [
|
542
|
+
"h",
|
543
|
+
"hB",
|
544
|
+
"hb",
|
545
|
+
"H"
|
546
|
+
],
|
547
|
+
AF: [
|
548
|
+
"H",
|
549
|
+
"hb",
|
550
|
+
"hB",
|
551
|
+
"h"
|
552
|
+
],
|
553
|
+
AG: [
|
554
|
+
"h",
|
555
|
+
"hb",
|
556
|
+
"H",
|
557
|
+
"hB"
|
558
|
+
],
|
559
|
+
AI: [
|
560
|
+
"H",
|
561
|
+
"h",
|
562
|
+
"hb",
|
563
|
+
"hB"
|
564
|
+
],
|
565
|
+
AL: [
|
566
|
+
"h",
|
567
|
+
"H",
|
568
|
+
"hB"
|
569
|
+
],
|
570
|
+
AM: [
|
571
|
+
"H",
|
572
|
+
"hB"
|
573
|
+
],
|
574
|
+
AO: [
|
575
|
+
"H",
|
576
|
+
"hB"
|
577
|
+
],
|
578
|
+
AR: [
|
579
|
+
"H",
|
580
|
+
"h",
|
581
|
+
"hB",
|
582
|
+
"hb"
|
583
|
+
],
|
584
|
+
AS: [
|
585
|
+
"h",
|
586
|
+
"H"
|
587
|
+
],
|
588
|
+
AT: [
|
589
|
+
"H",
|
590
|
+
"hB"
|
591
|
+
],
|
592
|
+
AU: [
|
593
|
+
"h",
|
594
|
+
"hb",
|
595
|
+
"H",
|
596
|
+
"hB"
|
597
|
+
],
|
598
|
+
AW: [
|
599
|
+
"H",
|
600
|
+
"hB"
|
601
|
+
],
|
602
|
+
AX: [
|
603
|
+
"H"
|
604
|
+
],
|
605
|
+
AZ: [
|
606
|
+
"H",
|
607
|
+
"hB",
|
608
|
+
"h"
|
609
|
+
],
|
610
|
+
BA: [
|
611
|
+
"H",
|
612
|
+
"hB",
|
613
|
+
"h"
|
614
|
+
],
|
615
|
+
BB: [
|
616
|
+
"h",
|
617
|
+
"hb",
|
618
|
+
"H",
|
619
|
+
"hB"
|
620
|
+
],
|
621
|
+
BD: [
|
622
|
+
"h",
|
623
|
+
"hB",
|
624
|
+
"H"
|
625
|
+
],
|
626
|
+
BE: [
|
627
|
+
"H",
|
628
|
+
"hB"
|
629
|
+
],
|
630
|
+
BF: [
|
631
|
+
"H",
|
632
|
+
"hB"
|
633
|
+
],
|
634
|
+
BG: [
|
635
|
+
"H",
|
636
|
+
"hB",
|
637
|
+
"h"
|
638
|
+
],
|
639
|
+
BH: [
|
640
|
+
"h",
|
641
|
+
"hB",
|
642
|
+
"hb",
|
643
|
+
"H"
|
644
|
+
],
|
645
|
+
BI: [
|
646
|
+
"H",
|
647
|
+
"h"
|
648
|
+
],
|
649
|
+
BJ: [
|
650
|
+
"H",
|
651
|
+
"hB"
|
652
|
+
],
|
653
|
+
BL: [
|
654
|
+
"H",
|
655
|
+
"hB"
|
656
|
+
],
|
657
|
+
BM: [
|
658
|
+
"h",
|
659
|
+
"hb",
|
660
|
+
"H",
|
661
|
+
"hB"
|
662
|
+
],
|
663
|
+
BN: [
|
664
|
+
"hb",
|
665
|
+
"hB",
|
666
|
+
"h",
|
667
|
+
"H"
|
668
|
+
],
|
669
|
+
BO: [
|
670
|
+
"H",
|
671
|
+
"hB",
|
672
|
+
"h",
|
673
|
+
"hb"
|
674
|
+
],
|
675
|
+
BQ: [
|
676
|
+
"H"
|
677
|
+
],
|
678
|
+
BR: [
|
679
|
+
"H",
|
680
|
+
"hB"
|
681
|
+
],
|
682
|
+
BS: [
|
683
|
+
"h",
|
684
|
+
"hb",
|
685
|
+
"H",
|
686
|
+
"hB"
|
687
|
+
],
|
688
|
+
BT: [
|
689
|
+
"h",
|
690
|
+
"H"
|
691
|
+
],
|
692
|
+
BW: [
|
693
|
+
"H",
|
694
|
+
"h",
|
695
|
+
"hb",
|
696
|
+
"hB"
|
697
|
+
],
|
698
|
+
BY: [
|
699
|
+
"H",
|
700
|
+
"h"
|
701
|
+
],
|
702
|
+
BZ: [
|
703
|
+
"H",
|
704
|
+
"h",
|
705
|
+
"hb",
|
706
|
+
"hB"
|
707
|
+
],
|
708
|
+
CA: [
|
709
|
+
"h",
|
710
|
+
"hb",
|
711
|
+
"H",
|
712
|
+
"hB"
|
713
|
+
],
|
714
|
+
CC: [
|
715
|
+
"H",
|
716
|
+
"h",
|
717
|
+
"hb",
|
718
|
+
"hB"
|
719
|
+
],
|
720
|
+
CD: [
|
721
|
+
"hB",
|
722
|
+
"H"
|
723
|
+
],
|
724
|
+
CF: [
|
725
|
+
"H",
|
726
|
+
"h",
|
727
|
+
"hB"
|
728
|
+
],
|
729
|
+
CG: [
|
730
|
+
"H",
|
731
|
+
"hB"
|
732
|
+
],
|
733
|
+
CH: [
|
734
|
+
"H",
|
735
|
+
"hB",
|
736
|
+
"h"
|
737
|
+
],
|
738
|
+
CI: [
|
739
|
+
"H",
|
740
|
+
"hB"
|
741
|
+
],
|
742
|
+
CK: [
|
743
|
+
"H",
|
744
|
+
"h",
|
745
|
+
"hb",
|
746
|
+
"hB"
|
747
|
+
],
|
748
|
+
CL: [
|
749
|
+
"H",
|
750
|
+
"h",
|
751
|
+
"hB",
|
752
|
+
"hb"
|
753
|
+
],
|
754
|
+
CM: [
|
755
|
+
"H",
|
756
|
+
"h",
|
757
|
+
"hB"
|
758
|
+
],
|
759
|
+
CN: [
|
760
|
+
"H",
|
761
|
+
"hB",
|
762
|
+
"hb",
|
763
|
+
"h"
|
764
|
+
],
|
765
|
+
CO: [
|
766
|
+
"h",
|
767
|
+
"H",
|
768
|
+
"hB",
|
769
|
+
"hb"
|
770
|
+
],
|
771
|
+
CP: [
|
772
|
+
"H"
|
773
|
+
],
|
774
|
+
CR: [
|
775
|
+
"H",
|
776
|
+
"h",
|
777
|
+
"hB",
|
778
|
+
"hb"
|
779
|
+
],
|
780
|
+
CU: [
|
781
|
+
"H",
|
782
|
+
"h",
|
783
|
+
"hB",
|
784
|
+
"hb"
|
785
|
+
],
|
786
|
+
CV: [
|
787
|
+
"H",
|
788
|
+
"hB"
|
789
|
+
],
|
790
|
+
CW: [
|
791
|
+
"H",
|
792
|
+
"hB"
|
793
|
+
],
|
794
|
+
CX: [
|
795
|
+
"H",
|
796
|
+
"h",
|
797
|
+
"hb",
|
798
|
+
"hB"
|
799
|
+
],
|
800
|
+
CY: [
|
801
|
+
"h",
|
802
|
+
"H",
|
803
|
+
"hb",
|
804
|
+
"hB"
|
805
|
+
],
|
806
|
+
CZ: [
|
807
|
+
"H"
|
808
|
+
],
|
809
|
+
DE: [
|
810
|
+
"H",
|
811
|
+
"hB"
|
812
|
+
],
|
813
|
+
DG: [
|
814
|
+
"H",
|
815
|
+
"h",
|
816
|
+
"hb",
|
817
|
+
"hB"
|
818
|
+
],
|
819
|
+
DJ: [
|
820
|
+
"h",
|
821
|
+
"H"
|
822
|
+
],
|
823
|
+
DK: [
|
824
|
+
"H"
|
825
|
+
],
|
826
|
+
DM: [
|
827
|
+
"h",
|
828
|
+
"hb",
|
829
|
+
"H",
|
830
|
+
"hB"
|
831
|
+
],
|
832
|
+
DO: [
|
833
|
+
"h",
|
834
|
+
"H",
|
835
|
+
"hB",
|
836
|
+
"hb"
|
837
|
+
],
|
838
|
+
DZ: [
|
839
|
+
"h",
|
840
|
+
"hB",
|
841
|
+
"hb",
|
842
|
+
"H"
|
843
|
+
],
|
844
|
+
EA: [
|
845
|
+
"H",
|
846
|
+
"h",
|
847
|
+
"hB",
|
848
|
+
"hb"
|
849
|
+
],
|
850
|
+
EC: [
|
851
|
+
"H",
|
852
|
+
"hB",
|
853
|
+
"h",
|
854
|
+
"hb"
|
855
|
+
],
|
856
|
+
EE: [
|
857
|
+
"H",
|
858
|
+
"hB"
|
859
|
+
],
|
860
|
+
EG: [
|
861
|
+
"h",
|
862
|
+
"hB",
|
863
|
+
"hb",
|
864
|
+
"H"
|
865
|
+
],
|
866
|
+
EH: [
|
867
|
+
"h",
|
868
|
+
"hB",
|
869
|
+
"hb",
|
870
|
+
"H"
|
871
|
+
],
|
872
|
+
ER: [
|
873
|
+
"h",
|
874
|
+
"H"
|
875
|
+
],
|
876
|
+
ES: [
|
877
|
+
"H",
|
878
|
+
"hB",
|
879
|
+
"h",
|
880
|
+
"hb"
|
881
|
+
],
|
882
|
+
ET: [
|
883
|
+
"hB",
|
884
|
+
"hb",
|
885
|
+
"h",
|
886
|
+
"H"
|
887
|
+
],
|
888
|
+
FI: [
|
889
|
+
"H"
|
890
|
+
],
|
891
|
+
FJ: [
|
892
|
+
"h",
|
893
|
+
"hb",
|
894
|
+
"H",
|
895
|
+
"hB"
|
896
|
+
],
|
897
|
+
FK: [
|
898
|
+
"H",
|
899
|
+
"h",
|
900
|
+
"hb",
|
901
|
+
"hB"
|
902
|
+
],
|
903
|
+
FM: [
|
904
|
+
"h",
|
905
|
+
"hb",
|
906
|
+
"H",
|
907
|
+
"hB"
|
908
|
+
],
|
909
|
+
FO: [
|
910
|
+
"H",
|
911
|
+
"h"
|
912
|
+
],
|
913
|
+
FR: [
|
914
|
+
"H",
|
915
|
+
"hB"
|
916
|
+
],
|
917
|
+
GA: [
|
918
|
+
"H",
|
919
|
+
"hB"
|
920
|
+
],
|
921
|
+
GB: [
|
922
|
+
"H",
|
923
|
+
"h",
|
924
|
+
"hb",
|
925
|
+
"hB"
|
926
|
+
],
|
927
|
+
GD: [
|
928
|
+
"h",
|
929
|
+
"hb",
|
930
|
+
"H",
|
931
|
+
"hB"
|
932
|
+
],
|
933
|
+
GE: [
|
934
|
+
"H",
|
935
|
+
"hB",
|
936
|
+
"h"
|
937
|
+
],
|
938
|
+
GF: [
|
939
|
+
"H",
|
940
|
+
"hB"
|
941
|
+
],
|
942
|
+
GG: [
|
943
|
+
"H",
|
944
|
+
"h",
|
945
|
+
"hb",
|
946
|
+
"hB"
|
947
|
+
],
|
948
|
+
GH: [
|
949
|
+
"h",
|
950
|
+
"H"
|
951
|
+
],
|
952
|
+
GI: [
|
953
|
+
"H",
|
954
|
+
"h",
|
955
|
+
"hb",
|
956
|
+
"hB"
|
957
|
+
],
|
958
|
+
GL: [
|
959
|
+
"H",
|
960
|
+
"h"
|
961
|
+
],
|
962
|
+
GM: [
|
963
|
+
"h",
|
964
|
+
"hb",
|
965
|
+
"H",
|
966
|
+
"hB"
|
967
|
+
],
|
968
|
+
GN: [
|
969
|
+
"H",
|
970
|
+
"hB"
|
971
|
+
],
|
972
|
+
GP: [
|
973
|
+
"H",
|
974
|
+
"hB"
|
975
|
+
],
|
976
|
+
GQ: [
|
977
|
+
"H",
|
978
|
+
"hB",
|
979
|
+
"h",
|
980
|
+
"hb"
|
981
|
+
],
|
982
|
+
GR: [
|
983
|
+
"h",
|
984
|
+
"H",
|
985
|
+
"hb",
|
986
|
+
"hB"
|
987
|
+
],
|
988
|
+
GT: [
|
989
|
+
"H",
|
990
|
+
"h",
|
991
|
+
"hB",
|
992
|
+
"hb"
|
993
|
+
],
|
994
|
+
GU: [
|
995
|
+
"h",
|
996
|
+
"hb",
|
997
|
+
"H",
|
998
|
+
"hB"
|
999
|
+
],
|
1000
|
+
GW: [
|
1001
|
+
"H",
|
1002
|
+
"hB"
|
1003
|
+
],
|
1004
|
+
GY: [
|
1005
|
+
"h",
|
1006
|
+
"hb",
|
1007
|
+
"H",
|
1008
|
+
"hB"
|
1009
|
+
],
|
1010
|
+
HK: [
|
1011
|
+
"h",
|
1012
|
+
"hB",
|
1013
|
+
"hb",
|
1014
|
+
"H"
|
1015
|
+
],
|
1016
|
+
HN: [
|
1017
|
+
"H",
|
1018
|
+
"h",
|
1019
|
+
"hB",
|
1020
|
+
"hb"
|
1021
|
+
],
|
1022
|
+
HR: [
|
1023
|
+
"H",
|
1024
|
+
"hB"
|
1025
|
+
],
|
1026
|
+
HU: [
|
1027
|
+
"H",
|
1028
|
+
"h"
|
1029
|
+
],
|
1030
|
+
IC: [
|
1031
|
+
"H",
|
1032
|
+
"h",
|
1033
|
+
"hB",
|
1034
|
+
"hb"
|
1035
|
+
],
|
1036
|
+
ID: [
|
1037
|
+
"H"
|
1038
|
+
],
|
1039
|
+
IE: [
|
1040
|
+
"H",
|
1041
|
+
"h",
|
1042
|
+
"hb",
|
1043
|
+
"hB"
|
1044
|
+
],
|
1045
|
+
IL: [
|
1046
|
+
"H",
|
1047
|
+
"hB"
|
1048
|
+
],
|
1049
|
+
IM: [
|
1050
|
+
"H",
|
1051
|
+
"h",
|
1052
|
+
"hb",
|
1053
|
+
"hB"
|
1054
|
+
],
|
1055
|
+
IN: [
|
1056
|
+
"h",
|
1057
|
+
"H"
|
1058
|
+
],
|
1059
|
+
IO: [
|
1060
|
+
"H",
|
1061
|
+
"h",
|
1062
|
+
"hb",
|
1063
|
+
"hB"
|
1064
|
+
],
|
1065
|
+
IQ: [
|
1066
|
+
"h",
|
1067
|
+
"hB",
|
1068
|
+
"hb",
|
1069
|
+
"H"
|
1070
|
+
],
|
1071
|
+
IR: [
|
1072
|
+
"hB",
|
1073
|
+
"H"
|
1074
|
+
],
|
1075
|
+
IS: [
|
1076
|
+
"H"
|
1077
|
+
],
|
1078
|
+
IT: [
|
1079
|
+
"H",
|
1080
|
+
"hB"
|
1081
|
+
],
|
1082
|
+
JE: [
|
1083
|
+
"H",
|
1084
|
+
"h",
|
1085
|
+
"hb",
|
1086
|
+
"hB"
|
1087
|
+
],
|
1088
|
+
JM: [
|
1089
|
+
"h",
|
1090
|
+
"hb",
|
1091
|
+
"H",
|
1092
|
+
"hB"
|
1093
|
+
],
|
1094
|
+
JO: [
|
1095
|
+
"h",
|
1096
|
+
"hB",
|
1097
|
+
"hb",
|
1098
|
+
"H"
|
1099
|
+
],
|
1100
|
+
JP: [
|
1101
|
+
"H",
|
1102
|
+
"K",
|
1103
|
+
"h"
|
1104
|
+
],
|
1105
|
+
KE: [
|
1106
|
+
"hB",
|
1107
|
+
"hb",
|
1108
|
+
"H",
|
1109
|
+
"h"
|
1110
|
+
],
|
1111
|
+
KG: [
|
1112
|
+
"H",
|
1113
|
+
"h",
|
1114
|
+
"hB",
|
1115
|
+
"hb"
|
1116
|
+
],
|
1117
|
+
KH: [
|
1118
|
+
"hB",
|
1119
|
+
"h",
|
1120
|
+
"H",
|
1121
|
+
"hb"
|
1122
|
+
],
|
1123
|
+
KI: [
|
1124
|
+
"h",
|
1125
|
+
"hb",
|
1126
|
+
"H",
|
1127
|
+
"hB"
|
1128
|
+
],
|
1129
|
+
KM: [
|
1130
|
+
"H",
|
1131
|
+
"h",
|
1132
|
+
"hB",
|
1133
|
+
"hb"
|
1134
|
+
],
|
1135
|
+
KN: [
|
1136
|
+
"h",
|
1137
|
+
"hb",
|
1138
|
+
"H",
|
1139
|
+
"hB"
|
1140
|
+
],
|
1141
|
+
KP: [
|
1142
|
+
"h",
|
1143
|
+
"H",
|
1144
|
+
"hB",
|
1145
|
+
"hb"
|
1146
|
+
],
|
1147
|
+
KR: [
|
1148
|
+
"h",
|
1149
|
+
"H",
|
1150
|
+
"hB",
|
1151
|
+
"hb"
|
1152
|
+
],
|
1153
|
+
KW: [
|
1154
|
+
"h",
|
1155
|
+
"hB",
|
1156
|
+
"hb",
|
1157
|
+
"H"
|
1158
|
+
],
|
1159
|
+
KY: [
|
1160
|
+
"h",
|
1161
|
+
"hb",
|
1162
|
+
"H",
|
1163
|
+
"hB"
|
1164
|
+
],
|
1165
|
+
KZ: [
|
1166
|
+
"H",
|
1167
|
+
"hB"
|
1168
|
+
],
|
1169
|
+
LA: [
|
1170
|
+
"H",
|
1171
|
+
"hb",
|
1172
|
+
"hB",
|
1173
|
+
"h"
|
1174
|
+
],
|
1175
|
+
LB: [
|
1176
|
+
"h",
|
1177
|
+
"hB",
|
1178
|
+
"hb",
|
1179
|
+
"H"
|
1180
|
+
],
|
1181
|
+
LC: [
|
1182
|
+
"h",
|
1183
|
+
"hb",
|
1184
|
+
"H",
|
1185
|
+
"hB"
|
1186
|
+
],
|
1187
|
+
LI: [
|
1188
|
+
"H",
|
1189
|
+
"hB",
|
1190
|
+
"h"
|
1191
|
+
],
|
1192
|
+
LK: [
|
1193
|
+
"H",
|
1194
|
+
"h",
|
1195
|
+
"hB",
|
1196
|
+
"hb"
|
1197
|
+
],
|
1198
|
+
LR: [
|
1199
|
+
"h",
|
1200
|
+
"hb",
|
1201
|
+
"H",
|
1202
|
+
"hB"
|
1203
|
+
],
|
1204
|
+
LS: [
|
1205
|
+
"h",
|
1206
|
+
"H"
|
1207
|
+
],
|
1208
|
+
LT: [
|
1209
|
+
"H",
|
1210
|
+
"h",
|
1211
|
+
"hb",
|
1212
|
+
"hB"
|
1213
|
+
],
|
1214
|
+
LU: [
|
1215
|
+
"H",
|
1216
|
+
"h",
|
1217
|
+
"hB"
|
1218
|
+
],
|
1219
|
+
LV: [
|
1220
|
+
"H",
|
1221
|
+
"hB",
|
1222
|
+
"hb",
|
1223
|
+
"h"
|
1224
|
+
],
|
1225
|
+
LY: [
|
1226
|
+
"h",
|
1227
|
+
"hB",
|
1228
|
+
"hb",
|
1229
|
+
"H"
|
1230
|
+
],
|
1231
|
+
MA: [
|
1232
|
+
"H",
|
1233
|
+
"h",
|
1234
|
+
"hB",
|
1235
|
+
"hb"
|
1236
|
+
],
|
1237
|
+
MC: [
|
1238
|
+
"H",
|
1239
|
+
"hB"
|
1240
|
+
],
|
1241
|
+
MD: [
|
1242
|
+
"H",
|
1243
|
+
"hB"
|
1244
|
+
],
|
1245
|
+
ME: [
|
1246
|
+
"H",
|
1247
|
+
"hB",
|
1248
|
+
"h"
|
1249
|
+
],
|
1250
|
+
MF: [
|
1251
|
+
"H",
|
1252
|
+
"hB"
|
1253
|
+
],
|
1254
|
+
MG: [
|
1255
|
+
"H",
|
1256
|
+
"h"
|
1257
|
+
],
|
1258
|
+
MH: [
|
1259
|
+
"h",
|
1260
|
+
"hb",
|
1261
|
+
"H",
|
1262
|
+
"hB"
|
1263
|
+
],
|
1264
|
+
MK: [
|
1265
|
+
"H",
|
1266
|
+
"h",
|
1267
|
+
"hb",
|
1268
|
+
"hB"
|
1269
|
+
],
|
1270
|
+
ML: [
|
1271
|
+
"H"
|
1272
|
+
],
|
1273
|
+
MM: [
|
1274
|
+
"hB",
|
1275
|
+
"hb",
|
1276
|
+
"H",
|
1277
|
+
"h"
|
1278
|
+
],
|
1279
|
+
MN: [
|
1280
|
+
"H",
|
1281
|
+
"h",
|
1282
|
+
"hb",
|
1283
|
+
"hB"
|
1284
|
+
],
|
1285
|
+
MO: [
|
1286
|
+
"h",
|
1287
|
+
"hB",
|
1288
|
+
"hb",
|
1289
|
+
"H"
|
1290
|
+
],
|
1291
|
+
MP: [
|
1292
|
+
"h",
|
1293
|
+
"hb",
|
1294
|
+
"H",
|
1295
|
+
"hB"
|
1296
|
+
],
|
1297
|
+
MQ: [
|
1298
|
+
"H",
|
1299
|
+
"hB"
|
1300
|
+
],
|
1301
|
+
MR: [
|
1302
|
+
"h",
|
1303
|
+
"hB",
|
1304
|
+
"hb",
|
1305
|
+
"H"
|
1306
|
+
],
|
1307
|
+
MS: [
|
1308
|
+
"H",
|
1309
|
+
"h",
|
1310
|
+
"hb",
|
1311
|
+
"hB"
|
1312
|
+
],
|
1313
|
+
MT: [
|
1314
|
+
"H",
|
1315
|
+
"h"
|
1316
|
+
],
|
1317
|
+
MU: [
|
1318
|
+
"H",
|
1319
|
+
"h"
|
1320
|
+
],
|
1321
|
+
MV: [
|
1322
|
+
"H",
|
1323
|
+
"h"
|
1324
|
+
],
|
1325
|
+
MW: [
|
1326
|
+
"h",
|
1327
|
+
"hb",
|
1328
|
+
"H",
|
1329
|
+
"hB"
|
1330
|
+
],
|
1331
|
+
MX: [
|
1332
|
+
"H",
|
1333
|
+
"h",
|
1334
|
+
"hB",
|
1335
|
+
"hb"
|
1336
|
+
],
|
1337
|
+
MY: [
|
1338
|
+
"hb",
|
1339
|
+
"hB",
|
1340
|
+
"h",
|
1341
|
+
"H"
|
1342
|
+
],
|
1343
|
+
MZ: [
|
1344
|
+
"H",
|
1345
|
+
"hB"
|
1346
|
+
],
|
1347
|
+
NA: [
|
1348
|
+
"h",
|
1349
|
+
"H",
|
1350
|
+
"hB",
|
1351
|
+
"hb"
|
1352
|
+
],
|
1353
|
+
NC: [
|
1354
|
+
"H",
|
1355
|
+
"hB"
|
1356
|
+
],
|
1357
|
+
NE: [
|
1358
|
+
"H"
|
1359
|
+
],
|
1360
|
+
NF: [
|
1361
|
+
"H",
|
1362
|
+
"h",
|
1363
|
+
"hb",
|
1364
|
+
"hB"
|
1365
|
+
],
|
1366
|
+
NG: [
|
1367
|
+
"H",
|
1368
|
+
"h",
|
1369
|
+
"hb",
|
1370
|
+
"hB"
|
1371
|
+
],
|
1372
|
+
NI: [
|
1373
|
+
"H",
|
1374
|
+
"h",
|
1375
|
+
"hB",
|
1376
|
+
"hb"
|
1377
|
+
],
|
1378
|
+
NL: [
|
1379
|
+
"H",
|
1380
|
+
"hB"
|
1381
|
+
],
|
1382
|
+
NO: [
|
1383
|
+
"H",
|
1384
|
+
"h"
|
1385
|
+
],
|
1386
|
+
NP: [
|
1387
|
+
"H",
|
1388
|
+
"h",
|
1389
|
+
"hB"
|
1390
|
+
],
|
1391
|
+
NR: [
|
1392
|
+
"H",
|
1393
|
+
"h",
|
1394
|
+
"hb",
|
1395
|
+
"hB"
|
1396
|
+
],
|
1397
|
+
NU: [
|
1398
|
+
"H",
|
1399
|
+
"h",
|
1400
|
+
"hb",
|
1401
|
+
"hB"
|
1402
|
+
],
|
1403
|
+
NZ: [
|
1404
|
+
"h",
|
1405
|
+
"hb",
|
1406
|
+
"H",
|
1407
|
+
"hB"
|
1408
|
+
],
|
1409
|
+
OM: [
|
1410
|
+
"h",
|
1411
|
+
"hB",
|
1412
|
+
"hb",
|
1413
|
+
"H"
|
1414
|
+
],
|
1415
|
+
PA: [
|
1416
|
+
"h",
|
1417
|
+
"H",
|
1418
|
+
"hB",
|
1419
|
+
"hb"
|
1420
|
+
],
|
1421
|
+
PE: [
|
1422
|
+
"H",
|
1423
|
+
"hB",
|
1424
|
+
"h",
|
1425
|
+
"hb"
|
1426
|
+
],
|
1427
|
+
PF: [
|
1428
|
+
"H",
|
1429
|
+
"h",
|
1430
|
+
"hB"
|
1431
|
+
],
|
1432
|
+
PG: [
|
1433
|
+
"h",
|
1434
|
+
"H"
|
1435
|
+
],
|
1436
|
+
PH: [
|
1437
|
+
"h",
|
1438
|
+
"hB",
|
1439
|
+
"hb",
|
1440
|
+
"H"
|
1441
|
+
],
|
1442
|
+
PK: [
|
1443
|
+
"h",
|
1444
|
+
"hB",
|
1445
|
+
"H"
|
1446
|
+
],
|
1447
|
+
PL: [
|
1448
|
+
"H",
|
1449
|
+
"h"
|
1450
|
+
],
|
1451
|
+
PM: [
|
1452
|
+
"H",
|
1453
|
+
"hB"
|
1454
|
+
],
|
1455
|
+
PN: [
|
1456
|
+
"H",
|
1457
|
+
"h",
|
1458
|
+
"hb",
|
1459
|
+
"hB"
|
1460
|
+
],
|
1461
|
+
PR: [
|
1462
|
+
"h",
|
1463
|
+
"H",
|
1464
|
+
"hB",
|
1465
|
+
"hb"
|
1466
|
+
],
|
1467
|
+
PS: [
|
1468
|
+
"h",
|
1469
|
+
"hB",
|
1470
|
+
"hb",
|
1471
|
+
"H"
|
1472
|
+
],
|
1473
|
+
PT: [
|
1474
|
+
"H",
|
1475
|
+
"hB"
|
1476
|
+
],
|
1477
|
+
PW: [
|
1478
|
+
"h",
|
1479
|
+
"H"
|
1480
|
+
],
|
1481
|
+
PY: [
|
1482
|
+
"H",
|
1483
|
+
"h",
|
1484
|
+
"hB",
|
1485
|
+
"hb"
|
1486
|
+
],
|
1487
|
+
QA: [
|
1488
|
+
"h",
|
1489
|
+
"hB",
|
1490
|
+
"hb",
|
1491
|
+
"H"
|
1492
|
+
],
|
1493
|
+
RE: [
|
1494
|
+
"H",
|
1495
|
+
"hB"
|
1496
|
+
],
|
1497
|
+
RO: [
|
1498
|
+
"H",
|
1499
|
+
"hB"
|
1500
|
+
],
|
1501
|
+
RS: [
|
1502
|
+
"H",
|
1503
|
+
"hB",
|
1504
|
+
"h"
|
1505
|
+
],
|
1506
|
+
RU: [
|
1507
|
+
"H"
|
1508
|
+
],
|
1509
|
+
RW: [
|
1510
|
+
"H",
|
1511
|
+
"h"
|
1512
|
+
],
|
1513
|
+
SA: [
|
1514
|
+
"h",
|
1515
|
+
"hB",
|
1516
|
+
"hb",
|
1517
|
+
"H"
|
1518
|
+
],
|
1519
|
+
SB: [
|
1520
|
+
"h",
|
1521
|
+
"hb",
|
1522
|
+
"H",
|
1523
|
+
"hB"
|
1524
|
+
],
|
1525
|
+
SC: [
|
1526
|
+
"H",
|
1527
|
+
"h",
|
1528
|
+
"hB"
|
1529
|
+
],
|
1530
|
+
SD: [
|
1531
|
+
"h",
|
1532
|
+
"hB",
|
1533
|
+
"hb",
|
1534
|
+
"H"
|
1535
|
+
],
|
1536
|
+
SE: [
|
1537
|
+
"H"
|
1538
|
+
],
|
1539
|
+
SG: [
|
1540
|
+
"h",
|
1541
|
+
"hb",
|
1542
|
+
"H",
|
1543
|
+
"hB"
|
1544
|
+
],
|
1545
|
+
SH: [
|
1546
|
+
"H",
|
1547
|
+
"h",
|
1548
|
+
"hb",
|
1549
|
+
"hB"
|
1550
|
+
],
|
1551
|
+
SI: [
|
1552
|
+
"H",
|
1553
|
+
"hB"
|
1554
|
+
],
|
1555
|
+
SJ: [
|
1556
|
+
"H"
|
1557
|
+
],
|
1558
|
+
SK: [
|
1559
|
+
"H"
|
1560
|
+
],
|
1561
|
+
SL: [
|
1562
|
+
"h",
|
1563
|
+
"hb",
|
1564
|
+
"H",
|
1565
|
+
"hB"
|
1566
|
+
],
|
1567
|
+
SM: [
|
1568
|
+
"H",
|
1569
|
+
"h",
|
1570
|
+
"hB"
|
1571
|
+
],
|
1572
|
+
SN: [
|
1573
|
+
"H",
|
1574
|
+
"h",
|
1575
|
+
"hB"
|
1576
|
+
],
|
1577
|
+
SO: [
|
1578
|
+
"h",
|
1579
|
+
"H"
|
1580
|
+
],
|
1581
|
+
SR: [
|
1582
|
+
"H",
|
1583
|
+
"hB"
|
1584
|
+
],
|
1585
|
+
SS: [
|
1586
|
+
"h",
|
1587
|
+
"hb",
|
1588
|
+
"H",
|
1589
|
+
"hB"
|
1590
|
+
],
|
1591
|
+
ST: [
|
1592
|
+
"H",
|
1593
|
+
"hB"
|
1594
|
+
],
|
1595
|
+
SV: [
|
1596
|
+
"H",
|
1597
|
+
"h",
|
1598
|
+
"hB",
|
1599
|
+
"hb"
|
1600
|
+
],
|
1601
|
+
SX: [
|
1602
|
+
"H",
|
1603
|
+
"h",
|
1604
|
+
"hb",
|
1605
|
+
"hB"
|
1606
|
+
],
|
1607
|
+
SY: [
|
1608
|
+
"h",
|
1609
|
+
"hB",
|
1610
|
+
"hb",
|
1611
|
+
"H"
|
1612
|
+
],
|
1613
|
+
SZ: [
|
1614
|
+
"h",
|
1615
|
+
"hb",
|
1616
|
+
"H",
|
1617
|
+
"hB"
|
1618
|
+
],
|
1619
|
+
TA: [
|
1620
|
+
"H",
|
1621
|
+
"h",
|
1622
|
+
"hb",
|
1623
|
+
"hB"
|
1624
|
+
],
|
1625
|
+
TC: [
|
1626
|
+
"h",
|
1627
|
+
"hb",
|
1628
|
+
"H",
|
1629
|
+
"hB"
|
1630
|
+
],
|
1631
|
+
TD: [
|
1632
|
+
"h",
|
1633
|
+
"H",
|
1634
|
+
"hB"
|
1635
|
+
],
|
1636
|
+
TF: [
|
1637
|
+
"H",
|
1638
|
+
"h",
|
1639
|
+
"hB"
|
1640
|
+
],
|
1641
|
+
TG: [
|
1642
|
+
"H",
|
1643
|
+
"hB"
|
1644
|
+
],
|
1645
|
+
TH: [
|
1646
|
+
"H",
|
1647
|
+
"h"
|
1648
|
+
],
|
1649
|
+
TJ: [
|
1650
|
+
"H",
|
1651
|
+
"h"
|
1652
|
+
],
|
1653
|
+
TL: [
|
1654
|
+
"H",
|
1655
|
+
"hB",
|
1656
|
+
"hb",
|
1657
|
+
"h"
|
1658
|
+
],
|
1659
|
+
TM: [
|
1660
|
+
"H",
|
1661
|
+
"h"
|
1662
|
+
],
|
1663
|
+
TN: [
|
1664
|
+
"h",
|
1665
|
+
"hB",
|
1666
|
+
"hb",
|
1667
|
+
"H"
|
1668
|
+
],
|
1669
|
+
TO: [
|
1670
|
+
"h",
|
1671
|
+
"H"
|
1672
|
+
],
|
1673
|
+
TR: [
|
1674
|
+
"H",
|
1675
|
+
"hB"
|
1676
|
+
],
|
1677
|
+
TT: [
|
1678
|
+
"h",
|
1679
|
+
"hb",
|
1680
|
+
"H",
|
1681
|
+
"hB"
|
1682
|
+
],
|
1683
|
+
TW: [
|
1684
|
+
"hB",
|
1685
|
+
"hb",
|
1686
|
+
"h",
|
1687
|
+
"H"
|
1688
|
+
],
|
1689
|
+
TZ: [
|
1690
|
+
"hB",
|
1691
|
+
"hb",
|
1692
|
+
"H",
|
1693
|
+
"h"
|
1694
|
+
],
|
1695
|
+
UA: [
|
1696
|
+
"H",
|
1697
|
+
"hB",
|
1698
|
+
"h"
|
1699
|
+
],
|
1700
|
+
UG: [
|
1701
|
+
"hB",
|
1702
|
+
"hb",
|
1703
|
+
"H",
|
1704
|
+
"h"
|
1705
|
+
],
|
1706
|
+
UM: [
|
1707
|
+
"h",
|
1708
|
+
"hb",
|
1709
|
+
"H",
|
1710
|
+
"hB"
|
1711
|
+
],
|
1712
|
+
US: [
|
1713
|
+
"h",
|
1714
|
+
"hb",
|
1715
|
+
"H",
|
1716
|
+
"hB"
|
1717
|
+
],
|
1718
|
+
UY: [
|
1719
|
+
"H",
|
1720
|
+
"h",
|
1721
|
+
"hB",
|
1722
|
+
"hb"
|
1723
|
+
],
|
1724
|
+
UZ: [
|
1725
|
+
"H",
|
1726
|
+
"hB",
|
1727
|
+
"h"
|
1728
|
+
],
|
1729
|
+
VA: [
|
1730
|
+
"H",
|
1731
|
+
"h",
|
1732
|
+
"hB"
|
1733
|
+
],
|
1734
|
+
VC: [
|
1735
|
+
"h",
|
1736
|
+
"hb",
|
1737
|
+
"H",
|
1738
|
+
"hB"
|
1739
|
+
],
|
1740
|
+
VE: [
|
1741
|
+
"h",
|
1742
|
+
"H",
|
1743
|
+
"hB",
|
1744
|
+
"hb"
|
1745
|
+
],
|
1746
|
+
VG: [
|
1747
|
+
"h",
|
1748
|
+
"hb",
|
1749
|
+
"H",
|
1750
|
+
"hB"
|
1751
|
+
],
|
1752
|
+
VI: [
|
1753
|
+
"h",
|
1754
|
+
"hb",
|
1755
|
+
"H",
|
1756
|
+
"hB"
|
1757
|
+
],
|
1758
|
+
VN: [
|
1759
|
+
"H",
|
1760
|
+
"h"
|
1761
|
+
],
|
1762
|
+
VU: [
|
1763
|
+
"h",
|
1764
|
+
"H"
|
1765
|
+
],
|
1766
|
+
WF: [
|
1767
|
+
"H",
|
1768
|
+
"hB"
|
1769
|
+
],
|
1770
|
+
WS: [
|
1771
|
+
"h",
|
1772
|
+
"H"
|
1773
|
+
],
|
1774
|
+
XK: [
|
1775
|
+
"H",
|
1776
|
+
"hB",
|
1777
|
+
"h"
|
1778
|
+
],
|
1779
|
+
YE: [
|
1780
|
+
"h",
|
1781
|
+
"hB",
|
1782
|
+
"hb",
|
1783
|
+
"H"
|
1784
|
+
],
|
1785
|
+
YT: [
|
1786
|
+
"H",
|
1787
|
+
"hB"
|
1788
|
+
],
|
1789
|
+
ZA: [
|
1790
|
+
"H",
|
1791
|
+
"h",
|
1792
|
+
"hb",
|
1793
|
+
"hB"
|
1794
|
+
],
|
1795
|
+
ZM: [
|
1796
|
+
"h",
|
1797
|
+
"hb",
|
1798
|
+
"H",
|
1799
|
+
"hB"
|
1800
|
+
],
|
1801
|
+
ZW: [
|
1802
|
+
"H",
|
1803
|
+
"h"
|
1804
|
+
],
|
1805
|
+
"af-ZA": [
|
1806
|
+
"H",
|
1807
|
+
"h",
|
1808
|
+
"hB",
|
1809
|
+
"hb"
|
1810
|
+
],
|
1811
|
+
"ar-001": [
|
1812
|
+
"h",
|
1813
|
+
"hB",
|
1814
|
+
"hb",
|
1815
|
+
"H"
|
1816
|
+
],
|
1817
|
+
"ca-ES": [
|
1818
|
+
"H",
|
1819
|
+
"h",
|
1820
|
+
"hB"
|
1821
|
+
],
|
1822
|
+
"en-001": [
|
1823
|
+
"h",
|
1824
|
+
"hb",
|
1825
|
+
"H",
|
1826
|
+
"hB"
|
1827
|
+
],
|
1828
|
+
"es-BO": [
|
1829
|
+
"H",
|
1830
|
+
"h",
|
1831
|
+
"hB",
|
1832
|
+
"hb"
|
1833
|
+
],
|
1834
|
+
"es-BR": [
|
1835
|
+
"H",
|
1836
|
+
"h",
|
1837
|
+
"hB",
|
1838
|
+
"hb"
|
1839
|
+
],
|
1840
|
+
"es-EC": [
|
1841
|
+
"H",
|
1842
|
+
"h",
|
1843
|
+
"hB",
|
1844
|
+
"hb"
|
1845
|
+
],
|
1846
|
+
"es-ES": [
|
1847
|
+
"H",
|
1848
|
+
"h",
|
1849
|
+
"hB",
|
1850
|
+
"hb"
|
1851
|
+
],
|
1852
|
+
"es-GQ": [
|
1853
|
+
"H",
|
1854
|
+
"h",
|
1855
|
+
"hB",
|
1856
|
+
"hb"
|
1857
|
+
],
|
1858
|
+
"es-PE": [
|
1859
|
+
"H",
|
1860
|
+
"h",
|
1861
|
+
"hB",
|
1862
|
+
"hb"
|
1863
|
+
],
|
1864
|
+
"fr-CA": [
|
1865
|
+
"H",
|
1866
|
+
"h",
|
1867
|
+
"hB"
|
1868
|
+
],
|
1869
|
+
"gl-ES": [
|
1870
|
+
"H",
|
1871
|
+
"h",
|
1872
|
+
"hB"
|
1873
|
+
],
|
1874
|
+
"gu-IN": [
|
1875
|
+
"hB",
|
1876
|
+
"hb",
|
1877
|
+
"h",
|
1878
|
+
"H"
|
1879
|
+
],
|
1880
|
+
"hi-IN": [
|
1881
|
+
"hB",
|
1882
|
+
"h",
|
1883
|
+
"H"
|
1884
|
+
],
|
1885
|
+
"it-CH": [
|
1886
|
+
"H",
|
1887
|
+
"h",
|
1888
|
+
"hB"
|
1889
|
+
],
|
1890
|
+
"it-IT": [
|
1891
|
+
"H",
|
1892
|
+
"h",
|
1893
|
+
"hB"
|
1894
|
+
],
|
1895
|
+
"kn-IN": [
|
1896
|
+
"hB",
|
1897
|
+
"h",
|
1898
|
+
"H"
|
1899
|
+
],
|
1900
|
+
"ml-IN": [
|
1901
|
+
"hB",
|
1902
|
+
"h",
|
1903
|
+
"H"
|
1904
|
+
],
|
1905
|
+
"mr-IN": [
|
1906
|
+
"hB",
|
1907
|
+
"hb",
|
1908
|
+
"h",
|
1909
|
+
"H"
|
1910
|
+
],
|
1911
|
+
"pa-IN": [
|
1912
|
+
"hB",
|
1913
|
+
"hb",
|
1914
|
+
"h",
|
1915
|
+
"H"
|
1916
|
+
],
|
1917
|
+
"ta-IN": [
|
1918
|
+
"hB",
|
1919
|
+
"h",
|
1920
|
+
"hb",
|
1921
|
+
"H"
|
1922
|
+
],
|
1923
|
+
"te-IN": [
|
1924
|
+
"hB",
|
1925
|
+
"h",
|
1926
|
+
"H"
|
1927
|
+
],
|
1928
|
+
"zu-ZA": [
|
1929
|
+
"H",
|
1930
|
+
"hB",
|
1931
|
+
"hb",
|
1932
|
+
"h"
|
1933
|
+
]
|
1934
|
+
};
|
1935
|
+
function yr(e, t) {
|
1936
|
+
for (var r = "", n = 0; n < e.length; n++) {
|
1937
|
+
var i = e.charAt(n);
|
1938
|
+
if (i === "j") {
|
1939
|
+
for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
1940
|
+
a++, n++;
|
1941
|
+
var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), l = "a", u = Er(t);
|
1942
|
+
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
1943
|
+
r += l;
|
1944
|
+
for (; s-- > 0; )
|
1945
|
+
r = u + r;
|
1946
|
+
} else i === "J" ? r += "H" : r += i;
|
1947
|
+
}
|
1948
|
+
return r;
|
1949
|
+
}
|
1950
|
+
function Er(e) {
|
1951
|
+
var t = e.hourCycle;
|
1952
|
+
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
1953
|
+
e.hourCycles && // @ts-ignore
|
1954
|
+
e.hourCycles.length && (t = e.hourCycles[0]), t)
|
1955
|
+
switch (t) {
|
1956
|
+
case "h24":
|
1957
|
+
return "k";
|
1958
|
+
case "h23":
|
1959
|
+
return "H";
|
1960
|
+
case "h12":
|
1961
|
+
return "h";
|
1962
|
+
case "h11":
|
1963
|
+
return "K";
|
1964
|
+
default:
|
1965
|
+
throw new Error("Invalid hourCycle");
|
1966
|
+
}
|
1967
|
+
var r = e.language, n;
|
1968
|
+
r !== "root" && (n = e.maximize().region);
|
1969
|
+
var i = K[n || ""] || K[r || ""] || K["".concat(r, "-001")] || K["001"];
|
1970
|
+
return i[0];
|
1971
|
+
}
|
1972
|
+
var be, vr = new RegExp("^".concat(mt.source, "*")), _r = new RegExp("".concat(mt.source, "*$"));
|
1973
|
+
function d(e, t) {
|
1974
|
+
return { start: e, end: t };
|
1975
|
+
}
|
1976
|
+
var xr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hr = !!String.fromCodePoint, Tr = !!Object.fromEntries, Br = !!String.prototype.codePointAt, Sr = !!String.prototype.trimStart, Ar = !!String.prototype.trimEnd, Pr = !!Number.isSafeInteger, wr = Pr ? Number.isSafeInteger : function(e) {
|
1977
|
+
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
1978
|
+
}, xe = !0;
|
1979
|
+
try {
|
1980
|
+
var Or = yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
1981
|
+
xe = ((be = Or.exec("a")) === null || be === void 0 ? void 0 : be[0]) === "a";
|
1982
|
+
} catch (e) {
|
1983
|
+
xe = !1;
|
1984
|
+
}
|
1985
|
+
var je = xr ? (
|
1986
|
+
// Native
|
1987
|
+
function(t, r, n) {
|
1988
|
+
return t.startsWith(r, n);
|
1989
|
+
}
|
1990
|
+
) : (
|
1991
|
+
// For IE11
|
1992
|
+
function(t, r, n) {
|
1993
|
+
return t.slice(n, n + r.length) === r;
|
1994
|
+
}
|
1995
|
+
), He = Hr ? String.fromCodePoint : (
|
1996
|
+
// IE11
|
1997
|
+
function() {
|
1998
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
1999
|
+
t[r] = arguments[r];
|
2000
|
+
for (var n = "", i = t.length, a = 0, s; i > a; ) {
|
2001
|
+
if (s = t[a++], s > 1114111)
|
2002
|
+
throw RangeError(s + " is not a valid code point");
|
2003
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
2004
|
+
}
|
2005
|
+
return n;
|
2006
|
+
}
|
2007
|
+
), ke = (
|
2008
|
+
// native
|
2009
|
+
Tr ? Object.fromEntries : (
|
2010
|
+
// Ponyfill
|
2011
|
+
function(t) {
|
2012
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
2013
|
+
var a = i[n], s = a[0], o = a[1];
|
2014
|
+
r[s] = o;
|
2015
|
+
}
|
2016
|
+
return r;
|
2017
|
+
}
|
2018
|
+
)
|
2019
|
+
), dt = Br ? (
|
2020
|
+
// Native
|
2021
|
+
function(t, r) {
|
2022
|
+
return t.codePointAt(r);
|
2023
|
+
}
|
2024
|
+
) : (
|
2025
|
+
// IE 11
|
2026
|
+
function(t, r) {
|
2027
|
+
var n = t.length;
|
2028
|
+
if (!(r < 0 || r >= n)) {
|
2029
|
+
var i = t.charCodeAt(r), a;
|
2030
|
+
return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
|
2031
|
+
}
|
2032
|
+
}
|
2033
|
+
), Ir = Sr ? (
|
2034
|
+
// Native
|
2035
|
+
function(t) {
|
2036
|
+
return t.trimStart();
|
2037
|
+
}
|
2038
|
+
) : (
|
2039
|
+
// Ponyfill
|
2040
|
+
function(t) {
|
2041
|
+
return t.replace(vr, "");
|
2042
|
+
}
|
2043
|
+
), Nr = Ar ? (
|
2044
|
+
// Native
|
2045
|
+
function(t) {
|
2046
|
+
return t.trimEnd();
|
2047
|
+
}
|
2048
|
+
) : (
|
2049
|
+
// Ponyfill
|
2050
|
+
function(t) {
|
2051
|
+
return t.replace(_r, "");
|
2052
|
+
}
|
2053
|
+
);
|
2054
|
+
function yt(e, t) {
|
2055
|
+
return new RegExp(e, t);
|
2056
|
+
}
|
2057
|
+
var Te;
|
2058
|
+
if (xe) {
|
2059
|
+
var Ve = yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2060
|
+
Te = function(t, r) {
|
2061
|
+
var n;
|
2062
|
+
Ve.lastIndex = r;
|
2063
|
+
var i = Ve.exec(t);
|
2064
|
+
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2065
|
+
};
|
2066
|
+
} else
|
2067
|
+
Te = function(t, r) {
|
2068
|
+
for (var n = []; ; ) {
|
2069
|
+
var i = dt(t, r);
|
2070
|
+
if (i === void 0 || Et(i) || Rr(i))
|
2071
|
+
break;
|
2072
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
2073
|
+
}
|
2074
|
+
return He.apply(void 0, n);
|
2075
|
+
};
|
2076
|
+
var Cr = (
|
2077
|
+
/** @class */
|
2078
|
+
function() {
|
2079
|
+
function e(t, r) {
|
2080
|
+
r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
|
2081
|
+
}
|
2082
|
+
return e.prototype.parse = function() {
|
2083
|
+
if (this.offset() !== 0)
|
2084
|
+
throw Error("parser can only be used once");
|
2085
|
+
return this.parseMessage(0, "", !1);
|
2086
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
2087
|
+
for (var i = []; !this.isEOF(); ) {
|
2088
|
+
var a = this.char();
|
2089
|
+
if (a === 123) {
|
2090
|
+
var s = this.parseArgument(t, n);
|
2091
|
+
if (s.err)
|
2092
|
+
return s;
|
2093
|
+
i.push(s.val);
|
2094
|
+
} else {
|
2095
|
+
if (a === 125 && t > 0)
|
2096
|
+
break;
|
2097
|
+
if (a === 35 && (r === "plural" || r === "selectordinal")) {
|
2098
|
+
var o = this.clonePosition();
|
2099
|
+
this.bump(), i.push({
|
2100
|
+
type: x.pound,
|
2101
|
+
location: d(o, this.clonePosition())
|
2102
|
+
});
|
2103
|
+
} else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
|
2104
|
+
if (n)
|
2105
|
+
break;
|
2106
|
+
return this.error(g.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
|
2107
|
+
} else if (a === 60 && !this.ignoreTag && Be(this.peek() || 0)) {
|
2108
|
+
var s = this.parseTag(t, r);
|
2109
|
+
if (s.err)
|
2110
|
+
return s;
|
2111
|
+
i.push(s.val);
|
2112
|
+
} else {
|
2113
|
+
var s = this.parseLiteral(t, r);
|
2114
|
+
if (s.err)
|
2115
|
+
return s;
|
2116
|
+
i.push(s.val);
|
2117
|
+
}
|
2118
|
+
}
|
2119
|
+
}
|
2120
|
+
return { val: i, err: null };
|
2121
|
+
}, e.prototype.parseTag = function(t, r) {
|
2122
|
+
var n = this.clonePosition();
|
2123
|
+
this.bump();
|
2124
|
+
var i = this.parseTagName();
|
2125
|
+
if (this.bumpSpace(), this.bumpIf("/>"))
|
2126
|
+
return {
|
2127
|
+
val: {
|
2128
|
+
type: x.literal,
|
2129
|
+
value: "<".concat(i, "/>"),
|
2130
|
+
location: d(n, this.clonePosition())
|
2131
|
+
},
|
2132
|
+
err: null
|
2133
|
+
};
|
2134
|
+
if (this.bumpIf(">")) {
|
2135
|
+
var a = this.parseMessage(t + 1, r, !0);
|
2136
|
+
if (a.err)
|
2137
|
+
return a;
|
2138
|
+
var s = a.val, o = this.clonePosition();
|
2139
|
+
if (this.bumpIf("</")) {
|
2140
|
+
if (this.isEOF() || !Be(this.char()))
|
2141
|
+
return this.error(g.INVALID_TAG, d(o, this.clonePosition()));
|
2142
|
+
var l = this.clonePosition(), u = this.parseTagName();
|
2143
|
+
return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, d(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
2144
|
+
val: {
|
2145
|
+
type: x.tag,
|
2146
|
+
value: i,
|
2147
|
+
children: s,
|
2148
|
+
location: d(n, this.clonePosition())
|
2149
|
+
},
|
2150
|
+
err: null
|
2151
|
+
} : this.error(g.INVALID_TAG, d(o, this.clonePosition())));
|
2152
|
+
} else
|
2153
|
+
return this.error(g.UNCLOSED_TAG, d(n, this.clonePosition()));
|
2154
|
+
} else
|
2155
|
+
return this.error(g.INVALID_TAG, d(n, this.clonePosition()));
|
2156
|
+
}, e.prototype.parseTagName = function() {
|
2157
|
+
var t = this.offset();
|
2158
|
+
for (this.bump(); !this.isEOF() && Mr(this.char()); )
|
2159
|
+
this.bump();
|
2160
|
+
return this.message.slice(t, this.offset());
|
2161
|
+
}, e.prototype.parseLiteral = function(t, r) {
|
2162
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
2163
|
+
var a = this.tryParseQuote(r);
|
2164
|
+
if (a) {
|
2165
|
+
i += a;
|
2166
|
+
continue;
|
2167
|
+
}
|
2168
|
+
var s = this.tryParseUnquoted(t, r);
|
2169
|
+
if (s) {
|
2170
|
+
i += s;
|
2171
|
+
continue;
|
2172
|
+
}
|
2173
|
+
var o = this.tryParseLeftAngleBracket();
|
2174
|
+
if (o) {
|
2175
|
+
i += o;
|
2176
|
+
continue;
|
2177
|
+
}
|
2178
|
+
break;
|
2179
|
+
}
|
2180
|
+
var l = d(n, this.clonePosition());
|
2181
|
+
return {
|
2182
|
+
val: { type: x.literal, value: i, location: l },
|
2183
|
+
err: null
|
2184
|
+
};
|
2185
|
+
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2186
|
+
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2187
|
+
!Lr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2188
|
+
}, e.prototype.tryParseQuote = function(t) {
|
2189
|
+
if (this.isEOF() || this.char() !== 39)
|
2190
|
+
return null;
|
2191
|
+
switch (this.peek()) {
|
2192
|
+
case 39:
|
2193
|
+
return this.bump(), this.bump(), "'";
|
2194
|
+
case 123:
|
2195
|
+
case 60:
|
2196
|
+
case 62:
|
2197
|
+
case 125:
|
2198
|
+
break;
|
2199
|
+
case 35:
|
2200
|
+
if (t === "plural" || t === "selectordinal")
|
2201
|
+
break;
|
2202
|
+
return null;
|
2203
|
+
default:
|
2204
|
+
return null;
|
2205
|
+
}
|
2206
|
+
this.bump();
|
2207
|
+
var r = [this.char()];
|
2208
|
+
for (this.bump(); !this.isEOF(); ) {
|
2209
|
+
var n = this.char();
|
2210
|
+
if (n === 39)
|
2211
|
+
if (this.peek() === 39)
|
2212
|
+
r.push(39), this.bump();
|
2213
|
+
else {
|
2214
|
+
this.bump();
|
2215
|
+
break;
|
2216
|
+
}
|
2217
|
+
else
|
2218
|
+
r.push(n);
|
2219
|
+
this.bump();
|
2220
|
+
}
|
2221
|
+
return He.apply(void 0, r);
|
2222
|
+
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2223
|
+
if (this.isEOF())
|
2224
|
+
return null;
|
2225
|
+
var n = this.char();
|
2226
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), He(n));
|
2227
|
+
}, e.prototype.parseArgument = function(t, r) {
|
2228
|
+
var n = this.clonePosition();
|
2229
|
+
if (this.bump(), this.bumpSpace(), this.isEOF())
|
2230
|
+
return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
|
2231
|
+
if (this.char() === 125)
|
2232
|
+
return this.bump(), this.error(g.EMPTY_ARGUMENT, d(n, this.clonePosition()));
|
2233
|
+
var i = this.parseIdentifierIfPossible().value;
|
2234
|
+
if (!i)
|
2235
|
+
return this.error(g.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
|
2236
|
+
if (this.bumpSpace(), this.isEOF())
|
2237
|
+
return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
|
2238
|
+
switch (this.char()) {
|
2239
|
+
case 125:
|
2240
|
+
return this.bump(), {
|
2241
|
+
val: {
|
2242
|
+
type: x.argument,
|
2243
|
+
// value does not include the opening and closing braces.
|
2244
|
+
value: i,
|
2245
|
+
location: d(n, this.clonePosition())
|
2246
|
+
},
|
2247
|
+
err: null
|
2248
|
+
};
|
2249
|
+
case 44:
|
2250
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
2251
|
+
default:
|
2252
|
+
return this.error(g.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
|
2253
|
+
}
|
2254
|
+
}, e.prototype.parseIdentifierIfPossible = function() {
|
2255
|
+
var t = this.clonePosition(), r = this.offset(), n = Te(this.message, r), i = r + n.length;
|
2256
|
+
this.bumpTo(i);
|
2257
|
+
var a = this.clonePosition(), s = d(t, a);
|
2258
|
+
return { value: n, location: s };
|
2259
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
2260
|
+
var a, s = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
2261
|
+
switch (o) {
|
2262
|
+
case "":
|
2263
|
+
return this.error(g.EXPECT_ARGUMENT_TYPE, d(s, l));
|
2264
|
+
case "number":
|
2265
|
+
case "date":
|
2266
|
+
case "time": {
|
2267
|
+
this.bumpSpace();
|
2268
|
+
var u = null;
|
2269
|
+
if (this.bumpIf(",")) {
|
2270
|
+
this.bumpSpace();
|
2271
|
+
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
2272
|
+
if (f.err)
|
2273
|
+
return f;
|
2274
|
+
var c = Nr(f.val);
|
2275
|
+
if (c.length === 0)
|
2276
|
+
return this.error(g.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
|
2277
|
+
var y = d(h, this.clonePosition());
|
2278
|
+
u = { style: c, styleLocation: y };
|
2279
|
+
}
|
2280
|
+
var E = this.tryParseArgumentClose(i);
|
2281
|
+
if (E.err)
|
2282
|
+
return E;
|
2283
|
+
var b = d(i, this.clonePosition());
|
2284
|
+
if (u && je(u == null ? void 0 : u.style, "::", 0)) {
|
2285
|
+
var m = Ir(u.style.slice(2));
|
2286
|
+
if (o === "number") {
|
2287
|
+
var f = this.parseNumberSkeletonFromString(m, u.styleLocation);
|
2288
|
+
return f.err ? f : {
|
2289
|
+
val: { type: x.number, value: n, location: b, style: f.val },
|
2290
|
+
err: null
|
2291
|
+
};
|
2292
|
+
} else {
|
2293
|
+
if (m.length === 0)
|
2294
|
+
return this.error(g.EXPECT_DATE_TIME_SKELETON, b);
|
2295
|
+
var _ = m;
|
2296
|
+
this.locale && (_ = yr(m, this.locale));
|
2297
|
+
var c = {
|
2298
|
+
type: F.dateTime,
|
2299
|
+
pattern: _,
|
2300
|
+
location: u.styleLocation,
|
2301
|
+
parsedOptions: this.shouldParseSkeletons ? fr(_) : {}
|
2302
|
+
}, A = o === "date" ? x.date : x.time;
|
2303
|
+
return {
|
2304
|
+
val: { type: A, value: n, location: b, style: c },
|
2305
|
+
err: null
|
2306
|
+
};
|
2307
|
+
}
|
2308
|
+
}
|
2309
|
+
return {
|
2310
|
+
val: {
|
2311
|
+
type: o === "number" ? x.number : o === "date" ? x.date : x.time,
|
2312
|
+
value: n,
|
2313
|
+
location: b,
|
2314
|
+
style: (a = u == null ? void 0 : u.style) !== null && a !== void 0 ? a : null
|
2315
|
+
},
|
2316
|
+
err: null
|
2317
|
+
};
|
2318
|
+
}
|
2319
|
+
case "plural":
|
2320
|
+
case "selectordinal":
|
2321
|
+
case "select": {
|
2322
|
+
var B = this.clonePosition();
|
2323
|
+
if (this.bumpSpace(), !this.bumpIf(","))
|
2324
|
+
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, d(B, v({}, B)));
|
2325
|
+
this.bumpSpace();
|
2326
|
+
var p = this.parseIdentifierIfPossible(), H = 0;
|
2327
|
+
if (o !== "select" && p.value === "offset") {
|
2328
|
+
if (!this.bumpIf(":"))
|
2329
|
+
return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
|
2330
|
+
this.bumpSpace();
|
2331
|
+
var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2332
|
+
if (f.err)
|
2333
|
+
return f;
|
2334
|
+
this.bumpSpace(), p = this.parseIdentifierIfPossible(), H = f.val;
|
2335
|
+
}
|
2336
|
+
var S = this.tryParsePluralOrSelectOptions(t, o, r, p);
|
2337
|
+
if (S.err)
|
2338
|
+
return S;
|
2339
|
+
var E = this.tryParseArgumentClose(i);
|
2340
|
+
if (E.err)
|
2341
|
+
return E;
|
2342
|
+
var Le = d(i, this.clonePosition());
|
2343
|
+
return o === "select" ? {
|
2344
|
+
val: {
|
2345
|
+
type: x.select,
|
2346
|
+
value: n,
|
2347
|
+
options: ke(S.val),
|
2348
|
+
location: Le
|
2349
|
+
},
|
2350
|
+
err: null
|
2351
|
+
} : {
|
2352
|
+
val: {
|
2353
|
+
type: x.plural,
|
2354
|
+
value: n,
|
2355
|
+
options: ke(S.val),
|
2356
|
+
offset: H,
|
2357
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
2358
|
+
location: Le
|
2359
|
+
},
|
2360
|
+
err: null
|
2361
|
+
};
|
2362
|
+
}
|
2363
|
+
default:
|
2364
|
+
return this.error(g.INVALID_ARGUMENT_TYPE, d(s, l));
|
2365
|
+
}
|
2366
|
+
}, e.prototype.tryParseArgumentClose = function(t) {
|
2367
|
+
return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
2368
|
+
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
2369
|
+
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
2370
|
+
var n = this.char();
|
2371
|
+
switch (n) {
|
2372
|
+
case 39: {
|
2373
|
+
this.bump();
|
2374
|
+
var i = this.clonePosition();
|
2375
|
+
if (!this.bumpUntil("'"))
|
2376
|
+
return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
|
2377
|
+
this.bump();
|
2378
|
+
break;
|
2379
|
+
}
|
2380
|
+
case 123: {
|
2381
|
+
t += 1, this.bump();
|
2382
|
+
break;
|
2383
|
+
}
|
2384
|
+
case 125: {
|
2385
|
+
if (t > 0)
|
2386
|
+
t -= 1;
|
2387
|
+
else
|
2388
|
+
return {
|
2389
|
+
val: this.message.slice(r.offset, this.offset()),
|
2390
|
+
err: null
|
2391
|
+
};
|
2392
|
+
break;
|
2393
|
+
}
|
2394
|
+
default:
|
2395
|
+
this.bump();
|
2396
|
+
break;
|
2397
|
+
}
|
2398
|
+
}
|
2399
|
+
return {
|
2400
|
+
val: this.message.slice(r.offset, this.offset()),
|
2401
|
+
err: null
|
2402
|
+
};
|
2403
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2404
|
+
var n = [];
|
2405
|
+
try {
|
2406
|
+
n = mr(t);
|
2407
|
+
} catch (i) {
|
2408
|
+
return this.error(g.INVALID_NUMBER_SKELETON, r);
|
2409
|
+
}
|
2410
|
+
return {
|
2411
|
+
val: {
|
2412
|
+
type: F.number,
|
2413
|
+
tokens: n,
|
2414
|
+
location: r,
|
2415
|
+
parsedOptions: this.shouldParseSkeletons ? dr(n) : {}
|
2416
|
+
},
|
2417
|
+
err: null
|
2418
|
+
};
|
2419
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
2420
|
+
for (var a, s = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
2421
|
+
if (u.length === 0) {
|
2422
|
+
var f = this.clonePosition();
|
2423
|
+
if (r !== "select" && this.bumpIf("=")) {
|
2424
|
+
var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
2425
|
+
if (c.err)
|
2426
|
+
return c;
|
2427
|
+
h = d(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
2428
|
+
} else
|
2429
|
+
break;
|
2430
|
+
}
|
2431
|
+
if (l.has(u))
|
2432
|
+
return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
2433
|
+
u === "other" && (s = !0), this.bumpSpace();
|
2434
|
+
var y = this.clonePosition();
|
2435
|
+
if (!this.bumpIf("{"))
|
2436
|
+
return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
|
2437
|
+
var E = this.parseMessage(t + 1, r, n);
|
2438
|
+
if (E.err)
|
2439
|
+
return E;
|
2440
|
+
var b = this.tryParseArgumentClose(y);
|
2441
|
+
if (b.err)
|
2442
|
+
return b;
|
2443
|
+
o.push([
|
2444
|
+
u,
|
2445
|
+
{
|
2446
|
+
value: E.val,
|
2447
|
+
location: d(y, this.clonePosition())
|
2448
|
+
}
|
2449
|
+
]), l.add(u), this.bumpSpace(), a = this.parseIdentifierIfPossible(), u = a.value, h = a.location;
|
2450
|
+
}
|
2451
|
+
return o.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(g.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
|
2452
|
+
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
2453
|
+
var n = 1, i = this.clonePosition();
|
2454
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
2455
|
+
for (var a = !1, s = 0; !this.isEOF(); ) {
|
2456
|
+
var o = this.char();
|
2457
|
+
if (o >= 48 && o <= 57)
|
2458
|
+
a = !0, s = s * 10 + (o - 48), this.bump();
|
2459
|
+
else
|
2460
|
+
break;
|
2461
|
+
}
|
2462
|
+
var l = d(i, this.clonePosition());
|
2463
|
+
return a ? (s *= n, wr(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
2464
|
+
}, e.prototype.offset = function() {
|
2465
|
+
return this.position.offset;
|
2466
|
+
}, e.prototype.isEOF = function() {
|
2467
|
+
return this.offset() === this.message.length;
|
2468
|
+
}, e.prototype.clonePosition = function() {
|
2469
|
+
return {
|
2470
|
+
offset: this.position.offset,
|
2471
|
+
line: this.position.line,
|
2472
|
+
column: this.position.column
|
2473
|
+
};
|
2474
|
+
}, e.prototype.char = function() {
|
2475
|
+
var t = this.position.offset;
|
2476
|
+
if (t >= this.message.length)
|
2477
|
+
throw Error("out of bound");
|
2478
|
+
var r = dt(this.message, t);
|
2479
|
+
if (r === void 0)
|
2480
|
+
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
2481
|
+
return r;
|
2482
|
+
}, e.prototype.error = function(t, r) {
|
2483
|
+
return {
|
2484
|
+
val: null,
|
2485
|
+
err: {
|
2486
|
+
kind: t,
|
2487
|
+
message: this.message,
|
2488
|
+
location: r
|
2489
|
+
}
|
2490
|
+
};
|
2491
|
+
}, e.prototype.bump = function() {
|
2492
|
+
if (!this.isEOF()) {
|
2493
|
+
var t = this.char();
|
2494
|
+
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
2495
|
+
}
|
2496
|
+
}, e.prototype.bumpIf = function(t) {
|
2497
|
+
if (je(this.message, t, this.offset())) {
|
2498
|
+
for (var r = 0; r < t.length; r++)
|
2499
|
+
this.bump();
|
2500
|
+
return !0;
|
2501
|
+
}
|
2502
|
+
return !1;
|
2503
|
+
}, e.prototype.bumpUntil = function(t) {
|
2504
|
+
var r = this.offset(), n = this.message.indexOf(t, r);
|
2505
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
2506
|
+
}, e.prototype.bumpTo = function(t) {
|
2507
|
+
if (this.offset() > t)
|
2508
|
+
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
2509
|
+
for (t = Math.min(t, this.message.length); ; ) {
|
2510
|
+
var r = this.offset();
|
2511
|
+
if (r === t)
|
2512
|
+
break;
|
2513
|
+
if (r > t)
|
2514
|
+
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
2515
|
+
if (this.bump(), this.isEOF())
|
2516
|
+
break;
|
2517
|
+
}
|
2518
|
+
}, e.prototype.bumpSpace = function() {
|
2519
|
+
for (; !this.isEOF() && Et(this.char()); )
|
2520
|
+
this.bump();
|
2521
|
+
}, e.prototype.peek = function() {
|
2522
|
+
if (this.isEOF())
|
2523
|
+
return null;
|
2524
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
2525
|
+
return n != null ? n : null;
|
2526
|
+
}, e;
|
2527
|
+
}()
|
2528
|
+
);
|
2529
|
+
function Be(e) {
|
2530
|
+
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
2531
|
+
}
|
2532
|
+
function Lr(e) {
|
2533
|
+
return Be(e) || e === 47;
|
2534
|
+
}
|
2535
|
+
function Mr(e) {
|
2536
|
+
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
2537
|
+
}
|
2538
|
+
function Et(e) {
|
2539
|
+
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
2540
|
+
}
|
2541
|
+
function Rr(e) {
|
2542
|
+
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
2543
|
+
}
|
2544
|
+
function Se(e) {
|
2545
|
+
e.forEach(function(t) {
|
2546
|
+
if (delete t.location, ut(t) || ht(t))
|
2547
|
+
for (var r in t.options)
|
2548
|
+
delete t.options[r].location, Se(t.options[r].value);
|
2549
|
+
else ot(t) && ct(t.style) || (st(t) || lt(t)) && _e(t.style) ? delete t.style.location : ft(t) && Se(t.children);
|
2550
|
+
});
|
2551
|
+
}
|
2552
|
+
function Gr(e, t) {
|
2553
|
+
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
2554
|
+
var r = new Cr(e, t).parse();
|
2555
|
+
if (r.err) {
|
2556
|
+
var n = SyntaxError(g[r.err.kind]);
|
2557
|
+
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
2558
|
+
}
|
2559
|
+
return t != null && t.captureLocation || Se(r.val), r.val;
|
2560
|
+
}
|
2561
|
+
function ge(e, t) {
|
2562
|
+
var r = t && t.cache ? t.cache : Vr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Ur;
|
2563
|
+
return i(e, {
|
2564
|
+
cache: r,
|
2565
|
+
serializer: n
|
2566
|
+
});
|
2567
|
+
}
|
2568
|
+
function Dr(e) {
|
2569
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
2570
|
+
}
|
2571
|
+
function vt(e, t, r, n) {
|
2572
|
+
var i = Dr(n) ? n : r(n), a = t.get(i);
|
2573
|
+
return typeof a == "undefined" && (a = e.call(this, n), t.set(i, a)), a;
|
2574
|
+
}
|
2575
|
+
function _t(e, t, r) {
|
2576
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), a = t.get(i);
|
2577
|
+
return typeof a == "undefined" && (a = e.apply(this, n), t.set(i, a)), a;
|
2578
|
+
}
|
2579
|
+
function Oe(e, t, r, n, i) {
|
2580
|
+
return r.bind(t, e, n, i);
|
2581
|
+
}
|
2582
|
+
function Ur(e, t) {
|
2583
|
+
var r = e.length === 1 ? vt : _t;
|
2584
|
+
return Oe(e, this, r, t.cache.create(), t.serializer);
|
2585
|
+
}
|
2586
|
+
function Fr(e, t) {
|
2587
|
+
return Oe(e, this, _t, t.cache.create(), t.serializer);
|
2588
|
+
}
|
2589
|
+
function jr(e, t) {
|
2590
|
+
return Oe(e, this, vt, t.cache.create(), t.serializer);
|
2591
|
+
}
|
2592
|
+
var kr = function() {
|
2593
|
+
return JSON.stringify(arguments);
|
2594
|
+
};
|
2595
|
+
function Ie() {
|
2596
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
2597
|
+
}
|
2598
|
+
Ie.prototype.get = function(e) {
|
2599
|
+
return this.cache[e];
|
2600
|
+
};
|
2601
|
+
Ie.prototype.set = function(e, t) {
|
2602
|
+
this.cache[e] = t;
|
2603
|
+
};
|
2604
|
+
var Vr = {
|
2605
|
+
create: function() {
|
2606
|
+
return new Ie();
|
2607
|
+
}
|
2608
|
+
}, de = {
|
2609
|
+
variadic: Fr,
|
2610
|
+
monadic: jr
|
2611
|
+
}, j;
|
2612
|
+
(function(e) {
|
2613
|
+
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
2614
|
+
})(j || (j = {}));
|
2615
|
+
var fe = (
|
2616
|
+
/** @class */
|
2617
|
+
function(e) {
|
2618
|
+
he(t, e);
|
2619
|
+
function t(r, n, i) {
|
2620
|
+
var a = e.call(this, r) || this;
|
2621
|
+
return a.code = n, a.originalMessage = i, a;
|
2622
|
+
}
|
2623
|
+
return t.prototype.toString = function() {
|
2624
|
+
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
2625
|
+
}, t;
|
2626
|
+
}(Error)
|
2627
|
+
), Xe = (
|
2628
|
+
/** @class */
|
2629
|
+
function(e) {
|
2630
|
+
he(t, e);
|
2631
|
+
function t(r, n, i, a) {
|
2632
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, a) || this;
|
2633
|
+
}
|
2634
|
+
return t;
|
2635
|
+
}(fe)
|
2636
|
+
), Xr = (
|
2637
|
+
/** @class */
|
2638
|
+
function(e) {
|
2639
|
+
he(t, e);
|
2640
|
+
function t(r, n, i) {
|
2641
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
|
2642
|
+
}
|
2643
|
+
return t;
|
2644
|
+
}(fe)
|
2645
|
+
), zr = (
|
2646
|
+
/** @class */
|
2647
|
+
function(e) {
|
2648
|
+
he(t, e);
|
2649
|
+
function t(r, n) {
|
2650
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
|
2651
|
+
}
|
2652
|
+
return t;
|
2653
|
+
}(fe)
|
2654
|
+
), T;
|
2655
|
+
(function(e) {
|
2656
|
+
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
2657
|
+
})(T || (T = {}));
|
2658
|
+
function Wr(e) {
|
2659
|
+
return e.length < 2 ? e : e.reduce(function(t, r) {
|
2660
|
+
var n = t[t.length - 1];
|
2661
|
+
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
2662
|
+
}, []);
|
2663
|
+
}
|
2664
|
+
function Zr(e) {
|
2665
|
+
return typeof e == "function";
|
2666
|
+
}
|
2667
|
+
function ie(e, t, r, n, i, a, s) {
|
2668
|
+
if (e.length === 1 && Ge(e[0]))
|
2669
|
+
return [
|
2670
|
+
{
|
2671
|
+
type: T.literal,
|
2672
|
+
value: e[0].value
|
2673
|
+
}
|
2674
|
+
];
|
2675
|
+
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
2676
|
+
var h = u[l];
|
2677
|
+
if (Ge(h)) {
|
2678
|
+
o.push({
|
2679
|
+
type: T.literal,
|
2680
|
+
value: h.value
|
2681
|
+
});
|
2682
|
+
continue;
|
2683
|
+
}
|
2684
|
+
if (ur(h)) {
|
2685
|
+
typeof a == "number" && o.push({
|
2686
|
+
type: T.literal,
|
2687
|
+
value: r.getNumberFormat(t).format(a)
|
2688
|
+
});
|
2689
|
+
continue;
|
2690
|
+
}
|
2691
|
+
var f = h.value;
|
2692
|
+
if (!(i && f in i))
|
2693
|
+
throw new zr(f, s);
|
2694
|
+
var c = i[f];
|
2695
|
+
if (lr(h)) {
|
2696
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
|
2697
|
+
type: typeof c == "string" ? T.literal : T.object,
|
2698
|
+
value: c
|
2699
|
+
});
|
2700
|
+
continue;
|
2701
|
+
}
|
2702
|
+
if (st(h)) {
|
2703
|
+
var y = typeof h.style == "string" ? n.date[h.style] : _e(h.style) ? h.style.parsedOptions : void 0;
|
2704
|
+
o.push({
|
2705
|
+
type: T.literal,
|
2706
|
+
value: r.getDateTimeFormat(t, y).format(c)
|
2707
|
+
});
|
2708
|
+
continue;
|
2709
|
+
}
|
2710
|
+
if (lt(h)) {
|
2711
|
+
var y = typeof h.style == "string" ? n.time[h.style] : _e(h.style) ? h.style.parsedOptions : n.time.medium;
|
2712
|
+
o.push({
|
2713
|
+
type: T.literal,
|
2714
|
+
value: r.getDateTimeFormat(t, y).format(c)
|
2715
|
+
});
|
2716
|
+
continue;
|
2717
|
+
}
|
2718
|
+
if (ot(h)) {
|
2719
|
+
var y = typeof h.style == "string" ? n.number[h.style] : ct(h.style) ? h.style.parsedOptions : void 0;
|
2720
|
+
y && y.scale && (c = c * (y.scale || 1)), o.push({
|
2721
|
+
type: T.literal,
|
2722
|
+
value: r.getNumberFormat(t, y).format(c)
|
2723
|
+
});
|
2724
|
+
continue;
|
2725
|
+
}
|
2726
|
+
if (ft(h)) {
|
2727
|
+
var E = h.children, b = h.value, m = i[b];
|
2728
|
+
if (!Zr(m))
|
2729
|
+
throw new Xr(b, "function", s);
|
2730
|
+
var _ = ie(E, t, r, n, i, a), A = m(_.map(function(H) {
|
2731
|
+
return H.value;
|
2732
|
+
}));
|
2733
|
+
Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(H) {
|
2734
|
+
return {
|
2735
|
+
type: typeof H == "string" ? T.literal : T.object,
|
2736
|
+
value: H
|
2737
|
+
};
|
2738
|
+
}));
|
2739
|
+
}
|
2740
|
+
if (ut(h)) {
|
2741
|
+
var B = h.options[c] || h.options.other;
|
2742
|
+
if (!B)
|
2743
|
+
throw new Xe(h.value, c, Object.keys(h.options), s);
|
2744
|
+
o.push.apply(o, ie(B.value, t, r, n, i));
|
2745
|
+
continue;
|
2746
|
+
}
|
2747
|
+
if (ht(h)) {
|
2748
|
+
var B = h.options["=".concat(c)];
|
2749
|
+
if (!B) {
|
2750
|
+
if (!Intl.PluralRules)
|
2751
|
+
throw new fe(`Intl.PluralRules is not available in this environment.
|
2752
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
2753
|
+
`, j.MISSING_INTL_API, s);
|
2754
|
+
var p = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
2755
|
+
B = h.options[p] || h.options.other;
|
2756
|
+
}
|
2757
|
+
if (!B)
|
2758
|
+
throw new Xe(h.value, c, Object.keys(h.options), s);
|
2759
|
+
o.push.apply(o, ie(B.value, t, r, n, i, c - (h.offset || 0)));
|
2760
|
+
continue;
|
2761
|
+
}
|
2762
|
+
}
|
2763
|
+
return Wr(o);
|
2764
|
+
}
|
2765
|
+
function Jr(e, t) {
|
2766
|
+
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
2767
|
+
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
2768
|
+
}, {})) : e;
|
2769
|
+
}
|
2770
|
+
function Qr(e, t) {
|
2771
|
+
return t ? Object.keys(e).reduce(function(r, n) {
|
2772
|
+
return r[n] = Jr(e[n], t[n]), r;
|
2773
|
+
}, v({}, e)) : e;
|
2774
|
+
}
|
2775
|
+
function ye(e) {
|
2776
|
+
return {
|
2777
|
+
create: function() {
|
2778
|
+
return {
|
2779
|
+
get: function(t) {
|
2780
|
+
return e[t];
|
2781
|
+
},
|
2782
|
+
set: function(t, r) {
|
2783
|
+
e[t] = r;
|
2784
|
+
}
|
2785
|
+
};
|
2786
|
+
}
|
2787
|
+
};
|
2788
|
+
}
|
2789
|
+
function qr(e) {
|
2790
|
+
return e === void 0 && (e = {
|
2791
|
+
number: {},
|
2792
|
+
dateTime: {},
|
2793
|
+
pluralRules: {}
|
2794
|
+
}), {
|
2795
|
+
getNumberFormat: ge(function() {
|
2796
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
2797
|
+
r[n] = arguments[n];
|
2798
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], r, !1)))();
|
2799
|
+
}, {
|
2800
|
+
cache: ye(e.number),
|
2801
|
+
strategy: de.variadic
|
2802
|
+
}),
|
2803
|
+
getDateTimeFormat: ge(function() {
|
2804
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
2805
|
+
r[n] = arguments[n];
|
2806
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], r, !1)))();
|
2807
|
+
}, {
|
2808
|
+
cache: ye(e.dateTime),
|
2809
|
+
strategy: de.variadic
|
2810
|
+
}),
|
2811
|
+
getPluralRules: ge(function() {
|
2812
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
2813
|
+
r[n] = arguments[n];
|
2814
|
+
return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], r, !1)))();
|
2815
|
+
}, {
|
2816
|
+
cache: ye(e.pluralRules),
|
2817
|
+
strategy: de.variadic
|
2818
|
+
})
|
2819
|
+
};
|
2820
|
+
}
|
2821
|
+
var xt = (
|
2822
|
+
/** @class */
|
2823
|
+
function() {
|
2824
|
+
function e(t, r, n, i) {
|
2825
|
+
var a = this;
|
2826
|
+
if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
|
2827
|
+
number: {},
|
2828
|
+
dateTime: {},
|
2829
|
+
pluralRules: {}
|
2830
|
+
}, this.format = function(l) {
|
2831
|
+
var u = a.formatToParts(l);
|
2832
|
+
if (u.length === 1)
|
2833
|
+
return u[0].value;
|
2834
|
+
var h = u.reduce(function(f, c) {
|
2835
|
+
return !f.length || c.type !== T.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
2836
|
+
}, []);
|
2837
|
+
return h.length <= 1 ? h[0] || "" : h;
|
2838
|
+
}, this.formatToParts = function(l) {
|
2839
|
+
return ie(a.ast, a.locales, a.formatters, a.formats, l, void 0, a.message);
|
2840
|
+
}, this.resolvedOptions = function() {
|
2841
|
+
var l;
|
2842
|
+
return {
|
2843
|
+
locale: ((l = a.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(a.locales)[0]
|
2844
|
+
};
|
2845
|
+
}, this.getAst = function() {
|
2846
|
+
return a.ast;
|
2847
|
+
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
2848
|
+
if (this.message = t, !e.__parse)
|
2849
|
+
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
2850
|
+
var s = i || {};
|
2851
|
+
s.formatters;
|
2852
|
+
var o = sr(s, ["formatters"]);
|
2853
|
+
this.ast = e.__parse(t, v(v({}, o), { locale: this.resolvedLocale }));
|
2854
|
+
} else
|
2855
|
+
this.ast = t;
|
2856
|
+
if (!Array.isArray(this.ast))
|
2857
|
+
throw new TypeError("A message must be provided as a String or AST.");
|
2858
|
+
this.formats = Qr(e.formats, n), this.formatters = i && i.formatters || qr(this.formatterCache);
|
2859
|
+
}
|
2860
|
+
return Object.defineProperty(e, "defaultLocale", {
|
2861
|
+
get: function() {
|
2862
|
+
return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
|
2863
|
+
},
|
2864
|
+
enumerable: !1,
|
2865
|
+
configurable: !0
|
2866
|
+
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
2867
|
+
if (typeof Intl.Locale != "undefined") {
|
2868
|
+
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
2869
|
+
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
2870
|
+
}
|
2871
|
+
}, e.__parse = Gr, e.formats = {
|
2872
|
+
number: {
|
2873
|
+
integer: {
|
2874
|
+
maximumFractionDigits: 0
|
2875
|
+
},
|
2876
|
+
currency: {
|
2877
|
+
style: "currency"
|
2878
|
+
},
|
2879
|
+
percent: {
|
2880
|
+
style: "percent"
|
2881
|
+
}
|
2882
|
+
},
|
2883
|
+
date: {
|
2884
|
+
short: {
|
2885
|
+
month: "numeric",
|
2886
|
+
day: "numeric",
|
2887
|
+
year: "2-digit"
|
2888
|
+
},
|
2889
|
+
medium: {
|
2890
|
+
month: "short",
|
2891
|
+
day: "numeric",
|
2892
|
+
year: "numeric"
|
2893
|
+
},
|
2894
|
+
long: {
|
2895
|
+
month: "long",
|
2896
|
+
day: "numeric",
|
2897
|
+
year: "numeric"
|
2898
|
+
},
|
2899
|
+
full: {
|
2900
|
+
weekday: "long",
|
2901
|
+
month: "long",
|
2902
|
+
day: "numeric",
|
2903
|
+
year: "numeric"
|
2904
|
+
}
|
2905
|
+
},
|
2906
|
+
time: {
|
2907
|
+
short: {
|
2908
|
+
hour: "numeric",
|
2909
|
+
minute: "numeric"
|
2910
|
+
},
|
2911
|
+
medium: {
|
2912
|
+
hour: "numeric",
|
2913
|
+
minute: "numeric",
|
2914
|
+
second: "numeric"
|
2915
|
+
},
|
2916
|
+
long: {
|
2917
|
+
hour: "numeric",
|
2918
|
+
minute: "numeric",
|
2919
|
+
second: "numeric",
|
2920
|
+
timeZoneName: "short"
|
2921
|
+
},
|
2922
|
+
full: {
|
2923
|
+
hour: "numeric",
|
2924
|
+
minute: "numeric",
|
2925
|
+
second: "numeric",
|
2926
|
+
timeZoneName: "short"
|
2927
|
+
}
|
2928
|
+
}
|
2929
|
+
}, e;
|
2930
|
+
}()
|
2931
|
+
);
|
2932
|
+
function $r(e, t) {
|
2933
|
+
if (t == null)
|
2934
|
+
return;
|
2935
|
+
if (t in e)
|
2936
|
+
return e[t];
|
2937
|
+
const r = t.split(".");
|
2938
|
+
let n = e;
|
2939
|
+
for (let i = 0; i < r.length; i++)
|
2940
|
+
if (typeof n == "object") {
|
2941
|
+
if (i > 0) {
|
2942
|
+
const a = r.slice(i, r.length).join(".");
|
2943
|
+
if (a in n) {
|
2944
|
+
n = n[a];
|
2945
|
+
break;
|
2946
|
+
}
|
2947
|
+
}
|
2948
|
+
n = n[r[i]];
|
2949
|
+
} else
|
2950
|
+
n = void 0;
|
2951
|
+
return n;
|
2952
|
+
}
|
2953
|
+
const P = {}, Yr = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), Ht = (e, t) => {
|
2954
|
+
if (t == null)
|
2955
|
+
return;
|
2956
|
+
if (t in P && e in P[t])
|
2957
|
+
return P[t][e];
|
2958
|
+
const r = Y(t);
|
2959
|
+
for (let n = 0; n < r.length; n++) {
|
2960
|
+
const i = r[n], a = en(i, e);
|
2961
|
+
if (a)
|
2962
|
+
return Yr(e, t, a);
|
2963
|
+
}
|
2964
|
+
};
|
2965
|
+
let Ne;
|
2966
|
+
const $ = ue({});
|
2967
|
+
function Kr(e) {
|
2968
|
+
return Ne[e] || null;
|
2969
|
+
}
|
2970
|
+
function Tt(e) {
|
2971
|
+
return e in Ne;
|
2972
|
+
}
|
2973
|
+
function en(e, t) {
|
2974
|
+
if (!Tt(e))
|
2975
|
+
return null;
|
2976
|
+
const r = Kr(e);
|
2977
|
+
return $r(r, t);
|
2978
|
+
}
|
2979
|
+
function tn(e) {
|
2980
|
+
if (e == null)
|
2981
|
+
return;
|
2982
|
+
const t = Y(e);
|
2983
|
+
for (let r = 0; r < t.length; r++) {
|
2984
|
+
const n = t[r];
|
2985
|
+
if (Tt(n))
|
2986
|
+
return n;
|
2987
|
+
}
|
2988
|
+
}
|
2989
|
+
function Bt(e, ...t) {
|
2990
|
+
delete P[e], $.update((r) => (r[e] = or.all([r[e] || {}, ...t]), r));
|
2991
|
+
}
|
2992
|
+
X(
|
2993
|
+
[$],
|
2994
|
+
([e]) => Object.keys(e)
|
2995
|
+
);
|
2996
|
+
$.subscribe((e) => Ne = e);
|
2997
|
+
const ae = {};
|
2998
|
+
function rn(e, t) {
|
2999
|
+
ae[e].delete(t), ae[e].size === 0 && delete ae[e];
|
3000
|
+
}
|
3001
|
+
function St(e) {
|
3002
|
+
return ae[e];
|
3003
|
+
}
|
3004
|
+
function nn(e) {
|
3005
|
+
return Y(e).map((t) => {
|
3006
|
+
const r = St(t);
|
3007
|
+
return [t, r ? [...r] : []];
|
3008
|
+
}).filter(([, t]) => t.length > 0);
|
3009
|
+
}
|
3010
|
+
function oe(e) {
|
3011
|
+
return e == null ? !1 : Y(e).some(
|
3012
|
+
(t) => {
|
3013
|
+
var r;
|
3014
|
+
return (r = St(t)) == null ? void 0 : r.size;
|
3015
|
+
}
|
3016
|
+
);
|
3017
|
+
}
|
3018
|
+
function an(e, t) {
|
3019
|
+
return Promise.all(
|
3020
|
+
t.map((n) => (rn(e, n), n().then((i) => i.default || i)))
|
3021
|
+
).then((n) => Bt(e, ...n));
|
3022
|
+
}
|
3023
|
+
const W = {};
|
3024
|
+
function At(e) {
|
3025
|
+
if (!oe(e))
|
3026
|
+
return e in W ? W[e] : Promise.resolve();
|
3027
|
+
const t = nn(e);
|
3028
|
+
return W[e] = Promise.all(
|
3029
|
+
t.map(
|
3030
|
+
([r, n]) => an(r, n)
|
3031
|
+
)
|
3032
|
+
).then(() => {
|
3033
|
+
if (oe(e))
|
3034
|
+
return At(e);
|
3035
|
+
delete W[e];
|
3036
|
+
}), W[e];
|
3037
|
+
}
|
3038
|
+
var ze = Object.getOwnPropertySymbols, on = Object.prototype.hasOwnProperty, sn = Object.prototype.propertyIsEnumerable, ln = (e, t) => {
|
3039
|
+
var r = {};
|
3040
|
+
for (var n in e)
|
3041
|
+
on.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3042
|
+
if (e != null && ze)
|
3043
|
+
for (var n of ze(e))
|
3044
|
+
t.indexOf(n) < 0 && sn.call(e, n) && (r[n] = e[n]);
|
3045
|
+
return r;
|
3046
|
+
};
|
3047
|
+
const un = {
|
3048
|
+
number: {
|
3049
|
+
scientific: { notation: "scientific" },
|
3050
|
+
engineering: { notation: "engineering" },
|
3051
|
+
compactLong: { notation: "compact", compactDisplay: "long" },
|
3052
|
+
compactShort: { notation: "compact", compactDisplay: "short" }
|
3053
|
+
},
|
3054
|
+
date: {
|
3055
|
+
short: { month: "numeric", day: "numeric", year: "2-digit" },
|
3056
|
+
medium: { month: "short", day: "numeric", year: "numeric" },
|
3057
|
+
long: { month: "long", day: "numeric", year: "numeric" },
|
3058
|
+
full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }
|
3059
|
+
},
|
3060
|
+
time: {
|
3061
|
+
short: { hour: "numeric", minute: "numeric" },
|
3062
|
+
medium: { hour: "numeric", minute: "numeric", second: "numeric" },
|
3063
|
+
long: {
|
3064
|
+
hour: "numeric",
|
3065
|
+
minute: "numeric",
|
3066
|
+
second: "numeric",
|
3067
|
+
timeZoneName: "short"
|
3068
|
+
},
|
3069
|
+
full: {
|
3070
|
+
hour: "numeric",
|
3071
|
+
minute: "numeric",
|
3072
|
+
second: "numeric",
|
3073
|
+
timeZoneName: "short"
|
3074
|
+
}
|
3075
|
+
}
|
3076
|
+
};
|
3077
|
+
function hn({ locale: e, id: t }) {
|
3078
|
+
console.warn(
|
3079
|
+
`[svelte-i18n] The message "${t}" was not found in "${Y(
|
3080
|
+
e
|
3081
|
+
).join('", "')}".${oe(w()) ? `
|
3082
|
+
|
3083
|
+
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
3084
|
+
);
|
3085
|
+
}
|
3086
|
+
const fn = {
|
3087
|
+
fallbackLocale: null,
|
3088
|
+
loadingDelay: 200,
|
3089
|
+
formats: un,
|
3090
|
+
warnOnMissingMessages: !0,
|
3091
|
+
handleMissingMessage: void 0,
|
3092
|
+
ignoreTag: !0
|
3093
|
+
}, Z = fn;
|
3094
|
+
function k() {
|
3095
|
+
return Z;
|
3096
|
+
}
|
3097
|
+
function cn(e) {
|
3098
|
+
const t = e, { formats: r } = t, n = ln(t, ["formats"]);
|
3099
|
+
let i = e.fallbackLocale;
|
3100
|
+
if (e.initialLocale)
|
3101
|
+
try {
|
3102
|
+
xt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
3103
|
+
} catch (a) {
|
3104
|
+
console.warn(
|
3105
|
+
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
3106
|
+
);
|
3107
|
+
}
|
3108
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = hn : console.warn(
|
3109
|
+
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
3110
|
+
)), Object.assign(Z, n, { initialLocale: i }), r && ("number" in r && Object.assign(Z.formats.number, r.number), "date" in r && Object.assign(Z.formats.date, r.date), "time" in r && Object.assign(Z.formats.time, r.time)), L.set(i);
|
3111
|
+
}
|
3112
|
+
const Ee = ue(!1);
|
3113
|
+
var mn = Object.defineProperty, pn = Object.defineProperties, bn = Object.getOwnPropertyDescriptors, We = Object.getOwnPropertySymbols, gn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, Ze = (e, t, r) => t in e ? mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yn = (e, t) => {
|
3114
|
+
for (var r in t || (t = {}))
|
3115
|
+
gn.call(t, r) && Ze(e, r, t[r]);
|
3116
|
+
if (We)
|
3117
|
+
for (var r of We(t))
|
3118
|
+
dn.call(t, r) && Ze(e, r, t[r]);
|
3119
|
+
return e;
|
3120
|
+
}, En = (e, t) => pn(e, bn(t));
|
3121
|
+
let Ae;
|
3122
|
+
const se = ue(null);
|
3123
|
+
function Je(e) {
|
3124
|
+
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3125
|
+
}
|
3126
|
+
function Y(e, t = k().fallbackLocale) {
|
3127
|
+
const r = Je(e);
|
3128
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Je(t)])] : r;
|
3129
|
+
}
|
3130
|
+
function w() {
|
3131
|
+
return Ae != null ? Ae : void 0;
|
3132
|
+
}
|
3133
|
+
se.subscribe((e) => {
|
3134
|
+
Ae = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3135
|
+
});
|
3136
|
+
const vn = (e) => {
|
3137
|
+
if (e && tn(e) && oe(e)) {
|
3138
|
+
const { loadingDelay: t } = k();
|
3139
|
+
let r;
|
3140
|
+
return typeof window != "undefined" && w() != null && t ? r = window.setTimeout(
|
3141
|
+
() => Ee.set(!0),
|
3142
|
+
t
|
3143
|
+
) : Ee.set(!0), At(e).then(() => {
|
3144
|
+
se.set(e);
|
3145
|
+
}).finally(() => {
|
3146
|
+
clearTimeout(r), Ee.set(!1);
|
3147
|
+
});
|
3148
|
+
}
|
3149
|
+
return se.set(e);
|
3150
|
+
}, L = En(yn({}, se), {
|
3151
|
+
set: vn
|
3152
|
+
}), ce = (e) => {
|
3153
|
+
const t = /* @__PURE__ */ Object.create(null);
|
3154
|
+
return (n) => {
|
3155
|
+
const i = JSON.stringify(n);
|
3156
|
+
return i in t ? t[i] : t[i] = e(n);
|
3157
|
+
};
|
3158
|
+
};
|
3159
|
+
var _n = Object.defineProperty, le = Object.getOwnPropertySymbols, Pt = Object.prototype.hasOwnProperty, wt = Object.prototype.propertyIsEnumerable, Qe = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ce = (e, t) => {
|
3160
|
+
for (var r in t || (t = {}))
|
3161
|
+
Pt.call(t, r) && Qe(e, r, t[r]);
|
3162
|
+
if (le)
|
3163
|
+
for (var r of le(t))
|
3164
|
+
wt.call(t, r) && Qe(e, r, t[r]);
|
3165
|
+
return e;
|
3166
|
+
}, z = (e, t) => {
|
3167
|
+
var r = {};
|
3168
|
+
for (var n in e)
|
3169
|
+
Pt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3170
|
+
if (e != null && le)
|
3171
|
+
for (var n of le(e))
|
3172
|
+
t.indexOf(n) < 0 && wt.call(e, n) && (r[n] = e[n]);
|
3173
|
+
return r;
|
3174
|
+
};
|
3175
|
+
const q = (e, t) => {
|
3176
|
+
const { formats: r } = k();
|
3177
|
+
if (e in r && t in r[e])
|
3178
|
+
return r[e][t];
|
3179
|
+
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3180
|
+
}, xn = ce(
|
3181
|
+
(e) => {
|
3182
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
3183
|
+
if (r == null)
|
3184
|
+
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3185
|
+
return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
|
3186
|
+
}
|
3187
|
+
), Hn = ce(
|
3188
|
+
(e) => {
|
3189
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
3190
|
+
if (r == null)
|
3191
|
+
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3192
|
+
return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
|
3193
|
+
}
|
3194
|
+
), Tn = ce(
|
3195
|
+
(e) => {
|
3196
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
3197
|
+
if (r == null)
|
3198
|
+
throw new Error(
|
3199
|
+
'[svelte-i18n] A "locale" must be set to format time values'
|
3200
|
+
);
|
3201
|
+
return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
|
3202
|
+
}
|
3203
|
+
), Bn = (e = {}) => {
|
3204
|
+
var t = e, {
|
3205
|
+
locale: r = w()
|
3206
|
+
} = t, n = z(t, [
|
3207
|
+
"locale"
|
3208
|
+
]);
|
3209
|
+
return xn(Ce({ locale: r }, n));
|
3210
|
+
}, Sn = (e = {}) => {
|
3211
|
+
var t = e, {
|
3212
|
+
locale: r = w()
|
3213
|
+
} = t, n = z(t, [
|
3214
|
+
"locale"
|
3215
|
+
]);
|
3216
|
+
return Hn(Ce({ locale: r }, n));
|
3217
|
+
}, An = (e = {}) => {
|
3218
|
+
var t = e, {
|
3219
|
+
locale: r = w()
|
3220
|
+
} = t, n = z(t, [
|
3221
|
+
"locale"
|
3222
|
+
]);
|
3223
|
+
return Tn(Ce({ locale: r }, n));
|
3224
|
+
}, Pn = ce(
|
3225
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3226
|
+
(e, t = w()) => new xt(e, t, k().formats, {
|
3227
|
+
ignoreTag: k().ignoreTag
|
3228
|
+
})
|
3229
|
+
), wn = (e, t = {}) => {
|
3230
|
+
var r, n, i, a;
|
3231
|
+
let s = t;
|
3232
|
+
typeof e == "object" && (s = e, e = s.id);
|
3233
|
+
const {
|
3234
|
+
values: o,
|
3235
|
+
locale: l = w(),
|
3236
|
+
default: u
|
3237
|
+
} = s;
|
3238
|
+
if (l == null)
|
3239
|
+
throw new Error(
|
3240
|
+
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3241
|
+
);
|
3242
|
+
let h = Ht(e, l);
|
3243
|
+
if (!h)
|
3244
|
+
h = (a = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? a : e;
|
3245
|
+
else if (typeof h != "string")
|
3246
|
+
return console.warn(
|
3247
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
3248
|
+
), h;
|
3249
|
+
if (!o)
|
3250
|
+
return h;
|
3251
|
+
let f = h;
|
3252
|
+
try {
|
3253
|
+
f = Pn(h, l).format(o);
|
3254
|
+
} catch (c) {
|
3255
|
+
c instanceof Error && console.warn(
|
3256
|
+
`[svelte-i18n] Message "${e}" has syntax error:`,
|
3257
|
+
c.message
|
3258
|
+
);
|
3259
|
+
}
|
3260
|
+
return f;
|
3261
|
+
}, On = (e, t) => An(t).format(e), In = (e, t) => Sn(t).format(e), Nn = (e, t) => Bn(t).format(e), Cn = (e, t = w()) => Ht(e, t), Ln = X([L, $], () => wn);
|
3262
|
+
X([L], () => On);
|
3263
|
+
X([L], () => In);
|
3264
|
+
X([L], () => Nn);
|
3265
|
+
X([L, $], () => Cn);
|
3266
|
+
cn({
|
3267
|
+
fallbackLocale: "en"
|
3268
|
+
});
|
3269
|
+
function qe(e, t) {
|
3270
|
+
Bt(e, t);
|
3271
|
+
}
|
3272
|
+
function Mn(e) {
|
3273
|
+
L.set(e);
|
3274
|
+
}
|
3275
|
+
const $e = {
|
3276
|
+
en: {
|
3277
|
+
errorGeneralTitle: "Error Occurred",
|
3278
|
+
errorGeneralText: "Something went wrong",
|
3279
|
+
errorGeneralButton: "CLOSE",
|
3280
|
+
PlayerSessionIsNotValid: "Player session is not valid",
|
3281
|
+
VendorCommunicationError: "We apologise, but your payment provider has declined to process due to technical error. Please try later or contact your payment solution provider for further assistance. Error Code 21297",
|
3282
|
+
PaymentMethodNotAllowed: "We apologise, but this payment method is unavailable at this time, please contact Customer Support for further assistance. Error Code 11402",
|
3283
|
+
InvalidPaymentDetails: "We apologise, but you payment details are not valid. Please make sure you entered all payment details correctly and try again or contact Customer Support for further assistance. Error Code 13555",
|
3284
|
+
MerchantUserHasWithdrawBlockRole: "Dear Player! Please be informed that currently you are not allowed to initiate withdrawal transactions from your player account. Error Code: 21122",
|
3285
|
+
MerchantUserHasDepositBlockRole: "Dear Player! Please be informed that currently you are not allowed to initiate deposit transactions from your player account. Error Code: 21123",
|
3286
|
+
JwtTokenError: "IDX12741: JWT must have three segments (JWS) or five segments (JWE)."
|
3287
|
+
},
|
3288
|
+
tr: {
|
3289
|
+
errorGeneralTitle: "Hata oluştu",
|
3290
|
+
errorGeneralText: "Something went wrong",
|
3291
|
+
errorGeneralButton: "KAPALI",
|
3292
|
+
PlayerSessionIsNotValid: "Player session is not valid",
|
3293
|
+
VendorCommunicationError: "Özür dileriz, ancak ödeme sağlayıcınız teknik hata nedeniyle işlemi yapmayı reddetti. Lütfen daha sonra deneyin veya daha fazla yardım için ödeme çözümü sağlayıcınızla iletişime geçin. Hata Kodu 21297",
|
3294
|
+
PaymentMethodNotAllowed: "Özür dileriz, ancak bu ödeme yöntemi şu anda kullanılamıyor. Daha fazla yardım için lütfen Müşteri Desteğiyle iletişime geçin. Hata Kodu 11402",
|
3295
|
+
InvalidPaymentDetails: "Özür dileriz, ancak ödeme bilgileriniz geçerli değil. Lütfen tüm ödeme ayrıntılarını doğru girdiğinizden emin olun ve tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 13555",
|
3296
|
+
MerchantUserHasWithdrawBlockRole: "Dear Player! Please be informed that currently you are not allowed to initiate withdrawal transactions from your player account. Error Code: 21122",
|
3297
|
+
MerchantUserHasDepositBlockRole: "Dear Player! Please be informed that currently you are not allowed to initiate deposit transactions from your player account. Error Code: 21123",
|
3298
|
+
JwtTokenError: "IDX12741: JWT must have three segments (JWS) or five segments (JWE)."
|
3299
|
+
}
|
3300
|
+
};
|
3301
|
+
function Rn(e) {
|
3302
|
+
Gt(e, "svelte-1tjgw5y", ".CashierError.svelte-1tjgw5y{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierErrorTitle.svelte-1tjgw5y{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-x-small, 12px);line-height:120%;text-align:center}.CashierErrorText.svelte-1tjgw5y{color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px);line-height:120%;text-align:center}.CashierErrorButton.svelte-1tjgw5y{display:flex;width:100%;height:36px;flex-direction:column;justify-content:center;flex-shrink:0;color:var(--emw--color-white, #FFF);cursor:pointer;text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton.svelte-1tjgw5y:hover{background:var(--mmw--color-main-button-hover, #71B11B)}.CashierErrorButton.svelte-1tjgw5y:active{background:var(--mmw--color-main-button-active, #5C950F)}");
|
3303
|
+
}
|
3304
|
+
const Gn = (e) => ({}), Ye = (e) => ({}), Dn = (e) => ({}), Ke = (e) => ({ class: "CashierErrorText svelte-1tjgw5y" }), Un = (e) => ({}), et = (e) => ({
|
3305
|
+
class: "CashierErrorTitle svelte-1tjgw5y"
|
3306
|
+
}), Fn = (e) => ({}), tt = (e) => ({ class: "CashierErrorIcon" });
|
3307
|
+
function rt(e) {
|
3308
|
+
let t, r;
|
3309
|
+
return {
|
3310
|
+
c() {
|
3311
|
+
t = V("img"), Me(t.src, r = `${/*assetsurl*/
|
3312
|
+
e[0]}/error-general-icon.png`) || G(t, "src", r), G(t, "width", "300px"), G(t, "alt", "error");
|
3313
|
+
},
|
3314
|
+
m(n, i) {
|
3315
|
+
N(n, t, i);
|
3316
|
+
},
|
3317
|
+
p(n, i) {
|
3318
|
+
i & /*assetsurl*/
|
3319
|
+
1 && !Me(t.src, r = `${/*assetsurl*/
|
3320
|
+
n[0]}/error-general-icon.png`) && G(t, "src", r);
|
3321
|
+
},
|
3322
|
+
d(n) {
|
3323
|
+
n && C(t);
|
3324
|
+
}
|
3325
|
+
};
|
3326
|
+
}
|
3327
|
+
function jn(e) {
|
3328
|
+
let t, r = (
|
3329
|
+
/*assetsurl*/
|
3330
|
+
e[0] && rt(e)
|
3331
|
+
);
|
3332
|
+
return {
|
3333
|
+
c() {
|
3334
|
+
r && r.c(), t = Ft();
|
3335
|
+
},
|
3336
|
+
m(n, i) {
|
3337
|
+
r && r.m(n, i), N(n, t, i);
|
3338
|
+
},
|
3339
|
+
p(n, i) {
|
3340
|
+
/*assetsurl*/
|
3341
|
+
n[0] ? r ? r.p(n, i) : (r = rt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
3342
|
+
},
|
3343
|
+
d(n) {
|
3344
|
+
n && C(t), r && r.d(n);
|
3345
|
+
}
|
3346
|
+
};
|
3347
|
+
}
|
3348
|
+
function kn(e) {
|
3349
|
+
let t, r = (
|
3350
|
+
/*$_*/
|
3351
|
+
e[4]("errorGeneralTitle") + ""
|
3352
|
+
), n;
|
3353
|
+
return {
|
3354
|
+
c() {
|
3355
|
+
t = V("span"), n = Pe(r);
|
3356
|
+
},
|
3357
|
+
m(i, a) {
|
3358
|
+
N(i, t, a), D(t, n);
|
3359
|
+
},
|
3360
|
+
p(i, a) {
|
3361
|
+
a & /*$_*/
|
3362
|
+
16 && r !== (r = /*$_*/
|
3363
|
+
i[4]("errorGeneralTitle") + "") && we(n, r);
|
3364
|
+
},
|
3365
|
+
d(i) {
|
3366
|
+
i && C(t);
|
3367
|
+
}
|
3368
|
+
};
|
3369
|
+
}
|
3370
|
+
function Vn(e) {
|
3371
|
+
let t, r = (
|
3372
|
+
/*$_*/
|
3373
|
+
e[4](`${/*errorcode*/
|
3374
|
+
e[2] || "errorGeneralText"}`) + ""
|
3375
|
+
), n;
|
3376
|
+
return {
|
3377
|
+
c() {
|
3378
|
+
t = V("span"), n = Pe(r);
|
3379
|
+
},
|
3380
|
+
m(i, a) {
|
3381
|
+
N(i, t, a), D(t, n);
|
3382
|
+
},
|
3383
|
+
p(i, a) {
|
3384
|
+
a & /*$_, errorcode*/
|
3385
|
+
20 && r !== (r = /*$_*/
|
3386
|
+
i[4](`${/*errorcode*/
|
3387
|
+
i[2] || "errorGeneralText"}`) + "") && we(n, r);
|
3388
|
+
},
|
3389
|
+
d(i) {
|
3390
|
+
i && C(t);
|
3391
|
+
}
|
3392
|
+
};
|
3393
|
+
}
|
3394
|
+
function nt(e) {
|
3395
|
+
let t, r, n, i;
|
3396
|
+
const a = (
|
3397
|
+
/*#slots*/
|
3398
|
+
e[11].button
|
3399
|
+
), s = ee(
|
3400
|
+
a,
|
3401
|
+
e,
|
3402
|
+
/*$$scope*/
|
3403
|
+
e[10],
|
3404
|
+
Ye
|
3405
|
+
), o = s || Xn(e);
|
3406
|
+
return {
|
3407
|
+
c() {
|
3408
|
+
t = V("div"), o && o.c(), G(t, "class", "CashierErrorButton svelte-1tjgw5y");
|
3409
|
+
},
|
3410
|
+
m(l, u) {
|
3411
|
+
N(l, t, u), o && o.m(t, null), r = !0, n || (i = jt(
|
3412
|
+
t,
|
3413
|
+
"click",
|
3414
|
+
/*close*/
|
3415
|
+
e[5]
|
3416
|
+
), n = !0);
|
3417
|
+
},
|
3418
|
+
p(l, u) {
|
3419
|
+
s ? s.p && (!r || u & /*$$scope*/
|
3420
|
+
1024) && te(
|
3421
|
+
s,
|
3422
|
+
a,
|
3423
|
+
l,
|
3424
|
+
/*$$scope*/
|
3425
|
+
l[10],
|
3426
|
+
r ? ne(
|
3427
|
+
a,
|
3428
|
+
/*$$scope*/
|
3429
|
+
l[10],
|
3430
|
+
u,
|
3431
|
+
Gn
|
3432
|
+
) : re(
|
3433
|
+
/*$$scope*/
|
3434
|
+
l[10]
|
3435
|
+
),
|
3436
|
+
Ye
|
3437
|
+
) : o && o.p && (!r || u & /*$_*/
|
3438
|
+
16) && o.p(l, r ? u : -1);
|
3439
|
+
},
|
3440
|
+
i(l) {
|
3441
|
+
r || (I(o, l), r = !0);
|
3442
|
+
},
|
3443
|
+
o(l) {
|
3444
|
+
R(o, l), r = !1;
|
3445
|
+
},
|
3446
|
+
d(l) {
|
3447
|
+
l && C(t), o && o.d(l), n = !1, i();
|
3448
|
+
}
|
3449
|
+
};
|
3450
|
+
}
|
3451
|
+
function Xn(e) {
|
3452
|
+
let t, r = (
|
3453
|
+
/*$_*/
|
3454
|
+
e[4]("errorGeneralButton") + ""
|
3455
|
+
), n;
|
3456
|
+
return {
|
3457
|
+
c() {
|
3458
|
+
t = V("span"), n = Pe(r);
|
3459
|
+
},
|
3460
|
+
m(i, a) {
|
3461
|
+
N(i, t, a), D(t, n);
|
3462
|
+
},
|
3463
|
+
p(i, a) {
|
3464
|
+
a & /*$_*/
|
3465
|
+
16 && r !== (r = /*$_*/
|
3466
|
+
i[4]("errorGeneralButton") + "") && we(n, r);
|
3467
|
+
},
|
3468
|
+
d(i) {
|
3469
|
+
i && C(t);
|
3470
|
+
}
|
3471
|
+
};
|
3472
|
+
}
|
3473
|
+
function zn(e) {
|
3474
|
+
let t, r, n, i, a;
|
3475
|
+
const s = (
|
3476
|
+
/*#slots*/
|
3477
|
+
e[11].icon
|
3478
|
+
), o = ee(
|
3479
|
+
s,
|
3480
|
+
e,
|
3481
|
+
/*$$scope*/
|
3482
|
+
e[10],
|
3483
|
+
tt
|
3484
|
+
), l = o || jn(e), u = (
|
3485
|
+
/*#slots*/
|
3486
|
+
e[11].title
|
3487
|
+
), h = ee(
|
3488
|
+
u,
|
3489
|
+
e,
|
3490
|
+
/*$$scope*/
|
3491
|
+
e[10],
|
3492
|
+
et
|
3493
|
+
), f = h || kn(e), c = (
|
3494
|
+
/*#slots*/
|
3495
|
+
e[11].text
|
3496
|
+
), y = ee(
|
3497
|
+
c,
|
3498
|
+
e,
|
3499
|
+
/*$$scope*/
|
3500
|
+
e[10],
|
3501
|
+
Ke
|
3502
|
+
), E = y || Vn(e);
|
3503
|
+
let b = (!/*hidebuttons*/
|
3504
|
+
e[1] || /*hidebuttons*/
|
3505
|
+
e[1] === "false") && nt(e);
|
3506
|
+
return {
|
3507
|
+
c() {
|
3508
|
+
t = V("div"), l && l.c(), r = me(), f && f.c(), n = me(), E && E.c(), i = me(), b && b.c(), G(t, "class", "CashierError svelte-1tjgw5y");
|
3509
|
+
},
|
3510
|
+
m(m, _) {
|
3511
|
+
N(m, t, _), l && l.m(t, null), D(t, r), f && f.m(t, null), D(t, n), E && E.m(t, null), D(t, i), b && b.m(t, null), e[12](t), a = !0;
|
3512
|
+
},
|
3513
|
+
p(m, [_]) {
|
3514
|
+
o ? o.p && (!a || _ & /*$$scope*/
|
3515
|
+
1024) && te(
|
3516
|
+
o,
|
3517
|
+
s,
|
3518
|
+
m,
|
3519
|
+
/*$$scope*/
|
3520
|
+
m[10],
|
3521
|
+
a ? ne(
|
3522
|
+
s,
|
3523
|
+
/*$$scope*/
|
3524
|
+
m[10],
|
3525
|
+
_,
|
3526
|
+
Fn
|
3527
|
+
) : re(
|
3528
|
+
/*$$scope*/
|
3529
|
+
m[10]
|
3530
|
+
),
|
3531
|
+
tt
|
3532
|
+
) : l && l.p && (!a || _ & /*assetsurl*/
|
3533
|
+
1) && l.p(m, a ? _ : -1), h ? h.p && (!a || _ & /*$$scope*/
|
3534
|
+
1024) && te(
|
3535
|
+
h,
|
3536
|
+
u,
|
3537
|
+
m,
|
3538
|
+
/*$$scope*/
|
3539
|
+
m[10],
|
3540
|
+
a ? ne(
|
3541
|
+
u,
|
3542
|
+
/*$$scope*/
|
3543
|
+
m[10],
|
3544
|
+
_,
|
3545
|
+
Un
|
3546
|
+
) : re(
|
3547
|
+
/*$$scope*/
|
3548
|
+
m[10]
|
3549
|
+
),
|
3550
|
+
et
|
3551
|
+
) : f && f.p && (!a || _ & /*$_*/
|
3552
|
+
16) && f.p(m, a ? _ : -1), y ? y.p && (!a || _ & /*$$scope*/
|
3553
|
+
1024) && te(
|
3554
|
+
y,
|
3555
|
+
c,
|
3556
|
+
m,
|
3557
|
+
/*$$scope*/
|
3558
|
+
m[10],
|
3559
|
+
a ? ne(
|
3560
|
+
c,
|
3561
|
+
/*$$scope*/
|
3562
|
+
m[10],
|
3563
|
+
_,
|
3564
|
+
Dn
|
3565
|
+
) : re(
|
3566
|
+
/*$$scope*/
|
3567
|
+
m[10]
|
3568
|
+
),
|
3569
|
+
Ke
|
3570
|
+
) : E && E.p && (!a || _ & /*$_, errorcode*/
|
3571
|
+
20) && E.p(m, a ? _ : -1), !/*hidebuttons*/
|
3572
|
+
m[1] || /*hidebuttons*/
|
3573
|
+
m[1] === "false" ? b ? (b.p(m, _), _ & /*hidebuttons*/
|
3574
|
+
2 && I(b, 1)) : (b = nt(m), b.c(), I(b, 1), b.m(t, null)) : b && (kt(), R(b, 1, 1, () => {
|
3575
|
+
b = null;
|
3576
|
+
}), Dt());
|
3577
|
+
},
|
3578
|
+
i(m) {
|
3579
|
+
a || (I(l, m), I(f, m), I(E, m), I(b), a = !0);
|
3580
|
+
},
|
3581
|
+
o(m) {
|
3582
|
+
R(l, m), R(f, m), R(E, m), R(b), a = !1;
|
3583
|
+
},
|
3584
|
+
d(m) {
|
3585
|
+
m && C(t), l && l.d(m), f && f.d(m), E && E.d(m), b && b.d(), e[12](null);
|
3586
|
+
}
|
3587
|
+
};
|
3588
|
+
}
|
3589
|
+
function Wn(e, t, r) {
|
3590
|
+
let n;
|
3591
|
+
Ut(e, Ln, (p) => r(4, n = p));
|
3592
|
+
let { $$slots: i = {}, $$scope: a } = t, { assetsurl: s = "" } = t, { lang: o = "en" } = t, { hidebuttons: l = "" } = t, { errorcode: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: c = "" } = t, y;
|
3593
|
+
const E = () => {
|
3594
|
+
fetch(c).then((H) => H.json()).then((H) => {
|
3595
|
+
Object.keys(H).forEach((S) => {
|
3596
|
+
qe(S, H[S]);
|
3597
|
+
});
|
3598
|
+
}).catch((H) => {
|
3599
|
+
console.log(H);
|
3600
|
+
});
|
3601
|
+
};
|
3602
|
+
Object.keys($e).forEach((p) => {
|
3603
|
+
qe(p, $e[p]);
|
3604
|
+
});
|
3605
|
+
const b = () => {
|
3606
|
+
Mn(o);
|
3607
|
+
}, m = () => {
|
3608
|
+
let p = document.createElement("style");
|
3609
|
+
p.innerHTML = h, y.appendChild(p);
|
3610
|
+
}, _ = () => {
|
3611
|
+
let p = new URL(f), H = document.createElement("style");
|
3612
|
+
fetch(p.href).then((S) => S.text()).then((S) => {
|
3613
|
+
H.innerHTML = S, setTimeout(
|
3614
|
+
() => {
|
3615
|
+
y.appendChild(H);
|
3616
|
+
},
|
3617
|
+
1
|
3618
|
+
);
|
3619
|
+
});
|
3620
|
+
}, A = () => {
|
3621
|
+
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
3622
|
+
};
|
3623
|
+
function B(p) {
|
3624
|
+
Vt[p ? "unshift" : "push"](() => {
|
3625
|
+
y = p, r(3, y);
|
3626
|
+
});
|
3627
|
+
}
|
3628
|
+
return e.$$set = (p) => {
|
3629
|
+
"assetsurl" in p && r(0, s = p.assetsurl), "lang" in p && r(6, o = p.lang), "hidebuttons" in p && r(1, l = p.hidebuttons), "errorcode" in p && r(2, u = p.errorcode), "clientstyling" in p && r(7, h = p.clientstyling), "clientstylingurl" in p && r(8, f = p.clientstylingurl), "translationurl" in p && r(9, c = p.translationurl), "$$scope" in p && r(10, a = p.$$scope);
|
3630
|
+
}, e.$$.update = () => {
|
3631
|
+
e.$$.dirty & /*lang*/
|
3632
|
+
64 && o && b(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
3633
|
+
136 && h && y && m(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
3634
|
+
264 && f && y && _(), e.$$.dirty & /*translationurl*/
|
3635
|
+
512 && c && E();
|
3636
|
+
}, [
|
3637
|
+
s,
|
3638
|
+
l,
|
3639
|
+
u,
|
3640
|
+
y,
|
3641
|
+
n,
|
3642
|
+
A,
|
3643
|
+
o,
|
3644
|
+
h,
|
3645
|
+
f,
|
3646
|
+
c,
|
3647
|
+
a,
|
3648
|
+
i,
|
3649
|
+
B
|
3650
|
+
];
|
3651
|
+
}
|
3652
|
+
class Ot extends Lt {
|
3653
|
+
constructor(t) {
|
3654
|
+
super(), Mt(
|
3655
|
+
this,
|
3656
|
+
t,
|
3657
|
+
Wn,
|
3658
|
+
zn,
|
3659
|
+
it,
|
3660
|
+
{
|
3661
|
+
assetsurl: 0,
|
3662
|
+
lang: 6,
|
3663
|
+
hidebuttons: 1,
|
3664
|
+
errorcode: 2,
|
3665
|
+
clientstyling: 7,
|
3666
|
+
clientstylingurl: 8,
|
3667
|
+
translationurl: 9
|
3668
|
+
},
|
3669
|
+
Rn
|
3670
|
+
);
|
3671
|
+
}
|
3672
|
+
get assetsurl() {
|
3673
|
+
return this.$$.ctx[0];
|
3674
|
+
}
|
3675
|
+
set assetsurl(t) {
|
3676
|
+
this.$$set({ assetsurl: t }), O();
|
3677
|
+
}
|
3678
|
+
get lang() {
|
3679
|
+
return this.$$.ctx[6];
|
3680
|
+
}
|
3681
|
+
set lang(t) {
|
3682
|
+
this.$$set({ lang: t }), O();
|
3683
|
+
}
|
3684
|
+
get hidebuttons() {
|
3685
|
+
return this.$$.ctx[1];
|
3686
|
+
}
|
3687
|
+
set hidebuttons(t) {
|
3688
|
+
this.$$set({ hidebuttons: t }), O();
|
3689
|
+
}
|
3690
|
+
get errorcode() {
|
3691
|
+
return this.$$.ctx[2];
|
3692
|
+
}
|
3693
|
+
set errorcode(t) {
|
3694
|
+
this.$$set({ errorcode: t }), O();
|
3695
|
+
}
|
3696
|
+
get clientstyling() {
|
3697
|
+
return this.$$.ctx[7];
|
3698
|
+
}
|
3699
|
+
set clientstyling(t) {
|
3700
|
+
this.$$set({ clientstyling: t }), O();
|
3701
|
+
}
|
3702
|
+
get clientstylingurl() {
|
3703
|
+
return this.$$.ctx[8];
|
3704
|
+
}
|
3705
|
+
set clientstylingurl(t) {
|
3706
|
+
this.$$set({ clientstylingurl: t }), O();
|
3707
|
+
}
|
3708
|
+
get translationurl() {
|
3709
|
+
return this.$$.ctx[9];
|
3710
|
+
}
|
3711
|
+
set translationurl(t) {
|
3712
|
+
this.$$set({ translationurl: t }), O();
|
3713
|
+
}
|
3714
|
+
}
|
3715
|
+
Rt(Ot, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["icon", "title", "text", "button"], [], !0);
|
3716
|
+
const Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
3717
|
+
__proto__: null,
|
3718
|
+
default: Ot
|
3719
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
3720
|
+
export {
|
3721
|
+
L as $,
|
3722
|
+
Qn as C,
|
3723
|
+
Bt as a,
|
3724
|
+
Ln as b,
|
3725
|
+
Jn as c,
|
3726
|
+
zt as g,
|
3727
|
+
cn as i
|
3728
|
+
};
|