@everymatrix/casino-navigation-search 1.56.3 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/components/{CasinoCategories-BKsi5g8P.js → CasinoCategories-pD6JGc4Z.js} +447 -449
  2. package/components/CasinoCategories-pWLQZMmz.cjs +16 -0
  3. package/components/{CasinoCategories-BZfvatRo.js → CasinoCategories-qsRchRE5.js} +465 -467
  4. package/components/{CasinoCategoriesProviders-Ce5Mma7L.cjs → CasinoCategoriesProviders-3SZIrCb2.cjs} +1 -1
  5. package/components/{CasinoCategoriesProviders-If2xEr47.js → CasinoCategoriesProviders-BoEAp9a5.js} +21 -21
  6. package/components/{CasinoCategoriesProviders-BRg8qBuj.js → CasinoCategoriesProviders-oHtld5iP.js} +21 -21
  7. package/components/{CasinoGameThumbnail-DqGtR6Ib.js → CasinoGameThumbnail-D4Hjj1T9.js} +1244 -1264
  8. package/components/CasinoGameThumbnail-DzUSjFPS.cjs +49 -0
  9. package/components/{CasinoGameThumbnail-T-A8V5w7.js → CasinoGameThumbnail-cNz35KLv.js} +1244 -1264
  10. package/components/{CasinoNavigationSearch-DytutXH6.js → CasinoNavigationSearch-BRuz7G1D.js} +14 -14
  11. package/components/{CasinoNavigationSearch-SQHeywkF.cjs → CasinoNavigationSearch-Ckz6vNUf.cjs} +1 -1
  12. package/components/{CasinoNavigationSearch-fWQE3CZE.js → CasinoNavigationSearch-UKZ5foXo.js} +16 -16
  13. package/components/{CasinoProviders-CCSOVKMX.js → CasinoProviders-BLP5NUti.js} +41 -41
  14. package/components/{CasinoProviders-I0zLiBFT.js → CasinoProviders-CGGjj6rg.js} +41 -41
  15. package/components/{CasinoProviders-Tz8pgXol.cjs → CasinoProviders-LmRSV24B.cjs} +1 -1
  16. package/components/{CasinoSearch-CGLndi73.js → CasinoSearch-Bx-S_--G.js} +51 -51
  17. package/components/{CasinoSearch-iamNc2KF.js → CasinoSearch-ByNvbBqs.js} +52 -52
  18. package/components/{CasinoSearch-Ba-3oxX5.cjs → CasinoSearch-Cj1sr1-J.cjs} +1 -1
  19. package/es2015/casino-navigation-search.cjs +1 -1
  20. package/es2015/casino-navigation-search.js +1 -1
  21. package/esnext/casino-navigation-search.js +1 -1
  22. package/package.json +1 -1
  23. package/components/CasinoCategories-CArkom-P.cjs +0 -16
  24. package/components/CasinoGameThumbnail-Dlv9wGzX.cjs +0 -49
@@ -1,28 +1,28 @@
1
1
  function L() {
2
2
  }
