@everymatrix/casino-collections-providers 1.59.0 → 1.59.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function A() {
2
2
  }
3
- function Dt(e) {
3
+ function kt(e) {
4
4
  return e();
5
5
  }
6
- function ht() {
6
+ function dt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function te(e) {
10
- e.forEach(Dt);
10
+ e.forEach(kt);
11
11
  }
12
- function et(e) {
12
+ function tt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Ft(e, t) {
15
+ function Vt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let ce;
19
19
  function ve(e, t) {
20
20
  return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
21
21
  }
22
- function Lr(e) {
22
+ function $r(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function jt(e, ...t) {
25
+ function Xt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function jt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Ir(e, t, r) {
35
- e.$$.on_destroy.push(jt(t, r));
34
+ function Gr(e, t, r) {
35
+ e.$$.on_destroy.push(Xt(t, r));
36
36
  }
37
37
  function H(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Nr(e, t, r) {
41
- const n = Mr(e);
40
+ function Ur(e, t, r) {
41
+ const n = Dr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = C("style");
44
- i.id = t, i.textContent = r, Rr(n, i);
44
+ i.id = t, i.textContent = r, Fr(n, i);
45
45
  }
46
46
  }
47
- function Mr(e) {
47
+ function Dr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,20 +54,20 @@ function Mr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Rr(e, t) {
57
+ function Fr(e, t) {
58
58
  return H(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function R(e, t, r) {
64
+ function $(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
67
  function I(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function kt(e, t) {
70
+ function Wt(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
@@ -83,25 +83,25 @@ function k() {
83
83
  function ye(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
85
85
  }
86
- function $r(e) {
86
+ function jr(e) {
87
87
  return function(t) {
88
88
  return t.stopPropagation(), e.call(this, t);
89
89
  };
90
90
  }
91
- function E(e, t, r) {
91
+ function x(e, t, r) {
92
92
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
93
93
  }
94
- function Gr(e) {
94
+ function kr(e) {
95
95
  return Array.from(e.childNodes);
96
96
  }
97
- function tt(e, t) {
97
+ function rt(e, t) {
98
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
99
  t);
100
100
  }
101
101
  function Oe(e, t, r, n) {
102
102
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
103
103
  }
104
- function Ur(e) {
104
+ function Vr(e) {
105
105
  const t = {};
106
106
  return e.childNodes.forEach(
107
107
  /** @param {Element} node */
@@ -114,22 +114,22 @@ let ae;
114
114
  function se(e) {
115
115
  ae = e;
116
116
  }
117
- function Dr() {
117
+ function Xr() {
118
118
  if (!ae)
119
119
  throw new Error("Function called outside component initialization");
120
120
  return ae;
121
121
  }
122
- function Fr(e) {
123
- Dr().$$.on_mount.push(e);
122
+ function Wr(e) {
123
+ Xr().$$.on_mount.push(e);
124
124
  }
125
125
  const Z = [], _e = [];
126
126
  let Q = [];
127
- const ct = [], jr = /* @__PURE__ */ Promise.resolve();
128
- let Ue = !1;
129
- function kr() {
130
- Ue || (Ue = !0, jr.then(O));
127
+ const pt = [], zr = /* @__PURE__ */ Promise.resolve();
128
+ let De = !1;
129
+ function Zr() {
130
+ De || (De = !0, zr.then(O));
131
131
  }
132
- function De(e) {
132
+ function Fe(e) {
133
133
  Q.push(e);
134
134
  }
135
135
  const Le = /* @__PURE__ */ new Set();
@@ -142,7 +142,7 @@ function O() {
142
142
  try {
143
143
  for (; W < Z.length; ) {
144
144
  const t = Z[W];
145
- W++, se(t), Vr(t.$$);
145
+ W++, se(t), Qr(t.$$);
146
146
  }
147
147
  } catch (t) {
148
148
  throw Z.length = 0, W = 0, t;
@@ -155,43 +155,43 @@ function O() {
155
155
  }
156
156
  Q.length = 0;
157
157
  } while (Z.length);
158
- for (; ct.length; )
159
- ct.pop()();
160
- Ue = !1, Le.clear(), se(e);
158
+ for (; pt.length; )
159
+ pt.pop()();
160
+ De = !1, Le.clear(), se(e);
161
161
  }
162
- function Vr(e) {
162
+ function Qr(e) {
163
163
  if (e.fragment !== null) {
164
164
  e.update(), te(e.before_update);
165
165
  const t = e.dirty;
166
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
166
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
167
167
  }
168
168
  }
169
- function Xr(e) {
169
+ function qr(e) {
170
170
  const t = [], r = [];
171
171
  Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
172
172
  }
173
- const Wr = /* @__PURE__ */ new Set();
174
- function zr(e, t) {
175
- e && e.i && (Wr.delete(e), e.i(t));
173
+ const Jr = /* @__PURE__ */ new Set();
174
+ function Yr(e, t) {
175
+ e && e.i && (Jr.delete(e), e.i(t));
176
176
  }
177
- function xe(e) {
177
+ function Ee(e) {
178
178
  return e?.length !== void 0 ? e : Array.from(e);
179
179
  }
180
- function Zr(e, t, r) {
180
+ function Kr(e, t, r) {
181
181
  const { fragment: n, after_update: i } = e.$$;
182
- n && n.m(t, r), De(() => {
183
- const o = e.$$.on_mount.map(Dt).filter(et);
182
+ n && n.m(t, r), Fe(() => {
183
+ const o = e.$$.on_mount.map(kt).filter(tt);
184
184
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
185
- }), i.forEach(De);
185
+ }), i.forEach(Fe);
186
186
  }
187
- function Qr(e, t) {
187
+ function en(e, t) {
188
188
  const r = e.$$;
189
- r.fragment !== null && (Xr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
189
+ r.fragment !== null && (qr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
190
190
  }
191
- function qr(e, t) {
192
- e.$$.dirty[0] === -1 && (Z.push(e), kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
191
+ function tn(e, t) {
192
+ e.$$.dirty[0] === -1 && (Z.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
193
  }
194
- function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
194
+ function rn(e, t, r, n, i, o, s = null, a = [-1]) {
195
195
  const h = ae;
196
196
  se(e);
197
197
  const u = e.$$ = {
@@ -201,7 +201,7 @@ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
201
201
  props: o,
202
202
  update: A,
203
203
  not_equal: i,
204
- bound: ht(),
204
+ bound: dt(),
205
205
  // lifecycle
206
206
  on_mount: [],
207
207
  on_destroy: [],
@@ -210,7 +210,7 @@ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
210
210
  after_update: [],
211
211
  context: new Map(t.context || (h ? h.$$.context : [])),
212
212
  // everything else
213
- callbacks: ht(),
213
+ callbacks: dt(),
214
214
  dirty: a,
215
215
  skip_bound: !1,
216
216
  root: t.target || h.$$.root
@@ -218,20 +218,20 @@ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
218
218
  s && s(u.root);
219
219
  let l = !1;
220
220
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
221
- const p = d.length ? d[0] : c;
222
- return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && qr(e, f)), c;
221
+ const m = d.length ? d[0] : c;
222
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && tn(e, f)), c;
223
223
  }) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
224
224
  if (t.hydrate) {
225
- const f = Gr(t.target);
225
+ const f = kr(t.target);
226
226
  u.fragment && u.fragment.l(f), f.forEach(I);
227
227
  } else
228
228
  u.fragment && u.fragment.c();
229
- t.intro && zr(e.$$.fragment), Zr(e, t.target, t.anchor), O();
229
+ t.intro && Yr(e.$$.fragment), Kr(e, t.target, t.anchor), O();
230
230
  }
231
231
  se(h);
232
232
  }
233
- let Vt;
234
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
233
+ let zt;
234
+ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
235
235
  /** The Svelte component constructor */
236
236
  $$ctor;
237
237
  /** Slots */
@@ -273,14 +273,14 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
273
273
  let o;
274
274
  return {
275
275
  c: function() {
276
- o = C("slot"), i !== "default" && E(o, "name", i);
276
+ o = C("slot"), i !== "default" && x(o, "name", i);
277
277
  },
278
278
  /**
279
279
  * @param {HTMLElement} target
280
280
  * @param {HTMLElement} [anchor]
281
281
  */
282
282
  m: function(h, u) {
283
- R(h, o, u);
283
+ $(h, o, u);
284
284
  },
285
285
  d: function(h) {
286
286
  h && I(o);
@@ -290,7 +290,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
290
290
  };
291
291
  if (await Promise.resolve(), !this.$$cn || this.$$c)
292
292
  return;
293
- const t = {}, r = Ur(this);
293
+ const t = {}, r = Vr(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 pe(e, t, r, n) {
377
377
  return t;
378
378
  }
379
379
  }
380
- function Yr(e, t, r, n, i, o) {
381
- let s = class extends Vt {
380
+ function nn(e, t, r, n, i, o) {
381
+ let s = class extends zt {
382
382
  constructor() {
383
383
  super(e, r, i), this.$$p_d = t;
384
384
  }
@@ -406,7 +406,7 @@ function Yr(e, t, r, n, i, o) {
406
406
  }), e.element = /** @type {any} */
407
407
  s, s;
408
408
  }
409
- class Kr {
409
+ class on {
410
410
  /**
411
411
  * ### PRIVATE API
412
412
  *
@@ -425,7 +425,7 @@ class Kr {
425
425
  $$set = void 0;
426
426
  /** @returns {void} */
427
427
  $destroy() {
428
- Qr(this, 1), this.$destroy = A;
428
+ en(this, 1), this.$destroy = A;
429
429
  }
430
430
  /**
431
431
  * @template {Extract<keyof Events, string>} K
@@ -434,7 +434,7 @@ class Kr {
434
434
  * @returns {() => void}
435
435
  */
436
436
  $on(t, r) {
437
- if (!et(r))
437
+ if (!tt(r))
438
438
  return A;
439
439
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
440
440
  return n.push(r), () => {
@@ -447,13 +447,13 @@ class Kr {
447
447
  * @returns {void}
448
448
  */
449
449
  $set(t) {
450
- this.$$set && !Lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
450
+ this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
451
451
  }
452
452
  }
453
- const en = "4";
454
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
453
+ const sn = "4";
454
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
455
455
  const z = [];
456
- function tn(e, t) {
456
+ function an(e, t) {
457
457
  return {
458
458
  subscribe: Te(e, t).subscribe
459
459
  };
@@ -462,7 +462,7 @@ function Te(e, t = A) {
462
462
  let r;
463
463
  const n = /* @__PURE__ */ new Set();
464
464
  function i(a) {
465
- if (Ft(e, a) && (e = a, r)) {
465
+ if (Vt(e, a) && (e = a, r)) {
466
466
  const h = !z.length;
467
467
  for (const u of n)
468
468
  u[1](), z.push(u, e);
@@ -489,7 +489,7 @@ function re(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 o = t.length < 2;
492
- return tn(r, (s, a) => {
492
+ return an(r, (s, a) => {
493
493
  let h = !1;
494
494
  const u = [];
495
495
  let l = 0, f = A;
@@ -497,11 +497,11 @@ function re(e, t, r) {
497
497
  if (l)
498
498
  return;
499
499
  f();
500
- const p = t(n ? u[0] : u, s, a);
501
- o ? s(p) : f = et(p) ? p : A;
500
+ const m = t(n ? u[0] : u, s, a);
501
+ o ? s(m) : f = tt(m) ? m : A;
502
502
  }, d = i.map(
503
- (p, b) => jt(
504
- p,
503
+ (m, b) => Xt(
504
+ m,
505
505
  (g) => {
506
506
  u[b] = g, l &= ~(1 << b), h && c();
507
507
  },
@@ -515,70 +515,70 @@ function re(e, t, r) {
515
515
  };
516
516
  });
517
517
  }
518
- function rn(e) {
518
+ function ln(e) {
519
519
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
520
520
  }
521
- var nn = function(t) {
522
- return on(t) && !sn(t);
521
+ var un = function(t) {
522
+ return hn(t) && !cn(t);
523
523
  };
524
- function on(e) {
524
+ function hn(e) {
525
525
  return !!e && typeof e == "object";
526
526
  }
527
- function sn(e) {
527
+ function cn(e) {
528
528
  var t = Object.prototype.toString.call(e);
529
- return t === "[object RegExp]" || t === "[object Date]" || un(e);
529
+ return t === "[object RegExp]" || t === "[object Date]" || pn(e);
530
530
  }
531
- var an = typeof Symbol == "function" && Symbol.for, ln = an ? Symbol.for("react.element") : 60103;
532
- function un(e) {
533
- return e.$$typeof === ln;
531
+ var fn = typeof Symbol == "function" && Symbol.for, dn = fn ? Symbol.for("react.element") : 60103;
532
+ function pn(e) {
533
+ return e.$$typeof === dn;
534
534
  }
535
- function hn(e) {
535
+ function mn(e) {
536
536
  return Array.isArray(e) ? [] : {};
537
537
  }
538
538
  function le(e, t) {
539
- return t.clone !== !1 && t.isMergeableObject(e) ? J(hn(e), e, t) : e;
539
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(mn(e), e, t) : e;
540
540
  }
541
- function cn(e, t, r) {
541
+ function bn(e, t, r) {
542
542
  return e.concat(t).map(function(n) {
543
543
  return le(n, r);
544
544
  });
545
545
  }
546
- function fn(e, t) {
546
+ function gn(e, t) {
547
547
  if (!t.customMerge)
548
548
  return J;
549
549
  var r = t.customMerge(e);
550
550
  return typeof r == "function" ? r : J;
551
551
  }
552
- function dn(e) {
552
+ function vn(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 ft(e) {
558
- return Object.keys(e).concat(dn(e));
557
+ function mt(e) {
558
+ return Object.keys(e).concat(vn(e));
559
559
  }
560
- function Xt(e, t) {
560
+ function Zt(e, t) {
561
561
  try {
562
562
  return t in e;
563
563
  } catch {
564
564
  return !1;
565
565
  }
566
566
  }
567
- function pn(e, t) {
568
- return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
567
+ function yn(e, t) {
568
+ return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
569
569
  }
570
- function mn(e, t, r) {
570
+ function _n(e, t, r) {
571
571
  var n = {};
572
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
572
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
573
573
  n[i] = le(e[i], r);
574
- }), ft(t).forEach(function(i) {
575
- pn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
574
+ }), mt(t).forEach(function(i) {
575
+ yn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = gn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
576
576
  }), n;
577
577
  }
578
578
  function J(e, t, r) {
579
- r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = le;
579
+ r = r || {}, r.arrayMerge = r.arrayMerge || bn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = le;
580
580
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
581
- return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : le(t, r);
581
+ return o ? n ? r.arrayMerge(e, t, r) : _n(e, t, r) : le(t, r);
582
582
  }
583
583
  J.all = function(t, r) {
584
584
  if (!Array.isArray(t))
@@ -587,8 +587,8 @@ J.all = function(t, r) {
587
587
  return J(n, i, r);
588
588
  }, {});
589
589
  };
590
- var bn = J, gn = bn;
591
- const vn = /* @__PURE__ */ rn(gn);
590
+ var En = J, xn = En;
591
+ const Sn = /* @__PURE__ */ ln(xn);
592
592
  /*! *****************************************************************************
593
593
  Copyright (c) Microsoft Corporation.
594
594
 
@@ -603,18 +603,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
603
603
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
604
604
  PERFORMANCE OF THIS SOFTWARE.
605
605
  ***************************************************************************** */
606
- var Fe = function(e, t) {
607
- return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
606
+ var je = function(e, t) {
607
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
608
608
  r.__proto__ = n;
609
609
  } || function(r, n) {
610
610
  for (var i in n)
611
611
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
612
- }, Fe(e, t);
612
+ }, je(e, t);
613
613
  };
614
614
  function U(e, t) {
615
615
  if (typeof t != "function" && t !== null)
616
616
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
617
- Fe(e, t);
617
+ je(e, t);
618
618
  function r() {
619
619
  this.constructor = e;
620
620
  }
@@ -630,7 +630,7 @@ var _ = function() {
630
630
  return t;
631
631
  }, _.apply(this, arguments);
632
632
  };
633
- function yn(e, t) {
633
+ function wn(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]);
@@ -639,7 +639,7 @@ function yn(e, t) {
639
639
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
640
640
  return r;
641
641
  }
642
- function je(e) {
642
+ function ke(e) {
643
643
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
644
644
  if (r)
645
645
  return r.call(e);
@@ -651,7 +651,7 @@ function je(e) {
651
651
  };
652
652
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
653
653
  }
654
- function ke(e, t) {
654
+ function Ve(e, t) {
655
655
  var r = typeof Symbol == "function" && e[Symbol.iterator];
656
656
  if (!r)
657
657
  return e;
@@ -678,53 +678,55 @@ function q(e, t, r) {
678
678
  return e.concat(o || t);
679
679
  }
680
680
  function Ie(e, t) {
681
- var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : En;
681
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Hn;
682
682
  return i(e, {
683
683
  cache: r,
684
684
  serializer: n
685
685
  });
686
686
  }
687
- function _n(e) {
687
+ function Tn(e) {
688
688
  return e == null || typeof e == "number" || typeof e == "boolean";
689
689
  }
690
- function xn(e, t, r, n) {
691
- var i = _n(n) ? n : r(n), o = t.get(i);
690
+ function Qt(e, t, r, n) {
691
+ var i = Tn(n) ? n : r(n), o = t.get(i);
692
692
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
693
693
  }
694
- function Wt(e, t, r) {
694
+ function qt(e, t, r) {
695
695
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
696
696
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
697
697
  }
698
- function zt(e, t, r, n, i) {
698
+ function nt(e, t, r, n, i) {
699
699
  return r.bind(t, e, n, i);
700
700
  }
701
- function En(e, t) {
702
- var r = e.length === 1 ? xn : Wt;
703
- return zt(e, this, r, t.cache.create(), t.serializer);
701
+ function Hn(e, t) {
702
+ var r = e.length === 1 ? Qt : qt;
703
+ return nt(e, this, r, t.cache.create(), t.serializer);
704
+ }
705
+ function Cn(e, t) {
706
+ return nt(e, this, qt, t.cache.create(), t.serializer);
704
707
  }
705
- function Sn(e, t) {
706
- return zt(e, this, Wt, t.cache.create(), t.serializer);
708
+ function Pn(e, t) {
709
+ return nt(e, this, Qt, t.cache.create(), t.serializer);
707
710
  }
708
- var wn = function() {
711
+ var Bn = function() {
709
712
  return JSON.stringify(arguments);
710
- }, Tn = (
711
- /** @class */
712
- function() {
713
- function e() {
714
- this.cache = /* @__PURE__ */ Object.create(null);
715
- }
716
- return e.prototype.get = function(t) {
717
- return this.cache[t];
718
- }, e.prototype.set = function(t, r) {
719
- this.cache[t] = r;
720
- }, e;
721
- }()
722
- ), Hn = {
713
+ };
714
+ function it() {
715
+ this.cache = /* @__PURE__ */ Object.create(null);
716
+ }
717
+ it.prototype.get = function(e) {
718
+ return this.cache[e];
719
+ };
720
+ it.prototype.set = function(e, t) {
721
+ this.cache[e] = t;
722
+ };
723
+ var An = {
723
724
  create: function() {
724
- return new Tn();
725
+ return new it();
725
726
  }
726
727
  }, Ne = {
727
- variadic: Sn
728
+ variadic: Cn,
729
+ monadic: Pn
728
730
  }, v;
729
731
  (function(e) {
730
732
  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";
@@ -737,43 +739,43 @@ var Y;
737
739
  (function(e) {
738
740
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
739
741
  })(Y || (Y = {}));
740
- function dt(e) {
742
+ function bt(e) {
741
743
  return e.type === w.literal;
742
744
  }
743
- function Cn(e) {
745
+ function On(e) {
744
746
  return e.type === w.argument;
745
747
  }
746
- function Zt(e) {
748
+ function Jt(e) {
747
749
  return e.type === w.number;
748
750
  }
749
- function Qt(e) {
751
+ function Yt(e) {
750
752
  return e.type === w.date;
751
753
  }
752
- function qt(e) {
754
+ function Kt(e) {
753
755
  return e.type === w.time;
754
756
  }
755
- function Jt(e) {
757
+ function er(e) {
756
758
  return e.type === w.select;
757
759
  }
758
- function Yt(e) {
760
+ function tr(e) {
759
761
  return e.type === w.plural;
760
762
  }
761
- function Pn(e) {
763
+ function Ln(e) {
762
764
  return e.type === w.pound;
763
765
  }
764
- function Kt(e) {
766
+ function rr(e) {
765
767
  return e.type === w.tag;
766
768
  }
767
- function er(e) {
769
+ function nr(e) {
768
770
  return !!(e && typeof e == "object" && e.type === Y.number);
769
771
  }
770
- function Ve(e) {
772
+ function Xe(e) {
771
773
  return !!(e && typeof e == "object" && e.type === Y.dateTime);
772
774
  }
773
- var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
774
- function An(e) {
775
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[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;
776
+ function Nn(e) {
775
777
  var t = {};
776
- return e.replace(Bn, function(r) {
778
+ return e.replace(In, function(r) {
777
779
  var n = r.length;
778
780
  switch (r[0]) {
779
781
  case "G":
@@ -862,11 +864,11 @@ function An(e) {
862
864
  return "";
863
865
  }), t;
864
866
  }
865
- var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
866
- function Ln(e) {
867
+ var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
868
+ function Rn(e) {
867
869
  if (e.length === 0)
868
870
  throw new Error("Number skeleton cannot be empty");
869
- for (var t = e.split(On).filter(function(c) {
871
+ for (var t = e.split(Mn).filter(function(c) {
870
872
  return c.length > 0;
871
873
  }), r = [], n = 0, i = t; n < i.length; n++) {
872
874
  var o = i[n], s = o.split("/");
@@ -881,17 +883,17 @@ function Ln(e) {
881
883
  }
882
884
  return r;
883
885
  }
884
- function In(e) {
886
+ function $n(e) {
885
887
  return e.replace(/^(.*?)-/, "");
886
888
  }
887
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
888
- function mt(e) {
889
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
890
+ function vt(e) {
889
891
  var t = {};
890
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
892
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
891
893
  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)), "";
892
894
  }), t;
893
895
  }
894
- function ir(e) {
896
+ function ar(e) {
895
897
  switch (e) {
896
898
  case "sign-auto":
897
899
  return {
@@ -931,7 +933,7 @@ function ir(e) {
931
933
  };
932
934
  }
933
935
  }
934
- function Mn(e) {
936
+ function Un(e) {
935
937
  var t;
936
938
  if (e[0] === "E" && e[1] === "E" ? (t = {
937
939
  notation: "engineering"
@@ -939,17 +941,17 @@ function Mn(e) {
939
941
  notation: "scientific"
940
942
  }, e = e.slice(1)), t) {
941
943
  var r = e.slice(0, 2);
942
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
944
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
943
945
  throw new Error("Malformed concise eng/scientific notation");
944
946
  t.minimumIntegerDigits = e.length;
945
947
  }
946
948
  return t;
947
949
  }
948
- function bt(e) {
949
- var t = {}, r = ir(e);
950
+ function yt(e) {
951
+ var t = {}, r = ar(e);
950
952
  return r || t;
951
953
  }
952
- function Rn(e) {
954
+ function Dn(e) {
953
955
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
954
956
  var i = n[r];
955
957
  switch (i.stem) {
@@ -973,7 +975,7 @@ function Rn(e) {
973
975
  continue;
974
976
  case "measure-unit":
975
977
  case "unit":
976
- t.style = "unit", t.unit = In(i.options[0]);
978
+ t.style = "unit", t.unit = $n(i.options[0]);
977
979
  continue;
978
980
  case "compact-short":
979
981
  case "K":
@@ -985,12 +987,12 @@ function Rn(e) {
985
987
  continue;
986
988
  case "scientific":
987
989
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
988
- return _(_({}, h), bt(u));
990
+ return _(_({}, h), yt(u));
989
991
  }, {}));
990
992
  continue;
991
993
  case "engineering":
992
994
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
993
- return _(_({}, h), bt(u));
995
+ return _(_({}, h), yt(u));
994
996
  }, {}));
995
997
  continue;
996
998
  case "notation-simple":
@@ -1035,7 +1037,7 @@ function Rn(e) {
1035
1037
  case "integer-width":
1036
1038
  if (i.options.length > 1)
1037
1039
  throw new RangeError("integer-width stems only accept a single optional option");
1038
- i.options[0].replace(Nn, function(h, u, l, f, c, d) {
1040
+ i.options[0].replace(Gn, function(h, u, l, f, c, d) {
1039
1041
  if (u)
1040
1042
  t.minimumIntegerDigits = l.length;
1041
1043
  else {
@@ -1048,27 +1050,27 @@ function Rn(e) {
1048
1050
  });
1049
1051
  continue;
1050
1052
  }
1051
- if (nr.test(i.stem)) {
1053
+ if (sr.test(i.stem)) {
1052
1054
  t.minimumIntegerDigits = i.stem.length;
1053
1055
  continue;
1054
1056
  }
1055
- if (pt.test(i.stem)) {
1057
+ if (gt.test(i.stem)) {
1056
1058
  if (i.options.length > 1)
1057
1059
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1058
- i.stem.replace(pt, function(h, u, l, f, c, d) {
1060
+ i.stem.replace(gt, function(h, u, l, f, c, d) {
1059
1061
  return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1060
1062
  });
1061
1063
  var o = i.options[0];
1062
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), mt(o)));
1064
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), vt(o)));
1063
1065
  continue;
1064
1066
  }
1065
- if (rr.test(i.stem)) {
1066
- t = _(_({}, t), mt(i.stem));
1067
+ if (or.test(i.stem)) {
1068
+ t = _(_({}, t), vt(i.stem));
1067
1069
  continue;
1068
1070
  }
1069
- var s = ir(i.stem);
1071
+ var s = ar(i.stem);
1070
1072
  s && (t = _(_({}, t), s));
1071
- var a = Mn(i.stem);
1073
+ var a = Un(i.stem);
1072
1074
  a && (t = _(_({}, t), a));
1073
1075
  }
1074
1076
  return t;
@@ -2488,13 +2490,13 @@ var fe = {
2488
2490
  "h"
2489
2491
  ]
2490
2492
  };
2491
- function $n(e, t) {
2493
+ function Fn(e, t) {
2492
2494
  for (var r = "", n = 0; n < e.length; n++) {
2493
2495
  var i = e.charAt(n);
2494
2496
  if (i === "j") {
2495
2497
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2496
2498
  o++, n++;
2497
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Gn(t);
2499
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = jn(t);
2498
2500
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2499
2501
  r += h;
2500
2502
  for (; s-- > 0; )
@@ -2504,7 +2506,7 @@ function $n(e, t) {
2504
2506
  }
2505
2507
  return r;
2506
2508
  }
2507
- function Gn(e) {
2509
+ function jn(e) {
2508
2510
  var t = e.hourCycle;
2509
2511
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2510
2512
  e.hourCycles && // @ts-ignore
@@ -2526,20 +2528,20 @@ function Gn(e) {
2526
2528
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2527
2529
  return i[0];
2528
2530
  }
2529
- var Me, Un = new RegExp("^".concat(tr.source, "*")), Dn = new RegExp("".concat(tr.source, "*$"));
2531
+ var Me, kn = new RegExp("^".concat(ir.source, "*")), Vn = new RegExp("".concat(ir.source, "*$"));
2530
2532
  function y(e, t) {
2531
2533
  return { start: e, end: t };
2532
2534
  }
2533
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Zn = zn ? Number.isSafeInteger : function(e) {
2535
+ var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, zn = !!Object.fromEntries, Zn = !!String.prototype.codePointAt, Qn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, Yn = Jn ? Number.isSafeInteger : function(e) {
2534
2536
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2535
- }, Xe = !0;
2537
+ }, We = !0;
2536
2538
  try {
2537
- var Qn = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2538
- Xe = ((Me = Qn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2539
+ var Kn = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2540
+ We = ((Me = Kn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2539
2541
  } catch {
2540
- Xe = !1;
2542
+ We = !1;
2541
2543
  }
2542
- var gt = Fn ? (
2544
+ var _t = Xn ? (
2543
2545
  // Native
2544
2546
  function(t, r, n) {
2545
2547
  return t.startsWith(r, n);
@@ -2549,7 +2551,7 @@ var gt = Fn ? (
2549
2551
  function(t, r, n) {
2550
2552
  return t.slice(n, n + r.length) === r;
2551
2553
  }
2552
- ), We = jn ? String.fromCodePoint : (
2554
+ ), ze = Wn ? String.fromCodePoint : (
2553
2555
  // IE11
2554
2556
  function() {
2555
2557
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2561,9 +2563,9 @@ var gt = Fn ? (
2561
2563
  }
2562
2564
  return n;
2563
2565
  }
2564
- ), vt = (
2566
+ ), Et = (
2565
2567
  // native
2566
- kn ? Object.fromEntries : (
2568
+ zn ? Object.fromEntries : (
2567
2569
  // Ponyfill
2568
2570
  function(t) {
2569
2571
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2573,7 +2575,7 @@ var gt = Fn ? (
2573
2575
  return r;
2574
2576
  }
2575
2577
  )
2576
- ), or = Vn ? (
2578
+ ), lr = Zn ? (
2577
2579
  // Native
2578
2580
  function(t, r) {
2579
2581
  return t.codePointAt(r);
@@ -2587,7 +2589,7 @@ var gt = Fn ? (
2587
2589
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2588
2590
  }
2589
2591
  }
2590
- ), qn = Xn ? (
2592
+ ), ei = Qn ? (
2591
2593
  // Native
2592
2594
  function(t) {
2593
2595
  return t.trimStart();
@@ -2595,9 +2597,9 @@ var gt = Fn ? (
2595
2597
  ) : (
2596
2598
  // Ponyfill
2597
2599
  function(t) {
2598
- return t.replace(Un, "");
2600
+ return t.replace(kn, "");
2599
2601
  }
2600
- ), Jn = Wn ? (
2602
+ ), ti = qn ? (
2601
2603
  // Native
2602
2604
  function(t) {
2603
2605
  return t.trimEnd();
@@ -2605,32 +2607,32 @@ var gt = Fn ? (
2605
2607
  ) : (
2606
2608
  // Ponyfill
2607
2609
  function(t) {
2608
- return t.replace(Dn, "");
2610
+ return t.replace(Vn, "");
2609
2611
  }
2610
2612
  );
2611
- function sr(e, t) {
2613
+ function ur(e, t) {
2612
2614
  return new RegExp(e, t);
2613
2615
  }
2614
- var ze;
2615
- if (Xe) {
2616
- var yt = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2617
- ze = function(t, r) {
2616
+ var Ze;
2617
+ if (We) {
2618
+ var xt = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2619
+ Ze = function(t, r) {
2618
2620
  var n;
2619
- yt.lastIndex = r;
2620
- var i = yt.exec(t);
2621
+ xt.lastIndex = r;
2622
+ var i = xt.exec(t);
2621
2623
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2622
2624
  };
2623
2625
  } else
2624
- ze = function(t, r) {
2626
+ Ze = function(t, r) {
2625
2627
  for (var n = []; ; ) {
2626
- var i = or(t, r);
2627
- if (i === void 0 || ar(i) || ti(i))
2628
+ var i = lr(t, r);
2629
+ if (i === void 0 || hr(i) || oi(i))
2628
2630
  break;
2629
2631
  n.push(i), r += i >= 65536 ? 2 : 1;
2630
2632
  }
2631
- return We.apply(void 0, n);
2633
+ return ze.apply(void 0, n);
2632
2634
  };
2633
- var Yn = (
2635
+ var ri = (
2634
2636
  /** @class */
2635
2637
  function() {
2636
2638
  function e(t, r) {
@@ -2661,7 +2663,7 @@ var Yn = (
2661
2663
  if (n)
2662
2664
  break;
2663
2665
  return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2664
- } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2666
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2665
2667
  var s = this.parseTag(t, r);
2666
2668
  if (s.err)
2667
2669
  return s;
@@ -2694,7 +2696,7 @@ var Yn = (
2694
2696
  return o;
2695
2697
  var s = o.val, a = this.clonePosition();
2696
2698
  if (this.bumpIf("</")) {
2697
- if (this.isEOF() || !Ze(this.char()))
2699
+ if (this.isEOF() || !Qe(this.char()))
2698
2700
  return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
2699
2701
  var h = this.clonePosition(), u = this.parseTagName();
2700
2702
  return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2712,7 +2714,7 @@ var Yn = (
2712
2714
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2713
2715
  }, e.prototype.parseTagName = function() {
2714
2716
  var t = this.offset();
2715
- for (this.bump(); !this.isEOF() && ei(this.char()); )
2717
+ for (this.bump(); !this.isEOF() && ii(this.char()); )
2716
2718
  this.bump();
2717
2719
  return this.message.slice(t, this.offset());
2718
2720
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2741,7 +2743,7 @@ var Yn = (
2741
2743
  };
2742
2744
  }, e.prototype.tryParseLeftAngleBracket = function() {
2743
2745
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2744
- !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
2746
+ !ni(this.peek() || 0)) ? (this.bump(), "<") : null;
2745
2747
  }, e.prototype.tryParseQuote = function(t) {
2746
2748
  if (this.isEOF() || this.char() !== 39)
2747
2749
  return null;
@@ -2775,12 +2777,12 @@ var Yn = (
2775
2777
  r.push(n);
2776
2778
  this.bump();
2777
2779
  }
2778
- return We.apply(void 0, r);
2780
+ return ze.apply(void 0, r);
2779
2781
  }, e.prototype.tryParseUnquoted = function(t, r) {
2780
2782
  if (this.isEOF())
2781
2783
  return null;
2782
2784
  var n = this.char();
2783
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
2785
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
2784
2786
  }, e.prototype.parseArgument = function(t, r) {
2785
2787
  var n = this.clonePosition();
2786
2788
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2809,7 +2811,7 @@ var Yn = (
2809
2811
  return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2810
2812
  }
2811
2813
  }, e.prototype.parseIdentifierIfPossible = function() {
2812
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
2814
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
2813
2815
  this.bumpTo(i);
2814
2816
  var o = this.clonePosition(), s = y(t, o);
2815
2817
  return { value: n, location: s };
@@ -2828,18 +2830,18 @@ var Yn = (
2828
2830
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2829
2831
  if (f.err)
2830
2832
  return f;
2831
- var c = Jn(f.val);
2833
+ var c = ti(f.val);
2832
2834
  if (c.length === 0)
2833
2835
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2834
2836
  var d = y(l, this.clonePosition());
2835
2837
  u = { style: c, styleLocation: d };
2836
2838
  }
2837
- var p = this.tryParseArgumentClose(i);
2838
- if (p.err)
2839
- return p;
2839
+ var m = this.tryParseArgumentClose(i);
2840
+ if (m.err)
2841
+ return m;
2840
2842
  var b = y(i, this.clonePosition());
2841
- if (u && gt(u?.style, "::", 0)) {
2842
- var g = qn(u.style.slice(2));
2843
+ if (u && _t(u?.style, "::", 0)) {
2844
+ var g = ei(u.style.slice(2));
2843
2845
  if (a === "number") {
2844
2846
  var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
2845
2847
  return f.err ? f : {
@@ -2850,15 +2852,15 @@ var Yn = (
2850
2852
  if (g.length === 0)
2851
2853
  return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
2852
2854
  var S = g;
2853
- this.locale && (S = $n(g, this.locale));
2855
+ this.locale && (S = Fn(g, this.locale));
2854
2856
  var c = {
2855
2857
  type: Y.dateTime,
2856
2858
  pattern: S,
2857
2859
  location: u.styleLocation,
2858
- parsedOptions: this.shouldParseSkeletons ? An(S) : {}
2859
- }, x = a === "date" ? w.date : w.time;
2860
+ parsedOptions: this.shouldParseSkeletons ? Nn(S) : {}
2861
+ }, E = a === "date" ? w.date : w.time;
2860
2862
  return {
2861
- val: { type: x, value: n, location: b, style: c },
2863
+ val: { type: E, value: n, location: b, style: c },
2862
2864
  err: null
2863
2865
  };
2864
2866
  }
@@ -2893,15 +2895,15 @@ var Yn = (
2893
2895
  var j = this.tryParsePluralOrSelectOptions(t, a, r, D);
2894
2896
  if (j.err)
2895
2897
  return j;
2896
- var p = this.tryParseArgumentClose(i);
2897
- if (p.err)
2898
- return p;
2898
+ var m = this.tryParseArgumentClose(i);
2899
+ if (m.err)
2900
+ return m;
2899
2901
  var X = y(i, this.clonePosition());
2900
2902
  return a === "select" ? {
2901
2903
  val: {
2902
2904
  type: w.select,
2903
2905
  value: n,
2904
- options: vt(j.val),
2906
+ options: Et(j.val),
2905
2907
  location: X
2906
2908
  },
2907
2909
  err: null
@@ -2909,7 +2911,7 @@ var Yn = (
2909
2911
  val: {
2910
2912
  type: w.plural,
2911
2913
  value: n,
2912
- options: vt(j.val),
2914
+ options: Et(j.val),
2913
2915
  offset: L,
2914
2916
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2915
2917
  location: X
@@ -2960,7 +2962,7 @@ var Yn = (
2960
2962
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2961
2963
  var n = [];
2962
2964
  try {
2963
- n = Ln(t);
2965
+ n = Rn(t);
2964
2966
  } catch {
2965
2967
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2966
2968
  }
@@ -2969,7 +2971,7 @@ var Yn = (
2969
2971
  type: Y.number,
2970
2972
  tokens: n,
2971
2973
  location: r,
2972
- parsedOptions: this.shouldParseSkeletons ? Rn(n) : {}
2974
+ parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
2973
2975
  },
2974
2976
  err: null
2975
2977
  };
@@ -2991,16 +2993,16 @@ var Yn = (
2991
2993
  var d = this.clonePosition();
2992
2994
  if (!this.bumpIf("{"))
2993
2995
  return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
2994
- var p = this.parseMessage(t + 1, r, n);
2995
- if (p.err)
2996
- return p;
2996
+ var m = this.parseMessage(t + 1, r, n);
2997
+ if (m.err)
2998
+ return m;
2997
2999
  var b = this.tryParseArgumentClose(d);
2998
3000
  if (b.err)
2999
3001
  return b;
3000
3002
  a.push([
3001
3003
  u,
3002
3004
  {
3003
- value: p.val,
3005
+ value: m.val,
3004
3006
  location: y(d, this.clonePosition())
3005
3007
  }
3006
3008
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
@@ -3017,7 +3019,7 @@ var Yn = (
3017
3019
  break;
3018
3020
  }
3019
3021
  var h = y(i, this.clonePosition());
3020
- return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3022
+ return o ? (s *= n, Yn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3021
3023
  }, e.prototype.offset = function() {
3022
3024
  return this.position.offset;
3023
3025
  }, e.prototype.isEOF = function() {
@@ -3032,7 +3034,7 @@ var Yn = (
3032
3034
  var t = this.position.offset;
3033
3035
  if (t >= this.message.length)
3034
3036
  throw Error("out of bound");
3035
- var r = or(this.message, t);
3037
+ var r = lr(this.message, t);
3036
3038
  if (r === void 0)
3037
3039
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3038
3040
  return r;
@@ -3051,7 +3053,7 @@ var Yn = (
3051
3053
  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);
3052
3054
  }
3053
3055
  }, e.prototype.bumpIf = function(t) {
3054
- if (gt(this.message, t, this.offset())) {
3056
+ if (_t(this.message, t, this.offset())) {
3055
3057
  for (var r = 0; r < t.length; r++)
3056
3058
  this.bump();
3057
3059
  return !0;
@@ -3073,7 +3075,7 @@ var Yn = (
3073
3075
  break;
3074
3076
  }
3075
3077
  }, e.prototype.bumpSpace = function() {
3076
- for (; !this.isEOF() && ar(this.char()); )
3078
+ for (; !this.isEOF() && hr(this.char()); )
3077
3079
  this.bump();
3078
3080
  }, e.prototype.peek = function() {
3079
3081
  if (this.isEOF())
@@ -3083,38 +3085,38 @@ var Yn = (
3083
3085
  }, e;
3084
3086
  }()
3085
3087
  );
3086
- function Ze(e) {
3088
+ function Qe(e) {
3087
3089
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3088
3090
  }
3089
- function Kn(e) {
3090
- return Ze(e) || e === 47;
3091
+ function ni(e) {
3092
+ return Qe(e) || e === 47;
3091
3093
  }
3092
- function ei(e) {
3094
+ function ii(e) {
3093
3095
  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;
3094
3096
  }
3095
- function ar(e) {
3097
+ function hr(e) {
3096
3098
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3097
3099
  }
3098
- function ti(e) {
3100
+ function oi(e) {
3099
3101
  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;
3100
3102
  }
3101
- function Qe(e) {
3103
+ function qe(e) {
3102
3104
  e.forEach(function(t) {
3103
- if (delete t.location, Jt(t) || Yt(t))
3105
+ if (delete t.location, er(t) || tr(t))
3104
3106
  for (var r in t.options)
3105
- delete t.options[r].location, Qe(t.options[r].value);
3107
+ delete t.options[r].location, qe(t.options[r].value);
3106
3108
  else
3107
- Zt(t) && er(t.style) || (Qt(t) || qt(t)) && Ve(t.style) ? delete t.style.location : Kt(t) && Qe(t.children);
3109
+ Jt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Xe(t.style) ? delete t.style.location : rr(t) && qe(t.children);
3108
3110
  });
3109
3111
  }
3110
- function ri(e, t) {
3112
+ function si(e, t) {
3111
3113
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3112
- var r = new Yn(e, t).parse();
3114
+ var r = new ri(e, t).parse();
3113
3115
  if (r.err) {
3114
3116
  var n = SyntaxError(v[r.err.kind]);
3115
3117
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3116
3118
  }
3117
- return t?.captureLocation || Qe(r.val), r.val;
3119
+ return t?.captureLocation || qe(r.val), r.val;
3118
3120
  }
3119
3121
  var K;
3120
3122
  (function(e) {
@@ -3132,7 +3134,7 @@ var He = (
3132
3134
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3133
3135
  }, t;
3134
3136
  }(Error)
3135
- ), _t = (
3137
+ ), St = (
3136
3138
  /** @class */
3137
3139
  function(e) {
3138
3140
  U(t, e);
@@ -3141,7 +3143,7 @@ var He = (
3141
3143
  }
3142
3144
  return t;
3143
3145
  }(He)
3144
- ), ni = (
3146
+ ), ai = (
3145
3147
  /** @class */
3146
3148
  function(e) {
3147
3149
  U(t, e);
@@ -3150,7 +3152,7 @@ var He = (
3150
3152
  }
3151
3153
  return t;
3152
3154
  }(He)
3153
- ), ii = (
3155
+ ), li = (
3154
3156
  /** @class */
3155
3157
  function(e) {
3156
3158
  U(t, e);
@@ -3163,17 +3165,17 @@ var He = (
3163
3165
  (function(e) {
3164
3166
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3165
3167
  })(B || (B = {}));
3166
- function oi(e) {
3168
+ function ui(e) {
3167
3169
  return e.length < 2 ? e : e.reduce(function(t, r) {
3168
3170
  var n = t[t.length - 1];
3169
3171
  return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3170
3172
  }, []);
3171
3173
  }
3172
- function si(e) {
3174
+ function hi(e) {
3173
3175
  return typeof e == "function";
3174
3176
  }
3175
3177
  function me(e, t, r, n, i, o, s) {
3176
- if (e.length === 1 && dt(e[0]))
3178
+ if (e.length === 1 && bt(e[0]))
3177
3179
  return [
3178
3180
  {
3179
3181
  type: B.literal,
@@ -3182,14 +3184,14 @@ function me(e, t, r, n, i, o, s) {
3182
3184
  ];
3183
3185
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3184
3186
  var l = u[h];
3185
- if (dt(l)) {
3187
+ if (bt(l)) {
3186
3188
  a.push({
3187
3189
  type: B.literal,
3188
3190
  value: l.value
3189
3191
  });
3190
3192
  continue;
3191
3193
  }
3192
- if (Pn(l)) {
3194
+ if (Ln(l)) {
3193
3195
  typeof o == "number" && a.push({
3194
3196
  type: B.literal,
3195
3197
  value: r.getNumberFormat(t).format(o)
@@ -3198,61 +3200,61 @@ function me(e, t, r, n, i, o, s) {
3198
3200
  }
3199
3201
  var f = l.value;
3200
3202
  if (!(i && f in i))
3201
- throw new ii(f, s);
3203
+ throw new li(f, s);
3202
3204
  var c = i[f];
3203
- if (Cn(l)) {
3205
+ if (On(l)) {
3204
3206
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3205
3207
  type: typeof c == "string" ? B.literal : B.object,
3206
3208
  value: c
3207
3209
  });
3208
3210
  continue;
3209
3211
  }
3210
- if (Qt(l)) {
3211
- var d = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
3212
+ if (Yt(l)) {
3213
+ var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3212
3214
  a.push({
3213
3215
  type: B.literal,
3214
3216
  value: r.getDateTimeFormat(t, d).format(c)
3215
3217
  });
3216
3218
  continue;
3217
3219
  }
3218
- if (qt(l)) {
3219
- var d = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
3220
+ if (Kt(l)) {
3221
+ var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3220
3222
  a.push({
3221
3223
  type: B.literal,
3222
3224
  value: r.getDateTimeFormat(t, d).format(c)
3223
3225
  });
3224
3226
  continue;
3225
3227
  }
3226
- if (Zt(l)) {
3227
- var d = typeof l.style == "string" ? n.number[l.style] : er(l.style) ? l.style.parsedOptions : void 0;
3228
+ if (Jt(l)) {
3229
+ var d = typeof l.style == "string" ? n.number[l.style] : nr(l.style) ? l.style.parsedOptions : void 0;
3228
3230
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3229
3231
  type: B.literal,
3230
3232
  value: r.getNumberFormat(t, d).format(c)
3231
3233
  });
3232
3234
  continue;
3233
3235
  }
3234
- if (Kt(l)) {
3235
- var p = l.children, b = l.value, g = i[b];
3236
- if (!si(g))
3237
- throw new ni(b, "function", s);
3238
- var S = me(p, t, r, n, i, o), x = g(S.map(function(L) {
3236
+ if (rr(l)) {
3237
+ var m = l.children, b = l.value, g = i[b];
3238
+ if (!hi(g))
3239
+ throw new ai(b, "function", s);
3240
+ var S = me(m, t, r, n, i, o), E = g(S.map(function(L) {
3239
3241
  return L.value;
3240
3242
  }));
3241
- Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(L) {
3243
+ Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
3242
3244
  return {
3243
3245
  type: typeof L == "string" ? B.literal : B.object,
3244
3246
  value: L
3245
3247
  };
3246
3248
  }));
3247
3249
  }
3248
- if (Jt(l)) {
3250
+ if (er(l)) {
3249
3251
  var T = l.options[c] || l.options.other;
3250
3252
  if (!T)
3251
- throw new _t(l.value, c, Object.keys(l.options), s);
3253
+ throw new St(l.value, c, Object.keys(l.options), s);
3252
3254
  a.push.apply(a, me(T.value, t, r, n, i));
3253
3255
  continue;
3254
3256
  }
3255
- if (Yt(l)) {
3257
+ if (tr(l)) {
3256
3258
  var T = l.options["=".concat(c)];
3257
3259
  if (!T) {
3258
3260
  if (!Intl.PluralRules)
@@ -3263,21 +3265,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3263
3265
  T = l.options[D] || l.options.other;
3264
3266
  }
3265
3267
  if (!T)
3266
- throw new _t(l.value, c, Object.keys(l.options), s);
3268
+ throw new St(l.value, c, Object.keys(l.options), s);
3267
3269
  a.push.apply(a, me(T.value, t, r, n, i, c - (l.offset || 0)));
3268
3270
  continue;
3269
3271
  }
3270
3272
  }
3271
- return oi(a);
3273
+ return ui(a);
3272
3274
  }
3273
- function ai(e, t) {
3275
+ function ci(e, t) {
3274
3276
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3275
3277
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3276
3278
  }, {})) : e;
3277
3279
  }
3278
- function li(e, t) {
3280
+ function fi(e, t) {
3279
3281
  return t ? Object.keys(e).reduce(function(r, n) {
3280
- return r[n] = ai(e[n], t[n]), r;
3282
+ return r[n] = ci(e[n], t[n]), r;
3281
3283
  }, _({}, e)) : e;
3282
3284
  }
3283
3285
  function Re(e) {
@@ -3294,7 +3296,7 @@ function Re(e) {
3294
3296
  }
3295
3297
  };
3296
3298
  }
3297
- function ui(e) {
3299
+ function di(e) {
3298
3300
  return e === void 0 && (e = {
3299
3301
  number: {},
3300
3302
  dateTime: {},
@@ -3326,7 +3328,7 @@ function ui(e) {
3326
3328
  })
3327
3329
  };
3328
3330
  }
3329
- var hi = (
3331
+ var pi = (
3330
3332
  /** @class */
3331
3333
  function() {
3332
3334
  function e(t, r, n, i) {
@@ -3358,13 +3360,13 @@ var hi = (
3358
3360
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3359
3361
  var s = i || {};
3360
3362
  s.formatters;
3361
- var a = yn(s, ["formatters"]);
3363
+ var a = wn(s, ["formatters"]);
3362
3364
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3363
3365
  } else
3364
3366
  this.ast = t;
3365
3367
  if (!Array.isArray(this.ast))
3366
3368
  throw new TypeError("A message must be provided as a String or AST.");
3367
- this.formats = li(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3369
+ this.formats = fi(e.formats, n), this.formatters = i && i.formatters || di(this.formatterCache);
3368
3370
  }
3369
3371
  return Object.defineProperty(e, "defaultLocale", {
3370
3372
  get: function() {
@@ -3377,7 +3379,7 @@ var hi = (
3377
3379
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3378
3380
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3379
3381
  }
3380
- }, e.__parse = ri, e.formats = {
3382
+ }, e.__parse = si, e.formats = {
3381
3383
  number: {
3382
3384
  integer: {
3383
3385
  maximumFractionDigits: 0
@@ -3438,7 +3440,7 @@ var hi = (
3438
3440
  }, e;
3439
3441
  }()
3440
3442
  );
3441
- function ci(e, t) {
3443
+ function mi(e, t) {
3442
3444
  if (t == null)
3443
3445
  return;
3444
3446
  if (t in e)
@@ -3459,92 +3461,92 @@ function ci(e, t) {
3459
3461
  n = void 0;
3460
3462
  return n;
3461
3463
  }
3462
- const F = {}, fi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), lr = (e, t) => {
3464
+ const F = {}, bi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), cr = (e, t) => {
3463
3465
  if (t == null)
3464
3466
  return;
3465
3467
  if (t in F && e in F[t])
3466
3468
  return F[t][e];
3467
3469
  const r = Ce(t);
3468
3470
  for (let n = 0; n < r.length; n++) {
3469
- const i = r[n], o = pi(i, e);
3471
+ const i = r[n], o = vi(i, e);
3470
3472
  if (o)
3471
- return fi(e, t, o);
3473
+ return bi(e, t, o);
3472
3474
  }
3473
3475
  };
3474
- let rt;
3476
+ let ot;
3475
3477
  const he = Te({});
3476
- function di(e) {
3477
- return rt[e] || null;
3478
+ function gi(e) {
3479
+ return ot[e] || null;
3478
3480
  }
3479
- function ur(e) {
3480
- return e in rt;
3481
+ function fr(e) {
3482
+ return e in ot;
3481
3483
  }
3482
- function pi(e, t) {
3483
- if (!ur(e))
3484
+ function vi(e, t) {
3485
+ if (!fr(e))
3484
3486
  return null;
3485
- const r = di(e);
3486
- return ci(r, t);
3487
+ const r = gi(e);
3488
+ return mi(r, t);
3487
3489
  }
3488
- function mi(e) {
3490
+ function yi(e) {
3489
3491
  if (e == null)
3490
3492
  return;
3491
3493
  const t = Ce(e);
3492
3494
  for (let r = 0; r < t.length; r++) {
3493
3495
  const n = t[r];
3494
- if (ur(n))
3496
+ if (fr(n))
3495
3497
  return n;
3496
3498
  }
3497
3499
  }
3498
- function hr(e, ...t) {
3499
- delete F[e], he.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3500
+ function dr(e, ...t) {
3501
+ delete F[e], he.update((r) => (r[e] = Sn.all([r[e] || {}, ...t]), r));
3500
3502
  }
3501
3503
  re(
3502
3504
  [he],
3503
3505
  ([e]) => Object.keys(e)
3504
3506
  );
3505
- he.subscribe((e) => rt = e);
3507
+ he.subscribe((e) => ot = e);
3506
3508
  const be = {};
3507
- function bi(e, t) {
3509
+ function _i(e, t) {
3508
3510
  be[e].delete(t), be[e].size === 0 && delete be[e];
3509
3511
  }
3510
- function cr(e) {
3512
+ function pr(e) {
3511
3513
  return be[e];
3512
3514
  }
3513
- function gi(e) {
3515
+ function Ei(e) {
3514
3516
  return Ce(e).map((t) => {
3515
- const r = cr(t);
3517
+ const r = pr(t);
3516
3518
  return [t, r ? [...r] : []];
3517
3519
  }).filter(([, t]) => t.length > 0);
3518
3520
  }
3519
- function qe(e) {
3521
+ function Je(e) {
3520
3522
  return e == null ? !1 : Ce(e).some(
3521
3523
  (t) => {
3522
3524
  var r;
3523
- return (r = cr(t)) == null ? void 0 : r.size;
3525
+ return (r = pr(t)) == null ? void 0 : r.size;
3524
3526
  }
3525
3527
  );
3526
3528
  }
3527
- function vi(e, t) {
3529
+ function xi(e, t) {
3528
3530
  return Promise.all(
3529
- t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
3530
- ).then((n) => hr(e, ...n));
3531
+ t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
3532
+ ).then((n) => dr(e, ...n));
3531
3533
  }
3532
3534
  const oe = {};
3533
- function fr(e) {
3534
- if (!qe(e))
3535
+ function mr(e) {
3536
+ if (!Je(e))
3535
3537
  return e in oe ? oe[e] : Promise.resolve();
3536
- const t = gi(e);
3538
+ const t = Ei(e);
3537
3539
  return oe[e] = Promise.all(
3538
3540
  t.map(
3539
- ([r, n]) => vi(r, n)
3541
+ ([r, n]) => xi(r, n)
3540
3542
  )
3541
3543
  ).then(() => {
3542
- if (qe(e))
3543
- return fr(e);
3544
+ if (Je(e))
3545
+ return mr(e);
3544
3546
  delete oe[e];
3545
3547
  }), oe[e];
3546
3548
  }
3547
- const yi = {
3549
+ const Si = {
3548
3550
  number: {
3549
3551
  scientific: { notation: "scientific" },
3550
3552
  engineering: { notation: "engineering" },
@@ -3573,57 +3575,57 @@ const yi = {
3573
3575
  timeZoneName: "short"
3574
3576
  }
3575
3577
  }
3576
- }, _i = {
3578
+ }, wi = {
3577
3579
  fallbackLocale: null,
3578
3580
  loadingDelay: 200,
3579
- formats: yi,
3581
+ formats: Si,
3580
3582
  warnOnMissingMessages: !0,
3581
3583
  handleMissingMessage: void 0,
3582
3584
  ignoreTag: !0
3583
- }, xi = _i;
3585
+ }, Ti = wi;
3584
3586
  function ee() {
3585
- return xi;
3587
+ return Ti;
3586
3588
  }
3587
3589
  const $e = Te(!1);
3588
- var Ei = Object.defineProperty, Si = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
3590
+ var Hi = Object.defineProperty, Ci = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
3589
3591
  for (var r in t || (t = {}))
3590
- Ti.call(t, r) && Et(e, r, t[r]);
3591
- if (xt)
3592
- for (var r of xt(t))
3593
- Hi.call(t, r) && Et(e, r, t[r]);
3592
+ Bi.call(t, r) && Tt(e, r, t[r]);
3593
+ if (wt)
3594
+ for (var r of wt(t))
3595
+ Ai.call(t, r) && Tt(e, r, t[r]);
3594
3596
  return e;
3595
- }, Pi = (e, t) => Si(e, wi(t));
3596
- let Je;
3597
- const Ee = Te(null);
3598
- function St(e) {
3597
+ }, Li = (e, t) => Ci(e, Pi(t));
3598
+ let Ye;
3599
+ const xe = Te(null);
3600
+ function Ht(e) {
3599
3601
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3600
3602
  }
3601
3603
  function Ce(e, t = ee().fallbackLocale) {
3602
- const r = St(e);
3603
- return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3604
+ const r = Ht(e);
3605
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
3604
3606
  }
3605
3607
  function V() {
3606
- return Je ?? void 0;
3608
+ return Ye ?? void 0;
3607
3609
  }
3608
- Ee.subscribe((e) => {
3609
- Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3610
+ xe.subscribe((e) => {
3611
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3610
3612
  });
3611
- const Bi = (e) => {
3612
- if (e && mi(e) && qe(e)) {
3613
+ const Ii = (e) => {
3614
+ if (e && yi(e) && Je(e)) {
3613
3615
  const { loadingDelay: t } = ee();
3614
3616
  let r;
3615
3617
  return typeof window < "u" && V() != null && t ? r = window.setTimeout(
3616
3618
  () => $e.set(!0),
3617
3619
  t
3618
- ) : $e.set(!0), fr(e).then(() => {
3619
- Ee.set(e);
3620
+ ) : $e.set(!0), mr(e).then(() => {
3621
+ xe.set(e);
3620
3622
  }).finally(() => {
3621
3623
  clearTimeout(r), $e.set(!1);
3622
3624
  });
3623
3625
  }
3624
- return Ee.set(e);
3625
- }, ne = Pi(Ci({}, Ee), {
3626
- set: Bi
3626
+ return xe.set(e);
3627
+ }, ne = Li(Oi({}, xe), {
3628
+ set: Ii
3627
3629
  }), Pe = (e) => {
3628
3630
  const t = /* @__PURE__ */ Object.create(null);
3629
3631
  return (n) => {
@@ -3631,20 +3633,20 @@ const Bi = (e) => {
3631
3633
  return i in t ? t[i] : t[i] = e(n);
3632
3634
  };
3633
3635
  };
3634
- var Ai = Object.defineProperty, Se = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
3636
+ var Ni = Object.defineProperty, Se = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
3635
3637
  for (var r in t || (t = {}))
3636
- dr.call(t, r) && wt(e, r, t[r]);
3638
+ br.call(t, r) && Ct(e, r, t[r]);
3637
3639
  if (Se)
3638
3640
  for (var r of Se(t))
3639
- pr.call(t, r) && wt(e, r, t[r]);
3641
+ gr.call(t, r) && Ct(e, r, t[r]);
3640
3642
  return e;
3641
3643
  }, ie = (e, t) => {
3642
3644
  var r = {};
3643
3645
  for (var n in e)
3644
- dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3646
+ br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3645
3647
  if (e != null && Se)
3646
3648
  for (var n of Se(e))
3647
- t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
3649
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
3648
3650
  return r;
3649
3651
  };
3650
3652
  const ue = (e, t) => {
@@ -3652,21 +3654,21 @@ const ue = (e, t) => {
3652
3654
  if (e in r && t in r[e])
3653
3655
  return r[e][t];
3654
3656
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3655
- }, Oi = Pe(
3657
+ }, Mi = Pe(
3656
3658
  (e) => {
3657
3659
  var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3658
3660
  if (r == null)
3659
3661
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3660
3662
  return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3661
3663
  }
3662
- ), Li = Pe(
3664
+ ), Ri = Pe(
3663
3665
  (e) => {
3664
3666
  var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3665
3667
  if (r == null)
3666
3668
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3667
3669
  return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
3668
3670
  }
3669
- ), Ii = Pe(
3671
+ ), $i = Pe(
3670
3672
  (e) => {
3671
3673
  var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3672
3674
  if (r == null)
@@ -3675,33 +3677,33 @@ const ue = (e, t) => {
3675
3677
  );
3676
3678
  return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
3677
3679
  }
3678
- ), Ni = (e = {}) => {
3680
+ ), Gi = (e = {}) => {
3679
3681
  var t = e, {
3680
3682
  locale: r = V()
3681
3683
  } = t, n = ie(t, [
3682
3684
  "locale"
3683
3685
  ]);
3684
- return Oi(nt({ locale: r }, n));
3685
- }, Mi = (e = {}) => {
3686
+ return Mi(st({ locale: r }, n));
3687
+ }, Ui = (e = {}) => {
3686
3688
  var t = e, {
3687
3689
  locale: r = V()
3688
3690
  } = t, n = ie(t, [
3689
3691
  "locale"
3690
3692
  ]);
3691
- return Li(nt({ locale: r }, n));
3692
- }, Ri = (e = {}) => {
3693
+ return Ri(st({ locale: r }, n));
3694
+ }, Di = (e = {}) => {
3693
3695
  var t = e, {
3694
3696
  locale: r = V()
3695
3697
  } = t, n = ie(t, [
3696
3698
  "locale"
3697
3699
  ]);
3698
- return Ii(nt({ locale: r }, n));
3699
- }, $i = Pe(
3700
+ return $i(st({ locale: r }, n));
3701
+ }, Fi = Pe(
3700
3702
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3701
- (e, t = V()) => new hi(e, t, ee().formats, {
3703
+ (e, t = V()) => new pi(e, t, ee().formats, {
3702
3704
  ignoreTag: ee().ignoreTag
3703
3705
  })
3704
- ), Gi = (e, t = {}) => {
3706
+ ), ji = (e, t = {}) => {
3705
3707
  var r, n, i, o;
3706
3708
  let s = t;
3707
3709
  typeof e == "object" && (s = e, e = s.id);
@@ -3714,7 +3716,7 @@ const ue = (e, t) => {
3714
3716
  throw new Error(
3715
3717
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3716
3718
  );
3717
- let l = lr(e, h);
3719
+ let l = cr(e, h);
3718
3720
  if (!l)
3719
3721
  l = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3720
3722
  else if (typeof l != "string")
@@ -3725,7 +3727,7 @@ const ue = (e, t) => {
3725
3727
  return l;
3726
3728
  let f = l;
3727
3729
  try {
3728
- f = $i(l, h).format(a);
3730
+ f = Fi(l, h).format(a);
3729
3731
  } catch (c) {
3730
3732
  c instanceof Error && console.warn(
3731
3733
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3733,18 +3735,18 @@ const ue = (e, t) => {
3733
3735
  );
3734
3736
  }
3735
3737
  return f;
3736
- }, Ui = (e, t) => Ri(t).format(e), Di = (e, t) => Mi(t).format(e), Fi = (e, t) => Ni(t).format(e), ji = (e, t = V()) => lr(e, t), ki = re([ne, he], () => Gi);
3737
- re([ne], () => Ui);
3738
- re([ne], () => Di);
3739
- re([ne], () => Fi);
3740
- re([ne, he], () => ji);
3741
- function Tt(e, t) {
3742
- hr(e, t);
3743
- }
3744
- function Vi(e) {
3738
+ }, ki = (e, t) => Di(t).format(e), Vi = (e, t) => Ui(t).format(e), Xi = (e, t) => Gi(t).format(e), Wi = (e, t = V()) => cr(e, t), zi = re([ne, he], () => ji);
3739
+ re([ne], () => ki);
3740
+ re([ne], () => Vi);
3741
+ re([ne], () => Xi);
3742
+ re([ne, he], () => Wi);
3743
+ function Pt(e, t) {
3744
+ dr(e, t);
3745
+ }
3746
+ function Zi(e) {
3745
3747
  ne.set(e);
3746
3748
  }
3747
- const Ht = {
3749
+ const Bt = {
3748
3750
  en: {
3749
3751
  collections: "Game Collections",
3750
3752
  providers: "Game Providers",
@@ -3844,13 +3846,13 @@ const Ht = {
3844
3846
  function G(e) {
3845
3847
  return typeof e == "function";
3846
3848
  }
3847
- function mr(e) {
3849
+ function vr(e) {
3848
3850
  var t = function(n) {
3849
3851
  Error.call(n), n.stack = new Error().stack;
3850
3852
  }, r = e(t);
3851
3853
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3852
3854
  }
3853
- var Ge = mr(function(e) {
3855
+ var Ge = vr(function(e) {
3854
3856
  return function(r) {
3855
3857
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3856
3858
  ` + r.map(function(n, i) {
@@ -3859,7 +3861,7 @@ var Ge = mr(function(e) {
3859
3861
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3860
3862
  };
3861
3863
  });
3862
- function Ye(e, t) {
3864
+ function Ke(e, t) {
3863
3865
  if (e) {
3864
3866
  var r = e.indexOf(t);
3865
3867
  0 <= r && e.splice(r, 1);
@@ -3877,7 +3879,7 @@ var Be = function() {
3877
3879
  if (s)
3878
3880
  if (this._parentage = null, Array.isArray(s))
3879
3881
  try {
3880
- for (var a = je(s), h = a.next(); !h.done; h = a.next()) {
3882
+ for (var a = ke(s), h = a.next(); !h.done; h = a.next()) {
3881
3883
  var u = h.value;
3882
3884
  u.remove(this);
3883
3885
  }
@@ -3904,12 +3906,12 @@ var Be = function() {
3904
3906
  if (f) {
3905
3907
  this._finalizers = null;
3906
3908
  try {
3907
- for (var c = je(f), d = c.next(); !d.done; d = c.next()) {
3908
- var p = d.value;
3909
+ for (var c = ke(f), d = c.next(); !d.done; d = c.next()) {
3910
+ var m = d.value;
3909
3911
  try {
3910
- Ct(p);
3912
+ At(m);
3911
3913
  } catch (b) {
3912
- o = o ?? [], b instanceof Ge ? o = q(q([], ke(o)), ke(b.errors)) : o.push(b);
3914
+ o = o ?? [], b instanceof Ge ? o = q(q([], Ve(o)), Ve(b.errors)) : o.push(b);
3913
3915
  }
3914
3916
  }
3915
3917
  } catch (b) {
@@ -3930,7 +3932,7 @@ var Be = function() {
3930
3932
  var r;
3931
3933
  if (t && t !== this)
3932
3934
  if (this.closed)
3933
- Ct(t);
3935
+ At(t);
3934
3936
  else {
3935
3937
  if (t instanceof e) {
3936
3938
  if (t.closed || t._hasParent(this))
@@ -3947,52 +3949,56 @@ var Be = function() {
3947
3949
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3948
3950
  }, e.prototype._removeParent = function(t) {
3949
3951
  var r = this._parentage;
3950
- r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
3952
+ r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
3951
3953
  }, e.prototype.remove = function(t) {
3952
3954
  var r = this._finalizers;
3953
- r && Ye(r, t), t instanceof e && t._removeParent(this);
3955
+ r && Ke(r, t), t instanceof e && t._removeParent(this);
3954
3956
  }, e.EMPTY = function() {
3955
3957
  var t = new e();
3956
3958
  return t.closed = !0, t;
3957
3959
  }(), e;
3958
- }(), br = Be.EMPTY;
3959
- function gr(e) {
3960
+ }(), yr = Be.EMPTY;
3961
+ function _r(e) {
3960
3962
  return e instanceof Be || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
3961
3963
  }
3962
- function Ct(e) {
3964
+ function At(e) {
3963
3965
  G(e) ? e() : e.unsubscribe();
3964
3966
  }
3965
- var Xi = {
3966
- Promise: void 0
3967
- }, Wi = {
3967
+ var Er = {
3968
+ onUnhandledError: null,
3969
+ onStoppedNotification: null,
3970
+ Promise: void 0,
3971
+ useDeprecatedSynchronousErrorHandling: !1,
3972
+ useDeprecatedNextContext: !1
3973
+ }, Qi = {
3968
3974
  setTimeout: function(e, t) {
3969
3975
  for (var r = [], n = 2; n < arguments.length; n++)
3970
3976
  r[n - 2] = arguments[n];
3971
- return setTimeout.apply(void 0, q([e, t], ke(r)));
3977
+ return setTimeout.apply(void 0, q([e, t], Ve(r)));
3972
3978
  },
3973
3979
  clearTimeout: function(e) {
3974
3980
  return clearTimeout(e);
3975
3981
  },
3976
3982
  delegate: void 0
3977
3983
  };
3978
- function zi(e) {
3979
- Wi.setTimeout(function() {
3984
+ function qi(e) {
3985
+ Qi.setTimeout(function() {
3980
3986
  throw e;
3981
3987
  });
3982
3988
  }
3983
- function Pt() {
3989
+ function Ot() {
3984
3990
  }
3985
3991
  function ge(e) {
3986
3992
  e();
3987
3993
  }
3988
- var vr = function(e) {
3994
+ var xr = function(e) {
3989
3995
  U(t, e);
3990
3996
  function t(r) {
3991
3997
  var n = e.call(this) || this;
3992
- return n.isStopped = !1, r ? (n.destination = r, gr(r) && r.add(n)) : n.destination = qi, n;
3998
+ return n.isStopped = !1, r ? (n.destination = r, _r(r) && r.add(n)) : n.destination = eo, n;
3993
3999
  }
3994
4000
  return t.create = function(r, n, i) {
3995
- return new Ke(r, n, i);
4001
+ return new et(r, n, i);
3996
4002
  }, t.prototype.next = function(r) {
3997
4003
  this.isStopped || this._next(r);
3998
4004
  }, t.prototype.error = function(r) {
@@ -4016,7 +4022,11 @@ var vr = function(e) {
4016
4022
  this.unsubscribe();
4017
4023
  }
4018
4024
  }, t;
4019
- }(Be), Zi = function() {
4025
+ }(Be), Ji = Function.prototype.bind;
4026
+ function Ue(e, t) {
4027
+ return Ji.call(e, t);
4028
+ }
4029
+ var Yi = function() {
4020
4030
  function e(t) {
4021
4031
  this.partialObserver = t;
4022
4032
  }
@@ -4047,43 +4057,55 @@ var vr = function(e) {
4047
4057
  de(r);
4048
4058
  }
4049
4059
  }, e;
4050
- }(), Ke = function(e) {
4060
+ }(), et = function(e) {
4051
4061
  U(t, e);
4052
4062
  function t(r, n, i) {
4053
4063
  var o = e.call(this) || this, s;
4054
- return G(r) || !r ? s = {
4055
- next: r ?? void 0,
4056
- error: n ?? void 0,
4057
- complete: i ?? void 0
4058
- } : s = r, o.destination = new Zi(s), o;
4064
+ if (G(r) || !r)
4065
+ s = {
4066
+ next: r ?? void 0,
4067
+ error: n ?? void 0,
4068
+ complete: i ?? void 0
4069
+ };
4070
+ else {
4071
+ var a;
4072
+ o && Er.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4073
+ return o.unsubscribe();
4074
+ }, s = {
4075
+ next: r.next && Ue(r.next, a),
4076
+ error: r.error && Ue(r.error, a),
4077
+ complete: r.complete && Ue(r.complete, a)
4078
+ }) : s = r;
4079
+ }
4080
+ return o.destination = new Yi(s), o;
4059
4081
  }
4060
4082
  return t;
4061
- }(vr);
4083
+ }(xr);
4062
4084
  function de(e) {
4063
- zi(e);
4085
+ qi(e);
4064
4086
  }
4065
- function Qi(e) {
4087
+ function Ki(e) {
4066
4088
  throw e;
4067
4089
  }
4068
- var qi = {
4090
+ var eo = {
4069
4091
  closed: !0,
4070
- next: Pt,
4071
- error: Qi,
4072
- complete: Pt
4073
- }, Ji = function() {
4092
+ next: Ot,
4093
+ error: Ki,
4094
+ complete: Ot
4095
+ }, to = function() {
4074
4096
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4075
4097
  }();
4076
- function Yi(e) {
4098
+ function ro(e) {
4077
4099
  return e;
4078
4100
  }
4079
- function Ki(e) {
4080
- return e.length === 0 ? Yi : e.length === 1 ? e[0] : function(r) {
4101
+ function no(e) {
4102
+ return e.length === 0 ? ro : e.length === 1 ? e[0] : function(r) {
4081
4103
  return e.reduce(function(n, i) {
4082
4104
  return i(n);
4083
4105
  }, r);
4084
4106
  };
4085
4107
  }
4086
- var Bt = function() {
4108
+ var Lt = function() {
4087
4109
  function e(t) {
4088
4110
  t && (this._subscribe = t);
4089
4111
  }
@@ -4091,7 +4113,7 @@ var Bt = function() {
4091
4113
  var r = new e();
4092
4114
  return r.source = this, r.operator = t, r;
4093
4115
  }, e.prototype.subscribe = function(t, r, n) {
4094
- var i = this, o = to(t) ? t : new Ke(t, r, n);
4116
+ var i = this, o = oo(t) ? t : new et(t, r, n);
4095
4117
  return ge(function() {
4096
4118
  var s = i, a = s.operator, h = s.source;
4097
4119
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -4104,8 +4126,8 @@ var Bt = function() {
4104
4126
  }
4105
4127
  }, e.prototype.forEach = function(t, r) {
4106
4128
  var n = this;
4107
- return r = At(r), new r(function(i, o) {
4108
- var s = new Ke({
4129
+ return r = It(r), new r(function(i, o) {
4130
+ var s = new et({
4109
4131
  next: function(a) {
4110
4132
  try {
4111
4133
  t(a);
@@ -4121,15 +4143,15 @@ var Bt = function() {
4121
4143
  }, e.prototype._subscribe = function(t) {
4122
4144
  var r;
4123
4145
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4124
- }, e.prototype[Ji] = function() {
4146
+ }, e.prototype[to] = function() {
4125
4147
  return this;
4126
4148
  }, e.prototype.pipe = function() {
4127
4149
  for (var t = [], r = 0; r < arguments.length; r++)
4128
4150
  t[r] = arguments[r];
4129
- return Ki(t)(this);
4151
+ return no(t)(this);
4130
4152
  }, e.prototype.toPromise = function(t) {
4131
4153
  var r = this;
4132
- return t = At(t), new t(function(n, i) {
4154
+ return t = It(t), new t(function(n, i) {
4133
4155
  var o;
4134
4156
  r.subscribe(function(s) {
4135
4157
  return o = s;
@@ -4143,32 +4165,32 @@ var Bt = function() {
4143
4165
  return new e(t);
4144
4166
  }, e;
4145
4167
  }();
4146
- function At(e) {
4168
+ function It(e) {
4147
4169
  var t;
4148
- return (t = e ?? Xi.Promise) !== null && t !== void 0 ? t : Promise;
4170
+ return (t = e ?? Er.Promise) !== null && t !== void 0 ? t : Promise;
4149
4171
  }
4150
- function eo(e) {
4172
+ function io(e) {
4151
4173
  return e && G(e.next) && G(e.error) && G(e.complete);
4152
4174
  }
4153
- function to(e) {
4154
- return e && e instanceof vr || eo(e) && gr(e);
4175
+ function oo(e) {
4176
+ return e && e instanceof xr || io(e) && _r(e);
4155
4177
  }
4156
- var ro = mr(function(e) {
4178
+ var so = vr(function(e) {
4157
4179
  return function() {
4158
4180
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4159
4181
  };
4160
- }), yr = function(e) {
4182
+ }), Sr = function(e) {
4161
4183
  U(t, e);
4162
4184
  function t() {
4163
4185
  var r = e.call(this) || this;
4164
4186
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4165
4187
  }
4166
4188
  return t.prototype.lift = function(r) {
4167
- var n = new Ot(this, this);
4189
+ var n = new Nt(this, this);
4168
4190
  return n.operator = r, n;
4169
4191
  }, t.prototype._throwIfClosed = function() {
4170
4192
  if (this.closed)
4171
- throw new ro();
4193
+ throw new so();
4172
4194
  }, t.prototype.next = function(r) {
4173
4195
  var n = this;
4174
4196
  ge(function() {
@@ -4176,7 +4198,7 @@ var ro = mr(function(e) {
4176
4198
  if (n._throwIfClosed(), !n.isStopped) {
4177
4199
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4178
4200
  try {
4179
- for (var s = je(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4201
+ for (var s = ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4180
4202
  var h = a.value;
4181
4203
  h.next(r);
4182
4204
  }
@@ -4225,19 +4247,19 @@ var ro = mr(function(e) {
4225
4247
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4226
4248
  }, t.prototype._innerSubscribe = function(r) {
4227
4249
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4228
- return o || s ? br : (this.currentObservers = null, a.push(r), new Be(function() {
4229
- n.currentObservers = null, Ye(a, r);
4250
+ return o || s ? yr : (this.currentObservers = null, a.push(r), new Be(function() {
4251
+ n.currentObservers = null, Ke(a, r);
4230
4252
  }));
4231
4253
  }, t.prototype._checkFinalizedStatuses = function(r) {
4232
4254
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4233
4255
  i ? r.error(o) : s && r.complete();
4234
4256
  }, t.prototype.asObservable = function() {
4235
- var r = new Bt();
4257
+ var r = new Lt();
4236
4258
  return r.source = this, r;
4237
4259
  }, t.create = function(r, n) {
4238
- return new Ot(r, n);
4260
+ return new Nt(r, n);
4239
4261
  }, t;
4240
- }(Bt), Ot = function(e) {
4262
+ }(Lt), Nt = function(e) {
4241
4263
  U(t, e);
4242
4264
  function t(r, n) {
4243
4265
  var i = e.call(this) || this;
@@ -4254,17 +4276,17 @@ var ro = mr(function(e) {
4254
4276
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4255
4277
  }, t.prototype._subscribe = function(r) {
4256
4278
  var n, i;
4257
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
4279
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : yr;
4258
4280
  }, t;
4259
- }(yr), _r = {
4281
+ }(Sr), wr = {
4260
4282
  now: function() {
4261
- return (_r.delegate || Date).now();
4283
+ return (wr.delegate || Date).now();
4262
4284
  },
4263
4285
  delegate: void 0
4264
- }, no = function(e) {
4286
+ }, ao = function(e) {
4265
4287
  U(t, e);
4266
4288
  function t(r, n, i) {
4267
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = _r);
4289
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = wr);
4268
4290
  var o = e.call(this) || this;
4269
4291
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4270
4292
  }
@@ -4284,23 +4306,23 @@ var ro = mr(function(e) {
4284
4306
  u && o.splice(0, u + 1);
4285
4307
  }
4286
4308
  }, t;
4287
- }(yr);
4288
- const Lt = [], It = {}, io = (e, t = 0) => {
4289
- if (Lt.indexOf(e) == -1) {
4290
- const r = new no(t);
4291
- It[e] = r, Lt.push(e);
4309
+ }(Sr);
4310
+ const Mt = [], Rt = {}, lo = (e, t = 0) => {
4311
+ if (Mt.indexOf(e) == -1) {
4312
+ const r = new ao(t);
4313
+ Rt[e] = r, Mt.push(e);
4292
4314
  }
4293
- return It[e];
4315
+ return Rt[e];
4294
4316
  };
4295
- window.emWidgets = { topic: io };
4296
- const oo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4297
- function so(e, t) {
4317
+ window.emWidgets = { topic: lo };
4318
+ const uo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4319
+ function ho(e, t) {
4298
4320
  if (e) {
4299
4321
  const r = document.createElement("style");
4300
4322
  r.innerHTML = t, e.appendChild(r);
4301
4323
  }
4302
4324
  }
4303
- function ao(e, t) {
4325
+ function co(e, t) {
4304
4326
  const r = new URL(t);
4305
4327
  fetch(r.href).then((n) => n.text()).then((n) => {
4306
4328
  const i = document.createElement("style");
@@ -4309,7 +4331,7 @@ function ao(e, t) {
4309
4331
  console.error("There was an error while trying to load client styling from URL", n);
4310
4332
  });
4311
4333
  }
4312
- function lo(e, t, r) {
4334
+ function fo(e, t, r) {
4313
4335
  if (window.emMessageBus) {
4314
4336
  const n = document.createElement("style");
4315
4337
  window.emMessageBus.subscribe(t, (i) => {
@@ -4317,18 +4339,18 @@ function lo(e, t, r) {
4317
4339
  });
4318
4340
  }
4319
4341
  }
4320
- function uo(e) {
4321
- Nr(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4342
+ function po(e) {
4343
+ Ur(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4322
4344
  }
4323
- function Nt(e, t, r) {
4345
+ function $t(e, t, r) {
4324
4346
  const n = e.slice();
4325
- return n[40] = t[r], n;
4347
+ return n[41] = t[r], n;
4326
4348
  }
4327
- function Mt(e, t, r) {
4349
+ function Gt(e, t, r) {
4328
4350
  const n = e.slice();
4329
- return n[43] = t[r], n;
4351
+ return n[44] = t[r], n;
4330
4352
  }
4331
- function ho(e) {
4353
+ function mo(e) {
4332
4354
  let t, r, n, i = (
4333
4355
  /*type*/
4334
4356
  (e[0] === "vendor" ? (
@@ -4341,30 +4363,30 @@ function ho(e) {
4341
4363
  ), o, s, a, h, u, l = (
4342
4364
  /*numberOfSlides*/
4343
4365
  e[7] > /*numberOfVisibleSlides*/
4344
- e[8] && Rt(e)
4345
- ), f = xe(
4366
+ e[8] && Ut(e)
4367
+ ), f = Ee(
4346
4368
  /*gameCategories*/
4347
4369
  e[3]
4348
4370
  ), c = [];
4349
4371
  for (let d = 0; d < f.length; d += 1)
4350
- c[d] = Ut(Nt(e, f, d));
4372
+ c[d] = jt($t(e, f, d));
4351
4373
  return {
4352
4374
  c() {
4353
4375
  t = C("div"), r = C("div"), n = C("p"), o = we(i), s = k(), l && l.c(), a = k(), h = C("div");
4354
4376
  for (let d = 0; d < c.length; d += 1)
4355
4377
  c[d].c();
4356
- E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(h, "class", "CategoriesSlider"), E(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
4378
+ x(n, "class", "Title"), x(r, "class", "CategoriesHeader"), x(h, "class", "CategoriesSlider"), x(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
4357
4379
  (e[9] ? "Mobile" : "") + " " + /*type*/
4358
4380
  (e[0] === "vendor" ? "Providers" : "Collections"));
4359
4381
  },
4360
- m(d, p) {
4361
- R(d, t, p), H(t, r), H(r, n), H(n, o), H(r, s), l && l.m(r, null), H(t, a), H(t, h);
4382
+ m(d, m) {
4383
+ $(d, t, m), H(t, r), H(r, n), H(n, o), H(r, s), l && l.m(r, null), H(t, a), H(t, h);
4362
4384
  for (let b = 0; b < c.length; b += 1)
4363
4385
  c[b] && c[b].m(h, null);
4364
4386
  e[25](h);
4365
4387
  },
4366
- p(d, p) {
4367
- if (p[0] & /*type, $_*/
4388
+ p(d, m) {
4389
+ if (m[0] & /*type, $_*/
4368
4390
  1025 && i !== (i = /*type*/
4369
4391
  (d[0] === "vendor" ? (
4370
4392
  /*$_*/
@@ -4372,41 +4394,41 @@ function ho(e) {
4372
4394
  ) : (
4373
4395
  /*$_*/
4374
4396
  d[10]("collections")
4375
- )) + "") && tt(o, i), /*numberOfSlides*/
4397
+ )) + "") && rt(o, i), /*numberOfSlides*/
4376
4398
  d[7] > /*numberOfVisibleSlides*/
4377
- d[8] ? l ? l.p(d, p) : (l = Rt(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), p[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4399
+ d[8] ? l ? l.p(d, m) : (l = Ut(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4378
4400
  24590) {
4379
- f = xe(
4401
+ f = Ee(
4380
4402
  /*gameCategories*/
4381
4403
  d[3]
4382
4404
  );
4383
4405
  let b;
4384
4406
  for (b = 0; b < f.length; b += 1) {
4385
- const g = Nt(d, f, b);
4386
- c[b] ? c[b].p(g, p) : (c[b] = Ut(g), c[b].c(), c[b].m(h, null));
4407
+ const g = $t(d, f, b);
4408
+ c[b] ? c[b].p(g, m) : (c[b] = jt(g), c[b].c(), c[b].m(h, null));
4387
4409
  }
4388
4410
  for (; b < c.length; b += 1)
4389
4411
  c[b].d(1);
4390
4412
  c.length = f.length;
4391
4413
  }
4392
- p[0] & /*mobile, type*/
4414
+ m[0] & /*mobile, type*/
4393
4415
  513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
4394
4416
  (d[9] ? "Mobile" : "") + " " + /*type*/
4395
- (d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", u);
4417
+ (d[0] === "vendor" ? "Providers" : "Collections")) && x(t, "class", u);
4396
4418
  },
4397
4419
  d(d) {
4398
- d && I(t), l && l.d(), kt(c, d), e[25](null);
4420
+ d && I(t), l && l.d(), Wt(c, d), e[25](null);
4399
4421
  }
4400
4422
  };
4401
4423
  }
4402
- function co(e) {
4424
+ function bo(e) {
4403
4425
  let t;
4404
4426
  return {
4405
4427
  c() {
4406
- t = C("div"), E(t, "class", "LoadingSpinner");
4428
+ t = C("div"), x(t, "class", "LoadingSpinner");
4407
4429
  },
4408
4430
  m(r, n) {
4409
- R(r, t, n);
4431
+ $(r, t, n);
4410
4432
  },
4411
4433
  p: A,
4412
4434
  d(r) {
@@ -4414,14 +4436,14 @@ function co(e) {
4414
4436
  }
4415
4437
  };
4416
4438
  }
4417
- function Rt(e) {
4439
+ function Ut(e) {
4418
4440
  let t, r, n, i, o, s;
4419
4441
  return {
4420
4442
  c() {
4421
- t = C("div"), r = C("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = k(), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', E(t, "class", "ButtonsContainer");
4443
+ t = C("div"), r = C("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = k(), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', x(t, "class", "ButtonsContainer");
4422
4444
  },
4423
4445
  m(a, h) {
4424
- R(a, t, h), H(t, r), H(t, n), H(t, i), o || (s = [
4446
+ $(a, t, h), H(t, r), H(t, n), H(t, i), o || (s = [
4425
4447
  ye(
4426
4448
  r,
4427
4449
  "click",
@@ -4442,190 +4464,190 @@ function Rt(e) {
4442
4464
  }
4443
4465
  };
4444
4466
  }
4445
- function fo(e) {
4467
+ function go(e) {
4446
4468
  let t, r = (
4447
4469
  /*category*/
4448
- e[40].name + ""
4470
+ e[41].name + ""
4449
4471
  ), n;
4450
4472
  return {
4451
4473
  c() {
4452
- t = C("p"), n = we(r), E(t, "class", "CategorySlideTitle");
4474
+ t = C("p"), n = we(r), x(t, "class", "CategorySlideTitle");
4453
4475
  },
4454
4476
  m(i, o) {
4455
- R(i, t, o), H(t, n);
4477
+ $(i, t, o), H(t, n);
4456
4478
  },
4457
4479
  p(i, o) {
4458
4480
  o[0] & /*gameCategories*/
4459
4481
  8 && r !== (r = /*category*/
4460
- i[40].name + "") && tt(n, r);
4482
+ i[41].name + "") && rt(n, r);
4461
4483
  },
4462
4484
  d(i) {
4463
4485
  i && I(t);
4464
4486
  }
4465
4487
  };
4466
4488
  }
4467
- function po(e) {
4489
+ function vo(e) {
4468
4490
  let t, r, n;
4469
4491
  return {
4470
4492
  c() {
4471
- t = C("img"), E(t, "class", "CategorySlideLogo"), ve(t.src, r = /*category*/
4472
- e[40].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
4473
- e[40].name + " icon");
4493
+ t = C("img"), x(t, "class", "CategorySlideLogo"), ve(t.src, r = /*category*/
4494
+ e[41].icon) || x(t, "src", r), x(t, "alt", n = /*category*/
4495
+ e[41].name + " icon");
4474
4496
  },
4475
4497
  m(i, o) {
4476
- R(i, t, o);
4498
+ $(i, t, o);
4477
4499
  },
4478
4500
  p(i, o) {
4479
4501
  o[0] & /*gameCategories*/
4480
4502
  8 && !ve(t.src, r = /*category*/
4481
- i[40].icon) && E(t, "src", r), o[0] & /*gameCategories*/
4503
+ i[41].icon) && x(t, "src", r), o[0] & /*gameCategories*/
4482
4504
  8 && n !== (n = /*category*/
4483
- i[40].name + " icon") && E(t, "alt", n);
4505
+ i[41].name + " icon") && x(t, "alt", n);
4484
4506
  },
4485
4507
  d(i) {
4486
4508
  i && I(t);
4487
4509
  }
4488
4510
  };
4489
4511
  }
4490
- function $t(e) {
4512
+ function Dt(e) {
4491
4513
  let t, r = (
4492
4514
  /*game*/
4493
- e[43].name + ""
4515
+ e[44].name + ""
4494
4516
  ), n, i;
4495
4517
  return {
4496
4518
  c() {
4497
- t = C("p"), n = we(r), E(t, "title", i = /*game*/
4498
- e[43].name);
4519
+ t = C("p"), n = we(r), x(t, "title", i = /*game*/
4520
+ e[44].name);
4499
4521
  },
4500
4522
  m(o, s) {
4501
- R(o, t, s), H(t, n);
4523
+ $(o, t, s), H(t, n);
4502
4524
  },
4503
4525
  p(o, s) {
4504
4526
  s[0] & /*gameCategories*/
4505
4527
  8 && r !== (r = /*game*/
4506
- o[43].name + "") && tt(n, r), s[0] & /*gameCategories*/
4528
+ o[44].name + "") && rt(n, r), s[0] & /*gameCategories*/
4507
4529
  8 && i !== (i = /*game*/
4508
- o[43].name) && E(t, "title", i);
4530
+ o[44].name) && x(t, "title", i);
4509
4531
  },
4510
4532
  d(o) {
4511
4533
  o && I(t);
4512
4534
  }
4513
4535
  };
4514
4536
  }
4515
- function Gt(e) {
4537
+ function Ft(e) {
4516
4538
  let t, r, n, i, o, s, a, h;
4517
4539
  function u() {
4518
4540
  return (
4519
4541
  /*click_handler*/
4520
4542
  e[23](
4521
4543
  /*game*/
4522
- e[43]
4544
+ e[44]
4523
4545
  )
4524
4546
  );
4525
4547
  }
4526
4548
  let l = (
4527
4549
  /*collectionprovidersgamenames*/
4528
- e[2] == "true" && $t(e)
4550
+ e[2] == "true" && Dt(e)
4529
4551
  );
4530
4552
  return {
4531
4553
  c() {
4532
- t = C("div"), r = C("img"), o = k(), l && l.c(), s = k(), E(r, "class", "CategorySlideGameImage"), ve(r.src, n = /*game*/
4533
- e[43].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
4534
- e[43].name), E(t, "class", "CategorySlideGames");
4554
+ t = C("div"), r = C("img"), o = k(), l && l.c(), s = k(), x(r, "class", "CategorySlideGameImage"), ve(r.src, n = /*game*/
4555
+ e[44].defaultThumbnail) || x(r, "src", n), x(r, "alt", i = /*game*/
4556
+ e[44].name), x(t, "class", "CategorySlideGames");
4535
4557
  },
4536
4558
  m(f, c) {
4537
- R(f, t, c), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (h = ye(r, "click", $r(u)), a = !0);
4559
+ $(f, t, c), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (h = ye(r, "click", jr(u)), a = !0);
4538
4560
  },
4539
4561
  p(f, c) {
4540
4562
  e = f, c[0] & /*gameCategories*/
4541
4563
  8 && !ve(r.src, n = /*game*/
4542
- e[43].defaultThumbnail) && E(r, "src", n), c[0] & /*gameCategories*/
4564
+ e[44].defaultThumbnail) && x(r, "src", n), c[0] & /*gameCategories*/
4543
4565
  8 && i !== (i = /*game*/
4544
- e[43].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
4545
- e[2] == "true" ? l ? l.p(e, c) : (l = $t(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4566
+ e[44].name) && x(r, "alt", i), /*collectionprovidersgamenames*/
4567
+ e[2] == "true" ? l ? l.p(e, c) : (l = Dt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4546
4568
  },
4547
4569
  d(f) {
4548
4570
  f && I(t), l && l.d(), a = !1, h();
4549
4571
  }
4550
4572
  };
4551
4573
  }
4552
- function Ut(e) {
4574
+ function jt(e) {
4553
4575
  let t, r, n, i, o, s, a, h, u;
4554
4576
  function l(g, S) {
4555
4577
  if (
4556
4578
  /*titletype*/
4557
4579
  g[1] === "logo"
4558
4580
  )
4559
- return po;
4581
+ return vo;
4560
4582
  if (
4561
4583
  /*titletype*/
4562
4584
  g[1] === "title"
4563
4585
  )
4564
- return fo;
4586
+ return go;
4565
4587
  }
4566
- let f = l(e), c = f && f(e), d = xe(
4588
+ let f = l(e), c = f && f(e), d = Ee(
4567
4589
  /*category*/
4568
- e[40].games
4569
- ), p = [];
4590
+ e[41].games
4591
+ ), m = [];
4570
4592
  for (let g = 0; g < d.length; g += 1)
4571
- p[g] = Gt(Mt(e, d, g));
4593
+ m[g] = Ft(Gt(e, d, g));
4572
4594
  function b() {
4573
4595
  return (
4574
4596
  /*click_handler_1*/
4575
4597
  e[24](
4576
4598
  /*category*/
4577
- e[40]
4599
+ e[41]
4578
4600
  )
4579
4601
  );
4580
4602
  }
4581
4603
  return {
4582
4604
  c() {
4583
4605
  t = C("div"), r = C("div"), n = C("div"), c && c.c(), i = k(), o = C("div");
4584
- for (let g = 0; g < p.length; g += 1)
4585
- p[g].c();
4586
- a = k(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
4587
- (e[40]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Oe(r, "background-image", "url(" + /*category*/
4588
- e[40]?.background + ")"), Oe(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4606
+ for (let g = 0; g < m.length; g += 1)
4607
+ m[g].c();
4608
+ a = k(), x(n, "class", "CategorySlideTopContainer"), x(o, "class", "CategorySlideGameContainer"), x(r, "class", s = "CategorySlide " + /*category*/
4609
+ (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Oe(r, "background-image", "url(" + /*category*/
4610
+ e[41]?.background + ")"), Oe(r, "background-size", "cover"), x(t, "class", "CategoriesSliderWrapper Animation");
4589
4611
  },
4590
4612
  m(g, S) {
4591
- R(g, t, S), H(t, r), H(r, n), c && c.m(n, null), H(r, i), H(r, o);
4592
- for (let x = 0; x < p.length; x += 1)
4593
- p[x] && p[x].m(o, null);
4613
+ $(g, t, S), H(t, r), H(r, n), c && c.m(n, null), H(r, i), H(r, o);
4614
+ for (let E = 0; E < m.length; E += 1)
4615
+ m[E] && m[E].m(o, null);
4594
4616
  H(t, a), h || (u = ye(r, "click", b), h = !0);
4595
4617
  },
4596
4618
  p(g, S) {
4597
4619
  if (e = g, f === (f = l(e)) && c ? c.p(e, S) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), S[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4598
4620
  8204) {
4599
- d = xe(
4621
+ d = Ee(
4600
4622
  /*category*/
4601
- e[40].games
4623
+ e[41].games
4602
4624
  );
4603
- let x;
4604
- for (x = 0; x < d.length; x += 1) {
4605
- const T = Mt(e, d, x);
4606
- p[x] ? p[x].p(T, S) : (p[x] = Gt(T), p[x].c(), p[x].m(o, null));
4625
+ let E;
4626
+ for (E = 0; E < d.length; E += 1) {
4627
+ const T = Gt(e, d, E);
4628
+ m[E] ? m[E].p(T, S) : (m[E] = Ft(T), m[E].c(), m[E].m(o, null));
4607
4629
  }
4608
- for (; x < p.length; x += 1)
4609
- p[x].d(1);
4610
- p.length = d.length;
4630
+ for (; E < m.length; E += 1)
4631
+ m[E].d(1);
4632
+ m.length = d.length;
4611
4633
  }
4612
4634
  S[0] & /*gameCategories*/
4613
4635
  8 && s !== (s = "CategorySlide " + /*category*/
4614
- (e[40]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), S[0] & /*gameCategories*/
4636
+ (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && x(r, "class", s), S[0] & /*gameCategories*/
4615
4637
  8 && Oe(r, "background-image", "url(" + /*category*/
4616
- e[40]?.background + ")");
4638
+ e[41]?.background + ")");
4617
4639
  },
4618
4640
  d(g) {
4619
- g && I(t), c && c.d(), kt(p, g), h = !1, u();
4641
+ g && I(t), c && c.d(), Wt(m, g), h = !1, u();
4620
4642
  }
4621
4643
  };
4622
4644
  }
4623
- function mo(e) {
4645
+ function yo(e) {
4624
4646
  let t;
4625
4647
  function r(o, s) {
4626
4648
  return (
4627
4649
  /*isLoading*/
4628
- o[6] ? co : ho
4650
+ o[6] ? bo : mo
4629
4651
  );
4630
4652
  }
4631
4653
  let n = r(e), i = n(e);
@@ -4634,7 +4656,7 @@ function mo(e) {
4634
4656
  t = C("div"), i.c();
4635
4657
  },
4636
4658
  m(o, s) {
4637
- R(o, t, s), i.m(t, null), e[26](t);
4659
+ $(o, t, s), i.m(t, null), e[26](t);
4638
4660
  },
4639
4661
  p(o, s) {
4640
4662
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4646,114 +4668,117 @@ function mo(e) {
4646
4668
  }
4647
4669
  };
4648
4670
  }
4649
- function bo(e, t, r) {
4671
+ function _o(e, t, r) {
4650
4672
  let n;
4651
- Ir(e, ki, (m) => r(10, n = m));
4652
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, p = [], b = !0, g, S = 0, x = 0, T = 0, D, L, j = 0, X = 50, Ae = !1, $, xr = window.navigator.userAgent, it;
4653
- const Er = () => {
4673
+ Gr(e, zi, (p) => r(10, n = p));
4674
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, S = 0, E = 0, T = 0, D, L, j = 0, X = 50, Ae = !1, N, Tr = window.navigator.userAgent, at;
4675
+ const Hr = () => {
4654
4676
  fetch(f).then((P) => P.json()).then((P) => {
4655
- Object.keys(P).forEach((N) => {
4656
- Tt(N, P[N]);
4677
+ Object.keys(P).forEach((M) => {
4678
+ Pt(M, P[M]);
4657
4679
  });
4658
4680
  }).catch((P) => {
4659
4681
  console.log(P);
4660
4682
  });
4661
4683
  };
4662
- Object.keys(Ht).forEach((m) => {
4663
- Tt(m, Ht[m]);
4684
+ Object.keys(Bt).forEach((p) => {
4685
+ Pt(p, Bt[p]);
4664
4686
  });
4665
- const ot = () => {
4666
- const m = new URL(`${i}/v2/casino/groups/${o}`);
4667
- m.searchParams.append("language", s), m.searchParams.append("expand", "games"), m.searchParams.append("filter", `$and(flags=${a})`), m.searchParams.append("pagination", `offset=${j},limit=${X}`), fetch(m.href).then((P) => P.json()).then((P) => {
4687
+ const lt = () => {
4688
+ const p = new URL(`${i}/v2/casino/groups/${o}`);
4689
+ p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${j},limit=${X}`), fetch(p.href).then((P) => P.json()).then((P) => {
4668
4690
  r(6, b = !1), P.total > X && (j += 50, X += 50, r(22, Ae = !0));
4669
- let N = P.items.map((M) => ({
4670
- id: M.id,
4671
- name: M.name,
4672
- icon: M.icon ? M.icon : M.vendors?.items[0]?.subVendors[0]?.logo,
4673
- games: M.games.items.slice(0, 4).map((Or) => Or),
4674
- background: M.background,
4675
- flag: M.flags
4691
+ let M = P.items.map((R) => ({
4692
+ id: R.id,
4693
+ name: R.name,
4694
+ icon: R.icon ? R.icon : R.vendors?.items[0]?.subVendors[0]?.logo,
4695
+ games: R.games.items.slice(0, 4).map((Rr) => Rr),
4696
+ background: R.background,
4697
+ flag: R.flags
4676
4698
  }));
4677
- r(3, p = [...p, ...N]), r(7, x = p.length);
4699
+ r(3, m = [...m, ...M]), r(7, E = m.length), Cr();
4678
4700
  });
4679
- }, st = (m) => {
4680
- L = [...g.children], L.forEach((P, N) => {
4681
- P.style.transform = `translateX(${100 * (m ? N - m : N)}%)`;
4682
- }), D = L[0].getBoundingClientRect().width, Sr();
4683
- }, Sr = () => {
4701
+ }, Cr = () => {
4702
+ const p = N.getRootNode().host;
4703
+ p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4704
+ }, ut = (p) => {
4705
+ L = [...g.children], L.forEach((P, M) => {
4706
+ P.style.transform = `translateX(${100 * (p ? M - p : M)}%)`;
4707
+ }), D = L[0].getBoundingClientRect().width, Pr();
4708
+ }, Pr = () => {
4684
4709
  r(8, T = Math.floor(g.clientWidth / D));
4685
- }, at = () => {
4686
- st(S);
4687
- }, wr = () => {
4688
- S === 0 ? S = x - T : S - T < -1 ? S = 0 : S--, at();
4689
- }, Tr = () => {
4690
- S === x - T ? S = 0 : x - T < S + 1 ? S = x - T : S++, at();
4691
- }, lt = (m, P, N, M) => {
4710
+ }, ht = () => {
4711
+ ut(S);
4712
+ }, Br = () => {
4713
+ S === 0 ? S = E - T : S - T < -1 ? S = 0 : S--, ht();
4714
+ }, Ar = () => {
4715
+ S === E - T ? S = 0 : E - T < S + 1 ? S = E - T : S++, ht();
4716
+ }, ct = (p, P, M, R) => {
4692
4717
  window.postMessage(
4693
4718
  {
4694
4719
  type: "OpenCollectionsProvidersGame",
4695
- gameId: m,
4720
+ gameId: p,
4696
4721
  launchUrl: P,
4697
- gameName: N,
4698
- subVendor: M
4722
+ gameName: M,
4723
+ subVendor: R
4699
4724
  },
4700
4725
  window.location.href
4701
4726
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
4702
4727
  context: "CollectionsProviders",
4703
- gameName: `${N}`
4728
+ gameName: `${M}`
4704
4729
  });
4705
- }, ut = (m) => {
4730
+ }, ft = (p) => {
4706
4731
  window.postMessage(
4707
4732
  {
4708
4733
  type: "OpenCollectionsProvidersCategory",
4709
- categoryId: m
4734
+ categoryId: p
4710
4735
  },
4711
4736
  window.location.href
4712
4737
  );
4713
- }, Hr = () => {
4714
- Vi(s);
4738
+ }, Or = () => {
4739
+ Zi(s);
4715
4740
  };
4716
- Fr(() => (r(9, it = oo(xr)), () => {
4741
+ Wr(() => (r(9, at = uo(Tr)), () => {
4717
4742
  }));
4718
- const Cr = (m) => lt(m.gameId, m.launchUrl, m.name, m.subVendor), Pr = (m) => ut(m.id);
4719
- function Br(m) {
4720
- _e[m ? "unshift" : "push"](() => {
4721
- g = m, r(4, g);
4743
+ const Lr = (p) => ct(p.gameId, p.launchUrl, p.name, p.subVendor), Ir = (p) => ft(p.id);
4744
+ function Nr(p) {
4745
+ _e[p ? "unshift" : "push"](() => {
4746
+ g = p, r(4, g);
4722
4747
  });
4723
4748
  }
4724
- function Ar(m) {
4725
- _e[m ? "unshift" : "push"](() => {
4726
- $ = m, r(5, $);
4749
+ function Mr(p) {
4750
+ _e[p ? "unshift" : "push"](() => {
4751
+ N = p, r(5, N);
4727
4752
  });
4728
4753
  }
4729
- return e.$$set = (m) => {
4730
- "endpoint" in m && r(15, i = m.endpoint), "datasource" in m && r(16, o = m.datasource), "lang" in m && r(17, s = m.lang), "type" in m && r(0, a = m.type), "titletype" in m && r(1, h = m.titletype), "clientstyling" in m && r(18, u = m.clientstyling), "clientstylingurl" in m && r(19, l = m.clientstylingurl), "translationurl" in m && r(20, f = m.translationurl), "collectionprovidersgamenames" in m && r(2, c = m.collectionprovidersgamenames), "mbsource" in m && r(21, d = m.mbsource);
4754
+ return e.$$set = (p) => {
4755
+ "endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, u = p.clientstyling), "clientstylingurl" in p && r(19, l = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
4731
4756
  }, e.$$.update = () => {
4732
4757
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4733
- 229376 && i && o && s && ot(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4734
- 24 && p && g && st(), e.$$.dirty[0] & /*lang*/
4735
- 131072 && s && Hr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4736
- 262176 && u && $ && so($, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4737
- 524320 && l && $ && ao($, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4738
- 2097184 && $ && lo($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4739
- 1048576 && f && Er(), e.$$.dirty[0] & /*paginationrequired*/
4740
- 4194304 && Ae && ot();
4758
+ 229376 && i && o && s && lt(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4759
+ 24 && m && g && ut(), e.$$.dirty[0] & /*lang*/
4760
+ 131072 && s && Or(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4761
+ 262176 && u && N && ho(N, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4762
+ 524320 && l && N && co(N, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4763
+ 2097184 && N && fo(N, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4764
+ 1048576 && f && Hr(), e.$$.dirty[0] & /*paginationrequired*/
4765
+ 4194304 && Ae && lt();
4741
4766
  }, [
4742
4767
  a,
4743
4768
  h,
4744
4769
  c,
4745
- p,
4770
+ m,
4746
4771
  g,
4747
- $,
4772
+ N,
4748
4773
  b,
4749
- x,
4774
+ E,
4750
4775
  T,
4751
- it,
4776
+ at,
4752
4777
  n,
4753
- wr,
4754
- Tr,
4755
- lt,
4756
- ut,
4778
+ Br,
4779
+ Ar,
4780
+ ct,
4781
+ ft,
4757
4782
  i,
4758
4783
  o,
4759
4784
  s,
@@ -4762,20 +4787,20 @@ function bo(e, t, r) {
4762
4787
  f,
4763
4788
  d,
4764
4789
  Ae,
4765
- Cr,
4766
- Pr,
4767
- Br,
4768
- Ar
4790
+ Lr,
4791
+ Ir,
4792
+ Nr,
4793
+ Mr
4769
4794
  ];
4770
4795
  }
4771
- class go extends Kr {
4796
+ class Eo extends on {
4772
4797
  constructor(t) {
4773
- super(), Jr(
4798
+ super(), rn(
4774
4799
  this,
4775
4800
  t,
4776
- bo,
4777
- mo,
4778
- Ft,
4801
+ _o,
4802
+ yo,
4803
+ Vt,
4779
4804
  {
4780
4805
  endpoint: 15,
4781
4806
  datasource: 16,
@@ -4788,7 +4813,7 @@ class go extends Kr {
4788
4813
  collectionprovidersgamenames: 2,
4789
4814
  mbsource: 21
4790
4815
  },
4791
- uo,
4816
+ po,
4792
4817
  [-1, -1]
4793
4818
  );
4794
4819
  }
@@ -4853,7 +4878,7 @@ class go extends Kr {
4853
4878
  this.$$set({ mbsource: t }), O();
4854
4879
  }
4855
4880
  }
4856
- Yr(go, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4881
+ nn(Eo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4857
4882
  export {
4858
- go as C
4883
+ Eo as C
4859
4884
  };