@everymatrix/casino-collections-providers 1.61.1 → 1.62.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/components/CasinoCollectionsProviders-BRowNBke.cjs +18 -0
  2. package/components/{CasinoCollectionsProviders-CvZkMD5L.js → CasinoCollectionsProviders-CuGoEyfV.js} +900 -857
  3. package/components/{CasinoCollectionsProviders-D5btJk9X.js → CasinoCollectionsProviders-D_RrC8JM.js} +872 -829
  4. package/es2015/casino-collections-providers.cjs +1 -1
  5. package/es2015/casino-collections-providers.js +1 -1
  6. package/esnext/casino-collections-providers.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/index-97d17652-CCalHFFZ.js +558 -0
  9. package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
  10. package/stencil/index-97d17652-De_e2iwD.js +542 -0
  11. package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
  12. package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
  13. package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
  14. package/stencil/ui-image-CxLeLi3r.cjs +1 -0
  15. package/stencil/ui-image-D12cpp7q.js +25 -0
  16. package/stencil/ui-image-jU_A8Cc1.js +7 -0
  17. package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
  18. package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
  19. package/stencil/ui-image_2-CIsvIZfV.js +154 -0
  20. package/components/CasinoCollectionsProviders-CxRm-bwJ.cjs +0 -18
  21. package/stencil/index-b7bbd57e-BBUBsGhp.js +0 -550
  22. package/stencil/index-b7bbd57e-SuDXAV6_.cjs +0 -1
  23. package/stencil/index-b7bbd57e-wJC_uAuk.js +0 -534
  24. package/stencil/ui-image-38c3c15f-ByZECnci.js +0 -39
  25. package/stencil/ui-image-38c3c15f-D_V48h1L.js +0 -39
  26. package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +0 -1
  27. package/stencil/ui-image-BNrzgSpe.js +0 -11
  28. package/stencil/ui-image-CLghOqUz.cjs +0 -1
  29. package/stencil/ui-image-CPH6BqjQ.js +0 -29
@@ -1,29 +1,29 @@
1
- import "../stencil/ui-image-BNrzgSpe.js";
1
+ import "../stencil/ui-image-jU_A8Cc1.js";
2
2
  function A() {
3
3
  }
