@everymatrix/casino-my-games-nd 1.0.69 → 1.0.71

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