@everymatrix/casino-collections-providers 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function O() {
2
2
  }
3
- function Vt(e) {
3
+ function Ft(e) {
4
4
  return e();
5
5
  }
6
- function pt() {
6
+ function ct() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ee(e) {
10
- e.forEach(Vt);
10
+ e.forEach(Ft);
11
11
  }
12
- function tt(e) {
12
+ function et(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Xt(e, t) {
15
+ function kt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let fe;
19
19
  function _e(e, t) {
20
20
  return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
21
21
  }
22
- function Gr(e) {
22
+ function Nr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function zt(e, ...t) {
25
+ function jt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function zt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Ur(e, t, r) {
35
- e.$$.on_destroy.push(zt(t, r));
34
+ function Mr(e, t, r) {
35
+ e.$$.on_destroy.push(jt(t, r));
36
36
  }
37
37
  function H(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Dr(e, t, r) {
41
- const n = Fr(e);
40
+ function Rr(e, t, r) {
41
+ const n = $r(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = C("style");
44
- i.id = t, i.textContent = r, kr(n, i);
44
+ i.id = t, i.textContent = r, Gr(n, i);
45
45
  }
46
46
  }
47
- function Fr(e) {
47
+ function $r(e) {
48
48
  if (!e) return document;
49
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
50
50
  return t && /** @type {ShadowRoot} */
@@ -53,7 +53,7 @@ function Fr(e) {
53
53
  t
54
54
  ) : e.ownerDocument;
55
55
  }
56
- function kr(e, t) {
56
+ function Gr(e, t) {
57
57
  return H(
58
58
  /** @type {Document} */
59
59
  e.head || e,
@@ -66,7 +66,7 @@ function $(e, t, r) {
66
66
  function N(e) {
67
67
  e.parentNode && e.parentNode.removeChild(e);
68
68
  }
69
- function Wt(e, t) {
69
+ function Vt(e, t) {
70
70
  for (let r = 0; r < e.length; r += 1)
71
71
  e[r] && e[r].d(t);
72
72
  }
@@ -82,7 +82,7 @@ function k() {
82
82
  function Q(e, t, r, n) {
83
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
84
  }
85
- function jr(e) {
85
+ function Ur(e) {
86
86
  return function(t) {
87
87
  return t.stopPropagation(), e.call(this, t);
88
88
  };
@@ -90,10 +90,10 @@ function jr(e) {
90
90
  function S(e, t, r) {
91
91
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
92
92
  }
93
- function Vr(e) {
93
+ function Dr(e) {
94
94
  return Array.from(e.childNodes);
95
95
  }
96
- function rt(e, t) {
96
+ function tt(e, t) {
97
97
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
98
98
  t);
99
99
  }
@@ -101,7 +101,7 @@ function Ie(e, t, r, n) {
101
101
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
102
102
  }
103
103
  let de;
104
- function Xr() {
104
+ function Fr() {
105
105
  if (de === void 0) {
106
106
  de = !1;
107
107
  try {
@@ -112,14 +112,14 @@ function Xr() {
112
112
  }
113
113
  return de;
114
114
  }
115
- function zr(e, t) {
115
+ function kr(e, t) {
116
116
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
117
117
  const n = C("iframe");
118
118
  n.setAttribute(
119
119
  "style",
120
120
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
121
121
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
122
- const i = Xr();
122
+ const i = Fr();
123
123
  let o;
124
124
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Q(
125
125
  window,
@@ -134,7 +134,7 @@ function zr(e, t) {
134
134
  (i || o && n.contentWindow) && o(), N(n);
135
135
  };
136
136
  }
137
- function Wr(e) {
137
+ function jr(e) {
138
138
  const t = {};
139
139
  return e.childNodes.forEach(
140
140
  /** @param {Element} node */
@@ -147,22 +147,22 @@ let ae;
147
147
  function se(e) {
148
148
  ae = e;
149
149
  }
150
- function Zr() {
150
+ function Vr() {
151
151
  if (!ae) throw new Error("Function called outside component initialization");
152
152
  return ae;
153
153
  }
154
- function Qr(e) {
155
- Zr().$$.on_mount.push(e);
154
+ function Xr(e) {
155
+ Vr().$$.on_mount.push(e);
156
156
  }
157
- const z = [], Ee = [];
158
- let W = [];
159
- const mt = [], Jr = /* @__PURE__ */ Promise.resolve();
160
- let Fe = !1;
161
- function Yr() {
162
- Fe || (Fe = !0, Jr.then(L));
157
+ const W = [], xe = [];
158
+ let z = [];
159
+ const ft = [], Wr = /* @__PURE__ */ Promise.resolve();
160
+ let De = !1;
161
+ function zr() {
162
+ De || (De = !0, Wr.then(L));
163
163
  }
164
- function xe(e) {
165
- W.push(e);
164
+ function Ee(e) {
165
+ z.push(e);
166
166
  }
167
167
  const Le = /* @__PURE__ */ new Set();
168
168
  let V = 0;
@@ -172,57 +172,57 @@ function L() {
172
172
  const e = ae;
173
173
  do {
174
174
  try {
175
- for (; V < z.length; ) {
176
- const t = z[V];
177
- V++, se(t), qr(t.$$);
175
+ for (; V < W.length; ) {
176
+ const t = W[V];
177
+ V++, se(t), Zr(t.$$);
178
178
  }
179
179
  } catch (t) {
180
- throw z.length = 0, V = 0, t;
180
+ throw W.length = 0, V = 0, t;
181
181
  }
182
- for (se(null), z.length = 0, V = 0; Ee.length; ) Ee.pop()();
183
- for (let t = 0; t < W.length; t += 1) {
184
- const r = W[t];
182
+ for (se(null), W.length = 0, V = 0; xe.length; ) xe.pop()();
183
+ for (let t = 0; t < z.length; t += 1) {
184
+ const r = z[t];
185
185
  Le.has(r) || (Le.add(r), r());
186
186
  }
187
- W.length = 0;
188
- } while (z.length);
189
- for (; mt.length; )
190
- mt.pop()();
191
- Fe = !1, Le.clear(), se(e);
187
+ z.length = 0;
188
+ } while (W.length);
189
+ for (; ft.length; )
190
+ ft.pop()();
191
+ De = !1, Le.clear(), se(e);
192
192
  }
193
- function qr(e) {
193
+ function Zr(e) {
194
194
  if (e.fragment !== null) {
195
195
  e.update(), ee(e.before_update);
196
196
  const t = e.dirty;
197
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xe);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
198
198
  }
199
199
  }
200
- function Kr(e) {
200
+ function Qr(e) {
201
201
  const t = [], r = [];
202
- W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
202
+ z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
203
203
  }
204
- const en = /* @__PURE__ */ new Set();
205
- function tn(e, t) {
206
- e && e.i && (en.delete(e), e.i(t));
204
+ const Jr = /* @__PURE__ */ new Set();
205
+ function qr(e, t) {
206
+ e && e.i && (Jr.delete(e), e.i(t));
207
207
  }
208
208
  function Se(e) {
209
209
  return e?.length !== void 0 ? e : Array.from(e);
210
210
  }
211
- function rn(e, t, r) {
211
+ function Yr(e, t, r) {
212
212
  const { fragment: n, after_update: i } = e.$$;
213
- n && n.m(t, r), xe(() => {
214
- const o = e.$$.on_mount.map(Vt).filter(tt);
213
+ n && n.m(t, r), Ee(() => {
214
+ const o = e.$$.on_mount.map(Ft).filter(et);
215
215
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
216
- }), i.forEach(xe);
216
+ }), i.forEach(Ee);
217
217
  }
218
- function nn(e, t) {
218
+ function Kr(e, t) {
219
219
  const r = e.$$;
220
- r.fragment !== null && (Kr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
220
+ r.fragment !== null && (Qr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
221
221
  }
222
- function on(e, t) {
223
- e.$$.dirty[0] === -1 && (z.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
+ function en(e, t) {
223
+ e.$$.dirty[0] === -1 && (W.push(e), zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
224
224
  }
225
- function sn(e, t, r, n, i, o, s = null, a = [-1]) {
225
+ function tn(e, t, r, n, i, o, s = null, a = [-1]) {
226
226
  const u = ae;
227
227
  se(e);
228
228
  const h = e.$$ = {
@@ -232,7 +232,7 @@ function sn(e, t, r, n, i, o, s = null, a = [-1]) {
232
232
  props: o,
233
233
  update: O,
234
234
  not_equal: i,
235
- bound: pt(),
235
+ bound: ct(),
236
236
  // lifecycle
237
237
  on_mount: [],
238
238
  on_destroy: [],
@@ -241,7 +241,7 @@ function sn(e, t, r, n, i, o, s = null, a = [-1]) {
241
241
  after_update: [],
242
242
  context: new Map(t.context || (u ? u.$$.context : [])),
243
243
  // everything else
244
- callbacks: pt(),
244
+ callbacks: ct(),
245
245
  dirty: a,
246
246
  skip_bound: !1,
247
247
  root: t.target || u.$$.root
@@ -250,19 +250,19 @@ function sn(e, t, r, n, i, o, s = null, a = [-1]) {
250
250
  let l = !1;
251
251
  if (h.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
252
252
  const d = p.length ? p[0] : f;
253
- return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l && on(e, c)), f;
253
+ return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l && en(e, c)), f;
254
254
  }) : [], h.update(), l = !0, ee(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
255
255
  if (t.hydrate) {
256
- const c = Vr(t.target);
256
+ const c = Dr(t.target);
257
257
  h.fragment && h.fragment.l(c), c.forEach(N);
258
258
  } else
259
259
  h.fragment && h.fragment.c();
260
- t.intro && tn(e.$$.fragment), rn(e, t.target, t.anchor), L();
260
+ t.intro && qr(e.$$.fragment), Yr(e, t.target, t.anchor), L();
261
261
  }
262
262
  se(u);
263
263
  }
264
- let Zt;
265
- typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
264
+ let Xt;
265
+ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
266
266
  /** The Svelte component constructor */
267
267
  $$ctor;
268
268
  /** Slots */
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
321
321
  };
322
322
  if (await Promise.resolve(), !this.$$cn || this.$$c)
323
323
  return;
324
- const t = {}, r = Wr(this);
324
+ const t = {}, r = jr(this);
325
325
  for (const i of this.$$s)
326
326
  i in r && (t[i] = [e(i)]);
327
327
  for (const i of this.attributes) {
@@ -408,8 +408,8 @@ function be(e, t, r, n) {
408
408
  return t;
409
409
  }
410
410
  }
411
- function an(e, t, r, n, i, o) {
412
- let s = class extends Zt {
411
+ function rn(e, t, r, n, i, o) {
412
+ let s = class extends Xt {
413
413
  constructor() {
414
414
  super(e, r, i), this.$$p_d = t;
415
415
  }
@@ -437,7 +437,7 @@ function an(e, t, r, n, i, o) {
437
437
  }), e.element = /** @type {any} */
438
438
  s, s;
439
439
  }
440
- class ln {
440
+ class nn {
441
441
  /**
442
442
  * ### PRIVATE API
443
443
  *
@@ -456,7 +456,7 @@ class ln {
456
456
  $$set = void 0;
457
457
  /** @returns {void} */
458
458
  $destroy() {
459
- nn(this, 1), this.$destroy = O;
459
+ Kr(this, 1), this.$destroy = O;
460
460
  }
461
461
  /**
462
462
  * @template {Extract<keyof Events, string>} K
@@ -465,7 +465,7 @@ class ln {
465
465
  * @returns {() => void}
466
466
  */
467
467
  $on(t, r) {
468
- if (!tt(r))
468
+ if (!et(r))
469
469
  return O;
470
470
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
471
471
  return n.push(r), () => {
@@ -478,13 +478,13 @@ class ln {
478
478
  * @returns {void}
479
479
  */
480
480
  $set(t) {
481
- this.$$set && !Gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
481
+ this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
482
  }
483
483
  }
484
- const un = "4";
485
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(un);
484
+ const on = "4";
485
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
486
486
  const X = [];
487
- function hn(e, t) {
487
+ function sn(e, t) {
488
488
  return {
489
489
  subscribe: Ce(e, t).subscribe
490
490
  };
@@ -493,7 +493,7 @@ function Ce(e, t = O) {
493
493
  let r;
494
494
  const n = /* @__PURE__ */ new Set();
495
495
  function i(a) {
496
- if (Xt(e, a) && (e = a, r)) {
496
+ if (kt(e, a) && (e = a, r)) {
497
497
  const u = !X.length;
498
498
  for (const h of n)
499
499
  h[1](), X.push(h, e);
@@ -520,7 +520,7 @@ function te(e, t, r) {
520
520
  if (!i.every(Boolean))
521
521
  throw new Error("derived() expects stores as input, got a falsy value");
522
522
  const o = t.length < 2;
523
- return hn(r, (s, a) => {
523
+ return sn(r, (s, a) => {
524
524
  let u = !1;
525
525
  const h = [];
526
526
  let l = 0, c = O;
@@ -529,9 +529,9 @@ function te(e, t, r) {
529
529
  return;
530
530
  c();
531
531
  const d = t(n ? h[0] : h, s, a);
532
- o ? s(d) : c = tt(d) ? d : O;
532
+ o ? s(d) : c = et(d) ? d : O;
533
533
  }, p = i.map(
534
- (d, g) => zt(
534
+ (d, g) => jt(
535
535
  d,
536
536
  (m) => {
537
537
  h[g] = m, l &= ~(1 << g), u && f();
@@ -546,70 +546,70 @@ function te(e, t, r) {
546
546
  };
547
547
  });
548
548
  }
549
- function cn(e) {
549
+ function an(e) {
550
550
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
551
551
  }
552
- var fn = function(t) {
553
- return dn(t) && !pn(t);
552
+ var ln = function(t) {
553
+ return un(t) && !hn(t);
554
554
  };
555
- function dn(e) {
555
+ function un(e) {
556
556
  return !!e && typeof e == "object";
557
557
  }
558
- function pn(e) {
558
+ function hn(e) {
559
559
  var t = Object.prototype.toString.call(e);
560
- return t === "[object RegExp]" || t === "[object Date]" || gn(e);
560
+ return t === "[object RegExp]" || t === "[object Date]" || dn(e);
561
561
  }
562
- var mn = typeof Symbol == "function" && Symbol.for, bn = mn ? Symbol.for("react.element") : 60103;
563
- function gn(e) {
564
- return e.$$typeof === bn;
562
+ var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
563
+ function dn(e) {
564
+ return e.$$typeof === fn;
565
565
  }
566
- function vn(e) {
566
+ function pn(e) {
567
567
  return Array.isArray(e) ? [] : {};
568
568
  }
569
569
  function le(e, t) {
570
- return t.clone !== !1 && t.isMergeableObject(e) ? J(vn(e), e, t) : e;
570
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(pn(e), e, t) : e;
571
571
  }
572
- function yn(e, t, r) {
572
+ function mn(e, t, r) {
573
573
  return e.concat(t).map(function(n) {
574
574
  return le(n, r);
575
575
  });
576
576
  }
577
- function _n(e, t) {
577
+ function bn(e, t) {
578
578
  if (!t.customMerge)
579
579
  return J;
580
580
  var r = t.customMerge(e);
581
581
  return typeof r == "function" ? r : J;
582
582
  }
583
- function En(e) {
583
+ function gn(e) {
584
584
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
585
585
  return Object.propertyIsEnumerable.call(e, t);
586
586
  }) : [];
587
587
  }
588
- function bt(e) {
589
- return Object.keys(e).concat(En(e));
588
+ function dt(e) {
589
+ return Object.keys(e).concat(gn(e));
590
590
  }
591
- function Qt(e, t) {
591
+ function Wt(e, t) {
592
592
  try {
593
593
  return t in e;
594
594
  } catch {
595
595
  return !1;
596
596
  }
597
597
  }
598
- function xn(e, t) {
599
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
598
+ function vn(e, t) {
599
+ return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
600
600
  }
601
- function Sn(e, t, r) {
601
+ function yn(e, t, r) {
602
602
  var n = {};
603
- return r.isMergeableObject(e) && bt(e).forEach(function(i) {
603
+ return r.isMergeableObject(e) && dt(e).forEach(function(i) {
604
604
  n[i] = le(e[i], r);
605
- }), bt(t).forEach(function(i) {
606
- xn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
605
+ }), dt(t).forEach(function(i) {
606
+ vn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = bn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
607
607
  }), n;
608
608
  }
609
609
  function J(e, t, r) {
610
- r = r || {}, r.arrayMerge = r.arrayMerge || yn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = le;
610
+ r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || ln, r.cloneUnlessOtherwiseSpecified = le;
611
611
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
612
- return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : le(t, r);
612
+ return o ? n ? r.arrayMerge(e, t, r) : yn(e, t, r) : le(t, r);
613
613
  }
614
614
  J.all = function(t, r) {
615
615
  if (!Array.isArray(t))
@@ -618,19 +618,19 @@ J.all = function(t, r) {
618
618
  return J(n, i, r);
619
619
  }, {});
620
620
  };
621
- var wn = J, Tn = wn;
622
- const Hn = /* @__PURE__ */ cn(Tn);
623
- var ke = function(e, t) {
624
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
621
+ var _n = J, xn = _n;
622
+ const En = /* @__PURE__ */ an(xn);
623
+ var Fe = function(e, t) {
624
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
625
625
  r.__proto__ = n;
626
626
  } || function(r, n) {
627
627
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
628
- }, ke(e, t);
628
+ }, Fe(e, t);
629
629
  };
630
630
  function U(e, t) {
631
631
  if (typeof t != "function" && t !== null)
632
632
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
633
- ke(e, t);
633
+ Fe(e, t);
634
634
  function r() {
635
635
  this.constructor = e;
636
636
  }
@@ -645,7 +645,7 @@ var _ = function() {
645
645
  return t;
646
646
  }, _.apply(this, arguments);
647
647
  };
648
- function Cn(e, t) {
648
+ function Sn(e, t) {
649
649
  var r = {};
650
650
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
651
651
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -653,7 +653,7 @@ function Cn(e, t) {
653
653
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
654
654
  return r;
655
655
  }
656
- function je(e) {
656
+ function ke(e) {
657
657
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
658
658
  if (r) return r.call(e);
659
659
  if (e && typeof e.length == "number") return {
@@ -663,7 +663,7 @@ function je(e) {
663
663
  };
664
664
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
665
665
  }
666
- function Ve(e, t) {
666
+ function je(e, t) {
667
667
  var r = typeof Symbol == "function" && e[Symbol.iterator];
668
668
  if (!r) return e;
669
669
  var n = r.call(e), i, o = [], s;
@@ -686,55 +686,53 @@ function Z(e, t, r) {
686
686
  return e.concat(o || Array.prototype.slice.call(t));
687
687
  }
688
688
  function Ne(e, t) {
689
- var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Bn;
689
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Pn, i = t && t.strategy ? t.strategy : Hn;
690
690
  return i(e, {
691
691
  cache: r,
692
692
  serializer: n
693
693
  });
694
694
  }
695
- function Pn(e) {
695
+ function wn(e) {
696
696
  return e == null || typeof e == "number" || typeof e == "boolean";
697
697
  }
698
- function Jt(e, t, r, n) {
699
- var i = Pn(n) ? n : r(n), o = t.get(i);
698
+ function Tn(e, t, r, n) {
699
+ var i = wn(n) ? n : r(n), o = t.get(i);
700
700
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
701
701
  }
702
- function Yt(e, t, r) {
702
+ function zt(e, t, r) {
703
703
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
704
704
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
705
705
  }
706
- function nt(e, t, r, n, i) {
706
+ function Zt(e, t, r, n, i) {
707
707
  return r.bind(t, e, n, i);
708
708
  }
709
- function Bn(e, t) {
710
- var r = e.length === 1 ? Jt : Yt;
711
- return nt(e, this, r, t.cache.create(), t.serializer);
712
- }
713
- function An(e, t) {
714
- return nt(e, this, Yt, t.cache.create(), t.serializer);
709
+ function Hn(e, t) {
710
+ var r = e.length === 1 ? Tn : zt;
711
+ return Zt(e, this, r, t.cache.create(), t.serializer);
715
712
  }
716
- function On(e, t) {
717
- return nt(e, this, Jt, t.cache.create(), t.serializer);
713
+ function Cn(e, t) {
714
+ return Zt(e, this, zt, t.cache.create(), t.serializer);
718
715
  }
719
- var In = function() {
716
+ var Pn = function() {
720
717
  return JSON.stringify(arguments);
721
- };
722
- function it() {
723
- this.cache = /* @__PURE__ */ Object.create(null);
724
- }
725
- it.prototype.get = function(e) {
726
- return this.cache[e];
727
- };
728
- it.prototype.set = function(e, t) {
729
- this.cache[e] = t;
730
- };
731
- var Ln = {
718
+ }, Bn = (
719
+ /** @class */
720
+ function() {
721
+ function e() {
722
+ this.cache = /* @__PURE__ */ Object.create(null);
723
+ }
724
+ return e.prototype.get = function(t) {
725
+ return this.cache[t];
726
+ }, e.prototype.set = function(t, r) {
727
+ this.cache[t] = r;
728
+ }, e;
729
+ }()
730
+ ), An = {
732
731
  create: function() {
733
- return new it();
732
+ return new Bn();
734
733
  }
735
734
  }, Me = {
736
- variadic: An,
737
- monadic: On
735
+ variadic: Cn
738
736
  }, v;
739
737
  (function(e) {
740
738
  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";
@@ -743,47 +741,47 @@ var w;
743
741
  (function(e) {
744
742
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
745
743
  })(w || (w = {}));
746
- var Y;
744
+ var q;
747
745
  (function(e) {
748
746
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
749
- })(Y || (Y = {}));
750
- function gt(e) {
747
+ })(q || (q = {}));
748
+ function pt(e) {
751
749
  return e.type === w.literal;
752
750
  }
753
- function Nn(e) {
751
+ function On(e) {
754
752
  return e.type === w.argument;
755
753
  }
756
- function qt(e) {
754
+ function Qt(e) {
757
755
  return e.type === w.number;
758
756
  }
759
- function Kt(e) {
757
+ function Jt(e) {
760
758
  return e.type === w.date;
761
759
  }
762
- function er(e) {
760
+ function qt(e) {
763
761
  return e.type === w.time;
764
762
  }
765
- function tr(e) {
763
+ function Yt(e) {
766
764
  return e.type === w.select;
767
765
  }
768
- function rr(e) {
766
+ function Kt(e) {
769
767
  return e.type === w.plural;
770
768
  }
771
- function Mn(e) {
769
+ function In(e) {
772
770
  return e.type === w.pound;
773
771
  }
774
- function nr(e) {
772
+ function er(e) {
775
773
  return e.type === w.tag;
776
774
  }
777
- function ir(e) {
778
- return !!(e && typeof e == "object" && e.type === Y.number);
775
+ function tr(e) {
776
+ return !!(e && typeof e == "object" && e.type === q.number);
779
777
  }
780
- function Xe(e) {
781
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
778
+ function Ve(e) {
779
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
782
780
  }
783
- var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
784
- function $n(e) {
781
+ var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[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;
782
+ function Nn(e) {
785
783
  var t = {};
786
- return e.replace(Rn, function(r) {
784
+ return e.replace(Ln, function(r) {
787
785
  var n = r.length;
788
786
  switch (r[0]) {
789
787
  case "G":
@@ -872,11 +870,11 @@ function $n(e) {
872
870
  return "";
873
871
  }), t;
874
872
  }
875
- var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
876
- function Un(e) {
873
+ var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
874
+ function Rn(e) {
877
875
  if (e.length === 0)
878
876
  throw new Error("Number skeleton cannot be empty");
879
- for (var t = e.split(Gn).filter(function(f) {
877
+ for (var t = e.split(Mn).filter(function(f) {
880
878
  return f.length > 0;
881
879
  }), r = [], n = 0, i = t; n < i.length; n++) {
882
880
  var o = i[n], s = o.split("/");
@@ -891,17 +889,17 @@ function Un(e) {
891
889
  }
892
890
  return r;
893
891
  }
894
- function Dn(e) {
892
+ function $n(e) {
895
893
  return e.replace(/^(.*?)-/, "");
896
894
  }
897
- var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
898
- function yt(e) {
895
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
896
+ function bt(e) {
899
897
  var t = {};
900
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
898
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
901
899
  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)), "";
902
900
  }), t;
903
901
  }
904
- function lr(e) {
902
+ function or(e) {
905
903
  switch (e) {
906
904
  case "sign-auto":
907
905
  return {
@@ -941,7 +939,7 @@ function lr(e) {
941
939
  };
942
940
  }
943
941
  }
944
- function kn(e) {
942
+ function Un(e) {
945
943
  var t;
946
944
  if (e[0] === "E" && e[1] === "E" ? (t = {
947
945
  notation: "engineering"
@@ -949,17 +947,17 @@ function kn(e) {
949
947
  notation: "scientific"
950
948
  }, e = e.slice(1)), t) {
951
949
  var r = e.slice(0, 2);
952
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
950
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
953
951
  throw new Error("Malformed concise eng/scientific notation");
954
952
  t.minimumIntegerDigits = e.length;
955
953
  }
956
954
  return t;
957
955
  }
958
- function _t(e) {
959
- var t = {}, r = lr(e);
956
+ function gt(e) {
957
+ var t = {}, r = or(e);
960
958
  return r || t;
961
959
  }
962
- function jn(e) {
960
+ function Dn(e) {
963
961
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
964
962
  var i = n[r];
965
963
  switch (i.stem) {
@@ -983,7 +981,7 @@ function jn(e) {
983
981
  continue;
984
982
  case "measure-unit":
985
983
  case "unit":
986
- t.style = "unit", t.unit = Dn(i.options[0]);
984
+ t.style = "unit", t.unit = $n(i.options[0]);
987
985
  continue;
988
986
  case "compact-short":
989
987
  case "K":
@@ -995,12 +993,12 @@ function jn(e) {
995
993
  continue;
996
994
  case "scientific":
997
995
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
998
- return _(_({}, u), _t(h));
996
+ return _(_({}, u), gt(h));
999
997
  }, {}));
1000
998
  continue;
1001
999
  case "engineering":
1002
1000
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1003
- return _(_({}, u), _t(h));
1001
+ return _(_({}, u), gt(h));
1004
1002
  }, {}));
1005
1003
  continue;
1006
1004
  case "notation-simple":
@@ -1045,7 +1043,7 @@ function jn(e) {
1045
1043
  case "integer-width":
1046
1044
  if (i.options.length > 1)
1047
1045
  throw new RangeError("integer-width stems only accept a single optional option");
1048
- i.options[0].replace(Fn, function(u, h, l, c, f, p) {
1046
+ i.options[0].replace(Gn, function(u, h, l, c, f, p) {
1049
1047
  if (h)
1050
1048
  t.minimumIntegerDigits = l.length;
1051
1049
  else {
@@ -1058,27 +1056,27 @@ function jn(e) {
1058
1056
  });
1059
1057
  continue;
1060
1058
  }
1061
- if (ar.test(i.stem)) {
1059
+ if (ir.test(i.stem)) {
1062
1060
  t.minimumIntegerDigits = i.stem.length;
1063
1061
  continue;
1064
1062
  }
1065
- if (vt.test(i.stem)) {
1063
+ if (mt.test(i.stem)) {
1066
1064
  if (i.options.length > 1)
1067
1065
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1068
- i.stem.replace(vt, function(u, h, l, c, f, p) {
1066
+ i.stem.replace(mt, function(u, h, l, c, f, p) {
1069
1067
  return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1070
1068
  });
1071
1069
  var o = i.options[0];
1072
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
1070
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
1073
1071
  continue;
1074
1072
  }
1075
- if (sr.test(i.stem)) {
1076
- t = _(_({}, t), yt(i.stem));
1073
+ if (nr.test(i.stem)) {
1074
+ t = _(_({}, t), bt(i.stem));
1077
1075
  continue;
1078
1076
  }
1079
- var s = lr(i.stem);
1077
+ var s = or(i.stem);
1080
1078
  s && (t = _(_({}, t), s));
1081
- var a = kn(i.stem);
1079
+ var a = Un(i.stem);
1082
1080
  a && (t = _(_({}, t), a));
1083
1081
  }
1084
1082
  return t;
@@ -2498,13 +2496,13 @@ var pe = {
2498
2496
  "h"
2499
2497
  ]
2500
2498
  };
2501
- function Vn(e, t) {
2499
+ function Fn(e, t) {
2502
2500
  for (var r = "", n = 0; n < e.length; n++) {
2503
2501
  var i = e.charAt(n);
2504
2502
  if (i === "j") {
2505
2503
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2506
2504
  o++, n++;
2507
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Xn(t);
2505
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = kn(t);
2508
2506
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2509
2507
  r += u;
2510
2508
  for (; s-- > 0; )
@@ -2513,7 +2511,7 @@ function Vn(e, t) {
2513
2511
  }
2514
2512
  return r;
2515
2513
  }
2516
- function Xn(e) {
2514
+ function kn(e) {
2517
2515
  var t = e.hourCycle;
2518
2516
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2519
2517
  e.hourCycles && // @ts-ignore
@@ -2535,20 +2533,20 @@ function Xn(e) {
2535
2533
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2536
2534
  return i[0];
2537
2535
  }
2538
- var Re, zn = new RegExp("^".concat(or.source, "*")), Wn = new RegExp("".concat(or.source, "*$"));
2536
+ var Re, jn = new RegExp("^".concat(rr.source, "*")), Vn = new RegExp("".concat(rr.source, "*$"));
2539
2537
  function y(e, t) {
2540
2538
  return { start: e, end: t };
2541
2539
  }
2542
- var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
2540
+ var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, zn = !!Object.fromEntries, Zn = !!String.prototype.codePointAt, Qn = !!String.prototype.trimStart, Jn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Yn = qn ? Number.isSafeInteger : function(e) {
2543
2541
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2544
- }, ze = !0;
2542
+ }, Xe = !0;
2545
2543
  try {
2546
- var ri = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2547
- ze = ((Re = ri.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2544
+ var Kn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2545
+ Xe = ((Re = Kn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2548
2546
  } catch {
2549
- ze = !1;
2547
+ Xe = !1;
2550
2548
  }
2551
- var Et = Zn ? (
2549
+ var vt = Xn ? (
2552
2550
  // Native
2553
2551
  function(t, r, n) {
2554
2552
  return t.startsWith(r, n);
@@ -2558,7 +2556,7 @@ var Et = Zn ? (
2558
2556
  function(t, r, n) {
2559
2557
  return t.slice(n, n + r.length) === r;
2560
2558
  }
2561
- ), We = Qn ? String.fromCodePoint : (
2559
+ ), We = Wn ? String.fromCodePoint : (
2562
2560
  // IE11
2563
2561
  function() {
2564
2562
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2570,9 +2568,9 @@ var Et = Zn ? (
2570
2568
  }
2571
2569
  return n;
2572
2570
  }
2573
- ), xt = (
2571
+ ), yt = (
2574
2572
  // native
2575
- Jn ? Object.fromEntries : (
2573
+ zn ? Object.fromEntries : (
2576
2574
  // Ponyfill
2577
2575
  function(t) {
2578
2576
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2582,7 +2580,7 @@ var Et = Zn ? (
2582
2580
  return r;
2583
2581
  }
2584
2582
  )
2585
- ), ur = Yn ? (
2583
+ ), sr = Zn ? (
2586
2584
  // Native
2587
2585
  function(t, r) {
2588
2586
  return t.codePointAt(r);
@@ -2596,7 +2594,7 @@ var Et = Zn ? (
2596
2594
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2597
2595
  }
2598
2596
  }
2599
- ), ni = qn ? (
2597
+ ), ei = Qn ? (
2600
2598
  // Native
2601
2599
  function(t) {
2602
2600
  return t.trimStart();
@@ -2604,9 +2602,9 @@ var Et = Zn ? (
2604
2602
  ) : (
2605
2603
  // Ponyfill
2606
2604
  function(t) {
2607
- return t.replace(zn, "");
2605
+ return t.replace(jn, "");
2608
2606
  }
2609
- ), ii = Kn ? (
2607
+ ), ti = Jn ? (
2610
2608
  // Native
2611
2609
  function(t) {
2612
2610
  return t.trimEnd();
@@ -2614,32 +2612,32 @@ var Et = Zn ? (
2614
2612
  ) : (
2615
2613
  // Ponyfill
2616
2614
  function(t) {
2617
- return t.replace(Wn, "");
2615
+ return t.replace(Vn, "");
2618
2616
  }
2619
2617
  );
2620
- function hr(e, t) {
2618
+ function ar(e, t) {
2621
2619
  return new RegExp(e, t);
2622
2620
  }
2623
- var Ze;
2624
- if (ze) {
2625
- var St = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2626
- Ze = function(t, r) {
2621
+ var ze;
2622
+ if (Xe) {
2623
+ var _t = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2624
+ ze = function(t, r) {
2627
2625
  var n;
2628
- St.lastIndex = r;
2629
- var i = St.exec(t);
2626
+ _t.lastIndex = r;
2627
+ var i = _t.exec(t);
2630
2628
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2631
2629
  };
2632
2630
  } else
2633
- Ze = function(t, r) {
2631
+ ze = function(t, r) {
2634
2632
  for (var n = []; ; ) {
2635
- var i = ur(t, r);
2636
- if (i === void 0 || cr(i) || li(i))
2633
+ var i = sr(t, r);
2634
+ if (i === void 0 || lr(i) || oi(i))
2637
2635
  break;
2638
2636
  n.push(i), r += i >= 65536 ? 2 : 1;
2639
2637
  }
2640
2638
  return We.apply(void 0, n);
2641
2639
  };
2642
- var oi = (
2640
+ var ri = (
2643
2641
  /** @class */
2644
2642
  function() {
2645
2643
  function e(t, r) {
@@ -2670,7 +2668,7 @@ var oi = (
2670
2668
  if (n)
2671
2669
  break;
2672
2670
  return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2673
- } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2671
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
2674
2672
  var s = this.parseTag(t, r);
2675
2673
  if (s.err)
2676
2674
  return s;
@@ -2703,7 +2701,7 @@ var oi = (
2703
2701
  return o;
2704
2702
  var s = o.val, a = this.clonePosition();
2705
2703
  if (this.bumpIf("</")) {
2706
- if (this.isEOF() || !Qe(this.char()))
2704
+ if (this.isEOF() || !Ze(this.char()))
2707
2705
  return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
2708
2706
  var u = this.clonePosition(), h = this.parseTagName();
2709
2707
  return i !== h ? this.error(v.UNMATCHED_CLOSING_TAG, y(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2721,7 +2719,7 @@ var oi = (
2721
2719
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2722
2720
  }, e.prototype.parseTagName = function() {
2723
2721
  var t = this.offset();
2724
- for (this.bump(); !this.isEOF() && ai(this.char()); )
2722
+ for (this.bump(); !this.isEOF() && ii(this.char()); )
2725
2723
  this.bump();
2726
2724
  return this.message.slice(t, this.offset());
2727
2725
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2750,7 +2748,7 @@ var oi = (
2750
2748
  };
2751
2749
  }, e.prototype.tryParseLeftAngleBracket = function() {
2752
2750
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2753
- !si(this.peek() || 0)) ? (this.bump(), "<") : null;
2751
+ !ni(this.peek() || 0)) ? (this.bump(), "<") : null;
2754
2752
  }, e.prototype.tryParseQuote = function(t) {
2755
2753
  if (this.isEOF() || this.char() !== 39)
2756
2754
  return null;
@@ -2818,7 +2816,7 @@ var oi = (
2818
2816
  return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2819
2817
  }
2820
2818
  }, e.prototype.parseIdentifierIfPossible = function() {
2821
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
2819
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
2822
2820
  this.bumpTo(i);
2823
2821
  var o = this.clonePosition(), s = y(t, o);
2824
2822
  return { value: n, location: s };
@@ -2837,7 +2835,7 @@ var oi = (
2837
2835
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2838
2836
  if (c.err)
2839
2837
  return c;
2840
- var f = ii(c.val);
2838
+ var f = ti(c.val);
2841
2839
  if (f.length === 0)
2842
2840
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2843
2841
  var p = y(l, this.clonePosition());
@@ -2847,8 +2845,8 @@ var oi = (
2847
2845
  if (d.err)
2848
2846
  return d;
2849
2847
  var g = y(i, this.clonePosition());
2850
- if (h && Et(h?.style, "::", 0)) {
2851
- var m = ni(h.style.slice(2));
2848
+ if (h && vt(h?.style, "::", 0)) {
2849
+ var m = ei(h.style.slice(2));
2852
2850
  if (a === "number") {
2853
2851
  var c = this.parseNumberSkeletonFromString(m, h.styleLocation);
2854
2852
  return c.err ? c : {
@@ -2858,16 +2856,16 @@ var oi = (
2858
2856
  } else {
2859
2857
  if (m.length === 0)
2860
2858
  return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
2861
- var x = m;
2862
- this.locale && (x = Vn(m, this.locale));
2859
+ var E = m;
2860
+ this.locale && (E = Fn(m, this.locale));
2863
2861
  var f = {
2864
- type: Y.dateTime,
2865
- pattern: x,
2862
+ type: q.dateTime,
2863
+ pattern: E,
2866
2864
  location: h.styleLocation,
2867
- parsedOptions: this.shouldParseSkeletons ? $n(x) : {}
2868
- }, E = a === "date" ? w.date : w.time;
2865
+ parsedOptions: this.shouldParseSkeletons ? Nn(E) : {}
2866
+ }, x = a === "date" ? w.date : w.time;
2869
2867
  return {
2870
- val: { type: E, value: n, location: g, style: f },
2868
+ val: { type: x, value: n, location: g, style: f },
2871
2869
  err: null
2872
2870
  };
2873
2871
  }
@@ -2910,7 +2908,7 @@ var oi = (
2910
2908
  val: {
2911
2909
  type: w.select,
2912
2910
  value: n,
2913
- options: xt(B.val),
2911
+ options: yt(B.val),
2914
2912
  location: ce
2915
2913
  },
2916
2914
  err: null
@@ -2918,7 +2916,7 @@ var oi = (
2918
2916
  val: {
2919
2917
  type: w.plural,
2920
2918
  value: n,
2921
- options: xt(B.val),
2919
+ options: yt(B.val),
2922
2920
  offset: M,
2923
2921
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2924
2922
  location: ce
@@ -2969,16 +2967,16 @@ var oi = (
2969
2967
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2970
2968
  var n = [];
2971
2969
  try {
2972
- n = Un(t);
2970
+ n = Rn(t);
2973
2971
  } catch {
2974
2972
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2975
2973
  }
2976
2974
  return {
2977
2975
  val: {
2978
- type: Y.number,
2976
+ type: q.number,
2979
2977
  tokens: n,
2980
2978
  location: r,
2981
- parsedOptions: this.shouldParseSkeletons ? jn(n) : {}
2979
+ parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
2982
2980
  },
2983
2981
  err: null
2984
2982
  };
@@ -3026,7 +3024,7 @@ var oi = (
3026
3024
  break;
3027
3025
  }
3028
3026
  var u = y(i, this.clonePosition());
3029
- return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3027
+ return o ? (s *= n, Yn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3030
3028
  }, e.prototype.offset = function() {
3031
3029
  return this.position.offset;
3032
3030
  }, e.prototype.isEOF = function() {
@@ -3041,7 +3039,7 @@ var oi = (
3041
3039
  var t = this.position.offset;
3042
3040
  if (t >= this.message.length)
3043
3041
  throw Error("out of bound");
3044
- var r = ur(this.message, t);
3042
+ var r = sr(this.message, t);
3045
3043
  if (r === void 0)
3046
3044
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3047
3045
  return r;
@@ -3060,7 +3058,7 @@ var oi = (
3060
3058
  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);
3061
3059
  }
3062
3060
  }, e.prototype.bumpIf = function(t) {
3063
- if (Et(this.message, t, this.offset())) {
3061
+ if (vt(this.message, t, this.offset())) {
3064
3062
  for (var r = 0; r < t.length; r++)
3065
3063
  this.bump();
3066
3064
  return !0;
@@ -3082,7 +3080,7 @@ var oi = (
3082
3080
  break;
3083
3081
  }
3084
3082
  }, e.prototype.bumpSpace = function() {
3085
- for (; !this.isEOF() && cr(this.char()); )
3083
+ for (; !this.isEOF() && lr(this.char()); )
3086
3084
  this.bump();
3087
3085
  }, e.prototype.peek = function() {
3088
3086
  if (this.isEOF())
@@ -3092,42 +3090,42 @@ var oi = (
3092
3090
  }, e;
3093
3091
  }()
3094
3092
  );
3095
- function Qe(e) {
3093
+ function Ze(e) {
3096
3094
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3097
3095
  }
3098
- function si(e) {
3099
- return Qe(e) || e === 47;
3096
+ function ni(e) {
3097
+ return Ze(e) || e === 47;
3100
3098
  }
3101
- function ai(e) {
3099
+ function ii(e) {
3102
3100
  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;
3103
3101
  }
3104
- function cr(e) {
3102
+ function lr(e) {
3105
3103
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3106
3104
  }
3107
- function li(e) {
3105
+ function oi(e) {
3108
3106
  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;
3109
3107
  }
3110
- function Je(e) {
3108
+ function Qe(e) {
3111
3109
  e.forEach(function(t) {
3112
- if (delete t.location, tr(t) || rr(t))
3110
+ if (delete t.location, Yt(t) || Kt(t))
3113
3111
  for (var r in t.options)
3114
- delete t.options[r].location, Je(t.options[r].value);
3115
- else qt(t) && ir(t.style) || (Kt(t) || er(t)) && Xe(t.style) ? delete t.style.location : nr(t) && Je(t.children);
3112
+ delete t.options[r].location, Qe(t.options[r].value);
3113
+ else Qt(t) && tr(t.style) || (Jt(t) || qt(t)) && Ve(t.style) ? delete t.style.location : er(t) && Qe(t.children);
3116
3114
  });
3117
3115
  }
3118
- function ui(e, t) {
3116
+ function si(e, t) {
3119
3117
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3120
- var r = new oi(e, t).parse();
3118
+ var r = new ri(e, t).parse();
3121
3119
  if (r.err) {
3122
3120
  var n = SyntaxError(v[r.err.kind]);
3123
3121
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3124
3122
  }
3125
- return t?.captureLocation || Je(r.val), r.val;
3123
+ return t?.captureLocation || Qe(r.val), r.val;
3126
3124
  }
3127
- var q;
3125
+ var Y;
3128
3126
  (function(e) {
3129
3127
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3130
- })(q || (q = {}));
3128
+ })(Y || (Y = {}));
3131
3129
  var Pe = (
3132
3130
  /** @class */
3133
3131
  function(e) {
@@ -3140,30 +3138,30 @@ var Pe = (
3140
3138
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3141
3139
  }, t;
3142
3140
  }(Error)
3143
- ), wt = (
3141
+ ), xt = (
3144
3142
  /** @class */
3145
3143
  function(e) {
3146
3144
  U(t, e);
3147
3145
  function t(r, n, i, o) {
3148
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3146
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3149
3147
  }
3150
3148
  return t;
3151
3149
  }(Pe)
3152
- ), hi = (
3150
+ ), ai = (
3153
3151
  /** @class */
3154
3152
  function(e) {
3155
3153
  U(t, e);
3156
3154
  function t(r, n, i) {
3157
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3155
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3158
3156
  }
3159
3157
  return t;
3160
3158
  }(Pe)
3161
- ), ci = (
3159
+ ), li = (
3162
3160
  /** @class */
3163
3161
  function(e) {
3164
3162
  U(t, e);
3165
3163
  function t(r, n) {
3166
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3164
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3167
3165
  }
3168
3166
  return t;
3169
3167
  }(Pe)
@@ -3171,17 +3169,17 @@ var Pe = (
3171
3169
  (function(e) {
3172
3170
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3173
3171
  })(P || (P = {}));
3174
- function fi(e) {
3172
+ function ui(e) {
3175
3173
  return e.length < 2 ? e : e.reduce(function(t, r) {
3176
3174
  var n = t[t.length - 1];
3177
3175
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3178
3176
  }, []);
3179
3177
  }
3180
- function di(e) {
3178
+ function hi(e) {
3181
3179
  return typeof e == "function";
3182
3180
  }
3183
3181
  function ge(e, t, r, n, i, o, s) {
3184
- if (e.length === 1 && gt(e[0]))
3182
+ if (e.length === 1 && pt(e[0]))
3185
3183
  return [
3186
3184
  {
3187
3185
  type: P.literal,
@@ -3190,14 +3188,14 @@ function ge(e, t, r, n, i, o, s) {
3190
3188
  ];
3191
3189
  for (var a = [], u = 0, h = e; u < h.length; u++) {
3192
3190
  var l = h[u];
3193
- if (gt(l)) {
3191
+ if (pt(l)) {
3194
3192
  a.push({
3195
3193
  type: P.literal,
3196
3194
  value: l.value
3197
3195
  });
3198
3196
  continue;
3199
3197
  }
3200
- if (Mn(l)) {
3198
+ if (In(l)) {
3201
3199
  typeof o == "number" && a.push({
3202
3200
  type: P.literal,
3203
3201
  value: r.getNumberFormat(t).format(o)
@@ -3206,86 +3204,86 @@ function ge(e, t, r, n, i, o, s) {
3206
3204
  }
3207
3205
  var c = l.value;
3208
3206
  if (!(i && c in i))
3209
- throw new ci(c, s);
3207
+ throw new li(c, s);
3210
3208
  var f = i[c];
3211
- if (Nn(l)) {
3209
+ if (On(l)) {
3212
3210
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3213
3211
  type: typeof f == "string" ? P.literal : P.object,
3214
3212
  value: f
3215
3213
  });
3216
3214
  continue;
3217
3215
  }
3218
- if (Kt(l)) {
3219
- var p = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3216
+ if (Jt(l)) {
3217
+ var p = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
3220
3218
  a.push({
3221
3219
  type: P.literal,
3222
3220
  value: r.getDateTimeFormat(t, p).format(f)
3223
3221
  });
3224
3222
  continue;
3225
3223
  }
3226
- if (er(l)) {
3227
- var p = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3224
+ if (qt(l)) {
3225
+ var p = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
3228
3226
  a.push({
3229
3227
  type: P.literal,
3230
3228
  value: r.getDateTimeFormat(t, p).format(f)
3231
3229
  });
3232
3230
  continue;
3233
3231
  }
3234
- if (qt(l)) {
3235
- var p = typeof l.style == "string" ? n.number[l.style] : ir(l.style) ? l.style.parsedOptions : void 0;
3232
+ if (Qt(l)) {
3233
+ var p = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3236
3234
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3237
3235
  type: P.literal,
3238
3236
  value: r.getNumberFormat(t, p).format(f)
3239
3237
  });
3240
3238
  continue;
3241
3239
  }
3242
- if (nr(l)) {
3240
+ if (er(l)) {
3243
3241
  var d = l.children, g = l.value, m = i[g];
3244
- if (!di(m))
3245
- throw new hi(g, "function", s);
3246
- var x = ge(d, t, r, n, i, o), E = m(x.map(function(M) {
3242
+ if (!hi(m))
3243
+ throw new ai(g, "function", s);
3244
+ var E = ge(d, t, r, n, i, o), x = m(E.map(function(M) {
3247
3245
  return M.value;
3248
3246
  }));
3249
- Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(M) {
3247
+ Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(M) {
3250
3248
  return {
3251
3249
  type: typeof M == "string" ? P.literal : P.object,
3252
3250
  value: M
3253
3251
  };
3254
3252
  }));
3255
3253
  }
3256
- if (tr(l)) {
3254
+ if (Yt(l)) {
3257
3255
  var T = l.options[f] || l.options.other;
3258
3256
  if (!T)
3259
- throw new wt(l.value, f, Object.keys(l.options), s);
3257
+ throw new xt(l.value, f, Object.keys(l.options), s);
3260
3258
  a.push.apply(a, ge(T.value, t, r, n, i));
3261
3259
  continue;
3262
3260
  }
3263
- if (rr(l)) {
3261
+ if (Kt(l)) {
3264
3262
  var T = l.options["=".concat(f)];
3265
3263
  if (!T) {
3266
3264
  if (!Intl.PluralRules)
3267
3265
  throw new Pe(`Intl.PluralRules is not available in this environment.
3268
3266
  Try polyfilling it using "@formatjs/intl-pluralrules"
3269
- `, q.MISSING_INTL_API, s);
3267
+ `, Y.MISSING_INTL_API, s);
3270
3268
  var D = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3271
3269
  T = l.options[D] || l.options.other;
3272
3270
  }
3273
3271
  if (!T)
3274
- throw new wt(l.value, f, Object.keys(l.options), s);
3272
+ throw new xt(l.value, f, Object.keys(l.options), s);
3275
3273
  a.push.apply(a, ge(T.value, t, r, n, i, f - (l.offset || 0)));
3276
3274
  continue;
3277
3275
  }
3278
3276
  }
3279
- return fi(a);
3277
+ return ui(a);
3280
3278
  }
3281
- function pi(e, t) {
3279
+ function ci(e, t) {
3282
3280
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3283
3281
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3284
3282
  }, {})) : e;
3285
3283
  }
3286
- function mi(e, t) {
3284
+ function fi(e, t) {
3287
3285
  return t ? Object.keys(e).reduce(function(r, n) {
3288
- return r[n] = pi(e[n], t[n]), r;
3286
+ return r[n] = ci(e[n], t[n]), r;
3289
3287
  }, _({}, e)) : e;
3290
3288
  }
3291
3289
  function $e(e) {
@@ -3302,7 +3300,7 @@ function $e(e) {
3302
3300
  }
3303
3301
  };
3304
3302
  }
3305
- function bi(e) {
3303
+ function di(e) {
3306
3304
  return e === void 0 && (e = {
3307
3305
  number: {},
3308
3306
  dateTime: {},
@@ -3334,7 +3332,7 @@ function bi(e) {
3334
3332
  })
3335
3333
  };
3336
3334
  }
3337
- var gi = (
3335
+ var pi = (
3338
3336
  /** @class */
3339
3337
  function() {
3340
3338
  function e(t, r, n, i) {
@@ -3366,13 +3364,13 @@ var gi = (
3366
3364
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3367
3365
  var s = i || {};
3368
3366
  s.formatters;
3369
- var a = Cn(s, ["formatters"]);
3367
+ var a = Sn(s, ["formatters"]);
3370
3368
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3371
3369
  } else
3372
3370
  this.ast = t;
3373
3371
  if (!Array.isArray(this.ast))
3374
3372
  throw new TypeError("A message must be provided as a String or AST.");
3375
- this.formats = mi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
3373
+ this.formats = fi(e.formats, n), this.formatters = i && i.formatters || di(this.formatterCache);
3376
3374
  }
3377
3375
  return Object.defineProperty(e, "defaultLocale", {
3378
3376
  get: function() {
@@ -3385,7 +3383,7 @@ var gi = (
3385
3383
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3386
3384
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3387
3385
  }
3388
- }, e.__parse = ui, e.formats = {
3386
+ }, e.__parse = si, e.formats = {
3389
3387
  number: {
3390
3388
  integer: {
3391
3389
  maximumFractionDigits: 0
@@ -3446,7 +3444,7 @@ var gi = (
3446
3444
  }, e;
3447
3445
  }()
3448
3446
  );
3449
- function vi(e, t) {
3447
+ function mi(e, t) {
3450
3448
  if (t == null)
3451
3449
  return;
3452
3450
  if (t in e)
@@ -3467,92 +3465,92 @@ function vi(e, t) {
3467
3465
  n = void 0;
3468
3466
  return n;
3469
3467
  }
3470
- const F = {}, yi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), fr = (e, t) => {
3468
+ const F = {}, bi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), ur = (e, t) => {
3471
3469
  if (t == null)
3472
3470
  return;
3473
3471
  if (t in F && e in F[t])
3474
3472
  return F[t][e];
3475
3473
  const r = Be(t);
3476
3474
  for (let n = 0; n < r.length; n++) {
3477
- const i = r[n], o = Ei(i, e);
3475
+ const i = r[n], o = vi(i, e);
3478
3476
  if (o)
3479
- return yi(e, t, o);
3477
+ return bi(e, t, o);
3480
3478
  }
3481
3479
  };
3482
- let ot;
3480
+ let rt;
3483
3481
  const he = Ce({});
3484
- function _i(e) {
3485
- return ot[e] || null;
3482
+ function gi(e) {
3483
+ return rt[e] || null;
3486
3484
  }
3487
- function dr(e) {
3488
- return e in ot;
3485
+ function hr(e) {
3486
+ return e in rt;
3489
3487
  }
3490
- function Ei(e, t) {
3491
- if (!dr(e))
3488
+ function vi(e, t) {
3489
+ if (!hr(e))
3492
3490
  return null;
3493
- const r = _i(e);
3494
- return vi(r, t);
3491
+ const r = gi(e);
3492
+ return mi(r, t);
3495
3493
  }
3496
- function xi(e) {
3494
+ function yi(e) {
3497
3495
  if (e == null)
3498
3496
  return;
3499
3497
  const t = Be(e);
3500
3498
  for (let r = 0; r < t.length; r++) {
3501
3499
  const n = t[r];
3502
- if (dr(n))
3500
+ if (hr(n))
3503
3501
  return n;
3504
3502
  }
3505
3503
  }
3506
- function pr(e, ...t) {
3507
- delete F[e], he.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
3504
+ function cr(e, ...t) {
3505
+ delete F[e], he.update((r) => (r[e] = En.all([r[e] || {}, ...t]), r));
3508
3506
  }
3509
3507
  te(
3510
3508
  [he],
3511
3509
  ([e]) => Object.keys(e)
3512
3510
  );
3513
- he.subscribe((e) => ot = e);
3511
+ he.subscribe((e) => rt = e);
3514
3512
  const ve = {};
3515
- function Si(e, t) {
3513
+ function _i(e, t) {
3516
3514
  ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3517
3515
  }
3518
- function mr(e) {
3516
+ function fr(e) {
3519
3517
  return ve[e];
3520
3518
  }
3521
- function wi(e) {
3519
+ function xi(e) {
3522
3520
  return Be(e).map((t) => {
3523
- const r = mr(t);
3521
+ const r = fr(t);
3524
3522
  return [t, r ? [...r] : []];
3525
3523
  }).filter(([, t]) => t.length > 0);
3526
3524
  }
3527
- function Ye(e) {
3525
+ function Je(e) {
3528
3526
  return e == null ? !1 : Be(e).some(
3529
3527
  (t) => {
3530
3528
  var r;
3531
- return (r = mr(t)) == null ? void 0 : r.size;
3529
+ return (r = fr(t)) == null ? void 0 : r.size;
3532
3530
  }
3533
3531
  );
3534
3532
  }
3535
- function Ti(e, t) {
3533
+ function Ei(e, t) {
3536
3534
  return Promise.all(
3537
- t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
3538
- ).then((n) => pr(e, ...n));
3535
+ t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
3536
+ ).then((n) => cr(e, ...n));
3539
3537
  }
3540
3538
  const oe = {};
3541
- function br(e) {
3542
- if (!Ye(e))
3539
+ function dr(e) {
3540
+ if (!Je(e))
3543
3541
  return e in oe ? oe[e] : Promise.resolve();
3544
- const t = wi(e);
3542
+ const t = xi(e);
3545
3543
  return oe[e] = Promise.all(
3546
3544
  t.map(
3547
- ([r, n]) => Ti(r, n)
3545
+ ([r, n]) => Ei(r, n)
3548
3546
  )
3549
3547
  ).then(() => {
3550
- if (Ye(e))
3551
- return br(e);
3548
+ if (Je(e))
3549
+ return dr(e);
3552
3550
  delete oe[e];
3553
3551
  }), oe[e];
3554
3552
  }
3555
- const Hi = {
3553
+ const Si = {
3556
3554
  number: {
3557
3555
  scientific: { notation: "scientific" },
3558
3556
  engineering: { notation: "engineering" },
@@ -3581,34 +3579,34 @@ const Hi = {
3581
3579
  timeZoneName: "short"
3582
3580
  }
3583
3581
  }
3584
- }, Ci = {
3582
+ }, wi = {
3585
3583
  fallbackLocale: null,
3586
3584
  loadingDelay: 200,
3587
- formats: Hi,
3585
+ formats: Si,
3588
3586
  warnOnMissingMessages: !0,
3589
3587
  handleMissingMessage: void 0,
3590
3588
  ignoreTag: !0
3591
- }, Pi = Ci;
3589
+ }, Ti = wi;
3592
3590
  function K() {
3593
- return Pi;
3591
+ return Ti;
3594
3592
  }
3595
3593
  const Ge = Ce(!1);
3596
- var Bi = Object.defineProperty, Ai = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
3594
+ var Hi = Object.defineProperty, Ci = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
3597
3595
  for (var r in t || (t = {}))
3598
- Ii.call(t, r) && Ht(e, r, t[r]);
3599
- if (Tt)
3600
- for (var r of Tt(t))
3601
- Li.call(t, r) && Ht(e, r, t[r]);
3596
+ Bi.call(t, r) && St(e, r, t[r]);
3597
+ if (Et)
3598
+ for (var r of Et(t))
3599
+ Ai.call(t, r) && St(e, r, t[r]);
3602
3600
  return e;
3603
- }, Mi = (e, t) => Ai(e, Oi(t));
3601
+ }, Ii = (e, t) => Ci(e, Pi(t));
3604
3602
  let qe;
3605
3603
  const we = Ce(null);
3606
- function Ct(e) {
3604
+ function wt(e) {
3607
3605
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3608
3606
  }
3609
3607
  function Be(e, t = K().fallbackLocale) {
3610
- const r = Ct(e);
3611
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3608
+ const r = wt(e);
3609
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3612
3610
  }
3613
3611
  function j() {
3614
3612
  return qe ?? void 0;
@@ -3616,22 +3614,22 @@ function j() {
3616
3614
  we.subscribe((e) => {
3617
3615
  qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3618
3616
  });
3619
- const Ri = (e) => {
3620
- if (e && xi(e) && Ye(e)) {
3617
+ const Li = (e) => {
3618
+ if (e && yi(e) && Je(e)) {
3621
3619
  const { loadingDelay: t } = K();
3622
3620
  let r;
3623
3621
  return typeof window < "u" && j() != null && t ? r = window.setTimeout(
3624
3622
  () => Ge.set(!0),
3625
3623
  t
3626
- ) : Ge.set(!0), br(e).then(() => {
3624
+ ) : Ge.set(!0), dr(e).then(() => {
3627
3625
  we.set(e);
3628
3626
  }).finally(() => {
3629
3627
  clearTimeout(r), Ge.set(!1);
3630
3628
  });
3631
3629
  }
3632
3630
  return we.set(e);
3633
- }, re = Mi(Ni({}, we), {
3634
- set: Ri
3631
+ }, re = Ii(Oi({}, we), {
3632
+ set: Li
3635
3633
  }), Ae = (e) => {
3636
3634
  const t = /* @__PURE__ */ Object.create(null);
3637
3635
  return (n) => {
@@ -3639,20 +3637,20 @@ const Ri = (e) => {
3639
3637
  return i in t ? t[i] : t[i] = e(n);
3640
3638
  };
3641
3639
  };
3642
- var $i = Object.defineProperty, Te = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
3640
+ var Ni = Object.defineProperty, Te = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
3643
3641
  for (var r in t || (t = {}))
3644
- gr.call(t, r) && Pt(e, r, t[r]);
3642
+ pr.call(t, r) && Tt(e, r, t[r]);
3645
3643
  if (Te)
3646
3644
  for (var r of Te(t))
3647
- vr.call(t, r) && Pt(e, r, t[r]);
3645
+ mr.call(t, r) && Tt(e, r, t[r]);
3648
3646
  return e;
3649
3647
  }, ne = (e, t) => {
3650
3648
  var r = {};
3651
3649
  for (var n in e)
3652
- gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3650
+ pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3653
3651
  if (e != null && Te)
3654
3652
  for (var n of Te(e))
3655
- t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
3653
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3656
3654
  return r;
3657
3655
  };
3658
3656
  const ue = (e, t) => {
@@ -3660,21 +3658,21 @@ const ue = (e, t) => {
3660
3658
  if (e in r && t in r[e])
3661
3659
  return r[e][t];
3662
3660
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3663
- }, Gi = Ae(
3661
+ }, Mi = Ae(
3664
3662
  (e) => {
3665
3663
  var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3666
3664
  if (r == null)
3667
3665
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3668
3666
  return n && (i = ue("number", n)), new Intl.NumberFormat(r, i);
3669
3667
  }
3670
- ), Ui = Ae(
3668
+ ), Ri = Ae(
3671
3669
  (e) => {
3672
3670
  var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3673
3671
  if (r == null)
3674
3672
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3675
3673
  return n ? i = ue("date", n) : Object.keys(i).length === 0 && (i = ue("date", "short")), new Intl.DateTimeFormat(r, i);
3676
3674
  }
3677
- ), Di = Ae(
3675
+ ), $i = Ae(
3678
3676
  (e) => {
3679
3677
  var t = e, { locale: r, format: n } = t, i = ne(t, ["locale", "format"]);
3680
3678
  if (r == null)
@@ -3683,33 +3681,33 @@ const ue = (e, t) => {
3683
3681
  );
3684
3682
  return n ? i = ue("time", n) : Object.keys(i).length === 0 && (i = ue("time", "short")), new Intl.DateTimeFormat(r, i);
3685
3683
  }
3686
- ), Fi = (e = {}) => {
3684
+ ), Gi = (e = {}) => {
3687
3685
  var t = e, {
3688
3686
  locale: r = j()
3689
3687
  } = t, n = ne(t, [
3690
3688
  "locale"
3691
3689
  ]);
3692
- return Gi(st({ locale: r }, n));
3693
- }, ki = (e = {}) => {
3690
+ return Mi(nt({ locale: r }, n));
3691
+ }, Ui = (e = {}) => {
3694
3692
  var t = e, {
3695
3693
  locale: r = j()
3696
3694
  } = t, n = ne(t, [
3697
3695
  "locale"
3698
3696
  ]);
3699
- return Ui(st({ locale: r }, n));
3700
- }, ji = (e = {}) => {
3697
+ return Ri(nt({ locale: r }, n));
3698
+ }, Di = (e = {}) => {
3701
3699
  var t = e, {
3702
3700
  locale: r = j()
3703
3701
  } = t, n = ne(t, [
3704
3702
  "locale"
3705
3703
  ]);
3706
- return Di(st({ locale: r }, n));
3707
- }, Vi = Ae(
3704
+ return $i(nt({ locale: r }, n));
3705
+ }, Fi = Ae(
3708
3706
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3709
- (e, t = j()) => new gi(e, t, K().formats, {
3707
+ (e, t = j()) => new pi(e, t, K().formats, {
3710
3708
  ignoreTag: K().ignoreTag
3711
3709
  })
3712
- ), Xi = (e, t = {}) => {
3710
+ ), ki = (e, t = {}) => {
3713
3711
  var r, n, i, o;
3714
3712
  let s = t;
3715
3713
  typeof e == "object" && (s = e, e = s.id);
@@ -3722,7 +3720,7 @@ const ue = (e, t) => {
3722
3720
  throw new Error(
3723
3721
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3724
3722
  );
3725
- let l = fr(e, u);
3723
+ let l = ur(e, u);
3726
3724
  if (!l)
3727
3725
  l = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
3728
3726
  else if (typeof l != "string")
@@ -3733,7 +3731,7 @@ const ue = (e, t) => {
3733
3731
  return l;
3734
3732
  let c = l;
3735
3733
  try {
3736
- c = Vi(l, u).format(a);
3734
+ c = Fi(l, u).format(a);
3737
3735
  } catch (f) {
3738
3736
  f instanceof Error && console.warn(
3739
3737
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3741,18 +3739,18 @@ const ue = (e, t) => {
3741
3739
  );
3742
3740
  }
3743
3741
  return c;
3744
- }, zi = (e, t) => ji(t).format(e), Wi = (e, t) => ki(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = j()) => fr(e, t), Ji = te([re, he], () => Xi);
3745
- te([re], () => zi);
3746
- te([re], () => Wi);
3747
- te([re], () => Zi);
3748
- te([re, he], () => Qi);
3749
- function Bt(e, t) {
3750
- pr(e, t);
3751
- }
3752
- function Yi(e) {
3742
+ }, ji = (e, t) => Di(t).format(e), Vi = (e, t) => Ui(t).format(e), Xi = (e, t) => Gi(t).format(e), Wi = (e, t = j()) => ur(e, t), zi = te([re, he], () => ki);
3743
+ te([re], () => ji);
3744
+ te([re], () => Vi);
3745
+ te([re], () => Xi);
3746
+ te([re, he], () => Wi);
3747
+ function Ht(e, t) {
3748
+ cr(e, t);
3749
+ }
3750
+ function Zi(e) {
3753
3751
  re.set(e);
3754
3752
  }
3755
- const At = {
3753
+ const Ct = {
3756
3754
  en: {
3757
3755
  collections: "Game Collections",
3758
3756
  providers: "Game Providers",
@@ -3852,13 +3850,13 @@ const At = {
3852
3850
  function G(e) {
3853
3851
  return typeof e == "function";
3854
3852
  }
3855
- function yr(e) {
3853
+ function br(e) {
3856
3854
  var t = function(n) {
3857
3855
  Error.call(n), n.stack = new Error().stack;
3858
3856
  }, r = e(t);
3859
3857
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3860
3858
  }
3861
- var Ue = yr(function(e) {
3859
+ var Ue = br(function(e) {
3862
3860
  return function(r) {
3863
3861
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3864
3862
  ` + r.map(function(n, i) {
@@ -3867,7 +3865,7 @@ var Ue = yr(function(e) {
3867
3865
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3868
3866
  };
3869
3867
  });
3870
- function Ke(e, t) {
3868
+ function Ye(e, t) {
3871
3869
  if (e) {
3872
3870
  var r = e.indexOf(t);
3873
3871
  0 <= r && e.splice(r, 1);
@@ -3885,7 +3883,7 @@ var Oe = function() {
3885
3883
  if (s)
3886
3884
  if (this._parentage = null, Array.isArray(s))
3887
3885
  try {
3888
- for (var a = je(s), u = a.next(); !u.done; u = a.next()) {
3886
+ for (var a = ke(s), u = a.next(); !u.done; u = a.next()) {
3889
3887
  var h = u.value;
3890
3888
  h.remove(this);
3891
3889
  }
@@ -3911,12 +3909,12 @@ var Oe = function() {
3911
3909
  if (c) {
3912
3910
  this._finalizers = null;
3913
3911
  try {
3914
- for (var f = je(c), p = f.next(); !p.done; p = f.next()) {
3912
+ for (var f = ke(c), p = f.next(); !p.done; p = f.next()) {
3915
3913
  var d = p.value;
3916
3914
  try {
3917
- Ot(d);
3915
+ Pt(d);
3918
3916
  } catch (g) {
3919
- o = o ?? [], g instanceof Ue ? o = Z(Z([], Ve(o)), Ve(g.errors)) : o.push(g);
3917
+ o = o ?? [], g instanceof Ue ? o = Z(Z([], je(o)), je(g.errors)) : o.push(g);
3920
3918
  }
3921
3919
  }
3922
3920
  } catch (g) {
@@ -3936,7 +3934,7 @@ var Oe = function() {
3936
3934
  var r;
3937
3935
  if (t && t !== this)
3938
3936
  if (this.closed)
3939
- Ot(t);
3937
+ Pt(t);
3940
3938
  else {
3941
3939
  if (t instanceof e) {
3942
3940
  if (t.closed || t._hasParent(this))
@@ -3953,56 +3951,52 @@ var Oe = function() {
3953
3951
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3954
3952
  }, e.prototype._removeParent = function(t) {
3955
3953
  var r = this._parentage;
3956
- r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
3954
+ r === t ? this._parentage = null : Array.isArray(r) && Ye(r, t);
3957
3955
  }, e.prototype.remove = function(t) {
3958
3956
  var r = this._finalizers;
3959
- r && Ke(r, t), t instanceof e && t._removeParent(this);
3957
+ r && Ye(r, t), t instanceof e && t._removeParent(this);
3960
3958
  }, e.EMPTY = function() {
3961
3959
  var t = new e();
3962
3960
  return t.closed = !0, t;
3963
3961
  }(), e;
3964
- }(), _r = Oe.EMPTY;
3965
- function Er(e) {
3962
+ }(), gr = Oe.EMPTY;
3963
+ function vr(e) {
3966
3964
  return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
3967
3965
  }
3968
- function Ot(e) {
3966
+ function Pt(e) {
3969
3967
  G(e) ? e() : e.unsubscribe();
3970
3968
  }
3971
- var xr = {
3972
- onUnhandledError: null,
3973
- onStoppedNotification: null,
3974
- Promise: void 0,
3975
- useDeprecatedSynchronousErrorHandling: !1,
3976
- useDeprecatedNextContext: !1
3977
- }, qi = {
3969
+ var Qi = {
3970
+ Promise: void 0
3971
+ }, Ji = {
3978
3972
  setTimeout: function(e, t) {
3979
3973
  for (var r = [], n = 2; n < arguments.length; n++)
3980
3974
  r[n - 2] = arguments[n];
3981
- return setTimeout.apply(void 0, Z([e, t], Ve(r)));
3975
+ return setTimeout.apply(void 0, Z([e, t], je(r)));
3982
3976
  },
3983
3977
  clearTimeout: function(e) {
3984
3978
  return clearTimeout(e);
3985
3979
  },
3986
3980
  delegate: void 0
3987
3981
  };
3988
- function Ki(e) {
3989
- qi.setTimeout(function() {
3982
+ function qi(e) {
3983
+ Ji.setTimeout(function() {
3990
3984
  throw e;
3991
3985
  });
3992
3986
  }
3993
- function It() {
3987
+ function Bt() {
3994
3988
  }
3995
3989
  function ye(e) {
3996
3990
  e();
3997
3991
  }
3998
- var Sr = function(e) {
3992
+ var yr = function(e) {
3999
3993
  U(t, e);
4000
3994
  function t(r) {
4001
3995
  var n = e.call(this) || this;
4002
- return n.isStopped = !1, r ? (n.destination = r, Er(r) && r.add(n)) : n.destination = no, n;
3996
+ return n.isStopped = !1, r ? (n.destination = r, vr(r) && r.add(n)) : n.destination = eo, n;
4003
3997
  }
4004
3998
  return t.create = function(r, n, i) {
4005
- return new et(r, n, i);
3999
+ return new Ke(r, n, i);
4006
4000
  }, t.prototype.next = function(r) {
4007
4001
  this.isStopped || this._next(r);
4008
4002
  }, t.prototype.error = function(r) {
@@ -4026,11 +4020,7 @@ var Sr = function(e) {
4026
4020
  this.unsubscribe();
4027
4021
  }
4028
4022
  }, t;
4029
- }(Oe), eo = Function.prototype.bind;
4030
- function De(e, t) {
4031
- return eo.call(e, t);
4032
- }
4033
- var to = function() {
4023
+ }(Oe), Yi = function() {
4034
4024
  function e(t) {
4035
4025
  this.partialObserver = t;
4036
4026
  }
@@ -4061,55 +4051,43 @@ var to = function() {
4061
4051
  me(r);
4062
4052
  }
4063
4053
  }, e;
4064
- }(), et = function(e) {
4054
+ }(), Ke = function(e) {
4065
4055
  U(t, e);
4066
4056
  function t(r, n, i) {
4067
4057
  var o = e.call(this) || this, s;
4068
- if (G(r) || !r)
4069
- s = {
4070
- next: r ?? void 0,
4071
- error: n ?? void 0,
4072
- complete: i ?? void 0
4073
- };
4074
- else {
4075
- var a;
4076
- o && xr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4077
- return o.unsubscribe();
4078
- }, s = {
4079
- next: r.next && De(r.next, a),
4080
- error: r.error && De(r.error, a),
4081
- complete: r.complete && De(r.complete, a)
4082
- }) : s = r;
4083
- }
4084
- return o.destination = new to(s), o;
4058
+ return G(r) || !r ? s = {
4059
+ next: r ?? void 0,
4060
+ error: n ?? void 0,
4061
+ complete: i ?? void 0
4062
+ } : s = r, o.destination = new Yi(s), o;
4085
4063
  }
4086
4064
  return t;
4087
- }(Sr);
4065
+ }(yr);
4088
4066
  function me(e) {
4089
- Ki(e);
4067
+ qi(e);
4090
4068
  }
4091
- function ro(e) {
4069
+ function Ki(e) {
4092
4070
  throw e;
4093
4071
  }
4094
- var no = {
4072
+ var eo = {
4095
4073
  closed: !0,
4096
- next: It,
4097
- error: ro,
4098
- complete: It
4099
- }, io = function() {
4074
+ next: Bt,
4075
+ error: Ki,
4076
+ complete: Bt
4077
+ }, to = function() {
4100
4078
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4101
4079
  }();
4102
- function oo(e) {
4080
+ function ro(e) {
4103
4081
  return e;
4104
4082
  }
4105
- function so(e) {
4106
- return e.length === 0 ? oo : e.length === 1 ? e[0] : function(r) {
4083
+ function no(e) {
4084
+ return e.length === 0 ? ro : e.length === 1 ? e[0] : function(r) {
4107
4085
  return e.reduce(function(n, i) {
4108
4086
  return i(n);
4109
4087
  }, r);
4110
4088
  };
4111
4089
  }
4112
- var Lt = function() {
4090
+ var At = function() {
4113
4091
  function e(t) {
4114
4092
  t && (this._subscribe = t);
4115
4093
  }
@@ -4117,7 +4095,7 @@ var Lt = function() {
4117
4095
  var r = new e();
4118
4096
  return r.source = this, r.operator = t, r;
4119
4097
  }, e.prototype.subscribe = function(t, r, n) {
4120
- var i = this, o = lo(t) ? t : new et(t, r, n);
4098
+ var i = this, o = oo(t) ? t : new Ke(t, r, n);
4121
4099
  return ye(function() {
4122
4100
  var s = i, a = s.operator, u = s.source;
4123
4101
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -4130,8 +4108,8 @@ var Lt = function() {
4130
4108
  }
4131
4109
  }, e.prototype.forEach = function(t, r) {
4132
4110
  var n = this;
4133
- return r = Nt(r), new r(function(i, o) {
4134
- var s = new et({
4111
+ return r = Ot(r), new r(function(i, o) {
4112
+ var s = new Ke({
4135
4113
  next: function(a) {
4136
4114
  try {
4137
4115
  t(a);
@@ -4147,15 +4125,15 @@ var Lt = function() {
4147
4125
  }, e.prototype._subscribe = function(t) {
4148
4126
  var r;
4149
4127
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4150
- }, e.prototype[io] = function() {
4128
+ }, e.prototype[to] = function() {
4151
4129
  return this;
4152
4130
  }, e.prototype.pipe = function() {
4153
4131
  for (var t = [], r = 0; r < arguments.length; r++)
4154
4132
  t[r] = arguments[r];
4155
- return so(t)(this);
4133
+ return no(t)(this);
4156
4134
  }, e.prototype.toPromise = function(t) {
4157
4135
  var r = this;
4158
- return t = Nt(t), new t(function(n, i) {
4136
+ return t = Ot(t), new t(function(n, i) {
4159
4137
  var o;
4160
4138
  r.subscribe(function(s) {
4161
4139
  return o = s;
@@ -4169,32 +4147,32 @@ var Lt = function() {
4169
4147
  return new e(t);
4170
4148
  }, e;
4171
4149
  }();
4172
- function Nt(e) {
4150
+ function Ot(e) {
4173
4151
  var t;
4174
- return (t = e ?? xr.Promise) !== null && t !== void 0 ? t : Promise;
4152
+ return (t = e ?? Qi.Promise) !== null && t !== void 0 ? t : Promise;
4175
4153
  }
4176
- function ao(e) {
4154
+ function io(e) {
4177
4155
  return e && G(e.next) && G(e.error) && G(e.complete);
4178
4156
  }
4179
- function lo(e) {
4180
- return e && e instanceof Sr || ao(e) && Er(e);
4157
+ function oo(e) {
4158
+ return e && e instanceof yr || io(e) && vr(e);
4181
4159
  }
4182
- var uo = yr(function(e) {
4160
+ var so = br(function(e) {
4183
4161
  return function() {
4184
4162
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4185
4163
  };
4186
- }), wr = function(e) {
4164
+ }), _r = function(e) {
4187
4165
  U(t, e);
4188
4166
  function t() {
4189
4167
  var r = e.call(this) || this;
4190
4168
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4191
4169
  }
4192
4170
  return t.prototype.lift = function(r) {
4193
- var n = new Mt(this, this);
4171
+ var n = new It(this, this);
4194
4172
  return n.operator = r, n;
4195
4173
  }, t.prototype._throwIfClosed = function() {
4196
4174
  if (this.closed)
4197
- throw new uo();
4175
+ throw new so();
4198
4176
  }, t.prototype.next = function(r) {
4199
4177
  var n = this;
4200
4178
  ye(function() {
@@ -4202,7 +4180,7 @@ var uo = yr(function(e) {
4202
4180
  if (n._throwIfClosed(), !n.isStopped) {
4203
4181
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4204
4182
  try {
4205
- for (var s = je(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4183
+ for (var s = ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4206
4184
  var u = a.value;
4207
4185
  u.next(r);
4208
4186
  }
@@ -4250,19 +4228,19 @@ var uo = yr(function(e) {
4250
4228
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4251
4229
  }, t.prototype._innerSubscribe = function(r) {
4252
4230
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4253
- return o || s ? _r : (this.currentObservers = null, a.push(r), new Oe(function() {
4254
- n.currentObservers = null, Ke(a, r);
4231
+ return o || s ? gr : (this.currentObservers = null, a.push(r), new Oe(function() {
4232
+ n.currentObservers = null, Ye(a, r);
4255
4233
  }));
4256
4234
  }, t.prototype._checkFinalizedStatuses = function(r) {
4257
4235
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4258
4236
  i ? r.error(o) : s && r.complete();
4259
4237
  }, t.prototype.asObservable = function() {
4260
- var r = new Lt();
4238
+ var r = new At();
4261
4239
  return r.source = this, r;
4262
4240
  }, t.create = function(r, n) {
4263
- return new Mt(r, n);
4241
+ return new It(r, n);
4264
4242
  }, t;
4265
- }(Lt), Mt = function(e) {
4243
+ }(At), It = function(e) {
4266
4244
  U(t, e);
4267
4245
  function t(r, n) {
4268
4246
  var i = e.call(this) || this;
@@ -4279,17 +4257,17 @@ var uo = yr(function(e) {
4279
4257
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4280
4258
  }, t.prototype._subscribe = function(r) {
4281
4259
  var n, i;
4282
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : _r;
4260
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
4283
4261
  }, t;
4284
- }(wr), Tr = {
4262
+ }(_r), xr = {
4285
4263
  now: function() {
4286
- return (Tr.delegate || Date).now();
4264
+ return (xr.delegate || Date).now();
4287
4265
  },
4288
4266
  delegate: void 0
4289
- }, ho = function(e) {
4267
+ }, ao = function(e) {
4290
4268
  U(t, e);
4291
4269
  function t(r, n, i) {
4292
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Tr);
4270
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = xr);
4293
4271
  var o = e.call(this) || this;
4294
4272
  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;
4295
4273
  }
@@ -4309,23 +4287,23 @@ var uo = yr(function(e) {
4309
4287
  h && o.splice(0, h + 1);
4310
4288
  }
4311
4289
  }, t;
4312
- }(wr);
4313
- const Rt = [], $t = {}, co = (e, t = 0) => {
4314
- if (Rt.indexOf(e) == -1) {
4315
- const r = new ho(t);
4316
- $t[e] = r, Rt.push(e);
4290
+ }(_r);
4291
+ const Lt = [], Nt = {}, lo = (e, t = 0) => {
4292
+ if (Lt.indexOf(e) == -1) {
4293
+ const r = new ao(t);
4294
+ Nt[e] = r, Lt.push(e);
4317
4295
  }
4318
- return $t[e];
4296
+ return Nt[e];
4319
4297
  };
4320
- window.emWidgets = { topic: co };
4321
- const fo = (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));
4322
- function po(e, t) {
4298
+ window.emWidgets = { topic: lo };
4299
+ 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));
4300
+ function ho(e, t) {
4323
4301
  if (e) {
4324
4302
  const r = document.createElement("style");
4325
4303
  r.innerHTML = t, e.appendChild(r);
4326
4304
  }
4327
4305
  }
4328
- function mo(e, t) {
4306
+ function co(e, t) {
4329
4307
  const r = new URL(t);
4330
4308
  fetch(r.href).then((n) => n.text()).then((n) => {
4331
4309
  const i = document.createElement("style");
@@ -4334,7 +4312,7 @@ function mo(e, t) {
4334
4312
  console.error("There was an error while trying to load client styling from URL", n);
4335
4313
  });
4336
4314
  }
4337
- function bo(e, t, r) {
4315
+ function fo(e, t, r) {
4338
4316
  if (window.emMessageBus) {
4339
4317
  const n = document.createElement("style");
4340
4318
  window.emMessageBus.subscribe(t, (i) => {
@@ -4342,18 +4320,18 @@ function bo(e, t, r) {
4342
4320
  });
4343
4321
  }
4344
4322
  }
4345
- function go(e) {
4346
- Dr(e, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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)}}');
4323
+ function po(e) {
4324
+ Rr(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)}}');
4347
4325
  }
4348
- function Gt(e, t, r) {
4326
+ function Mt(e, t, r) {
4349
4327
  const n = e.slice();
4350
4328
  return n[41] = t[r], n;
4351
4329
  }
4352
- function Ut(e, t, r) {
4330
+ function Rt(e, t, r) {
4353
4331
  const n = e.slice();
4354
4332
  return n[44] = t[r], n;
4355
4333
  }
4356
- function vo(e) {
4334
+ function mo(e) {
4357
4335
  let t, r, n, i = (
4358
4336
  /*type*/
4359
4337
  (e[0] == "vendor" ? (
@@ -4366,19 +4344,19 @@ function vo(e) {
4366
4344
  ), o, s, a, u, h, l, c = (
4367
4345
  /*numberOfSlides*/
4368
4346
  e[8] > /*numberOfVisibleSlides*/
4369
- e[9] && Dt(e)
4347
+ e[9] && $t(e)
4370
4348
  ), f = Se(
4371
4349
  /*gameCategories*/
4372
4350
  e[3]
4373
4351
  ), p = [];
4374
4352
  for (let d = 0; d < f.length; d += 1)
4375
- p[d] = jt(Gt(e, f, d));
4353
+ p[d] = Dt(Mt(e, f, d));
4376
4354
  return {
4377
4355
  c() {
4378
4356
  t = C("div"), r = C("div"), n = C("p"), o = He(i), s = k(), c && c.c(), a = k(), u = C("div");
4379
4357
  for (let d = 0; d < p.length; d += 1)
4380
4358
  p[d].c();
4381
- S(n, "class", "Title"), S(r, "class", "CategoriesHeader"), S(u, "class", "CategoriesSlider"), xe(() => (
4359
+ S(n, "class", "Title"), S(r, "class", "CategoriesHeader"), S(u, "class", "CategoriesSlider"), Ee(() => (
4382
4360
  /*div1_elementresize_handler*/
4383
4361
  e[28].call(u)
4384
4362
  )), S(t, "class", l = "CasinoCollectionsProviders " + /*mobile*/
@@ -4389,7 +4367,7 @@ function vo(e) {
4389
4367
  $(d, t, g), H(t, r), H(r, n), H(n, o), H(r, s), c && c.m(r, null), H(t, a), H(t, u);
4390
4368
  for (let m = 0; m < p.length; m += 1)
4391
4369
  p[m] && p[m].m(u, null);
4392
- e[27](u), h = zr(
4370
+ e[27](u), h = kr(
4393
4371
  u,
4394
4372
  /*div1_elementresize_handler*/
4395
4373
  e[28].bind(u)
@@ -4404,9 +4382,9 @@ function vo(e) {
4404
4382
  ) : (
4405
4383
  /*$_*/
4406
4384
  d[11]("collections")
4407
- )) + "") && rt(o, i), /*numberOfSlides*/
4385
+ )) + "") && tt(o, i), /*numberOfSlides*/
4408
4386
  d[8] > /*numberOfVisibleSlides*/
4409
- d[9] ? c ? c.p(d, g) : (c = Dt(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4387
+ d[9] ? c ? c.p(d, g) : (c = $t(d), c.c(), c.m(r, null)) : c && (c.d(1), c = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4410
4388
  49166) {
4411
4389
  f = Se(
4412
4390
  /*gameCategories*/
@@ -4414,8 +4392,8 @@ function vo(e) {
4414
4392
  );
4415
4393
  let m;
4416
4394
  for (m = 0; m < f.length; m += 1) {
4417
- const x = Gt(d, f, m);
4418
- p[m] ? p[m].p(x, g) : (p[m] = jt(x), p[m].c(), p[m].m(u, null));
4395
+ const E = Mt(d, f, m);
4396
+ p[m] ? p[m].p(E, g) : (p[m] = Dt(E), p[m].c(), p[m].m(u, null));
4419
4397
  }
4420
4398
  for (; m < p.length; m += 1)
4421
4399
  p[m].d(1);
@@ -4427,11 +4405,11 @@ function vo(e) {
4427
4405
  (d[0] === "vendor" ? "Providers" : "Collections")) && S(t, "class", l);
4428
4406
  },
4429
4407
  d(d) {
4430
- d && N(t), c && c.d(), Wt(p, d), e[27](null), h();
4408
+ d && N(t), c && c.d(), Vt(p, d), e[27](null), h();
4431
4409
  }
4432
4410
  };
4433
4411
  }
4434
- function yo(e) {
4412
+ function bo(e) {
4435
4413
  let t;
4436
4414
  return {
4437
4415
  c() {
@@ -4446,7 +4424,7 @@ function yo(e) {
4446
4424
  }
4447
4425
  };
4448
4426
  }
4449
- function Dt(e) {
4427
+ function $t(e) {
4450
4428
  let t, r, n, i, o, s;
4451
4429
  return {
4452
4430
  c() {
@@ -4474,7 +4452,7 @@ function Dt(e) {
4474
4452
  }
4475
4453
  };
4476
4454
  }
4477
- function _o(e) {
4455
+ function go(e) {
4478
4456
  let t, r = (
4479
4457
  /*category*/
4480
4458
  e[41].name + ""
@@ -4489,14 +4467,14 @@ function _o(e) {
4489
4467
  p(i, o) {
4490
4468
  o[0] & /*gameCategories*/
4491
4469
  8 && r !== (r = /*category*/
4492
- i[41].name + "") && rt(n, r);
4470
+ i[41].name + "") && tt(n, r);
4493
4471
  },
4494
4472
  d(i) {
4495
4473
  i && N(t);
4496
4474
  }
4497
4475
  };
4498
4476
  }
4499
- function Eo(e) {
4477
+ function vo(e) {
4500
4478
  let t, r, n;
4501
4479
  return {
4502
4480
  c() {
@@ -4519,7 +4497,7 @@ function Eo(e) {
4519
4497
  }
4520
4498
  };
4521
4499
  }
4522
- function Ft(e) {
4500
+ function Gt(e) {
4523
4501
  let t, r = (
4524
4502
  /*game*/
4525
4503
  e[44].name + ""
@@ -4535,7 +4513,7 @@ function Ft(e) {
4535
4513
  p(o, s) {
4536
4514
  s[0] & /*gameCategories*/
4537
4515
  8 && r !== (r = /*game*/
4538
- o[44].name + "") && rt(n, r), s[0] & /*gameCategories*/
4516
+ o[44].name + "") && tt(n, r), s[0] & /*gameCategories*/
4539
4517
  8 && i !== (i = /*game*/
4540
4518
  o[44].name) && S(t, "title", i);
4541
4519
  },
@@ -4544,7 +4522,7 @@ function Ft(e) {
4544
4522
  }
4545
4523
  };
4546
4524
  }
4547
- function kt(e) {
4525
+ function Ut(e) {
4548
4526
  let t, r, n, i, o, s, a, u;
4549
4527
  function h() {
4550
4528
  return (
@@ -4557,7 +4535,7 @@ function kt(e) {
4557
4535
  }
4558
4536
  let l = (
4559
4537
  /*collectionprovidersgamenames*/
4560
- e[2] == "true" && Ft(e)
4538
+ e[2] == "true" && Gt(e)
4561
4539
  );
4562
4540
  return {
4563
4541
  c() {
@@ -4566,7 +4544,7 @@ function kt(e) {
4566
4544
  e[44].name), S(t, "class", "CategorySlideGames");
4567
4545
  },
4568
4546
  m(c, f) {
4569
- $(c, t, f), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (u = Q(r, "click", jr(h)), a = !0);
4547
+ $(c, t, f), H(t, r), H(t, o), l && l.m(t, null), H(t, s), a || (u = Q(r, "click", Ur(h)), a = !0);
4570
4548
  },
4571
4549
  p(c, f) {
4572
4550
  e = c, f[0] & /*gameCategories*/
@@ -4574,31 +4552,31 @@ function kt(e) {
4574
4552
  e[44].defaultThumbnail) && S(r, "src", n), f[0] & /*gameCategories*/
4575
4553
  8 && i !== (i = /*game*/
4576
4554
  e[44].name) && S(r, "alt", i), /*collectionprovidersgamenames*/
4577
- e[2] == "true" ? l ? l.p(e, f) : (l = Ft(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4555
+ e[2] == "true" ? l ? l.p(e, f) : (l = Gt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4578
4556
  },
4579
4557
  d(c) {
4580
4558
  c && N(t), l && l.d(), a = !1, u();
4581
4559
  }
4582
4560
  };
4583
4561
  }
4584
- function jt(e) {
4562
+ function Dt(e) {
4585
4563
  let t, r, n, i, o, s, a, u, h;
4586
- function l(m, x) {
4564
+ function l(m, E) {
4587
4565
  if (
4588
4566
  /*titletype*/
4589
4567
  m[1] == "logo"
4590
- ) return Eo;
4568
+ ) return vo;
4591
4569
  if (
4592
4570
  /*titletype*/
4593
4571
  m[1] == "title"
4594
- ) return _o;
4572
+ ) return go;
4595
4573
  }
4596
4574
  let c = l(e), f = c && c(e), p = Se(
4597
4575
  /*category*/
4598
4576
  e[41].games
4599
4577
  ), d = [];
4600
4578
  for (let m = 0; m < p.length; m += 1)
4601
- d[m] = kt(Ut(e, p, m));
4579
+ d[m] = Ut(Rt(e, p, m));
4602
4580
  function g() {
4603
4581
  return (
4604
4582
  /*click_handler_3*/
@@ -4617,45 +4595,45 @@ function jt(e) {
4617
4595
  (e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
4618
4596
  e[41]?.background + ")"), Ie(r, "background-size", "cover"), S(t, "class", "CategoriesSliderWrapper Animation");
4619
4597
  },
4620
- m(m, x) {
4621
- $(m, t, x), H(t, r), H(r, n), f && f.m(n, null), H(r, i), H(r, o);
4622
- for (let E = 0; E < d.length; E += 1)
4623
- d[E] && d[E].m(o, null);
4598
+ m(m, E) {
4599
+ $(m, t, E), H(t, r), H(r, n), f && f.m(n, null), H(r, i), H(r, o);
4600
+ for (let x = 0; x < d.length; x += 1)
4601
+ d[x] && d[x].m(o, null);
4624
4602
  H(t, a), u || (h = Q(r, "click", g), u = !0);
4625
4603
  },
4626
- p(m, x) {
4627
- if (e = m, c === (c = l(e)) && f ? f.p(e, x) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), x[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4604
+ p(m, E) {
4605
+ if (e = m, c === (c = l(e)) && f ? f.p(e, E) : (f && f.d(1), f = c && c(e), f && (f.c(), f.m(n, null))), E[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4628
4606
  16396) {
4629
4607
  p = Se(
4630
4608
  /*category*/
4631
4609
  e[41].games
4632
4610
  );
4633
- let E;
4634
- for (E = 0; E < p.length; E += 1) {
4635
- const T = Ut(e, p, E);
4636
- d[E] ? d[E].p(T, x) : (d[E] = kt(T), d[E].c(), d[E].m(o, null));
4611
+ let x;
4612
+ for (x = 0; x < p.length; x += 1) {
4613
+ const T = Rt(e, p, x);
4614
+ d[x] ? d[x].p(T, E) : (d[x] = Ut(T), d[x].c(), d[x].m(o, null));
4637
4615
  }
4638
- for (; E < d.length; E += 1)
4639
- d[E].d(1);
4616
+ for (; x < d.length; x += 1)
4617
+ d[x].d(1);
4640
4618
  d.length = p.length;
4641
4619
  }
4642
- x[0] & /*gameCategories*/
4620
+ E[0] & /*gameCategories*/
4643
4621
  8 && s !== (s = "CategorySlide " + /*category*/
4644
- (e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) && S(r, "class", s), x[0] & /*gameCategories*/
4622
+ (e[41]?.flag[0] == "vendor" ? "CategorySlideNoHighlight" : "")) && S(r, "class", s), E[0] & /*gameCategories*/
4645
4623
  8 && Ie(r, "background-image", "url(" + /*category*/
4646
4624
  e[41]?.background + ")");
4647
4625
  },
4648
4626
  d(m) {
4649
- m && N(t), f && f.d(), Wt(d, m), u = !1, h();
4627
+ m && N(t), f && f.d(), Vt(d, m), u = !1, h();
4650
4628
  }
4651
4629
  };
4652
4630
  }
4653
- function xo(e) {
4631
+ function yo(e) {
4654
4632
  let t;
4655
4633
  function r(o, s) {
4656
4634
  return (
4657
4635
  /*isLoading*/
4658
- o[7] ? yo : vo
4636
+ o[7] ? bo : mo
4659
4637
  );
4660
4638
  }
4661
4639
  let n = r(e), i = n(e);
@@ -4676,23 +4654,23 @@ function xo(e) {
4676
4654
  }
4677
4655
  };
4678
4656
  }
4679
- function So(e, t, r) {
4657
+ function _o(e, t, r) {
4680
4658
  let n;
4681
- Ur(e, Ji, (b) => r(11, n = b));
4682
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, { mbsource: p } = t, d = [], g = !0, m, x = 0, E = 0, T = 0, D, M, B, ce = window.navigator.userAgent, at, ie = 0;
4683
- const Hr = () => {
4659
+ Mr(e, zi, (b) => r(11, n = b));
4660
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { collectionprovidersgamenames: f = "" } = t, { mbsource: p } = t, d = [], g = !0, m, E = 0, x = 0, T = 0, D, M, B, ce = window.navigator.userAgent, it, ie = 0;
4661
+ const Er = () => {
4684
4662
  fetch(c).then((A) => A.json()).then((A) => {
4685
4663
  Object.keys(A).forEach((R) => {
4686
- Bt(R, A[R]);
4664
+ Ht(R, A[R]);
4687
4665
  });
4688
4666
  }).catch((A) => {
4689
4667
  console.log(A);
4690
4668
  });
4691
4669
  };
4692
- Object.keys(At).forEach((b) => {
4693
- Bt(b, At[b]);
4670
+ Object.keys(Ct).forEach((b) => {
4671
+ Ht(b, Ct[b]);
4694
4672
  });
4695
- const Cr = () => {
4673
+ const Sr = () => {
4696
4674
  const b = new URL(`${i}/v2/casino/groups/${o}`);
4697
4675
  b.searchParams.append("language", s), b.searchParams.append("expand", "games"), fetch(b.href).then((A) => A.json()).then((A) => {
4698
4676
  r(7, g = !1);
@@ -4701,24 +4679,24 @@ function So(e, t, r) {
4701
4679
  id: I.id,
4702
4680
  name: I.name,
4703
4681
  icon: I.icon ? I.icon : I.vendors?.items[0]?.subVendors[0]?.logo,
4704
- games: I.games.items.slice(0, 4).map(($r) => $r),
4682
+ games: I.games.items.slice(0, 4).map((Lr) => Lr),
4705
4683
  background: I.background,
4706
4684
  flag: I.flags
4707
- }))), r(8, E = d.length);
4685
+ }))), r(8, x = d.length);
4708
4686
  });
4709
- }, lt = (b) => {
4687
+ }, ot = (b) => {
4710
4688
  M = [...m.children], M.forEach((A, R) => {
4711
4689
  A.style.transform = `translateX(${100 * (b ? R - b : R)}%)`;
4712
- }), D = M[0].getBoundingClientRect().width, Pr();
4713
- }, Pr = () => {
4690
+ }), D = M[0].getBoundingClientRect().width, wr();
4691
+ }, wr = () => {
4714
4692
  r(9, T = Math.floor(ie / D));
4715
- }, ut = () => {
4716
- lt(x);
4717
- }, ht = () => {
4718
- x === 0 ? x = E - T : x - T < -1 ? x = 0 : x--, ut();
4719
- }, ct = () => {
4720
- x === E - T ? x = 0 : E - T < x + 1 ? x = E - T : x++, ut();
4721
- }, ft = (b, A, R, I) => {
4693
+ }, st = () => {
4694
+ ot(E);
4695
+ }, at = () => {
4696
+ E === 0 ? E = x - T : E - T < -1 ? E = 0 : E--, st();
4697
+ }, lt = () => {
4698
+ E === x - T ? E = 0 : x - T < E + 1 ? E = x - T : E++, st();
4699
+ }, ut = (b, A, R, I) => {
4722
4700
  window.postMessage(
4723
4701
  {
4724
4702
  type: "OpenCollectionsProvidersGame",
@@ -4732,7 +4710,7 @@ function So(e, t, r) {
4732
4710
  context: "CollectionsProviders",
4733
4711
  gameName: `${R}`
4734
4712
  });
4735
- }, dt = (b) => {
4713
+ }, ht = (b) => {
4736
4714
  window.postMessage(
4737
4715
  {
4738
4716
  type: "OpenCollectionsProvidersCategory",
@@ -4740,22 +4718,22 @@ function So(e, t, r) {
4740
4718
  },
4741
4719
  window.location.href
4742
4720
  );
4743
- }, Br = () => {
4744
- Yi(s);
4721
+ }, Tr = () => {
4722
+ Zi(s);
4745
4723
  };
4746
- Qr(() => (r(10, at = fo(ce)), () => {
4724
+ Xr(() => (r(10, it = uo(ce)), () => {
4747
4725
  }));
4748
- const Ar = () => ht(), Or = () => ct(), Ir = (b) => ft(b.gameId, b.launchUrl, b.name, b.subVendor), Lr = (b) => dt(b.id);
4749
- function Nr(b) {
4750
- Ee[b ? "unshift" : "push"](() => {
4726
+ const Hr = () => at(), Cr = () => lt(), Pr = (b) => ut(b.gameId, b.launchUrl, b.name, b.subVendor), Br = (b) => ht(b.id);
4727
+ function Ar(b) {
4728
+ xe[b ? "unshift" : "push"](() => {
4751
4729
  m = b, r(4, m);
4752
4730
  });
4753
4731
  }
4754
- function Mr() {
4732
+ function Or() {
4755
4733
  ie = this.clientWidth, r(6, ie);
4756
4734
  }
4757
- function Rr(b) {
4758
- Ee[b ? "unshift" : "push"](() => {
4735
+ function Ir(b) {
4736
+ xe[b ? "unshift" : "push"](() => {
4759
4737
  B = b, r(5, B);
4760
4738
  });
4761
4739
  }
@@ -4763,13 +4741,13 @@ function So(e, t, r) {
4763
4741
  "endpoint" in b && r(16, i = b.endpoint), "datasource" in b && r(17, o = b.datasource), "lang" in b && r(18, s = b.lang), "type" in b && r(0, a = b.type), "titletype" in b && r(1, u = b.titletype), "clientstyling" in b && r(19, h = b.clientstyling), "clientstylingurl" in b && r(20, l = b.clientstylingurl), "translationurl" in b && r(21, c = b.translationurl), "collectionprovidersgamenames" in b && r(2, f = b.collectionprovidersgamenames), "mbsource" in b && r(22, p = b.mbsource);
4764
4742
  }, e.$$.update = () => {
4765
4743
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4766
- 458752 && i && o && s && Cr(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
4767
- 88 && ie && d && m && lt(), e.$$.dirty[0] & /*lang*/
4768
- 262144 && s && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4769
- 524320 && h && B && po(B, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4770
- 1048608 && l && B && mo(B, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4771
- 4194336 && B && bo(B, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
4772
- 2097152 && c && Hr();
4744
+ 458752 && i && o && s && Sr(), e.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
4745
+ 88 && ie && d && m && ot(), e.$$.dirty[0] & /*lang*/
4746
+ 262144 && s && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4747
+ 524320 && h && B && ho(B, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4748
+ 1048608 && l && B && co(B, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4749
+ 4194336 && B && fo(B, `${p}.Style`), e.$$.dirty[0] & /*translationurl*/
4750
+ 2097152 && c && Er();
4773
4751
  }, [
4774
4752
  a,
4775
4753
  u,
@@ -4779,14 +4757,14 @@ function So(e, t, r) {
4779
4757
  B,
4780
4758
  ie,
4781
4759
  g,
4782
- E,
4760
+ x,
4783
4761
  T,
4784
- at,
4762
+ it,
4785
4763
  n,
4764
+ at,
4765
+ lt,
4766
+ ut,
4786
4767
  ht,
4787
- ct,
4788
- ft,
4789
- dt,
4790
4768
  i,
4791
4769
  o,
4792
4770
  s,
@@ -4794,23 +4772,23 @@ function So(e, t, r) {
4794
4772
  l,
4795
4773
  c,
4796
4774
  p,
4775
+ Hr,
4776
+ Cr,
4777
+ Pr,
4778
+ Br,
4797
4779
  Ar,
4798
4780
  Or,
4799
- Ir,
4800
- Lr,
4801
- Nr,
4802
- Mr,
4803
- Rr
4781
+ Ir
4804
4782
  ];
4805
4783
  }
4806
- class wo extends ln {
4784
+ class xo extends nn {
4807
4785
  constructor(t) {
4808
- super(), sn(
4786
+ super(), tn(
4809
4787
  this,
4810
4788
  t,
4811
- So,
4812
- xo,
4813
- Xt,
4789
+ _o,
4790
+ yo,
4791
+ kt,
4814
4792
  {
4815
4793
  endpoint: 16,
4816
4794
  datasource: 17,
@@ -4823,7 +4801,7 @@ class wo extends ln {
4823
4801
  collectionprovidersgamenames: 2,
4824
4802
  mbsource: 22
4825
4803
  },
4826
- go,
4804
+ po,
4827
4805
  [-1, -1]
4828
4806
  );
4829
4807
  }
@@ -4888,7 +4866,7 @@ class wo extends ln {
4888
4866
  this.$$set({ mbsource: t }), L();
4889
4867
  }
4890
4868
  }
4891
- an(wo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4869
+ rn(xo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4892
4870
  export {
4893
- wo as C
4871
+ xo as C
4894
4872
  };