3
- function pt(e) {
3
+ function mt(e) {
4
4
  return e();
5
5
  }
6
- function Ze() {
6
+ function ze() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function oe(e) {
10
- e.forEach(pt);
10
+ e.forEach(mt);
11
11
  }
12
12
  function je(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function bt(e, t) {
15
+ function pt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let he;
19
- function de(e, t) {
19
+ function pe(e, t) {
20
20
  return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
21
21
  }
22
- function Jt(e) {
22
+ function Zt(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function yt(e, ...t) {
25
+ function dt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function yt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function qt(e, t, r) {
35
- e.$$.on_destroy.push(yt(t, r));
34
+ function Qt(e, t, r) {
35
+ e.$$.on_destroy.push(dt(t, r));
36
36
  }
37
37
  function v(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Yt(e, t, r) {
41
- const n = Kt(e);
40
+ function Jt(e, t, r) {
41
+ const n = qt(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = B("style");
44
- i.id = t, i.textContent = r, er(n, i);
44
+ i.id = t, i.textContent = r, Yt(n, i);
45
45
  }
46
46
  }
47
- function Kt(e) {
47
+ function qt(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function Kt(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function er(e, t) {
57
+ function Yt(e, t) {
58
58
  return v(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -67,14 +67,14 @@ function j(e, t, r) {
67
67
  function D(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Qe(e, t) {
70
+ function We(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
74
  function B(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function tr(e) {
77
+ function Kt(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
80
  function R(e) {
@@ -83,20 +83,20 @@ function R(e) {
83
83
  function $() {
84
84
  return R(" ");
85
85
  }
86
- function mi() {
86
+ function gi() {
87
87
  return R("");
88
88
  }
89
- function _t(e, t, r, n) {
89
+ function bt(e, t, r, n) {
90
90
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
92
  function H(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function di(e, t, r) {
95
+ function mi(e, t, r) {
96
96
  const n = t.toLowerCase();
97
97
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
98
98
  }
99
- function rr(e) {
99
+ function er(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
102
  function G(e, t) {
@@ -106,10 +106,10 @@ function G(e, t) {
106
106
  function pi(e, t) {
107
107
  e.value = t ?? "";
108
108
  }
109
- function bi(e, t, r) {
109
+ function di(e, t, r) {
110
110
  e.classList.toggle(t, !!r);
111
111
  }
112
- class yi {
112
+ class bi {
113
113
  /**
114
114
  * @private
115
115
  * @default false
@@ -140,7 +140,7 @@ class yi {
140
140
  * @returns {void}
141
141
  */
142
142
  m(t, r, n = null) {
143
- this.e || (this.is_svg ? this.e = tr(
143
+ this.e || (this.is_svg ? this.e = Kt(
144
144
  /** @type {keyof SVGElementTagNameMap} */
145
145
  r.nodeName
146
146
  ) : this.e = B(
@@ -179,7 +179,7 @@ class yi {
179
179
  this.n.forEach(D);
180
180
  }
181
181
  }
182
- function nr(e) {
182
+ function tr(e) {
183
183
  const t = {};
184
184
  return e.childNodes.forEach(
185
185
  /** @param {Element} node */
@@ -192,23 +192,23 @@ let ne;
192
192
  function re(e) {
193
193
  ne = e;
194
194
  }
195
- function ir() {
195
+ function rr() {
196
196
  if (!ne)
197
197
  throw new Error("Function called outside component initialization");
198
198
  return ne;
199
199
  }
200
- function sr(e) {
201
- ir().$$.on_mount.push(e);
200
+ function nr(e) {
201
+ rr().$$.on_mount.push(e);
202
202
  }
203
203
  const z = [], Oe = [];
204
204
  let W = [];
205
- const Je = [], Et = /* @__PURE__ */ Promise.resolve();
205
+ const Ze = [], yt = /* @__PURE__ */ Promise.resolve();
206
206
  let Pe = !1;
207
- function xt() {
208
- Pe || (Pe = !0, Et.then(I));
207
+ function _t() {
208
+ Pe || (Pe = !0, yt.then(I));
209
209
  }
210
- function _i() {
211
- return xt(), Et;
210
+ function yi() {
211
+ return _t(), yt;
212
212
  }
213
213
  function Ne(e) {
214
214
  W.push(e);
@@ -223,7 +223,7 @@ function I() {
223
223
  try {
224
224
  for (; V < z.length; ) {
225
225
  const t = z[V];
226
- V++, re(t), or(t.$$);
226
+ V++, re(t), ir(t.$$);
227
227
  }
228
228
  } catch (t) {
229
229
  throw z.length = 0, V = 0, t;
@@ -236,43 +236,43 @@ function I() {
236
236
  }
237
237
  W.length = 0;
238
238
  } while (z.length);
239
- for (; Je.length; )
240
- Je.pop()();
239
+ for (; Ze.length; )
240
+ Ze.pop()();
241
241
  Pe = !1, Te.clear(), re(e);
242
242
  }
243
- function or(e) {
243
+ function ir(e) {
244
244
  if (e.fragment !== null) {
245
245
  e.update(), oe(e.before_update);
246
246
  const t = e.dirty;
247
247
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
248
248
  }
249
249
  }
250
- function ar(e) {
250
+ function sr(e) {
251
251
  const t = [], r = [];
252
252
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
253
253
  }
254
- const ur = /* @__PURE__ */ new Set();
255
- function hr(e, t) {
256
- e && e.i && (ur.delete(e), e.i(t));
254
+ const or = /* @__PURE__ */ new Set();
255
+ function ar(e, t) {
256
+ e && e.i && (or.delete(e), e.i(t));
257
257
  }
258
258
  function le(e) {
259
259
  return e?.length !== void 0 ? e : Array.from(e);
260
260
  }
261
- function lr(e, t, r) {
261
+ function ur(e, t, r) {
262
262
  const { fragment: n, after_update: i } = e.$$;
263
263
  n && n.m(t, r), Ne(() => {
264
- const s = e.$$.on_mount.map(pt).filter(je);
264
+ const s = e.$$.on_mount.map(mt).filter(je);
265
265
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
266
266
  }), i.forEach(Ne);
267
267
  }
268
- function fr(e, t) {
268
+ function hr(e, t) {
269
269
  const r = e.$$;
270
- r.fragment !== null && (ar(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
270
+ r.fragment !== null && (sr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
271
271
  }
272
- function cr(e, t) {
273
- e.$$.dirty[0] === -1 && (z.push(e), xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
272
+ function lr(e, t) {
273
+ e.$$.dirty[0] === -1 && (z.push(e), _t(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
274
274
  }
275
- function gr(e, t, r, n, i, s, o = null, a = [-1]) {
275
+ function fr(e, t, r, n, i, s, o = null, a = [-1]) {
276
276
  const l = ne;
277
277
  re(e);
278
278
  const u = e.$$ = {
@@ -282,7 +282,7 @@ function gr(e, t, r, n, i, s, o = null, a = [-1]) {
282
282
  props: s,
283
283
  update: L,
284
284
  not_equal: i,
285
- bound: Ze(),
285
+ bound: ze(),
286
286
  // lifecycle
287
287
  on_mount: [],
288
288
  on_destroy: [],
@@ -291,28 +291,28 @@ function gr(e, t, r, n, i, s, o = null, a = [-1]) {
291
291
  after_update: [],
292
292
  context: new Map(t.context || (l ? l.$$.context : [])),
293
293
  // everything else
294
- callbacks: Ze(),
294
+ callbacks: ze(),
295
295
  dirty: a,
296
296
  skip_bound: !1,
297
297
  root: t.target || l.$$.root
298
298
  };
299
299
  o && o(u.root);
300
300
  let h = !1;
301
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
302
- const p = d.length ? d[0] : f;
303
- return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && cr(e, c)), f;
301
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
302
+ const d = p.length ? p[0] : f;
303
+ return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && lr(e, c)), f;
304
304
  }) : [], u.update(), h = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
305
305
  if (t.hydrate) {
306
- const c = rr(t.target);
306
+ const c = er(t.target);
307
307
  u.fragment && u.fragment.l(c), c.forEach(D);
308
308
  } else
309
309
  u.fragment && u.fragment.c();
310
- t.intro && hr(e.$$.fragment), lr(e, t.target, t.anchor), I();
310
+ t.intro && ar(e.$$.fragment), ur(e, t.target, t.anchor), I();
311
311
  }
312
312
  re(l);
313
313
  }
314
- let vt;
315
- typeof HTMLElement == "function" && (vt = class extends HTMLElement {
314
+ let Et;
315
+ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
316
316
  /** The Svelte component constructor */
317
317
  $$ctor;
318
318
  /** Slots */
@@ -371,7 +371,7 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
371
371
  };
372
372
  if (await Promise.resolve(), !this.$$cn || this.$$c)
373
373
  return;
374
- const t = {}, r = nr(this);
374
+ const t = {}, r = tr(this);
375
375
  for (const i of this.$$s)
376
376
  i in r && (t[i] = [e(i)]);
377
377
  for (const i of this.attributes) {
@@ -458,8 +458,8 @@ function ce(e, t, r, n) {
458
458
  return t;
459
459
  }
460
460
  }
461
- function mr(e, t, r, n, i, s) {
462
- let o = class extends vt {
461
+ function cr(e, t, r, n, i, s) {
462
+ let o = class extends Et {
463
463
  constructor() {
464
464
  super(e, r, i), this.$$p_d = t;
465
465
  }
@@ -487,7 +487,7 @@ function mr(e, t, r, n, i, s) {
487
487
  }), e.element = /** @type {any} */
488
488
  o, o;
489
489
  }
490
- class dr {
490
+ class gr {
491
491
  /**
492
492
  * ### PRIVATE API
493
493
  *
@@ -506,7 +506,7 @@ class dr {
506
506
  $$set = void 0;
507
507
  /** @returns {void} */
508
508
  $destroy() {
509
- fr(this, 1), this.$destroy = L;
509
+ hr(this, 1), this.$destroy = L;
510
510
  }
511
511
  /**
512
512
  * @template {Extract<keyof Events, string>} K
@@ -528,18 +528,18 @@ class dr {
528
528
  * @returns {void}
529
529
  */
530
530
  $set(t) {
531
- this.$$set && !Jt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
531
+ this.$$set && !Zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
532
532
  }
533
533
  }
534
- const pr = "4";
535
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
536
- function br(e, t) {
534
+ const mr = "4";
535
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mr);
536
+ function pr(e, t) {
537
537
  if (e) {
538
538
  const r = document.createElement("style");
539
539
  r.innerHTML = t, e.appendChild(r);
540
540
  }
541
541
  }
542
- function yr(e, t) {
542
+ function dr(e, t) {
543
543
  const r = new URL(t);
544
544
  fetch(r.href).then((n) => n.text()).then((n) => {
545
545
  const i = document.createElement("style");
@@ -548,7 +548,7 @@ function yr(e, t) {
548
548
  console.error("There was an error while trying to load client styling from URL", n);
549
549
  });
550
550
  }
551
- function _r(e, t, r) {
551
+ function br(e, t, r) {
552
552
  if (window.emMessageBus) {
553
553
  const n = document.createElement("style");
554
554
  window.emMessageBus.subscribe(t, (i) => {
@@ -557,7 +557,7 @@ function _r(e, t, r) {
557
557
  }
558
558
  }
559
559
  const X = [];
560
- function Er(e, t) {
560
+ function yr(e, t) {
561
561
  return {
562
562
  subscribe: ye(e, t).subscribe
563
563
  };
@@ -566,7 +566,7 @@ function ye(e, t = L) {
566
566
  let r;
567
567
  const n = /* @__PURE__ */ new Set();
568
568
  function i(a) {
569
- if (bt(e, a) && (e = a, r)) {
569
+ if (pt(e, a) && (e = a, r)) {
570
570
  const l = !X.length;
571
571
  for (const u of n)
572
572
  u[1](), X.push(u, e);
@@ -593,7 +593,7 @@ function Y(e, t, r) {
593
593
  if (!i.every(Boolean))
594
594
  throw new Error("derived() expects stores as input, got a falsy value");
595
595
  const s = t.length < 2;
596
- return Er(r, (o, a) => {
596
+ return yr(r, (o, a) => {
597
597
  let l = !1;
598
598
  const u = [];
599
599
  let h = 0, c = L;
@@ -601,11 +601,11 @@ function Y(e, t, r) {
601
601
  if (h)
602
602
  return;
603
603
  c();
604
- const p = t(n ? u[0] : u, o, a);
605
- s ? o(p) : c = je(p) ? p : L;
606
- }, d = i.map(
607
- (p, g) => yt(
608
- p,
604
+ const d = t(n ? u[0] : u, o, a);
605
+ s ? o(d) : c = je(d) ? d : L;
606
+ }, p = i.map(
607
+ (d, g) => dt(
608
+ d,
609
609
  (x) => {
610
610
  u[g] = x, h &= ~(1 << g), l && f();
611
611
  },
@@ -615,74 +615,74 @@ function Y(e, t, r) {
615
615
  )
616
616
  );
617
617
  return l = !0, f(), function() {
618
- oe(d), c(), l = !1;
618
+ oe(p), c(), l = !1;
619
619
  };
620
620
  });
621
621
  }
622
- function xr(e) {
622
+ function _r(e) {
623
623
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
624
624
  }
625
- var vr = function(t) {
626
- return Tr(t) && !Cr(t);
625
+ var Er = function(t) {
626
+ return xr(t) && !vr(t);
627
627
  };
628
- function Tr(e) {
628
+ function xr(e) {
629
629
  return !!e && typeof e == "object";
630
630
  }
631
- function Cr(e) {
631
+ function vr(e) {
632
632
  var t = Object.prototype.toString.call(e);
633
- return t === "[object RegExp]" || t === "[object Date]" || Sr(e);
633
+ return t === "[object RegExp]" || t === "[object Date]" || Hr(e);
634
634
  }
635
- var Hr = typeof Symbol == "function" && Symbol.for, Ar = Hr ? Symbol.for("react.element") : 60103;
636
- function Sr(e) {
637
- return e.$$typeof === Ar;
635
+ var Tr = typeof Symbol == "function" && Symbol.for, Cr = Tr ? Symbol.for("react.element") : 60103;
636
+ function Hr(e) {
637
+ return e.$$typeof === Cr;
638
638
  }
639
- function Br(e) {
639
+ function Ar(e) {
640
640
  return Array.isArray(e) ? [] : {};
641
641
  }
642
642
  function ie(e, t) {
643
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Br(e), e, t) : e;
643
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(Ar(e), e, t) : e;
644
644
  }
645
- function wr(e, t, r) {
645
+ function Sr(e, t, r) {
646
646
  return e.concat(t).map(function(n) {
647
647
  return ie(n, r);
648
648
  });
649
649
  }
650
- function Or(e, t) {
650
+ function Br(e, t) {
651
651
  if (!t.customMerge)
652
652
  return Z;
653
653
  var r = t.customMerge(e);
654
654
  return typeof r == "function" ? r : Z;
655
655
  }
656
- function Pr(e) {
656
+ function wr(e) {
657
657
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
658
658
  return Object.propertyIsEnumerable.call(e, t);
659
659
  }) : [];
660
660
  }
661
- function qe(e) {
662
- return Object.keys(e).concat(Pr(e));
661
+ function Qe(e) {
662
+ return Object.keys(e).concat(wr(e));
663
663
  }
664
- function Tt(e, t) {
664
+ function xt(e, t) {
665
665
  try {
666
666
  return t in e;
667
667
  } catch {
668
668
  return !1;
669
669
  }
670
670
  }
671
- function Nr(e, t) {
672
- return Tt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
671
+ function Or(e, t) {
672
+ return xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
673
673
  }
674
- function Lr(e, t, r) {
674
+ function Pr(e, t, r) {
675
675
  var n = {};
676
- return r.isMergeableObject(e) && qe(e).forEach(function(i) {
676
+ return r.isMergeableObject(e) && Qe(e).forEach(function(i) {
677
677
  n[i] = ie(e[i], r);
678
- }), qe(t).forEach(function(i) {
679
- Nr(e, i) || (Tt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Or(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
678
+ }), Qe(t).forEach(function(i) {
679
+ Or(e, i) || (xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Br(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
680
680
  }), n;
681
681
  }
682
682
  function Z(e, t, r) {
683
- r = r || {}, r.arrayMerge = r.arrayMerge || wr, r.isMergeableObject = r.isMergeableObject || vr, r.cloneUnlessOtherwiseSpecified = ie;
683
+ r = r || {}, r.arrayMerge = r.arrayMerge || Sr, r.isMergeableObject = r.isMergeableObject || Er, r.cloneUnlessOtherwiseSpecified = ie;
684
684
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
685
- return s ? n ? r.arrayMerge(e, t, r) : Lr(e, t, r) : ie(t, r);
685
+ return s ? n ? r.arrayMerge(e, t, r) : Pr(e, t, r) : ie(t, r);
686
686
  }
687
687
  Z.all = function(t, r) {
688
688
  if (!Array.isArray(t))
@@ -691,8 +691,8 @@ Z.all = function(t, r) {
691
691
  return Z(n, i, r);
692
692
  }, {});
693
693
  };
694
- var Ir = Z, Mr = Ir;
695
- const $r = /* @__PURE__ */ xr(Mr);
694
+ var Nr = Z, Lr = Nr;
695
+ const Ir = /* @__PURE__ */ _r(Lr);
696
696
  /*! *****************************************************************************
697
697
  Copyright (c) Microsoft Corporation.
698
698
 
@@ -734,7 +734,7 @@ var E = function() {
734
734
  return t;
735
735
  }, E.apply(this, arguments);
736
736
  };
737
- function Rr(e, t) {
737
+ function Mr(e, t) {
738
738
  var r = {};
739
739
  for (var n in e)
740
740
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -743,7 +743,7 @@ function Rr(e, t) {
743
743
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
744
744
  return r;
745
745
  }
746
- function Ei(e) {
746
+ function _i(e) {
747
747
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
748
748
  if (r)
749
749
  return r.call(e);
@@ -755,7 +755,7 @@ function Ei(e) {
755
755
  };
756
756
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
757
757
  }
758
- function xi(e, t) {
758
+ function Ei(e, t) {
759
759
  var r = typeof Symbol == "function" && e[Symbol.iterator];
760
760
  if (!r)
761
761
  return e;
@@ -782,55 +782,53 @@ function Ce(e, t, r) {
782
782
  return e.concat(s || t);
783
783
  }
784
784
  function He(e, t) {
785
- var r = t && t.cache ? t.cache : kr, n = t && t.serializer ? t.serializer : jr, i = t && t.strategy ? t.strategy : Gr;
785
+ var r = t && t.cache ? t.cache : jr, n = t && t.serializer ? t.serializer : Dr, i = t && t.strategy ? t.strategy : Ur;
786
786
  return i(e, {
787
787
  cache: r,
788
788
  serializer: n
789
789
  });
790
790
  }
791
- function Ur(e) {
791
+ function $r(e) {
792
792
  return e == null || typeof e == "number" || typeof e == "boolean";
793
793
  }
794
- function Ct(e, t, r, n) {
795
- var i = Ur(n) ? n : r(n), s = t.get(i);
794
+ function Rr(e, t, r, n) {
795
+ var i = $r(n) ? n : r(n), s = t.get(i);
796
796
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
797
797
  }
798
- function Ht(e, t, r) {
798
+ function vt(e, t, r) {
799
799
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
800
800
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
801
801
  }
802
- function ke(e, t, r, n, i) {
802
+ function Tt(e, t, r, n, i) {
803
803
  return r.bind(t, e, n, i);
804
804
  }
805
- function Gr(e, t) {
806
- var r = e.length === 1 ? Ct : Ht;
807
- return ke(e, this, r, t.cache.create(), t.serializer);
808
- }
809
- function Dr(e, t) {
810
- return ke(e, this, Ht, t.cache.create(), t.serializer);
805
+ function Ur(e, t) {
806
+ var r = e.length === 1 ? Rr : vt;
807
+ return Tt(e, this, r, t.cache.create(), t.serializer);
811
808
  }
812
- function Fr(e, t) {
813
- return ke(e, this, Ct, t.cache.create(), t.serializer);
809
+ function Gr(e, t) {
810
+ return Tt(e, this, vt, t.cache.create(), t.serializer);
814
811
  }
815
- var jr = function() {
812
+ var Dr = function() {
816
813
  return JSON.stringify(arguments);
817
- };
818
- function Ve() {
819
- this.cache = /* @__PURE__ */ Object.create(null);
820
- }
821
- Ve.prototype.get = function(e) {
822
- return this.cache[e];
823
- };
824
- Ve.prototype.set = function(e, t) {
825
- this.cache[e] = t;
826
- };
827
- var kr = {
814
+ }, Fr = (
815
+ /** @class */
816
+ function() {
817
+ function e() {
818
+ this.cache = /* @__PURE__ */ Object.create(null);
819
+ }
820
+ return e.prototype.get = function(t) {
821
+ return this.cache[t];
822
+ }, e.prototype.set = function(t, r) {
823
+ this.cache[t] = r;
824
+ }, e;
825
+ }()
826
+ ), jr = {
828
827
  create: function() {
829
- return new Ve();
828
+ return new Fr();
830
829
  }
831
830
  }, Ae = {
832
- variadic: Dr,
833
- monadic: Fr
831
+ variadic: Gr
834
832
  }, y;
835
833
  (function(e) {
836
834
  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";
@@ -843,43 +841,43 @@ var Q;
843
841
  (function(e) {
844
842
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
845
843
  })(Q || (Q = {}));
846
- function Ye(e) {
844
+ function Je(e) {
847
845
  return e.type === T.literal;
848
846
  }
849
- function Vr(e) {
847
+ function kr(e) {
850
848
  return e.type === T.argument;
851
849
  }
852
- function At(e) {
850
+ function Ct(e) {
853
851
  return e.type === T.number;
854
852
  }
855
- function St(e) {
853
+ function Ht(e) {
856
854
  return e.type === T.date;
857
855
  }
858
- function Bt(e) {
856
+ function At(e) {
859
857
  return e.type === T.time;
860
858
  }
861
- function wt(e) {
859
+ function St(e) {
862
860
  return e.type === T.select;
863
861
  }
864
- function Ot(e) {
862
+ function Bt(e) {
865
863
  return e.type === T.plural;
866
864
  }
867
- function Xr(e) {
865
+ function Vr(e) {
868
866
  return e.type === T.pound;
869
867
  }
870
- function Pt(e) {
868
+ function wt(e) {
871
869
  return e.type === T.tag;
872
870
  }
873
- function Nt(e) {
871
+ function Ot(e) {
874
872
  return !!(e && typeof e == "object" && e.type === Q.number);
875
873
  }
876
874
  function Ie(e) {
877
875
  return !!(e && typeof e == "object" && e.type === Q.dateTime);
878
876
  }
879
- var Lt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
880
- function Wr(e) {
877
+ var Pt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xr = /(?:[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;
878
+ function zr(e) {
881
879
  var t = {};
882
- return e.replace(zr, function(r) {
880
+ return e.replace(Xr, function(r) {
883
881
  var n = r.length;
884
882
  switch (r[0]) {
885
883
  case "G":
@@ -968,11 +966,11 @@ function Wr(e) {
968
966
  return "";
969
967
  }), t;
970
968
  }
971
- var Zr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
972
- function Qr(e) {
969
+ var Wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
970
+ function Zr(e) {
973
971
  if (e.length === 0)
974
972
  throw new Error("Number skeleton cannot be empty");
975
- for (var t = e.split(Zr).filter(function(f) {
973
+ for (var t = e.split(Wr).filter(function(f) {
976
974
  return f.length > 0;
977
975
  }), r = [], n = 0, i = t; n < i.length; n++) {
978
976
  var s = i[n], o = s.split("/");
@@ -987,17 +985,17 @@ function Qr(e) {
987
985
  }
988
986
  return r;
989
987
  }
990
- function Jr(e) {
988
+ function Qr(e) {
991
989
  return e.replace(/^(.*?)-/, "");
992
990
  }
993
- var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, It = /^(@+)?(\+|#+)?[rs]?$/g, qr = /(\*)(0+)|(#+)(0+)|(0+)/g, Mt = /^(0+)$/;
994
- function et(e) {
991
+ var qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, Jr = /(\*)(0+)|(#+)(0+)|(0+)/g, Lt = /^(0+)$/;
992
+ function Ye(e) {
995
993
  var t = {};
996
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(It, function(r, n, i) {
994
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
997
995
  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)), "";
998
996
  }), t;
999
997
  }
1000
- function $t(e) {
998
+ function It(e) {
1001
999
  switch (e) {
1002
1000
  case "sign-auto":
1003
1001
  return {
@@ -1037,7 +1035,7 @@ function $t(e) {
1037
1035
  };
1038
1036
  }
1039
1037
  }
1040
- function Yr(e) {
1038
+ function qr(e) {
1041
1039
  var t;
1042
1040
  if (e[0] === "E" && e[1] === "E" ? (t = {
1043
1041
  notation: "engineering"
@@ -1045,17 +1043,17 @@ function Yr(e) {
1045
1043
  notation: "scientific"
1046
1044
  }, e = e.slice(1)), t) {
1047
1045
  var r = e.slice(0, 2);
1048
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mt.test(e))
1046
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lt.test(e))
1049
1047
  throw new Error("Malformed concise eng/scientific notation");
1050
1048
  t.minimumIntegerDigits = e.length;
1051
1049
  }
1052
1050
  return t;
1053
1051
  }
1054
- function tt(e) {
1055
- var t = {}, r = $t(e);
1052
+ function Ke(e) {
1053
+ var t = {}, r = It(e);
1056
1054
  return r || t;
1057
1055
  }
1058
- function Kr(e) {
1056
+ function Yr(e) {
1059
1057
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1060
1058
  var i = n[r];
1061
1059
  switch (i.stem) {
@@ -1079,7 +1077,7 @@ function Kr(e) {
1079
1077
  continue;
1080
1078
  case "measure-unit":
1081
1079
  case "unit":
1082
- t.style = "unit", t.unit = Jr(i.options[0]);
1080
+ t.style = "unit", t.unit = Qr(i.options[0]);
1083
1081
  continue;
1084
1082
  case "compact-short":
1085
1083
  case "K":
@@ -1091,12 +1089,12 @@ function Kr(e) {
1091
1089
  continue;
1092
1090
  case "scientific":
1093
1091
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1094
- return E(E({}, l), tt(u));
1092
+ return E(E({}, l), Ke(u));
1095
1093
  }, {}));
1096
1094
  continue;
1097
1095
  case "engineering":
1098
1096
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1099
- return E(E({}, l), tt(u));
1097
+ return E(E({}, l), Ke(u));
1100
1098
  }, {}));
1101
1099
  continue;
1102
1100
  case "notation-simple":
@@ -1141,40 +1139,40 @@ function Kr(e) {
1141
1139
  case "integer-width":
1142
1140
  if (i.options.length > 1)
1143
1141
  throw new RangeError("integer-width stems only accept a single optional option");
1144
- i.options[0].replace(qr, function(l, u, h, c, f, d) {
1142
+ i.options[0].replace(Jr, function(l, u, h, c, f, p) {
1145
1143
  if (u)
1146
1144
  t.minimumIntegerDigits = h.length;
1147
1145
  else {
1148
1146
  if (c && f)
1149
1147
  throw new Error("We currently do not support maximum integer digits");
1150
- if (d)
1148
+ if (p)
1151
1149
  throw new Error("We currently do not support exact integer digits");
1152
1150
  }
1153
1151
  return "";
1154
1152
  });
1155
1153
  continue;
1156
1154
  }
1157
- if (Mt.test(i.stem)) {
1155
+ if (Lt.test(i.stem)) {
1158
1156
  t.minimumIntegerDigits = i.stem.length;
1159
1157
  continue;
1160
1158
  }
1161
- if (Ke.test(i.stem)) {
1159
+ if (qe.test(i.stem)) {
1162
1160
  if (i.options.length > 1)
1163
1161
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1164
- i.stem.replace(Ke, function(l, u, h, c, f, d) {
1165
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1162
+ i.stem.replace(qe, function(l, u, h, c, f, p) {
1163
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1166
1164
  });
1167
1165
  var s = i.options[0];
1168
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), et(s)));
1166
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ye(s)));
1169
1167
  continue;
1170
1168
  }
1171
- if (It.test(i.stem)) {
1172
- t = E(E({}, t), et(i.stem));
1169
+ if (Nt.test(i.stem)) {
1170
+ t = E(E({}, t), Ye(i.stem));
1173
1171
  continue;
1174
1172
  }
1175
- var o = $t(i.stem);
1173
+ var o = It(i.stem);
1176
1174
  o && (t = E(E({}, t), o));
1177
- var a = Yr(i.stem);
1175
+ var a = qr(i.stem);
1178
1176
  a && (t = E(E({}, t), a));
1179
1177
  }
1180
1178
  return t;
@@ -2594,13 +2592,13 @@ var fe = {
2594
2592
  "h"
2595
2593
  ]
2596
2594
  };
2597
- function en(e, t) {
2595
+ function Kr(e, t) {
2598
2596
  for (var r = "", n = 0; n < e.length; n++) {
2599
2597
  var i = e.charAt(n);
2600
2598
  if (i === "j") {
2601
2599
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2602
2600
  s++, n++;
2603
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = tn(t);
2601
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = en(t);
2604
2602
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2605
2603
  r += l;
2606
2604
  for (; o-- > 0; )
@@ -2610,7 +2608,7 @@ function en(e, t) {
2610
2608
  }
2611
2609
  return r;
2612
2610
  }
2613
- function tn(e) {
2611
+ function en(e) {
2614
2612
  var t = e.hourCycle;
2615
2613
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2616
2614
  e.hourCycles && // @ts-ignore
@@ -2632,20 +2630,20 @@ function tn(e) {
2632
2630
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2633
2631
  return i[0];
2634
2632
  }
2635
- var Se, rn = new RegExp("^".concat(Lt.source, "*")), nn = new RegExp("".concat(Lt.source, "*$"));
2633
+ var Se, tn = new RegExp("^".concat(Pt.source, "*")), rn = new RegExp("".concat(Pt.source, "*$"));
2636
2634
  function _(e, t) {
2637
2635
  return { start: e, end: t };
2638
2636
  }
2639
- var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), on = !!String.fromCodePoint, an = !!Object.fromEntries, un = !!String.prototype.codePointAt, hn = !!String.prototype.trimStart, ln = !!String.prototype.trimEnd, fn = !!Number.isSafeInteger, cn = fn ? Number.isSafeInteger : function(e) {
2637
+ var nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), sn = !!String.fromCodePoint, on = !!Object.fromEntries, an = !!String.prototype.codePointAt, un = !!String.prototype.trimStart, hn = !!String.prototype.trimEnd, ln = !!Number.isSafeInteger, fn = ln ? Number.isSafeInteger : function(e) {
2640
2638
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2641
2639
  }, Me = !0;
2642
2640
  try {
2643
- var gn = Ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2644
- Me = ((Se = gn.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2641
+ var cn = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2642
+ Me = ((Se = cn.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2645
2643
  } catch {
2646
2644
  Me = !1;
2647
2645
  }
2648
- var rt = sn ? (
2646
+ var et = nn ? (
2649
2647
  // Native
2650
2648
  function(t, r, n) {
2651
2649
  return t.startsWith(r, n);
@@ -2655,7 +2653,7 @@ var rt = sn ? (
2655
2653
  function(t, r, n) {
2656
2654
  return t.slice(n, n + r.length) === r;
2657
2655
  }
2658
- ), $e = on ? String.fromCodePoint : (
2656
+ ), $e = sn ? String.fromCodePoint : (
2659
2657
  // IE11
2660
2658
  function() {
2661
2659
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2667,9 +2665,9 @@ var rt = sn ? (
2667
2665
  }
2668
2666
  return n;
2669
2667
  }
2670
- ), nt = (
2668
+ ), tt = (
2671
2669
  // native
2672
- an ? Object.fromEntries : (
2670
+ on ? Object.fromEntries : (
2673
2671
  // Ponyfill
2674
2672
  function(t) {
2675
2673
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2679,7 +2677,7 @@ var rt = sn ? (
2679
2677
  return r;
2680
2678
  }
2681
2679
  )
2682
- ), Rt = un ? (
2680
+ ), Mt = an ? (
2683
2681
  // Native
2684
2682
  function(t, r) {
2685
2683
  return t.codePointAt(r);
@@ -2693,7 +2691,7 @@ var rt = sn ? (
2693
2691
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2694
2692
  }
2695
2693
  }
2696
- ), mn = hn ? (
2694
+ ), gn = un ? (
2697
2695
  // Native
2698
2696
  function(t) {
2699
2697
  return t.trimStart();
@@ -2701,9 +2699,9 @@ var rt = sn ? (
2701
2699
  ) : (
2702
2700
  // Ponyfill
2703
2701
  function(t) {
2704
- return t.replace(rn, "");
2702
+ return t.replace(tn, "");
2705
2703
  }
2706
- ), dn = ln ? (
2704
+ ), mn = hn ? (
2707
2705
  // Native
2708
2706
  function(t) {
2709
2707
  return t.trimEnd();
@@ -2711,26 +2709,26 @@ var rt = sn ? (
2711
2709
  ) : (
2712
2710
  // Ponyfill
2713
2711
  function(t) {
2714
- return t.replace(nn, "");
2712
+ return t.replace(rn, "");
2715
2713
  }
2716
2714
  );
2717
- function Ut(e, t) {
2715
+ function $t(e, t) {
2718
2716
  return new RegExp(e, t);
2719
2717
  }
2720
2718
  var Re;
2721
2719
  if (Me) {
2722
- var it = Ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2720
+ var rt = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2723
2721
  Re = function(t, r) {
2724
2722
  var n;
2725
- it.lastIndex = r;
2726
- var i = it.exec(t);
2723
+ rt.lastIndex = r;
2724
+ var i = rt.exec(t);
2727
2725
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2728
2726
  };
2729
2727
  } else
2730
2728
  Re = function(t, r) {
2731
2729
  for (var n = []; ; ) {
2732
- var i = Rt(t, r);
2733
- if (i === void 0 || Gt(i) || _n(i))
2730
+ var i = Mt(t, r);
2731
+ if (i === void 0 || Rt(i) || yn(i))
2734
2732
  break;
2735
2733
  n.push(i), r += i >= 65536 ? 2 : 1;
2736
2734
  }
@@ -2818,7 +2816,7 @@ var pn = (
2818
2816
  return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2819
2817
  }, e.prototype.parseTagName = function() {
2820
2818
  var t = this.offset();
2821
- for (this.bump(); !this.isEOF() && yn(this.char()); )
2819
+ for (this.bump(); !this.isEOF() && bn(this.char()); )
2822
2820
  this.bump();
2823
2821
  return this.message.slice(t, this.offset());
2824
2822
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2847,7 +2845,7 @@ var pn = (
2847
2845
  };
2848
2846
  }, e.prototype.tryParseLeftAngleBracket = function() {
2849
2847
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2850
- !bn(this.peek() || 0)) ? (this.bump(), "<") : null;
2848
+ !dn(this.peek() || 0)) ? (this.bump(), "<") : null;
2851
2849
  }, e.prototype.tryParseQuote = function(t) {
2852
2850
  if (this.isEOF() || this.char() !== 39)
2853
2851
  return null;
@@ -2934,18 +2932,18 @@ var pn = (
2934
2932
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2935
2933
  if (c.err)
2936
2934
  return c;
2937
- var f = dn(c.val);
2935
+ var f = mn(c.val);
2938
2936
  if (f.length === 0)
2939
2937
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2940
- var d = _(h, this.clonePosition());
2941
- u = { style: f, styleLocation: d };
2938
+ var p = _(h, this.clonePosition());
2939
+ u = { style: f, styleLocation: p };
2942
2940
  }
2943
- var p = this.tryParseArgumentClose(i);
2944
- if (p.err)
2945
- return p;
2941
+ var d = this.tryParseArgumentClose(i);
2942
+ if (d.err)
2943
+ return d;
2946
2944
  var g = _(i, this.clonePosition());
2947
- if (u && rt(u?.style, "::", 0)) {
2948
- var x = mn(u.style.slice(2));
2945
+ if (u && et(u?.style, "::", 0)) {
2946
+ var x = gn(u.style.slice(2));
2949
2947
  if (a === "number") {
2950
2948
  var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
2951
2949
  return c.err ? c : {
@@ -2956,12 +2954,12 @@ var pn = (
2956
2954
  if (x.length === 0)
2957
2955
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
2958
2956
  var m = x;
2959
- this.locale && (m = en(x, this.locale));
2957
+ this.locale && (m = Kr(x, this.locale));
2960
2958
  var f = {
2961
2959
  type: Q.dateTime,
2962
2960
  pattern: m,
2963
2961
  location: u.styleLocation,
2964
- parsedOptions: this.shouldParseSkeletons ? Wr(m) : {}
2962
+ parsedOptions: this.shouldParseSkeletons ? zr(m) : {}
2965
2963
  }, C = a === "date" ? T.date : T.time;
2966
2964
  return {
2967
2965
  val: { type: C, value: n, location: g, style: f },
@@ -2999,15 +2997,15 @@ var pn = (
2999
2997
  var A = this.tryParsePluralOrSelectOptions(t, a, r, P);
3000
2998
  if (A.err)
3001
2999
  return A;
3002
- var p = this.tryParseArgumentClose(i);
3003
- if (p.err)
3004
- return p;
3000
+ var d = this.tryParseArgumentClose(i);
3001
+ if (d.err)
3002
+ return d;
3005
3003
  var N = _(i, this.clonePosition());
3006
3004
  return a === "select" ? {
3007
3005
  val: {
3008
3006
  type: T.select,
3009
3007
  value: n,
3010
- options: nt(A.val),
3008
+ options: tt(A.val),
3011
3009
  location: N
3012
3010
  },
3013
3011
  err: null
@@ -3015,7 +3013,7 @@ var pn = (
3015
3013
  val: {
3016
3014
  type: T.plural,
3017
3015
  value: n,
3018
- options: nt(A.val),
3016
+ options: tt(A.val),
3019
3017
  offset: w,
3020
3018
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3021
3019
  location: N
@@ -3066,7 +3064,7 @@ var pn = (
3066
3064
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3067
3065
  var n = [];
3068
3066
  try {
3069
- n = Qr(t);
3067
+ n = Zr(t);
3070
3068
  } catch {
3071
3069
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3072
3070
  }
@@ -3075,7 +3073,7 @@ var pn = (
3075
3073
  type: Q.number,
3076
3074
  tokens: n,
3077
3075
  location: r,
3078
- parsedOptions: this.shouldParseSkeletons ? Kr(n) : {}
3076
+ parsedOptions: this.shouldParseSkeletons ? Yr(n) : {}
3079
3077
  },
3080
3078
  err: null
3081
3079
  };
@@ -3094,20 +3092,20 @@ var pn = (
3094
3092
  if (l.has(u))
3095
3093
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3096
3094
  u === "other" && (o = !0), this.bumpSpace();
3097
- var d = this.clonePosition();
3095
+ var p = this.clonePosition();
3098
3096
  if (!this.bumpIf("{"))
3099
3097
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3100
- var p = this.parseMessage(t + 1, r, n);
3101
- if (p.err)
3102
- return p;
3103
- var g = this.tryParseArgumentClose(d);
3098
+ var d = this.parseMessage(t + 1, r, n);
3099
+ if (d.err)
3100
+ return d;
3101
+ var g = this.tryParseArgumentClose(p);
3104
3102
  if (g.err)
3105
3103
  return g;
3106
3104
  a.push([
3107
3105
  u,
3108
3106
  {
3109
- value: p.val,
3110
- location: _(d, this.clonePosition())
3107
+ value: d.val,
3108
+ location: _(p, this.clonePosition())
3111
3109
  }
3112
3110
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3113
3111
  }
@@ -3123,7 +3121,7 @@ var pn = (
3123
3121
  break;
3124
3122
  }
3125
3123
  var l = _(i, this.clonePosition());
3126
- return s ? (o *= n, cn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3124
+ return s ? (o *= n, fn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3127
3125
  }, e.prototype.offset = function() {
3128
3126
  return this.position.offset;
3129
3127
  }, e.prototype.isEOF = function() {
@@ -3138,7 +3136,7 @@ var pn = (
3138
3136
  var t = this.position.offset;
3139
3137
  if (t >= this.message.length)
3140
3138
  throw Error("out of bound");
3141
- var r = Rt(this.message, t);
3139
+ var r = Mt(this.message, t);
3142
3140
  if (r === void 0)
3143
3141
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3144
3142
  return r;
@@ -3157,7 +3155,7 @@ var pn = (
3157
3155
  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);
3158
3156
  }
3159
3157
  }, e.prototype.bumpIf = function(t) {
3160
- if (rt(this.message, t, this.offset())) {
3158
+ if (et(this.message, t, this.offset())) {
3161
3159
  for (var r = 0; r < t.length; r++)
3162
3160
  this.bump();
3163
3161
  return !0;
@@ -3179,7 +3177,7 @@ var pn = (
3179
3177
  break;
3180
3178
  }
3181
3179
  }, e.prototype.bumpSpace = function() {
3182
- for (; !this.isEOF() && Gt(this.char()); )
3180
+ for (; !this.isEOF() && Rt(this.char()); )
3183
3181
  this.bump();
3184
3182
  }, e.prototype.peek = function() {
3185
3183
  if (this.isEOF())
@@ -3192,28 +3190,28 @@ var pn = (
3192
3190
  function Ue(e) {
3193
3191
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3194
3192
  }
3195
- function bn(e) {
3193
+ function dn(e) {
3196
3194
  return Ue(e) || e === 47;
3197
3195
  }
3198
- function yn(e) {
3196
+ function bn(e) {
3199
3197
  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;
3200
3198
  }
3201
- function Gt(e) {
3199
+ function Rt(e) {
3202
3200
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3203
3201
  }
3204
- function _n(e) {
3202
+ function yn(e) {
3205
3203
  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;
3206
3204
  }
3207
3205
  function Ge(e) {
3208
3206
  e.forEach(function(t) {
3209
- if (delete t.location, wt(t) || Ot(t))
3207
+ if (delete t.location, St(t) || Bt(t))
3210
3208
  for (var r in t.options)
3211
3209
  delete t.options[r].location, Ge(t.options[r].value);
3212
3210
  else
3213
- At(t) && Nt(t.style) || (St(t) || Bt(t)) && Ie(t.style) ? delete t.style.location : Pt(t) && Ge(t.children);
3211
+ Ct(t) && Ot(t.style) || (Ht(t) || At(t)) && Ie(t.style) ? delete t.style.location : wt(t) && Ge(t.children);
3214
3212
  });
3215
3213
  }
3216
- function En(e, t) {
3214
+ function _n(e, t) {
3217
3215
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3218
3216
  var r = new pn(e, t).parse();
3219
3217
  if (r.err) {
@@ -3238,7 +3236,7 @@ var Ee = (
3238
3236
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3239
3237
  }, t;
3240
3238
  }(Error)
3241
- ), st = (
3239
+ ), nt = (
3242
3240
  /** @class */
3243
3241
  function(e) {
3244
3242
  _e(t, e);
@@ -3247,7 +3245,7 @@ var Ee = (
3247
3245
  }
3248
3246
  return t;
3249
3247
  }(Ee)
3250
- ), xn = (
3248
+ ), En = (
3251
3249
  /** @class */
3252
3250
  function(e) {
3253
3251
  _e(t, e);
@@ -3256,7 +3254,7 @@ var Ee = (
3256
3254
  }
3257
3255
  return t;
3258
3256
  }(Ee)
3259
- ), vn = (
3257
+ ), xn = (
3260
3258
  /** @class */
3261
3259
  function(e) {
3262
3260
  _e(t, e);
@@ -3269,17 +3267,17 @@ var Ee = (
3269
3267
  (function(e) {
3270
3268
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3271
3269
  })(O || (O = {}));
3272
- function Tn(e) {
3270
+ function vn(e) {
3273
3271
  return e.length < 2 ? e : e.reduce(function(t, r) {
3274
3272
  var n = t[t.length - 1];
3275
3273
  return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3276
3274
  }, []);
3277
3275
  }
3278
- function Cn(e) {
3276
+ function Tn(e) {
3279
3277
  return typeof e == "function";
3280
3278
  }
3281
3279
  function ge(e, t, r, n, i, s, o) {
3282
- if (e.length === 1 && Ye(e[0]))
3280
+ if (e.length === 1 && Je(e[0]))
3283
3281
  return [
3284
3282
  {
3285
3283
  type: O.literal,
@@ -3288,14 +3286,14 @@ function ge(e, t, r, n, i, s, o) {
3288
3286
  ];
3289
3287
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3290
3288
  var h = u[l];
3291
- if (Ye(h)) {
3289
+ if (Je(h)) {
3292
3290
  a.push({
3293
3291
  type: O.literal,
3294
3292
  value: h.value
3295
3293
  });
3296
3294
  continue;
3297
3295
  }
3298
- if (Xr(h)) {
3296
+ if (Vr(h)) {
3299
3297
  typeof s == "number" && a.push({
3300
3298
  type: O.literal,
3301
3299
  value: r.getNumberFormat(t).format(s)
@@ -3304,44 +3302,44 @@ function ge(e, t, r, n, i, s, o) {
3304
3302
  }
3305
3303
  var c = h.value;
3306
3304
  if (!(i && c in i))
3307
- throw new vn(c, o);
3305
+ throw new xn(c, o);
3308
3306
  var f = i[c];
3309
- if (Vr(h)) {
3307
+ if (kr(h)) {
3310
3308
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3311
3309
  type: typeof f == "string" ? O.literal : O.object,
3312
3310
  value: f
3313
3311
  });
3314
3312
  continue;
3315
3313
  }
3316
- if (St(h)) {
3317
- var d = typeof h.style == "string" ? n.date[h.style] : Ie(h.style) ? h.style.parsedOptions : void 0;
3314
+ if (Ht(h)) {
3315
+ var p = typeof h.style == "string" ? n.date[h.style] : Ie(h.style) ? h.style.parsedOptions : void 0;
3318
3316
  a.push({
3319
3317
  type: O.literal,
3320
- value: r.getDateTimeFormat(t, d).format(f)
3318
+ value: r.getDateTimeFormat(t, p).format(f)
3321
3319
  });
3322
3320
  continue;
3323
3321
  }
3324
- if (Bt(h)) {
3325
- var d = typeof h.style == "string" ? n.time[h.style] : Ie(h.style) ? h.style.parsedOptions : n.time.medium;
3322
+ if (At(h)) {
3323
+ var p = typeof h.style == "string" ? n.time[h.style] : Ie(h.style) ? h.style.parsedOptions : n.time.medium;
3326
3324
  a.push({
3327
3325
  type: O.literal,
3328
- value: r.getDateTimeFormat(t, d).format(f)
3326
+ value: r.getDateTimeFormat(t, p).format(f)
3329
3327
  });
3330
3328
  continue;
3331
3329
  }
3332
- if (At(h)) {
3333
- var d = typeof h.style == "string" ? n.number[h.style] : Nt(h.style) ? h.style.parsedOptions : void 0;
3334
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3330
+ if (Ct(h)) {
3331
+ var p = typeof h.style == "string" ? n.number[h.style] : Ot(h.style) ? h.style.parsedOptions : void 0;
3332
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3335
3333
  type: O.literal,
3336
- value: r.getNumberFormat(t, d).format(f)
3334
+ value: r.getNumberFormat(t, p).format(f)
3337
3335
  });
3338
3336
  continue;
3339
3337
  }
3340
- if (Pt(h)) {
3341
- var p = h.children, g = h.value, x = i[g];
3342
- if (!Cn(x))
3343
- throw new xn(g, "function", o);
3344
- var m = ge(p, t, r, n, i, s), C = x(m.map(function(w) {
3338
+ if (wt(h)) {
3339
+ var d = h.children, g = h.value, x = i[g];
3340
+ if (!Tn(x))
3341
+ throw new En(g, "function", o);
3342
+ var m = ge(d, t, r, n, i, s), C = x(m.map(function(w) {
3345
3343
  return w.value;
3346
3344
  }));
3347
3345
  Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(w) {
@@ -3351,14 +3349,14 @@ function ge(e, t, r, n, i, s, o) {
3351
3349
  };
3352
3350
  }));
3353
3351
  }
3354
- if (wt(h)) {
3352
+ if (St(h)) {
3355
3353
  var S = h.options[f] || h.options.other;
3356
3354
  if (!S)
3357
- throw new st(h.value, f, Object.keys(h.options), o);
3355
+ throw new nt(h.value, f, Object.keys(h.options), o);
3358
3356
  a.push.apply(a, ge(S.value, t, r, n, i));
3359
3357
  continue;
3360
3358
  }
3361
- if (Ot(h)) {
3359
+ if (Bt(h)) {
3362
3360
  var S = h.options["=".concat(f)];
3363
3361
  if (!S) {
3364
3362
  if (!Intl.PluralRules)
@@ -3369,21 +3367,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3369
3367
  S = h.options[P] || h.options.other;
3370
3368
  }
3371
3369
  if (!S)
3372
- throw new st(h.value, f, Object.keys(h.options), o);
3370
+ throw new nt(h.value, f, Object.keys(h.options), o);
3373
3371
  a.push.apply(a, ge(S.value, t, r, n, i, f - (h.offset || 0)));
3374
3372
  continue;
3375
3373
  }
3376
3374
  }
3377
- return Tn(a);
3375
+ return vn(a);
3378
3376
  }
3379
- function Hn(e, t) {
3377
+ function Cn(e, t) {
3380
3378
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3381
3379
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3382
3380
  }, {})) : e;
3383
3381
  }
3384
- function An(e, t) {
3382
+ function Hn(e, t) {
3385
3383
  return t ? Object.keys(e).reduce(function(r, n) {
3386
- return r[n] = Hn(e[n], t[n]), r;
3384
+ return r[n] = Cn(e[n], t[n]), r;
3387
3385
  }, E({}, e)) : e;
3388
3386
  }
3389
3387
  function Be(e) {
@@ -3400,7 +3398,7 @@ function Be(e) {
3400
3398
  }
3401
3399
  };
3402
3400
  }
3403
- function Sn(e) {
3401
+ function An(e) {
3404
3402
  return e === void 0 && (e = {
3405
3403
  number: {},
3406
3404
  dateTime: {},
@@ -3432,7 +3430,7 @@ function Sn(e) {
3432
3430
  })
3433
3431
  };
3434
3432
  }
3435
- var Bn = (
3433
+ var Sn = (
3436
3434
  /** @class */
3437
3435
  function() {
3438
3436
  function e(t, r, n, i) {
@@ -3464,13 +3462,13 @@ var Bn = (
3464
3462
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3465
3463
  var o = i || {};
3466
3464
  o.formatters;
3467
- var a = Rr(o, ["formatters"]);
3465
+ var a = Mr(o, ["formatters"]);
3468
3466
  this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3469
3467
  } else
3470
3468
  this.ast = t;
3471
3469
  if (!Array.isArray(this.ast))
3472
3470
  throw new TypeError("A message must be provided as a String or AST.");
3473
- this.formats = An(e.formats, n), this.formatters = i && i.formatters || Sn(this.formatterCache);
3471
+ this.formats = Hn(e.formats, n), this.formatters = i && i.formatters || An(this.formatterCache);
3474
3472
  }
3475
3473
  return Object.defineProperty(e, "defaultLocale", {
3476
3474
  get: function() {
@@ -3483,7 +3481,7 @@ var Bn = (
3483
3481
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3484
3482
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3485
3483
  }
3486
- }, e.__parse = En, e.formats = {
3484
+ }, e.__parse = _n, e.formats = {
3487
3485
  number: {
3488
3486
  integer: {
3489
3487
  maximumFractionDigits: 0
@@ -3544,7 +3542,7 @@ var Bn = (
3544
3542
  }, e;
3545
3543
  }()
3546
3544
  );
3547
- function wn(e, t) {
3545
+ function Bn(e, t) {
3548
3546
  if (t == null)
3549
3547
  return;
3550
3548
  if (t in e)
@@ -3565,60 +3563,60 @@ function wn(e, t) {
3565
3563
  n = void 0;
3566
3564
  return n;
3567
3565
  }
3568
- const U = {}, On = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), Dt = (e, t) => {
3566
+ const U = {}, wn = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), Ut = (e, t) => {
3569
3567
  if (t == null)
3570
3568
  return;
3571
3569
  if (t in U && e in U[t])
3572
3570
  return U[t][e];
3573
3571
  const r = xe(t);
3574
3572
  for (let n = 0; n < r.length; n++) {
3575
- const i = r[n], s = Nn(i, e);
3573
+ const i = r[n], s = Pn(i, e);
3576
3574
  if (s)
3577
- return On(e, t, s);
3575
+ return wn(e, t, s);
3578
3576
  }
3579
3577
  };
3580
- let Xe;
3578
+ let ke;
3581
3579
  const ae = ye({});
3582
- function Pn(e) {
3583
- return Xe[e] || null;
3580
+ function On(e) {
3581
+ return ke[e] || null;
3584
3582
  }
3585
- function Ft(e) {
3586
- return e in Xe;
3583
+ function Gt(e) {
3584
+ return e in ke;
3587
3585
  }
3588
- function Nn(e, t) {
3589
- if (!Ft(e))
3586
+ function Pn(e, t) {
3587
+ if (!Gt(e))
3590
3588
  return null;
3591
- const r = Pn(e);
3592
- return wn(r, t);
3589
+ const r = On(e);
3590
+ return Bn(r, t);
3593
3591
  }
3594
- function Ln(e) {
3592
+ function Nn(e) {
3595
3593
  if (e == null)
3596
3594
  return;
3597
3595
  const t = xe(e);
3598
3596
  for (let r = 0; r < t.length; r++) {
3599
3597
  const n = t[r];
3600
- if (Ft(n))
3598
+ if (Gt(n))
3601
3599
  return n;
3602
3600
  }
3603
3601
  }
3604
- function jt(e, ...t) {
3605
- delete U[e], ae.update((r) => (r[e] = $r.all([r[e] || {}, ...t]), r));
3602
+ function Dt(e, ...t) {
3603
+ delete U[e], ae.update((r) => (r[e] = Ir.all([r[e] || {}, ...t]), r));
3606
3604
  }
3607
3605
  Y(
3608
3606
  [ae],
3609
3607
  ([e]) => Object.keys(e)
3610
3608
  );
3611
- ae.subscribe((e) => Xe = e);
3609
+ ae.subscribe((e) => ke = e);
3612
3610
  const me = {};
3613
- function In(e, t) {
3611
+ function Ln(e, t) {
3614
3612
  me[e].delete(t), me[e].size === 0 && delete me[e];
3615
3613
  }
3616
- function kt(e) {
3614
+ function Ft(e) {
3617
3615
  return me[e];
3618
3616
  }
3619
- function Mn(e) {
3617
+ function In(e) {
3620
3618
  return xe(e).map((t) => {
3621
- const r = kt(t);
3619
+ const r = Ft(t);
3622
3620
  return [t, r ? [...r] : []];
3623
3621
  }).filter(([, t]) => t.length > 0);
3624
3622
  }
@@ -3626,31 +3624,31 @@ function De(e) {
3626
3624
  return e == null ? !1 : xe(e).some(
3627
3625
  (t) => {
3628
3626
  var r;
3629
- return (r = kt(t)) == null ? void 0 : r.size;
3627
+ return (r = Ft(t)) == null ? void 0 : r.size;
3630
3628
  }
3631
3629
  );
3632
3630
  }
3633
- function $n(e, t) {
3631
+ function Mn(e, t) {
3634
3632
  return Promise.all(
3635
- t.map((n) => (In(e, n), n().then((i) => i.default || i)))
3636
- ).then((n) => jt(e, ...n));
3633
+ t.map((n) => (Ln(e, n), n().then((i) => i.default || i)))
3634
+ ).then((n) => Dt(e, ...n));
3637
3635
  }
3638
3636
  const te = {};
3639
- function Vt(e) {
3637
+ function jt(e) {
3640
3638
  if (!De(e))
3641
3639
  return e in te ? te[e] : Promise.resolve();
3642
- const t = Mn(e);
3640
+ const t = In(e);
3643
3641
  return te[e] = Promise.all(
3644
3642
  t.map(
3645
- ([r, n]) => $n(r, n)
3643
+ ([r, n]) => Mn(r, n)
3646
3644
  )
3647
3645
  ).then(() => {
3648
3646
  if (De(e))
3649
- return Vt(e);
3647
+ return jt(e);
3650
3648
  delete te[e];
3651
3649
  }), te[e];
3652
3650
  }
3653
- const Rn = {
3651
+ const $n = {
3654
3652
  number: {
3655
3653
  scientific: { notation: "scientific" },
3656
3654
  engineering: { notation: "engineering" },
@@ -3679,57 +3677,57 @@ const Rn = {
3679
3677
  timeZoneName: "short"
3680
3678
  }
3681
3679
  }
3682
- }, Un = {
3680
+ }, Rn = {
3683
3681
  fallbackLocale: null,
3684
3682
  loadingDelay: 200,
3685
- formats: Rn,
3683
+ formats: $n,
3686
3684
  warnOnMissingMessages: !0,
3687
3685
  handleMissingMessage: void 0,
3688
3686
  ignoreTag: !0
3689
- }, Gn = Un;
3687
+ }, Un = Rn;
3690
3688
  function q() {
3691
- return Gn;
3689
+ return Un;
3692
3690
  }
3693
3691
  const we = ye(!1);
3694
- var Dn = Object.defineProperty, Fn = Object.defineProperties, jn = Object.getOwnPropertyDescriptors, ot = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Vn = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
3692
+ var Gn = Object.defineProperty, Dn = Object.defineProperties, Fn = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, jn = Object.prototype.hasOwnProperty, kn = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vn = (e, t) => {
3695
3693
  for (var r in t || (t = {}))
3696
- kn.call(t, r) && at(e, r, t[r]);
3697
- if (ot)
3698
- for (var r of ot(t))
3699
- Vn.call(t, r) && at(e, r, t[r]);
3694
+ jn.call(t, r) && st(e, r, t[r]);
3695
+ if (it)
3696
+ for (var r of it(t))
3697
+ kn.call(t, r) && st(e, r, t[r]);
3700
3698
  return e;
3701
- }, zn = (e, t) => Fn(e, jn(t));
3699
+ }, Xn = (e, t) => Dn(e, Fn(t));
3702
3700
  let Fe;
3703
- const pe = ye(null);
3704
- function ut(e) {
3701
+ const de = ye(null);
3702
+ function ot(e) {
3705
3703
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3706
3704
  }
3707
3705
  function xe(e, t = q().fallbackLocale) {
3708
- const r = ut(e);
3709
- return t ? [.../* @__PURE__ */ new Set([...r, ...ut(t)])] : r;
3706
+ const r = ot(e);
3707
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ot(t)])] : r;
3710
3708
  }
3711
3709
  function k() {
3712
3710
  return Fe ?? void 0;
3713
3711
  }
3714
- pe.subscribe((e) => {
3712
+ de.subscribe((e) => {
3715
3713
  Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3716
3714
  });
3717
- const Wn = (e) => {
3718
- if (e && Ln(e) && De(e)) {
3715
+ const zn = (e) => {
3716
+ if (e && Nn(e) && De(e)) {
3719
3717
  const { loadingDelay: t } = q();
3720
3718
  let r;
3721
3719
  return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3722
3720
  () => we.set(!0),
3723
3721
  t
3724
- ) : we.set(!0), Vt(e).then(() => {
3725
- pe.set(e);
3722
+ ) : we.set(!0), jt(e).then(() => {
3723
+ de.set(e);
3726
3724
  }).finally(() => {
3727
3725
  clearTimeout(r), we.set(!1);
3728
3726
  });
3729
3727
  }
3730
- return pe.set(e);
3731
- }, K = zn(Xn({}, pe), {
3732
- set: Wn
3728
+ return de.set(e);
3729
+ }, K = Xn(Vn({}, de), {
3730
+ set: zn
3733
3731
  }), ve = (e) => {
3734
3732
  const t = /* @__PURE__ */ Object.create(null);
3735
3733
  return (n) => {
@@ -3737,20 +3735,20 @@ const Wn = (e) => {
3737
3735
  return i in t ? t[i] : t[i] = e(n);
3738
3736
  };
3739
3737
  };
3740
- var Zn = Object.defineProperty, be = Object.getOwnPropertySymbols, Xt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3738
+ var Wn = Object.defineProperty, be = Object.getOwnPropertySymbols, kt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
3741
3739
  for (var r in t || (t = {}))
3742
- Xt.call(t, r) && ht(e, r, t[r]);
3740
+ kt.call(t, r) && at(e, r, t[r]);
3743
3741
  if (be)
3744
3742
  for (var r of be(t))
3745
- zt.call(t, r) && ht(e, r, t[r]);
3743
+ Vt.call(t, r) && at(e, r, t[r]);
3746
3744
  return e;
3747
3745
  }, ee = (e, t) => {
3748
3746
  var r = {};
3749
3747
  for (var n in e)
3750
- Xt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3748
+ kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3751
3749
  if (e != null && be)
3752
3750
  for (var n of be(e))
3753
- t.indexOf(n) < 0 && zt.call(e, n) && (r[n] = e[n]);
3751
+ t.indexOf(n) < 0 && Vt.call(e, n) && (r[n] = e[n]);
3754
3752
  return r;
3755
3753
  };
3756
3754
  const se = (e, t) => {
@@ -3758,21 +3756,21 @@ const se = (e, t) => {
3758
3756
  if (e in r && t in r[e])
3759
3757
  return r[e][t];
3760
3758
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3761
- }, Qn = ve(
3759
+ }, Zn = ve(
3762
3760
  (e) => {
3763
3761
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3764
3762
  if (r == null)
3765
3763
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3766
3764
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3767
3765
  }
3768
- ), Jn = ve(
3766
+ ), Qn = ve(
3769
3767
  (e) => {
3770
3768
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3771
3769
  if (r == null)
3772
3770
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3773
3771
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3774
3772
  }
3775
- ), qn = ve(
3773
+ ), Jn = ve(
3776
3774
  (e) => {
3777
3775
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3778
3776
  if (r == null)
@@ -3781,33 +3779,33 @@ const se = (e, t) => {
3781
3779
  );
3782
3780
  return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3783
3781
  }
3784
- ), Yn = (e = {}) => {
3782
+ ), qn = (e = {}) => {
3785
3783
  var t = e, {
3786
3784
  locale: r = k()
3787
3785
  } = t, n = ee(t, [
3788
3786
  "locale"
3789
3787
  ]);
3790
- return Qn(ze({ locale: r }, n));
3791
- }, Kn = (e = {}) => {
3788
+ return Zn(Ve({ locale: r }, n));
3789
+ }, Yn = (e = {}) => {
3792
3790
  var t = e, {
3793
3791
  locale: r = k()
3794
3792
  } = t, n = ee(t, [
3795
3793
  "locale"
3796
3794
  ]);
3797
- return Jn(ze({ locale: r }, n));
3798
- }, ei = (e = {}) => {
3795
+ return Qn(Ve({ locale: r }, n));
3796
+ }, Kn = (e = {}) => {
3799
3797
  var t = e, {
3800
3798
  locale: r = k()
3801
3799
  } = t, n = ee(t, [
3802
3800
  "locale"
3803
3801
  ]);
3804
- return qn(ze({ locale: r }, n));
3805
- }, ti = ve(
3802
+ return Jn(Ve({ locale: r }, n));
3803
+ }, ei = ve(
3806
3804
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3807
- (e, t = k()) => new Bn(e, t, q().formats, {
3805
+ (e, t = k()) => new Sn(e, t, q().formats, {
3808
3806
  ignoreTag: q().ignoreTag
3809
3807
  })
3810
- ), ri = (e, t = {}) => {
3808
+ ), ti = (e, t = {}) => {
3811
3809
  var r, n, i, s;
3812
3810
  let o = t;
3813
3811
  typeof e == "object" && (o = e, e = o.id);
@@ -3820,7 +3818,7 @@ const se = (e, t) => {
3820
3818
  throw new Error(
3821
3819
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3822
3820
  );
3823
- let h = Dt(e, l);
3821
+ let h = Ut(e, l);
3824
3822
  if (!h)
3825
3823
  h = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3826
3824
  else if (typeof h != "string")
@@ -3831,7 +3829,7 @@ const se = (e, t) => {
3831
3829
  return h;
3832
3830
  let c = h;
3833
3831
  try {
3834
- c = ti(h, l).format(a);
3832
+ c = ei(h, l).format(a);
3835
3833
  } catch (f) {
3836
3834
  f instanceof Error && console.warn(
3837
3835
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3839,18 +3837,18 @@ const se = (e, t) => {
3839
3837
  );
3840
3838
  }
3841
3839
  return c;
3842
- }, ni = (e, t) => ei(t).format(e), ii = (e, t) => Kn(t).format(e), si = (e, t) => Yn(t).format(e), oi = (e, t = k()) => Dt(e, t), ai = Y([K, ae], () => ri);
3840
+ }, ri = (e, t) => Kn(t).format(e), ni = (e, t) => Yn(t).format(e), ii = (e, t) => qn(t).format(e), si = (e, t = k()) => Ut(e, t), oi = Y([K, ae], () => ti);
3841
+ Y([K], () => ri);
3843
3842
  Y([K], () => ni);
3844
3843
  Y([K], () => ii);
3845
- Y([K], () => si);
3846
- Y([K, ae], () => oi);
3847
- function lt(e, t) {
3848
- jt(e, t);
3844
+ Y([K, ae], () => si);
3845
+ function ut(e, t) {
3846
+ Dt(e, t);
3849
3847
  }
3850
- function ui(e) {
3848
+ function ai(e) {
3851
3849
  K.set(e);
3852
3850
  }
3853
- const ft = {
3851
+ const ht = {
3854
3852
  en: {
3855
3853
  topCategories: "Top Categories",
3856
3854
  otherCategories: "Other Categories",
@@ -3960,18 +3958,18 @@ const ft = {
3960
3958
  games: "games"
3961
3959
  }
3962
3960
  };
3963
- function hi(e) {
3964
- Yt(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3961
+ function ui(e) {
3962
+ Jt(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
3965
3963
  }
3966
- function ct(e, t, r) {
3964
+ function lt(e, t, r) {
3967
3965
  const n = e.slice();
3968
3966
  return n[23] = t[r], n;
3969
3967
  }
3970
- function gt(e, t, r) {
3968
+ function ft(e, t, r) {
3971
3969
  const n = e.slice();
3972
3970
  return n[23] = t[r], n;
3973
3971
  }
3974
- function li(e) {
3972
+ function hi(e) {
3975
3973
  let t, r, n = (
3976
3974
  /*$_*/
3977
3975
  e[5]("topCategories") + ""
@@ -3983,21 +3981,21 @@ function li(e) {
3983
3981
  e[3]
3984
3982
  ), f = [];
3985
3983
  for (let g = 0; g < c.length; g += 1)
3986
- f[g] = mt(gt(e, c, g));
3987
- let d = le(
3984
+ f[g] = ct(ft(e, c, g));
3985
+ let p = le(
3988
3986
  /*otherCategories*/
3989
3987
  e[4]
3990
- ), p = [];
3991
- for (let g = 0; g < d.length; g += 1)
3992
- p[g] = dt(ct(e, d, g));
3988
+ ), d = [];
3989
+ for (let g = 0; g < p.length; g += 1)
3990
+ d[g] = gt(lt(e, p, g));
3993
3991
  return {
3994
3992
  c() {
3995
3993
  t = B("div"), r = B("h4"), i = R(n), s = $();
3996
3994
  for (let g = 0; g < f.length; g += 1)
3997
3995
  f[g].c();
3998
3996
  o = $(), a = B("h4"), u = R(l), h = $();
3999
- for (let g = 0; g < p.length; g += 1)
4000
- p[g].c();
3997
+ for (let g = 0; g < d.length; g += 1)
3998
+ d[g].c();
4001
3999
  H(r, "class", "CategoryTitle"), H(a, "class", "CategoryTitle"), H(t, "class", "CasinoCategories");
4002
4000
  },
4003
4001
  m(g, x) {
@@ -4005,8 +4003,8 @@ function li(e) {
4005
4003
  for (let m = 0; m < f.length; m += 1)
4006
4004
  f[m] && f[m].m(t, null);
4007
4005
  v(t, o), v(t, a), v(a, u), v(t, h);
4008
- for (let m = 0; m < p.length; m += 1)
4009
- p[m] && p[m].m(t, null);
4006
+ for (let m = 0; m < d.length; m += 1)
4007
+ d[m] && d[m].m(t, null);
4010
4008
  },
4011
4009
  p(g, x) {
4012
4010
  if (x & /*$_*/
@@ -4019,8 +4017,8 @@ function li(e) {
4019
4017
  );
4020
4018
  let m;
4021
4019
  for (m = 0; m < c.length; m += 1) {
4022
- const C = gt(g, c, m);
4023
- f[m] ? f[m].p(C, x) : (f[m] = mt(C), f[m].c(), f[m].m(t, o));
4020
+ const C = ft(g, c, m);
4021
+ f[m] ? f[m].p(C, x) : (f[m] = ct(C), f[m].c(), f[m].m(t, o));
4024
4022
  }
4025
4023
  for (; m < f.length; m += 1)
4026
4024
  f[m].d(1);
@@ -4030,26 +4028,26 @@ function li(e) {
4030
4028
  32 && l !== (l = /*$_*/
4031
4029
  g[5]("otherCategories") + "") && G(u, l), x & /*activecategory, otherCategories, openGameCategory, $_*/
4032
4030
  113) {
4033
- d = le(
4031
+ p = le(
4034
4032
  /*otherCategories*/
4035
4033
  g[4]
4036
4034
  );
4037
4035
  let m;
4038
- for (m = 0; m < d.length; m += 1) {
4039
- const C = ct(g, d, m);
4040
- p[m] ? p[m].p(C, x) : (p[m] = dt(C), p[m].c(), p[m].m(t, null));
4036
+ for (m = 0; m < p.length; m += 1) {
4037
+ const C = lt(g, p, m);
4038
+ d[m] ? d[m].p(C, x) : (d[m] = gt(C), d[m].c(), d[m].m(t, null));
4041
4039
  }
4042
- for (; m < p.length; m += 1)
4043
- p[m].d(1);
4044
- p.length = d.length;
4040
+ for (; m < d.length; m += 1)
4041
+ d[m].d(1);
4042
+ d.length = p.length;
4045
4043
  }
4046
4044
  },
4047
4045
  d(g) {
4048
- g && D(t), Qe(f, g), Qe(p, g);
4046
+ g && D(t), We(f, g), We(d, g);
4049
4047
  }
4050
4048
  };
4051
4049
  }
4052
- function fi(e) {
4050
+ function li(e) {
4053
4051
  let t;
4054
4052
  return {
4055
4053
  c() {
@@ -4064,14 +4062,14 @@ function fi(e) {
4064
4062
  }
4065
4063
  };
4066
4064
  }
4067
- function mt(e) {
4065
+ function ct(e) {
4068
4066
  let t, r, n, i, s, o, a, l = (
4069
4067
  /*category*/
4070
4068
  e[23].name + ""
4071
4069
  ), u, h, c, f = (
4072
4070
  /*category*/
4073
4071
  e[23].games.count + ""
4074
- ), d, p, g = (
4072
+ ), p, d, g = (
4075
4073
  /*$_*/
4076
4074
  e[5]("games") + ""
4077
4075
  ), x, m, C, S;
@@ -4086,25 +4084,25 @@ function mt(e) {
4086
4084
  }
4087
4085
  return {
4088
4086
  c() {
4089
- t = B("div"), r = B("img"), s = $(), o = B("div"), a = B("p"), u = R(l), h = $(), c = B("p"), d = R(f), p = $(), x = R(g), de(r.src, n = /*category*/
4087
+ t = B("div"), r = B("img"), s = $(), o = B("div"), a = B("p"), u = R(l), h = $(), c = B("p"), p = R(f), d = $(), x = R(g), pe(r.src, n = /*category*/
4090
4088
  e[23].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
4091
4089
  e[23].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", m = "Category " + /*activecategory*/
4092
4090
  (e[0] === /*category*/
4093
4091
  e[23].id ? "Active" : ""));
4094
4092
  },
4095
4093
  m(w, A) {
4096
- j(w, t, A), v(t, r), v(t, s), v(t, o), v(o, a), v(a, u), v(o, h), v(o, c), v(c, d), v(c, p), v(c, x), C || (S = _t(t, "click", P), C = !0);
4094
+ j(w, t, A), v(t, r), v(t, s), v(t, o), v(o, a), v(a, u), v(o, h), v(o, c), v(c, p), v(c, d), v(c, x), C || (S = bt(t, "click", P), C = !0);
4097
4095
  },
4098
4096
  p(w, A) {
4099
4097
  e = w, A & /*topCategories*/
4100
- 8 && !de(r.src, n = /*category*/
4098
+ 8 && !pe(r.src, n = /*category*/
4101
4099
  e[23].icon) && H(r, "src", n), A & /*topCategories*/
4102
4100
  8 && i !== (i = /*category*/
4103
4101
  e[23].name) && H(r, "alt", i), A & /*topCategories*/
4104
4102
  8 && l !== (l = /*category*/
4105
4103
  e[23].name + "") && G(u, l), A & /*topCategories*/
4106
4104
  8 && f !== (f = /*category*/
4107
- e[23].games.count + "") && G(d, f), A & /*$_*/
4105
+ e[23].games.count + "") && G(p, f), A & /*$_*/
4108
4106
  32 && g !== (g = /*$_*/
4109
4107
  e[5]("games") + "") && G(x, g), A & /*activecategory, topCategories*/
4110
4108
  9 && m !== (m = "Category " + /*activecategory*/
@@ -4116,14 +4114,14 @@ function mt(e) {
4116
4114
  }
4117
4115
  };
4118
4116
  }
4119
- function dt(e) {
4117
+ function gt(e) {
4120
4118
  let t, r, n, i, s, o, a, l = (
4121
4119
  /*category*/
4122
4120
  e[23].name + ""
4123
4121
  ), u, h, c, f = (
4124
4122
  /*category*/
4125
4123
  e[23].games.count + ""
4126
- ), d, p, g = (
4124
+ ), p, d, g = (
4127
4125
  /*$_*/
4128
4126
  e[5]("games") + ""
4129
4127
  ), x, m, C, S, P;
@@ -4138,25 +4136,25 @@ function dt(e) {
4138
4136
  }
4139
4137
  return {
4140
4138
  c() {
4141
- t = B("div"), r = B("img"), s = $(), o = B("div"), a = B("p"), u = R(l), h = $(), c = B("p"), d = R(f), p = $(), x = R(g), m = $(), de(r.src, n = /*category*/
4139
+ t = B("div"), r = B("img"), s = $(), o = B("div"), a = B("p"), u = R(l), h = $(), c = B("p"), p = R(f), d = $(), x = R(g), m = $(), pe(r.src, n = /*category*/
4142
4140
  e[23].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
4143
4141
  e[23].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", C = "Category " + /*activecategory*/
4144
4142
  (e[0] === /*category*/
4145
4143
  e[23].id ? "Active" : ""));
4146
4144
  },
4147
4145
  m(A, N) {
4148
- j(A, t, N), v(t, r), v(t, s), v(t, o), v(o, a), v(a, u), v(o, h), v(o, c), v(c, d), v(c, p), v(c, x), v(t, m), S || (P = _t(t, "click", w), S = !0);
4146
+ j(A, t, N), v(t, r), v(t, s), v(t, o), v(o, a), v(a, u), v(o, h), v(o, c), v(c, p), v(c, d), v(c, x), v(t, m), S || (P = bt(t, "click", w), S = !0);
4149
4147
  },
4150
4148
  p(A, N) {
4151
4149
  e = A, N & /*otherCategories*/
4152
- 16 && !de(r.src, n = /*category*/
4150
+ 16 && !pe(r.src, n = /*category*/
4153
4151
  e[23].icon) && H(r, "src", n), N & /*otherCategories*/
4154
4152
  16 && i !== (i = /*category*/
4155
4153
  e[23].name) && H(r, "alt", i), N & /*otherCategories*/
4156
4154
  16 && l !== (l = /*category*/
4157
4155
  e[23].name + "") && G(u, l), N & /*otherCategories*/
4158
4156
  16 && f !== (f = /*category*/
4159
- e[23].games.count + "") && G(d, f), N & /*$_*/
4157
+ e[23].games.count + "") && G(p, f), N & /*$_*/
4160
4158
  32 && g !== (g = /*$_*/
4161
4159
  e[5]("games") + "") && G(x, g), N & /*activecategory, otherCategories*/
4162
4160
  17 && C !== (C = "Category " + /*activecategory*/
@@ -4168,12 +4166,12 @@ function dt(e) {
4168
4166
  }
4169
4167
  };
4170
4168
  }
4171
- function ci(e) {
4169
+ function fi(e) {
4172
4170
  let t;
4173
4171
  function r(s, o) {
4174
4172
  return (
4175
4173
  /*isLoading*/
4176
- s[2] ? fi : li
4174
+ s[2] ? li : hi
4177
4175
  );
4178
4176
  }
4179
4177
  let n = r(e), i = n(e);
@@ -4194,44 +4192,44 @@ function ci(e) {
4194
4192
  }
4195
4193
  };
4196
4194
  }
4197
- function gi(e, t, r) {
4195
+ function ci(e, t, r) {
4198
4196
  let n;
4199
- qt(e, ai, (b) => r(5, n = b));
4200
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: a = "" } = t, { excludedflags: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, d, p = !1;
4197
+ Qt(e, oi, (b) => r(5, n = b));
4198
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: a = "" } = t, { excludedflags: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4201
4199
  const g = [];
4202
4200
  let x = [], m = [];
4203
- Object.keys(ft).forEach((b) => {
4204
- lt(b, ft[b]);
4201
+ Object.keys(ht).forEach((b) => {
4202
+ ut(b, ht[b]);
4205
4203
  });
4206
4204
  const C = () => {
4207
4205
  fetch(c).then((M) => M.json()).then((M) => {
4208
4206
  Object.keys(M).forEach((ue) => {
4209
- lt(ue, M[ue]);
4207
+ ut(ue, M[ue]);
4210
4208
  });
4211
4209
  }).catch((M) => {
4212
4210
  console.log(M);
4213
4211
  });
4214
4212
  }, S = () => {
4215
- r(2, p = !0);
4213
+ r(2, d = !0);
4216
4214
  const b = new URL(`${i}/v1/casino/groups/${s}`);
4217
4215
  b.searchParams.append("language", o), fetch(b).then((M) => M.json()).then((M) => {
4218
- r(2, p = !1);
4216
+ r(2, d = !1);
4219
4217
  const ue = l.split(",").map((F) => F.trim());
4220
4218
  g.push(...M.items);
4221
- const We = g.filter((F) => !ue.some((Qt) => F.flags?.indexOf(Qt) >= 0));
4222
- r(3, x = We.filter((F) => F.isTopCategory === !0)), r(4, m = We.filter((F) => F.isTopCategory === !1));
4219
+ const Xe = g.filter((F) => !ue.some((Wt) => F.flags?.indexOf(Wt) >= 0));
4220
+ r(3, x = Xe.filter((F) => F.isTopCategory === !0)), r(4, m = Xe.filter((F) => F.isTopCategory === !1));
4223
4221
  });
4224
4222
  }, P = (b) => {
4225
4223
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4226
4224
  }, w = () => {
4227
- ui(o);
4225
+ ai(o);
4228
4226
  };
4229
- sr(() => () => {
4227
+ nr(() => () => {
4230
4228
  });
4231
4229
  const A = (b) => P(b.id), N = (b) => P(b.id);
4232
- function Zt(b) {
4230
+ function zt(b) {
4233
4231
  Oe[b ? "unshift" : "push"](() => {
4234
- d = b, r(1, d);
4232
+ p = b, r(1, p);
4235
4233
  });
4236
4234
  }
4237
4235
  return e.$$set = (b) => {
@@ -4241,13 +4239,13 @@ function gi(e, t, r) {
4241
4239
  384 && i && s && S(), e.$$.dirty & /*translationurl*/
4242
4240
  8192 && c && C(), e.$$.dirty & /*lang*/
4243
4241
  512 && o && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4244
- 2050 && u && d && br(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4245
- 4098 && h && d && yr(d, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4246
- 16386 && f && d && _r(d, `${f}.Style`);
4242
+ 2050 && u && p && pr(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4243
+ 4098 && h && p && dr(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4244
+ 16386 && f && p && br(p, `${f}.Style`);
4247
4245
  }, [
4248
4246
  a,
4249
- d,
4250
4247
  p,
4248
+ d,
4251
4249
  x,
4252
4250
  m,
4253
4251
  n,
@@ -4262,17 +4260,17 @@ function gi(e, t, r) {
4262
4260
  f,
4263
4261
  A,
4264
4262
  N,
4265
- Zt
4263
+ zt
4266
4264
  ];
4267
4265
  }
4268
- class Wt extends dr {
4266
+ class Xt extends gr {
4269
4267
  constructor(t) {
4270
- super(), gr(
4268
+ super(), fr(
4271
4269
  this,
4272
4270
  t,
4273
- gi,
4274
4271
  ci,
4275
- bt,
4272
+ fi,
4273
+ pt,
4276
4274
  {
4277
4275
  endpoint: 7,
4278
4276
  datasource: 8,
@@ -4284,7 +4282,7 @@ class Wt extends dr {
4284
4282
  translationurl: 13,
4285
4283
  mbsource: 14
4286
4284
  },
4287
- hi
4285
+ ui
4288
4286
  );
4289
4287
  }
4290
4288
  get endpoint() {
@@ -4342,51 +4340,51 @@ class Wt extends dr {
4342
4340
  this.$$set({ mbsource: t }), I();
4343
4341
  }
4344
4342
  }
4345
- mr(Wt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4346
- const vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4343
+ cr(Xt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4344
+ const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4347
4345
  __proto__: null,
4348
- default: Wt
4346
+ default: Xt
4349
4347
  }, Symbol.toStringTag, { value: "Module" }));
4350
4348
  export {
4351
4349
  K as $,
4352
- xi as A,
4350
+ Ei as A,
4353
4351
  _e as B,
4354
- de as C,
4355
- bi as D,
4356
- mi as E,
4352
+ pe as C,
4353
+ di as D,
4354
+ gi as E,
4357
4355
  le as F,
4358
- Qe as G,
4359
- yi as H,
4360
- _i as I,
4361
- tr as J,
4356
+ We as G,
4357
+ bi as H,
4358
+ yi as I,
4359
+ Kt as J,
4362
4360
  pi as K,
4363
- vi as L,
4364
- dr as S,
4365
- Ei as _,
4366
- jt as a,
4367
- Yt as b,
4368
- mr as c,
4369
- $ as d,
4370
- B as e,
4361
+ xi as L,
4362
+ gr as S,
4363
+ _i as _,
4364
+ Dt as a,
4365
+ Jt as b,
4366
+ G as c,
4367
+ D as d,
4368
+ H as e,
4371
4369
  I as f,
4372
- H as g,
4373
- di as h,
4374
- gr as i,
4375
- j,
4376
- v as k,
4377
- _t as l,
4378
- G as m,
4370
+ mi as g,
4371
+ j as h,
4372
+ fr as i,
4373
+ v as j,
4374
+ B as k,
4375
+ bt as l,
4376
+ $ as m,
4379
4377
  L as n,
4380
- D as o,
4381
- qt as p,
4382
- sr as q,
4378
+ Qt as o,
4379
+ nr as p,
4380
+ Oe as q,
4383
4381
  oe as r,
4384
- bt as s,
4382
+ pt as s,
4385
4383
  R as t,
4386
- yr as u,
4387
- _r as v,
4388
- Oe as w,
4389
- br as x,
4390
- ai as y,
4384
+ pr as u,
4385
+ dr as v,
4386
+ br as w,
4387
+ cr as x,
4388
+ oi as y,
4391
4389
  Ce as z
4392
4390
  };