4
- function Ft(e) {
4
+ function Wt(e) {
5
5
  return e();
6
6
  }
7
- function ct() {
7
+ function bt() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function re(e) {
11
- e.forEach(Ft);
10
+ function te(e) {
11
+ e.forEach(Wt);
12
12
  }
13
- function tt(e) {
13
+ function st(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function jt(e, t) {
16
+ function zt(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
19
  let fe;
20
20
  function ye(e, t) {
21
21
  return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
22
22
  }
23
- function Nr(e) {
23
+ function Ur(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
- function kt(e, ...t) {
26
+ function Zt(e, ...t) {
27
27
  if (e == null) {
28
28
  for (const n of t)
29
29
  n(void 0);
@@ -32,20 +32,20 @@ function kt(e, ...t) {
32
32
  const r = e.subscribe(...t);
33
33
  return r.unsubscribe ? () => r.unsubscribe() : r;
34
34
  }
35
- function Mr(e, t, r) {
36
- e.$$.on_destroy.push(kt(t, r));
35
+ function Dr(e, t, r) {
36
+ e.$$.on_destroy.push(Zt(t, r));
37
37
  }
38
38
  function T(e, t) {
39
39
  e.appendChild(t);
40
40
  }
41
- function Rr(e, t, r) {
42
- const n = $r(e);
41
+ function Fr(e, t, r) {
42
+ const n = jr(e);
43
43
  if (!n.getElementById(t)) {
44
44
  const i = H("style");
45
- i.id = t, i.textContent = r, Gr(n, i);
45
+ i.id = t, i.textContent = r, kr(n, i);
46
46
  }
47
47
  }
48
- function $r(e) {
48
+ function jr(e) {
49
49
  if (!e)
50
50
  return document;
51
51
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -55,36 +55,36 @@ function $r(e) {
55
55
  t
56
56
  ) : e.ownerDocument;
57
57
  }
58
- function Gr(e, t) {
58
+ function kr(e, t) {
59
59
  return T(
60
60
  /** @type {Document} */
61
61
  e.head || e,
62
62
  t
63
63
  ), t.sheet;
64
64
  }
65
- function G(e, t, r) {
65
+ function U(e, t, r) {
66
66
  e.insertBefore(t, r || null);
67
67
  }
68
68
  function I(e) {
69
69
  e.parentNode && e.parentNode.removeChild(e);
70
70
  }
71
- function Vt(e, t) {
71
+ function Qt(e, t) {
72
72
  for (let r = 0; r < e.length; r += 1)
73
73
  e[r] && e[r].d(t);
74
74
  }
75
75
  function H(e) {
76
76
  return document.createElement(e);
77
77
  }
78
- function Te(e) {
78
+ function He(e) {
79
79
  return document.createTextNode(e);
80
80
  }
81
81
  function V() {
82
- return Te(" ");
82
+ return He(" ");
83
83
  }
84
84
  function _e(e, t, r, n) {
85
85
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
86
86
  }
87
- function Ur(e) {
87
+ function Vr(e) {
88
88
  return function(t) {
89
89
  return t.stopPropagation(), e.call(this, t);
90
90
  };
@@ -96,17 +96,17 @@ function $(e, t, r) {
96
96
  const n = t.toLowerCase();
97
97
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : C(e, t, r);
98
98
  }
99
- function Dr(e) {
99
+ function Xr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function rt(e, t) {
102
+ function at(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function Le(e, t, r, n) {
106
+ function Ne(e, t, r, n) {
107
107
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
108
108
  }
109
- function Fr(e) {
109
+ function Wr(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -115,98 +115,98 @@ function Fr(e) {
115
115
  }
116
116
  ), t;
117
117
  }
118
- let le;
119
- function ae(e) {
120
- le = e;
118
+ let ae;
119
+ function se(e) {
120
+ ae = e;
121
121
  }
122
- function jr() {
123
- if (!le)
122
+ function zr() {
123
+ if (!ae)
124
124
  throw new Error("Function called outside component initialization");
125
- return le;
125
+ return ae;
126
126
  }
127
- function kr(e) {
128
- jr().$$.on_mount.push(e);
127
+ function Zr(e) {
128
+ zr().$$.on_mount.push(e);
129
129
  }
130
- const Q = [], xe = [];
131
- let q = [];
132
- const ft = [], Vr = /* @__PURE__ */ Promise.resolve();
133
- let De = !1;
134
- function Xr() {
135
- De || (De = !0, Vr.then(O));
130
+ const Q = [], Ee = [];
131
+ let J = [];
132
+ const gt = [], Qr = /* @__PURE__ */ Promise.resolve();
133
+ let ke = !1;
134
+ function Jr() {
135
+ ke || (ke = !0, Qr.then(O));
136
136
  }
137
- function Fe(e) {
138
- q.push(e);
137
+ function Ve(e) {
138
+ J.push(e);
139
139
  }
140
- const Ie = /* @__PURE__ */ new Set();
140
+ const Me = /* @__PURE__ */ new Set();
141
141
  let z = 0;
142
142
  function O() {
143
143
  if (z !== 0)
144
144
  return;
145
- const e = le;
145
+ const e = ae;
146
146
  do {
147
147
  try {
148
148
  for (; z < Q.length; ) {
149
149
  const t = Q[z];
150
- z++, ae(t), Wr(t.$$);
150
+ z++, se(t), qr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
153
  throw Q.length = 0, z = 0, t;
154
154
  }
155
- for (ae(null), Q.length = 0, z = 0; xe.length; )
156
- xe.pop()();
157
- for (let t = 0; t < q.length; t += 1) {
158
- const r = q[t];
159
- Ie.has(r) || (Ie.add(r), r());
155
+ for (se(null), Q.length = 0, z = 0; Ee.length; )
156
+ Ee.pop()();
157
+ for (let t = 0; t < J.length; t += 1) {
158
+ const r = J[t];
159
+ Me.has(r) || (Me.add(r), r());
160
160
  }
161
- q.length = 0;
161
+ J.length = 0;
162
162
  } while (Q.length);
163
- for (; ft.length; )
164
- ft.pop()();
165
- De = !1, Ie.clear(), ae(e);
163
+ for (; gt.length; )
164
+ gt.pop()();
165
+ ke = !1, Me.clear(), se(e);
166
166
  }
167
- function Wr(e) {
167
+ function qr(e) {
168
168
  if (e.fragment !== null) {
169
- e.update(), re(e.before_update);
169
+ e.update(), te(e.before_update);
170
170
  const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
172
172
  }
173
173
  }
174
- function zr(e) {
174
+ function Yr(e) {
175
175
  const t = [], r = [];
176
- q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
176
+ J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
177
177
  }
178
- const Zr = /* @__PURE__ */ new Set();
179
- function Qr(e, t) {
180
- e && e.i && (Zr.delete(e), e.i(t));
178
+ const Kr = /* @__PURE__ */ new Set();
179
+ function en(e, t) {
180
+ e && e.i && (Kr.delete(e), e.i(t));
181
181
  }
182
- function Ee(e) {
182
+ function xe(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function qr(e, t, r) {
185
+ function tn(e, t, r) {
186
186
  const { fragment: n, after_update: i } = e.$$;
187
- n && n.m(t, r), Fe(() => {
188
- const o = e.$$.on_mount.map(Ft).filter(tt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
190
- }), i.forEach(Fe);
187
+ n && n.m(t, r), Ve(() => {
188
+ const o = e.$$.on_mount.map(Wt).filter(st);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
190
+ }), i.forEach(Ve);
191
191
  }
192
- function Jr(e, t) {
192
+ function rn(e, t) {
193
193
  const r = e.$$;
194
- r.fragment !== null && (zr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
194
+ r.fragment !== null && (Yr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
195
  }
196
- function Yr(e, t) {
197
- e.$$.dirty[0] === -1 && (Q.push(e), Xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function nn(e, t) {
197
+ e.$$.dirty[0] === -1 && (Q.push(e), Jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function Kr(e, t, r, n, i, o, s = null, a = [-1]) {
200
- const h = le;
201
- ae(e);
202
- const u = e.$$ = {
199
+ function on(e, t, r, n, i, o, s = null, a = [-1]) {
200
+ const h = ae;
201
+ se(e);
202
+ const l = e.$$ = {
203
203
  fragment: null,
204
204
  ctx: [],
205
205
  // state
206
206
  props: o,
207
207
  update: A,
208
208
  not_equal: i,
209
- bound: ct(),
209
+ bound: bt(),
210
210
  // lifecycle
211
211
  on_mount: [],
212
212
  on_destroy: [],
@@ -215,28 +215,28 @@ function Kr(e, t, r, n, i, o, s = null, a = [-1]) {
215
215
  after_update: [],
216
216
  context: new Map(t.context || (h ? h.$$.context : [])),
217
217
  // everything else
218
- callbacks: ct(),
218
+ callbacks: bt(),
219
219
  dirty: a,
220
220
  skip_bound: !1,
221
221
  root: t.target || h.$$.root
222
222
  };
223
- s && s(u.root);
224
- let l = !1;
225
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
223
+ s && s(l.root);
224
+ let u = !1;
225
+ if (l.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
226
226
  const m = d.length ? d[0] : c;
227
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && Yr(e, f)), c;
228
- }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
227
+ return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), u && nn(e, f)), c;
228
+ }) : [], l.update(), u = !0, te(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const f = Dr(t.target);
231
- u.fragment && u.fragment.l(f), f.forEach(I);
230
+ const f = Xr(t.target);
231
+ l.fragment && l.fragment.l(f), f.forEach(I);
232
232
  } else
233
- u.fragment && u.fragment.c();
234
- t.intro && Qr(e.$$.fragment), qr(e, t.target, t.anchor), O();
233
+ l.fragment && l.fragment.c();
234
+ t.intro && en(e.$$.fragment), tn(e, t.target, t.anchor), O();
235
235
  }
236
- ae(h);
236
+ se(h);
237
237
  }
238
- let Xt;
239
- typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
238
+ let Jt;
239
+ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
240
240
  /** The Svelte component constructor */
241
241
  $$ctor;
242
242
  /** Slots */
@@ -284,8 +284,8 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
284
284
  * @param {HTMLElement} target
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
- m: function(h, u) {
288
- G(h, o, u);
287
+ m: function(h, l) {
288
+ U(h, o, l);
289
289
  },
290
290
  d: function(h) {
291
291
  h && I(o);
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, r = Fr(this);
298
+ const t = {}, r = Wr(this);
299
299
  for (const i of this.$$s)
300
300
  i in r && (t[i] = [e(i)]);
301
301
  for (const i of this.attributes) {
@@ -382,8 +382,8 @@ function me(e, t, r, n) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function en(e, t, r, n, i, o) {
386
- let s = class extends Xt {
385
+ function sn(e, t, r, n, i, o) {
386
+ let s = class extends Jt {
387
387
  constructor() {
388
388
  super(e, r, i), this.$$p_d = t;
389
389
  }
@@ -411,7 +411,7 @@ function en(e, t, r, n, i, o) {
411
411
  }), e.element = /** @type {any} */
412
412
  s, s;
413
413
  }
414
- class tn {
414
+ class an {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class tn {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- Jr(this, 1), this.$destroy = A;
433
+ rn(this, 1), this.$destroy = A;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -439,7 +439,7 @@ class tn {
439
439
  * @returns {() => void}
440
440
  */
441
441
  $on(t, r) {
442
- if (!tt(r))
442
+ if (!st(r))
443
443
  return A;
444
444
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return n.push(r), () => {
@@ -452,28 +452,28 @@ class tn {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const rn = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rn);
458
+ const un = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(un);
460
460
  const Z = [];
461
- function nn(e, t) {
461
+ function ln(e, t) {
462
462
  return {
463
- subscribe: He(e, t).subscribe
463
+ subscribe: Ce(e, t).subscribe
464
464
  };
465
465
  }
466
- function He(e, t = A) {
466
+ function Ce(e, t = A) {
467
467
  let r;
468
468
  const n = /* @__PURE__ */ new Set();
469
469
  function i(a) {
470
- if (jt(e, a) && (e = a, r)) {
470
+ if (zt(e, a) && (e = a, r)) {
471
471
  const h = !Z.length;
472
- for (const u of n)
473
- u[1](), Z.push(u, e);
472
+ for (const l of n)
473
+ l[1](), Z.push(l, e);
474
474
  if (h) {
475
- for (let u = 0; u < Z.length; u += 2)
476
- Z[u][0](Z[u + 1]);
475
+ for (let l = 0; l < Z.length; l += 2)
476
+ Z[l][0](Z[l + 1]);
477
477
  Z.length = 0;
478
478
  }
479
479
  }
@@ -482,160 +482,146 @@ function He(e, t = A) {
482
482
  i(a(e));
483
483
  }
484
484
  function s(a, h = A) {
485
- const u = [a, h];
486
- return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
487
- n.delete(u), n.size === 0 && r && (r(), r = null);
485
+ const l = [a, h];
486
+ return n.add(l), n.size === 1 && (r = t(i, o) || A), a(e), () => {
487
+ n.delete(l), n.size === 0 && r && (r(), r = null);
488
488
  };
489
489
  }
490
490
  return { set: i, update: o, subscribe: s };
491
491
  }
492
- function ne(e, t, r) {
492
+ function re(e, t, r) {
493
493
  const n = !Array.isArray(e), i = n ? [e] : e;
494
494
  if (!i.every(Boolean))
495
495
  throw new Error("derived() expects stores as input, got a falsy value");
496
496
  const o = t.length < 2;
497
- return nn(r, (s, a) => {
497
+ return ln(r, (s, a) => {
498
498
  let h = !1;
499
- const u = [];
500
- let l = 0, f = A;
499
+ const l = [];
500
+ let u = 0, f = A;
501
501
  const c = () => {
502
- if (l)
502
+ if (u)
503
503
  return;
504
504
  f();
505
- const m = t(n ? u[0] : u, s, a);
506
- o ? s(m) : f = tt(m) ? m : A;
505
+ const m = t(n ? l[0] : l, s, a);
506
+ o ? s(m) : f = st(m) ? m : A;
507
507
  }, d = i.map(
508
- (m, b) => kt(
508
+ (m, b) => Zt(
509
509
  m,
510
510
  (g) => {
511
- u[b] = g, l &= ~(1 << b), h && c();
511
+ l[b] = g, u &= ~(1 << b), h && c();
512
512
  },
513
513
  () => {
514
- l |= 1 << b;
514
+ u |= 1 << b;
515
515
  }
516
516
  )
517
517
  );
518
518
  return h = !0, c(), function() {
519
- re(d), f(), h = !1;
519
+ te(d), f(), h = !1;
520
520
  };
521
521
  });
522
522
  }
523
- function on(e) {
523
+ function hn(e) {
524
524
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
525
525
  }
526
- var sn = function(t) {
527
- return an(t) && !ln(t);
526
+ var cn = function(t) {
527
+ return fn(t) && !dn(t);
528
528
  };
529
- function an(e) {
529
+ function fn(e) {
530
530
  return !!e && typeof e == "object";
531
531
  }
532
- function ln(e) {
532
+ function dn(e) {
533
533
  var t = Object.prototype.toString.call(e);
534
- return t === "[object RegExp]" || t === "[object Date]" || cn(e);
534
+ return t === "[object RegExp]" || t === "[object Date]" || bn(e);
535
535
  }
536
- var un = typeof Symbol == "function" && Symbol.for, hn = un ? Symbol.for("react.element") : 60103;
537
- function cn(e) {
538
- return e.$$typeof === hn;
536
+ var pn = typeof Symbol == "function" && Symbol.for, mn = pn ? Symbol.for("react.element") : 60103;
537
+ function bn(e) {
538
+ return e.$$typeof === mn;
539
539
  }
540
- function fn(e) {
540
+ function gn(e) {
541
541
  return Array.isArray(e) ? [] : {};
542
542
  }
543
543
  function ue(e, t) {
544
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(fn(e), e, t) : e;
544
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(gn(e), e, t) : e;
545
545
  }
546
- function dn(e, t, r) {
546
+ function vn(e, t, r) {
547
547
  return e.concat(t).map(function(n) {
548
548
  return ue(n, r);
549
549
  });
550
550
  }
551
- function pn(e, t) {
551
+ function yn(e, t) {
552
552
  if (!t.customMerge)
553
- return Y;
553
+ return q;
554
554
  var r = t.customMerge(e);
555
- return typeof r == "function" ? r : Y;
555
+ return typeof r == "function" ? r : q;
556
556
  }
557
- function mn(e) {
557
+ function _n(e) {
558
558
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
559
559
  return Object.propertyIsEnumerable.call(e, t);
560
560
  }) : [];
561
561
  }
562
- function dt(e) {
563
- return Object.keys(e).concat(mn(e));
562
+ function vt(e) {
563
+ return Object.keys(e).concat(_n(e));
564
564
  }
565
- function Wt(e, t) {
565
+ function qt(e, t) {
566
566
  try {
567
567
  return t in e;
568
568
  } catch {
569
569
  return !1;
570
570
  }
571
571
  }
572
- function bn(e, t) {
573
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
572
+ function En(e, t) {
573
+ return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
574
574
  }
575
- function gn(e, t, r) {
575
+ function xn(e, t, r) {
576
576
  var n = {};
577
- return r.isMergeableObject(e) && dt(e).forEach(function(i) {
577
+ return r.isMergeableObject(e) && vt(e).forEach(function(i) {
578
578
  n[i] = ue(e[i], r);
579
- }), dt(t).forEach(function(i) {
580
- bn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
579
+ }), vt(t).forEach(function(i) {
580
+ En(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = yn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
581
581
  }), n;
582
582
  }
583
- function Y(e, t, r) {
584
- r = r || {}, r.arrayMerge = r.arrayMerge || dn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ue;
583
+ function q(e, t, r) {
584
+ r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = ue;
585
585
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
586
- return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ue(t, r);
586
+ return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : ue(t, r);
587
587
  }
588
- Y.all = function(t, r) {
588
+ q.all = function(t, r) {
589
589
  if (!Array.isArray(t))
590
590
  throw new Error("first argument should be an array");
591
591
  return t.reduce(function(n, i) {
592
- return Y(n, i, r);
592
+ return q(n, i, r);
593
593
  }, {});
594
594
  };
595
- var vn = Y, yn = vn;
596
- const _n = /* @__PURE__ */ on(yn);
597
- /*! *****************************************************************************
598
- Copyright (c) Microsoft Corporation.
599
-
600
- Permission to use, copy, modify, and/or distribute this software for any
601
- purpose with or without fee is hereby granted.
602
-
603
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
604
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
605
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
606
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
607
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
608
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
609
- PERFORMANCE OF THIS SOFTWARE.
610
- ***************************************************************************** */
611
- var je = function(e, t) {
612
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
595
+ var Sn = q, wn = Sn;
596
+ const Tn = /* @__PURE__ */ hn(wn);
597
+ var Xe = function(e, t) {
598
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
613
599
  r.__proto__ = n;
614
600
  } || function(r, n) {
615
601
  for (var i in n)
616
602
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
617
- }, je(e, t);
603
+ }, Xe(e, t);
618
604
  };
619
- function D(e, t) {
605
+ function Pe(e, t) {
620
606
  if (typeof t != "function" && t !== null)
621
607
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
622
- je(e, t);
608
+ Xe(e, t);
623
609
  function r() {
624
610
  this.constructor = e;
625
611
  }
626
612
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
627
613
  }
628
- var _ = function() {
629
- return _ = Object.assign || function(t) {
614
+ var G = function() {
615
+ return G = Object.assign || function(t) {
630
616
  for (var r, n = 1, i = arguments.length; n < i; n++) {
631
617
  r = arguments[n];
632
618
  for (var o in r)
633
619
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
634
620
  }
635
621
  return t;
636
- }, _.apply(this, arguments);
622
+ }, G.apply(this, arguments);
637
623
  };
638
- function xn(e, t) {
624
+ function Hn(e, t) {
639
625
  var r = {};
640
626
  for (var n in e)
641
627
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -644,75 +630,43 @@ function xn(e, t) {
644
630
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
645
631
  return r;
646
632
  }
647
- function ke(e) {
648
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
649
- if (r)
650
- return r.call(e);
651
- if (e && typeof e.length == "number")
652
- return {
653
- next: function() {
654
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
655
- }
656
- };
657
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
658
- }
659
- function Ve(e, t) {
660
- var r = typeof Symbol == "function" && e[Symbol.iterator];
661
- if (!r)
662
- return e;
663
- var n = r.call(e), i, o = [], s;
664
- try {
665
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
666
- o.push(i.value);
667
- } catch (a) {
668
- s = { error: a };
669
- } finally {
670
- try {
671
- i && !i.done && (r = n.return) && r.call(n);
672
- } finally {
673
- if (s)
674
- throw s.error;
675
- }
676
- }
677
- return o;
678
- }
679
- function J(e, t, r) {
633
+ function Re(e, t, r) {
680
634
  if (r || arguments.length === 2)
681
635
  for (var n = 0, i = t.length, o; n < i; n++)
682
636
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
683
- return e.concat(o || t);
637
+ return e.concat(o || Array.prototype.slice.call(t));
684
638
  }
685
- function Ne(e, t) {
686
- var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : wn;
639
+ function $e(e, t) {
640
+ var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : Bn;
687
641
  return i(e, {
688
642
  cache: r,
689
643
  serializer: n
690
644
  });
691
645
  }
692
- function En(e) {
646
+ function Cn(e) {
693
647
  return e == null || typeof e == "number" || typeof e == "boolean";
694
648
  }
695
- function Sn(e, t, r, n) {
696
- var i = En(n) ? n : r(n), o = t.get(i);
649
+ function Pn(e, t, r, n) {
650
+ var i = Cn(n) ? n : r(n), o = t.get(i);
697
651
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
698
652
  }
699
- function zt(e, t, r) {
653
+ function Yt(e, t, r) {
700
654
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
701
655
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
702
656
  }
703
- function Zt(e, t, r, n, i) {
657
+ function Kt(e, t, r, n, i) {
704
658
  return r.bind(t, e, n, i);
705
659
  }
706
- function wn(e, t) {
707
- var r = e.length === 1 ? Sn : zt;
708
- return Zt(e, this, r, t.cache.create(), t.serializer);
660
+ function Bn(e, t) {
661
+ var r = e.length === 1 ? Pn : Yt;
662
+ return Kt(e, this, r, t.cache.create(), t.serializer);
709
663
  }
710
- function Tn(e, t) {
711
- return Zt(e, this, zt, t.cache.create(), t.serializer);
664
+ function An(e, t) {
665
+ return Kt(e, this, Yt, t.cache.create(), t.serializer);
712
666
  }
713
- var Hn = function() {
667
+ var On = function() {
714
668
  return JSON.stringify(arguments);
715
- }, Cn = (
669
+ }, Ln = (
716
670
  /** @class */
717
671
  function() {
718
672
  function e() {
@@ -724,61 +678,71 @@ var Hn = function() {
724
678
  this.cache[t] = r;
725
679
  }, e;
726
680
  }()
727
- ), Pn = {
681
+ ), In = {
728
682
  create: function() {
729
- return new Cn();
683
+ return new Ln();
730
684
  }
731
- }, Me = {
732
- variadic: Tn
733
- }, v;
685
+ }, Ge = {
686
+ variadic: An
687
+ }, Se = function() {
688
+ return Se = Object.assign || function(t) {
689
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
690
+ r = arguments[n];
691
+ for (var o in r)
692
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
693
+ }
694
+ return t;
695
+ }, Se.apply(this, arguments);
696
+ };
697
+ var v;
734
698
  (function(e) {
735
699
  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";
736
700
  })(v || (v = {}));
737
- var S;
701
+ var x;
738
702
  (function(e) {
739
703
  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";
740
- })(S || (S = {}));
741
- var K;
704
+ })(x || (x = {}));
705
+ var Y;
742
706
  (function(e) {
743
707
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
744
- })(K || (K = {}));
745
- function pt(e) {
746
- return e.type === S.literal;
708
+ })(Y || (Y = {}));
709
+ function yt(e) {
710
+ return e.type === x.literal;
747
711
  }
748
- function Bn(e) {
749
- return e.type === S.argument;
712
+ function Nn(e) {
713
+ return e.type === x.argument;
750
714
  }
751
- function Qt(e) {
752
- return e.type === S.number;
715
+ function er(e) {
716
+ return e.type === x.number;
753
717
  }
754
- function qt(e) {
755
- return e.type === S.date;
718
+ function tr(e) {
719
+ return e.type === x.date;
756
720
  }
757
- function Jt(e) {
758
- return e.type === S.time;
721
+ function rr(e) {
722
+ return e.type === x.time;
759
723
  }
760
- function Yt(e) {
761
- return e.type === S.select;
724
+ function nr(e) {
725
+ return e.type === x.select;
762
726
  }
763
- function Kt(e) {
764
- return e.type === S.plural;
727
+ function ir(e) {
728
+ return e.type === x.plural;
765
729
  }
766
- function An(e) {
767
- return e.type === S.pound;
730
+ function Mn(e) {
731
+ return e.type === x.pound;
768
732
  }
769
- function er(e) {
770
- return e.type === S.tag;
733
+ function or(e) {
734
+ return e.type === x.tag;
771
735
  }
772
- function tr(e) {
773
- return !!(e && typeof e == "object" && e.type === K.number);
736
+ function sr(e) {
737
+ return !!(e && typeof e == "object" && e.type === Y.number);
774
738
  }
775
- function Xe(e) {
776
- return !!(e && typeof e == "object" && e.type === K.dateTime);
739
+ function We(e) {
740
+ return !!(e && typeof e == "object" && e.type === Y.dateTime);
777
741
  }
778
- var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
779
- function Ln(e) {
742
+ var ar = /[ \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;
743
+ function $n(e) {
780
744
  var t = {};
781
- return e.replace(On, function(r) {
745
+ return e.replace(Rn, function(r) {
782
746
  var n = r.length;
783
747
  switch (r[0]) {
784
748
  case "G":
@@ -867,18 +831,28 @@ function Ln(e) {
867
831
  return "";
868
832
  }), t;
869
833
  }
870
- var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
871
- function Nn(e) {
834
+ var S = function() {
835
+ return S = Object.assign || function(t) {
836
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
837
+ r = arguments[n];
838
+ for (var o in r)
839
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
840
+ }
841
+ return t;
842
+ }, S.apply(this, arguments);
843
+ };
844
+ var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
845
+ function Un(e) {
872
846
  if (e.length === 0)
873
847
  throw new Error("Number skeleton cannot be empty");
874
- for (var t = e.split(In).filter(function(c) {
848
+ for (var t = e.split(Gn).filter(function(c) {
875
849
  return c.length > 0;
876
850
  }), r = [], n = 0, i = t; n < i.length; n++) {
877
851
  var o = i[n], s = o.split("/");
878
852
  if (s.length === 0)
879
853
  throw new Error("Invalid number skeleton");
880
- for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
881
- var f = l[u];
854
+ for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
855
+ var f = u[l];
882
856
  if (f.length === 0)
883
857
  throw new Error("Invalid number skeleton");
884
858
  }
@@ -886,17 +860,17 @@ function Nn(e) {
886
860
  }
887
861
  return r;
888
862
  }
889
- function Mn(e) {
863
+ function Dn(e) {
890
864
  return e.replace(/^(.*?)-/, "");
891
865
  }
892
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
893
- function bt(e) {
866
+ var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
867
+ function Et(e) {
894
868
  var t = {};
895
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
869
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
896
870
  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)), "";
897
871
  }), t;
898
872
  }
899
- function or(e) {
873
+ function hr(e) {
900
874
  switch (e) {
901
875
  case "sign-auto":
902
876
  return {
@@ -936,7 +910,7 @@ function or(e) {
936
910
  };
937
911
  }
938
912
  }
939
- function $n(e) {
913
+ function jn(e) {
940
914
  var t;
941
915
  if (e[0] === "E" && e[1] === "E" ? (t = {
942
916
  notation: "engineering"
@@ -944,17 +918,17 @@ function $n(e) {
944
918
  notation: "scientific"
945
919
  }, e = e.slice(1)), t) {
946
920
  var r = e.slice(0, 2);
947
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
921
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
948
922
  throw new Error("Malformed concise eng/scientific notation");
949
923
  t.minimumIntegerDigits = e.length;
950
924
  }
951
925
  return t;
952
926
  }
953
- function gt(e) {
954
- var t = {}, r = or(e);
927
+ function xt(e) {
928
+ var t = {}, r = hr(e);
955
929
  return r || t;
956
930
  }
957
- function Gn(e) {
931
+ function kn(e) {
958
932
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
959
933
  var i = n[r];
960
934
  switch (i.stem) {
@@ -978,7 +952,7 @@ function Gn(e) {
978
952
  continue;
979
953
  case "measure-unit":
980
954
  case "unit":
981
- t.style = "unit", t.unit = Mn(i.options[0]);
955
+ t.style = "unit", t.unit = Dn(i.options[0]);
982
956
  continue;
983
957
  case "compact-short":
984
958
  case "K":
@@ -989,13 +963,13 @@ function Gn(e) {
989
963
  t.notation = "compact", t.compactDisplay = "long";
990
964
  continue;
991
965
  case "scientific":
992
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
993
- return _(_({}, h), gt(u));
966
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
967
+ return S(S({}, h), xt(l));
994
968
  }, {}));
995
969
  continue;
996
970
  case "engineering":
997
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
998
- return _(_({}, h), gt(u));
971
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
972
+ return S(S({}, h), xt(l));
999
973
  }, {}));
1000
974
  continue;
1001
975
  case "notation-simple":
@@ -1040,9 +1014,9 @@ function Gn(e) {
1040
1014
  case "integer-width":
1041
1015
  if (i.options.length > 1)
1042
1016
  throw new RangeError("integer-width stems only accept a single optional option");
1043
- i.options[0].replace(Rn, function(h, u, l, f, c, d) {
1044
- if (u)
1045
- t.minimumIntegerDigits = l.length;
1017
+ i.options[0].replace(Fn, function(h, l, u, f, c, d) {
1018
+ if (l)
1019
+ t.minimumIntegerDigits = u.length;
1046
1020
  else {
1047
1021
  if (f && c)
1048
1022
  throw new Error("We currently do not support maximum integer digits");
@@ -1053,28 +1027,28 @@ function Gn(e) {
1053
1027
  });
1054
1028
  continue;
1055
1029
  }
1056
- if (ir.test(i.stem)) {
1030
+ if (lr.test(i.stem)) {
1057
1031
  t.minimumIntegerDigits = i.stem.length;
1058
1032
  continue;
1059
1033
  }
1060
- if (mt.test(i.stem)) {
1034
+ if (_t.test(i.stem)) {
1061
1035
  if (i.options.length > 1)
1062
1036
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1063
- i.stem.replace(mt, function(h, u, l, f, c, d) {
1064
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1037
+ i.stem.replace(_t, function(h, l, u, f, c, d) {
1038
+ return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1065
1039
  });
1066
1040
  var o = i.options[0];
1067
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), bt(o)));
1041
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Et(o)));
1068
1042
  continue;
1069
1043
  }
1070
- if (nr.test(i.stem)) {
1071
- t = _(_({}, t), bt(i.stem));
1044
+ if (ur.test(i.stem)) {
1045
+ t = S(S({}, t), Et(i.stem));
1072
1046
  continue;
1073
1047
  }
1074
- var s = or(i.stem);
1075
- s && (t = _(_({}, t), s));
1076
- var a = $n(i.stem);
1077
- a && (t = _(_({}, t), a));
1048
+ var s = hr(i.stem);
1049
+ s && (t = S(S({}, t), s));
1050
+ var a = jn(i.stem);
1051
+ a && (t = S(S({}, t), a));
1078
1052
  }
1079
1053
  return t;
1080
1054
  }
@@ -2493,23 +2467,23 @@ var de = {
2493
2467
  "h"
2494
2468
  ]
2495
2469
  };
2496
- function Un(e, t) {
2470
+ function Vn(e, t) {
2497
2471
  for (var r = "", n = 0; n < e.length; n++) {
2498
2472
  var i = e.charAt(n);
2499
2473
  if (i === "j") {
2500
2474
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2501
2475
  o++, n++;
2502
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Dn(t);
2503
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2476
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Xn(t);
2477
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2504
2478
  r += h;
2505
2479
  for (; s-- > 0; )
2506
- r = u + r;
2480
+ r = l + r;
2507
2481
  } else
2508
2482
  i === "J" ? r += "H" : r += i;
2509
2483
  }
2510
2484
  return r;
2511
2485
  }
2512
- function Dn(e) {
2486
+ function Xn(e) {
2513
2487
  var t = e.hourCycle;
2514
2488
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2515
2489
  e.hourCycles && // @ts-ignore
@@ -2531,20 +2505,20 @@ function Dn(e) {
2531
2505
  var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2532
2506
  return i[0];
2533
2507
  }
2534
- var Re, Fn = new RegExp("^".concat(rr.source, "*")), jn = new RegExp("".concat(rr.source, "*$"));
2508
+ var Ue, Wn = new RegExp("^".concat(ar.source, "*")), zn = new RegExp("".concat(ar.source, "*$"));
2535
2509
  function y(e, t) {
2536
2510
  return { start: e, end: t };
2537
2511
  }
2538
- var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, qn = Qn ? Number.isSafeInteger : function(e) {
2512
+ var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
2539
2513
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2540
- }, We = !0;
2514
+ }, ze = !0;
2541
2515
  try {
2542
- var Jn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2543
- We = ((Re = Jn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2516
+ var ri = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2517
+ ze = ((Ue = ri.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2544
2518
  } catch {
2545
- We = !1;
2519
+ ze = !1;
2546
2520
  }
2547
- var vt = kn ? (
2521
+ var St = Zn ? (
2548
2522
  // Native
2549
2523
  function(t, r, n) {
2550
2524
  return t.startsWith(r, n);
@@ -2554,7 +2528,7 @@ var vt = kn ? (
2554
2528
  function(t, r, n) {
2555
2529
  return t.slice(n, n + r.length) === r;
2556
2530
  }
2557
- ), ze = Vn ? String.fromCodePoint : (
2531
+ ), Ze = Qn ? String.fromCodePoint : (
2558
2532
  // IE11
2559
2533
  function() {
2560
2534
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2566,9 +2540,9 @@ var vt = kn ? (
2566
2540
  }
2567
2541
  return n;
2568
2542
  }
2569
- ), yt = (
2543
+ ), wt = (
2570
2544
  // native
2571
- Xn ? Object.fromEntries : (
2545
+ Jn ? Object.fromEntries : (
2572
2546
  // Ponyfill
2573
2547
  function(t) {
2574
2548
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2578,7 +2552,7 @@ var vt = kn ? (
2578
2552
  return r;
2579
2553
  }
2580
2554
  )
2581
- ), sr = Wn ? (
2555
+ ), cr = qn ? (
2582
2556
  // Native
2583
2557
  function(t, r) {
2584
2558
  return t.codePointAt(r);
@@ -2592,7 +2566,7 @@ var vt = kn ? (
2592
2566
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2593
2567
  }
2594
2568
  }
2595
- ), Yn = zn ? (
2569
+ ), ni = Yn ? (
2596
2570
  // Native
2597
2571
  function(t) {
2598
2572
  return t.trimStart();
@@ -2600,9 +2574,9 @@ var vt = kn ? (
2600
2574
  ) : (
2601
2575
  // Ponyfill
2602
2576
  function(t) {
2603
- return t.replace(Fn, "");
2577
+ return t.replace(Wn, "");
2604
2578
  }
2605
- ), Kn = Zn ? (
2579
+ ), ii = Kn ? (
2606
2580
  // Native
2607
2581
  function(t) {
2608
2582
  return t.trimEnd();
@@ -2610,32 +2584,32 @@ var vt = kn ? (
2610
2584
  ) : (
2611
2585
  // Ponyfill
2612
2586
  function(t) {
2613
- return t.replace(jn, "");
2587
+ return t.replace(zn, "");
2614
2588
  }
2615
2589
  );
2616
- function ar(e, t) {
2590
+ function fr(e, t) {
2617
2591
  return new RegExp(e, t);
2618
2592
  }
2619
- var Ze;
2620
- if (We) {
2621
- var _t = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2622
- Ze = function(t, r) {
2593
+ var Qe;
2594
+ if (ze) {
2595
+ var Tt = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2596
+ Qe = function(t, r) {
2623
2597
  var n;
2624
- _t.lastIndex = r;
2625
- var i = _t.exec(t);
2598
+ Tt.lastIndex = r;
2599
+ var i = Tt.exec(t);
2626
2600
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2627
2601
  };
2628
2602
  } else
2629
- Ze = function(t, r) {
2603
+ Qe = function(t, r) {
2630
2604
  for (var n = []; ; ) {
2631
- var i = sr(t, r);
2632
- if (i === void 0 || lr(i) || ni(i))
2605
+ var i = cr(t, r);
2606
+ if (i === void 0 || dr(i) || ui(i))
2633
2607
  break;
2634
2608
  n.push(i), r += i >= 65536 ? 2 : 1;
2635
2609
  }
2636
- return ze.apply(void 0, n);
2610
+ return Ze.apply(void 0, n);
2637
2611
  };
2638
- var ei = (
2612
+ var oi = (
2639
2613
  /** @class */
2640
2614
  function() {
2641
2615
  function e(t, r) {
@@ -2659,14 +2633,14 @@ var ei = (
2659
2633
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2660
2634
  var a = this.clonePosition();
2661
2635
  this.bump(), i.push({
2662
- type: S.pound,
2636
+ type: x.pound,
2663
2637
  location: y(a, this.clonePosition())
2664
2638
  });
2665
2639
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2666
2640
  if (n)
2667
2641
  break;
2668
2642
  return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2669
- } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2643
+ } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2670
2644
  var s = this.parseTag(t, r);
2671
2645
  if (s.err)
2672
2646
  return s;
@@ -2687,7 +2661,7 @@ var ei = (
2687
2661
  if (this.bumpSpace(), this.bumpIf("/>"))
2688
2662
  return {
2689
2663
  val: {
2690
- type: S.literal,
2664
+ type: x.literal,
2691
2665
  value: "<".concat(i, "/>"),
2692
2666
  location: y(n, this.clonePosition())
2693
2667
  },
@@ -2699,12 +2673,12 @@ var ei = (
2699
2673
  return o;
2700
2674
  var s = o.val, a = this.clonePosition();
2701
2675
  if (this.bumpIf("</")) {
2702
- if (this.isEOF() || !Qe(this.char()))
2676
+ if (this.isEOF() || !Je(this.char()))
2703
2677
  return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
2704
- var h = this.clonePosition(), u = this.parseTagName();
2705
- return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2678
+ var h = this.clonePosition(), l = this.parseTagName();
2679
+ return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2706
2680
  val: {
2707
- type: S.tag,
2681
+ type: x.tag,
2708
2682
  value: i,
2709
2683
  children: s,
2710
2684
  location: y(n, this.clonePosition())
@@ -2717,7 +2691,7 @@ var ei = (
2717
2691
  return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2718
2692
  }, e.prototype.parseTagName = function() {
2719
2693
  var t = this.offset();
2720
- for (this.bump(); !this.isEOF() && ri(this.char()); )
2694
+ for (this.bump(); !this.isEOF() && ai(this.char()); )
2721
2695
  this.bump();
2722
2696
  return this.message.slice(t, this.offset());
2723
2697
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2741,12 +2715,12 @@ var ei = (
2741
2715
  }
2742
2716
  var h = y(n, this.clonePosition());
2743
2717
  return {
2744
- val: { type: S.literal, value: i, location: h },
2718
+ val: { type: x.literal, value: i, location: h },
2745
2719
  err: null
2746
2720
  };
2747
2721
  }, e.prototype.tryParseLeftAngleBracket = function() {
2748
2722
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2749
- !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
2723
+ !si(this.peek() || 0)) ? (this.bump(), "<") : null;
2750
2724
  }, e.prototype.tryParseQuote = function(t) {
2751
2725
  if (this.isEOF() || this.char() !== 39)
2752
2726
  return null;
@@ -2780,12 +2754,12 @@ var ei = (
2780
2754
  r.push(n);
2781
2755
  this.bump();
2782
2756
  }
2783
- return ze.apply(void 0, r);
2757
+ return Ze.apply(void 0, r);
2784
2758
  }, e.prototype.tryParseUnquoted = function(t, r) {
2785
2759
  if (this.isEOF())
2786
2760
  return null;
2787
2761
  var n = this.char();
2788
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
2762
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2789
2763
  }, e.prototype.parseArgument = function(t, r) {
2790
2764
  var n = this.clonePosition();
2791
2765
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2801,7 +2775,7 @@ var ei = (
2801
2775
  case 125:
2802
2776
  return this.bump(), {
2803
2777
  val: {
2804
- type: S.argument,
2778
+ type: x.argument,
2805
2779
  // value does not include the opening and closing braces.
2806
2780
  value: i,
2807
2781
  location: y(n, this.clonePosition())
@@ -2814,7 +2788,7 @@ var ei = (
2814
2788
  return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2815
2789
  }
2816
2790
  }, e.prototype.parseIdentifierIfPossible = function() {
2817
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
2791
+ var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
2818
2792
  this.bumpTo(i);
2819
2793
  var o = this.clonePosition(), s = y(t, o);
2820
2794
  return { value: n, location: s };
@@ -2827,53 +2801,53 @@ var ei = (
2827
2801
  case "date":
2828
2802
  case "time": {
2829
2803
  this.bumpSpace();
2830
- var u = null;
2804
+ var l = null;
2831
2805
  if (this.bumpIf(",")) {
2832
2806
  this.bumpSpace();
2833
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2807
+ var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2834
2808
  if (f.err)
2835
2809
  return f;
2836
- var c = Kn(f.val);
2810
+ var c = ii(f.val);
2837
2811
  if (c.length === 0)
2838
2812
  return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2839
- var d = y(l, this.clonePosition());
2840
- u = { style: c, styleLocation: d };
2813
+ var d = y(u, this.clonePosition());
2814
+ l = { style: c, styleLocation: d };
2841
2815
  }
2842
2816
  var m = this.tryParseArgumentClose(i);
2843
2817
  if (m.err)
2844
2818
  return m;
2845
2819
  var b = y(i, this.clonePosition());
2846
- if (u && vt(u?.style, "::", 0)) {
2847
- var g = Yn(u.style.slice(2));
2820
+ if (l && St(l?.style, "::", 0)) {
2821
+ var g = ni(l.style.slice(2));
2848
2822
  if (a === "number") {
2849
- var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
2823
+ var f = this.parseNumberSkeletonFromString(g, l.styleLocation);
2850
2824
  return f.err ? f : {
2851
- val: { type: S.number, value: n, location: b, style: f.val },
2825
+ val: { type: x.number, value: n, location: b, style: f.val },
2852
2826
  err: null
2853
2827
  };
2854
2828
  } else {
2855
2829
  if (g.length === 0)
2856
2830
  return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
2857
2831
  var E = g;
2858
- this.locale && (E = Un(g, this.locale));
2832
+ this.locale && (E = Vn(g, this.locale));
2859
2833
  var c = {
2860
- type: K.dateTime,
2834
+ type: Y.dateTime,
2861
2835
  pattern: E,
2862
- location: u.styleLocation,
2863
- parsedOptions: this.shouldParseSkeletons ? Ln(E) : {}
2864
- }, x = a === "date" ? S.date : S.time;
2836
+ location: l.styleLocation,
2837
+ parsedOptions: this.shouldParseSkeletons ? $n(E) : {}
2838
+ }, _ = a === "date" ? x.date : x.time;
2865
2839
  return {
2866
- val: { type: x, value: n, location: b, style: c },
2840
+ val: { type: _, value: n, location: b, style: c },
2867
2841
  err: null
2868
2842
  };
2869
2843
  }
2870
2844
  }
2871
2845
  return {
2872
2846
  val: {
2873
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
2847
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
2874
2848
  value: n,
2875
2849
  location: b,
2876
- style: (o = u?.style) !== null && o !== void 0 ? o : null
2850
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
2877
2851
  },
2878
2852
  err: null
2879
2853
  };
@@ -2883,7 +2857,7 @@ var ei = (
2883
2857
  case "select": {
2884
2858
  var w = this.clonePosition();
2885
2859
  if (this.bumpSpace(), !this.bumpIf(","))
2886
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, _({}, w)));
2860
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, Se({}, w)));
2887
2861
  this.bumpSpace();
2888
2862
  var F = this.parseIdentifierIfPossible(), L = 0;
2889
2863
  if (a !== "select" && F.value === "offset") {
@@ -2904,17 +2878,17 @@ var ei = (
2904
2878
  var W = y(i, this.clonePosition());
2905
2879
  return a === "select" ? {
2906
2880
  val: {
2907
- type: S.select,
2881
+ type: x.select,
2908
2882
  value: n,
2909
- options: yt(k.val),
2883
+ options: wt(k.val),
2910
2884
  location: W
2911
2885
  },
2912
2886
  err: null
2913
2887
  } : {
2914
2888
  val: {
2915
- type: S.plural,
2889
+ type: x.plural,
2916
2890
  value: n,
2917
- options: yt(k.val),
2891
+ options: wt(k.val),
2918
2892
  offset: L,
2919
2893
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2920
2894
  location: W
@@ -2965,34 +2939,34 @@ var ei = (
2965
2939
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2966
2940
  var n = [];
2967
2941
  try {
2968
- n = Nn(t);
2942
+ n = Un(t);
2969
2943
  } catch {
2970
2944
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2971
2945
  }
2972
2946
  return {
2973
2947
  val: {
2974
- type: K.number,
2948
+ type: Y.number,
2975
2949
  tokens: n,
2976
2950
  location: r,
2977
- parsedOptions: this.shouldParseSkeletons ? Gn(n) : {}
2951
+ parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
2978
2952
  },
2979
2953
  err: null
2980
2954
  };
2981
2955
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2982
- for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
2983
- if (u.length === 0) {
2956
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
2957
+ if (l.length === 0) {
2984
2958
  var f = this.clonePosition();
2985
2959
  if (r !== "select" && this.bumpIf("=")) {
2986
2960
  var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
2987
2961
  if (c.err)
2988
2962
  return c;
2989
- l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
2963
+ u = y(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
2990
2964
  } else
2991
2965
  break;
2992
2966
  }
2993
- if (h.has(u))
2994
- return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2995
- u === "other" && (s = !0), this.bumpSpace();
2967
+ if (h.has(l))
2968
+ return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
2969
+ l === "other" && (s = !0), this.bumpSpace();
2996
2970
  var d = this.clonePosition();
2997
2971
  if (!this.bumpIf("{"))
2998
2972
  return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
@@ -3003,12 +2977,12 @@ var ei = (
3003
2977
  if (b.err)
3004
2978
  return b;
3005
2979
  a.push([
3006
- u,
2980
+ l,
3007
2981
  {
3008
2982
  value: m.val,
3009
2983
  location: y(d, this.clonePosition())
3010
2984
  }
3011
- ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2985
+ ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3012
2986
  }
3013
2987
  return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3014
2988
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3022,7 +2996,7 @@ var ei = (
3022
2996
  break;
3023
2997
  }
3024
2998
  var h = y(i, this.clonePosition());
3025
- return o ? (s *= n, qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
2999
+ return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3026
3000
  }, e.prototype.offset = function() {
3027
3001
  return this.position.offset;
3028
3002
  }, e.prototype.isEOF = function() {
@@ -3037,7 +3011,7 @@ var ei = (
3037
3011
  var t = this.position.offset;
3038
3012
  if (t >= this.message.length)
3039
3013
  throw Error("out of bound");
3040
- var r = sr(this.message, t);
3014
+ var r = cr(this.message, t);
3041
3015
  if (r === void 0)
3042
3016
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3043
3017
  return r;
@@ -3056,7 +3030,7 @@ var ei = (
3056
3030
  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);
3057
3031
  }
3058
3032
  }, e.prototype.bumpIf = function(t) {
3059
- if (vt(this.message, t, this.offset())) {
3033
+ if (St(this.message, t, this.offset())) {
3060
3034
  for (var r = 0; r < t.length; r++)
3061
3035
  this.bump();
3062
3036
  return !0;
@@ -3078,7 +3052,7 @@ var ei = (
3078
3052
  break;
3079
3053
  }
3080
3054
  }, e.prototype.bumpSpace = function() {
3081
- for (; !this.isEOF() && lr(this.char()); )
3055
+ for (; !this.isEOF() && dr(this.char()); )
3082
3056
  this.bump();
3083
3057
  }, e.prototype.peek = function() {
3084
3058
  if (this.isEOF())
@@ -3088,47 +3062,47 @@ var ei = (
3088
3062
  }, e;
3089
3063
  }()
3090
3064
  );
3091
- function Qe(e) {
3065
+ function Je(e) {
3092
3066
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3093
3067
  }
3094
- function ti(e) {
3095
- return Qe(e) || e === 47;
3068
+ function si(e) {
3069
+ return Je(e) || e === 47;
3096
3070
  }
3097
- function ri(e) {
3071
+ function ai(e) {
3098
3072
  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;
3099
3073
  }
3100
- function lr(e) {
3074
+ function dr(e) {
3101
3075
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3102
3076
  }
3103
- function ni(e) {
3077
+ function ui(e) {
3104
3078
  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;
3105
3079
  }
3106
3080
  function qe(e) {
3107
3081
  e.forEach(function(t) {
3108
- if (delete t.location, Yt(t) || Kt(t))
3082
+ if (delete t.location, nr(t) || ir(t))
3109
3083
  for (var r in t.options)
3110
3084
  delete t.options[r].location, qe(t.options[r].value);
3111
3085
  else
3112
- Qt(t) && tr(t.style) || (qt(t) || Jt(t)) && Xe(t.style) ? delete t.style.location : er(t) && qe(t.children);
3086
+ er(t) && sr(t.style) || (tr(t) || rr(t)) && We(t.style) ? delete t.style.location : or(t) && qe(t.children);
3113
3087
  });
3114
3088
  }
3115
- function ii(e, t) {
3116
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3117
- var r = new ei(e, t).parse();
3089
+ function li(e, t) {
3090
+ t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3091
+ var r = new oi(e, t).parse();
3118
3092
  if (r.err) {
3119
3093
  var n = SyntaxError(v[r.err.kind]);
3120
3094
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3121
3095
  }
3122
3096
  return t?.captureLocation || qe(r.val), r.val;
3123
3097
  }
3124
- var ee;
3098
+ var K;
3125
3099
  (function(e) {
3126
3100
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3127
- })(ee || (ee = {}));
3128
- var Ce = (
3101
+ })(K || (K = {}));
3102
+ var Be = (
3129
3103
  /** @class */
3130
3104
  function(e) {
3131
- D(t, e);
3105
+ Pe(t, e);
3132
3106
  function t(r, n, i) {
3133
3107
  var o = e.call(this, r) || this;
3134
3108
  return o.code = n, o.originalMessage = i, o;
@@ -3137,155 +3111,155 @@ var Ce = (
3137
3111
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3138
3112
  }, t;
3139
3113
  }(Error)
3140
- ), xt = (
3114
+ ), Ht = (
3141
3115
  /** @class */
3142
3116
  function(e) {
3143
- D(t, e);
3117
+ Pe(t, e);
3144
3118
  function t(r, n, i, o) {
3145
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3119
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3146
3120
  }
3147
3121
  return t;
3148
- }(Ce)
3149
- ), oi = (
3122
+ }(Be)
3123
+ ), hi = (
3150
3124
  /** @class */
3151
3125
  function(e) {
3152
- D(t, e);
3126
+ Pe(t, e);
3153
3127
  function t(r, n, i) {
3154
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3128
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3155
3129
  }
3156
3130
  return t;
3157
- }(Ce)
3158
- ), si = (
3131
+ }(Be)
3132
+ ), ci = (
3159
3133
  /** @class */
3160
3134
  function(e) {
3161
- D(t, e);
3135
+ Pe(t, e);
3162
3136
  function t(r, n) {
3163
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3137
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3164
3138
  }
3165
3139
  return t;
3166
- }(Ce)
3140
+ }(Be)
3167
3141
  ), B;
3168
3142
  (function(e) {
3169
3143
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3170
3144
  })(B || (B = {}));
3171
- function ai(e) {
3145
+ function fi(e) {
3172
3146
  return e.length < 2 ? e : e.reduce(function(t, r) {
3173
3147
  var n = t[t.length - 1];
3174
3148
  return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3175
3149
  }, []);
3176
3150
  }
3177
- function li(e) {
3151
+ function di(e) {
3178
3152
  return typeof e == "function";
3179
3153
  }
3180
3154
  function be(e, t, r, n, i, o, s) {
3181
- if (e.length === 1 && pt(e[0]))
3155
+ if (e.length === 1 && yt(e[0]))
3182
3156
  return [
3183
3157
  {
3184
3158
  type: B.literal,
3185
3159
  value: e[0].value
3186
3160
  }
3187
3161
  ];
3188
- for (var a = [], h = 0, u = e; h < u.length; h++) {
3189
- var l = u[h];
3190
- if (pt(l)) {
3162
+ for (var a = [], h = 0, l = e; h < l.length; h++) {
3163
+ var u = l[h];
3164
+ if (yt(u)) {
3191
3165
  a.push({
3192
3166
  type: B.literal,
3193
- value: l.value
3167
+ value: u.value
3194
3168
  });
3195
3169
  continue;
3196
3170
  }
3197
- if (An(l)) {
3171
+ if (Mn(u)) {
3198
3172
  typeof o == "number" && a.push({
3199
3173
  type: B.literal,
3200
3174
  value: r.getNumberFormat(t).format(o)
3201
3175
  });
3202
3176
  continue;
3203
3177
  }
3204
- var f = l.value;
3178
+ var f = u.value;
3205
3179
  if (!(i && f in i))
3206
- throw new si(f, s);
3180
+ throw new ci(f, s);
3207
3181
  var c = i[f];
3208
- if (Bn(l)) {
3182
+ if (Nn(u)) {
3209
3183
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3210
3184
  type: typeof c == "string" ? B.literal : B.object,
3211
3185
  value: c
3212
3186
  });
3213
3187
  continue;
3214
3188
  }
3215
- if (qt(l)) {
3216
- var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3189
+ if (tr(u)) {
3190
+ var d = typeof u.style == "string" ? n.date[u.style] : We(u.style) ? u.style.parsedOptions : void 0;
3217
3191
  a.push({
3218
3192
  type: B.literal,
3219
3193
  value: r.getDateTimeFormat(t, d).format(c)
3220
3194
  });
3221
3195
  continue;
3222
3196
  }
3223
- if (Jt(l)) {
3224
- var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3197
+ if (rr(u)) {
3198
+ var d = typeof u.style == "string" ? n.time[u.style] : We(u.style) ? u.style.parsedOptions : n.time.medium;
3225
3199
  a.push({
3226
3200
  type: B.literal,
3227
3201
  value: r.getDateTimeFormat(t, d).format(c)
3228
3202
  });
3229
3203
  continue;
3230
3204
  }
3231
- if (Qt(l)) {
3232
- var d = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3205
+ if (er(u)) {
3206
+ var d = typeof u.style == "string" ? n.number[u.style] : sr(u.style) ? u.style.parsedOptions : void 0;
3233
3207
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3234
3208
  type: B.literal,
3235
3209
  value: r.getNumberFormat(t, d).format(c)
3236
3210
  });
3237
3211
  continue;
3238
3212
  }
3239
- if (er(l)) {
3240
- var m = l.children, b = l.value, g = i[b];
3241
- if (!li(g))
3242
- throw new oi(b, "function", s);
3243
- var E = be(m, t, r, n, i, o), x = g(E.map(function(L) {
3213
+ if (or(u)) {
3214
+ var m = u.children, b = u.value, g = i[b];
3215
+ if (!di(g))
3216
+ throw new hi(b, "function", s);
3217
+ var E = be(m, t, r, n, i, o), _ = g(E.map(function(L) {
3244
3218
  return L.value;
3245
3219
  }));
3246
- Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(L) {
3220
+ Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(L) {
3247
3221
  return {
3248
3222
  type: typeof L == "string" ? B.literal : B.object,
3249
3223
  value: L
3250
3224
  };
3251
3225
  }));
3252
3226
  }
3253
- if (Yt(l)) {
3254
- var w = l.options[c] || l.options.other;
3227
+ if (nr(u)) {
3228
+ var w = u.options[c] || u.options.other;
3255
3229
  if (!w)
3256
- throw new xt(l.value, c, Object.keys(l.options), s);
3230
+ throw new Ht(u.value, c, Object.keys(u.options), s);
3257
3231
  a.push.apply(a, be(w.value, t, r, n, i));
3258
3232
  continue;
3259
3233
  }
3260
- if (Kt(l)) {
3261
- var w = l.options["=".concat(c)];
3234
+ if (ir(u)) {
3235
+ var w = u.options["=".concat(c)];
3262
3236
  if (!w) {
3263
3237
  if (!Intl.PluralRules)
3264
- throw new Ce(`Intl.PluralRules is not available in this environment.
3238
+ throw new Be(`Intl.PluralRules is not available in this environment.
3265
3239
  Try polyfilling it using "@formatjs/intl-pluralrules"
3266
- `, ee.MISSING_INTL_API, s);
3267
- var F = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3268
- w = l.options[F] || l.options.other;
3240
+ `, K.MISSING_INTL_API, s);
3241
+ var F = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3242
+ w = u.options[F] || u.options.other;
3269
3243
  }
3270
3244
  if (!w)
3271
- throw new xt(l.value, c, Object.keys(l.options), s);
3272
- a.push.apply(a, be(w.value, t, r, n, i, c - (l.offset || 0)));
3245
+ throw new Ht(u.value, c, Object.keys(u.options), s);
3246
+ a.push.apply(a, be(w.value, t, r, n, i, c - (u.offset || 0)));
3273
3247
  continue;
3274
3248
  }
3275
3249
  }
3276
- return ai(a);
3250
+ return fi(a);
3277
3251
  }
3278
- function ui(e, t) {
3279
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3280
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3252
+ function pi(e, t) {
3253
+ return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3254
+ return r[n] = G(G({}, e[n]), t[n] || {}), r;
3281
3255
  }, {})) : e;
3282
3256
  }
3283
- function hi(e, t) {
3257
+ function mi(e, t) {
3284
3258
  return t ? Object.keys(e).reduce(function(r, n) {
3285
- return r[n] = ui(e[n], t[n]), r;
3286
- }, _({}, e)) : e;
3259
+ return r[n] = pi(e[n], t[n]), r;
3260
+ }, G({}, e)) : e;
3287
3261
  }
3288
- function $e(e) {
3262
+ function De(e) {
3289
3263
  return {
3290
3264
  create: function() {
3291
3265
  return {
@@ -3299,39 +3273,39 @@ function $e(e) {
3299
3273
  }
3300
3274
  };
3301
3275
  }
3302
- function ci(e) {
3276
+ function bi(e) {
3303
3277
  return e === void 0 && (e = {
3304
3278
  number: {},
3305
3279
  dateTime: {},
3306
3280
  pluralRules: {}
3307
3281
  }), {
3308
- getNumberFormat: Ne(function() {
3282
+ getNumberFormat: $e(function() {
3309
3283
  for (var t, r = [], n = 0; n < arguments.length; n++)
3310
3284
  r[n] = arguments[n];
3311
- return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3285
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3312
3286
  }, {
3313
- cache: $e(e.number),
3314
- strategy: Me.variadic
3287
+ cache: De(e.number),
3288
+ strategy: Ge.variadic
3315
3289
  }),
3316
- getDateTimeFormat: Ne(function() {
3290
+ getDateTimeFormat: $e(function() {
3317
3291
  for (var t, r = [], n = 0; n < arguments.length; n++)
3318
3292
  r[n] = arguments[n];
3319
- return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3293
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3320
3294
  }, {
3321
- cache: $e(e.dateTime),
3322
- strategy: Me.variadic
3295
+ cache: De(e.dateTime),
3296
+ strategy: Ge.variadic
3323
3297
  }),
3324
- getPluralRules: Ne(function() {
3298
+ getPluralRules: $e(function() {
3325
3299
  for (var t, r = [], n = 0; n < arguments.length; n++)
3326
3300
  r[n] = arguments[n];
3327
- return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3301
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3328
3302
  }, {
3329
- cache: $e(e.pluralRules),
3330
- strategy: Me.variadic
3303
+ cache: De(e.pluralRules),
3304
+ strategy: Ge.variadic
3331
3305
  })
3332
3306
  };
3333
3307
  }
3334
- var fi = (
3308
+ var gi = (
3335
3309
  /** @class */
3336
3310
  function() {
3337
3311
  function e(t, r, n, i) {
@@ -3342,13 +3316,13 @@ var fi = (
3342
3316
  dateTime: {},
3343
3317
  pluralRules: {}
3344
3318
  }, this.format = function(h) {
3345
- var u = o.formatToParts(h);
3346
- if (u.length === 1)
3347
- return u[0].value;
3348
- var l = u.reduce(function(f, c) {
3319
+ var l = o.formatToParts(h);
3320
+ if (l.length === 1)
3321
+ return l[0].value;
3322
+ var u = l.reduce(function(f, c) {
3349
3323
  return !f.length || c.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3350
3324
  }, []);
3351
- return l.length <= 1 ? l[0] || "" : l;
3325
+ return u.length <= 1 ? u[0] || "" : u;
3352
3326
  }, this.formatToParts = function(h) {
3353
3327
  return be(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3354
3328
  }, this.resolvedOptions = function() {
@@ -3363,13 +3337,13 @@ var fi = (
3363
3337
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3364
3338
  var s = i || {};
3365
3339
  s.formatters;
3366
- var a = xn(s, ["formatters"]);
3367
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3340
+ var a = Hn(s, ["formatters"]);
3341
+ this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
3368
3342
  } else
3369
3343
  this.ast = t;
3370
3344
  if (!Array.isArray(this.ast))
3371
3345
  throw new TypeError("A message must be provided as a String or AST.");
3372
- this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3346
+ this.formats = mi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
3373
3347
  }
3374
3348
  return Object.defineProperty(e, "defaultLocale", {
3375
3349
  get: function() {
@@ -3382,7 +3356,7 @@ var fi = (
3382
3356
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3383
3357
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3384
3358
  }
3385
- }, e.__parse = ii, e.formats = {
3359
+ }, e.__parse = li, e.formats = {
3386
3360
  number: {
3387
3361
  integer: {
3388
3362
  maximumFractionDigits: 0
@@ -3443,7 +3417,7 @@ var fi = (
3443
3417
  }, e;
3444
3418
  }()
3445
3419
  );
3446
- function di(e, t) {
3420
+ function vi(e, t) {
3447
3421
  if (t == null)
3448
3422
  return;
3449
3423
  if (t in e)
@@ -3464,92 +3438,92 @@ function di(e, t) {
3464
3438
  n = void 0;
3465
3439
  return n;
3466
3440
  }
3467
- const j = {}, pi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), ur = (e, t) => {
3441
+ const j = {}, yi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), pr = (e, t) => {
3468
3442
  if (t == null)
3469
3443
  return;
3470
3444
  if (t in j && e in j[t])
3471
3445
  return j[t][e];
3472
- const r = Pe(t);
3446
+ const r = Ae(t);
3473
3447
  for (let n = 0; n < r.length; n++) {
3474
- const i = r[n], o = bi(i, e);
3448
+ const i = r[n], o = Ei(i, e);
3475
3449
  if (o)
3476
- return pi(e, t, o);
3450
+ return yi(e, t, o);
3477
3451
  }
3478
3452
  };
3479
- let nt;
3480
- const ce = He({});
3481
- function mi(e) {
3482
- return nt[e] || null;
3453
+ let ut;
3454
+ const he = Ce({});
3455
+ function _i(e) {
3456
+ return ut[e] || null;
3483
3457
  }
3484
- function hr(e) {
3485
- return e in nt;
3458
+ function mr(e) {
3459
+ return e in ut;
3486
3460
  }
3487
- function bi(e, t) {
3488
- if (!hr(e))
3461
+ function Ei(e, t) {
3462
+ if (!mr(e))
3489
3463
  return null;
3490
- const r = mi(e);
3491
- return di(r, t);
3464
+ const r = _i(e);
3465
+ return vi(r, t);
3492
3466
  }
3493
- function gi(e) {
3467
+ function xi(e) {
3494
3468
  if (e == null)
3495
3469
  return;
3496
- const t = Pe(e);
3470
+ const t = Ae(e);
3497
3471
  for (let r = 0; r < t.length; r++) {
3498
3472
  const n = t[r];
3499
- if (hr(n))
3473
+ if (mr(n))
3500
3474
  return n;
3501
3475
  }
3502
3476
  }
3503
- function cr(e, ...t) {
3504
- delete j[e], ce.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
3477
+ function br(e, ...t) {
3478
+ delete j[e], he.update((r) => (r[e] = Tn.all([r[e] || {}, ...t]), r));
3505
3479
  }
3506
- ne(
3507
- [ce],
3480
+ re(
3481
+ [he],
3508
3482
  ([e]) => Object.keys(e)
3509
3483
  );
3510
- ce.subscribe((e) => nt = e);
3484
+ he.subscribe((e) => ut = e);
3511
3485
  const ge = {};
3512
- function vi(e, t) {
3486
+ function Si(e, t) {
3513
3487
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3514
3488
  }
3515
- function fr(e) {
3489
+ function gr(e) {
3516
3490
  return ge[e];
3517
3491
  }
3518
- function yi(e) {
3519
- return Pe(e).map((t) => {
3520
- const r = fr(t);
3492
+ function wi(e) {
3493
+ return Ae(e).map((t) => {
3494
+ const r = gr(t);
3521
3495
  return [t, r ? [...r] : []];
3522
3496
  }).filter(([, t]) => t.length > 0);
3523
3497
  }
3524
- function Je(e) {
3525
- return e == null ? !1 : Pe(e).some(
3498
+ function Ye(e) {
3499
+ return e == null ? !1 : Ae(e).some(
3526
3500
  (t) => {
3527
3501
  var r;
3528
- return (r = fr(t)) == null ? void 0 : r.size;
3502
+ return (r = gr(t)) == null ? void 0 : r.size;
3529
3503
  }
3530
3504
  );
3531
3505
  }
3532
- function _i(e, t) {
3506
+ function Ti(e, t) {
3533
3507
  return Promise.all(
3534
- t.map((n) => (vi(e, n), n().then((i) => i.default || i)))
3535
- ).then((n) => cr(e, ...n));
3508
+ t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
3509
+ ).then((n) => br(e, ...n));
3536
3510
  }
3537
- const se = {};
3538
- function dr(e) {
3539
- if (!Je(e))
3540
- return e in se ? se[e] : Promise.resolve();
3541
- const t = yi(e);
3542
- return se[e] = Promise.all(
3511
+ const oe = {};
3512
+ function vr(e) {
3513
+ if (!Ye(e))
3514
+ return e in oe ? oe[e] : Promise.resolve();
3515
+ const t = wi(e);
3516
+ return oe[e] = Promise.all(
3543
3517
  t.map(
3544
- ([r, n]) => _i(r, n)
3518
+ ([r, n]) => Ti(r, n)
3545
3519
  )
3546
3520
  ).then(() => {
3547
- if (Je(e))
3548
- return dr(e);
3549
- delete se[e];
3550
- }), se[e];
3521
+ if (Ye(e))
3522
+ return vr(e);
3523
+ delete oe[e];
3524
+ }), oe[e];
3551
3525
  }
3552
- const xi = {
3526
+ const Hi = {
3553
3527
  number: {
3554
3528
  scientific: { notation: "scientific" },
3555
3529
  engineering: { notation: "engineering" },
@@ -3578,159 +3552,159 @@ const xi = {
3578
3552
  timeZoneName: "short"
3579
3553
  }
3580
3554
  }
3581
- }, Ei = {
3555
+ }, Ci = {
3582
3556
  fallbackLocale: null,
3583
3557
  loadingDelay: 200,
3584
- formats: xi,
3558
+ formats: Hi,
3585
3559
  warnOnMissingMessages: !0,
3586
3560
  handleMissingMessage: void 0,
3587
3561
  ignoreTag: !0
3588
- }, Si = Ei;
3589
- function te() {
3590
- return Si;
3562
+ }, Pi = Ci;
3563
+ function ee() {
3564
+ return Pi;
3591
3565
  }
3592
- const Ge = He(!1);
3593
- var wi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
3566
+ const Fe = Ce(!1);
3567
+ var Bi = Object.defineProperty, Ai = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
3594
3568
  for (var r in t || (t = {}))
3595
- Ci.call(t, r) && St(e, r, t[r]);
3596
- if (Et)
3597
- for (var r of Et(t))
3598
- Pi.call(t, r) && St(e, r, t[r]);
3569
+ Li.call(t, r) && Pt(e, r, t[r]);
3570
+ if (Ct)
3571
+ for (var r of Ct(t))
3572
+ Ii.call(t, r) && Pt(e, r, t[r]);
3599
3573
  return e;
3600
- }, Ai = (e, t) => Ti(e, Hi(t));
3601
- let Ye;
3602
- const Se = He(null);
3603
- function wt(e) {
3574
+ }, Mi = (e, t) => Ai(e, Oi(t));
3575
+ let Ke;
3576
+ const we = Ce(null);
3577
+ function Bt(e) {
3604
3578
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3605
3579
  }
3606
- function Pe(e, t = te().fallbackLocale) {
3607
- const r = wt(e);
3608
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3580
+ function Ae(e, t = ee().fallbackLocale) {
3581
+ const r = Bt(e);
3582
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
3609
3583
  }
3610
3584
  function X() {
3611
- return Ye ?? void 0;
3585
+ return Ke ?? void 0;
3612
3586
  }
3613
- Se.subscribe((e) => {
3614
- Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3587
+ we.subscribe((e) => {
3588
+ Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3615
3589
  });
3616
- const Oi = (e) => {
3617
- if (e && gi(e) && Je(e)) {
3618
- const { loadingDelay: t } = te();
3590
+ const Ri = (e) => {
3591
+ if (e && xi(e) && Ye(e)) {
3592
+ const { loadingDelay: t } = ee();
3619
3593
  let r;
3620
3594
  return typeof window < "u" && X() != null && t ? r = window.setTimeout(
3621
- () => Ge.set(!0),
3595
+ () => Fe.set(!0),
3622
3596
  t
3623
- ) : Ge.set(!0), dr(e).then(() => {
3624
- Se.set(e);
3597
+ ) : Fe.set(!0), vr(e).then(() => {
3598
+ we.set(e);
3625
3599
  }).finally(() => {
3626
- clearTimeout(r), Ge.set(!1);
3600
+ clearTimeout(r), Fe.set(!1);
3627
3601
  });
3628
3602
  }
3629
- return Se.set(e);
3630
- }, ie = Ai(Bi({}, Se), {
3631
- set: Oi
3632
- }), Be = (e) => {
3603
+ return we.set(e);
3604
+ }, ne = Mi(Ni({}, we), {
3605
+ set: Ri
3606
+ }), Oe = (e) => {
3633
3607
  const t = /* @__PURE__ */ Object.create(null);
3634
3608
  return (n) => {
3635
3609
  const i = JSON.stringify(n);
3636
3610
  return i in t ? t[i] : t[i] = e(n);
3637
3611
  };
3638
3612
  };
3639
- var Li = Object.defineProperty, we = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3613
+ var $i = Object.defineProperty, Te = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
3640
3614
  for (var r in t || (t = {}))
3641
- pr.call(t, r) && Tt(e, r, t[r]);
3642
- if (we)
3643
- for (var r of we(t))
3644
- mr.call(t, r) && Tt(e, r, t[r]);
3615
+ yr.call(t, r) && At(e, r, t[r]);
3616
+ if (Te)
3617
+ for (var r of Te(t))
3618
+ _r.call(t, r) && At(e, r, t[r]);
3645
3619
  return e;
3646
- }, oe = (e, t) => {
3620
+ }, ie = (e, t) => {
3647
3621
  var r = {};
3648
3622
  for (var n in e)
3649
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3650
- if (e != null && we)
3651
- for (var n of we(e))
3652
- t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3623
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3624
+ if (e != null && Te)
3625
+ for (var n of Te(e))
3626
+ t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
3653
3627
  return r;
3654
3628
  };
3655
- const he = (e, t) => {
3656
- const { formats: r } = te();
3629
+ const le = (e, t) => {
3630
+ const { formats: r } = ee();
3657
3631
  if (e in r && t in r[e])
3658
3632
  return r[e][t];
3659
3633
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3660
- }, Ii = Be(
3634
+ }, Gi = Oe(
3661
3635
  (e) => {
3662
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3636
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3663
3637
  if (r == null)
3664
3638
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3665
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3639
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
3666
3640
  }
3667
- ), Ni = Be(
3641
+ ), Ui = Oe(
3668
3642
  (e) => {
3669
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3643
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3670
3644
  if (r == null)
3671
3645
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3672
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3646
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
3673
3647
  }
3674
- ), Mi = Be(
3648
+ ), Di = Oe(
3675
3649
  (e) => {
3676
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3650
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
3677
3651
  if (r == null)
3678
3652
  throw new Error(
3679
3653
  '[svelte-i18n] A "locale" must be set to format time values'
3680
3654
  );
3681
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3655
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
3682
3656
  }
3683
- ), Ri = (e = {}) => {
3657
+ ), Fi = (e = {}) => {
3684
3658
  var t = e, {
3685
3659
  locale: r = X()
3686
- } = t, n = oe(t, [
3660
+ } = t, n = ie(t, [
3687
3661
  "locale"
3688
3662
  ]);
3689
- return Ii(it({ locale: r }, n));
3690
- }, $i = (e = {}) => {
3663
+ return Gi(lt({ locale: r }, n));
3664
+ }, ji = (e = {}) => {
3691
3665
  var t = e, {
3692
3666
  locale: r = X()
3693
- } = t, n = oe(t, [
3667
+ } = t, n = ie(t, [
3694
3668
  "locale"
3695
3669
  ]);
3696
- return Ni(it({ locale: r }, n));
3697
- }, Gi = (e = {}) => {
3670
+ return Ui(lt({ locale: r }, n));
3671
+ }, ki = (e = {}) => {
3698
3672
  var t = e, {
3699
3673
  locale: r = X()
3700
- } = t, n = oe(t, [
3674
+ } = t, n = ie(t, [
3701
3675
  "locale"
3702
3676
  ]);
3703
- return Mi(it({ locale: r }, n));
3704
- }, Ui = Be(
3677
+ return Di(lt({ locale: r }, n));
3678
+ }, Vi = Oe(
3705
3679
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3706
- (e, t = X()) => new fi(e, t, te().formats, {
3707
- ignoreTag: te().ignoreTag
3680
+ (e, t = X()) => new gi(e, t, ee().formats, {
3681
+ ignoreTag: ee().ignoreTag
3708
3682
  })
3709
- ), Di = (e, t = {}) => {
3683
+ ), Xi = (e, t = {}) => {
3710
3684
  var r, n, i, o;
3711
3685
  let s = t;
3712
3686
  typeof e == "object" && (s = e, e = s.id);
3713
3687
  const {
3714
3688
  values: a,
3715
3689
  locale: h = X(),
3716
- default: u
3690
+ default: l
3717
3691
  } = s;
3718
3692
  if (h == null)
3719
3693
  throw new Error(
3720
3694
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3721
3695
  );
3722
- let l = ur(e, h);
3723
- if (!l)
3724
- l = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3725
- else if (typeof l != "string")
3696
+ let u = pr(e, h);
3697
+ if (!u)
3698
+ u = (o = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3699
+ else if (typeof u != "string")
3726
3700
  return console.warn(
3727
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3728
- ), l;
3701
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3702
+ ), u;
3729
3703
  if (!a)
3730
- return l;
3731
- let f = l;
3704
+ return u;
3705
+ let f = u;
3732
3706
  try {
3733
- f = Ui(l, h).format(a);
3707
+ f = Vi(u, h).format(a);
3734
3708
  } catch (c) {
3735
3709
  c instanceof Error && console.warn(
3736
3710
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3738,18 +3712,18 @@ const he = (e, t) => {
3738
3712
  );
3739
3713
  }
3740
3714
  return f;
3741
- }, Fi = (e, t) => Gi(t).format(e), ji = (e, t) => $i(t).format(e), ki = (e, t) => Ri(t).format(e), Vi = (e, t = X()) => ur(e, t), Xi = ne([ie, ce], () => Di);
3742
- ne([ie], () => Fi);
3743
- ne([ie], () => ji);
3744
- ne([ie], () => ki);
3745
- ne([ie, ce], () => Vi);
3746
- function Ht(e, t) {
3747
- cr(e, t);
3748
- }
3749
- function Wi(e) {
3750
- ie.set(e);
3751
- }
3752
- const Ct = {
3715
+ }, Wi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = X()) => pr(e, t), Ji = re([ne, he], () => Xi);
3716
+ re([ne], () => Wi);
3717
+ re([ne], () => zi);
3718
+ re([ne], () => Zi);
3719
+ re([ne, he], () => Qi);
3720
+ function Ot(e, t) {
3721
+ br(e, t);
3722
+ }
3723
+ function qi(e) {
3724
+ ne.set(e);
3725
+ }
3726
+ const Lt = {
3753
3727
  en: {
3754
3728
  collections: "Game Collections",
3755
3729
  providers: "Game Providers",
@@ -3846,16 +3820,85 @@ const Ct = {
3846
3820
  loading: "Loading, please wait ..."
3847
3821
  }
3848
3822
  };
3849
- function U(e) {
3823
+ /*! *****************************************************************************
3824
+ Copyright (c) Microsoft Corporation.
3825
+
3826
+ Permission to use, copy, modify, and/or distribute this software for any
3827
+ purpose with or without fee is hereby granted.
3828
+
3829
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3830
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3831
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3832
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3833
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3834
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3835
+ PERFORMANCE OF THIS SOFTWARE.
3836
+ ***************************************************************************** */
3837
+ var et = function(e, t) {
3838
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3839
+ r.__proto__ = n;
3840
+ } || function(r, n) {
3841
+ for (var i in n)
3842
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3843
+ }, et(e, t);
3844
+ };
3845
+ function ce(e, t) {
3846
+ if (typeof t != "function" && t !== null)
3847
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3848
+ et(e, t);
3849
+ function r() {
3850
+ this.constructor = e;
3851
+ }
3852
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3853
+ }
3854
+ function tt(e) {
3855
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3856
+ if (r)
3857
+ return r.call(e);
3858
+ if (e && typeof e.length == "number")
3859
+ return {
3860
+ next: function() {
3861
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
3862
+ }
3863
+ };
3864
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3865
+ }
3866
+ function rt(e, t) {
3867
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
3868
+ if (!r)
3869
+ return e;
3870
+ var n = r.call(e), i, o = [], s;
3871
+ try {
3872
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
3873
+ o.push(i.value);
3874
+ } catch (a) {
3875
+ s = { error: a };
3876
+ } finally {
3877
+ try {
3878
+ i && !i.done && (r = n.return) && r.call(n);
3879
+ } finally {
3880
+ if (s)
3881
+ throw s.error;
3882
+ }
3883
+ }
3884
+ return o;
3885
+ }
3886
+ function nt(e, t, r) {
3887
+ if (arguments.length === 2)
3888
+ for (var n = 0, i = t.length, o; n < i; n++)
3889
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3890
+ return e.concat(o || t);
3891
+ }
3892
+ function D(e) {
3850
3893
  return typeof e == "function";
3851
3894
  }
3852
- function br(e) {
3895
+ function Er(e) {
3853
3896
  var t = function(n) {
3854
3897
  Error.call(n), n.stack = new Error().stack;
3855
3898
  }, r = e(t);
3856
3899
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3857
3900
  }
3858
- var Ue = br(function(e) {
3901
+ var je = Er(function(e) {
3859
3902
  return function(r) {
3860
3903
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3861
3904
  ` + r.map(function(n, i) {
@@ -3864,13 +3907,13 @@ var Ue = br(function(e) {
3864
3907
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3865
3908
  };
3866
3909
  });
3867
- function Ke(e, t) {
3910
+ function it(e, t) {
3868
3911
  if (e) {
3869
3912
  var r = e.indexOf(t);
3870
3913
  0 <= r && e.splice(r, 1);
3871
3914
  }
3872
3915
  }
3873
- var Ae = function() {
3916
+ var Le = function() {
3874
3917
  function e(t) {
3875
3918
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3876
3919
  }
@@ -3882,9 +3925,9 @@ var Ae = function() {
3882
3925
  if (s)
3883
3926
  if (this._parentage = null, Array.isArray(s))
3884
3927
  try {
3885
- for (var a = ke(s), h = a.next(); !h.done; h = a.next()) {
3886
- var u = h.value;
3887
- u.remove(this);
3928
+ for (var a = tt(s), h = a.next(); !h.done; h = a.next()) {
3929
+ var l = h.value;
3930
+ l.remove(this);
3888
3931
  }
3889
3932
  } catch (b) {
3890
3933
  t = { error: b };
@@ -3898,23 +3941,23 @@ var Ae = function() {
3898
3941
  }
3899
3942
  else
3900
3943
  s.remove(this);
3901
- var l = this.initialTeardown;
3902
- if (U(l))
3944
+ var u = this.initialTeardown;
3945
+ if (D(u))
3903
3946
  try {
3904
- l();
3947
+ u();
3905
3948
  } catch (b) {
3906
- o = b instanceof Ue ? b.errors : [b];
3949
+ o = b instanceof je ? b.errors : [b];
3907
3950
  }
3908
3951
  var f = this._finalizers;
3909
3952
  if (f) {
3910
3953
  this._finalizers = null;
3911
3954
  try {
3912
- for (var c = ke(f), d = c.next(); !d.done; d = c.next()) {
3955
+ for (var c = tt(f), d = c.next(); !d.done; d = c.next()) {
3913
3956
  var m = d.value;
3914
3957
  try {
3915
- Pt(m);
3958
+ It(m);
3916
3959
  } catch (b) {
3917
- o = o ?? [], b instanceof Ue ? o = J(J([], Ve(o)), Ve(b.errors)) : o.push(b);
3960
+ o = o ?? [], b instanceof je ? o = nt(nt([], rt(o)), rt(b.errors)) : o.push(b);
3918
3961
  }
3919
3962
  }
3920
3963
  } catch (b) {
@@ -3929,13 +3972,13 @@ var Ae = function() {
3929
3972
  }
3930
3973
  }
3931
3974
  if (o)
3932
- throw new Ue(o);
3975
+ throw new je(o);
3933
3976
  }
3934
3977
  }, e.prototype.add = function(t) {
3935
3978
  var r;
3936
3979
  if (t && t !== this)
3937
3980
  if (this.closed)
3938
- Pt(t);
3981
+ It(t);
3939
3982
  else {
3940
3983
  if (t instanceof e) {
3941
3984
  if (t.closed || t._hasParent(this))
@@ -3952,52 +3995,52 @@ var Ae = function() {
3952
3995
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3953
3996
  }, e.prototype._removeParent = function(t) {
3954
3997
  var r = this._parentage;
3955
- r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
3998
+ r === t ? this._parentage = null : Array.isArray(r) && it(r, t);
3956
3999
  }, e.prototype.remove = function(t) {
3957
4000
  var r = this._finalizers;
3958
- r && Ke(r, t), t instanceof e && t._removeParent(this);
4001
+ r && it(r, t), t instanceof e && t._removeParent(this);
3959
4002
  }, e.EMPTY = function() {
3960
4003
  var t = new e();
3961
4004
  return t.closed = !0, t;
3962
4005
  }(), e;
3963
- }(), gr = Ae.EMPTY;
3964
- function vr(e) {
3965
- return e instanceof Ae || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
4006
+ }(), xr = Le.EMPTY;
4007
+ function Sr(e) {
4008
+ return e instanceof Le || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
3966
4009
  }
3967
- function Pt(e) {
3968
- U(e) ? e() : e.unsubscribe();
4010
+ function It(e) {
4011
+ D(e) ? e() : e.unsubscribe();
3969
4012
  }
3970
- var zi = {
4013
+ var Yi = {
3971
4014
  Promise: void 0
3972
- }, Zi = {
4015
+ }, Ki = {
3973
4016
  setTimeout: function(e, t) {
3974
4017
  for (var r = [], n = 2; n < arguments.length; n++)
3975
4018
  r[n - 2] = arguments[n];
3976
- return setTimeout.apply(void 0, J([e, t], Ve(r)));
4019
+ return setTimeout.apply(void 0, nt([e, t], rt(r)));
3977
4020
  },
3978
4021
  clearTimeout: function(e) {
3979
4022
  return clearTimeout(e);
3980
4023
  },
3981
4024
  delegate: void 0
3982
4025
  };
3983
- function Qi(e) {
3984
- Zi.setTimeout(function() {
4026
+ function eo(e) {
4027
+ Ki.setTimeout(function() {
3985
4028
  throw e;
3986
4029
  });
3987
4030
  }
3988
- function Bt() {
4031
+ function Nt() {
3989
4032
  }
3990
4033
  function ve(e) {
3991
4034
  e();
3992
4035
  }
3993
- var yr = function(e) {
3994
- D(t, e);
4036
+ var wr = function(e) {
4037
+ ce(t, e);
3995
4038
  function t(r) {
3996
4039
  var n = e.call(this) || this;
3997
- return n.isStopped = !1, r ? (n.destination = r, vr(r) && r.add(n)) : n.destination = Yi, n;
4040
+ return n.isStopped = !1, r ? (n.destination = r, Sr(r) && r.add(n)) : n.destination = no, n;
3998
4041
  }
3999
4042
  return t.create = function(r, n, i) {
4000
- return new et(r, n, i);
4043
+ return new ot(r, n, i);
4001
4044
  }, t.prototype.next = function(r) {
4002
4045
  this.isStopped || this._next(r);
4003
4046
  }, t.prototype.error = function(r) {
@@ -4021,7 +4064,7 @@ var yr = function(e) {
4021
4064
  this.unsubscribe();
4022
4065
  }
4023
4066
  }, t;
4024
- }(Ae), qi = function() {
4067
+ }(Le), to = function() {
4025
4068
  function e(t) {
4026
4069
  this.partialObserver = t;
4027
4070
  }
@@ -4052,43 +4095,43 @@ var yr = function(e) {
4052
4095
  pe(r);
4053
4096
  }
4054
4097
  }, e;
4055
- }(), et = function(e) {
4056
- D(t, e);
4098
+ }(), ot = function(e) {
4099
+ ce(t, e);
4057
4100
  function t(r, n, i) {
4058
4101
  var o = e.call(this) || this, s;
4059
- return U(r) || !r ? s = {
4102
+ return D(r) || !r ? s = {
4060
4103
  next: r ?? void 0,
4061
4104
  error: n ?? void 0,
4062
4105
  complete: i ?? void 0
4063
- } : s = r, o.destination = new qi(s), o;
4106
+ } : s = r, o.destination = new to(s), o;
4064
4107
  }
4065
4108
  return t;
4066
- }(yr);
4109
+ }(wr);
4067
4110
  function pe(e) {
4068
- Qi(e);
4111
+ eo(e);
4069
4112
  }
4070
- function Ji(e) {
4113
+ function ro(e) {
4071
4114
  throw e;
4072
4115
  }
4073
- var Yi = {
4116
+ var no = {
4074
4117
  closed: !0,
4075
- next: Bt,
4076
- error: Ji,
4077
- complete: Bt
4078
- }, Ki = function() {
4118
+ next: Nt,
4119
+ error: ro,
4120
+ complete: Nt
4121
+ }, io = function() {
4079
4122
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4080
4123
  }();
4081
- function eo(e) {
4124
+ function oo(e) {
4082
4125
  return e;
4083
4126
  }
4084
- function to(e) {
4085
- return e.length === 0 ? eo : e.length === 1 ? e[0] : function(r) {
4127
+ function so(e) {
4128
+ return e.length === 0 ? oo : e.length === 1 ? e[0] : function(r) {
4086
4129
  return e.reduce(function(n, i) {
4087
4130
  return i(n);
4088
4131
  }, r);
4089
4132
  };
4090
4133
  }
4091
- var At = function() {
4134
+ var Mt = function() {
4092
4135
  function e(t) {
4093
4136
  t && (this._subscribe = t);
4094
4137
  }
@@ -4096,7 +4139,7 @@ var At = function() {
4096
4139
  var r = new e();
4097
4140
  return r.source = this, r.operator = t, r;
4098
4141
  }, e.prototype.subscribe = function(t, r, n) {
4099
- var i = this, o = no(t) ? t : new et(t, r, n);
4142
+ var i = this, o = uo(t) ? t : new ot(t, r, n);
4100
4143
  return ve(function() {
4101
4144
  var s = i, a = s.operator, h = s.source;
4102
4145
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -4109,8 +4152,8 @@ var At = function() {
4109
4152
  }
4110
4153
  }, e.prototype.forEach = function(t, r) {
4111
4154
  var n = this;
4112
- return r = Ot(r), new r(function(i, o) {
4113
- var s = new et({
4155
+ return r = Rt(r), new r(function(i, o) {
4156
+ var s = new ot({
4114
4157
  next: function(a) {
4115
4158
  try {
4116
4159
  t(a);
@@ -4126,15 +4169,15 @@ var At = function() {
4126
4169
  }, e.prototype._subscribe = function(t) {
4127
4170
  var r;
4128
4171
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4129
- }, e.prototype[Ki] = function() {
4172
+ }, e.prototype[io] = function() {
4130
4173
  return this;
4131
4174
  }, e.prototype.pipe = function() {
4132
4175
  for (var t = [], r = 0; r < arguments.length; r++)
4133
4176
  t[r] = arguments[r];
4134
- return to(t)(this);
4177
+ return so(t)(this);
4135
4178
  }, e.prototype.toPromise = function(t) {
4136
4179
  var r = this;
4137
- return t = Ot(t), new t(function(n, i) {
4180
+ return t = Rt(t), new t(function(n, i) {
4138
4181
  var o;
4139
4182
  r.subscribe(function(s) {
4140
4183
  return o = s;
@@ -4148,32 +4191,32 @@ var At = function() {
4148
4191
  return new e(t);
4149
4192
  }, e;
4150
4193
  }();
4151
- function Ot(e) {
4194
+ function Rt(e) {
4152
4195
  var t;
4153
- return (t = e ?? zi.Promise) !== null && t !== void 0 ? t : Promise;
4196
+ return (t = e ?? Yi.Promise) !== null && t !== void 0 ? t : Promise;
4154
4197
  }
4155
- function ro(e) {
4156
- return e && U(e.next) && U(e.error) && U(e.complete);
4198
+ function ao(e) {
4199
+ return e && D(e.next) && D(e.error) && D(e.complete);
4157
4200
  }
4158
- function no(e) {
4159
- return e && e instanceof yr || ro(e) && vr(e);
4201
+ function uo(e) {
4202
+ return e && e instanceof wr || ao(e) && Sr(e);
4160
4203
  }
4161
- var io = br(function(e) {
4204
+ var lo = Er(function(e) {
4162
4205
  return function() {
4163
4206
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4164
4207
  };
4165
- }), _r = function(e) {
4166
- D(t, e);
4208
+ }), Tr = function(e) {
4209
+ ce(t, e);
4167
4210
  function t() {
4168
4211
  var r = e.call(this) || this;
4169
4212
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4170
4213
  }
4171
4214
  return t.prototype.lift = function(r) {
4172
- var n = new Lt(this, this);
4215
+ var n = new $t(this, this);
4173
4216
  return n.operator = r, n;
4174
4217
  }, t.prototype._throwIfClosed = function() {
4175
4218
  if (this.closed)
4176
- throw new io();
4219
+ throw new lo();
4177
4220
  }, t.prototype.next = function(r) {
4178
4221
  var n = this;
4179
4222
  ve(function() {
@@ -4181,12 +4224,12 @@ var io = br(function(e) {
4181
4224
  if (n._throwIfClosed(), !n.isStopped) {
4182
4225
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4183
4226
  try {
4184
- for (var s = ke(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4227
+ for (var s = tt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4185
4228
  var h = a.value;
4186
4229
  h.next(r);
4187
4230
  }
4188
- } catch (u) {
4189
- i = { error: u };
4231
+ } catch (l) {
4232
+ i = { error: l };
4190
4233
  } finally {
4191
4234
  try {
4192
4235
  a && !a.done && (o = s.return) && o.call(s);
@@ -4230,20 +4273,20 @@ var io = br(function(e) {
4230
4273
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4231
4274
  }, t.prototype._innerSubscribe = function(r) {
4232
4275
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4233
- return o || s ? gr : (this.currentObservers = null, a.push(r), new Ae(function() {
4234
- n.currentObservers = null, Ke(a, r);
4276
+ return o || s ? xr : (this.currentObservers = null, a.push(r), new Le(function() {
4277
+ n.currentObservers = null, it(a, r);
4235
4278
  }));
4236
4279
  }, t.prototype._checkFinalizedStatuses = function(r) {
4237
4280
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4238
4281
  i ? r.error(o) : s && r.complete();
4239
4282
  }, t.prototype.asObservable = function() {
4240
- var r = new At();
4283
+ var r = new Mt();
4241
4284
  return r.source = this, r;
4242
4285
  }, t.create = function(r, n) {
4243
- return new Lt(r, n);
4286
+ return new $t(r, n);
4244
4287
  }, t;
4245
- }(At), Lt = function(e) {
4246
- D(t, e);
4288
+ }(Mt), $t = function(e) {
4289
+ ce(t, e);
4247
4290
  function t(r, n) {
4248
4291
  var i = e.call(this) || this;
4249
4292
  return i.destination = r, i.source = n, i;
@@ -4259,17 +4302,17 @@ var io = br(function(e) {
4259
4302
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4260
4303
  }, t.prototype._subscribe = function(r) {
4261
4304
  var n, i;
4262
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : gr;
4305
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : xr;
4263
4306
  }, t;
4264
- }(_r), xr = {
4307
+ }(Tr), Hr = {
4265
4308
  now: function() {
4266
- return (xr.delegate || Date).now();
4309
+ return (Hr.delegate || Date).now();
4267
4310
  },
4268
4311
  delegate: void 0
4269
- }, oo = function(e) {
4270
- D(t, e);
4312
+ }, ho = function(e) {
4313
+ ce(t, e);
4271
4314
  function t(r, n, i) {
4272
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = xr);
4315
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Hr);
4273
4316
  var o = e.call(this) || this;
4274
4317
  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;
4275
4318
  }
@@ -4284,28 +4327,28 @@ var io = br(function(e) {
4284
4327
  }, t.prototype._trimBuffer = function() {
4285
4328
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4286
4329
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4287
- for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
4288
- u = l;
4289
- u && o.splice(0, u + 1);
4330
+ for (var h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
4331
+ l = u;
4332
+ l && o.splice(0, l + 1);
4290
4333
  }
4291
4334
  }, t;
4292
- }(_r);
4293
- const It = [], Nt = {}, so = (e, t = 0) => {
4294
- if (It.indexOf(e) == -1) {
4295
- const r = new oo(t);
4296
- Nt[e] = r, It.push(e);
4335
+ }(Tr);
4336
+ const Gt = [], Ut = {}, co = (e, t = 0) => {
4337
+ if (Gt.indexOf(e) == -1) {
4338
+ const r = new ho(t);
4339
+ Ut[e] = r, Gt.push(e);
4297
4340
  }
4298
- return Nt[e];
4341
+ return Ut[e];
4299
4342
  };
4300
- window.emWidgets = { topic: so };
4301
- const ao = (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));
4302
- function lo(e, t) {
4343
+ window.emWidgets = { topic: co };
4344
+ 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));
4345
+ function po(e, t) {
4303
4346
  if (e) {
4304
4347
  const r = document.createElement("style");
4305
4348
  r.innerHTML = t, e.appendChild(r);
4306
4349
  }
4307
4350
  }
4308
- function uo(e, t) {
4351
+ function mo(e, t) {
4309
4352
  const r = new URL(t);
4310
4353
  fetch(r.href).then((n) => n.text()).then((n) => {
4311
4354
  const i = document.createElement("style");
@@ -4314,7 +4357,7 @@ function uo(e, t) {
4314
4357
  console.error("There was an error while trying to load client styling from URL", n);
4315
4358
  });
4316
4359
  }
4317
- function ho(e, t, r) {
4360
+ function bo(e, t, r) {
4318
4361
  if (window.emMessageBus) {
4319
4362
  const n = document.createElement("style");
4320
4363
  window.emMessageBus.subscribe(t, (i) => {
@@ -4322,18 +4365,18 @@ function ho(e, t, r) {
4322
4365
  });
4323
4366
  }
4324
4367
  }
4325
- function co(e) {
4326
- 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)}}');
4368
+ function go(e) {
4369
+ Fr(e, "svelte-ci1i8", '*,*::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));background-color:inherit;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:70px;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:60px;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)}}');
4327
4370
  }
4328
- function Mt(e, t, r) {
4371
+ function Dt(e, t, r) {
4329
4372
  const n = e.slice();
4330
4373
  return n[41] = t[r], n;
4331
4374
  }
4332
- function Rt(e, t, r) {
4375
+ function Ft(e, t, r) {
4333
4376
  const n = e.slice();
4334
4377
  return n[44] = t[r], n;
4335
4378
  }
4336
- function fo(e) {
4379
+ function vo(e) {
4337
4380
  let t, r, n, i = (
4338
4381
  /*type*/
4339
4382
  (e[0] === "vendor" ? (
@@ -4343,27 +4386,27 @@ function fo(e) {
4343
4386
  /*$_*/
4344
4387
  e[10]("collections")
4345
4388
  )) + ""
4346
- ), o, s, a, h, u, l = (
4389
+ ), o, s, a, h, l, u = (
4347
4390
  /*numberOfSlides*/
4348
4391
  e[7] > /*numberOfVisibleSlides*/
4349
- e[8] && $t(e)
4350
- ), f = Ee(
4392
+ e[8] && jt(e)
4393
+ ), f = xe(
4351
4394
  /*gameCategories*/
4352
4395
  e[3]
4353
4396
  ), c = [];
4354
4397
  for (let d = 0; d < f.length; d += 1)
4355
- c[d] = Dt(Mt(e, f, d));
4398
+ c[d] = Xt(Dt(e, f, d));
4356
4399
  return {
4357
4400
  c() {
4358
- t = H("div"), r = H("div"), n = H("p"), o = Te(i), s = V(), l && l.c(), a = V(), h = H("div");
4401
+ t = H("div"), r = H("div"), n = H("p"), o = He(i), s = V(), u && u.c(), a = V(), h = H("div");
4359
4402
  for (let d = 0; d < c.length; d += 1)
4360
4403
  c[d].c();
4361
- C(n, "class", "Title"), C(r, "class", "CategoriesHeader"), C(h, "class", "CategoriesSlider"), C(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
4404
+ C(n, "class", "Title"), C(r, "class", "CategoriesHeader"), C(h, "class", "CategoriesSlider"), C(t, "class", l = "CasinoCollectionsProviders " + /*mobile*/
4362
4405
  (e[9] ? "Mobile" : "") + " " + /*type*/
4363
4406
  (e[0] === "vendor" ? "Providers" : "Collections"));
4364
4407
  },
4365
4408
  m(d, m) {
4366
- G(d, t, m), T(t, r), T(r, n), T(n, o), T(r, s), l && l.m(r, null), T(t, a), T(t, h);
4409
+ U(d, t, m), T(t, r), T(r, n), T(n, o), T(r, s), u && u.m(r, null), T(t, a), T(t, h);
4367
4410
  for (let b = 0; b < c.length; b += 1)
4368
4411
  c[b] && c[b].m(h, null);
4369
4412
  e[25](h);
@@ -4377,41 +4420,41 @@ function fo(e) {
4377
4420
  ) : (
4378
4421
  /*$_*/
4379
4422
  d[10]("collections")
4380
- )) + "") && rt(o, i), /*numberOfSlides*/
4423
+ )) + "") && at(o, i), /*numberOfSlides*/
4381
4424
  d[7] > /*numberOfVisibleSlides*/
4382
- d[8] ? l ? l.p(d, m) : (l = $t(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4425
+ d[8] ? u ? u.p(d, m) : (u = jt(d), u.c(), u.m(r, null)) : u && (u.d(1), u = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4383
4426
  24590) {
4384
- f = Ee(
4427
+ f = xe(
4385
4428
  /*gameCategories*/
4386
4429
  d[3]
4387
4430
  );
4388
4431
  let b;
4389
4432
  for (b = 0; b < f.length; b += 1) {
4390
- const g = Mt(d, f, b);
4391
- c[b] ? c[b].p(g, m) : (c[b] = Dt(g), c[b].c(), c[b].m(h, null));
4433
+ const g = Dt(d, f, b);
4434
+ c[b] ? c[b].p(g, m) : (c[b] = Xt(g), c[b].c(), c[b].m(h, null));
4392
4435
  }
4393
4436
  for (; b < c.length; b += 1)
4394
4437
  c[b].d(1);
4395
4438
  c.length = f.length;
4396
4439
  }
4397
4440
  m[0] & /*mobile, type*/
4398
- 513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
4441
+ 513 && l !== (l = "CasinoCollectionsProviders " + /*mobile*/
4399
4442
  (d[9] ? "Mobile" : "") + " " + /*type*/
4400
- (d[0] === "vendor" ? "Providers" : "Collections")) && C(t, "class", u);
4443
+ (d[0] === "vendor" ? "Providers" : "Collections")) && C(t, "class", l);
4401
4444
  },
4402
4445
  d(d) {
4403
- d && I(t), l && l.d(), Vt(c, d), e[25](null);
4446
+ d && I(t), u && u.d(), Qt(c, d), e[25](null);
4404
4447
  }
4405
4448
  };
4406
4449
  }
4407
- function po(e) {
4450
+ function yo(e) {
4408
4451
  let t;
4409
4452
  return {
4410
4453
  c() {
4411
4454
  t = H("div"), C(t, "class", "LoadingSpinner");
4412
4455
  },
4413
4456
  m(r, n) {
4414
- G(r, t, n);
4457
+ U(r, t, n);
4415
4458
  },
4416
4459
  p: A,
4417
4460
  d(r) {
@@ -4419,14 +4462,14 @@ function po(e) {
4419
4462
  }
4420
4463
  };
4421
4464
  }
4422
- function $t(e) {
4465
+ function jt(e) {
4423
4466
  let t, r, n, i, o, s;
4424
4467
  return {
4425
4468
  c() {
4426
4469
  t = H("div"), r = H("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = V(), i = H("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', C(t, "class", "ButtonsContainer");
4427
4470
  },
4428
4471
  m(a, h) {
4429
- G(a, t, h), T(t, r), T(t, n), T(t, i), o || (s = [
4472
+ U(a, t, h), T(t, r), T(t, n), T(t, i), o || (s = [
4430
4473
  _e(
4431
4474
  r,
4432
4475
  "click",
@@ -4443,42 +4486,42 @@ function $t(e) {
4443
4486
  },
4444
4487
  p: A,
4445
4488
  d(a) {
4446
- a && I(t), o = !1, re(s);
4489
+ a && I(t), o = !1, te(s);
4447
4490
  }
4448
4491
  };
4449
4492
  }
4450
- function mo(e) {
4493
+ function _o(e) {
4451
4494
  let t, r = (
4452
4495
  /*category*/
4453
4496
  e[41].name + ""
4454
4497
  ), n;
4455
4498
  return {
4456
4499
  c() {
4457
- t = H("p"), n = Te(r), C(t, "class", "CategorySlideTitle");
4500
+ t = H("p"), n = He(r), C(t, "class", "CategorySlideTitle");
4458
4501
  },
4459
4502
  m(i, o) {
4460
- G(i, t, o), T(t, n);
4503
+ U(i, t, o), T(t, n);
4461
4504
  },
4462
4505
  p(i, o) {
4463
4506
  o[0] & /*gameCategories*/
4464
4507
  8 && r !== (r = /*category*/
4465
- i[41].name + "") && rt(n, r);
4508
+ i[41].name + "") && at(n, r);
4466
4509
  },
4467
4510
  d(i) {
4468
4511
  i && I(t);
4469
4512
  }
4470
4513
  };
4471
4514
  }
4472
- function bo(e) {
4515
+ function Eo(e) {
4473
4516
  let t, r, n;
4474
4517
  return {
4475
4518
  c() {
4476
- t = H("ui-image"), $(t, "imgClass", "CategorySlideLogo"), ye(t.src, r = /*category*/
4519
+ t = H("ui-image"), $(t, "class", "CategorySlideLogo"), ye(t.src, r = /*category*/
4477
4520
  e[41].icon) || $(t, "src", r), $(t, "alt", n = /*category*/
4478
4521
  e[41].name + " icon");
4479
4522
  },
4480
4523
  m(i, o) {
4481
- G(i, t, o);
4524
+ U(i, t, o);
4482
4525
  },
4483
4526
  p(i, o) {
4484
4527
  o[0] & /*gameCategories*/
@@ -4492,23 +4535,23 @@ function bo(e) {
4492
4535
  }
4493
4536
  };
4494
4537
  }
4495
- function Gt(e) {
4538
+ function kt(e) {
4496
4539
  let t, r = (
4497
4540
  /*game*/
4498
4541
  e[44].name + ""
4499
4542
  ), n, i;
4500
4543
  return {
4501
4544
  c() {
4502
- t = H("p"), n = Te(r), C(t, "title", i = /*game*/
4545
+ t = H("p"), n = He(r), C(t, "title", i = /*game*/
4503
4546
  e[44].name);
4504
4547
  },
4505
4548
  m(o, s) {
4506
- G(o, t, s), T(t, n);
4549
+ U(o, t, s), T(t, n);
4507
4550
  },
4508
4551
  p(o, s) {
4509
4552
  s[0] & /*gameCategories*/
4510
4553
  8 && r !== (r = /*game*/
4511
- o[44].name + "") && rt(n, r), s[0] & /*gameCategories*/
4554
+ o[44].name + "") && at(n, r), s[0] & /*gameCategories*/
4512
4555
  8 && i !== (i = /*game*/
4513
4556
  o[44].name) && C(t, "title", i);
4514
4557
  },
@@ -4517,9 +4560,9 @@ function Gt(e) {
4517
4560
  }
4518
4561
  };
4519
4562
  }
4520
- function Ut(e) {
4563
+ function Vt(e) {
4521
4564
  let t, r, n, i, o, s, a, h;
4522
- function u() {
4565
+ function l() {
4523
4566
  return (
4524
4567
  /*click_handler*/
4525
4568
  e[23](
@@ -4528,18 +4571,18 @@ function Ut(e) {
4528
4571
  )
4529
4572
  );
4530
4573
  }
4531
- let l = (
4574
+ let u = (
4532
4575
  /*collectionprovidersgamenames*/
4533
- e[2] == "true" && Gt(e)
4576
+ e[2] == "true" && kt(e)
4534
4577
  );
4535
4578
  return {
4536
4579
  c() {
4537
- t = H("div"), r = H("ui-image"), o = V(), l && l.c(), s = V(), $(r, "imgClass", "CategorySlideGameImage"), ye(r.src, n = /*game*/
4580
+ t = H("div"), r = H("ui-image"), o = V(), u && u.c(), s = V(), $(r, "class", "CategorySlideGameImage"), ye(r.src, n = /*game*/
4538
4581
  e[44].defaultThumbnail) || $(r, "src", n), $(r, "alt", i = /*game*/
4539
4582
  e[44].name), C(t, "class", "CategorySlideGames");
4540
4583
  },
4541
4584
  m(f, c) {
4542
- G(f, t, c), T(t, r), T(t, o), l && l.m(t, null), T(t, s), a || (h = _e(r, "click", Ur(u)), a = !0);
4585
+ U(f, t, c), T(t, r), T(t, o), u && u.m(t, null), T(t, s), a || (h = _e(r, "click", Vr(l)), a = !0);
4543
4586
  },
4544
4587
  p(f, c) {
4545
4588
  e = f, c[0] & /*gameCategories*/
@@ -4547,33 +4590,33 @@ function Ut(e) {
4547
4590
  e[44].defaultThumbnail) && $(r, "src", n), c[0] & /*gameCategories*/
4548
4591
  8 && i !== (i = /*game*/
4549
4592
  e[44].name) && $(r, "alt", i), /*collectionprovidersgamenames*/
4550
- e[2] == "true" ? l ? l.p(e, c) : (l = Gt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4593
+ e[2] == "true" ? u ? u.p(e, c) : (u = kt(e), u.c(), u.m(t, s)) : u && (u.d(1), u = null);
4551
4594
  },
4552
4595
  d(f) {
4553
- f && I(t), l && l.d(), a = !1, h();
4596
+ f && I(t), u && u.d(), a = !1, h();
4554
4597
  }
4555
4598
  };
4556
4599
  }
4557
- function Dt(e) {
4558
- let t, r, n, i, o, s, a, h, u;
4559
- function l(g, E) {
4600
+ function Xt(e) {
4601
+ let t, r, n, i, o, s, a, h, l;
4602
+ function u(g, E) {
4560
4603
  if (
4561
4604
  /*titletype*/
4562
4605
  g[1] === "logo"
4563
4606
  )
4564
- return bo;
4607
+ return Eo;
4565
4608
  if (
4566
4609
  /*titletype*/
4567
4610
  g[1] === "title"
4568
4611
  )
4569
- return mo;
4612
+ return _o;
4570
4613
  }
4571
- let f = l(e), c = f && f(e), d = Ee(
4614
+ let f = u(e), c = f && f(e), d = xe(
4572
4615
  /*category*/
4573
4616
  e[41].games
4574
4617
  ), m = [];
4575
4618
  for (let g = 0; g < d.length; g += 1)
4576
- m[g] = Ut(Rt(e, d, g));
4619
+ m[g] = Vt(Ft(e, d, g));
4577
4620
  function b() {
4578
4621
  return (
4579
4622
  /*click_handler_1*/
@@ -4589,48 +4632,48 @@ function Dt(e) {
4589
4632
  for (let g = 0; g < m.length; g += 1)
4590
4633
  m[g].c();
4591
4634
  a = V(), C(n, "class", "CategorySlideTopContainer"), C(o, "class", "CategorySlideGameContainer"), C(r, "class", s = "CategorySlide " + /*category*/
4592
- (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Le(r, "background-image", "url(" + /*category*/
4593
- e[41]?.background + ")"), Le(r, "background-size", "cover"), C(t, "class", "CategoriesSliderWrapper Animation");
4635
+ (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")), Ne(r, "background-image", "url(" + /*category*/
4636
+ e[41]?.background + ")"), Ne(r, "background-size", "cover"), C(t, "class", "CategoriesSliderWrapper Animation");
4594
4637
  },
4595
4638
  m(g, E) {
4596
- G(g, t, E), T(t, r), T(r, n), c && c.m(n, null), T(r, i), T(r, o);
4597
- for (let x = 0; x < m.length; x += 1)
4598
- m[x] && m[x].m(o, null);
4599
- T(t, a), h || (u = _e(r, "click", b), h = !0);
4639
+ U(g, t, E), T(t, r), T(r, n), c && c.m(n, null), T(r, i), T(r, o);
4640
+ for (let _ = 0; _ < m.length; _ += 1)
4641
+ m[_] && m[_].m(o, null);
4642
+ T(t, a), h || (l = _e(r, "click", b), h = !0);
4600
4643
  },
4601
4644
  p(g, E) {
4602
- if (e = g, f === (f = l(e)) && c ? c.p(e, E) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), E[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4645
+ if (e = g, f === (f = u(e)) && c ? c.p(e, E) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), E[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4603
4646
  8204) {
4604
- d = Ee(
4647
+ d = xe(
4605
4648
  /*category*/
4606
4649
  e[41].games
4607
4650
  );
4608
- let x;
4609
- for (x = 0; x < d.length; x += 1) {
4610
- const w = Rt(e, d, x);
4611
- m[x] ? m[x].p(w, E) : (m[x] = Ut(w), m[x].c(), m[x].m(o, null));
4651
+ let _;
4652
+ for (_ = 0; _ < d.length; _ += 1) {
4653
+ const w = Ft(e, d, _);
4654
+ m[_] ? m[_].p(w, E) : (m[_] = Vt(w), m[_].c(), m[_].m(o, null));
4612
4655
  }
4613
- for (; x < m.length; x += 1)
4614
- m[x].d(1);
4656
+ for (; _ < m.length; _ += 1)
4657
+ m[_].d(1);
4615
4658
  m.length = d.length;
4616
4659
  }
4617
4660
  E[0] & /*gameCategories*/
4618
4661
  8 && s !== (s = "CategorySlide " + /*category*/
4619
4662
  (e[41]?.flag[0] === "vendor" ? "CategorySlideNoHighlight" : "")) && C(r, "class", s), E[0] & /*gameCategories*/
4620
- 8 && Le(r, "background-image", "url(" + /*category*/
4663
+ 8 && Ne(r, "background-image", "url(" + /*category*/
4621
4664
  e[41]?.background + ")");
4622
4665
  },
4623
4666
  d(g) {
4624
- g && I(t), c && c.d(), Vt(m, g), h = !1, u();
4667
+ g && I(t), c && c.d(), Qt(m, g), h = !1, l();
4625
4668
  }
4626
4669
  };
4627
4670
  }
4628
- function go(e) {
4671
+ function xo(e) {
4629
4672
  let t;
4630
4673
  function r(o, s) {
4631
4674
  return (
4632
4675
  /*isLoading*/
4633
- o[6] ? po : fo
4676
+ o[6] ? yo : vo
4634
4677
  );
4635
4678
  }
4636
4679
  let n = r(e), i = n(e);
@@ -4639,7 +4682,7 @@ function go(e) {
4639
4682
  t = H("div"), i.c();
4640
4683
  },
4641
4684
  m(o, s) {
4642
- G(o, t, s), i.m(t, null), e[26](t);
4685
+ U(o, t, s), i.m(t, null), e[26](t);
4643
4686
  },
4644
4687
  p(o, s) {
4645
4688
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4651,52 +4694,52 @@ function go(e) {
4651
4694
  }
4652
4695
  };
4653
4696
  }
4654
- function vo(e, t, r) {
4697
+ function So(e, t, r) {
4655
4698
  let n;
4656
- Mr(e, Xi, (p) => r(10, n = p));
4657
- let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, E = 0, x = 0, w = 0, F, L, k = 0, W = 50, Oe = !1, N, Er = window.navigator.userAgent, ot;
4658
- const Sr = () => {
4699
+ Dr(e, Ji, (p) => r(10, n = p));
4700
+ let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, E = 0, _ = 0, w = 0, F, L, k = 0, W = 50, Ie = !1, N, Cr = window.navigator.userAgent, ht;
4701
+ const Pr = () => {
4659
4702
  fetch(f).then((P) => P.json()).then((P) => {
4660
4703
  Object.keys(P).forEach((M) => {
4661
- Ht(M, P[M]);
4704
+ Ot(M, P[M]);
4662
4705
  });
4663
4706
  }).catch((P) => {
4664
4707
  console.log(P);
4665
4708
  });
4666
4709
  };
4667
- Object.keys(Ct).forEach((p) => {
4668
- Ht(p, Ct[p]);
4710
+ Object.keys(Lt).forEach((p) => {
4711
+ Ot(p, Lt[p]);
4669
4712
  });
4670
- const st = () => {
4713
+ const ct = () => {
4671
4714
  const p = new URL(`${i}/v2/casino/groups/${o}`);
4672
4715
  p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${k},limit=${W}`), fetch(p.href).then((P) => P.json()).then((P) => {
4673
- r(6, b = !1), P.total > W && (k += 50, W += 50, r(22, Oe = !0));
4716
+ r(6, b = !1), P.total > W && (k += 50, W += 50, r(22, Ie = !0));
4674
4717
  let M = P.items.map((R) => ({
4675
4718
  id: R.id,
4676
4719
  name: R.name,
4677
4720
  icon: R.icon ? R.icon : R.vendors?.items[0]?.subVendors[0]?.logo,
4678
- games: R.games.items.slice(0, 4).map((Ir) => Ir),
4721
+ games: R.games.items.slice(0, 4).map((Gr) => Gr),
4679
4722
  background: R.background,
4680
4723
  flag: R.flags
4681
4724
  }));
4682
- r(3, m = [...m, ...M]), r(7, x = m.length), wr();
4725
+ r(3, m = [...m, ...M]), r(7, _ = m.length), Br();
4683
4726
  });
4684
- }, wr = () => {
4727
+ }, Br = () => {
4685
4728
  const p = N.getRootNode().host;
4686
4729
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4687
- }, at = (p) => {
4730
+ }, ft = (p) => {
4688
4731
  L = [...g.children], L.forEach((P, M) => {
4689
4732
  P.style.transform = `translateX(${100 * (p ? M - p : M)}%)`;
4690
- }), F = L[0]?.getBoundingClientRect().width, Tr();
4691
- }, Tr = () => {
4733
+ }), F = L[0]?.getBoundingClientRect().width, Ar();
4734
+ }, Ar = () => {
4692
4735
  r(8, w = Math.floor(g.clientWidth / F));
4693
- }, lt = () => {
4694
- at(E);
4695
- }, Hr = () => {
4696
- E === 0 ? E = x - w : E - w < -1 ? E = 0 : E--, lt();
4697
- }, Cr = () => {
4698
- E === x - w ? E = 0 : x - w < E + 1 ? E = x - w : E++, lt();
4699
- }, ut = (p, P, M, R) => {
4736
+ }, dt = () => {
4737
+ ft(E);
4738
+ }, Or = () => {
4739
+ E === 0 ? E = _ - w : E - w < -1 ? E = 0 : E--, dt();
4740
+ }, Lr = () => {
4741
+ E === _ - w ? E = 0 : _ - w < E + 1 ? E = _ - w : E++, dt();
4742
+ }, pt = (p, P, M, R) => {
4700
4743
  window.postMessage(
4701
4744
  {
4702
4745
  type: "OpenCollectionsProvidersGame",
@@ -4710,7 +4753,7 @@ function vo(e, t, r) {
4710
4753
  context: "CollectionsProviders",
4711
4754
  gameName: `${M}`
4712
4755
  });
4713
- }, ht = (p) => {
4756
+ }, mt = (p) => {
4714
4757
  window.postMessage(
4715
4758
  {
4716
4759
  type: "OpenCollectionsProvidersCategory",
@@ -4718,34 +4761,34 @@ function vo(e, t, r) {
4718
4761
  },
4719
4762
  window.location.href
4720
4763
  );
4721
- }, Pr = () => {
4722
- Wi(s);
4764
+ }, Ir = () => {
4765
+ qi(s);
4723
4766
  };
4724
- kr(() => (r(9, ot = ao(Er)), () => {
4767
+ Zr(() => (r(9, ht = fo(Cr)), () => {
4725
4768
  }));
4726
- const Br = (p) => ut(p.gameId, p.launchUrl, p.name, p.subVendor), Ar = (p) => ht(p.id);
4727
- function Or(p) {
4728
- xe[p ? "unshift" : "push"](() => {
4769
+ const Nr = (p) => pt(p.gameId, p.launchUrl, p.name, p.subVendor), Mr = (p) => mt(p.id);
4770
+ function Rr(p) {
4771
+ Ee[p ? "unshift" : "push"](() => {
4729
4772
  g = p, r(4, g);
4730
4773
  });
4731
4774
  }
4732
- function Lr(p) {
4733
- xe[p ? "unshift" : "push"](() => {
4775
+ function $r(p) {
4776
+ Ee[p ? "unshift" : "push"](() => {
4734
4777
  N = p, r(5, N);
4735
4778
  });
4736
4779
  }
4737
4780
  return e.$$set = (p) => {
4738
- "endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, u = p.clientstyling), "clientstylingurl" in p && r(19, l = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
4781
+ "endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, l = p.clientstyling), "clientstylingurl" in p && r(19, u = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
4739
4782
  }, e.$$.update = () => {
4740
4783
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4741
- 229376 && i && o && s && st(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4742
- 24 && m && g && at(), e.$$.dirty[0] & /*lang*/
4743
- 131072 && s && Pr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4744
- 262176 && u && N && lo(N, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4745
- 524320 && l && N && uo(N, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4746
- 2097184 && N && ho(N, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4747
- 1048576 && f && Sr(), e.$$.dirty[0] & /*paginationrequired*/
4748
- 4194304 && Oe && st();
4784
+ 229376 && i && o && s && ct(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4785
+ 24 && m && g && ft(), e.$$.dirty[0] & /*lang*/
4786
+ 131072 && s && Ir(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4787
+ 262176 && l && N && po(N, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4788
+ 524320 && u && N && mo(N, u), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4789
+ 2097184 && N && bo(N, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4790
+ 1048576 && f && Pr(), e.$$.dirty[0] & /*paginationrequired*/
4791
+ 4194304 && Ie && ct();
4749
4792
  }, [
4750
4793
  a,
4751
4794
  h,
@@ -4754,36 +4797,36 @@ function vo(e, t, r) {
4754
4797
  g,
4755
4798
  N,
4756
4799
  b,
4757
- x,
4800
+ _,
4758
4801
  w,
4759
- ot,
4760
- n,
4761
- Hr,
4762
- Cr,
4763
- ut,
4764
4802
  ht,
4803
+ n,
4804
+ Or,
4805
+ Lr,
4806
+ pt,
4807
+ mt,
4765
4808
  i,
4766
4809
  o,
4767
4810
  s,
4768
- u,
4769
4811
  l,
4812
+ u,
4770
4813
  f,
4771
4814
  d,
4772
- Oe,
4773
- Br,
4774
- Ar,
4775
- Or,
4776
- Lr
4815
+ Ie,
4816
+ Nr,
4817
+ Mr,
4818
+ Rr,
4819
+ $r
4777
4820
  ];
4778
4821
  }
4779
- class yo extends tn {
4822
+ class wo extends an {
4780
4823
  constructor(t) {
4781
- super(), Kr(
4824
+ super(), on(
4782
4825
  this,
4783
4826
  t,
4784
- vo,
4785
- go,
4786
- jt,
4827
+ So,
4828
+ xo,
4829
+ zt,
4787
4830
  {
4788
4831
  endpoint: 15,
4789
4832
  datasource: 16,
@@ -4796,7 +4839,7 @@ class yo extends tn {
4796
4839
  collectionprovidersgamenames: 2,
4797
4840
  mbsource: 21
4798
4841
  },
4799
- co,
4842
+ go,
4800
4843
  [-1, -1]
4801
4844
  );
4802
4845
  }
@@ -4861,7 +4904,7 @@ class yo extends tn {
4861
4904
  this.$$set({ mbsource: t }), O();
4862
4905
  }
4863
4906
  }
4864
- en(yo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4907
+ sn(wo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4865
4908
  export {
4866
- yo as C
4909
+ wo as C
4867
4910
  };