@everymatrix/casino-categories 1.74.7 → 1.74.10

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.
@@ -1,17 +1,17 @@
1
- var tr = Object.defineProperty, rr = Object.defineProperties;
2
- var nr = Object.getOwnPropertyDescriptors;
3
- var Ye = Object.getOwnPropertySymbols;
4
- var ir = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? tr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
1
+ var er = Object.defineProperty, tr = Object.defineProperties;
2
+ var rr = Object.getOwnPropertyDescriptors;
3
+ var qe = Object.getOwnPropertySymbols;
4
+ var nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- ir.call(t, r) && He(e, r, t[r]);
8
- if (Ye)
9
- for (var r of Ye(t))
10
- sr.call(t, r) && He(e, r, t[r]);
7
+ nr.call(t, r) && He(e, r, t[r]);
8
+ if (qe)
9
+ for (var r of qe(t))
10
+ ir.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => rr(e, nr(t));
12
+ }, Ke = (e, t) => tr(e, rr(t));
13
13
  var N = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var tt = (e, t, r) => new Promise((n, i) => {
14
+ var et = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  u(r.next(h));
@@ -27,32 +27,32 @@ var tt = (e, t, r) => new Promise((n, i) => {
27
27
  }, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-CX3MBBZL.js";
30
+ import "../stencil/ui-image-D3_FGUyo.js";
31
31
  function L() {
32
32
  }
33
- function Ct(e) {
33
+ function Tt(e) {
34
34
  return e();
35
35
  }
36
- function rt() {
36
+ function tt() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
39
  function ue(e) {
40
- e.forEach(Ct);
40
+ e.forEach(Tt);
41
41
  }
42
42
  function Xe(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function Ht(e, t) {
45
+ function Ct(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
48
  let fe;
49
49
  function be(e, t) {
50
50
  return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
51
51
  }
52
- function or(e) {
52
+ function sr(e) {
53
53
  return Object.keys(e).length === 0;
54
54
  }
55
- function At(e, ...t) {
55
+ function Ht(e, ...t) {
56
56
  if (e == null) {
57
57
  for (const n of t)
58
58
  n(void 0);
@@ -61,20 +61,20 @@ function At(e, ...t) {
61
61
  const r = e.subscribe(...t);
62
62
  return r.unsubscribe ? () => r.unsubscribe() : r;
63
63
  }
64
- function ar(e, t, r) {
65
- e.$$.on_destroy.push(At(t, r));
64
+ function or(e, t, r) {
65
+ e.$$.on_destroy.push(Ht(t, r));
66
66
  }
67
67
  function v(e, t) {
68
68
  e.appendChild(t);
69
69
  }
70
- function ur(e, t, r) {
71
- const n = hr(e);
70
+ function ar(e, t, r) {
71
+ const n = ur(e);
72
72
  if (!n.getElementById(t)) {
73
73
  const i = S("style");
74
- i.id = t, i.textContent = r, lr(n, i);
74
+ i.id = t, i.textContent = r, hr(n, i);
75
75
  }
76
76
  }
77
- function hr(e) {
77
+ function ur(e) {
78
78
  if (!e)
79
79
  return document;
80
80
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -84,7 +84,7 @@ function hr(e) {
84
84
  t
85
85
  ) : e.ownerDocument;
86
86
  }
87
- function lr(e, t) {
87
+ function hr(e, t) {
88
88
  return v(
89
89
  /** @type {Document} */
90
90
  e.head || e,
@@ -97,7 +97,7 @@ function K(e, t, r) {
97
97
  function k(e) {
98
98
  e.parentNode && e.parentNode.removeChild(e);
99
99
  }
100
- function nt(e, t) {
100
+ function rt(e, t) {
101
101
  for (let r = 0; r < e.length; r += 1)
102
102
  e[r] && e[r].d(t);
103
103
  }
@@ -110,7 +110,7 @@ function G(e) {
110
110
  function U() {
111
111
  return G(" ");
112
112
  }
113
- function Bt(e, t, r, n) {
113
+ function At(e, t, r, n) {
114
114
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
115
115
  }
116
116
  function I(e, t, r) {
@@ -120,14 +120,14 @@ function R(e, t, r) {
120
120
  const n = t.toLowerCase();
121
121
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : I(e, t, r);
122
122
  }
123
- function fr(e) {
123
+ function lr(e) {
124
124
  return Array.from(e.childNodes);
125
125
  }
126
126
  function F(e, t) {
127
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
128
128
  t);
129
129
  }
130
- function cr(e) {
130
+ function fr(e) {
131
131
  const t = {};
132
132
  return e.childNodes.forEach(
133
133
  /** @param {Element} node */
@@ -140,20 +140,20 @@ let se;
140
140
  function ie(e) {
141
141
  se = e;
142
142
  }
143
- function gr() {
143
+ function cr() {
144
144
  if (!se)
145
145
  throw new Error("Function called outside component initialization");
146
146
  return se;
147
147
  }
148
- function mr(e) {
149
- gr().$$.on_mount.push(e);
148
+ function gr(e) {
149
+ cr().$$.on_mount.push(e);
150
150
  }
151
151
  const W = [], Le = [];
152
152
  let Z = [];
153
- const it = [], pr = /* @__PURE__ */ Promise.resolve();
153
+ const nt = [], mr = /* @__PURE__ */ Promise.resolve();
154
154
  let Ie = !1;
155
155
  function dr() {
156
- Ie || (Ie = !0, pr.then(M));
156
+ Ie || (Ie = !0, mr.then(M));
157
157
  }
158
158
  function Me(e) {
159
159
  Z.push(e);
@@ -168,7 +168,7 @@ function M() {
168
168
  try {
169
169
  for (; X < W.length; ) {
170
170
  const t = W[X];
171
- X++, ie(t), br(t.$$);
171
+ X++, ie(t), pr(t.$$);
172
172
  }
173
173
  } catch (t) {
174
174
  throw W.length = 0, X = 0, t;
@@ -181,43 +181,43 @@ function M() {
181
181
  }
182
182
  Z.length = 0;
183
183
  } while (W.length);
184
- for (; it.length; )
185
- it.pop()();
184
+ for (; nt.length; )
185
+ nt.pop()();
186
186
  Ie = !1, Ae.clear(), ie(e);
187
187
  }
188
- function br(e) {
188
+ function pr(e) {
189
189
  if (e.fragment !== null) {
190
190
  e.update(), ue(e.before_update);
191
191
  const t = e.dirty;
192
192
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
193
193
  }
194
194
  }
195
- function yr(e) {
195
+ function br(e) {
196
196
  const t = [], r = [];
197
197
  Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
198
198
  }
199
- const _r = /* @__PURE__ */ new Set();
200
- function xr(e, t) {
201
- e && e.i && (_r.delete(e), e.i(t));
199
+ const yr = /* @__PURE__ */ new Set();
200
+ function _r(e, t) {
201
+ e && e.i && (yr.delete(e), e.i(t));
202
202
  }
203
203
  function ce(e) {
204
204
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
205
205
  }
206
- function Er(e, t, r) {
206
+ function xr(e, t, r) {
207
207
  const { fragment: n, after_update: i } = e.$$;
208
208
  n && n.m(t, r), Me(() => {
209
- const s = e.$$.on_mount.map(Ct).filter(Xe);
209
+ const s = e.$$.on_mount.map(Tt).filter(Xe);
210
210
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
211
211
  }), i.forEach(Me);
212
212
  }
213
- function vr(e, t) {
213
+ function Er(e, t) {
214
214
  const r = e.$$;
215
- r.fragment !== null && (yr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
+ r.fragment !== null && (br(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
216
  }
217
- function Tr(e, t) {
217
+ function vr(e, t) {
218
218
  e.$$.dirty[0] === -1 && (W.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
219
  }
220
- function Cr(e, t, r, n, i, s, o = null, u = [-1]) {
220
+ function Tr(e, t, r, n, i, s, o = null, u = [-1]) {
221
221
  const h = se;
222
222
  ie(e);
223
223
  const a = e.$$ = {
@@ -227,7 +227,7 @@ function Cr(e, t, r, n, i, s, o = null, u = [-1]) {
227
227
  props: s,
228
228
  update: L,
229
229
  not_equal: i,
230
- bound: rt(),
230
+ bound: tt(),
231
231
  // lifecycle
232
232
  on_mount: [],
233
233
  on_destroy: [],
@@ -236,28 +236,28 @@ function Cr(e, t, r, n, i, s, o = null, u = [-1]) {
236
236
  after_update: [],
237
237
  context: new Map(t.context || (h ? h.$$.context : [])),
238
238
  // everything else
239
- callbacks: rt(),
239
+ callbacks: tt(),
240
240
  dirty: u,
241
241
  skip_bound: !1,
242
242
  root: t.target || h.$$.root
243
243
  };
244
244
  o && o(a.root);
245
245
  let l = !1;
246
- if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
247
- const d = p.length ? p[0] : f;
248
- return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && Tr(e, c)), f;
249
- }) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
246
+ if (a.ctx = r(e, t.props || {}, (c, f, ...d) => {
247
+ const p = d.length ? d[0] : f;
248
+ return a.ctx && i(a.ctx[c], a.ctx[c] = p) && (!a.skip_bound && a.bound[c] && a.bound[c](p), l && vr(e, c)), f;
249
+ }), a.update(), l = !0, ue(a.before_update), a.fragment = n(a.ctx), t.target) {
250
250
  if (t.hydrate) {
251
- const c = fr(t.target);
251
+ const c = lr(t.target);
252
252
  a.fragment && a.fragment.l(c), c.forEach(k);
253
253
  } else
254
254
  a.fragment && a.fragment.c();
255
- t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), M();
255
+ t.intro && _r(e.$$.fragment), xr(e, t.target, t.anchor), M();
256
256
  }
257
257
  ie(h);
258
258
  }
259
- let St;
260
- typeof HTMLElement == "function" && (St = class extends HTMLElement {
259
+ let Bt;
260
+ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
261
261
  constructor(t, r, n) {
262
262
  super();
263
263
  /** The Svelte component constructor */
@@ -294,7 +294,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
294
294
  }
295
295
  }
296
296
  connectedCallback() {
297
- return tt(this, null, function* () {
297
+ return et(this, null, function* () {
298
298
  if (this.$$cn = !0, !this.$$c) {
299
299
  let t = function(s) {
300
300
  return () => {
@@ -318,7 +318,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
318
318
  };
319
319
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
320
320
  return;
321
- const r = {}, n = cr(this);
321
+ const r = {}, n = fr(this);
322
322
  for (const s of this.$$s)
323
323
  s in n && (r[s] = [t(s)]);
324
324
  for (const s of this.attributes) {
@@ -329,7 +329,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
329
329
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
330
330
  this.$$c = new this.$$ctor({
331
331
  target: this.shadowRoot || this,
332
- props: et(Ke({}, this.$$d), {
332
+ props: Ke(Ye({}, this.$$d), {
333
333
  $$slots: r,
334
334
  $$scope: {
335
335
  ctx: []
@@ -407,8 +407,8 @@ function me(e, t, r, n) {
407
407
  return t;
408
408
  }
409
409
  }
410
- function Hr(e, t, r, n, i, s) {
411
- let o = class extends St {
410
+ function Cr(e, t, r, n, i, s) {
411
+ let o = class extends Bt {
412
412
  constructor() {
413
413
  super(e, r, i), this.$$p_d = t;
414
414
  }
@@ -438,7 +438,7 @@ function Hr(e, t, r, n, i, s) {
438
438
  }), e.element = /** @type {any} */
439
439
  o, o;
440
440
  }
441
- class Ar {
441
+ class Hr {
442
442
  constructor() {
443
443
  /**
444
444
  * ### PRIVATE API
@@ -459,7 +459,7 @@ class Ar {
459
459
  }
460
460
  /** @returns {void} */
461
461
  $destroy() {
462
- vr(this, 1), this.$destroy = L;
462
+ Er(this, 1), this.$destroy = L;
463
463
  }
464
464
  /**
465
465
  * @template {Extract<keyof Events, string>} K
@@ -481,13 +481,13 @@ class Ar {
481
481
  * @returns {void}
482
482
  */
483
483
  $set(t) {
484
- this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
+ this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
485
485
  }
486
486
  }
487
- const Br = "4";
488
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
487
+ const Ar = "4";
488
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ar);
489
489
  const z = [];
490
- function Sr(e, t) {
490
+ function Br(e, t) {
491
491
  return {
492
492
  subscribe: xe(e, t).subscribe
493
493
  };
@@ -496,7 +496,7 @@ function xe(e, t = L) {
496
496
  let r;
497
497
  const n = /* @__PURE__ */ new Set();
498
498
  function i(u) {
499
- if (Ht(e, u) && (e = u, r)) {
499
+ if (Ct(e, u) && (e = u, r)) {
500
500
  const h = !z.length;
501
501
  for (const a of n)
502
502
  a[1](), z.push(a, e);
@@ -523,7 +523,7 @@ function ee(e, t, r) {
523
523
  if (!i.every(Boolean))
524
524
  throw new Error("derived() expects stores as input, got a falsy value");
525
525
  const s = t.length < 2;
526
- return Sr(r, (o, u) => {
526
+ return Br(r, (o, u) => {
527
527
  let h = !1;
528
528
  const a = [];
529
529
  let l = 0, c = L;
@@ -531,11 +531,11 @@ function ee(e, t, r) {
531
531
  if (l)
532
532
  return;
533
533
  c();
534
- const d = t(n ? a[0] : a, o, u);
535
- s ? o(d) : c = Xe(d) ? d : L;
536
- }, p = i.map(
537
- (d, g) => At(
538
- d,
534
+ const p = t(n ? a[0] : a, o, u);
535
+ s ? o(p) : c = Xe(p) ? p : L;
536
+ }, d = i.map(
537
+ (p, g) => Ht(
538
+ p,
539
539
  (E) => {
540
540
  a[g] = E, l &= ~(1 << g), h && f();
541
541
  },
@@ -545,74 +545,74 @@ function ee(e, t, r) {
545
545
  )
546
546
  );
547
547
  return h = !0, f(), function() {
548
- ue(p), c(), h = !1;
548
+ ue(d), c(), h = !1;
549
549
  };
550
550
  });
551
551
  }
552
- function wr(e) {
553
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
552
+ function Sr(e) {
553
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
554
554
  }
555
- var Or = function(t) {
556
- return Pr(t) && !Nr(t);
555
+ var wr = function(t) {
556
+ return Or(t) && !Pr(t);
557
557
  };
558
- function Pr(e) {
558
+ function Or(e) {
559
559
  return !!e && typeof e == "object";
560
560
  }
561
- function Nr(e) {
561
+ function Pr(e) {
562
562
  var t = Object.prototype.toString.call(e);
563
- return t === "[object RegExp]" || t === "[object Date]" || Mr(e);
563
+ return t === "[object RegExp]" || t === "[object Date]" || Ir(e);
564
564
  }
565
- var Lr = typeof Symbol == "function" && Symbol.for, Ir = Lr ? Symbol.for("react.element") : 60103;
566
- function Mr(e) {
567
- return e.$$typeof === Ir;
565
+ var Nr = typeof Symbol == "function" && Symbol.for, Lr = Nr ? Symbol.for("react.element") : 60103;
566
+ function Ir(e) {
567
+ return e.$$typeof === Lr;
568
568
  }
569
- function $r(e) {
569
+ function Mr(e) {
570
570
  return Array.isArray(e) ? [] : {};
571
571
  }
572
572
  function oe(e, t) {
573
- return t.clone !== !1 && t.isMergeableObject(e) ? Q($r(e), e, t) : e;
573
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Mr(e), e, t) : e;
574
574
  }
575
- function Rr(e, t, r) {
575
+ function $r(e, t, r) {
576
576
  return e.concat(t).map(function(n) {
577
577
  return oe(n, r);
578
578
  });
579
579
  }
580
- function Ur(e, t) {
580
+ function Rr(e, t) {
581
581
  if (!t.customMerge)
582
582
  return Q;
583
583
  var r = t.customMerge(e);
584
584
  return typeof r == "function" ? r : Q;
585
585
  }
586
- function Gr(e) {
586
+ function Ur(e) {
587
587
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
588
588
  return Object.propertyIsEnumerable.call(e, t);
589
589
  }) : [];
590
590
  }
591
- function st(e) {
592
- return Object.keys(e).concat(Gr(e));
591
+ function it(e) {
592
+ return Object.keys(e).concat(Ur(e));
593
593
  }
594
- function wt(e, t) {
594
+ function St(e, t) {
595
595
  try {
596
596
  return t in e;
597
597
  } catch (r) {
598
598
  return !1;
599
599
  }
600
600
  }
601
- function Dr(e, t) {
602
- return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
601
+ function Gr(e, t) {
602
+ return St(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
603
603
  }
604
- function Fr(e, t, r) {
604
+ function Dr(e, t, r) {
605
605
  var n = {};
606
- return r.isMergeableObject(e) && st(e).forEach(function(i) {
606
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
607
607
  n[i] = oe(e[i], r);
608
- }), st(t).forEach(function(i) {
609
- Dr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ur(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
608
+ }), it(t).forEach(function(i) {
609
+ Gr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
610
610
  }), n;
611
611
  }
612
612
  function Q(e, t, r) {
613
- r = r || {}, r.arrayMerge = r.arrayMerge || Rr, r.isMergeableObject = r.isMergeableObject || Or, r.cloneUnlessOtherwiseSpecified = oe;
613
+ r = r || {}, r.arrayMerge = r.arrayMerge || $r, r.isMergeableObject = r.isMergeableObject || wr, r.cloneUnlessOtherwiseSpecified = oe;
614
614
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
615
- return s ? n ? r.arrayMerge(e, t, r) : Fr(e, t, r) : oe(t, r);
615
+ return s ? n ? r.arrayMerge(e, t, r) : Dr(e, t, r) : oe(t, r);
616
616
  }
617
617
  Q.all = function(t, r) {
618
618
  if (!Array.isArray(t))
@@ -621,8 +621,8 @@ Q.all = function(t, r) {
621
621
  return Q(n, i, r);
622
622
  }, {});
623
623
  };
624
- var jr = Q, kr = jr;
625
- const Vr = /* @__PURE__ */ wr(kr);
624
+ var Fr = Q, jr = Fr;
625
+ const kr = /* @__PURE__ */ Sr(jr);
626
626
  /*! *****************************************************************************
627
627
  Copyright (c) Microsoft Corporation.
628
628
 
@@ -664,7 +664,7 @@ var x = function() {
664
664
  return t;
665
665
  }, x.apply(this, arguments);
666
666
  };
667
- function Xr(e, t) {
667
+ function Vr(e, t) {
668
668
  var r = {};
669
669
  for (var n in e)
670
670
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -680,55 +680,57 @@ function Be(e, t, r) {
680
680
  return e.concat(s || t);
681
681
  }
682
682
  function Se(e, t) {
683
- var r = t && t.cache ? t.cache : qr, n = t && t.serializer ? t.serializer : Jr, i = t && t.strategy ? t.strategy : Wr;
683
+ var r = t && t.cache ? t.cache : qr, n = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : zr;
684
684
  return i(e, {
685
685
  cache: r,
686
686
  serializer: n
687
687
  });
688
688
  }
689
- function zr(e) {
689
+ function Xr(e) {
690
690
  return e == null || typeof e == "number" || typeof e == "boolean";
691
691
  }
692
- function Ot(e, t, r, n) {
693
- var i = zr(n) ? n : r(n), s = t.get(i);
692
+ function wt(e, t, r, n) {
693
+ var i = Xr(n) ? n : r(n), s = t.get(i);
694
694
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
695
695
  }
696
- function Pt(e, t, r) {
696
+ function Ot(e, t, r) {
697
697
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
698
698
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
699
699
  }
700
700
  function ze(e, t, r, n, i) {
701
701
  return r.bind(t, e, n, i);
702
702
  }
703
- function Wr(e, t) {
704
- var r = e.length === 1 ? Ot : Pt;
703
+ function zr(e, t) {
704
+ var r = e.length === 1 ? wt : Ot;
705
705
  return ze(e, this, r, t.cache.create(), t.serializer);
706
706
  }
707
- function Zr(e, t) {
708
- return ze(e, this, Pt, t.cache.create(), t.serializer);
709
- }
710
- function Qr(e, t) {
707
+ function Wr(e, t) {
711
708
  return ze(e, this, Ot, t.cache.create(), t.serializer);
712
709
  }
713
- var Jr = function() {
714
- return JSON.stringify(arguments);
715
- };
716
- function We() {
717
- this.cache = /* @__PURE__ */ Object.create(null);
710
+ function Zr(e, t) {
711
+ return ze(e, this, wt, t.cache.create(), t.serializer);
718
712
  }
719
- We.prototype.get = function(e) {
720
- return this.cache[e];
721
- };
722
- We.prototype.set = function(e, t) {
723
- this.cache[e] = t;
724
- };
725
- var qr = {
713
+ var Qr = function() {
714
+ return JSON.stringify(arguments);
715
+ }, Jr = (
716
+ /** @class */
717
+ function() {
718
+ function e() {
719
+ this.cache = /* @__PURE__ */ Object.create(null);
720
+ }
721
+ return e.prototype.get = function(t) {
722
+ return this.cache[t];
723
+ }, e.prototype.set = function(t, r) {
724
+ this.cache[t] = r;
725
+ }, e;
726
+ }()
727
+ ), qr = {
726
728
  create: function() {
727
- return new We();
729
+ return new Jr();
728
730
  }
729
731
  }, we = {
730
- variadic: Zr,
731
- monadic: Qr
732
+ variadic: Wr,
733
+ monadic: Zr
732
734
  }, y;
733
735
  (function(e) {
734
736
  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";
@@ -741,40 +743,40 @@ var J;
741
743
  (function(e) {
742
744
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
743
745
  })(J || (J = {}));
744
- function ot(e) {
746
+ function st(e) {
745
747
  return e.type === T.literal;
746
748
  }
747
749
  function Yr(e) {
748
750
  return e.type === T.argument;
749
751
  }
750
- function Nt(e) {
752
+ function Pt(e) {
751
753
  return e.type === T.number;
752
754
  }
753
- function Lt(e) {
755
+ function Nt(e) {
754
756
  return e.type === T.date;
755
757
  }
756
- function It(e) {
758
+ function Lt(e) {
757
759
  return e.type === T.time;
758
760
  }
759
- function Mt(e) {
761
+ function It(e) {
760
762
  return e.type === T.select;
761
763
  }
762
- function $t(e) {
764
+ function Mt(e) {
763
765
  return e.type === T.plural;
764
766
  }
765
767
  function Kr(e) {
766
768
  return e.type === T.pound;
767
769
  }
768
- function Rt(e) {
770
+ function $t(e) {
769
771
  return e.type === T.tag;
770
772
  }
771
- function Ut(e) {
773
+ function Rt(e) {
772
774
  return !!(e && typeof e == "object" && e.type === J.number);
773
775
  }
774
776
  function Re(e) {
775
777
  return !!(e && typeof e == "object" && e.type === J.dateTime);
776
778
  }
777
- var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, en = /(?:[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;
779
+ var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, en = /(?:[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;
778
780
  function tn(e) {
779
781
  var t = {};
780
782
  return e.replace(en, function(r) {
@@ -888,14 +890,14 @@ function nn(e) {
888
890
  function sn(e) {
889
891
  return e.replace(/^(.*?)-/, "");
890
892
  }
891
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dt = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
892
- function ut(e) {
893
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
894
+ function at(e) {
893
895
  var t = {};
894
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dt, function(r, n, i) {
896
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
895
897
  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)), "";
896
898
  }), t;
897
899
  }
898
- function jt(e) {
900
+ function Ft(e) {
899
901
  switch (e) {
900
902
  case "sign-auto":
901
903
  return {
@@ -943,14 +945,14 @@ function an(e) {
943
945
  notation: "scientific"
944
946
  }, e = e.slice(1)), t) {
945
947
  var r = e.slice(0, 2);
946
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ft.test(e))
948
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dt.test(e))
947
949
  throw new Error("Malformed concise eng/scientific notation");
948
950
  t.minimumIntegerDigits = e.length;
949
951
  }
950
952
  return t;
951
953
  }
952
- function ht(e) {
953
- var t = {}, r = jt(e);
954
+ function ut(e) {
955
+ var t = {}, r = Ft(e);
954
956
  return r || t;
955
957
  }
956
958
  function un(e) {
@@ -989,12 +991,12 @@ function un(e) {
989
991
  continue;
990
992
  case "scientific":
991
993
  t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
992
- return x(x({}, h), ht(a));
994
+ return x(x({}, h), ut(a));
993
995
  }, {}));
994
996
  continue;
995
997
  case "engineering":
996
998
  t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
997
- return x(x({}, h), ht(a));
999
+ return x(x({}, h), ut(a));
998
1000
  }, {}));
999
1001
  continue;
1000
1002
  case "notation-simple":
@@ -1039,38 +1041,38 @@ function un(e) {
1039
1041
  case "integer-width":
1040
1042
  if (i.options.length > 1)
1041
1043
  throw new RangeError("integer-width stems only accept a single optional option");
1042
- i.options[0].replace(on, function(h, a, l, c, f, p) {
1044
+ i.options[0].replace(on, function(h, a, l, c, f, d) {
1043
1045
  if (a)
1044
1046
  t.minimumIntegerDigits = l.length;
1045
1047
  else {
1046
1048
  if (c && f)
1047
1049
  throw new Error("We currently do not support maximum integer digits");
1048
- if (p)
1050
+ if (d)
1049
1051
  throw new Error("We currently do not support exact integer digits");
1050
1052
  }
1051
1053
  return "";
1052
1054
  });
1053
1055
  continue;
1054
1056
  }
1055
- if (Ft.test(i.stem)) {
1057
+ if (Dt.test(i.stem)) {
1056
1058
  t.minimumIntegerDigits = i.stem.length;
1057
1059
  continue;
1058
1060
  }
1059
- if (at.test(i.stem)) {
1061
+ if (ot.test(i.stem)) {
1060
1062
  if (i.options.length > 1)
1061
1063
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1062
- i.stem.replace(at, function(h, a, l, c, f, p) {
1063
- return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1064
+ i.stem.replace(ot, function(h, a, l, c, f, d) {
1065
+ return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1064
1066
  });
1065
1067
  var s = i.options[0];
1066
- s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), ut(s)));
1068
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), at(s)));
1067
1069
  continue;
1068
1070
  }
1069
- if (Dt.test(i.stem)) {
1070
- t = x(x({}, t), ut(i.stem));
1071
+ if (Gt.test(i.stem)) {
1072
+ t = x(x({}, t), at(i.stem));
1071
1073
  continue;
1072
1074
  }
1073
- var o = jt(i.stem);
1075
+ var o = Ft(i.stem);
1074
1076
  o && (t = x(x({}, t), o));
1075
1077
  var u = an(i.stem);
1076
1078
  u && (t = x(x({}, t), u));
@@ -2530,20 +2532,20 @@ function ln(e) {
2530
2532
  var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2531
2533
  return i[0];
2532
2534
  }
2533
- var Oe, fn = new RegExp("^".concat(Gt.source, "*")), cn = new RegExp("".concat(Gt.source, "*$"));
2535
+ var Oe, fn = new RegExp("^".concat(Ut.source, "*")), cn = new RegExp("".concat(Ut.source, "*$"));
2534
2536
  function _(e, t) {
2535
2537
  return { start: e, end: t };
2536
2538
  }
2537
- var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), mn = !!String.fromCodePoint, pn = !!Object.fromEntries, dn = !!String.prototype.codePointAt, bn = !!String.prototype.trimStart, yn = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, xn = _n ? Number.isSafeInteger : function(e) {
2539
+ var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), mn = !!String.fromCodePoint, dn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, bn = !!String.prototype.trimStart, yn = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, xn = _n ? Number.isSafeInteger : function(e) {
2538
2540
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2539
2541
  }, Ue = !0;
2540
2542
  try {
2541
- var En = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2543
+ var En = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2542
2544
  Ue = ((Oe = En.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2543
2545
  } catch (e) {
2544
2546
  Ue = !1;
2545
2547
  }
2546
- var lt = gn ? (
2548
+ var ht = gn ? (
2547
2549
  // Native
2548
2550
  function(t, r, n) {
2549
2551
  return t.startsWith(r, n);
@@ -2565,9 +2567,9 @@ var lt = gn ? (
2565
2567
  }
2566
2568
  return n;
2567
2569
  }
2568
- ), ft = (
2570
+ ), lt = (
2569
2571
  // native
2570
- pn ? Object.fromEntries : (
2572
+ dn ? Object.fromEntries : (
2571
2573
  // Ponyfill
2572
2574
  function(t) {
2573
2575
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2577,7 +2579,7 @@ var lt = gn ? (
2577
2579
  return r;
2578
2580
  }
2579
2581
  )
2580
- ), kt = dn ? (
2582
+ ), jt = pn ? (
2581
2583
  // Native
2582
2584
  function(t, r) {
2583
2585
  return t.codePointAt(r);
@@ -2612,23 +2614,23 @@ var lt = gn ? (
2612
2614
  return t.replace(cn, "");
2613
2615
  }
2614
2616
  );
2615
- function Vt(e, t) {
2617
+ function kt(e, t) {
2616
2618
  return new RegExp(e, t);
2617
2619
  }
2618
2620
  var De;
2619
2621
  if (Ue) {
2620
- var ct = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2622
+ var ft = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2621
2623
  De = function(t, r) {
2622
2624
  var n;
2623
- ct.lastIndex = r;
2624
- var i = ct.exec(t);
2625
+ ft.lastIndex = r;
2626
+ var i = ft.exec(t);
2625
2627
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2626
2628
  };
2627
2629
  } else
2628
2630
  De = function(t, r) {
2629
2631
  for (var n = []; ; ) {
2630
- var i = kt(t, r);
2631
- if (i === void 0 || Xt(i) || Bn(i))
2632
+ var i = jt(t, r);
2633
+ if (i === void 0 || Vt(i) || Bn(i))
2632
2634
  break;
2633
2635
  n.push(i), r += i >= 65536 ? 2 : 1;
2634
2636
  }
@@ -2835,14 +2837,14 @@ var Cn = (
2835
2837
  var f = Tn(c.val);
2836
2838
  if (f.length === 0)
2837
2839
  return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2838
- var p = _(l, this.clonePosition());
2839
- a = { style: f, styleLocation: p };
2840
+ var d = _(l, this.clonePosition());
2841
+ a = { style: f, styleLocation: d };
2840
2842
  }
2841
- var d = this.tryParseArgumentClose(i);
2842
- if (d.err)
2843
- return d;
2843
+ var p = this.tryParseArgumentClose(i);
2844
+ if (p.err)
2845
+ return p;
2844
2846
  var g = _(i, this.clonePosition());
2845
- if (a && lt(a == null ? void 0 : a.style, "::", 0)) {
2847
+ if (a && ht(a == null ? void 0 : a.style, "::", 0)) {
2846
2848
  var E = vn(a.style.slice(2));
2847
2849
  if (u === "number") {
2848
2850
  var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
@@ -2897,15 +2899,15 @@ var Cn = (
2897
2899
  var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
2898
2900
  if (H.err)
2899
2901
  return H;
2900
- var d = this.tryParseArgumentClose(i);
2901
- if (d.err)
2902
- return d;
2902
+ var p = this.tryParseArgumentClose(i);
2903
+ if (p.err)
2904
+ return p;
2903
2905
  var P = _(i, this.clonePosition());
2904
2906
  return u === "select" ? {
2905
2907
  val: {
2906
2908
  type: T.select,
2907
2909
  value: n,
2908
- options: ft(H.val),
2910
+ options: lt(H.val),
2909
2911
  location: P
2910
2912
  },
2911
2913
  err: null
@@ -2913,7 +2915,7 @@ var Cn = (
2913
2915
  val: {
2914
2916
  type: T.plural,
2915
2917
  value: n,
2916
- options: ft(H.val),
2918
+ options: lt(H.val),
2917
2919
  offset: B,
2918
2920
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2919
2921
  location: P
@@ -2992,20 +2994,20 @@ var Cn = (
2992
2994
  if (h.has(a))
2993
2995
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2994
2996
  a === "other" && (o = !0), this.bumpSpace();
2995
- var p = this.clonePosition();
2997
+ var d = this.clonePosition();
2996
2998
  if (!this.bumpIf("{"))
2997
2999
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
2998
- var d = this.parseMessage(t + 1, r, n);
2999
- if (d.err)
3000
- return d;
3001
- var g = this.tryParseArgumentClose(p);
3000
+ var p = this.parseMessage(t + 1, r, n);
3001
+ if (p.err)
3002
+ return p;
3003
+ var g = this.tryParseArgumentClose(d);
3002
3004
  if (g.err)
3003
3005
  return g;
3004
3006
  u.push([
3005
3007
  a,
3006
3008
  {
3007
- value: d.val,
3008
- location: _(p, this.clonePosition())
3009
+ value: p.val,
3010
+ location: _(d, this.clonePosition())
3009
3011
  }
3010
3012
  ]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
3011
3013
  }
@@ -3036,7 +3038,7 @@ var Cn = (
3036
3038
  var t = this.position.offset;
3037
3039
  if (t >= this.message.length)
3038
3040
  throw Error("out of bound");
3039
- var r = kt(this.message, t);
3041
+ var r = jt(this.message, t);
3040
3042
  if (r === void 0)
3041
3043
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3042
3044
  return r;
@@ -3055,7 +3057,7 @@ var Cn = (
3055
3057
  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);
3056
3058
  }
3057
3059
  }, e.prototype.bumpIf = function(t) {
3058
- if (lt(this.message, t, this.offset())) {
3060
+ if (ht(this.message, t, this.offset())) {
3059
3061
  for (var r = 0; r < t.length; r++)
3060
3062
  this.bump();
3061
3063
  return !0;
@@ -3077,7 +3079,7 @@ var Cn = (
3077
3079
  break;
3078
3080
  }
3079
3081
  }, e.prototype.bumpSpace = function() {
3080
- for (; !this.isEOF() && Xt(this.char()); )
3082
+ for (; !this.isEOF() && Vt(this.char()); )
3081
3083
  this.bump();
3082
3084
  }, e.prototype.peek = function() {
3083
3085
  if (this.isEOF())
@@ -3096,7 +3098,7 @@ function Hn(e) {
3096
3098
  function An(e) {
3097
3099
  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;
3098
3100
  }
3099
- function Xt(e) {
3101
+ function Vt(e) {
3100
3102
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3101
3103
  }
3102
3104
  function Bn(e) {
@@ -3104,11 +3106,11 @@ function Bn(e) {
3104
3106
  }
3105
3107
  function je(e) {
3106
3108
  e.forEach(function(t) {
3107
- if (delete t.location, Mt(t) || $t(t))
3109
+ if (delete t.location, It(t) || Mt(t))
3108
3110
  for (var r in t.options)
3109
3111
  delete t.options[r].location, je(t.options[r].value);
3110
3112
  else
3111
- Nt(t) && Ut(t.style) || (Lt(t) || It(t)) && Re(t.style) ? delete t.style.location : Rt(t) && je(t.children);
3113
+ Pt(t) && Rt(t.style) || (Nt(t) || Lt(t)) && Re(t.style) ? delete t.style.location : $t(t) && je(t.children);
3112
3114
  });
3113
3115
  }
3114
3116
  function Sn(e, t) {
@@ -3136,7 +3138,7 @@ var ve = (
3136
3138
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3137
3139
  }, t;
3138
3140
  }(Error)
3139
- ), gt = (
3141
+ ), ct = (
3140
3142
  /** @class */
3141
3143
  function(e) {
3142
3144
  Ee(t, e);
@@ -3176,8 +3178,8 @@ function Pn(e) {
3176
3178
  function Nn(e) {
3177
3179
  return typeof e == "function";
3178
3180
  }
3179
- function pe(e, t, r, n, i, s, o) {
3180
- if (e.length === 1 && ot(e[0]))
3181
+ function de(e, t, r, n, i, s, o) {
3182
+ if (e.length === 1 && st(e[0]))
3181
3183
  return [
3182
3184
  {
3183
3185
  type: w.literal,
@@ -3186,7 +3188,7 @@ function pe(e, t, r, n, i, s, o) {
3186
3188
  ];
3187
3189
  for (var u = [], h = 0, a = e; h < a.length; h++) {
3188
3190
  var l = a[h];
3189
- if (ot(l)) {
3191
+ if (st(l)) {
3190
3192
  u.push({
3191
3193
  type: w.literal,
3192
3194
  value: l.value
@@ -3211,35 +3213,35 @@ function pe(e, t, r, n, i, s, o) {
3211
3213
  });
3212
3214
  continue;
3213
3215
  }
3214
- if (Lt(l)) {
3215
- var p = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3216
+ if (Nt(l)) {
3217
+ var d = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3216
3218
  u.push({
3217
3219
  type: w.literal,
3218
- value: r.getDateTimeFormat(t, p).format(f)
3220
+ value: r.getDateTimeFormat(t, d).format(f)
3219
3221
  });
3220
3222
  continue;
3221
3223
  }
3222
- if (It(l)) {
3223
- var p = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3224
+ if (Lt(l)) {
3225
+ var d = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3224
3226
  u.push({
3225
3227
  type: w.literal,
3226
- value: r.getDateTimeFormat(t, p).format(f)
3228
+ value: r.getDateTimeFormat(t, d).format(f)
3227
3229
  });
3228
3230
  continue;
3229
3231
  }
3230
- if (Nt(l)) {
3231
- var p = typeof l.style == "string" ? n.number[l.style] : Ut(l.style) ? l.style.parsedOptions : void 0;
3232
- p && p.scale && (f = f * (p.scale || 1)), u.push({
3232
+ if (Pt(l)) {
3233
+ var d = typeof l.style == "string" ? n.number[l.style] : Rt(l.style) ? l.style.parsedOptions : void 0;
3234
+ d && d.scale && (f = f * (d.scale || 1)), u.push({
3233
3235
  type: w.literal,
3234
- value: r.getNumberFormat(t, p).format(f)
3236
+ value: r.getNumberFormat(t, d).format(f)
3235
3237
  });
3236
3238
  continue;
3237
3239
  }
3238
- if (Rt(l)) {
3239
- var d = l.children, g = l.value, E = i[g];
3240
+ if ($t(l)) {
3241
+ var p = l.children, g = l.value, E = i[g];
3240
3242
  if (!Nn(E))
3241
3243
  throw new wn(g, "function", o);
3242
- var m = pe(d, t, r, n, i, s), C = E(m.map(function(B) {
3244
+ var m = de(p, t, r, n, i, s), C = E(m.map(function(B) {
3243
3245
  return B.value;
3244
3246
  }));
3245
3247
  Array.isArray(C) || (C = [C]), u.push.apply(u, C.map(function(B) {
@@ -3249,14 +3251,14 @@ function pe(e, t, r, n, i, s, o) {
3249
3251
  };
3250
3252
  }));
3251
3253
  }
3252
- if (Mt(l)) {
3254
+ if (It(l)) {
3253
3255
  var A = l.options[f] || l.options.other;
3254
3256
  if (!A)
3255
- throw new gt(l.value, f, Object.keys(l.options), o);
3256
- u.push.apply(u, pe(A.value, t, r, n, i));
3257
+ throw new ct(l.value, f, Object.keys(l.options), o);
3258
+ u.push.apply(u, de(A.value, t, r, n, i));
3257
3259
  continue;
3258
3260
  }
3259
- if ($t(l)) {
3261
+ if (Mt(l)) {
3260
3262
  var A = l.options["=".concat(f)];
3261
3263
  if (!A) {
3262
3264
  if (!Intl.PluralRules)
@@ -3267,8 +3269,8 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3267
3269
  A = l.options[O] || l.options.other;
3268
3270
  }
3269
3271
  if (!A)
3270
- throw new gt(l.value, f, Object.keys(l.options), o);
3271
- u.push.apply(u, pe(A.value, t, r, n, i, f - (l.offset || 0)));
3272
+ throw new ct(l.value, f, Object.keys(l.options), o);
3273
+ u.push.apply(u, de(A.value, t, r, n, i, f - (l.offset || 0)));
3272
3274
  continue;
3273
3275
  }
3274
3276
  }
@@ -3349,7 +3351,7 @@ var $n = (
3349
3351
  }, []);
3350
3352
  return l.length <= 1 ? l[0] || "" : l;
3351
3353
  }, this.formatToParts = function(h) {
3352
- return pe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3354
+ return de(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3353
3355
  }, this.resolvedOptions = function() {
3354
3356
  var h;
3355
3357
  return {
@@ -3362,7 +3364,7 @@ var $n = (
3362
3364
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3363
3365
  var o = i || {};
3364
3366
  o.formatters;
3365
- var u = Xr(o, ["formatters"]);
3367
+ var u = Vr(o, ["formatters"]);
3366
3368
  this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3367
3369
  } else
3368
3370
  this.ast = t;
@@ -3463,7 +3465,7 @@ function Rn(e, t) {
3463
3465
  n = void 0;
3464
3466
  return n;
3465
3467
  }
3466
- const D = {}, Un = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), zt = (e, t) => {
3468
+ const D = {}, Un = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Xt = (e, t) => {
3467
3469
  if (t == null)
3468
3470
  return;
3469
3471
  if (t in D && e in D[t])
@@ -3475,16 +3477,16 @@ const D = {}, Un = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][
3475
3477
  return Un(e, t, s);
3476
3478
  }
3477
3479
  };
3478
- let Ze;
3480
+ let We;
3479
3481
  const he = xe({});
3480
3482
  function Gn(e) {
3481
- return Ze[e] || null;
3483
+ return We[e] || null;
3482
3484
  }
3483
- function Wt(e) {
3484
- return e in Ze;
3485
+ function zt(e) {
3486
+ return e in We;
3485
3487
  }
3486
3488
  function Dn(e, t) {
3487
- if (!Wt(e))
3489
+ if (!zt(e))
3488
3490
  return null;
3489
3491
  const r = Gn(e);
3490
3492
  return Rn(r, t);
@@ -3495,28 +3497,28 @@ function Fn(e) {
3495
3497
  const t = Te(e);
3496
3498
  for (let r = 0; r < t.length; r++) {
3497
3499
  const n = t[r];
3498
- if (Wt(n))
3500
+ if (zt(n))
3499
3501
  return n;
3500
3502
  }
3501
3503
  }
3502
- function Zt(e, ...t) {
3503
- delete D[e], he.update((r) => (r[e] = Vr.all([r[e] || {}, ...t]), r));
3504
+ function Wt(e, ...t) {
3505
+ delete D[e], he.update((r) => (r[e] = kr.all([r[e] || {}, ...t]), r));
3504
3506
  }
3505
3507
  ee(
3506
3508
  [he],
3507
3509
  ([e]) => Object.keys(e)
3508
3510
  );
3509
- he.subscribe((e) => Ze = e);
3510
- const de = {};
3511
+ he.subscribe((e) => We = e);
3512
+ const pe = {};
3511
3513
  function jn(e, t) {
3512
- de[e].delete(t), de[e].size === 0 && delete de[e];
3514
+ pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3513
3515
  }
3514
- function Qt(e) {
3515
- return de[e];
3516
+ function Zt(e) {
3517
+ return pe[e];
3516
3518
  }
3517
3519
  function kn(e) {
3518
3520
  return Te(e).map((t) => {
3519
- const r = Qt(t);
3521
+ const r = Zt(t);
3520
3522
  return [t, r ? [...r] : []];
3521
3523
  }).filter(([, t]) => t.length > 0);
3522
3524
  }
@@ -3524,17 +3526,17 @@ function ke(e) {
3524
3526
  return e == null ? !1 : Te(e).some(
3525
3527
  (t) => {
3526
3528
  var r;
3527
- return (r = Qt(t)) == null ? void 0 : r.size;
3529
+ return (r = Zt(t)) == null ? void 0 : r.size;
3528
3530
  }
3529
3531
  );
3530
3532
  }
3531
3533
  function Vn(e, t) {
3532
3534
  return Promise.all(
3533
3535
  t.map((n) => (jn(e, n), n().then((i) => i.default || i)))
3534
- ).then((n) => Zt(e, ...n));
3536
+ ).then((n) => Wt(e, ...n));
3535
3537
  }
3536
3538
  const ne = {};
3537
- function Jt(e) {
3539
+ function Qt(e) {
3538
3540
  if (!ke(e))
3539
3541
  return e in ne ? ne[e] : Promise.resolve();
3540
3542
  const t = kn(e);
@@ -3544,7 +3546,7 @@ function Jt(e) {
3544
3546
  )
3545
3547
  ).then(() => {
3546
3548
  if (ke(e))
3547
- return Jt(e);
3549
+ return Qt(e);
3548
3550
  delete ne[e];
3549
3551
  }), ne[e];
3550
3552
  }
@@ -3589,12 +3591,12 @@ function Y() {
3589
3591
  return Wn;
3590
3592
  }
3591
3593
  const Ne = xe(!1);
3592
- var Zn = Object.defineProperty, Qn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kn = (e, t) => {
3593
- for (var r in t || (t = {}))
3594
- qn.call(t, r) && pt(e, r, t[r]);
3595
- if (mt)
3596
- for (var r of mt(t))
3597
- Yn.call(t, r) && pt(e, r, t[r]);
3594
+ var Zn = Object.defineProperty, Qn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kn = (e, t) => {
3595
+ for (var r in t)
3596
+ qn.call(t, r) && mt(e, r, t[r]);
3597
+ if (gt)
3598
+ for (var r of gt(t))
3599
+ Yn.call(t, r) && mt(e, r, t[r]);
3598
3600
  return e;
3599
3601
  }, ei = (e, t) => Qn(e, Jn(t));
3600
3602
  let Ve;
@@ -3619,7 +3621,7 @@ const ti = (e) => {
3619
3621
  return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
3620
3622
  () => Ne.set(!0),
3621
3623
  t
3622
- ) : Ne.set(!0), Jt(e).then(() => {
3624
+ ) : Ne.set(!0), Qt(e).then(() => {
3623
3625
  ye.set(e);
3624
3626
  }).finally(() => {
3625
3627
  clearTimeout(r), Ne.set(!1);
@@ -3635,20 +3637,20 @@ const ti = (e) => {
3635
3637
  return i in t ? t[i] : t[i] = e(n);
3636
3638
  };
3637
3639
  };
3638
- var ri = Object.defineProperty, _e = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Yt = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3640
+ var ri = Object.defineProperty, _e = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3639
3641
  for (var r in t || (t = {}))
3640
- qt.call(t, r) && bt(e, r, t[r]);
3642
+ Jt.call(t, r) && pt(e, r, t[r]);
3641
3643
  if (_e)
3642
3644
  for (var r of _e(t))
3643
- Yt.call(t, r) && bt(e, r, t[r]);
3645
+ qt.call(t, r) && pt(e, r, t[r]);
3644
3646
  return e;
3645
3647
  }, re = (e, t) => {
3646
3648
  var r = {};
3647
3649
  for (var n in e)
3648
- qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3650
+ Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3649
3651
  if (e != null && _e)
3650
3652
  for (var n of _e(e))
3651
- t.indexOf(n) < 0 && Yt.call(e, n) && (r[n] = e[n]);
3653
+ t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
3652
3654
  return r;
3653
3655
  };
3654
3656
  const ae = (e, t) => {
@@ -3685,21 +3687,21 @@ const ae = (e, t) => {
3685
3687
  } = t, n = re(t, [
3686
3688
  "locale"
3687
3689
  ]);
3688
- return ni(Qe({ locale: r }, n));
3690
+ return ni(Ze({ locale: r }, n));
3689
3691
  }, ai = (e = {}) => {
3690
3692
  var t = e, {
3691
3693
  locale: r = V()
3692
3694
  } = t, n = re(t, [
3693
3695
  "locale"
3694
3696
  ]);
3695
- return ii(Qe({ locale: r }, n));
3697
+ return ii(Ze({ locale: r }, n));
3696
3698
  }, ui = (e = {}) => {
3697
3699
  var t = e, {
3698
3700
  locale: r = V()
3699
3701
  } = t, n = re(t, [
3700
3702
  "locale"
3701
3703
  ]);
3702
- return si(Qe({ locale: r }, n));
3704
+ return si(Ze({ locale: r }, n));
3703
3705
  }, hi = Ce(
3704
3706
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3705
3707
  (e, t = V()) => new $n(e, t, Y().formats, {
@@ -3718,7 +3720,7 @@ const ae = (e, t) => {
3718
3720
  throw new Error(
3719
3721
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3720
3722
  );
3721
- let l = zt(e, h);
3723
+ let l = Xt(e, h);
3722
3724
  if (!l)
3723
3725
  l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3724
3726
  else if (typeof l != "string")
@@ -3737,18 +3739,18 @@ const ae = (e, t) => {
3737
3739
  );
3738
3740
  }
3739
3741
  return c;
3740
- }, fi = (e, t) => ui(t).format(e), ci = (e, t) => ai(t).format(e), gi = (e, t) => oi(t).format(e), mi = (e, t = V()) => zt(e, t), pi = ee([te, he], () => li);
3742
+ }, fi = (e, t) => ui(t).format(e), ci = (e, t) => ai(t).format(e), gi = (e, t) => oi(t).format(e), mi = (e, t = V()) => Xt(e, t), di = ee([te, he], () => li);
3741
3743
  ee([te], () => fi);
3742
3744
  ee([te], () => ci);
3743
3745
  ee([te], () => gi);
3744
3746
  ee([te, he], () => mi);
3745
- function yt(e, t) {
3746
- Zt(e, t);
3747
+ function bt(e, t) {
3748
+ Wt(e, t);
3747
3749
  }
3748
- function di(e) {
3750
+ function pi(e) {
3749
3751
  te.set(e);
3750
3752
  }
3751
- const _t = {
3753
+ const yt = {
3752
3754
  en: {
3753
3755
  topCategories: "Top Categories",
3754
3756
  otherCategories: "Other Categories",
@@ -3882,13 +3884,13 @@ function _i(e, t, r) {
3882
3884
  }
3883
3885
  }
3884
3886
  function xi(e) {
3885
- ur(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}");
3887
+ ar(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}");
3886
3888
  }
3887
- function xt(e, t, r) {
3889
+ function _t(e, t, r) {
3888
3890
  const n = e.slice();
3889
3891
  return n[23] = t[r], n;
3890
3892
  }
3891
- function Et(e, t, r) {
3893
+ function xt(e, t, r) {
3892
3894
  const n = e.slice();
3893
3895
  return n[23] = t[r], n;
3894
3896
  }
@@ -3904,21 +3906,21 @@ function Ei(e) {
3904
3906
  e[3]
3905
3907
  ), f = [];
3906
3908
  for (let g = 0; g < c.length; g += 1)
3907
- f[g] = vt(Et(e, c, g));
3908
- let p = ce(
3909
+ f[g] = Et(xt(e, c, g));
3910
+ let d = ce(
3909
3911
  /*otherCategories*/
3910
3912
  e[4]
3911
- ), d = [];
3912
- for (let g = 0; g < p.length; g += 1)
3913
- d[g] = Tt(xt(e, p, g));
3913
+ ), p = [];
3914
+ for (let g = 0; g < d.length; g += 1)
3915
+ p[g] = vt(_t(e, d, g));
3914
3916
  return {
3915
3917
  c() {
3916
3918
  t = S("div"), r = S("h4"), i = G(n), s = U();
3917
3919
  for (let g = 0; g < f.length; g += 1)
3918
3920
  f[g].c();
3919
3921
  o = U(), u = S("h4"), a = G(h), l = U();
3920
- for (let g = 0; g < d.length; g += 1)
3921
- d[g].c();
3922
+ for (let g = 0; g < p.length; g += 1)
3923
+ p[g].c();
3922
3924
  I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
3923
3925
  },
3924
3926
  m(g, E) {
@@ -3926,8 +3928,8 @@ function Ei(e) {
3926
3928
  for (let m = 0; m < f.length; m += 1)
3927
3929
  f[m] && f[m].m(t, null);
3928
3930
  v(t, o), v(t, u), v(u, a), v(t, l);
3929
- for (let m = 0; m < d.length; m += 1)
3930
- d[m] && d[m].m(t, null);
3931
+ for (let m = 0; m < p.length; m += 1)
3932
+ p[m] && p[m].m(t, null);
3931
3933
  },
3932
3934
  p(g, E) {
3933
3935
  if (E & /*$_*/
@@ -3940,8 +3942,8 @@ function Ei(e) {
3940
3942
  );
3941
3943
  let m;
3942
3944
  for (m = 0; m < c.length; m += 1) {
3943
- const C = Et(g, c, m);
3944
- f[m] ? f[m].p(C, E) : (f[m] = vt(C), f[m].c(), f[m].m(t, o));
3945
+ const C = xt(g, c, m);
3946
+ f[m] ? f[m].p(C, E) : (f[m] = Et(C), f[m].c(), f[m].m(t, o));
3945
3947
  }
3946
3948
  for (; m < f.length; m += 1)
3947
3949
  f[m].d(1);
@@ -3951,22 +3953,22 @@ function Ei(e) {
3951
3953
  32 && h !== (h = /*$_*/
3952
3954
  g[5]("otherCategories") + "") && F(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
3953
3955
  113) {
3954
- p = ce(
3956
+ d = ce(
3955
3957
  /*otherCategories*/
3956
3958
  g[4]
3957
3959
  );
3958
3960
  let m;
3959
- for (m = 0; m < p.length; m += 1) {
3960
- const C = xt(g, p, m);
3961
- d[m] ? d[m].p(C, E) : (d[m] = Tt(C), d[m].c(), d[m].m(t, null));
3961
+ for (m = 0; m < d.length; m += 1) {
3962
+ const C = _t(g, d, m);
3963
+ p[m] ? p[m].p(C, E) : (p[m] = vt(C), p[m].c(), p[m].m(t, null));
3962
3964
  }
3963
- for (; m < d.length; m += 1)
3964
- d[m].d(1);
3965
- d.length = p.length;
3965
+ for (; m < p.length; m += 1)
3966
+ p[m].d(1);
3967
+ p.length = d.length;
3966
3968
  }
3967
3969
  },
3968
3970
  d(g) {
3969
- g && k(t), nt(f, g), nt(d, g);
3971
+ g && k(t), rt(f, g), rt(p, g);
3970
3972
  }
3971
3973
  };
3972
3974
  }
@@ -3985,14 +3987,14 @@ function vi(e) {
3985
3987
  }
3986
3988
  };
3987
3989
  }
3988
- function vt(e) {
3990
+ function Et(e) {
3989
3991
  let t, r, n, i, s, o, u, h = (
3990
3992
  /*category*/
3991
3993
  e[23].name + ""
3992
3994
  ), a, l, c, f = (
3993
3995
  /*category*/
3994
3996
  e[23].games.count + ""
3995
- ), p, d, g = (
3997
+ ), d, p, g = (
3996
3998
  /*$_*/
3997
3999
  e[5]("games") + ""
3998
4000
  ), E, m, C, A;
@@ -4007,14 +4009,14 @@ function vt(e) {
4007
4009
  }
4008
4010
  return {
4009
4011
  c() {
4010
- t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), p = G(f), d = U(), E = G(g), be(r.src, n = /*category*/
4012
+ t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), d = G(f), p = U(), E = G(g), be(r.src, n = /*category*/
4011
4013
  e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
4012
4014
  e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
4013
4015
  (e[0] === /*category*/
4014
4016
  e[23].id ? "Active" : ""));
4015
4017
  },
4016
4018
  m(B, H) {
4017
- K(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, p), v(c, d), v(c, E), C || (A = Bt(t, "click", O), C = !0);
4019
+ K(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, E), C || (A = At(t, "click", O), C = !0);
4018
4020
  },
4019
4021
  p(B, H) {
4020
4022
  e = B, H & /*topCategories*/
@@ -4025,7 +4027,7 @@ function vt(e) {
4025
4027
  8 && h !== (h = /*category*/
4026
4028
  e[23].name + "") && F(a, h), H & /*topCategories*/
4027
4029
  8 && f !== (f = /*category*/
4028
- e[23].games.count + "") && F(p, f), H & /*$_*/
4030
+ e[23].games.count + "") && F(d, f), H & /*$_*/
4029
4031
  32 && g !== (g = /*$_*/
4030
4032
  e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
4031
4033
  9 && m !== (m = "Category " + /*activecategory*/
@@ -4037,14 +4039,14 @@ function vt(e) {
4037
4039
  }
4038
4040
  };
4039
4041
  }
4040
- function Tt(e) {
4042
+ function vt(e) {
4041
4043
  let t, r, n, i, s, o, u, h = (
4042
4044
  /*category*/
4043
4045
  e[23].name + ""
4044
4046
  ), a, l, c, f = (
4045
4047
  /*category*/
4046
4048
  e[23].games.count + ""
4047
- ), p, d, g = (
4049
+ ), d, p, g = (
4048
4050
  /*$_*/
4049
4051
  e[5]("games") + ""
4050
4052
  ), E, m, C, A, O;
@@ -4059,14 +4061,14 @@ function Tt(e) {
4059
4061
  }
4060
4062
  return {
4061
4063
  c() {
4062
- t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), p = G(f), d = U(), E = G(g), m = U(), be(r.src, n = /*category*/
4064
+ t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = G(h), l = U(), c = S("p"), d = G(f), p = U(), E = G(g), m = U(), be(r.src, n = /*category*/
4063
4065
  e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
4064
4066
  e[23].name), R(r, "class", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", C = "Category " + /*activecategory*/
4065
4067
  (e[0] === /*category*/
4066
4068
  e[23].id ? "Active" : ""));
4067
4069
  },
4068
4070
  m(H, P) {
4069
- K(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, p), v(c, d), v(c, E), v(t, m), A || (O = Bt(t, "click", B), A = !0);
4071
+ K(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, d), v(c, p), v(c, E), v(t, m), A || (O = At(t, "click", B), A = !0);
4070
4072
  },
4071
4073
  p(H, P) {
4072
4074
  e = H, P & /*otherCategories*/
@@ -4077,7 +4079,7 @@ function Tt(e) {
4077
4079
  16 && h !== (h = /*category*/
4078
4080
  e[23].name + "") && F(a, h), P & /*otherCategories*/
4079
4081
  16 && f !== (f = /*category*/
4080
- e[23].games.count + "") && F(p, f), P & /*$_*/
4082
+ e[23].games.count + "") && F(d, f), P & /*$_*/
4081
4083
  32 && g !== (g = /*$_*/
4082
4084
  e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
4083
4085
  17 && C !== (C = "Category " + /*activecategory*/
@@ -4117,45 +4119,45 @@ function Ti(e) {
4117
4119
  }
4118
4120
  function Ci(e, t, r) {
4119
4121
  let n;
4120
- ar(e, pi, (b) => r(5, n = b));
4121
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4122
+ or(e, di, (b) => r(5, n = b));
4123
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, d, p = !1;
4122
4124
  const g = [];
4123
4125
  let E = [], m = [];
4124
- Object.keys(_t).forEach((b) => {
4125
- yt(b, _t[b]);
4126
+ Object.keys(yt).forEach((b) => {
4127
+ bt(b, yt[b]);
4126
4128
  });
4127
4129
  const C = () => {
4128
4130
  fetch(c).then(($) => $.json()).then(($) => {
4129
4131
  Object.keys($).forEach((le) => {
4130
- yt(le, $[le]);
4132
+ bt(le, $[le]);
4131
4133
  });
4132
4134
  }).catch(($) => {
4133
4135
  console.log($);
4134
4136
  });
4135
4137
  }, A = () => {
4136
- r(2, d = !0);
4138
+ r(2, p = !0);
4137
4139
  const b = new URL(`${i}/v1/casino/groups/${s}`);
4138
4140
  b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
4139
- r(2, d = !1);
4141
+ r(2, p = !1);
4140
4142
  const le = h.split(",").map((j) => j.trim());
4141
4143
  g.push(...$.items);
4142
- const Je = g.filter((j) => !le.some((er) => {
4143
- var qe;
4144
- return ((qe = j.flags) == null ? void 0 : qe.indexOf(er)) >= 0;
4144
+ const Qe = g.filter((j) => !le.some((Kt) => {
4145
+ var Je;
4146
+ return ((Je = j.flags) == null ? void 0 : Je.indexOf(Kt)) >= 0;
4145
4147
  }));
4146
- r(3, E = Je.filter((j) => j.isTopCategory === !0)), r(4, m = Je.filter((j) => j.isTopCategory === !1));
4148
+ r(3, E = Qe.filter((j) => j.isTopCategory === !0)), r(4, m = Qe.filter((j) => j.isTopCategory === !1));
4147
4149
  });
4148
4150
  }, O = (b) => {
4149
4151
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4150
4152
  }, B = () => {
4151
- di(o);
4153
+ pi(o);
4152
4154
  };
4153
- mr(() => () => {
4155
+ gr(() => () => {
4154
4156
  });
4155
4157
  const H = (b) => O(b.id), P = (b) => O(b.id);
4156
- function Kt(b) {
4158
+ function Yt(b) {
4157
4159
  Le[b ? "unshift" : "push"](() => {
4158
- p = b, r(1, p);
4160
+ d = b, r(1, d);
4159
4161
  });
4160
4162
  }
4161
4163
  return e.$$set = (b) => {
@@ -4165,13 +4167,13 @@ function Ci(e, t, r) {
4165
4167
  384 && i && s && A(), e.$$.dirty & /*translationurl*/
4166
4168
  8192 && c && C(), e.$$.dirty & /*lang*/
4167
4169
  512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4168
- 2050 && a && p && bi(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4169
- 4098 && l && p && yi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4170
- 16386 && f && p && _i(p, `${f}.Style`);
4170
+ 2050 && a && d && bi(d, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4171
+ 4098 && l && d && yi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4172
+ 16386 && f && d && _i(d, `${f}.Style`);
4171
4173
  }, [
4172
4174
  u,
4173
- p,
4174
4175
  d,
4176
+ p,
4175
4177
  E,
4176
4178
  m,
4177
4179
  n,
@@ -4186,17 +4188,17 @@ function Ci(e, t, r) {
4186
4188
  f,
4187
4189
  H,
4188
4190
  P,
4189
- Kt
4191
+ Yt
4190
4192
  ];
4191
4193
  }
4192
- class Hi extends Ar {
4194
+ class Hi extends Hr {
4193
4195
  constructor(t) {
4194
- super(), Cr(
4196
+ super(), Tr(
4195
4197
  this,
4196
4198
  t,
4197
4199
  Ci,
4198
4200
  Ti,
4199
- Ht,
4201
+ Ct,
4200
4202
  {
4201
4203
  endpoint: 7,
4202
4204
  datasource: 8,
@@ -4266,7 +4268,7 @@ class Hi extends Ar {
4266
4268
  this.$$set({ mbsource: t }), M();
4267
4269
  }
4268
4270
  }
4269
- Hr(Hi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4271
+ Cr(Hi, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4270
4272
  export {
4271
4273
  Hi as default
4272
4274
  };