@everymatrix/casino-categories-providers 1.61.0 → 1.62.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 (26) hide show
  1. package/components/{CasinoCategories-C1SbCggG.js → CasinoCategories-BTqBkpiA.js} +398 -396
  2. package/components/CasinoCategories-CdNFIhT3.cjs +16 -0
  3. package/components/{CasinoCategories-43kv7Ixl.js → CasinoCategories-DnjvIXXE.js} +410 -408
  4. package/components/{CasinoCategoriesProviders-D0zwQEPC.js → CasinoCategoriesProviders-B9qpFAwp.js} +19 -19
  5. package/components/{CasinoCategoriesProviders-DD8RNcU6.js → CasinoCategoriesProviders-C8WW1IWw.js} +17 -17
  6. package/components/{CasinoCategoriesProviders-BRk7QvhE.cjs → CasinoCategoriesProviders-DWjeJSjE.cjs} +1 -1
  7. package/components/{CasinoProviders-DHsyJul_.js → CasinoProviders-BytNCnpf.js} +37 -37
  8. package/components/{CasinoProviders-BiWUYHVq.js → CasinoProviders-CbN8-IEM.js} +37 -37
  9. package/components/{CasinoProviders-B1fox9dx.cjs → CasinoProviders-PK4Uc7Qu.cjs} +1 -1
  10. package/es2015/casino-categories-providers.cjs +1 -1
  11. package/es2015/casino-categories-providers.js +1 -1
  12. package/esnext/casino-categories-providers.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b7bbd57e-6KaMTlNN.js +534 -0
  15. package/stencil/index-b7bbd57e-BSagye0B.js +550 -0
  16. package/stencil/index-b7bbd57e-DIQXXTTR.cjs +1 -0
  17. package/stencil/{ui-image-38c3c15f-ByZECnci.js → ui-image-38c3c15f-CumwWbNu.js} +1 -1
  18. package/stencil/{ui-image-38c3c15f-D_V48h1L.js → ui-image-38c3c15f-Dxl-aZb-.js} +1 -1
  19. package/stencil/{ui-image-38c3c15f-VguNkCIq.cjs → ui-image-38c3c15f-y5t5ZLG0.cjs} +1 -1
  20. package/stencil/{ui-image-BNrzgSpe.js → ui-image-BQa5UbqU.js} +2 -2
  21. package/stencil/{ui-image-CPH6BqjQ.js → ui-image-Bi4jDe3D.js} +2 -2
  22. package/stencil/{ui-image-CLghOqUz.cjs → ui-image-z441BZiX.cjs} +1 -1
  23. package/components/CasinoCategories-Bb_iAxyS.cjs +0 -16
  24. package/stencil/index-b7bbd57e-BBUBsGhp.js +0 -550
  25. package/stencil/index-b7bbd57e-SuDXAV6_.cjs +0 -1
  26. package/stencil/index-b7bbd57e-wJC_uAuk.js +0 -534
@@ -1,29 +1,29 @@
1
- import "../stencil/ui-image-BNrzgSpe.js";
1
+ import "../stencil/ui-image-BQa5UbqU.js";
2
2
  function N() {
3
3
  }
