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