@everymatrix/cashier-method-details 1.87.26 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/components/CashierError-BpmuBmVP.cjs +1 -0
  2. package/components/CashierError-Mvxqp2ap.js +450 -0
  3. package/components/CashierError-O5ic9U7e.js +450 -0
  4. package/components/CashierMethodDetails-BBNnxVjz.cjs +107 -0
  5. package/components/CashierMethodDetails-CUEnJ8gY.js +15473 -0
  6. package/components/CashierMethodDetails-f1gSK7cf.js +15420 -0
  7. package/components/{CashierModal-BzNDQkzs.js → CashierModal-D6FPktz0.js} +129 -129
  8. package/components/{CashierModal-BMHnCII1.js → CashierModal-Dnp3eUbg.js} +145 -145
  9. package/components/CashierModal-laFwE1w3.cjs +1 -0
  10. package/components/{CashierNotifications-De7de8Hg.js → CashierNotifications-2GtjS3B9.js} +28 -28
  11. package/components/CashierNotifications-DCLdvxaG.cjs +1 -0
  12. package/components/{CashierNotifications-BxRuN6EX.js → CashierNotifications-DVdiX6d3.js} +28 -28
  13. package/components/{CashierReceiptPage-CIxG9Oev.js → CashierReceiptPage-Bz1JaXZG.js} +496 -497
  14. package/components/{CashierReceiptPage-BN4ghEfB.cjs → CashierReceiptPage-DHiSQNvk.cjs} +2 -2
  15. package/components/{CashierReceiptPage-FCPBrZm8.js → CashierReceiptPage-ThnfKN3f.js} +496 -497
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CashierError-CGK1vujl.js +0 -4648
  21. package/components/CashierError-D6xl461v.cjs +0 -8
  22. package/components/CashierError-wi6a-II9.js +0 -4611
  23. package/components/CashierMethodDetails-CqrJLR8u.js +0 -11248
  24. package/components/CashierMethodDetails-D-fBBTyE.js +0 -11291
  25. package/components/CashierMethodDetails-tC7hUGh_.cjs +0 -100
  26. package/components/CashierModal-BAyFcb0s.cjs +0 -1
  27. package/components/CashierNotifications-BxbVuW3E.cjs +0 -1