4
- function pt(e) {
4
+ function bt(e) {
5
5
  return e();
6
6
  }
7
- function We() {
7
+ function Qe() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
10
  function ae(e) {
11
- e.forEach(pt);
11
+ e.forEach(bt);
12
12
  }
13
13
  function ke(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function dt(e, t) {
16
+ function _t(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
19
  let le;
20
20
  function de(e, t) {
21
21
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
22
22
  }
23
- function Wt(e) {
23
+ function Qt(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
- function bt(e, ...t) {
26
+ function yt(e, ...t) {
27
27
  if (e == null) {
28
28
  for (const n of t)
29
29
  n(void 0);
@@ -32,20 +32,20 @@ function bt(e, ...t) {
32
32
  const r = e.subscribe(...t);
33
33
  return r.unsubscribe ? () => r.unsubscribe() : r;
34
34
  }
35
- function Zt(e, t, r) {
36
- e.$$.on_destroy.push(bt(t, r));
35
+ function qt(e, t, r) {
36
+ e.$$.on_destroy.push(yt(t, r));
37
37
  }
38
38
  function v(e, t) {
39
39
  e.appendChild(t);
40
40
  }
41
- function Qt(e, t, r) {
42
- const n = qt(e);
41
+ function Jt(e, t, r) {
42
+ const n = Yt(e);
43
43
  if (!n.getElementById(t)) {
44
44
  const i = S("style");
45
- i.id = t, i.textContent = r, Jt(n, i);
45
+ i.id = t, i.textContent = r, Kt(n, i);
46
46
  }
47
47
  }
48
- function qt(e) {
48
+ function Yt(e) {
49
49
  if (!e)
50
50
  return document;
51
51
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -55,7 +55,7 @@ function qt(e) {
55
55
  t
56
56
  ) : e.ownerDocument;
57
57
  }
58
- function Jt(e, t) {
58
+ function Kt(e, t) {
59
59
  return v(
60
60
  /** @type {Document} */
61
61
  e.head || e,
@@ -68,7 +68,7 @@ function Y(e, t, r) {
68
68
  function j(e) {
69
69
  e.parentNode && e.parentNode.removeChild(e);
70
70
  }
71
- function Ze(e, t) {
71
+ function qe(e, t) {
72
72
  for (let r = 0; r < e.length; r += 1)
73
73
  e[r] && e[r].d(t);
74
74
  }
@@ -81,10 +81,10 @@ function U(e) {
81
81
  function R() {
82
82
  return U(" ");
83
83
  }
84
- function mi() {
84
+ function pi() {
85
85
  return U("");
86
86
  }
87
- function _t(e, t, r, n) {
87
+ function xt(e, t, r, n) {
88
88
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
89
89
  }
90
90
  function L(e, t, r) {
@@ -94,14 +94,14 @@ function $(e, t, r) {
94
94
  const n = t.toLowerCase();
95
95
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : L(e, t, r);
96
96
  }
97
- function Yt(e) {
97
+ function er(e) {
98
98
  return Array.from(e.childNodes);
99
99
  }
100
100
  function G(e, t) {
101
101
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
102
102
  t);
103
103
  }
104
- function Kt(e) {
104
+ function tr(e) {
105
105
  const t = {};
106
106
  return e.childNodes.forEach(
107
107
  /** @param {Element} node */
@@ -114,20 +114,20 @@ let ie;
114
114
  function ne(e) {
115
115
  ie = e;
116
116
  }
117
- function er() {
117
+ function rr() {
118
118
  if (!ie)
119
119
  throw new Error("Function called outside component initialization");
120
120
  return ie;
121
121
  }
122
- function tr(e) {
123
- er().$$.on_mount.push(e);
122
+ function nr(e) {
123
+ rr().$$.on_mount.push(e);
124
124
  }
125
125
  const z = [], Pe = [];
126
126
  let W = [];
127
- const Qe = [], rr = /* @__PURE__ */ Promise.resolve();
127
+ const Je = [], ir = /* @__PURE__ */ Promise.resolve();
128
128
  let Ne = !1;
129
- function nr() {
130
- Ne || (Ne = !0, rr.then(I));
129
+ function sr() {
130
+ Ne || (Ne = !0, ir.then(I));
131
131
  }
132
132
  function Le(e) {
133
133
  W.push(e);
@@ -142,7 +142,7 @@ function I() {
142
142
  try {
143
143
  for (; V < z.length; ) {
144
144
  const t = z[V];
145
- V++, ne(t), ir(t.$$);
145
+ V++, ne(t), or(t.$$);
146
146
  }
147
147
  } catch (t) {
148
148
  throw z.length = 0, V = 0, t;
@@ -155,43 +155,43 @@ function I() {
155
155
  }
156
156
  W.length = 0;
157
157
  } while (z.length);
158
- for (; Qe.length; )
159
- Qe.pop()();
158
+ for (; Je.length; )
159
+ Je.pop()();
160
160
  Ne = !1, Te.clear(), ne(e);
161
161
  }
162
- function ir(e) {
162
+ function or(e) {
163
163
  if (e.fragment !== null) {
164
164
  e.update(), ae(e.before_update);
165
165
  const t = e.dirty;
166
166
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
167
167
  }
168
168
  }
169
- function sr(e) {
169
+ function ar(e) {
170
170
  const t = [], r = [];
171
171
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
172
172
  }
173
- const or = /* @__PURE__ */ new Set();
174
- function ar(e, t) {
175
- e && e.i && (or.delete(e), e.i(t));
173
+ const ur = /* @__PURE__ */ new Set();
174
+ function hr(e, t) {
175
+ e && e.i && (ur.delete(e), e.i(t));
176
176
  }
177
177
  function fe(e) {
178
178
  return e?.length !== void 0 ? e : Array.from(e);
179
179
  }
180
- function ur(e, t, r) {
180
+ function lr(e, t, r) {
181
181
  const { fragment: n, after_update: i } = e.$$;
182
182
  n && n.m(t, r), Le(() => {
183
- const s = e.$$.on_mount.map(pt).filter(ke);
183
+ const s = e.$$.on_mount.map(bt).filter(ke);
184
184
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
185
185
  }), i.forEach(Le);
186
186
  }
187
- function hr(e, t) {
187
+ function fr(e, t) {
188
188
  const r = e.$$;
189
- r.fragment !== null && (sr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
189
+ r.fragment !== null && (ar(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
190
190
  }
191
- function lr(e, t) {
192
- e.$$.dirty[0] === -1 && (z.push(e), nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
191
+ function cr(e, t) {
192
+ e.$$.dirty[0] === -1 && (z.push(e), sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
193
  }
194
- function fr(e, t, r, n, i, s, o = null, u = [-1]) {
194
+ function gr(e, t, r, n, i, s, o = null, u = [-1]) {
195
195
  const l = ie;
196
196
  ne(e);
197
197
  const a = e.$$ = {
@@ -201,7 +201,7 @@ function fr(e, t, r, n, i, s, o = null, u = [-1]) {
201
201
  props: s,
202
202
  update: N,
203
203
  not_equal: i,
204
- bound: We(),
204
+ bound: Qe(),
205
205
  // lifecycle
206
206
  on_mount: [],
207
207
  on_destroy: [],
@@ -210,7 +210,7 @@ function fr(e, t, r, n, i, s, o = null, u = [-1]) {
210
210
  after_update: [],
211
211
  context: new Map(t.context || (l ? l.$$.context : [])),
212
212
  // everything else
213
- callbacks: We(),
213
+ callbacks: Qe(),
214
214
  dirty: u,
215
215
  skip_bound: !1,
216
216
  root: t.target || l.$$.root
@@ -219,19 +219,19 @@ function fr(e, t, r, n, i, s, o = null, u = [-1]) {
219
219
  let h = !1;
220
220
  if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
221
221
  const d = p.length ? p[0] : f;
222
- return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), h && lr(e, c)), f;
222
+ return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), h && cr(e, c)), f;
223
223
  }) : [], a.update(), h = !0, ae(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
224
224
  if (t.hydrate) {
225
- const c = Yt(t.target);
225
+ const c = er(t.target);
226
226
  a.fragment && a.fragment.l(c), c.forEach(j);
227
227
  } else
228
228
  a.fragment && a.fragment.c();
229
- t.intro && ar(e.$$.fragment), ur(e, t.target, t.anchor), I();
229
+ t.intro && hr(e.$$.fragment), lr(e, t.target, t.anchor), I();
230
230
  }
231
231
  ne(l);
232
232
  }
233
- let yt;
234
- typeof HTMLElement == "function" && (yt = class extends HTMLElement {
233
+ let Et;
234
+ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
235
235
  /** The Svelte component constructor */
236
236
  $$ctor;
237
237
  /** Slots */
@@ -290,7 +290,7 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
290
290
  };
291
291
  if (await Promise.resolve(), !this.$$cn || this.$$c)
292
292
  return;
293
- const t = {}, r = Kt(this);
293
+ const t = {}, r = tr(this);
294
294
  for (const i of this.$$s)
295
295
  i in r && (t[i] = [e(i)]);
296
296
  for (const i of this.attributes) {
@@ -377,8 +377,8 @@ function ge(e, t, r, n) {
377
377
  return t;
378
378
  }
379
379
  }
380
- function cr(e, t, r, n, i, s) {
381
- let o = class extends yt {
380
+ function mr(e, t, r, n, i, s) {
381
+ let o = class extends Et {
382
382
  constructor() {
383
383
  super(e, r, i), this.$$p_d = t;
384
384
  }
@@ -406,7 +406,7 @@ function cr(e, t, r, n, i, s) {
406
406
  }), e.element = /** @type {any} */
407
407
  o, o;
408
408
  }
409
- class gr {
409
+ class pr {
410
410
  /**
411
411
  * ### PRIVATE API
412
412
  *
@@ -425,7 +425,7 @@ class gr {
425
425
  $$set = void 0;
426
426
  /** @returns {void} */
427
427
  $destroy() {
428
- hr(this, 1), this.$destroy = N;
428
+ fr(this, 1), this.$destroy = N;
429
429
  }
430
430
  /**
431
431
  * @template {Extract<keyof Events, string>} K
@@ -447,13 +447,13 @@ class gr {
447
447
  * @returns {void}
448
448
  */
449
449
  $set(t) {
450
- this.$$set && !Wt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
450
+ this.$$set && !Qt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
451
451
  }
452
452
  }
453
- const mr = "4";
454
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mr);
453
+ const dr = "4";
454
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dr);
455
455
  const X = [];
456
- function pr(e, t) {
456
+ function br(e, t) {
457
457
  return {
458
458
  subscribe: ye(e, t).subscribe
459
459
  };
@@ -462,7 +462,7 @@ function ye(e, t = N) {
462
462
  let r;
463
463
  const n = /* @__PURE__ */ new Set();
464
464
  function i(u) {
465
- if (dt(e, u) && (e = u, r)) {
465
+ if (_t(e, u) && (e = u, r)) {
466
466
  const l = !X.length;
467
467
  for (const a of n)
468
468
  a[1](), X.push(a, e);
@@ -489,7 +489,7 @@ function K(e, t, r) {
489
489
  if (!i.every(Boolean))
490
490
  throw new Error("derived() expects stores as input, got a falsy value");
491
491
  const s = t.length < 2;
492
- return pr(r, (o, u) => {
492
+ return br(r, (o, u) => {
493
493
  let l = !1;
494
494
  const a = [];
495
495
  let h = 0, c = N;
@@ -500,7 +500,7 @@ function K(e, t, r) {
500
500
  const d = t(n ? a[0] : a, o, u);
501
501
  s ? o(d) : c = ke(d) ? d : N;
502
502
  }, p = i.map(
503
- (d, g) => bt(
503
+ (d, g) => yt(
504
504
  d,
505
505
  (E) => {
506
506
  a[g] = E, h &= ~(1 << g), l && f();
@@ -515,70 +515,70 @@ function K(e, t, r) {
515
515
  };
516
516
  });
517
517
  }
518
- function dr(e) {
518
+ function _r(e) {
519
519
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
520
520
  }
521
- var br = function(t) {
522
- return _r(t) && !yr(t);
521
+ var yr = function(t) {
522
+ return xr(t) && !Er(t);
523
523
  };
524
- function _r(e) {
524
+ function xr(e) {
525
525
  return !!e && typeof e == "object";
526
526
  }
527
- function yr(e) {
527
+ function Er(e) {
528
528
  var t = Object.prototype.toString.call(e);
529
- return t === "[object RegExp]" || t === "[object Date]" || vr(e);
529
+ return t === "[object RegExp]" || t === "[object Date]" || Tr(e);
530
530
  }
531
- var xr = typeof Symbol == "function" && Symbol.for, Er = xr ? Symbol.for("react.element") : 60103;
532
- function vr(e) {
533
- return e.$$typeof === Er;
531
+ var vr = typeof Symbol == "function" && Symbol.for, Cr = vr ? Symbol.for("react.element") : 60103;
532
+ function Tr(e) {
533
+ return e.$$typeof === Cr;
534
534
  }
535
- function Cr(e) {
535
+ function Hr(e) {
536
536
  return Array.isArray(e) ? [] : {};
537
537
  }
538
538
  function se(e, t) {
539
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Cr(e), e, t) : e;
539
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(Hr(e), e, t) : e;
540
540
  }
541
- function Tr(e, t, r) {
541
+ function Ar(e, t, r) {
542
542
  return e.concat(t).map(function(n) {
543
543
  return se(n, r);
544
544
  });
545
545
  }
546
- function Hr(e, t) {
546
+ function Br(e, t) {
547
547
  if (!t.customMerge)
548
548
  return Z;
549
549
  var r = t.customMerge(e);
550
550
  return typeof r == "function" ? r : Z;
551
551
  }
552
- function Ar(e) {
552
+ function Sr(e) {
553
553
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
554
554
  return Object.propertyIsEnumerable.call(e, t);
555
555
  }) : [];
556
556
  }
557
- function qe(e) {
558
- return Object.keys(e).concat(Ar(e));
557
+ function Ye(e) {
558
+ return Object.keys(e).concat(Sr(e));
559
559
  }
560
- function xt(e, t) {
560
+ function vt(e, t) {
561
561
  try {
562
562
  return t in e;
563
563
  } catch {
564
564
  return !1;
565
565
  }
566
566
  }
567
- function Br(e, t) {
568
- return xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
567
+ function wr(e, t) {
568
+ return vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
569
569
  }
570
- function Sr(e, t, r) {
570
+ function Or(e, t, r) {
571
571
  var n = {};
572
- return r.isMergeableObject(e) && qe(e).forEach(function(i) {
572
+ return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
573
573
  n[i] = se(e[i], r);
574
- }), qe(t).forEach(function(i) {
575
- Br(e, i) || (xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
574
+ }), Ye(t).forEach(function(i) {
575
+ wr(e, i) || (vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Br(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
576
576
  }), n;
577
577
  }
578
578
  function Z(e, t, r) {
579
- r = r || {}, r.arrayMerge = r.arrayMerge || Tr, r.isMergeableObject = r.isMergeableObject || br, r.cloneUnlessOtherwiseSpecified = se;
579
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ar, r.isMergeableObject = r.isMergeableObject || yr, r.cloneUnlessOtherwiseSpecified = se;
580
580
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
581
- return s ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : se(t, r);
581
+ return s ? n ? r.arrayMerge(e, t, r) : Or(e, t, r) : se(t, r);
582
582
  }
583
583
  Z.all = function(t, r) {
584
584
  if (!Array.isArray(t))
@@ -587,8 +587,8 @@ Z.all = function(t, r) {
587
587
  return Z(n, i, r);
588
588
  }, {});
589
589
  };
590
- var Or = Z, wr = Or;
591
- const Pr = /* @__PURE__ */ dr(wr);
590
+ var Pr = Z, Nr = Pr;
591
+ const Lr = /* @__PURE__ */ _r(Nr);
592
592
  /*! *****************************************************************************
593
593
  Copyright (c) Microsoft Corporation.
594
594
 
@@ -630,7 +630,7 @@ var x = function() {
630
630
  return t;
631
631
  }, x.apply(this, arguments);
632
632
  };
633
- function Nr(e, t) {
633
+ function Ir(e, t) {
634
634
  var r = {};
635
635
  for (var n in e)
636
636
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -646,53 +646,55 @@ function He(e, t, r) {
646
646
  return e.concat(s || t);
647
647
  }
648
648
  function Ae(e, t) {
649
- var r = t && t.cache ? t.cache : Dr, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Mr;
649
+ var r = t && t.cache ? t.cache : Gr, n = t && t.serializer ? t.serializer : Dr, i = t && t.strategy ? t.strategy : $r;
650
650
  return i(e, {
651
651
  cache: r,
652
652
  serializer: n
653
653
  });
654
654
  }
655
- function Lr(e) {
655
+ function Mr(e) {
656
656
  return e == null || typeof e == "number" || typeof e == "boolean";
657
657
  }
658
- function Ir(e, t, r, n) {
659
- var i = Lr(n) ? n : r(n), s = t.get(i);
658
+ function Ct(e, t, r, n) {
659
+ var i = Mr(n) ? n : r(n), s = t.get(i);
660
660
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
661
661
  }
662
- function Et(e, t, r) {
662
+ function Tt(e, t, r) {
663
663
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
664
664
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
665
665
  }
666
- function vt(e, t, r, n, i) {
666
+ function Ve(e, t, r, n, i) {
667
667
  return r.bind(t, e, n, i);
668
668
  }
669
- function Mr(e, t) {
670
- var r = e.length === 1 ? Ir : Et;
671
- return vt(e, this, r, t.cache.create(), t.serializer);
672
- }
673
669
  function $r(e, t) {
674
- return vt(e, this, Et, t.cache.create(), t.serializer);
670
+ var r = e.length === 1 ? Ct : Tt;
671
+ return Ve(e, this, r, t.cache.create(), t.serializer);
672
+ }
673
+ function Rr(e, t) {
674
+ return Ve(e, this, Tt, t.cache.create(), t.serializer);
675
+ }
676
+ function Ur(e, t) {
677
+ return Ve(e, this, Ct, t.cache.create(), t.serializer);
675
678
  }
676
- var Rr = function() {
679
+ var Dr = function() {
677
680
  return JSON.stringify(arguments);
678
- }, Ur = (
679
- /** @class */
680
- function() {
681
- function e() {
682
- this.cache = /* @__PURE__ */ Object.create(null);
683
- }
684
- return e.prototype.get = function(t) {
685
- return this.cache[t];
686
- }, e.prototype.set = function(t, r) {
687
- this.cache[t] = r;
688
- }, e;
689
- }()
690
- ), Dr = {
681
+ };
682
+ function Xe() {
683
+ this.cache = /* @__PURE__ */ Object.create(null);
684
+ }
685
+ Xe.prototype.get = function(e) {
686
+ return this.cache[e];
687
+ };
688
+ Xe.prototype.set = function(e, t) {
689
+ this.cache[e] = t;
690
+ };
691
+ var Gr = {
691
692
  create: function() {
692
- return new Ur();
693
+ return new Xe();
693
694
  }
694
695
  }, Be = {
695
- variadic: $r
696
+ variadic: Rr,
697
+ monadic: Ur
696
698
  }, _;
697
699
  (function(e) {
698
700
  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";
@@ -705,43 +707,43 @@ var Q;
705
707
  (function(e) {
706
708
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
707
709
  })(Q || (Q = {}));
708
- function Je(e) {
710
+ function Ke(e) {
709
711
  return e.type === C.literal;
710
712
  }
711
- function Gr(e) {
713
+ function Fr(e) {
712
714
  return e.type === C.argument;
713
715
  }
714
- function Ct(e) {
716
+ function Ht(e) {
715
717
  return e.type === C.number;
716
718
  }
717
- function Tt(e) {
719
+ function At(e) {
718
720
  return e.type === C.date;
719
721
  }
720
- function Ht(e) {
722
+ function Bt(e) {
721
723
  return e.type === C.time;
722
724
  }
723
- function At(e) {
725
+ function St(e) {
724
726
  return e.type === C.select;
725
727
  }
726
- function Bt(e) {
728
+ function wt(e) {
727
729
  return e.type === C.plural;
728
730
  }
729
- function Fr(e) {
731
+ function jr(e) {
730
732
  return e.type === C.pound;
731
733
  }
732
- function St(e) {
734
+ function Ot(e) {
733
735
  return e.type === C.tag;
734
736
  }
735
- function Ot(e) {
737
+ function Pt(e) {
736
738
  return !!(e && typeof e == "object" && e.type === Q.number);
737
739
  }
738
740
  function Me(e) {
739
741
  return !!(e && typeof e == "object" && e.type === Q.dateTime);
740
742
  }
741
- var wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
742
- function kr(e) {
743
+ var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kr = /(?:[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;
744
+ function Vr(e) {
743
745
  var t = {};
744
- return e.replace(jr, function(r) {
746
+ return e.replace(kr, function(r) {
745
747
  var n = r.length;
746
748
  switch (r[0]) {
747
749
  case "G":
@@ -830,11 +832,11 @@ function kr(e) {
830
832
  return "";
831
833
  }), t;
832
834
  }
833
- var Vr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
834
- function Xr(e) {
835
+ var Xr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
836
+ function zr(e) {
835
837
  if (e.length === 0)
836
838
  throw new Error("Number skeleton cannot be empty");
837
- for (var t = e.split(Vr).filter(function(f) {
839
+ for (var t = e.split(Xr).filter(function(f) {
838
840
  return f.length > 0;
839
841
  }), r = [], n = 0, i = t; n < i.length; n++) {
840
842
  var s = i[n], o = s.split("/");
@@ -849,17 +851,17 @@ function Xr(e) {
849
851
  }
850
852
  return r;
851
853
  }
852
- function zr(e) {
854
+ function Wr(e) {
853
855
  return e.replace(/^(.*?)-/, "");
854
856
  }
855
- var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pt = /^(@+)?(\+|#+)?[rs]?$/g, Wr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
856
- function Ke(e) {
857
+ var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lt = /^(@+)?(\+|#+)?[rs]?$/g, Zr = /(\*)(0+)|(#+)(0+)|(0+)/g, It = /^(0+)$/;
858
+ function tt(e) {
857
859
  var t = {};
858
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pt, function(r, n, i) {
860
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lt, function(r, n, i) {
859
861
  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)), "";
860
862
  }), t;
861
863
  }
862
- function Lt(e) {
864
+ function Mt(e) {
863
865
  switch (e) {
864
866
  case "sign-auto":
865
867
  return {
@@ -899,7 +901,7 @@ function Lt(e) {
899
901
  };
900
902
  }
901
903
  }
902
- function Zr(e) {
904
+ function Qr(e) {
903
905
  var t;
904
906
  if (e[0] === "E" && e[1] === "E" ? (t = {
905
907
  notation: "engineering"
@@ -907,17 +909,17 @@ function Zr(e) {
907
909
  notation: "scientific"
908
910
  }, e = e.slice(1)), t) {
909
911
  var r = e.slice(0, 2);
910
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nt.test(e))
912
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !It.test(e))
911
913
  throw new Error("Malformed concise eng/scientific notation");
912
914
  t.minimumIntegerDigits = e.length;
913
915
  }
914
916
  return t;
915
917
  }
916
- function et(e) {
917
- var t = {}, r = Lt(e);
918
+ function rt(e) {
919
+ var t = {}, r = Mt(e);
918
920
  return r || t;
919
921
  }
920
- function Qr(e) {
922
+ function qr(e) {
921
923
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
922
924
  var i = n[r];
923
925
  switch (i.stem) {
@@ -941,7 +943,7 @@ function Qr(e) {
941
943
  continue;
942
944
  case "measure-unit":
943
945
  case "unit":
944
- t.style = "unit", t.unit = zr(i.options[0]);
946
+ t.style = "unit", t.unit = Wr(i.options[0]);
945
947
  continue;
946
948
  case "compact-short":
947
949
  case "K":
@@ -953,12 +955,12 @@ function Qr(e) {
953
955
  continue;
954
956
  case "scientific":
955
957
  t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
956
- return x(x({}, l), et(a));
958
+ return x(x({}, l), rt(a));
957
959
  }, {}));
958
960
  continue;
959
961
  case "engineering":
960
962
  t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
961
- return x(x({}, l), et(a));
963
+ return x(x({}, l), rt(a));
962
964
  }, {}));
963
965
  continue;
964
966
  case "notation-simple":
@@ -1003,7 +1005,7 @@ function Qr(e) {
1003
1005
  case "integer-width":
1004
1006
  if (i.options.length > 1)
1005
1007
  throw new RangeError("integer-width stems only accept a single optional option");
1006
- i.options[0].replace(Wr, function(l, a, h, c, f, p) {
1008
+ i.options[0].replace(Zr, function(l, a, h, c, f, p) {
1007
1009
  if (a)
1008
1010
  t.minimumIntegerDigits = h.length;
1009
1011
  else {
@@ -1016,27 +1018,27 @@ function Qr(e) {
1016
1018
  });
1017
1019
  continue;
1018
1020
  }
1019
- if (Nt.test(i.stem)) {
1021
+ if (It.test(i.stem)) {
1020
1022
  t.minimumIntegerDigits = i.stem.length;
1021
1023
  continue;
1022
1024
  }
1023
- if (Ye.test(i.stem)) {
1025
+ if (et.test(i.stem)) {
1024
1026
  if (i.options.length > 1)
1025
1027
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1026
- i.stem.replace(Ye, function(l, a, h, c, f, p) {
1028
+ i.stem.replace(et, function(l, a, h, c, f, p) {
1027
1029
  return h === "*" ? 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), "";
1028
1030
  });
1029
1031
  var s = i.options[0];
1030
- s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), Ke(s)));
1032
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), tt(s)));
1031
1033
  continue;
1032
1034
  }
1033
- if (Pt.test(i.stem)) {
1034
- t = x(x({}, t), Ke(i.stem));
1035
+ if (Lt.test(i.stem)) {
1036
+ t = x(x({}, t), tt(i.stem));
1035
1037
  continue;
1036
1038
  }
1037
- var o = Lt(i.stem);
1039
+ var o = Mt(i.stem);
1038
1040
  o && (t = x(x({}, t), o));
1039
- var u = Zr(i.stem);
1041
+ var u = Qr(i.stem);
1040
1042
  u && (t = x(x({}, t), u));
1041
1043
  }
1042
1044
  return t;
@@ -2456,13 +2458,13 @@ var ce = {
2456
2458
  "h"
2457
2459
  ]
2458
2460
  };
2459
- function qr(e, t) {
2461
+ function Jr(e, t) {
2460
2462
  for (var r = "", n = 0; n < e.length; n++) {
2461
2463
  var i = e.charAt(n);
2462
2464
  if (i === "j") {
2463
2465
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2464
2466
  s++, n++;
2465
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Jr(t);
2467
+ var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Yr(t);
2466
2468
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2467
2469
  r += l;
2468
2470
  for (; o-- > 0; )
@@ -2472,7 +2474,7 @@ function qr(e, t) {
2472
2474
  }
2473
2475
  return r;
2474
2476
  }
2475
- function Jr(e) {
2477
+ function Yr(e) {
2476
2478
  var t = e.hourCycle;
2477
2479
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2478
2480
  e.hourCycles && // @ts-ignore
@@ -2494,20 +2496,20 @@ function Jr(e) {
2494
2496
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2495
2497
  return i[0];
2496
2498
  }
2497
- var Se, Yr = new RegExp("^".concat(wt.source, "*")), Kr = new RegExp("".concat(wt.source, "*$"));
2499
+ var Se, Kr = new RegExp("^".concat(Nt.source, "*")), en = new RegExp("".concat(Nt.source, "*$"));
2498
2500
  function y(e, t) {
2499
2501
  return { start: e, end: t };
2500
2502
  }
2501
- var en = !!String.prototype.startsWith && "_a".startsWith("a", 1), tn = !!String.fromCodePoint, rn = !!Object.fromEntries, nn = !!String.prototype.codePointAt, sn = !!String.prototype.trimStart, on = !!String.prototype.trimEnd, an = !!Number.isSafeInteger, un = an ? Number.isSafeInteger : function(e) {
2503
+ var tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), rn = !!String.fromCodePoint, nn = !!Object.fromEntries, sn = !!String.prototype.codePointAt, on = !!String.prototype.trimStart, an = !!String.prototype.trimEnd, un = !!Number.isSafeInteger, hn = un ? Number.isSafeInteger : function(e) {
2502
2504
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2503
2505
  }, $e = !0;
2504
2506
  try {
2505
- var hn = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2506
- $e = ((Se = hn.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2507
+ var ln = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2508
+ $e = ((Se = ln.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2507
2509
  } catch {
2508
2510
  $e = !1;
2509
2511
  }
2510
- var tt = en ? (
2512
+ var nt = tn ? (
2511
2513
  // Native
2512
2514
  function(t, r, n) {
2513
2515
  return t.startsWith(r, n);
@@ -2517,7 +2519,7 @@ var tt = en ? (
2517
2519
  function(t, r, n) {
2518
2520
  return t.slice(n, n + r.length) === r;
2519
2521
  }
2520
- ), Re = tn ? String.fromCodePoint : (
2522
+ ), Re = rn ? String.fromCodePoint : (
2521
2523
  // IE11
2522
2524
  function() {
2523
2525
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2529,9 +2531,9 @@ var tt = en ? (
2529
2531
  }
2530
2532
  return n;
2531
2533
  }
2532
- ), rt = (
2534
+ ), it = (
2533
2535
  // native
2534
- rn ? Object.fromEntries : (
2536
+ nn ? Object.fromEntries : (
2535
2537
  // Ponyfill
2536
2538
  function(t) {
2537
2539
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2541,7 +2543,7 @@ var tt = en ? (
2541
2543
  return r;
2542
2544
  }
2543
2545
  )
2544
- ), It = nn ? (
2546
+ ), $t = sn ? (
2545
2547
  // Native
2546
2548
  function(t, r) {
2547
2549
  return t.codePointAt(r);
@@ -2555,7 +2557,7 @@ var tt = en ? (
2555
2557
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2556
2558
  }
2557
2559
  }
2558
- ), ln = sn ? (
2560
+ ), fn = on ? (
2559
2561
  // Native
2560
2562
  function(t) {
2561
2563
  return t.trimStart();
@@ -2563,9 +2565,9 @@ var tt = en ? (
2563
2565
  ) : (
2564
2566
  // Ponyfill
2565
2567
  function(t) {
2566
- return t.replace(Yr, "");
2568
+ return t.replace(Kr, "");
2567
2569
  }
2568
- ), fn = on ? (
2570
+ ), cn = an ? (
2569
2571
  // Native
2570
2572
  function(t) {
2571
2573
  return t.trimEnd();
@@ -2573,32 +2575,32 @@ var tt = en ? (
2573
2575
  ) : (
2574
2576
  // Ponyfill
2575
2577
  function(t) {
2576
- return t.replace(Kr, "");
2578
+ return t.replace(en, "");
2577
2579
  }
2578
2580
  );
2579
- function Mt(e, t) {
2581
+ function Rt(e, t) {
2580
2582
  return new RegExp(e, t);
2581
2583
  }
2582
2584
  var Ue;
2583
2585
  if ($e) {
2584
- var nt = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2586
+ var st = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2585
2587
  Ue = function(t, r) {
2586
2588
  var n;
2587
- nt.lastIndex = r;
2588
- var i = nt.exec(t);
2589
+ st.lastIndex = r;
2590
+ var i = st.exec(t);
2589
2591
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2590
2592
  };
2591
2593
  } else
2592
2594
  Ue = function(t, r) {
2593
2595
  for (var n = []; ; ) {
2594
- var i = It(t, r);
2595
- if (i === void 0 || $t(i) || pn(i))
2596
+ var i = $t(t, r);
2597
+ if (i === void 0 || Ut(i) || dn(i))
2596
2598
  break;
2597
2599
  n.push(i), r += i >= 65536 ? 2 : 1;
2598
2600
  }
2599
2601
  return Re.apply(void 0, n);
2600
2602
  };
2601
- var cn = (
2603
+ var gn = (
2602
2604
  /** @class */
2603
2605
  function() {
2604
2606
  function e(t, r) {
@@ -2680,7 +2682,7 @@ var cn = (
2680
2682
  return this.error(_.INVALID_TAG, y(n, this.clonePosition()));
2681
2683
  }, e.prototype.parseTagName = function() {
2682
2684
  var t = this.offset();
2683
- for (this.bump(); !this.isEOF() && mn(this.char()); )
2685
+ for (this.bump(); !this.isEOF() && pn(this.char()); )
2684
2686
  this.bump();
2685
2687
  return this.message.slice(t, this.offset());
2686
2688
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2709,7 +2711,7 @@ var cn = (
2709
2711
  };
2710
2712
  }, e.prototype.tryParseLeftAngleBracket = function() {
2711
2713
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2712
- !gn(this.peek() || 0)) ? (this.bump(), "<") : null;
2714
+ !mn(this.peek() || 0)) ? (this.bump(), "<") : null;
2713
2715
  }, e.prototype.tryParseQuote = function(t) {
2714
2716
  if (this.isEOF() || this.char() !== 39)
2715
2717
  return null;
@@ -2796,7 +2798,7 @@ var cn = (
2796
2798
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2797
2799
  if (c.err)
2798
2800
  return c;
2799
- var f = fn(c.val);
2801
+ var f = cn(c.val);
2800
2802
  if (f.length === 0)
2801
2803
  return this.error(_.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2802
2804
  var p = y(h, this.clonePosition());
@@ -2806,8 +2808,8 @@ var cn = (
2806
2808
  if (d.err)
2807
2809
  return d;
2808
2810
  var g = y(i, this.clonePosition());
2809
- if (a && tt(a?.style, "::", 0)) {
2810
- var E = ln(a.style.slice(2));
2811
+ if (a && nt(a?.style, "::", 0)) {
2812
+ var E = fn(a.style.slice(2));
2811
2813
  if (u === "number") {
2812
2814
  var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2813
2815
  return c.err ? c : {
@@ -2818,12 +2820,12 @@ var cn = (
2818
2820
  if (E.length === 0)
2819
2821
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
2820
2822
  var m = E;
2821
- this.locale && (m = qr(E, this.locale));
2823
+ this.locale && (m = Jr(E, this.locale));
2822
2824
  var f = {
2823
2825
  type: Q.dateTime,
2824
2826
  pattern: m,
2825
2827
  location: a.styleLocation,
2826
- parsedOptions: this.shouldParseSkeletons ? kr(m) : {}
2828
+ parsedOptions: this.shouldParseSkeletons ? Vr(m) : {}
2827
2829
  }, T = u === "date" ? C.date : C.time;
2828
2830
  return {
2829
2831
  val: { type: T, value: n, location: g, style: f },
@@ -2848,17 +2850,17 @@ var cn = (
2848
2850
  if (this.bumpSpace(), !this.bumpIf(","))
2849
2851
  return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, y(A, x({}, A)));
2850
2852
  this.bumpSpace();
2851
- var w = this.parseIdentifierIfPossible(), B = 0;
2852
- if (u !== "select" && w.value === "offset") {
2853
+ var O = this.parseIdentifierIfPossible(), B = 0;
2854
+ if (u !== "select" && O.value === "offset") {
2853
2855
  if (!this.bumpIf(":"))
2854
2856
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2855
2857
  this.bumpSpace();
2856
2858
  var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2857
2859
  if (c.err)
2858
2860
  return c;
2859
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), B = c.val;
2861
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = c.val;
2860
2862
  }
2861
- var H = this.tryParsePluralOrSelectOptions(t, u, r, w);
2863
+ var H = this.tryParsePluralOrSelectOptions(t, u, r, O);
2862
2864
  if (H.err)
2863
2865
  return H;
2864
2866
  var d = this.tryParseArgumentClose(i);
@@ -2869,7 +2871,7 @@ var cn = (
2869
2871
  val: {
2870
2872
  type: C.select,
2871
2873
  value: n,
2872
- options: rt(H.val),
2874
+ options: it(H.val),
2873
2875
  location: P
2874
2876
  },
2875
2877
  err: null
@@ -2877,7 +2879,7 @@ var cn = (
2877
2879
  val: {
2878
2880
  type: C.plural,
2879
2881
  value: n,
2880
- options: rt(H.val),
2882
+ options: it(H.val),
2881
2883
  offset: B,
2882
2884
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2883
2885
  location: P
@@ -2928,7 +2930,7 @@ var cn = (
2928
2930
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2929
2931
  var n = [];
2930
2932
  try {
2931
- n = Xr(t);
2933
+ n = zr(t);
2932
2934
  } catch {
2933
2935
  return this.error(_.INVALID_NUMBER_SKELETON, r);
2934
2936
  }
@@ -2937,7 +2939,7 @@ var cn = (
2937
2939
  type: Q.number,
2938
2940
  tokens: n,
2939
2941
  location: r,
2940
- parsedOptions: this.shouldParseSkeletons ? Qr(n) : {}
2942
+ parsedOptions: this.shouldParseSkeletons ? qr(n) : {}
2941
2943
  },
2942
2944
  err: null
2943
2945
  };
@@ -2985,7 +2987,7 @@ var cn = (
2985
2987
  break;
2986
2988
  }
2987
2989
  var l = y(i, this.clonePosition());
2988
- return s ? (o *= n, un(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
2990
+ return s ? (o *= n, hn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
2989
2991
  }, e.prototype.offset = function() {
2990
2992
  return this.position.offset;
2991
2993
  }, e.prototype.isEOF = function() {
@@ -3000,7 +3002,7 @@ var cn = (
3000
3002
  var t = this.position.offset;
3001
3003
  if (t >= this.message.length)
3002
3004
  throw Error("out of bound");
3003
- var r = It(this.message, t);
3005
+ var r = $t(this.message, t);
3004
3006
  if (r === void 0)
3005
3007
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3006
3008
  return r;
@@ -3019,7 +3021,7 @@ var cn = (
3019
3021
  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);
3020
3022
  }
3021
3023
  }, e.prototype.bumpIf = function(t) {
3022
- if (tt(this.message, t, this.offset())) {
3024
+ if (nt(this.message, t, this.offset())) {
3023
3025
  for (var r = 0; r < t.length; r++)
3024
3026
  this.bump();
3025
3027
  return !0;
@@ -3041,7 +3043,7 @@ var cn = (
3041
3043
  break;
3042
3044
  }
3043
3045
  }, e.prototype.bumpSpace = function() {
3044
- for (; !this.isEOF() && $t(this.char()); )
3046
+ for (; !this.isEOF() && Ut(this.char()); )
3045
3047
  this.bump();
3046
3048
  }, e.prototype.peek = function() {
3047
3049
  if (this.isEOF())
@@ -3054,30 +3056,30 @@ var cn = (
3054
3056
  function De(e) {
3055
3057
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3056
3058
  }
3057
- function gn(e) {
3059
+ function mn(e) {
3058
3060
  return De(e) || e === 47;
3059
3061
  }
3060
- function mn(e) {
3062
+ function pn(e) {
3061
3063
  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;
3062
3064
  }
3063
- function $t(e) {
3065
+ function Ut(e) {
3064
3066
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3065
3067
  }
3066
- function pn(e) {
3068
+ function dn(e) {
3067
3069
  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;
3068
3070
  }
3069
3071
  function Ge(e) {
3070
3072
  e.forEach(function(t) {
3071
- if (delete t.location, At(t) || Bt(t))
3073
+ if (delete t.location, St(t) || wt(t))
3072
3074
  for (var r in t.options)
3073
3075
  delete t.options[r].location, Ge(t.options[r].value);
3074
3076
  else
3075
- Ct(t) && Ot(t.style) || (Tt(t) || Ht(t)) && Me(t.style) ? delete t.style.location : St(t) && Ge(t.children);
3077
+ Ht(t) && Pt(t.style) || (At(t) || Bt(t)) && Me(t.style) ? delete t.style.location : Ot(t) && Ge(t.children);
3076
3078
  });
3077
3079
  }
3078
- function dn(e, t) {
3080
+ function bn(e, t) {
3079
3081
  t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3080
- var r = new cn(e, t).parse();
3082
+ var r = new gn(e, t).parse();
3081
3083
  if (r.err) {
3082
3084
  var n = SyntaxError(_[r.err.kind]);
3083
3085
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3100,7 +3102,7 @@ var Ee = (
3100
3102
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3101
3103
  }, t;
3102
3104
  }(Error)
3103
- ), it = (
3105
+ ), ot = (
3104
3106
  /** @class */
3105
3107
  function(e) {
3106
3108
  xe(t, e);
@@ -3109,7 +3111,7 @@ var Ee = (
3109
3111
  }
3110
3112
  return t;
3111
3113
  }(Ee)
3112
- ), bn = (
3114
+ ), _n = (
3113
3115
  /** @class */
3114
3116
  function(e) {
3115
3117
  xe(t, e);
@@ -3118,7 +3120,7 @@ var Ee = (
3118
3120
  }
3119
3121
  return t;
3120
3122
  }(Ee)
3121
- ), _n = (
3123
+ ), yn = (
3122
3124
  /** @class */
3123
3125
  function(e) {
3124
3126
  xe(t, e);
@@ -3127,128 +3129,128 @@ var Ee = (
3127
3129
  }
3128
3130
  return t;
3129
3131
  }(Ee)
3130
- ), O;
3132
+ ), w;
3131
3133
  (function(e) {
3132
3134
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3133
- })(O || (O = {}));
3134
- function yn(e) {
3135
+ })(w || (w = {}));
3136
+ function xn(e) {
3135
3137
  return e.length < 2 ? e : e.reduce(function(t, r) {
3136
3138
  var n = t[t.length - 1];
3137
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3139
+ return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3138
3140
  }, []);
3139
3141
  }
3140
- function xn(e) {
3142
+ function En(e) {
3141
3143
  return typeof e == "function";
3142
3144
  }
3143
3145
  function me(e, t, r, n, i, s, o) {
3144
- if (e.length === 1 && Je(e[0]))
3146
+ if (e.length === 1 && Ke(e[0]))
3145
3147
  return [
3146
3148
  {
3147
- type: O.literal,
3149
+ type: w.literal,
3148
3150
  value: e[0].value
3149
3151
  }
3150
3152
  ];
3151
3153
  for (var u = [], l = 0, a = e; l < a.length; l++) {
3152
3154
  var h = a[l];
3153
- if (Je(h)) {
3155
+ if (Ke(h)) {
3154
3156
  u.push({
3155
- type: O.literal,
3157
+ type: w.literal,
3156
3158
  value: h.value
3157
3159
  });
3158
3160
  continue;
3159
3161
  }
3160
- if (Fr(h)) {
3162
+ if (jr(h)) {
3161
3163
  typeof s == "number" && u.push({
3162
- type: O.literal,
3164
+ type: w.literal,
3163
3165
  value: r.getNumberFormat(t).format(s)
3164
3166
  });
3165
3167
  continue;
3166
3168
  }
3167
3169
  var c = h.value;
3168
3170
  if (!(i && c in i))
3169
- throw new _n(c, o);
3171
+ throw new yn(c, o);
3170
3172
  var f = i[c];
3171
- if (Gr(h)) {
3173
+ if (Fr(h)) {
3172
3174
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3173
- type: typeof f == "string" ? O.literal : O.object,
3175
+ type: typeof f == "string" ? w.literal : w.object,
3174
3176
  value: f
3175
3177
  });
3176
3178
  continue;
3177
3179
  }
3178
- if (Tt(h)) {
3180
+ if (At(h)) {
3179
3181
  var p = typeof h.style == "string" ? n.date[h.style] : Me(h.style) ? h.style.parsedOptions : void 0;
3180
3182
  u.push({
3181
- type: O.literal,
3183
+ type: w.literal,
3182
3184
  value: r.getDateTimeFormat(t, p).format(f)
3183
3185
  });
3184
3186
  continue;
3185
3187
  }
3186
- if (Ht(h)) {
3188
+ if (Bt(h)) {
3187
3189
  var p = typeof h.style == "string" ? n.time[h.style] : Me(h.style) ? h.style.parsedOptions : n.time.medium;
3188
3190
  u.push({
3189
- type: O.literal,
3191
+ type: w.literal,
3190
3192
  value: r.getDateTimeFormat(t, p).format(f)
3191
3193
  });
3192
3194
  continue;
3193
3195
  }
3194
- if (Ct(h)) {
3195
- var p = typeof h.style == "string" ? n.number[h.style] : Ot(h.style) ? h.style.parsedOptions : void 0;
3196
+ if (Ht(h)) {
3197
+ var p = typeof h.style == "string" ? n.number[h.style] : Pt(h.style) ? h.style.parsedOptions : void 0;
3196
3198
  p && p.scale && (f = f * (p.scale || 1)), u.push({
3197
- type: O.literal,
3199
+ type: w.literal,
3198
3200
  value: r.getNumberFormat(t, p).format(f)
3199
3201
  });
3200
3202
  continue;
3201
3203
  }
3202
- if (St(h)) {
3204
+ if (Ot(h)) {
3203
3205
  var d = h.children, g = h.value, E = i[g];
3204
- if (!xn(E))
3205
- throw new bn(g, "function", o);
3206
+ if (!En(E))
3207
+ throw new _n(g, "function", o);
3206
3208
  var m = me(d, t, r, n, i, s), T = E(m.map(function(B) {
3207
3209
  return B.value;
3208
3210
  }));
3209
3211
  Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(B) {
3210
3212
  return {
3211
- type: typeof B == "string" ? O.literal : O.object,
3213
+ type: typeof B == "string" ? w.literal : w.object,
3212
3214
  value: B
3213
3215
  };
3214
3216
  }));
3215
3217
  }
3216
- if (At(h)) {
3218
+ if (St(h)) {
3217
3219
  var A = h.options[f] || h.options.other;
3218
3220
  if (!A)
3219
- throw new it(h.value, f, Object.keys(h.options), o);
3221
+ throw new ot(h.value, f, Object.keys(h.options), o);
3220
3222
  u.push.apply(u, me(A.value, t, r, n, i));
3221
3223
  continue;
3222
3224
  }
3223
- if (Bt(h)) {
3225
+ if (wt(h)) {
3224
3226
  var A = h.options["=".concat(f)];
3225
3227
  if (!A) {
3226
3228
  if (!Intl.PluralRules)
3227
3229
  throw new Ee(`Intl.PluralRules is not available in this environment.
3228
3230
  Try polyfilling it using "@formatjs/intl-pluralrules"
3229
3231
  `, q.MISSING_INTL_API, o);
3230
- var w = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3231
- A = h.options[w] || h.options.other;
3232
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3233
+ A = h.options[O] || h.options.other;
3232
3234
  }
3233
3235
  if (!A)
3234
- throw new it(h.value, f, Object.keys(h.options), o);
3236
+ throw new ot(h.value, f, Object.keys(h.options), o);
3235
3237
  u.push.apply(u, me(A.value, t, r, n, i, f - (h.offset || 0)));
3236
3238
  continue;
3237
3239
  }
3238
3240
  }
3239
- return yn(u);
3241
+ return xn(u);
3240
3242
  }
3241
- function En(e, t) {
3243
+ function vn(e, t) {
3242
3244
  return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3243
3245
  return r[n] = x(x({}, e[n]), t[n] || {}), r;
3244
3246
  }, {})) : e;
3245
3247
  }
3246
- function vn(e, t) {
3248
+ function Cn(e, t) {
3247
3249
  return t ? Object.keys(e).reduce(function(r, n) {
3248
- return r[n] = En(e[n], t[n]), r;
3250
+ return r[n] = vn(e[n], t[n]), r;
3249
3251
  }, x({}, e)) : e;
3250
3252
  }
3251
- function Oe(e) {
3253
+ function we(e) {
3252
3254
  return {
3253
3255
  create: function() {
3254
3256
  return {
@@ -3262,7 +3264,7 @@ function Oe(e) {
3262
3264
  }
3263
3265
  };
3264
3266
  }
3265
- function Cn(e) {
3267
+ function Tn(e) {
3266
3268
  return e === void 0 && (e = {
3267
3269
  number: {},
3268
3270
  dateTime: {},
@@ -3273,7 +3275,7 @@ function Cn(e) {
3273
3275
  r[n] = arguments[n];
3274
3276
  return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3275
3277
  }, {
3276
- cache: Oe(e.number),
3278
+ cache: we(e.number),
3277
3279
  strategy: Be.variadic
3278
3280
  }),
3279
3281
  getDateTimeFormat: Ae(function() {
@@ -3281,7 +3283,7 @@ function Cn(e) {
3281
3283
  r[n] = arguments[n];
3282
3284
  return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3283
3285
  }, {
3284
- cache: Oe(e.dateTime),
3286
+ cache: we(e.dateTime),
3285
3287
  strategy: Be.variadic
3286
3288
  }),
3287
3289
  getPluralRules: Ae(function() {
@@ -3289,12 +3291,12 @@ function Cn(e) {
3289
3291
  r[n] = arguments[n];
3290
3292
  return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3291
3293
  }, {
3292
- cache: Oe(e.pluralRules),
3294
+ cache: we(e.pluralRules),
3293
3295
  strategy: Be.variadic
3294
3296
  })
3295
3297
  };
3296
3298
  }
3297
- var Tn = (
3299
+ var Hn = (
3298
3300
  /** @class */
3299
3301
  function() {
3300
3302
  function e(t, r, n, i) {
@@ -3309,7 +3311,7 @@ var Tn = (
3309
3311
  if (a.length === 1)
3310
3312
  return a[0].value;
3311
3313
  var h = a.reduce(function(c, f) {
3312
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3314
+ return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3313
3315
  }, []);
3314
3316
  return h.length <= 1 ? h[0] || "" : h;
3315
3317
  }, this.formatToParts = function(l) {
@@ -3326,13 +3328,13 @@ var Tn = (
3326
3328
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3327
3329
  var o = i || {};
3328
3330
  o.formatters;
3329
- var u = Nr(o, ["formatters"]);
3331
+ var u = Ir(o, ["formatters"]);
3330
3332
  this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
3331
3333
  } else
3332
3334
  this.ast = t;
3333
3335
  if (!Array.isArray(this.ast))
3334
3336
  throw new TypeError("A message must be provided as a String or AST.");
3335
- this.formats = vn(e.formats, n), this.formatters = i && i.formatters || Cn(this.formatterCache);
3337
+ this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || Tn(this.formatterCache);
3336
3338
  }
3337
3339
  return Object.defineProperty(e, "defaultLocale", {
3338
3340
  get: function() {
@@ -3345,7 +3347,7 @@ var Tn = (
3345
3347
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3346
3348
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3347
3349
  }
3348
- }, e.__parse = dn, e.formats = {
3350
+ }, e.__parse = bn, e.formats = {
3349
3351
  number: {
3350
3352
  integer: {
3351
3353
  maximumFractionDigits: 0
@@ -3406,7 +3408,7 @@ var Tn = (
3406
3408
  }, e;
3407
3409
  }()
3408
3410
  );
3409
- function Hn(e, t) {
3411
+ function An(e, t) {
3410
3412
  if (t == null)
3411
3413
  return;
3412
3414
  if (t in e)
@@ -3427,31 +3429,31 @@ function Hn(e, t) {
3427
3429
  n = void 0;
3428
3430
  return n;
3429
3431
  }
3430
- const D = {}, An = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Rt = (e, t) => {
3432
+ const D = {}, Bn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Dt = (e, t) => {
3431
3433
  if (t == null)
3432
3434
  return;
3433
3435
  if (t in D && e in D[t])
3434
3436
  return D[t][e];
3435
3437
  const r = ve(t);
3436
3438
  for (let n = 0; n < r.length; n++) {
3437
- const i = r[n], s = Sn(i, e);
3439
+ const i = r[n], s = wn(i, e);
3438
3440
  if (s)
3439
- return An(e, t, s);
3441
+ return Bn(e, t, s);
3440
3442
  }
3441
3443
  };
3442
- let Ve;
3444
+ let ze;
3443
3445
  const ue = ye({});
3444
- function Bn(e) {
3445
- return Ve[e] || null;
3446
+ function Sn(e) {
3447
+ return ze[e] || null;
3446
3448
  }
3447
- function Ut(e) {
3448
- return e in Ve;
3449
+ function Gt(e) {
3450
+ return e in ze;
3449
3451
  }
3450
- function Sn(e, t) {
3451
- if (!Ut(e))
3452
+ function wn(e, t) {
3453
+ if (!Gt(e))
3452
3454
  return null;
3453
- const r = Bn(e);
3454
- return Hn(r, t);
3455
+ const r = Sn(e);
3456
+ return An(r, t);
3455
3457
  }
3456
3458
  function On(e) {
3457
3459
  if (e == null)
@@ -3459,28 +3461,28 @@ function On(e) {
3459
3461
  const t = ve(e);
3460
3462
  for (let r = 0; r < t.length; r++) {
3461
3463
  const n = t[r];
3462
- if (Ut(n))
3464
+ if (Gt(n))
3463
3465
  return n;
3464
3466
  }
3465
3467
  }
3466
- function Dt(e, ...t) {
3467
- delete D[e], ue.update((r) => (r[e] = Pr.all([r[e] || {}, ...t]), r));
3468
+ function Ft(e, ...t) {
3469
+ delete D[e], ue.update((r) => (r[e] = Lr.all([r[e] || {}, ...t]), r));
3468
3470
  }
3469
3471
  K(
3470
3472
  [ue],
3471
3473
  ([e]) => Object.keys(e)
3472
3474
  );
3473
- ue.subscribe((e) => Ve = e);
3475
+ ue.subscribe((e) => ze = e);
3474
3476
  const pe = {};
3475
- function wn(e, t) {
3477
+ function Pn(e, t) {
3476
3478
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3477
3479
  }
3478
- function Gt(e) {
3480
+ function jt(e) {
3479
3481
  return pe[e];
3480
3482
  }
3481
- function Pn(e) {
3483
+ function Nn(e) {
3482
3484
  return ve(e).map((t) => {
3483
- const r = Gt(t);
3485
+ const r = jt(t);
3484
3486
  return [t, r ? [...r] : []];
3485
3487
  }).filter(([, t]) => t.length > 0);
3486
3488
  }
@@ -3488,31 +3490,31 @@ function Fe(e) {
3488
3490
  return e == null ? !1 : ve(e).some(
3489
3491
  (t) => {
3490
3492
  var r;
3491
- return (r = Gt(t)) == null ? void 0 : r.size;
3493
+ return (r = jt(t)) == null ? void 0 : r.size;
3492
3494
  }
3493
3495
  );
3494
3496
  }
3495
- function Nn(e, t) {
3497
+ function Ln(e, t) {
3496
3498
  return Promise.all(
3497
- t.map((n) => (wn(e, n), n().then((i) => i.default || i)))
3498
- ).then((n) => Dt(e, ...n));
3499
+ t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
3500
+ ).then((n) => Ft(e, ...n));
3499
3501
  }
3500
3502
  const re = {};
3501
- function Ft(e) {
3503
+ function kt(e) {
3502
3504
  if (!Fe(e))
3503
3505
  return e in re ? re[e] : Promise.resolve();
3504
- const t = Pn(e);
3506
+ const t = Nn(e);
3505
3507
  return re[e] = Promise.all(
3506
3508
  t.map(
3507
- ([r, n]) => Nn(r, n)
3509
+ ([r, n]) => Ln(r, n)
3508
3510
  )
3509
3511
  ).then(() => {
3510
3512
  if (Fe(e))
3511
- return Ft(e);
3513
+ return kt(e);
3512
3514
  delete re[e];
3513
3515
  }), re[e];
3514
3516
  }
3515
- const Ln = {
3517
+ const In = {
3516
3518
  number: {
3517
3519
  scientific: { notation: "scientific" },
3518
3520
  engineering: { notation: "engineering" },
@@ -3541,34 +3543,34 @@ const Ln = {
3541
3543
  timeZoneName: "short"
3542
3544
  }
3543
3545
  }
3544
- }, In = {
3546
+ }, Mn = {
3545
3547
  fallbackLocale: null,
3546
3548
  loadingDelay: 200,
3547
- formats: Ln,
3549
+ formats: In,
3548
3550
  warnOnMissingMessages: !0,
3549
3551
  handleMissingMessage: void 0,
3550
3552
  ignoreTag: !0
3551
- }, Mn = In;
3553
+ }, $n = Mn;
3552
3554
  function J() {
3553
- return Mn;
3555
+ return $n;
3554
3556
  }
3555
- const we = ye(!1);
3556
- var $n = Object.defineProperty, Rn = Object.defineProperties, Un = Object.getOwnPropertyDescriptors, st = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
3557
+ const Oe = ye(!1);
3558
+ var Rn = Object.defineProperty, Un = Object.defineProperties, Dn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Rn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jn = (e, t) => {
3557
3559
  for (var r in t || (t = {}))
3558
- Dn.call(t, r) && ot(e, r, t[r]);
3559
- if (st)
3560
- for (var r of st(t))
3561
- Gn.call(t, r) && ot(e, r, t[r]);
3560
+ Gn.call(t, r) && ut(e, r, t[r]);
3561
+ if (at)
3562
+ for (var r of at(t))
3563
+ Fn.call(t, r) && ut(e, r, t[r]);
3562
3564
  return e;
3563
- }, jn = (e, t) => Rn(e, Un(t));
3565
+ }, kn = (e, t) => Un(e, Dn(t));
3564
3566
  let je;
3565
3567
  const be = ye(null);
3566
- function at(e) {
3568
+ function ht(e) {
3567
3569
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3568
3570
  }
3569
3571
  function ve(e, t = J().fallbackLocale) {
3570
- const r = at(e);
3571
- return t ? [.../* @__PURE__ */ new Set([...r, ...at(t)])] : r;
3572
+ const r = ht(e);
3573
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3572
3574
  }
3573
3575
  function k() {
3574
3576
  return je ?? void 0;
@@ -3576,22 +3578,22 @@ function k() {
3576
3578
  be.subscribe((e) => {
3577
3579
  je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3578
3580
  });
3579
- const kn = (e) => {
3581
+ const Vn = (e) => {
3580
3582
  if (e && On(e) && Fe(e)) {
3581
3583
  const { loadingDelay: t } = J();
3582
3584
  let r;
3583
3585
  return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3584
- () => we.set(!0),
3586
+ () => Oe.set(!0),
3585
3587
  t
3586
- ) : we.set(!0), Ft(e).then(() => {
3588
+ ) : Oe.set(!0), kt(e).then(() => {
3587
3589
  be.set(e);
3588
3590
  }).finally(() => {
3589
- clearTimeout(r), we.set(!1);
3591
+ clearTimeout(r), Oe.set(!1);
3590
3592
  });
3591
3593
  }
3592
3594
  return be.set(e);
3593
- }, ee = jn(Fn({}, be), {
3594
- set: kn
3595
+ }, ee = kn(jn({}, be), {
3596
+ set: Vn
3595
3597
  }), Ce = (e) => {
3596
3598
  const t = /* @__PURE__ */ Object.create(null);
3597
3599
  return (n) => {
@@ -3599,20 +3601,20 @@ const kn = (e) => {
3599
3601
  return i in t ? t[i] : t[i] = e(n);
3600
3602
  };
3601
3603
  };
3602
- var Vn = Object.defineProperty, _e = Object.getOwnPropertySymbols, jt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
3604
+ var Xn = Object.defineProperty, _e = Object.getOwnPropertySymbols, Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
3603
3605
  for (var r in t || (t = {}))
3604
- jt.call(t, r) && ut(e, r, t[r]);
3606
+ Vt.call(t, r) && lt(e, r, t[r]);
3605
3607
  if (_e)
3606
3608
  for (var r of _e(t))
3607
- kt.call(t, r) && ut(e, r, t[r]);
3609
+ Xt.call(t, r) && lt(e, r, t[r]);
3608
3610
  return e;
3609
3611
  }, te = (e, t) => {
3610
3612
  var r = {};
3611
3613
  for (var n in e)
3612
- jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3614
+ Vt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3613
3615
  if (e != null && _e)
3614
3616
  for (var n of _e(e))
3615
- t.indexOf(n) < 0 && kt.call(e, n) && (r[n] = e[n]);
3617
+ t.indexOf(n) < 0 && Xt.call(e, n) && (r[n] = e[n]);
3616
3618
  return r;
3617
3619
  };
3618
3620
  const oe = (e, t) => {
@@ -3620,21 +3622,21 @@ const oe = (e, t) => {
3620
3622
  if (e in r && t in r[e])
3621
3623
  return r[e][t];
3622
3624
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3623
- }, Xn = Ce(
3625
+ }, zn = Ce(
3624
3626
  (e) => {
3625
3627
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3626
3628
  if (r == null)
3627
3629
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3628
3630
  return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3629
3631
  }
3630
- ), zn = Ce(
3632
+ ), Wn = Ce(
3631
3633
  (e) => {
3632
3634
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3633
3635
  if (r == null)
3634
3636
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3635
3637
  return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3636
3638
  }
3637
- ), Wn = Ce(
3639
+ ), Zn = Ce(
3638
3640
  (e) => {
3639
3641
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3640
3642
  if (r == null)
@@ -3643,33 +3645,33 @@ const oe = (e, t) => {
3643
3645
  );
3644
3646
  return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3645
3647
  }
3646
- ), Zn = (e = {}) => {
3648
+ ), Qn = (e = {}) => {
3647
3649
  var t = e, {
3648
3650
  locale: r = k()
3649
3651
  } = t, n = te(t, [
3650
3652
  "locale"
3651
3653
  ]);
3652
- return Xn(Xe({ locale: r }, n));
3653
- }, Qn = (e = {}) => {
3654
+ return zn(We({ locale: r }, n));
3655
+ }, qn = (e = {}) => {
3654
3656
  var t = e, {
3655
3657
  locale: r = k()
3656
3658
  } = t, n = te(t, [
3657
3659
  "locale"
3658
3660
  ]);
3659
- return zn(Xe({ locale: r }, n));
3660
- }, qn = (e = {}) => {
3661
+ return Wn(We({ locale: r }, n));
3662
+ }, Jn = (e = {}) => {
3661
3663
  var t = e, {
3662
3664
  locale: r = k()
3663
3665
  } = t, n = te(t, [
3664
3666
  "locale"
3665
3667
  ]);
3666
- return Wn(Xe({ locale: r }, n));
3667
- }, Jn = Ce(
3668
+ return Zn(We({ locale: r }, n));
3669
+ }, Yn = Ce(
3668
3670
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3669
- (e, t = k()) => new Tn(e, t, J().formats, {
3671
+ (e, t = k()) => new Hn(e, t, J().formats, {
3670
3672
  ignoreTag: J().ignoreTag
3671
3673
  })
3672
- ), Yn = (e, t = {}) => {
3674
+ ), Kn = (e, t = {}) => {
3673
3675
  var r, n, i, s;
3674
3676
  let o = t;
3675
3677
  typeof e == "object" && (o = e, e = o.id);
@@ -3682,7 +3684,7 @@ const oe = (e, t) => {
3682
3684
  throw new Error(
3683
3685
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3684
3686
  );
3685
- let h = Rt(e, l);
3687
+ let h = Dt(e, l);
3686
3688
  if (!h)
3687
3689
  h = (s = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3688
3690
  else if (typeof h != "string")
@@ -3693,7 +3695,7 @@ const oe = (e, t) => {
3693
3695
  return h;
3694
3696
  let c = h;
3695
3697
  try {
3696
- c = Jn(h, l).format(u);
3698
+ c = Yn(h, l).format(u);
3697
3699
  } catch (f) {
3698
3700
  f instanceof Error && console.warn(
3699
3701
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3701,18 +3703,18 @@ const oe = (e, t) => {
3701
3703
  );
3702
3704
  }
3703
3705
  return c;
3704
- }, Kn = (e, t) => qn(t).format(e), ei = (e, t) => Qn(t).format(e), ti = (e, t) => Zn(t).format(e), ri = (e, t = k()) => Rt(e, t), ni = K([ee, ue], () => Yn);
3705
- K([ee], () => Kn);
3706
+ }, ei = (e, t) => Jn(t).format(e), ti = (e, t) => qn(t).format(e), ri = (e, t) => Qn(t).format(e), ni = (e, t = k()) => Dt(e, t), ii = K([ee, ue], () => Kn);
3706
3707
  K([ee], () => ei);
3707
3708
  K([ee], () => ti);
3708
- K([ee, ue], () => ri);
3709
- function ii(e, t) {
3709
+ K([ee], () => ri);
3710
+ K([ee, ue], () => ni);
3711
+ function si(e, t) {
3710
3712
  if (e) {
3711
3713
  const r = document.createElement("style");
3712
3714
  r.innerHTML = t, e.appendChild(r);
3713
3715
  }
3714
3716
  }
3715
- function si(e, t) {
3717
+ function oi(e, t) {
3716
3718
  const r = new URL(t);
3717
3719
  fetch(r.href).then((n) => n.text()).then((n) => {
3718
3720
  const i = document.createElement("style");
@@ -3721,7 +3723,7 @@ function si(e, t) {
3721
3723
  console.error("There was an error while trying to load client styling from URL", n);
3722
3724
  });
3723
3725
  }
3724
- function oi(e, t, r) {
3726
+ function ai(e, t, r) {
3725
3727
  if (window.emMessageBus) {
3726
3728
  const n = document.createElement("style");
3727
3729
  window.emMessageBus.subscribe(t, (i) => {
@@ -3729,13 +3731,13 @@ function oi(e, t, r) {
3729
3731
  });
3730
3732
  }
3731
3733
  }
3732
- function ht(e, t) {
3733
- Dt(e, t);
3734
+ function ft(e, t) {
3735
+ Ft(e, t);
3734
3736
  }
3735
- function ai(e) {
3737
+ function ui(e) {
3736
3738
  ee.set(e);
3737
3739
  }
3738
- const lt = {
3740
+ const ct = {
3739
3741
  en: {
3740
3742
  topCategories: "Top Categories",
3741
3743
  otherCategories: "Other Categories",
@@ -3845,18 +3847,18 @@ const lt = {
3845
3847
  games: "games"
3846
3848
  }
3847
3849
  };
3848
- function ui(e) {
3849
- Qt(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}");
3850
+ function hi(e) {
3851
+ 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}");
3850
3852
  }
3851
- function ft(e, t, r) {
3853
+ function gt(e, t, r) {
3852
3854
  const n = e.slice();
3853
3855
  return n[23] = t[r], n;
3854
3856
  }
3855
- function ct(e, t, r) {
3857
+ function mt(e, t, r) {
3856
3858
  const n = e.slice();
3857
3859
  return n[23] = t[r], n;
3858
3860
  }
3859
- function hi(e) {
3861
+ function li(e) {
3860
3862
  let t, r, n = (
3861
3863
  /*$_*/
3862
3864
  e[5]("topCategories") + ""
@@ -3868,13 +3870,13 @@ function hi(e) {
3868
3870
  e[3]
3869
3871
  ), f = [];
3870
3872
  for (let g = 0; g < c.length; g += 1)
3871
- f[g] = gt(ct(e, c, g));
3873
+ f[g] = pt(mt(e, c, g));
3872
3874
  let p = fe(
3873
3875
  /*otherCategories*/
3874
3876
  e[4]
3875
3877
  ), d = [];
3876
3878
  for (let g = 0; g < p.length; g += 1)
3877
- d[g] = mt(ft(e, p, g));
3879
+ d[g] = dt(gt(e, p, g));
3878
3880
  return {
3879
3881
  c() {
3880
3882
  t = S("div"), r = S("h4"), i = U(n), s = R();
@@ -3904,8 +3906,8 @@ function hi(e) {
3904
3906
  );
3905
3907
  let m;
3906
3908
  for (m = 0; m < c.length; m += 1) {
3907
- const T = ct(g, c, m);
3908
- f[m] ? f[m].p(T, E) : (f[m] = gt(T), f[m].c(), f[m].m(t, o));
3909
+ const T = mt(g, c, m);
3910
+ f[m] ? f[m].p(T, E) : (f[m] = pt(T), f[m].c(), f[m].m(t, o));
3909
3911
  }
3910
3912
  for (; m < f.length; m += 1)
3911
3913
  f[m].d(1);
@@ -3921,8 +3923,8 @@ function hi(e) {
3921
3923
  );
3922
3924
  let m;
3923
3925
  for (m = 0; m < p.length; m += 1) {
3924
- const T = ft(g, p, m);
3925
- d[m] ? d[m].p(T, E) : (d[m] = mt(T), d[m].c(), d[m].m(t, null));
3926
+ const T = gt(g, p, m);
3927
+ d[m] ? d[m].p(T, E) : (d[m] = dt(T), d[m].c(), d[m].m(t, null));
3926
3928
  }
3927
3929
  for (; m < d.length; m += 1)
3928
3930
  d[m].d(1);
@@ -3930,11 +3932,11 @@ function hi(e) {
3930
3932
  }
3931
3933
  },
3932
3934
  d(g) {
3933
- g && j(t), Ze(f, g), Ze(d, g);
3935
+ g && j(t), qe(f, g), qe(d, g);
3934
3936
  }
3935
3937
  };
3936
3938
  }
3937
- function li(e) {
3939
+ function fi(e) {
3938
3940
  let t;
3939
3941
  return {
3940
3942
  c() {
@@ -3949,7 +3951,7 @@ function li(e) {
3949
3951
  }
3950
3952
  };
3951
3953
  }
3952
- function gt(e) {
3954
+ function pt(e) {
3953
3955
  let t, r, n, i, s, o, u, l = (
3954
3956
  /*category*/
3955
3957
  e[23].name + ""
@@ -3960,7 +3962,7 @@ function gt(e) {
3960
3962
  /*$_*/
3961
3963
  e[5]("games") + ""
3962
3964
  ), E, m, T, A;
3963
- function w() {
3965
+ function O() {
3964
3966
  return (
3965
3967
  /*click_handler*/
3966
3968
  e[15](
@@ -3978,7 +3980,7 @@ function gt(e) {
3978
3980
  e[23].id ? "Active" : ""));
3979
3981
  },
3980
3982
  m(B, H) {
3981
- Y(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, p), v(c, d), v(c, E), T || (A = _t(t, "click", w), T = !0);
3983
+ Y(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, p), v(c, d), v(c, E), T || (A = xt(t, "click", O), T = !0);
3982
3984
  },
3983
3985
  p(B, H) {
3984
3986
  e = B, H & /*topCategories*/
@@ -4001,7 +4003,7 @@ function gt(e) {
4001
4003
  }
4002
4004
  };
4003
4005
  }
4004
- function mt(e) {
4006
+ function dt(e) {
4005
4007
  let t, r, n, i, s, o, u, l = (
4006
4008
  /*category*/
4007
4009
  e[23].name + ""
@@ -4011,7 +4013,7 @@ function mt(e) {
4011
4013
  ), p, d, g = (
4012
4014
  /*$_*/
4013
4015
  e[5]("games") + ""
4014
- ), E, m, T, A, w;
4016
+ ), E, m, T, A, O;
4015
4017
  function B() {
4016
4018
  return (
4017
4019
  /*click_handler_1*/
@@ -4030,7 +4032,7 @@ function mt(e) {
4030
4032
  e[23].id ? "Active" : ""));
4031
4033
  },
4032
4034
  m(H, P) {
4033
- Y(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, p), v(c, d), v(c, E), v(t, m), A || (w = _t(t, "click", B), A = !0);
4035
+ Y(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, h), v(o, c), v(c, p), v(c, d), v(c, E), v(t, m), A || (O = xt(t, "click", B), A = !0);
4034
4036
  },
4035
4037
  p(H, P) {
4036
4038
  e = H, P & /*otherCategories*/
@@ -4049,16 +4051,16 @@ function mt(e) {
4049
4051
  e[23].id ? "Active" : "")) && L(t, "class", T);
4050
4052
  },
4051
4053
  d(H) {
4052
- H && j(t), A = !1, w();
4054
+ H && j(t), A = !1, O();
4053
4055
  }
4054
4056
  };
4055
4057
  }
4056
- function fi(e) {
4058
+ function ci(e) {
4057
4059
  let t;
4058
4060
  function r(s, o) {
4059
4061
  return (
4060
4062
  /*isLoading*/
4061
- s[2] ? li : hi
4063
+ s[2] ? fi : li
4062
4064
  );
4063
4065
  }
4064
4066
  let n = r(e), i = n(e);
@@ -4079,19 +4081,19 @@ function fi(e) {
4079
4081
  }
4080
4082
  };
4081
4083
  }
4082
- function ci(e, t, r) {
4084
+ function gi(e, t, r) {
4083
4085
  let n;
4084
- Zt(e, ni, (b) => r(5, n = b));
4086
+ qt(e, ii, (b) => r(5, n = b));
4085
4087
  let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
4086
4088
  const g = [];
4087
4089
  let E = [], m = [];
4088
- Object.keys(lt).forEach((b) => {
4089
- ht(b, lt[b]);
4090
+ Object.keys(ct).forEach((b) => {
4091
+ ft(b, ct[b]);
4090
4092
  });
4091
4093
  const T = () => {
4092
4094
  fetch(c).then((M) => M.json()).then((M) => {
4093
4095
  Object.keys(M).forEach((he) => {
4094
- ht(he, M[he]);
4096
+ ft(he, M[he]);
4095
4097
  });
4096
4098
  }).catch((M) => {
4097
4099
  console.log(M);
@@ -4103,18 +4105,18 @@ function ci(e, t, r) {
4103
4105
  r(2, d = !1);
4104
4106
  const he = l.split(",").map((F) => F.trim());
4105
4107
  g.push(...M.items);
4106
- const ze = g.filter((F) => !he.some((zt) => F.flags?.indexOf(zt) >= 0));
4107
- r(3, E = ze.filter((F) => F.isTopCategory === !0)), r(4, m = ze.filter((F) => F.isTopCategory === !1));
4108
+ const Ze = g.filter((F) => !he.some((Zt) => F.flags?.indexOf(Zt) >= 0));
4109
+ r(3, E = Ze.filter((F) => F.isTopCategory === !0)), r(4, m = Ze.filter((F) => F.isTopCategory === !1));
4108
4110
  });
4109
- }, w = (b) => {
4111
+ }, O = (b) => {
4110
4112
  window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
4111
4113
  }, B = () => {
4112
- ai(o);
4114
+ ui(o);
4113
4115
  };
4114
- tr(() => () => {
4116
+ nr(() => () => {
4115
4117
  });
4116
- const H = (b) => w(b.id), P = (b) => w(b.id);
4117
- function Xt(b) {
4118
+ const H = (b) => O(b.id), P = (b) => O(b.id);
4119
+ function Wt(b) {
4118
4120
  Pe[b ? "unshift" : "push"](() => {
4119
4121
  p = b, r(1, p);
4120
4122
  });
@@ -4126,9 +4128,9 @@ function ci(e, t, r) {
4126
4128
  384 && i && s && A(), e.$$.dirty & /*translationurl*/
4127
4129
  8192 && c && T(), e.$$.dirty & /*lang*/
4128
4130
  512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4129
- 2050 && a && p && ii(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4130
- 4098 && h && p && si(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4131
- 16386 && f && p && oi(p, `${f}.Style`);
4131
+ 2050 && a && p && si(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4132
+ 4098 && h && p && oi(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4133
+ 16386 && f && p && ai(p, `${f}.Style`);
4132
4134
  }, [
4133
4135
  u,
4134
4136
  p,
@@ -4136,7 +4138,7 @@ function ci(e, t, r) {
4136
4138
  E,
4137
4139
  m,
4138
4140
  n,
4139
- w,
4141
+ O,
4140
4142
  i,
4141
4143
  s,
4142
4144
  o,
@@ -4147,17 +4149,17 @@ function ci(e, t, r) {
4147
4149
  f,
4148
4150
  H,
4149
4151
  P,
4150
- Xt
4152
+ Wt
4151
4153
  ];
4152
4154
  }
4153
- class Vt extends gr {
4155
+ class zt extends pr {
4154
4156
  constructor(t) {
4155
- super(), fr(
4157
+ super(), gr(
4156
4158
  this,
4157
4159
  t,
4160
+ gi,
4158
4161
  ci,
4159
- fi,
4160
- dt,
4162
+ _t,
4161
4163
  {
4162
4164
  endpoint: 7,
4163
4165
  datasource: 8,
@@ -4169,7 +4171,7 @@ class Vt extends gr {
4169
4171
  translationurl: 13,
4170
4172
  mbsource: 14
4171
4173
  },
4172
- ui
4174
+ hi
4173
4175
  );
4174
4176
  }
4175
4177
  get endpoint() {
@@ -4227,42 +4229,42 @@ class Vt extends gr {
4227
4229
  this.$$set({ mbsource: t }), I();
4228
4230
  }
4229
4231
  }
4230
- cr(Vt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4231
- const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4232
+ mr(zt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4233
+ const di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4232
4234
  __proto__: null,
4233
- default: Vt
4235
+ default: zt
4234
4236
  }, Symbol.toStringTag, { value: "Module" }));
4235
4237
  export {
4236
4238
  ee as $,
4237
- Ze as A,
4238
- mi as B,
4239
+ pi as A,
4240
+ qe as B,
4239
4241
  de as C,
4240
- pi as D,
4241
- gr as S,
4242
- Dt as a,
4243
- Qt as b,
4244
- cr as c,
4245
- j as d,
4246
- G as e,
4242
+ di as D,
4243
+ pr as S,
4244
+ Ft as a,
4245
+ Jt as b,
4246
+ mr as c,
4247
+ R as d,
4248
+ S as e,
4247
4249
  I as f,
4248
4250
  L as g,
4249
4251
  $ as h,
4250
- fr as i,
4252
+ gr as i,
4251
4253
  Y as j,
4252
4254
  v as k,
4253
- _t as l,
4254
- S as m,
4255
+ xt as l,
4256
+ G as m,
4255
4257
  N as n,
4256
- R as o,
4257
- Zt as p,
4258
- tr as q,
4258
+ j as o,
4259
+ qt as p,
4260
+ nr as q,
4259
4261
  ae as r,
4260
- dt as s,
4262
+ _t as s,
4261
4263
  U as t,
4262
- Pe as u,
4263
- ni as v,
4264
- ii as w,
4264
+ oi as u,
4265
+ ai as v,
4266
+ Pe as w,
4265
4267
  si as x,
4266
- oi as y,
4268
+ ii as y,
4267
4269
  fe as z
4268
4270
  };