@everymatrix/cashier-iframe-redirect 1.43.4 → 1.45.0

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