@everymatrix/casino-providers 1.44.0 → 1.45.2

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