@everymatrix/transaction-history-page 0.0.1

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