@everymatrix/casino-categories-slider 1.74.2 → 1.74.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function I() {
2
2
  }
3
- function Ut(e) {
3
+ function Mt(e) {
4
4
  return e();
5
5
  }
6
- function dt() {
6
+ function ct() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function re(e) {
10
- e.forEach(Ut);
10
+ e.forEach(Mt);
11
11
  }
12
- function nt(e) {
12
+ function rt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Dt(e, t) {
15
+ function Rt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let pe;
19
- function ds(e, t) {
19
+ function cs(e, t) {
20
20
  return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
21
21
  }
22
- function Ir(e) {
22
+ function Pr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Ft(e, ...t) {
25
+ function Gt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function Ft(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Mr(e, t, r) {
35
- e.$$.on_destroy.push(Ft(t, r));
34
+ function Nr(e, t, r) {
35
+ e.$$.on_destroy.push(Gt(t, r));
36
36
  }
37
- function $t(e, t) {
37
+ function Ut(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Cr(e, t, r) {
41
- const n = Rr(e);
40
+ function Or(e, t, r) {
41
+ const n = Lr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = k("style");
44
- i.id = t, i.textContent = r, Gr(n, i);
44
+ i.id = t, i.textContent = r, Ir(n, i);
45
45
  }
46
46
  }
47
- function Rr(e) {
47
+ function Lr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,8 +54,8 @@ function Rr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Gr(e, t) {
58
- return $t(
57
+ function Ir(e, t) {
58
+ return Ut(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
@@ -67,23 +67,23 @@ function ce(e, t, r) {
67
67
  function ne(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function bs(e, t) {
70
+ function fs(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
74
  function k(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function jt(e) {
77
+ function Dt(e) {
78
78
  return document.createTextNode(e);
79
79
  }
80
- function ps() {
81
- return jt(" ");
80
+ function ms() {
81
+ return Dt(" ");
82
82
  }
83
- function gs() {
84
- return jt("");
83
+ function ds() {
84
+ return Dt("");
85
85
  }
86
- function ys(e, t, r, n) {
86
+ function bs(e, t, r, n) {
87
87
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
88
88
  }
89
89
  function fe(e, t, r) {
@@ -93,14 +93,14 @@ function _(e, t, r) {
93
93
  const n = t.toLowerCase();
94
94
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : fe(e, t, r);
95
95
  }
96
- function Ur(e) {
96
+ function Cr(e) {
97
97
  return Array.from(e.childNodes);
98
98
  }
99
- function vs(e, t) {
99
+ function ps(e, t) {
100
100
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
101
101
  t);
102
102
  }
103
- function Dr(e) {
103
+ function Mr(e) {
104
104
  const t = {};
105
105
  return e.childNodes.forEach(
106
106
  /** @param {Element} node */
@@ -113,25 +113,25 @@ let ue;
113
113
  function ae(e) {
114
114
  ue = e;
115
115
  }
116
- function Fr() {
116
+ function Rr() {
117
117
  if (!ue)
118
118
  throw new Error("Function called outside component initialization");
119
119
  return ue;
120
120
  }
121
- function $r(e) {
122
- Fr().$$.on_mount.push(e);
121
+ function Gr(e) {
122
+ Rr().$$.on_mount.push(e);
123
123
  }
124
- const Q = [], Fe = [];
124
+ const Q = [], De = [];
125
125
  let Y = [];
126
- const bt = [], kt = /* @__PURE__ */ Promise.resolve();
127
- let $e = !1;
128
- function Vt() {
129
- $e || ($e = !0, kt.then(S));
126
+ const ft = [], Ft = /* @__PURE__ */ Promise.resolve();
127
+ let Fe = !1;
128
+ function $t() {
129
+ Fe || (Fe = !0, Ft.then(S));
130
130
  }
131
- function jr() {
132
- return Vt(), kt;
131
+ function Ur() {
132
+ return $t(), Ft;
133
133
  }
134
- function je(e) {
134
+ function $e(e) {
135
135
  Y.push(e);
136
136
  }
137
137
  const Le = /* @__PURE__ */ new Set();
@@ -144,86 +144,86 @@ function S() {
144
144
  try {
145
145
  for (; z < Q.length; ) {
146
146
  const t = Q[z];
147
- z++, ae(t), kr(t.$$);
147
+ z++, ae(t), Dr(t.$$);
148
148
  }
149
149
  } catch (t) {
150
150
  throw Q.length = 0, z = 0, t;
151
151
  }
152
- for (ae(null), Q.length = 0, z = 0; Fe.length; )
153
- Fe.pop()();
152
+ for (ae(null), Q.length = 0, z = 0; De.length; )
153
+ De.pop()();
154
154
  for (let t = 0; t < Y.length; t += 1) {
155
155
  const r = Y[t];
156
156
  Le.has(r) || (Le.add(r), r());
157
157
  }
158
158
  Y.length = 0;
159
159
  } while (Q.length);
160
- for (; bt.length; )
161
- bt.pop()();
162
- $e = !1, Le.clear(), ae(e);
160
+ for (; ft.length; )
161
+ ft.pop()();
162
+ Fe = !1, Le.clear(), ae(e);
163
163
  }
164
- function kr(e) {
164
+ function Dr(e) {
165
165
  if (e.fragment !== null) {
166
166
  e.update(), re(e.before_update);
167
167
  const t = e.dirty;
168
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
168
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
169
169
  }
170
170
  }
171
- function Vr(e) {
171
+ function Fr(e) {
172
172
  const t = [], r = [];
173
173
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
174
174
  }
175
- const Xr = /* @__PURE__ */ new Set();
176
- function Xt(e, t) {
177
- e && e.i && (Xr.delete(e), e.i(t));
175
+ const $r = /* @__PURE__ */ new Set();
176
+ function jt(e, t) {
177
+ e && e.i && ($r.delete(e), e.i(t));
178
178
  }
179
- function _s(e) {
179
+ function gs(e) {
180
180
  return e?.length !== void 0 ? e : Array.from(e);
181
181
  }
182
- function Es(e, t) {
182
+ function ys(e, t) {
183
183
  e.d(1), t.delete(e.key);
184
184
  }
185
- function xs(e, t, r, n, i, s, o, a, h, u, l, m) {
185
+ function vs(e, t, r, n, i, s, o, a, h, u, l, m) {
186
186
  let c = e.length, d = s.length, b = c;
187
187
  const y = {};
188
188
  for (; b--; )
189
189
  y[e[b].key] = b;
190
- const T = [], M = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
190
+ const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
191
191
  for (b = d; b--; ) {
192
- const E = m(i, s, b), B = r(E);
193
- let L = o.get(B);
194
- L ? w.push(() => L.p(E, t)) : (L = u(B, E), L.c()), M.set(B, T[b] = L), B in y && P.set(B, Math.abs(b - y[B]));
192
+ const E = m(i, s, b), A = r(E);
193
+ let L = o.get(A);
194
+ L ? w.push(() => L.p(E, t)) : (L = u(A, E), L.c()), C.set(A, T[b] = L), A in y && P.set(A, Math.abs(b - y[A]));
195
195
  }
196
196
  const N = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
197
- function C(E) {
198
- Xt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
197
+ function M(E) {
198
+ jt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
199
199
  }
200
200
  for (; c && d; ) {
201
- const E = T[d - 1], B = e[c - 1], L = E.key, F = B.key;
202
- E === B ? (l = E.first, c--, d--) : M.has(F) ? !o.has(L) || N.has(L) ? C(E) : O.has(F) ? c-- : P.get(L) > P.get(F) ? (O.add(L), C(E)) : (N.add(F), c--) : (h(B, o), c--);
201
+ const E = T[d - 1], A = e[c - 1], L = E.key, F = A.key;
202
+ E === A ? (l = E.first, c--, d--) : C.has(F) ? !o.has(L) || N.has(L) ? M(E) : O.has(F) ? c-- : P.get(L) > P.get(F) ? (O.add(L), M(E)) : (N.add(F), c--) : (h(A, o), c--);
203
203
  }
204
204
  for (; c--; ) {
205
205
  const E = e[c];
206
- M.has(E.key) || h(E, o);
206
+ C.has(E.key) || h(E, o);
207
207
  }
208
208
  for (; d; )
209
- C(T[d - 1]);
209
+ M(T[d - 1]);
210
210
  return re(w), T;
211
211
  }
212
- function Wr(e, t, r) {
212
+ function jr(e, t, r) {
213
213
  const { fragment: n, after_update: i } = e.$$;
214
- n && n.m(t, r), je(() => {
215
- const s = e.$$.on_mount.map(Ut).filter(nt);
214
+ n && n.m(t, r), $e(() => {
215
+ const s = e.$$.on_mount.map(Mt).filter(rt);
216
216
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
217
- }), i.forEach(je);
217
+ }), i.forEach($e);
218
218
  }
219
- function zr(e, t) {
219
+ function kr(e, t) {
220
220
  const r = e.$$;
221
- r.fragment !== null && (Vr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
221
+ r.fragment !== null && (Fr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
222
222
  }
223
- function Zr(e, t) {
224
- e.$$.dirty[0] === -1 && (Q.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
223
+ function Vr(e, t) {
224
+ e.$$.dirty[0] === -1 && (Q.push(e), $t(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
225
225
  }
226
- function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
226
+ function Xr(e, t, r, n, i, s, o = null, a = [-1]) {
227
227
  const h = ue;
228
228
  ae(e);
229
229
  const u = e.$$ = {
@@ -233,7 +233,7 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
233
233
  props: s,
234
234
  update: I,
235
235
  not_equal: i,
236
- bound: dt(),
236
+ bound: ct(),
237
237
  // lifecycle
238
238
  on_mount: [],
239
239
  on_destroy: [],
@@ -242,7 +242,7 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
242
242
  after_update: [],
243
243
  context: new Map(t.context || (h ? h.$$.context : [])),
244
244
  // everything else
245
- callbacks: dt(),
245
+ callbacks: ct(),
246
246
  dirty: a,
247
247
  skip_bound: !1,
248
248
  root: t.target || h.$$.root
@@ -251,19 +251,19 @@ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
251
251
  let l = !1;
252
252
  if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
253
253
  const b = d.length ? d[0] : c;
254
- return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Zr(e, m)), c;
254
+ return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Vr(e, m)), c;
255
255
  }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
256
256
  if (t.hydrate) {
257
- const m = Ur(t.target);
257
+ const m = Cr(t.target);
258
258
  u.fragment && u.fragment.l(m), m.forEach(ne);
259
259
  } else
260
260
  u.fragment && u.fragment.c();
261
- t.intro && Xt(e.$$.fragment), Wr(e, t.target, t.anchor), S();
261
+ t.intro && jt(e.$$.fragment), jr(e, t.target, t.anchor), S();
262
262
  }
263
263
  ae(h);
264
264
  }
265
- let Wt;
266
- typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
265
+ let kt;
266
+ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
267
267
  /** The Svelte component constructor */
268
268
  $$ctor;
269
269
  /** Slots */
@@ -322,7 +322,7 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
322
322
  };
323
323
  if (await Promise.resolve(), !this.$$cn || this.$$c)
324
324
  return;
325
- const t = {}, r = Dr(this);
325
+ const t = {}, r = Mr(this);
326
326
  for (const i of this.$$s)
327
327
  i in r && (t[i] = [e(i)]);
328
328
  for (const i of this.attributes) {
@@ -409,8 +409,8 @@ function ve(e, t, r, n) {
409
409
  return t;
410
410
  }
411
411
  }
412
- function Yr(e, t, r, n, i, s) {
413
- let o = class extends Wt {
412
+ function Wr(e, t, r, n, i, s) {
413
+ let o = class extends kt {
414
414
  constructor() {
415
415
  super(e, r, i), this.$$p_d = t;
416
416
  }
@@ -438,7 +438,7 @@ function Yr(e, t, r, n, i, s) {
438
438
  }), e.element = /** @type {any} */
439
439
  o, o;
440
440
  }
441
- class qr {
441
+ class zr {
442
442
  /**
443
443
  * ### PRIVATE API
444
444
  *
@@ -457,7 +457,7 @@ class qr {
457
457
  $$set = void 0;
458
458
  /** @returns {void} */
459
459
  $destroy() {
460
- zr(this, 1), this.$destroy = I;
460
+ kr(this, 1), this.$destroy = I;
461
461
  }
462
462
  /**
463
463
  * @template {Extract<keyof Events, string>} K
@@ -466,7 +466,7 @@ class qr {
466
466
  * @returns {() => void}
467
467
  */
468
468
  $on(t, r) {
469
- if (!nt(r))
469
+ if (!rt(r))
470
470
  return I;
471
471
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
472
472
  return n.push(r), () => {
@@ -479,11 +479,11 @@ class qr {
479
479
  * @returns {void}
480
480
  */
481
481
  $set(t) {
482
- this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
+ this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
483
483
  }
484
484
  }
485
- const Jr = "4";
486
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
485
+ const Zr = "4";
486
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
487
487
  /*! *****************************************************************************
488
488
  Copyright (c) Microsoft Corporation.
489
489
 
@@ -498,18 +498,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
498
498
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
499
499
  PERFORMANCE OF THIS SOFTWARE.
500
500
  ***************************************************************************** */
501
- var ke = function(e, t) {
502
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
501
+ var je = function(e, t) {
502
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
503
503
  r.__proto__ = n;
504
504
  } || function(r, n) {
505
505
  for (var i in n)
506
506
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
507
- }, ke(e, t);
507
+ }, je(e, t);
508
508
  };
509
509
  function U(e, t) {
510
510
  if (typeof t != "function" && t !== null)
511
511
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
512
- ke(e, t);
512
+ je(e, t);
513
513
  function r() {
514
514
  this.constructor = e;
515
515
  }
@@ -525,7 +525,7 @@ var v = function() {
525
525
  return t;
526
526
  }, v.apply(this, arguments);
527
527
  };
528
- function Kr(e, t) {
528
+ function Qr(e, t) {
529
529
  var r = {};
530
530
  for (var n in e)
531
531
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -534,7 +534,7 @@ function Kr(e, t) {
534
534
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
535
535
  return r;
536
536
  }
537
- function Ve(e) {
537
+ function ke(e) {
538
538
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
539
539
  if (r)
540
540
  return r.call(e);
@@ -546,7 +546,7 @@ function Ve(e) {
546
546
  };
547
547
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
548
548
  }
549
- function Xe(e, t) {
549
+ function Ve(e, t) {
550
550
  var r = typeof Symbol == "function" && e[Symbol.iterator];
551
551
  if (!r)
552
552
  return e;
@@ -575,13 +575,13 @@ function q(e, t, r) {
575
575
  function G(e) {
576
576
  return typeof e == "function";
577
577
  }
578
- function zt(e) {
578
+ function Vt(e) {
579
579
  var t = function(n) {
580
580
  Error.call(n), n.stack = new Error().stack;
581
581
  }, r = e(t);
582
582
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
583
583
  }
584
- var Ie = zt(function(e) {
584
+ var Ie = Vt(function(e) {
585
585
  return function(r) {
586
586
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
587
587
  ` + r.map(function(n, i) {
@@ -590,7 +590,7 @@ var Ie = zt(function(e) {
590
590
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
591
591
  };
592
592
  });
593
- function We(e, t) {
593
+ function Xe(e, t) {
594
594
  if (e) {
595
595
  var r = e.indexOf(t);
596
596
  0 <= r && e.splice(r, 1);
@@ -608,7 +608,7 @@ var Te = function() {
608
608
  if (o)
609
609
  if (this._parentage = null, Array.isArray(o))
610
610
  try {
611
- for (var a = Ve(o), h = a.next(); !h.done; h = a.next()) {
611
+ for (var a = ke(o), h = a.next(); !h.done; h = a.next()) {
612
612
  var u = h.value;
613
613
  u.remove(this);
614
614
  }
@@ -635,12 +635,12 @@ var Te = function() {
635
635
  if (m) {
636
636
  this._finalizers = null;
637
637
  try {
638
- for (var c = Ve(m), d = c.next(); !d.done; d = c.next()) {
638
+ for (var c = ke(m), d = c.next(); !d.done; d = c.next()) {
639
639
  var b = d.value;
640
640
  try {
641
- pt(b);
641
+ mt(b);
642
642
  } catch (y) {
643
- s = s ?? [], y instanceof Ie ? s = q(q([], Xe(s)), Xe(y.errors)) : s.push(y);
643
+ s = s ?? [], y instanceof Ie ? s = q(q([], Ve(s)), Ve(y.errors)) : s.push(y);
644
644
  }
645
645
  }
646
646
  } catch (y) {
@@ -661,7 +661,7 @@ var Te = function() {
661
661
  var r;
662
662
  if (t && t !== this)
663
663
  if (this.closed)
664
- pt(t);
664
+ mt(t);
665
665
  else {
666
666
  if (t instanceof e) {
667
667
  if (t.closed || t._hasParent(this))
@@ -678,56 +678,56 @@ var Te = function() {
678
678
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
679
679
  }, e.prototype._removeParent = function(t) {
680
680
  var r = this._parentage;
681
- r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
681
+ r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
682
682
  }, e.prototype.remove = function(t) {
683
683
  var r = this._finalizers;
684
- r && We(r, t), t instanceof e && t._removeParent(this);
684
+ r && Xe(r, t), t instanceof e && t._removeParent(this);
685
685
  }, e.EMPTY = function() {
686
686
  var t = new e();
687
687
  return t.closed = !0, t;
688
688
  }(), e;
689
- }(), Zt = Te.EMPTY;
690
- function Qt(e) {
689
+ }(), Xt = Te.EMPTY;
690
+ function Wt(e) {
691
691
  return e instanceof Te || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
692
692
  }
693
- function pt(e) {
693
+ function mt(e) {
694
694
  G(e) ? e() : e.unsubscribe();
695
695
  }
696
- var Yt = {
696
+ var Yr = {
697
697
  onUnhandledError: null,
698
698
  onStoppedNotification: null,
699
699
  Promise: void 0,
700
700
  useDeprecatedSynchronousErrorHandling: !1,
701
701
  useDeprecatedNextContext: !1
702
- }, en = {
702
+ }, qr = {
703
703
  setTimeout: function(e, t) {
704
704
  for (var r = [], n = 2; n < arguments.length; n++)
705
705
  r[n - 2] = arguments[n];
706
- return setTimeout.apply(void 0, q([e, t], Xe(r)));
706
+ return setTimeout.apply(void 0, q([e, t], Ve(r)));
707
707
  },
708
708
  clearTimeout: function(e) {
709
709
  return clearTimeout(e);
710
710
  },
711
711
  delegate: void 0
712
712
  };
713
- function tn(e) {
714
- en.setTimeout(function() {
713
+ function Jr(e) {
714
+ qr.setTimeout(function() {
715
715
  throw e;
716
716
  });
717
717
  }
718
- function gt() {
718
+ function dt() {
719
719
  }
720
720
  function _e(e) {
721
721
  e();
722
722
  }
723
- var qt = function(e) {
723
+ var zt = function(e) {
724
724
  U(t, e);
725
725
  function t(r) {
726
726
  var n = e.call(this) || this;
727
- return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = on, n;
727
+ return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = tn, n;
728
728
  }
729
729
  return t.create = function(r, n, i) {
730
- return new ze(r, n, i);
730
+ return new We(r, n, i);
731
731
  }, t.prototype.next = function(r) {
732
732
  this.isStopped || this._next(r);
733
733
  }, t.prototype.error = function(r) {
@@ -751,11 +751,7 @@ var qt = function(e) {
751
751
  this.unsubscribe();
752
752
  }
753
753
  }, t;
754
- }(Te), rn = Function.prototype.bind;
755
- function Me(e, t) {
756
- return rn.call(e, t);
757
- }
758
- var nn = function() {
754
+ }(Te), Kr = function() {
759
755
  function e(t) {
760
756
  this.partialObserver = t;
761
757
  }
@@ -786,55 +782,43 @@ var nn = function() {
786
782
  ge(r);
787
783
  }
788
784
  }, e;
789
- }(), ze = function(e) {
785
+ }(), We = function(e) {
790
786
  U(t, e);
791
787
  function t(r, n, i) {
792
788
  var s = e.call(this) || this, o;
793
- if (G(r) || !r)
794
- o = {
795
- next: r ?? void 0,
796
- error: n ?? void 0,
797
- complete: i ?? void 0
798
- };
799
- else {
800
- var a;
801
- s && Yt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
802
- return s.unsubscribe();
803
- }, o = {
804
- next: r.next && Me(r.next, a),
805
- error: r.error && Me(r.error, a),
806
- complete: r.complete && Me(r.complete, a)
807
- }) : o = r;
808
- }
809
- return s.destination = new nn(o), s;
789
+ return G(r) || !r ? o = {
790
+ next: r ?? void 0,
791
+ error: n ?? void 0,
792
+ complete: i ?? void 0
793
+ } : o = r, s.destination = new Kr(o), s;
810
794
  }
811
795
  return t;
812
- }(qt);
796
+ }(zt);
813
797
  function ge(e) {
814
- tn(e);
798
+ Jr(e);
815
799
  }
816
- function sn(e) {
800
+ function en(e) {
817
801
  throw e;
818
802
  }
819
- var on = {
803
+ var tn = {
820
804
  closed: !0,
821
- next: gt,
822
- error: sn,
823
- complete: gt
824
- }, an = function() {
805
+ next: dt,
806
+ error: en,
807
+ complete: dt
808
+ }, rn = function() {
825
809
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
826
810
  }();
827
- function un(e) {
811
+ function nn(e) {
828
812
  return e;
829
813
  }
830
- function hn(e) {
831
- return e.length === 0 ? un : e.length === 1 ? e[0] : function(r) {
814
+ function sn(e) {
815
+ return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
832
816
  return e.reduce(function(n, i) {
833
817
  return i(n);
834
818
  }, r);
835
819
  };
836
820
  }
837
- var yt = function() {
821
+ var bt = function() {
838
822
  function e(t) {
839
823
  t && (this._subscribe = t);
840
824
  }
@@ -842,7 +826,7 @@ var yt = function() {
842
826
  var r = new e();
843
827
  return r.source = this, r.operator = t, r;
844
828
  }, e.prototype.subscribe = function(t, r, n) {
845
- var i = this, s = cn(t) ? t : new ze(t, r, n);
829
+ var i = this, s = an(t) ? t : new We(t, r, n);
846
830
  return _e(function() {
847
831
  var o = i, a = o.operator, h = o.source;
848
832
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
@@ -855,8 +839,8 @@ var yt = function() {
855
839
  }
856
840
  }, e.prototype.forEach = function(t, r) {
857
841
  var n = this;
858
- return r = vt(r), new r(function(i, s) {
859
- var o = new ze({
842
+ return r = pt(r), new r(function(i, s) {
843
+ var o = new We({
860
844
  next: function(a) {
861
845
  try {
862
846
  t(a);
@@ -872,15 +856,15 @@ var yt = function() {
872
856
  }, e.prototype._subscribe = function(t) {
873
857
  var r;
874
858
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
875
- }, e.prototype[an] = function() {
859
+ }, e.prototype[rn] = function() {
876
860
  return this;
877
861
  }, e.prototype.pipe = function() {
878
862
  for (var t = [], r = 0; r < arguments.length; r++)
879
863
  t[r] = arguments[r];
880
- return hn(t)(this);
864
+ return sn(t)(this);
881
865
  }, e.prototype.toPromise = function(t) {
882
866
  var r = this;
883
- return t = vt(t), new t(function(n, i) {
867
+ return t = pt(t), new t(function(n, i) {
884
868
  var s;
885
869
  r.subscribe(function(o) {
886
870
  return s = o;
@@ -894,32 +878,32 @@ var yt = function() {
894
878
  return new e(t);
895
879
  }, e;
896
880
  }();
897
- function vt(e) {
881
+ function pt(e) {
898
882
  var t;
899
- return (t = e ?? Yt.Promise) !== null && t !== void 0 ? t : Promise;
883
+ return (t = e ?? Yr.Promise) !== null && t !== void 0 ? t : Promise;
900
884
  }
901
- function ln(e) {
885
+ function on(e) {
902
886
  return e && G(e.next) && G(e.error) && G(e.complete);
903
887
  }
904
- function cn(e) {
905
- return e && e instanceof qt || ln(e) && Qt(e);
888
+ function an(e) {
889
+ return e && e instanceof zt || on(e) && Wt(e);
906
890
  }
907
- var fn = zt(function(e) {
891
+ var un = Vt(function(e) {
908
892
  return function() {
909
893
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
910
894
  };
911
- }), Jt = function(e) {
895
+ }), Zt = function(e) {
912
896
  U(t, e);
913
897
  function t() {
914
898
  var r = e.call(this) || this;
915
899
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
916
900
  }
917
901
  return t.prototype.lift = function(r) {
918
- var n = new _t(this, this);
902
+ var n = new gt(this, this);
919
903
  return n.operator = r, n;
920
904
  }, t.prototype._throwIfClosed = function() {
921
905
  if (this.closed)
922
- throw new fn();
906
+ throw new un();
923
907
  }, t.prototype.next = function(r) {
924
908
  var n = this;
925
909
  _e(function() {
@@ -927,7 +911,7 @@ var fn = zt(function(e) {
927
911
  if (n._throwIfClosed(), !n.isStopped) {
928
912
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
929
913
  try {
930
- for (var o = Ve(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
914
+ for (var o = ke(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
931
915
  var h = a.value;
932
916
  h.next(r);
933
917
  }
@@ -976,19 +960,19 @@ var fn = zt(function(e) {
976
960
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
977
961
  }, t.prototype._innerSubscribe = function(r) {
978
962
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
979
- return s || o ? Zt : (this.currentObservers = null, a.push(r), new Te(function() {
980
- n.currentObservers = null, We(a, r);
963
+ return s || o ? Xt : (this.currentObservers = null, a.push(r), new Te(function() {
964
+ n.currentObservers = null, Xe(a, r);
981
965
  }));
982
966
  }, t.prototype._checkFinalizedStatuses = function(r) {
983
967
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
984
968
  i ? r.error(s) : o && r.complete();
985
969
  }, t.prototype.asObservable = function() {
986
- var r = new yt();
970
+ var r = new bt();
987
971
  return r.source = this, r;
988
972
  }, t.create = function(r, n) {
989
- return new _t(r, n);
973
+ return new gt(r, n);
990
974
  }, t;
991
- }(yt), _t = function(e) {
975
+ }(bt), gt = function(e) {
992
976
  U(t, e);
993
977
  function t(r, n) {
994
978
  var i = e.call(this) || this;
@@ -1005,17 +989,17 @@ var fn = zt(function(e) {
1005
989
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1006
990
  }, t.prototype._subscribe = function(r) {
1007
991
  var n, i;
1008
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Zt;
992
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
1009
993
  }, t;
1010
- }(Jt), Kt = {
994
+ }(Zt), Qt = {
1011
995
  now: function() {
1012
- return (Kt.delegate || Date).now();
996
+ return (Qt.delegate || Date).now();
1013
997
  },
1014
998
  delegate: void 0
1015
- }, mn = function(e) {
999
+ }, hn = function(e) {
1016
1000
  U(t, e);
1017
1001
  function t(r, n, i) {
1018
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
1002
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qt);
1019
1003
  var s = e.call(this) || this;
1020
1004
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1021
1005
  }
@@ -1035,15 +1019,15 @@ var fn = zt(function(e) {
1035
1019
  u && s.splice(0, u + 1);
1036
1020
  }
1037
1021
  }, t;
1038
- }(Jt);
1039
- const Et = [], xt = {}, dn = (e, t = 0) => {
1040
- if (Et.indexOf(e) == -1) {
1041
- const r = new mn(t);
1042
- xt[e] = r, Et.push(e);
1022
+ }(Zt);
1023
+ const yt = [], vt = {}, ln = (e, t = 0) => {
1024
+ if (yt.indexOf(e) == -1) {
1025
+ const r = new hn(t);
1026
+ vt[e] = r, yt.push(e);
1043
1027
  }
1044
- return xt[e];
1028
+ return vt[e];
1045
1029
  }, Z = [];
1046
- function bn(e, t) {
1030
+ function cn(e, t) {
1047
1031
  return {
1048
1032
  subscribe: He(e, t).subscribe
1049
1033
  };
@@ -1052,7 +1036,7 @@ function He(e, t = I) {
1052
1036
  let r;
1053
1037
  const n = /* @__PURE__ */ new Set();
1054
1038
  function i(a) {
1055
- if (Dt(e, a) && (e = a, r)) {
1039
+ if (Rt(e, a) && (e = a, r)) {
1056
1040
  const h = !Z.length;
1057
1041
  for (const u of n)
1058
1042
  u[1](), Z.push(u, e);
@@ -1079,7 +1063,7 @@ function ie(e, t, r) {
1079
1063
  if (!i.every(Boolean))
1080
1064
  throw new Error("derived() expects stores as input, got a falsy value");
1081
1065
  const s = t.length < 2;
1082
- return bn(r, (o, a) => {
1066
+ return cn(r, (o, a) => {
1083
1067
  let h = !1;
1084
1068
  const u = [];
1085
1069
  let l = 0, m = I;
@@ -1088,9 +1072,9 @@ function ie(e, t, r) {
1088
1072
  return;
1089
1073
  m();
1090
1074
  const b = t(n ? u[0] : u, o, a);
1091
- s ? o(b) : m = nt(b) ? b : I;
1075
+ s ? o(b) : m = rt(b) ? b : I;
1092
1076
  }, d = i.map(
1093
- (b, y) => Ft(
1077
+ (b, y) => Gt(
1094
1078
  b,
1095
1079
  (T) => {
1096
1080
  u[y] = T, l &= ~(1 << y), h && c();
@@ -1105,70 +1089,70 @@ function ie(e, t, r) {
1105
1089
  };
1106
1090
  });
1107
1091
  }
1108
- function pn(e) {
1109
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1092
+ function fn(e) {
1093
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1110
1094
  }
1111
- var gn = function(t) {
1112
- return yn(t) && !vn(t);
1095
+ var mn = function(t) {
1096
+ return dn(t) && !bn(t);
1113
1097
  };
1114
- function yn(e) {
1098
+ function dn(e) {
1115
1099
  return !!e && typeof e == "object";
1116
1100
  }
1117
- function vn(e) {
1101
+ function bn(e) {
1118
1102
  var t = Object.prototype.toString.call(e);
1119
- return t === "[object RegExp]" || t === "[object Date]" || xn(e);
1103
+ return t === "[object RegExp]" || t === "[object Date]" || yn(e);
1120
1104
  }
1121
- var _n = typeof Symbol == "function" && Symbol.for, En = _n ? Symbol.for("react.element") : 60103;
1122
- function xn(e) {
1123
- return e.$$typeof === En;
1105
+ var pn = typeof Symbol == "function" && Symbol.for, gn = pn ? Symbol.for("react.element") : 60103;
1106
+ function yn(e) {
1107
+ return e.$$typeof === gn;
1124
1108
  }
1125
- function Sn(e) {
1109
+ function vn(e) {
1126
1110
  return Array.isArray(e) ? [] : {};
1127
1111
  }
1128
1112
  function he(e, t) {
1129
- return t.clone !== !1 && t.isMergeableObject(e) ? J(Sn(e), e, t) : e;
1113
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(vn(e), e, t) : e;
1130
1114
  }
1131
- function wn(e, t, r) {
1115
+ function _n(e, t, r) {
1132
1116
  return e.concat(t).map(function(n) {
1133
1117
  return he(n, r);
1134
1118
  });
1135
1119
  }
1136
- function Tn(e, t) {
1120
+ function En(e, t) {
1137
1121
  if (!t.customMerge)
1138
1122
  return J;
1139
1123
  var r = t.customMerge(e);
1140
1124
  return typeof r == "function" ? r : J;
1141
1125
  }
1142
- function Hn(e) {
1126
+ function xn(e) {
1143
1127
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1144
1128
  return Object.propertyIsEnumerable.call(e, t);
1145
1129
  }) : [];
1146
1130
  }
1147
- function St(e) {
1148
- return Object.keys(e).concat(Hn(e));
1131
+ function _t(e) {
1132
+ return Object.keys(e).concat(xn(e));
1149
1133
  }
1150
- function er(e, t) {
1134
+ function Yt(e, t) {
1151
1135
  try {
1152
1136
  return t in e;
1153
1137
  } catch {
1154
1138
  return !1;
1155
1139
  }
1156
1140
  }
1157
- function Bn(e, t) {
1158
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1141
+ function Sn(e, t) {
1142
+ return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1159
1143
  }
1160
- function An(e, t, r) {
1144
+ function wn(e, t, r) {
1161
1145
  var n = {};
1162
- return r.isMergeableObject(e) && St(e).forEach(function(i) {
1146
+ return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1163
1147
  n[i] = he(e[i], r);
1164
- }), St(t).forEach(function(i) {
1165
- Bn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1148
+ }), _t(t).forEach(function(i) {
1149
+ Sn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1166
1150
  }), n;
1167
1151
  }
1168
1152
  function J(e, t, r) {
1169
- r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = he;
1153
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = he;
1170
1154
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1171
- return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : he(t, r);
1155
+ return s ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : he(t, r);
1172
1156
  }
1173
1157
  J.all = function(t, r) {
1174
1158
  if (!Array.isArray(t))
@@ -1177,58 +1161,60 @@ J.all = function(t, r) {
1177
1161
  return J(n, i, r);
1178
1162
  }, {});
1179
1163
  };
1180
- var Pn = J, Nn = Pn;
1181
- const On = /* @__PURE__ */ pn(Nn);
1164
+ var Tn = J, Hn = Tn;
1165
+ const An = /* @__PURE__ */ fn(Hn);
1182
1166
  function Ce(e, t) {
1183
- var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : In;
1167
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : Pn;
1184
1168
  return i(e, {
1185
1169
  cache: r,
1186
1170
  serializer: n
1187
1171
  });
1188
1172
  }
1189
- function Ln(e) {
1173
+ function Bn(e) {
1190
1174
  return e == null || typeof e == "number" || typeof e == "boolean";
1191
1175
  }
1192
- function tr(e, t, r, n) {
1193
- var i = Ln(n) ? n : r(n), s = t.get(i);
1176
+ function qt(e, t, r, n) {
1177
+ var i = Bn(n) ? n : r(n), s = t.get(i);
1194
1178
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1195
1179
  }
1196
- function rr(e, t, r) {
1180
+ function Jt(e, t, r) {
1197
1181
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1198
1182
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1199
1183
  }
1200
- function it(e, t, r, n, i) {
1184
+ function nt(e, t, r, n, i) {
1201
1185
  return r.bind(t, e, n, i);
1202
1186
  }
1203
- function In(e, t) {
1204
- var r = e.length === 1 ? tr : rr;
1205
- return it(e, this, r, t.cache.create(), t.serializer);
1187
+ function Pn(e, t) {
1188
+ var r = e.length === 1 ? qt : Jt;
1189
+ return nt(e, this, r, t.cache.create(), t.serializer);
1206
1190
  }
1207
- function Mn(e, t) {
1208
- return it(e, this, rr, t.cache.create(), t.serializer);
1191
+ function Nn(e, t) {
1192
+ return nt(e, this, Jt, t.cache.create(), t.serializer);
1209
1193
  }
1210
- function Cn(e, t) {
1211
- return it(e, this, tr, t.cache.create(), t.serializer);
1194
+ function On(e, t) {
1195
+ return nt(e, this, qt, t.cache.create(), t.serializer);
1212
1196
  }
1213
- var Rn = function() {
1197
+ var Ln = function() {
1214
1198
  return JSON.stringify(arguments);
1215
- };
1216
- function st() {
1217
- this.cache = /* @__PURE__ */ Object.create(null);
1218
- }
1219
- st.prototype.get = function(e) {
1220
- return this.cache[e];
1221
- };
1222
- st.prototype.set = function(e, t) {
1223
- this.cache[e] = t;
1224
- };
1225
- var Gn = {
1199
+ }, In = (
1200
+ /** @class */
1201
+ function() {
1202
+ function e() {
1203
+ this.cache = /* @__PURE__ */ Object.create(null);
1204
+ }
1205
+ return e.prototype.get = function(t) {
1206
+ return this.cache[t];
1207
+ }, e.prototype.set = function(t, r) {
1208
+ this.cache[t] = r;
1209
+ }, e;
1210
+ }()
1211
+ ), Cn = {
1226
1212
  create: function() {
1227
- return new st();
1213
+ return new In();
1228
1214
  }
1229
- }, Re = {
1230
- variadic: Mn,
1231
- monadic: Cn
1215
+ }, Me = {
1216
+ variadic: Nn,
1217
+ monadic: On
1232
1218
  }, p;
1233
1219
  (function(e) {
1234
1220
  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";
@@ -1241,43 +1227,43 @@ var K;
1241
1227
  (function(e) {
1242
1228
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1243
1229
  })(K || (K = {}));
1244
- function wt(e) {
1230
+ function Et(e) {
1245
1231
  return e.type === x.literal;
1246
1232
  }
1247
- function Un(e) {
1233
+ function Mn(e) {
1248
1234
  return e.type === x.argument;
1249
1235
  }
1250
- function nr(e) {
1236
+ function Kt(e) {
1251
1237
  return e.type === x.number;
1252
1238
  }
1253
- function ir(e) {
1239
+ function er(e) {
1254
1240
  return e.type === x.date;
1255
1241
  }
1256
- function sr(e) {
1242
+ function tr(e) {
1257
1243
  return e.type === x.time;
1258
1244
  }
1259
- function or(e) {
1245
+ function rr(e) {
1260
1246
  return e.type === x.select;
1261
1247
  }
1262
- function ar(e) {
1248
+ function nr(e) {
1263
1249
  return e.type === x.plural;
1264
1250
  }
1265
- function Dn(e) {
1251
+ function Rn(e) {
1266
1252
  return e.type === x.pound;
1267
1253
  }
1268
- function ur(e) {
1254
+ function ir(e) {
1269
1255
  return e.type === x.tag;
1270
1256
  }
1271
- function hr(e) {
1257
+ function sr(e) {
1272
1258
  return !!(e && typeof e == "object" && e.type === K.number);
1273
1259
  }
1274
- function Ze(e) {
1260
+ function ze(e) {
1275
1261
  return !!(e && typeof e == "object" && e.type === K.dateTime);
1276
1262
  }
1277
- var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
1278
- function $n(e) {
1263
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1264
+ function Un(e) {
1279
1265
  var t = {};
1280
- return e.replace(Fn, function(r) {
1266
+ return e.replace(Gn, function(r) {
1281
1267
  var n = r.length;
1282
1268
  switch (r[0]) {
1283
1269
  case "G":
@@ -1366,11 +1352,11 @@ function $n(e) {
1366
1352
  return "";
1367
1353
  }), t;
1368
1354
  }
1369
- var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1370
- function kn(e) {
1355
+ var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1356
+ function Fn(e) {
1371
1357
  if (e.length === 0)
1372
1358
  throw new Error("Number skeleton cannot be empty");
1373
- for (var t = e.split(jn).filter(function(c) {
1359
+ for (var t = e.split(Dn).filter(function(c) {
1374
1360
  return c.length > 0;
1375
1361
  }), r = [], n = 0, i = t; n < i.length; n++) {
1376
1362
  var s = i[n], o = s.split("/");
@@ -1385,17 +1371,17 @@ function kn(e) {
1385
1371
  }
1386
1372
  return r;
1387
1373
  }
1388
- function Vn(e) {
1374
+ function $n(e) {
1389
1375
  return e.replace(/^(.*?)-/, "");
1390
1376
  }
1391
- var Tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
1392
- function Ht(e) {
1377
+ var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1378
+ function St(e) {
1393
1379
  var t = {};
1394
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
1380
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1395
1381
  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)), "";
1396
1382
  }), t;
1397
1383
  }
1398
- function mr(e) {
1384
+ function hr(e) {
1399
1385
  switch (e) {
1400
1386
  case "sign-auto":
1401
1387
  return {
@@ -1435,7 +1421,7 @@ function mr(e) {
1435
1421
  };
1436
1422
  }
1437
1423
  }
1438
- function Wn(e) {
1424
+ function kn(e) {
1439
1425
  var t;
1440
1426
  if (e[0] === "E" && e[1] === "E" ? (t = {
1441
1427
  notation: "engineering"
@@ -1443,17 +1429,17 @@ function Wn(e) {
1443
1429
  notation: "scientific"
1444
1430
  }, e = e.slice(1)), t) {
1445
1431
  var r = e.slice(0, 2);
1446
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
1432
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1447
1433
  throw new Error("Malformed concise eng/scientific notation");
1448
1434
  t.minimumIntegerDigits = e.length;
1449
1435
  }
1450
1436
  return t;
1451
1437
  }
1452
- function Bt(e) {
1453
- var t = {}, r = mr(e);
1438
+ function wt(e) {
1439
+ var t = {}, r = hr(e);
1454
1440
  return r || t;
1455
1441
  }
1456
- function zn(e) {
1442
+ function Vn(e) {
1457
1443
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1458
1444
  var i = n[r];
1459
1445
  switch (i.stem) {
@@ -1477,7 +1463,7 @@ function zn(e) {
1477
1463
  continue;
1478
1464
  case "measure-unit":
1479
1465
  case "unit":
1480
- t.style = "unit", t.unit = Vn(i.options[0]);
1466
+ t.style = "unit", t.unit = $n(i.options[0]);
1481
1467
  continue;
1482
1468
  case "compact-short":
1483
1469
  case "K":
@@ -1489,12 +1475,12 @@ function zn(e) {
1489
1475
  continue;
1490
1476
  case "scientific":
1491
1477
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1492
- return v(v({}, h), Bt(u));
1478
+ return v(v({}, h), wt(u));
1493
1479
  }, {}));
1494
1480
  continue;
1495
1481
  case "engineering":
1496
1482
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1497
- return v(v({}, h), Bt(u));
1483
+ return v(v({}, h), wt(u));
1498
1484
  }, {}));
1499
1485
  continue;
1500
1486
  case "notation-simple":
@@ -1539,7 +1525,7 @@ function zn(e) {
1539
1525
  case "integer-width":
1540
1526
  if (i.options.length > 1)
1541
1527
  throw new RangeError("integer-width stems only accept a single optional option");
1542
- i.options[0].replace(Xn, function(h, u, l, m, c, d) {
1528
+ i.options[0].replace(jn, function(h, u, l, m, c, d) {
1543
1529
  if (u)
1544
1530
  t.minimumIntegerDigits = l.length;
1545
1531
  else {
@@ -1552,27 +1538,27 @@ function zn(e) {
1552
1538
  });
1553
1539
  continue;
1554
1540
  }
1555
- if (fr.test(i.stem)) {
1541
+ if (ur.test(i.stem)) {
1556
1542
  t.minimumIntegerDigits = i.stem.length;
1557
1543
  continue;
1558
1544
  }
1559
- if (Tt.test(i.stem)) {
1545
+ if (xt.test(i.stem)) {
1560
1546
  if (i.options.length > 1)
1561
1547
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1562
- i.stem.replace(Tt, function(h, u, l, m, c, d) {
1548
+ i.stem.replace(xt, function(h, u, l, m, c, d) {
1563
1549
  return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1564
1550
  });
1565
1551
  var s = i.options[0];
1566
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Ht(s)));
1552
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), St(s)));
1567
1553
  continue;
1568
1554
  }
1569
- if (cr.test(i.stem)) {
1570
- t = v(v({}, t), Ht(i.stem));
1555
+ if (ar.test(i.stem)) {
1556
+ t = v(v({}, t), St(i.stem));
1571
1557
  continue;
1572
1558
  }
1573
- var o = mr(i.stem);
1559
+ var o = hr(i.stem);
1574
1560
  o && (t = v(v({}, t), o));
1575
- var a = Wn(i.stem);
1561
+ var a = kn(i.stem);
1576
1562
  a && (t = v(v({}, t), a));
1577
1563
  }
1578
1564
  return t;
@@ -2992,13 +2978,13 @@ var ye = {
2992
2978
  "h"
2993
2979
  ]
2994
2980
  };
2995
- function Zn(e, t) {
2981
+ function Xn(e, t) {
2996
2982
  for (var r = "", n = 0; n < e.length; n++) {
2997
2983
  var i = e.charAt(n);
2998
2984
  if (i === "j") {
2999
2985
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3000
2986
  s++, n++;
3001
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Qn(t);
2987
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Wn(t);
3002
2988
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3003
2989
  r += h;
3004
2990
  for (; o-- > 0; )
@@ -3008,7 +2994,7 @@ function Zn(e, t) {
3008
2994
  }
3009
2995
  return r;
3010
2996
  }
3011
- function Qn(e) {
2997
+ function Wn(e) {
3012
2998
  var t = e.hourCycle;
3013
2999
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3014
3000
  e.hourCycles && // @ts-ignore
@@ -3030,20 +3016,20 @@ function Qn(e) {
3030
3016
  var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3031
3017
  return i[0];
3032
3018
  }
3033
- var Ge, Yn = new RegExp("^".concat(lr.source, "*")), qn = new RegExp("".concat(lr.source, "*$"));
3019
+ var Re, zn = new RegExp("^".concat(or.source, "*")), Zn = new RegExp("".concat(or.source, "*$"));
3034
3020
  function g(e, t) {
3035
3021
  return { start: e, end: t };
3036
3022
  }
3037
- var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, si = ii ? Number.isSafeInteger : function(e) {
3023
+ var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, qn = !!Object.fromEntries, Jn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
3038
3024
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3039
- }, Qe = !0;
3025
+ }, Ze = !0;
3040
3026
  try {
3041
- var oi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3042
- Qe = ((Ge = oi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3027
+ var ni = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3028
+ Ze = ((Re = ni.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3043
3029
  } catch {
3044
- Qe = !1;
3030
+ Ze = !1;
3045
3031
  }
3046
- var At = Jn ? (
3032
+ var Tt = Qn ? (
3047
3033
  // Native
3048
3034
  function(t, r, n) {
3049
3035
  return t.startsWith(r, n);
@@ -3053,7 +3039,7 @@ var At = Jn ? (
3053
3039
  function(t, r, n) {
3054
3040
  return t.slice(n, n + r.length) === r;
3055
3041
  }
3056
- ), Ye = Kn ? String.fromCodePoint : (
3042
+ ), Qe = Yn ? String.fromCodePoint : (
3057
3043
  // IE11
3058
3044
  function() {
3059
3045
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3065,9 +3051,9 @@ var At = Jn ? (
3065
3051
  }
3066
3052
  return n;
3067
3053
  }
3068
- ), Pt = (
3054
+ ), Ht = (
3069
3055
  // native
3070
- ei ? Object.fromEntries : (
3056
+ qn ? Object.fromEntries : (
3071
3057
  // Ponyfill
3072
3058
  function(t) {
3073
3059
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3077,7 +3063,7 @@ var At = Jn ? (
3077
3063
  return r;
3078
3064
  }
3079
3065
  )
3080
- ), dr = ti ? (
3066
+ ), lr = Jn ? (
3081
3067
  // Native
3082
3068
  function(t, r) {
3083
3069
  return t.codePointAt(r);
@@ -3091,7 +3077,7 @@ var At = Jn ? (
3091
3077
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3092
3078
  }
3093
3079
  }
3094
- ), ai = ri ? (
3080
+ ), ii = Kn ? (
3095
3081
  // Native
3096
3082
  function(t) {
3097
3083
  return t.trimStart();
@@ -3099,9 +3085,9 @@ var At = Jn ? (
3099
3085
  ) : (
3100
3086
  // Ponyfill
3101
3087
  function(t) {
3102
- return t.replace(Yn, "");
3088
+ return t.replace(zn, "");
3103
3089
  }
3104
- ), ui = ni ? (
3090
+ ), si = ei ? (
3105
3091
  // Native
3106
3092
  function(t) {
3107
3093
  return t.trimEnd();
@@ -3109,32 +3095,32 @@ var At = Jn ? (
3109
3095
  ) : (
3110
3096
  // Ponyfill
3111
3097
  function(t) {
3112
- return t.replace(qn, "");
3098
+ return t.replace(Zn, "");
3113
3099
  }
3114
3100
  );
3115
- function br(e, t) {
3101
+ function cr(e, t) {
3116
3102
  return new RegExp(e, t);
3117
3103
  }
3118
- var qe;
3119
- if (Qe) {
3120
- var Nt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3121
- qe = function(t, r) {
3104
+ var Ye;
3105
+ if (Ze) {
3106
+ var At = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3107
+ Ye = function(t, r) {
3122
3108
  var n;
3123
- Nt.lastIndex = r;
3124
- var i = Nt.exec(t);
3109
+ At.lastIndex = r;
3110
+ var i = At.exec(t);
3125
3111
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3126
3112
  };
3127
3113
  } else
3128
- qe = function(t, r) {
3114
+ Ye = function(t, r) {
3129
3115
  for (var n = []; ; ) {
3130
- var i = dr(t, r);
3131
- if (i === void 0 || pr(i) || fi(i))
3116
+ var i = lr(t, r);
3117
+ if (i === void 0 || fr(i) || hi(i))
3132
3118
  break;
3133
3119
  n.push(i), r += i >= 65536 ? 2 : 1;
3134
3120
  }
3135
- return Ye.apply(void 0, n);
3121
+ return Qe.apply(void 0, n);
3136
3122
  };
3137
- var hi = (
3123
+ var oi = (
3138
3124
  /** @class */
3139
3125
  function() {
3140
3126
  function e(t, r) {
@@ -3165,7 +3151,7 @@ var hi = (
3165
3151
  if (n)
3166
3152
  break;
3167
3153
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3168
- } else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3154
+ } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3169
3155
  var o = this.parseTag(t, r);
3170
3156
  if (o.err)
3171
3157
  return o;
@@ -3198,7 +3184,7 @@ var hi = (
3198
3184
  return s;
3199
3185
  var o = s.val, a = this.clonePosition();
3200
3186
  if (this.bumpIf("</")) {
3201
- if (this.isEOF() || !Je(this.char()))
3187
+ if (this.isEOF() || !qe(this.char()))
3202
3188
  return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3203
3189
  var h = this.clonePosition(), u = this.parseTagName();
3204
3190
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3216,7 +3202,7 @@ var hi = (
3216
3202
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3217
3203
  }, e.prototype.parseTagName = function() {
3218
3204
  var t = this.offset();
3219
- for (this.bump(); !this.isEOF() && ci(this.char()); )
3205
+ for (this.bump(); !this.isEOF() && ui(this.char()); )
3220
3206
  this.bump();
3221
3207
  return this.message.slice(t, this.offset());
3222
3208
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3245,7 +3231,7 @@ var hi = (
3245
3231
  };
3246
3232
  }, e.prototype.tryParseLeftAngleBracket = function() {
3247
3233
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3248
- !li(this.peek() || 0)) ? (this.bump(), "<") : null;
3234
+ !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3249
3235
  }, e.prototype.tryParseQuote = function(t) {
3250
3236
  if (this.isEOF() || this.char() !== 39)
3251
3237
  return null;
@@ -3279,12 +3265,12 @@ var hi = (
3279
3265
  r.push(n);
3280
3266
  this.bump();
3281
3267
  }
3282
- return Ye.apply(void 0, r);
3268
+ return Qe.apply(void 0, r);
3283
3269
  }, e.prototype.tryParseUnquoted = function(t, r) {
3284
3270
  if (this.isEOF())
3285
3271
  return null;
3286
3272
  var n = this.char();
3287
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3273
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3288
3274
  }, e.prototype.parseArgument = function(t, r) {
3289
3275
  var n = this.clonePosition();
3290
3276
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3313,7 +3299,7 @@ var hi = (
3313
3299
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3314
3300
  }
3315
3301
  }, e.prototype.parseIdentifierIfPossible = function() {
3316
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3302
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3317
3303
  this.bumpTo(i);
3318
3304
  var s = this.clonePosition(), o = g(t, s);
3319
3305
  return { value: n, location: o };
@@ -3332,7 +3318,7 @@ var hi = (
3332
3318
  var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3333
3319
  if (m.err)
3334
3320
  return m;
3335
- var c = ui(m.val);
3321
+ var c = si(m.val);
3336
3322
  if (c.length === 0)
3337
3323
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3338
3324
  var d = g(l, this.clonePosition());
@@ -3342,8 +3328,8 @@ var hi = (
3342
3328
  if (b.err)
3343
3329
  return b;
3344
3330
  var y = g(i, this.clonePosition());
3345
- if (u && At(u?.style, "::", 0)) {
3346
- var T = ai(u.style.slice(2));
3331
+ if (u && Tt(u?.style, "::", 0)) {
3332
+ var T = ii(u.style.slice(2));
3347
3333
  if (a === "number") {
3348
3334
  var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
3349
3335
  return m.err ? m : {
@@ -3353,13 +3339,13 @@ var hi = (
3353
3339
  } else {
3354
3340
  if (T.length === 0)
3355
3341
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3356
- var M = T;
3357
- this.locale && (M = Zn(T, this.locale));
3342
+ var C = T;
3343
+ this.locale && (C = Xn(T, this.locale));
3358
3344
  var c = {
3359
3345
  type: K.dateTime,
3360
- pattern: M,
3346
+ pattern: C,
3361
3347
  location: u.styleLocation,
3362
- parsedOptions: this.shouldParseSkeletons ? $n(M) : {}
3348
+ parsedOptions: this.shouldParseSkeletons ? Un(C) : {}
3363
3349
  }, P = a === "date" ? x.date : x.time;
3364
3350
  return {
3365
3351
  val: { type: P, value: n, location: y, style: c },
@@ -3394,9 +3380,9 @@ var hi = (
3394
3380
  return m;
3395
3381
  this.bumpSpace(), N = this.parseIdentifierIfPossible(), O = m.val;
3396
3382
  }
3397
- var C = this.tryParsePluralOrSelectOptions(t, a, r, N);
3398
- if (C.err)
3399
- return C;
3383
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, N);
3384
+ if (M.err)
3385
+ return M;
3400
3386
  var b = this.tryParseArgumentClose(i);
3401
3387
  if (b.err)
3402
3388
  return b;
@@ -3405,7 +3391,7 @@ var hi = (
3405
3391
  val: {
3406
3392
  type: x.select,
3407
3393
  value: n,
3408
- options: Pt(C.val),
3394
+ options: Ht(M.val),
3409
3395
  location: E
3410
3396
  },
3411
3397
  err: null
@@ -3413,7 +3399,7 @@ var hi = (
3413
3399
  val: {
3414
3400
  type: x.plural,
3415
3401
  value: n,
3416
- options: Pt(C.val),
3402
+ options: Ht(M.val),
3417
3403
  offset: O,
3418
3404
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3419
3405
  location: E
@@ -3464,7 +3450,7 @@ var hi = (
3464
3450
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3465
3451
  var n = [];
3466
3452
  try {
3467
- n = kn(t);
3453
+ n = Fn(t);
3468
3454
  } catch {
3469
3455
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3470
3456
  }
@@ -3473,7 +3459,7 @@ var hi = (
3473
3459
  type: K.number,
3474
3460
  tokens: n,
3475
3461
  location: r,
3476
- parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
3462
+ parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3477
3463
  },
3478
3464
  err: null
3479
3465
  };
@@ -3521,7 +3507,7 @@ var hi = (
3521
3507
  break;
3522
3508
  }
3523
3509
  var h = g(i, this.clonePosition());
3524
- return s ? (o *= n, si(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3510
+ return s ? (o *= n, ri(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3525
3511
  }, e.prototype.offset = function() {
3526
3512
  return this.position.offset;
3527
3513
  }, e.prototype.isEOF = function() {
@@ -3536,7 +3522,7 @@ var hi = (
3536
3522
  var t = this.position.offset;
3537
3523
  if (t >= this.message.length)
3538
3524
  throw Error("out of bound");
3539
- var r = dr(this.message, t);
3525
+ var r = lr(this.message, t);
3540
3526
  if (r === void 0)
3541
3527
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3542
3528
  return r;
@@ -3555,7 +3541,7 @@ var hi = (
3555
3541
  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);
3556
3542
  }
3557
3543
  }, e.prototype.bumpIf = function(t) {
3558
- if (At(this.message, t, this.offset())) {
3544
+ if (Tt(this.message, t, this.offset())) {
3559
3545
  for (var r = 0; r < t.length; r++)
3560
3546
  this.bump();
3561
3547
  return !0;
@@ -3577,7 +3563,7 @@ var hi = (
3577
3563
  break;
3578
3564
  }
3579
3565
  }, e.prototype.bumpSpace = function() {
3580
- for (; !this.isEOF() && pr(this.char()); )
3566
+ for (; !this.isEOF() && fr(this.char()); )
3581
3567
  this.bump();
3582
3568
  }, e.prototype.peek = function() {
3583
3569
  if (this.isEOF())
@@ -3587,44 +3573,44 @@ var hi = (
3587
3573
  }, e;
3588
3574
  }()
3589
3575
  );
3590
- function Je(e) {
3576
+ function qe(e) {
3591
3577
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3592
3578
  }
3593
- function li(e) {
3594
- return Je(e) || e === 47;
3579
+ function ai(e) {
3580
+ return qe(e) || e === 47;
3595
3581
  }
3596
- function ci(e) {
3582
+ function ui(e) {
3597
3583
  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;
3598
3584
  }
3599
- function pr(e) {
3585
+ function fr(e) {
3600
3586
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3601
3587
  }
3602
- function fi(e) {
3588
+ function hi(e) {
3603
3589
  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;
3604
3590
  }
3605
- function Ke(e) {
3591
+ function Je(e) {
3606
3592
  e.forEach(function(t) {
3607
- if (delete t.location, or(t) || ar(t))
3593
+ if (delete t.location, rr(t) || nr(t))
3608
3594
  for (var r in t.options)
3609
- delete t.options[r].location, Ke(t.options[r].value);
3595
+ delete t.options[r].location, Je(t.options[r].value);
3610
3596
  else
3611
- nr(t) && hr(t.style) || (ir(t) || sr(t)) && Ze(t.style) ? delete t.style.location : ur(t) && Ke(t.children);
3597
+ Kt(t) && sr(t.style) || (er(t) || tr(t)) && ze(t.style) ? delete t.style.location : ir(t) && Je(t.children);
3612
3598
  });
3613
3599
  }
3614
- function mi(e, t) {
3600
+ function li(e, t) {
3615
3601
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3616
- var r = new hi(e, t).parse();
3602
+ var r = new oi(e, t).parse();
3617
3603
  if (r.err) {
3618
3604
  var n = SyntaxError(p[r.err.kind]);
3619
3605
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3620
3606
  }
3621
- return t?.captureLocation || Ke(r.val), r.val;
3607
+ return t?.captureLocation || Je(r.val), r.val;
3622
3608
  }
3623
3609
  var ee;
3624
3610
  (function(e) {
3625
3611
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3626
3612
  })(ee || (ee = {}));
3627
- var Be = (
3613
+ var Ae = (
3628
3614
  /** @class */
3629
3615
  function(e) {
3630
3616
  U(t, e);
@@ -3636,7 +3622,7 @@ var Be = (
3636
3622
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3637
3623
  }, t;
3638
3624
  }(Error)
3639
- ), Ot = (
3625
+ ), Bt = (
3640
3626
  /** @class */
3641
3627
  function(e) {
3642
3628
  U(t, e);
@@ -3644,8 +3630,8 @@ var Be = (
3644
3630
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
3645
3631
  }
3646
3632
  return t;
3647
- }(Be)
3648
- ), di = (
3633
+ }(Ae)
3634
+ ), ci = (
3649
3635
  /** @class */
3650
3636
  function(e) {
3651
3637
  U(t, e);
@@ -3653,8 +3639,8 @@ var Be = (
3653
3639
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3654
3640
  }
3655
3641
  return t;
3656
- }(Be)
3657
- ), bi = (
3642
+ }(Ae)
3643
+ ), fi = (
3658
3644
  /** @class */
3659
3645
  function(e) {
3660
3646
  U(t, e);
@@ -3662,22 +3648,22 @@ var Be = (
3662
3648
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3663
3649
  }
3664
3650
  return t;
3665
- }(Be)
3651
+ }(Ae)
3666
3652
  ), H;
3667
3653
  (function(e) {
3668
3654
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3669
3655
  })(H || (H = {}));
3670
- function pi(e) {
3656
+ function mi(e) {
3671
3657
  return e.length < 2 ? e : e.reduce(function(t, r) {
3672
3658
  var n = t[t.length - 1];
3673
3659
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3674
3660
  }, []);
3675
3661
  }
3676
- function gi(e) {
3662
+ function di(e) {
3677
3663
  return typeof e == "function";
3678
3664
  }
3679
3665
  function Ee(e, t, r, n, i, s, o) {
3680
- if (e.length === 1 && wt(e[0]))
3666
+ if (e.length === 1 && Et(e[0]))
3681
3667
  return [
3682
3668
  {
3683
3669
  type: H.literal,
@@ -3686,14 +3672,14 @@ function Ee(e, t, r, n, i, s, o) {
3686
3672
  ];
3687
3673
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3688
3674
  var l = u[h];
3689
- if (wt(l)) {
3675
+ if (Et(l)) {
3690
3676
  a.push({
3691
3677
  type: H.literal,
3692
3678
  value: l.value
3693
3679
  });
3694
3680
  continue;
3695
3681
  }
3696
- if (Dn(l)) {
3682
+ if (Rn(l)) {
3697
3683
  typeof s == "number" && a.push({
3698
3684
  type: H.literal,
3699
3685
  value: r.getNumberFormat(t).format(s)
@@ -3702,44 +3688,44 @@ function Ee(e, t, r, n, i, s, o) {
3702
3688
  }
3703
3689
  var m = l.value;
3704
3690
  if (!(i && m in i))
3705
- throw new bi(m, o);
3691
+ throw new fi(m, o);
3706
3692
  var c = i[m];
3707
- if (Un(l)) {
3693
+ if (Mn(l)) {
3708
3694
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3709
3695
  type: typeof c == "string" ? H.literal : H.object,
3710
3696
  value: c
3711
3697
  });
3712
3698
  continue;
3713
3699
  }
3714
- if (ir(l)) {
3715
- var d = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
3700
+ if (er(l)) {
3701
+ var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
3716
3702
  a.push({
3717
3703
  type: H.literal,
3718
3704
  value: r.getDateTimeFormat(t, d).format(c)
3719
3705
  });
3720
3706
  continue;
3721
3707
  }
3722
- if (sr(l)) {
3723
- var d = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
3708
+ if (tr(l)) {
3709
+ var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
3724
3710
  a.push({
3725
3711
  type: H.literal,
3726
3712
  value: r.getDateTimeFormat(t, d).format(c)
3727
3713
  });
3728
3714
  continue;
3729
3715
  }
3730
- if (nr(l)) {
3731
- var d = typeof l.style == "string" ? n.number[l.style] : hr(l.style) ? l.style.parsedOptions : void 0;
3716
+ if (Kt(l)) {
3717
+ var d = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3732
3718
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3733
3719
  type: H.literal,
3734
3720
  value: r.getNumberFormat(t, d).format(c)
3735
3721
  });
3736
3722
  continue;
3737
3723
  }
3738
- if (ur(l)) {
3724
+ if (ir(l)) {
3739
3725
  var b = l.children, y = l.value, T = i[y];
3740
- if (!gi(T))
3741
- throw new di(y, "function", o);
3742
- var M = Ee(b, t, r, n, i, s), P = T(M.map(function(O) {
3726
+ if (!di(T))
3727
+ throw new ci(y, "function", o);
3728
+ var C = Ee(b, t, r, n, i, s), P = T(C.map(function(O) {
3743
3729
  return O.value;
3744
3730
  }));
3745
3731
  Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
@@ -3749,42 +3735,42 @@ function Ee(e, t, r, n, i, s, o) {
3749
3735
  };
3750
3736
  }));
3751
3737
  }
3752
- if (or(l)) {
3738
+ if (rr(l)) {
3753
3739
  var w = l.options[c] || l.options.other;
3754
3740
  if (!w)
3755
- throw new Ot(l.value, c, Object.keys(l.options), o);
3741
+ throw new Bt(l.value, c, Object.keys(l.options), o);
3756
3742
  a.push.apply(a, Ee(w.value, t, r, n, i));
3757
3743
  continue;
3758
3744
  }
3759
- if (ar(l)) {
3745
+ if (nr(l)) {
3760
3746
  var w = l.options["=".concat(c)];
3761
3747
  if (!w) {
3762
3748
  if (!Intl.PluralRules)
3763
- throw new Be(`Intl.PluralRules is not available in this environment.
3749
+ throw new Ae(`Intl.PluralRules is not available in this environment.
3764
3750
  Try polyfilling it using "@formatjs/intl-pluralrules"
3765
3751
  `, ee.MISSING_INTL_API, o);
3766
3752
  var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3767
3753
  w = l.options[N] || l.options.other;
3768
3754
  }
3769
3755
  if (!w)
3770
- throw new Ot(l.value, c, Object.keys(l.options), o);
3756
+ throw new Bt(l.value, c, Object.keys(l.options), o);
3771
3757
  a.push.apply(a, Ee(w.value, t, r, n, i, c - (l.offset || 0)));
3772
3758
  continue;
3773
3759
  }
3774
3760
  }
3775
- return pi(a);
3761
+ return mi(a);
3776
3762
  }
3777
- function yi(e, t) {
3763
+ function bi(e, t) {
3778
3764
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3779
3765
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3780
3766
  }, {})) : e;
3781
3767
  }
3782
- function vi(e, t) {
3768
+ function pi(e, t) {
3783
3769
  return t ? Object.keys(e).reduce(function(r, n) {
3784
- return r[n] = yi(e[n], t[n]), r;
3770
+ return r[n] = bi(e[n], t[n]), r;
3785
3771
  }, v({}, e)) : e;
3786
3772
  }
3787
- function Ue(e) {
3773
+ function Ge(e) {
3788
3774
  return {
3789
3775
  create: function() {
3790
3776
  return {
@@ -3798,7 +3784,7 @@ function Ue(e) {
3798
3784
  }
3799
3785
  };
3800
3786
  }
3801
- function _i(e) {
3787
+ function gi(e) {
3802
3788
  return e === void 0 && (e = {
3803
3789
  number: {},
3804
3790
  dateTime: {},
@@ -3809,28 +3795,28 @@ function _i(e) {
3809
3795
  r[n] = arguments[n];
3810
3796
  return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3811
3797
  }, {
3812
- cache: Ue(e.number),
3813
- strategy: Re.variadic
3798
+ cache: Ge(e.number),
3799
+ strategy: Me.variadic
3814
3800
  }),
3815
3801
  getDateTimeFormat: Ce(function() {
3816
3802
  for (var t, r = [], n = 0; n < arguments.length; n++)
3817
3803
  r[n] = arguments[n];
3818
3804
  return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3819
3805
  }, {
3820
- cache: Ue(e.dateTime),
3821
- strategy: Re.variadic
3806
+ cache: Ge(e.dateTime),
3807
+ strategy: Me.variadic
3822
3808
  }),
3823
3809
  getPluralRules: Ce(function() {
3824
3810
  for (var t, r = [], n = 0; n < arguments.length; n++)
3825
3811
  r[n] = arguments[n];
3826
3812
  return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3827
3813
  }, {
3828
- cache: Ue(e.pluralRules),
3829
- strategy: Re.variadic
3814
+ cache: Ge(e.pluralRules),
3815
+ strategy: Me.variadic
3830
3816
  })
3831
3817
  };
3832
3818
  }
3833
- var Ei = (
3819
+ var yi = (
3834
3820
  /** @class */
3835
3821
  function() {
3836
3822
  function e(t, r, n, i) {
@@ -3862,13 +3848,13 @@ var Ei = (
3862
3848
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3863
3849
  var o = i || {};
3864
3850
  o.formatters;
3865
- var a = Kr(o, ["formatters"]);
3851
+ var a = Qr(o, ["formatters"]);
3866
3852
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3867
3853
  } else
3868
3854
  this.ast = t;
3869
3855
  if (!Array.isArray(this.ast))
3870
3856
  throw new TypeError("A message must be provided as a String or AST.");
3871
- this.formats = vi(e.formats, n), this.formatters = i && i.formatters || _i(this.formatterCache);
3857
+ this.formats = pi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3872
3858
  }
3873
3859
  return Object.defineProperty(e, "defaultLocale", {
3874
3860
  get: function() {
@@ -3881,7 +3867,7 @@ var Ei = (
3881
3867
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3882
3868
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3883
3869
  }
3884
- }, e.__parse = mi, e.formats = {
3870
+ }, e.__parse = li, e.formats = {
3885
3871
  number: {
3886
3872
  integer: {
3887
3873
  maximumFractionDigits: 0
@@ -3942,7 +3928,7 @@ var Ei = (
3942
3928
  }, e;
3943
3929
  }()
3944
3930
  );
3945
- function xi(e, t) {
3931
+ function vi(e, t) {
3946
3932
  if (t == null)
3947
3933
  return;
3948
3934
  if (t in e)
@@ -3963,92 +3949,92 @@ function xi(e, t) {
3963
3949
  n = void 0;
3964
3950
  return n;
3965
3951
  }
3966
- const D = {}, Si = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), gr = (e, t) => {
3952
+ const D = {}, _i = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), mr = (e, t) => {
3967
3953
  if (t == null)
3968
3954
  return;
3969
3955
  if (t in D && e in D[t])
3970
3956
  return D[t][e];
3971
- const r = Ae(t);
3957
+ const r = Be(t);
3972
3958
  for (let n = 0; n < r.length; n++) {
3973
- const i = r[n], s = Ti(i, e);
3959
+ const i = r[n], s = xi(i, e);
3974
3960
  if (s)
3975
- return Si(e, t, s);
3961
+ return _i(e, t, s);
3976
3962
  }
3977
3963
  };
3978
- let ot;
3964
+ let it;
3979
3965
  const me = He({});
3980
- function wi(e) {
3981
- return ot[e] || null;
3966
+ function Ei(e) {
3967
+ return it[e] || null;
3982
3968
  }
3983
- function yr(e) {
3984
- return e in ot;
3969
+ function dr(e) {
3970
+ return e in it;
3985
3971
  }
3986
- function Ti(e, t) {
3987
- if (!yr(e))
3972
+ function xi(e, t) {
3973
+ if (!dr(e))
3988
3974
  return null;
3989
- const r = wi(e);
3990
- return xi(r, t);
3975
+ const r = Ei(e);
3976
+ return vi(r, t);
3991
3977
  }
3992
- function Hi(e) {
3978
+ function Si(e) {
3993
3979
  if (e == null)
3994
3980
  return;
3995
- const t = Ae(e);
3981
+ const t = Be(e);
3996
3982
  for (let r = 0; r < t.length; r++) {
3997
3983
  const n = t[r];
3998
- if (yr(n))
3984
+ if (dr(n))
3999
3985
  return n;
4000
3986
  }
4001
3987
  }
4002
- function vr(e, ...t) {
4003
- delete D[e], me.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
3988
+ function br(e, ...t) {
3989
+ delete D[e], me.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4004
3990
  }
4005
3991
  ie(
4006
3992
  [me],
4007
3993
  ([e]) => Object.keys(e)
4008
3994
  );
4009
- me.subscribe((e) => ot = e);
3995
+ me.subscribe((e) => it = e);
4010
3996
  const xe = {};
4011
- function Bi(e, t) {
3997
+ function wi(e, t) {
4012
3998
  xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4013
3999
  }
4014
- function _r(e) {
4000
+ function pr(e) {
4015
4001
  return xe[e];
4016
4002
  }
4017
- function Ai(e) {
4018
- return Ae(e).map((t) => {
4019
- const r = _r(t);
4003
+ function Ti(e) {
4004
+ return Be(e).map((t) => {
4005
+ const r = pr(t);
4020
4006
  return [t, r ? [...r] : []];
4021
4007
  }).filter(([, t]) => t.length > 0);
4022
4008
  }
4023
- function et(e) {
4024
- return e == null ? !1 : Ae(e).some(
4009
+ function Ke(e) {
4010
+ return e == null ? !1 : Be(e).some(
4025
4011
  (t) => {
4026
4012
  var r;
4027
- return (r = _r(t)) == null ? void 0 : r.size;
4013
+ return (r = pr(t)) == null ? void 0 : r.size;
4028
4014
  }
4029
4015
  );
4030
4016
  }
4031
- function Pi(e, t) {
4017
+ function Hi(e, t) {
4032
4018
  return Promise.all(
4033
- t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4034
- ).then((n) => vr(e, ...n));
4019
+ t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4020
+ ).then((n) => br(e, ...n));
4035
4021
  }
4036
4022
  const oe = {};
4037
- function Er(e) {
4038
- if (!et(e))
4023
+ function gr(e) {
4024
+ if (!Ke(e))
4039
4025
  return e in oe ? oe[e] : Promise.resolve();
4040
- const t = Ai(e);
4026
+ const t = Ti(e);
4041
4027
  return oe[e] = Promise.all(
4042
4028
  t.map(
4043
- ([r, n]) => Pi(r, n)
4029
+ ([r, n]) => Hi(r, n)
4044
4030
  )
4045
4031
  ).then(() => {
4046
- if (et(e))
4047
- return Er(e);
4032
+ if (Ke(e))
4033
+ return gr(e);
4048
4034
  delete oe[e];
4049
4035
  }), oe[e];
4050
4036
  }
4051
- const Ni = {
4037
+ const Ai = {
4052
4038
  number: {
4053
4039
  scientific: { notation: "scientific" },
4054
4040
  engineering: { notation: "engineering" },
@@ -4077,57 +4063,57 @@ const Ni = {
4077
4063
  timeZoneName: "short"
4078
4064
  }
4079
4065
  }
4080
- }, Oi = {
4066
+ }, Bi = {
4081
4067
  fallbackLocale: null,
4082
4068
  loadingDelay: 200,
4083
- formats: Ni,
4069
+ formats: Ai,
4084
4070
  warnOnMissingMessages: !0,
4085
4071
  handleMissingMessage: void 0,
4086
4072
  ignoreTag: !0
4087
- }, Li = Oi;
4073
+ }, Pi = Bi;
4088
4074
  function te() {
4089
- return Li;
4090
- }
4091
- const De = He(!1);
4092
- var Ii = Object.defineProperty, Mi = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ui = (e, t) => {
4093
- for (var r in t || (t = {}))
4094
- Ri.call(t, r) && It(e, r, t[r]);
4095
- if (Lt)
4096
- for (var r of Lt(t))
4097
- Gi.call(t, r) && It(e, r, t[r]);
4075
+ return Pi;
4076
+ }
4077
+ const Ue = He(!1);
4078
+ var Ni = Object.defineProperty, Oi = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4079
+ for (var r in t)
4080
+ Ii.call(t, r) && Nt(e, r, t[r]);
4081
+ if (Pt)
4082
+ for (var r of Pt(t))
4083
+ Ci.call(t, r) && Nt(e, r, t[r]);
4098
4084
  return e;
4099
- }, Di = (e, t) => Mi(e, Ci(t));
4100
- let tt;
4085
+ }, Ri = (e, t) => Oi(e, Li(t));
4086
+ let et;
4101
4087
  const Se = He(null);
4102
- function Mt(e) {
4088
+ function Ot(e) {
4103
4089
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4104
4090
  }
4105
- function Ae(e, t = te().fallbackLocale) {
4106
- const r = Mt(e);
4107
- return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
4091
+ function Be(e, t = te().fallbackLocale) {
4092
+ const r = Ot(e);
4093
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4108
4094
  }
4109
4095
  function V() {
4110
- return tt ?? void 0;
4096
+ return et ?? void 0;
4111
4097
  }
4112
4098
  Se.subscribe((e) => {
4113
- tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4099
+ et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4114
4100
  });
4115
- const Fi = (e) => {
4116
- if (e && Hi(e) && et(e)) {
4101
+ const Gi = (e) => {
4102
+ if (e && Si(e) && Ke(e)) {
4117
4103
  const { loadingDelay: t } = te();
4118
4104
  let r;
4119
4105
  return typeof window < "u" && V() != null && t ? r = window.setTimeout(
4120
- () => De.set(!0),
4106
+ () => Ue.set(!0),
4121
4107
  t
4122
- ) : De.set(!0), Er(e).then(() => {
4108
+ ) : Ue.set(!0), gr(e).then(() => {
4123
4109
  Se.set(e);
4124
4110
  }).finally(() => {
4125
- clearTimeout(r), De.set(!1);
4111
+ clearTimeout(r), Ue.set(!1);
4126
4112
  });
4127
4113
  }
4128
4114
  return Se.set(e);
4129
- }, de = Di(Ui({}, Se), {
4130
- set: Fi
4115
+ }, de = Ri(Mi({}, Se), {
4116
+ set: Gi
4131
4117
  }), Pe = (e) => {
4132
4118
  const t = /* @__PURE__ */ Object.create(null);
4133
4119
  return (n) => {
@@ -4135,20 +4121,20 @@ const Fi = (e) => {
4135
4121
  return i in t ? t[i] : t[i] = e(n);
4136
4122
  };
4137
4123
  };
4138
- var $i = Object.defineProperty, we = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4124
+ var Ui = Object.defineProperty, we = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4139
4125
  for (var r in t || (t = {}))
4140
- xr.call(t, r) && Ct(e, r, t[r]);
4126
+ yr.call(t, r) && Lt(e, r, t[r]);
4141
4127
  if (we)
4142
4128
  for (var r of we(t))
4143
- Sr.call(t, r) && Ct(e, r, t[r]);
4129
+ vr.call(t, r) && Lt(e, r, t[r]);
4144
4130
  return e;
4145
4131
  }, se = (e, t) => {
4146
4132
  var r = {};
4147
4133
  for (var n in e)
4148
- xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4134
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4149
4135
  if (e != null && we)
4150
4136
  for (var n of we(e))
4151
- t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
4137
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4152
4138
  return r;
4153
4139
  };
4154
4140
  const le = (e, t) => {
@@ -4156,21 +4142,21 @@ const le = (e, t) => {
4156
4142
  if (e in r && t in r[e])
4157
4143
  return r[e][t];
4158
4144
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4159
- }, ji = Pe(
4145
+ }, Di = Pe(
4160
4146
  (e) => {
4161
4147
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4162
4148
  if (r == null)
4163
4149
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4164
4150
  return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4165
4151
  }
4166
- ), ki = Pe(
4152
+ ), Fi = Pe(
4167
4153
  (e) => {
4168
4154
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4169
4155
  if (r == null)
4170
4156
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4171
4157
  return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4172
4158
  }
4173
- ), Vi = Pe(
4159
+ ), $i = Pe(
4174
4160
  (e) => {
4175
4161
  var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4176
4162
  if (r == null)
@@ -4179,33 +4165,33 @@ const le = (e, t) => {
4179
4165
  );
4180
4166
  return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4181
4167
  }
4182
- ), Xi = (e = {}) => {
4168
+ ), ji = (e = {}) => {
4183
4169
  var t = e, {
4184
4170
  locale: r = V()
4185
4171
  } = t, n = se(t, [
4186
4172
  "locale"
4187
4173
  ]);
4188
- return ji(at({ locale: r }, n));
4189
- }, Wi = (e = {}) => {
4174
+ return Di(st({ locale: r }, n));
4175
+ }, ki = (e = {}) => {
4190
4176
  var t = e, {
4191
4177
  locale: r = V()
4192
4178
  } = t, n = se(t, [
4193
4179
  "locale"
4194
4180
  ]);
4195
- return ki(at({ locale: r }, n));
4196
- }, zi = (e = {}) => {
4181
+ return Fi(st({ locale: r }, n));
4182
+ }, Vi = (e = {}) => {
4197
4183
  var t = e, {
4198
4184
  locale: r = V()
4199
4185
  } = t, n = se(t, [
4200
4186
  "locale"
4201
4187
  ]);
4202
- return Vi(at({ locale: r }, n));
4203
- }, Zi = Pe(
4188
+ return $i(st({ locale: r }, n));
4189
+ }, Xi = Pe(
4204
4190
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4205
- (e, t = V()) => new Ei(e, t, te().formats, {
4191
+ (e, t = V()) => new yi(e, t, te().formats, {
4206
4192
  ignoreTag: te().ignoreTag
4207
4193
  })
4208
- ), Qi = (e, t = {}) => {
4194
+ ), Wi = (e, t = {}) => {
4209
4195
  var r, n, i, s;
4210
4196
  let o = t;
4211
4197
  typeof e == "object" && (o = e, e = o.id);
@@ -4218,7 +4204,7 @@ const le = (e, t) => {
4218
4204
  throw new Error(
4219
4205
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4220
4206
  );
4221
- let l = gr(e, h);
4207
+ let l = mr(e, h);
4222
4208
  if (!l)
4223
4209
  l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4224
4210
  else if (typeof l != "string")
@@ -4229,7 +4215,7 @@ const le = (e, t) => {
4229
4215
  return l;
4230
4216
  let m = l;
4231
4217
  try {
4232
- m = Zi(l, h).format(a);
4218
+ m = Xi(l, h).format(a);
4233
4219
  } catch (c) {
4234
4220
  c instanceof Error && console.warn(
4235
4221
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4237,20 +4223,20 @@ const le = (e, t) => {
4237
4223
  );
4238
4224
  }
4239
4225
  return m;
4240
- }, Yi = (e, t) => zi(t).format(e), qi = (e, t) => Wi(t).format(e), Ji = (e, t) => Xi(t).format(e), Ki = (e, t = V()) => gr(e, t), es = ie([de, me], () => Qi);
4241
- ie([de], () => Yi);
4242
- ie([de], () => qi);
4243
- ie([de], () => Ji);
4244
- ie([de, me], () => Ki);
4245
- window.emWidgets = { topic: dn };
4246
- const ts = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4247
- function rs(e, t) {
4226
+ }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), Yi = (e, t = V()) => mr(e, t), qi = ie([de, me], () => Wi);
4227
+ ie([de], () => zi);
4228
+ ie([de], () => Zi);
4229
+ ie([de], () => Qi);
4230
+ ie([de, me], () => Yi);
4231
+ window.emWidgets = { topic: ln };
4232
+ const Ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4233
+ function Ki(e, t) {
4248
4234
  if (e) {
4249
4235
  const r = document.createElement("style");
4250
4236
  r.innerHTML = t, e.appendChild(r);
4251
4237
  }
4252
4238
  }
4253
- function ns(e, t) {
4239
+ function es(e, t) {
4254
4240
  const r = new URL(t);
4255
4241
  fetch(r.href).then((n) => n.text()).then((n) => {
4256
4242
  const i = document.createElement("style");
@@ -4259,7 +4245,7 @@ function ns(e, t) {
4259
4245
  console.error("There was an error while trying to load client styling from URL", n);
4260
4246
  });
4261
4247
  }
4262
- function is(e, t, r) {
4248
+ function ts(e, t, r) {
4263
4249
  if (window.emMessageBus) {
4264
4250
  const n = document.createElement("style");
4265
4251
  window.emMessageBus.subscribe(t, (i) => {
@@ -4267,10 +4253,10 @@ function is(e, t, r) {
4267
4253
  });
4268
4254
  }
4269
4255
  }
4270
- function Rt(e, t) {
4271
- vr(e, t);
4256
+ function It(e, t) {
4257
+ br(e, t);
4272
4258
  }
4273
- const Gt = {
4259
+ const Ct = {
4274
4260
  en: {
4275
4261
  lobbyName: "Lobby",
4276
4262
  myGamesName: "My games"
@@ -4356,14 +4342,14 @@ if (typeof window < "u") {
4356
4342
  }
4357
4343
  };
4358
4344
  };
4359
- customElements.define = e(customElements.define), import("./CasinoSlider-B_nmfSXX.js").then(({ default: t }) => {
4345
+ customElements.define = e(customElements.define), import("./CasinoSlider-C2dsDPpR.js").then(({ default: t }) => {
4360
4346
  !customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
4361
4347
  });
4362
4348
  }
4363
- function ss(e) {
4364
- Cr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
4349
+ function rs(e) {
4350
+ Or(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
4365
4351
  }
4366
- function os(e) {
4352
+ function ns(e) {
4367
4353
  let t, r;
4368
4354
  return {
4369
4355
  c() {
@@ -4382,7 +4368,7 @@ function os(e) {
4382
4368
  "endpoint",
4383
4369
  /*endpoint*/
4384
4370
  e[1]
4385
- ), _(r, "identity", rt), _(
4371
+ ), _(r, "identity", tt), _(
4386
4372
  r,
4387
4373
  "favoritesnumber",
4388
4374
  /*numberOfFavoredGames*/
@@ -4440,7 +4426,7 @@ function os(e) {
4440
4426
  ), fe(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
4441
4427
  },
4442
4428
  m(n, i) {
4443
- ce(n, t, i), $t(t, r);
4429
+ ce(n, t, i), Ut(t, r);
4444
4430
  },
4445
4431
  p(n, i) {
4446
4432
  i[0] & /*lang*/
@@ -4534,7 +4520,7 @@ function os(e) {
4534
4520
  }
4535
4521
  };
4536
4522
  }
4537
- function as(e) {
4523
+ function is(e) {
4538
4524
  let t;
4539
4525
  return {
4540
4526
  c() {
@@ -4549,7 +4535,7 @@ function as(e) {
4549
4535
  }
4550
4536
  };
4551
4537
  }
4552
- function us(e) {
4538
+ function ss(e) {
4553
4539
  let t;
4554
4540
  return {
4555
4541
  c() {
@@ -4564,14 +4550,14 @@ function us(e) {
4564
4550
  }
4565
4551
  };
4566
4552
  }
4567
- function hs(e) {
4553
+ function os(e) {
4568
4554
  let t;
4569
4555
  function r(s, o) {
4570
4556
  return (
4571
4557
  /*isLoading*/
4572
- s[13] || ls || cs ? us : (
4558
+ s[13] || as || us ? ss : (
4573
4559
  /*hasErrors*/
4574
- s[15] ? as : os
4560
+ s[15] ? is : ns
4575
4561
  )
4576
4562
  );
4577
4563
  }
@@ -4593,93 +4579,93 @@ function hs(e) {
4593
4579
  }
4594
4580
  };
4595
4581
  }
4596
- let rt = "CasinoSliderData", ls = !1, cs = !1;
4597
- function fs(e, t, r) {
4582
+ let tt = "CasinoSliderData", as = !1, us = !1;
4583
+ function hs(e, t, r) {
4598
4584
  let n;
4599
- Mr(e, es, (f) => r(32, n = f));
4600
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: M = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: C = "" } = t, { mygamesiconimage: E = "" } = t, { mbsource: B } = t, L, F, ut, $ = !0, X, W = [], j = !1, wr = window.navigator.userAgent, R, ht, lt = !1, Ne = !1;
4601
- const Tr = () => {
4602
- fetch(N).then((A) => A.json()).then((A) => {
4603
- Object.keys(A).forEach((be) => {
4604
- Rt(be, A[be]);
4585
+ Nr(e, qi, (f) => r(32, n = f));
4586
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: O = "" } = t, { lobbyiconimage: M = "" } = t, { mygamesiconimage: E = "" } = t, { mbsource: A } = t, L, F, $ = !0, X, W = [], j = !1, _r = window.navigator.userAgent, R, ot, at = !1, Ne = !1;
4587
+ const Er = () => {
4588
+ fetch(N).then((B) => B.json()).then((B) => {
4589
+ Object.keys(B).forEach((be) => {
4590
+ It(be, B[be]);
4605
4591
  });
4606
- }).catch((A) => {
4607
- console.log(A);
4592
+ }).catch((B) => {
4593
+ console.log(B);
4608
4594
  });
4609
4595
  };
4610
- Object.keys(Gt).forEach((f) => {
4611
- Rt(f, Gt[f]);
4596
+ Object.keys(Ct).forEach((f) => {
4597
+ It(f, Ct[f]);
4612
4598
  });
4613
- const Hr = () => {
4614
- lt == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4599
+ const xr = () => {
4600
+ at == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4615
4601
  // @ts-ignore
4616
4602
  id: "MYGAMES",
4617
- name: F,
4603
+ name: L,
4618
4604
  href: "",
4619
4605
  games: []
4620
- }), jr(), lt = !0, r(25, Ne = !0), ct();
4621
- }, Br = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, $ = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, $ = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, $ = !1), console.error(X)), j), Ar = () => {
4622
- if (F = n("myGamesName"), ut = n("lobbyName"), !Br()) {
4606
+ }), Ur(), at = !0, r(25, Ne = !0), ut();
4607
+ }, Sr = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, $ = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, $ = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, $ = !1), console.error(X)), j), wr = () => {
4608
+ if (L = n("myGamesName"), F = n("lobbyName"), !Sr()) {
4623
4609
  let f = new URL(`${i}/v2/casino/groups/${s}`);
4624
- f.searchParams.append("language", o), f.searchParams.append("platform", ts(wr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((A) => A.json()).then(
4625
- (A) => {
4626
- let be = w.split(","), Or = A.items.filter((mt) => {
4610
+ f.searchParams.append("language", o), f.searchParams.append("platform", Ji(_r)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
4611
+ (B) => {
4612
+ let be = w.split(","), Ar = B.items.filter((lt) => {
4627
4613
  let Oe = !1;
4628
- if (mt.games.total > 0 && (Oe = !0, w))
4629
- for (let Lr of be)
4630
- mt.flags == Lr && (Oe = !1);
4614
+ if (lt.games.total > 0 && (Oe = !0, w))
4615
+ for (let Br of be)
4616
+ lt.flags == Br && (Oe = !1);
4631
4617
  return Oe;
4632
4618
  });
4633
- W = [], W = W.concat(Or), W.unshift({
4619
+ W = [], W = W.concat(Ar), W.unshift({
4634
4620
  // @ts-ignore
4635
4621
  id: "LOBBY",
4636
- name: ut,
4622
+ name: F,
4637
4623
  href: "",
4638
4624
  games: []
4639
4625
  }), r(13, $ = !1);
4640
4626
  },
4641
- (A) => {
4642
- r(15, j = !0), console.error("There was an error while fetching the categories", A);
4627
+ (B) => {
4628
+ r(15, j = !0), console.error("There was an error while fetching the categories", B);
4643
4629
  }
4644
- ).catch((A) => {
4645
- r(15, j = !0), console.error("There was an error while fetching the categories", A);
4630
+ ).catch((B) => {
4631
+ r(15, j = !0), console.error("There was an error while fetching the categories", B);
4646
4632
  });
4647
4633
  }
4648
- }, Pr = () => {
4634
+ }, Tr = () => {
4649
4635
  let f = b.split("$");
4650
4636
  r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4651
- }, ct = () => {
4637
+ }, ut = () => {
4652
4638
  window.postMessage(
4653
4639
  {
4654
4640
  type: "SliderData",
4655
- identity: rt,
4641
+ identity: tt,
4656
4642
  data: W
4657
4643
  },
4658
4644
  window.location.href
4659
4645
  );
4660
- }, ft = (f) => {
4661
- f.data && f.data.type == "SliderLoaded" && rt == f.data.identity && ct();
4646
+ }, ht = (f) => {
4647
+ f.data && f.data.type == "SliderLoaded" && tt == f.data.identity && ut();
4662
4648
  };
4663
- $r(() => (window.addEventListener("message", ft, !1), () => {
4664
- window.emMessageBus && L && L.unsubscribe(), window.removeEventListener("message", ft);
4649
+ Gr(() => (window.addEventListener("message", ht, !1), () => {
4650
+ window.removeEventListener("message", ht);
4665
4651
  }));
4666
- function Nr(f) {
4667
- Fe[f ? "unshift" : "push"](() => {
4652
+ function Hr(f) {
4653
+ De[f ? "unshift" : "push"](() => {
4668
4654
  R = f, r(14, R);
4669
4655
  });
4670
4656
  }
4671
4657
  return e.$$set = (f) => {
4672
- "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, M = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, C = f.lobbyiconimage), "mygamesiconimage" in f && r(11, E = f.mygamesiconimage), "mbsource" in f && r(12, B = f.mbsource);
4658
+ "endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, N = f.translationurl), "categoriesicon" in f && r(9, O = f.categoriesicon), "lobbyiconimage" in f && r(10, M = f.lobbyiconimage), "mygamesiconimage" in f && r(11, E = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
4673
4659
  }, e.$$.update = () => {
4674
4660
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4675
- 14 && i && s && o && Ar(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4676
- 3940354 && i && h && (u || l || m) && !$ && Hr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4677
- 33824769 && !$ && b && (!h || Ne) && Pr(), e.$$.dirty[0] & /*translationurl*/
4678
- 16777216 && N && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4679
- 16400 && c && R && rs(R, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4680
- 16416 && d && R && ns(R, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4681
- 20480 && R && is(R, `${B}.Style`);
4682
- }, r(16, ht = 0), [
4661
+ 14 && i && s && o && wr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4662
+ 3940354 && i && h && (u || l || m) && !$ && xr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4663
+ 33824769 && !$ && b && (!h || Ne) && Tr(), e.$$.dirty[0] & /*translationurl*/
4664
+ 16777216 && N && Er(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4665
+ 16400 && c && R && Ki(R, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4666
+ 16416 && d && R && es(R, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4667
+ 20480 && R && ts(R, `${A}.Style`);
4668
+ }, r(16, ot = 0), [
4683
4669
  b,
4684
4670
  i,
4685
4671
  s,
@@ -4687,16 +4673,16 @@ function fs(e, t, r) {
4687
4673
  c,
4688
4674
  d,
4689
4675
  y,
4690
- M,
4676
+ C,
4691
4677
  P,
4692
4678
  O,
4693
- C,
4679
+ M,
4694
4680
  E,
4695
- B,
4681
+ A,
4696
4682
  $,
4697
4683
  R,
4698
4684
  j,
4699
- ht,
4685
+ ot,
4700
4686
  a,
4701
4687
  h,
4702
4688
  u,
@@ -4706,17 +4692,17 @@ function fs(e, t, r) {
4706
4692
  w,
4707
4693
  N,
4708
4694
  Ne,
4709
- Nr
4695
+ Hr
4710
4696
  ];
4711
4697
  }
4712
- class ms extends qr {
4698
+ class ls extends zr {
4713
4699
  constructor(t) {
4714
- super(), Qr(
4700
+ super(), Xr(
4715
4701
  this,
4716
4702
  t,
4717
- fs,
4718
4703
  hs,
4719
- Dt,
4704
+ os,
4705
+ Rt,
4720
4706
  {
4721
4707
  endpoint: 1,
4722
4708
  datasource: 2,
@@ -4740,7 +4726,7 @@ class ms extends qr {
4740
4726
  mygamesiconimage: 11,
4741
4727
  mbsource: 12
4742
4728
  },
4743
- ss,
4729
+ rs,
4744
4730
  [-1, -1]
4745
4731
  );
4746
4732
  }
@@ -4871,38 +4857,38 @@ class ms extends qr {
4871
4857
  this.$$set({ mbsource: t }), S();
4872
4858
  }
4873
4859
  }
4874
- Yr(ms, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4860
+ Wr(ls, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
4875
4861
  export {
4876
4862
  de as $,
4877
- bs as A,
4878
- jt as B,
4879
- vs as C,
4880
- ms as D,
4881
- qr as S,
4863
+ fs as A,
4864
+ Dt as B,
4865
+ ps as C,
4866
+ ls as D,
4867
+ zr as S,
4882
4868
  me as a,
4883
- vr as b,
4884
- Yr as c,
4885
- Cr as d,
4869
+ br as b,
4870
+ Wr as c,
4871
+ Or as d,
4886
4872
  k as e,
4887
4873
  S as f,
4888
- ps as g,
4874
+ ms as g,
4889
4875
  fe as h,
4890
- Qr as i,
4876
+ Xr as i,
4891
4877
  ce as j,
4892
- $t as k,
4893
- ys as l,
4878
+ Ut as k,
4879
+ bs as l,
4894
4880
  ne as m,
4895
4881
  I as n,
4896
- $r as o,
4897
- ns as p,
4898
- is as q,
4882
+ Gr as o,
4883
+ gs as p,
4884
+ ds as q,
4899
4885
  re as r,
4900
- Dt as s,
4901
- _s as t,
4902
- gs as u,
4903
- xs as v,
4904
- ds as w,
4905
- Fe as x,
4906
- rs as y,
4907
- Es as z
4886
+ Rt as s,
4887
+ cs as t,
4888
+ vs as u,
4889
+ De as v,
4890
+ Ki as w,
4891
+ es as x,
4892
+ ts as y,
4893
+ ys as z
4908
4894
  };