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