@everymatrix/cashier-error 1.76.3 → 1.76.5

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