@everymatrix/casino-slider-nd 1.60.1 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,29 @@
1
+ import "../stencil/ui-image-BNrzgSpe.js";
1
2
  function D() {
2
3
  }
3
- function ar(e) {
4
+ function or(e) {
4
5
  return e();
5
6
  }
6
- function xt() {
7
+ function Ct() {
7
8
  return /* @__PURE__ */ Object.create(null);
8
9
  }
9
- function z(e) {
10
- e.forEach(ar);
10
+ function q(e) {
11
+ e.forEach(or);
11
12
  }
12
13
  function gt(e) {
13
14
  return typeof e == "function";
14
15
  }
15
- function lr(e, t) {
16
+ function sr(e, t) {
16
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
18
  }
18
- let Be;
19
- function Fe(e, t) {
20
- return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
19
+ let Me;
20
+ function ke(e, t) {
21
+ return e === t ? !0 : (Me || (Me = document.createElement("a")), Me.href = t, e === Me.href);
21
22
  }
22
- function an(e) {
23
+ function nn(e) {
23
24
  return Object.keys(e).length === 0;
24
25
  }
25
- function ln(e, ...t) {
26
+ function on(e, ...t) {
26
27
  if (e == null) {
27
28
  for (const n of t)
28
29
  n(void 0);
@@ -34,14 +35,14 @@ function ln(e, ...t) {
34
35
  function C(e, t) {
35
36
  e.appendChild(t);
36
37
  }
37
- function un(e, t, r) {
38
- const n = hn(e);
38
+ function sn(e, t, r) {
39
+ const n = an(e);
39
40
  if (!n.getElementById(t)) {
40
41
  const i = B("style");
41
- i.id = t, i.textContent = r, cn(n, i);
42
+ i.id = t, i.textContent = r, ln(n, i);
42
43
  }
43
44
  }
44
- function hn(e) {
45
+ function an(e) {
45
46
  if (!e)
46
47
  return document;
47
48
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,7 +52,7 @@ function hn(e) {
51
52
  t
52
53
  ) : e.ownerDocument;
53
54
  }
54
- function cn(e, t) {
55
+ function ln(e, t) {
55
56
  return C(
56
57
  /** @type {Document} */
57
58
  e.head || e,
@@ -64,7 +65,7 @@ function A(e, t, r) {
64
65
  function H(e) {
65
66
  e.parentNode && e.parentNode.removeChild(e);
66
67
  }
67
- function fn(e, t) {
68
+ function un(e, t) {
68
69
  for (let r = 0; r < e.length; r += 1)
69
70
  e[r] && e[r].d(t);
70
71
  }
@@ -74,29 +75,33 @@ function B(e) {
74
75
  function Y(e) {
75
76
  return document.createElementNS("http://www.w3.org/2000/svg", e);
76
77
  }
77
- function ee(e) {
78
+ function te(e) {
78
79
  return document.createTextNode(e);
79
80
  }
80
- function V() {
81
- return ee(" ");
81
+ function W() {
82
+ return te(" ");
82
83
  }
83
- function te() {
84
- return ee("");
84
+ function re() {
85
+ return te("");
85
86
  }
86
- function q(e, t, r, n) {
87
+ function J(e, t, r, n) {
87
88
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
88
89
  }
89
90
  function p(e, t, r) {
90
91
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
91
92
  }
92
- function dn(e) {
93
+ function V(e, t, r) {
94
+ const n = t.toLowerCase();
95
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : p(e, t, r);
96
+ }
97
+ function hn(e) {
93
98
  return Array.from(e.childNodes);
94
99
  }
95
- function pe(e, t) {
100
+ function me(e, t) {
96
101
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
97
102
  t);
98
103
  }
99
- function pn(e) {
104
+ function cn(e) {
100
105
  const t = {};
101
106
  return e.childNodes.forEach(
102
107
  /** @param {Element} node */
@@ -105,77 +110,77 @@ function pn(e) {
105
110
  }
106
111
  ), t;
107
112
  }
108
- let xe;
109
- function Ce(e) {
110
- xe = e;
113
+ let Se;
114
+ function we(e) {
115
+ Se = e;
111
116
  }
112
- function mn() {
113
- if (!xe)
117
+ function fn() {
118
+ if (!Se)
114
119
  throw new Error("Function called outside component initialization");
115
- return xe;
120
+ return Se;
116
121
  }
117
- function bn(e) {
118
- mn().$$.on_mount.push(e);
122
+ function dn(e) {
123
+ fn().$$.on_mount.push(e);
119
124
  }
120
- const se = [], we = [];
121
- let ae = [];
122
- const St = [], gn = /* @__PURE__ */ Promise.resolve();
125
+ const ae = [], xe = [];
126
+ let le = [];
127
+ const wt = [], pn = /* @__PURE__ */ Promise.resolve();
123
128
  let rt = !1;
124
- function yn() {
125
- rt || (rt = !0, gn.then(M));
129
+ function mn() {
130
+ rt || (rt = !0, pn.then(M));
126
131
  }
127
132
  function nt(e) {
128
- ae.push(e);
133
+ le.push(e);
129
134
  }
130
- const ze = /* @__PURE__ */ new Set();
131
- let ie = 0;
135
+ const qe = /* @__PURE__ */ new Set();
136
+ let oe = 0;
132
137
  function M() {
133
- if (ie !== 0)
138
+ if (oe !== 0)
134
139
  return;
135
- const e = xe;
140
+ const e = Se;
136
141
  do {
137
142
  try {
138
- for (; ie < se.length; ) {
139
- const t = se[ie];
140
- ie++, Ce(t), vn(t.$$);
143
+ for (; oe < ae.length; ) {
144
+ const t = ae[oe];
145
+ oe++, we(t), bn(t.$$);
141
146
  }
142
147
  } catch (t) {
143
- throw se.length = 0, ie = 0, t;
148
+ throw ae.length = 0, oe = 0, t;
144
149
  }
145
- for (Ce(null), se.length = 0, ie = 0; we.length; )
146
- we.pop()();
147
- for (let t = 0; t < ae.length; t += 1) {
148
- const r = ae[t];
149
- ze.has(r) || (ze.add(r), r());
150
+ for (we(null), ae.length = 0, oe = 0; xe.length; )
151
+ xe.pop()();
152
+ for (let t = 0; t < le.length; t += 1) {
153
+ const r = le[t];
154
+ qe.has(r) || (qe.add(r), r());
150
155
  }
151
- ae.length = 0;
152
- } while (se.length);
153
- for (; St.length; )
154
- St.pop()();
155
- rt = !1, ze.clear(), Ce(e);
156
+ le.length = 0;
157
+ } while (ae.length);
158
+ for (; wt.length; )
159
+ wt.pop()();
160
+ rt = !1, qe.clear(), we(e);
156
161
  }
157
- function vn(e) {
162
+ function bn(e) {
158
163
  if (e.fragment !== null) {
159
- e.update(), z(e.before_update);
164
+ e.update(), q(e.before_update);
160
165
  const t = e.dirty;
161
166
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
162
167
  }
163
168
  }
164
- function _n(e) {
169
+ function gn(e) {
165
170
  const t = [], r = [];
166
- ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ae = t;
171
+ le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
167
172
  }
168
- const En = /* @__PURE__ */ new Set();
169
- function ur(e, t) {
170
- e && e.i && (En.delete(e), e.i(t));
173
+ const yn = /* @__PURE__ */ new Set();
174
+ function ar(e, t) {
175
+ e && e.i && (yn.delete(e), e.i(t));
171
176
  }
172
- function ue(e) {
177
+ function he(e) {
173
178
  return e?.length !== void 0 ? e : Array.from(e);
174
179
  }
175
- function hr(e, t) {
180
+ function lr(e, t) {
176
181
  e.d(1), t.delete(e.key);
177
182
  }
178
- function cr(e, t, r, n, i, o, s, a, l, h, u, c) {
183
+ function ur(e, t, r, n, i, o, s, a, l, h, u, c) {
179
184
  let d = e.length, b = o.length, m = d;
180
185
  const g = {};
181
186
  for (; m--; )
@@ -188,7 +193,7 @@ function cr(e, t, r, n, i, o, s, a, l, h, u, c) {
188
193
  }
189
194
  const $ = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set();
190
195
  function j(T) {
191
- ur(T, 1), T.m(a, u), s.set(T.key, T), u = T.first, b--;
196
+ ar(T, 1), T.m(a, u), s.set(T.key, T), u = T.first, b--;
192
197
  }
193
198
  for (; d && b; ) {
194
199
  const T = y[b - 1], U = e[d - 1], O = T.key, G = U.key;
@@ -200,25 +205,25 @@ function cr(e, t, r, n, i, o, s, a, l, h, u, c) {
200
205
  }
201
206
  for (; b; )
202
207
  j(y[b - 1]);
203
- return z(N), y;
208
+ return q(N), y;
204
209
  }
205
- function Cn(e, t, r) {
210
+ function vn(e, t, r) {
206
211
  const { fragment: n, after_update: i } = e.$$;
207
212
  n && n.m(t, r), nt(() => {
208
- const o = e.$$.on_mount.map(ar).filter(gt);
209
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
213
+ const o = e.$$.on_mount.map(or).filter(gt);
214
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
210
215
  }), i.forEach(nt);
211
216
  }
212
- function wn(e, t) {
217
+ function _n(e, t) {
213
218
  const r = e.$$;
214
- r.fragment !== null && (_n(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
219
+ r.fragment !== null && (gn(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
220
  }
216
- function xn(e, t) {
217
- e.$$.dirty[0] === -1 && (se.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
+ function En(e, t) {
222
+ e.$$.dirty[0] === -1 && (ae.push(e), mn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
218
223
  }
219
- function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
220
- const l = xe;
221
- Ce(e);
224
+ function Cn(e, t, r, n, i, o, s = null, a = [-1]) {
225
+ const l = Se;
226
+ we(e);
222
227
  const h = e.$$ = {
223
228
  fragment: null,
224
229
  ctx: [],
@@ -226,7 +231,7 @@ function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
226
231
  props: o,
227
232
  update: D,
228
233
  not_equal: i,
229
- bound: xt(),
234
+ bound: Ct(),
230
235
  // lifecycle
231
236
  on_mount: [],
232
237
  on_destroy: [],
@@ -235,7 +240,7 @@ function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
235
240
  after_update: [],
236
241
  context: new Map(t.context || (l ? l.$$.context : [])),
237
242
  // everything else
238
- callbacks: xt(),
243
+ callbacks: Ct(),
239
244
  dirty: a,
240
245
  skip_bound: !1,
241
246
  root: t.target || l.$$.root
@@ -244,19 +249,19 @@ function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
244
249
  let u = !1;
245
250
  if (h.ctx = r ? r(e, t.props || {}, (c, d, ...b) => {
246
251
  const m = b.length ? b[0] : d;
247
- return h.ctx && i(h.ctx[c], h.ctx[c] = m) && (!h.skip_bound && h.bound[c] && h.bound[c](m), u && xn(e, c)), d;
248
- }) : [], h.update(), u = !0, z(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
252
+ return h.ctx && i(h.ctx[c], h.ctx[c] = m) && (!h.skip_bound && h.bound[c] && h.bound[c](m), u && En(e, c)), d;
253
+ }) : [], h.update(), u = !0, q(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
249
254
  if (t.hydrate) {
250
- const c = dn(t.target);
255
+ const c = hn(t.target);
251
256
  h.fragment && h.fragment.l(c), c.forEach(H);
252
257
  } else
253
258
  h.fragment && h.fragment.c();
254
- t.intro && ur(e.$$.fragment), Cn(e, t.target, t.anchor), M();
259
+ t.intro && ar(e.$$.fragment), vn(e, t.target, t.anchor), M();
255
260
  }
256
- Ce(l);
261
+ we(l);
257
262
  }
258
- let fr;
259
- typeof HTMLElement == "function" && (fr = class extends HTMLElement {
263
+ let hr;
264
+ typeof HTMLElement == "function" && (hr = class extends HTMLElement {
260
265
  /** The Svelte component constructor */
261
266
  $$ctor;
262
267
  /** Slots */
@@ -315,12 +320,12 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
315
320
  };
316
321
  if (await Promise.resolve(), !this.$$cn || this.$$c)
317
322
  return;
318
- const t = {}, r = pn(this);
323
+ const t = {}, r = cn(this);
319
324
  for (const i of this.$$s)
320
325
  i in r && (t[i] = [e(i)]);
321
326
  for (const i of this.attributes) {
322
327
  const o = this.$$g_p(i.name);
323
- o in this.$$d || (this.$$d[o] = Oe(o, i.value, this.$$p_d, "toProp"));
328
+ o in this.$$d || (this.$$d[o] = Le(o, i.value, this.$$p_d, "toProp"));
324
329
  }
325
330
  for (const i in this.$$p_d)
326
331
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -338,7 +343,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
338
343
  this.$$r = !0;
339
344
  for (const i in this.$$p_d)
340
345
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
341
- const o = Oe(
346
+ const o = Le(
342
347
  i,
343
348
  this.$$d[i],
344
349
  this.$$p_d,
@@ -360,7 +365,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
360
365
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
361
366
  // and setting attributes through setAttribute etc, this is helpful
362
367
  attributeChangedCallback(e, t, r) {
363
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Oe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
368
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
364
369
  }
365
370
  disconnectedCallback() {
366
371
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -373,7 +378,7 @@ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
373
378
  ) || e;
374
379
  }
375
380
  });
376
- function Oe(e, t, r, n) {
381
+ function Le(e, t, r, n) {
377
382
  const i = r[e]?.type;
378
383
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
379
384
  return t;
@@ -402,8 +407,8 @@ function Oe(e, t, r, n) {
402
407
  return t;
403
408
  }
404
409
  }
405
- function Hn(e, t, r, n, i, o) {
406
- let s = class extends fr {
410
+ function wn(e, t, r, n, i, o) {
411
+ let s = class extends hr {
407
412
  constructor() {
408
413
  super(e, r, i), this.$$p_d = t;
409
414
  }
@@ -419,7 +424,7 @@ function Hn(e, t, r, n, i, o) {
419
424
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
420
425
  },
421
426
  set(l) {
422
- l = Oe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
427
+ l = Le(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
423
428
  }
424
429
  });
425
430
  }), n.forEach((a) => {
@@ -431,7 +436,7 @@ function Hn(e, t, r, n, i, o) {
431
436
  }), e.element = /** @type {any} */
432
437
  s, s;
433
438
  }
434
- class Tn {
439
+ class xn {
435
440
  /**
436
441
  * ### PRIVATE API
437
442
  *
@@ -450,7 +455,7 @@ class Tn {
450
455
  $$set = void 0;
451
456
  /** @returns {void} */
452
457
  $destroy() {
453
- wn(this, 1), this.$destroy = D;
458
+ _n(this, 1), this.$destroy = D;
454
459
  }
455
460
  /**
456
461
  * @template {Extract<keyof Events, string>} K
@@ -472,11 +477,11 @@ class Tn {
472
477
  * @returns {void}
473
478
  */
474
479
  $set(t) {
475
- this.$$set && !an(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
480
+ this.$$set && !nn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
476
481
  }
477
482
  }
478
- const An = "4";
479
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(An);
483
+ const Sn = "4";
484
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sn);
480
485
  /*! *****************************************************************************
481
486
  Copyright (c) Microsoft Corporation.
482
487
 
@@ -518,7 +523,7 @@ var E = function() {
518
523
  return t;
519
524
  }, E.apply(this, arguments);
520
525
  };
521
- function In(e, t) {
526
+ function Hn(e, t) {
522
527
  var r = {};
523
528
  for (var n in e)
524
529
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -559,22 +564,22 @@ function st(e, t) {
559
564
  }
560
565
  return o;
561
566
  }
562
- function le(e, t, r) {
567
+ function ue(e, t, r) {
563
568
  if (r || arguments.length === 2)
564
569
  for (var n = 0, i = t.length, o; n < i; n++)
565
570
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
566
571
  return e.concat(o || t);
567
572
  }
568
- function Z(e) {
573
+ function z(e) {
569
574
  return typeof e == "function";
570
575
  }
571
- function dr(e) {
576
+ function cr(e) {
572
577
  var t = function(n) {
573
578
  Error.call(n), n.stack = new Error().stack;
574
579
  }, r = e(t);
575
580
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
576
581
  }
577
- var Qe = dr(function(e) {
582
+ var Qe = cr(function(e) {
578
583
  return function(r) {
579
584
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
580
585
  ` + r.map(function(n, i) {
@@ -589,7 +594,7 @@ function at(e, t) {
589
594
  0 <= r && e.splice(r, 1);
590
595
  }
591
596
  }
592
- var Ue = function() {
597
+ var Ge = function() {
593
598
  function e(t) {
594
599
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
595
600
  }
@@ -618,7 +623,7 @@ var Ue = function() {
618
623
  else
619
624
  s.remove(this);
620
625
  var u = this.initialTeardown;
621
- if (Z(u))
626
+ if (z(u))
622
627
  try {
623
628
  u();
624
629
  } catch (g) {
@@ -631,9 +636,9 @@ var Ue = function() {
631
636
  for (var d = ot(c), b = d.next(); !b.done; b = d.next()) {
632
637
  var m = b.value;
633
638
  try {
634
- Ht(m);
639
+ xt(m);
635
640
  } catch (g) {
636
- o = o ?? [], g instanceof Qe ? o = le(le([], st(o)), st(g.errors)) : o.push(g);
641
+ o = o ?? [], g instanceof Qe ? o = ue(ue([], st(o)), st(g.errors)) : o.push(g);
637
642
  }
638
643
  }
639
644
  } catch (g) {
@@ -654,7 +659,7 @@ var Ue = function() {
654
659
  var r;
655
660
  if (t && t !== this)
656
661
  if (this.closed)
657
- Ht(t);
662
+ xt(t);
658
663
  else {
659
664
  if (t instanceof e) {
660
665
  if (t.closed || t._hasParent(this))
@@ -679,45 +684,41 @@ var Ue = function() {
679
684
  var t = new e();
680
685
  return t.closed = !0, t;
681
686
  }(), e;
682
- }(), pr = Ue.EMPTY;
683
- function mr(e) {
684
- return e instanceof Ue || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
685
- }
686
- function Ht(e) {
687
- Z(e) ? e() : e.unsubscribe();
688
- }
689
- var br = {
690
- onUnhandledError: null,
691
- onStoppedNotification: null,
692
- Promise: void 0,
693
- useDeprecatedSynchronousErrorHandling: !1,
694
- useDeprecatedNextContext: !1
695
- }, Bn = {
687
+ }(), fr = Ge.EMPTY;
688
+ function dr(e) {
689
+ return e instanceof Ge || e && "closed" in e && z(e.remove) && z(e.add) && z(e.unsubscribe);
690
+ }
691
+ function xt(e) {
692
+ z(e) ? e() : e.unsubscribe();
693
+ }
694
+ var Tn = {
695
+ Promise: void 0
696
+ }, An = {
696
697
  setTimeout: function(e, t) {
697
698
  for (var r = [], n = 2; n < arguments.length; n++)
698
699
  r[n - 2] = arguments[n];
699
- return setTimeout.apply(void 0, le([e, t], st(r)));
700
+ return setTimeout.apply(void 0, ue([e, t], st(r)));
700
701
  },
701
702
  clearTimeout: function(e) {
702
703
  return clearTimeout(e);
703
704
  },
704
705
  delegate: void 0
705
706
  };
706
- function Mn(e) {
707
- Bn.setTimeout(function() {
707
+ function In(e) {
708
+ An.setTimeout(function() {
708
709
  throw e;
709
710
  });
710
711
  }
711
- function Tt() {
712
+ function St() {
712
713
  }
713
- function Le(e) {
714
+ function Ne(e) {
714
715
  e();
715
716
  }
716
- var gr = function(e) {
717
+ var pr = function(e) {
717
718
  Q(t, e);
718
719
  function t(r) {
719
720
  var n = e.call(this) || this;
720
- return n.isStopped = !1, r ? (n.destination = r, mr(r) && r.add(n)) : n.destination = Nn, n;
721
+ return n.isStopped = !1, r ? (n.destination = r, dr(r) && r.add(n)) : n.destination = Pn, n;
721
722
  }
722
723
  return t.create = function(r, n, i) {
723
724
  return new lt(r, n, i);
@@ -744,11 +745,7 @@ var gr = function(e) {
744
745
  this.unsubscribe();
745
746
  }
746
747
  }, t;
747
- }(Ue), Pn = Function.prototype.bind;
748
- function Ye(e, t) {
749
- return Pn.call(e, t);
750
- }
751
- var On = function() {
748
+ }(Ge), Bn = function() {
752
749
  function e(t) {
753
750
  this.partialObserver = t;
754
751
  }
@@ -758,7 +755,7 @@ var On = function() {
758
755
  try {
759
756
  r.next(t);
760
757
  } catch (n) {
761
- Me(n);
758
+ Pe(n);
762
759
  }
763
760
  }, e.prototype.error = function(t) {
764
761
  var r = this.partialObserver;
@@ -766,68 +763,56 @@ var On = function() {
766
763
  try {
767
764
  r.error(t);
768
765
  } catch (n) {
769
- Me(n);
766
+ Pe(n);
770
767
  }
771
768
  else
772
- Me(t);
769
+ Pe(t);
773
770
  }, e.prototype.complete = function() {
774
771
  var t = this.partialObserver;
775
772
  if (t.complete)
776
773
  try {
777
774
  t.complete();
778
775
  } catch (r) {
779
- Me(r);
776
+ Pe(r);
780
777
  }
781
778
  }, e;
782
779
  }(), lt = function(e) {
783
780
  Q(t, e);
784
781
  function t(r, n, i) {
785
782
  var o = e.call(this) || this, s;
786
- if (Z(r) || !r)
787
- s = {
788
- next: r ?? void 0,
789
- error: n ?? void 0,
790
- complete: i ?? void 0
791
- };
792
- else {
793
- var a;
794
- o && br.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
795
- return o.unsubscribe();
796
- }, s = {
797
- next: r.next && Ye(r.next, a),
798
- error: r.error && Ye(r.error, a),
799
- complete: r.complete && Ye(r.complete, a)
800
- }) : s = r;
801
- }
802
- return o.destination = new On(s), o;
783
+ return z(r) || !r ? s = {
784
+ next: r ?? void 0,
785
+ error: n ?? void 0,
786
+ complete: i ?? void 0
787
+ } : s = r, o.destination = new Bn(s), o;
803
788
  }
804
789
  return t;
805
- }(gr);
806
- function Me(e) {
807
- Mn(e);
790
+ }(pr);
791
+ function Pe(e) {
792
+ In(e);
808
793
  }
809
- function Ln(e) {
794
+ function Mn(e) {
810
795
  throw e;
811
796
  }
812
- var Nn = {
797
+ var Pn = {
813
798
  closed: !0,
814
- next: Tt,
815
- error: Ln,
816
- complete: Tt
817
- }, Rn = function() {
799
+ next: St,
800
+ error: Mn,
801
+ complete: St
802
+ }, On = function() {
818
803
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
819
804
  }();
820
- function Fn(e) {
805
+ function Ln(e) {
821
806
  return e;
822
807
  }
823
- function kn(e) {
824
- return e.length === 0 ? Fn : e.length === 1 ? e[0] : function(r) {
808
+ function Nn(e) {
809
+ return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
825
810
  return e.reduce(function(n, i) {
826
811
  return i(n);
827
812
  }, r);
828
813
  };
829
814
  }
830
- var At = function() {
815
+ var Ht = function() {
831
816
  function e(t) {
832
817
  t && (this._subscribe = t);
833
818
  }
@@ -835,8 +820,8 @@ var At = function() {
835
820
  var r = new e();
836
821
  return r.source = this, r.operator = t, r;
837
822
  }, e.prototype.subscribe = function(t, r, n) {
838
- var i = this, o = Un(t) ? t : new lt(t, r, n);
839
- return Le(function() {
823
+ var i = this, o = Fn(t) ? t : new lt(t, r, n);
824
+ return Ne(function() {
840
825
  var s = i, a = s.operator, l = s.source;
841
826
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
842
827
  }), o;
@@ -848,7 +833,7 @@ var At = function() {
848
833
  }
849
834
  }, e.prototype.forEach = function(t, r) {
850
835
  var n = this;
851
- return r = It(r), new r(function(i, o) {
836
+ return r = Tt(r), new r(function(i, o) {
852
837
  var s = new lt({
853
838
  next: function(a) {
854
839
  try {
@@ -865,15 +850,15 @@ var At = function() {
865
850
  }, e.prototype._subscribe = function(t) {
866
851
  var r;
867
852
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
868
- }, e.prototype[Rn] = function() {
853
+ }, e.prototype[On] = function() {
869
854
  return this;
870
855
  }, e.prototype.pipe = function() {
871
856
  for (var t = [], r = 0; r < arguments.length; r++)
872
857
  t[r] = arguments[r];
873
- return kn(t)(this);
858
+ return Nn(t)(this);
874
859
  }, e.prototype.toPromise = function(t) {
875
860
  var r = this;
876
- return t = It(t), new t(function(n, i) {
861
+ return t = Tt(t), new t(function(n, i) {
877
862
  var o;
878
863
  r.subscribe(function(s) {
879
864
  return o = s;
@@ -887,35 +872,35 @@ var At = function() {
887
872
  return new e(t);
888
873
  }, e;
889
874
  }();
890
- function It(e) {
875
+ function Tt(e) {
891
876
  var t;
892
- return (t = e ?? br.Promise) !== null && t !== void 0 ? t : Promise;
877
+ return (t = e ?? Tn.Promise) !== null && t !== void 0 ? t : Promise;
893
878
  }
894
- function Dn(e) {
895
- return e && Z(e.next) && Z(e.error) && Z(e.complete);
879
+ function Rn(e) {
880
+ return e && z(e.next) && z(e.error) && z(e.complete);
896
881
  }
897
- function Un(e) {
898
- return e && e instanceof gr || Dn(e) && mr(e);
882
+ function Fn(e) {
883
+ return e && e instanceof pr || Rn(e) && dr(e);
899
884
  }
900
- var Gn = dr(function(e) {
885
+ var kn = cr(function(e) {
901
886
  return function() {
902
887
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
903
888
  };
904
- }), yr = function(e) {
889
+ }), mr = function(e) {
905
890
  Q(t, e);
906
891
  function t() {
907
892
  var r = e.call(this) || this;
908
893
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
909
894
  }
910
895
  return t.prototype.lift = function(r) {
911
- var n = new Bt(this, this);
896
+ var n = new At(this, this);
912
897
  return n.operator = r, n;
913
898
  }, t.prototype._throwIfClosed = function() {
914
899
  if (this.closed)
915
- throw new Gn();
900
+ throw new kn();
916
901
  }, t.prototype.next = function(r) {
917
902
  var n = this;
918
- Le(function() {
903
+ Ne(function() {
919
904
  var i, o;
920
905
  if (n._throwIfClosed(), !n.isStopped) {
921
906
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -938,7 +923,7 @@ var Gn = dr(function(e) {
938
923
  });
939
924
  }, t.prototype.error = function(r) {
940
925
  var n = this;
941
- Le(function() {
926
+ Ne(function() {
942
927
  if (n._throwIfClosed(), !n.isStopped) {
943
928
  n.hasError = n.isStopped = !0, n.thrownError = r;
944
929
  for (var i = n.observers; i.length; )
@@ -947,7 +932,7 @@ var Gn = dr(function(e) {
947
932
  });
948
933
  }, t.prototype.complete = function() {
949
934
  var r = this;
950
- Le(function() {
935
+ Ne(function() {
951
936
  if (r._throwIfClosed(), !r.isStopped) {
952
937
  r.isStopped = !0;
953
938
  for (var n = r.observers; n.length; )
@@ -969,19 +954,19 @@ var Gn = dr(function(e) {
969
954
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
970
955
  }, t.prototype._innerSubscribe = function(r) {
971
956
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
972
- return o || s ? pr : (this.currentObservers = null, a.push(r), new Ue(function() {
957
+ return o || s ? fr : (this.currentObservers = null, a.push(r), new Ge(function() {
973
958
  n.currentObservers = null, at(a, r);
974
959
  }));
975
960
  }, t.prototype._checkFinalizedStatuses = function(r) {
976
961
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
977
962
  i ? r.error(o) : s && r.complete();
978
963
  }, t.prototype.asObservable = function() {
979
- var r = new At();
964
+ var r = new Ht();
980
965
  return r.source = this, r;
981
966
  }, t.create = function(r, n) {
982
- return new Bt(r, n);
967
+ return new At(r, n);
983
968
  }, t;
984
- }(At), Bt = function(e) {
969
+ }(Ht), At = function(e) {
985
970
  Q(t, e);
986
971
  function t(r, n) {
987
972
  var i = e.call(this) || this;
@@ -998,17 +983,17 @@ var Gn = dr(function(e) {
998
983
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
999
984
  }, t.prototype._subscribe = function(r) {
1000
985
  var n, i;
1001
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : pr;
986
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : fr;
1002
987
  }, t;
1003
- }(yr), vr = {
988
+ }(mr), br = {
1004
989
  now: function() {
1005
- return (vr.delegate || Date).now();
990
+ return (br.delegate || Date).now();
1006
991
  },
1007
992
  delegate: void 0
1008
- }, $n = function(e) {
993
+ }, Dn = function(e) {
1009
994
  Q(t, e);
1010
995
  function t(r, n, i) {
1011
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = vr);
996
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = br);
1012
997
  var o = e.call(this) || this;
1013
998
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1014
999
  }
@@ -1028,31 +1013,31 @@ var Gn = dr(function(e) {
1028
1013
  h && o.splice(0, h + 1);
1029
1014
  }
1030
1015
  }, t;
1031
- }(yr);
1032
- const Mt = [], Pt = {}, jn = (e, t = 0) => {
1033
- if (Mt.indexOf(e) == -1) {
1034
- const r = new $n(t);
1035
- Pt[e] = r, Mt.push(e);
1016
+ }(mr);
1017
+ const It = [], Bt = {}, Un = (e, t = 0) => {
1018
+ if (It.indexOf(e) == -1) {
1019
+ const r = new Dn(t);
1020
+ Bt[e] = r, It.push(e);
1036
1021
  }
1037
- return Pt[e];
1038
- }, oe = [];
1039
- function Vn(e, t) {
1022
+ return Bt[e];
1023
+ }, se = [];
1024
+ function Gn(e, t) {
1040
1025
  return {
1041
- subscribe: Ge(e, t).subscribe
1026
+ subscribe: $e(e, t).subscribe
1042
1027
  };
1043
1028
  }
1044
- function Ge(e, t = D) {
1029
+ function $e(e, t = D) {
1045
1030
  let r;
1046
1031
  const n = /* @__PURE__ */ new Set();
1047
1032
  function i(a) {
1048
- if (lr(e, a) && (e = a, r)) {
1049
- const l = !oe.length;
1033
+ if (sr(e, a) && (e = a, r)) {
1034
+ const l = !se.length;
1050
1035
  for (const h of n)
1051
- h[1](), oe.push(h, e);
1036
+ h[1](), se.push(h, e);
1052
1037
  if (l) {
1053
- for (let h = 0; h < oe.length; h += 2)
1054
- oe[h][0](oe[h + 1]);
1055
- oe.length = 0;
1038
+ for (let h = 0; h < se.length; h += 2)
1039
+ se[h][0](se[h + 1]);
1040
+ se.length = 0;
1056
1041
  }
1057
1042
  }
1058
1043
  }
@@ -1067,12 +1052,12 @@ function Ge(e, t = D) {
1067
1052
  }
1068
1053
  return { set: i, update: o, subscribe: s };
1069
1054
  }
1070
- function me(e, t, r) {
1055
+ function be(e, t, r) {
1071
1056
  const n = !Array.isArray(e), i = n ? [e] : e;
1072
1057
  if (!i.every(Boolean))
1073
1058
  throw new Error("derived() expects stores as input, got a falsy value");
1074
1059
  const o = t.length < 2;
1075
- return Vn(r, (s, a) => {
1060
+ return Gn(r, (s, a) => {
1076
1061
  let l = !1;
1077
1062
  const h = [];
1078
1063
  let u = 0, c = D;
@@ -1083,7 +1068,7 @@ function me(e, t, r) {
1083
1068
  const m = t(n ? h[0] : h, s, a);
1084
1069
  o ? s(m) : c = gt(m) ? m : D;
1085
1070
  }, b = i.map(
1086
- (m, g) => ln(
1071
+ (m, g) => on(
1087
1072
  m,
1088
1073
  (y) => {
1089
1074
  h[g] = y, u &= ~(1 << g), l && d();
@@ -1094,134 +1079,132 @@ function me(e, t, r) {
1094
1079
  )
1095
1080
  );
1096
1081
  return l = !0, d(), function() {
1097
- z(b), c(), l = !1;
1082
+ q(b), c(), l = !1;
1098
1083
  };
1099
1084
  });
1100
1085
  }
1101
- function Wn(e) {
1086
+ function $n(e) {
1102
1087
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1103
1088
  }
1104
- var Xn = function(t) {
1105
- return Zn(t) && !zn(t);
1089
+ var jn = function(t) {
1090
+ return Vn(t) && !Wn(t);
1106
1091
  };
1107
- function Zn(e) {
1092
+ function Vn(e) {
1108
1093
  return !!e && typeof e == "object";
1109
1094
  }
1110
- function zn(e) {
1095
+ function Wn(e) {
1111
1096
  var t = Object.prototype.toString.call(e);
1112
- return t === "[object RegExp]" || t === "[object Date]" || qn(e);
1097
+ return t === "[object RegExp]" || t === "[object Date]" || zn(e);
1113
1098
  }
1114
- var Qn = typeof Symbol == "function" && Symbol.for, Yn = Qn ? Symbol.for("react.element") : 60103;
1115
- function qn(e) {
1116
- return e.$$typeof === Yn;
1099
+ var Xn = typeof Symbol == "function" && Symbol.for, Zn = Xn ? Symbol.for("react.element") : 60103;
1100
+ function zn(e) {
1101
+ return e.$$typeof === Zn;
1117
1102
  }
1118
- function Jn(e) {
1103
+ function qn(e) {
1119
1104
  return Array.isArray(e) ? [] : {};
1120
1105
  }
1121
- function Se(e, t) {
1122
- return t.clone !== !1 && t.isMergeableObject(e) ? he(Jn(e), e, t) : e;
1106
+ function He(e, t) {
1107
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(qn(e), e, t) : e;
1123
1108
  }
1124
- function Kn(e, t, r) {
1109
+ function Qn(e, t, r) {
1125
1110
  return e.concat(t).map(function(n) {
1126
- return Se(n, r);
1111
+ return He(n, r);
1127
1112
  });
1128
1113
  }
1129
- function ei(e, t) {
1114
+ function Yn(e, t) {
1130
1115
  if (!t.customMerge)
1131
- return he;
1116
+ return ce;
1132
1117
  var r = t.customMerge(e);
1133
- return typeof r == "function" ? r : he;
1118
+ return typeof r == "function" ? r : ce;
1134
1119
  }
1135
- function ti(e) {
1120
+ function Jn(e) {
1136
1121
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1137
1122
  return Object.propertyIsEnumerable.call(e, t);
1138
1123
  }) : [];
1139
1124
  }
1140
- function Ot(e) {
1141
- return Object.keys(e).concat(ti(e));
1125
+ function Mt(e) {
1126
+ return Object.keys(e).concat(Jn(e));
1142
1127
  }
1143
- function _r(e, t) {
1128
+ function gr(e, t) {
1144
1129
  try {
1145
1130
  return t in e;
1146
1131
  } catch {
1147
1132
  return !1;
1148
1133
  }
1149
1134
  }
1150
- function ri(e, t) {
1151
- return _r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1135
+ function Kn(e, t) {
1136
+ return gr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1152
1137
  }
1153
- function ni(e, t, r) {
1138
+ function ei(e, t, r) {
1154
1139
  var n = {};
1155
- return r.isMergeableObject(e) && Ot(e).forEach(function(i) {
1156
- n[i] = Se(e[i], r);
1157
- }), Ot(t).forEach(function(i) {
1158
- ri(e, i) || (_r(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
1140
+ return r.isMergeableObject(e) && Mt(e).forEach(function(i) {
1141
+ n[i] = He(e[i], r);
1142
+ }), Mt(t).forEach(function(i) {
1143
+ Kn(e, i) || (gr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1159
1144
  }), n;
1160
1145
  }
1161
- function he(e, t, r) {
1162
- r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Se;
1146
+ function ce(e, t, r) {
1147
+ r = r || {}, r.arrayMerge = r.arrayMerge || Qn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = He;
1163
1148
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1164
- return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : Se(t, r);
1149
+ return o ? n ? r.arrayMerge(e, t, r) : ei(e, t, r) : He(t, r);
1165
1150
  }
1166
- he.all = function(t, r) {
1151
+ ce.all = function(t, r) {
1167
1152
  if (!Array.isArray(t))
1168
1153
  throw new Error("first argument should be an array");
1169
1154
  return t.reduce(function(n, i) {
1170
- return he(n, i, r);
1155
+ return ce(n, i, r);
1171
1156
  }, {});
1172
1157
  };
1173
- var ii = he, oi = ii;
1174
- const si = /* @__PURE__ */ Wn(oi);
1175
- function qe(e, t) {
1176
- var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : li;
1158
+ var ti = ce, ri = ti;
1159
+ const ni = /* @__PURE__ */ $n(ri);
1160
+ function Ye(e, t) {
1161
+ var r = t && t.cache ? t.cache : hi, n = t && t.serializer ? t.serializer : li, i = t && t.strategy ? t.strategy : si;
1177
1162
  return i(e, {
1178
1163
  cache: r,
1179
1164
  serializer: n
1180
1165
  });
1181
1166
  }
1182
- function ai(e) {
1167
+ function ii(e) {
1183
1168
  return e == null || typeof e == "number" || typeof e == "boolean";
1184
1169
  }
1185
- function Er(e, t, r, n) {
1186
- var i = ai(n) ? n : r(n), o = t.get(i);
1170
+ function oi(e, t, r, n) {
1171
+ var i = ii(n) ? n : r(n), o = t.get(i);
1187
1172
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1188
1173
  }
1189
- function Cr(e, t, r) {
1174
+ function yr(e, t, r) {
1190
1175
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1191
1176
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1192
1177
  }
1193
- function yt(e, t, r, n, i) {
1178
+ function vr(e, t, r, n, i) {
1194
1179
  return r.bind(t, e, n, i);
1195
1180
  }
1196
- function li(e, t) {
1197
- var r = e.length === 1 ? Er : Cr;
1198
- return yt(e, this, r, t.cache.create(), t.serializer);
1181
+ function si(e, t) {
1182
+ var r = e.length === 1 ? oi : yr;
1183
+ return vr(e, this, r, t.cache.create(), t.serializer);
1199
1184
  }
1200
- function ui(e, t) {
1201
- return yt(e, this, Cr, t.cache.create(), t.serializer);
1185
+ function ai(e, t) {
1186
+ return vr(e, this, yr, t.cache.create(), t.serializer);
1202
1187
  }
1203
- function hi(e, t) {
1204
- return yt(e, this, Er, t.cache.create(), t.serializer);
1205
- }
1206
- var ci = function() {
1188
+ var li = function() {
1207
1189
  return JSON.stringify(arguments);
1208
- };
1209
- function vt() {
1210
- this.cache = /* @__PURE__ */ Object.create(null);
1211
- }
1212
- vt.prototype.get = function(e) {
1213
- return this.cache[e];
1214
- };
1215
- vt.prototype.set = function(e, t) {
1216
- this.cache[e] = t;
1217
- };
1218
- var fi = {
1190
+ }, ui = (
1191
+ /** @class */
1192
+ function() {
1193
+ function e() {
1194
+ this.cache = /* @__PURE__ */ Object.create(null);
1195
+ }
1196
+ return e.prototype.get = function(t) {
1197
+ return this.cache[t];
1198
+ }, e.prototype.set = function(t, r) {
1199
+ this.cache[t] = r;
1200
+ }, e;
1201
+ }()
1202
+ ), hi = {
1219
1203
  create: function() {
1220
- return new vt();
1204
+ return new ui();
1221
1205
  }
1222
1206
  }, Je = {
1223
- variadic: ui,
1224
- monadic: hi
1207
+ variadic: ai
1225
1208
  }, v;
1226
1209
  (function(e) {
1227
1210
  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";
@@ -1230,47 +1213,47 @@ var S;
1230
1213
  (function(e) {
1231
1214
  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";
1232
1215
  })(S || (S = {}));
1233
- var ce;
1216
+ var fe;
1234
1217
  (function(e) {
1235
1218
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1236
- })(ce || (ce = {}));
1237
- function Lt(e) {
1219
+ })(fe || (fe = {}));
1220
+ function Pt(e) {
1238
1221
  return e.type === S.literal;
1239
1222
  }
1240
- function di(e) {
1223
+ function ci(e) {
1241
1224
  return e.type === S.argument;
1242
1225
  }
1243
- function wr(e) {
1226
+ function _r(e) {
1244
1227
  return e.type === S.number;
1245
1228
  }
1246
- function xr(e) {
1229
+ function Er(e) {
1247
1230
  return e.type === S.date;
1248
1231
  }
1249
- function Sr(e) {
1232
+ function Cr(e) {
1250
1233
  return e.type === S.time;
1251
1234
  }
1252
- function Hr(e) {
1235
+ function wr(e) {
1253
1236
  return e.type === S.select;
1254
1237
  }
1255
- function Tr(e) {
1238
+ function xr(e) {
1256
1239
  return e.type === S.plural;
1257
1240
  }
1258
- function pi(e) {
1241
+ function fi(e) {
1259
1242
  return e.type === S.pound;
1260
1243
  }
1261
- function Ar(e) {
1244
+ function Sr(e) {
1262
1245
  return e.type === S.tag;
1263
1246
  }
1264
- function Ir(e) {
1265
- return !!(e && typeof e == "object" && e.type === ce.number);
1247
+ function Hr(e) {
1248
+ return !!(e && typeof e == "object" && e.type === fe.number);
1266
1249
  }
1267
1250
  function ut(e) {
1268
- return !!(e && typeof e == "object" && e.type === ce.dateTime);
1251
+ return !!(e && typeof e == "object" && e.type === fe.dateTime);
1269
1252
  }
1270
- var Br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mi = /(?:[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;
1271
- function bi(e) {
1253
+ var Tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[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;
1254
+ function pi(e) {
1272
1255
  var t = {};
1273
- return e.replace(mi, function(r) {
1256
+ return e.replace(di, function(r) {
1274
1257
  var n = r.length;
1275
1258
  switch (r[0]) {
1276
1259
  case "G":
@@ -1359,11 +1342,11 @@ function bi(e) {
1359
1342
  return "";
1360
1343
  }), t;
1361
1344
  }
1362
- var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1363
- function yi(e) {
1345
+ var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1346
+ function bi(e) {
1364
1347
  if (e.length === 0)
1365
1348
  throw new Error("Number skeleton cannot be empty");
1366
- for (var t = e.split(gi).filter(function(d) {
1349
+ for (var t = e.split(mi).filter(function(d) {
1367
1350
  return d.length > 0;
1368
1351
  }), r = [], n = 0, i = t; n < i.length; n++) {
1369
1352
  var o = i[n], s = o.split("/");
@@ -1378,17 +1361,17 @@ function yi(e) {
1378
1361
  }
1379
1362
  return r;
1380
1363
  }
1381
- function vi(e) {
1364
+ function gi(e) {
1382
1365
  return e.replace(/^(.*?)-/, "");
1383
1366
  }
1384
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mr = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, Pr = /^(0+)$/;
1385
- function Rt(e) {
1367
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ar = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Ir = /^(0+)$/;
1368
+ function Lt(e) {
1386
1369
  var t = {};
1387
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mr, function(r, n, i) {
1370
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ar, function(r, n, i) {
1388
1371
  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)), "";
1389
1372
  }), t;
1390
1373
  }
1391
- function Or(e) {
1374
+ function Br(e) {
1392
1375
  switch (e) {
1393
1376
  case "sign-auto":
1394
1377
  return {
@@ -1428,7 +1411,7 @@ function Or(e) {
1428
1411
  };
1429
1412
  }
1430
1413
  }
1431
- function Ei(e) {
1414
+ function vi(e) {
1432
1415
  var t;
1433
1416
  if (e[0] === "E" && e[1] === "E" ? (t = {
1434
1417
  notation: "engineering"
@@ -1436,17 +1419,17 @@ function Ei(e) {
1436
1419
  notation: "scientific"
1437
1420
  }, e = e.slice(1)), t) {
1438
1421
  var r = e.slice(0, 2);
1439
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pr.test(e))
1422
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ir.test(e))
1440
1423
  throw new Error("Malformed concise eng/scientific notation");
1441
1424
  t.minimumIntegerDigits = e.length;
1442
1425
  }
1443
1426
  return t;
1444
1427
  }
1445
- function Ft(e) {
1446
- var t = {}, r = Or(e);
1428
+ function Nt(e) {
1429
+ var t = {}, r = Br(e);
1447
1430
  return r || t;
1448
1431
  }
1449
- function Ci(e) {
1432
+ function _i(e) {
1450
1433
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1451
1434
  var i = n[r];
1452
1435
  switch (i.stem) {
@@ -1470,7 +1453,7 @@ function Ci(e) {
1470
1453
  continue;
1471
1454
  case "measure-unit":
1472
1455
  case "unit":
1473
- t.style = "unit", t.unit = vi(i.options[0]);
1456
+ t.style = "unit", t.unit = gi(i.options[0]);
1474
1457
  continue;
1475
1458
  case "compact-short":
1476
1459
  case "K":
@@ -1482,12 +1465,12 @@ function Ci(e) {
1482
1465
  continue;
1483
1466
  case "scientific":
1484
1467
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
1485
- return E(E({}, l), Ft(h));
1468
+ return E(E({}, l), Nt(h));
1486
1469
  }, {}));
1487
1470
  continue;
1488
1471
  case "engineering":
1489
1472
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
1490
- return E(E({}, l), Ft(h));
1473
+ return E(E({}, l), Nt(h));
1491
1474
  }, {}));
1492
1475
  continue;
1493
1476
  case "notation-simple":
@@ -1532,7 +1515,7 @@ function Ci(e) {
1532
1515
  case "integer-width":
1533
1516
  if (i.options.length > 1)
1534
1517
  throw new RangeError("integer-width stems only accept a single optional option");
1535
- i.options[0].replace(_i, function(l, h, u, c, d, b) {
1518
+ i.options[0].replace(yi, function(l, h, u, c, d, b) {
1536
1519
  if (h)
1537
1520
  t.minimumIntegerDigits = u.length;
1538
1521
  else {
@@ -1545,32 +1528,32 @@ function Ci(e) {
1545
1528
  });
1546
1529
  continue;
1547
1530
  }
1548
- if (Pr.test(i.stem)) {
1531
+ if (Ir.test(i.stem)) {
1549
1532
  t.minimumIntegerDigits = i.stem.length;
1550
1533
  continue;
1551
1534
  }
1552
- if (Nt.test(i.stem)) {
1535
+ if (Ot.test(i.stem)) {
1553
1536
  if (i.options.length > 1)
1554
1537
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1555
- i.stem.replace(Nt, function(l, h, u, c, d, b) {
1538
+ i.stem.replace(Ot, function(l, h, u, c, d, b) {
1556
1539
  return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1557
1540
  });
1558
1541
  var o = i.options[0];
1559
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Rt(o)));
1542
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Lt(o)));
1560
1543
  continue;
1561
1544
  }
1562
- if (Mr.test(i.stem)) {
1563
- t = E(E({}, t), Rt(i.stem));
1545
+ if (Ar.test(i.stem)) {
1546
+ t = E(E({}, t), Lt(i.stem));
1564
1547
  continue;
1565
1548
  }
1566
- var s = Or(i.stem);
1549
+ var s = Br(i.stem);
1567
1550
  s && (t = E(E({}, t), s));
1568
- var a = Ei(i.stem);
1551
+ var a = vi(i.stem);
1569
1552
  a && (t = E(E({}, t), a));
1570
1553
  }
1571
1554
  return t;
1572
1555
  }
1573
- var Pe = {
1556
+ var Oe = {
1574
1557
  "001": [
1575
1558
  "H",
1576
1559
  "h"
@@ -2985,13 +2968,13 @@ var Pe = {
2985
2968
  "h"
2986
2969
  ]
2987
2970
  };
2988
- function wi(e, t) {
2971
+ function Ei(e, t) {
2989
2972
  for (var r = "", n = 0; n < e.length; n++) {
2990
2973
  var i = e.charAt(n);
2991
2974
  if (i === "j") {
2992
2975
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2993
2976
  o++, n++;
2994
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = xi(t);
2977
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = Ci(t);
2995
2978
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2996
2979
  r += l;
2997
2980
  for (; s-- > 0; )
@@ -3001,7 +2984,7 @@ function wi(e, t) {
3001
2984
  }
3002
2985
  return r;
3003
2986
  }
3004
- function xi(e) {
2987
+ function Ci(e) {
3005
2988
  var t = e.hourCycle;
3006
2989
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3007
2990
  e.hourCycles && // @ts-ignore
@@ -3020,23 +3003,23 @@ function xi(e) {
3020
3003
  }
3021
3004
  var r = e.language, n;
3022
3005
  r !== "root" && (n = e.maximize().region);
3023
- var i = Pe[n || ""] || Pe[r || ""] || Pe["".concat(r, "-001")] || Pe["001"];
3006
+ var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3024
3007
  return i[0];
3025
3008
  }
3026
- var Ke, Si = new RegExp("^".concat(Br.source, "*")), Hi = new RegExp("".concat(Br.source, "*$"));
3009
+ var Ke, wi = new RegExp("^".concat(Tr.source, "*")), xi = new RegExp("".concat(Tr.source, "*$"));
3027
3010
  function _(e, t) {
3028
3011
  return { start: e, end: t };
3029
3012
  }
3030
- var Ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ai = !!String.fromCodePoint, Ii = !!Object.fromEntries, Bi = !!String.prototype.codePointAt, Mi = !!String.prototype.trimStart, Pi = !!String.prototype.trimEnd, Oi = !!Number.isSafeInteger, Li = Oi ? Number.isSafeInteger : function(e) {
3013
+ var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Ti = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Bi = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Pi = Mi ? Number.isSafeInteger : function(e) {
3031
3014
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3032
3015
  }, ht = !0;
3033
3016
  try {
3034
- var Ni = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3035
- ht = ((Ke = Ni.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3017
+ var Oi = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3018
+ ht = ((Ke = Oi.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
3036
3019
  } catch {
3037
3020
  ht = !1;
3038
3021
  }
3039
- var kt = Ti ? (
3022
+ var Rt = Si ? (
3040
3023
  // Native
3041
3024
  function(t, r, n) {
3042
3025
  return t.startsWith(r, n);
@@ -3046,7 +3029,7 @@ var kt = Ti ? (
3046
3029
  function(t, r, n) {
3047
3030
  return t.slice(n, n + r.length) === r;
3048
3031
  }
3049
- ), ct = Ai ? String.fromCodePoint : (
3032
+ ), ct = Hi ? String.fromCodePoint : (
3050
3033
  // IE11
3051
3034
  function() {
3052
3035
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3058,9 +3041,9 @@ var kt = Ti ? (
3058
3041
  }
3059
3042
  return n;
3060
3043
  }
3061
- ), Dt = (
3044
+ ), Ft = (
3062
3045
  // native
3063
- Ii ? Object.fromEntries : (
3046
+ Ti ? Object.fromEntries : (
3064
3047
  // Ponyfill
3065
3048
  function(t) {
3066
3049
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3070,7 +3053,7 @@ var kt = Ti ? (
3070
3053
  return r;
3071
3054
  }
3072
3055
  )
3073
- ), Lr = Bi ? (
3056
+ ), Mr = Ai ? (
3074
3057
  // Native
3075
3058
  function(t, r) {
3076
3059
  return t.codePointAt(r);
@@ -3084,7 +3067,7 @@ var kt = Ti ? (
3084
3067
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3085
3068
  }
3086
3069
  }
3087
- ), Ri = Mi ? (
3070
+ ), Li = Ii ? (
3088
3071
  // Native
3089
3072
  function(t) {
3090
3073
  return t.trimStart();
@@ -3092,9 +3075,9 @@ var kt = Ti ? (
3092
3075
  ) : (
3093
3076
  // Ponyfill
3094
3077
  function(t) {
3095
- return t.replace(Si, "");
3078
+ return t.replace(wi, "");
3096
3079
  }
3097
- ), Fi = Pi ? (
3080
+ ), Ni = Bi ? (
3098
3081
  // Native
3099
3082
  function(t) {
3100
3083
  return t.trimEnd();
@@ -3102,32 +3085,32 @@ var kt = Ti ? (
3102
3085
  ) : (
3103
3086
  // Ponyfill
3104
3087
  function(t) {
3105
- return t.replace(Hi, "");
3088
+ return t.replace(xi, "");
3106
3089
  }
3107
3090
  );
3108
- function Nr(e, t) {
3091
+ function Pr(e, t) {
3109
3092
  return new RegExp(e, t);
3110
3093
  }
3111
3094
  var ft;
3112
3095
  if (ht) {
3113
- var Ut = Nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3096
+ var kt = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
3097
  ft = function(t, r) {
3115
3098
  var n;
3116
- Ut.lastIndex = r;
3117
- var i = Ut.exec(t);
3099
+ kt.lastIndex = r;
3100
+ var i = kt.exec(t);
3118
3101
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3119
3102
  };
3120
3103
  } else
3121
3104
  ft = function(t, r) {
3122
3105
  for (var n = []; ; ) {
3123
- var i = Lr(t, r);
3124
- if (i === void 0 || Rr(i) || Gi(i))
3106
+ var i = Mr(t, r);
3107
+ if (i === void 0 || Or(i) || Di(i))
3125
3108
  break;
3126
3109
  n.push(i), r += i >= 65536 ? 2 : 1;
3127
3110
  }
3128
3111
  return ct.apply(void 0, n);
3129
3112
  };
3130
- var ki = (
3113
+ var Ri = (
3131
3114
  /** @class */
3132
3115
  function() {
3133
3116
  function e(t, r) {
@@ -3209,7 +3192,7 @@ var ki = (
3209
3192
  return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3210
3193
  }, e.prototype.parseTagName = function() {
3211
3194
  var t = this.offset();
3212
- for (this.bump(); !this.isEOF() && Ui(this.char()); )
3195
+ for (this.bump(); !this.isEOF() && ki(this.char()); )
3213
3196
  this.bump();
3214
3197
  return this.message.slice(t, this.offset());
3215
3198
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3238,7 +3221,7 @@ var ki = (
3238
3221
  };
3239
3222
  }, e.prototype.tryParseLeftAngleBracket = function() {
3240
3223
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3241
- !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
3224
+ !Fi(this.peek() || 0)) ? (this.bump(), "<") : null;
3242
3225
  }, e.prototype.tryParseQuote = function(t) {
3243
3226
  if (this.isEOF() || this.char() !== 39)
3244
3227
  return null;
@@ -3325,7 +3308,7 @@ var ki = (
3325
3308
  var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3326
3309
  if (c.err)
3327
3310
  return c;
3328
- var d = Fi(c.val);
3311
+ var d = Ni(c.val);
3329
3312
  if (d.length === 0)
3330
3313
  return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3331
3314
  var b = _(u, this.clonePosition());
@@ -3335,8 +3318,8 @@ var ki = (
3335
3318
  if (m.err)
3336
3319
  return m;
3337
3320
  var g = _(i, this.clonePosition());
3338
- if (h && kt(h?.style, "::", 0)) {
3339
- var y = Ri(h.style.slice(2));
3321
+ if (h && Rt(h?.style, "::", 0)) {
3322
+ var y = Li(h.style.slice(2));
3340
3323
  if (a === "number") {
3341
3324
  var c = this.parseNumberSkeletonFromString(y, h.styleLocation);
3342
3325
  return c.err ? c : {
@@ -3347,12 +3330,12 @@ var ki = (
3347
3330
  if (y.length === 0)
3348
3331
  return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
3349
3332
  var x = y;
3350
- this.locale && (x = wi(y, this.locale));
3333
+ this.locale && (x = Ei(y, this.locale));
3351
3334
  var d = {
3352
- type: ce.dateTime,
3335
+ type: fe.dateTime,
3353
3336
  pattern: x,
3354
3337
  location: h.styleLocation,
3355
- parsedOptions: this.shouldParseSkeletons ? bi(x) : {}
3338
+ parsedOptions: this.shouldParseSkeletons ? pi(x) : {}
3356
3339
  }, I = a === "date" ? S.date : S.time;
3357
3340
  return {
3358
3341
  val: { type: I, value: n, location: g, style: d },
@@ -3398,7 +3381,7 @@ var ki = (
3398
3381
  val: {
3399
3382
  type: S.select,
3400
3383
  value: n,
3401
- options: Dt(j.val),
3384
+ options: Ft(j.val),
3402
3385
  location: T
3403
3386
  },
3404
3387
  err: null
@@ -3406,7 +3389,7 @@ var ki = (
3406
3389
  val: {
3407
3390
  type: S.plural,
3408
3391
  value: n,
3409
- options: Dt(j.val),
3392
+ options: Ft(j.val),
3410
3393
  offset: F,
3411
3394
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3412
3395
  location: T
@@ -3457,16 +3440,16 @@ var ki = (
3457
3440
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3458
3441
  var n = [];
3459
3442
  try {
3460
- n = yi(t);
3443
+ n = bi(t);
3461
3444
  } catch {
3462
3445
  return this.error(v.INVALID_NUMBER_SKELETON, r);
3463
3446
  }
3464
3447
  return {
3465
3448
  val: {
3466
- type: ce.number,
3449
+ type: fe.number,
3467
3450
  tokens: n,
3468
3451
  location: r,
3469
- parsedOptions: this.shouldParseSkeletons ? Ci(n) : {}
3452
+ parsedOptions: this.shouldParseSkeletons ? _i(n) : {}
3470
3453
  },
3471
3454
  err: null
3472
3455
  };
@@ -3514,7 +3497,7 @@ var ki = (
3514
3497
  break;
3515
3498
  }
3516
3499
  var l = _(i, this.clonePosition());
3517
- return o ? (s *= n, Li(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3500
+ return o ? (s *= n, Pi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3518
3501
  }, e.prototype.offset = function() {
3519
3502
  return this.position.offset;
3520
3503
  }, e.prototype.isEOF = function() {
@@ -3529,7 +3512,7 @@ var ki = (
3529
3512
  var t = this.position.offset;
3530
3513
  if (t >= this.message.length)
3531
3514
  throw Error("out of bound");
3532
- var r = Lr(this.message, t);
3515
+ var r = Mr(this.message, t);
3533
3516
  if (r === void 0)
3534
3517
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3535
3518
  return r;
@@ -3548,7 +3531,7 @@ var ki = (
3548
3531
  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);
3549
3532
  }
3550
3533
  }, e.prototype.bumpIf = function(t) {
3551
- if (kt(this.message, t, this.offset())) {
3534
+ if (Rt(this.message, t, this.offset())) {
3552
3535
  for (var r = 0; r < t.length; r++)
3553
3536
  this.bump();
3554
3537
  return !0;
@@ -3570,7 +3553,7 @@ var ki = (
3570
3553
  break;
3571
3554
  }
3572
3555
  }, e.prototype.bumpSpace = function() {
3573
- for (; !this.isEOF() && Rr(this.char()); )
3556
+ for (; !this.isEOF() && Or(this.char()); )
3574
3557
  this.bump();
3575
3558
  }, e.prototype.peek = function() {
3576
3559
  if (this.isEOF())
@@ -3583,41 +3566,41 @@ var ki = (
3583
3566
  function dt(e) {
3584
3567
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3585
3568
  }
3586
- function Di(e) {
3569
+ function Fi(e) {
3587
3570
  return dt(e) || e === 47;
3588
3571
  }
3589
- function Ui(e) {
3572
+ function ki(e) {
3590
3573
  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;
3591
3574
  }
3592
- function Rr(e) {
3575
+ function Or(e) {
3593
3576
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3594
3577
  }
3595
- function Gi(e) {
3578
+ function Di(e) {
3596
3579
  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;
3597
3580
  }
3598
3581
  function pt(e) {
3599
3582
  e.forEach(function(t) {
3600
- if (delete t.location, Hr(t) || Tr(t))
3583
+ if (delete t.location, wr(t) || xr(t))
3601
3584
  for (var r in t.options)
3602
3585
  delete t.options[r].location, pt(t.options[r].value);
3603
3586
  else
3604
- wr(t) && Ir(t.style) || (xr(t) || Sr(t)) && ut(t.style) ? delete t.style.location : Ar(t) && pt(t.children);
3587
+ _r(t) && Hr(t.style) || (Er(t) || Cr(t)) && ut(t.style) ? delete t.style.location : Sr(t) && pt(t.children);
3605
3588
  });
3606
3589
  }
3607
- function $i(e, t) {
3590
+ function Ui(e, t) {
3608
3591
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3609
- var r = new ki(e, t).parse();
3592
+ var r = new Ri(e, t).parse();
3610
3593
  if (r.err) {
3611
3594
  var n = SyntaxError(v[r.err.kind]);
3612
3595
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3613
3596
  }
3614
3597
  return t?.captureLocation || pt(r.val), r.val;
3615
3598
  }
3616
- var fe;
3599
+ var de;
3617
3600
  (function(e) {
3618
3601
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3619
- })(fe || (fe = {}));
3620
- var $e = (
3602
+ })(de || (de = {}));
3603
+ var je = (
3621
3604
  /** @class */
3622
3605
  function(e) {
3623
3606
  Q(t, e);
@@ -3629,48 +3612,48 @@ var $e = (
3629
3612
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3630
3613
  }, t;
3631
3614
  }(Error)
3632
- ), Gt = (
3615
+ ), Dt = (
3633
3616
  /** @class */
3634
3617
  function(e) {
3635
3618
  Q(t, e);
3636
3619
  function t(r, n, i, o) {
3637
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
3620
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3638
3621
  }
3639
3622
  return t;
3640
- }($e)
3641
- ), ji = (
3623
+ }(je)
3624
+ ), Gi = (
3642
3625
  /** @class */
3643
3626
  function(e) {
3644
3627
  Q(t, e);
3645
3628
  function t(r, n, i) {
3646
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3629
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3647
3630
  }
3648
3631
  return t;
3649
- }($e)
3650
- ), Vi = (
3632
+ }(je)
3633
+ ), $i = (
3651
3634
  /** @class */
3652
3635
  function(e) {
3653
3636
  Q(t, e);
3654
3637
  function t(r, n) {
3655
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3638
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3656
3639
  }
3657
3640
  return t;
3658
- }($e)
3641
+ }(je)
3659
3642
  ), R;
3660
3643
  (function(e) {
3661
3644
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3662
3645
  })(R || (R = {}));
3663
- function Wi(e) {
3646
+ function ji(e) {
3664
3647
  return e.length < 2 ? e : e.reduce(function(t, r) {
3665
3648
  var n = t[t.length - 1];
3666
3649
  return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3667
3650
  }, []);
3668
3651
  }
3669
- function Xi(e) {
3652
+ function Vi(e) {
3670
3653
  return typeof e == "function";
3671
3654
  }
3672
- function Ne(e, t, r, n, i, o, s) {
3673
- if (e.length === 1 && Lt(e[0]))
3655
+ function Re(e, t, r, n, i, o, s) {
3656
+ if (e.length === 1 && Pt(e[0]))
3674
3657
  return [
3675
3658
  {
3676
3659
  type: R.literal,
@@ -3679,14 +3662,14 @@ function Ne(e, t, r, n, i, o, s) {
3679
3662
  ];
3680
3663
  for (var a = [], l = 0, h = e; l < h.length; l++) {
3681
3664
  var u = h[l];
3682
- if (Lt(u)) {
3665
+ if (Pt(u)) {
3683
3666
  a.push({
3684
3667
  type: R.literal,
3685
3668
  value: u.value
3686
3669
  });
3687
3670
  continue;
3688
3671
  }
3689
- if (pi(u)) {
3672
+ if (fi(u)) {
3690
3673
  typeof o == "number" && a.push({
3691
3674
  type: R.literal,
3692
3675
  value: r.getNumberFormat(t).format(o)
@@ -3695,16 +3678,16 @@ function Ne(e, t, r, n, i, o, s) {
3695
3678
  }
3696
3679
  var c = u.value;
3697
3680
  if (!(i && c in i))
3698
- throw new Vi(c, s);
3681
+ throw new $i(c, s);
3699
3682
  var d = i[c];
3700
- if (di(u)) {
3683
+ if (ci(u)) {
3701
3684
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3702
3685
  type: typeof d == "string" ? R.literal : R.object,
3703
3686
  value: d
3704
3687
  });
3705
3688
  continue;
3706
3689
  }
3707
- if (xr(u)) {
3690
+ if (Er(u)) {
3708
3691
  var b = typeof u.style == "string" ? n.date[u.style] : ut(u.style) ? u.style.parsedOptions : void 0;
3709
3692
  a.push({
3710
3693
  type: R.literal,
@@ -3712,7 +3695,7 @@ function Ne(e, t, r, n, i, o, s) {
3712
3695
  });
3713
3696
  continue;
3714
3697
  }
3715
- if (Sr(u)) {
3698
+ if (Cr(u)) {
3716
3699
  var b = typeof u.style == "string" ? n.time[u.style] : ut(u.style) ? u.style.parsedOptions : n.time.medium;
3717
3700
  a.push({
3718
3701
  type: R.literal,
@@ -3720,19 +3703,19 @@ function Ne(e, t, r, n, i, o, s) {
3720
3703
  });
3721
3704
  continue;
3722
3705
  }
3723
- if (wr(u)) {
3724
- var b = typeof u.style == "string" ? n.number[u.style] : Ir(u.style) ? u.style.parsedOptions : void 0;
3706
+ if (_r(u)) {
3707
+ var b = typeof u.style == "string" ? n.number[u.style] : Hr(u.style) ? u.style.parsedOptions : void 0;
3725
3708
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3726
3709
  type: R.literal,
3727
3710
  value: r.getNumberFormat(t, b).format(d)
3728
3711
  });
3729
3712
  continue;
3730
3713
  }
3731
- if (Ar(u)) {
3714
+ if (Sr(u)) {
3732
3715
  var m = u.children, g = u.value, y = i[g];
3733
- if (!Xi(y))
3734
- throw new ji(g, "function", s);
3735
- var x = Ne(m, t, r, n, i, o), I = y(x.map(function(F) {
3716
+ if (!Vi(y))
3717
+ throw new Gi(g, "function", s);
3718
+ var x = Re(m, t, r, n, i, o), I = y(x.map(function(F) {
3736
3719
  return F.value;
3737
3720
  }));
3738
3721
  Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(F) {
@@ -3742,39 +3725,39 @@ function Ne(e, t, r, n, i, o, s) {
3742
3725
  };
3743
3726
  }));
3744
3727
  }
3745
- if (Hr(u)) {
3728
+ if (wr(u)) {
3746
3729
  var N = u.options[d] || u.options.other;
3747
3730
  if (!N)
3748
- throw new Gt(u.value, d, Object.keys(u.options), s);
3749
- a.push.apply(a, Ne(N.value, t, r, n, i));
3731
+ throw new Dt(u.value, d, Object.keys(u.options), s);
3732
+ a.push.apply(a, Re(N.value, t, r, n, i));
3750
3733
  continue;
3751
3734
  }
3752
- if (Tr(u)) {
3735
+ if (xr(u)) {
3753
3736
  var N = u.options["=".concat(d)];
3754
3737
  if (!N) {
3755
3738
  if (!Intl.PluralRules)
3756
- throw new $e(`Intl.PluralRules is not available in this environment.
3739
+ throw new je(`Intl.PluralRules is not available in this environment.
3757
3740
  Try polyfilling it using "@formatjs/intl-pluralrules"
3758
- `, fe.MISSING_INTL_API, s);
3741
+ `, de.MISSING_INTL_API, s);
3759
3742
  var $ = r.getPluralRules(t, { type: u.pluralType }).select(d - (u.offset || 0));
3760
3743
  N = u.options[$] || u.options.other;
3761
3744
  }
3762
3745
  if (!N)
3763
- throw new Gt(u.value, d, Object.keys(u.options), s);
3764
- a.push.apply(a, Ne(N.value, t, r, n, i, d - (u.offset || 0)));
3746
+ throw new Dt(u.value, d, Object.keys(u.options), s);
3747
+ a.push.apply(a, Re(N.value, t, r, n, i, d - (u.offset || 0)));
3765
3748
  continue;
3766
3749
  }
3767
3750
  }
3768
- return Wi(a);
3751
+ return ji(a);
3769
3752
  }
3770
- function Zi(e, t) {
3753
+ function Wi(e, t) {
3771
3754
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3772
3755
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3773
3756
  }, {})) : e;
3774
3757
  }
3775
- function zi(e, t) {
3758
+ function Xi(e, t) {
3776
3759
  return t ? Object.keys(e).reduce(function(r, n) {
3777
- return r[n] = Zi(e[n], t[n]), r;
3760
+ return r[n] = Wi(e[n], t[n]), r;
3778
3761
  }, E({}, e)) : e;
3779
3762
  }
3780
3763
  function et(e) {
@@ -3791,39 +3774,39 @@ function et(e) {
3791
3774
  }
3792
3775
  };
3793
3776
  }
3794
- function Qi(e) {
3777
+ function Zi(e) {
3795
3778
  return e === void 0 && (e = {
3796
3779
  number: {},
3797
3780
  dateTime: {},
3798
3781
  pluralRules: {}
3799
3782
  }), {
3800
- getNumberFormat: qe(function() {
3783
+ getNumberFormat: Ye(function() {
3801
3784
  for (var t, r = [], n = 0; n < arguments.length; n++)
3802
3785
  r[n] = arguments[n];
3803
- return new ((t = Intl.NumberFormat).bind.apply(t, le([void 0], r, !1)))();
3786
+ return new ((t = Intl.NumberFormat).bind.apply(t, ue([void 0], r, !1)))();
3804
3787
  }, {
3805
3788
  cache: et(e.number),
3806
3789
  strategy: Je.variadic
3807
3790
  }),
3808
- getDateTimeFormat: qe(function() {
3791
+ getDateTimeFormat: Ye(function() {
3809
3792
  for (var t, r = [], n = 0; n < arguments.length; n++)
3810
3793
  r[n] = arguments[n];
3811
- return new ((t = Intl.DateTimeFormat).bind.apply(t, le([void 0], r, !1)))();
3794
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ue([void 0], r, !1)))();
3812
3795
  }, {
3813
3796
  cache: et(e.dateTime),
3814
3797
  strategy: Je.variadic
3815
3798
  }),
3816
- getPluralRules: qe(function() {
3799
+ getPluralRules: Ye(function() {
3817
3800
  for (var t, r = [], n = 0; n < arguments.length; n++)
3818
3801
  r[n] = arguments[n];
3819
- return new ((t = Intl.PluralRules).bind.apply(t, le([void 0], r, !1)))();
3802
+ return new ((t = Intl.PluralRules).bind.apply(t, ue([void 0], r, !1)))();
3820
3803
  }, {
3821
3804
  cache: et(e.pluralRules),
3822
3805
  strategy: Je.variadic
3823
3806
  })
3824
3807
  };
3825
3808
  }
3826
- var Yi = (
3809
+ var zi = (
3827
3810
  /** @class */
3828
3811
  function() {
3829
3812
  function e(t, r, n, i) {
@@ -3842,7 +3825,7 @@ var Yi = (
3842
3825
  }, []);
3843
3826
  return u.length <= 1 ? u[0] || "" : u;
3844
3827
  }, this.formatToParts = function(l) {
3845
- return Ne(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3828
+ return Re(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3846
3829
  }, this.resolvedOptions = function() {
3847
3830
  var l;
3848
3831
  return {
@@ -3855,13 +3838,13 @@ var Yi = (
3855
3838
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3856
3839
  var s = i || {};
3857
3840
  s.formatters;
3858
- var a = In(s, ["formatters"]);
3841
+ var a = Hn(s, ["formatters"]);
3859
3842
  this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3860
3843
  } else
3861
3844
  this.ast = t;
3862
3845
  if (!Array.isArray(this.ast))
3863
3846
  throw new TypeError("A message must be provided as a String or AST.");
3864
- this.formats = zi(e.formats, n), this.formatters = i && i.formatters || Qi(this.formatterCache);
3847
+ this.formats = Xi(e.formats, n), this.formatters = i && i.formatters || Zi(this.formatterCache);
3865
3848
  }
3866
3849
  return Object.defineProperty(e, "defaultLocale", {
3867
3850
  get: function() {
@@ -3874,7 +3857,7 @@ var Yi = (
3874
3857
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3875
3858
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3876
3859
  }
3877
- }, e.__parse = $i, e.formats = {
3860
+ }, e.__parse = Ui, e.formats = {
3878
3861
  number: {
3879
3862
  integer: {
3880
3863
  maximumFractionDigits: 0
@@ -3956,92 +3939,92 @@ function qi(e, t) {
3956
3939
  n = void 0;
3957
3940
  return n;
3958
3941
  }
3959
- const J = {}, Ji = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), Fr = (e, t) => {
3942
+ const K = {}, Qi = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), Lr = (e, t) => {
3960
3943
  if (t == null)
3961
3944
  return;
3962
- if (t in J && e in J[t])
3963
- return J[t][e];
3964
- const r = je(t);
3945
+ if (t in K && e in K[t])
3946
+ return K[t][e];
3947
+ const r = Ve(t);
3965
3948
  for (let n = 0; n < r.length; n++) {
3966
- const i = r[n], o = eo(i, e);
3949
+ const i = r[n], o = Ji(i, e);
3967
3950
  if (o)
3968
- return Ji(e, t, o);
3951
+ return Qi(e, t, o);
3969
3952
  }
3970
3953
  };
3971
- let _t;
3972
- const be = Ge({});
3973
- function Ki(e) {
3974
- return _t[e] || null;
3954
+ let yt;
3955
+ const ge = $e({});
3956
+ function Yi(e) {
3957
+ return yt[e] || null;
3975
3958
  }
3976
- function kr(e) {
3977
- return e in _t;
3959
+ function Nr(e) {
3960
+ return e in yt;
3978
3961
  }
3979
- function eo(e, t) {
3980
- if (!kr(e))
3962
+ function Ji(e, t) {
3963
+ if (!Nr(e))
3981
3964
  return null;
3982
- const r = Ki(e);
3965
+ const r = Yi(e);
3983
3966
  return qi(r, t);
3984
3967
  }
3985
- function to(e) {
3968
+ function Ki(e) {
3986
3969
  if (e == null)
3987
3970
  return;
3988
- const t = je(e);
3971
+ const t = Ve(e);
3989
3972
  for (let r = 0; r < t.length; r++) {
3990
3973
  const n = t[r];
3991
- if (kr(n))
3974
+ if (Nr(n))
3992
3975
  return n;
3993
3976
  }
3994
3977
  }
3995
- function Dr(e, ...t) {
3996
- delete J[e], be.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
3978
+ function Rr(e, ...t) {
3979
+ delete K[e], ge.update((r) => (r[e] = ni.all([r[e] || {}, ...t]), r));
3997
3980
  }
3998
- me(
3999
- [be],
3981
+ be(
3982
+ [ge],
4000
3983
  ([e]) => Object.keys(e)
4001
3984
  );
4002
- be.subscribe((e) => _t = e);
4003
- const Re = {};
4004
- function ro(e, t) {
4005
- Re[e].delete(t), Re[e].size === 0 && delete Re[e];
3985
+ ge.subscribe((e) => yt = e);
3986
+ const Fe = {};
3987
+ function eo(e, t) {
3988
+ Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
4006
3989
  }
4007
- function Ur(e) {
4008
- return Re[e];
3990
+ function Fr(e) {
3991
+ return Fe[e];
4009
3992
  }
4010
- function no(e) {
4011
- return je(e).map((t) => {
4012
- const r = Ur(t);
3993
+ function to(e) {
3994
+ return Ve(e).map((t) => {
3995
+ const r = Fr(t);
4013
3996
  return [t, r ? [...r] : []];
4014
3997
  }).filter(([, t]) => t.length > 0);
4015
3998
  }
4016
3999
  function mt(e) {
4017
- return e == null ? !1 : je(e).some(
4000
+ return e == null ? !1 : Ve(e).some(
4018
4001
  (t) => {
4019
4002
  var r;
4020
- return (r = Ur(t)) == null ? void 0 : r.size;
4003
+ return (r = Fr(t)) == null ? void 0 : r.size;
4021
4004
  }
4022
4005
  );
4023
4006
  }
4024
- function io(e, t) {
4007
+ function ro(e, t) {
4025
4008
  return Promise.all(
4026
- t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
4027
- ).then((n) => Dr(e, ...n));
4009
+ t.map((n) => (eo(e, n), n().then((i) => i.default || i)))
4010
+ ).then((n) => Rr(e, ...n));
4028
4011
  }
4029
- const Ee = {};
4030
- function Gr(e) {
4012
+ const Ce = {};
4013
+ function kr(e) {
4031
4014
  if (!mt(e))
4032
- return e in Ee ? Ee[e] : Promise.resolve();
4033
- const t = no(e);
4034
- return Ee[e] = Promise.all(
4015
+ return e in Ce ? Ce[e] : Promise.resolve();
4016
+ const t = to(e);
4017
+ return Ce[e] = Promise.all(
4035
4018
  t.map(
4036
- ([r, n]) => io(r, n)
4019
+ ([r, n]) => ro(r, n)
4037
4020
  )
4038
4021
  ).then(() => {
4039
4022
  if (mt(e))
4040
- return Gr(e);
4041
- delete Ee[e];
4042
- }), Ee[e];
4023
+ return kr(e);
4024
+ delete Ce[e];
4025
+ }), Ce[e];
4043
4026
  }
4044
- const oo = {
4027
+ const no = {
4045
4028
  number: {
4046
4029
  scientific: { notation: "scientific" },
4047
4030
  engineering: { notation: "engineering" },
@@ -4070,150 +4053,150 @@ const oo = {
4070
4053
  timeZoneName: "short"
4071
4054
  }
4072
4055
  }
4073
- }, so = {
4056
+ }, io = {
4074
4057
  fallbackLocale: null,
4075
4058
  loadingDelay: 200,
4076
- formats: oo,
4059
+ formats: no,
4077
4060
  warnOnMissingMessages: !0,
4078
4061
  handleMissingMessage: void 0,
4079
4062
  ignoreTag: !0
4080
- }, ao = so;
4081
- function de() {
4082
- return ao;
4063
+ }, oo = io;
4064
+ function pe() {
4065
+ return oo;
4083
4066
  }
4084
- const tt = Ge(!1);
4085
- var lo = Object.defineProperty, uo = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, co = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, po = (e, t) => {
4067
+ const tt = $e(!1);
4068
+ var so = Object.defineProperty, ao = Object.defineProperties, lo = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, uo = Object.prototype.hasOwnProperty, ho = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, co = (e, t) => {
4086
4069
  for (var r in t || (t = {}))
4087
- co.call(t, r) && jt(e, r, t[r]);
4088
- if ($t)
4089
- for (var r of $t(t))
4090
- fo.call(t, r) && jt(e, r, t[r]);
4070
+ uo.call(t, r) && Gt(e, r, t[r]);
4071
+ if (Ut)
4072
+ for (var r of Ut(t))
4073
+ ho.call(t, r) && Gt(e, r, t[r]);
4091
4074
  return e;
4092
- }, mo = (e, t) => uo(e, ho(t));
4075
+ }, fo = (e, t) => ao(e, lo(t));
4093
4076
  let bt;
4094
- const ke = Ge(null);
4095
- function Vt(e) {
4077
+ const De = $e(null);
4078
+ function $t(e) {
4096
4079
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4097
4080
  }
4098
- function je(e, t = de().fallbackLocale) {
4099
- const r = Vt(e);
4100
- return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
4081
+ function Ve(e, t = pe().fallbackLocale) {
4082
+ const r = $t(e);
4083
+ return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
4101
4084
  }
4102
- function re() {
4085
+ function ne() {
4103
4086
  return bt ?? void 0;
4104
4087
  }
4105
- ke.subscribe((e) => {
4088
+ De.subscribe((e) => {
4106
4089
  bt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4107
4090
  });
4108
- const bo = (e) => {
4109
- if (e && to(e) && mt(e)) {
4110
- const { loadingDelay: t } = de();
4091
+ const po = (e) => {
4092
+ if (e && Ki(e) && mt(e)) {
4093
+ const { loadingDelay: t } = pe();
4111
4094
  let r;
4112
- return typeof window < "u" && re() != null && t ? r = window.setTimeout(
4095
+ return typeof window < "u" && ne() != null && t ? r = window.setTimeout(
4113
4096
  () => tt.set(!0),
4114
4097
  t
4115
- ) : tt.set(!0), Gr(e).then(() => {
4116
- ke.set(e);
4098
+ ) : tt.set(!0), kr(e).then(() => {
4099
+ De.set(e);
4117
4100
  }).finally(() => {
4118
4101
  clearTimeout(r), tt.set(!1);
4119
4102
  });
4120
4103
  }
4121
- return ke.set(e);
4122
- }, K = mo(po({}, ke), {
4123
- set: bo
4124
- }), Ve = (e) => {
4104
+ return De.set(e);
4105
+ }, ee = fo(co({}, De), {
4106
+ set: po
4107
+ }), We = (e) => {
4125
4108
  const t = /* @__PURE__ */ Object.create(null);
4126
4109
  return (n) => {
4127
4110
  const i = JSON.stringify(n);
4128
4111
  return i in t ? t[i] : t[i] = e(n);
4129
4112
  };
4130
4113
  };
4131
- var go = Object.defineProperty, De = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
4114
+ var mo = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Dr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
4132
4115
  for (var r in t || (t = {}))
4133
- $r.call(t, r) && Wt(e, r, t[r]);
4134
- if (De)
4135
- for (var r of De(t))
4136
- jr.call(t, r) && Wt(e, r, t[r]);
4116
+ Dr.call(t, r) && jt(e, r, t[r]);
4117
+ if (Ue)
4118
+ for (var r of Ue(t))
4119
+ Ur.call(t, r) && jt(e, r, t[r]);
4137
4120
  return e;
4138
- }, ge = (e, t) => {
4121
+ }, ye = (e, t) => {
4139
4122
  var r = {};
4140
4123
  for (var n in e)
4141
- $r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4142
- if (e != null && De)
4143
- for (var n of De(e))
4144
- t.indexOf(n) < 0 && jr.call(e, n) && (r[n] = e[n]);
4124
+ Dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4125
+ if (e != null && Ue)
4126
+ for (var n of Ue(e))
4127
+ t.indexOf(n) < 0 && Ur.call(e, n) && (r[n] = e[n]);
4145
4128
  return r;
4146
4129
  };
4147
- const He = (e, t) => {
4148
- const { formats: r } = de();
4130
+ const Te = (e, t) => {
4131
+ const { formats: r } = pe();
4149
4132
  if (e in r && t in r[e])
4150
4133
  return r[e][t];
4151
4134
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4152
- }, yo = Ve(
4135
+ }, bo = We(
4153
4136
  (e) => {
4154
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4137
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4155
4138
  if (r == null)
4156
4139
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4157
- return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4140
+ return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4158
4141
  }
4159
- ), vo = Ve(
4142
+ ), go = We(
4160
4143
  (e) => {
4161
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4144
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4162
4145
  if (r == null)
4163
4146
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4164
- return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4147
+ return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4165
4148
  }
4166
- ), _o = Ve(
4149
+ ), yo = We(
4167
4150
  (e) => {
4168
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4151
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4169
4152
  if (r == null)
4170
4153
  throw new Error(
4171
4154
  '[svelte-i18n] A "locale" must be set to format time values'
4172
4155
  );
4173
- return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4156
+ return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
4174
4157
  }
4175
- ), Eo = (e = {}) => {
4158
+ ), vo = (e = {}) => {
4176
4159
  var t = e, {
4177
- locale: r = re()
4178
- } = t, n = ge(t, [
4160
+ locale: r = ne()
4161
+ } = t, n = ye(t, [
4179
4162
  "locale"
4180
4163
  ]);
4181
- return yo(Et({ locale: r }, n));
4182
- }, Co = (e = {}) => {
4164
+ return bo(vt({ locale: r }, n));
4165
+ }, _o = (e = {}) => {
4183
4166
  var t = e, {
4184
- locale: r = re()
4185
- } = t, n = ge(t, [
4167
+ locale: r = ne()
4168
+ } = t, n = ye(t, [
4186
4169
  "locale"
4187
4170
  ]);
4188
- return vo(Et({ locale: r }, n));
4189
- }, wo = (e = {}) => {
4171
+ return go(vt({ locale: r }, n));
4172
+ }, Eo = (e = {}) => {
4190
4173
  var t = e, {
4191
- locale: r = re()
4192
- } = t, n = ge(t, [
4174
+ locale: r = ne()
4175
+ } = t, n = ye(t, [
4193
4176
  "locale"
4194
4177
  ]);
4195
- return _o(Et({ locale: r }, n));
4196
- }, xo = Ve(
4178
+ return yo(vt({ locale: r }, n));
4179
+ }, Co = We(
4197
4180
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4198
- (e, t = re()) => new Yi(e, t, de().formats, {
4199
- ignoreTag: de().ignoreTag
4181
+ (e, t = ne()) => new zi(e, t, pe().formats, {
4182
+ ignoreTag: pe().ignoreTag
4200
4183
  })
4201
- ), So = (e, t = {}) => {
4184
+ ), wo = (e, t = {}) => {
4202
4185
  var r, n, i, o;
4203
4186
  let s = t;
4204
4187
  typeof e == "object" && (s = e, e = s.id);
4205
4188
  const {
4206
4189
  values: a,
4207
- locale: l = re(),
4190
+ locale: l = ne(),
4208
4191
  default: h
4209
4192
  } = s;
4210
4193
  if (l == null)
4211
4194
  throw new Error(
4212
4195
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4213
4196
  );
4214
- let u = Fr(e, l);
4197
+ let u = Lr(e, l);
4215
4198
  if (!u)
4216
- u = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4199
+ u = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4217
4200
  else if (typeof u != "string")
4218
4201
  return console.warn(
4219
4202
  `[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.`
@@ -4222,7 +4205,7 @@ const He = (e, t) => {
4222
4205
  return u;
4223
4206
  let c = u;
4224
4207
  try {
4225
- c = xo(u, l).format(a);
4208
+ c = Co(u, l).format(a);
4226
4209
  } catch (d) {
4227
4210
  d instanceof Error && console.warn(
4228
4211
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4230,21 +4213,21 @@ const He = (e, t) => {
4230
4213
  );
4231
4214
  }
4232
4215
  return c;
4233
- }, Ho = (e, t) => wo(t).format(e), To = (e, t) => Co(t).format(e), Ao = (e, t) => Eo(t).format(e), Io = (e, t = re()) => Fr(e, t);
4234
- me([K, be], () => So);
4235
- me([K], () => Ho);
4236
- me([K], () => To);
4237
- me([K], () => Ao);
4238
- me([K, be], () => Io);
4239
- window.emWidgets = { topic: jn };
4240
- const Bo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4241
- function Mo(e, t) {
4216
+ }, xo = (e, t) => Eo(t).format(e), So = (e, t) => _o(t).format(e), Ho = (e, t) => vo(t).format(e), To = (e, t = ne()) => Lr(e, t);
4217
+ be([ee, ge], () => wo);
4218
+ be([ee], () => xo);
4219
+ be([ee], () => So);
4220
+ be([ee], () => Ho);
4221
+ be([ee, ge], () => To);
4222
+ window.emWidgets = { topic: Un };
4223
+ const Ao = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4224
+ function Io(e, t) {
4242
4225
  if (e) {
4243
4226
  const r = document.createElement("style");
4244
4227
  r.innerHTML = t, e.appendChild(r);
4245
4228
  }
4246
4229
  }
4247
- function Po(e, t) {
4230
+ function Bo(e, t) {
4248
4231
  const r = new URL(t);
4249
4232
  fetch(r.href).then((n) => n.text()).then((n) => {
4250
4233
  const i = document.createElement("style");
@@ -4253,7 +4236,7 @@ function Po(e, t) {
4253
4236
  console.error("There was an error while trying to load client styling from URL", n);
4254
4237
  });
4255
4238
  }
4256
- function Oo(e, t, r) {
4239
+ function Mo(e, t, r) {
4257
4240
  if (window.emMessageBus) {
4258
4241
  const n = document.createElement("style");
4259
4242
  window.emMessageBus.subscribe(t, (i) => {
@@ -4261,18 +4244,18 @@ function Oo(e, t, r) {
4261
4244
  });
4262
4245
  }
4263
4246
  }
4264
- function Lo({ withLocale: e, translations: t }) {
4265
- K.subscribe((r) => {
4266
- r == null && (be.set(t), K.set(e));
4247
+ function Po({ withLocale: e, translations: t }) {
4248
+ ee.subscribe((r) => {
4249
+ r == null && (ge.set(t), ee.set(e));
4267
4250
  });
4268
4251
  }
4269
- function Xt(e, t) {
4270
- Dr(e, t);
4252
+ function Vt(e, t) {
4253
+ Rr(e, t);
4271
4254
  }
4272
- function No(e) {
4273
- K.set(e);
4255
+ function Oo(e) {
4256
+ ee.set(e);
4274
4257
  }
4275
- const Zt = {
4258
+ const Wt = {
4276
4259
  en: {
4277
4260
  login: "Login",
4278
4261
  register: "Register",
@@ -4329,23 +4312,23 @@ const Zt = {
4329
4312
  deposit: "Deposit"
4330
4313
  }
4331
4314
  };
4332
- function Ro(e) {
4333
- un(e, "svelte-1n5xxlo", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127);background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));border-radius:var(--emw--border-radius-medium, 20px);max-width:1300px;margin:0 auto}.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;list-style:none;padding:0;margin:0}.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;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus-within button{border-bottom:2px solid #23B04E;position:relative}.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}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;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{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li img{margin-right:5px;position:relative;top:5px;max-height:25px}.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;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:50%;padding:3px;width:20px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:11px}.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:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D))}.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 span,.CarouselContainer .SubDropDown.active span{color:var(--emw--categories-contrast, var(--emw--color-contrast, #23B04E))}.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}.CarouselWrapperMobile{margin:0 10px;border-radius:20px;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li img{margin:0;top:unset;position:static}.CarouselWrapperMobile .CategoryIconContainer{height:25px}');
4315
+ function Lo(e) {
4316
+ sn(e, "svelte-1xm8fqk", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.scroller{scroll-behavior:smooth}.CarouselWrapper{background:var(--emw--color-primary, #194127);background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));border-radius:var(--emw--border-radius-medium, 20px);max-width:1300px;margin:0 auto}.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;list-style:none;padding:0;margin:0}.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;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus-within button{border-bottom:2px solid #23B04E;position:relative}.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}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;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{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li ui-image img{margin-right:5px;position:relative;top:5px;max-height:25px}.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;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:50%;padding:3px;width:20px;height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:11px}.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:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003D5D))}.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 span,.CarouselContainer .SubDropDown.active span{color:var(--emw--categories-contrast, var(--emw--color-contrast, #23B04E))}.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}.CarouselWrapperMobile{margin:0 10px;border-radius:20px;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li ui-image img{margin:0;top:unset;position:static}.CarouselWrapperMobile .CategoryIconContainer{height:25px}');
4334
4317
  }
4335
- function zt(e, t, r) {
4318
+ function Xt(e, t, r) {
4336
4319
  const n = e.slice();
4337
4320
  return n[53] = t[r], n[55] = r, n;
4338
4321
  }
4339
- function Qt(e, t, r) {
4322
+ function Zt(e, t, r) {
4340
4323
  const n = e.slice();
4341
4324
  return n[56] = t[r], n;
4342
4325
  }
4343
- function Yt(e, t, r) {
4326
+ function zt(e, t, r) {
4344
4327
  const n = e.slice();
4345
4328
  return n[59] = t[r], n[61] = r, n;
4346
4329
  }
4347
4330
  function qt(e) {
4348
- let t = [], r = /* @__PURE__ */ new Map(), n, i = ue(
4331
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = he(
4349
4332
  /*sliderdata*/
4350
4333
  e[9]
4351
4334
  );
@@ -4354,14 +4337,14 @@ function qt(e) {
4354
4337
  s[53].id
4355
4338
  );
4356
4339
  for (let s = 0; s < i.length; s += 1) {
4357
- let a = zt(e, i, s), l = o(a);
4358
- r.set(l, t[s] = sr(l, a));
4340
+ let a = Xt(e, i, s), l = o(a);
4341
+ r.set(l, t[s] = ir(l, a));
4359
4342
  }
4360
4343
  return {
4361
4344
  c() {
4362
4345
  for (let s = 0; s < t.length; s += 1)
4363
4346
  t[s].c();
4364
- n = te();
4347
+ n = re();
4365
4348
  },
4366
4349
  m(s, a) {
4367
4350
  for (let l = 0; l < t.length; l += 1)
@@ -4370,10 +4353,10 @@ function qt(e) {
4370
4353
  },
4371
4354
  p(s, a) {
4372
4355
  a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, isMobile, categoriesicon*/
4373
- 28623 && (i = ue(
4356
+ 28623 && (i = he(
4374
4357
  /*sliderdata*/
4375
4358
  s[9]
4376
- ), t = cr(t, a, o, 1, s, i, r, n.parentNode, hr, sr, n, zt));
4359
+ ), t = ur(t, a, o, 1, s, i, r, n.parentNode, lr, ir, n, Xt));
4377
4360
  },
4378
4361
  d(s) {
4379
4362
  s && H(n);
@@ -4382,7 +4365,7 @@ function qt(e) {
4382
4365
  }
4383
4366
  };
4384
4367
  }
4385
- function Fo(e) {
4368
+ function No(e) {
4386
4369
  let t, r, n = (
4387
4370
  /*category*/
4388
4371
  e[53].name + ""
@@ -4393,27 +4376,27 @@ function Fo(e) {
4393
4376
  u[55] === 0 && /*categoriesicon*/
4394
4377
  u[3] !== "false"
4395
4378
  )
4396
- return Go;
4379
+ return Do;
4397
4380
  if (
4398
4381
  /*category*/
4399
4382
  u[53]?.icon && /*categoriesicon*/
4400
4383
  u[3] !== "false"
4401
4384
  )
4402
- return Uo;
4385
+ return ko;
4403
4386
  if (
4404
4387
  /*categoriesicon*/
4405
4388
  u[3] !== "false"
4406
4389
  )
4407
- return Do;
4390
+ return Fo;
4408
4391
  }
4409
4392
  let a = s(e), l = a && a(e), h = (
4410
4393
  /*category*/
4411
4394
  e[53]?.games.count && !/*isMobile*/
4412
- e[13] && er(e)
4395
+ e[13] && Jt(e)
4413
4396
  );
4414
4397
  return {
4415
4398
  c() {
4416
- l && l.c(), t = V(), r = B("button"), i = ee(n), o = V(), h && h.c(), p(r, "class", "CategoryButton");
4399
+ l && l.c(), t = W(), r = B("button"), i = te(n), o = W(), h && h.c(), p(r, "class", "CategoryButton");
4417
4400
  },
4418
4401
  m(u, c) {
4419
4402
  l && l.m(u, c), A(u, t, c), A(u, r, c), C(r, i), C(r, o), h && h.m(r, null);
@@ -4421,23 +4404,23 @@ function Fo(e) {
4421
4404
  p(u, c) {
4422
4405
  a === (a = s(u)) && l ? l.p(u, c) : (l && l.d(1), l = a && a(u), l && (l.c(), l.m(t.parentNode, t))), c[0] & /*sliderdata*/
4423
4406
  512 && n !== (n = /*category*/
4424
- u[53].name + "") && pe(i, n), /*category*/
4407
+ u[53].name + "") && me(i, n), /*category*/
4425
4408
  u[53]?.games.count && !/*isMobile*/
4426
- u[13] ? h ? h.p(u, c) : (h = er(u), h.c(), h.m(r, null)) : h && (h.d(1), h = null);
4409
+ u[13] ? h ? h.p(u, c) : (h = Jt(u), h.c(), h.m(r, null)) : h && (h.d(1), h = null);
4427
4410
  },
4428
4411
  d(u) {
4429
4412
  u && (H(t), H(r)), l && l.d(u), h && h.d();
4430
4413
  }
4431
4414
  };
4432
4415
  }
4433
- function ko(e) {
4416
+ function Ro(e) {
4434
4417
  let t, r = (
4435
4418
  /*category*/
4436
4419
  e[53].label + ""
4437
4420
  ), n, i;
4438
4421
  return {
4439
4422
  c() {
4440
- t = B("a"), n = ee(r), p(t, "href", i = /*category*/
4423
+ t = B("a"), n = te(r), p(t, "href", i = /*category*/
4441
4424
  e[53].path);
4442
4425
  },
4443
4426
  m(o, s) {
@@ -4446,7 +4429,7 @@ function ko(e) {
4446
4429
  p(o, s) {
4447
4430
  s[0] & /*sliderdata*/
4448
4431
  512 && r !== (r = /*category*/
4449
- o[53].label + "") && pe(n, r), s[0] & /*sliderdata*/
4432
+ o[53].label + "") && me(n, r), s[0] & /*sliderdata*/
4450
4433
  512 && i !== (i = /*category*/
4451
4434
  o[53].path) && p(t, "href", i);
4452
4435
  },
@@ -4455,18 +4438,18 @@ function ko(e) {
4455
4438
  }
4456
4439
  };
4457
4440
  }
4458
- function Do(e) {
4441
+ function Fo(e) {
4459
4442
  let t;
4460
4443
  function r(o, s) {
4461
4444
  return (
4462
4445
  /*isMobile*/
4463
- o[13] ? jo : $o
4446
+ o[13] ? Go : Uo
4464
4447
  );
4465
4448
  }
4466
4449
  let i = r(e)(e);
4467
4450
  return {
4468
4451
  c() {
4469
- i.c(), t = te();
4452
+ i.c(), t = re();
4470
4453
  },
4471
4454
  m(o, s) {
4472
4455
  i.m(o, s), A(o, t, s);
@@ -4479,18 +4462,18 @@ function Do(e) {
4479
4462
  }
4480
4463
  };
4481
4464
  }
4482
- function Uo(e) {
4465
+ function ko(e) {
4483
4466
  let t;
4484
4467
  function r(o, s) {
4485
4468
  return (
4486
4469
  /*isMobile*/
4487
- o[13] ? Wo : Vo
4470
+ o[13] ? jo : $o
4488
4471
  );
4489
4472
  }
4490
4473
  let i = r(e)(e);
4491
4474
  return {
4492
4475
  c() {
4493
- i.c(), t = te();
4476
+ i.c(), t = re();
4494
4477
  },
4495
4478
  m(o, s) {
4496
4479
  i.m(o, s), A(o, t, s);
@@ -4503,7 +4486,7 @@ function Uo(e) {
4503
4486
  }
4504
4487
  };
4505
4488
  }
4506
- function Go(e) {
4489
+ function Do(e) {
4507
4490
  let t, r, n, i;
4508
4491
  return {
4509
4492
  c() {
@@ -4518,7 +4501,7 @@ function Go(e) {
4518
4501
  }
4519
4502
  };
4520
4503
  }
4521
- function $o(e) {
4504
+ function Uo(e) {
4522
4505
  let t, r;
4523
4506
  return {
4524
4507
  c() {
@@ -4533,35 +4516,35 @@ function $o(e) {
4533
4516
  }
4534
4517
  };
4535
4518
  }
4536
- function jo(e) {
4519
+ function Go(e) {
4537
4520
  let t, r, n, i, o = (
4538
4521
  /*category*/
4539
- e[53]?.games.count && Jt(e)
4522
+ e[53]?.games.count && Qt(e)
4540
4523
  );
4541
4524
  return {
4542
4525
  c() {
4543
- t = B("div"), r = Y("svg"), n = Y("path"), i = V(), o && o.c(), p(n, "id", "noun-dice-number-5396160"), p(n, "d", "M56.69,35.168H39.63a4.475,4.475,0,0,0-4.47,4.47V56.7a4.475,4.475,0,0,0,4.47,4.47H56.69a4.475,4.475,0,0,0,4.47-4.47V39.638a4.475,4.475,0,0,0-4.47-4.47ZM41.91,56.605A2.187,2.187,0,1,1,44.1,54.418,2.188,2.188,0,0,1,41.91,56.605Zm-2.188-8.438a2.187,2.187,0,1,1,2.187,2.187A2.188,2.188,0,0,1,39.722,48.168Zm2.188-4.062A2.187,2.187,0,1,1,44.1,41.918,2.188,2.188,0,0,1,41.91,44.105Zm12.5,12.5A2.187,2.187,0,1,1,56.6,54.418,2.187,2.187,0,0,1,54.41,56.605Zm0-6.25A2.187,2.187,0,1,1,56.6,48.168,2.187,2.187,0,0,1,54.41,50.356Zm0-6.25A2.187,2.187,0,1,1,56.6,41.918,2.187,2.187,0,0,1,54.41,44.106Z"), p(n, "transform", "translate(-35.16 -35.168)"), p(n, "fill", "#fff"), p(r, "class", "CasinoCategoryIcon"), p(r, "xmlns", "http://www.w3.org/2000/svg"), p(r, "width", "20"), p(r, "height", "20"), p(r, "viewBox", "0 0 26 26"), p(t, "class", "CategoryIconContainer");
4526
+ t = B("div"), r = Y("svg"), n = Y("path"), i = W(), o && o.c(), p(n, "id", "noun-dice-number-5396160"), p(n, "d", "M56.69,35.168H39.63a4.475,4.475,0,0,0-4.47,4.47V56.7a4.475,4.475,0,0,0,4.47,4.47H56.69a4.475,4.475,0,0,0,4.47-4.47V39.638a4.475,4.475,0,0,0-4.47-4.47ZM41.91,56.605A2.187,2.187,0,1,1,44.1,54.418,2.188,2.188,0,0,1,41.91,56.605Zm-2.188-8.438a2.187,2.187,0,1,1,2.187,2.187A2.188,2.188,0,0,1,39.722,48.168Zm2.188-4.062A2.187,2.187,0,1,1,44.1,41.918,2.188,2.188,0,0,1,41.91,44.105Zm12.5,12.5A2.187,2.187,0,1,1,56.6,54.418,2.187,2.187,0,0,1,54.41,56.605Zm0-6.25A2.187,2.187,0,1,1,56.6,48.168,2.187,2.187,0,0,1,54.41,50.356Zm0-6.25A2.187,2.187,0,1,1,56.6,41.918,2.187,2.187,0,0,1,54.41,44.106Z"), p(n, "transform", "translate(-35.16 -35.168)"), p(n, "fill", "#fff"), p(r, "class", "CasinoCategoryIcon"), p(r, "xmlns", "http://www.w3.org/2000/svg"), p(r, "width", "20"), p(r, "height", "20"), p(r, "viewBox", "0 0 26 26"), p(t, "class", "CategoryIconContainer");
4544
4527
  },
4545
4528
  m(s, a) {
4546
4529
  A(s, t, a), C(t, r), C(r, n), C(t, i), o && o.m(t, null);
4547
4530
  },
4548
4531
  p(s, a) {
4549
4532
  /*category*/
4550
- s[53]?.games.count ? o ? o.p(s, a) : (o = Jt(s), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
4533
+ s[53]?.games.count ? o ? o.p(s, a) : (o = Qt(s), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
4551
4534
  },
4552
4535
  d(s) {
4553
4536
  s && H(t), o && o.d();
4554
4537
  }
4555
4538
  };
4556
4539
  }
4557
- function Jt(e) {
4540
+ function Qt(e) {
4558
4541
  let t, r = (
4559
4542
  /*category*/
4560
4543
  e[53]?.games.count + ""
4561
4544
  ), n;
4562
4545
  return {
4563
4546
  c() {
4564
- t = B("span"), n = ee(r), p(t, "class", "CategoryButtonCount");
4547
+ t = B("span"), n = te(r), p(t, "class", "CategoryButtonCount");
4565
4548
  },
4566
4549
  m(i, o) {
4567
4550
  A(i, t, o), C(t, n);
@@ -4569,19 +4552,19 @@ function Jt(e) {
4569
4552
  p(i, o) {
4570
4553
  o[0] & /*sliderdata*/
4571
4554
  512 && r !== (r = /*category*/
4572
- i[53]?.games.count + "") && pe(n, r);
4555
+ i[53]?.games.count + "") && me(n, r);
4573
4556
  },
4574
4557
  d(i) {
4575
4558
  i && H(t);
4576
4559
  }
4577
4560
  };
4578
4561
  }
4579
- function Vo(e) {
4562
+ function $o(e) {
4580
4563
  let t, r, n;
4581
4564
  return {
4582
4565
  c() {
4583
- t = B("img"), p(t, "class", "CasinoCategoryIcon "), Fe(t.src, r = /*category*/
4584
- e[53].icon) || p(t, "src", r), p(t, "alt", n = /*category*/
4566
+ t = B("ui-image"), V(t, "imgClass", "CasinoCategoryIcon "), ke(t.src, r = /*category*/
4567
+ e[53].icon) || V(t, "src", r), V(t, "alt", n = /*category*/
4585
4568
  e[53].name);
4586
4569
  },
4587
4570
  m(i, o) {
@@ -4589,25 +4572,25 @@ function Vo(e) {
4589
4572
  },
4590
4573
  p(i, o) {
4591
4574
  o[0] & /*sliderdata*/
4592
- 512 && !Fe(t.src, r = /*category*/
4593
- i[53].icon) && p(t, "src", r), o[0] & /*sliderdata*/
4575
+ 512 && !ke(t.src, r = /*category*/
4576
+ i[53].icon) && V(t, "src", r), o[0] & /*sliderdata*/
4594
4577
  512 && n !== (n = /*category*/
4595
- i[53].name) && p(t, "alt", n);
4578
+ i[53].name) && V(t, "alt", n);
4596
4579
  },
4597
4580
  d(i) {
4598
4581
  i && H(t);
4599
4582
  }
4600
4583
  };
4601
4584
  }
4602
- function Wo(e) {
4585
+ function jo(e) {
4603
4586
  let t, r, n, i, o, s = (
4604
4587
  /*category*/
4605
- e[53]?.games.count && Kt(e)
4588
+ e[53]?.games.count && Yt(e)
4606
4589
  );
4607
4590
  return {
4608
4591
  c() {
4609
- t = B("div"), r = B("img"), o = V(), s && s.c(), p(r, "class", "CasinoCategoryIcon"), Fe(r.src, n = /*category*/
4610
- e[53].icon) || p(r, "src", n), p(r, "alt", i = /*category*/
4592
+ t = B("div"), r = B("ui-image"), o = W(), s && s.c(), V(r, "imgClass", "CasinoCategoryIcon"), ke(r.src, n = /*category*/
4593
+ e[53].icon) || V(r, "src", n), V(r, "alt", i = /*category*/
4611
4594
  e[53].name), p(t, "class", "CategoryIconContainer");
4612
4595
  },
4613
4596
  m(a, l) {
@@ -4615,25 +4598,25 @@ function Wo(e) {
4615
4598
  },
4616
4599
  p(a, l) {
4617
4600
  l[0] & /*sliderdata*/
4618
- 512 && !Fe(r.src, n = /*category*/
4619
- a[53].icon) && p(r, "src", n), l[0] & /*sliderdata*/
4601
+ 512 && !ke(r.src, n = /*category*/
4602
+ a[53].icon) && V(r, "src", n), l[0] & /*sliderdata*/
4620
4603
  512 && i !== (i = /*category*/
4621
- a[53].name) && p(r, "alt", i), /*category*/
4622
- a[53]?.games.count ? s ? s.p(a, l) : (s = Kt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4604
+ a[53].name) && V(r, "alt", i), /*category*/
4605
+ a[53]?.games.count ? s ? s.p(a, l) : (s = Yt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
4623
4606
  },
4624
4607
  d(a) {
4625
4608
  a && H(t), s && s.d();
4626
4609
  }
4627
4610
  };
4628
4611
  }
4629
- function Kt(e) {
4612
+ function Yt(e) {
4630
4613
  let t, r = (
4631
4614
  /*category*/
4632
4615
  e[53]?.games.count + ""
4633
4616
  ), n;
4634
4617
  return {
4635
4618
  c() {
4636
- t = B("span"), n = ee(r), p(t, "class", "CategoryButtonCount");
4619
+ t = B("span"), n = te(r), p(t, "class", "CategoryButtonCount");
4637
4620
  },
4638
4621
  m(i, o) {
4639
4622
  A(i, t, o), C(t, n);
@@ -4641,21 +4624,21 @@ function Kt(e) {
4641
4624
  p(i, o) {
4642
4625
  o[0] & /*sliderdata*/
4643
4626
  512 && r !== (r = /*category*/
4644
- i[53]?.games.count + "") && pe(n, r);
4627
+ i[53]?.games.count + "") && me(n, r);
4645
4628
  },
4646
4629
  d(i) {
4647
4630
  i && H(t);
4648
4631
  }
4649
4632
  };
4650
4633
  }
4651
- function er(e) {
4634
+ function Jt(e) {
4652
4635
  let t, r = (
4653
4636
  /*category*/
4654
4637
  e[53]?.games.count + ""
4655
4638
  ), n;
4656
4639
  return {
4657
4640
  c() {
4658
- t = B("span"), n = ee(r), p(t, "class", "CategoryButtonCount");
4641
+ t = B("span"), n = te(r), p(t, "class", "CategoryButtonCount");
4659
4642
  },
4660
4643
  m(i, o) {
4661
4644
  A(i, t, o), C(t, n);
@@ -4663,22 +4646,22 @@ function er(e) {
4663
4646
  p(i, o) {
4664
4647
  o[0] & /*sliderdata*/
4665
4648
  512 && r !== (r = /*category*/
4666
- i[53]?.games.count + "") && pe(n, r);
4649
+ i[53]?.games.count + "") && me(n, r);
4667
4650
  },
4668
4651
  d(i) {
4669
4652
  i && H(t);
4670
4653
  }
4671
4654
  };
4672
4655
  }
4673
- function tr(e) {
4656
+ function Kt(e) {
4674
4657
  let t, r = (
4675
4658
  /*subGroupsData*/
4676
4659
  e[10].length > 0 && /*showsubgroups*/
4677
- e[2] == "true" && rr(e)
4660
+ e[2] == "true" && er(e)
4678
4661
  );
4679
4662
  return {
4680
4663
  c() {
4681
- r && r.c(), t = te();
4664
+ r && r.c(), t = re();
4682
4665
  },
4683
4666
  m(n, i) {
4684
4667
  r && r.m(n, i), A(n, t, i);
@@ -4686,20 +4669,20 @@ function tr(e) {
4686
4669
  p(n, i) {
4687
4670
  /*subGroupsData*/
4688
4671
  n[10].length > 0 && /*showsubgroups*/
4689
- n[2] == "true" ? r ? r.p(n, i) : (r = rr(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4672
+ n[2] == "true" ? r ? r.p(n, i) : (r = er(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4690
4673
  },
4691
4674
  d(n) {
4692
4675
  n && H(t), r && r.d(n);
4693
4676
  }
4694
4677
  };
4695
4678
  }
4696
- function rr(e) {
4697
- let t, r = ue(
4679
+ function er(e) {
4680
+ let t, r = he(
4698
4681
  /*subGroupsData*/
4699
4682
  e[10]
4700
4683
  ), n = [];
4701
4684
  for (let i = 0; i < r.length; i += 1)
4702
- n[i] = or(Qt(e, r, i));
4685
+ n[i] = nr(Zt(e, r, i));
4703
4686
  return {
4704
4687
  c() {
4705
4688
  t = B("ul");
@@ -4715,14 +4698,14 @@ function rr(e) {
4715
4698
  p(i, o) {
4716
4699
  if (o[0] & /*subGroupsData, sliderdata, activeIndex, activeSubIndex, prevSubIndex, handleClick*/
4717
4700
  18368) {
4718
- r = ue(
4701
+ r = he(
4719
4702
  /*subGroupsData*/
4720
4703
  i[10]
4721
4704
  );
4722
4705
  let s;
4723
4706
  for (s = 0; s < r.length; s += 1) {
4724
- const a = Qt(i, r, s);
4725
- n[s] ? n[s].p(a, o) : (n[s] = or(a), n[s].c(), n[s].m(t, null));
4707
+ const a = Zt(i, r, s);
4708
+ n[s] ? n[s].p(a, o) : (n[s] = nr(a), n[s].c(), n[s].m(t, null));
4726
4709
  }
4727
4710
  for (; s < n.length; s += 1)
4728
4711
  n[s].d(1);
@@ -4730,11 +4713,11 @@ function rr(e) {
4730
4713
  }
4731
4714
  },
4732
4715
  d(i) {
4733
- i && H(t), fn(n, i);
4716
+ i && H(t), un(n, i);
4734
4717
  }
4735
4718
  };
4736
4719
  }
4737
- function nr(e) {
4720
+ function tr(e) {
4738
4721
  let t, r, n = (
4739
4722
  /*subGroupItem*/
4740
4723
  e[59]?.name + ""
@@ -4773,7 +4756,7 @@ function nr(e) {
4773
4756
  }
4774
4757
  return {
4775
4758
  c() {
4776
- t = B("li"), r = B("span"), i = ee(n), o = V(), p(t, "class", s = "SubDropDown " + /*index*/
4759
+ t = B("li"), r = B("span"), i = te(n), o = W(), p(t, "class", s = "SubDropDown " + /*index*/
4777
4760
  (e[55] == /*activeIndex*/
4778
4761
  e[6] && /*activeSubIndex*/
4779
4762
  (e[7] == /*subindex*/
@@ -4783,14 +4766,14 @@ function nr(e) {
4783
4766
  },
4784
4767
  m(c, d) {
4785
4768
  A(c, t, d), C(t, r), C(r, i), C(t, o), a || (l = [
4786
- q(t, "click", h),
4787
- q(t, "keydown", u)
4769
+ J(t, "click", h),
4770
+ J(t, "keydown", u)
4788
4771
  ], a = !0);
4789
4772
  },
4790
4773
  p(c, d) {
4791
4774
  e = c, d[0] & /*subGroupsData*/
4792
4775
  1024 && n !== (n = /*subGroupItem*/
4793
- e[59]?.name + "") && pe(i, n), d[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4776
+ e[59]?.name + "") && me(i, n), d[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4794
4777
  1984 && s !== (s = "SubDropDown " + /*index*/
4795
4778
  (e[55] == /*activeIndex*/
4796
4779
  e[6] && /*activeSubIndex*/
@@ -4800,21 +4783,21 @@ function nr(e) {
4800
4783
  e[61]) ? "active" : "")) && p(t, "class", s);
4801
4784
  },
4802
4785
  d(c) {
4803
- c && H(t), a = !1, z(l);
4786
+ c && H(t), a = !1, q(l);
4804
4787
  }
4805
4788
  };
4806
4789
  }
4807
- function ir(e, t) {
4790
+ function rr(e, t) {
4808
4791
  let r, n, i = (
4809
4792
  /*index*/
4810
4793
  t[55] == /*subGroup*/
4811
- t[56].index && nr(t)
4794
+ t[56].index && tr(t)
4812
4795
  );
4813
4796
  return {
4814
4797
  key: e,
4815
4798
  first: null,
4816
4799
  c() {
4817
- r = te(), i && i.c(), n = te(), this.first = r;
4800
+ r = re(), i && i.c(), n = re(), this.first = r;
4818
4801
  },
4819
4802
  m(o, s) {
4820
4803
  A(o, r, s), i && i.m(o, s), A(o, n, s);
@@ -4822,15 +4805,15 @@ function ir(e, t) {
4822
4805
  p(o, s) {
4823
4806
  t = o, /*index*/
4824
4807
  t[55] == /*subGroup*/
4825
- t[56].index ? i ? i.p(t, s) : (i = nr(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4808
+ t[56].index ? i ? i.p(t, s) : (i = tr(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4826
4809
  },
4827
4810
  d(o) {
4828
4811
  o && (H(r), H(n)), i && i.d(o);
4829
4812
  }
4830
4813
  };
4831
4814
  }
4832
- function or(e) {
4833
- let t = [], r = /* @__PURE__ */ new Map(), n, i = ue(
4815
+ function nr(e) {
4816
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = he(
4834
4817
  /*subGroup*/
4835
4818
  e[56].items
4836
4819
  );
@@ -4839,14 +4822,14 @@ function or(e) {
4839
4822
  s[59].id
4840
4823
  );
4841
4824
  for (let s = 0; s < i.length; s += 1) {
4842
- let a = Yt(e, i, s), l = o(a);
4843
- r.set(l, t[s] = ir(l, a));
4825
+ let a = zt(e, i, s), l = o(a);
4826
+ r.set(l, t[s] = rr(l, a));
4844
4827
  }
4845
4828
  return {
4846
4829
  c() {
4847
4830
  for (let s = 0; s < t.length; s += 1)
4848
4831
  t[s].c();
4849
- n = te();
4832
+ n = re();
4850
4833
  },
4851
4834
  m(s, a) {
4852
4835
  for (let l = 0; l < t.length; l += 1)
@@ -4855,10 +4838,10 @@ function or(e) {
4855
4838
  },
4856
4839
  p(s, a) {
4857
4840
  a[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex, handleClick*/
4858
- 18368 && (i = ue(
4841
+ 18368 && (i = he(
4859
4842
  /*subGroup*/
4860
4843
  s[56].items
4861
- ), t = cr(t, a, o, 1, s, i, r, n.parentNode, hr, ir, n, Yt));
4844
+ ), t = ur(t, a, o, 1, s, i, r, n.parentNode, lr, rr, n, zt));
4862
4845
  },
4863
4846
  d(s) {
4864
4847
  s && H(n);
@@ -4867,12 +4850,12 @@ function or(e) {
4867
4850
  }
4868
4851
  };
4869
4852
  }
4870
- function sr(e, t) {
4853
+ function ir(e, t) {
4871
4854
  let r, n, i, o, s, a;
4872
4855
  function l(m, g) {
4873
4856
  return (
4874
4857
  /*location*/
4875
- m[0] === "headerMain" ? ko : Fo
4858
+ m[0] === "headerMain" ? Ro : No
4876
4859
  );
4877
4860
  }
4878
4861
  let h = l(t), u = h(t), c = (
@@ -4880,7 +4863,7 @@ function sr(e, t) {
4880
4863
  t[11][
4881
4864
  /*index*/
4882
4865
  t[55]
4883
- ] == !0 && tr(t)
4866
+ ] == !0 && Kt(t)
4884
4867
  );
4885
4868
  function d(...m) {
4886
4869
  return (
@@ -4910,7 +4893,7 @@ function sr(e, t) {
4910
4893
  key: e,
4911
4894
  first: null,
4912
4895
  c() {
4913
- r = B("li"), u.c(), n = V(), c && c.c(), i = V(), p(r, "class", o = "CarouselItem " + /*activeindex*/
4896
+ r = B("li"), u.c(), n = W(), c && c.c(), i = W(), p(r, "class", o = "CarouselItem " + /*activeindex*/
4914
4897
  (t[1]?.toString().indexOf("$") > -1 ? (
4915
4898
  /*activeindex*/
4916
4899
  t[1]?.split("$").pop() == /*category*/
@@ -4924,8 +4907,8 @@ function sr(e, t) {
4924
4907
  },
4925
4908
  m(m, g) {
4926
4909
  A(m, r, g), u.m(r, null), C(r, n), c && c.m(r, null), C(r, i), s || (a = [
4927
- q(r, "click", d),
4928
- q(r, "keydown", b)
4910
+ J(r, "click", d),
4911
+ J(r, "keydown", b)
4929
4912
  ], s = !0);
4930
4913
  },
4931
4914
  p(m, g) {
@@ -4933,7 +4916,7 @@ function sr(e, t) {
4933
4916
  t[11][
4934
4917
  /*index*/
4935
4918
  t[55]
4936
- ] == !0 ? c ? c.p(t, g) : (c = tr(t), c.c(), c.m(r, i)) : c && (c.d(1), c = null), g[0] & /*activeindex, sliderdata, location*/
4919
+ ] == !0 ? c ? c.p(t, g) : (c = Kt(t), c.c(), c.m(r, i)) : c && (c.d(1), c = null), g[0] & /*activeindex, sliderdata, location*/
4937
4920
  515 && o !== (o = "CarouselItem " + /*activeindex*/
4938
4921
  (t[1]?.toString().indexOf("$") > -1 ? (
4939
4922
  /*activeindex*/
@@ -4947,18 +4930,18 @@ function sr(e, t) {
4947
4930
  (t[0] == "headerMain" ? "" : "SecondaryMenu")) && p(r, "class", o);
4948
4931
  },
4949
4932
  d(m) {
4950
- m && H(r), u.d(), c && c.d(), s = !1, z(a);
4933
+ m && H(r), u.d(), c && c.d(), s = !1, q(a);
4951
4934
  }
4952
4935
  };
4953
4936
  }
4954
- function Xo(e) {
4937
+ function Vo(e) {
4955
4938
  let t, r, n, i, o, s, a, l, h, u, c, d, b, m, g, y = (
4956
4939
  /*sliderdata*/
4957
4940
  e[9].length > 0 && qt(e)
4958
4941
  );
4959
4942
  return {
4960
4943
  c() {
4961
- t = B("div"), r = B("div"), n = B("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="3" d="M15 19l-7-7 7-7"></path></svg>', i = V(), o = B("div"), s = B("ul"), a = B("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', l = V(), y && y.c(), h = V(), u = B("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="3" d="M9 5l7 7-7 7"></path></svg>', p(n, "class", "CarouselLeftArrow"), p(a, "class", "TouchOnly"), p(s, "id", "CarouselNav"), p(s, "class", "CarouselItems"), p(o, "class", "CarouselNavWrap scroller"), p(u, "class", "CarouselRightArrow"), p(r, "class", c = `CarouselContainer CarouselContainerMobile ${/*location*/
4944
+ t = B("div"), r = B("div"), n = B("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="3" d="M15 19l-7-7 7-7"></path></svg>', i = W(), o = B("div"), s = B("ul"), a = B("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', l = W(), y && y.c(), h = W(), u = B("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="3" d="M9 5l7 7-7 7"></path></svg>', p(n, "class", "CarouselLeftArrow"), p(a, "class", "TouchOnly"), p(s, "id", "CarouselNav"), p(s, "class", "CarouselItems"), p(o, "class", "CarouselNavWrap scroller"), p(u, "class", "CarouselRightArrow"), p(r, "class", c = `CarouselContainer CarouselContainerMobile ${/*location*/
4962
4945
  e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), p(r, "style", d = /*location*/
4963
4946
  e[0] === "headerMain" ? "max-width: auto" : void 0), p(t, "class", b = "CarouselWrapper " + /*location*/
4964
4947
  (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "") + " " + /*isMobile*/
@@ -4966,25 +4949,25 @@ function Xo(e) {
4966
4949
  },
4967
4950
  m(x, I) {
4968
4951
  A(x, t, I), C(t, r), C(r, n), C(r, i), C(r, o), C(o, s), C(s, a), C(s, l), y && y.m(s, null), e[38](s), e[39](o), C(r, h), C(r, u), e[42](t), m || (g = [
4969
- q(
4952
+ J(
4970
4953
  n,
4971
4954
  "click",
4972
4955
  /*click_handler*/
4973
4956
  e[32]
4974
4957
  ),
4975
- q(
4958
+ J(
4976
4959
  n,
4977
4960
  "keydown",
4978
4961
  /*keydown_handler*/
4979
4962
  e[33]
4980
4963
  ),
4981
- q(
4964
+ J(
4982
4965
  u,
4983
4966
  "click",
4984
4967
  /*click_handler_3*/
4985
4968
  e[40]
4986
4969
  ),
4987
- q(
4970
+ J(
4988
4971
  u,
4989
4972
  "keydown",
4990
4973
  /*keydown_handler_3*/
@@ -5006,28 +4989,28 @@ function Xo(e) {
5006
4989
  i: D,
5007
4990
  o: D,
5008
4991
  d(x) {
5009
- x && H(t), y && y.d(), e[38](null), e[39](null), e[42](null), m = !1, z(g);
4992
+ x && H(t), y && y.d(), e[38](null), e[39](null), e[42](null), m = !1, q(g);
5010
4993
  }
5011
4994
  };
5012
4995
  }
5013
- function Zo(e, t, r) {
4996
+ function Wo(e, t, r) {
5014
4997
  let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: l = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { identity: d = "" } = t, { translationurl: b = "" } = t, { isprimarymenu: m = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: y = "" } = t, { activeindex: x = "0" } = t, { showsubgroups: I = "false" } = t, { categoriesicon: N = "false" } = t, { lobbyiconimage: $ = "" } = t, { mygamesiconimage: F = "" } = t;
5015
- Lo({ withLocale: "en", translations: {} });
4998
+ Po({ withLocale: "en", translations: {} });
5016
4999
  const j = () => {
5017
5000
  fetch(b).then((w) => w.json()).then((w) => {
5018
5001
  Object.keys(w).forEach((P) => {
5019
- Xt(P, w[P]);
5002
+ Vt(P, w[P]);
5020
5003
  });
5021
5004
  }).catch((w) => {
5022
5005
  console.log(w);
5023
5006
  });
5024
5007
  };
5025
- Object.keys(Zt).forEach((f) => {
5026
- Xt(f, Zt[f]);
5008
+ Object.keys(Wt).forEach((f) => {
5009
+ Vt(f, Wt[f]);
5027
5010
  });
5028
- let T = window.navigator.userAgent, U = Bo(T) !== "PC", O, G, ye, We, W, ve = [], Te = [], ne = [], L, _e = (f, w, P, X, k) => {
5029
- if (!(f.subGroups && X === null)) {
5030
- if (Ae(), r(6, G = w), r(6, G), k != "secondary") {
5011
+ let T = window.navigator.userAgent, U = Ao(T) !== "PC", O, G, ve, Xe, X, _e = [], Ae = [], ie = [], L, Ee = (f, w, P, Z, k) => {
5012
+ if (!(f.subGroups && Z === null)) {
5013
+ if (Ie(), r(6, G = w), r(6, G), k != "secondary") {
5031
5014
  window.postMessage(
5032
5015
  {
5033
5016
  type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
@@ -5040,35 +5023,35 @@ function Zo(e, t, r) {
5040
5023
  target: f.attrs?.target || null
5041
5024
  },
5042
5025
  window.location.href
5043
- ), r(7, ye = null), r(8, We = null);
5026
+ ), r(7, ve = null), r(8, Xe = null);
5044
5027
  return;
5045
5028
  }
5046
- r(7, ye = X), r(7, ye), r(8, We = ye), window.postMessage(
5029
+ r(7, ve = Z), r(7, ve), r(8, Xe = ve), window.postMessage(
5047
5030
  {
5048
5031
  type: s,
5049
5032
  itemId: P.id,
5050
- subIndex: X,
5033
+ subIndex: Z,
5051
5034
  subItem: P
5052
5035
  },
5053
5036
  window.location.href
5054
5037
  );
5055
5038
  }
5056
- }, Xe = () => {
5057
- L && (ne.length !== G ? r(12, L.scrollLeft -= 250, L) : r(12, L.scrollLeft = 0, L));
5058
5039
  }, Ze = () => {
5059
- L && (ne.length !== G ? r(12, L.scrollLeft += 250, L) : r(12, L.scrollLeft = 0, L));
5040
+ L && (ie.length !== G ? r(12, L.scrollLeft -= 250, L) : r(12, L.scrollLeft = 0, L));
5041
+ }, ze = () => {
5042
+ L && (ie.length !== G ? r(12, L.scrollLeft += 250, L) : r(12, L.scrollLeft = 0, L));
5060
5043
  };
5061
- const Ct = (f) => {
5062
- f.data.type == "SliderData" && f.data.identity == d && (r(9, ve = f.data.data), r(11, ne = new Array(ve.length).fill(!1)), I == "true" && Xr()), f.data.type == "GoToHomepage" && ve.forEach((w, P) => {
5044
+ const _t = (f) => {
5045
+ f.data.type == "SliderData" && f.data.identity == d && (r(9, _e = f.data.data), r(11, ie = new Array(_e.length).fill(!1)), I == "true" && jr()), f.data.type == "GoToHomepage" && _e.forEach((w, P) => {
5063
5046
  w.path.endsWith("/casino") && (r(6, G = P), r(6, G));
5064
5047
  });
5065
- }, Vr = () => {
5066
- No(y);
5067
- }, Wr = (f, w, P) => {
5048
+ }, Gr = () => {
5049
+ Oo(y);
5050
+ }, $r = (f, w, P) => {
5068
5051
  if (l == "secondaryMenu" && n && i && y && f.id) {
5069
- let X = new URL(`${n}/v1/casino/groups/${i}/${f.id}/subGroups?language=${y}`);
5070
- fetch(X.href).then((k) => k.json()).then((k) => {
5071
- k.index = w, r(10, Te = Te.concat(k)), I == "false" && window.postMessage(
5052
+ let Z = new URL(`${n}/v1/casino/groups/${i}/${f.id}/subGroups?language=${y}`);
5053
+ fetch(Z.href).then((k) => k.json()).then((k) => {
5054
+ k.index = w, r(10, Ae = Ae.concat(k)), I == "false" && window.postMessage(
5072
5055
  {
5073
5056
  type: s,
5074
5057
  itemId: f.id,
@@ -5077,61 +5060,61 @@ function Zo(e, t, r) {
5077
5060
  },
5078
5061
  window.location.href
5079
5062
  );
5080
- const Ie = [];
5081
- Te.map((on) => (on.items.forEach((wt) => {
5082
- Ie.find((sn) => wt.id == sn) || Ie.push(wt.id);
5083
- }), Ie.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Ie }, window.location.href);
5063
+ const Be = [];
5064
+ Ae.map((tn) => (tn.items.forEach((Et) => {
5065
+ Be.find((rn) => Et.id == rn) || Be.push(Et.id);
5066
+ }), Be.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Be }, window.location.href);
5084
5067
  }).then(() => {
5085
- O.querySelectorAll(".DropDown") && Ae();
5068
+ O.querySelectorAll(".DropDown") && Ie();
5086
5069
  });
5087
5070
  }
5088
5071
  l == "headerMain" && window.postMessage({ type: s, item: f }, window.location.href);
5089
- }, Ae = () => {
5072
+ }, Ie = () => {
5090
5073
  const f = O.querySelectorAll(".DropDown");
5091
5074
  document.activeElement.blur(), L.classList.add("isScrolling");
5092
5075
  for (let w = 0; w < f.length; w++)
5093
5076
  f[w].style.transform = "translateX(-" + L.scrollLeft + "px)";
5094
5077
  L.classList.remove("isScrolling");
5095
- }, Xr = () => {
5096
- ve.forEach((f, w) => {
5097
- f?.subGroups?.count > 0 && (r(11, ne[w] = !0, ne), Wr(f, w));
5078
+ }, jr = () => {
5079
+ _e.forEach((f, w) => {
5080
+ f?.subGroups?.count > 0 && (r(11, ie[w] = !0, ie), $r(f, w));
5098
5081
  });
5099
5082
  };
5100
- bn(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), window.addEventListener("message", Ct, !1), setTimeout(
5083
+ dn(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), window.addEventListener("message", _t, !1), setTimeout(
5101
5084
  () => {
5102
- L.addEventListener("scroll", Ae);
5085
+ L.addEventListener("scroll", Ie);
5103
5086
  },
5104
5087
  500
5105
5088
  ), () => {
5106
- window.removeEventListener("message", Ct), O.removeEventListener("scroll", Ae);
5089
+ window.removeEventListener("message", _t), O.removeEventListener("scroll", Ie);
5107
5090
  }));
5108
- const Zr = () => Xe(), zr = (f) => {
5109
- (f.key === "Enter" || f.key === " ") && (Xe(), f.preventDefault());
5110
- }, Qr = (f, w, P, X, k) => {
5111
- _e(f, w, P, X, "secondary"), k.stopPropagation();
5112
- }, Yr = (f, w, P, X, k) => {
5113
- (k.key === "Enter" || k.key === " ") && (_e(f, w, P, X, "secondary"), k.stopPropagation(), k.preventDefault());
5091
+ const Vr = () => Ze(), Wr = (f) => {
5092
+ (f.key === "Enter" || f.key === " ") && (Ze(), f.preventDefault());
5093
+ }, Xr = (f, w, P, Z, k) => {
5094
+ Ee(f, w, P, Z, "secondary"), k.stopPropagation();
5095
+ }, Zr = (f, w, P, Z, k) => {
5096
+ (k.key === "Enter" || k.key === " ") && (Ee(f, w, P, Z, "secondary"), k.stopPropagation(), k.preventDefault());
5097
+ }, zr = (f, w, P) => {
5098
+ Ee(f, w, null, null, "main"), P.preventDefault();
5114
5099
  }, qr = (f, w, P) => {
5115
- _e(f, w, null, null, "main"), P.preventDefault();
5116
- }, Jr = (f, w, P) => {
5117
- (P.key === "Enter" || P.key === " ") && (_e(f, w, null, null, "main"), P.preventDefault());
5100
+ (P.key === "Enter" || P.key === " ") && (Ee(f, w, null, null, "main"), P.preventDefault());
5118
5101
  };
5119
- function Kr(f) {
5120
- we[f ? "unshift" : "push"](() => {
5102
+ function Qr(f) {
5103
+ xe[f ? "unshift" : "push"](() => {
5121
5104
  O = f, r(5, O);
5122
5105
  });
5123
5106
  }
5124
- function en(f) {
5125
- we[f ? "unshift" : "push"](() => {
5107
+ function Yr(f) {
5108
+ xe[f ? "unshift" : "push"](() => {
5126
5109
  L = f, r(12, L);
5127
5110
  });
5128
5111
  }
5129
- const tn = () => Ze(), rn = (f) => {
5130
- (f.key === "Enter" || f.key === " ") && (Ze(), f.preventDefault());
5112
+ const Jr = () => ze(), Kr = (f) => {
5113
+ (f.key === "Enter" || f.key === " ") && (ze(), f.preventDefault());
5131
5114
  };
5132
- function nn(f) {
5133
- we[f ? "unshift" : "push"](() => {
5134
- W = f, r(4, W);
5115
+ function en(f) {
5116
+ xe[f ? "unshift" : "push"](() => {
5117
+ X = f, r(4, X);
5135
5118
  });
5136
5119
  }
5137
5120
  return e.$$set = (f) => {
@@ -5140,28 +5123,28 @@ function Zo(e, t, r) {
5140
5123
  e.$$.dirty[0] & /*activeindex*/
5141
5124
  2, e.$$.dirty[0] & /*translationurl*/
5142
5125
  67108864 && b && j(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5143
- 8388624 && u && W && Mo(W, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5144
- 16777232 && c && W && Po(W, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5145
- 4194320 && h && W && Oo(W, `${h}.Style`), e.$$.dirty[0] & /*lang*/
5146
- 536870912 && y && Vr();
5126
+ 8388624 && u && X && Io(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5127
+ 16777232 && c && X && Bo(X, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5128
+ 4194320 && h && X && Mo(X, `${h}.Style`), e.$$.dirty[0] & /*lang*/
5129
+ 536870912 && y && Gr();
5147
5130
  }, [
5148
5131
  l,
5149
5132
  x,
5150
5133
  I,
5151
5134
  N,
5152
- W,
5135
+ X,
5153
5136
  O,
5154
5137
  G,
5155
- ye,
5156
- We,
5157
5138
  ve,
5158
- Te,
5159
- ne,
5139
+ Xe,
5140
+ _e,
5141
+ Ae,
5142
+ ie,
5160
5143
  L,
5161
5144
  U,
5162
- _e,
5163
- Xe,
5145
+ Ee,
5164
5146
  Ze,
5147
+ ze,
5165
5148
  n,
5166
5149
  i,
5167
5150
  o,
@@ -5177,27 +5160,27 @@ function Zo(e, t, r) {
5177
5160
  y,
5178
5161
  $,
5179
5162
  F,
5163
+ Vr,
5164
+ Wr,
5165
+ Xr,
5180
5166
  Zr,
5181
5167
  zr,
5168
+ qr,
5182
5169
  Qr,
5183
5170
  Yr,
5184
- qr,
5185
5171
  Jr,
5186
5172
  Kr,
5187
- en,
5188
- tn,
5189
- rn,
5190
- nn
5173
+ en
5191
5174
  ];
5192
5175
  }
5193
- class zo extends Tn {
5176
+ class Xo extends xn {
5194
5177
  constructor(t) {
5195
- super(), Sn(
5178
+ super(), Cn(
5196
5179
  this,
5197
5180
  t,
5198
- Zo,
5199
- Xo,
5200
- lr,
5181
+ Wo,
5182
+ Vo,
5183
+ sr,
5201
5184
  {
5202
5185
  endpoint: 17,
5203
5186
  datasource: 18,
@@ -5219,7 +5202,7 @@ class zo extends Tn {
5219
5202
  lobbyiconimage: 30,
5220
5203
  mygamesiconimage: 31
5221
5204
  },
5222
- Ro,
5205
+ Lo,
5223
5206
  [-1, -1]
5224
5207
  );
5225
5208
  }
@@ -5338,7 +5321,7 @@ class zo extends Tn {
5338
5321
  this.$$set({ mygamesiconimage: t }), M();
5339
5322
  }
5340
5323
  }
5341
- Hn(zo, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
5324
+ wn(Xo, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
5342
5325
  export {
5343
- zo as C
5326
+ Xo as C
5344
5327
  };