@everymatrix/casino-categories-slider-nd 1.57.0 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function P() {
2
2
  }
3
- function Mt(e) {
3
+ function Lt(e) {
4
4
  return e();
5
5
  }
6
- function ct() {
6
+ function ut() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function re(e) {
10
- e.forEach(Mt);
10
+ e.forEach(Lt);
11
11
  }
12
12
  function Te(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Rt(e, t) {
15
+ function It(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 ms(e, t) {
19
+ function ls(e, t) {
20
20
  return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
21
21
  }
22
- function Or(e) {
22
+ function Ar(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Gt(e, ...t) {
25
+ function Ct(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,23 +31,23 @@ function Gt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Lr(e, t, r) {
35
- e.$$.on_destroy.push(Gt(t, r));
34
+ function Br(e, t, r) {
35
+ e.$$.on_destroy.push(Ct(t, r));
36
36
  }
37
- function Ir(e) {
37
+ function Pr(e) {
38
38
  return e && Te(e.destroy) ? e.destroy : P;
39
39
  }
40
- function Ut(e, t) {
40
+ function Mt(e, t) {
41
41
  e.appendChild(t);
42
42
  }
43
- function Cr(e, t, r) {
44
- const n = Mr(e);
43
+ function Nr(e, t, r) {
44
+ const n = Or(e);
45
45
  if (!n.getElementById(t)) {
46
46
  const i = k("style");
47
- i.id = t, i.textContent = r, Rr(n, i);
47
+ i.id = t, i.textContent = r, Lr(n, i);
48
48
  }
49
49
  }
50
- function Mr(e) {
50
+ function Or(e) {
51
51
  if (!e)
52
52
  return document;
53
53
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -57,8 +57,8 @@ function Mr(e) {
57
57
  t
58
58
  ) : e.ownerDocument;
59
59
  }
60
- function Rr(e, t) {
61
- return Ut(
60
+ function Lr(e, t) {
61
+ return Mt(
62
62
  /** @type {Document} */
63
63
  e.head || e,
64
64
  t
@@ -70,26 +70,26 @@ function fe(e, t, r) {
70
70
  function ne(e) {
71
71
  e.parentNode && e.parentNode.removeChild(e);
72
72
  }
73
- function ds(e, t) {
73
+ function cs(e, t) {
74
74
  for (let r = 0; r < e.length; r += 1)
75
75
  e[r] && e[r].d(t);
76
76
  }
77
77
  function k(e) {
78
78
  return document.createElement(e);
79
79
  }
80
- function bs(e) {
80
+ function fs(e) {
81
81
  return document.createElementNS("http://www.w3.org/2000/svg", e);
82
82
  }
83
- function Dt(e) {
83
+ function Rt(e) {
84
84
  return document.createTextNode(e);
85
85
  }
86
- function ps() {
87
- return Dt(" ");
86
+ function ms() {
87
+ return Rt(" ");
88
88
  }
89
- function gs() {
90
- return Dt("");
89
+ function bs() {
90
+ return Rt("");
91
91
  }
92
- function ys(e, t, r, n) {
92
+ function ds(e, t, r, n) {
93
93
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
94
94
  }
95
95
  function ie(e, t, r) {
@@ -99,14 +99,14 @@ function _(e, t, r) {
99
99
  const n = t.toLowerCase();
100
100
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ie(e, t, r);
101
101
  }
102
- function Gr(e) {
102
+ function Ir(e) {
103
103
  return Array.from(e.childNodes);
104
104
  }
105
- function vs(e, t) {
105
+ function ps(e, t) {
106
106
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
107
107
  t);
108
108
  }
109
- function Ur(e) {
109
+ function Cr(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -119,25 +119,25 @@ let he;
119
119
  function ue(e) {
120
120
  he = e;
121
121
  }
122
- function Dr() {
122
+ function Mr() {
123
123
  if (!he)
124
124
  throw new Error("Function called outside component initialization");
125
125
  return he;
126
126
  }
127
- function Fr(e) {
128
- Dr().$$.on_mount.push(e);
127
+ function Rr(e) {
128
+ Mr().$$.on_mount.push(e);
129
129
  }
130
- const Q = [], $e = [];
130
+ const Q = [], Fe = [];
131
131
  let Y = [];
132
- const ft = [], Ft = /* @__PURE__ */ Promise.resolve();
133
- let je = !1;
134
- function $t() {
135
- je || (je = !0, Ft.then(S));
132
+ const ht = [], Gt = /* @__PURE__ */ Promise.resolve();
133
+ let $e = !1;
134
+ function Ut() {
135
+ $e || ($e = !0, Gt.then(S));
136
136
  }
137
- function $r() {
138
- return $t(), Ft;
137
+ function Gr() {
138
+ return Ut(), Gt;
139
139
  }
140
- function ke(e) {
140
+ function je(e) {
141
141
  Y.push(e);
142
142
  }
143
143
  const Ie = /* @__PURE__ */ new Set();
@@ -150,86 +150,86 @@ function S() {
150
150
  try {
151
151
  for (; z < Q.length; ) {
152
152
  const t = Q[z];
153
- z++, ue(t), jr(t.$$);
153
+ z++, ue(t), Ur(t.$$);
154
154
  }
155
155
  } catch (t) {
156
156
  throw Q.length = 0, z = 0, t;
157
157
  }
158
- for (ue(null), Q.length = 0, z = 0; $e.length; )
159
- $e.pop()();
158
+ for (ue(null), Q.length = 0, z = 0; Fe.length; )
159
+ Fe.pop()();
160
160
  for (let t = 0; t < Y.length; t += 1) {
161
161
  const r = Y[t];
162
162
  Ie.has(r) || (Ie.add(r), r());
163
163
  }
164
164
  Y.length = 0;
165
165
  } while (Q.length);
166
- for (; ft.length; )
167
- ft.pop()();
168
- je = !1, Ie.clear(), ue(e);
166
+ for (; ht.length; )
167
+ ht.pop()();
168
+ $e = !1, Ie.clear(), ue(e);
169
169
  }
170
- function jr(e) {
170
+ function Ur(e) {
171
171
  if (e.fragment !== null) {
172
172
  e.update(), re(e.before_update);
173
173
  const t = e.dirty;
174
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
174
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
175
175
  }
176
176
  }
177
- function kr(e) {
177
+ function Dr(e) {
178
178
  const t = [], r = [];
179
179
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
180
180
  }
181
- const Vr = /* @__PURE__ */ new Set();
182
- function jt(e, t) {
183
- e && e.i && (Vr.delete(e), e.i(t));
181
+ const Fr = /* @__PURE__ */ new Set();
182
+ function Dt(e, t) {
183
+ e && e.i && (Fr.delete(e), e.i(t));
184
184
  }
185
- function _s(e) {
185
+ function gs(e) {
186
186
  return e?.length !== void 0 ? e : Array.from(e);
187
187
  }
188
- function Es(e, t) {
188
+ function ys(e, t) {
189
189
  e.d(1), t.delete(e.key);
190
190
  }
191
- function xs(e, t, r, n, i, s, o, a, h, u, l, f) {
192
- let c = e.length, d = s.length, p = c;
193
- const b = {};
191
+ function vs(e, t, r, n, i, s, o, a, h, u, l, f) {
192
+ let c = e.length, b = s.length, p = c;
193
+ const d = {};
194
194
  for (; p--; )
195
- b[e[p].key] = p;
195
+ d[e[p].key] = p;
196
196
  const w = [], C = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), T = [];
197
- for (p = d; p--; ) {
197
+ for (p = b; p--; ) {
198
198
  const E = f(i, s, p), L = r(E);
199
199
  let I = o.get(L);
200
- I ? T.push(() => I.p(E, t)) : (I = u(L, E), I.c()), C.set(L, w[p] = I), L in b && N.set(L, Math.abs(p - b[L]));
200
+ I ? T.push(() => I.p(E, t)) : (I = u(L, E), I.c()), C.set(L, w[p] = I), L in d && N.set(L, Math.abs(p - d[L]));
201
201
  }
202
202
  const O = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set();
203
203
  function M(E) {
204
- jt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, d--;
204
+ Dt(E, 1), E.m(a, l), o.set(E.key, E), l = E.first, b--;
205
205
  }
206
- for (; c && d; ) {
207
- const E = w[d - 1], L = e[c - 1], I = E.key, F = L.key;
208
- E === L ? (l = E.first, c--, d--) : C.has(F) ? !o.has(I) || O.has(I) ? M(E) : H.has(F) ? c-- : N.get(I) > N.get(F) ? (H.add(I), M(E)) : (O.add(F), c--) : (h(L, o), c--);
206
+ for (; c && b; ) {
207
+ const E = w[b - 1], L = e[c - 1], I = E.key, F = L.key;
208
+ E === L ? (l = E.first, c--, b--) : C.has(F) ? !o.has(I) || O.has(I) ? M(E) : H.has(F) ? c-- : N.get(I) > N.get(F) ? (H.add(I), M(E)) : (O.add(F), c--) : (h(L, o), c--);
209
209
  }
210
210
  for (; c--; ) {
211
211
  const E = e[c];
212
212
  C.has(E.key) || h(E, o);
213
213
  }
214
- for (; d; )
215
- M(w[d - 1]);
214
+ for (; b; )
215
+ M(w[b - 1]);
216
216
  return re(T), w;
217
217
  }
218
- function Xr(e, t, r) {
218
+ function $r(e, t, r) {
219
219
  const { fragment: n, after_update: i } = e.$$;
220
- n && n.m(t, r), ke(() => {
221
- const s = e.$$.on_mount.map(Mt).filter(Te);
220
+ n && n.m(t, r), je(() => {
221
+ const s = e.$$.on_mount.map(Lt).filter(Te);
222
222
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
223
- }), i.forEach(ke);
223
+ }), i.forEach(je);
224
224
  }
225
- function Wr(e, t) {
225
+ function jr(e, t) {
226
226
  const r = e.$$;
227
- r.fragment !== null && (kr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
227
+ r.fragment !== null && (Dr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
228
228
  }
229
- function zr(e, t) {
230
- e.$$.dirty[0] === -1 && (Q.push(e), $t(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
229
+ function kr(e, t) {
230
+ e.$$.dirty[0] === -1 && (Q.push(e), Ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
231
231
  }
232
- function Zr(e, t, r, n, i, s, o = null, a = [-1]) {
232
+ function Vr(e, t, r, n, i, s, o = null, a = [-1]) {
233
233
  const h = he;
234
234
  ue(e);
235
235
  const u = e.$$ = {
@@ -239,7 +239,7 @@ function Zr(e, t, r, n, i, s, o = null, a = [-1]) {
239
239
  props: s,
240
240
  update: P,
241
241
  not_equal: i,
242
- bound: ct(),
242
+ bound: ut(),
243
243
  // lifecycle
244
244
  on_mount: [],
245
245
  on_destroy: [],
@@ -248,28 +248,28 @@ function Zr(e, t, r, n, i, s, o = null, a = [-1]) {
248
248
  after_update: [],
249
249
  context: new Map(t.context || (h ? h.$$.context : [])),
250
250
  // everything else
251
- callbacks: ct(),
251
+ callbacks: ut(),
252
252
  dirty: a,
253
253
  skip_bound: !1,
254
254
  root: t.target || h.$$.root
255
255
  };
256
256
  o && o(u.root);
257
257
  let l = !1;
258
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
259
- const p = d.length ? d[0] : c;
260
- return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && zr(e, f)), c;
258
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
259
+ const p = b.length ? b[0] : c;
260
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && kr(e, f)), c;
261
261
  }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
262
262
  if (t.hydrate) {
263
- const f = Gr(t.target);
263
+ const f = Ir(t.target);
264
264
  u.fragment && u.fragment.l(f), f.forEach(ne);
265
265
  } else
266
266
  u.fragment && u.fragment.c();
267
- t.intro && jt(e.$$.fragment), Xr(e, t.target, t.anchor), S();
267
+ t.intro && Dt(e.$$.fragment), $r(e, t.target, t.anchor), S();
268
268
  }
269
269
  ue(h);
270
270
  }
271
- let kt;
272
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
271
+ let Ft;
272
+ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
273
273
  /** The Svelte component constructor */
274
274
  $$ctor;
275
275
  /** Slots */
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
328
328
  };
329
329
  if (await Promise.resolve(), !this.$$cn || this.$$c)
330
330
  return;
331
- const t = {}, r = Ur(this);
331
+ const t = {}, r = Cr(this);
332
332
  for (const i of this.$$s)
333
333
  i in r && (t[i] = [e(i)]);
334
334
  for (const i of this.attributes) {
@@ -415,8 +415,8 @@ function ve(e, t, r, n) {
415
415
  return t;
416
416
  }
417
417
  }
418
- function Qr(e, t, r, n, i, s) {
419
- let o = class extends kt {
418
+ function Xr(e, t, r, n, i, s) {
419
+ let o = class extends Ft {
420
420
  constructor() {
421
421
  super(e, r, i), this.$$p_d = t;
422
422
  }
@@ -444,7 +444,7 @@ function Qr(e, t, r, n, i, s) {
444
444
  }), e.element = /** @type {any} */
445
445
  o, o;
446
446
  }
447
- class Yr {
447
+ class Wr {
448
448
  /**
449
449
  * ### PRIVATE API
450
450
  *
@@ -463,7 +463,7 @@ class Yr {
463
463
  $$set = void 0;
464
464
  /** @returns {void} */
465
465
  $destroy() {
466
- Wr(this, 1), this.$destroy = P;
466
+ jr(this, 1), this.$destroy = P;
467
467
  }
468
468
  /**
469
469
  * @template {Extract<keyof Events, string>} K
@@ -485,11 +485,11 @@ class Yr {
485
485
  * @returns {void}
486
486
  */
487
487
  $set(t) {
488
- this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
488
+ this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
489
489
  }
490
490
  }
491
- const qr = "4";
492
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qr);
491
+ const zr = "4";
492
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
493
493
  /*! *****************************************************************************
494
494
  Copyright (c) Microsoft Corporation.
495
495
 
@@ -504,18 +504,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
504
504
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
505
505
  PERFORMANCE OF THIS SOFTWARE.
506
506
  ***************************************************************************** */
507
- var Ve = function(e, t) {
508
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
507
+ var ke = function(e, t) {
508
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
509
509
  r.__proto__ = n;
510
510
  } || function(r, n) {
511
511
  for (var i in n)
512
512
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
513
- }, Ve(e, t);
513
+ }, ke(e, t);
514
514
  };
515
515
  function U(e, t) {
516
516
  if (typeof t != "function" && t !== null)
517
517
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
518
- Ve(e, t);
518
+ ke(e, t);
519
519
  function r() {
520
520
  this.constructor = e;
521
521
  }
@@ -531,7 +531,7 @@ var v = function() {
531
531
  return t;
532
532
  }, v.apply(this, arguments);
533
533
  };
534
- function Jr(e, t) {
534
+ function Zr(e, t) {
535
535
  var r = {};
536
536
  for (var n in e)
537
537
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -540,7 +540,7 @@ function Jr(e, t) {
540
540
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
541
541
  return r;
542
542
  }
543
- function Xe(e) {
543
+ function Ve(e) {
544
544
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
545
545
  if (r)
546
546
  return r.call(e);
@@ -552,7 +552,7 @@ function Xe(e) {
552
552
  };
553
553
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
554
554
  }
555
- function We(e, t) {
555
+ function Xe(e, t) {
556
556
  var r = typeof Symbol == "function" && e[Symbol.iterator];
557
557
  if (!r)
558
558
  return e;
@@ -581,13 +581,13 @@ function q(e, t, r) {
581
581
  function G(e) {
582
582
  return typeof e == "function";
583
583
  }
584
- function Vt(e) {
584
+ function $t(e) {
585
585
  var t = function(n) {
586
586
  Error.call(n), n.stack = new Error().stack;
587
587
  }, r = e(t);
588
588
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
589
589
  }
590
- var Ce = Vt(function(e) {
590
+ var Ce = $t(function(e) {
591
591
  return function(r) {
592
592
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
593
593
  ` + r.map(function(n, i) {
@@ -596,7 +596,7 @@ var Ce = Vt(function(e) {
596
596
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
597
597
  };
598
598
  });
599
- function ze(e, t) {
599
+ function We(e, t) {
600
600
  if (e) {
601
601
  var r = e.indexOf(t);
602
602
  0 <= r && e.splice(r, 1);
@@ -614,12 +614,12 @@ var He = function() {
614
614
  if (o)
615
615
  if (this._parentage = null, Array.isArray(o))
616
616
  try {
617
- for (var a = Xe(o), h = a.next(); !h.done; h = a.next()) {
617
+ for (var a = Ve(o), h = a.next(); !h.done; h = a.next()) {
618
618
  var u = h.value;
619
619
  u.remove(this);
620
620
  }
621
- } catch (b) {
622
- t = { error: b };
621
+ } catch (d) {
622
+ t = { error: d };
623
623
  } finally {
624
624
  try {
625
625
  h && !h.done && (r = a.return) && r.call(a);
@@ -634,26 +634,26 @@ var He = function() {
634
634
  if (G(l))
635
635
  try {
636
636
  l();
637
- } catch (b) {
638
- s = b instanceof Ce ? b.errors : [b];
637
+ } catch (d) {
638
+ s = d instanceof Ce ? d.errors : [d];
639
639
  }
640
640
  var f = this._finalizers;
641
641
  if (f) {
642
642
  this._finalizers = null;
643
643
  try {
644
- for (var c = Xe(f), d = c.next(); !d.done; d = c.next()) {
645
- var p = d.value;
644
+ for (var c = Ve(f), b = c.next(); !b.done; b = c.next()) {
645
+ var p = b.value;
646
646
  try {
647
- mt(p);
648
- } catch (b) {
649
- s = s ?? [], b instanceof Ce ? s = q(q([], We(s)), We(b.errors)) : s.push(b);
647
+ lt(p);
648
+ } catch (d) {
649
+ s = s ?? [], d instanceof Ce ? s = q(q([], Xe(s)), Xe(d.errors)) : s.push(d);
650
650
  }
651
651
  }
652
- } catch (b) {
653
- n = { error: b };
652
+ } catch (d) {
653
+ n = { error: d };
654
654
  } finally {
655
655
  try {
656
- d && !d.done && (i = c.return) && i.call(c);
656
+ b && !b.done && (i = c.return) && i.call(c);
657
657
  } finally {
658
658
  if (n)
659
659
  throw n.error;
@@ -667,7 +667,7 @@ var He = function() {
667
667
  var r;
668
668
  if (t && t !== this)
669
669
  if (this.closed)
670
- mt(t);
670
+ lt(t);
671
671
  else {
672
672
  if (t instanceof e) {
673
673
  if (t.closed || t._hasParent(this))
@@ -684,56 +684,52 @@ var He = function() {
684
684
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
685
685
  }, e.prototype._removeParent = function(t) {
686
686
  var r = this._parentage;
687
- r === t ? this._parentage = null : Array.isArray(r) && ze(r, t);
687
+ r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
688
688
  }, e.prototype.remove = function(t) {
689
689
  var r = this._finalizers;
690
- r && ze(r, t), t instanceof e && t._removeParent(this);
690
+ r && We(r, t), t instanceof e && t._removeParent(this);
691
691
  }, e.EMPTY = function() {
692
692
  var t = new e();
693
693
  return t.closed = !0, t;
694
694
  }(), e;
695
- }(), Xt = He.EMPTY;
696
- function Wt(e) {
695
+ }(), jt = He.EMPTY;
696
+ function kt(e) {
697
697
  return e instanceof He || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
698
698
  }
699
- function mt(e) {
699
+ function lt(e) {
700
700
  G(e) ? e() : e.unsubscribe();
701
701
  }
702
- var zt = {
703
- onUnhandledError: null,
704
- onStoppedNotification: null,
705
- Promise: void 0,
706
- useDeprecatedSynchronousErrorHandling: !1,
707
- useDeprecatedNextContext: !1
708
- }, Kr = {
702
+ var Qr = {
703
+ Promise: void 0
704
+ }, Yr = {
709
705
  setTimeout: function(e, t) {
710
706
  for (var r = [], n = 2; n < arguments.length; n++)
711
707
  r[n - 2] = arguments[n];
712
- return setTimeout.apply(void 0, q([e, t], We(r)));
708
+ return setTimeout.apply(void 0, q([e, t], Xe(r)));
713
709
  },
714
710
  clearTimeout: function(e) {
715
711
  return clearTimeout(e);
716
712
  },
717
713
  delegate: void 0
718
714
  };
719
- function en(e) {
720
- Kr.setTimeout(function() {
715
+ function qr(e) {
716
+ Yr.setTimeout(function() {
721
717
  throw e;
722
718
  });
723
719
  }
724
- function dt() {
720
+ function ct() {
725
721
  }
726
722
  function _e(e) {
727
723
  e();
728
724
  }
729
- var Zt = function(e) {
725
+ var Vt = function(e) {
730
726
  U(t, e);
731
727
  function t(r) {
732
728
  var n = e.call(this) || this;
733
- return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = sn, n;
729
+ return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = en, n;
734
730
  }
735
731
  return t.create = function(r, n, i) {
736
- return new Ze(r, n, i);
732
+ return new ze(r, n, i);
737
733
  }, t.prototype.next = function(r) {
738
734
  this.isStopped || this._next(r);
739
735
  }, t.prototype.error = function(r) {
@@ -757,11 +753,7 @@ var Zt = function(e) {
757
753
  this.unsubscribe();
758
754
  }
759
755
  }, t;
760
- }(He), tn = Function.prototype.bind;
761
- function Me(e, t) {
762
- return tn.call(e, t);
763
- }
764
- var rn = function() {
756
+ }(He), Jr = function() {
765
757
  function e(t) {
766
758
  this.partialObserver = t;
767
759
  }
@@ -792,55 +784,43 @@ var rn = function() {
792
784
  ge(r);
793
785
  }
794
786
  }, e;
795
- }(), Ze = function(e) {
787
+ }(), ze = function(e) {
796
788
  U(t, e);
797
789
  function t(r, n, i) {
798
790
  var s = e.call(this) || this, o;
799
- if (G(r) || !r)
800
- o = {
801
- next: r ?? void 0,
802
- error: n ?? void 0,
803
- complete: i ?? void 0
804
- };
805
- else {
806
- var a;
807
- s && zt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
808
- return s.unsubscribe();
809
- }, o = {
810
- next: r.next && Me(r.next, a),
811
- error: r.error && Me(r.error, a),
812
- complete: r.complete && Me(r.complete, a)
813
- }) : o = r;
814
- }
815
- return s.destination = new rn(o), s;
791
+ return G(r) || !r ? o = {
792
+ next: r ?? void 0,
793
+ error: n ?? void 0,
794
+ complete: i ?? void 0
795
+ } : o = r, s.destination = new Jr(o), s;
816
796
  }
817
797
  return t;
818
- }(Zt);
798
+ }(Vt);
819
799
  function ge(e) {
820
- en(e);
800
+ qr(e);
821
801
  }
822
- function nn(e) {
802
+ function Kr(e) {
823
803
  throw e;
824
804
  }
825
- var sn = {
805
+ var en = {
826
806
  closed: !0,
827
- next: dt,
828
- error: nn,
829
- complete: dt
830
- }, on = function() {
807
+ next: ct,
808
+ error: Kr,
809
+ complete: ct
810
+ }, tn = function() {
831
811
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
832
812
  }();
833
- function an(e) {
813
+ function rn(e) {
834
814
  return e;
835
815
  }
836
- function un(e) {
837
- return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
816
+ function nn(e) {
817
+ return e.length === 0 ? rn : e.length === 1 ? e[0] : function(r) {
838
818
  return e.reduce(function(n, i) {
839
819
  return i(n);
840
820
  }, r);
841
821
  };
842
822
  }
843
- var bt = function() {
823
+ var ft = function() {
844
824
  function e(t) {
845
825
  t && (this._subscribe = t);
846
826
  }
@@ -848,7 +828,7 @@ var bt = function() {
848
828
  var r = new e();
849
829
  return r.source = this, r.operator = t, r;
850
830
  }, e.prototype.subscribe = function(t, r, n) {
851
- var i = this, s = ln(t) ? t : new Ze(t, r, n);
831
+ var i = this, s = on(t) ? t : new ze(t, r, n);
852
832
  return _e(function() {
853
833
  var o = i, a = o.operator, h = o.source;
854
834
  s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
@@ -861,8 +841,8 @@ var bt = function() {
861
841
  }
862
842
  }, e.prototype.forEach = function(t, r) {
863
843
  var n = this;
864
- return r = pt(r), new r(function(i, s) {
865
- var o = new Ze({
844
+ return r = mt(r), new r(function(i, s) {
845
+ var o = new ze({
866
846
  next: function(a) {
867
847
  try {
868
848
  t(a);
@@ -878,15 +858,15 @@ var bt = function() {
878
858
  }, e.prototype._subscribe = function(t) {
879
859
  var r;
880
860
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
881
- }, e.prototype[on] = function() {
861
+ }, e.prototype[tn] = function() {
882
862
  return this;
883
863
  }, e.prototype.pipe = function() {
884
864
  for (var t = [], r = 0; r < arguments.length; r++)
885
865
  t[r] = arguments[r];
886
- return un(t)(this);
866
+ return nn(t)(this);
887
867
  }, e.prototype.toPromise = function(t) {
888
868
  var r = this;
889
- return t = pt(t), new t(function(n, i) {
869
+ return t = mt(t), new t(function(n, i) {
890
870
  var s;
891
871
  r.subscribe(function(o) {
892
872
  return s = o;
@@ -900,32 +880,32 @@ var bt = function() {
900
880
  return new e(t);
901
881
  }, e;
902
882
  }();
903
- function pt(e) {
883
+ function mt(e) {
904
884
  var t;
905
- return (t = e ?? zt.Promise) !== null && t !== void 0 ? t : Promise;
885
+ return (t = e ?? Qr.Promise) !== null && t !== void 0 ? t : Promise;
906
886
  }
907
- function hn(e) {
887
+ function sn(e) {
908
888
  return e && G(e.next) && G(e.error) && G(e.complete);
909
889
  }
910
- function ln(e) {
911
- return e && e instanceof Zt || hn(e) && Wt(e);
890
+ function on(e) {
891
+ return e && e instanceof Vt || sn(e) && kt(e);
912
892
  }
913
- var cn = Vt(function(e) {
893
+ var an = $t(function(e) {
914
894
  return function() {
915
895
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
916
896
  };
917
- }), Qt = function(e) {
897
+ }), Xt = function(e) {
918
898
  U(t, e);
919
899
  function t() {
920
900
  var r = e.call(this) || this;
921
901
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
922
902
  }
923
903
  return t.prototype.lift = function(r) {
924
- var n = new gt(this, this);
904
+ var n = new bt(this, this);
925
905
  return n.operator = r, n;
926
906
  }, t.prototype._throwIfClosed = function() {
927
907
  if (this.closed)
928
- throw new cn();
908
+ throw new an();
929
909
  }, t.prototype.next = function(r) {
930
910
  var n = this;
931
911
  _e(function() {
@@ -933,7 +913,7 @@ var cn = Vt(function(e) {
933
913
  if (n._throwIfClosed(), !n.isStopped) {
934
914
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
935
915
  try {
936
- for (var o = Xe(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
916
+ for (var o = Ve(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
937
917
  var h = a.value;
938
918
  h.next(r);
939
919
  }
@@ -982,19 +962,19 @@ var cn = Vt(function(e) {
982
962
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
983
963
  }, t.prototype._innerSubscribe = function(r) {
984
964
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
985
- return s || o ? Xt : (this.currentObservers = null, a.push(r), new He(function() {
986
- n.currentObservers = null, ze(a, r);
965
+ return s || o ? jt : (this.currentObservers = null, a.push(r), new He(function() {
966
+ n.currentObservers = null, We(a, r);
987
967
  }));
988
968
  }, t.prototype._checkFinalizedStatuses = function(r) {
989
969
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
990
970
  i ? r.error(s) : o && r.complete();
991
971
  }, t.prototype.asObservable = function() {
992
- var r = new bt();
972
+ var r = new ft();
993
973
  return r.source = this, r;
994
974
  }, t.create = function(r, n) {
995
- return new gt(r, n);
975
+ return new bt(r, n);
996
976
  }, t;
997
- }(bt), gt = function(e) {
977
+ }(ft), bt = function(e) {
998
978
  U(t, e);
999
979
  function t(r, n) {
1000
980
  var i = e.call(this) || this;
@@ -1011,17 +991,17 @@ var cn = Vt(function(e) {
1011
991
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1012
992
  }, t.prototype._subscribe = function(r) {
1013
993
  var n, i;
1014
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
994
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1015
995
  }, t;
1016
- }(Qt), Yt = {
996
+ }(Xt), Wt = {
1017
997
  now: function() {
1018
- return (Yt.delegate || Date).now();
998
+ return (Wt.delegate || Date).now();
1019
999
  },
1020
1000
  delegate: void 0
1021
- }, fn = function(e) {
1001
+ }, un = function(e) {
1022
1002
  U(t, e);
1023
1003
  function t(r, n, i) {
1024
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yt);
1004
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
1025
1005
  var s = e.call(this) || this;
1026
1006
  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;
1027
1007
  }
@@ -1041,15 +1021,15 @@ var cn = Vt(function(e) {
1041
1021
  u && s.splice(0, u + 1);
1042
1022
  }
1043
1023
  }, t;
1044
- }(Qt);
1045
- const yt = [], vt = {}, mn = (e, t = 0) => {
1046
- if (yt.indexOf(e) == -1) {
1047
- const r = new fn(t);
1048
- vt[e] = r, yt.push(e);
1024
+ }(Xt);
1025
+ const dt = [], pt = {}, hn = (e, t = 0) => {
1026
+ if (dt.indexOf(e) == -1) {
1027
+ const r = new un(t);
1028
+ pt[e] = r, dt.push(e);
1049
1029
  }
1050
- return vt[e];
1030
+ return pt[e];
1051
1031
  }, Z = [];
1052
- function dn(e, t) {
1032
+ function ln(e, t) {
1053
1033
  return {
1054
1034
  subscribe: Ae(e, t).subscribe
1055
1035
  };
@@ -1058,7 +1038,7 @@ function Ae(e, t = P) {
1058
1038
  let r;
1059
1039
  const n = /* @__PURE__ */ new Set();
1060
1040
  function i(a) {
1061
- if (Rt(e, a) && (e = a, r)) {
1041
+ if (It(e, a) && (e = a, r)) {
1062
1042
  const h = !Z.length;
1063
1043
  for (const u of n)
1064
1044
  u[1](), Z.push(u, e);
@@ -1085,7 +1065,7 @@ function se(e, t, r) {
1085
1065
  if (!i.every(Boolean))
1086
1066
  throw new Error("derived() expects stores as input, got a falsy value");
1087
1067
  const s = t.length < 2;
1088
- return dn(r, (o, a) => {
1068
+ return ln(r, (o, a) => {
1089
1069
  let h = !1;
1090
1070
  const u = [];
1091
1071
  let l = 0, f = P;
@@ -1095,86 +1075,86 @@ function se(e, t, r) {
1095
1075
  f();
1096
1076
  const p = t(n ? u[0] : u, o, a);
1097
1077
  s ? o(p) : f = Te(p) ? p : P;
1098
- }, d = i.map(
1099
- (p, b) => Gt(
1078
+ }, b = i.map(
1079
+ (p, d) => Ct(
1100
1080
  p,
1101
1081
  (w) => {
1102
- u[b] = w, l &= ~(1 << b), h && c();
1082
+ u[d] = w, l &= ~(1 << d), h && c();
1103
1083
  },
1104
1084
  () => {
1105
- l |= 1 << b;
1085
+ l |= 1 << d;
1106
1086
  }
1107
1087
  )
1108
1088
  );
1109
1089
  return h = !0, c(), function() {
1110
- re(d), f(), h = !1;
1090
+ re(b), f(), h = !1;
1111
1091
  };
1112
1092
  });
1113
1093
  }
1114
- function bn(e) {
1094
+ function cn(e) {
1115
1095
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1116
1096
  }
1117
- var pn = function(t) {
1118
- return gn(t) && !yn(t);
1097
+ var fn = function(t) {
1098
+ return mn(t) && !bn(t);
1119
1099
  };
1120
- function gn(e) {
1100
+ function mn(e) {
1121
1101
  return !!e && typeof e == "object";
1122
1102
  }
1123
- function yn(e) {
1103
+ function bn(e) {
1124
1104
  var t = Object.prototype.toString.call(e);
1125
- return t === "[object RegExp]" || t === "[object Date]" || En(e);
1105
+ return t === "[object RegExp]" || t === "[object Date]" || gn(e);
1126
1106
  }
1127
- var vn = typeof Symbol == "function" && Symbol.for, _n = vn ? Symbol.for("react.element") : 60103;
1128
- function En(e) {
1129
- return e.$$typeof === _n;
1107
+ var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
1108
+ function gn(e) {
1109
+ return e.$$typeof === pn;
1130
1110
  }
1131
- function xn(e) {
1111
+ function yn(e) {
1132
1112
  return Array.isArray(e) ? [] : {};
1133
1113
  }
1134
1114
  function le(e, t) {
1135
- return t.clone !== !1 && t.isMergeableObject(e) ? J(xn(e), e, t) : e;
1115
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(yn(e), e, t) : e;
1136
1116
  }
1137
- function Sn(e, t, r) {
1117
+ function vn(e, t, r) {
1138
1118
  return e.concat(t).map(function(n) {
1139
1119
  return le(n, r);
1140
1120
  });
1141
1121
  }
1142
- function wn(e, t) {
1122
+ function _n(e, t) {
1143
1123
  if (!t.customMerge)
1144
1124
  return J;
1145
1125
  var r = t.customMerge(e);
1146
1126
  return typeof r == "function" ? r : J;
1147
1127
  }
1148
- function Tn(e) {
1128
+ function En(e) {
1149
1129
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1150
1130
  return Object.propertyIsEnumerable.call(e, t);
1151
1131
  }) : [];
1152
1132
  }
1153
- function _t(e) {
1154
- return Object.keys(e).concat(Tn(e));
1133
+ function gt(e) {
1134
+ return Object.keys(e).concat(En(e));
1155
1135
  }
1156
- function qt(e, t) {
1136
+ function zt(e, t) {
1157
1137
  try {
1158
1138
  return t in e;
1159
1139
  } catch {
1160
1140
  return !1;
1161
1141
  }
1162
1142
  }
1163
- function Hn(e, t) {
1164
- return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1143
+ function xn(e, t) {
1144
+ return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1165
1145
  }
1166
- function An(e, t, r) {
1146
+ function Sn(e, t, r) {
1167
1147
  var n = {};
1168
- return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1148
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1169
1149
  n[i] = le(e[i], r);
1170
- }), _t(t).forEach(function(i) {
1171
- Hn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1150
+ }), gt(t).forEach(function(i) {
1151
+ xn(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1172
1152
  }), n;
1173
1153
  }
1174
1154
  function J(e, t, r) {
1175
- r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = le;
1155
+ r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = le;
1176
1156
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1177
- return s ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : le(t, r);
1157
+ return s ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : le(t, r);
1178
1158
  }
1179
1159
  J.all = function(t, r) {
1180
1160
  if (!Array.isArray(t))
@@ -1183,58 +1163,56 @@ J.all = function(t, r) {
1183
1163
  return J(n, i, r);
1184
1164
  }, {});
1185
1165
  };
1186
- var Bn = J, Pn = Bn;
1187
- const Nn = /* @__PURE__ */ bn(Pn);
1188
- function Re(e, t) {
1189
- var r = t && t.cache ? t.cache : Rn, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Ln;
1166
+ var wn = J, Tn = wn;
1167
+ const Hn = /* @__PURE__ */ cn(Tn);
1168
+ function Me(e, t) {
1169
+ var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : Pn;
1190
1170
  return i(e, {
1191
1171
  cache: r,
1192
1172
  serializer: n
1193
1173
  });
1194
1174
  }
1195
- function On(e) {
1175
+ function An(e) {
1196
1176
  return e == null || typeof e == "number" || typeof e == "boolean";
1197
1177
  }
1198
- function Jt(e, t, r, n) {
1199
- var i = On(n) ? n : r(n), s = t.get(i);
1178
+ function Bn(e, t, r, n) {
1179
+ var i = An(n) ? n : r(n), s = t.get(i);
1200
1180
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1201
1181
  }
1202
- function Kt(e, t, r) {
1182
+ function Zt(e, t, r) {
1203
1183
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1204
1184
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1205
1185
  }
1206
- function nt(e, t, r, n, i) {
1186
+ function Qt(e, t, r, n, i) {
1207
1187
  return r.bind(t, e, n, i);
1208
1188
  }
1209
- function Ln(e, t) {
1210
- var r = e.length === 1 ? Jt : Kt;
1211
- return nt(e, this, r, t.cache.create(), t.serializer);
1212
- }
1213
- function In(e, t) {
1214
- return nt(e, this, Kt, t.cache.create(), t.serializer);
1189
+ function Pn(e, t) {
1190
+ var r = e.length === 1 ? Bn : Zt;
1191
+ return Qt(e, this, r, t.cache.create(), t.serializer);
1215
1192
  }
1216
- function Cn(e, t) {
1217
- return nt(e, this, Jt, t.cache.create(), t.serializer);
1193
+ function Nn(e, t) {
1194
+ return Qt(e, this, Zt, t.cache.create(), t.serializer);
1218
1195
  }
1219
- var Mn = function() {
1196
+ var On = function() {
1220
1197
  return JSON.stringify(arguments);
1221
- };
1222
- function it() {
1223
- this.cache = /* @__PURE__ */ Object.create(null);
1224
- }
1225
- it.prototype.get = function(e) {
1226
- return this.cache[e];
1227
- };
1228
- it.prototype.set = function(e, t) {
1229
- this.cache[e] = t;
1230
- };
1231
- var Rn = {
1198
+ }, Ln = (
1199
+ /** @class */
1200
+ function() {
1201
+ function e() {
1202
+ this.cache = /* @__PURE__ */ Object.create(null);
1203
+ }
1204
+ return e.prototype.get = function(t) {
1205
+ return this.cache[t];
1206
+ }, e.prototype.set = function(t, r) {
1207
+ this.cache[t] = r;
1208
+ }, e;
1209
+ }()
1210
+ ), In = {
1232
1211
  create: function() {
1233
- return new it();
1212
+ return new Ln();
1234
1213
  }
1235
- }, Ge = {
1236
- variadic: In,
1237
- monadic: Cn
1214
+ }, Re = {
1215
+ variadic: Nn
1238
1216
  }, g;
1239
1217
  (function(e) {
1240
1218
  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";
@@ -1247,43 +1225,43 @@ var K;
1247
1225
  (function(e) {
1248
1226
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1249
1227
  })(K || (K = {}));
1250
- function Et(e) {
1228
+ function yt(e) {
1251
1229
  return e.type === x.literal;
1252
1230
  }
1253
- function Gn(e) {
1231
+ function Cn(e) {
1254
1232
  return e.type === x.argument;
1255
1233
  }
1256
- function er(e) {
1234
+ function Yt(e) {
1257
1235
  return e.type === x.number;
1258
1236
  }
1259
- function tr(e) {
1237
+ function qt(e) {
1260
1238
  return e.type === x.date;
1261
1239
  }
1262
- function rr(e) {
1240
+ function Jt(e) {
1263
1241
  return e.type === x.time;
1264
1242
  }
1265
- function nr(e) {
1243
+ function Kt(e) {
1266
1244
  return e.type === x.select;
1267
1245
  }
1268
- function ir(e) {
1246
+ function er(e) {
1269
1247
  return e.type === x.plural;
1270
1248
  }
1271
- function Un(e) {
1249
+ function Mn(e) {
1272
1250
  return e.type === x.pound;
1273
1251
  }
1274
- function sr(e) {
1252
+ function tr(e) {
1275
1253
  return e.type === x.tag;
1276
1254
  }
1277
- function or(e) {
1255
+ function rr(e) {
1278
1256
  return !!(e && typeof e == "object" && e.type === K.number);
1279
1257
  }
1280
- function Qe(e) {
1258
+ function Ze(e) {
1281
1259
  return !!(e && typeof e == "object" && e.type === K.dateTime);
1282
1260
  }
1283
- var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
1284
- function Fn(e) {
1261
+ var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1262
+ function Gn(e) {
1285
1263
  var t = {};
1286
- return e.replace(Dn, function(r) {
1264
+ return e.replace(Rn, function(r) {
1287
1265
  var n = r.length;
1288
1266
  switch (r[0]) {
1289
1267
  case "G":
@@ -1372,11 +1350,11 @@ function Fn(e) {
1372
1350
  return "";
1373
1351
  }), t;
1374
1352
  }
1375
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1376
- function jn(e) {
1353
+ var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1354
+ function Dn(e) {
1377
1355
  if (e.length === 0)
1378
1356
  throw new Error("Number skeleton cannot be empty");
1379
- for (var t = e.split($n).filter(function(c) {
1357
+ for (var t = e.split(Un).filter(function(c) {
1380
1358
  return c.length > 0;
1381
1359
  }), r = [], n = 0, i = t; n < i.length; n++) {
1382
1360
  var s = i[n], o = s.split("/");
@@ -1391,17 +1369,17 @@ function jn(e) {
1391
1369
  }
1392
1370
  return r;
1393
1371
  }
1394
- function kn(e) {
1372
+ function Fn(e) {
1395
1373
  return e.replace(/^(.*?)-/, "");
1396
1374
  }
1397
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
1398
- function St(e) {
1375
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1376
+ function _t(e) {
1399
1377
  var t = {};
1400
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1378
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
1401
1379
  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)), "";
1402
1380
  }), t;
1403
1381
  }
1404
- function lr(e) {
1382
+ function or(e) {
1405
1383
  switch (e) {
1406
1384
  case "sign-auto":
1407
1385
  return {
@@ -1441,7 +1419,7 @@ function lr(e) {
1441
1419
  };
1442
1420
  }
1443
1421
  }
1444
- function Xn(e) {
1422
+ function jn(e) {
1445
1423
  var t;
1446
1424
  if (e[0] === "E" && e[1] === "E" ? (t = {
1447
1425
  notation: "engineering"
@@ -1449,17 +1427,17 @@ function Xn(e) {
1449
1427
  notation: "scientific"
1450
1428
  }, e = e.slice(1)), t) {
1451
1429
  var r = e.slice(0, 2);
1452
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
1430
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1453
1431
  throw new Error("Malformed concise eng/scientific notation");
1454
1432
  t.minimumIntegerDigits = e.length;
1455
1433
  }
1456
1434
  return t;
1457
1435
  }
1458
- function wt(e) {
1459
- var t = {}, r = lr(e);
1436
+ function Et(e) {
1437
+ var t = {}, r = or(e);
1460
1438
  return r || t;
1461
1439
  }
1462
- function Wn(e) {
1440
+ function kn(e) {
1463
1441
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1464
1442
  var i = n[r];
1465
1443
  switch (i.stem) {
@@ -1483,7 +1461,7 @@ function Wn(e) {
1483
1461
  continue;
1484
1462
  case "measure-unit":
1485
1463
  case "unit":
1486
- t.style = "unit", t.unit = kn(i.options[0]);
1464
+ t.style = "unit", t.unit = Fn(i.options[0]);
1487
1465
  continue;
1488
1466
  case "compact-short":
1489
1467
  case "K":
@@ -1495,12 +1473,12 @@ function Wn(e) {
1495
1473
  continue;
1496
1474
  case "scientific":
1497
1475
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1498
- return v(v({}, h), wt(u));
1476
+ return v(v({}, h), Et(u));
1499
1477
  }, {}));
1500
1478
  continue;
1501
1479
  case "engineering":
1502
1480
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1503
- return v(v({}, h), wt(u));
1481
+ return v(v({}, h), Et(u));
1504
1482
  }, {}));
1505
1483
  continue;
1506
1484
  case "notation-simple":
@@ -1545,40 +1523,40 @@ function Wn(e) {
1545
1523
  case "integer-width":
1546
1524
  if (i.options.length > 1)
1547
1525
  throw new RangeError("integer-width stems only accept a single optional option");
1548
- i.options[0].replace(Vn, function(h, u, l, f, c, d) {
1526
+ i.options[0].replace($n, function(h, u, l, f, c, b) {
1549
1527
  if (u)
1550
1528
  t.minimumIntegerDigits = l.length;
1551
1529
  else {
1552
1530
  if (f && c)
1553
1531
  throw new Error("We currently do not support maximum integer digits");
1554
- if (d)
1532
+ if (b)
1555
1533
  throw new Error("We currently do not support exact integer digits");
1556
1534
  }
1557
1535
  return "";
1558
1536
  });
1559
1537
  continue;
1560
1538
  }
1561
- if (hr.test(i.stem)) {
1539
+ if (sr.test(i.stem)) {
1562
1540
  t.minimumIntegerDigits = i.stem.length;
1563
1541
  continue;
1564
1542
  }
1565
- if (xt.test(i.stem)) {
1543
+ if (vt.test(i.stem)) {
1566
1544
  if (i.options.length > 1)
1567
1545
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1568
- i.stem.replace(xt, function(h, u, l, f, c, d) {
1569
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1546
+ i.stem.replace(vt, function(h, u, l, f, c, b) {
1547
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1570
1548
  });
1571
1549
  var s = i.options[0];
1572
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), St(s)));
1550
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), _t(s)));
1573
1551
  continue;
1574
1552
  }
1575
- if (ur.test(i.stem)) {
1576
- t = v(v({}, t), St(i.stem));
1553
+ if (ir.test(i.stem)) {
1554
+ t = v(v({}, t), _t(i.stem));
1577
1555
  continue;
1578
1556
  }
1579
- var o = lr(i.stem);
1557
+ var o = or(i.stem);
1580
1558
  o && (t = v(v({}, t), o));
1581
- var a = Xn(i.stem);
1559
+ var a = jn(i.stem);
1582
1560
  a && (t = v(v({}, t), a));
1583
1561
  }
1584
1562
  return t;
@@ -2998,13 +2976,13 @@ var ye = {
2998
2976
  "h"
2999
2977
  ]
3000
2978
  };
3001
- function zn(e, t) {
2979
+ function Vn(e, t) {
3002
2980
  for (var r = "", n = 0; n < e.length; n++) {
3003
2981
  var i = e.charAt(n);
3004
2982
  if (i === "j") {
3005
2983
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3006
2984
  s++, n++;
3007
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Zn(t);
2985
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Xn(t);
3008
2986
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3009
2987
  r += h;
3010
2988
  for (; o-- > 0; )
@@ -3014,7 +2992,7 @@ function zn(e, t) {
3014
2992
  }
3015
2993
  return r;
3016
2994
  }
3017
- function Zn(e) {
2995
+ function Xn(e) {
3018
2996
  var t = e.hourCycle;
3019
2997
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3020
2998
  e.hourCycles && // @ts-ignore
@@ -3036,20 +3014,20 @@ function Zn(e) {
3036
3014
  var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3037
3015
  return i[0];
3038
3016
  }
3039
- var Ue, Qn = new RegExp("^".concat(ar.source, "*")), Yn = new RegExp("".concat(ar.source, "*$"));
3017
+ var Ge, Wn = new RegExp("^".concat(nr.source, "*")), zn = new RegExp("".concat(nr.source, "*$"));
3040
3018
  function y(e, t) {
3041
3019
  return { start: e, end: t };
3042
3020
  }
3043
- var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
3021
+ var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Yn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
3044
3022
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3045
- }, Ye = !0;
3023
+ }, Qe = !0;
3046
3024
  try {
3047
- var si = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3048
- Ye = ((Ue = si.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
3025
+ var ri = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3026
+ Qe = ((Ge = ri.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3049
3027
  } catch {
3050
- Ye = !1;
3028
+ Qe = !1;
3051
3029
  }
3052
- var Tt = qn ? (
3030
+ var xt = Zn ? (
3053
3031
  // Native
3054
3032
  function(t, r, n) {
3055
3033
  return t.startsWith(r, n);
@@ -3059,7 +3037,7 @@ var Tt = qn ? (
3059
3037
  function(t, r, n) {
3060
3038
  return t.slice(n, n + r.length) === r;
3061
3039
  }
3062
- ), qe = Jn ? String.fromCodePoint : (
3040
+ ), Ye = Qn ? String.fromCodePoint : (
3063
3041
  // IE11
3064
3042
  function() {
3065
3043
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3071,9 +3049,9 @@ var Tt = qn ? (
3071
3049
  }
3072
3050
  return n;
3073
3051
  }
3074
- ), Ht = (
3052
+ ), St = (
3075
3053
  // native
3076
- Kn ? Object.fromEntries : (
3054
+ Yn ? Object.fromEntries : (
3077
3055
  // Ponyfill
3078
3056
  function(t) {
3079
3057
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3083,7 +3061,7 @@ var Tt = qn ? (
3083
3061
  return r;
3084
3062
  }
3085
3063
  )
3086
- ), cr = ei ? (
3064
+ ), ar = qn ? (
3087
3065
  // Native
3088
3066
  function(t, r) {
3089
3067
  return t.codePointAt(r);
@@ -3097,7 +3075,7 @@ var Tt = qn ? (
3097
3075
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3098
3076
  }
3099
3077
  }
3100
- ), oi = ti ? (
3078
+ ), ni = Jn ? (
3101
3079
  // Native
3102
3080
  function(t) {
3103
3081
  return t.trimStart();
@@ -3105,9 +3083,9 @@ var Tt = qn ? (
3105
3083
  ) : (
3106
3084
  // Ponyfill
3107
3085
  function(t) {
3108
- return t.replace(Qn, "");
3086
+ return t.replace(Wn, "");
3109
3087
  }
3110
- ), ai = ri ? (
3088
+ ), ii = Kn ? (
3111
3089
  // Native
3112
3090
  function(t) {
3113
3091
  return t.trimEnd();
@@ -3115,32 +3093,32 @@ var Tt = qn ? (
3115
3093
  ) : (
3116
3094
  // Ponyfill
3117
3095
  function(t) {
3118
- return t.replace(Yn, "");
3096
+ return t.replace(zn, "");
3119
3097
  }
3120
3098
  );
3121
- function fr(e, t) {
3099
+ function ur(e, t) {
3122
3100
  return new RegExp(e, t);
3123
3101
  }
3124
- var Je;
3125
- if (Ye) {
3126
- var At = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3127
- Je = function(t, r) {
3102
+ var qe;
3103
+ if (Qe) {
3104
+ var wt = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3105
+ qe = function(t, r) {
3128
3106
  var n;
3129
- At.lastIndex = r;
3130
- var i = At.exec(t);
3107
+ wt.lastIndex = r;
3108
+ var i = wt.exec(t);
3131
3109
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3132
3110
  };
3133
3111
  } else
3134
- Je = function(t, r) {
3112
+ qe = function(t, r) {
3135
3113
  for (var n = []; ; ) {
3136
- var i = cr(t, r);
3137
- if (i === void 0 || mr(i) || ci(i))
3114
+ var i = ar(t, r);
3115
+ if (i === void 0 || hr(i) || ui(i))
3138
3116
  break;
3139
3117
  n.push(i), r += i >= 65536 ? 2 : 1;
3140
3118
  }
3141
- return qe.apply(void 0, n);
3119
+ return Ye.apply(void 0, n);
3142
3120
  };
3143
- var ui = (
3121
+ var si = (
3144
3122
  /** @class */
3145
3123
  function() {
3146
3124
  function e(t, r) {
@@ -3171,7 +3149,7 @@ var ui = (
3171
3149
  if (n)
3172
3150
  break;
3173
3151
  return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3174
- } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3152
+ } else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3175
3153
  var o = this.parseTag(t, r);
3176
3154
  if (o.err)
3177
3155
  return o;
@@ -3204,7 +3182,7 @@ var ui = (
3204
3182
  return s;
3205
3183
  var o = s.val, a = this.clonePosition();
3206
3184
  if (this.bumpIf("</")) {
3207
- if (this.isEOF() || !Ke(this.char()))
3185
+ if (this.isEOF() || !Je(this.char()))
3208
3186
  return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
3209
3187
  var h = this.clonePosition(), u = this.parseTagName();
3210
3188
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3222,7 +3200,7 @@ var ui = (
3222
3200
  return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
3223
3201
  }, e.prototype.parseTagName = function() {
3224
3202
  var t = this.offset();
3225
- for (this.bump(); !this.isEOF() && li(this.char()); )
3203
+ for (this.bump(); !this.isEOF() && ai(this.char()); )
3226
3204
  this.bump();
3227
3205
  return this.message.slice(t, this.offset());
3228
3206
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3251,7 +3229,7 @@ var ui = (
3251
3229
  };
3252
3230
  }, e.prototype.tryParseLeftAngleBracket = function() {
3253
3231
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3254
- !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3232
+ !oi(this.peek() || 0)) ? (this.bump(), "<") : null;
3255
3233
  }, e.prototype.tryParseQuote = function(t) {
3256
3234
  if (this.isEOF() || this.char() !== 39)
3257
3235
  return null;
@@ -3285,12 +3263,12 @@ var ui = (
3285
3263
  r.push(n);
3286
3264
  this.bump();
3287
3265
  }
3288
- return qe.apply(void 0, r);
3266
+ return Ye.apply(void 0, r);
3289
3267
  }, e.prototype.tryParseUnquoted = function(t, r) {
3290
3268
  if (this.isEOF())
3291
3269
  return null;
3292
3270
  var n = this.char();
3293
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3271
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3294
3272
  }, e.prototype.parseArgument = function(t, r) {
3295
3273
  var n = this.clonePosition();
3296
3274
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3319,7 +3297,7 @@ var ui = (
3319
3297
  return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3320
3298
  }
3321
3299
  }, e.prototype.parseIdentifierIfPossible = function() {
3322
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3300
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3323
3301
  this.bumpTo(i);
3324
3302
  var s = this.clonePosition(), o = y(t, s);
3325
3303
  return { value: n, location: o };
@@ -3338,37 +3316,37 @@ var ui = (
3338
3316
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3339
3317
  if (f.err)
3340
3318
  return f;
3341
- var c = ai(f.val);
3319
+ var c = ii(f.val);
3342
3320
  if (c.length === 0)
3343
3321
  return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3344
- var d = y(l, this.clonePosition());
3345
- u = { style: c, styleLocation: d };
3322
+ var b = y(l, this.clonePosition());
3323
+ u = { style: c, styleLocation: b };
3346
3324
  }
3347
3325
  var p = this.tryParseArgumentClose(i);
3348
3326
  if (p.err)
3349
3327
  return p;
3350
- var b = y(i, this.clonePosition());
3351
- if (u && Tt(u?.style, "::", 0)) {
3352
- var w = oi(u.style.slice(2));
3328
+ var d = y(i, this.clonePosition());
3329
+ if (u && xt(u?.style, "::", 0)) {
3330
+ var w = ni(u.style.slice(2));
3353
3331
  if (a === "number") {
3354
3332
  var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3355
3333
  return f.err ? f : {
3356
- val: { type: x.number, value: n, location: b, style: f.val },
3334
+ val: { type: x.number, value: n, location: d, style: f.val },
3357
3335
  err: null
3358
3336
  };
3359
3337
  } else {
3360
3338
  if (w.length === 0)
3361
- return this.error(g.EXPECT_DATE_TIME_SKELETON, b);
3339
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
3362
3340
  var C = w;
3363
- this.locale && (C = zn(w, this.locale));
3341
+ this.locale && (C = Vn(w, this.locale));
3364
3342
  var c = {
3365
3343
  type: K.dateTime,
3366
3344
  pattern: C,
3367
3345
  location: u.styleLocation,
3368
- parsedOptions: this.shouldParseSkeletons ? Fn(C) : {}
3346
+ parsedOptions: this.shouldParseSkeletons ? Gn(C) : {}
3369
3347
  }, N = a === "date" ? x.date : x.time;
3370
3348
  return {
3371
- val: { type: N, value: n, location: b, style: c },
3349
+ val: { type: N, value: n, location: d, style: c },
3372
3350
  err: null
3373
3351
  };
3374
3352
  }
@@ -3377,7 +3355,7 @@ var ui = (
3377
3355
  val: {
3378
3356
  type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3379
3357
  value: n,
3380
- location: b,
3358
+ location: d,
3381
3359
  style: (s = u?.style) !== null && s !== void 0 ? s : null
3382
3360
  },
3383
3361
  err: null
@@ -3411,7 +3389,7 @@ var ui = (
3411
3389
  val: {
3412
3390
  type: x.select,
3413
3391
  value: n,
3414
- options: Ht(M.val),
3392
+ options: St(M.val),
3415
3393
  location: E
3416
3394
  },
3417
3395
  err: null
@@ -3419,7 +3397,7 @@ var ui = (
3419
3397
  val: {
3420
3398
  type: x.plural,
3421
3399
  value: n,
3422
- options: Ht(M.val),
3400
+ options: St(M.val),
3423
3401
  offset: H,
3424
3402
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3425
3403
  location: E
@@ -3470,7 +3448,7 @@ var ui = (
3470
3448
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3471
3449
  var n = [];
3472
3450
  try {
3473
- n = jn(t);
3451
+ n = Dn(t);
3474
3452
  } catch {
3475
3453
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3476
3454
  }
@@ -3479,7 +3457,7 @@ var ui = (
3479
3457
  type: K.number,
3480
3458
  tokens: n,
3481
3459
  location: r,
3482
- parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
3460
+ parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3483
3461
  },
3484
3462
  err: null
3485
3463
  };
@@ -3498,20 +3476,20 @@ var ui = (
3498
3476
  if (h.has(u))
3499
3477
  return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3500
3478
  u === "other" && (o = !0), this.bumpSpace();
3501
- var d = this.clonePosition();
3479
+ var b = this.clonePosition();
3502
3480
  if (!this.bumpIf("{"))
3503
3481
  return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3504
3482
  var p = this.parseMessage(t + 1, r, n);
3505
3483
  if (p.err)
3506
3484
  return p;
3507
- var b = this.tryParseArgumentClose(d);
3508
- if (b.err)
3509
- return b;
3485
+ var d = this.tryParseArgumentClose(b);
3486
+ if (d.err)
3487
+ return d;
3510
3488
  a.push([
3511
3489
  u,
3512
3490
  {
3513
3491
  value: p.val,
3514
- location: y(d, this.clonePosition())
3492
+ location: y(b, this.clonePosition())
3515
3493
  }
3516
3494
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3517
3495
  }
@@ -3527,7 +3505,7 @@ var ui = (
3527
3505
  break;
3528
3506
  }
3529
3507
  var h = y(i, this.clonePosition());
3530
- return s ? (o *= n, ii(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3508
+ return s ? (o *= n, ti(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3531
3509
  }, e.prototype.offset = function() {
3532
3510
  return this.position.offset;
3533
3511
  }, e.prototype.isEOF = function() {
@@ -3542,7 +3520,7 @@ var ui = (
3542
3520
  var t = this.position.offset;
3543
3521
  if (t >= this.message.length)
3544
3522
  throw Error("out of bound");
3545
- var r = cr(this.message, t);
3523
+ var r = ar(this.message, t);
3546
3524
  if (r === void 0)
3547
3525
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3548
3526
  return r;
@@ -3561,7 +3539,7 @@ var ui = (
3561
3539
  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);
3562
3540
  }
3563
3541
  }, e.prototype.bumpIf = function(t) {
3564
- if (Tt(this.message, t, this.offset())) {
3542
+ if (xt(this.message, t, this.offset())) {
3565
3543
  for (var r = 0; r < t.length; r++)
3566
3544
  this.bump();
3567
3545
  return !0;
@@ -3583,7 +3561,7 @@ var ui = (
3583
3561
  break;
3584
3562
  }
3585
3563
  }, e.prototype.bumpSpace = function() {
3586
- for (; !this.isEOF() && mr(this.char()); )
3564
+ for (; !this.isEOF() && hr(this.char()); )
3587
3565
  this.bump();
3588
3566
  }, e.prototype.peek = function() {
3589
3567
  if (this.isEOF())
@@ -3593,38 +3571,38 @@ var ui = (
3593
3571
  }, e;
3594
3572
  }()
3595
3573
  );
3596
- function Ke(e) {
3574
+ function Je(e) {
3597
3575
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3598
3576
  }
3599
- function hi(e) {
3600
- return Ke(e) || e === 47;
3577
+ function oi(e) {
3578
+ return Je(e) || e === 47;
3601
3579
  }
3602
- function li(e) {
3580
+ function ai(e) {
3603
3581
  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;
3604
3582
  }
3605
- function mr(e) {
3583
+ function hr(e) {
3606
3584
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3607
3585
  }
3608
- function ci(e) {
3586
+ function ui(e) {
3609
3587
  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;
3610
3588
  }
3611
- function et(e) {
3589
+ function Ke(e) {
3612
3590
  e.forEach(function(t) {
3613
- if (delete t.location, nr(t) || ir(t))
3591
+ if (delete t.location, Kt(t) || er(t))
3614
3592
  for (var r in t.options)
3615
- delete t.options[r].location, et(t.options[r].value);
3593
+ delete t.options[r].location, Ke(t.options[r].value);
3616
3594
  else
3617
- er(t) && or(t.style) || (tr(t) || rr(t)) && Qe(t.style) ? delete t.style.location : sr(t) && et(t.children);
3595
+ Yt(t) && rr(t.style) || (qt(t) || Jt(t)) && Ze(t.style) ? delete t.style.location : tr(t) && Ke(t.children);
3618
3596
  });
3619
3597
  }
3620
- function fi(e, t) {
3598
+ function hi(e, t) {
3621
3599
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3622
- var r = new ui(e, t).parse();
3600
+ var r = new si(e, t).parse();
3623
3601
  if (r.err) {
3624
3602
  var n = SyntaxError(g[r.err.kind]);
3625
3603
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3626
3604
  }
3627
- return t?.captureLocation || et(r.val), r.val;
3605
+ return t?.captureLocation || Ke(r.val), r.val;
3628
3606
  }
3629
3607
  var ee;
3630
3608
  (function(e) {
@@ -3642,7 +3620,7 @@ var Be = (
3642
3620
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3643
3621
  }, t;
3644
3622
  }(Error)
3645
- ), Bt = (
3623
+ ), Tt = (
3646
3624
  /** @class */
3647
3625
  function(e) {
3648
3626
  U(t, e);
@@ -3651,7 +3629,7 @@ var Be = (
3651
3629
  }
3652
3630
  return t;
3653
3631
  }(Be)
3654
- ), mi = (
3632
+ ), li = (
3655
3633
  /** @class */
3656
3634
  function(e) {
3657
3635
  U(t, e);
@@ -3660,7 +3638,7 @@ var Be = (
3660
3638
  }
3661
3639
  return t;
3662
3640
  }(Be)
3663
- ), di = (
3641
+ ), ci = (
3664
3642
  /** @class */
3665
3643
  function(e) {
3666
3644
  U(t, e);
@@ -3673,17 +3651,17 @@ var Be = (
3673
3651
  (function(e) {
3674
3652
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3675
3653
  })(A || (A = {}));
3676
- function bi(e) {
3654
+ function fi(e) {
3677
3655
  return e.length < 2 ? e : e.reduce(function(t, r) {
3678
3656
  var n = t[t.length - 1];
3679
3657
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3680
3658
  }, []);
3681
3659
  }
3682
- function pi(e) {
3660
+ function mi(e) {
3683
3661
  return typeof e == "function";
3684
3662
  }
3685
3663
  function Ee(e, t, r, n, i, s, o) {
3686
- if (e.length === 1 && Et(e[0]))
3664
+ if (e.length === 1 && yt(e[0]))
3687
3665
  return [
3688
3666
  {
3689
3667
  type: A.literal,
@@ -3692,14 +3670,14 @@ function Ee(e, t, r, n, i, s, o) {
3692
3670
  ];
3693
3671
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3694
3672
  var l = u[h];
3695
- if (Et(l)) {
3673
+ if (yt(l)) {
3696
3674
  a.push({
3697
3675
  type: A.literal,
3698
3676
  value: l.value
3699
3677
  });
3700
3678
  continue;
3701
3679
  }
3702
- if (Un(l)) {
3680
+ if (Mn(l)) {
3703
3681
  typeof s == "number" && a.push({
3704
3682
  type: A.literal,
3705
3683
  value: r.getNumberFormat(t).format(s)
@@ -3708,43 +3686,43 @@ function Ee(e, t, r, n, i, s, o) {
3708
3686
  }
3709
3687
  var f = l.value;
3710
3688
  if (!(i && f in i))
3711
- throw new di(f, o);
3689
+ throw new ci(f, o);
3712
3690
  var c = i[f];
3713
- if (Gn(l)) {
3691
+ if (Cn(l)) {
3714
3692
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3715
3693
  type: typeof c == "string" ? A.literal : A.object,
3716
3694
  value: c
3717
3695
  });
3718
3696
  continue;
3719
3697
  }
3720
- if (tr(l)) {
3721
- var d = typeof l.style == "string" ? n.date[l.style] : Qe(l.style) ? l.style.parsedOptions : void 0;
3698
+ if (qt(l)) {
3699
+ var b = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
3722
3700
  a.push({
3723
3701
  type: A.literal,
3724
- value: r.getDateTimeFormat(t, d).format(c)
3702
+ value: r.getDateTimeFormat(t, b).format(c)
3725
3703
  });
3726
3704
  continue;
3727
3705
  }
3728
- if (rr(l)) {
3729
- var d = typeof l.style == "string" ? n.time[l.style] : Qe(l.style) ? l.style.parsedOptions : n.time.medium;
3706
+ if (Jt(l)) {
3707
+ var b = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
3730
3708
  a.push({
3731
3709
  type: A.literal,
3732
- value: r.getDateTimeFormat(t, d).format(c)
3710
+ value: r.getDateTimeFormat(t, b).format(c)
3733
3711
  });
3734
3712
  continue;
3735
3713
  }
3736
- if (er(l)) {
3737
- var d = typeof l.style == "string" ? n.number[l.style] : or(l.style) ? l.style.parsedOptions : void 0;
3738
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3714
+ if (Yt(l)) {
3715
+ var b = typeof l.style == "string" ? n.number[l.style] : rr(l.style) ? l.style.parsedOptions : void 0;
3716
+ b && b.scale && (c = c * (b.scale || 1)), a.push({
3739
3717
  type: A.literal,
3740
- value: r.getNumberFormat(t, d).format(c)
3718
+ value: r.getNumberFormat(t, b).format(c)
3741
3719
  });
3742
3720
  continue;
3743
3721
  }
3744
- if (sr(l)) {
3745
- var p = l.children, b = l.value, w = i[b];
3746
- if (!pi(w))
3747
- throw new mi(b, "function", o);
3722
+ if (tr(l)) {
3723
+ var p = l.children, d = l.value, w = i[d];
3724
+ if (!mi(w))
3725
+ throw new li(d, "function", o);
3748
3726
  var C = Ee(p, t, r, n, i, s), N = w(C.map(function(H) {
3749
3727
  return H.value;
3750
3728
  }));
@@ -3755,14 +3733,14 @@ function Ee(e, t, r, n, i, s, o) {
3755
3733
  };
3756
3734
  }));
3757
3735
  }
3758
- if (nr(l)) {
3736
+ if (Kt(l)) {
3759
3737
  var T = l.options[c] || l.options.other;
3760
3738
  if (!T)
3761
- throw new Bt(l.value, c, Object.keys(l.options), o);
3739
+ throw new Tt(l.value, c, Object.keys(l.options), o);
3762
3740
  a.push.apply(a, Ee(T.value, t, r, n, i));
3763
3741
  continue;
3764
3742
  }
3765
- if (ir(l)) {
3743
+ if (er(l)) {
3766
3744
  var T = l.options["=".concat(c)];
3767
3745
  if (!T) {
3768
3746
  if (!Intl.PluralRules)
@@ -3773,24 +3751,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3773
3751
  T = l.options[O] || l.options.other;
3774
3752
  }
3775
3753
  if (!T)
3776
- throw new Bt(l.value, c, Object.keys(l.options), o);
3754
+ throw new Tt(l.value, c, Object.keys(l.options), o);
3777
3755
  a.push.apply(a, Ee(T.value, t, r, n, i, c - (l.offset || 0)));
3778
3756
  continue;
3779
3757
  }
3780
3758
  }
3781
- return bi(a);
3759
+ return fi(a);
3782
3760
  }
3783
- function gi(e, t) {
3761
+ function bi(e, t) {
3784
3762
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3785
3763
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3786
3764
  }, {})) : e;
3787
3765
  }
3788
- function yi(e, t) {
3766
+ function di(e, t) {
3789
3767
  return t ? Object.keys(e).reduce(function(r, n) {
3790
- return r[n] = gi(e[n], t[n]), r;
3768
+ return r[n] = bi(e[n], t[n]), r;
3791
3769
  }, v({}, e)) : e;
3792
3770
  }
3793
- function De(e) {
3771
+ function Ue(e) {
3794
3772
  return {
3795
3773
  create: function() {
3796
3774
  return {
@@ -3804,39 +3782,39 @@ function De(e) {
3804
3782
  }
3805
3783
  };
3806
3784
  }
3807
- function vi(e) {
3785
+ function pi(e) {
3808
3786
  return e === void 0 && (e = {
3809
3787
  number: {},
3810
3788
  dateTime: {},
3811
3789
  pluralRules: {}
3812
3790
  }), {
3813
- getNumberFormat: Re(function() {
3791
+ getNumberFormat: Me(function() {
3814
3792
  for (var t, r = [], n = 0; n < arguments.length; n++)
3815
3793
  r[n] = arguments[n];
3816
3794
  return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3817
3795
  }, {
3818
- cache: De(e.number),
3819
- strategy: Ge.variadic
3796
+ cache: Ue(e.number),
3797
+ strategy: Re.variadic
3820
3798
  }),
3821
- getDateTimeFormat: Re(function() {
3799
+ getDateTimeFormat: Me(function() {
3822
3800
  for (var t, r = [], n = 0; n < arguments.length; n++)
3823
3801
  r[n] = arguments[n];
3824
3802
  return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3825
3803
  }, {
3826
- cache: De(e.dateTime),
3827
- strategy: Ge.variadic
3804
+ cache: Ue(e.dateTime),
3805
+ strategy: Re.variadic
3828
3806
  }),
3829
- getPluralRules: Re(function() {
3807
+ getPluralRules: Me(function() {
3830
3808
  for (var t, r = [], n = 0; n < arguments.length; n++)
3831
3809
  r[n] = arguments[n];
3832
3810
  return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3833
3811
  }, {
3834
- cache: De(e.pluralRules),
3835
- strategy: Ge.variadic
3812
+ cache: Ue(e.pluralRules),
3813
+ strategy: Re.variadic
3836
3814
  })
3837
3815
  };
3838
3816
  }
3839
- var _i = (
3817
+ var gi = (
3840
3818
  /** @class */
3841
3819
  function() {
3842
3820
  function e(t, r, n, i) {
@@ -3868,13 +3846,13 @@ var _i = (
3868
3846
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3869
3847
  var o = i || {};
3870
3848
  o.formatters;
3871
- var a = Jr(o, ["formatters"]);
3849
+ var a = Zr(o, ["formatters"]);
3872
3850
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3873
3851
  } else
3874
3852
  this.ast = t;
3875
3853
  if (!Array.isArray(this.ast))
3876
3854
  throw new TypeError("A message must be provided as a String or AST.");
3877
- this.formats = yi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
3855
+ this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3878
3856
  }
3879
3857
  return Object.defineProperty(e, "defaultLocale", {
3880
3858
  get: function() {
@@ -3887,7 +3865,7 @@ var _i = (
3887
3865
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3888
3866
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3889
3867
  }
3890
- }, e.__parse = fi, e.formats = {
3868
+ }, e.__parse = hi, e.formats = {
3891
3869
  number: {
3892
3870
  integer: {
3893
3871
  maximumFractionDigits: 0
@@ -3948,7 +3926,7 @@ var _i = (
3948
3926
  }, e;
3949
3927
  }()
3950
3928
  );
3951
- function Ei(e, t) {
3929
+ function yi(e, t) {
3952
3930
  if (t == null)
3953
3931
  return;
3954
3932
  if (t in e)
@@ -3969,92 +3947,92 @@ function Ei(e, t) {
3969
3947
  n = void 0;
3970
3948
  return n;
3971
3949
  }
3972
- const D = {}, xi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), dr = (e, t) => {
3950
+ const D = {}, vi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), lr = (e, t) => {
3973
3951
  if (t == null)
3974
3952
  return;
3975
3953
  if (t in D && e in D[t])
3976
3954
  return D[t][e];
3977
3955
  const r = Pe(t);
3978
3956
  for (let n = 0; n < r.length; n++) {
3979
- const i = r[n], s = wi(i, e);
3957
+ const i = r[n], s = Ei(i, e);
3980
3958
  if (s)
3981
- return xi(e, t, s);
3959
+ return vi(e, t, s);
3982
3960
  }
3983
3961
  };
3984
- let st;
3962
+ let rt;
3985
3963
  const me = Ae({});
3986
- function Si(e) {
3987
- return st[e] || null;
3964
+ function _i(e) {
3965
+ return rt[e] || null;
3988
3966
  }
3989
- function br(e) {
3990
- return e in st;
3967
+ function cr(e) {
3968
+ return e in rt;
3991
3969
  }
3992
- function wi(e, t) {
3993
- if (!br(e))
3970
+ function Ei(e, t) {
3971
+ if (!cr(e))
3994
3972
  return null;
3995
- const r = Si(e);
3996
- return Ei(r, t);
3973
+ const r = _i(e);
3974
+ return yi(r, t);
3997
3975
  }
3998
- function Ti(e) {
3976
+ function xi(e) {
3999
3977
  if (e == null)
4000
3978
  return;
4001
3979
  const t = Pe(e);
4002
3980
  for (let r = 0; r < t.length; r++) {
4003
3981
  const n = t[r];
4004
- if (br(n))
3982
+ if (cr(n))
4005
3983
  return n;
4006
3984
  }
4007
3985
  }
4008
- function pr(e, ...t) {
4009
- delete D[e], me.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
3986
+ function fr(e, ...t) {
3987
+ delete D[e], me.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
4010
3988
  }
4011
3989
  se(
4012
3990
  [me],
4013
3991
  ([e]) => Object.keys(e)
4014
3992
  );
4015
- me.subscribe((e) => st = e);
3993
+ me.subscribe((e) => rt = e);
4016
3994
  const xe = {};
4017
- function Hi(e, t) {
3995
+ function Si(e, t) {
4018
3996
  xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4019
3997
  }
4020
- function gr(e) {
3998
+ function mr(e) {
4021
3999
  return xe[e];
4022
4000
  }
4023
- function Ai(e) {
4001
+ function wi(e) {
4024
4002
  return Pe(e).map((t) => {
4025
- const r = gr(t);
4003
+ const r = mr(t);
4026
4004
  return [t, r ? [...r] : []];
4027
4005
  }).filter(([, t]) => t.length > 0);
4028
4006
  }
4029
- function tt(e) {
4007
+ function et(e) {
4030
4008
  return e == null ? !1 : Pe(e).some(
4031
4009
  (t) => {
4032
4010
  var r;
4033
- return (r = gr(t)) == null ? void 0 : r.size;
4011
+ return (r = mr(t)) == null ? void 0 : r.size;
4034
4012
  }
4035
4013
  );
4036
4014
  }
4037
- function Bi(e, t) {
4015
+ function Ti(e, t) {
4038
4016
  return Promise.all(
4039
- t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
4040
- ).then((n) => pr(e, ...n));
4017
+ t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4018
+ ).then((n) => fr(e, ...n));
4041
4019
  }
4042
4020
  const ae = {};
4043
- function yr(e) {
4044
- if (!tt(e))
4021
+ function br(e) {
4022
+ if (!et(e))
4045
4023
  return e in ae ? ae[e] : Promise.resolve();
4046
- const t = Ai(e);
4024
+ const t = wi(e);
4047
4025
  return ae[e] = Promise.all(
4048
4026
  t.map(
4049
- ([r, n]) => Bi(r, n)
4027
+ ([r, n]) => Ti(r, n)
4050
4028
  )
4051
4029
  ).then(() => {
4052
- if (tt(e))
4053
- return yr(e);
4030
+ if (et(e))
4031
+ return br(e);
4054
4032
  delete ae[e];
4055
4033
  }), ae[e];
4056
4034
  }
4057
- const Pi = {
4035
+ const Hi = {
4058
4036
  number: {
4059
4037
  scientific: { notation: "scientific" },
4060
4038
  engineering: { notation: "engineering" },
@@ -4083,57 +4061,57 @@ const Pi = {
4083
4061
  timeZoneName: "short"
4084
4062
  }
4085
4063
  }
4086
- }, Ni = {
4064
+ }, Ai = {
4087
4065
  fallbackLocale: null,
4088
4066
  loadingDelay: 200,
4089
- formats: Pi,
4067
+ formats: Hi,
4090
4068
  warnOnMissingMessages: !0,
4091
4069
  handleMissingMessage: void 0,
4092
4070
  ignoreTag: !0
4093
- }, Oi = Ni;
4071
+ }, Bi = Ai;
4094
4072
  function te() {
4095
- return Oi;
4073
+ return Bi;
4096
4074
  }
4097
- const Fe = Ae(!1);
4098
- var Li = Object.defineProperty, Ii = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
4075
+ const De = Ae(!1);
4076
+ var Pi = Object.defineProperty, Ni = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
4099
4077
  for (var r in t || (t = {}))
4100
- Mi.call(t, r) && Nt(e, r, t[r]);
4101
- if (Pt)
4102
- for (var r of Pt(t))
4103
- Ri.call(t, r) && Nt(e, r, t[r]);
4078
+ Li.call(t, r) && At(e, r, t[r]);
4079
+ if (Ht)
4080
+ for (var r of Ht(t))
4081
+ Ii.call(t, r) && At(e, r, t[r]);
4104
4082
  return e;
4105
- }, Ui = (e, t) => Ii(e, Ci(t));
4106
- let rt;
4083
+ }, Mi = (e, t) => Ni(e, Oi(t));
4084
+ let tt;
4107
4085
  const Se = Ae(null);
4108
- function Ot(e) {
4086
+ function Bt(e) {
4109
4087
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4110
4088
  }
4111
4089
  function Pe(e, t = te().fallbackLocale) {
4112
- const r = Ot(e);
4113
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4090
+ const r = Bt(e);
4091
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4114
4092
  }
4115
4093
  function V() {
4116
- return rt ?? void 0;
4094
+ return tt ?? void 0;
4117
4095
  }
4118
4096
  Se.subscribe((e) => {
4119
- rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4097
+ tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4120
4098
  });
4121
- const Di = (e) => {
4122
- if (e && Ti(e) && tt(e)) {
4099
+ const Ri = (e) => {
4100
+ if (e && xi(e) && et(e)) {
4123
4101
  const { loadingDelay: t } = te();
4124
4102
  let r;
4125
4103
  return typeof window < "u" && V() != null && t ? r = window.setTimeout(
4126
- () => Fe.set(!0),
4104
+ () => De.set(!0),
4127
4105
  t
4128
- ) : Fe.set(!0), yr(e).then(() => {
4106
+ ) : De.set(!0), br(e).then(() => {
4129
4107
  Se.set(e);
4130
4108
  }).finally(() => {
4131
- clearTimeout(r), Fe.set(!1);
4109
+ clearTimeout(r), De.set(!1);
4132
4110
  });
4133
4111
  }
4134
4112
  return Se.set(e);
4135
- }, de = Ui(Gi({}, Se), {
4136
- set: Di
4113
+ }, be = Mi(Ci({}, Se), {
4114
+ set: Ri
4137
4115
  }), Ne = (e) => {
4138
4116
  const t = /* @__PURE__ */ Object.create(null);
4139
4117
  return (n) => {
@@ -4141,20 +4119,20 @@ const Di = (e) => {
4141
4119
  return i in t ? t[i] : t[i] = e(n);
4142
4120
  };
4143
4121
  };
4144
- var Fi = Object.defineProperty, we = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4122
+ var Gi = Object.defineProperty, we = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4145
4123
  for (var r in t || (t = {}))
4146
- vr.call(t, r) && Lt(e, r, t[r]);
4124
+ dr.call(t, r) && Pt(e, r, t[r]);
4147
4125
  if (we)
4148
4126
  for (var r of we(t))
4149
- _r.call(t, r) && Lt(e, r, t[r]);
4127
+ pr.call(t, r) && Pt(e, r, t[r]);
4150
4128
  return e;
4151
4129
  }, oe = (e, t) => {
4152
4130
  var r = {};
4153
4131
  for (var n in e)
4154
- vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4132
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4155
4133
  if (e != null && we)
4156
4134
  for (var n of we(e))
4157
- t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4135
+ t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
4158
4136
  return r;
4159
4137
  };
4160
4138
  const ce = (e, t) => {
@@ -4162,21 +4140,21 @@ const ce = (e, t) => {
4162
4140
  if (e in r && t in r[e])
4163
4141
  return r[e][t];
4164
4142
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4165
- }, $i = Ne(
4143
+ }, Ui = Ne(
4166
4144
  (e) => {
4167
4145
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4168
4146
  if (r == null)
4169
4147
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4170
4148
  return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4171
4149
  }
4172
- ), ji = Ne(
4150
+ ), Di = Ne(
4173
4151
  (e) => {
4174
4152
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4175
4153
  if (r == null)
4176
4154
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4177
4155
  return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4178
4156
  }
4179
- ), ki = Ne(
4157
+ ), Fi = Ne(
4180
4158
  (e) => {
4181
4159
  var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4182
4160
  if (r == null)
@@ -4185,33 +4163,33 @@ const ce = (e, t) => {
4185
4163
  );
4186
4164
  return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4187
4165
  }
4188
- ), Vi = (e = {}) => {
4166
+ ), $i = (e = {}) => {
4189
4167
  var t = e, {
4190
4168
  locale: r = V()
4191
4169
  } = t, n = oe(t, [
4192
4170
  "locale"
4193
4171
  ]);
4194
- return $i(ot({ locale: r }, n));
4195
- }, Xi = (e = {}) => {
4172
+ return Ui(nt({ locale: r }, n));
4173
+ }, ji = (e = {}) => {
4196
4174
  var t = e, {
4197
4175
  locale: r = V()
4198
4176
  } = t, n = oe(t, [
4199
4177
  "locale"
4200
4178
  ]);
4201
- return ji(ot({ locale: r }, n));
4202
- }, Wi = (e = {}) => {
4179
+ return Di(nt({ locale: r }, n));
4180
+ }, ki = (e = {}) => {
4203
4181
  var t = e, {
4204
4182
  locale: r = V()
4205
4183
  } = t, n = oe(t, [
4206
4184
  "locale"
4207
4185
  ]);
4208
- return ki(ot({ locale: r }, n));
4209
- }, zi = Ne(
4186
+ return Fi(nt({ locale: r }, n));
4187
+ }, Vi = Ne(
4210
4188
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4211
- (e, t = V()) => new _i(e, t, te().formats, {
4189
+ (e, t = V()) => new gi(e, t, te().formats, {
4212
4190
  ignoreTag: te().ignoreTag
4213
4191
  })
4214
- ), Zi = (e, t = {}) => {
4192
+ ), Xi = (e, t = {}) => {
4215
4193
  var r, n, i, s;
4216
4194
  let o = t;
4217
4195
  typeof e == "object" && (o = e, e = o.id);
@@ -4224,7 +4202,7 @@ const ce = (e, t) => {
4224
4202
  throw new Error(
4225
4203
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4226
4204
  );
4227
- let l = dr(e, h);
4205
+ let l = lr(e, h);
4228
4206
  if (!l)
4229
4207
  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;
4230
4208
  else if (typeof l != "string")
@@ -4235,7 +4213,7 @@ const ce = (e, t) => {
4235
4213
  return l;
4236
4214
  let f = l;
4237
4215
  try {
4238
- f = zi(l, h).format(a);
4216
+ f = Vi(l, h).format(a);
4239
4217
  } catch (c) {
4240
4218
  c instanceof Error && console.warn(
4241
4219
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4243,17 +4221,17 @@ const ce = (e, t) => {
4243
4221
  );
4244
4222
  }
4245
4223
  return f;
4246
- }, Qi = (e, t) => Wi(t).format(e), Yi = (e, t) => Xi(t).format(e), qi = (e, t) => Vi(t).format(e), Ji = (e, t = V()) => dr(e, t), Ki = se([de, me], () => Zi);
4247
- se([de], () => Qi);
4248
- se([de], () => Yi);
4249
- se([de], () => qi);
4250
- se([de, me], () => Ji);
4251
- window.emWidgets = { topic: mn };
4252
- const es = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4253
- function It(e, t) {
4254
- pr(e, t);
4255
- }
4256
- const Ct = {
4224
+ }, Wi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => $i(t).format(e), Qi = (e, t = V()) => lr(e, t), Yi = se([be, me], () => Xi);
4225
+ se([be], () => Wi);
4226
+ se([be], () => zi);
4227
+ se([be], () => Zi);
4228
+ se([be, me], () => Qi);
4229
+ window.emWidgets = { topic: hn };
4230
+ const qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4231
+ function Nt(e, t) {
4232
+ fr(e, t);
4233
+ }
4234
+ const Ot = {
4257
4235
  en: {
4258
4236
  lobbyName: "Lobby",
4259
4237
  myGamesName: "My games"
@@ -4327,13 +4305,13 @@ const Ct = {
4327
4305
  myGamesName: "My games"
4328
4306
  }
4329
4307
  };
4330
- function ts(e, t) {
4308
+ function Ji(e, t) {
4331
4309
  if (e) {
4332
4310
  const r = document.createElement("style");
4333
4311
  r.innerHTML = t, e.appendChild(r);
4334
4312
  }
4335
4313
  }
4336
- function rs(e, t) {
4314
+ function Ki(e, t) {
4337
4315
  const r = new URL(t);
4338
4316
  fetch(r.href).then((n) => n.text()).then((n) => {
4339
4317
  const i = document.createElement("style");
@@ -4342,7 +4320,7 @@ function rs(e, t) {
4342
4320
  console.error("There was an error while trying to load client styling from URL", n);
4343
4321
  });
4344
4322
  }
4345
- function ns(e, t, r) {
4323
+ function es(e, t, r) {
4346
4324
  if (window.emMessageBus) {
4347
4325
  const n = document.createElement("style");
4348
4326
  window.emMessageBus.subscribe(t, (i) => {
@@ -4362,14 +4340,14 @@ if (typeof window < "u") {
4362
4340
  }
4363
4341
  };
4364
4342
  };
4365
- customElements.define = e(customElements.define), import("./CasinoSliderNd-Bogm7697.js").then(({ default: t }) => {
4343
+ customElements.define = e(customElements.define), import("./CasinoSliderNd-LQhVieoX.js").then(({ default: t }) => {
4366
4344
  !customElements.get("casino-slider-nd") && customElements.define("casino-slider-nd", t.element);
4367
4345
  });
4368
4346
  }
4369
- function is(e) {
4370
- Cr(e, "svelte-4b6cjp", ".svelte-4b6cjp{font-family:inherit}.CasinoCategoriesLoading.svelte-4b6cjp{height:52px}p.svelte-4b6cjp{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-4b6cjp{background:transparent;border-radius:var(--emw--border-radius-medium, 20px)}");
4347
+ function ts(e) {
4348
+ Nr(e, "svelte-4b6cjp", ".svelte-4b6cjp{font-family:inherit}.CasinoCategoriesLoading.svelte-4b6cjp{height:52px}p.svelte-4b6cjp{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-4b6cjp{background:transparent;border-radius:var(--emw--border-radius-medium, 20px)}");
4371
4349
  }
4372
- function ss(e) {
4350
+ function rs(e) {
4373
4351
  let t, r, n, i;
4374
4352
  return {
4375
4353
  c() {
@@ -4388,7 +4366,7 @@ function ss(e) {
4388
4366
  "endpoint",
4389
4367
  /*endpoint*/
4390
4368
  e[1]
4391
- ), _(r, "identity", Er), _(
4369
+ ), _(r, "identity", gr), _(
4392
4370
  r,
4393
4371
  "favoritesnumber",
4394
4372
  /*numberOfFavoredGames*/
@@ -4446,7 +4424,7 @@ function ss(e) {
4446
4424
  ), _(r, "class", "svelte-4b6cjp"), ie(t, "class", "CasinoCategoriesContainer svelte-4b6cjp");
4447
4425
  },
4448
4426
  m(s, o) {
4449
- fe(s, t, o), Ut(t, r), n || (i = Ir(
4427
+ fe(s, t, o), Mt(t, r), n || (i = Pr(
4450
4428
  /*sendSliderData*/
4451
4429
  e[17].call(null, r)
4452
4430
  ), n = !0);
@@ -4543,7 +4521,7 @@ function ss(e) {
4543
4521
  }
4544
4522
  };
4545
4523
  }
4546
- function os(e) {
4524
+ function ns(e) {
4547
4525
  let t;
4548
4526
  return {
4549
4527
  c() {
@@ -4558,7 +4536,7 @@ function os(e) {
4558
4536
  }
4559
4537
  };
4560
4538
  }
4561
- function as(e) {
4539
+ function is(e) {
4562
4540
  let t;
4563
4541
  return {
4564
4542
  c() {
@@ -4573,14 +4551,14 @@ function as(e) {
4573
4551
  }
4574
4552
  };
4575
4553
  }
4576
- function us(e) {
4554
+ function ss(e) {
4577
4555
  let t;
4578
4556
  function r(s, o) {
4579
4557
  return (
4580
4558
  /*isLoading*/
4581
- s[13] || hs || ls ? as : (
4559
+ s[13] || os || as ? is : (
4582
4560
  /*hasErrors*/
4583
- s[15] ? os : ss
4561
+ s[15] ? ns : rs
4584
4562
  )
4585
4563
  );
4586
4564
  }
@@ -4602,44 +4580,44 @@ function us(e) {
4602
4580
  }
4603
4581
  };
4604
4582
  }
4605
- let Er = "CasinoSliderData", hs = !1, ls = !1;
4606
- function cs(e, t, r) {
4583
+ let gr = "CasinoSliderData", os = !1, as = !1;
4584
+ function us(e, t, r) {
4607
4585
  let n;
4608
- Lr(e, Ki, (m) => r(33, n = m));
4609
- let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: f = "" } = t, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: w = "" } = t, { sessioncheck: C = "" } = t, { location: N = "secondaryMenu" } = t, { showsubgroups: T = "false" } = t, { filteredcategories: O = "" } = t, { translationurl: H = "" } = t, { categoriesicon: M = "" } = t, { lobbyiconimage: E = "" } = t, { mygamesiconimage: L = "" } = t, I, F, $ = !0, X, W = [], j = !1, xr = window.navigator.userAgent, R, at, ut = !1, Oe = !1;
4610
- const Sr = () => {
4586
+ Br(e, Yi, (m) => r(33, n = m));
4587
+ let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: f = "" } = t, { mbsource: c } = t, { clientstyling: b = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: d = "" } = t, { actionevent: w = "" } = t, { sessioncheck: C = "" } = t, { location: N = "secondaryMenu" } = t, { showsubgroups: T = "false" } = t, { filteredcategories: O = "" } = t, { translationurl: H = "" } = t, { categoriesicon: M = "" } = t, { lobbyiconimage: E = "" } = t, { mygamesiconimage: L = "" } = t, I, F, $ = !0, X, W = [], j = !1, yr = window.navigator.userAgent, R, it, st = !1, Oe = !1;
4588
+ const vr = () => {
4611
4589
  fetch(H).then((B) => B.json()).then((B) => {
4612
- Object.keys(B).forEach((be) => {
4613
- It(be, B[be]);
4590
+ Object.keys(B).forEach((de) => {
4591
+ Nt(de, B[de]);
4614
4592
  });
4615
4593
  }).catch((B) => {
4616
4594
  console.log(B);
4617
4595
  });
4618
4596
  };
4619
- Object.keys(Ct).forEach((m) => {
4620
- It(m, Ct[m]);
4597
+ Object.keys(Ot).forEach((m) => {
4598
+ Nt(m, Ot[m]);
4621
4599
  });
4622
- const wr = () => {
4623
- ut == !1 && (f == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4600
+ const _r = () => {
4601
+ st == !1 && (f == "true" || u == "true" || l == "true") && W.splice(1, 0, {
4624
4602
  // @ts-ignore
4625
4603
  id: "MYGAMES",
4626
4604
  name: I,
4627
4605
  href: "",
4628
4606
  games: []
4629
- }), $r(), ut = !0, r(26, Oe = !0), ht();
4630
- }, Tr = () => (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), Hr = () => {
4631
- if (I = n("myGamesName"), F = n("lobbyName"), !Tr()) {
4607
+ }), Gr(), st = !0, r(26, Oe = !0), ot();
4608
+ }, Er = () => (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), xr = () => {
4609
+ if (I = n("myGamesName"), F = n("lobbyName"), !Er()) {
4632
4610
  let m = new URL(`${i}/v1/casino/groups/${s}`);
4633
- m.searchParams.append("datasource", s), m.searchParams.append("language", o), m.searchParams.append("platform", es(xr)), fetch(m).then((B) => B.json()).then(
4611
+ m.searchParams.append("datasource", s), m.searchParams.append("language", o), m.searchParams.append("platform", qi(yr)), fetch(m).then((B) => B.json()).then(
4634
4612
  (B) => {
4635
- let be = O.split(","), Pr = B.items.filter((lt) => {
4613
+ let de = O.split(","), Tr = B.items.filter((at) => {
4636
4614
  let Le = !1;
4637
- if (lt.games.total > 0 && (Le = !0, O))
4638
- for (let Nr of be)
4639
- lt.flags == Nr && (Le = !1);
4615
+ if (at.games.total > 0 && (Le = !0, O))
4616
+ for (let Hr of de)
4617
+ at.flags == Hr && (Le = !1);
4640
4618
  return Le;
4641
4619
  });
4642
- W = [], W = W.concat(Pr), W.unshift({
4620
+ W = [], W = W.concat(Tr), W.unshift({
4643
4621
  // @ts-ignore
4644
4622
  id: "LOBBY",
4645
4623
  name: F,
@@ -4654,44 +4632,44 @@ function cs(e, t, r) {
4654
4632
  r(15, j = !0), console.error("There was an error while fetching the categories", B);
4655
4633
  });
4656
4634
  }
4657
- }, Ar = () => {
4658
- let m = b.split("$");
4659
- r(0, b = m.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
4660
- }, ht = () => {
4635
+ }, Sr = () => {
4636
+ let m = d.split("$");
4637
+ r(0, d = m.length > 2 ? d.split("$").slice(0, 2).join("$") : d);
4638
+ }, ot = () => {
4661
4639
  window.postMessage(
4662
4640
  {
4663
4641
  type: "SliderData",
4664
- identity: Er,
4642
+ identity: gr,
4665
4643
  data: W
4666
4644
  },
4667
4645
  window.location.href
4668
4646
  );
4669
4647
  };
4670
- Fr(() => () => {
4648
+ Rr(() => () => {
4671
4649
  });
4672
- function Br(m) {
4673
- $e[m ? "unshift" : "push"](() => {
4650
+ function wr(m) {
4651
+ Fe[m ? "unshift" : "push"](() => {
4674
4652
  R = m, r(14, R);
4675
4653
  });
4676
4654
  }
4677
4655
  return e.$$set = (m) => {
4678
- "endpoint" in m && r(1, i = m.endpoint), "datasource" in m && r(2, s = m.datasource), "lang" in m && r(3, o = m.lang), "userid" in m && r(18, a = m.userid), "session" in m && r(19, h = m.session), "mostplayed" in m && r(20, u = m.mostplayed), "lastplayed" in m && r(21, l = m.lastplayed), "favorites" in m && r(22, f = m.favorites), "mbsource" in m && r(4, c = m.mbsource), "clientstyling" in m && r(5, d = m.clientstyling), "clientstylingurl" in m && r(6, p = m.clientstylingurl), "activecategory" in m && r(0, b = m.activecategory), "actionevent" in m && r(7, w = m.actionevent), "sessioncheck" in m && r(23, C = m.sessioncheck), "location" in m && r(8, N = m.location), "showsubgroups" in m && r(9, T = m.showsubgroups), "filteredcategories" in m && r(24, O = m.filteredcategories), "translationurl" in m && r(25, H = m.translationurl), "categoriesicon" in m && r(10, M = m.categoriesicon), "lobbyiconimage" in m && r(11, E = m.lobbyiconimage), "mygamesiconimage" in m && r(12, L = m.mygamesiconimage);
4656
+ "endpoint" in m && r(1, i = m.endpoint), "datasource" in m && r(2, s = m.datasource), "lang" in m && r(3, o = m.lang), "userid" in m && r(18, a = m.userid), "session" in m && r(19, h = m.session), "mostplayed" in m && r(20, u = m.mostplayed), "lastplayed" in m && r(21, l = m.lastplayed), "favorites" in m && r(22, f = m.favorites), "mbsource" in m && r(4, c = m.mbsource), "clientstyling" in m && r(5, b = m.clientstyling), "clientstylingurl" in m && r(6, p = m.clientstylingurl), "activecategory" in m && r(0, d = m.activecategory), "actionevent" in m && r(7, w = m.actionevent), "sessioncheck" in m && r(23, C = m.sessioncheck), "location" in m && r(8, N = m.location), "showsubgroups" in m && r(9, T = m.showsubgroups), "filteredcategories" in m && r(24, O = m.filteredcategories), "translationurl" in m && r(25, H = m.translationurl), "categoriesicon" in m && r(10, M = m.categoriesicon), "lobbyiconimage" in m && r(11, E = m.lobbyiconimage), "mygamesiconimage" in m && r(12, L = m.mygamesiconimage);
4679
4657
  }, e.$$.update = () => {
4680
4658
  e.$$.dirty[0] & /*endpoint, datasource, lang*/
4681
- 14 && i && s && o && Hr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4682
- 7872514 && i && h && (u || l || f) && !$ && wr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4683
- 67641345 && !$ && b && (!h || Oe) && Ar(), e.$$.dirty[0] & /*translationurl*/
4684
- 33554432 && H && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4685
- 16416 && d && R && ts(R, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4686
- 16448 && p && R && rs(R, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4687
- 16400 && c && R && ns(R, `${c}.Style`);
4688
- }, r(16, at = 0), [
4689
- b,
4659
+ 14 && i && s && o && xr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
4660
+ 7872514 && i && h && (u || l || f) && !$ && _r(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
4661
+ 67641345 && !$ && d && (!h || Oe) && Sr(), e.$$.dirty[0] & /*translationurl*/
4662
+ 33554432 && H && vr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4663
+ 16416 && b && R && Ji(R, b), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4664
+ 16448 && p && R && Ki(R, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4665
+ 16400 && c && R && es(R, `${c}.Style`);
4666
+ }, r(16, it = 0), [
4667
+ d,
4690
4668
  i,
4691
4669
  s,
4692
4670
  o,
4693
4671
  c,
4694
- d,
4672
+ b,
4695
4673
  p,
4696
4674
  w,
4697
4675
  N,
@@ -4702,8 +4680,8 @@ function cs(e, t, r) {
4702
4680
  $,
4703
4681
  R,
4704
4682
  j,
4705
- at,
4706
- ht,
4683
+ it,
4684
+ ot,
4707
4685
  a,
4708
4686
  h,
4709
4687
  u,
@@ -4713,17 +4691,17 @@ function cs(e, t, r) {
4713
4691
  O,
4714
4692
  H,
4715
4693
  Oe,
4716
- Br
4694
+ wr
4717
4695
  ];
4718
4696
  }
4719
- class fs extends Yr {
4697
+ class hs extends Wr {
4720
4698
  constructor(t) {
4721
- super(), Zr(
4699
+ super(), Vr(
4722
4700
  this,
4723
4701
  t,
4724
- cs,
4725
4702
  us,
4726
- Rt,
4703
+ ss,
4704
+ It,
4727
4705
  {
4728
4706
  endpoint: 1,
4729
4707
  datasource: 2,
@@ -4747,7 +4725,7 @@ class fs extends Yr {
4747
4725
  lobbyiconimage: 11,
4748
4726
  mygamesiconimage: 12
4749
4727
  },
4750
- is,
4728
+ ts,
4751
4729
  [-1, -1]
4752
4730
  );
4753
4731
  }
@@ -4878,40 +4856,40 @@ class fs extends Yr {
4878
4856
  this.$$set({ mygamesiconimage: t }), S();
4879
4857
  }
4880
4858
  }
4881
- Qr(fs, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
4859
+ Xr(hs, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
4882
4860
  export {
4883
- de as $,
4884
- ds as A,
4885
- Dt as B,
4886
- vs as C,
4887
- bs as D,
4888
- ms as E,
4889
- fs as F,
4890
- Yr as S,
4861
+ be as $,
4862
+ fs as A,
4863
+ ls as B,
4864
+ Ji as C,
4865
+ Ki as D,
4866
+ es as E,
4867
+ hs as F,
4868
+ Wr as S,
4891
4869
  me as a,
4892
- pr as b,
4893
- Qr as c,
4894
- Cr as d,
4895
- k as e,
4870
+ fr as b,
4871
+ Xr as c,
4872
+ Nr as d,
4873
+ ne as e,
4896
4874
  S as f,
4897
- ps as g,
4898
- ie as h,
4899
- Zr as i,
4900
- fe as j,
4901
- Ut as k,
4902
- ys as l,
4903
- ne as m,
4875
+ ie as g,
4876
+ fe as h,
4877
+ Vr as i,
4878
+ Mt as j,
4879
+ k,
4880
+ ds as l,
4881
+ ms as m,
4904
4882
  P as n,
4905
- es as o,
4906
- Fr as p,
4907
- rs as q,
4883
+ qi as o,
4884
+ Rr as p,
4885
+ gs as q,
4908
4886
  re as r,
4909
- Rt as s,
4910
- ns as t,
4911
- _s as u,
4912
- gs as v,
4913
- xs as w,
4914
- $e as x,
4915
- ts as y,
4916
- Es as z
4887
+ It as s,
4888
+ bs as t,
4889
+ vs as u,
4890
+ Fe as v,
4891
+ ps as w,
4892
+ Rt as x,
4893
+ cs as y,
4894
+ ys as z
4917
4895
  };