@everymatrix/casino-collections-providers 1.74.3 → 1.74.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,57 +1,57 @@
1
- var kr = Object.defineProperty, Vr = Object.defineProperties;
2
- var Xr = Object.getOwnPropertyDescriptors;
3
- var bt = Object.getOwnPropertySymbols;
4
- var Wr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable;
5
- var Le = (e, t, r) => t in e ? kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
1
+ var Wr = Object.defineProperty, zr = Object.defineProperties;
2
+ var Zr = Object.getOwnPropertyDescriptors;
3
+ var vt = Object.getOwnPropertySymbols;
4
+ var Qr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable;
5
+ var Le = (e, t, r) => t in e ? Wr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Wr.call(t, r) && Le(e, r, t[r]);
8
- if (bt)
9
- for (var r of bt(t))
10
- zr.call(t, r) && Le(e, r, t[r]);
7
+ Qr.call(t, r) && Le(e, r, t[r]);
8
+ if (vt)
9
+ for (var r of vt(t))
10
+ Jr.call(t, r) && Le(e, r, t[r]);
11
11
  return e;
12
- }, yt = (e, t) => Vr(e, Xr(t));
12
+ }, _t = (e, t) => zr(e, Zr(t));
13
13
  var N = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var vt = (e, t, r) => new Promise((n, i) => {
14
+ var Et = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
18
- } catch (l) {
19
- i(l);
18
+ } catch (u) {
19
+ i(u);
20
20
  }
21
21
  }, s = (h) => {
22
22
  try {
23
23
  a(r.throw(h));
24
- } catch (l) {
25
- i(l);
24
+ } catch (u) {
25
+ i(u);
26
26
  }
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function I() {
31
31
  }
32
- function Jt(e) {
32
+ function Yt(e) {
33
33
  return e();
34
34
  }
35
- function _t() {
35
+ function xt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function re(e) {
39
- e.forEach(Jt);
39
+ e.forEach(Yt);
40
40
  }
41
- function rt(e) {
41
+ function nt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function qt(e, t) {
44
+ function Kt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let fe;
48
- function ve(e, t) {
48
+ function ye(e, t) {
49
49
  return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
50
50
  }
51
- function Zr(e) {
51
+ function qr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Yt(e, ...t) {
54
+ function er(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function Yt(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Qr(e, t, r) {
64
- e.$$.on_destroy.push(Yt(t, r));
63
+ function Yr(e, t, r) {
64
+ e.$$.on_destroy.push(er(t, r));
65
65
  }
66
66
  function C(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Jr(e, t, r) {
70
- const n = qr(e);
69
+ function Kr(e, t, r) {
70
+ const n = en(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = P("style");
73
- i.id = t, i.textContent = r, Yr(n, i);
73
+ i.id = t, i.textContent = r, tn(n, i);
74
74
  }
75
75
  }
76
- function qr(e) {
76
+ function en(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function qr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Yr(e, t) {
86
+ function tn(e, t) {
87
87
  return C(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,7 +96,7 @@ function G(e, t, r) {
96
96
  function R(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function Kt(e, t) {
99
+ function tr(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
@@ -112,25 +112,25 @@ function V() {
112
112
  function _e(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
- function Kr(e) {
115
+ function rn(e) {
116
116
  return function(t) {
117
117
  return t.stopPropagation(), e.call(this, t);
118
118
  };
119
119
  }
120
- function E(e, t, r) {
120
+ function x(e, t, r) {
121
121
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
122
  }
123
- function en(e) {
123
+ function nn(e) {
124
124
  return Array.from(e.childNodes);
125
125
  }
126
- function nt(e, t) {
126
+ function it(e, t) {
127
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
128
128
  t);
129
129
  }
130
130
  function Ie(e, t, r, n) {
131
131
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
132
132
  }
133
- function tn(e) {
133
+ function on(e) {
134
134
  const t = {};
135
135
  return e.childNodes.forEach(
136
136
  /** @param {Element} node */
@@ -139,26 +139,26 @@ function tn(e) {
139
139
  }
140
140
  ), t;
141
141
  }
142
- let ue;
142
+ let le;
143
143
  function ae(e) {
144
- ue = e;
144
+ le = e;
145
145
  }
146
- function rn() {
147
- if (!ue)
146
+ function sn() {
147
+ if (!le)
148
148
  throw new Error("Function called outside component initialization");
149
- return ue;
149
+ return le;
150
150
  }
151
- function nn(e) {
152
- rn().$$.on_mount.push(e);
151
+ function an(e) {
152
+ sn().$$.on_mount.push(e);
153
153
  }
154
- const Q = [], xe = [];
154
+ const Q = [], Ee = [];
155
155
  let J = [];
156
- const xt = [], on = /* @__PURE__ */ Promise.resolve();
157
- let Fe = !1;
158
- function sn() {
159
- Fe || (Fe = !0, on.then(M));
156
+ const St = [], ln = /* @__PURE__ */ Promise.resolve();
157
+ let je = !1;
158
+ function un() {
159
+ je || (je = !0, ln.then(M));
160
160
  }
161
- function je(e) {
161
+ function ke(e) {
162
162
  J.push(e);
163
163
  }
164
164
  const Ne = /* @__PURE__ */ new Set();
@@ -166,71 +166,71 @@ let z = 0;
166
166
  function M() {
167
167
  if (z !== 0)
168
168
  return;
169
- const e = ue;
169
+ const e = le;
170
170
  do {
171
171
  try {
172
172
  for (; z < Q.length; ) {
173
173
  const t = Q[z];
174
- z++, ae(t), an(t.$$);
174
+ z++, ae(t), hn(t.$$);
175
175
  }
176
176
  } catch (t) {
177
177
  throw Q.length = 0, z = 0, t;
178
178
  }
179
- for (ae(null), Q.length = 0, z = 0; xe.length; )
180
- xe.pop()();
179
+ for (ae(null), Q.length = 0, z = 0; Ee.length; )
180
+ Ee.pop()();
181
181
  for (let t = 0; t < J.length; t += 1) {
182
182
  const r = J[t];
183
183
  Ne.has(r) || (Ne.add(r), r());
184
184
  }
185
185
  J.length = 0;
186
186
  } while (Q.length);
187
- for (; xt.length; )
188
- xt.pop()();
189
- Fe = !1, Ne.clear(), ae(e);
187
+ for (; St.length; )
188
+ St.pop()();
189
+ je = !1, Ne.clear(), ae(e);
190
190
  }
191
- function an(e) {
191
+ function hn(e) {
192
192
  if (e.fragment !== null) {
193
193
  e.update(), re(e.before_update);
194
194
  const t = e.dirty;
195
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
195
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
196
196
  }
197
197
  }
198
- function un(e) {
198
+ function cn(e) {
199
199
  const t = [], r = [];
200
200
  J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
201
201
  }
202
- const ln = /* @__PURE__ */ new Set();
203
- function hn(e, t) {
204
- e && e.i && (ln.delete(e), e.i(t));
202
+ const fn = /* @__PURE__ */ new Set();
203
+ function dn(e, t) {
204
+ e && e.i && (fn.delete(e), e.i(t));
205
205
  }
206
- function Ee(e) {
206
+ function xe(e) {
207
207
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
208
208
  }
209
- function cn(e, t, r) {
209
+ function pn(e, t, r) {
210
210
  const { fragment: n, after_update: i } = e.$$;
211
- n && n.m(t, r), je(() => {
212
- const o = e.$$.on_mount.map(Jt).filter(rt);
211
+ n && n.m(t, r), ke(() => {
212
+ const o = e.$$.on_mount.map(Yt).filter(nt);
213
213
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
214
- }), i.forEach(je);
214
+ }), i.forEach(ke);
215
215
  }
216
- function fn(e, t) {
216
+ function mn(e, t) {
217
217
  const r = e.$$;
218
- r.fragment !== null && (un(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
+ r.fragment !== null && (cn(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
219
219
  }
220
- function dn(e, t) {
221
- e.$$.dirty[0] === -1 && (Q.push(e), sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
220
+ function bn(e, t) {
221
+ e.$$.dirty[0] === -1 && (Q.push(e), un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
222
  }
223
- function pn(e, t, r, n, i, o, s = null, a = [-1]) {
224
- const h = ue;
223
+ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
224
+ const h = le;
225
225
  ae(e);
226
- const l = e.$$ = {
226
+ const u = e.$$ = {
227
227
  fragment: null,
228
228
  ctx: [],
229
229
  // state
230
230
  props: o,
231
231
  update: I,
232
232
  not_equal: i,
233
- bound: _t(),
233
+ bound: xt(),
234
234
  // lifecycle
235
235
  on_mount: [],
236
236
  on_destroy: [],
@@ -239,28 +239,28 @@ function pn(e, t, r, n, i, o, s = null, a = [-1]) {
239
239
  after_update: [],
240
240
  context: new Map(t.context || (h ? h.$$.context : [])),
241
241
  // everything else
242
- callbacks: _t(),
242
+ callbacks: xt(),
243
243
  dirty: a,
244
244
  skip_bound: !1,
245
245
  root: t.target || h.$$.root
246
246
  };
247
- s && s(l.root);
248
- let u = !1;
249
- if (l.ctx = r(e, t.props || {}, (f, c, ...d) => {
247
+ s && s(u.root);
248
+ let l = !1;
249
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
250
250
  const m = d.length ? d[0] : c;
251
- return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), u && dn(e, f)), c;
252
- }), l.update(), u = !0, re(l.before_update), l.fragment = n(l.ctx), t.target) {
251
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && bn(e, f)), c;
252
+ }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
253
253
  if (t.hydrate) {
254
- const f = en(t.target);
255
- l.fragment && l.fragment.l(f), f.forEach(R);
254
+ const f = nn(t.target);
255
+ u.fragment && u.fragment.l(f), f.forEach(R);
256
256
  } else
257
- l.fragment && l.fragment.c();
258
- t.intro && hn(e.$$.fragment), cn(e, t.target, t.anchor), M();
257
+ u.fragment && u.fragment.c();
258
+ t.intro && dn(e.$$.fragment), pn(e, t.target, t.anchor), M();
259
259
  }
260
260
  ae(h);
261
261
  }
262
- let er;
263
- typeof HTMLElement == "function" && (er = class extends HTMLElement {
262
+ let rr;
263
+ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
264
264
  constructor(t, r, n) {
265
265
  super();
266
266
  /** The Svelte component constructor */
@@ -297,31 +297,31 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
297
297
  }
298
298
  }
299
299
  connectedCallback() {
300
- return vt(this, null, function* () {
300
+ return Et(this, null, function* () {
301
301
  if (this.$$cn = !0, !this.$$c) {
302
302
  let t = function(o) {
303
303
  return () => {
304
304
  let s;
305
305
  return {
306
306
  c: function() {
307
- s = P("slot"), o !== "default" && E(s, "name", o);
307
+ s = P("slot"), o !== "default" && x(s, "name", o);
308
308
  },
309
309
  /**
310
310
  * @param {HTMLElement} target
311
311
  * @param {HTMLElement} [anchor]
312
312
  */
313
- m: function(l, u) {
314
- G(l, s, u);
313
+ m: function(u, l) {
314
+ G(u, s, l);
315
315
  },
316
- d: function(l) {
317
- l && R(s);
316
+ d: function(u) {
317
+ u && R(s);
318
318
  }
319
319
  };
320
320
  };
321
321
  };
322
322
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
323
323
  return;
324
- const r = {}, n = tn(this);
324
+ const r = {}, n = on(this);
325
325
  for (const o of this.$$s)
326
326
  o in n && (r[o] = [t(o)]);
327
327
  for (const o of this.attributes) {
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
332
332
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
333
333
  this.$$c = new this.$$ctor({
334
334
  target: this.shadowRoot || this,
335
- props: yt(gt({}, this.$$d), {
335
+ props: _t(yt({}, this.$$d), {
336
336
  $$slots: r,
337
337
  $$scope: {
338
338
  ctx: []
@@ -410,8 +410,8 @@ function me(e, t, r, n) {
410
410
  return t;
411
411
  }
412
412
  }
413
- function mn(e, t, r, n, i, o) {
414
- let s = class extends er {
413
+ function vn(e, t, r, n, i, o) {
414
+ let s = class extends rr {
415
415
  constructor() {
416
416
  super(e, r, i), this.$$p_d = t;
417
417
  }
@@ -427,8 +427,8 @@ function mn(e, t, r, n, i, o) {
427
427
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
428
428
  },
429
429
  set(h) {
430
- var l;
431
- h = me(a, h, t), this.$$d[a] = h, (l = this.$$c) == null || l.$set({ [a]: h });
430
+ var u;
431
+ h = me(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
432
432
  }
433
433
  });
434
434
  }), n.forEach((a) => {
@@ -441,7 +441,7 @@ function mn(e, t, r, n, i, o) {
441
441
  }), e.element = /** @type {any} */
442
442
  s, s;
443
443
  }
444
- class bn {
444
+ class yn {
445
445
  constructor() {
446
446
  /**
447
447
  * ### PRIVATE API
@@ -462,7 +462,7 @@ class bn {
462
462
  }
463
463
  /** @returns {void} */
464
464
  $destroy() {
465
- fn(this, 1), this.$destroy = I;
465
+ mn(this, 1), this.$destroy = I;
466
466
  }
467
467
  /**
468
468
  * @template {Extract<keyof Events, string>} K
@@ -471,7 +471,7 @@ class bn {
471
471
  * @returns {() => void}
472
472
  */
473
473
  $on(t, r) {
474
- if (!rt(r))
474
+ if (!nt(r))
475
475
  return I;
476
476
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
477
477
  return n.push(r), () => {
@@ -484,13 +484,13 @@ class bn {
484
484
  * @returns {void}
485
485
  */
486
486
  $set(t) {
487
- this.$$set && !Zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
+ this.$$set && !qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
488
488
  }
489
489
  }
490
- const gn = "4";
491
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(gn);
490
+ const _n = "4";
491
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
492
492
  const Z = [];
493
- function yn(e, t) {
493
+ function En(e, t) {
494
494
  return {
495
495
  subscribe: He(e, t).subscribe
496
496
  };
@@ -499,13 +499,13 @@ function He(e, t = I) {
499
499
  let r;
500
500
  const n = /* @__PURE__ */ new Set();
501
501
  function i(a) {
502
- if (qt(e, a) && (e = a, r)) {
502
+ if (Kt(e, a) && (e = a, r)) {
503
503
  const h = !Z.length;
504
- for (const l of n)
505
- l[1](), Z.push(l, e);
504
+ for (const u of n)
505
+ u[1](), Z.push(u, e);
506
506
  if (h) {
507
- for (let l = 0; l < Z.length; l += 2)
508
- Z[l][0](Z[l + 1]);
507
+ for (let u = 0; u < Z.length; u += 2)
508
+ Z[u][0](Z[u + 1]);
509
509
  Z.length = 0;
510
510
  }
511
511
  }
@@ -514,9 +514,9 @@ function He(e, t = I) {
514
514
  i(a(e));
515
515
  }
516
516
  function s(a, h = I) {
517
- const l = [a, h];
518
- return n.add(l), n.size === 1 && (r = t(i, o) || I), a(e), () => {
519
- n.delete(l), n.size === 0 && r && (r(), r = null);
517
+ const u = [a, h];
518
+ return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
519
+ n.delete(u), n.size === 0 && r && (r(), r = null);
520
520
  };
521
521
  }
522
522
  return { set: i, update: o, subscribe: s };
@@ -526,24 +526,24 @@ function ne(e, t, r) {
526
526
  if (!i.every(Boolean))
527
527
  throw new Error("derived() expects stores as input, got a falsy value");
528
528
  const o = t.length < 2;
529
- return yn(r, (s, a) => {
529
+ return En(r, (s, a) => {
530
530
  let h = !1;
531
- const l = [];
532
- let u = 0, f = I;
531
+ const u = [];
532
+ let l = 0, f = I;
533
533
  const c = () => {
534
- if (u)
534
+ if (l)
535
535
  return;
536
536
  f();
537
- const m = t(n ? l[0] : l, s, a);
538
- o ? s(m) : f = rt(m) ? m : I;
537
+ const m = t(n ? u[0] : u, s, a);
538
+ o ? s(m) : f = nt(m) ? m : I;
539
539
  }, d = i.map(
540
- (m, b) => Yt(
540
+ (m, b) => er(
541
541
  m,
542
542
  (g) => {
543
- l[b] = g, u &= ~(1 << b), h && c();
543
+ u[b] = g, l &= ~(1 << b), h && c();
544
544
  },
545
545
  () => {
546
- u |= 1 << b;
546
+ l |= 1 << b;
547
547
  }
548
548
  )
549
549
  );
@@ -552,70 +552,70 @@ function ne(e, t, r) {
552
552
  };
553
553
  });
554
554
  }
555
- function vn(e) {
556
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
555
+ function xn(e) {
556
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
557
557
  }
558
- var _n = function(t) {
559
- return xn(t) && !En(t);
558
+ var Sn = function(t) {
559
+ return wn(t) && !Tn(t);
560
560
  };
561
- function xn(e) {
561
+ function wn(e) {
562
562
  return !!e && typeof e == "object";
563
563
  }
564
- function En(e) {
564
+ function Tn(e) {
565
565
  var t = Object.prototype.toString.call(e);
566
- return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
566
+ return t === "[object RegExp]" || t === "[object Date]" || Pn(e);
567
567
  }
568
- var Sn = typeof Symbol == "function" && Symbol.for, wn = Sn ? Symbol.for("react.element") : 60103;
569
- function Tn(e) {
570
- return e.$$typeof === wn;
568
+ var Hn = typeof Symbol == "function" && Symbol.for, Cn = Hn ? Symbol.for("react.element") : 60103;
569
+ function Pn(e) {
570
+ return e.$$typeof === Cn;
571
571
  }
572
- function Hn(e) {
572
+ function Bn(e) {
573
573
  return Array.isArray(e) ? [] : {};
574
574
  }
575
- function le(e, t) {
576
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(Hn(e), e, t) : e;
575
+ function ue(e, t) {
576
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(Bn(e), e, t) : e;
577
577
  }
578
- function Cn(e, t, r) {
578
+ function An(e, t, r) {
579
579
  return e.concat(t).map(function(n) {
580
- return le(n, r);
580
+ return ue(n, r);
581
581
  });
582
582
  }
583
- function Pn(e, t) {
583
+ function On(e, t) {
584
584
  if (!t.customMerge)
585
585
  return Y;
586
586
  var r = t.customMerge(e);
587
587
  return typeof r == "function" ? r : Y;
588
588
  }
589
- function Bn(e) {
589
+ function Ln(e) {
590
590
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
591
591
  return Object.propertyIsEnumerable.call(e, t);
592
592
  }) : [];
593
593
  }
594
- function Et(e) {
595
- return Object.keys(e).concat(Bn(e));
594
+ function wt(e) {
595
+ return Object.keys(e).concat(Ln(e));
596
596
  }
597
- function tr(e, t) {
597
+ function nr(e, t) {
598
598
  try {
599
599
  return t in e;
600
600
  } catch (r) {
601
601
  return !1;
602
602
  }
603
603
  }
604
- function An(e, t) {
605
- return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
604
+ function In(e, t) {
605
+ return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
606
606
  }
607
- function On(e, t, r) {
607
+ function Nn(e, t, r) {
608
608
  var n = {};
609
- return r.isMergeableObject(e) && Et(e).forEach(function(i) {
610
- n[i] = le(e[i], r);
611
- }), Et(t).forEach(function(i) {
612
- An(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
609
+ return r.isMergeableObject(e) && wt(e).forEach(function(i) {
610
+ n[i] = ue(e[i], r);
611
+ }), wt(t).forEach(function(i) {
612
+ In(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
613
613
  }), n;
614
614
  }
615
615
  function Y(e, t, r) {
616
- r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = le;
616
+ r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || Sn, r.cloneUnlessOtherwiseSpecified = ue;
617
617
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
618
- return o ? n ? r.arrayMerge(e, t, r) : On(e, t, r) : le(t, r);
618
+ return o ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : ue(t, r);
619
619
  }
620
620
  Y.all = function(t, r) {
621
621
  if (!Array.isArray(t))
@@ -624,8 +624,8 @@ Y.all = function(t, r) {
624
624
  return Y(n, i, r);
625
625
  }, {});
626
626
  };
627
- var Ln = Y, In = Ln;
628
- const Nn = /* @__PURE__ */ vn(In);
627
+ var Mn = Y, Rn = Mn;
628
+ const $n = /* @__PURE__ */ xn(Rn);
629
629
  /*! *****************************************************************************
630
630
  Copyright (c) Microsoft Corporation.
631
631
 
@@ -640,18 +640,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
640
640
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
641
641
  PERFORMANCE OF THIS SOFTWARE.
642
642
  ***************************************************************************** */
643
- var ke = function(e, t) {
644
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
643
+ var Ve = function(e, t) {
644
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
645
645
  r.__proto__ = n;
646
646
  } || function(r, n) {
647
647
  for (var i in n)
648
648
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
649
- }, ke(e, t);
649
+ }, Ve(e, t);
650
650
  };
651
651
  function F(e, t) {
652
652
  if (typeof t != "function" && t !== null)
653
653
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
654
- ke(e, t);
654
+ Ve(e, t);
655
655
  function r() {
656
656
  this.constructor = e;
657
657
  }
@@ -667,7 +667,7 @@ var _ = function() {
667
667
  return t;
668
668
  }, _.apply(this, arguments);
669
669
  };
670
- function Mn(e, t) {
670
+ function Gn(e, t) {
671
671
  var r = {};
672
672
  for (var n in e)
673
673
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -676,7 +676,7 @@ function Mn(e, t) {
676
676
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
677
677
  return r;
678
678
  }
679
- function Ve(e) {
679
+ function Xe(e) {
680
680
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
681
681
  if (r)
682
682
  return r.call(e);
@@ -688,7 +688,7 @@ function Ve(e) {
688
688
  };
689
689
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
690
690
  }
691
- function Xe(e, t) {
691
+ function We(e, t) {
692
692
  var r = typeof Symbol == "function" && e[Symbol.iterator];
693
693
  if (!r)
694
694
  return e;
@@ -715,61 +715,59 @@ function q(e, t, r) {
715
715
  return e.concat(o || t);
716
716
  }
717
717
  function Me(e, t) {
718
- var r = t && t.cache ? t.cache : jn, n = t && t.serializer ? t.serializer : Dn, i = t && t.strategy ? t.strategy : $n;
718
+ var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Dn;
719
719
  return i(e, {
720
720
  cache: r,
721
721
  serializer: n
722
722
  });
723
723
  }
724
- function Rn(e) {
724
+ function Un(e) {
725
725
  return e == null || typeof e == "number" || typeof e == "boolean";
726
726
  }
727
- function rr(e, t, r, n) {
728
- var i = Rn(n) ? n : r(n), o = t.get(i);
727
+ function ir(e, t, r, n) {
728
+ var i = Un(n) ? n : r(n), o = t.get(i);
729
729
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
730
730
  }
731
- function nr(e, t, r) {
731
+ function or(e, t, r) {
732
732
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
733
733
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
734
734
  }
735
- function it(e, t, r, n, i) {
735
+ function ot(e, t, r, n, i) {
736
736
  return r.bind(t, e, n, i);
737
737
  }
738
- function $n(e, t) {
739
- var r = e.length === 1 ? rr : nr;
740
- return it(e, this, r, t.cache.create(), t.serializer);
738
+ function Dn(e, t) {
739
+ var r = e.length === 1 ? ir : or;
740
+ return ot(e, this, r, t.cache.create(), t.serializer);
741
741
  }
742
- function Gn(e, t) {
743
- return it(e, this, nr, t.cache.create(), t.serializer);
742
+ function Fn(e, t) {
743
+ return ot(e, this, or, t.cache.create(), t.serializer);
744
744
  }
745
- function Un(e, t) {
746
- return it(e, this, rr, t.cache.create(), t.serializer);
745
+ function jn(e, t) {
746
+ return ot(e, this, ir, t.cache.create(), t.serializer);
747
747
  }
748
- var Dn = function() {
748
+ var kn = function() {
749
749
  return JSON.stringify(arguments);
750
- }, Fn = (
751
- /** @class */
752
- function() {
753
- function e() {
754
- this.cache = /* @__PURE__ */ Object.create(null);
755
- }
756
- return e.prototype.get = function(t) {
757
- return this.cache[t];
758
- }, e.prototype.set = function(t, r) {
759
- this.cache[t] = r;
760
- }, e;
761
- }()
762
- ), jn = {
750
+ };
751
+ function st() {
752
+ this.cache = /* @__PURE__ */ Object.create(null);
753
+ }
754
+ st.prototype.get = function(e) {
755
+ return this.cache[e];
756
+ };
757
+ st.prototype.set = function(e, t) {
758
+ this.cache[e] = t;
759
+ };
760
+ var Vn = {
763
761
  create: function() {
764
- return new Fn();
762
+ return new st();
765
763
  }
766
764
  }, Re = {
767
- variadic: Gn,
768
- monadic: Un
769
- }, y;
765
+ variadic: Fn,
766
+ monadic: jn
767
+ }, v;
770
768
  (function(e) {
771
769
  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";
772
- })(y || (y = {}));
770
+ })(v || (v = {}));
773
771
  var w;
774
772
  (function(e) {
775
773
  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";
@@ -778,43 +776,43 @@ var K;
778
776
  (function(e) {
779
777
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
780
778
  })(K || (K = {}));
781
- function St(e) {
779
+ function Tt(e) {
782
780
  return e.type === w.literal;
783
781
  }
784
- function kn(e) {
782
+ function Xn(e) {
785
783
  return e.type === w.argument;
786
784
  }
787
- function ir(e) {
785
+ function sr(e) {
788
786
  return e.type === w.number;
789
787
  }
790
- function or(e) {
788
+ function ar(e) {
791
789
  return e.type === w.date;
792
790
  }
793
- function sr(e) {
791
+ function lr(e) {
794
792
  return e.type === w.time;
795
793
  }
796
- function ar(e) {
794
+ function ur(e) {
797
795
  return e.type === w.select;
798
796
  }
799
- function ur(e) {
797
+ function hr(e) {
800
798
  return e.type === w.plural;
801
799
  }
802
- function Vn(e) {
800
+ function Wn(e) {
803
801
  return e.type === w.pound;
804
802
  }
805
- function lr(e) {
803
+ function cr(e) {
806
804
  return e.type === w.tag;
807
805
  }
808
- function hr(e) {
806
+ function fr(e) {
809
807
  return !!(e && typeof e == "object" && e.type === K.number);
810
808
  }
811
- function We(e) {
809
+ function ze(e) {
812
810
  return !!(e && typeof e == "object" && e.type === K.dateTime);
813
811
  }
814
- var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Xn = /(?:[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;
815
- function Wn(e) {
812
+ var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
813
+ function Zn(e) {
816
814
  var t = {};
817
- return e.replace(Xn, function(r) {
815
+ return e.replace(zn, function(r) {
818
816
  var n = r.length;
819
817
  switch (r[0]) {
820
818
  case "G":
@@ -903,18 +901,18 @@ function Wn(e) {
903
901
  return "";
904
902
  }), t;
905
903
  }
906
- var zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
907
- function Zn(e) {
904
+ var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
905
+ function Jn(e) {
908
906
  if (e.length === 0)
909
907
  throw new Error("Number skeleton cannot be empty");
910
- for (var t = e.split(zn).filter(function(c) {
908
+ for (var t = e.split(Qn).filter(function(c) {
911
909
  return c.length > 0;
912
910
  }), r = [], n = 0, i = t; n < i.length; n++) {
913
911
  var o = i[n], s = o.split("/");
914
912
  if (s.length === 0)
915
913
  throw new Error("Invalid number skeleton");
916
- for (var a = s[0], h = s.slice(1), l = 0, u = h; l < u.length; l++) {
917
- var f = u[l];
914
+ for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
915
+ var f = l[u];
918
916
  if (f.length === 0)
919
917
  throw new Error("Invalid number skeleton");
920
918
  }
@@ -922,17 +920,17 @@ function Zn(e) {
922
920
  }
923
921
  return r;
924
922
  }
925
- function Qn(e) {
923
+ function qn(e) {
926
924
  return e.replace(/^(.*?)-/, "");
927
925
  }
928
- var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
929
- function Tt(e) {
926
+ var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
927
+ function Ct(e) {
930
928
  var t = {};
931
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
929
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
932
930
  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)), "";
933
931
  }), t;
934
932
  }
935
- function pr(e) {
933
+ function br(e) {
936
934
  switch (e) {
937
935
  case "sign-auto":
938
936
  return {
@@ -972,7 +970,7 @@ function pr(e) {
972
970
  };
973
971
  }
974
972
  }
975
- function qn(e) {
973
+ function Kn(e) {
976
974
  var t;
977
975
  if (e[0] === "E" && e[1] === "E" ? (t = {
978
976
  notation: "engineering"
@@ -980,17 +978,17 @@ function qn(e) {
980
978
  notation: "scientific"
981
979
  }, e = e.slice(1)), t) {
982
980
  var r = e.slice(0, 2);
983
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
981
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
984
982
  throw new Error("Malformed concise eng/scientific notation");
985
983
  t.minimumIntegerDigits = e.length;
986
984
  }
987
985
  return t;
988
986
  }
989
- function Ht(e) {
990
- var t = {}, r = pr(e);
987
+ function Pt(e) {
988
+ var t = {}, r = br(e);
991
989
  return r || t;
992
990
  }
993
- function Yn(e) {
991
+ function ei(e) {
994
992
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
995
993
  var i = n[r];
996
994
  switch (i.stem) {
@@ -1014,7 +1012,7 @@ function Yn(e) {
1014
1012
  continue;
1015
1013
  case "measure-unit":
1016
1014
  case "unit":
1017
- t.style = "unit", t.unit = Qn(i.options[0]);
1015
+ t.style = "unit", t.unit = qn(i.options[0]);
1018
1016
  continue;
1019
1017
  case "compact-short":
1020
1018
  case "K":
@@ -1025,13 +1023,13 @@ function Yn(e) {
1025
1023
  t.notation = "compact", t.compactDisplay = "long";
1026
1024
  continue;
1027
1025
  case "scientific":
1028
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1029
- return _(_({}, h), Ht(l));
1026
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1027
+ return _(_({}, h), Pt(u));
1030
1028
  }, {}));
1031
1029
  continue;
1032
1030
  case "engineering":
1033
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1034
- return _(_({}, h), Ht(l));
1031
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1032
+ return _(_({}, h), Pt(u));
1035
1033
  }, {}));
1036
1034
  continue;
1037
1035
  case "notation-simple":
@@ -1076,9 +1074,9 @@ function Yn(e) {
1076
1074
  case "integer-width":
1077
1075
  if (i.options.length > 1)
1078
1076
  throw new RangeError("integer-width stems only accept a single optional option");
1079
- i.options[0].replace(Jn, function(h, l, u, f, c, d) {
1080
- if (l)
1081
- t.minimumIntegerDigits = u.length;
1077
+ i.options[0].replace(Yn, function(h, u, l, f, c, d) {
1078
+ if (u)
1079
+ t.minimumIntegerDigits = l.length;
1082
1080
  else {
1083
1081
  if (f && c)
1084
1082
  throw new Error("We currently do not support maximum integer digits");
@@ -1089,27 +1087,27 @@ function Yn(e) {
1089
1087
  });
1090
1088
  continue;
1091
1089
  }
1092
- if (dr.test(i.stem)) {
1090
+ if (mr.test(i.stem)) {
1093
1091
  t.minimumIntegerDigits = i.stem.length;
1094
1092
  continue;
1095
1093
  }
1096
- if (wt.test(i.stem)) {
1094
+ if (Ht.test(i.stem)) {
1097
1095
  if (i.options.length > 1)
1098
1096
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1099
- i.stem.replace(wt, function(h, l, u, f, c, d) {
1100
- 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), "";
1097
+ i.stem.replace(Ht, function(h, u, l, f, c, d) {
1098
+ 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), "";
1101
1099
  });
1102
1100
  var o = i.options[0];
1103
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Tt(o)));
1101
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Ct(o)));
1104
1102
  continue;
1105
1103
  }
1106
- if (fr.test(i.stem)) {
1107
- t = _(_({}, t), Tt(i.stem));
1104
+ if (pr.test(i.stem)) {
1105
+ t = _(_({}, t), Ct(i.stem));
1108
1106
  continue;
1109
1107
  }
1110
- var s = pr(i.stem);
1108
+ var s = br(i.stem);
1111
1109
  s && (t = _(_({}, t), s));
1112
- var a = qn(i.stem);
1110
+ var a = Kn(i.stem);
1113
1111
  a && (t = _(_({}, t), a));
1114
1112
  }
1115
1113
  return t;
@@ -2529,23 +2527,23 @@ var de = {
2529
2527
  "h"
2530
2528
  ]
2531
2529
  };
2532
- function Kn(e, t) {
2530
+ function ti(e, t) {
2533
2531
  for (var r = "", n = 0; n < e.length; n++) {
2534
2532
  var i = e.charAt(n);
2535
2533
  if (i === "j") {
2536
2534
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2537
2535
  o++, n++;
2538
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = ei(t);
2539
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2536
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = ri(t);
2537
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2540
2538
  r += h;
2541
2539
  for (; s-- > 0; )
2542
- r = l + r;
2540
+ r = u + r;
2543
2541
  } else
2544
2542
  i === "J" ? r += "H" : r += i;
2545
2543
  }
2546
2544
  return r;
2547
2545
  }
2548
- function ei(e) {
2546
+ function ri(e) {
2549
2547
  var t = e.hourCycle;
2550
2548
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2551
2549
  e.hourCycles && // @ts-ignore
@@ -2567,20 +2565,20 @@ function ei(e) {
2567
2565
  var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2568
2566
  return i[0];
2569
2567
  }
2570
- var $e, ti = new RegExp("^".concat(cr.source, "*")), ri = new RegExp("".concat(cr.source, "*$"));
2571
- function v(e, t) {
2568
+ var $e, ni = new RegExp("^".concat(dr.source, "*")), ii = new RegExp("".concat(dr.source, "*$"));
2569
+ function y(e, t) {
2572
2570
  return { start: e, end: t };
2573
2571
  }
2574
- var ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), ii = !!String.fromCodePoint, oi = !!Object.fromEntries, si = !!String.prototype.codePointAt, ai = !!String.prototype.trimStart, ui = !!String.prototype.trimEnd, li = !!Number.isSafeInteger, hi = li ? Number.isSafeInteger : function(e) {
2572
+ var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, li = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
2575
2573
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2576
- }, ze = !0;
2574
+ }, Ze = !0;
2577
2575
  try {
2578
- var ci = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2579
- ze = (($e = ci.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2576
+ var di = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2577
+ Ze = (($e = di.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2580
2578
  } catch (e) {
2581
- ze = !1;
2579
+ Ze = !1;
2582
2580
  }
2583
- var Ct = ni ? (
2581
+ var Bt = oi ? (
2584
2582
  // Native
2585
2583
  function(t, r, n) {
2586
2584
  return t.startsWith(r, n);
@@ -2590,7 +2588,7 @@ var Ct = ni ? (
2590
2588
  function(t, r, n) {
2591
2589
  return t.slice(n, n + r.length) === r;
2592
2590
  }
2593
- ), Ze = ii ? String.fromCodePoint : (
2591
+ ), Qe = si ? String.fromCodePoint : (
2594
2592
  // IE11
2595
2593
  function() {
2596
2594
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2602,9 +2600,9 @@ var Ct = ni ? (
2602
2600
  }
2603
2601
  return n;
2604
2602
  }
2605
- ), Pt = (
2603
+ ), At = (
2606
2604
  // native
2607
- oi ? Object.fromEntries : (
2605
+ ai ? Object.fromEntries : (
2608
2606
  // Ponyfill
2609
2607
  function(t) {
2610
2608
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2614,7 +2612,7 @@ var Ct = ni ? (
2614
2612
  return r;
2615
2613
  }
2616
2614
  )
2617
- ), mr = si ? (
2615
+ ), gr = li ? (
2618
2616
  // Native
2619
2617
  function(t, r) {
2620
2618
  return t.codePointAt(r);
@@ -2628,7 +2626,7 @@ var Ct = ni ? (
2628
2626
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2629
2627
  }
2630
2628
  }
2631
- ), fi = ai ? (
2629
+ ), pi = ui ? (
2632
2630
  // Native
2633
2631
  function(t) {
2634
2632
  return t.trimStart();
@@ -2636,9 +2634,9 @@ var Ct = ni ? (
2636
2634
  ) : (
2637
2635
  // Ponyfill
2638
2636
  function(t) {
2639
- return t.replace(ti, "");
2637
+ return t.replace(ni, "");
2640
2638
  }
2641
- ), di = ui ? (
2639
+ ), mi = hi ? (
2642
2640
  // Native
2643
2641
  function(t) {
2644
2642
  return t.trimEnd();
@@ -2646,32 +2644,32 @@ var Ct = ni ? (
2646
2644
  ) : (
2647
2645
  // Ponyfill
2648
2646
  function(t) {
2649
- return t.replace(ri, "");
2647
+ return t.replace(ii, "");
2650
2648
  }
2651
2649
  );
2652
- function br(e, t) {
2650
+ function vr(e, t) {
2653
2651
  return new RegExp(e, t);
2654
2652
  }
2655
- var Qe;
2656
- if (ze) {
2657
- var Bt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2658
- Qe = function(t, r) {
2653
+ var Je;
2654
+ if (Ze) {
2655
+ var Ot = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2656
+ Je = function(t, r) {
2659
2657
  var n;
2660
- Bt.lastIndex = r;
2661
- var i = Bt.exec(t);
2658
+ Ot.lastIndex = r;
2659
+ var i = Ot.exec(t);
2662
2660
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2663
2661
  };
2664
2662
  } else
2665
- Qe = function(t, r) {
2663
+ Je = function(t, r) {
2666
2664
  for (var n = []; ; ) {
2667
- var i = mr(t, r);
2668
- if (i === void 0 || gr(i) || gi(i))
2665
+ var i = gr(t, r);
2666
+ if (i === void 0 || yr(i) || yi(i))
2669
2667
  break;
2670
2668
  n.push(i), r += i >= 65536 ? 2 : 1;
2671
2669
  }
2672
- return Ze.apply(void 0, n);
2670
+ return Qe.apply(void 0, n);
2673
2671
  };
2674
- var pi = (
2672
+ var bi = (
2675
2673
  /** @class */
2676
2674
  function() {
2677
2675
  function e(t, r) {
@@ -2696,13 +2694,13 @@ var pi = (
2696
2694
  var a = this.clonePosition();
2697
2695
  this.bump(), i.push({
2698
2696
  type: w.pound,
2699
- location: v(a, this.clonePosition())
2697
+ location: y(a, this.clonePosition())
2700
2698
  });
2701
2699
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2702
2700
  if (n)
2703
2701
  break;
2704
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2705
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2702
+ return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2703
+ } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2706
2704
  var s = this.parseTag(t, r);
2707
2705
  if (s.err)
2708
2706
  return s;
@@ -2725,7 +2723,7 @@ var pi = (
2725
2723
  val: {
2726
2724
  type: w.literal,
2727
2725
  value: "<".concat(i, "/>"),
2728
- location: v(n, this.clonePosition())
2726
+ location: y(n, this.clonePosition())
2729
2727
  },
2730
2728
  err: null
2731
2729
  };
@@ -2735,25 +2733,25 @@ var pi = (
2735
2733
  return o;
2736
2734
  var s = o.val, a = this.clonePosition();
2737
2735
  if (this.bumpIf("</")) {
2738
- if (this.isEOF() || !Je(this.char()))
2739
- return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
2740
- var h = this.clonePosition(), l = this.parseTagName();
2741
- return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2736
+ if (this.isEOF() || !qe(this.char()))
2737
+ return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
2738
+ var h = this.clonePosition(), u = this.parseTagName();
2739
+ return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2742
2740
  val: {
2743
2741
  type: w.tag,
2744
2742
  value: i,
2745
2743
  children: s,
2746
- location: v(n, this.clonePosition())
2744
+ location: y(n, this.clonePosition())
2747
2745
  },
2748
2746
  err: null
2749
- } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
2747
+ } : this.error(v.INVALID_TAG, y(a, this.clonePosition())));
2750
2748
  } else
2751
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
2749
+ return this.error(v.UNCLOSED_TAG, y(n, this.clonePosition()));
2752
2750
  } else
2753
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2751
+ return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
2754
2752
  }, e.prototype.parseTagName = function() {
2755
2753
  var t = this.offset();
2756
- for (this.bump(); !this.isEOF() && bi(this.char()); )
2754
+ for (this.bump(); !this.isEOF() && vi(this.char()); )
2757
2755
  this.bump();
2758
2756
  return this.message.slice(t, this.offset());
2759
2757
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2775,14 +2773,14 @@ var pi = (
2775
2773
  }
2776
2774
  break;
2777
2775
  }
2778
- var h = v(n, this.clonePosition());
2776
+ var h = y(n, this.clonePosition());
2779
2777
  return {
2780
2778
  val: { type: w.literal, value: i, location: h },
2781
2779
  err: null
2782
2780
  };
2783
2781
  }, e.prototype.tryParseLeftAngleBracket = function() {
2784
2782
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2785
- !mi(this.peek() || 0)) ? (this.bump(), "<") : null;
2783
+ !gi(this.peek() || 0)) ? (this.bump(), "<") : null;
2786
2784
  }, e.prototype.tryParseQuote = function(t) {
2787
2785
  if (this.isEOF() || this.char() !== 39)
2788
2786
  return null;
@@ -2816,23 +2814,23 @@ var pi = (
2816
2814
  r.push(n);
2817
2815
  this.bump();
2818
2816
  }
2819
- return Ze.apply(void 0, r);
2817
+ return Qe.apply(void 0, r);
2820
2818
  }, e.prototype.tryParseUnquoted = function(t, r) {
2821
2819
  if (this.isEOF())
2822
2820
  return null;
2823
2821
  var n = this.char();
2824
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2822
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
2825
2823
  }, e.prototype.parseArgument = function(t, r) {
2826
2824
  var n = this.clonePosition();
2827
2825
  if (this.bump(), this.bumpSpace(), this.isEOF())
2828
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2826
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2829
2827
  if (this.char() === 125)
2830
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2828
+ return this.bump(), this.error(v.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2831
2829
  var i = this.parseIdentifierIfPossible().value;
2832
2830
  if (!i)
2833
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2831
+ return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2834
2832
  if (this.bumpSpace(), this.isEOF())
2835
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2833
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2836
2834
  switch (this.char()) {
2837
2835
  case 125:
2838
2836
  return this.bump(), {
@@ -2840,63 +2838,63 @@ var pi = (
2840
2838
  type: w.argument,
2841
2839
  // value does not include the opening and closing braces.
2842
2840
  value: i,
2843
- location: v(n, this.clonePosition())
2841
+ location: y(n, this.clonePosition())
2844
2842
  },
2845
2843
  err: null
2846
2844
  };
2847
2845
  case 44:
2848
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2846
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2849
2847
  default:
2850
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2848
+ return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2851
2849
  }
2852
2850
  }, e.prototype.parseIdentifierIfPossible = function() {
2853
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
2851
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2854
2852
  this.bumpTo(i);
2855
- var o = this.clonePosition(), s = v(t, o);
2853
+ var o = this.clonePosition(), s = y(t, o);
2856
2854
  return { value: n, location: s };
2857
2855
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2858
2856
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2859
2857
  switch (a) {
2860
2858
  case "":
2861
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, h));
2859
+ return this.error(v.EXPECT_ARGUMENT_TYPE, y(s, h));
2862
2860
  case "number":
2863
2861
  case "date":
2864
2862
  case "time": {
2865
2863
  this.bumpSpace();
2866
- var l = null;
2864
+ var u = null;
2867
2865
  if (this.bumpIf(",")) {
2868
2866
  this.bumpSpace();
2869
- var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2867
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2870
2868
  if (f.err)
2871
2869
  return f;
2872
- var c = di(f.val);
2870
+ var c = mi(f.val);
2873
2871
  if (c.length === 0)
2874
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2875
- var d = v(u, this.clonePosition());
2876
- l = { style: c, styleLocation: d };
2872
+ return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2873
+ var d = y(l, this.clonePosition());
2874
+ u = { style: c, styleLocation: d };
2877
2875
  }
2878
2876
  var m = this.tryParseArgumentClose(i);
2879
2877
  if (m.err)
2880
2878
  return m;
2881
- var b = v(i, this.clonePosition());
2882
- if (l && Ct(l == null ? void 0 : l.style, "::", 0)) {
2883
- var g = fi(l.style.slice(2));
2879
+ var b = y(i, this.clonePosition());
2880
+ if (u && Bt(u == null ? void 0 : u.style, "::", 0)) {
2881
+ var g = pi(u.style.slice(2));
2884
2882
  if (a === "number") {
2885
- var f = this.parseNumberSkeletonFromString(g, l.styleLocation);
2883
+ var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
2886
2884
  return f.err ? f : {
2887
2885
  val: { type: w.number, value: n, location: b, style: f.val },
2888
2886
  err: null
2889
2887
  };
2890
2888
  } else {
2891
2889
  if (g.length === 0)
2892
- return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2893
- var x = g;
2894
- this.locale && (x = Kn(g, this.locale));
2890
+ return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
2891
+ var E = g;
2892
+ this.locale && (E = ti(g, this.locale));
2895
2893
  var c = {
2896
2894
  type: K.dateTime,
2897
- pattern: x,
2898
- location: l.styleLocation,
2899
- parsedOptions: this.shouldParseSkeletons ? Wn(x) : {}
2895
+ pattern: E,
2896
+ location: u.styleLocation,
2897
+ parsedOptions: this.shouldParseSkeletons ? Zn(E) : {}
2900
2898
  }, S = a === "date" ? w.date : w.time;
2901
2899
  return {
2902
2900
  val: { type: S, value: n, location: b, style: c },
@@ -2909,7 +2907,7 @@ var pi = (
2909
2907
  type: a === "number" ? w.number : a === "date" ? w.date : w.time,
2910
2908
  value: n,
2911
2909
  location: b,
2912
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2910
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2913
2911
  },
2914
2912
  err: null
2915
2913
  };
@@ -2919,14 +2917,14 @@ var pi = (
2919
2917
  case "select": {
2920
2918
  var T = this.clonePosition();
2921
2919
  if (this.bumpSpace(), !this.bumpIf(","))
2922
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(T, _({}, T)));
2920
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, _({}, T)));
2923
2921
  this.bumpSpace();
2924
2922
  var H = this.parseIdentifierIfPossible(), O = 0;
2925
2923
  if (a !== "select" && H.value === "offset") {
2926
2924
  if (!this.bumpIf(":"))
2927
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2925
+ return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2928
2926
  this.bumpSpace();
2929
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2927
+ var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2930
2928
  if (f.err)
2931
2929
  return f;
2932
2930
  this.bumpSpace(), H = this.parseIdentifierIfPossible(), O = f.val;
@@ -2937,12 +2935,12 @@ var pi = (
2937
2935
  var m = this.tryParseArgumentClose(i);
2938
2936
  if (m.err)
2939
2937
  return m;
2940
- var W = v(i, this.clonePosition());
2938
+ var W = y(i, this.clonePosition());
2941
2939
  return a === "select" ? {
2942
2940
  val: {
2943
2941
  type: w.select,
2944
2942
  value: n,
2945
- options: Pt(k.val),
2943
+ options: At(k.val),
2946
2944
  location: W
2947
2945
  },
2948
2946
  err: null
@@ -2950,7 +2948,7 @@ var pi = (
2950
2948
  val: {
2951
2949
  type: w.plural,
2952
2950
  value: n,
2953
- options: Pt(k.val),
2951
+ options: At(k.val),
2954
2952
  offset: O,
2955
2953
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2956
2954
  location: W
@@ -2959,10 +2957,10 @@ var pi = (
2959
2957
  };
2960
2958
  }
2961
2959
  default:
2962
- return this.error(y.INVALID_ARGUMENT_TYPE, v(s, h));
2960
+ return this.error(v.INVALID_ARGUMENT_TYPE, y(s, h));
2963
2961
  }
2964
2962
  }, e.prototype.tryParseArgumentClose = function(t) {
2965
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2963
+ return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2966
2964
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2967
2965
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2968
2966
  var n = this.char();
@@ -2971,7 +2969,7 @@ var pi = (
2971
2969
  this.bump();
2972
2970
  var i = this.clonePosition();
2973
2971
  if (!this.bumpUntil("'"))
2974
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2972
+ return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
2975
2973
  this.bump();
2976
2974
  break;
2977
2975
  }
@@ -3001,37 +2999,37 @@ var pi = (
3001
2999
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3002
3000
  var n = [];
3003
3001
  try {
3004
- n = Zn(t);
3002
+ n = Jn(t);
3005
3003
  } catch (i) {
3006
- return this.error(y.INVALID_NUMBER_SKELETON, r);
3004
+ return this.error(v.INVALID_NUMBER_SKELETON, r);
3007
3005
  }
3008
3006
  return {
3009
3007
  val: {
3010
3008
  type: K.number,
3011
3009
  tokens: n,
3012
3010
  location: r,
3013
- parsedOptions: this.shouldParseSkeletons ? Yn(n) : {}
3011
+ parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
3014
3012
  },
3015
3013
  err: null
3016
3014
  };
3017
3015
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3018
- for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3019
- if (l.length === 0) {
3016
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3017
+ if (u.length === 0) {
3020
3018
  var f = this.clonePosition();
3021
3019
  if (r !== "select" && this.bumpIf("=")) {
3022
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3020
+ var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3023
3021
  if (c.err)
3024
3022
  return c;
3025
- u = v(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3023
+ l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3026
3024
  } else
3027
3025
  break;
3028
3026
  }
3029
- if (h.has(l))
3030
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3031
- l === "other" && (s = !0), this.bumpSpace();
3027
+ if (h.has(u))
3028
+ return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3029
+ u === "other" && (s = !0), this.bumpSpace();
3032
3030
  var d = this.clonePosition();
3033
3031
  if (!this.bumpIf("{"))
3034
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3032
+ return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3035
3033
  var m = this.parseMessage(t + 1, r, n);
3036
3034
  if (m.err)
3037
3035
  return m;
@@ -3039,14 +3037,14 @@ var pi = (
3039
3037
  if (b.err)
3040
3038
  return b;
3041
3039
  a.push([
3042
- l,
3040
+ u,
3043
3041
  {
3044
3042
  value: m.val,
3045
- location: v(d, this.clonePosition())
3043
+ location: y(d, this.clonePosition())
3046
3044
  }
3047
- ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3045
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3048
3046
  }
3049
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3047
+ 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 };
3050
3048
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3051
3049
  var n = 1, i = this.clonePosition();
3052
3050
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3057,8 +3055,8 @@ var pi = (
3057
3055
  else
3058
3056
  break;
3059
3057
  }
3060
- var h = v(i, this.clonePosition());
3061
- return o ? (s *= n, hi(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3058
+ var h = y(i, this.clonePosition());
3059
+ return o ? (s *= n, fi(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3062
3060
  }, e.prototype.offset = function() {
3063
3061
  return this.position.offset;
3064
3062
  }, e.prototype.isEOF = function() {
@@ -3073,7 +3071,7 @@ var pi = (
3073
3071
  var t = this.position.offset;
3074
3072
  if (t >= this.message.length)
3075
3073
  throw Error("out of bound");
3076
- var r = mr(this.message, t);
3074
+ var r = gr(this.message, t);
3077
3075
  if (r === void 0)
3078
3076
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3079
3077
  return r;
@@ -3092,7 +3090,7 @@ var pi = (
3092
3090
  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);
3093
3091
  }
3094
3092
  }, e.prototype.bumpIf = function(t) {
3095
- if (Ct(this.message, t, this.offset())) {
3093
+ if (Bt(this.message, t, this.offset())) {
3096
3094
  for (var r = 0; r < t.length; r++)
3097
3095
  this.bump();
3098
3096
  return !0;
@@ -3114,7 +3112,7 @@ var pi = (
3114
3112
  break;
3115
3113
  }
3116
3114
  }, e.prototype.bumpSpace = function() {
3117
- for (; !this.isEOF() && gr(this.char()); )
3115
+ for (; !this.isEOF() && yr(this.char()); )
3118
3116
  this.bump();
3119
3117
  }, e.prototype.peek = function() {
3120
3118
  if (this.isEOF())
@@ -3124,38 +3122,38 @@ var pi = (
3124
3122
  }, e;
3125
3123
  }()
3126
3124
  );
3127
- function Je(e) {
3125
+ function qe(e) {
3128
3126
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3129
3127
  }
3130
- function mi(e) {
3131
- return Je(e) || e === 47;
3128
+ function gi(e) {
3129
+ return qe(e) || e === 47;
3132
3130
  }
3133
- function bi(e) {
3131
+ function vi(e) {
3134
3132
  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;
3135
3133
  }
3136
- function gr(e) {
3134
+ function yr(e) {
3137
3135
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3138
3136
  }
3139
- function gi(e) {
3137
+ function yi(e) {
3140
3138
  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;
3141
3139
  }
3142
- function qe(e) {
3140
+ function Ye(e) {
3143
3141
  e.forEach(function(t) {
3144
- if (delete t.location, ar(t) || ur(t))
3142
+ if (delete t.location, ur(t) || hr(t))
3145
3143
  for (var r in t.options)
3146
- delete t.options[r].location, qe(t.options[r].value);
3144
+ delete t.options[r].location, Ye(t.options[r].value);
3147
3145
  else
3148
- ir(t) && hr(t.style) || (or(t) || sr(t)) && We(t.style) ? delete t.style.location : lr(t) && qe(t.children);
3146
+ sr(t) && fr(t.style) || (ar(t) || lr(t)) && ze(t.style) ? delete t.style.location : cr(t) && Ye(t.children);
3149
3147
  });
3150
3148
  }
3151
- function yi(e, t) {
3149
+ function _i(e, t) {
3152
3150
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3153
- var r = new pi(e, t).parse();
3151
+ var r = new bi(e, t).parse();
3154
3152
  if (r.err) {
3155
- var n = SyntaxError(y[r.err.kind]);
3153
+ var n = SyntaxError(v[r.err.kind]);
3156
3154
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3157
3155
  }
3158
- return t != null && t.captureLocation || qe(r.val), r.val;
3156
+ return t != null && t.captureLocation || Ye(r.val), r.val;
3159
3157
  }
3160
3158
  var ee;
3161
3159
  (function(e) {
@@ -3173,7 +3171,7 @@ var Ce = (
3173
3171
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3174
3172
  }, t;
3175
3173
  }(Error)
3176
- ), At = (
3174
+ ), Lt = (
3177
3175
  /** @class */
3178
3176
  function(e) {
3179
3177
  F(t, e);
@@ -3182,7 +3180,7 @@ var Ce = (
3182
3180
  }
3183
3181
  return t;
3184
3182
  }(Ce)
3185
- ), vi = (
3183
+ ), Ei = (
3186
3184
  /** @class */
3187
3185
  function(e) {
3188
3186
  F(t, e);
@@ -3191,7 +3189,7 @@ var Ce = (
3191
3189
  }
3192
3190
  return t;
3193
3191
  }(Ce)
3194
- ), _i = (
3192
+ ), xi = (
3195
3193
  /** @class */
3196
3194
  function(e) {
3197
3195
  F(t, e);
@@ -3204,79 +3202,79 @@ var Ce = (
3204
3202
  (function(e) {
3205
3203
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3206
3204
  })(A || (A = {}));
3207
- function xi(e) {
3205
+ function Si(e) {
3208
3206
  return e.length < 2 ? e : e.reduce(function(t, r) {
3209
3207
  var n = t[t.length - 1];
3210
3208
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3211
3209
  }, []);
3212
3210
  }
3213
- function Ei(e) {
3211
+ function wi(e) {
3214
3212
  return typeof e == "function";
3215
3213
  }
3216
3214
  function be(e, t, r, n, i, o, s) {
3217
- if (e.length === 1 && St(e[0]))
3215
+ if (e.length === 1 && Tt(e[0]))
3218
3216
  return [
3219
3217
  {
3220
3218
  type: A.literal,
3221
3219
  value: e[0].value
3222
3220
  }
3223
3221
  ];
3224
- for (var a = [], h = 0, l = e; h < l.length; h++) {
3225
- var u = l[h];
3226
- if (St(u)) {
3222
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3223
+ var l = u[h];
3224
+ if (Tt(l)) {
3227
3225
  a.push({
3228
3226
  type: A.literal,
3229
- value: u.value
3227
+ value: l.value
3230
3228
  });
3231
3229
  continue;
3232
3230
  }
3233
- if (Vn(u)) {
3231
+ if (Wn(l)) {
3234
3232
  typeof o == "number" && a.push({
3235
3233
  type: A.literal,
3236
3234
  value: r.getNumberFormat(t).format(o)
3237
3235
  });
3238
3236
  continue;
3239
3237
  }
3240
- var f = u.value;
3238
+ var f = l.value;
3241
3239
  if (!(i && f in i))
3242
- throw new _i(f, s);
3240
+ throw new xi(f, s);
3243
3241
  var c = i[f];
3244
- if (kn(u)) {
3242
+ if (Xn(l)) {
3245
3243
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3246
3244
  type: typeof c == "string" ? A.literal : A.object,
3247
3245
  value: c
3248
3246
  });
3249
3247
  continue;
3250
3248
  }
3251
- if (or(u)) {
3252
- var d = typeof u.style == "string" ? n.date[u.style] : We(u.style) ? u.style.parsedOptions : void 0;
3249
+ if (ar(l)) {
3250
+ var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3253
3251
  a.push({
3254
3252
  type: A.literal,
3255
3253
  value: r.getDateTimeFormat(t, d).format(c)
3256
3254
  });
3257
3255
  continue;
3258
3256
  }
3259
- if (sr(u)) {
3260
- var d = typeof u.style == "string" ? n.time[u.style] : We(u.style) ? u.style.parsedOptions : n.time.medium;
3257
+ if (lr(l)) {
3258
+ var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3261
3259
  a.push({
3262
3260
  type: A.literal,
3263
3261
  value: r.getDateTimeFormat(t, d).format(c)
3264
3262
  });
3265
3263
  continue;
3266
3264
  }
3267
- if (ir(u)) {
3268
- var d = typeof u.style == "string" ? n.number[u.style] : hr(u.style) ? u.style.parsedOptions : void 0;
3265
+ if (sr(l)) {
3266
+ var d = typeof l.style == "string" ? n.number[l.style] : fr(l.style) ? l.style.parsedOptions : void 0;
3269
3267
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3270
3268
  type: A.literal,
3271
3269
  value: r.getNumberFormat(t, d).format(c)
3272
3270
  });
3273
3271
  continue;
3274
3272
  }
3275
- if (lr(u)) {
3276
- var m = u.children, b = u.value, g = i[b];
3277
- if (!Ei(g))
3278
- throw new vi(b, "function", s);
3279
- var x = be(m, t, r, n, i, o), S = g(x.map(function(O) {
3273
+ if (cr(l)) {
3274
+ var m = l.children, b = l.value, g = i[b];
3275
+ if (!wi(g))
3276
+ throw new Ei(b, "function", s);
3277
+ var E = be(m, t, r, n, i, o), S = g(E.map(function(O) {
3280
3278
  return O.value;
3281
3279
  }));
3282
3280
  Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(O) {
@@ -3286,39 +3284,39 @@ function be(e, t, r, n, i, o, s) {
3286
3284
  };
3287
3285
  }));
3288
3286
  }
3289
- if (ar(u)) {
3290
- var T = u.options[c] || u.options.other;
3287
+ if (ur(l)) {
3288
+ var T = l.options[c] || l.options.other;
3291
3289
  if (!T)
3292
- throw new At(u.value, c, Object.keys(u.options), s);
3290
+ throw new Lt(l.value, c, Object.keys(l.options), s);
3293
3291
  a.push.apply(a, be(T.value, t, r, n, i));
3294
3292
  continue;
3295
3293
  }
3296
- if (ur(u)) {
3297
- var T = u.options["=".concat(c)];
3294
+ if (hr(l)) {
3295
+ var T = l.options["=".concat(c)];
3298
3296
  if (!T) {
3299
3297
  if (!Intl.PluralRules)
3300
3298
  throw new Ce(`Intl.PluralRules is not available in this environment.
3301
3299
  Try polyfilling it using "@formatjs/intl-pluralrules"
3302
3300
  `, ee.MISSING_INTL_API, s);
3303
- var H = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3304
- T = u.options[H] || u.options.other;
3301
+ var H = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3302
+ T = l.options[H] || l.options.other;
3305
3303
  }
3306
3304
  if (!T)
3307
- throw new At(u.value, c, Object.keys(u.options), s);
3308
- a.push.apply(a, be(T.value, t, r, n, i, c - (u.offset || 0)));
3305
+ throw new Lt(l.value, c, Object.keys(l.options), s);
3306
+ a.push.apply(a, be(T.value, t, r, n, i, c - (l.offset || 0)));
3309
3307
  continue;
3310
3308
  }
3311
3309
  }
3312
- return xi(a);
3310
+ return Si(a);
3313
3311
  }
3314
- function Si(e, t) {
3312
+ function Ti(e, t) {
3315
3313
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3316
3314
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3317
3315
  }, {})) : e;
3318
3316
  }
3319
- function wi(e, t) {
3317
+ function Hi(e, t) {
3320
3318
  return t ? Object.keys(e).reduce(function(r, n) {
3321
- return r[n] = Si(e[n], t[n]), r;
3319
+ return r[n] = Ti(e[n], t[n]), r;
3322
3320
  }, _({}, e)) : e;
3323
3321
  }
3324
3322
  function Ge(e) {
@@ -3335,7 +3333,7 @@ function Ge(e) {
3335
3333
  }
3336
3334
  };
3337
3335
  }
3338
- function Ti(e) {
3336
+ function Ci(e) {
3339
3337
  return e === void 0 && (e = {
3340
3338
  number: {},
3341
3339
  dateTime: {},
@@ -3367,7 +3365,7 @@ function Ti(e) {
3367
3365
  })
3368
3366
  };
3369
3367
  }
3370
- var Hi = (
3368
+ var Pi = (
3371
3369
  /** @class */
3372
3370
  function() {
3373
3371
  function e(t, r, n, i) {
@@ -3378,13 +3376,13 @@ var Hi = (
3378
3376
  dateTime: {},
3379
3377
  pluralRules: {}
3380
3378
  }, this.format = function(h) {
3381
- var l = o.formatToParts(h);
3382
- if (l.length === 1)
3383
- return l[0].value;
3384
- var u = l.reduce(function(f, c) {
3379
+ var u = o.formatToParts(h);
3380
+ if (u.length === 1)
3381
+ return u[0].value;
3382
+ var l = u.reduce(function(f, c) {
3385
3383
  return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3386
3384
  }, []);
3387
- return u.length <= 1 ? u[0] || "" : u;
3385
+ return l.length <= 1 ? l[0] || "" : l;
3388
3386
  }, this.formatToParts = function(h) {
3389
3387
  return be(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3390
3388
  }, this.resolvedOptions = function() {
@@ -3399,13 +3397,13 @@ var Hi = (
3399
3397
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3400
3398
  var s = i || {};
3401
3399
  s.formatters;
3402
- var a = Mn(s, ["formatters"]);
3400
+ var a = Gn(s, ["formatters"]);
3403
3401
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3404
3402
  } else
3405
3403
  this.ast = t;
3406
3404
  if (!Array.isArray(this.ast))
3407
3405
  throw new TypeError("A message must be provided as a String or AST.");
3408
- this.formats = wi(e.formats, n), this.formatters = i && i.formatters || Ti(this.formatterCache);
3406
+ this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
3409
3407
  }
3410
3408
  return Object.defineProperty(e, "defaultLocale", {
3411
3409
  get: function() {
@@ -3418,7 +3416,7 @@ var Hi = (
3418
3416
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3419
3417
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3420
3418
  }
3421
- }, e.__parse = yi, e.formats = {
3419
+ }, e.__parse = _i, e.formats = {
3422
3420
  number: {
3423
3421
  integer: {
3424
3422
  maximumFractionDigits: 0
@@ -3479,7 +3477,7 @@ var Hi = (
3479
3477
  }, e;
3480
3478
  }()
3481
3479
  );
3482
- function Ci(e, t) {
3480
+ function Bi(e, t) {
3483
3481
  if (t == null)
3484
3482
  return;
3485
3483
  if (t in e)
@@ -3500,92 +3498,92 @@ function Ci(e, t) {
3500
3498
  n = void 0;
3501
3499
  return n;
3502
3500
  }
3503
- const j = {}, Pi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), yr = (e, t) => {
3501
+ const j = {}, Ai = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), _r = (e, t) => {
3504
3502
  if (t == null)
3505
3503
  return;
3506
3504
  if (t in j && e in j[t])
3507
3505
  return j[t][e];
3508
3506
  const r = Pe(t);
3509
3507
  for (let n = 0; n < r.length; n++) {
3510
- const i = r[n], o = Ai(i, e);
3508
+ const i = r[n], o = Li(i, e);
3511
3509
  if (o)
3512
- return Pi(e, t, o);
3510
+ return Ai(e, t, o);
3513
3511
  }
3514
3512
  };
3515
- let ot;
3513
+ let at;
3516
3514
  const ce = He({});
3517
- function Bi(e) {
3518
- return ot[e] || null;
3515
+ function Oi(e) {
3516
+ return at[e] || null;
3519
3517
  }
3520
- function vr(e) {
3521
- return e in ot;
3518
+ function Er(e) {
3519
+ return e in at;
3522
3520
  }
3523
- function Ai(e, t) {
3524
- if (!vr(e))
3521
+ function Li(e, t) {
3522
+ if (!Er(e))
3525
3523
  return null;
3526
- const r = Bi(e);
3527
- return Ci(r, t);
3524
+ const r = Oi(e);
3525
+ return Bi(r, t);
3528
3526
  }
3529
- function Oi(e) {
3527
+ function Ii(e) {
3530
3528
  if (e == null)
3531
3529
  return;
3532
3530
  const t = Pe(e);
3533
3531
  for (let r = 0; r < t.length; r++) {
3534
3532
  const n = t[r];
3535
- if (vr(n))
3533
+ if (Er(n))
3536
3534
  return n;
3537
3535
  }
3538
3536
  }
3539
- function _r(e, ...t) {
3540
- delete j[e], ce.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
3537
+ function xr(e, ...t) {
3538
+ delete j[e], ce.update((r) => (r[e] = $n.all([r[e] || {}, ...t]), r));
3541
3539
  }
3542
3540
  ne(
3543
3541
  [ce],
3544
3542
  ([e]) => Object.keys(e)
3545
3543
  );
3546
- ce.subscribe((e) => ot = e);
3544
+ ce.subscribe((e) => at = e);
3547
3545
  const ge = {};
3548
- function Li(e, t) {
3546
+ function Ni(e, t) {
3549
3547
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3550
3548
  }
3551
- function xr(e) {
3549
+ function Sr(e) {
3552
3550
  return ge[e];
3553
3551
  }
3554
- function Ii(e) {
3552
+ function Mi(e) {
3555
3553
  return Pe(e).map((t) => {
3556
- const r = xr(t);
3554
+ const r = Sr(t);
3557
3555
  return [t, r ? [...r] : []];
3558
3556
  }).filter(([, t]) => t.length > 0);
3559
3557
  }
3560
- function Ye(e) {
3558
+ function Ke(e) {
3561
3559
  return e == null ? !1 : Pe(e).some(
3562
3560
  (t) => {
3563
3561
  var r;
3564
- return (r = xr(t)) == null ? void 0 : r.size;
3562
+ return (r = Sr(t)) == null ? void 0 : r.size;
3565
3563
  }
3566
3564
  );
3567
3565
  }
3568
- function Ni(e, t) {
3566
+ function Ri(e, t) {
3569
3567
  return Promise.all(
3570
- t.map((n) => (Li(e, n), n().then((i) => i.default || i)))
3571
- ).then((n) => _r(e, ...n));
3568
+ t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
3569
+ ).then((n) => xr(e, ...n));
3572
3570
  }
3573
3571
  const se = {};
3574
- function Er(e) {
3575
- if (!Ye(e))
3572
+ function wr(e) {
3573
+ if (!Ke(e))
3576
3574
  return e in se ? se[e] : Promise.resolve();
3577
- const t = Ii(e);
3575
+ const t = Mi(e);
3578
3576
  return se[e] = Promise.all(
3579
3577
  t.map(
3580
- ([r, n]) => Ni(r, n)
3578
+ ([r, n]) => Ri(r, n)
3581
3579
  )
3582
3580
  ).then(() => {
3583
- if (Ye(e))
3584
- return Er(e);
3581
+ if (Ke(e))
3582
+ return wr(e);
3585
3583
  delete se[e];
3586
3584
  }), se[e];
3587
3585
  }
3588
- const Mi = {
3586
+ const $i = {
3589
3587
  number: {
3590
3588
  scientific: { notation: "scientific" },
3591
3589
  engineering: { notation: "engineering" },
@@ -3614,57 +3612,57 @@ const Mi = {
3614
3612
  timeZoneName: "short"
3615
3613
  }
3616
3614
  }
3617
- }, Ri = {
3615
+ }, Gi = {
3618
3616
  fallbackLocale: null,
3619
3617
  loadingDelay: 200,
3620
- formats: Mi,
3618
+ formats: $i,
3621
3619
  warnOnMissingMessages: !0,
3622
3620
  handleMissingMessage: void 0,
3623
3621
  ignoreTag: !0
3624
- }, $i = Ri;
3622
+ }, Ui = Gi;
3625
3623
  function te() {
3626
- return $i;
3624
+ return Ui;
3627
3625
  }
3628
3626
  const Ue = He(!1);
3629
- var Gi = Object.defineProperty, Ui = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Fi = Object.prototype.hasOwnProperty, ji = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ki = (e, t) => {
3630
- for (var r in t)
3631
- Fi.call(t, r) && Lt(e, r, t[r]);
3632
- if (Ot)
3633
- for (var r of Ot(t))
3634
- ji.call(t, r) && Lt(e, r, t[r]);
3627
+ var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
3628
+ for (var r in t || (t = {}))
3629
+ ki.call(t, r) && Nt(e, r, t[r]);
3630
+ if (It)
3631
+ for (var r of It(t))
3632
+ Vi.call(t, r) && Nt(e, r, t[r]);
3635
3633
  return e;
3636
- }, Vi = (e, t) => Ui(e, Di(t));
3637
- let Ke;
3634
+ }, Wi = (e, t) => Fi(e, ji(t));
3635
+ let et;
3638
3636
  const Se = He(null);
3639
- function It(e) {
3637
+ function Mt(e) {
3640
3638
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3641
3639
  }
3642
3640
  function Pe(e, t = te().fallbackLocale) {
3643
- const r = It(e);
3644
- return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3641
+ const r = Mt(e);
3642
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
3645
3643
  }
3646
3644
  function X() {
3647
- return Ke != null ? Ke : void 0;
3645
+ return et != null ? et : void 0;
3648
3646
  }
3649
3647
  Se.subscribe((e) => {
3650
- Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3648
+ et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3651
3649
  });
3652
- const Xi = (e) => {
3653
- if (e && Oi(e) && Ye(e)) {
3650
+ const zi = (e) => {
3651
+ if (e && Ii(e) && Ke(e)) {
3654
3652
  const { loadingDelay: t } = te();
3655
3653
  let r;
3656
3654
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3657
3655
  () => Ue.set(!0),
3658
3656
  t
3659
- ) : Ue.set(!0), Er(e).then(() => {
3657
+ ) : Ue.set(!0), wr(e).then(() => {
3660
3658
  Se.set(e);
3661
3659
  }).finally(() => {
3662
3660
  clearTimeout(r), Ue.set(!1);
3663
3661
  });
3664
3662
  }
3665
3663
  return Se.set(e);
3666
- }, ie = Vi(ki({}, Se), {
3667
- set: Xi
3664
+ }, ie = Wi(Xi({}, Se), {
3665
+ set: zi
3668
3666
  }), Be = (e) => {
3669
3667
  const t = /* @__PURE__ */ Object.create(null);
3670
3668
  return (n) => {
@@ -3672,20 +3670,20 @@ const Xi = (e) => {
3672
3670
  return i in t ? t[i] : t[i] = e(n);
3673
3671
  };
3674
3672
  };
3675
- var Wi = Object.defineProperty, we = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
3673
+ var Zi = Object.defineProperty, we = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
3676
3674
  for (var r in t || (t = {}))
3677
- Sr.call(t, r) && Nt(e, r, t[r]);
3675
+ Tr.call(t, r) && Rt(e, r, t[r]);
3678
3676
  if (we)
3679
3677
  for (var r of we(t))
3680
- wr.call(t, r) && Nt(e, r, t[r]);
3678
+ Hr.call(t, r) && Rt(e, r, t[r]);
3681
3679
  return e;
3682
3680
  }, oe = (e, t) => {
3683
3681
  var r = {};
3684
3682
  for (var n in e)
3685
- Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3683
+ Tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3686
3684
  if (e != null && we)
3687
3685
  for (var n of we(e))
3688
- t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
3686
+ t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
3689
3687
  return r;
3690
3688
  };
3691
3689
  const he = (e, t) => {
@@ -3693,21 +3691,21 @@ const he = (e, t) => {
3693
3691
  if (e in r && t in r[e])
3694
3692
  return r[e][t];
3695
3693
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3696
- }, zi = Be(
3694
+ }, Qi = Be(
3697
3695
  (e) => {
3698
3696
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3699
3697
  if (r == null)
3700
3698
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3701
3699
  return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3702
3700
  }
3703
- ), Zi = Be(
3701
+ ), Ji = Be(
3704
3702
  (e) => {
3705
3703
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3706
3704
  if (r == null)
3707
3705
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3708
3706
  return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3709
3707
  }
3710
- ), Qi = Be(
3708
+ ), qi = Be(
3711
3709
  (e) => {
3712
3710
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3713
3711
  if (r == null)
@@ -3716,57 +3714,57 @@ const he = (e, t) => {
3716
3714
  );
3717
3715
  return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3718
3716
  }
3719
- ), Ji = (e = {}) => {
3717
+ ), Yi = (e = {}) => {
3720
3718
  var t = e, {
3721
3719
  locale: r = X()
3722
3720
  } = t, n = oe(t, [
3723
3721
  "locale"
3724
3722
  ]);
3725
- return zi(st({ locale: r }, n));
3726
- }, qi = (e = {}) => {
3723
+ return Qi(lt({ locale: r }, n));
3724
+ }, Ki = (e = {}) => {
3727
3725
  var t = e, {
3728
3726
  locale: r = X()
3729
3727
  } = t, n = oe(t, [
3730
3728
  "locale"
3731
3729
  ]);
3732
- return Zi(st({ locale: r }, n));
3733
- }, Yi = (e = {}) => {
3730
+ return Ji(lt({ locale: r }, n));
3731
+ }, eo = (e = {}) => {
3734
3732
  var t = e, {
3735
3733
  locale: r = X()
3736
3734
  } = t, n = oe(t, [
3737
3735
  "locale"
3738
3736
  ]);
3739
- return Qi(st({ locale: r }, n));
3740
- }, Ki = Be(
3737
+ return qi(lt({ locale: r }, n));
3738
+ }, to = Be(
3741
3739
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3742
- (e, t = X()) => new Hi(e, t, te().formats, {
3740
+ (e, t = X()) => new Pi(e, t, te().formats, {
3743
3741
  ignoreTag: te().ignoreTag
3744
3742
  })
3745
- ), eo = (e, t = {}) => {
3743
+ ), ro = (e, t = {}) => {
3746
3744
  var r, n, i, o;
3747
3745
  let s = t;
3748
3746
  typeof e == "object" && (s = e, e = s.id);
3749
3747
  const {
3750
3748
  values: a,
3751
3749
  locale: h = X(),
3752
- default: l
3750
+ default: u
3753
3751
  } = s;
3754
3752
  if (h == null)
3755
3753
  throw new Error(
3756
3754
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3757
3755
  );
3758
- let u = yr(e, h);
3759
- if (!u)
3760
- u = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3761
- else if (typeof u != "string")
3756
+ let l = _r(e, h);
3757
+ if (!l)
3758
+ 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;
3759
+ else if (typeof l != "string")
3762
3760
  return console.warn(
3763
- `[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.`
3764
- ), u;
3761
+ `[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.`
3762
+ ), l;
3765
3763
  if (!a)
3766
- return u;
3767
- let f = u;
3764
+ return l;
3765
+ let f = l;
3768
3766
  try {
3769
- f = Ki(u, h).format(a);
3767
+ f = to(l, h).format(a);
3770
3768
  } catch (c) {
3771
3769
  c instanceof Error && console.warn(
3772
3770
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3774,18 +3772,18 @@ const he = (e, t) => {
3774
3772
  );
3775
3773
  }
3776
3774
  return f;
3777
- }, to = (e, t) => Yi(t).format(e), ro = (e, t) => qi(t).format(e), no = (e, t) => Ji(t).format(e), io = (e, t = X()) => yr(e, t), oo = ne([ie, ce], () => eo);
3778
- ne([ie], () => to);
3779
- ne([ie], () => ro);
3775
+ }, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = X()) => _r(e, t), ao = ne([ie, ce], () => ro);
3780
3776
  ne([ie], () => no);
3781
- ne([ie, ce], () => io);
3782
- function Mt(e, t) {
3783
- _r(e, t);
3777
+ ne([ie], () => io);
3778
+ ne([ie], () => oo);
3779
+ ne([ie, ce], () => so);
3780
+ function $t(e, t) {
3781
+ xr(e, t);
3784
3782
  }
3785
- function so(e) {
3783
+ function lo(e) {
3786
3784
  ie.set(e);
3787
3785
  }
3788
- const Rt = {
3786
+ const Gt = {
3789
3787
  en: {
3790
3788
  collections: "Game Collections",
3791
3789
  providers: "Game Providers",
@@ -3885,13 +3883,13 @@ const Rt = {
3885
3883
  function D(e) {
3886
3884
  return typeof e == "function";
3887
3885
  }
3888
- function Tr(e) {
3886
+ function Cr(e) {
3889
3887
  var t = function(n) {
3890
3888
  Error.call(n), n.stack = new Error().stack;
3891
3889
  }, r = e(t);
3892
3890
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3893
3891
  }
3894
- var De = Tr(function(e) {
3892
+ var De = Cr(function(e) {
3895
3893
  return function(r) {
3896
3894
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3897
3895
  ` + r.map(function(n, i) {
@@ -3900,7 +3898,7 @@ var De = Tr(function(e) {
3900
3898
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3901
3899
  };
3902
3900
  });
3903
- function et(e, t) {
3901
+ function tt(e, t) {
3904
3902
  if (e) {
3905
3903
  var r = e.indexOf(t);
3906
3904
  0 <= r && e.splice(r, 1);
@@ -3918,9 +3916,9 @@ var Ae = function() {
3918
3916
  if (s)
3919
3917
  if (this._parentage = null, Array.isArray(s))
3920
3918
  try {
3921
- for (var a = Ve(s), h = a.next(); !h.done; h = a.next()) {
3922
- var l = h.value;
3923
- l.remove(this);
3919
+ for (var a = Xe(s), h = a.next(); !h.done; h = a.next()) {
3920
+ var u = h.value;
3921
+ u.remove(this);
3924
3922
  }
3925
3923
  } catch (b) {
3926
3924
  t = { error: b };
@@ -3934,10 +3932,10 @@ var Ae = function() {
3934
3932
  }
3935
3933
  else
3936
3934
  s.remove(this);
3937
- var u = this.initialTeardown;
3938
- if (D(u))
3935
+ var l = this.initialTeardown;
3936
+ if (D(l))
3939
3937
  try {
3940
- u();
3938
+ l();
3941
3939
  } catch (b) {
3942
3940
  o = b instanceof De ? b.errors : [b];
3943
3941
  }
@@ -3945,12 +3943,12 @@ var Ae = function() {
3945
3943
  if (f) {
3946
3944
  this._finalizers = null;
3947
3945
  try {
3948
- for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
3946
+ for (var c = Xe(f), d = c.next(); !d.done; d = c.next()) {
3949
3947
  var m = d.value;
3950
3948
  try {
3951
- $t(m);
3949
+ Ut(m);
3952
3950
  } catch (b) {
3953
- o = o != null ? o : [], b instanceof De ? o = q(q([], Xe(o)), Xe(b.errors)) : o.push(b);
3951
+ o = o != null ? o : [], b instanceof De ? o = q(q([], We(o)), We(b.errors)) : o.push(b);
3954
3952
  }
3955
3953
  }
3956
3954
  } catch (b) {
@@ -3971,7 +3969,7 @@ var Ae = function() {
3971
3969
  var r;
3972
3970
  if (t && t !== this)
3973
3971
  if (this.closed)
3974
- $t(t);
3972
+ Ut(t);
3975
3973
  else {
3976
3974
  if (t instanceof e) {
3977
3975
  if (t.closed || t._hasParent(this))
@@ -3988,22 +3986,22 @@ var Ae = function() {
3988
3986
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3989
3987
  }, e.prototype._removeParent = function(t) {
3990
3988
  var r = this._parentage;
3991
- r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
3989
+ r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
3992
3990
  }, e.prototype.remove = function(t) {
3993
3991
  var r = this._finalizers;
3994
- r && et(r, t), t instanceof e && t._removeParent(this);
3992
+ r && tt(r, t), t instanceof e && t._removeParent(this);
3995
3993
  }, e.EMPTY = function() {
3996
3994
  var t = new e();
3997
3995
  return t.closed = !0, t;
3998
3996
  }(), e;
3999
- }(), Hr = Ae.EMPTY;
4000
- function Cr(e) {
3997
+ }(), Pr = Ae.EMPTY;
3998
+ function Br(e) {
4001
3999
  return e instanceof Ae || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
4002
4000
  }
4003
- function $t(e) {
4001
+ function Ut(e) {
4004
4002
  D(e) ? e() : e.unsubscribe();
4005
4003
  }
4006
- var ao = {
4004
+ var Ar = {
4007
4005
  onUnhandledError: null,
4008
4006
  onStoppedNotification: null,
4009
4007
  Promise: void 0,
@@ -4013,31 +4011,31 @@ var ao = {
4013
4011
  setTimeout: function(e, t) {
4014
4012
  for (var r = [], n = 2; n < arguments.length; n++)
4015
4013
  r[n - 2] = arguments[n];
4016
- return setTimeout.apply(void 0, q([e, t], Xe(r)));
4014
+ return setTimeout.apply(void 0, q([e, t], We(r)));
4017
4015
  },
4018
4016
  clearTimeout: function(e) {
4019
4017
  return clearTimeout(e);
4020
4018
  },
4021
4019
  delegate: void 0
4022
4020
  };
4023
- function lo(e) {
4021
+ function ho(e) {
4024
4022
  uo.setTimeout(function() {
4025
4023
  throw e;
4026
4024
  });
4027
4025
  }
4028
- function Gt() {
4026
+ function Dt() {
4029
4027
  }
4030
- function ye(e) {
4028
+ function ve(e) {
4031
4029
  e();
4032
4030
  }
4033
- var Pr = function(e) {
4031
+ var Or = function(e) {
4034
4032
  F(t, e);
4035
4033
  function t(r) {
4036
4034
  var n = e.call(this) || this;
4037
- return n.isStopped = !1, r ? (n.destination = r, Cr(r) && r.add(n)) : n.destination = fo, n;
4035
+ return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = mo, n;
4038
4036
  }
4039
4037
  return t.create = function(r, n, i) {
4040
- return new tt(r, n, i);
4038
+ return new rt(r, n, i);
4041
4039
  }, t.prototype.next = function(r) {
4042
4040
  this.isStopped || this._next(r);
4043
4041
  }, t.prototype.error = function(r) {
@@ -4061,7 +4059,11 @@ var Pr = function(e) {
4061
4059
  this.unsubscribe();
4062
4060
  }
4063
4061
  }, t;
4064
- }(Ae), ho = function() {
4062
+ }(Ae), co = Function.prototype.bind;
4063
+ function Fe(e, t) {
4064
+ return co.call(e, t);
4065
+ }
4066
+ var fo = function() {
4065
4067
  function e(t) {
4066
4068
  this.partialObserver = t;
4067
4069
  }
@@ -4092,43 +4094,55 @@ var Pr = function(e) {
4092
4094
  pe(r);
4093
4095
  }
4094
4096
  }, e;
4095
- }(), tt = function(e) {
4097
+ }(), rt = function(e) {
4096
4098
  F(t, e);
4097
4099
  function t(r, n, i) {
4098
4100
  var o = e.call(this) || this, s;
4099
- return D(r) || !r ? s = {
4100
- next: r != null ? r : void 0,
4101
- error: n != null ? n : void 0,
4102
- complete: i != null ? i : void 0
4103
- } : s = r, o.destination = new ho(s), o;
4101
+ if (D(r) || !r)
4102
+ s = {
4103
+ next: r != null ? r : void 0,
4104
+ error: n != null ? n : void 0,
4105
+ complete: i != null ? i : void 0
4106
+ };
4107
+ else {
4108
+ var a;
4109
+ o && Ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4110
+ return o.unsubscribe();
4111
+ }, s = {
4112
+ next: r.next && Fe(r.next, a),
4113
+ error: r.error && Fe(r.error, a),
4114
+ complete: r.complete && Fe(r.complete, a)
4115
+ }) : s = r;
4116
+ }
4117
+ return o.destination = new fo(s), o;
4104
4118
  }
4105
4119
  return t;
4106
- }(Pr);
4120
+ }(Or);
4107
4121
  function pe(e) {
4108
- lo(e);
4122
+ ho(e);
4109
4123
  }
4110
- function co(e) {
4124
+ function po(e) {
4111
4125
  throw e;
4112
4126
  }
4113
- var fo = {
4127
+ var mo = {
4114
4128
  closed: !0,
4115
- next: Gt,
4116
- error: co,
4117
- complete: Gt
4118
- }, po = function() {
4129
+ next: Dt,
4130
+ error: po,
4131
+ complete: Dt
4132
+ }, bo = function() {
4119
4133
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4120
4134
  }();
4121
- function mo(e) {
4135
+ function go(e) {
4122
4136
  return e;
4123
4137
  }
4124
- function bo(e) {
4125
- return e.length === 0 ? mo : e.length === 1 ? e[0] : function(r) {
4138
+ function vo(e) {
4139
+ return e.length === 0 ? go : e.length === 1 ? e[0] : function(r) {
4126
4140
  return e.reduce(function(n, i) {
4127
4141
  return i(n);
4128
4142
  }, r);
4129
4143
  };
4130
4144
  }
4131
- var Ut = function() {
4145
+ var Ft = function() {
4132
4146
  function e(t) {
4133
4147
  t && (this._subscribe = t);
4134
4148
  }
@@ -4136,8 +4150,8 @@ var Ut = function() {
4136
4150
  var r = new e();
4137
4151
  return r.source = this, r.operator = t, r;
4138
4152
  }, e.prototype.subscribe = function(t, r, n) {
4139
- var i = this, o = yo(t) ? t : new tt(t, r, n);
4140
- return ye(function() {
4153
+ var i = this, o = _o(t) ? t : new rt(t, r, n);
4154
+ return ve(function() {
4141
4155
  var s = i, a = s.operator, h = s.source;
4142
4156
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
4143
4157
  }), o;
@@ -4149,8 +4163,8 @@ var Ut = function() {
4149
4163
  }
4150
4164
  }, e.prototype.forEach = function(t, r) {
4151
4165
  var n = this;
4152
- return r = Dt(r), new r(function(i, o) {
4153
- var s = new tt({
4166
+ return r = jt(r), new r(function(i, o) {
4167
+ var s = new rt({
4154
4168
  next: function(a) {
4155
4169
  try {
4156
4170
  t(a);
@@ -4166,15 +4180,15 @@ var Ut = function() {
4166
4180
  }, e.prototype._subscribe = function(t) {
4167
4181
  var r;
4168
4182
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4169
- }, e.prototype[po] = function() {
4183
+ }, e.prototype[bo] = function() {
4170
4184
  return this;
4171
4185
  }, e.prototype.pipe = function() {
4172
4186
  for (var t = [], r = 0; r < arguments.length; r++)
4173
4187
  t[r] = arguments[r];
4174
- return bo(t)(this);
4188
+ return vo(t)(this);
4175
4189
  }, e.prototype.toPromise = function(t) {
4176
4190
  var r = this;
4177
- return t = Dt(t), new t(function(n, i) {
4191
+ return t = jt(t), new t(function(n, i) {
4178
4192
  var o;
4179
4193
  r.subscribe(function(s) {
4180
4194
  return o = s;
@@ -4188,45 +4202,45 @@ var Ut = function() {
4188
4202
  return new e(t);
4189
4203
  }, e;
4190
4204
  }();
4191
- function Dt(e) {
4205
+ function jt(e) {
4192
4206
  var t;
4193
- return (t = e != null ? e : ao.Promise) !== null && t !== void 0 ? t : Promise;
4207
+ return (t = e != null ? e : Ar.Promise) !== null && t !== void 0 ? t : Promise;
4194
4208
  }
4195
- function go(e) {
4209
+ function yo(e) {
4196
4210
  return e && D(e.next) && D(e.error) && D(e.complete);
4197
4211
  }
4198
- function yo(e) {
4199
- return e && e instanceof Pr || go(e) && Cr(e);
4212
+ function _o(e) {
4213
+ return e && e instanceof Or || yo(e) && Br(e);
4200
4214
  }
4201
- var vo = Tr(function(e) {
4215
+ var Eo = Cr(function(e) {
4202
4216
  return function() {
4203
4217
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4204
4218
  };
4205
- }), Br = function(e) {
4219
+ }), Lr = function(e) {
4206
4220
  F(t, e);
4207
4221
  function t() {
4208
4222
  var r = e.call(this) || this;
4209
4223
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4210
4224
  }
4211
4225
  return t.prototype.lift = function(r) {
4212
- var n = new Ft(this, this);
4226
+ var n = new kt(this, this);
4213
4227
  return n.operator = r, n;
4214
4228
  }, t.prototype._throwIfClosed = function() {
4215
4229
  if (this.closed)
4216
- throw new vo();
4230
+ throw new Eo();
4217
4231
  }, t.prototype.next = function(r) {
4218
4232
  var n = this;
4219
- ye(function() {
4233
+ ve(function() {
4220
4234
  var i, o;
4221
4235
  if (n._throwIfClosed(), !n.isStopped) {
4222
4236
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4223
4237
  try {
4224
- for (var s = Ve(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4238
+ for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4225
4239
  var h = a.value;
4226
4240
  h.next(r);
4227
4241
  }
4228
- } catch (l) {
4229
- i = { error: l };
4242
+ } catch (u) {
4243
+ i = { error: u };
4230
4244
  } finally {
4231
4245
  try {
4232
4246
  a && !a.done && (o = s.return) && o.call(s);
@@ -4239,7 +4253,7 @@ var vo = Tr(function(e) {
4239
4253
  });
4240
4254
  }, t.prototype.error = function(r) {
4241
4255
  var n = this;
4242
- ye(function() {
4256
+ ve(function() {
4243
4257
  if (n._throwIfClosed(), !n.isStopped) {
4244
4258
  n.hasError = n.isStopped = !0, n.thrownError = r;
4245
4259
  for (var i = n.observers; i.length; )
@@ -4248,7 +4262,7 @@ var vo = Tr(function(e) {
4248
4262
  });
4249
4263
  }, t.prototype.complete = function() {
4250
4264
  var r = this;
4251
- ye(function() {
4265
+ ve(function() {
4252
4266
  if (r._throwIfClosed(), !r.isStopped) {
4253
4267
  r.isStopped = !0;
4254
4268
  for (var n = r.observers; n.length; )
@@ -4270,19 +4284,19 @@ var vo = Tr(function(e) {
4270
4284
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4271
4285
  }, t.prototype._innerSubscribe = function(r) {
4272
4286
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4273
- return o || s ? Hr : (this.currentObservers = null, a.push(r), new Ae(function() {
4274
- n.currentObservers = null, et(a, r);
4287
+ return o || s ? Pr : (this.currentObservers = null, a.push(r), new Ae(function() {
4288
+ n.currentObservers = null, tt(a, r);
4275
4289
  }));
4276
4290
  }, t.prototype._checkFinalizedStatuses = function(r) {
4277
4291
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4278
4292
  i ? r.error(o) : s && r.complete();
4279
4293
  }, t.prototype.asObservable = function() {
4280
- var r = new Ut();
4294
+ var r = new Ft();
4281
4295
  return r.source = this, r;
4282
4296
  }, t.create = function(r, n) {
4283
- return new Ft(r, n);
4297
+ return new kt(r, n);
4284
4298
  }, t;
4285
- }(Ut), Ft = function(e) {
4299
+ }(Ft), kt = function(e) {
4286
4300
  F(t, e);
4287
4301
  function t(r, n) {
4288
4302
  var i = e.call(this) || this;
@@ -4299,17 +4313,17 @@ var vo = Tr(function(e) {
4299
4313
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4300
4314
  }, t.prototype._subscribe = function(r) {
4301
4315
  var n, i;
4302
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Hr;
4316
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
4303
4317
  }, t;
4304
- }(Br), Ar = {
4318
+ }(Lr), Ir = {
4305
4319
  now: function() {
4306
- return (Ar.delegate || Date).now();
4320
+ return (Ir.delegate || Date).now();
4307
4321
  },
4308
4322
  delegate: void 0
4309
- }, _o = function(e) {
4323
+ }, xo = function(e) {
4310
4324
  F(t, e);
4311
4325
  function t(r, n, i) {
4312
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
4326
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
4313
4327
  var o = e.call(this) || this;
4314
4328
  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;
4315
4329
  }
@@ -4324,28 +4338,28 @@ var vo = Tr(function(e) {
4324
4338
  }, t.prototype._trimBuffer = function() {
4325
4339
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4326
4340
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4327
- for (var h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
4328
- l = u;
4329
- l && o.splice(0, l + 1);
4341
+ for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
4342
+ u = l;
4343
+ u && o.splice(0, u + 1);
4330
4344
  }
4331
4345
  }, t;
4332
- }(Br);
4333
- const jt = [], kt = {}, xo = (e, t = 0) => {
4334
- if (jt.indexOf(e) == -1) {
4335
- const r = new _o(t);
4336
- kt[e] = r, jt.push(e);
4346
+ }(Lr);
4347
+ const Vt = [], Xt = {}, So = (e, t = 0) => {
4348
+ if (Vt.indexOf(e) == -1) {
4349
+ const r = new xo(t);
4350
+ Xt[e] = r, Vt.push(e);
4337
4351
  }
4338
- return kt[e];
4352
+ return Xt[e];
4339
4353
  };
4340
- window.emWidgets = { topic: xo };
4341
- const Eo = (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));
4342
- function So(e, t) {
4354
+ window.emWidgets = { topic: So };
4355
+ const wo = (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));
4356
+ function To(e, t) {
4343
4357
  if (e) {
4344
4358
  const r = document.createElement("style");
4345
4359
  r.innerHTML = t, e.appendChild(r);
4346
4360
  }
4347
4361
  }
4348
- function wo(e, t) {
4362
+ function Ho(e, t) {
4349
4363
  const r = new URL(t);
4350
4364
  fetch(r.href).then((n) => n.text()).then((n) => {
4351
4365
  const i = document.createElement("style");
@@ -4354,7 +4368,7 @@ function wo(e, t) {
4354
4368
  console.error("There was an error while trying to load client styling from URL", n);
4355
4369
  });
4356
4370
  }
4357
- function To(e, t, r) {
4371
+ function Co(e, t, r) {
4358
4372
  if (window.emMessageBus) {
4359
4373
  const n = document.createElement("style");
4360
4374
  window.emMessageBus.subscribe(t, (i) => {
@@ -4362,18 +4376,18 @@ function To(e, t, r) {
4362
4376
  });
4363
4377
  }
4364
4378
  }
4365
- function Ho(e) {
4366
- Jr(e, "svelte-nnjza6", '*,*::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:var(--emw--border-radius-medium, 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:var(--emw--border-radius-medium, 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:var(--emw--border-radius-medium, 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, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4379
+ function Po(e) {
4380
+ Kr(e, "svelte-nnjza6", '*,*::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:var(--emw--border-radius-medium, 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:var(--emw--border-radius-medium, 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:var(--emw--border-radius-medium, 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, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4367
4381
  }
4368
- function Vt(e, t, r) {
4382
+ function Wt(e, t, r) {
4369
4383
  const n = e.slice();
4370
4384
  return n[41] = t[r], n;
4371
4385
  }
4372
- function Xt(e, t, r) {
4386
+ function zt(e, t, r) {
4373
4387
  const n = e.slice();
4374
4388
  return n[44] = t[r], n;
4375
4389
  }
4376
- function Co(e) {
4390
+ function Bo(e) {
4377
4391
  let t, r, n, i = (
4378
4392
  /*type*/
4379
4393
  (e[0] === "vendor" ? (
@@ -4383,27 +4397,27 @@ function Co(e) {
4383
4397
  /*$_*/
4384
4398
  e[10]("collections")
4385
4399
  )) + ""
4386
- ), o, s, a, h, l, u = (
4400
+ ), o, s, a, h, u, l = (
4387
4401
  /*numberOfSlides*/
4388
4402
  e[7] > /*numberOfVisibleSlides*/
4389
- e[8] && Wt(e)
4390
- ), f = Ee(
4403
+ e[8] && Zt(e)
4404
+ ), f = xe(
4391
4405
  /*gameCategories*/
4392
4406
  e[3]
4393
4407
  ), c = [];
4394
4408
  for (let d = 0; d < f.length; d += 1)
4395
- c[d] = Qt(Vt(e, f, d));
4409
+ c[d] = qt(Wt(e, f, d));
4396
4410
  return {
4397
4411
  c() {
4398
- t = P("div"), r = P("div"), n = P("p"), o = Te(i), s = V(), u && u.c(), a = V(), h = P("div");
4412
+ t = P("div"), r = P("div"), n = P("p"), o = Te(i), s = V(), l && l.c(), a = V(), h = P("div");
4399
4413
  for (let d = 0; d < c.length; d += 1)
4400
4414
  c[d].c();
4401
- E(n, "class", "Title"), E(r, "class", "CategoriesHeader"), E(h, "class", "CategoriesSlider"), E(t, "class", l = "CasinoCollectionsProviders " + /*mobile*/
4415
+ x(n, "class", "Title"), x(r, "class", "CategoriesHeader"), x(h, "class", "CategoriesSlider"), x(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
4402
4416
  (e[9] ? "Mobile" : "") + " " + /*type*/
4403
4417
  (e[0] === "vendor" ? "Providers" : "Collections"));
4404
4418
  },
4405
4419
  m(d, m) {
4406
- G(d, t, m), C(t, r), C(r, n), C(n, o), C(r, s), u && u.m(r, null), C(t, a), C(t, h);
4420
+ G(d, t, m), C(t, r), C(r, n), C(n, o), C(r, s), l && l.m(r, null), C(t, a), C(t, h);
4407
4421
  for (let b = 0; b < c.length; b += 1)
4408
4422
  c[b] && c[b].m(h, null);
4409
4423
  e[25](h);
@@ -4417,38 +4431,38 @@ function Co(e) {
4417
4431
  ) : (
4418
4432
  /*$_*/
4419
4433
  d[10]("collections")
4420
- )) + "") && nt(o, i), /*numberOfSlides*/
4434
+ )) + "") && it(o, i), /*numberOfSlides*/
4421
4435
  d[7] > /*numberOfVisibleSlides*/
4422
- d[8] ? u ? u.p(d, m) : (u = Wt(d), u.c(), u.m(r, null)) : u && (u.d(1), u = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4436
+ d[8] ? l ? l.p(d, m) : (l = Zt(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
4423
4437
  24590) {
4424
- f = Ee(
4438
+ f = xe(
4425
4439
  /*gameCategories*/
4426
4440
  d[3]
4427
4441
  );
4428
4442
  let b;
4429
4443
  for (b = 0; b < f.length; b += 1) {
4430
- const g = Vt(d, f, b);
4431
- c[b] ? c[b].p(g, m) : (c[b] = Qt(g), c[b].c(), c[b].m(h, null));
4444
+ const g = Wt(d, f, b);
4445
+ c[b] ? c[b].p(g, m) : (c[b] = qt(g), c[b].c(), c[b].m(h, null));
4432
4446
  }
4433
4447
  for (; b < c.length; b += 1)
4434
4448
  c[b].d(1);
4435
4449
  c.length = f.length;
4436
4450
  }
4437
4451
  m[0] & /*mobile, type*/
4438
- 513 && l !== (l = "CasinoCollectionsProviders " + /*mobile*/
4452
+ 513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
4439
4453
  (d[9] ? "Mobile" : "") + " " + /*type*/
4440
- (d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", l);
4454
+ (d[0] === "vendor" ? "Providers" : "Collections")) && x(t, "class", u);
4441
4455
  },
4442
4456
  d(d) {
4443
- d && R(t), u && u.d(), Kt(c, d), e[25](null);
4457
+ d && R(t), l && l.d(), tr(c, d), e[25](null);
4444
4458
  }
4445
4459
  };
4446
4460
  }
4447
- function Po(e) {
4461
+ function Ao(e) {
4448
4462
  let t;
4449
4463
  return {
4450
4464
  c() {
4451
- t = P("div"), E(t, "class", "LoadingSpinner");
4465
+ t = P("div"), x(t, "class", "LoadingSpinner");
4452
4466
  },
4453
4467
  m(r, n) {
4454
4468
  G(r, t, n);
@@ -4459,11 +4473,11 @@ function Po(e) {
4459
4473
  }
4460
4474
  };
4461
4475
  }
4462
- function Wt(e) {
4476
+ function Zt(e) {
4463
4477
  let t, r, n, i, o, s;
4464
4478
  return {
4465
4479
  c() {
4466
- t = P("div"), r = P("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 = P("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', E(t, "class", "ButtonsContainer");
4480
+ t = P("div"), r = P("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 = P("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', x(t, "class", "ButtonsContainer");
4467
4481
  },
4468
4482
  m(a, h) {
4469
4483
  G(a, t, h), C(t, r), C(t, n), C(t, i), o || (s = [
@@ -4487,14 +4501,14 @@ function Wt(e) {
4487
4501
  }
4488
4502
  };
4489
4503
  }
4490
- function Bo(e) {
4504
+ function Oo(e) {
4491
4505
  let t, r = (
4492
4506
  /*category*/
4493
4507
  e[41].name + ""
4494
4508
  ), n;
4495
4509
  return {
4496
4510
  c() {
4497
- t = P("p"), n = Te(r), E(t, "class", "CategorySlideTitle");
4511
+ t = P("p"), n = Te(r), x(t, "class", "CategorySlideTitle");
4498
4512
  },
4499
4513
  m(i, o) {
4500
4514
  G(i, t, o), C(t, n);
@@ -4502,19 +4516,19 @@ function Bo(e) {
4502
4516
  p(i, o) {
4503
4517
  o[0] & /*gameCategories*/
4504
4518
  8 && r !== (r = /*category*/
4505
- i[41].name + "") && nt(n, r);
4519
+ i[41].name + "") && it(n, r);
4506
4520
  },
4507
4521
  d(i) {
4508
4522
  i && R(t);
4509
4523
  }
4510
4524
  };
4511
4525
  }
4512
- function Ao(e) {
4526
+ function Lo(e) {
4513
4527
  let t, r, n;
4514
4528
  return {
4515
4529
  c() {
4516
- t = P("img"), E(t, "class", "CategorySlideLogo"), ve(t.src, r = /*category*/
4517
- e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
4530
+ t = P("img"), x(t, "class", "CategorySlideLogo"), ye(t.src, r = /*category*/
4531
+ e[41].icon) || x(t, "src", r), x(t, "alt", n = /*category*/
4518
4532
  e[41].name + " icon");
4519
4533
  },
4520
4534
  m(i, o) {
@@ -4522,24 +4536,24 @@ function Ao(e) {
4522
4536
  },
4523
4537
  p(i, o) {
4524
4538
  o[0] & /*gameCategories*/
4525
- 8 && !ve(t.src, r = /*category*/
4526
- i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
4539
+ 8 && !ye(t.src, r = /*category*/
4540
+ i[41].icon) && x(t, "src", r), o[0] & /*gameCategories*/
4527
4541
  8 && n !== (n = /*category*/
4528
- i[41].name + " icon") && E(t, "alt", n);
4542
+ i[41].name + " icon") && x(t, "alt", n);
4529
4543
  },
4530
4544
  d(i) {
4531
4545
  i && R(t);
4532
4546
  }
4533
4547
  };
4534
4548
  }
4535
- function zt(e) {
4549
+ function Qt(e) {
4536
4550
  let t, r = (
4537
4551
  /*game*/
4538
4552
  e[44].name + ""
4539
4553
  ), n, i;
4540
4554
  return {
4541
4555
  c() {
4542
- t = P("p"), n = Te(r), E(t, "title", i = /*game*/
4556
+ t = P("p"), n = Te(r), x(t, "title", i = /*game*/
4543
4557
  e[44].name);
4544
4558
  },
4545
4559
  m(o, s) {
@@ -4548,18 +4562,18 @@ function zt(e) {
4548
4562
  p(o, s) {
4549
4563
  s[0] & /*gameCategories*/
4550
4564
  8 && r !== (r = /*game*/
4551
- o[44].name + "") && nt(n, r), s[0] & /*gameCategories*/
4565
+ o[44].name + "") && it(n, r), s[0] & /*gameCategories*/
4552
4566
  8 && i !== (i = /*game*/
4553
- o[44].name) && E(t, "title", i);
4567
+ o[44].name) && x(t, "title", i);
4554
4568
  },
4555
4569
  d(o) {
4556
4570
  o && R(t);
4557
4571
  }
4558
4572
  };
4559
4573
  }
4560
- function Zt(e) {
4574
+ function Jt(e) {
4561
4575
  let t, r, n, i, o, s, a, h;
4562
- function l() {
4576
+ function u() {
4563
4577
  return (
4564
4578
  /*click_handler*/
4565
4579
  e[23](
@@ -4568,52 +4582,52 @@ function Zt(e) {
4568
4582
  )
4569
4583
  );
4570
4584
  }
4571
- let u = (
4585
+ let l = (
4572
4586
  /*collectionprovidersgamenames*/
4573
- e[2] == "true" && zt(e)
4587
+ e[2] == "true" && Qt(e)
4574
4588
  );
4575
4589
  return {
4576
4590
  c() {
4577
- t = P("div"), r = P("img"), o = V(), u && u.c(), s = V(), E(r, "class", "CategorySlideGameImage"), ve(r.src, n = /*game*/
4578
- e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
4579
- e[44].name), E(t, "class", "CategorySlideGames");
4591
+ t = P("div"), r = P("img"), o = V(), l && l.c(), s = V(), x(r, "class", "CategorySlideGameImage"), ye(r.src, n = /*game*/
4592
+ e[44].defaultThumbnail) || x(r, "src", n), x(r, "alt", i = /*game*/
4593
+ e[44].name), x(t, "class", "CategorySlideGames");
4580
4594
  },
4581
4595
  m(f, c) {
4582
- G(f, t, c), C(t, r), C(t, o), u && u.m(t, null), C(t, s), a || (h = _e(r, "click", Kr(l)), a = !0);
4596
+ G(f, t, c), C(t, r), C(t, o), l && l.m(t, null), C(t, s), a || (h = _e(r, "click", rn(u)), a = !0);
4583
4597
  },
4584
4598
  p(f, c) {
4585
4599
  e = f, c[0] & /*gameCategories*/
4586
- 8 && !ve(r.src, n = /*game*/
4587
- e[44].defaultThumbnail) && E(r, "src", n), c[0] & /*gameCategories*/
4600
+ 8 && !ye(r.src, n = /*game*/
4601
+ e[44].defaultThumbnail) && x(r, "src", n), c[0] & /*gameCategories*/
4588
4602
  8 && i !== (i = /*game*/
4589
- e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
4590
- e[2] == "true" ? u ? u.p(e, c) : (u = zt(e), u.c(), u.m(t, s)) : u && (u.d(1), u = null);
4603
+ e[44].name) && x(r, "alt", i), /*collectionprovidersgamenames*/
4604
+ e[2] == "true" ? l ? l.p(e, c) : (l = Qt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
4591
4605
  },
4592
4606
  d(f) {
4593
- f && R(t), u && u.d(), a = !1, h();
4607
+ f && R(t), l && l.d(), a = !1, h();
4594
4608
  }
4595
4609
  };
4596
4610
  }
4597
- function Qt(e) {
4598
- let t, r, n, i, o, s, a, h, l;
4599
- function u(g, x) {
4611
+ function qt(e) {
4612
+ let t, r, n, i, o, s, a, h, u;
4613
+ function l(g, E) {
4600
4614
  if (
4601
4615
  /*titletype*/
4602
4616
  g[1] === "logo"
4603
4617
  )
4604
- return Ao;
4618
+ return Lo;
4605
4619
  if (
4606
4620
  /*titletype*/
4607
4621
  g[1] === "title"
4608
4622
  )
4609
- return Bo;
4623
+ return Oo;
4610
4624
  }
4611
- let f = u(e), c = f && f(e), d = Ee(
4625
+ let f = l(e), c = f && f(e), d = xe(
4612
4626
  /*category*/
4613
4627
  e[41].games
4614
4628
  ), m = [];
4615
4629
  for (let g = 0; g < d.length; g += 1)
4616
- m[g] = Zt(Xt(e, d, g));
4630
+ m[g] = Jt(zt(e, d, g));
4617
4631
  function b() {
4618
4632
  return (
4619
4633
  /*click_handler_1*/
@@ -4625,54 +4639,54 @@ function Qt(e) {
4625
4639
  }
4626
4640
  return {
4627
4641
  c() {
4628
- var g, x;
4642
+ var g, E;
4629
4643
  t = P("div"), r = P("div"), n = P("div"), c && c.c(), i = V(), o = P("div");
4630
4644
  for (let S = 0; S < m.length; S += 1)
4631
4645
  m[S].c();
4632
- a = V(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
4646
+ a = V(), x(n, "class", "CategorySlideTopContainer"), x(o, "class", "CategorySlideGameContainer"), x(r, "class", s = "CategorySlide " + /*category*/
4633
4647
  (((g = e[41]) == null ? void 0 : g.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
4634
- ((x = e[41]) == null ? void 0 : x.background) + ")"), Ie(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
4648
+ ((E = e[41]) == null ? void 0 : E.background) + ")"), Ie(r, "background-size", "cover"), x(t, "class", "CategoriesSliderWrapper Animation");
4635
4649
  },
4636
- m(g, x) {
4637
- G(g, t, x), C(t, r), C(r, n), c && c.m(n, null), C(r, i), C(r, o);
4650
+ m(g, E) {
4651
+ G(g, t, E), C(t, r), C(r, n), c && c.m(n, null), C(r, i), C(r, o);
4638
4652
  for (let S = 0; S < m.length; S += 1)
4639
4653
  m[S] && m[S].m(o, null);
4640
- C(t, a), h || (l = _e(r, "click", b), h = !0);
4654
+ C(t, a), h || (u = _e(r, "click", b), h = !0);
4641
4655
  },
4642
- p(g, x) {
4656
+ p(g, E) {
4643
4657
  var S, T;
4644
- if (e = g, f === (f = u(e)) && c ? c.p(e, x) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), x[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
4658
+ 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
4659
  8204) {
4646
- d = Ee(
4660
+ d = xe(
4647
4661
  /*category*/
4648
4662
  e[41].games
4649
4663
  );
4650
4664
  let H;
4651
4665
  for (H = 0; H < d.length; H += 1) {
4652
- const O = Xt(e, d, H);
4653
- m[H] ? m[H].p(O, x) : (m[H] = Zt(O), m[H].c(), m[H].m(o, null));
4666
+ const O = zt(e, d, H);
4667
+ m[H] ? m[H].p(O, E) : (m[H] = Jt(O), m[H].c(), m[H].m(o, null));
4654
4668
  }
4655
4669
  for (; H < m.length; H += 1)
4656
4670
  m[H].d(1);
4657
4671
  m.length = d.length;
4658
4672
  }
4659
- x[0] & /*gameCategories*/
4673
+ E[0] & /*gameCategories*/
4660
4674
  8 && s !== (s = "CategorySlide " + /*category*/
4661
- (((S = e[41]) == null ? void 0 : S.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), x[0] & /*gameCategories*/
4675
+ (((S = e[41]) == null ? void 0 : S.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && x(r, "class", s), E[0] & /*gameCategories*/
4662
4676
  8 && Ie(r, "background-image", "url(" + /*category*/
4663
4677
  ((T = e[41]) == null ? void 0 : T.background) + ")");
4664
4678
  },
4665
4679
  d(g) {
4666
- g && R(t), c && c.d(), Kt(m, g), h = !1, l();
4680
+ g && R(t), c && c.d(), tr(m, g), h = !1, u();
4667
4681
  }
4668
4682
  };
4669
4683
  }
4670
- function Oo(e) {
4684
+ function Io(e) {
4671
4685
  let t;
4672
4686
  function r(o, s) {
4673
4687
  return (
4674
4688
  /*isLoading*/
4675
- o[6] ? Po : Co
4689
+ o[6] ? Ao : Bo
4676
4690
  );
4677
4691
  }
4678
4692
  let n = r(e), i = n(e);
@@ -4693,56 +4707,56 @@ function Oo(e) {
4693
4707
  }
4694
4708
  };
4695
4709
  }
4696
- function Lo(e, t, r) {
4710
+ function No(e, t, r) {
4697
4711
  let n;
4698
- Qr(e, oo, (p) => r(10, n = p));
4699
- 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, x = 0, S = 0, T = 0, H, O, k = 0, W = 50, Oe = !1, $, Or = window.navigator.userAgent, at;
4700
- const Lr = () => {
4712
+ Yr(e, ao, (p) => r(10, n = p));
4713
+ 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, S = 0, T = 0, H, O, k = 0, W = 50, Oe = !1, $, Nr = window.navigator.userAgent, ut;
4714
+ const Mr = () => {
4701
4715
  fetch(f).then((B) => B.json()).then((B) => {
4702
4716
  Object.keys(B).forEach((U) => {
4703
- Mt(U, B[U]);
4717
+ $t(U, B[U]);
4704
4718
  });
4705
4719
  }).catch((B) => {
4706
4720
  console.log(B);
4707
4721
  });
4708
4722
  };
4709
- Object.keys(Rt).forEach((p) => {
4710
- Mt(p, Rt[p]);
4723
+ Object.keys(Gt).forEach((p) => {
4724
+ $t(p, Gt[p]);
4711
4725
  });
4712
- const ut = () => {
4726
+ const ht = () => {
4713
4727
  const p = new URL(`${i}/v2/casino/groups/${o}`);
4714
4728
  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((B) => B.json()).then((B) => {
4715
4729
  r(6, b = !1), B.total > W && (k += 50, W += 50, r(22, Oe = !0));
4716
4730
  let U = B.items.map((L) => {
4717
- var dt, pt, mt;
4731
+ var mt, bt, gt;
4718
4732
  return {
4719
4733
  id: L.id,
4720
4734
  name: L.name,
4721
- icon: L.icon ? L.icon : (mt = (pt = (dt = L.vendors) == null ? void 0 : dt.items[0]) == null ? void 0 : pt.subVendors[0]) == null ? void 0 : mt.logo,
4722
- games: L.games.items.slice(0, 4).map((jr) => jr),
4735
+ icon: L.icon ? L.icon : (gt = (bt = (mt = L.vendors) == null ? void 0 : mt.items[0]) == null ? void 0 : bt.subVendors[0]) == null ? void 0 : gt.logo,
4736
+ games: L.games.items.slice(0, 4).map((Xr) => Xr),
4723
4737
  background: L.background,
4724
4738
  flag: L.flags
4725
4739
  };
4726
4740
  });
4727
- r(3, m = [...m, ...U]), r(7, S = m.length), Ir();
4741
+ r(3, m = [...m, ...U]), r(7, S = m.length), Rr();
4728
4742
  });
4729
- }, Ir = () => {
4743
+ }, Rr = () => {
4730
4744
  const p = $.getRootNode().host;
4731
4745
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4732
- }, lt = (p) => {
4746
+ }, ct = (p) => {
4733
4747
  var B;
4734
4748
  O = [...g.children], O.forEach((U, L) => {
4735
4749
  U.style.transform = `translateX(${100 * (p ? L - p : L)}%)`;
4736
- }), H = (B = O[0]) == null ? void 0 : B.getBoundingClientRect().width, Nr();
4737
- }, Nr = () => {
4750
+ }), H = (B = O[0]) == null ? void 0 : B.getBoundingClientRect().width, $r();
4751
+ }, $r = () => {
4738
4752
  r(8, T = Math.floor(g.clientWidth / H));
4739
- }, ht = () => {
4740
- lt(x);
4741
- }, Mr = () => {
4742
- x === 0 ? x = S - T : x - T < -1 ? x = 0 : x--, ht();
4743
- }, Rr = () => {
4744
- x === S - T ? x = 0 : S - T < x + 1 ? x = S - T : x++, ht();
4745
- }, ct = (p, B, U, L) => {
4753
+ }, ft = () => {
4754
+ ct(E);
4755
+ }, Gr = () => {
4756
+ E === 0 ? E = S - T : E - T < -1 ? E = 0 : E--, ft();
4757
+ }, Ur = () => {
4758
+ E === S - T ? E = 0 : S - T < E + 1 ? E = S - T : E++, ft();
4759
+ }, dt = (p, B, U, L) => {
4746
4760
  window.postMessage(
4747
4761
  {
4748
4762
  type: "OpenCollectionsProvidersGame",
@@ -4756,7 +4770,7 @@ function Lo(e, t, r) {
4756
4770
  context: "CollectionsProviders",
4757
4771
  gameName: `${U}`
4758
4772
  });
4759
- }, ft = (p) => {
4773
+ }, pt = (p) => {
4760
4774
  window.postMessage(
4761
4775
  {
4762
4776
  type: "OpenCollectionsProvidersCategory",
@@ -4764,34 +4778,34 @@ function Lo(e, t, r) {
4764
4778
  },
4765
4779
  window.location.href
4766
4780
  );
4767
- }, $r = () => {
4768
- so(s);
4781
+ }, Dr = () => {
4782
+ lo(s);
4769
4783
  };
4770
- nn(() => (r(9, at = Eo(Or)), () => {
4784
+ an(() => (r(9, ut = wo(Nr)), () => {
4771
4785
  }));
4772
- const Gr = (p) => ct(p.gameId, p.launchUrl, p.name, p.subVendor), Ur = (p) => ft(p.id);
4773
- function Dr(p) {
4774
- xe[p ? "unshift" : "push"](() => {
4786
+ const Fr = (p) => dt(p.gameId, p.launchUrl, p.name, p.subVendor), jr = (p) => pt(p.id);
4787
+ function kr(p) {
4788
+ Ee[p ? "unshift" : "push"](() => {
4775
4789
  g = p, r(4, g);
4776
4790
  });
4777
4791
  }
4778
- function Fr(p) {
4779
- xe[p ? "unshift" : "push"](() => {
4792
+ function Vr(p) {
4793
+ Ee[p ? "unshift" : "push"](() => {
4780
4794
  $ = p, r(5, $);
4781
4795
  });
4782
4796
  }
4783
4797
  return e.$$set = (p) => {
4784
- "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);
4798
+ "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);
4785
4799
  }, e.$$.update = () => {
4786
4800
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4787
- 229376 && i && o && s && ut(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4788
- 24 && m && g && lt(), e.$$.dirty[0] & /*lang*/
4789
- 131072 && s && $r(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4790
- 262176 && l && $ && So($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4791
- 524320 && u && $ && wo($, u), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4792
- 2097184 && $ && To($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4793
- 1048576 && f && Lr(), e.$$.dirty[0] & /*paginationrequired*/
4794
- 4194304 && Oe && ut();
4801
+ 229376 && i && o && s && ht(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
4802
+ 24 && m && g && ct(), e.$$.dirty[0] & /*lang*/
4803
+ 131072 && s && Dr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4804
+ 262176 && u && $ && To($, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4805
+ 524320 && l && $ && Ho($, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4806
+ 2097184 && $ && Co($, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
4807
+ 1048576 && f && Mr(), e.$$.dirty[0] & /*paginationrequired*/
4808
+ 4194304 && Oe && ht();
4795
4809
  }, [
4796
4810
  a,
4797
4811
  h,
@@ -4802,34 +4816,34 @@ function Lo(e, t, r) {
4802
4816
  b,
4803
4817
  S,
4804
4818
  T,
4805
- at,
4819
+ ut,
4806
4820
  n,
4807
- Mr,
4808
- Rr,
4809
- ct,
4810
- ft,
4821
+ Gr,
4822
+ Ur,
4823
+ dt,
4824
+ pt,
4811
4825
  i,
4812
4826
  o,
4813
4827
  s,
4814
- l,
4815
4828
  u,
4829
+ l,
4816
4830
  f,
4817
4831
  d,
4818
4832
  Oe,
4819
- Gr,
4820
- Ur,
4821
- Dr,
4822
- Fr
4833
+ Fr,
4834
+ jr,
4835
+ kr,
4836
+ Vr
4823
4837
  ];
4824
4838
  }
4825
- class Io extends bn {
4839
+ class Mo extends yn {
4826
4840
  constructor(t) {
4827
- super(), pn(
4841
+ super(), gn(
4828
4842
  this,
4829
4843
  t,
4830
- Lo,
4831
- Oo,
4832
- qt,
4844
+ No,
4845
+ Io,
4846
+ Kt,
4833
4847
  {
4834
4848
  endpoint: 15,
4835
4849
  datasource: 16,
@@ -4842,7 +4856,7 @@ class Io extends bn {
4842
4856
  collectionprovidersgamenames: 2,
4843
4857
  mbsource: 21
4844
4858
  },
4845
- Ho,
4859
+ Po,
4846
4860
  [-1, -1]
4847
4861
  );
4848
4862
  }
@@ -4907,7 +4921,7 @@ class Io extends bn {
4907
4921
  this.$$set({ mbsource: t }), M();
4908
4922
  }
4909
4923
  }
4910
- mn(Io, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4924
+ vn(Mo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
4911
4925
  export {
4912
- Io as default
4926
+ Mo as default
4913
4927
  };