@everymatrix/casino-slider 1.59.3 → 1.60.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,32 +1,32 @@
1
- function U() {
1
+ function G() {
2
2
  }
3
- function Ft(e) {
3
+ function Dt(e) {
4
4
  return e();
5
5
  }
6
- function lt() {
6
+ function ht() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Q(e) {
10
- e.forEach(Ft);
10
+ e.forEach(Dt);
11
11
  }
12
12
  function et(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Rt(e, t) {
15
+ function Ut(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let xe;
19
- function ut(e, t) {
19
+ function ct(e, t) {
20
20
  return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
21
21
  }
22
- function Hr(e) {
22
+ function Tr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Sr(e, ...t) {
25
+ function Ar(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
29
- return U;
29
+ return G;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -34,14 +34,14 @@ function Sr(e, ...t) {
34
34
  function B(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function Tr(e, t, r) {
38
- const n = Ar(e);
37
+ function Br(e, t, r) {
38
+ const n = Ir(e);
39
39
  if (!n.getElementById(t)) {
40
- const i = I("style");
41
- i.id = t, i.textContent = r, Br(n, i);
40
+ const i = N("style");
41
+ i.id = t, i.textContent = r, Mr(n, i);
42
42
  }
43
43
  }
44
- function Ar(e) {
44
+ function Ir(e) {
45
45
  if (!e)
46
46
  return document;
47
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,34 +51,34 @@ function Ar(e) {
51
51
  t
52
52
  ) : e.ownerDocument;
53
53
  }
54
- function Br(e, t) {
54
+ function Mr(e, t) {
55
55
  return B(
56
56
  /** @type {Document} */
57
57
  e.head || e,
58
58
  t
59
59
  ), t.sheet;
60
60
  }
61
- function D(e, t, r) {
61
+ function U(e, t, r) {
62
62
  e.insertBefore(t, r || null);
63
63
  }
64
- function O(e) {
64
+ function F(e) {
65
65
  e.parentNode && e.parentNode.removeChild(e);
66
66
  }
67
- function Ir(e, t) {
67
+ function Nr(e, t) {
68
68
  for (let r = 0; r < e.length; r += 1)
69
69
  e[r] && e[r].d(t);
70
70
  }
71
- function I(e) {
71
+ function N(e) {
72
72
  return document.createElement(e);
73
73
  }
74
- function be(e) {
74
+ function ye(e) {
75
75
  return document.createTextNode(e);
76
76
  }
77
77
  function Z() {
78
- return be(" ");
78
+ return ye(" ");
79
79
  }
80
- function me() {
81
- return be("");
80
+ function de() {
81
+ return ye("");
82
82
  }
83
83
  function Te(e, t, r, n) {
84
84
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -86,14 +86,14 @@ function Te(e, t, r, n) {
86
86
  function S(e, t, r) {
87
87
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
88
88
  }
89
- function Mr(e) {
89
+ function Lr(e) {
90
90
  return Array.from(e.childNodes);
91
91
  }
92
92
  function tt(e, t) {
93
93
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
94
94
  t);
95
95
  }
96
- function Nr(e) {
96
+ function Pr(e) {
97
97
  const t = {};
98
98
  return e.childNodes.forEach(
99
99
  /** @param {Element} node */
@@ -102,128 +102,128 @@ function Nr(e) {
102
102
  }
103
103
  ), t;
104
104
  }
105
- let de;
106
- function ce(e) {
107
- de = e;
105
+ let pe;
106
+ function fe(e) {
107
+ pe = e;
108
108
  }
109
- function Pr() {
110
- if (!de)
109
+ function Or() {
110
+ if (!pe)
111
111
  throw new Error("Function called outside component initialization");
112
- return de;
112
+ return pe;
113
113
  }
114
- function Lr(e) {
115
- Pr().$$.on_mount.push(e);
114
+ function Fr(e) {
115
+ Or().$$.on_mount.push(e);
116
116
  }
117
- const K = [], fe = [];
118
- let ee = [];
119
- const ht = [], Or = /* @__PURE__ */ Promise.resolve();
117
+ const ee = [], me = [];
118
+ let te = [];
119
+ const ft = [], Rr = /* @__PURE__ */ Promise.resolve();
120
120
  let je = !1;
121
- function Fr() {
122
- je || (je = !0, Or.then(A));
121
+ function Dr() {
122
+ je || (je = !0, Rr.then(A));
123
123
  }
124
124
  function Ve(e) {
125
- ee.push(e);
125
+ te.push(e);
126
126
  }
127
127
  const Fe = /* @__PURE__ */ new Set();
128
- let J = 0;
128
+ let Y = 0;
129
129
  function A() {
130
- if (J !== 0)
130
+ if (Y !== 0)
131
131
  return;
132
- const e = de;
132
+ const e = pe;
133
133
  do {
134
134
  try {
135
- for (; J < K.length; ) {
136
- const t = K[J];
137
- J++, ce(t), Rr(t.$$);
135
+ for (; Y < ee.length; ) {
136
+ const t = ee[Y];
137
+ Y++, fe(t), Ur(t.$$);
138
138
  }
139
139
  } catch (t) {
140
- throw K.length = 0, J = 0, t;
140
+ throw ee.length = 0, Y = 0, t;
141
141
  }
142
- for (ce(null), K.length = 0, J = 0; fe.length; )
143
- fe.pop()();
144
- for (let t = 0; t < ee.length; t += 1) {
145
- const r = ee[t];
142
+ for (fe(null), ee.length = 0, Y = 0; me.length; )
143
+ me.pop()();
144
+ for (let t = 0; t < te.length; t += 1) {
145
+ const r = te[t];
146
146
  Fe.has(r) || (Fe.add(r), r());
147
147
  }
148
- ee.length = 0;
149
- } while (K.length);
150
- for (; ht.length; )
151
- ht.pop()();
152
- je = !1, Fe.clear(), ce(e);
148
+ te.length = 0;
149
+ } while (ee.length);
150
+ for (; ft.length; )
151
+ ft.pop()();
152
+ je = !1, Fe.clear(), fe(e);
153
153
  }
154
- function Rr(e) {
154
+ function Ur(e) {
155
155
  if (e.fragment !== null) {
156
156
  e.update(), Q(e.before_update);
157
157
  const t = e.dirty;
158
158
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
159
159
  }
160
160
  }
161
- function Dr(e) {
161
+ function Gr(e) {
162
162
  const t = [], r = [];
163
- ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
163
+ te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
164
164
  }
165
- const Ur = /* @__PURE__ */ new Set();
166
- function Dt(e, t) {
167
- e && e.i && (Ur.delete(e), e.i(t));
165
+ const kr = /* @__PURE__ */ new Set();
166
+ function Gt(e, t) {
167
+ e && e.i && (kr.delete(e), e.i(t));
168
168
  }
169
- function te(e) {
169
+ function re(e) {
170
170
  return e?.length !== void 0 ? e : Array.from(e);
171
171
  }
172
- function Ut(e, t) {
172
+ function kt(e, t) {
173
173
  e.d(1), t.delete(e.key);
174
174
  }
175
- function Gt(e, t, r, n, i, s, o, a, h, l, u, m) {
175
+ function $t(e, t, r, n, i, s, o, a, h, l, u, m) {
176
176
  let f = e.length, p = s.length, g = f;
177
177
  const b = {};
178
178
  for (; g--; )
179
179
  b[e[g].key] = g;
180
180
  const d = [], w = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), H = [];
181
181
  for (g = p; g--; ) {
182
- const C = m(i, s, g), M = r(C);
183
- let N = o.get(M);
184
- N ? H.push(() => N.p(C, t)) : (N = l(M, C), N.c()), w.set(M, d[g] = N), M in b && E.set(M, Math.abs(g - b[M]));
182
+ const C = m(i, s, g), I = r(C);
183
+ let L = o.get(I);
184
+ L ? H.push(() => L.p(C, t)) : (L = l(I, C), L.c()), w.set(I, d[g] = L), I in b && E.set(I, Math.abs(g - b[I]));
185
185
  }
186
- const F = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
187
- function G(C) {
188
- Dt(C, 1), C.m(a, u), o.set(C.key, C), u = C.first, p--;
186
+ const R = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
187
+ function k(C) {
188
+ Gt(C, 1), C.m(a, u), o.set(C.key, C), u = C.first, p--;
189
189
  }
190
190
  for (; f && p; ) {
191
- const C = d[p - 1], M = e[f - 1], N = C.key, j = M.key;
192
- C === M ? (u = C.first, f--, p--) : w.has(j) ? !o.has(N) || F.has(N) ? G(C) : P.has(j) ? f-- : E.get(N) > E.get(j) ? (P.add(N), G(C)) : (F.add(j), f--) : (h(M, o), f--);
191
+ const C = d[p - 1], I = e[f - 1], L = C.key, j = I.key;
192
+ C === I ? (u = C.first, f--, p--) : w.has(j) ? !o.has(L) || R.has(L) ? k(C) : P.has(j) ? f-- : E.get(L) > E.get(j) ? (P.add(L), k(C)) : (R.add(j), f--) : (h(I, o), f--);
193
193
  }
194
194
  for (; f--; ) {
195
195
  const C = e[f];
196
196
  w.has(C.key) || h(C, o);
197
197
  }
198
198
  for (; p; )
199
- G(d[p - 1]);
199
+ k(d[p - 1]);
200
200
  return Q(H), d;
201
201
  }
202
- function Gr(e, t, r) {
202
+ function $r(e, t, r) {
203
203
  const { fragment: n, after_update: i } = e.$$;
204
204
  n && n.m(t, r), Ve(() => {
205
- const s = e.$$.on_mount.map(Ft).filter(et);
205
+ const s = e.$$.on_mount.map(Dt).filter(et);
206
206
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Q(s), e.$$.on_mount = [];
207
207
  }), i.forEach(Ve);
208
208
  }
209
- function kr(e, t) {
209
+ function jr(e, t) {
210
210
  const r = e.$$;
211
- r.fragment !== null && (Dr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
211
+ r.fragment !== null && (Gr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
212
212
  }
213
- function $r(e, t) {
214
- e.$$.dirty[0] === -1 && (K.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
+ function Vr(e, t) {
214
+ e.$$.dirty[0] === -1 && (ee.push(e), Dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
215
215
  }
216
- function jr(e, t, r, n, i, s, o = null, a = [-1]) {
217
- const h = de;
218
- ce(e);
216
+ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
217
+ const h = pe;
218
+ fe(e);
219
219
  const l = e.$$ = {
220
220
  fragment: null,
221
221
  ctx: [],
222
222
  // state
223
223
  props: s,
224
- update: U,
224
+ update: G,
225
225
  not_equal: i,
226
- bound: lt(),
226
+ bound: ht(),
227
227
  // lifecycle
228
228
  on_mount: [],
229
229
  on_destroy: [],
@@ -232,7 +232,7 @@ function jr(e, t, r, n, i, s, o = null, a = [-1]) {
232
232
  after_update: [],
233
233
  context: new Map(t.context || (h ? h.$$.context : [])),
234
234
  // everything else
235
- callbacks: lt(),
235
+ callbacks: ht(),
236
236
  dirty: a,
237
237
  skip_bound: !1,
238
238
  root: t.target || h.$$.root
@@ -241,19 +241,19 @@ function jr(e, t, r, n, i, s, o = null, a = [-1]) {
241
241
  let u = !1;
242
242
  if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
243
243
  const g = p.length ? p[0] : f;
244
- return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && $r(e, m)), f;
244
+ return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), u && Vr(e, m)), f;
245
245
  }) : [], l.update(), u = !0, Q(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
246
246
  if (t.hydrate) {
247
- const m = Mr(t.target);
248
- l.fragment && l.fragment.l(m), m.forEach(O);
247
+ const m = Lr(t.target);
248
+ l.fragment && l.fragment.l(m), m.forEach(F);
249
249
  } else
250
250
  l.fragment && l.fragment.c();
251
- t.intro && Dt(e.$$.fragment), Gr(e, t.target, t.anchor), A();
251
+ t.intro && Gt(e.$$.fragment), $r(e, t.target, t.anchor), A();
252
252
  }
253
- ce(h);
253
+ fe(h);
254
254
  }
255
- let kt;
256
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
255
+ let jt;
256
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
257
257
  /** The Svelte component constructor */
258
258
  $$ctor;
259
259
  /** Slots */
@@ -295,24 +295,24 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
295
295
  let s;
296
296
  return {
297
297
  c: function() {
298
- s = I("slot"), i !== "default" && S(s, "name", i);
298
+ s = N("slot"), i !== "default" && S(s, "name", i);
299
299
  },
300
300
  /**
301
301
  * @param {HTMLElement} target
302
302
  * @param {HTMLElement} [anchor]
303
303
  */
304
304
  m: function(h, l) {
305
- D(h, s, l);
305
+ U(h, s, l);
306
306
  },
307
307
  d: function(h) {
308
- h && O(s);
308
+ h && F(s);
309
309
  }
310
310
  };
311
311
  };
312
312
  };
313
313
  if (await Promise.resolve(), !this.$$cn || this.$$c)
314
314
  return;
315
- const t = {}, r = Nr(this);
315
+ const t = {}, r = Pr(this);
316
316
  for (const i of this.$$s)
317
317
  i in r && (t[i] = [e(i)]);
318
318
  for (const i of this.attributes) {
@@ -399,8 +399,8 @@ function we(e, t, r, n) {
399
399
  return t;
400
400
  }
401
401
  }
402
- function Vr(e, t, r, n, i, s) {
403
- let o = class extends kt {
402
+ function Wr(e, t, r, n, i, s) {
403
+ let o = class extends jt {
404
404
  constructor() {
405
405
  super(e, r, i), this.$$p_d = t;
406
406
  }
@@ -428,7 +428,7 @@ function Vr(e, t, r, n, i, s) {
428
428
  }), e.element = /** @type {any} */
429
429
  o, o;
430
430
  }
431
- class Xr {
431
+ class zr {
432
432
  /**
433
433
  * ### PRIVATE API
434
434
  *
@@ -447,7 +447,7 @@ class Xr {
447
447
  $$set = void 0;
448
448
  /** @returns {void} */
449
449
  $destroy() {
450
- kr(this, 1), this.$destroy = U;
450
+ jr(this, 1), this.$destroy = G;
451
451
  }
452
452
  /**
453
453
  * @template {Extract<keyof Events, string>} K
@@ -457,7 +457,7 @@ class Xr {
457
457
  */
458
458
  $on(t, r) {
459
459
  if (!et(r))
460
- return U;
460
+ return G;
461
461
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
462
462
  return n.push(r), () => {
463
463
  const i = n.indexOf(r);
@@ -469,18 +469,18 @@ class Xr {
469
469
  * @returns {void}
470
470
  */
471
471
  $set(t) {
472
- this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
+ this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
473
  }
474
474
  }
475
- const Wr = "4";
476
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
477
- function zr(e, t) {
475
+ const Zr = "4";
476
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
477
+ function Qr(e, t) {
478
478
  if (e) {
479
479
  const r = document.createElement("style");
480
480
  r.innerHTML = t, e.appendChild(r);
481
481
  }
482
482
  }
483
- function Zr(e, t) {
483
+ function qr(e, t) {
484
484
  const r = new URL(t);
485
485
  fetch(r.href).then((n) => n.text()).then((n) => {
486
486
  const i = document.createElement("style");
@@ -489,7 +489,7 @@ function Zr(e, t) {
489
489
  console.error("There was an error while trying to load client styling from URL", n);
490
490
  });
491
491
  }
492
- function Qr(e, t, r) {
492
+ function Jr(e, t, r) {
493
493
  if (window.emMessageBus) {
494
494
  const n = document.createElement("style");
495
495
  window.emMessageBus.subscribe(t, (i) => {
@@ -497,55 +497,55 @@ function Qr(e, t, r) {
497
497
  });
498
498
  }
499
499
  }
500
- const Y = [];
501
- function qr(e, t) {
500
+ const K = [];
501
+ function Yr(e, t) {
502
502
  return {
503
503
  subscribe: Ie(e, t).subscribe
504
504
  };
505
505
  }
506
- function Ie(e, t = U) {
506
+ function Ie(e, t = G) {
507
507
  let r;
508
508
  const n = /* @__PURE__ */ new Set();
509
509
  function i(a) {
510
- if (Rt(e, a) && (e = a, r)) {
511
- const h = !Y.length;
510
+ if (Ut(e, a) && (e = a, r)) {
511
+ const h = !K.length;
512
512
  for (const l of n)
513
- l[1](), Y.push(l, e);
513
+ l[1](), K.push(l, e);
514
514
  if (h) {
515
- for (let l = 0; l < Y.length; l += 2)
516
- Y[l][0](Y[l + 1]);
517
- Y.length = 0;
515
+ for (let l = 0; l < K.length; l += 2)
516
+ K[l][0](K[l + 1]);
517
+ K.length = 0;
518
518
  }
519
519
  }
520
520
  }
521
521
  function s(a) {
522
522
  i(a(e));
523
523
  }
524
- function o(a, h = U) {
524
+ function o(a, h = G) {
525
525
  const l = [a, h];
526
- return n.add(l), n.size === 1 && (r = t(i, s) || U), a(e), () => {
526
+ return n.add(l), n.size === 1 && (r = t(i, s) || G), a(e), () => {
527
527
  n.delete(l), n.size === 0 && r && (r(), r = null);
528
528
  };
529
529
  }
530
530
  return { set: i, update: s, subscribe: o };
531
531
  }
532
- function se(e, t, r) {
532
+ function ae(e, t, r) {
533
533
  const n = !Array.isArray(e), i = n ? [e] : e;
534
534
  if (!i.every(Boolean))
535
535
  throw new Error("derived() expects stores as input, got a falsy value");
536
536
  const s = t.length < 2;
537
- return qr(r, (o, a) => {
537
+ return Yr(r, (o, a) => {
538
538
  let h = !1;
539
539
  const l = [];
540
- let u = 0, m = U;
540
+ let u = 0, m = G;
541
541
  const f = () => {
542
542
  if (u)
543
543
  return;
544
544
  m();
545
545
  const g = t(n ? l[0] : l, o, a);
546
- s ? o(g) : m = et(g) ? g : U;
546
+ s ? o(g) : m = et(g) ? g : G;
547
547
  }, p = i.map(
548
- (g, b) => Sr(
548
+ (g, b) => Ar(
549
549
  g,
550
550
  (d) => {
551
551
  l[b] = d, u &= ~(1 << b), h && f();
@@ -560,80 +560,80 @@ function se(e, t, r) {
560
560
  };
561
561
  });
562
562
  }
563
- function Jr(e) {
563
+ function Kr(e) {
564
564
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
565
565
  }
566
- var Yr = function(t) {
567
- return Kr(t) && !en(t);
566
+ var en = function(t) {
567
+ return tn(t) && !rn(t);
568
568
  };
569
- function Kr(e) {
569
+ function tn(e) {
570
570
  return !!e && typeof e == "object";
571
571
  }
572
- function en(e) {
572
+ function rn(e) {
573
573
  var t = Object.prototype.toString.call(e);
574
- return t === "[object RegExp]" || t === "[object Date]" || nn(e);
574
+ return t === "[object RegExp]" || t === "[object Date]" || sn(e);
575
575
  }
576
- var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
577
- function nn(e) {
578
- return e.$$typeof === rn;
576
+ var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
577
+ function sn(e) {
578
+ return e.$$typeof === on;
579
579
  }
580
- function on(e) {
580
+ function an(e) {
581
581
  return Array.isArray(e) ? [] : {};
582
582
  }
583
- function pe(e, t) {
584
- return t.clone !== !1 && t.isMergeableObject(e) ? re(on(e), e, t) : e;
583
+ function ge(e, t) {
584
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(an(e), e, t) : e;
585
585
  }
586
- function sn(e, t, r) {
586
+ function ln(e, t, r) {
587
587
  return e.concat(t).map(function(n) {
588
- return pe(n, r);
588
+ return ge(n, r);
589
589
  });
590
590
  }
591
- function an(e, t) {
591
+ function un(e, t) {
592
592
  if (!t.customMerge)
593
- return re;
593
+ return ne;
594
594
  var r = t.customMerge(e);
595
- return typeof r == "function" ? r : re;
595
+ return typeof r == "function" ? r : ne;
596
596
  }
597
- function ln(e) {
597
+ function hn(e) {
598
598
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
599
599
  return Object.propertyIsEnumerable.call(e, t);
600
600
  }) : [];
601
601
  }
602
- function ct(e) {
603
- return Object.keys(e).concat(ln(e));
602
+ function mt(e) {
603
+ return Object.keys(e).concat(hn(e));
604
604
  }
605
- function $t(e, t) {
605
+ function Vt(e, t) {
606
606
  try {
607
607
  return t in e;
608
608
  } catch {
609
609
  return !1;
610
610
  }
611
611
  }
612
- function un(e, t) {
613
- return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
612
+ function cn(e, t) {
613
+ return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
614
614
  }
615
- function hn(e, t, r) {
615
+ function fn(e, t, r) {
616
616
  var n = {};
617
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
618
- n[i] = pe(e[i], r);
619
- }), ct(t).forEach(function(i) {
620
- un(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
617
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
618
+ n[i] = ge(e[i], r);
619
+ }), mt(t).forEach(function(i) {
620
+ cn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = ge(t[i], r));
621
621
  }), n;
622
622
  }
623
- function re(e, t, r) {
624
- r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = pe;
623
+ function ne(e, t, r) {
624
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ge;
625
625
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
626
- return s ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : pe(t, r);
626
+ return s ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : ge(t, r);
627
627
  }
628
- re.all = function(t, r) {
628
+ ne.all = function(t, r) {
629
629
  if (!Array.isArray(t))
630
630
  throw new Error("first argument should be an array");
631
631
  return t.reduce(function(n, i) {
632
- return re(n, i, r);
632
+ return ne(n, i, r);
633
633
  }, {});
634
634
  };
635
- var cn = re, fn = cn;
636
- const mn = /* @__PURE__ */ Jr(fn);
635
+ var mn = ne, dn = mn;
636
+ const pn = /* @__PURE__ */ Kr(dn);
637
637
  /*! *****************************************************************************
638
638
  Copyright (c) Microsoft Corporation.
639
639
 
@@ -675,7 +675,7 @@ var _ = function() {
675
675
  return t;
676
676
  }, _.apply(this, arguments);
677
677
  };
678
- function dn(e, t) {
678
+ function gn(e, t) {
679
679
  var r = {};
680
680
  for (var n in e)
681
681
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -691,53 +691,55 @@ function Re(e, t, r) {
691
691
  return e.concat(s || t);
692
692
  }
693
693
  function De(e, t) {
694
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : bn;
694
+ var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : yn;
695
695
  return i(e, {
696
696
  cache: r,
697
697
  serializer: n
698
698
  });
699
699
  }
700
- function pn(e) {
700
+ function bn(e) {
701
701
  return e == null || typeof e == "number" || typeof e == "boolean";
702
702
  }
703
- function gn(e, t, r, n) {
704
- var i = pn(n) ? n : r(n), s = t.get(i);
703
+ function Xt(e, t, r, n) {
704
+ var i = bn(n) ? n : r(n), s = t.get(i);
705
705
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
706
706
  }
707
- function jt(e, t, r) {
707
+ function Wt(e, t, r) {
708
708
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
709
709
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
710
710
  }
711
- function Vt(e, t, r, n, i) {
711
+ function rt(e, t, r, n, i) {
712
712
  return r.bind(t, e, n, i);
713
713
  }
714
- function bn(e, t) {
715
- var r = e.length === 1 ? gn : jt;
716
- return Vt(e, this, r, t.cache.create(), t.serializer);
717
- }
718
714
  function yn(e, t) {
719
- return Vt(e, this, jt, t.cache.create(), t.serializer);
715
+ var r = e.length === 1 ? Xt : Wt;
716
+ return rt(e, this, r, t.cache.create(), t.serializer);
717
+ }
718
+ function vn(e, t) {
719
+ return rt(e, this, Wt, t.cache.create(), t.serializer);
720
720
  }
721
- var vn = function() {
721
+ function _n(e, t) {
722
+ return rt(e, this, Xt, t.cache.create(), t.serializer);
723
+ }
724
+ var En = function() {
722
725
  return JSON.stringify(arguments);
723
- }, _n = (
724
- /** @class */
725
- function() {
726
- function e() {
727
- this.cache = /* @__PURE__ */ Object.create(null);
728
- }
729
- return e.prototype.get = function(t) {
730
- return this.cache[t];
731
- }, e.prototype.set = function(t, r) {
732
- this.cache[t] = r;
733
- }, e;
734
- }()
735
- ), En = {
726
+ };
727
+ function nt() {
728
+ this.cache = /* @__PURE__ */ Object.create(null);
729
+ }
730
+ nt.prototype.get = function(e) {
731
+ return this.cache[e];
732
+ };
733
+ nt.prototype.set = function(e, t) {
734
+ this.cache[e] = t;
735
+ };
736
+ var xn = {
736
737
  create: function() {
737
- return new _n();
738
+ return new nt();
738
739
  }
739
740
  }, Ue = {
740
- variadic: yn
741
+ variadic: vn,
742
+ monadic: _n
741
743
  }, y;
742
744
  (function(e) {
743
745
  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";
@@ -746,47 +748,47 @@ var T;
746
748
  (function(e) {
747
749
  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";
748
750
  })(T || (T = {}));
749
- var ne;
751
+ var ie;
750
752
  (function(e) {
751
753
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
752
- })(ne || (ne = {}));
753
- function ft(e) {
754
+ })(ie || (ie = {}));
755
+ function dt(e) {
754
756
  return e.type === T.literal;
755
757
  }
756
- function xn(e) {
758
+ function Cn(e) {
757
759
  return e.type === T.argument;
758
760
  }
759
- function Xt(e) {
761
+ function zt(e) {
760
762
  return e.type === T.number;
761
763
  }
762
- function Wt(e) {
764
+ function Zt(e) {
763
765
  return e.type === T.date;
764
766
  }
765
- function zt(e) {
767
+ function Qt(e) {
766
768
  return e.type === T.time;
767
769
  }
768
- function Zt(e) {
770
+ function qt(e) {
769
771
  return e.type === T.select;
770
772
  }
771
- function Qt(e) {
773
+ function Jt(e) {
772
774
  return e.type === T.plural;
773
775
  }
774
- function Cn(e) {
776
+ function wn(e) {
775
777
  return e.type === T.pound;
776
778
  }
777
- function qt(e) {
779
+ function Yt(e) {
778
780
  return e.type === T.tag;
779
781
  }
780
- function Jt(e) {
781
- return !!(e && typeof e == "object" && e.type === ne.number);
782
+ function Kt(e) {
783
+ return !!(e && typeof e == "object" && e.type === ie.number);
782
784
  }
783
785
  function We(e) {
784
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
786
+ return !!(e && typeof e == "object" && e.type === ie.dateTime);
785
787
  }
786
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
787
- function Hn(e) {
788
+ var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
789
+ function Sn(e) {
788
790
  var t = {};
789
- return e.replace(wn, function(r) {
791
+ return e.replace(Hn, function(r) {
790
792
  var n = r.length;
791
793
  switch (r[0]) {
792
794
  case "G":
@@ -875,11 +877,11 @@ function Hn(e) {
875
877
  return "";
876
878
  }), t;
877
879
  }
878
- var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
879
- function Tn(e) {
880
+ var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
881
+ function An(e) {
880
882
  if (e.length === 0)
881
883
  throw new Error("Number skeleton cannot be empty");
882
- for (var t = e.split(Sn).filter(function(f) {
884
+ for (var t = e.split(Tn).filter(function(f) {
883
885
  return f.length > 0;
884
886
  }), r = [], n = 0, i = t; n < i.length; n++) {
885
887
  var s = i[n], o = s.split("/");
@@ -894,17 +896,17 @@ function Tn(e) {
894
896
  }
895
897
  return r;
896
898
  }
897
- function An(e) {
899
+ function Bn(e) {
898
900
  return e.replace(/^(.*?)-/, "");
899
901
  }
900
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
901
- function dt(e) {
902
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
903
+ function gt(e) {
902
904
  var t = {};
903
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
905
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
904
906
  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)), "";
905
907
  }), t;
906
908
  }
907
- function tr(e) {
909
+ function nr(e) {
908
910
  switch (e) {
909
911
  case "sign-auto":
910
912
  return {
@@ -944,7 +946,7 @@ function tr(e) {
944
946
  };
945
947
  }
946
948
  }
947
- function In(e) {
949
+ function Mn(e) {
948
950
  var t;
949
951
  if (e[0] === "E" && e[1] === "E" ? (t = {
950
952
  notation: "engineering"
@@ -952,17 +954,17 @@ function In(e) {
952
954
  notation: "scientific"
953
955
  }, e = e.slice(1)), t) {
954
956
  var r = e.slice(0, 2);
955
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
957
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
956
958
  throw new Error("Malformed concise eng/scientific notation");
957
959
  t.minimumIntegerDigits = e.length;
958
960
  }
959
961
  return t;
960
962
  }
961
- function pt(e) {
962
- var t = {}, r = tr(e);
963
+ function bt(e) {
964
+ var t = {}, r = nr(e);
963
965
  return r || t;
964
966
  }
965
- function Mn(e) {
967
+ function Nn(e) {
966
968
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
967
969
  var i = n[r];
968
970
  switch (i.stem) {
@@ -986,7 +988,7 @@ function Mn(e) {
986
988
  continue;
987
989
  case "measure-unit":
988
990
  case "unit":
989
- t.style = "unit", t.unit = An(i.options[0]);
991
+ t.style = "unit", t.unit = Bn(i.options[0]);
990
992
  continue;
991
993
  case "compact-short":
992
994
  case "K":
@@ -998,12 +1000,12 @@ function Mn(e) {
998
1000
  continue;
999
1001
  case "scientific":
1000
1002
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1001
- return _(_({}, h), pt(l));
1003
+ return _(_({}, h), bt(l));
1002
1004
  }, {}));
1003
1005
  continue;
1004
1006
  case "engineering":
1005
1007
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1006
- return _(_({}, h), pt(l));
1008
+ return _(_({}, h), bt(l));
1007
1009
  }, {}));
1008
1010
  continue;
1009
1011
  case "notation-simple":
@@ -1048,7 +1050,7 @@ function Mn(e) {
1048
1050
  case "integer-width":
1049
1051
  if (i.options.length > 1)
1050
1052
  throw new RangeError("integer-width stems only accept a single optional option");
1051
- i.options[0].replace(Bn, function(h, l, u, m, f, p) {
1053
+ i.options[0].replace(In, function(h, l, u, m, f, p) {
1052
1054
  if (l)
1053
1055
  t.minimumIntegerDigits = u.length;
1054
1056
  else {
@@ -1061,27 +1063,27 @@ function Mn(e) {
1061
1063
  });
1062
1064
  continue;
1063
1065
  }
1064
- if (er.test(i.stem)) {
1066
+ if (rr.test(i.stem)) {
1065
1067
  t.minimumIntegerDigits = i.stem.length;
1066
1068
  continue;
1067
1069
  }
1068
- if (mt.test(i.stem)) {
1070
+ if (pt.test(i.stem)) {
1069
1071
  if (i.options.length > 1)
1070
1072
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1071
- i.stem.replace(mt, function(h, l, u, m, f, p) {
1073
+ i.stem.replace(pt, function(h, l, u, m, f, p) {
1072
1074
  return u === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1073
1075
  });
1074
1076
  var s = i.options[0];
1075
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), dt(s)));
1077
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), gt(s)));
1076
1078
  continue;
1077
1079
  }
1078
- if (Kt.test(i.stem)) {
1079
- t = _(_({}, t), dt(i.stem));
1080
+ if (tr.test(i.stem)) {
1081
+ t = _(_({}, t), gt(i.stem));
1080
1082
  continue;
1081
1083
  }
1082
- var o = tr(i.stem);
1084
+ var o = nr(i.stem);
1083
1085
  o && (t = _(_({}, t), o));
1084
- var a = In(i.stem);
1086
+ var a = Mn(i.stem);
1085
1087
  a && (t = _(_({}, t), a));
1086
1088
  }
1087
1089
  return t;
@@ -2501,7 +2503,7 @@ var Ce = {
2501
2503
  "h"
2502
2504
  ]
2503
2505
  };
2504
- function Nn(e, t) {
2506
+ function Ln(e, t) {
2505
2507
  for (var r = "", n = 0; n < e.length; n++) {
2506
2508
  var i = e.charAt(n);
2507
2509
  if (i === "j") {
@@ -2539,20 +2541,20 @@ function Pn(e) {
2539
2541
  var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
2540
2542
  return i[0];
2541
2543
  }
2542
- var Ge, Ln = new RegExp("^".concat(Yt.source, "*")), On = new RegExp("".concat(Yt.source, "*$"));
2544
+ var Ge, On = new RegExp("^".concat(er.source, "*")), Fn = new RegExp("".concat(er.source, "*$"));
2543
2545
  function v(e, t) {
2544
2546
  return { start: e, end: t };
2545
2547
  }
2546
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Dn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, $n = !!Number.isSafeInteger, jn = $n ? Number.isSafeInteger : function(e) {
2548
+ var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, Vn = jn ? Number.isSafeInteger : function(e) {
2547
2549
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2548
2550
  }, ze = !0;
2549
2551
  try {
2550
- var Vn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2551
- ze = ((Ge = Vn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2552
+ var Xn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2553
+ ze = ((Ge = Xn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2552
2554
  } catch {
2553
2555
  ze = !1;
2554
2556
  }
2555
- var gt = Fn ? (
2557
+ var yt = Rn ? (
2556
2558
  // Native
2557
2559
  function(t, r, n) {
2558
2560
  return t.startsWith(r, n);
@@ -2562,7 +2564,7 @@ var gt = Fn ? (
2562
2564
  function(t, r, n) {
2563
2565
  return t.slice(n, n + r.length) === r;
2564
2566
  }
2565
- ), Ze = Rn ? String.fromCodePoint : (
2567
+ ), Ze = Dn ? String.fromCodePoint : (
2566
2568
  // IE11
2567
2569
  function() {
2568
2570
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2574,9 +2576,9 @@ var gt = Fn ? (
2574
2576
  }
2575
2577
  return n;
2576
2578
  }
2577
- ), bt = (
2579
+ ), vt = (
2578
2580
  // native
2579
- Dn ? Object.fromEntries : (
2581
+ Un ? Object.fromEntries : (
2580
2582
  // Ponyfill
2581
2583
  function(t) {
2582
2584
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2586,7 +2588,7 @@ var gt = Fn ? (
2586
2588
  return r;
2587
2589
  }
2588
2590
  )
2589
- ), rr = Un ? (
2591
+ ), ir = Gn ? (
2590
2592
  // Native
2591
2593
  function(t, r) {
2592
2594
  return t.codePointAt(r);
@@ -2600,7 +2602,7 @@ var gt = Fn ? (
2600
2602
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2601
2603
  }
2602
2604
  }
2603
- ), Xn = Gn ? (
2605
+ ), Wn = kn ? (
2604
2606
  // Native
2605
2607
  function(t) {
2606
2608
  return t.trimStart();
@@ -2608,9 +2610,9 @@ var gt = Fn ? (
2608
2610
  ) : (
2609
2611
  // Ponyfill
2610
2612
  function(t) {
2611
- return t.replace(Ln, "");
2613
+ return t.replace(On, "");
2612
2614
  }
2613
- ), Wn = kn ? (
2615
+ ), zn = $n ? (
2614
2616
  // Native
2615
2617
  function(t) {
2616
2618
  return t.trimEnd();
@@ -2618,32 +2620,32 @@ var gt = Fn ? (
2618
2620
  ) : (
2619
2621
  // Ponyfill
2620
2622
  function(t) {
2621
- return t.replace(On, "");
2623
+ return t.replace(Fn, "");
2622
2624
  }
2623
2625
  );
2624
- function nr(e, t) {
2626
+ function or(e, t) {
2625
2627
  return new RegExp(e, t);
2626
2628
  }
2627
2629
  var Qe;
2628
2630
  if (ze) {
2629
- var yt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2631
+ var _t = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2630
2632
  Qe = function(t, r) {
2631
2633
  var n;
2632
- yt.lastIndex = r;
2633
- var i = yt.exec(t);
2634
+ _t.lastIndex = r;
2635
+ var i = _t.exec(t);
2634
2636
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2635
2637
  };
2636
2638
  } else
2637
2639
  Qe = function(t, r) {
2638
2640
  for (var n = []; ; ) {
2639
- var i = rr(t, r);
2640
- if (i === void 0 || ir(i) || qn(i))
2641
+ var i = ir(t, r);
2642
+ if (i === void 0 || sr(i) || Jn(i))
2641
2643
  break;
2642
2644
  n.push(i), r += i >= 65536 ? 2 : 1;
2643
2645
  }
2644
2646
  return Ze.apply(void 0, n);
2645
2647
  };
2646
- var zn = (
2648
+ var Zn = (
2647
2649
  /** @class */
2648
2650
  function() {
2649
2651
  function e(t, r) {
@@ -2725,7 +2727,7 @@ var zn = (
2725
2727
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2726
2728
  }, e.prototype.parseTagName = function() {
2727
2729
  var t = this.offset();
2728
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
2730
+ for (this.bump(); !this.isEOF() && qn(this.char()); )
2729
2731
  this.bump();
2730
2732
  return this.message.slice(t, this.offset());
2731
2733
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2754,7 +2756,7 @@ var zn = (
2754
2756
  };
2755
2757
  }, e.prototype.tryParseLeftAngleBracket = function() {
2756
2758
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2757
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
2759
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2758
2760
  }, e.prototype.tryParseQuote = function(t) {
2759
2761
  if (this.isEOF() || this.char() !== 39)
2760
2762
  return null;
@@ -2841,7 +2843,7 @@ var zn = (
2841
2843
  var u = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2842
2844
  if (m.err)
2843
2845
  return m;
2844
- var f = Wn(m.val);
2846
+ var f = zn(m.val);
2845
2847
  if (f.length === 0)
2846
2848
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2847
2849
  var p = v(u, this.clonePosition());
@@ -2851,8 +2853,8 @@ var zn = (
2851
2853
  if (g.err)
2852
2854
  return g;
2853
2855
  var b = v(i, this.clonePosition());
2854
- if (l && gt(l?.style, "::", 0)) {
2855
- var d = Xn(l.style.slice(2));
2856
+ if (l && yt(l?.style, "::", 0)) {
2857
+ var d = Wn(l.style.slice(2));
2856
2858
  if (a === "number") {
2857
2859
  var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
2858
2860
  return m.err ? m : {
@@ -2863,12 +2865,12 @@ var zn = (
2863
2865
  if (d.length === 0)
2864
2866
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2865
2867
  var w = d;
2866
- this.locale && (w = Nn(d, this.locale));
2868
+ this.locale && (w = Ln(d, this.locale));
2867
2869
  var f = {
2868
- type: ne.dateTime,
2870
+ type: ie.dateTime,
2869
2871
  pattern: w,
2870
2872
  location: l.styleLocation,
2871
- parsedOptions: this.shouldParseSkeletons ? Hn(w) : {}
2873
+ parsedOptions: this.shouldParseSkeletons ? Sn(w) : {}
2872
2874
  }, E = a === "date" ? T.date : T.time;
2873
2875
  return {
2874
2876
  val: { type: E, value: n, location: b, style: f },
@@ -2893,19 +2895,19 @@ var zn = (
2893
2895
  if (this.bumpSpace(), !this.bumpIf(","))
2894
2896
  return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(H, _({}, H)));
2895
2897
  this.bumpSpace();
2896
- var F = this.parseIdentifierIfPossible(), P = 0;
2897
- if (a !== "select" && F.value === "offset") {
2898
+ var R = this.parseIdentifierIfPossible(), P = 0;
2899
+ if (a !== "select" && R.value === "offset") {
2898
2900
  if (!this.bumpIf(":"))
2899
2901
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2900
2902
  this.bumpSpace();
2901
2903
  var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2902
2904
  if (m.err)
2903
2905
  return m;
2904
- this.bumpSpace(), F = this.parseIdentifierIfPossible(), P = m.val;
2906
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = m.val;
2905
2907
  }
2906
- var G = this.tryParsePluralOrSelectOptions(t, a, r, F);
2907
- if (G.err)
2908
- return G;
2908
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, R);
2909
+ if (k.err)
2910
+ return k;
2909
2911
  var g = this.tryParseArgumentClose(i);
2910
2912
  if (g.err)
2911
2913
  return g;
@@ -2914,7 +2916,7 @@ var zn = (
2914
2916
  val: {
2915
2917
  type: T.select,
2916
2918
  value: n,
2917
- options: bt(G.val),
2919
+ options: vt(k.val),
2918
2920
  location: C
2919
2921
  },
2920
2922
  err: null
@@ -2922,7 +2924,7 @@ var zn = (
2922
2924
  val: {
2923
2925
  type: T.plural,
2924
2926
  value: n,
2925
- options: bt(G.val),
2927
+ options: vt(k.val),
2926
2928
  offset: P,
2927
2929
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2928
2930
  location: C
@@ -2973,16 +2975,16 @@ var zn = (
2973
2975
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2974
2976
  var n = [];
2975
2977
  try {
2976
- n = Tn(t);
2978
+ n = An(t);
2977
2979
  } catch {
2978
2980
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2979
2981
  }
2980
2982
  return {
2981
2983
  val: {
2982
- type: ne.number,
2984
+ type: ie.number,
2983
2985
  tokens: n,
2984
2986
  location: r,
2985
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
2987
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
2986
2988
  },
2987
2989
  err: null
2988
2990
  };
@@ -3030,7 +3032,7 @@ var zn = (
3030
3032
  break;
3031
3033
  }
3032
3034
  var h = v(i, this.clonePosition());
3033
- return s ? (o *= n, jn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3035
+ return s ? (o *= n, Vn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3034
3036
  }, e.prototype.offset = function() {
3035
3037
  return this.position.offset;
3036
3038
  }, e.prototype.isEOF = function() {
@@ -3045,7 +3047,7 @@ var zn = (
3045
3047
  var t = this.position.offset;
3046
3048
  if (t >= this.message.length)
3047
3049
  throw Error("out of bound");
3048
- var r = rr(this.message, t);
3050
+ var r = ir(this.message, t);
3049
3051
  if (r === void 0)
3050
3052
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3051
3053
  return r;
@@ -3064,7 +3066,7 @@ var zn = (
3064
3066
  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);
3065
3067
  }
3066
3068
  }, e.prototype.bumpIf = function(t) {
3067
- if (gt(this.message, t, this.offset())) {
3069
+ if (yt(this.message, t, this.offset())) {
3068
3070
  for (var r = 0; r < t.length; r++)
3069
3071
  this.bump();
3070
3072
  return !0;
@@ -3086,7 +3088,7 @@ var zn = (
3086
3088
  break;
3087
3089
  }
3088
3090
  }, e.prototype.bumpSpace = function() {
3089
- for (; !this.isEOF() && ir(this.char()); )
3091
+ for (; !this.isEOF() && sr(this.char()); )
3090
3092
  this.bump();
3091
3093
  }, e.prototype.peek = function() {
3092
3094
  if (this.isEOF())
@@ -3099,40 +3101,40 @@ var zn = (
3099
3101
  function qe(e) {
3100
3102
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3101
3103
  }
3102
- function Zn(e) {
3104
+ function Qn(e) {
3103
3105
  return qe(e) || e === 47;
3104
3106
  }
3105
- function Qn(e) {
3107
+ function qn(e) {
3106
3108
  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;
3107
3109
  }
3108
- function ir(e) {
3110
+ function sr(e) {
3109
3111
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3110
3112
  }
3111
- function qn(e) {
3113
+ function Jn(e) {
3112
3114
  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;
3113
3115
  }
3114
3116
  function Je(e) {
3115
3117
  e.forEach(function(t) {
3116
- if (delete t.location, Zt(t) || Qt(t))
3118
+ if (delete t.location, qt(t) || Jt(t))
3117
3119
  for (var r in t.options)
3118
3120
  delete t.options[r].location, Je(t.options[r].value);
3119
3121
  else
3120
- Xt(t) && Jt(t.style) || (Wt(t) || zt(t)) && We(t.style) ? delete t.style.location : qt(t) && Je(t.children);
3122
+ zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && We(t.style) ? delete t.style.location : Yt(t) && Je(t.children);
3121
3123
  });
3122
3124
  }
3123
- function Jn(e, t) {
3125
+ function Yn(e, t) {
3124
3126
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3125
- var r = new zn(e, t).parse();
3127
+ var r = new Zn(e, t).parse();
3126
3128
  if (r.err) {
3127
3129
  var n = SyntaxError(y[r.err.kind]);
3128
3130
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3129
3131
  }
3130
3132
  return t?.captureLocation || Je(r.val), r.val;
3131
3133
  }
3132
- var ie;
3134
+ var oe;
3133
3135
  (function(e) {
3134
3136
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3135
- })(ie || (ie = {}));
3137
+ })(oe || (oe = {}));
3136
3138
  var Ne = (
3137
3139
  /** @class */
3138
3140
  function(e) {
@@ -3145,152 +3147,152 @@ var Ne = (
3145
3147
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3146
3148
  }, t;
3147
3149
  }(Error)
3148
- ), vt = (
3150
+ ), Et = (
3149
3151
  /** @class */
3150
3152
  function(e) {
3151
3153
  Me(t, e);
3152
3154
  function t(r, n, i, s) {
3153
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
3155
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, s) || this;
3154
3156
  }
3155
3157
  return t;
3156
3158
  }(Ne)
3157
- ), Yn = (
3159
+ ), Kn = (
3158
3160
  /** @class */
3159
3161
  function(e) {
3160
3162
  Me(t, e);
3161
3163
  function t(r, n, i) {
3162
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3164
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3163
3165
  }
3164
3166
  return t;
3165
3167
  }(Ne)
3166
- ), Kn = (
3168
+ ), ei = (
3167
3169
  /** @class */
3168
3170
  function(e) {
3169
3171
  Me(t, e);
3170
3172
  function t(r, n) {
3171
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3173
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
3172
3174
  }
3173
3175
  return t;
3174
3176
  }(Ne)
3175
- ), L;
3177
+ ), O;
3176
3178
  (function(e) {
3177
3179
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3178
- })(L || (L = {}));
3179
- function ei(e) {
3180
+ })(O || (O = {}));
3181
+ function ti(e) {
3180
3182
  return e.length < 2 ? e : e.reduce(function(t, r) {
3181
3183
  var n = t[t.length - 1];
3182
- return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3184
+ return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3183
3185
  }, []);
3184
3186
  }
3185
- function ti(e) {
3187
+ function ri(e) {
3186
3188
  return typeof e == "function";
3187
3189
  }
3188
3190
  function He(e, t, r, n, i, s, o) {
3189
- if (e.length === 1 && ft(e[0]))
3191
+ if (e.length === 1 && dt(e[0]))
3190
3192
  return [
3191
3193
  {
3192
- type: L.literal,
3194
+ type: O.literal,
3193
3195
  value: e[0].value
3194
3196
  }
3195
3197
  ];
3196
3198
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3197
3199
  var u = l[h];
3198
- if (ft(u)) {
3200
+ if (dt(u)) {
3199
3201
  a.push({
3200
- type: L.literal,
3202
+ type: O.literal,
3201
3203
  value: u.value
3202
3204
  });
3203
3205
  continue;
3204
3206
  }
3205
- if (Cn(u)) {
3207
+ if (wn(u)) {
3206
3208
  typeof s == "number" && a.push({
3207
- type: L.literal,
3209
+ type: O.literal,
3208
3210
  value: r.getNumberFormat(t).format(s)
3209
3211
  });
3210
3212
  continue;
3211
3213
  }
3212
3214
  var m = u.value;
3213
3215
  if (!(i && m in i))
3214
- throw new Kn(m, o);
3216
+ throw new ei(m, o);
3215
3217
  var f = i[m];
3216
- if (xn(u)) {
3218
+ if (Cn(u)) {
3217
3219
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3218
- type: typeof f == "string" ? L.literal : L.object,
3220
+ type: typeof f == "string" ? O.literal : O.object,
3219
3221
  value: f
3220
3222
  });
3221
3223
  continue;
3222
3224
  }
3223
- if (Wt(u)) {
3225
+ if (Zt(u)) {
3224
3226
  var p = typeof u.style == "string" ? n.date[u.style] : We(u.style) ? u.style.parsedOptions : void 0;
3225
3227
  a.push({
3226
- type: L.literal,
3228
+ type: O.literal,
3227
3229
  value: r.getDateTimeFormat(t, p).format(f)
3228
3230
  });
3229
3231
  continue;
3230
3232
  }
3231
- if (zt(u)) {
3233
+ if (Qt(u)) {
3232
3234
  var p = typeof u.style == "string" ? n.time[u.style] : We(u.style) ? u.style.parsedOptions : n.time.medium;
3233
3235
  a.push({
3234
- type: L.literal,
3236
+ type: O.literal,
3235
3237
  value: r.getDateTimeFormat(t, p).format(f)
3236
3238
  });
3237
3239
  continue;
3238
3240
  }
3239
- if (Xt(u)) {
3240
- var p = typeof u.style == "string" ? n.number[u.style] : Jt(u.style) ? u.style.parsedOptions : void 0;
3241
+ if (zt(u)) {
3242
+ var p = typeof u.style == "string" ? n.number[u.style] : Kt(u.style) ? u.style.parsedOptions : void 0;
3241
3243
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3242
- type: L.literal,
3244
+ type: O.literal,
3243
3245
  value: r.getNumberFormat(t, p).format(f)
3244
3246
  });
3245
3247
  continue;
3246
3248
  }
3247
- if (qt(u)) {
3249
+ if (Yt(u)) {
3248
3250
  var g = u.children, b = u.value, d = i[b];
3249
- if (!ti(d))
3250
- throw new Yn(b, "function", o);
3251
+ if (!ri(d))
3252
+ throw new Kn(b, "function", o);
3251
3253
  var w = He(g, t, r, n, i, s), E = d(w.map(function(P) {
3252
3254
  return P.value;
3253
3255
  }));
3254
3256
  Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(P) {
3255
3257
  return {
3256
- type: typeof P == "string" ? L.literal : L.object,
3258
+ type: typeof P == "string" ? O.literal : O.object,
3257
3259
  value: P
3258
3260
  };
3259
3261
  }));
3260
3262
  }
3261
- if (Zt(u)) {
3263
+ if (qt(u)) {
3262
3264
  var H = u.options[f] || u.options.other;
3263
3265
  if (!H)
3264
- throw new vt(u.value, f, Object.keys(u.options), o);
3266
+ throw new Et(u.value, f, Object.keys(u.options), o);
3265
3267
  a.push.apply(a, He(H.value, t, r, n, i));
3266
3268
  continue;
3267
3269
  }
3268
- if (Qt(u)) {
3270
+ if (Jt(u)) {
3269
3271
  var H = u.options["=".concat(f)];
3270
3272
  if (!H) {
3271
3273
  if (!Intl.PluralRules)
3272
3274
  throw new Ne(`Intl.PluralRules is not available in this environment.
3273
3275
  Try polyfilling it using "@formatjs/intl-pluralrules"
3274
- `, ie.MISSING_INTL_API, o);
3275
- var F = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3276
- H = u.options[F] || u.options.other;
3276
+ `, oe.MISSING_INTL_API, o);
3277
+ var R = r.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3278
+ H = u.options[R] || u.options.other;
3277
3279
  }
3278
3280
  if (!H)
3279
- throw new vt(u.value, f, Object.keys(u.options), o);
3281
+ throw new Et(u.value, f, Object.keys(u.options), o);
3280
3282
  a.push.apply(a, He(H.value, t, r, n, i, f - (u.offset || 0)));
3281
3283
  continue;
3282
3284
  }
3283
3285
  }
3284
- return ei(a);
3286
+ return ti(a);
3285
3287
  }
3286
- function ri(e, t) {
3288
+ function ni(e, t) {
3287
3289
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3288
3290
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3289
3291
  }, {})) : e;
3290
3292
  }
3291
- function ni(e, t) {
3293
+ function ii(e, t) {
3292
3294
  return t ? Object.keys(e).reduce(function(r, n) {
3293
- return r[n] = ri(e[n], t[n]), r;
3295
+ return r[n] = ni(e[n], t[n]), r;
3294
3296
  }, _({}, e)) : e;
3295
3297
  }
3296
3298
  function ke(e) {
@@ -3307,7 +3309,7 @@ function ke(e) {
3307
3309
  }
3308
3310
  };
3309
3311
  }
3310
- function ii(e) {
3312
+ function oi(e) {
3311
3313
  return e === void 0 && (e = {
3312
3314
  number: {},
3313
3315
  dateTime: {},
@@ -3339,7 +3341,7 @@ function ii(e) {
3339
3341
  })
3340
3342
  };
3341
3343
  }
3342
- var oi = (
3344
+ var si = (
3343
3345
  /** @class */
3344
3346
  function() {
3345
3347
  function e(t, r, n, i) {
@@ -3354,7 +3356,7 @@ var oi = (
3354
3356
  if (l.length === 1)
3355
3357
  return l[0].value;
3356
3358
  var u = l.reduce(function(m, f) {
3357
- return !m.length || f.type !== L.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3359
+ return !m.length || f.type !== O.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3358
3360
  }, []);
3359
3361
  return u.length <= 1 ? u[0] || "" : u;
3360
3362
  }, this.formatToParts = function(h) {
@@ -3371,13 +3373,13 @@ var oi = (
3371
3373
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3372
3374
  var o = i || {};
3373
3375
  o.formatters;
3374
- var a = dn(o, ["formatters"]);
3376
+ var a = gn(o, ["formatters"]);
3375
3377
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3376
3378
  } else
3377
3379
  this.ast = t;
3378
3380
  if (!Array.isArray(this.ast))
3379
3381
  throw new TypeError("A message must be provided as a String or AST.");
3380
- this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3382
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3381
3383
  }
3382
3384
  return Object.defineProperty(e, "defaultLocale", {
3383
3385
  get: function() {
@@ -3390,7 +3392,7 @@ var oi = (
3390
3392
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3391
3393
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3392
3394
  }
3393
- }, e.__parse = Jn, e.formats = {
3395
+ }, e.__parse = Yn, e.formats = {
3394
3396
  number: {
3395
3397
  integer: {
3396
3398
  maximumFractionDigits: 0
@@ -3451,7 +3453,7 @@ var oi = (
3451
3453
  }, e;
3452
3454
  }()
3453
3455
  );
3454
- function si(e, t) {
3456
+ function ai(e, t) {
3455
3457
  if (t == null)
3456
3458
  return;
3457
3459
  if (t in e)
@@ -3472,92 +3474,92 @@ function si(e, t) {
3472
3474
  n = void 0;
3473
3475
  return n;
3474
3476
  }
3475
- const X = {}, ai = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), or = (e, t) => {
3477
+ const X = {}, li = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), ar = (e, t) => {
3476
3478
  if (t == null)
3477
3479
  return;
3478
3480
  if (t in X && e in X[t])
3479
3481
  return X[t][e];
3480
- const r = Pe(t);
3482
+ const r = Le(t);
3481
3483
  for (let n = 0; n < r.length; n++) {
3482
- const i = r[n], s = ui(i, e);
3484
+ const i = r[n], s = hi(i, e);
3483
3485
  if (s)
3484
- return ai(e, t, s);
3486
+ return li(e, t, s);
3485
3487
  }
3486
3488
  };
3487
- let rt;
3488
- const ae = Ie({});
3489
- function li(e) {
3490
- return rt[e] || null;
3489
+ let it;
3490
+ const le = Ie({});
3491
+ function ui(e) {
3492
+ return it[e] || null;
3491
3493
  }
3492
- function sr(e) {
3493
- return e in rt;
3494
+ function lr(e) {
3495
+ return e in it;
3494
3496
  }
3495
- function ui(e, t) {
3496
- if (!sr(e))
3497
+ function hi(e, t) {
3498
+ if (!lr(e))
3497
3499
  return null;
3498
- const r = li(e);
3499
- return si(r, t);
3500
+ const r = ui(e);
3501
+ return ai(r, t);
3500
3502
  }
3501
- function hi(e) {
3503
+ function ci(e) {
3502
3504
  if (e == null)
3503
3505
  return;
3504
- const t = Pe(e);
3506
+ const t = Le(e);
3505
3507
  for (let r = 0; r < t.length; r++) {
3506
3508
  const n = t[r];
3507
- if (sr(n))
3509
+ if (lr(n))
3508
3510
  return n;
3509
3511
  }
3510
3512
  }
3511
- function ar(e, ...t) {
3512
- delete X[e], ae.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3513
+ function ur(e, ...t) {
3514
+ delete X[e], le.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
3513
3515
  }
3514
- se(
3515
- [ae],
3516
+ ae(
3517
+ [le],
3516
3518
  ([e]) => Object.keys(e)
3517
3519
  );
3518
- ae.subscribe((e) => rt = e);
3520
+ le.subscribe((e) => it = e);
3519
3521
  const Se = {};
3520
- function ci(e, t) {
3522
+ function fi(e, t) {
3521
3523
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3522
3524
  }
3523
- function lr(e) {
3525
+ function hr(e) {
3524
3526
  return Se[e];
3525
3527
  }
3526
- function fi(e) {
3527
- return Pe(e).map((t) => {
3528
- const r = lr(t);
3528
+ function mi(e) {
3529
+ return Le(e).map((t) => {
3530
+ const r = hr(t);
3529
3531
  return [t, r ? [...r] : []];
3530
3532
  }).filter(([, t]) => t.length > 0);
3531
3533
  }
3532
3534
  function Ye(e) {
3533
- return e == null ? !1 : Pe(e).some(
3535
+ return e == null ? !1 : Le(e).some(
3534
3536
  (t) => {
3535
3537
  var r;
3536
- return (r = lr(t)) == null ? void 0 : r.size;
3538
+ return (r = hr(t)) == null ? void 0 : r.size;
3537
3539
  }
3538
3540
  );
3539
3541
  }
3540
- function mi(e, t) {
3542
+ function di(e, t) {
3541
3543
  return Promise.all(
3542
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
3543
- ).then((n) => ar(e, ...n));
3544
+ t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
3545
+ ).then((n) => ur(e, ...n));
3544
3546
  }
3545
- const he = {};
3546
- function ur(e) {
3547
+ const ce = {};
3548
+ function cr(e) {
3547
3549
  if (!Ye(e))
3548
- return e in he ? he[e] : Promise.resolve();
3549
- const t = fi(e);
3550
- return he[e] = Promise.all(
3550
+ return e in ce ? ce[e] : Promise.resolve();
3551
+ const t = mi(e);
3552
+ return ce[e] = Promise.all(
3551
3553
  t.map(
3552
- ([r, n]) => mi(r, n)
3554
+ ([r, n]) => di(r, n)
3553
3555
  )
3554
3556
  ).then(() => {
3555
3557
  if (Ye(e))
3556
- return ur(e);
3557
- delete he[e];
3558
- }), he[e];
3558
+ return cr(e);
3559
+ delete ce[e];
3560
+ }), ce[e];
3559
3561
  }
3560
- const di = {
3562
+ const pi = {
3561
3563
  number: {
3562
3564
  scientific: { notation: "scientific" },
3563
3565
  engineering: { notation: "engineering" },
@@ -3586,34 +3588,34 @@ const di = {
3586
3588
  timeZoneName: "short"
3587
3589
  }
3588
3590
  }
3589
- }, pi = {
3591
+ }, gi = {
3590
3592
  fallbackLocale: null,
3591
3593
  loadingDelay: 200,
3592
- formats: di,
3594
+ formats: pi,
3593
3595
  warnOnMissingMessages: !0,
3594
3596
  handleMissingMessage: void 0,
3595
3597
  ignoreTag: !0
3596
- }, gi = pi;
3597
- function oe() {
3598
- return gi;
3598
+ }, bi = gi;
3599
+ function se() {
3600
+ return bi;
3599
3601
  }
3600
3602
  const $e = Ie(!1);
3601
- var bi = Object.defineProperty, yi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
3603
+ var yi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
3602
3604
  for (var r in t || (t = {}))
3603
- _i.call(t, r) && Et(e, r, t[r]);
3604
- if (_t)
3605
- for (var r of _t(t))
3606
- Ei.call(t, r) && Et(e, r, t[r]);
3605
+ Ei.call(t, r) && Ct(e, r, t[r]);
3606
+ if (xt)
3607
+ for (var r of xt(t))
3608
+ xi.call(t, r) && Ct(e, r, t[r]);
3607
3609
  return e;
3608
- }, Ci = (e, t) => yi(e, vi(t));
3610
+ }, wi = (e, t) => vi(e, _i(t));
3609
3611
  let Ke;
3610
3612
  const Ae = Ie(null);
3611
- function xt(e) {
3613
+ function wt(e) {
3612
3614
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3613
3615
  }
3614
- function Pe(e, t = oe().fallbackLocale) {
3615
- const r = xt(e);
3616
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
3616
+ function Le(e, t = se().fallbackLocale) {
3617
+ const r = wt(e);
3618
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3617
3619
  }
3618
3620
  function q() {
3619
3621
  return Ke ?? void 0;
@@ -3621,98 +3623,98 @@ function q() {
3621
3623
  Ae.subscribe((e) => {
3622
3624
  Ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3623
3625
  });
3624
- const wi = (e) => {
3625
- if (e && hi(e) && Ye(e)) {
3626
- const { loadingDelay: t } = oe();
3626
+ const Hi = (e) => {
3627
+ if (e && ci(e) && Ye(e)) {
3628
+ const { loadingDelay: t } = se();
3627
3629
  let r;
3628
3630
  return typeof window < "u" && q() != null && t ? r = window.setTimeout(
3629
3631
  () => $e.set(!0),
3630
3632
  t
3631
- ) : $e.set(!0), ur(e).then(() => {
3633
+ ) : $e.set(!0), cr(e).then(() => {
3632
3634
  Ae.set(e);
3633
3635
  }).finally(() => {
3634
3636
  clearTimeout(r), $e.set(!1);
3635
3637
  });
3636
3638
  }
3637
3639
  return Ae.set(e);
3638
- }, W = Ci(xi({}, Ae), {
3639
- set: wi
3640
- }), Le = (e) => {
3640
+ }, W = wi(Ci({}, Ae), {
3641
+ set: Hi
3642
+ }), Pe = (e) => {
3641
3643
  const t = /* @__PURE__ */ Object.create(null);
3642
3644
  return (n) => {
3643
3645
  const i = JSON.stringify(n);
3644
3646
  return i in t ? t[i] : t[i] = e(n);
3645
3647
  };
3646
3648
  };
3647
- var Hi = Object.defineProperty, Be = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
3649
+ var Si = Object.defineProperty, Be = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
3648
3650
  for (var r in t || (t = {}))
3649
- hr.call(t, r) && Ct(e, r, t[r]);
3651
+ fr.call(t, r) && Ht(e, r, t[r]);
3650
3652
  if (Be)
3651
3653
  for (var r of Be(t))
3652
- cr.call(t, r) && Ct(e, r, t[r]);
3654
+ mr.call(t, r) && Ht(e, r, t[r]);
3653
3655
  return e;
3654
- }, le = (e, t) => {
3656
+ }, ue = (e, t) => {
3655
3657
  var r = {};
3656
3658
  for (var n in e)
3657
- hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3659
+ fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3658
3660
  if (e != null && Be)
3659
3661
  for (var n of Be(e))
3660
- t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
3662
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3661
3663
  return r;
3662
3664
  };
3663
- const ge = (e, t) => {
3664
- const { formats: r } = oe();
3665
+ const be = (e, t) => {
3666
+ const { formats: r } = se();
3665
3667
  if (e in r && t in r[e])
3666
3668
  return r[e][t];
3667
3669
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3668
- }, Si = Le(
3670
+ }, Ti = Pe(
3669
3671
  (e) => {
3670
- var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3672
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3671
3673
  if (r == null)
3672
3674
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3673
- return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
3675
+ return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
3674
3676
  }
3675
- ), Ti = Le(
3677
+ ), Ai = Pe(
3676
3678
  (e) => {
3677
- var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3679
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3678
3680
  if (r == null)
3679
3681
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3680
- return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
3682
+ return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
3681
3683
  }
3682
- ), Ai = Le(
3684
+ ), Bi = Pe(
3683
3685
  (e) => {
3684
- var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3686
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3685
3687
  if (r == null)
3686
3688
  throw new Error(
3687
3689
  '[svelte-i18n] A "locale" must be set to format time values'
3688
3690
  );
3689
- return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
3691
+ return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
3690
3692
  }
3691
- ), Bi = (e = {}) => {
3693
+ ), Ii = (e = {}) => {
3692
3694
  var t = e, {
3693
3695
  locale: r = q()
3694
- } = t, n = le(t, [
3696
+ } = t, n = ue(t, [
3695
3697
  "locale"
3696
3698
  ]);
3697
- return Si(nt({ locale: r }, n));
3698
- }, Ii = (e = {}) => {
3699
+ return Ti(ot({ locale: r }, n));
3700
+ }, Mi = (e = {}) => {
3699
3701
  var t = e, {
3700
3702
  locale: r = q()
3701
- } = t, n = le(t, [
3703
+ } = t, n = ue(t, [
3702
3704
  "locale"
3703
3705
  ]);
3704
- return Ti(nt({ locale: r }, n));
3705
- }, Mi = (e = {}) => {
3706
+ return Ai(ot({ locale: r }, n));
3707
+ }, Ni = (e = {}) => {
3706
3708
  var t = e, {
3707
3709
  locale: r = q()
3708
- } = t, n = le(t, [
3710
+ } = t, n = ue(t, [
3709
3711
  "locale"
3710
3712
  ]);
3711
- return Ai(nt({ locale: r }, n));
3712
- }, Ni = Le(
3713
+ return Bi(ot({ locale: r }, n));
3714
+ }, Li = Pe(
3713
3715
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3714
- (e, t = q()) => new oi(e, t, oe().formats, {
3715
- ignoreTag: oe().ignoreTag
3716
+ (e, t = q()) => new si(e, t, se().formats, {
3717
+ ignoreTag: se().ignoreTag
3716
3718
  })
3717
3719
  ), Pi = (e, t = {}) => {
3718
3720
  var r, n, i, s;
@@ -3727,9 +3729,9 @@ const ge = (e, t) => {
3727
3729
  throw new Error(
3728
3730
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3729
3731
  );
3730
- let u = or(e, h);
3732
+ let u = ar(e, h);
3731
3733
  if (!u)
3732
- u = (s = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3734
+ u = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3733
3735
  else if (typeof u != "string")
3734
3736
  return console.warn(
3735
3737
  `[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.`
@@ -3738,7 +3740,7 @@ const ge = (e, t) => {
3738
3740
  return u;
3739
3741
  let m = u;
3740
3742
  try {
3741
- m = Ni(u, h).format(a);
3743
+ m = Li(u, h).format(a);
3742
3744
  } catch (f) {
3743
3745
  f instanceof Error && console.warn(
3744
3746
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3746,24 +3748,24 @@ const ge = (e, t) => {
3746
3748
  );
3747
3749
  }
3748
3750
  return m;
3749
- }, Li = (e, t) => Mi(t).format(e), Oi = (e, t) => Ii(t).format(e), Fi = (e, t) => Bi(t).format(e), Ri = (e, t = q()) => or(e, t);
3750
- se([W, ae], () => Pi);
3751
- se([W], () => Li);
3752
- se([W], () => Oi);
3753
- se([W], () => Fi);
3754
- se([W, ae], () => Ri);
3755
- function Di({ withLocale: e, translations: t }) {
3751
+ }, Oi = (e, t) => Ni(t).format(e), Fi = (e, t) => Mi(t).format(e), Ri = (e, t) => Ii(t).format(e), Di = (e, t = q()) => ar(e, t);
3752
+ ae([W, le], () => Pi);
3753
+ ae([W], () => Oi);
3754
+ ae([W], () => Fi);
3755
+ ae([W], () => Ri);
3756
+ ae([W, le], () => Di);
3757
+ function Ui({ withLocale: e, translations: t }) {
3756
3758
  W.subscribe((r) => {
3757
- r == null && (ae.set(t), W.set(e));
3759
+ r == null && (le.set(t), W.set(e));
3758
3760
  });
3759
3761
  }
3760
- function wt(e, t) {
3761
- ar(e, t);
3762
+ function St(e, t) {
3763
+ ur(e, t);
3762
3764
  }
3763
- function Ui(e) {
3765
+ function Gi(e) {
3764
3766
  W.set(e);
3765
3767
  }
3766
- const Ht = {
3768
+ const Tt = {
3767
3769
  en: {
3768
3770
  login: "Login",
3769
3771
  register: "Register",
@@ -3820,23 +3822,23 @@ const Ht = {
3820
3822
  deposit: "Deposit"
3821
3823
  }
3822
3824
  };
3823
- function Gi(e) {
3824
- Tr(e, "svelte-1lder3j", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3825
+ function ki(e) {
3826
+ Br(e, "svelte-2e7gs6", '*,*::before,*::after{margin:0;padding:0;font-family:inherit;box-sizing:border-box}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(to left, var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));cursor:pointer}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emw--categories-arrows-bg, var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #FFFFFF))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)));background:linear-gradient(var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839)), var(--emw--categories-color-primary, var(--emw--color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072A));color:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emw--categories-contrast, var(--emw--color-contrast, #07072A));background:var(--emw--categories-typography, var(--emw--color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #FFFFFF)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
3825
3827
  }
3826
- function St(e, t, r) {
3828
+ function At(e, t, r) {
3827
3829
  const n = e.slice();
3828
3830
  return n[48] = t[r], n[50] = r, n;
3829
3831
  }
3830
- function Tt(e, t, r) {
3832
+ function Bt(e, t, r) {
3831
3833
  const n = e.slice();
3832
3834
  return n[51] = t[r], n;
3833
3835
  }
3834
- function At(e, t, r) {
3836
+ function It(e, t, r) {
3835
3837
  const n = e.slice();
3836
3838
  return n[54] = t[r], n[56] = r, n;
3837
3839
  }
3838
- function Bt(e) {
3839
- let t = [], r = /* @__PURE__ */ new Map(), n, i = te(
3840
+ function Mt(e) {
3841
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
3840
3842
  /*sliderdata*/
3841
3843
  e[9]
3842
3844
  );
@@ -3845,45 +3847,45 @@ function Bt(e) {
3845
3847
  o[48].id
3846
3848
  );
3847
3849
  for (let o = 0; o < i.length; o += 1) {
3848
- let a = St(e, i, o), h = s(a);
3849
- r.set(h, t[o] = Ot(h, a));
3850
+ let a = At(e, i, o), h = s(a);
3851
+ r.set(h, t[o] = Rt(h, a));
3850
3852
  }
3851
3853
  return {
3852
3854
  c() {
3853
3855
  for (let o = 0; o < t.length; o += 1)
3854
3856
  t[o].c();
3855
- n = me();
3857
+ n = de();
3856
3858
  },
3857
3859
  m(o, a) {
3858
3860
  for (let h = 0; h < t.length; h += 1)
3859
3861
  t[h] && t[h].m(o, a);
3860
- D(o, n, a);
3862
+ U(o, n, a);
3861
3863
  },
3862
3864
  p(o, a) {
3863
3865
  a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
3864
- 77775 && (i = te(
3866
+ 77775 && (i = re(
3865
3867
  /*sliderdata*/
3866
3868
  o[9]
3867
- ), t = Gt(t, a, s, 1, o, i, r, n.parentNode, Ut, Ot, n, St));
3869
+ ), t = $t(t, a, s, 1, o, i, r, n.parentNode, kt, Rt, n, At));
3868
3870
  },
3869
3871
  d(o) {
3870
- o && O(n);
3872
+ o && F(n);
3871
3873
  for (let a = 0; a < t.length; a += 1)
3872
3874
  t[a].d(o);
3873
3875
  }
3874
3876
  };
3875
3877
  }
3876
- function ki(e) {
3878
+ function $i(e) {
3877
3879
  let t, r = (
3878
3880
  /*category*/
3879
3881
  e[48].name + ""
3880
3882
  ), n;
3881
3883
  return {
3882
3884
  c() {
3883
- t = I("button"), n = be(r), S(t, "class", "CategoryButton");
3885
+ t = N("button"), n = ye(r), S(t, "class", "CategoryButton");
3884
3886
  },
3885
3887
  m(i, s) {
3886
- D(i, t, s), B(t, n);
3888
+ U(i, t, s), B(t, n);
3887
3889
  },
3888
3890
  p(i, s) {
3889
3891
  s[0] & /*sliderdata*/
@@ -3891,22 +3893,22 @@ function ki(e) {
3891
3893
  i[48].name + "") && tt(n, r);
3892
3894
  },
3893
3895
  d(i) {
3894
- i && O(t);
3896
+ i && F(t);
3895
3897
  }
3896
3898
  };
3897
3899
  }
3898
- function $i(e) {
3900
+ function ji(e) {
3899
3901
  let t, r = (
3900
3902
  /*category*/
3901
3903
  e[48].label + ""
3902
3904
  ), n, i;
3903
3905
  return {
3904
3906
  c() {
3905
- t = I("a"), n = be(r), S(t, "href", i = /*category*/
3907
+ t = N("a"), n = ye(r), S(t, "href", i = /*category*/
3906
3908
  e[48].path);
3907
3909
  },
3908
3910
  m(s, o) {
3909
- D(s, t, o), B(t, n);
3911
+ U(s, t, o), B(t, n);
3910
3912
  },
3911
3913
  p(s, o) {
3912
3914
  o[0] & /*sliderdata*/
@@ -3916,63 +3918,63 @@ function $i(e) {
3916
3918
  s[48].path) && S(t, "href", i);
3917
3919
  },
3918
3920
  d(s) {
3919
- s && O(t);
3921
+ s && F(t);
3920
3922
  }
3921
3923
  };
3922
3924
  }
3923
- function It(e) {
3925
+ function Nt(e) {
3924
3926
  let t, r = (
3925
3927
  /*subGroupsData*/
3926
3928
  e[10].length > 0 && /*showsubgroups*/
3927
- e[2] == "true" && Mt(e)
3929
+ e[2] == "true" && Lt(e)
3928
3930
  );
3929
3931
  return {
3930
3932
  c() {
3931
- r && r.c(), t = me();
3933
+ r && r.c(), t = de();
3932
3934
  },
3933
3935
  m(n, i) {
3934
- r && r.m(n, i), D(n, t, i);
3936
+ r && r.m(n, i), U(n, t, i);
3935
3937
  },
3936
3938
  p(n, i) {
3937
3939
  /*subGroupsData*/
3938
3940
  n[10].length > 0 && /*showsubgroups*/
3939
- n[2] == "true" ? r ? r.p(n, i) : (r = Mt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3941
+ n[2] == "true" ? r ? r.p(n, i) : (r = Lt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3940
3942
  },
3941
3943
  d(n) {
3942
- n && O(t), r && r.d(n);
3944
+ n && F(t), r && r.d(n);
3943
3945
  }
3944
3946
  };
3945
3947
  }
3946
- function Mt(e) {
3947
- let t, r = te(
3948
+ function Lt(e) {
3949
+ let t, r = re(
3948
3950
  /*subGroupsData*/
3949
3951
  e[10]
3950
3952
  ), n = [];
3951
3953
  for (let i = 0; i < r.length; i += 1)
3952
- n[i] = Lt(Tt(e, r, i));
3954
+ n[i] = Ft(Bt(e, r, i));
3953
3955
  return {
3954
3956
  c() {
3955
- t = I("ul");
3957
+ t = N("ul");
3956
3958
  for (let i = 0; i < n.length; i += 1)
3957
3959
  n[i].c();
3958
3960
  S(t, "class", "DropDown");
3959
3961
  },
3960
3962
  m(i, s) {
3961
- D(i, t, s);
3963
+ U(i, t, s);
3962
3964
  for (let o = 0; o < n.length; o += 1)
3963
3965
  n[o] && n[o].m(t, null);
3964
3966
  },
3965
3967
  p(i, s) {
3966
3968
  if (s[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
3967
3969
  10176) {
3968
- r = te(
3970
+ r = re(
3969
3971
  /*subGroupsData*/
3970
3972
  i[10]
3971
3973
  );
3972
3974
  let o;
3973
3975
  for (o = 0; o < r.length; o += 1) {
3974
- const a = Tt(i, r, o);
3975
- n[o] ? n[o].p(a, s) : (n[o] = Lt(a), n[o].c(), n[o].m(t, null));
3976
+ const a = Bt(i, r, o);
3977
+ n[o] ? n[o].p(a, s) : (n[o] = Ft(a), n[o].c(), n[o].m(t, null));
3976
3978
  }
3977
3979
  for (; o < n.length; o += 1)
3978
3980
  n[o].d(1);
@@ -3980,11 +3982,11 @@ function Mt(e) {
3980
3982
  }
3981
3983
  },
3982
3984
  d(i) {
3983
- i && O(t), Ir(n, i);
3985
+ i && F(t), Nr(n, i);
3984
3986
  }
3985
3987
  };
3986
3988
  }
3987
- function Nt(e) {
3989
+ function Pt(e) {
3988
3990
  let t, r, n = (
3989
3991
  /*subGroupItem*/
3990
3992
  e[54]?.name + ""
@@ -4007,7 +4009,7 @@ function Nt(e) {
4007
4009
  }
4008
4010
  return {
4009
4011
  c() {
4010
- t = I("li"), r = I("a"), i = be(n), o = Z(), S(r, "class", s = "SubDropDown " + /*index*/
4012
+ t = N("li"), r = N("a"), i = ye(n), o = Z(), S(r, "class", s = "SubDropDown " + /*index*/
4011
4013
  (e[50] == /*activeIndex*/
4012
4014
  e[6] && /*activeSubIndex*/
4013
4015
  (e[7] == /*subindex*/
@@ -4016,7 +4018,7 @@ function Nt(e) {
4016
4018
  e[56]) ? "active" : ""));
4017
4019
  },
4018
4020
  m(u, m) {
4019
- D(u, t, m), B(t, r), B(r, i), B(t, o), a || (h = Te(t, "click", l), a = !0);
4021
+ U(u, t, m), B(t, r), B(r, i), B(t, o), a || (h = Te(t, "click", l), a = !0);
4020
4022
  },
4021
4023
  p(u, m) {
4022
4024
  e = u, m[0] & /*subGroupsData*/
@@ -4031,37 +4033,37 @@ function Nt(e) {
4031
4033
  e[56]) ? "active" : "")) && S(r, "class", s);
4032
4034
  },
4033
4035
  d(u) {
4034
- u && O(t), a = !1, h();
4036
+ u && F(t), a = !1, h();
4035
4037
  }
4036
4038
  };
4037
4039
  }
4038
- function Pt(e, t) {
4040
+ function Ot(e, t) {
4039
4041
  let r, n, i = (
4040
4042
  /*index*/
4041
4043
  t[50] == /*subGroup*/
4042
- t[51].index && Nt(t)
4044
+ t[51].index && Pt(t)
4043
4045
  );
4044
4046
  return {
4045
4047
  key: e,
4046
4048
  first: null,
4047
4049
  c() {
4048
- r = me(), i && i.c(), n = me(), this.first = r;
4050
+ r = de(), i && i.c(), n = de(), this.first = r;
4049
4051
  },
4050
4052
  m(s, o) {
4051
- D(s, r, o), i && i.m(s, o), D(s, n, o);
4053
+ U(s, r, o), i && i.m(s, o), U(s, n, o);
4052
4054
  },
4053
4055
  p(s, o) {
4054
4056
  t = s, /*index*/
4055
4057
  t[50] == /*subGroup*/
4056
- t[51].index ? i ? i.p(t, o) : (i = Nt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4058
+ t[51].index ? i ? i.p(t, o) : (i = Pt(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4057
4059
  },
4058
4060
  d(s) {
4059
- s && (O(r), O(n)), i && i.d(s);
4061
+ s && (F(r), F(n)), i && i.d(s);
4060
4062
  }
4061
4063
  };
4062
4064
  }
4063
- function Lt(e) {
4064
- let t = [], r = /* @__PURE__ */ new Map(), n, i = te(
4065
+ function Ft(e) {
4066
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = re(
4065
4067
  /*subGroup*/
4066
4068
  e[51].items
4067
4069
  );
@@ -4070,40 +4072,40 @@ function Lt(e) {
4070
4072
  o[54].id
4071
4073
  );
4072
4074
  for (let o = 0; o < i.length; o += 1) {
4073
- let a = At(e, i, o), h = s(a);
4074
- r.set(h, t[o] = Pt(h, a));
4075
+ let a = It(e, i, o), h = s(a);
4076
+ r.set(h, t[o] = Ot(h, a));
4075
4077
  }
4076
4078
  return {
4077
4079
  c() {
4078
4080
  for (let o = 0; o < t.length; o += 1)
4079
4081
  t[o].c();
4080
- n = me();
4082
+ n = de();
4081
4083
  },
4082
4084
  m(o, a) {
4083
4085
  for (let h = 0; h < t.length; h += 1)
4084
4086
  t[h] && t[h].m(o, a);
4085
- D(o, n, a);
4087
+ U(o, n, a);
4086
4088
  },
4087
4089
  p(o, a) {
4088
4090
  a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
4089
- 10176 && (i = te(
4091
+ 10176 && (i = re(
4090
4092
  /*subGroup*/
4091
4093
  o[51].items
4092
- ), t = Gt(t, a, s, 1, o, i, r, n.parentNode, Ut, Pt, n, At));
4094
+ ), t = $t(t, a, s, 1, o, i, r, n.parentNode, kt, Ot, n, It));
4093
4095
  },
4094
4096
  d(o) {
4095
- o && O(n);
4097
+ o && F(n);
4096
4098
  for (let a = 0; a < t.length; a += 1)
4097
4099
  t[a].d(o);
4098
4100
  }
4099
4101
  };
4100
4102
  }
4101
- function Ot(e, t) {
4103
+ function Rt(e, t) {
4102
4104
  let r, n, i, s, o, a, h, l, u, m, f;
4103
4105
  function p(E, H) {
4104
4106
  return (
4105
4107
  /*location*/
4106
- E[0] === "headerMain" ? $i : ki
4108
+ E[0] === "headerMain" ? ji : $i
4107
4109
  );
4108
4110
  }
4109
4111
  let g = p(t), b = g(t), d = (
@@ -4111,7 +4113,7 @@ function Ot(e, t) {
4111
4113
  t[11][
4112
4114
  /*index*/
4113
4115
  t[50]
4114
- ] == !0 && It(t)
4116
+ ] == !0 && Nt(t)
4115
4117
  );
4116
4118
  function w(...E) {
4117
4119
  return (
@@ -4129,8 +4131,8 @@ function Ot(e, t) {
4129
4131
  key: e,
4130
4132
  first: null,
4131
4133
  c() {
4132
- r = I("li"), n = I("div"), i = I("img"), a = Z(), b.c(), h = Z(), d && d.c(), l = Z(), S(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
4133
- (t[3] === "true" ? "" : "DisplayNone")), ut(i.src, o = /*handleSrc*/
4134
+ r = N("li"), n = N("div"), i = N("img"), a = Z(), b.c(), h = Z(), d && d.c(), l = Z(), S(i, "class", s = "CategoryIconImg " + /*categoriesicon*/
4135
+ (t[3] === "true" ? "" : "DisplayNone")), ct(i.src, o = /*handleSrc*/
4134
4136
  t[16](
4135
4137
  /*category*/
4136
4138
  t[48]
@@ -4147,13 +4149,13 @@ function Ot(e, t) {
4147
4149
  (t[0] == "headerMain" ? "" : "SecondaryMenu")), this.first = r;
4148
4150
  },
4149
4151
  m(E, H) {
4150
- D(E, r, H), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, h), d && d.m(r, null), B(r, l), m || (f = Te(r, "click", w), m = !0);
4152
+ U(E, r, H), B(r, n), B(n, i), B(r, a), b.m(r, null), B(r, h), d && d.m(r, null), B(r, l), m || (f = Te(r, "click", w), m = !0);
4151
4153
  },
4152
4154
  p(E, H) {
4153
4155
  t = E, H[0] & /*categoriesicon*/
4154
4156
  8 && s !== (s = "CategoryIconImg " + /*categoriesicon*/
4155
4157
  (t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", s), H[0] & /*sliderdata*/
4156
- 512 && !ut(i.src, o = /*handleSrc*/
4158
+ 512 && !ct(i.src, o = /*handleSrc*/
4157
4159
  t[16](
4158
4160
  /*category*/
4159
4161
  t[48]
@@ -4161,7 +4163,7 @@ function Ot(e, t) {
4161
4163
  t[11][
4162
4164
  /*index*/
4163
4165
  t[50]
4164
- ] == !0 ? d ? d.p(t, H) : (d = It(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), H[0] & /*activeindex, sliderdata, location*/
4166
+ ] == !0 ? d ? d.p(t, H) : (d = Nt(t), d.c(), d.m(r, l)) : d && (d.d(1), d = null), H[0] & /*activeindex, sliderdata, location*/
4165
4167
  515 && u !== (u = "CarouselItem " + /*activeindex*/
4166
4168
  (t[1]?.toString().indexOf("$") > -1 ? (
4167
4169
  /*activeindex*/
@@ -4175,24 +4177,24 @@ function Ot(e, t) {
4175
4177
  (t[0] == "headerMain" ? "" : "SecondaryMenu")) && S(r, "class", u);
4176
4178
  },
4177
4179
  d(E) {
4178
- E && O(r), b.d(), d && d.d(), m = !1, f();
4180
+ E && F(r), b.d(), d && d.d(), m = !1, f();
4179
4181
  }
4180
4182
  };
4181
4183
  }
4182
- function ji(e) {
4184
+ function Vi(e) {
4183
4185
  let t, r, n, i, s, o, a, h, l, u, m, f, p, g, b, d = (
4184
4186
  /*sliderdata*/
4185
- e[9].length > 0 && Bt(e)
4187
+ e[9].length > 0 && Mt(e)
4186
4188
  );
4187
4189
  return {
4188
4190
  c() {
4189
- t = I("div"), r = I("div"), n = I("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = Z(), s = I("div"), o = I("ul"), a = I("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Z(), d && d.c(), l = Z(), u = I("div"), u.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(o, "id", "CarouselNav"), S(o, "class", "CarouselItems"), S(s, "class", "CarouselNavWrap"), S(u, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4191
+ t = N("div"), r = N("div"), n = N("div"), n.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = Z(), s = N("div"), o = N("ul"), a = N("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', h = Z(), d && d.c(), l = Z(), u = N("div"), u.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', S(n, "class", "CarouselLeftArrow"), S(a, "class", "TouchOnly"), S(o, "id", "CarouselNav"), S(o, "class", "CarouselItems"), S(s, "class", "CarouselNavWrap scroller"), S(u, "class", "CarouselRightArrow"), S(r, "class", m = `CarouselContainer CarouselContainerMobile ${/*location*/
4190
4192
  e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), S(r, "style", f = /*location*/
4191
4193
  e[0] === "headerMain" ? "max-width: auto" : void 0), S(t, "class", p = "CarouselWrapper " + /*location*/
4192
4194
  (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
4193
4195
  },
4194
4196
  m(w, E) {
4195
- D(w, t, E), B(t, r), B(r, n), B(r, i), B(r, s), B(s, o), B(o, a), B(o, h), d && d.m(o, null), e[35](o), e[36](s), B(r, l), B(r, u), e[38](t), g || (b = [
4197
+ U(w, t, E), B(t, r), B(r, n), B(r, i), B(r, s), B(s, o), B(o, a), B(o, h), d && d.m(o, null), e[35](o), e[36](s), B(r, l), B(r, u), e[38](t), g || (b = [
4196
4198
  Te(
4197
4199
  n,
4198
4200
  "click",
@@ -4209,7 +4211,7 @@ function ji(e) {
4209
4211
  },
4210
4212
  p(w, E) {
4211
4213
  /*sliderdata*/
4212
- w[9].length > 0 ? d ? d.p(w, E) : (d = Bt(w), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4214
+ w[9].length > 0 ? d ? d.p(w, E) : (d = Mt(w), d.c(), d.m(o, null)) : d && (d.d(1), d = null), E[0] & /*location*/
4213
4215
  1 && m !== (m = `CarouselContainer CarouselContainerMobile ${/*location*/
4214
4216
  w[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && S(r, "class", m), E[0] & /*location*/
4215
4217
  1 && f !== (f = /*location*/
@@ -4217,31 +4219,31 @@ function ji(e) {
4217
4219
  1 && p !== (p = "CarouselWrapper " + /*location*/
4218
4220
  (w[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && S(t, "class", p);
4219
4221
  },
4220
- i: U,
4221
- o: U,
4222
+ i: G,
4223
+ o: G,
4222
4224
  d(w) {
4223
- w && O(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, Q(b);
4225
+ w && F(t), d && d.d(), e[35](null), e[36](null), e[38](null), g = !1, Q(b);
4224
4226
  }
4225
4227
  };
4226
4228
  }
4227
- function Vi(e, t, r) {
4228
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: H = "" } = t, { mygamesiconimage: F = "" } = t, { mbsource: P = "" } = t;
4229
- Di({ withLocale: "en", translations: {} });
4230
- const G = () => {
4229
+ function Xi(e, t, r) {
4230
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: s = "defaultEvent" } = t, { actionevent: o = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: h = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: E = "false" } = t, { lobbyiconimage: H = "" } = t, { mygamesiconimage: R = "" } = t, { mbsource: P = "" } = t;
4231
+ Ui({ withLocale: "en", translations: {} });
4232
+ const k = () => {
4231
4233
  fetch(f).then((x) => x.json()).then((x) => {
4232
- Object.keys(x).forEach((R) => {
4233
- wt(R, x[R]);
4234
+ Object.keys(x).forEach((D) => {
4235
+ St(D, x[D]);
4234
4236
  });
4235
4237
  }).catch((x) => {
4236
4238
  console.log(x);
4237
4239
  });
4238
4240
  };
4239
- Object.keys(Ht).forEach((c) => {
4240
- wt(c, Ht[c]);
4241
+ Object.keys(Tt).forEach((c) => {
4242
+ St(c, Tt[c]);
4241
4243
  });
4242
- let C, M, N, j, k, ue = [], ye = [], ve = [], $, Oe = (c, x, R, z, V) => {
4244
+ let C, I, L, j, $, he = [], ve = [], J = [], M, Oe = (c, x, D, z, V) => {
4243
4245
  if (!(c.subGroups && z === null)) {
4244
- if (_e(), r(6, M = x), r(6, M), V != "secondary") {
4246
+ if (_e(), r(6, I = x), r(6, I), V != "secondary") {
4245
4247
  window.postMessage(
4246
4248
  {
4247
4249
  type: o == "CategoryChange" ? "CategoryChange" : "NavigateTo",
@@ -4254,35 +4256,35 @@ function Vi(e, t, r) {
4254
4256
  target: c.attrs?.target || null
4255
4257
  },
4256
4258
  window.location.href
4257
- ), r(7, N = null), r(8, j = null);
4259
+ ), r(7, L = null), r(8, j = null);
4258
4260
  return;
4259
4261
  }
4260
- r(7, N = z), r(7, N), r(8, j = N), window.postMessage(
4262
+ r(7, L = z), r(7, L), r(8, j = L), window.postMessage(
4261
4263
  {
4262
4264
  type: o,
4263
- itemId: R.id,
4265
+ itemId: D.id,
4264
4266
  subIndex: z,
4265
- subItem: R
4267
+ subItem: D
4266
4268
  },
4267
4269
  window.location.href
4268
4270
  );
4269
4271
  }
4270
- }, it = () => {
4271
- $.scrollBy({ left: -250, behavior: "smooth" });
4272
- }, ot = () => {
4273
- $.scrollBy({ left: 250, behavior: "smooth" });
4272
+ }, st = () => {
4273
+ M && (J.length !== I ? r(12, M.scrollLeft -= 250, M) : r(12, M.scrollLeft = 0, M));
4274
+ }, at = () => {
4275
+ M && (J.length !== I ? r(12, M.scrollLeft += 250, M) : r(12, M.scrollLeft = 0, M));
4274
4276
  };
4275
- const st = (c) => {
4276
- c.data.type == "SliderData" && c.data.identity == m && (r(9, ue = c.data.data), r(11, ve = new Array(ue.length).fill(!1)), w == "true" && dr()), c.data.type == "GoToHomepage" && ue.forEach((x, R) => {
4277
- x.path.endsWith("/casino") && (r(6, M = R), r(6, M));
4277
+ const lt = (c) => {
4278
+ c.data.type == "SliderData" && c.data.identity == m && (r(9, he = c.data.data), r(11, J = new Array(he.length).fill(!1)), w == "true" && gr()), c.data.type == "GoToHomepage" && he.forEach((x, D) => {
4279
+ x.path.endsWith("/casino") && (r(6, I = D), r(6, I));
4278
4280
  });
4279
- }, fr = () => {
4280
- Ui(b);
4281
- }, mr = (c, x, R) => {
4281
+ }, dr = () => {
4282
+ Gi(b);
4283
+ }, pr = (c, x, D) => {
4282
4284
  if (h == "secondaryMenu" && n && i && b && c.id) {
4283
4285
  let z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
4284
4286
  fetch(z.href).then((V) => V.json()).then((V) => {
4285
- V.index = x, r(10, ye = ye.concat(V)), w == "false" && window.postMessage(
4287
+ V.index = x, r(10, ve = ve.concat(V)), w == "false" && window.postMessage(
4286
4288
  {
4287
4289
  type: o,
4288
4290
  itemId: c.id,
@@ -4292,8 +4294,8 @@ function Vi(e, t, r) {
4292
4294
  window.location.href
4293
4295
  );
4294
4296
  const Ee = [];
4295
- ye.map((Cr) => (Cr.items.forEach((at) => {
4296
- Ee.find((wr) => at.id == wr) || Ee.push(at.id);
4297
+ ve.map((Hr) => (Hr.items.forEach((ut) => {
4298
+ Ee.find((Sr) => ut.id == Sr) || Ee.push(ut.id);
4297
4299
  }), Ee.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Ee }, window.location.href);
4298
4300
  }).then(() => {
4299
4301
  C.querySelectorAll(".DropDown") && _e();
@@ -4302,76 +4304,76 @@ function Vi(e, t, r) {
4302
4304
  h == "headerMain" && window.postMessage({ type: o, item: c }, window.location.href);
4303
4305
  }, _e = () => {
4304
4306
  const c = C.querySelectorAll(".DropDown");
4305
- document.activeElement.blur(), $.classList.add("isScrolling");
4307
+ document.activeElement.blur(), M.classList.add("isScrolling");
4306
4308
  for (let x = 0; x < c.length; x++)
4307
- c[x].style.transform = "translateX(-" + $.scrollLeft + "px)";
4308
- $.classList.remove("isScrolling");
4309
- }, dr = () => {
4310
- ue.forEach((c, x) => {
4311
- c?.subGroups?.count > 0 && (r(11, ve[x] = !0, ve), mr(c, x));
4309
+ c[x].style.transform = "translateX(-" + M.scrollLeft + "px)";
4310
+ M.classList.remove("isScrolling");
4311
+ }, gr = () => {
4312
+ he.forEach((c, x) => {
4313
+ c?.subGroups?.count > 0 && (r(11, J[x] = !0, J), pr(c, x));
4312
4314
  });
4313
- }, pr = (c) => {
4315
+ }, br = (c) => {
4314
4316
  let x = "";
4315
- return c.id === "LOBBY" ? x = H : c.id === "MYGAMES" && (x = F), c.icon || x;
4317
+ return c.id === "LOBBY" ? x = H : c.id === "MYGAMES" && (x = R), c.icon || x;
4316
4318
  };
4317
- Lr(() => (window.addEventListener("message", st, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4319
+ Fr(() => (window.addEventListener("message", lt, !1), "ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
4318
4320
  () => {
4319
- $.addEventListener("scroll", _e);
4321
+ M.addEventListener("scroll", _e);
4320
4322
  },
4321
4323
  500
4322
4324
  ), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
4323
- window.removeEventListener("message", st), C.removeEventListener("scroll", _e);
4325
+ window.removeEventListener("message", lt), C.removeEventListener("scroll", _e);
4324
4326
  }));
4325
- const gr = () => it(), br = (c, x, R, z, V) => {
4326
- Oe(c, x, R, z, "secondary"), V.stopPropagation();
4327
- }, yr = (c, x, R) => {
4328
- Oe(c, x, null, null, "main"), R.preventDefault();
4327
+ const yr = () => st(), vr = (c, x, D, z, V) => {
4328
+ Oe(c, x, D, z, "secondary"), V.stopPropagation();
4329
+ }, _r = (c, x, D) => {
4330
+ Oe(c, x, null, null, "main"), D.preventDefault();
4329
4331
  };
4330
- function vr(c) {
4331
- fe[c ? "unshift" : "push"](() => {
4332
+ function Er(c) {
4333
+ me[c ? "unshift" : "push"](() => {
4332
4334
  C = c, r(5, C);
4333
4335
  });
4334
4336
  }
4335
- function _r(c) {
4336
- fe[c ? "unshift" : "push"](() => {
4337
- $ = c, r(12, $);
4337
+ function xr(c) {
4338
+ me[c ? "unshift" : "push"](() => {
4339
+ M = c, r(12, M);
4338
4340
  });
4339
4341
  }
4340
- const Er = () => ot();
4341
- function xr(c) {
4342
- fe[c ? "unshift" : "push"](() => {
4343
- k = c, r(4, k);
4342
+ const Cr = () => at();
4343
+ function wr(c) {
4344
+ me[c ? "unshift" : "push"](() => {
4345
+ $ = c, r(4, $);
4344
4346
  });
4345
4347
  }
4346
4348
  return e.$$set = (c) => {
4347
- "endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, s = c.onclickeventname), "actionevent" in c && r(20, o = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, u = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, w = c.showsubgroups), "categoriesicon" in c && r(3, E = c.categoriesicon), "lobbyiconimage" in c && r(29, H = c.lobbyiconimage), "mygamesiconimage" in c && r(30, F = c.mygamesiconimage), "mbsource" in c && r(31, P = c.mbsource);
4349
+ "endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, s = c.onclickeventname), "actionevent" in c && r(20, o = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, h = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, u = c.clientstylingurl), "identity" in c && r(24, m = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, b = c.lang), "activeindex" in c && r(1, d = c.activeindex), "showsubgroups" in c && r(2, w = c.showsubgroups), "categoriesicon" in c && r(3, E = c.categoriesicon), "lobbyiconimage" in c && r(29, H = c.lobbyiconimage), "mygamesiconimage" in c && r(30, R = c.mygamesiconimage), "mbsource" in c && r(31, P = c.mbsource);
4348
4350
  }, e.$$.update = () => {
4349
4351
  e.$$.dirty[0] & /*activeindex*/
4350
4352
  2, e.$$.dirty[0] & /*translationurl*/
4351
- 33554432 && f && G(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4352
- 4194320 && l && k && zr(k, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4353
- 8388624 && u && k && Zr(k, u), e.$$.dirty[0] & /*customStylingContainer*/
4353
+ 33554432 && f && k(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4354
+ 4194320 && l && $ && Qr($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4355
+ 8388624 && u && $ && qr($, u), e.$$.dirty[0] & /*customStylingContainer*/
4354
4356
  16 | e.$$.dirty[1] & /*mbsource*/
4355
- 1 && P && k && Qr(k, `${P}.Style`), e.$$.dirty[0] & /*lang*/
4356
- 268435456 && b && fr();
4357
+ 1 && P && $ && Jr($, `${P}.Style`), e.$$.dirty[0] & /*lang*/
4358
+ 268435456 && b && dr();
4357
4359
  }, [
4358
4360
  h,
4359
4361
  d,
4360
4362
  w,
4361
4363
  E,
4362
- k,
4364
+ $,
4363
4365
  C,
4364
- M,
4365
- N,
4366
+ I,
4367
+ L,
4366
4368
  j,
4367
- ue,
4368
- ye,
4369
+ he,
4369
4370
  ve,
4370
- $,
4371
+ J,
4372
+ M,
4371
4373
  Oe,
4372
- it,
4373
- ot,
4374
- pr,
4374
+ st,
4375
+ at,
4376
+ br,
4375
4377
  n,
4376
4378
  i,
4377
4379
  s,
@@ -4385,25 +4387,25 @@ function Vi(e, t, r) {
4385
4387
  g,
4386
4388
  b,
4387
4389
  H,
4388
- F,
4390
+ R,
4389
4391
  P,
4390
- gr,
4391
- br,
4392
4392
  yr,
4393
4393
  vr,
4394
4394
  _r,
4395
4395
  Er,
4396
- xr
4396
+ xr,
4397
+ Cr,
4398
+ wr
4397
4399
  ];
4398
4400
  }
4399
- class Xi extends Xr {
4401
+ class Wi extends zr {
4400
4402
  constructor(t) {
4401
- super(), jr(
4403
+ super(), Xr(
4402
4404
  this,
4403
4405
  t,
4406
+ Xi,
4404
4407
  Vi,
4405
- ji,
4406
- Rt,
4408
+ Ut,
4407
4409
  {
4408
4410
  endpoint: 17,
4409
4411
  datasource: 18,
@@ -4425,7 +4427,7 @@ class Xi extends Xr {
4425
4427
  mygamesiconimage: 30,
4426
4428
  mbsource: 31
4427
4429
  },
4428
- Gi,
4430
+ ki,
4429
4431
  [-1, -1]
4430
4432
  );
4431
4433
  }
@@ -4544,7 +4546,7 @@ class Xi extends Xr {
4544
4546
  this.$$set({ mbsource: t }), A();
4545
4547
  }
4546
4548
  }
4547
- Vr(Xi, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4549
+ Wr(Wi, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4548
4550
  export {
4549
- Xi as C
4551
+ Wi as C
4550
4552
  };