@@ -1,4611 +0,0 @@
1
- import "../stencil/ui-image-Ch-GHki1.js";
2
- function A() {
3
- }
4
- const Mt = (e) => e;
5
- function xr(e, t) {
6
- for (const r in t)
7
- e[r] = t[r];
8
- return (
9
- /** @type {T & S} */
10
- e
11
- );
12
- }
13
- function Nt(e) {
14
- return e();
15
- }
16
- function ht() {
17
- return /* @__PURE__ */ Object.create(null);
18
- }
19
- function k(e) {
20
- e.forEach(Nt);
21
- }
22
- function he(e) {
23
- return typeof e == "function";
24
- }
25
- function $t(e, t) {
26
- return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
27
- }
28
- let de;
29
- function ct(e, t) {
30
- return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
31
- }
32
- function wr(e) {
33
- return Object.keys(e).length === 0;
34
- }
35
- function st(e, ...t) {
36
- if (e == null) {
37
- for (const n of t)
38
- n(void 0);
39
- return A;
40
- }
41
- const r = e.subscribe(...t);
42
- return r.unsubscribe ? () => r.unsubscribe() : r;
43
- }
44
- function Ki(e) {
45
- let t;
46
- return st(e, (r) => t = r)(), t;
47
- }
48
- function Tr(e, t, r) {
49
- e.$$.on_destroy.push(st(t, r));
50
- }
51
- function pe(e, t, r, n) {
52
- if (e) {
53
- const i = Rt(e, t, r, n);
54
- return e[0](i);
55
- }
56
- }
57
- function Rt(e, t, r, n) {
58
- return e[1] && n ? xr(r.ctx.slice(), e[1](n(t))) : r.ctx;
59
- }
60
- function ge(e, t, r, n) {
61
- if (e[2] && n) {
62
- const i = e[2](n(r));
63
- if (t.dirty === void 0)
64
- return i;
65
- if (typeof i == "object") {
66
- const s = [], o = Math.max(t.dirty.length, i.length);
67
- for (let a = 0; a < o; a += 1)
68
- s[a] = t.dirty[a] | i[a];
69
- return s;
70
- }
71
- return t.dirty | i;
72
- }
73
- return t.dirty;
74
- }
75
- function be(e, t, r, n, i, s) {
76
- if (i) {
77
- const o = Rt(t, r, n, s);
78
- e.p(o, i);
79
- }
80
- }
81
- function ye(e) {
82
- if (e.ctx.length > 32) {
83
- const t = [], r = e.ctx.length / 32;
84
- for (let n = 0; n < r; n++)
85
- t[n] = -1;
86
- return t;
87
- }
88
- return -1;
89
- }
90
- const Dt = typeof window < "u";
91
- let kt = Dt ? () => window.performance.now() : () => Date.now(), ot = Dt ? (e) => requestAnimationFrame(e) : A;
92
- const X = /* @__PURE__ */ new Set();
93
- function Ut(e) {
94
- X.forEach((t) => {
95
- t.c(e) || (X.delete(t), t.f());
96
- }), X.size !== 0 && ot(Ut);
97
- }
98
- function Gt(e) {
99
- let t;
100
- return X.size === 0 && ot(Ut), {
101
- promise: new Promise((r) => {
102
- X.add(t = { c: e, f: r });
103
- }),
104
- abort() {
105
- X.delete(t);
106
- }
107
- };
108
- }
109
- const es = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
110
- // @ts-ignore Node typings have this
111
- global
112
- );
113
- function M(e, t) {
114
- e.appendChild(t);
115
- }
116
- function Hr(e, t, r) {
117
- const n = at(e);
118
- if (!n.getElementById(t)) {
119
- const i = I("style");
120
- i.id = t, i.textContent = r, Ft(n, i);
121
- }
122
- }
123
- function at(e) {
124
- if (!e)
125
- return document;
126
- const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
127
- return t && /** @type {ShadowRoot} */
128
- t.host ? (
129
- /** @type {ShadowRoot} */
130
- t
131
- ) : e.ownerDocument;
132
- }
133
- function Sr(e) {
134
- const t = I("style");
135
- return t.textContent = "/* empty */", Ft(at(e), t), t.sheet;
136
- }
137
- function Ft(e, t) {
138
- return M(
139
- /** @type {Document} */
140
- e.head || e,
141
- t
142
- ), t.sheet;
143
- }
144
- function K(e, t, r) {
145
- e.insertBefore(t, r || null);
146
- }
147
- function N(e) {
148
- e.parentNode && e.parentNode.removeChild(e);
149
- }
150
- function ts(e, t) {
151
- for (let r = 0; r < e.length; r += 1)
152
- e[r] && e[r].d(t);
153
- }
154
- function I(e) {
155
- return document.createElement(e);
156
- }
157
- function rs(e) {
158
- return document.createElementNS("http://www.w3.org/2000/svg", e);
159
- }
160
- function Me(e) {
161
- return document.createTextNode(e);
162
- }
163
- function ke() {
164
- return Me(" ");
165
- }
166
- function Ar() {
167
- return Me("");
168
- }
169
- function We(e, t, r, n) {
170
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
171
- }
172
- function ns(e) {
173
- return function(t) {
174
- return t.preventDefault(), e.call(this, t);
175
- };
176
- }
177
- function q(e, t, r) {
178
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
179
- }
180
- function _e(e, t, r) {
181
- const n = t.toLowerCase();
182
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : q(e, t, r);
183
- }
184
- function is(e) {
185
- return e === "" ? null : +e;
186
- }
187
- function Br(e) {
188
- return Array.from(e.childNodes);
189
- }
190
- function zt(e, t) {
191
- t = "" + t, e.data !== t && (e.data = /** @type {string} */
192
- t);
193
- }
194
- function ss(e, t) {
195
- e.value = t ?? "";
196
- }
197
- function os(e, t, r, n) {
198
- r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
199
- }
200
- let ve;
201
- function Pr() {
202
- if (ve === void 0) {
203
- ve = !1;
204
- try {
205
- typeof window < "u" && window.parent && window.parent.document;
206
- } catch {
207
- ve = !0;
208
- }
209
- }
210
- return ve;
211
- }
212
- function as(e, t) {
213
- getComputedStyle(e).position === "static" && (e.style.position = "relative");
214
- const n = I("iframe");
215
- n.setAttribute(
216
- "style",
217
- "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
218
- ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
219
- const i = Pr();
220
- let s;
221
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = We(
222
- window,
223
- "message",
224
- /** @param {MessageEvent} event */
225
- (o) => {
226
- o.source === n.contentWindow && t();
227
- }
228
- )) : (n.src = "about:blank", n.onload = () => {
229
- s = We(n.contentWindow, "resize", t), t();
230
- }), M(e, n), () => {
231
- (i || s && n.contentWindow) && s(), N(n);
232
- };
233
- }
234
- function us(e, t, r) {
235
- e.classList.toggle(t, !!r);
236
- }
237
- function Or(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
238
- return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
239
- }
240
- function Cr(e) {
241
- const t = {};
242
- return e.childNodes.forEach(
243
- /** @param {Element} node */
244
- (r) => {
245
- t[r.slot || "default"] = !0;
246
- }
247
- ), t;
248
- }
249
- const Ae = /* @__PURE__ */ new Map();
250
- let Be = 0;
251
- function Ir(e) {
252
- let t = 5381, r = e.length;
253
- for (; r--; )
254
- t = (t << 5) - t ^ e.charCodeAt(r);
255
- return t >>> 0;
256
- }
257
- function Lr(e, t) {
258
- const r = { stylesheet: Sr(t), rules: {} };
259
- return Ae.set(e, r), r;
260
- }
261
- function jt(e, t, r, n, i, s, o, a = 0) {
262
- const h = 16.666 / n;
263
- let u = `{
264
- `;
265
- for (let E = 0; E <= 1; E += h) {
266
- const _ = t + (r - t) * s(E);
267
- u += E * 100 + `%{${o(_, 1 - _)}}
268
- `;
269
- }
270
- const l = u + `100% {${o(r, 1 - r)}}
271
- }`, c = `__svelte_${Ir(l)}_${a}`, m = at(e), { stylesheet: d, rules: p } = Ae.get(m) || Lr(m, e);
272
- p[c] || (p[c] = !0, d.insertRule(`@keyframes ${c} ${l}`, d.cssRules.length));
273
- const b = e.style.animation || "";
274
- return e.style.animation = `${b ? `${b}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Be += 1, c;
275
- }
276
- function qe(e, t) {
277
- const r = (e.style.animation || "").split(", "), n = r.filter(
278
- t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
279
- // remove all Svelte animations
280
- ), i = r.length - n.length;
281
- i && (e.style.animation = n.join(", "), Be -= i, Be || Mr());
282
- }
283
- function Mr() {
284
- ot(() => {
285
- Be || (Ae.forEach((e) => {
286
- const { ownerNode: t } = e.stylesheet;
287
- t && N(t);
288
- }), Ae.clear());
289
- });
290
- }
291
- let oe;
292
- function se(e) {
293
- oe = e;
294
- }
295
- function Nr() {
296
- if (!oe)
297
- throw new Error("Function called outside component initialization");
298
- return oe;
299
- }
300
- function $r(e) {
301
- Nr().$$.on_mount.push(e);
302
- }
303
- function ls(e, t) {
304
- const r = e.$$.callbacks[t.type];
305
- r && r.slice().forEach((n) => n.call(this, t));
306
- }
307
- const j = [], Je = [];
308
- let W = [];
309
- const ft = [], Vt = /* @__PURE__ */ Promise.resolve();
310
- let Ze = !1;
311
- function Xt() {
312
- Ze || (Ze = !0, Vt.then(L));
313
- }
314
- function hs() {
315
- return Xt(), Vt;
316
- }
317
- function ae(e) {
318
- W.push(e);
319
- }
320
- const Ue = /* @__PURE__ */ new Set();
321
- let F = 0;
322
- function L() {
323
- if (F !== 0)
324
- return;
325
- const e = oe;
326
- do {
327
- try {
328
- for (; F < j.length; ) {
329
- const t = j[F];
330
- F++, se(t), Rr(t.$$);
331
- }
332
- } catch (t) {
333
- throw j.length = 0, F = 0, t;
334
- }
335
- for (se(null), j.length = 0, F = 0; Je.length; )
336
- Je.pop()();
337
- for (let t = 0; t < W.length; t += 1) {
338
- const r = W[t];
339
- Ue.has(r) || (Ue.add(r), r());
340
- }
341
- W.length = 0;
342
- } while (j.length);
343
- for (; ft.length; )
344
- ft.pop()();
345
- Ze = !1, Ue.clear(), se(e);
346
- }
347
- function Rr(e) {
348
- if (e.fragment !== null) {
349
- e.update(), k(e.before_update);
350
- const t = e.dirty;
351
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ae);
352
- }
353
- }
354
- function Dr(e) {
355
- const t = [], r = [];
356
- W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
357
- }
358
- let re;
359
- function Wt() {
360
- return re || (re = Promise.resolve(), re.then(() => {
361
- re = null;
362
- })), re;
363
- }
364
- function Pe(e, t, r) {
365
- e.dispatchEvent(Or(`${t ? "intro" : "outro"}${r}`));
366
- }
367
- const we = /* @__PURE__ */ new Set();
368
- let R;
369
- function cs() {
370
- R = {
371
- r: 0,
372
- c: [],
373
- p: R
374
- // parent group
375
- };
376
- }
377
- function fs() {
378
- R.r || k(R.c), R = R.p;
379
- }
380
- function V(e, t) {
381
- e && e.i && (we.delete(e), e.i(t));
382
- }
383
- function Ee(e, t, r, n) {
384
- if (e && e.o) {
385
- if (we.has(e))
386
- return;
387
- we.add(e), R.c.push(() => {
388
- we.delete(e), n && (r && e.d(1), n());
389
- }), e.o(t);
390
- } else
391
- n && n();
392
- }
393
- const qt = { duration: 0 };
394
- function ms(e, t, r) {
395
- const n = { direction: "in" };
396
- let i = t(e, r, n), s = !1, o, a, h = 0;
397
- function u() {
398
- o && qe(e, o);
399
- }
400
- function l() {
401
- const {
402
- delay: m = 0,
403
- duration: d = 300,
404
- easing: p = Mt,
405
- tick: b = A,
406
- css: E
407
- } = i || qt;
408
- E && (o = jt(e, 0, 1, d, m, p, E, h++)), b(0, 1);
409
- const _ = kt() + m, f = _ + d;
410
- a && a.abort(), s = !0, ae(() => Pe(e, !0, "start")), a = Gt((g) => {
411
- if (s) {
412
- if (g >= f)
413
- return b(1, 0), Pe(e, !0, "end"), u(), s = !1;
414
- if (g >= _) {
415
- const S = p((g - _) / d);
416
- b(S, 1 - S);
417
- }
418
- }
419
- return s;
420
- });
421
- }
422
- let c = !1;
423
- return {
424
- start() {
425
- c || (c = !0, qe(e), he(i) ? (i = i(n), Wt().then(l)) : l());
426
- },
427
- invalidate() {
428
- c = !1;
429
- },
430
- end() {
431
- s && (u(), s = !1);
432
- }
433
- };
434
- }
435
- function ds(e, t, r) {
436
- const n = { direction: "out" };
437
- let i = t(e, r, n), s = !0, o;
438
- const a = R;
439
- a.r += 1;
440
- let h;
441
- function u() {
442
- const {
443
- delay: l = 0,
444
- duration: c = 300,
445
- easing: m = Mt,
446
- tick: d = A,
447
- css: p
448
- } = i || qt;
449
- p && (o = jt(e, 1, 0, c, l, m, p));
450
- const b = kt() + l, E = b + c;
451
- ae(() => Pe(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
452
- e.inert, e.inert = !0), Gt((_) => {
453
- if (s) {
454
- if (_ >= E)
455
- return d(0, 1), Pe(e, !1, "end"), --a.r || k(a.c), !1;
456
- if (_ >= b) {
457
- const f = m((_ - b) / c);
458
- d(1 - f, f);
459
- }
460
- }
461
- return s;
462
- });
463
- }
464
- return he(i) ? Wt().then(() => {
465
- i = i(n), u();
466
- }) : u(), {
467
- end(l) {
468
- l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (o && qe(e, o), s = !1);
469
- }
470
- };
471
- }
472
- function ps(e) {
473
- return e?.length !== void 0 ? e : Array.from(e);
474
- }
475
- function gs(e, t) {
476
- e.d(1), t.delete(e.key);
477
- }
478
- function bs(e, t, r, n, i, s, o, a, h, u, l, c) {
479
- let m = e.length, d = s.length, p = m;
480
- const b = {};
481
- for (; p--; )
482
- b[e[p].key] = p;
483
- const E = [], _ = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), g = [];
484
- for (p = d; p--; ) {
485
- const T = c(i, s, p), P = r(T);
486
- let O = o.get(P);
487
- O ? g.push(() => O.p(T, t)) : (O = u(P, T), O.c()), _.set(P, E[p] = O), P in b && f.set(P, Math.abs(p - b[P]));
488
- }
489
- const S = /* @__PURE__ */ new Set(), B = /* @__PURE__ */ new Set();
490
- function $(T) {
491
- V(T, 1), T.m(a, l), o.set(T.key, T), l = T.first, d--;
492
- }
493
- for (; m && d; ) {
494
- const T = E[d - 1], P = e[m - 1], O = T.key, me = P.key;
495
- T === P ? (l = T.first, m--, d--) : _.has(me) ? !o.has(O) || S.has(O) ? $(T) : B.has(me) ? m-- : f.get(O) > f.get(me) ? (B.add(O), $(T)) : (S.add(me), m--) : (h(P, o), m--);
496
- }
497
- for (; m--; ) {
498
- const T = e[m];
499
- _.has(T.key) || h(T, o);
500
- }
501
- for (; d; )
502
- $(E[d - 1]);
503
- return k(g), E;
504
- }
505
- function kr(e, t, r) {
506
- const { fragment: n, after_update: i } = e.$$;
507
- n && n.m(t, r), ae(() => {
508
- const s = e.$$.on_mount.map(Nt).filter(he);
509
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : k(s), e.$$.on_mount = [];
510
- }), i.forEach(ae);
511
- }
512
- function Ur(e, t) {
513
- const r = e.$$;
514
- r.fragment !== null && (Dr(r.after_update), k(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
515
- }
516
- function Gr(e, t) {
517
- e.$$.dirty[0] === -1 && (j.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
518
- }
519
- function Fr(e, t, r, n, i, s, o = null, a = [-1]) {
520
- const h = oe;
521
- se(e);
522
- const u = e.$$ = {
523
- fragment: null,
524
- ctx: [],
525
- // state
526
- props: s,
527
- update: A,
528
- not_equal: i,
529
- bound: ht(),
530
- // lifecycle
531
- on_mount: [],
532
- on_destroy: [],
533
- on_disconnect: [],
534
- before_update: [],
535
- after_update: [],
536
- context: new Map(t.context || (h ? h.$$.context : [])),
537
- // everything else
538
- callbacks: ht(),
539
- dirty: a,
540
- skip_bound: !1,
541
- root: t.target || h.$$.root
542
- };
543
- o && o(u.root);
544
- let l = !1;
545
- if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
546
- const p = d.length ? d[0] : m;
547
- return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Gr(e, c)), m;
548
- }) : [], u.update(), l = !0, k(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
549
- if (t.hydrate) {
550
- const c = Br(t.target);
551
- u.fragment && u.fragment.l(c), c.forEach(N);
552
- } else
553
- u.fragment && u.fragment.c();
554
- t.intro && V(e.$$.fragment), kr(e, t.target, t.anchor), L();
555
- }
556
- se(h);
557
- }
558
- let Jt;
559
- typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
560
- /** The Svelte component constructor */
561
- $$ctor;
562
- /** Slots */
563
- $$s;
564
- /** The Svelte component instance */
565
- $$c;
566
- /** Whether or not the custom element is connected */
567
- $$cn = !1;
568
- /** Component props data */
569
- $$d = {};
570
- /** `true` if currently in the process of reflecting component props back to attributes */
571
- $$r = !1;
572
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
573
- $$p_d = {};
574
- /** @type {Record<string, Function[]>} Event listeners */
575
- $$l = {};
576
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
577
- $$l_u = /* @__PURE__ */ new Map();
578
- constructor(e, t, r) {
579
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
580
- }
581
- addEventListener(e, t, r) {
582
- if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
583
- const n = this.$$c.$on(e, t);
584
- this.$$l_u.set(t, n);
585
- }
586
- super.addEventListener(e, t, r);
587
- }
588
- removeEventListener(e, t, r) {
589
- if (super.removeEventListener(e, t, r), this.$$c) {
590
- const n = this.$$l_u.get(t);
591
- n && (n(), this.$$l_u.delete(t));
592
- }
593
- }
594
- async connectedCallback() {
595
- if (this.$$cn = !0, !this.$$c) {
596
- let e = function(i) {
597
- return () => {
598
- let s;
599
- return {
600
- c: function() {
601
- s = I("slot"), i !== "default" && q(s, "name", i);
602
- },
603
- /**
604
- * @param {HTMLElement} target
605
- * @param {HTMLElement} [anchor]
606
- */
607
- m: function(h, u) {
608
- K(h, s, u);
609
- },
610
- d: function(h) {
611
- h && N(s);
612
- }
613
- };
614
- };
615
- };
616
- if (await Promise.resolve(), !this.$$cn || this.$$c)
617
- return;
618
- const t = {}, r = Cr(this);
619
- for (const i of this.$$s)
620
- i in r && (t[i] = [e(i)]);
621
- for (const i of this.attributes) {
622
- const s = this.$$g_p(i.name);
623
- s in this.$$d || (this.$$d[s] = Te(s, i.value, this.$$p_d, "toProp"));
624
- }
625
- for (const i in this.$$p_d)
626
- !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
627
- this.$$c = new this.$$ctor({
628
- target: this.shadowRoot || this,
629
- props: {
630
- ...this.$$d,
631
- $$slots: t,
632
- $$scope: {
633
- ctx: []
634
- }
635
- }
636
- });
637
- const n = () => {
638
- this.$$r = !0;
639
- for (const i in this.$$p_d)
640
- if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
641
- const s = Te(
642
- i,
643
- this.$$d[i],
644
- this.$$p_d,
645
- "toAttribute"
646
- );
647
- s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
648
- }
649
- this.$$r = !1;
650
- };
651
- this.$$c.$$.after_update.push(n), n();
652
- for (const i in this.$$l)
653
- for (const s of this.$$l[i]) {
654
- const o = this.$$c.$on(i, s);
655
- this.$$l_u.set(s, o);
656
- }
657
- this.$$l = {};
658
- }
659
- }
660
- // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
661
- // and setting attributes through setAttribute etc, this is helpful
662
- attributeChangedCallback(e, t, r) {
663
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Te(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
664
- }
665
- disconnectedCallback() {
666
- this.$$cn = !1, Promise.resolve().then(() => {
667
- !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
668
- });
669
- }
670
- $$g_p(e) {
671
- return Object.keys(this.$$p_d).find(
672
- (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
673
- ) || e;
674
- }
675
- });
676
- function Te(e, t, r, n) {
677
- const i = r[e]?.type;
678
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
679
- return t;
680
- if (n === "toAttribute")
681
- switch (i) {
682
- case "Object":
683
- case "Array":
684
- return t == null ? null : JSON.stringify(t);
685
- case "Boolean":
686
- return t ? "" : null;
687
- case "Number":
688
- return t ?? null;
689
- default:
690
- return t;
691
- }
692
- else
693
- switch (i) {
694
- case "Object":
695
- case "Array":
696
- return t && JSON.parse(t);
697
- case "Boolean":
698
- return t;
699
- case "Number":
700
- return t != null ? +t : t;
701
- default:
702
- return t;
703
- }
704
- }
705
- function zr(e, t, r, n, i, s) {
706
- let o = class extends Jt {
707
- constructor() {
708
- super(e, r, i), this.$$p_d = t;
709
- }
710
- static get observedAttributes() {
711
- return Object.keys(t).map(
712
- (a) => (t[a].attribute || a).toLowerCase()
713
- );
714
- }
715
- };
716
- return Object.keys(t).forEach((a) => {
717
- Object.defineProperty(o.prototype, a, {
718
- get() {
719
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
720
- },
721
- set(h) {
722
- h = Te(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
723
- }
724
- });
725
- }), n.forEach((a) => {
726
- Object.defineProperty(o.prototype, a, {
727
- get() {
728
- return this.$$c?.[a];
729
- }
730
- });
731
- }), e.element = /** @type {any} */
732
- o, o;
733
- }
734
- class jr {
735
- /**
736
- * ### PRIVATE API
737
- *
738
- * Do not use, may change at any time
739
- *
740
- * @type {any}
741
- */
742
- $$ = void 0;
743
- /**
744
- * ### PRIVATE API
745
- *
746
- * Do not use, may change at any time
747
- *
748
- * @type {any}
749
- */
750
- $$set = void 0;
751
- /** @returns {void} */
752
- $destroy() {
753
- Ur(this, 1), this.$destroy = A;
754
- }
755
- /**
756
- * @template {Extract<keyof Events, string>} K
757
- * @param {K} type
758
- * @param {((e: Events[K]) => void) | null | undefined} callback
759
- * @returns {() => void}
760
- */
761
- $on(t, r) {
762
- if (!he(r))
763
- return A;
764
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
765
- return n.push(r), () => {
766
- const i = n.indexOf(r);
767
- i !== -1 && n.splice(i, 1);
768
- };
769
- }
770
- /**
771
- * @param {Partial<Props>} props
772
- * @returns {void}
773
- */
774
- $set(t) {
775
- this.$$set && !wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
776
- }
777
- }
778
- const Vr = "4";
779
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vr);
780
- const z = [];
781
- function Xr(e, t) {
782
- return {
783
- subscribe: Ne(e, t).subscribe
784
- };
785
- }
786
- function Ne(e, t = A) {
787
- let r;
788
- const n = /* @__PURE__ */ new Set();
789
- function i(a) {
790
- if ($t(e, a) && (e = a, r)) {
791
- const h = !z.length;
792
- for (const u of n)
793
- u[1](), z.push(u, e);
794
- if (h) {
795
- for (let u = 0; u < z.length; u += 2)
796
- z[u][0](z[u + 1]);
797
- z.length = 0;
798
- }
799
- }
800
- }
801
- function s(a) {
802
- i(a(e));
803
- }
804
- function o(a, h = A) {
805
- const u = [a, h];
806
- return n.add(u), n.size === 1 && (r = t(i, s) || A), a(e), () => {
807
- n.delete(u), n.size === 0 && r && (r(), r = null);
808
- };
809
- }
810
- return { set: i, update: s, subscribe: o };
811
- }
812
- function ee(e, t, r) {
813
- const n = !Array.isArray(e), i = n ? [e] : e;
814
- if (!i.every(Boolean))
815
- throw new Error("derived() expects stores as input, got a falsy value");
816
- const s = t.length < 2;
817
- return Xr(r, (o, a) => {
818
- let h = !1;
819
- const u = [];
820
- let l = 0, c = A;
821
- const m = () => {
822
- if (l)
823
- return;
824
- c();
825
- const p = t(n ? u[0] : u, o, a);
826
- s ? o(p) : c = he(p) ? p : A;
827
- }, d = i.map(
828
- (p, b) => st(
829
- p,
830
- (E) => {
831
- u[b] = E, l &= ~(1 << b), h && m();
832
- },
833
- () => {
834
- l |= 1 << b;
835
- }
836
- )
837
- );
838
- return h = !0, m(), function() {
839
- k(d), c(), h = !1;
840
- };
841
- });
842
- }
843
- var ys = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
844
- function Wr(e) {
845
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
846
- }
847
- var qr = function(t) {
848
- return Jr(t) && !Zr(t);
849
- };
850
- function Jr(e) {
851
- return !!e && typeof e == "object";
852
- }
853
- function Zr(e) {
854
- var t = Object.prototype.toString.call(e);
855
- return t === "[object RegExp]" || t === "[object Date]" || Kr(e);
856
- }
857
- var Qr = typeof Symbol == "function" && Symbol.for, Yr = Qr ? Symbol.for("react.element") : 60103;
858
- function Kr(e) {
859
- return e.$$typeof === Yr;
860
- }
861
- function en(e) {
862
- return Array.isArray(e) ? [] : {};
863
- }
864
- function ue(e, t) {
865
- return t.clone !== !1 && t.isMergeableObject(e) ? J(en(e), e, t) : e;
866
- }
867
- function tn(e, t, r) {
868
- return e.concat(t).map(function(n) {
869
- return ue(n, r);
870
- });
871
- }
872
- function rn(e, t) {
873
- if (!t.customMerge)
874
- return J;
875
- var r = t.customMerge(e);
876
- return typeof r == "function" ? r : J;
877
- }
878
- function nn(e) {
879
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
880
- return Object.propertyIsEnumerable.call(e, t);
881
- }) : [];
882
- }
883
- function mt(e) {
884
- return Object.keys(e).concat(nn(e));
885
- }
886
- function Zt(e, t) {
887
- try {
888
- return t in e;
889
- } catch {
890
- return !1;
891
- }
892
- }
893
- function sn(e, t) {
894
- return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
895
- }
896
- function on(e, t, r) {
897
- var n = {};
898
- return r.isMergeableObject(e) && mt(e).forEach(function(i) {
899
- n[i] = ue(e[i], r);
900
- }), mt(t).forEach(function(i) {
901
- sn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = rn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
902
- }), n;
903
- }
904
- function J(e, t, r) {
905
- r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = ue;
906
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
907
- return s ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : ue(t, r);
908
- }
909
- J.all = function(t, r) {
910
- if (!Array.isArray(t))
911
- throw new Error("first argument should be an array");
912
- return t.reduce(function(n, i) {
913
- return J(n, i, r);
914
- }, {});
915
- };
916
- var an = J, un = an;
917
- const ln = /* @__PURE__ */ Wr(un);
918
- var Qe = function(e, t) {
919
- return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
920
- r.__proto__ = n;
921
- } || function(r, n) {
922
- for (var i in n)
923
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
924
- }, Qe(e, t);
925
- };
926
- function $e(e, t) {
927
- if (typeof t != "function" && t !== null)
928
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
929
- Qe(e, t);
930
- function r() {
931
- this.constructor = e;
932
- }
933
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
934
- }
935
- var C = function() {
936
- return C = Object.assign || function(t) {
937
- for (var r, n = 1, i = arguments.length; n < i; n++) {
938
- r = arguments[n];
939
- for (var s in r)
940
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
941
- }
942
- return t;
943
- }, C.apply(this, arguments);
944
- };
945
- function hn(e, t) {
946
- var r = {};
947
- for (var n in e)
948
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
949
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
950
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
951
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
952
- return r;
953
- }
954
- function Ge(e, t, r) {
955
- if (r || arguments.length === 2)
956
- for (var n = 0, i = t.length, s; n < i; n++)
957
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
958
- return e.concat(s || Array.prototype.slice.call(t));
959
- }
960
- function Fe(e, t) {
961
- var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : pn, i = t && t.strategy ? t.strategy : mn;
962
- return i(e, {
963
- cache: r,
964
- serializer: n
965
- });
966
- }
967
- function cn(e) {
968
- return e == null || typeof e == "number" || typeof e == "boolean";
969
- }
970
- function fn(e, t, r, n) {
971
- var i = cn(n) ? n : r(n), s = t.get(i);
972
- return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
973
- }
974
- function Qt(e, t, r) {
975
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
976
- return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
977
- }
978
- function Yt(e, t, r, n, i) {
979
- return r.bind(t, e, n, i);
980
- }
981
- function mn(e, t) {
982
- var r = e.length === 1 ? fn : Qt;
983
- return Yt(e, this, r, t.cache.create(), t.serializer);
984
- }
985
- function dn(e, t) {
986
- return Yt(e, this, Qt, t.cache.create(), t.serializer);
987
- }
988
- var pn = function() {
989
- return JSON.stringify(arguments);
990
- }, gn = (
991
- /** @class */
992
- function() {
993
- function e() {
994
- this.cache = /* @__PURE__ */ Object.create(null);
995
- }
996
- return e.prototype.get = function(t) {
997
- return this.cache[t];
998
- }, e.prototype.set = function(t, r) {
999
- this.cache[t] = r;
1000
- }, e;
1001
- }()
1002
- ), bn = {
1003
- create: function() {
1004
- return new gn();
1005
- }
1006
- }, ze = {
1007
- variadic: dn
1008
- }, Oe = function() {
1009
- return Oe = Object.assign || function(t) {
1010
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1011
- r = arguments[n];
1012
- for (var s in r)
1013
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1014
- }
1015
- return t;
1016
- }, Oe.apply(this, arguments);
1017
- };
1018
- var y;
1019
- (function(e) {
1020
- 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";
1021
- })(y || (y = {}));
1022
- var x;
1023
- (function(e) {
1024
- 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";
1025
- })(x || (x = {}));
1026
- var Z;
1027
- (function(e) {
1028
- e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1029
- })(Z || (Z = {}));
1030
- function dt(e) {
1031
- return e.type === x.literal;
1032
- }
1033
- function yn(e) {
1034
- return e.type === x.argument;
1035
- }
1036
- function Kt(e) {
1037
- return e.type === x.number;
1038
- }
1039
- function er(e) {
1040
- return e.type === x.date;
1041
- }
1042
- function tr(e) {
1043
- return e.type === x.time;
1044
- }
1045
- function rr(e) {
1046
- return e.type === x.select;
1047
- }
1048
- function nr(e) {
1049
- return e.type === x.plural;
1050
- }
1051
- function _n(e) {
1052
- return e.type === x.pound;
1053
- }
1054
- function ir(e) {
1055
- return e.type === x.tag;
1056
- }
1057
- function sr(e) {
1058
- return !!(e && typeof e == "object" && e.type === Z.number);
1059
- }
1060
- function Ye(e) {
1061
- return !!(e && typeof e == "object" && e.type === Z.dateTime);
1062
- }
1063
- var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vn = /(?:[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;
1064
- function En(e) {
1065
- var t = {};
1066
- return e.replace(vn, function(r) {
1067
- var n = r.length;
1068
- switch (r[0]) {
1069
- case "G":
1070
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1071
- break;
1072
- case "y":
1073
- t.year = n === 2 ? "2-digit" : "numeric";
1074
- break;
1075
- case "Y":
1076
- case "u":
1077
- case "U":
1078
- case "r":
1079
- throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
1080
- case "q":
1081
- case "Q":
1082
- throw new RangeError("`q/Q` (quarter) patterns are not supported");
1083
- case "M":
1084
- case "L":
1085
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1086
- break;
1087
- case "w":
1088
- case "W":
1089
- throw new RangeError("`w/W` (week) patterns are not supported");
1090
- case "d":
1091
- t.day = ["numeric", "2-digit"][n - 1];
1092
- break;
1093
- case "D":
1094
- case "F":
1095
- case "g":
1096
- throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1097
- case "E":
1098
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1099
- break;
1100
- case "e":
1101
- if (n < 4)
1102
- throw new RangeError("`e..eee` (weekday) patterns are not supported");
1103
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1104
- break;
1105
- case "c":
1106
- if (n < 4)
1107
- throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1108
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1109
- break;
1110
- case "a":
1111
- t.hour12 = !0;
1112
- break;
1113
- case "b":
1114
- case "B":
1115
- throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1116
- case "h":
1117
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1118
- break;
1119
- case "H":
1120
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1121
- break;
1122
- case "K":
1123
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1124
- break;
1125
- case "k":
1126
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1127
- break;
1128
- case "j":
1129
- case "J":
1130
- case "C":
1131
- throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1132
- case "m":
1133
- t.minute = ["numeric", "2-digit"][n - 1];
1134
- break;
1135
- case "s":
1136
- t.second = ["numeric", "2-digit"][n - 1];
1137
- break;
1138
- case "S":
1139
- case "A":
1140
- throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1141
- case "z":
1142
- t.timeZoneName = n < 4 ? "short" : "long";
1143
- break;
1144
- case "Z":
1145
- case "O":
1146
- case "v":
1147
- case "V":
1148
- case "X":
1149
- case "x":
1150
- throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
1151
- }
1152
- return "";
1153
- }), t;
1154
- }
1155
- var w = function() {
1156
- return w = Object.assign || function(t) {
1157
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1158
- r = arguments[n];
1159
- for (var s in r)
1160
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1161
- }
1162
- return t;
1163
- }, w.apply(this, arguments);
1164
- };
1165
- var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1166
- function wn(e) {
1167
- if (e.length === 0)
1168
- throw new Error("Number skeleton cannot be empty");
1169
- for (var t = e.split(xn).filter(function(m) {
1170
- return m.length > 0;
1171
- }), r = [], n = 0, i = t; n < i.length; n++) {
1172
- var s = i[n], o = s.split("/");
1173
- if (o.length === 0)
1174
- throw new Error("Invalid number skeleton");
1175
- for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1176
- var c = l[u];
1177
- if (c.length === 0)
1178
- throw new Error("Invalid number skeleton");
1179
- }
1180
- r.push({ stem: a, options: h });
1181
- }
1182
- return r;
1183
- }
1184
- function Tn(e) {
1185
- return e.replace(/^(.*?)-/, "");
1186
- }
1187
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1188
- function gt(e) {
1189
- var t = {};
1190
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1191
- 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)), "";
1192
- }), t;
1193
- }
1194
- function lr(e) {
1195
- switch (e) {
1196
- case "sign-auto":
1197
- return {
1198
- signDisplay: "auto"
1199
- };
1200
- case "sign-accounting":
1201
- case "()":
1202
- return {
1203
- currencySign: "accounting"
1204
- };
1205
- case "sign-always":
1206
- case "+!":
1207
- return {
1208
- signDisplay: "always"
1209
- };
1210
- case "sign-accounting-always":
1211
- case "()!":
1212
- return {
1213
- signDisplay: "always",
1214
- currencySign: "accounting"
1215
- };
1216
- case "sign-except-zero":
1217
- case "+?":
1218
- return {
1219
- signDisplay: "exceptZero"
1220
- };
1221
- case "sign-accounting-except-zero":
1222
- case "()?":
1223
- return {
1224
- signDisplay: "exceptZero",
1225
- currencySign: "accounting"
1226
- };
1227
- case "sign-never":
1228
- case "+_":
1229
- return {
1230
- signDisplay: "never"
1231
- };
1232
- }
1233
- }
1234
- function Sn(e) {
1235
- var t;
1236
- if (e[0] === "E" && e[1] === "E" ? (t = {
1237
- notation: "engineering"
1238
- }, e = e.slice(2)) : e[0] === "E" && (t = {
1239
- notation: "scientific"
1240
- }, e = e.slice(1)), t) {
1241
- var r = e.slice(0, 2);
1242
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1243
- throw new Error("Malformed concise eng/scientific notation");
1244
- t.minimumIntegerDigits = e.length;
1245
- }
1246
- return t;
1247
- }
1248
- function bt(e) {
1249
- var t = {}, r = lr(e);
1250
- return r || t;
1251
- }
1252
- function An(e) {
1253
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1254
- var i = n[r];
1255
- switch (i.stem) {
1256
- case "percent":
1257
- case "%":
1258
- t.style = "percent";
1259
- continue;
1260
- case "%x100":
1261
- t.style = "percent", t.scale = 100;
1262
- continue;
1263
- case "currency":
1264
- t.style = "currency", t.currency = i.options[0];
1265
- continue;
1266
- case "group-off":
1267
- case ",_":
1268
- t.useGrouping = !1;
1269
- continue;
1270
- case "precision-integer":
1271
- case ".":
1272
- t.maximumFractionDigits = 0;
1273
- continue;
1274
- case "measure-unit":
1275
- case "unit":
1276
- t.style = "unit", t.unit = Tn(i.options[0]);
1277
- continue;
1278
- case "compact-short":
1279
- case "K":
1280
- t.notation = "compact", t.compactDisplay = "short";
1281
- continue;
1282
- case "compact-long":
1283
- case "KK":
1284
- t.notation = "compact", t.compactDisplay = "long";
1285
- continue;
1286
- case "scientific":
1287
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1288
- return w(w({}, h), bt(u));
1289
- }, {}));
1290
- continue;
1291
- case "engineering":
1292
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1293
- return w(w({}, h), bt(u));
1294
- }, {}));
1295
- continue;
1296
- case "notation-simple":
1297
- t.notation = "standard";
1298
- continue;
1299
- case "unit-width-narrow":
1300
- t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
1301
- continue;
1302
- case "unit-width-short":
1303
- t.currencyDisplay = "code", t.unitDisplay = "short";
1304
- continue;
1305
- case "unit-width-full-name":
1306
- t.currencyDisplay = "name", t.unitDisplay = "long";
1307
- continue;
1308
- case "unit-width-iso-code":
1309
- t.currencyDisplay = "symbol";
1310
- continue;
1311
- case "scale":
1312
- t.scale = parseFloat(i.options[0]);
1313
- continue;
1314
- case "rounding-mode-floor":
1315
- t.roundingMode = "floor";
1316
- continue;
1317
- case "rounding-mode-ceiling":
1318
- t.roundingMode = "ceil";
1319
- continue;
1320
- case "rounding-mode-down":
1321
- t.roundingMode = "trunc";
1322
- continue;
1323
- case "rounding-mode-up":
1324
- t.roundingMode = "expand";
1325
- continue;
1326
- case "rounding-mode-half-even":
1327
- t.roundingMode = "halfEven";
1328
- continue;
1329
- case "rounding-mode-half-down":
1330
- t.roundingMode = "halfTrunc";
1331
- continue;
1332
- case "rounding-mode-half-up":
1333
- t.roundingMode = "halfExpand";
1334
- continue;
1335
- case "integer-width":
1336
- if (i.options.length > 1)
1337
- throw new RangeError("integer-width stems only accept a single optional option");
1338
- i.options[0].replace(Hn, function(h, u, l, c, m, d) {
1339
- if (u)
1340
- t.minimumIntegerDigits = l.length;
1341
- else {
1342
- if (c && m)
1343
- throw new Error("We currently do not support maximum integer digits");
1344
- if (d)
1345
- throw new Error("We currently do not support exact integer digits");
1346
- }
1347
- return "";
1348
- });
1349
- continue;
1350
- }
1351
- if (ur.test(i.stem)) {
1352
- t.minimumIntegerDigits = i.stem.length;
1353
- continue;
1354
- }
1355
- if (pt.test(i.stem)) {
1356
- if (i.options.length > 1)
1357
- throw new RangeError("Fraction-precision stems only accept a single optional option");
1358
- i.stem.replace(pt, function(h, u, l, c, m, d) {
1359
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1360
- });
1361
- var s = i.options[0];
1362
- s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), gt(s)));
1363
- continue;
1364
- }
1365
- if (ar.test(i.stem)) {
1366
- t = w(w({}, t), gt(i.stem));
1367
- continue;
1368
- }
1369
- var o = lr(i.stem);
1370
- o && (t = w(w({}, t), o));
1371
- var a = Sn(i.stem);
1372
- a && (t = w(w({}, t), a));
1373
- }
1374
- return t;
1375
- }
1376
- var xe = {
1377
- "001": [
1378
- "H",
1379
- "h"
1380
- ],
1381
- 419: [
1382
- "h",
1383
- "H",
1384
- "hB",
1385
- "hb"
1386
- ],
1387
- AC: [
1388
- "H",
1389
- "h",
1390
- "hb",
1391
- "hB"
1392
- ],
1393
- AD: [
1394
- "H",
1395
- "hB"
1396
- ],
1397
- AE: [
1398
- "h",
1399
- "hB",
1400
- "hb",
1401
- "H"
1402
- ],
1403
- AF: [
1404
- "H",
1405
- "hb",
1406
- "hB",
1407
- "h"
1408
- ],
1409
- AG: [
1410
- "h",
1411
- "hb",
1412
- "H",
1413
- "hB"
1414
- ],
1415
- AI: [
1416
- "H",
1417
- "h",
1418
- "hb",
1419
- "hB"
1420
- ],
1421
- AL: [
1422
- "h",
1423
- "H",
1424
- "hB"
1425
- ],
1426
- AM: [
1427
- "H",
1428
- "hB"
1429
- ],
1430
- AO: [
1431
- "H",
1432
- "hB"
1433
- ],
1434
- AR: [
1435
- "h",
1436
- "H",
1437
- "hB",
1438
- "hb"
1439
- ],
1440
- AS: [
1441
- "h",
1442
- "H"
1443
- ],
1444
- AT: [
1445
- "H",
1446
- "hB"
1447
- ],
1448
- AU: [
1449
- "h",
1450
- "hb",
1451
- "H",
1452
- "hB"
1453
- ],
1454
- AW: [
1455
- "H",
1456
- "hB"
1457
- ],
1458
- AX: [
1459
- "H"
1460
- ],
1461
- AZ: [
1462
- "H",
1463
- "hB",
1464
- "h"
1465
- ],
1466
- BA: [
1467
- "H",
1468
- "hB",
1469
- "h"
1470
- ],
1471
- BB: [
1472
- "h",
1473
- "hb",
1474
- "H",
1475
- "hB"
1476
- ],
1477
- BD: [
1478
- "h",
1479
- "hB",
1480
- "H"
1481
- ],
1482
- BE: [
1483
- "H",
1484
- "hB"
1485
- ],
1486
- BF: [
1487
- "H",
1488
- "hB"
1489
- ],
1490
- BG: [
1491
- "H",
1492
- "hB",
1493
- "h"
1494
- ],
1495
- BH: [
1496
- "h",
1497
- "hB",
1498
- "hb",
1499
- "H"
1500
- ],
1501
- BI: [
1502
- "H",
1503
- "h"
1504
- ],
1505
- BJ: [
1506
- "H",
1507
- "hB"
1508
- ],
1509
- BL: [
1510
- "H",
1511
- "hB"
1512
- ],
1513
- BM: [
1514
- "h",
1515
- "hb",
1516
- "H",
1517
- "hB"
1518
- ],
1519
- BN: [
1520
- "hb",
1521
- "hB",
1522
- "h",
1523
- "H"
1524
- ],
1525
- BO: [
1526
- "h",
1527
- "H",
1528
- "hB",
1529
- "hb"
1530
- ],
1531
- BQ: [
1532
- "H"
1533
- ],
1534
- BR: [
1535
- "H",
1536
- "hB"
1537
- ],
1538
- BS: [
1539
- "h",
1540
- "hb",
1541
- "H",
1542
- "hB"
1543
- ],
1544
- BT: [
1545
- "h",
1546
- "H"
1547
- ],
1548
- BW: [
1549
- "H",
1550
- "h",
1551
- "hb",
1552
- "hB"
1553
- ],
1554
- BY: [
1555
- "H",
1556
- "h"
1557
- ],
1558
- BZ: [
1559
- "H",
1560
- "h",
1561
- "hb",
1562
- "hB"
1563
- ],
1564
- CA: [
1565
- "h",
1566
- "hb",
1567
- "H",
1568
- "hB"
1569
- ],
1570
- CC: [
1571
- "H",
1572
- "h",
1573
- "hb",
1574
- "hB"
1575
- ],
1576
- CD: [
1577
- "hB",
1578
- "H"
1579
- ],
1580
- CF: [
1581
- "H",
1582
- "h",
1583
- "hB"
1584
- ],
1585
- CG: [
1586
- "H",
1587
- "hB"
1588
- ],
1589
- CH: [
1590
- "H",
1591
- "hB",
1592
- "h"
1593
- ],
1594
- CI: [
1595
- "H",
1596
- "hB"
1597
- ],
1598
- CK: [
1599
- "H",
1600
- "h",
1601
- "hb",
1602
- "hB"
1603
- ],
1604
- CL: [
1605
- "h",
1606
- "H",
1607
- "hB",
1608
- "hb"
1609
- ],
1610
- CM: [
1611
- "H",
1612
- "h",
1613
- "hB"
1614
- ],
1615
- CN: [
1616
- "H",
1617
- "hB",
1618
- "hb",
1619
- "h"
1620
- ],
1621
- CO: [
1622
- "h",
1623
- "H",
1624
- "hB",
1625
- "hb"
1626
- ],
1627
- CP: [
1628
- "H"
1629
- ],
1630
- CR: [
1631
- "h",
1632
- "H",
1633
- "hB",
1634
- "hb"
1635
- ],
1636
- CU: [
1637
- "h",
1638
- "H",
1639
- "hB",
1640
- "hb"
1641
- ],
1642
- CV: [
1643
- "H",
1644
- "hB"
1645
- ],
1646
- CW: [
1647
- "H",
1648
- "hB"
1649
- ],
1650
- CX: [
1651
- "H",
1652
- "h",
1653
- "hb",
1654
- "hB"
1655
- ],
1656
- CY: [
1657
- "h",
1658
- "H",
1659
- "hb",
1660
- "hB"
1661
- ],
1662
- CZ: [
1663
- "H"
1664
- ],
1665
- DE: [
1666
- "H",
1667
- "hB"
1668
- ],
1669
- DG: [
1670
- "H",
1671
- "h",
1672
- "hb",
1673
- "hB"
1674
- ],
1675
- DJ: [
1676
- "h",
1677
- "H"
1678
- ],
1679
- DK: [
1680
- "H"
1681
- ],
1682
- DM: [
1683
- "h",
1684
- "hb",
1685
- "H",
1686
- "hB"
1687
- ],
1688
- DO: [
1689
- "h",
1690
- "H",
1691
- "hB",
1692
- "hb"
1693
- ],
1694
- DZ: [
1695
- "h",
1696
- "hB",
1697
- "hb",
1698
- "H"
1699
- ],
1700
- EA: [
1701
- "H",
1702
- "h",
1703
- "hB",
1704
- "hb"
1705
- ],
1706
- EC: [
1707
- "h",
1708
- "H",
1709
- "hB",
1710
- "hb"
1711
- ],
1712
- EE: [
1713
- "H",
1714
- "hB"
1715
- ],
1716
- EG: [
1717
- "h",
1718
- "hB",
1719
- "hb",
1720
- "H"
1721
- ],
1722
- EH: [
1723
- "h",
1724
- "hB",
1725
- "hb",
1726
- "H"
1727
- ],
1728
- ER: [
1729
- "h",
1730
- "H"
1731
- ],
1732
- ES: [
1733
- "H",
1734
- "hB",
1735
- "h",
1736
- "hb"
1737
- ],
1738
- ET: [
1739
- "hB",
1740
- "hb",
1741
- "h",
1742
- "H"
1743
- ],
1744
- FI: [
1745
- "H"
1746
- ],
1747
- FJ: [
1748
- "h",
1749
- "hb",
1750
- "H",
1751
- "hB"
1752
- ],
1753
- FK: [
1754
- "H",
1755
- "h",
1756
- "hb",
1757
- "hB"
1758
- ],
1759
- FM: [
1760
- "h",
1761
- "hb",
1762
- "H",
1763
- "hB"
1764
- ],
1765
- FO: [
1766
- "H",
1767
- "h"
1768
- ],
1769
- FR: [
1770
- "H",
1771
- "hB"
1772
- ],
1773
- GA: [
1774
- "H",
1775
- "hB"
1776
- ],
1777
- GB: [
1778
- "H",
1779
- "h",
1780
- "hb",
1781
- "hB"
1782
- ],
1783
- GD: [
1784
- "h",
1785
- "hb",
1786
- "H",
1787
- "hB"
1788
- ],
1789
- GE: [
1790
- "H",
1791
- "hB",
1792
- "h"
1793
- ],
1794
- GF: [
1795
- "H",
1796
- "hB"
1797
- ],
1798
- GG: [
1799
- "H",
1800
- "h",
1801
- "hb",
1802
- "hB"
1803
- ],
1804
- GH: [
1805
- "h",
1806
- "H"
1807
- ],
1808
- GI: [
1809
- "H",
1810
- "h",
1811
- "hb",
1812
- "hB"
1813
- ],
1814
- GL: [
1815
- "H",
1816
- "h"
1817
- ],
1818
- GM: [
1819
- "h",
1820
- "hb",
1821
- "H",
1822
- "hB"
1823
- ],
1824
- GN: [
1825
- "H",
1826
- "hB"
1827
- ],
1828
- GP: [
1829
- "H",
1830
- "hB"
1831
- ],
1832
- GQ: [
1833
- "H",
1834
- "hB",
1835
- "h",
1836
- "hb"
1837
- ],
1838
- GR: [
1839
- "h",
1840
- "H",
1841
- "hb",
1842
- "hB"
1843
- ],
1844
- GT: [
1845
- "h",
1846
- "H",
1847
- "hB",
1848
- "hb"
1849
- ],
1850
- GU: [
1851
- "h",
1852
- "hb",
1853
- "H",
1854
- "hB"
1855
- ],
1856
- GW: [
1857
- "H",
1858
- "hB"
1859
- ],
1860
- GY: [
1861
- "h",
1862
- "hb",
1863
- "H",
1864
- "hB"
1865
- ],
1866
- HK: [
1867
- "h",
1868
- "hB",
1869
- "hb",
1870
- "H"
1871
- ],
1872
- HN: [
1873
- "h",
1874
- "H",
1875
- "hB",
1876
- "hb"
1877
- ],
1878
- HR: [
1879
- "H",
1880
- "hB"
1881
- ],
1882
- HU: [
1883
- "H",
1884
- "h"
1885
- ],
1886
- IC: [
1887
- "H",
1888
- "h",
1889
- "hB",
1890
- "hb"
1891
- ],
1892
- ID: [
1893
- "H"
1894
- ],
1895
- IE: [
1896
- "H",
1897
- "h",
1898
- "hb",
1899
- "hB"
1900
- ],
1901
- IL: [
1902
- "H",
1903
- "hB"
1904
- ],
1905
- IM: [
1906
- "H",
1907
- "h",
1908
- "hb",
1909
- "hB"
1910
- ],
1911
- IN: [
1912
- "h",
1913
- "H"
1914
- ],
1915
- IO: [
1916
- "H",
1917
- "h",
1918
- "hb",
1919
- "hB"
1920
- ],
1921
- IQ: [
1922
- "h",
1923
- "hB",
1924
- "hb",
1925
- "H"
1926
- ],
1927
- IR: [
1928
- "hB",
1929
- "H"
1930
- ],
1931
- IS: [
1932
- "H"
1933
- ],
1934
- IT: [
1935
- "H",
1936
- "hB"
1937
- ],
1938
- JE: [
1939
- "H",
1940
- "h",
1941
- "hb",
1942
- "hB"
1943
- ],
1944
- JM: [
1945
- "h",
1946
- "hb",
1947
- "H",
1948
- "hB"
1949
- ],
1950
- JO: [
1951
- "h",
1952
- "hB",
1953
- "hb",
1954
- "H"
1955
- ],
1956
- JP: [
1957
- "H",
1958
- "K",
1959
- "h"
1960
- ],
1961
- KE: [
1962
- "hB",
1963
- "hb",
1964
- "H",
1965
- "h"
1966
- ],
1967
- KG: [
1968
- "H",
1969
- "h",
1970
- "hB",
1971
- "hb"
1972
- ],
1973
- KH: [
1974
- "hB",
1975
- "h",
1976
- "H",
1977
- "hb"
1978
- ],
1979
- KI: [
1980
- "h",
1981
- "hb",
1982
- "H",
1983
- "hB"
1984
- ],
1985
- KM: [
1986
- "H",
1987
- "h",
1988
- "hB",
1989
- "hb"
1990
- ],
1991
- KN: [
1992
- "h",
1993
- "hb",
1994
- "H",
1995
- "hB"
1996
- ],
1997
- KP: [
1998
- "h",
1999
- "H",
2000
- "hB",
2001
- "hb"
2002
- ],
2003
- KR: [
2004
- "h",
2005
- "H",
2006
- "hB",
2007
- "hb"
2008
- ],
2009
- KW: [
2010
- "h",
2011
- "hB",
2012
- "hb",
2013
- "H"
2014
- ],
2015
- KY: [
2016
- "h",
2017
- "hb",
2018
- "H",
2019
- "hB"
2020
- ],
2021
- KZ: [
2022
- "H",
2023
- "hB"
2024
- ],
2025
- LA: [
2026
- "H",
2027
- "hb",
2028
- "hB",
2029
- "h"
2030
- ],
2031
- LB: [
2032
- "h",
2033
- "hB",
2034
- "hb",
2035
- "H"
2036
- ],
2037
- LC: [
2038
- "h",
2039
- "hb",
2040
- "H",
2041
- "hB"
2042
- ],
2043
- LI: [
2044
- "H",
2045
- "hB",
2046
- "h"
2047
- ],
2048
- LK: [
2049
- "H",
2050
- "h",
2051
- "hB",
2052
- "hb"
2053
- ],
2054
- LR: [
2055
- "h",
2056
- "hb",
2057
- "H",
2058
- "hB"
2059
- ],
2060
- LS: [
2061
- "h",
2062
- "H"
2063
- ],
2064
- LT: [
2065
- "H",
2066
- "h",
2067
- "hb",
2068
- "hB"
2069
- ],
2070
- LU: [
2071
- "H",
2072
- "h",
2073
- "hB"
2074
- ],
2075
- LV: [
2076
- "H",
2077
- "hB",
2078
- "hb",
2079
- "h"
2080
- ],
2081
- LY: [
2082
- "h",
2083
- "hB",
2084
- "hb",
2085
- "H"
2086
- ],
2087
- MA: [
2088
- "H",
2089
- "h",
2090
- "hB",
2091
- "hb"
2092
- ],
2093
- MC: [
2094
- "H",
2095
- "hB"
2096
- ],
2097
- MD: [
2098
- "H",
2099
- "hB"
2100
- ],
2101
- ME: [
2102
- "H",
2103
- "hB",
2104
- "h"
2105
- ],
2106
- MF: [
2107
- "H",
2108
- "hB"
2109
- ],
2110
- MG: [
2111
- "H",
2112
- "h"
2113
- ],
2114
- MH: [
2115
- "h",
2116
- "hb",
2117
- "H",
2118
- "hB"
2119
- ],
2120
- MK: [
2121
- "H",
2122
- "h",
2123
- "hb",
2124
- "hB"
2125
- ],
2126
- ML: [
2127
- "H"
2128
- ],
2129
- MM: [
2130
- "hB",
2131
- "hb",
2132
- "H",
2133
- "h"
2134
- ],
2135
- MN: [
2136
- "H",
2137
- "h",
2138
- "hb",
2139
- "hB"
2140
- ],
2141
- MO: [
2142
- "h",
2143
- "hB",
2144
- "hb",
2145
- "H"
2146
- ],
2147
- MP: [
2148
- "h",
2149
- "hb",
2150
- "H",
2151
- "hB"
2152
- ],
2153
- MQ: [
2154
- "H",
2155
- "hB"
2156
- ],
2157
- MR: [
2158
- "h",
2159
- "hB",
2160
- "hb",
2161
- "H"
2162
- ],
2163
- MS: [
2164
- "H",
2165
- "h",
2166
- "hb",
2167
- "hB"
2168
- ],
2169
- MT: [
2170
- "H",
2171
- "h"
2172
- ],
2173
- MU: [
2174
- "H",
2175
- "h"
2176
- ],
2177
- MV: [
2178
- "H",
2179
- "h"
2180
- ],
2181
- MW: [
2182
- "h",
2183
- "hb",
2184
- "H",
2185
- "hB"
2186
- ],
2187
- MX: [
2188
- "h",
2189
- "H",
2190
- "hB",
2191
- "hb"
2192
- ],
2193
- MY: [
2194
- "hb",
2195
- "hB",
2196
- "h",
2197
- "H"
2198
- ],
2199
- MZ: [
2200
- "H",
2201
- "hB"
2202
- ],
2203
- NA: [
2204
- "h",
2205
- "H",
2206
- "hB",
2207
- "hb"
2208
- ],
2209
- NC: [
2210
- "H",
2211
- "hB"
2212
- ],
2213
- NE: [
2214
- "H"
2215
- ],
2216
- NF: [
2217
- "H",
2218
- "h",
2219
- "hb",
2220
- "hB"
2221
- ],
2222
- NG: [
2223
- "H",
2224
- "h",
2225
- "hb",
2226
- "hB"
2227
- ],
2228
- NI: [
2229
- "h",
2230
- "H",
2231
- "hB",
2232
- "hb"
2233
- ],
2234
- NL: [
2235
- "H",
2236
- "hB"
2237
- ],
2238
- NO: [
2239
- "H",
2240
- "h"
2241
- ],
2242
- NP: [
2243
- "H",
2244
- "h",
2245
- "hB"
2246
- ],
2247
- NR: [
2248
- "H",
2249
- "h",
2250
- "hb",
2251
- "hB"
2252
- ],
2253
- NU: [
2254
- "H",
2255
- "h",
2256
- "hb",
2257
- "hB"
2258
- ],
2259
- NZ: [
2260
- "h",
2261
- "hb",
2262
- "H",
2263
- "hB"
2264
- ],
2265
- OM: [
2266
- "h",
2267
- "hB",
2268
- "hb",
2269
- "H"
2270
- ],
2271
- PA: [
2272
- "h",
2273
- "H",
2274
- "hB",
2275
- "hb"
2276
- ],
2277
- PE: [
2278
- "h",
2279
- "H",
2280
- "hB",
2281
- "hb"
2282
- ],
2283
- PF: [
2284
- "H",
2285
- "h",
2286
- "hB"
2287
- ],
2288
- PG: [
2289
- "h",
2290
- "H"
2291
- ],
2292
- PH: [
2293
- "h",
2294
- "hB",
2295
- "hb",
2296
- "H"
2297
- ],
2298
- PK: [
2299
- "h",
2300
- "hB",
2301
- "H"
2302
- ],
2303
- PL: [
2304
- "H",
2305
- "h"
2306
- ],
2307
- PM: [
2308
- "H",
2309
- "hB"
2310
- ],
2311
- PN: [
2312
- "H",
2313
- "h",
2314
- "hb",
2315
- "hB"
2316
- ],
2317
- PR: [
2318
- "h",
2319
- "H",
2320
- "hB",
2321
- "hb"
2322
- ],
2323
- PS: [
2324
- "h",
2325
- "hB",
2326
- "hb",
2327
- "H"
2328
- ],
2329
- PT: [
2330
- "H",
2331
- "hB"
2332
- ],
2333
- PW: [
2334
- "h",
2335
- "H"
2336
- ],
2337
- PY: [
2338
- "h",
2339
- "H",
2340
- "hB",
2341
- "hb"
2342
- ],
2343
- QA: [
2344
- "h",
2345
- "hB",
2346
- "hb",
2347
- "H"
2348
- ],
2349
- RE: [
2350
- "H",
2351
- "hB"
2352
- ],
2353
- RO: [
2354
- "H",
2355
- "hB"
2356
- ],
2357
- RS: [
2358
- "H",
2359
- "hB",
2360
- "h"
2361
- ],
2362
- RU: [
2363
- "H"
2364
- ],
2365
- RW: [
2366
- "H",
2367
- "h"
2368
- ],
2369
- SA: [
2370
- "h",
2371
- "hB",
2372
- "hb",
2373
- "H"
2374
- ],
2375
- SB: [
2376
- "h",
2377
- "hb",
2378
- "H",
2379
- "hB"
2380
- ],
2381
- SC: [
2382
- "H",
2383
- "h",
2384
- "hB"
2385
- ],
2386
- SD: [
2387
- "h",
2388
- "hB",
2389
- "hb",
2390
- "H"
2391
- ],
2392
- SE: [
2393
- "H"
2394
- ],
2395
- SG: [
2396
- "h",
2397
- "hb",
2398
- "H",
2399
- "hB"
2400
- ],
2401
- SH: [
2402
- "H",
2403
- "h",
2404
- "hb",
2405
- "hB"
2406
- ],
2407
- SI: [
2408
- "H",
2409
- "hB"
2410
- ],
2411
- SJ: [
2412
- "H"
2413
- ],
2414
- SK: [
2415
- "H"
2416
- ],
2417
- SL: [
2418
- "h",
2419
- "hb",
2420
- "H",
2421
- "hB"
2422
- ],
2423
- SM: [
2424
- "H",
2425
- "h",
2426
- "hB"
2427
- ],
2428
- SN: [
2429
- "H",
2430
- "h",
2431
- "hB"
2432
- ],
2433
- SO: [
2434
- "h",
2435
- "H"
2436
- ],
2437
- SR: [
2438
- "H",
2439
- "hB"
2440
- ],
2441
- SS: [
2442
- "h",
2443
- "hb",
2444
- "H",
2445
- "hB"
2446
- ],
2447
- ST: [
2448
- "H",
2449
- "hB"
2450
- ],
2451
- SV: [
2452
- "h",
2453
- "H",
2454
- "hB",
2455
- "hb"
2456
- ],
2457
- SX: [
2458
- "H",
2459
- "h",
2460
- "hb",
2461
- "hB"
2462
- ],
2463
- SY: [
2464
- "h",
2465
- "hB",
2466
- "hb",
2467
- "H"
2468
- ],
2469
- SZ: [
2470
- "h",
2471
- "hb",
2472
- "H",
2473
- "hB"
2474
- ],
2475
- TA: [
2476
- "H",
2477
- "h",
2478
- "hb",
2479
- "hB"
2480
- ],
2481
- TC: [
2482
- "h",
2483
- "hb",
2484
- "H",
2485
- "hB"
2486
- ],
2487
- TD: [
2488
- "h",
2489
- "H",
2490
- "hB"
2491
- ],
2492
- TF: [
2493
- "H",
2494
- "h",
2495
- "hB"
2496
- ],
2497
- TG: [
2498
- "H",
2499
- "hB"
2500
- ],
2501
- TH: [
2502
- "H",
2503
- "h"
2504
- ],
2505
- TJ: [
2506
- "H",
2507
- "h"
2508
- ],
2509
- TL: [
2510
- "H",
2511
- "hB",
2512
- "hb",
2513
- "h"
2514
- ],
2515
- TM: [
2516
- "H",
2517
- "h"
2518
- ],
2519
- TN: [
2520
- "h",
2521
- "hB",
2522
- "hb",
2523
- "H"
2524
- ],
2525
- TO: [
2526
- "h",
2527
- "H"
2528
- ],
2529
- TR: [
2530
- "H",
2531
- "hB"
2532
- ],
2533
- TT: [
2534
- "h",
2535
- "hb",
2536
- "H",
2537
- "hB"
2538
- ],
2539
- TW: [
2540
- "hB",
2541
- "hb",
2542
- "h",
2543
- "H"
2544
- ],
2545
- TZ: [
2546
- "hB",
2547
- "hb",
2548
- "H",
2549
- "h"
2550
- ],
2551
- UA: [
2552
- "H",
2553
- "hB",
2554
- "h"
2555
- ],
2556
- UG: [
2557
- "hB",
2558
- "hb",
2559
- "H",
2560
- "h"
2561
- ],
2562
- UM: [
2563
- "h",
2564
- "hb",
2565
- "H",
2566
- "hB"
2567
- ],
2568
- US: [
2569
- "h",
2570
- "hb",
2571
- "H",
2572
- "hB"
2573
- ],
2574
- UY: [
2575
- "h",
2576
- "H",
2577
- "hB",
2578
- "hb"
2579
- ],
2580
- UZ: [
2581
- "H",
2582
- "hB",
2583
- "h"
2584
- ],
2585
- VA: [
2586
- "H",
2587
- "h",
2588
- "hB"
2589
- ],
2590
- VC: [
2591
- "h",
2592
- "hb",
2593
- "H",
2594
- "hB"
2595
- ],
2596
- VE: [
2597
- "h",
2598
- "H",
2599
- "hB",
2600
- "hb"
2601
- ],
2602
- VG: [
2603
- "h",
2604
- "hb",
2605
- "H",
2606
- "hB"
2607
- ],
2608
- VI: [
2609
- "h",
2610
- "hb",
2611
- "H",
2612
- "hB"
2613
- ],
2614
- VN: [
2615
- "H",
2616
- "h"
2617
- ],
2618
- VU: [
2619
- "h",
2620
- "H"
2621
- ],
2622
- WF: [
2623
- "H",
2624
- "hB"
2625
- ],
2626
- WS: [
2627
- "h",
2628
- "H"
2629
- ],
2630
- XK: [
2631
- "H",
2632
- "hB",
2633
- "h"
2634
- ],
2635
- YE: [
2636
- "h",
2637
- "hB",
2638
- "hb",
2639
- "H"
2640
- ],
2641
- YT: [
2642
- "H",
2643
- "hB"
2644
- ],
2645
- ZA: [
2646
- "H",
2647
- "h",
2648
- "hb",
2649
- "hB"
2650
- ],
2651
- ZM: [
2652
- "h",
2653
- "hb",
2654
- "H",
2655
- "hB"
2656
- ],
2657
- ZW: [
2658
- "H",
2659
- "h"
2660
- ],
2661
- "af-ZA": [
2662
- "H",
2663
- "h",
2664
- "hB",
2665
- "hb"
2666
- ],
2667
- "ar-001": [
2668
- "h",
2669
- "hB",
2670
- "hb",
2671
- "H"
2672
- ],
2673
- "ca-ES": [
2674
- "H",
2675
- "h",
2676
- "hB"
2677
- ],
2678
- "en-001": [
2679
- "h",
2680
- "hb",
2681
- "H",
2682
- "hB"
2683
- ],
2684
- "en-HK": [
2685
- "h",
2686
- "hb",
2687
- "H",
2688
- "hB"
2689
- ],
2690
- "en-IL": [
2691
- "H",
2692
- "h",
2693
- "hb",
2694
- "hB"
2695
- ],
2696
- "en-MY": [
2697
- "h",
2698
- "hb",
2699
- "H",
2700
- "hB"
2701
- ],
2702
- "es-BR": [
2703
- "H",
2704
- "h",
2705
- "hB",
2706
- "hb"
2707
- ],
2708
- "es-ES": [
2709
- "H",
2710
- "h",
2711
- "hB",
2712
- "hb"
2713
- ],
2714
- "es-GQ": [
2715
- "H",
2716
- "h",
2717
- "hB",
2718
- "hb"
2719
- ],
2720
- "fr-CA": [
2721
- "H",
2722
- "h",
2723
- "hB"
2724
- ],
2725
- "gl-ES": [
2726
- "H",
2727
- "h",
2728
- "hB"
2729
- ],
2730
- "gu-IN": [
2731
- "hB",
2732
- "hb",
2733
- "h",
2734
- "H"
2735
- ],
2736
- "hi-IN": [
2737
- "hB",
2738
- "h",
2739
- "H"
2740
- ],
2741
- "it-CH": [
2742
- "H",
2743
- "h",
2744
- "hB"
2745
- ],
2746
- "it-IT": [
2747
- "H",
2748
- "h",
2749
- "hB"
2750
- ],
2751
- "kn-IN": [
2752
- "hB",
2753
- "h",
2754
- "H"
2755
- ],
2756
- "ml-IN": [
2757
- "hB",
2758
- "h",
2759
- "H"
2760
- ],
2761
- "mr-IN": [
2762
- "hB",
2763
- "hb",
2764
- "h",
2765
- "H"
2766
- ],
2767
- "pa-IN": [
2768
- "hB",
2769
- "hb",
2770
- "h",
2771
- "H"
2772
- ],
2773
- "ta-IN": [
2774
- "hB",
2775
- "h",
2776
- "hb",
2777
- "H"
2778
- ],
2779
- "te-IN": [
2780
- "hB",
2781
- "h",
2782
- "H"
2783
- ],
2784
- "zu-ZA": [
2785
- "H",
2786
- "hB",
2787
- "hb",
2788
- "h"
2789
- ]
2790
- };
2791
- function Bn(e, t) {
2792
- for (var r = "", n = 0; n < e.length; n++) {
2793
- var i = e.charAt(n);
2794
- if (i === "j") {
2795
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2796
- s++, n++;
2797
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Pn(t);
2798
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2799
- r += h;
2800
- for (; o-- > 0; )
2801
- r = u + r;
2802
- } else
2803
- i === "J" ? r += "H" : r += i;
2804
- }
2805
- return r;
2806
- }
2807
- function Pn(e) {
2808
- var t = e.hourCycle;
2809
- if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2810
- e.hourCycles && // @ts-ignore
2811
- e.hourCycles.length && (t = e.hourCycles[0]), t)
2812
- switch (t) {
2813
- case "h24":
2814
- return "k";
2815
- case "h23":
2816
- return "H";
2817
- case "h12":
2818
- return "h";
2819
- case "h11":
2820
- return "K";
2821
- default:
2822
- throw new Error("Invalid hourCycle");
2823
- }
2824
- var r = e.language, n;
2825
- r !== "root" && (n = e.maximize().region);
2826
- var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
2827
- return i[0];
2828
- }
2829
- var je, On = new RegExp("^".concat(or.source, "*")), Cn = new RegExp("".concat(or.source, "*$"));
2830
- function v(e, t) {
2831
- return { start: e, end: t };
2832
- }
2833
- var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Mn = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, kn = Dn ? Number.isSafeInteger : function(e) {
2834
- return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2835
- }, Ke = !0;
2836
- try {
2837
- var Un = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2838
- Ke = ((je = Un.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
2839
- } catch {
2840
- Ke = !1;
2841
- }
2842
- var yt = In ? (
2843
- // Native
2844
- function(t, r, n) {
2845
- return t.startsWith(r, n);
2846
- }
2847
- ) : (
2848
- // For IE11
2849
- function(t, r, n) {
2850
- return t.slice(n, n + r.length) === r;
2851
- }
2852
- ), et = Ln ? String.fromCodePoint : (
2853
- // IE11
2854
- function() {
2855
- for (var t = [], r = 0; r < arguments.length; r++)
2856
- t[r] = arguments[r];
2857
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2858
- if (o = t[s++], o > 1114111)
2859
- throw RangeError(o + " is not a valid code point");
2860
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2861
- }
2862
- return n;
2863
- }
2864
- ), _t = (
2865
- // native
2866
- Mn ? Object.fromEntries : (
2867
- // Ponyfill
2868
- function(t) {
2869
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2870
- var s = i[n], o = s[0], a = s[1];
2871
- r[o] = a;
2872
- }
2873
- return r;
2874
- }
2875
- )
2876
- ), hr = Nn ? (
2877
- // Native
2878
- function(t, r) {
2879
- return t.codePointAt(r);
2880
- }
2881
- ) : (
2882
- // IE 11
2883
- function(t, r) {
2884
- var n = t.length;
2885
- if (!(r < 0 || r >= n)) {
2886
- var i = t.charCodeAt(r), s;
2887
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2888
- }
2889
- }
2890
- ), Gn = $n ? (
2891
- // Native
2892
- function(t) {
2893
- return t.trimStart();
2894
- }
2895
- ) : (
2896
- // Ponyfill
2897
- function(t) {
2898
- return t.replace(On, "");
2899
- }
2900
- ), Fn = Rn ? (
2901
- // Native
2902
- function(t) {
2903
- return t.trimEnd();
2904
- }
2905
- ) : (
2906
- // Ponyfill
2907
- function(t) {
2908
- return t.replace(Cn, "");
2909
- }
2910
- );
2911
- function cr(e, t) {
2912
- return new RegExp(e, t);
2913
- }
2914
- var tt;
2915
- if (Ke) {
2916
- var vt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2917
- tt = function(t, r) {
2918
- var n;
2919
- vt.lastIndex = r;
2920
- var i = vt.exec(t);
2921
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2922
- };
2923
- } else
2924
- tt = function(t, r) {
2925
- for (var n = []; ; ) {
2926
- var i = hr(t, r);
2927
- if (i === void 0 || fr(i) || Xn(i))
2928
- break;
2929
- n.push(i), r += i >= 65536 ? 2 : 1;
2930
- }
2931
- return et.apply(void 0, n);
2932
- };
2933
- var zn = (
2934
- /** @class */
2935
- function() {
2936
- function e(t, r) {
2937
- 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;
2938
- }
2939
- return e.prototype.parse = function() {
2940
- if (this.offset() !== 0)
2941
- throw Error("parser can only be used once");
2942
- return this.parseMessage(0, "", !1);
2943
- }, e.prototype.parseMessage = function(t, r, n) {
2944
- for (var i = []; !this.isEOF(); ) {
2945
- var s = this.char();
2946
- if (s === 123) {
2947
- var o = this.parseArgument(t, n);
2948
- if (o.err)
2949
- return o;
2950
- i.push(o.val);
2951
- } else {
2952
- if (s === 125 && t > 0)
2953
- break;
2954
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
2955
- var a = this.clonePosition();
2956
- this.bump(), i.push({
2957
- type: x.pound,
2958
- location: v(a, this.clonePosition())
2959
- });
2960
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2961
- if (n)
2962
- break;
2963
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2964
- } else if (s === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
2965
- var o = this.parseTag(t, r);
2966
- if (o.err)
2967
- return o;
2968
- i.push(o.val);
2969
- } else {
2970
- var o = this.parseLiteral(t, r);
2971
- if (o.err)
2972
- return o;
2973
- i.push(o.val);
2974
- }
2975
- }
2976
- }
2977
- return { val: i, err: null };
2978
- }, e.prototype.parseTag = function(t, r) {
2979
- var n = this.clonePosition();
2980
- this.bump();
2981
- var i = this.parseTagName();
2982
- if (this.bumpSpace(), this.bumpIf("/>"))
2983
- return {
2984
- val: {
2985
- type: x.literal,
2986
- value: "<".concat(i, "/>"),
2987
- location: v(n, this.clonePosition())
2988
- },
2989
- err: null
2990
- };
2991
- if (this.bumpIf(">")) {
2992
- var s = this.parseMessage(t + 1, r, !0);
2993
- if (s.err)
2994
- return s;
2995
- var o = s.val, a = this.clonePosition();
2996
- if (this.bumpIf("</")) {
2997
- if (this.isEOF() || !rt(this.char()))
2998
- return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2999
- var h = this.clonePosition(), u = this.parseTagName();
3000
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3001
- val: {
3002
- type: x.tag,
3003
- value: i,
3004
- children: o,
3005
- location: v(n, this.clonePosition())
3006
- },
3007
- err: null
3008
- } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3009
- } else
3010
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3011
- } else
3012
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3013
- }, e.prototype.parseTagName = function() {
3014
- var t = this.offset();
3015
- for (this.bump(); !this.isEOF() && Vn(this.char()); )
3016
- this.bump();
3017
- return this.message.slice(t, this.offset());
3018
- }, e.prototype.parseLiteral = function(t, r) {
3019
- for (var n = this.clonePosition(), i = ""; ; ) {
3020
- var s = this.tryParseQuote(r);
3021
- if (s) {
3022
- i += s;
3023
- continue;
3024
- }
3025
- var o = this.tryParseUnquoted(t, r);
3026
- if (o) {
3027
- i += o;
3028
- continue;
3029
- }
3030
- var a = this.tryParseLeftAngleBracket();
3031
- if (a) {
3032
- i += a;
3033
- continue;
3034
- }
3035
- break;
3036
- }
3037
- var h = v(n, this.clonePosition());
3038
- return {
3039
- val: { type: x.literal, value: i, location: h },
3040
- err: null
3041
- };
3042
- }, e.prototype.tryParseLeftAngleBracket = function() {
3043
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3044
- !jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3045
- }, e.prototype.tryParseQuote = function(t) {
3046
- if (this.isEOF() || this.char() !== 39)
3047
- return null;
3048
- switch (this.peek()) {
3049
- case 39:
3050
- return this.bump(), this.bump(), "'";
3051
- case 123:
3052
- case 60:
3053
- case 62:
3054
- case 125:
3055
- break;
3056
- case 35:
3057
- if (t === "plural" || t === "selectordinal")
3058
- break;
3059
- return null;
3060
- default:
3061
- return null;
3062
- }
3063
- this.bump();
3064
- var r = [this.char()];
3065
- for (this.bump(); !this.isEOF(); ) {
3066
- var n = this.char();
3067
- if (n === 39)
3068
- if (this.peek() === 39)
3069
- r.push(39), this.bump();
3070
- else {
3071
- this.bump();
3072
- break;
3073
- }
3074
- else
3075
- r.push(n);
3076
- this.bump();
3077
- }
3078
- return et.apply(void 0, r);
3079
- }, e.prototype.tryParseUnquoted = function(t, r) {
3080
- if (this.isEOF())
3081
- return null;
3082
- var n = this.char();
3083
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
3084
- }, e.prototype.parseArgument = function(t, r) {
3085
- var n = this.clonePosition();
3086
- if (this.bump(), this.bumpSpace(), this.isEOF())
3087
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3088
- if (this.char() === 125)
3089
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3090
- var i = this.parseIdentifierIfPossible().value;
3091
- if (!i)
3092
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3093
- if (this.bumpSpace(), this.isEOF())
3094
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3095
- switch (this.char()) {
3096
- case 125:
3097
- return this.bump(), {
3098
- val: {
3099
- type: x.argument,
3100
- // value does not include the opening and closing braces.
3101
- value: i,
3102
- location: v(n, this.clonePosition())
3103
- },
3104
- err: null
3105
- };
3106
- case 44:
3107
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3108
- default:
3109
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3110
- }
3111
- }, e.prototype.parseIdentifierIfPossible = function() {
3112
- var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
3113
- this.bumpTo(i);
3114
- var s = this.clonePosition(), o = v(t, s);
3115
- return { value: n, location: o };
3116
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3117
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3118
- switch (a) {
3119
- case "":
3120
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, h));
3121
- case "number":
3122
- case "date":
3123
- case "time": {
3124
- this.bumpSpace();
3125
- var u = null;
3126
- if (this.bumpIf(",")) {
3127
- this.bumpSpace();
3128
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3129
- if (c.err)
3130
- return c;
3131
- var m = Fn(c.val);
3132
- if (m.length === 0)
3133
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3134
- var d = v(l, this.clonePosition());
3135
- u = { style: m, styleLocation: d };
3136
- }
3137
- var p = this.tryParseArgumentClose(i);
3138
- if (p.err)
3139
- return p;
3140
- var b = v(i, this.clonePosition());
3141
- if (u && yt(u?.style, "::", 0)) {
3142
- var E = Gn(u.style.slice(2));
3143
- if (a === "number") {
3144
- var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3145
- return c.err ? c : {
3146
- val: { type: x.number, value: n, location: b, style: c.val },
3147
- err: null
3148
- };
3149
- } else {
3150
- if (E.length === 0)
3151
- return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3152
- var _ = E;
3153
- this.locale && (_ = Bn(E, this.locale));
3154
- var m = {
3155
- type: Z.dateTime,
3156
- pattern: _,
3157
- location: u.styleLocation,
3158
- parsedOptions: this.shouldParseSkeletons ? En(_) : {}
3159
- }, f = a === "date" ? x.date : x.time;
3160
- return {
3161
- val: { type: f, value: n, location: b, style: m },
3162
- err: null
3163
- };
3164
- }
3165
- }
3166
- return {
3167
- val: {
3168
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3169
- value: n,
3170
- location: b,
3171
- style: (s = u?.style) !== null && s !== void 0 ? s : null
3172
- },
3173
- err: null
3174
- };
3175
- }
3176
- case "plural":
3177
- case "selectordinal":
3178
- case "select": {
3179
- var g = this.clonePosition();
3180
- if (this.bumpSpace(), !this.bumpIf(","))
3181
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(g, Oe({}, g)));
3182
- this.bumpSpace();
3183
- var S = this.parseIdentifierIfPossible(), B = 0;
3184
- if (a !== "select" && S.value === "offset") {
3185
- if (!this.bumpIf(":"))
3186
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3187
- this.bumpSpace();
3188
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3189
- if (c.err)
3190
- return c;
3191
- this.bumpSpace(), S = this.parseIdentifierIfPossible(), B = c.val;
3192
- }
3193
- var $ = this.tryParsePluralOrSelectOptions(t, a, r, S);
3194
- if ($.err)
3195
- return $;
3196
- var p = this.tryParseArgumentClose(i);
3197
- if (p.err)
3198
- return p;
3199
- var T = v(i, this.clonePosition());
3200
- return a === "select" ? {
3201
- val: {
3202
- type: x.select,
3203
- value: n,
3204
- options: _t($.val),
3205
- location: T
3206
- },
3207
- err: null
3208
- } : {
3209
- val: {
3210
- type: x.plural,
3211
- value: n,
3212
- options: _t($.val),
3213
- offset: B,
3214
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3215
- location: T
3216
- },
3217
- err: null
3218
- };
3219
- }
3220
- default:
3221
- return this.error(y.INVALID_ARGUMENT_TYPE, v(o, h));
3222
- }
3223
- }, e.prototype.tryParseArgumentClose = function(t) {
3224
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3225
- }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3226
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3227
- var n = this.char();
3228
- switch (n) {
3229
- case 39: {
3230
- this.bump();
3231
- var i = this.clonePosition();
3232
- if (!this.bumpUntil("'"))
3233
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3234
- this.bump();
3235
- break;
3236
- }
3237
- case 123: {
3238
- t += 1, this.bump();
3239
- break;
3240
- }
3241
- case 125: {
3242
- if (t > 0)
3243
- t -= 1;
3244
- else
3245
- return {
3246
- val: this.message.slice(r.offset, this.offset()),
3247
- err: null
3248
- };
3249
- break;
3250
- }
3251
- default:
3252
- this.bump();
3253
- break;
3254
- }
3255
- }
3256
- return {
3257
- val: this.message.slice(r.offset, this.offset()),
3258
- err: null
3259
- };
3260
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3261
- var n = [];
3262
- try {
3263
- n = wn(t);
3264
- } catch {
3265
- return this.error(y.INVALID_NUMBER_SKELETON, r);
3266
- }
3267
- return {
3268
- val: {
3269
- type: Z.number,
3270
- tokens: n,
3271
- location: r,
3272
- parsedOptions: this.shouldParseSkeletons ? An(n) : {}
3273
- },
3274
- err: null
3275
- };
3276
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3277
- for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3278
- if (u.length === 0) {
3279
- var c = this.clonePosition();
3280
- if (r !== "select" && this.bumpIf("=")) {
3281
- var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3282
- if (m.err)
3283
- return m;
3284
- l = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3285
- } else
3286
- break;
3287
- }
3288
- if (h.has(u))
3289
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3290
- u === "other" && (o = !0), this.bumpSpace();
3291
- var d = this.clonePosition();
3292
- if (!this.bumpIf("{"))
3293
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3294
- var p = this.parseMessage(t + 1, r, n);
3295
- if (p.err)
3296
- return p;
3297
- var b = this.tryParseArgumentClose(d);
3298
- if (b.err)
3299
- return b;
3300
- a.push([
3301
- u,
3302
- {
3303
- value: p.val,
3304
- location: v(d, this.clonePosition())
3305
- }
3306
- ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3307
- }
3308
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3309
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3310
- var n = 1, i = this.clonePosition();
3311
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3312
- for (var s = !1, o = 0; !this.isEOF(); ) {
3313
- var a = this.char();
3314
- if (a >= 48 && a <= 57)
3315
- s = !0, o = o * 10 + (a - 48), this.bump();
3316
- else
3317
- break;
3318
- }
3319
- var h = v(i, this.clonePosition());
3320
- return s ? (o *= n, kn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3321
- }, e.prototype.offset = function() {
3322
- return this.position.offset;
3323
- }, e.prototype.isEOF = function() {
3324
- return this.offset() === this.message.length;
3325
- }, e.prototype.clonePosition = function() {
3326
- return {
3327
- offset: this.position.offset,
3328
- line: this.position.line,
3329
- column: this.position.column
3330
- };
3331
- }, e.prototype.char = function() {
3332
- var t = this.position.offset;
3333
- if (t >= this.message.length)
3334
- throw Error("out of bound");
3335
- var r = hr(this.message, t);
3336
- if (r === void 0)
3337
- throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3338
- return r;
3339
- }, e.prototype.error = function(t, r) {
3340
- return {
3341
- val: null,
3342
- err: {
3343
- kind: t,
3344
- message: this.message,
3345
- location: r
3346
- }
3347
- };
3348
- }, e.prototype.bump = function() {
3349
- if (!this.isEOF()) {
3350
- var t = this.char();
3351
- 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);
3352
- }
3353
- }, e.prototype.bumpIf = function(t) {
3354
- if (yt(this.message, t, this.offset())) {
3355
- for (var r = 0; r < t.length; r++)
3356
- this.bump();
3357
- return !0;
3358
- }
3359
- return !1;
3360
- }, e.prototype.bumpUntil = function(t) {
3361
- var r = this.offset(), n = this.message.indexOf(t, r);
3362
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3363
- }, e.prototype.bumpTo = function(t) {
3364
- if (this.offset() > t)
3365
- throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3366
- for (t = Math.min(t, this.message.length); ; ) {
3367
- var r = this.offset();
3368
- if (r === t)
3369
- break;
3370
- if (r > t)
3371
- throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3372
- if (this.bump(), this.isEOF())
3373
- break;
3374
- }
3375
- }, e.prototype.bumpSpace = function() {
3376
- for (; !this.isEOF() && fr(this.char()); )
3377
- this.bump();
3378
- }, e.prototype.peek = function() {
3379
- if (this.isEOF())
3380
- return null;
3381
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3382
- return n ?? null;
3383
- }, e;
3384
- }()
3385
- );
3386
- function rt(e) {
3387
- return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3388
- }
3389
- function jn(e) {
3390
- return rt(e) || e === 47;
3391
- }
3392
- function Vn(e) {
3393
- 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;
3394
- }
3395
- function fr(e) {
3396
- return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3397
- }
3398
- function Xn(e) {
3399
- 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;
3400
- }
3401
- function nt(e) {
3402
- e.forEach(function(t) {
3403
- if (delete t.location, rr(t) || nr(t))
3404
- for (var r in t.options)
3405
- delete t.options[r].location, nt(t.options[r].value);
3406
- else
3407
- Kt(t) && sr(t.style) || (er(t) || tr(t)) && Ye(t.style) ? delete t.style.location : ir(t) && nt(t.children);
3408
- });
3409
- }
3410
- function Wn(e, t) {
3411
- t === void 0 && (t = {}), t = Oe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3412
- var r = new zn(e, t).parse();
3413
- if (r.err) {
3414
- var n = SyntaxError(y[r.err.kind]);
3415
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3416
- }
3417
- return t?.captureLocation || nt(r.val), r.val;
3418
- }
3419
- var Q;
3420
- (function(e) {
3421
- e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3422
- })(Q || (Q = {}));
3423
- var Re = (
3424
- /** @class */
3425
- function(e) {
3426
- $e(t, e);
3427
- function t(r, n, i) {
3428
- var s = e.call(this, r) || this;
3429
- return s.code = n, s.originalMessage = i, s;
3430
- }
3431
- return t.prototype.toString = function() {
3432
- return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3433
- }, t;
3434
- }(Error)
3435
- ), Et = (
3436
- /** @class */
3437
- function(e) {
3438
- $e(t, e);
3439
- function t(r, n, i, s) {
3440
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, s) || this;
3441
- }
3442
- return t;
3443
- }(Re)
3444
- ), qn = (
3445
- /** @class */
3446
- function(e) {
3447
- $e(t, e);
3448
- function t(r, n, i) {
3449
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3450
- }
3451
- return t;
3452
- }(Re)
3453
- ), Jn = (
3454
- /** @class */
3455
- function(e) {
3456
- $e(t, e);
3457
- function t(r, n) {
3458
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3459
- }
3460
- return t;
3461
- }(Re)
3462
- ), H;
3463
- (function(e) {
3464
- e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3465
- })(H || (H = {}));
3466
- function Zn(e) {
3467
- return e.length < 2 ? e : e.reduce(function(t, r) {
3468
- var n = t[t.length - 1];
3469
- return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3470
- }, []);
3471
- }
3472
- function Qn(e) {
3473
- return typeof e == "function";
3474
- }
3475
- function He(e, t, r, n, i, s, o) {
3476
- if (e.length === 1 && dt(e[0]))
3477
- return [
3478
- {
3479
- type: H.literal,
3480
- value: e[0].value
3481
- }
3482
- ];
3483
- for (var a = [], h = 0, u = e; h < u.length; h++) {
3484
- var l = u[h];
3485
- if (dt(l)) {
3486
- a.push({
3487
- type: H.literal,
3488
- value: l.value
3489
- });
3490
- continue;
3491
- }
3492
- if (_n(l)) {
3493
- typeof s == "number" && a.push({
3494
- type: H.literal,
3495
- value: r.getNumberFormat(t).format(s)
3496
- });
3497
- continue;
3498
- }
3499
- var c = l.value;
3500
- if (!(i && c in i))
3501
- throw new Jn(c, o);
3502
- var m = i[c];
3503
- if (yn(l)) {
3504
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3505
- type: typeof m == "string" ? H.literal : H.object,
3506
- value: m
3507
- });
3508
- continue;
3509
- }
3510
- if (er(l)) {
3511
- var d = typeof l.style == "string" ? n.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3512
- a.push({
3513
- type: H.literal,
3514
- value: r.getDateTimeFormat(t, d).format(m)
3515
- });
3516
- continue;
3517
- }
3518
- if (tr(l)) {
3519
- var d = typeof l.style == "string" ? n.time[l.style] : Ye(l.style) ? l.style.parsedOptions : n.time.medium;
3520
- a.push({
3521
- type: H.literal,
3522
- value: r.getDateTimeFormat(t, d).format(m)
3523
- });
3524
- continue;
3525
- }
3526
- if (Kt(l)) {
3527
- var d = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3528
- d && d.scale && (m = m * (d.scale || 1)), a.push({
3529
- type: H.literal,
3530
- value: r.getNumberFormat(t, d).format(m)
3531
- });
3532
- continue;
3533
- }
3534
- if (ir(l)) {
3535
- var p = l.children, b = l.value, E = i[b];
3536
- if (!Qn(E))
3537
- throw new qn(b, "function", o);
3538
- var _ = He(p, t, r, n, i, s), f = E(_.map(function(B) {
3539
- return B.value;
3540
- }));
3541
- Array.isArray(f) || (f = [f]), a.push.apply(a, f.map(function(B) {
3542
- return {
3543
- type: typeof B == "string" ? H.literal : H.object,
3544
- value: B
3545
- };
3546
- }));
3547
- }
3548
- if (rr(l)) {
3549
- var g = l.options[m] || l.options.other;
3550
- if (!g)
3551
- throw new Et(l.value, m, Object.keys(l.options), o);
3552
- a.push.apply(a, He(g.value, t, r, n, i));
3553
- continue;
3554
- }
3555
- if (nr(l)) {
3556
- var g = l.options["=".concat(m)];
3557
- if (!g) {
3558
- if (!Intl.PluralRules)
3559
- throw new Re(`Intl.PluralRules is not available in this environment.
3560
- Try polyfilling it using "@formatjs/intl-pluralrules"
3561
- `, Q.MISSING_INTL_API, o);
3562
- var S = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3563
- g = l.options[S] || l.options.other;
3564
- }
3565
- if (!g)
3566
- throw new Et(l.value, m, Object.keys(l.options), o);
3567
- a.push.apply(a, He(g.value, t, r, n, i, m - (l.offset || 0)));
3568
- continue;
3569
- }
3570
- }
3571
- return Zn(a);
3572
- }
3573
- function Yn(e, t) {
3574
- return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3575
- return r[n] = C(C({}, e[n]), t[n] || {}), r;
3576
- }, {})) : e;
3577
- }
3578
- function Kn(e, t) {
3579
- return t ? Object.keys(e).reduce(function(r, n) {
3580
- return r[n] = Yn(e[n], t[n]), r;
3581
- }, C({}, e)) : e;
3582
- }
3583
- function Ve(e) {
3584
- return {
3585
- create: function() {
3586
- return {
3587
- get: function(t) {
3588
- return e[t];
3589
- },
3590
- set: function(t, r) {
3591
- e[t] = r;
3592
- }
3593
- };
3594
- }
3595
- };
3596
- }
3597
- function ei(e) {
3598
- return e === void 0 && (e = {
3599
- number: {},
3600
- dateTime: {},
3601
- pluralRules: {}
3602
- }), {
3603
- getNumberFormat: Fe(function() {
3604
- for (var t, r = [], n = 0; n < arguments.length; n++)
3605
- r[n] = arguments[n];
3606
- return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
3607
- }, {
3608
- cache: Ve(e.number),
3609
- strategy: ze.variadic
3610
- }),
3611
- getDateTimeFormat: Fe(function() {
3612
- for (var t, r = [], n = 0; n < arguments.length; n++)
3613
- r[n] = arguments[n];
3614
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
3615
- }, {
3616
- cache: Ve(e.dateTime),
3617
- strategy: ze.variadic
3618
- }),
3619
- getPluralRules: Fe(function() {
3620
- for (var t, r = [], n = 0; n < arguments.length; n++)
3621
- r[n] = arguments[n];
3622
- return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
3623
- }, {
3624
- cache: Ve(e.pluralRules),
3625
- strategy: ze.variadic
3626
- })
3627
- };
3628
- }
3629
- var mr = (
3630
- /** @class */
3631
- function() {
3632
- function e(t, r, n, i) {
3633
- r === void 0 && (r = e.defaultLocale);
3634
- var s = this;
3635
- if (this.formatterCache = {
3636
- number: {},
3637
- dateTime: {},
3638
- pluralRules: {}
3639
- }, this.format = function(h) {
3640
- var u = s.formatToParts(h);
3641
- if (u.length === 1)
3642
- return u[0].value;
3643
- var l = u.reduce(function(c, m) {
3644
- return !c.length || m.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3645
- }, []);
3646
- return l.length <= 1 ? l[0] || "" : l;
3647
- }, this.formatToParts = function(h) {
3648
- return He(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3649
- }, this.resolvedOptions = function() {
3650
- var h;
3651
- return {
3652
- locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3653
- };
3654
- }, this.getAst = function() {
3655
- return s.ast;
3656
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3657
- if (this.message = t, !e.__parse)
3658
- throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3659
- var o = i || {};
3660
- o.formatters;
3661
- var a = hn(o, ["formatters"]);
3662
- this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3663
- } else
3664
- this.ast = t;
3665
- if (!Array.isArray(this.ast))
3666
- throw new TypeError("A message must be provided as a String or AST.");
3667
- this.formats = Kn(e.formats, n), this.formatters = i && i.formatters || ei(this.formatterCache);
3668
- }
3669
- return Object.defineProperty(e, "defaultLocale", {
3670
- get: function() {
3671
- return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
3672
- },
3673
- enumerable: !1,
3674
- configurable: !0
3675
- }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3676
- if (!(typeof Intl.Locale > "u")) {
3677
- var r = Intl.NumberFormat.supportedLocalesOf(t);
3678
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3679
- }
3680
- }, e.__parse = Wn, e.formats = {
3681
- number: {
3682
- integer: {
3683
- maximumFractionDigits: 0
3684
- },
3685
- currency: {
3686
- style: "currency"
3687
- },
3688
- percent: {
3689
- style: "percent"
3690
- }
3691
- },
3692
- date: {
3693
- short: {
3694
- month: "numeric",
3695
- day: "numeric",
3696
- year: "2-digit"
3697
- },
3698
- medium: {
3699
- month: "short",
3700
- day: "numeric",
3701
- year: "numeric"
3702
- },
3703
- long: {
3704
- month: "long",
3705
- day: "numeric",
3706
- year: "numeric"
3707
- },
3708
- full: {
3709
- weekday: "long",
3710
- month: "long",
3711
- day: "numeric",
3712
- year: "numeric"
3713
- }
3714
- },
3715
- time: {
3716
- short: {
3717
- hour: "numeric",
3718
- minute: "numeric"
3719
- },
3720
- medium: {
3721
- hour: "numeric",
3722
- minute: "numeric",
3723
- second: "numeric"
3724
- },
3725
- long: {
3726
- hour: "numeric",
3727
- minute: "numeric",
3728
- second: "numeric",
3729
- timeZoneName: "short"
3730
- },
3731
- full: {
3732
- hour: "numeric",
3733
- minute: "numeric",
3734
- second: "numeric",
3735
- timeZoneName: "short"
3736
- }
3737
- }
3738
- }, e;
3739
- }()
3740
- );
3741
- function ti(e, t) {
3742
- if (t == null)
3743
- return;
3744
- if (t in e)
3745
- return e[t];
3746
- const r = t.split(".");
3747
- let n = e;
3748
- for (let i = 0; i < r.length; i++)
3749
- if (typeof n == "object") {
3750
- if (i > 0) {
3751
- const s = r.slice(i, r.length).join(".");
3752
- if (s in n) {
3753
- n = n[s];
3754
- break;
3755
- }
3756
- }
3757
- n = n[r[i]];
3758
- } else
3759
- n = void 0;
3760
- return n;
3761
- }
3762
- const D = {}, ri = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), dr = (e, t) => {
3763
- if (t == null)
3764
- return;
3765
- if (t in D && e in D[t])
3766
- return D[t][e];
3767
- const r = fe(t);
3768
- for (let n = 0; n < r.length; n++) {
3769
- const i = r[n], s = ii(i, e);
3770
- if (s)
3771
- return ri(e, t, s);
3772
- }
3773
- };
3774
- let ut;
3775
- const ce = Ne({});
3776
- function ni(e) {
3777
- return ut[e] || null;
3778
- }
3779
- function pr(e) {
3780
- return e in ut;
3781
- }
3782
- function ii(e, t) {
3783
- if (!pr(e))
3784
- return null;
3785
- const r = ni(e);
3786
- return ti(r, t);
3787
- }
3788
- function si(e) {
3789
- if (e == null)
3790
- return;
3791
- const t = fe(e);
3792
- for (let r = 0; r < t.length; r++) {
3793
- const n = t[r];
3794
- if (pr(n))
3795
- return n;
3796
- }
3797
- }
3798
- function gr(e, ...t) {
3799
- delete D[e], ce.update((r) => (r[e] = ln.all([r[e] || {}, ...t]), r));
3800
- }
3801
- ee(
3802
- [ce],
3803
- ([e]) => Object.keys(e)
3804
- );
3805
- ce.subscribe((e) => ut = e);
3806
- const Se = {};
3807
- function oi(e, t) {
3808
- Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3809
- }
3810
- function br(e) {
3811
- return Se[e];
3812
- }
3813
- function ai(e) {
3814
- return fe(e).map((t) => {
3815
- const r = br(t);
3816
- return [t, r ? [...r] : []];
3817
- }).filter(([, t]) => t.length > 0);
3818
- }
3819
- function Ce(e) {
3820
- return e == null ? !1 : fe(e).some(
3821
- (t) => {
3822
- var r;
3823
- return (r = br(t)) == null ? void 0 : r.size;
3824
- }
3825
- );
3826
- }
3827
- function ui(e, t) {
3828
- return Promise.all(
3829
- t.map((n) => (oi(e, n), n().then((i) => i.default || i)))
3830
- ).then((n) => gr(e, ...n));
3831
- }
3832
- const ne = {};
3833
- function yr(e) {
3834
- if (!Ce(e))
3835
- return e in ne ? ne[e] : Promise.resolve();
3836
- const t = ai(e);
3837
- return ne[e] = Promise.all(
3838
- t.map(
3839
- ([r, n]) => ui(r, n)
3840
- )
3841
- ).then(() => {
3842
- if (Ce(e))
3843
- return yr(e);
3844
- delete ne[e];
3845
- }), ne[e];
3846
- }
3847
- var xt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, ci = (e, t) => {
3848
- var r = {};
3849
- for (var n in e)
3850
- li.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3851
- if (e != null && xt)
3852
- for (var n of xt(e))
3853
- t.indexOf(n) < 0 && hi.call(e, n) && (r[n] = e[n]);
3854
- return r;
3855
- };
3856
- const fi = {
3857
- number: {
3858
- scientific: { notation: "scientific" },
3859
- engineering: { notation: "engineering" },
3860
- compactLong: { notation: "compact", compactDisplay: "long" },
3861
- compactShort: { notation: "compact", compactDisplay: "short" }
3862
- },
3863
- date: {
3864
- short: { month: "numeric", day: "numeric", year: "2-digit" },
3865
- medium: { month: "short", day: "numeric", year: "numeric" },
3866
- long: { month: "long", day: "numeric", year: "numeric" },
3867
- full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }
3868
- },
3869
- time: {
3870
- short: { hour: "numeric", minute: "numeric" },
3871
- medium: { hour: "numeric", minute: "numeric", second: "numeric" },
3872
- long: {
3873
- hour: "numeric",
3874
- minute: "numeric",
3875
- second: "numeric",
3876
- timeZoneName: "short"
3877
- },
3878
- full: {
3879
- hour: "numeric",
3880
- minute: "numeric",
3881
- second: "numeric",
3882
- timeZoneName: "short"
3883
- }
3884
- }
3885
- };
3886
- function mi({ locale: e, id: t }) {
3887
- console.warn(
3888
- `[svelte-i18n] The message "${t}" was not found in "${fe(
3889
- e
3890
- ).join('", "')}".${Ce(U()) ? `
3891
-
3892
- Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3893
- );
3894
- }
3895
- const di = {
3896
- fallbackLocale: null,
3897
- loadingDelay: 200,
3898
- formats: fi,
3899
- warnOnMissingMessages: !0,
3900
- handleMissingMessage: void 0,
3901
- ignoreTag: !0
3902
- }, ie = di;
3903
- function Y() {
3904
- return ie;
3905
- }
3906
- function pi(e) {
3907
- const t = e, { formats: r } = t, n = ci(t, ["formats"]);
3908
- let i = e.fallbackLocale;
3909
- if (e.initialLocale)
3910
- try {
3911
- mr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3912
- } catch {
3913
- console.warn(
3914
- `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3915
- );
3916
- }
3917
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = mi : console.warn(
3918
- '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3919
- )), Object.assign(ie, n, { initialLocale: i }), r && ("number" in r && Object.assign(ie.formats.number, r.number), "date" in r && Object.assign(ie.formats.date, r.date), "time" in r && Object.assign(ie.formats.time, r.time)), G.set(i);
3920
- }
3921
- const Xe = Ne(!1);
3922
- var gi = Object.defineProperty, bi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
3923
- for (var r in t || (t = {}))
3924
- _i.call(t, r) && Tt(e, r, t[r]);
3925
- if (wt)
3926
- for (var r of wt(t))
3927
- vi.call(t, r) && Tt(e, r, t[r]);
3928
- return e;
3929
- }, xi = (e, t) => bi(e, yi(t));
3930
- let it;
3931
- const Ie = Ne(null);
3932
- function Ht(e) {
3933
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3934
- }
3935
- function fe(e, t = Y().fallbackLocale) {
3936
- const r = Ht(e);
3937
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
3938
- }
3939
- function U() {
3940
- return it ?? void 0;
3941
- }
3942
- Ie.subscribe((e) => {
3943
- it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3944
- });
3945
- const wi = (e) => {
3946
- if (e && si(e) && Ce(e)) {
3947
- const { loadingDelay: t } = Y();
3948
- let r;
3949
- return typeof window < "u" && U() != null && t ? r = window.setTimeout(
3950
- () => Xe.set(!0),
3951
- t
3952
- ) : Xe.set(!0), yr(e).then(() => {
3953
- Ie.set(e);
3954
- }).finally(() => {
3955
- clearTimeout(r), Xe.set(!1);
3956
- });
3957
- }
3958
- return Ie.set(e);
3959
- }, G = xi(Ei({}, Ie), {
3960
- set: wi
3961
- }), De = (e) => {
3962
- const t = /* @__PURE__ */ Object.create(null);
3963
- return (n) => {
3964
- const i = JSON.stringify(n);
3965
- return i in t ? t[i] : t[i] = e(n);
3966
- };
3967
- };
3968
- var Ti = Object.defineProperty, Le = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
3969
- for (var r in t || (t = {}))
3970
- _r.call(t, r) && St(e, r, t[r]);
3971
- if (Le)
3972
- for (var r of Le(t))
3973
- vr.call(t, r) && St(e, r, t[r]);
3974
- return e;
3975
- }, te = (e, t) => {
3976
- var r = {};
3977
- for (var n in e)
3978
- _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3979
- if (e != null && Le)
3980
- for (var n of Le(e))
3981
- t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
3982
- return r;
3983
- };
3984
- const le = (e, t) => {
3985
- const { formats: r } = Y();
3986
- if (e in r && t in r[e])
3987
- return r[e][t];
3988
- throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3989
- }, Hi = De(
3990
- (e) => {
3991
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3992
- if (r == null)
3993
- throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3994
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
3995
- }
3996
- ), Si = De(
3997
- (e) => {
3998
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3999
- if (r == null)
4000
- throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4001
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4002
- }
4003
- ), Ai = De(
4004
- (e) => {
4005
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4006
- if (r == null)
4007
- throw new Error(
4008
- '[svelte-i18n] A "locale" must be set to format time values'
4009
- );
4010
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4011
- }
4012
- ), Bi = (e = {}) => {
4013
- var t = e, {
4014
- locale: r = U()
4015
- } = t, n = te(t, [
4016
- "locale"
4017
- ]);
4018
- return Hi(lt({ locale: r }, n));
4019
- }, Pi = (e = {}) => {
4020
- var t = e, {
4021
- locale: r = U()
4022
- } = t, n = te(t, [
4023
- "locale"
4024
- ]);
4025
- return Si(lt({ locale: r }, n));
4026
- }, Oi = (e = {}) => {
4027
- var t = e, {
4028
- locale: r = U()
4029
- } = t, n = te(t, [
4030
- "locale"
4031
- ]);
4032
- return Ai(lt({ locale: r }, n));
4033
- }, Ci = De(
4034
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4035
- (e, t = U()) => new mr(e, t, Y().formats, {
4036
- ignoreTag: Y().ignoreTag
4037
- })
4038
- ), Ii = (e, t = {}) => {
4039
- var r, n, i, s;
4040
- let o = t;
4041
- typeof e == "object" && (o = e, e = o.id);
4042
- const {
4043
- values: a,
4044
- locale: h = U(),
4045
- default: u
4046
- } = o;
4047
- if (h == null)
4048
- throw new Error(
4049
- "[svelte-i18n] Cannot format a message without first setting the initial locale."
4050
- );
4051
- let l = dr(e, h);
4052
- if (!l)
4053
- l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4054
- else if (typeof l != "string")
4055
- return console.warn(
4056
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4057
- ), l;
4058
- if (!a)
4059
- return l;
4060
- let c = l;
4061
- try {
4062
- c = Ci(l, h).format(a);
4063
- } catch (m) {
4064
- m instanceof Error && console.warn(
4065
- `[svelte-i18n] Message "${e}" has syntax error:`,
4066
- m.message
4067
- );
4068
- }
4069
- return c;
4070
- }, Li = (e, t) => Oi(t).format(e), Mi = (e, t) => Pi(t).format(e), Ni = (e, t) => Bi(t).format(e), $i = (e, t = U()) => dr(e, t), Ri = ee([G, ce], () => Ii);
4071
- ee([G], () => Li);
4072
- ee([G], () => Mi);
4073
- ee([G], () => Ni);
4074
- ee([G, ce], () => $i);
4075
- function Di(e, t) {
4076
- if (e) {
4077
- const r = document.createElement("style");
4078
- r.innerHTML = t, e.appendChild(r);
4079
- }
4080
- }
4081
- function ki(e, t) {
4082
- if (!e || !t)
4083
- return;
4084
- const r = new URL(t);
4085
- fetch(r.href).then((n) => n.text()).then((n) => {
4086
- const i = document.createElement("style");
4087
- i.innerHTML = n, e && e.appendChild(i);
4088
- }).catch((n) => {
4089
- console.error("There was an error while trying to load client styling from URL", n);
4090
- });
4091
- }
4092
- function Ui(e, t, r) {
4093
- if (window.emMessageBus) {
4094
- const n = document.createElement("style");
4095
- window.emMessageBus.subscribe(t, (i) => {
4096
- n.innerHTML = i, e && e.appendChild(n);
4097
- });
4098
- }
4099
- }
4100
- function At(e, t) {
4101
- gr(e, t);
4102
- }
4103
- function Gi(e) {
4104
- pi({
4105
- fallbackLocale: "en"
4106
- }), G.set(e);
4107
- }
4108
- const Bt = {
4109
- en: {
4110
- errorGeneralTitle: "Error Occurred",
4111
- errorGeneralText: "Something went wrong",
4112
- errorGeneralButton: "CLOSE",
4113
- PlayerSessionIsNotValid: "Player session is not valid",
4114
- 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",
4115
- PaymentMethodNotAllowed: "We apologise, but this payment method is unavailable at this time, please contact Customer Support for further assistance. Error Code 11402",
4116
- 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",
4117
- MerchantUserHasWithdrawBlockRole: "Dear Player! Please be informed that currently you are not allowed to initiate withdrawal transactions from your player account. Error Code: 21122",
4118
- MerchantUserHasDepositBlockRole: "Dear Player! Please be informed that currently you are not allowed to initiate deposit transactions from your player account. Error Code: 21123",
4119
- JwtTokenError: "IDX12741: JWT must have three segments (JWS) or five segments (JWE).",
4120
- TransactionIsBlockedDueToNotCompletedKyc: "We apologise, but we cannot process the transaction because you haven't completed KYC. Please verify your identity or contact Customer Support for further assistance. Error Code 23601",
4121
- InsufficientCasinoFunds: " Your withdrawal is over your available balance. Please check your available balance to adjust your withdrawal amount",
4122
- DepositWageringLimit: "Attention! Your winnings balance has less than the amount you want to withdraw.",
4123
- AmountMinLimitExceeded: "Amount is smaller than PaymentMethod minimum limit",
4124
- AmountMaxLimitExceeded: "Amount is bigger than PaymentMethod maximum limit",
4125
- AmountIsMissing: "Amount is missing",
4126
- MaxCustomerTransactionsCountReached: "Looks like you have reached the frequency limit of the transaction attempts per minute. The server is taking too long to respond. Please wait a bit and try again in a while",
4127
- VendorTimeoutError: "Looks like the payment vendor has some issues. The server is taking too long to respond. Please wait a bit and try again in a while. Error Code 21292",
4128
- MerchantUserAccountIsInactive: "Declined by merchant user account is inactive",
4129
- MerchantUserHasDepositDenyRole: "Declined by merchant user has deposit deny role",
4130
- TransactionCodeIsInvalid: "Transaction code is invalid",
4131
- InvalidSession: "Your session has expired. Please try again",
4132
- TwoFactorAuthRequired: "Two-factor authentication is required",
4133
- DeclinedByMerchant: "We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance.",
4134
- FraudSuspectedError: "We apologise, but we are unable to process your transaction at this time, please try later or contact Customer Support for further assistance. Error Code 22020",
4135
- OnlyOnePendingTransactionPerUserlsAllowed: "Only one pending transaction per user is allowed",
4136
- TransactionFrequencyLimitReached: "Transaction frequency limit reached"
4137
- },
4138
- tr: {
4139
- errorGeneralTitle: "Hata oluştu",
4140
- errorGeneralText: "Bir şeyler ters gitti",
4141
- errorGeneralButton: "KAPALI",
4142
- PlayerSessionIsNotValid: "Hesabınızla ilgili oturum geçersiz veya süresi dolmuş görünüyor. Lütfen tekrar giriş yapınız",
4143
- 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",
4144
- 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",
4145
- 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",
4146
- MerchantUserHasWithdrawBlockRole: "Sevgili Oyuncu! Şu anda oyuncu hesabınızdan para çekme işlemi başlatmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21122",
4147
- MerchantUserHasDepositBlockRole: "Değerli Oyuncumuz, Şu anda hesabınız üzerinden para yatırma işlemi yapmanıza izin verilmemektedir. Hata Kodu: 21123",
4148
- JwtTokenError: "IDX12741: JWT must have three segments (JWS) or five segments (JWE).",
4149
- TransactionIsBlockedDueToNotCompletedKyc: "İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. ",
4150
- InsufficientCasinoFunds: "Çekmek istediğiniz tutar, mevcut bakiyenizin üzerindedir. Lütfen çekim tutarınızı belirlemek için bakiyenizi kontrol ediniz",
4151
- DepositWageringLimit: "Para çekim işleminizi gerçekleştirebilmek için ana para çevriminizi tamamlamanız gerekmektedir. Ana para çevrimi hakkında bilgi almak için sitemiz genel şartlar ve kurallar bölümünü ziyaret edebilir ya da destek kanallarımız üzerinden bilgi alabilirsiniz.",
4152
- AmountMinLimitExceeded: "Tutar, Ödeme Yöntemi minimum sınırından daha küçük",
4153
- AmountMaxLimitExceeded: "Tutar, Ödeme Yöntemi maksimum sınırından daha büyük",
4154
- AmountIsMissing: "Tutar eksik",
4155
- MaxCustomerTransactionsCountReached: "İşlem denemelerinin sıklık sınırına ulaştınız. Sunucunun yanıt vermesi çok uzun sürüyor. Lütfen biraz bekleyin ve bir süre sonra tekrar deneyin.",
4156
- VendorTechnicalError: "Özür dileriz, fakat bir teknik hata nedeniyle işleminiz sağlayıcı tarafından reddedildi. Lütfen daha sonra tekrar deneyin veya servis sağlayıcınızla iletişime geçin. Hata kodu 21298",
4157
- MerchantUserAccountIsInactive: "Tüccar tarafından reddedildi kullanıcı hesabı etkin değil",
4158
- MerchantUserHasDepositDenyRole: "Sevgili Oyuncu! Şu anda hesabınıza para yatırmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21123",
4159
- TransactionCodeIsInvalid: "Transaction code is invalid",
4160
- InvalidSession: "Beklenmedik bir hata oluştu, lütfen tekrar deneyin.",
4161
- TwoFactorAuthRequired: "İki faktörlü kimlik doğrulama gereklidi",
4162
- DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin.",
4163
- FraudSuspectedError: "Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020.",
4164
- OnlyOnePendingTransactionPerUserlsAllowed: "Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",
4165
- TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı"
4166
- },
4167
- fr: {
4168
- errorGeneralTitle: "Une erreur s’est produite",
4169
- errorGeneralText: "Une erreur est survenue",
4170
- errorGeneralButton: "FERMER",
4171
- PlayerSessionIsNotValid: "La session du joueur n’est pas valide",
4172
- VendorCommunicationError: "Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter la demande en raison d’une erreur technique. Veuillez réessayer plus tard ou contacter votre prestataire de paiement pour obtenir de l’aide. Code d’erreur 21297",
4173
- PaymentMethodNotAllowed: "Nous sommes désolés, mais ce moyen de paiement n’est pas disponible pour le moment. Veuillez contacter le service client pour obtenir de l’aide. Code d’erreur 11402",
4174
- InvalidPaymentDetails: "Nous sommes désolés, mais vos informations de paiement ne sont pas valides. Veuillez vérifier que vous avez correctement saisi toutes les informations de paiement et réessayer, ou contacter le service client pour obtenir de l’aide. Code d’erreur 13555",
4175
- MerchantUserHasWithdrawBlockRole: "Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de retrait depuis votre compte joueur. Code d’erreur : 21122",
4176
- MerchantUserHasDepositBlockRole: "Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de dépôt depuis votre compte joueur. Code d’erreur : 21123",
4177
- JwtTokenError: "IDX12741 : le JWT doit comporter trois segments (JWS) ou cinq segments (JWE).",
4178
- TransactionIsBlockedDueToNotCompletedKyc: "Nous sommes désolés, mais nous ne pouvons pas traiter la transaction car vous n’avez pas complété le KYC. Veuillez vérifier votre identité ou contacter le service client pour obtenir de l’aide. Code d’erreur 23601",
4179
- InsufficientCasinoFunds: "Votre retrait dépasse votre solde disponible. Veuillez vérifier votre solde disponible afin d’ajuster le montant du retrait",
4180
- DepositWageringLimit: "Attention ! Le solde de vos gains est inférieur au montant que vous souhaitez retirer.",
4181
- AmountMinLimitExceeded: "Le montant est inférieur à la limite minimale du moyen de paiement",
4182
- AmountMaxLimitExceeded: "Le montant est supérieur à la limite maximale du moyen de paiement",
4183
- AmountIsMissing: "Le montant est manquant",
4184
- MaxCustomerTransactionsCountReached: "Il semble que vous ayez atteint la limite de fréquence des tentatives de transaction par minute. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard",
4185
- VendorTimeoutError: "Il semble que le prestataire de paiement rencontre des problèmes. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard. Code d’erreur 21292",
4186
- MerchantUserAccountIsInactive: "Refusé : le compte utilisateur marchand est inactif",
4187
- MerchantUserHasDepositDenyRole: "Refusé : l’utilisateur marchand a un rôle interdisant les dépôts",
4188
- TransactionCodeIsInvalid: "Le code de transaction n’est pas valide",
4189
- InvalidSession: "Votre session a expiré. Veuillez réessayer",
4190
- TwoFactorAuthRequired: "L’authentification à deux facteurs est requise",
4191
- DeclinedByMerchant: "Nous sommes désolés, mais la transaction a été clôturée par le marchand. Veuillez contacter le service client pour obtenir de l’aide.",
4192
- FraudSuspectedError: "Nous sommes désolés, mais nous ne pouvons pas traiter votre transaction pour le moment. Veuillez réessayer plus tard ou contacter le service client pour obtenir de l’aide. Code d’erreur 22020",
4193
- OnlyOnePendingTransactionPerUserlsAllowed: "Une seule transaction en attente par utilisateur est autorisée",
4194
- TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte"
4195
- }
4196
- };
4197
- function Fi(e) {
4198
- Hr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;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:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
4199
- }
4200
- const zi = (e) => ({}), Pt = (e) => ({}), ji = (e) => ({}), Ot = (e) => ({}), Vi = (e) => ({}), Ct = (e) => ({}), Xi = (e) => ({}), It = (e) => ({ class: "CashierErrorIcon" });
4201
- function Lt(e) {
4202
- let t, r;
4203
- return {
4204
- c() {
4205
- t = I("ui-image"), ct(t.src, r = `${/*assetsurl*/
4206
- e[0]}/error-general-icon.png`) || _e(t, "src", r), _e(t, "width", "300px"), _e(t, "alt", "error");
4207
- },
4208
- m(n, i) {
4209
- K(n, t, i);
4210
- },
4211
- p(n, i) {
4212
- i & /*assetsurl*/
4213
- 1 && !ct(t.src, r = `${/*assetsurl*/
4214
- n[0]}/error-general-icon.png`) && _e(t, "src", r);
4215
- },
4216
- d(n) {
4217
- n && N(t);
4218
- }
4219
- };
4220
- }
4221
- function Wi(e) {
4222
- let t, r = (
4223
- /*assetsurl*/
4224
- e[0] && Lt(e)
4225
- );
4226
- return {
4227
- c() {
4228
- r && r.c(), t = Ar();
4229
- },
4230
- m(n, i) {
4231
- r && r.m(n, i), K(n, t, i);
4232
- },
4233
- p(n, i) {
4234
- /*assetsurl*/
4235
- n[0] ? r ? r.p(n, i) : (r = Lt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4236
- },
4237
- d(n) {
4238
- n && N(t), r && r.d(n);
4239
- }
4240
- };
4241
- }
4242
- function qi(e) {
4243
- let t, r = (
4244
- /*$_*/
4245
- e[3](`${/*errorcode*/
4246
- e[1] || "errorGeneralText"}`) + ""
4247
- ), n;
4248
- return {
4249
- c() {
4250
- t = I("span"), n = Me(r), q(t, "class", "CashierErrorText");
4251
- },
4252
- m(i, s) {
4253
- K(i, t, s), M(t, n);
4254
- },
4255
- p(i, s) {
4256
- s & /*$_, errorcode*/
4257
- 10 && r !== (r = /*$_*/
4258
- i[3](`${/*errorcode*/
4259
- i[1] || "errorGeneralText"}`) + "") && zt(n, r);
4260
- },
4261
- d(i) {
4262
- i && N(t);
4263
- }
4264
- };
4265
- }
4266
- function Ji(e) {
4267
- let t, r, n = (
4268
- /*$_*/
4269
- e[3]("errorGeneralButton") + ""
4270
- ), i, s, o;
4271
- return {
4272
- c() {
4273
- t = I("button"), r = I("span"), i = Me(n), q(t, "class", "CashierErrorButton");
4274
- },
4275
- m(a, h) {
4276
- K(a, t, h), M(t, r), M(r, i), s || (o = We(
4277
- t,
4278
- "click",
4279
- /*close*/
4280
- e[4]
4281
- ), s = !0);
4282
- },
4283
- p(a, h) {
4284
- h & /*$_*/
4285
- 8 && n !== (n = /*$_*/
4286
- a[3]("errorGeneralButton") + "") && zt(i, n);
4287
- },
4288
- d(a) {
4289
- a && N(t), s = !1, o();
4290
- }
4291
- };
4292
- }
4293
- function Zi(e) {
4294
- let t, r, n, i, s, o;
4295
- const a = (
4296
- /*#slots*/
4297
- e[11].icon
4298
- ), h = pe(
4299
- a,
4300
- e,
4301
- /*$$scope*/
4302
- e[10],
4303
- It
4304
- ), u = h || Wi(e), l = (
4305
- /*#slots*/
4306
- e[11].title
4307
- ), c = pe(
4308
- l,
4309
- e,
4310
- /*$$scope*/
4311
- e[10],
4312
- Ct
4313
- ), m = (
4314
- /*#slots*/
4315
- e[11].text
4316
- ), d = pe(
4317
- m,
4318
- e,
4319
- /*$$scope*/
4320
- e[10],
4321
- Ot
4322
- ), p = d || qi(e), b = (
4323
- /*#slots*/
4324
- e[11].button
4325
- ), E = pe(
4326
- b,
4327
- e,
4328
- /*$$scope*/
4329
- e[10],
4330
- Pt
4331
- ), _ = E || Ji(e);
4332
- return {
4333
- c() {
4334
- t = I("div"), r = I("div"), u && u.c(), n = ke(), c && c.c(), i = ke(), p && p.c(), s = ke(), _ && _.c(), q(r, "class", "CashierErrorContent"), q(t, "class", "CashierError");
4335
- },
4336
- m(f, g) {
4337
- K(f, t, g), M(t, r), u && u.m(r, null), M(r, n), c && c.m(r, null), M(r, i), p && p.m(r, null), M(r, s), _ && _.m(r, null), e[12](t), o = !0;
4338
- },
4339
- p(f, [g]) {
4340
- h ? h.p && (!o || g & /*$$scope*/
4341
- 1024) && be(
4342
- h,
4343
- a,
4344
- f,
4345
- /*$$scope*/
4346
- f[10],
4347
- o ? ge(
4348
- a,
4349
- /*$$scope*/
4350
- f[10],
4351
- g,
4352
- Xi
4353
- ) : ye(
4354
- /*$$scope*/
4355
- f[10]
4356
- ),
4357
- It
4358
- ) : u && u.p && (!o || g & /*assetsurl*/
4359
- 1) && u.p(f, o ? g : -1), c && c.p && (!o || g & /*$$scope*/
4360
- 1024) && be(
4361
- c,
4362
- l,
4363
- f,
4364
- /*$$scope*/
4365
- f[10],
4366
- o ? ge(
4367
- l,
4368
- /*$$scope*/
4369
- f[10],
4370
- g,
4371
- Vi
4372
- ) : ye(
4373
- /*$$scope*/
4374
- f[10]
4375
- ),
4376
- Ct
4377
- ), d ? d.p && (!o || g & /*$$scope*/
4378
- 1024) && be(
4379
- d,
4380
- m,
4381
- f,
4382
- /*$$scope*/
4383
- f[10],
4384
- o ? ge(
4385
- m,
4386
- /*$$scope*/
4387
- f[10],
4388
- g,
4389
- ji
4390
- ) : ye(
4391
- /*$$scope*/
4392
- f[10]
4393
- ),
4394
- Ot
4395
- ) : p && p.p && (!o || g & /*$_, errorcode*/
4396
- 10) && p.p(f, o ? g : -1), E ? E.p && (!o || g & /*$$scope*/
4397
- 1024) && be(
4398
- E,
4399
- b,
4400
- f,
4401
- /*$$scope*/
4402
- f[10],
4403
- o ? ge(
4404
- b,
4405
- /*$$scope*/
4406
- f[10],
4407
- g,
4408
- zi
4409
- ) : ye(
4410
- /*$$scope*/
4411
- f[10]
4412
- ),
4413
- Pt
4414
- ) : _ && _.p && (!o || g & /*$_*/
4415
- 8) && _.p(f, o ? g : -1);
4416
- },
4417
- i(f) {
4418
- o || (V(u, f), V(c, f), V(p, f), V(_, f), o = !0);
4419
- },
4420
- o(f) {
4421
- Ee(u, f), Ee(c, f), Ee(p, f), Ee(_, f), o = !1;
4422
- },
4423
- d(f) {
4424
- f && N(t), u && u.d(f), c && c.d(f), p && p.d(f), _ && _.d(f), e[12](null);
4425
- }
4426
- };
4427
- }
4428
- function Qi(e, t, r) {
4429
- let n;
4430
- Tr(e, Ri, (f) => r(3, n = f));
4431
- let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
4432
- const p = () => {
4433
- Gi(a);
4434
- }, b = () => {
4435
- fetch(c).then((g) => g.json()).then((g) => {
4436
- Object.keys(g).forEach((S) => {
4437
- At(S, g[S]);
4438
- });
4439
- }).catch((g) => {
4440
- console.error(g);
4441
- });
4442
- };
4443
- Object.keys(Bt).forEach((f) => {
4444
- At(f, Bt[f]);
4445
- });
4446
- const E = () => {
4447
- window.postMessage({ type: "ErrorClose" }, window.location.href);
4448
- };
4449
- $r(() => () => {
4450
- });
4451
- function _(f) {
4452
- Je[f ? "unshift" : "push"](() => {
4453
- d = f, r(2, d);
4454
- });
4455
- }
4456
- return e.$$set = (f) => {
4457
- "assetsurl" in f && r(0, o = f.assetsurl), "lang" in f && r(5, a = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
4458
- }, e.$$.update = () => {
4459
- e.$$.dirty & /*lang*/
4460
- 32 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4461
- 68 && u && d && Di(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4462
- 132 && l && d && ki(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4463
- 516 && m && d && Ui(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4464
- 256 && c && b();
4465
- }, [
4466
- o,
4467
- h,
4468
- d,
4469
- n,
4470
- E,
4471
- a,
4472
- u,
4473
- l,
4474
- c,
4475
- m,
4476
- s,
4477
- i,
4478
- _
4479
- ];
4480
- }
4481
- class Er extends jr {
4482
- constructor(t) {
4483
- super(), Fr(
4484
- this,
4485
- t,
4486
- Qi,
4487
- Zi,
4488
- $t,
4489
- {
4490
- assetsurl: 0,
4491
- lang: 5,
4492
- errorcode: 1,
4493
- clientstyling: 6,
4494
- clientstylingurl: 7,
4495
- translationurl: 8,
4496
- mbsource: 9
4497
- },
4498
- Fi
4499
- );
4500
- }
4501
- get assetsurl() {
4502
- return this.$$.ctx[0];
4503
- }
4504
- set assetsurl(t) {
4505
- this.$$set({ assetsurl: t }), L();
4506
- }
4507
- get lang() {
4508
- return this.$$.ctx[5];
4509
- }
4510
- set lang(t) {
4511
- this.$$set({ lang: t }), L();
4512
- }
4513
- get errorcode() {
4514
- return this.$$.ctx[1];
4515
- }
4516
- set errorcode(t) {
4517
- this.$$set({ errorcode: t }), L();
4518
- }
4519
- get clientstyling() {
4520
- return this.$$.ctx[6];
4521
- }
4522
- set clientstyling(t) {
4523
- this.$$set({ clientstyling: t }), L();
4524
- }
4525
- get clientstylingurl() {
4526
- return this.$$.ctx[7];
4527
- }
4528
- set clientstylingurl(t) {
4529
- this.$$set({ clientstylingurl: t }), L();
4530
- }
4531
- get translationurl() {
4532
- return this.$$.ctx[8];
4533
- }
4534
- set translationurl(t) {
4535
- this.$$set({ translationurl: t }), L();
4536
- }
4537
- get mbsource() {
4538
- return this.$$.ctx[9];
4539
- }
4540
- set mbsource(t) {
4541
- this.$$set({ mbsource: t }), L();
4542
- }
4543
- }
4544
- zr(Er, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4545
- const _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4546
- __proto__: null,
4547
- default: Er
4548
- }, Symbol.toStringTag, { value: "Module" }));
4549
- export {
4550
- G as $,
4551
- is as A,
4552
- _e as B,
4553
- Ar as C,
4554
- hs as D,
4555
- us as E,
4556
- rs as F,
4557
- ps as G,
4558
- ct as H,
4559
- zt as I,
4560
- bs as J,
4561
- ns as K,
4562
- Me as L,
4563
- k as M,
4564
- ss as N,
4565
- os as O,
4566
- ts as P,
4567
- gs as Q,
4568
- Di as R,
4569
- jr as S,
4570
- ki as T,
4571
- Ui as U,
4572
- Ee as V,
4573
- V as W,
4574
- cs as X,
4575
- fs as Y,
4576
- pe as Z,
4577
- be as _,
4578
- gr as a,
4579
- ye as a0,
4580
- ge as a1,
4581
- as as a2,
4582
- Mt as a3,
4583
- ds as a4,
4584
- ms as a5,
4585
- _s as a6,
4586
- Ri as b,
4587
- ys as c,
4588
- Wr as d,
4589
- zr as e,
4590
- Fr as f,
4591
- Ki as g,
4592
- L as h,
4593
- pi as i,
4594
- Hr as j,
4595
- ae as k,
4596
- N as l,
4597
- K as m,
4598
- A as n,
4599
- M as o,
4600
- We as p,
4601
- es as q,
4602
- I as r,
4603
- $t as s,
4604
- ke as t,
4605
- q as u,
4606
- Tr as v,
4607
- Ne as w,
4608
- $r as x,
4609
- ls as y,
4610
- Je as z
4611
- };