@everymatrix/casino-tournaments-thumbnail-games 0.2.1 → 0.2.4

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/{CasinoTournamentsThumbnailGames-BoNXtTGv.js → CasinoTournamentsThumbnailGames-6Z4opXQ_.js} +775 -754
  2. package/components/{CasinoTournamentsThumbnailGames-5E9pnyA4.js → CasinoTournamentsThumbnailGames-AWAhNdqG.js} +751 -730
  3. package/components/CasinoTournamentsThumbnailGames-ChN1OI2H.cjs +18 -0
  4. package/es2015/casino-tournaments-thumbnail-games.cjs +1 -1
  5. package/es2015/casino-tournaments-thumbnail-games.js +1 -1
  6. package/esnext/casino-tournaments-thumbnail-games.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  9. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  10. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  11. package/stencil/{ui-image-BMiZteNE.cjs → ui-image-BaHsVAxH.cjs} +1 -1
  12. package/stencil/{ui-image-CX3MBBZL.js → ui-image-C7s6Uvn5.js} +1 -1
  13. package/stencil/{ui-image-BW8AeEVd.js → ui-image-CHeV8e9p.js} +1 -1
  14. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  15. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  16. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  17. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-Bm97-wkj.js} +2 -2
  18. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  19. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-qO3reSlr.js} +2 -2
  20. package/components/CasinoTournamentsThumbnailGames-f1oC-a5z.cjs +0 -18
  21. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  22. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  23. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -1,51 +1,51 @@
1
- import "../stencil/ui-image-BW8AeEVd.js";
2
- function N() {
1
+ import "../stencil/ui-image-CHeV8e9p.js";
2
+ function I() {
3
3
  }
4
- function Ot(e) {
4
+ function It(e) {
5
5
  return e();
6
6
  }
7
- function et() {
7
+ function rt() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function ae(e) {
11
- e.forEach(Ot);
10
+ function se(e) {
11
+ e.forEach(It);
12
12
  }
13
- function ye(e) {
13
+ function _e(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function It(e, t) {
16
+ function Lt(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
19
  let ue;
20
- function tt(e, t) {
20
+ function nt(e, t) {
21
21
  return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
22
22
  }
23
- function fr(e) {
23
+ function pr(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
- function Nt(e, ...t) {
26
+ function Ct(e, ...t) {
27
27
  if (e == null) {
28
28
  for (const n of t)
29
29
  n(void 0);
30
- return N;
30
+ return I;
31
31
  }
32
32
  const r = e.subscribe(...t);
33
33
  return r.unsubscribe ? () => r.unsubscribe() : r;
34
34
  }
35
- function pr(e, t, r) {
36
- e.$$.on_destroy.push(Nt(t, r));
35
+ function mr(e, t, r) {
36
+ e.$$.on_destroy.push(Ct(t, r));
37
37
  }
38
- function B(e, t) {
38
+ function A(e, t) {
39
39
  e.appendChild(t);
40
40
  }
41
- function mr(e, t, r) {
42
- const n = dr(e);
41
+ function dr(e, t, r) {
42
+ const n = br(e);
43
43
  if (!n.getElementById(t)) {
44
44
  const i = P("style");
45
- i.id = t, i.textContent = r, br(n, i);
45
+ i.id = t, i.textContent = r, gr(n, i);
46
46
  }
47
47
  }
48
- function dr(e) {
48
+ function br(e) {
49
49
  if (!e)
50
50
  return document;
51
51
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -55,8 +55,8 @@ function dr(e) {
55
55
  t
56
56
  ) : e.ownerDocument;
57
57
  }
58
- function br(e, t) {
59
- return B(
58
+ function gr(e, t) {
59
+ return A(
60
60
  /** @type {Document} */
61
61
  e.head || e,
62
62
  t
@@ -68,21 +68,21 @@ function D(e, t, r) {
68
68
  function G(e) {
69
69
  e.parentNode && e.parentNode.removeChild(e);
70
70
  }
71
- function Lt(e, t) {
71
+ function Mt(e, t) {
72
72
  for (let r = 0; r < e.length; r += 1)
73
73
  e[r] && e[r].d(t);
74
74
  }
75
75
  function P(e) {
76
76
  return document.createElement(e);
77
77
  }
78
- function z(e) {
78
+ function W(e) {
79
79
  return document.createTextNode(e);
80
80
  }
81
- function ne() {
82
- return z(" ");
81
+ function re() {
82
+ return W(" ");
83
83
  }
84
- function gr() {
85
- return z("");
84
+ function yr() {
85
+ return W("");
86
86
  }
87
87
  function vr(e, t, r, n) {
88
88
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -94,14 +94,14 @@ function w(e, t, r) {
94
94
  const n = t.toLowerCase();
95
95
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
96
96
  }
97
- function yr(e) {
97
+ function _r(e) {
98
98
  return Array.from(e.childNodes);
99
99
  }
100
100
  function de(e, t) {
101
101
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
102
102
  t);
103
103
  }
104
- function _r(e) {
104
+ function Er(e) {
105
105
  const t = {};
106
106
  return e.childNodes.forEach(
107
107
  /** @param {Element} node */
@@ -110,98 +110,98 @@ function _r(e) {
110
110
  }
111
111
  ), t;
112
112
  }
113
- let ie;
114
- function re(e) {
115
- ie = e;
113
+ let ne;
114
+ function te(e) {
115
+ ne = e;
116
116
  }
117
- function Er() {
118
- if (!ie)
117
+ function xr() {
118
+ if (!ne)
119
119
  throw new Error("Function called outside component initialization");
120
- return ie;
120
+ return ne;
121
121
  }
122
- function xr(e) {
123
- Er().$$.on_mount.push(e);
122
+ function Sr(e) {
123
+ xr().$$.on_mount.push(e);
124
124
  }
125
- const V = [], Le = [];
125
+ const V = [], Me = [];
126
126
  let X = [];
127
- const rt = [], Tr = /* @__PURE__ */ Promise.resolve();
128
- let Ce = !1;
129
- function Sr() {
130
- Ce || (Ce = !0, Tr.then(U));
127
+ const it = [], Tr = /* @__PURE__ */ Promise.resolve();
128
+ let $e = !1;
129
+ function wr() {
130
+ $e || ($e = !0, Tr.then(U));
131
131
  }
132
- function Me(e) {
132
+ function Re(e) {
133
133
  X.push(e);
134
134
  }
135
- const we = /* @__PURE__ */ new Set();
135
+ const Ae = /* @__PURE__ */ new Set();
136
136
  let j = 0;
137
137
  function U() {
138
138
  if (j !== 0)
139
139
  return;
140
- const e = ie;
140
+ const e = ne;
141
141
  do {
142
142
  try {
143
143
  for (; j < V.length; ) {
144
144
  const t = V[j];
145
- j++, re(t), wr(t.$$);
145
+ j++, te(t), Hr(t.$$);
146
146
  }
147
147
  } catch (t) {
148
148
  throw V.length = 0, j = 0, t;
149
149
  }
150
- for (re(null), V.length = 0, j = 0; Le.length; )
151
- Le.pop()();
150
+ for (te(null), V.length = 0, j = 0; Me.length; )
151
+ Me.pop()();
152
152
  for (let t = 0; t < X.length; t += 1) {
153
153
  const r = X[t];
154
- we.has(r) || (we.add(r), r());
154
+ Ae.has(r) || (Ae.add(r), r());
155
155
  }
156
156
  X.length = 0;
157
157
  } while (V.length);
158
- for (; rt.length; )
159
- rt.pop()();
160
- Ce = !1, we.clear(), re(e);
158
+ for (; it.length; )
159
+ it.pop()();
160
+ $e = !1, Ae.clear(), te(e);
161
161
  }
162
- function wr(e) {
162
+ function Hr(e) {
163
163
  if (e.fragment !== null) {
164
- e.update(), ae(e.before_update);
164
+ e.update(), se(e.before_update);
165
165
  const t = e.dirty;
166
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
166
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
167
167
  }
168
168
  }
169
- function Hr(e) {
169
+ function Ar(e) {
170
170
  const t = [], r = [];
171
171
  X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
172
172
  }
173
173
  const Br = /* @__PURE__ */ new Set();
174
- function Ar(e, t) {
174
+ function Pr(e, t) {
175
175
  e && e.i && (Br.delete(e), e.i(t));
176
176
  }
177
177
  function be(e) {
178
178
  return e?.length !== void 0 ? e : Array.from(e);
179
179
  }
180
- function Pr(e, t, r) {
180
+ function Or(e, t, r) {
181
181
  const { fragment: n, after_update: i } = e.$$;
182
- n && n.m(t, r), Me(() => {
183
- const o = e.$$.on_mount.map(Ot).filter(ye);
184
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
185
- }), i.forEach(Me);
182
+ n && n.m(t, r), Re(() => {
183
+ const o = e.$$.on_mount.map(It).filter(_e);
184
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
185
+ }), i.forEach(Re);
186
186
  }
187
- function Or(e, t) {
187
+ function Nr(e, t) {
188
188
  const r = e.$$;
189
- r.fragment !== null && (Hr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
189
+ r.fragment !== null && (Ar(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
190
190
  }
191
191
  function Ir(e, t) {
192
- e.$$.dirty[0] === -1 && (V.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
192
+ e.$$.dirty[0] === -1 && (V.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
193
  }
194
- function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
195
- const h = ie;
196
- re(e);
194
+ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
195
+ const h = ne;
196
+ te(e);
197
197
  const u = e.$$ = {
198
198
  fragment: null,
199
199
  ctx: [],
200
200
  // state
201
201
  props: o,
202
- update: N,
202
+ update: I,
203
203
  not_equal: i,
204
- bound: et(),
204
+ bound: rt(),
205
205
  // lifecycle
206
206
  on_mount: [],
207
207
  on_destroy: [],
@@ -210,7 +210,7 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
210
210
  after_update: [],
211
211
  context: new Map(t.context || (h ? h.$$.context : [])),
212
212
  // everything else
213
- callbacks: et(),
213
+ callbacks: rt(),
214
214
  dirty: a,
215
215
  skip_bound: !1,
216
216
  root: t.target || h.$$.root
@@ -220,18 +220,18 @@ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
220
220
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
221
221
  const p = d.length ? d[0] : f;
222
222
  return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Ir(e, c)), f;
223
- }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
223
+ }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
224
224
  if (t.hydrate) {
225
- const c = yr(t.target);
225
+ const c = _r(t.target);
226
226
  u.fragment && u.fragment.l(c), c.forEach(G);
227
227
  } else
228
228
  u.fragment && u.fragment.c();
229
- t.intro && Ar(e.$$.fragment), Pr(e, t.target, t.anchor), U();
229
+ t.intro && Pr(e.$$.fragment), Or(e, t.target, t.anchor), U();
230
230
  }
231
- re(h);
231
+ te(h);
232
232
  }
233
- let Ct;
234
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
233
+ let $t;
234
+ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
235
235
  /** The Svelte component constructor */
236
236
  $$ctor;
237
237
  /** Slots */
@@ -290,7 +290,7 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
290
290
  };
291
291
  if (await Promise.resolve(), !this.$$cn || this.$$c)
292
292
  return;
293
- const t = {}, r = _r(this);
293
+ const t = {}, r = Er(this);
294
294
  for (const i of this.$$s)
295
295
  i in r && (t[i] = [e(i)]);
296
296
  for (const i of this.attributes) {
@@ -377,8 +377,8 @@ function ce(e, t, r, n) {
377
377
  return t;
378
378
  }
379
379
  }
380
- function Lr(e, t, r, n, i, o) {
381
- let s = class extends Ct {
380
+ function Cr(e, t, r, n, i, o) {
381
+ let s = class extends $t {
382
382
  constructor() {
383
383
  super(e, r, i), this.$$p_d = t;
384
384
  }
@@ -406,7 +406,7 @@ function Lr(e, t, r, n, i, o) {
406
406
  }), e.element = /** @type {any} */
407
407
  s, s;
408
408
  }
409
- class Cr {
409
+ class Mr {
410
410
  /**
411
411
  * ### PRIVATE API
412
412
  *
@@ -425,7 +425,7 @@ class Cr {
425
425
  $$set = void 0;
426
426
  /** @returns {void} */
427
427
  $destroy() {
428
- Or(this, 1), this.$destroy = N;
428
+ Nr(this, 1), this.$destroy = I;
429
429
  }
430
430
  /**
431
431
  * @template {Extract<keyof Events, string>} K
@@ -434,8 +434,8 @@ class Cr {
434
434
  * @returns {() => void}
435
435
  */
436
436
  $on(t, r) {
437
- if (!ye(r))
438
- return N;
437
+ if (!_e(r))
438
+ return I;
439
439
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
440
440
  return n.push(r), () => {
441
441
  const i = n.indexOf(r);
@@ -447,18 +447,18 @@ class Cr {
447
447
  * @returns {void}
448
448
  */
449
449
  $set(t) {
450
- this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
450
+ this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
451
451
  }
452
452
  }
453
- const Mr = "4";
454
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
455
- function $r(e, t) {
453
+ const $r = "4";
454
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
455
+ function Rr(e, t) {
456
456
  if (e) {
457
457
  const r = document.createElement("style");
458
458
  r.innerHTML = t, e.appendChild(r);
459
459
  }
460
460
  }
461
- function Rr(e, t) {
461
+ function Gr(e, t) {
462
462
  const r = new URL(t);
463
463
  fetch(r.href).then((n) => n.text()).then((n) => {
464
464
  const i = document.createElement("style");
@@ -467,7 +467,7 @@ function Rr(e, t) {
467
467
  console.error("There was an error while trying to load client styling from URL", n);
468
468
  });
469
469
  }
470
- function Gr(e, t, r) {
470
+ function Ur(e, t, r) {
471
471
  if (window.emMessageBus) {
472
472
  const n = document.createElement("style");
473
473
  window.emMessageBus.subscribe(t, (i) => {
@@ -489,43 +489,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
489
489
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
490
490
  PERFORMANCE OF THIS SOFTWARE.
491
491
  ***************************************************************************** */
492
- var $e = function(e, t) {
493
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
492
+ var Ge = function(e, t) {
493
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
494
494
  r.__proto__ = n;
495
495
  } || function(r, n) {
496
496
  for (var i in n)
497
497
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
498
- }, $e(e, t);
498
+ }, Ge(e, t);
499
499
  };
500
- function M(e, t) {
500
+ function ae(e, t) {
501
501
  if (typeof t != "function" && t !== null)
502
502
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
503
- $e(e, t);
503
+ Ge(e, t);
504
504
  function r() {
505
505
  this.constructor = e;
506
506
  }
507
507
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
508
508
  }
509
- var _ = function() {
510
- return _ = Object.assign || function(t) {
511
- for (var r, n = 1, i = arguments.length; n < i; n++) {
512
- r = arguments[n];
513
- for (var o in r)
514
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
515
- }
516
- return t;
517
- }, _.apply(this, arguments);
518
- };
519
- function Ur(e, t) {
520
- var r = {};
521
- for (var n in e)
522
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
523
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
524
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
525
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
526
- return r;
527
- }
528
- function Re(e) {
509
+ function Ue(e) {
529
510
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
530
511
  if (r)
531
512
  return r.call(e);
@@ -537,7 +518,7 @@ function Re(e) {
537
518
  };
538
519
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
539
520
  }
540
- function Ge(e, t) {
521
+ function De(e, t) {
541
522
  var r = typeof Symbol == "function" && e[Symbol.iterator];
542
523
  if (!r)
543
524
  return e;
@@ -557,22 +538,22 @@ function Ge(e, t) {
557
538
  }
558
539
  return o;
559
540
  }
560
- function W(e, t, r) {
561
- if (r || arguments.length === 2)
541
+ function Fe(e, t, r) {
542
+ if (arguments.length === 2)
562
543
  for (var n = 0, i = t.length, o; n < i; n++)
563
544
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
564
545
  return e.concat(o || t);
565
546
  }
566
- function C(e) {
547
+ function M(e) {
567
548
  return typeof e == "function";
568
549
  }
569
- function Mt(e) {
550
+ function Rt(e) {
570
551
  var t = function(n) {
571
552
  Error.call(n), n.stack = new Error().stack;
572
553
  }, r = e(t);
573
554
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
574
555
  }
575
- var He = Mt(function(e) {
556
+ var Be = Rt(function(e) {
576
557
  return function(r) {
577
558
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
578
559
  ` + r.map(function(n, i) {
@@ -581,13 +562,13 @@ var He = Mt(function(e) {
581
562
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
582
563
  };
583
564
  });
584
- function Ue(e, t) {
565
+ function je(e, t) {
585
566
  if (e) {
586
567
  var r = e.indexOf(t);
587
568
  0 <= r && e.splice(r, 1);
588
569
  }
589
570
  }
590
- var _e = function() {
571
+ var Ee = function() {
591
572
  function e(t) {
592
573
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
593
574
  }
@@ -599,7 +580,7 @@ var _e = function() {
599
580
  if (s)
600
581
  if (this._parentage = null, Array.isArray(s))
601
582
  try {
602
- for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
583
+ for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
603
584
  var u = h.value;
604
585
  u.remove(this);
605
586
  }
@@ -616,22 +597,22 @@ var _e = function() {
616
597
  else
617
598
  s.remove(this);
618
599
  var l = this.initialTeardown;
619
- if (C(l))
600
+ if (M(l))
620
601
  try {
621
602
  l();
622
603
  } catch (g) {
623
- o = g instanceof He ? g.errors : [g];
604
+ o = g instanceof Be ? g.errors : [g];
624
605
  }
625
606
  var c = this._finalizers;
626
607
  if (c) {
627
608
  this._finalizers = null;
628
609
  try {
629
- for (var f = Re(c), d = f.next(); !d.done; d = f.next()) {
610
+ for (var f = Ue(c), d = f.next(); !d.done; d = f.next()) {
630
611
  var p = d.value;
631
612
  try {
632
- nt(p);
613
+ ot(p);
633
614
  } catch (g) {
634
- o = o ?? [], g instanceof He ? o = W(W([], Ge(o)), Ge(g.errors)) : o.push(g);
615
+ o = o ?? [], g instanceof Be ? o = Fe(Fe([], De(o)), De(g.errors)) : o.push(g);
635
616
  }
636
617
  }
637
618
  } catch (g) {
@@ -646,13 +627,13 @@ var _e = function() {
646
627
  }
647
628
  }
648
629
  if (o)
649
- throw new He(o);
630
+ throw new Be(o);
650
631
  }
651
632
  }, e.prototype.add = function(t) {
652
633
  var r;
653
634
  if (t && t !== this)
654
635
  if (this.closed)
655
- nt(t);
636
+ ot(t);
656
637
  else {
657
638
  if (t instanceof e) {
658
639
  if (t.closed || t._hasParent(this))
@@ -669,56 +650,52 @@ var _e = function() {
669
650
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
670
651
  }, e.prototype._removeParent = function(t) {
671
652
  var r = this._parentage;
672
- r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
653
+ r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
673
654
  }, e.prototype.remove = function(t) {
674
655
  var r = this._finalizers;
675
- r && Ue(r, t), t instanceof e && t._removeParent(this);
656
+ r && je(r, t), t instanceof e && t._removeParent(this);
676
657
  }, e.EMPTY = function() {
677
658
  var t = new e();
678
659
  return t.closed = !0, t;
679
660
  }(), e;
680
- }(), $t = _e.EMPTY;
681
- function Rt(e) {
682
- return e instanceof _e || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
683
- }
684
- function nt(e) {
685
- C(e) ? e() : e.unsubscribe();
686
- }
687
- var Gt = {
688
- onUnhandledError: null,
689
- onStoppedNotification: null,
690
- Promise: void 0,
691
- useDeprecatedSynchronousErrorHandling: !1,
692
- useDeprecatedNextContext: !1
693
- }, Dr = {
661
+ }(), Gt = Ee.EMPTY;
662
+ function Ut(e) {
663
+ return e instanceof Ee || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
664
+ }
665
+ function ot(e) {
666
+ M(e) ? e() : e.unsubscribe();
667
+ }
668
+ var Dr = {
669
+ Promise: void 0
670
+ }, Fr = {
694
671
  setTimeout: function(e, t) {
695
672
  for (var r = [], n = 2; n < arguments.length; n++)
696
673
  r[n - 2] = arguments[n];
697
- return setTimeout.apply(void 0, W([e, t], Ge(r)));
674
+ return setTimeout.apply(void 0, Fe([e, t], De(r)));
698
675
  },
699
676
  clearTimeout: function(e) {
700
677
  return clearTimeout(e);
701
678
  },
702
679
  delegate: void 0
703
680
  };
704
- function Fr(e) {
705
- Dr.setTimeout(function() {
681
+ function jr(e) {
682
+ Fr.setTimeout(function() {
706
683
  throw e;
707
684
  });
708
685
  }
709
- function it() {
686
+ function st() {
710
687
  }
711
688
  function fe(e) {
712
689
  e();
713
690
  }
714
- var Ut = function(e) {
715
- M(t, e);
691
+ var Dt = function(e) {
692
+ ae(t, e);
716
693
  function t(r) {
717
694
  var n = e.call(this) || this;
718
- return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Xr, n;
695
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Xr, n;
719
696
  }
720
697
  return t.create = function(r, n, i) {
721
- return new De(r, n, i);
698
+ return new ke(r, n, i);
722
699
  }, t.prototype.next = function(r) {
723
700
  this.isStopped || this._next(r);
724
701
  }, t.prototype.error = function(r) {
@@ -742,11 +719,7 @@ var Ut = function(e) {
742
719
  this.unsubscribe();
743
720
  }
744
721
  }, t;
745
- }(_e), jr = Function.prototype.bind;
746
- function Be(e, t) {
747
- return jr.call(e, t);
748
- }
749
- var kr = function() {
722
+ }(Ee), kr = function() {
750
723
  function e(t) {
751
724
  this.partialObserver = t;
752
725
  }
@@ -777,41 +750,29 @@ var kr = function() {
777
750
  he(r);
778
751
  }
779
752
  }, e;
780
- }(), De = function(e) {
781
- M(t, e);
753
+ }(), ke = function(e) {
754
+ ae(t, e);
782
755
  function t(r, n, i) {
783
756
  var o = e.call(this) || this, s;
784
- if (C(r) || !r)
785
- s = {
786
- next: r ?? void 0,
787
- error: n ?? void 0,
788
- complete: i ?? void 0
789
- };
790
- else {
791
- var a;
792
- o && Gt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
793
- return o.unsubscribe();
794
- }, s = {
795
- next: r.next && Be(r.next, a),
796
- error: r.error && Be(r.error, a),
797
- complete: r.complete && Be(r.complete, a)
798
- }) : s = r;
799
- }
800
- return o.destination = new kr(s), o;
757
+ return M(r) || !r ? s = {
758
+ next: r ?? void 0,
759
+ error: n ?? void 0,
760
+ complete: i ?? void 0
761
+ } : s = r, o.destination = new kr(s), o;
801
762
  }
802
763
  return t;
803
- }(Ut);
764
+ }(Dt);
804
765
  function he(e) {
805
- Fr(e);
766
+ jr(e);
806
767
  }
807
768
  function Vr(e) {
808
769
  throw e;
809
770
  }
810
771
  var Xr = {
811
772
  closed: !0,
812
- next: it,
773
+ next: st,
813
774
  error: Vr,
814
- complete: it
775
+ complete: st
815
776
  }, Wr = function() {
816
777
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
817
778
  }();
@@ -825,7 +786,7 @@ function Zr(e) {
825
786
  }, r);
826
787
  };
827
788
  }
828
- var ot = function() {
789
+ var at = function() {
829
790
  function e(t) {
830
791
  t && (this._subscribe = t);
831
792
  }
@@ -833,7 +794,7 @@ var ot = function() {
833
794
  var r = new e();
834
795
  return r.source = this, r.operator = t, r;
835
796
  }, e.prototype.subscribe = function(t, r, n) {
836
- var i = this, o = Jr(t) ? t : new De(t, r, n);
797
+ var i = this, o = Jr(t) ? t : new ke(t, r, n);
837
798
  return fe(function() {
838
799
  var s = i, a = s.operator, h = s.source;
839
800
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -846,8 +807,8 @@ var ot = function() {
846
807
  }
847
808
  }, e.prototype.forEach = function(t, r) {
848
809
  var n = this;
849
- return r = st(r), new r(function(i, o) {
850
- var s = new De({
810
+ return r = ut(r), new r(function(i, o) {
811
+ var s = new ke({
851
812
  next: function(a) {
852
813
  try {
853
814
  t(a);
@@ -871,7 +832,7 @@ var ot = function() {
871
832
  return Zr(t)(this);
872
833
  }, e.prototype.toPromise = function(t) {
873
834
  var r = this;
874
- return t = st(t), new t(function(n, i) {
835
+ return t = ut(t), new t(function(n, i) {
875
836
  var o;
876
837
  r.subscribe(function(s) {
877
838
  return o = s;
@@ -885,28 +846,28 @@ var ot = function() {
885
846
  return new e(t);
886
847
  }, e;
887
848
  }();
888
- function st(e) {
849
+ function ut(e) {
889
850
  var t;
890
- return (t = e ?? Gt.Promise) !== null && t !== void 0 ? t : Promise;
851
+ return (t = e ?? Dr.Promise) !== null && t !== void 0 ? t : Promise;
891
852
  }
892
853
  function Qr(e) {
893
- return e && C(e.next) && C(e.error) && C(e.complete);
854
+ return e && M(e.next) && M(e.error) && M(e.complete);
894
855
  }
895
856
  function Jr(e) {
896
- return e && e instanceof Ut || Qr(e) && Rt(e);
857
+ return e && e instanceof Dt || Qr(e) && Ut(e);
897
858
  }
898
- var qr = Mt(function(e) {
859
+ var qr = Rt(function(e) {
899
860
  return function() {
900
861
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
901
862
  };
902
- }), Dt = function(e) {
903
- M(t, e);
863
+ }), Ft = function(e) {
864
+ ae(t, e);
904
865
  function t() {
905
866
  var r = e.call(this) || this;
906
867
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
907
868
  }
908
869
  return t.prototype.lift = function(r) {
909
- var n = new at(this, this);
870
+ var n = new ht(this, this);
910
871
  return n.operator = r, n;
911
872
  }, t.prototype._throwIfClosed = function() {
912
873
  if (this.closed)
@@ -918,7 +879,7 @@ var qr = Mt(function(e) {
918
879
  if (n._throwIfClosed(), !n.isStopped) {
919
880
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
920
881
  try {
921
- for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
882
+ for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
922
883
  var h = a.value;
923
884
  h.next(r);
924
885
  }
@@ -967,20 +928,20 @@ var qr = Mt(function(e) {
967
928
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
968
929
  }, t.prototype._innerSubscribe = function(r) {
969
930
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
970
- return o || s ? $t : (this.currentObservers = null, a.push(r), new _e(function() {
971
- n.currentObservers = null, Ue(a, r);
931
+ return o || s ? Gt : (this.currentObservers = null, a.push(r), new Ee(function() {
932
+ n.currentObservers = null, je(a, r);
972
933
  }));
973
934
  }, t.prototype._checkFinalizedStatuses = function(r) {
974
935
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
975
936
  i ? r.error(o) : s && r.complete();
976
937
  }, t.prototype.asObservable = function() {
977
- var r = new ot();
938
+ var r = new at();
978
939
  return r.source = this, r;
979
940
  }, t.create = function(r, n) {
980
- return new at(r, n);
941
+ return new ht(r, n);
981
942
  }, t;
982
- }(ot), at = function(e) {
983
- M(t, e);
943
+ }(at), ht = function(e) {
944
+ ae(t, e);
984
945
  function t(r, n) {
985
946
  var i = e.call(this) || this;
986
947
  return i.destination = r, i.source = n, i;
@@ -996,17 +957,17 @@ var qr = Mt(function(e) {
996
957
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
997
958
  }, t.prototype._subscribe = function(r) {
998
959
  var n, i;
999
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
960
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
1000
961
  }, t;
1001
- }(Dt), Ft = {
962
+ }(Ft), jt = {
1002
963
  now: function() {
1003
- return (Ft.delegate || Date).now();
964
+ return (jt.delegate || Date).now();
1004
965
  },
1005
966
  delegate: void 0
1006
967
  }, Yr = function(e) {
1007
- M(t, e);
968
+ ae(t, e);
1008
969
  function t(r, n, i) {
1009
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
970
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1010
971
  var o = e.call(this) || this;
1011
972
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1012
973
  }
@@ -1026,24 +987,24 @@ var qr = Mt(function(e) {
1026
987
  u && o.splice(0, u + 1);
1027
988
  }
1028
989
  }, t;
1029
- }(Dt);
1030
- const ut = [], ht = {}, Kr = (e, t = 0) => {
1031
- if (ut.indexOf(e) == -1) {
990
+ }(Ft);
991
+ const lt = [], ct = {}, Kr = (e, t = 0) => {
992
+ if (lt.indexOf(e) == -1) {
1032
993
  const r = new Yr(t);
1033
- ht[e] = r, ut.push(e);
994
+ ct[e] = r, lt.push(e);
1034
995
  }
1035
- return ht[e];
996
+ return ct[e];
1036
997
  }, k = [];
1037
998
  function en(e, t) {
1038
999
  return {
1039
- subscribe: Ee(e, t).subscribe
1000
+ subscribe: xe(e, t).subscribe
1040
1001
  };
1041
1002
  }
1042
- function Ee(e, t = N) {
1003
+ function xe(e, t = I) {
1043
1004
  let r;
1044
1005
  const n = /* @__PURE__ */ new Set();
1045
1006
  function i(a) {
1046
- if (It(e, a) && (e = a, r)) {
1007
+ if (Lt(e, a) && (e = a, r)) {
1047
1008
  const h = !k.length;
1048
1009
  for (const u of n)
1049
1010
  u[1](), k.push(u, e);
@@ -1057,15 +1018,15 @@ function Ee(e, t = N) {
1057
1018
  function o(a) {
1058
1019
  i(a(e));
1059
1020
  }
1060
- function s(a, h = N) {
1021
+ function s(a, h = I) {
1061
1022
  const u = [a, h];
1062
- return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1023
+ return n.add(u), n.size === 1 && (r = t(i, o) || I), a(e), () => {
1063
1024
  n.delete(u), n.size === 0 && r && (r(), r = null);
1064
1025
  };
1065
1026
  }
1066
1027
  return { set: i, update: o, subscribe: s };
1067
1028
  }
1068
- function Y(e, t, r) {
1029
+ function q(e, t, r) {
1069
1030
  const n = !Array.isArray(e), i = n ? [e] : e;
1070
1031
  if (!i.every(Boolean))
1071
1032
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1073,18 +1034,18 @@ function Y(e, t, r) {
1073
1034
  return en(r, (s, a) => {
1074
1035
  let h = !1;
1075
1036
  const u = [];
1076
- let l = 0, c = N;
1037
+ let l = 0, c = I;
1077
1038
  const f = () => {
1078
1039
  if (l)
1079
1040
  return;
1080
1041
  c();
1081
1042
  const p = t(n ? u[0] : u, s, a);
1082
- o ? s(p) : c = ye(p) ? p : N;
1043
+ o ? s(p) : c = _e(p) ? p : I;
1083
1044
  }, d = i.map(
1084
- (p, g) => Nt(
1045
+ (p, g) => Ct(
1085
1046
  p,
1086
- (x) => {
1087
- u[g] = x, l &= ~(1 << g), h && f();
1047
+ (E) => {
1048
+ u[g] = E, l &= ~(1 << g), h && f();
1088
1049
  },
1089
1050
  () => {
1090
1051
  l |= 1 << g;
@@ -1092,7 +1053,7 @@ function Y(e, t, r) {
1092
1053
  )
1093
1054
  );
1094
1055
  return h = !0, f(), function() {
1095
- ae(d), c(), h = !1;
1056
+ se(d), c(), h = !1;
1096
1057
  };
1097
1058
  });
1098
1059
  }
@@ -1116,29 +1077,29 @@ function un(e) {
1116
1077
  function hn(e) {
1117
1078
  return Array.isArray(e) ? [] : {};
1118
1079
  }
1119
- function oe(e, t) {
1120
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(hn(e), e, t) : e;
1080
+ function ie(e, t) {
1081
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(hn(e), e, t) : e;
1121
1082
  }
1122
1083
  function ln(e, t, r) {
1123
1084
  return e.concat(t).map(function(n) {
1124
- return oe(n, r);
1085
+ return ie(n, r);
1125
1086
  });
1126
1087
  }
1127
1088
  function cn(e, t) {
1128
1089
  if (!t.customMerge)
1129
- return Z;
1090
+ return z;
1130
1091
  var r = t.customMerge(e);
1131
- return typeof r == "function" ? r : Z;
1092
+ return typeof r == "function" ? r : z;
1132
1093
  }
1133
1094
  function fn(e) {
1134
1095
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1135
1096
  return Object.propertyIsEnumerable.call(e, t);
1136
1097
  }) : [];
1137
1098
  }
1138
- function lt(e) {
1099
+ function ft(e) {
1139
1100
  return Object.keys(e).concat(fn(e));
1140
1101
  }
1141
- function jt(e, t) {
1102
+ function kt(e, t) {
1142
1103
  try {
1143
1104
  return t in e;
1144
1105
  } catch {
@@ -1146,32 +1107,74 @@ function jt(e, t) {
1146
1107
  }
1147
1108
  }
1148
1109
  function pn(e, t) {
1149
- return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1110
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1150
1111
  }
1151
1112
  function mn(e, t, r) {
1152
1113
  var n = {};
1153
- return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1154
- n[i] = oe(e[i], r);
1155
- }), lt(t).forEach(function(i) {
1156
- pn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1114
+ return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1115
+ n[i] = ie(e[i], r);
1116
+ }), ft(t).forEach(function(i) {
1117
+ pn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1157
1118
  }), n;
1158
1119
  }
1159
- function Z(e, t, r) {
1160
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = oe;
1120
+ function z(e, t, r) {
1121
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = ie;
1161
1122
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1162
- return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : oe(t, r);
1123
+ return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : ie(t, r);
1163
1124
  }
1164
- Z.all = function(t, r) {
1125
+ z.all = function(t, r) {
1165
1126
  if (!Array.isArray(t))
1166
1127
  throw new Error("first argument should be an array");
1167
1128
  return t.reduce(function(n, i) {
1168
- return Z(n, i, r);
1129
+ return z(n, i, r);
1169
1130
  }, {});
1170
1131
  };
1171
- var dn = Z, bn = dn;
1132
+ var dn = z, bn = dn;
1172
1133
  const gn = /* @__PURE__ */ tn(bn);
1173
- function Ae(e, t) {
1174
- var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : yn;
1134
+ var Ve = function(e, t) {
1135
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1136
+ r.__proto__ = n;
1137
+ } || function(r, n) {
1138
+ for (var i in n)
1139
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1140
+ }, Ve(e, t);
1141
+ };
1142
+ function Se(e, t) {
1143
+ if (typeof t != "function" && t !== null)
1144
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1145
+ Ve(e, t);
1146
+ function r() {
1147
+ this.constructor = e;
1148
+ }
1149
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1150
+ }
1151
+ var L = function() {
1152
+ return L = Object.assign || function(t) {
1153
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1154
+ r = arguments[n];
1155
+ for (var o in r)
1156
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1157
+ }
1158
+ return t;
1159
+ }, L.apply(this, arguments);
1160
+ };
1161
+ function yn(e, t) {
1162
+ var r = {};
1163
+ for (var n in e)
1164
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1165
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1166
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1167
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1168
+ return r;
1169
+ }
1170
+ function Pe(e, t, r) {
1171
+ if (r || arguments.length === 2)
1172
+ for (var n = 0, i = t.length, o; n < i; n++)
1173
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1174
+ return e.concat(o || Array.prototype.slice.call(t));
1175
+ }
1176
+ function Oe(e, t) {
1177
+ var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : En;
1175
1178
  return i(e, {
1176
1179
  cache: r,
1177
1180
  serializer: n
@@ -1180,7 +1183,7 @@ function Ae(e, t) {
1180
1183
  function vn(e) {
1181
1184
  return e == null || typeof e == "number" || typeof e == "boolean";
1182
1185
  }
1183
- function kt(e, t, r, n) {
1186
+ function _n(e, t, r, n) {
1184
1187
  var i = vn(n) ? n : r(n), o = t.get(i);
1185
1188
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1186
1189
  }
@@ -1188,87 +1191,95 @@ function Vt(e, t, r) {
1188
1191
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1189
1192
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1190
1193
  }
1191
- function Je(e, t, r, n, i) {
1194
+ function Xt(e, t, r, n, i) {
1192
1195
  return r.bind(t, e, n, i);
1193
1196
  }
1194
- function yn(e, t) {
1195
- var r = e.length === 1 ? kt : Vt;
1196
- return Je(e, this, r, t.cache.create(), t.serializer);
1197
- }
1198
- function _n(e, t) {
1199
- return Je(e, this, Vt, t.cache.create(), t.serializer);
1200
- }
1201
1197
  function En(e, t) {
1202
- return Je(e, this, kt, t.cache.create(), t.serializer);
1198
+ var r = e.length === 1 ? _n : Vt;
1199
+ return Xt(e, this, r, t.cache.create(), t.serializer);
1203
1200
  }
1204
- var xn = function() {
1205
- return JSON.stringify(arguments);
1206
- };
1207
- function qe() {
1208
- this.cache = /* @__PURE__ */ Object.create(null);
1201
+ function xn(e, t) {
1202
+ return Xt(e, this, Vt, t.cache.create(), t.serializer);
1209
1203
  }
1210
- qe.prototype.get = function(e) {
1211
- return this.cache[e];
1212
- };
1213
- qe.prototype.set = function(e, t) {
1214
- this.cache[e] = t;
1215
- };
1216
- var Tn = {
1204
+ var Sn = function() {
1205
+ return JSON.stringify(arguments);
1206
+ }, Tn = (
1207
+ /** @class */
1208
+ function() {
1209
+ function e() {
1210
+ this.cache = /* @__PURE__ */ Object.create(null);
1211
+ }
1212
+ return e.prototype.get = function(t) {
1213
+ return this.cache[t];
1214
+ }, e.prototype.set = function(t, r) {
1215
+ this.cache[t] = r;
1216
+ }, e;
1217
+ }()
1218
+ ), wn = {
1217
1219
  create: function() {
1218
- return new qe();
1220
+ return new Tn();
1219
1221
  }
1220
- }, Pe = {
1221
- variadic: _n,
1222
- monadic: En
1223
- }, v;
1222
+ }, Ne = {
1223
+ variadic: xn
1224
+ }, ge = function() {
1225
+ return ge = Object.assign || function(t) {
1226
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1227
+ r = arguments[n];
1228
+ for (var o in r)
1229
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1230
+ }
1231
+ return t;
1232
+ }, ge.apply(this, arguments);
1233
+ };
1234
+ var y;
1224
1235
  (function(e) {
1225
1236
  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";
1226
- })(v || (v = {}));
1227
- var T;
1237
+ })(y || (y = {}));
1238
+ var x;
1228
1239
  (function(e) {
1229
1240
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1230
- })(T || (T = {}));
1231
- var Q;
1241
+ })(x || (x = {}));
1242
+ var Z;
1232
1243
  (function(e) {
1233
1244
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1234
- })(Q || (Q = {}));
1235
- function ct(e) {
1236
- return e.type === T.literal;
1237
- }
1238
- function Sn(e) {
1239
- return e.type === T.argument;
1245
+ })(Z || (Z = {}));
1246
+ function pt(e) {
1247
+ return e.type === x.literal;
1240
1248
  }
1241
- function Xt(e) {
1242
- return e.type === T.number;
1249
+ function Hn(e) {
1250
+ return e.type === x.argument;
1243
1251
  }
1244
1252
  function Wt(e) {
1245
- return e.type === T.date;
1253
+ return e.type === x.number;
1246
1254
  }
1247
1255
  function zt(e) {
1248
- return e.type === T.time;
1256
+ return e.type === x.date;
1249
1257
  }
1250
1258
  function Zt(e) {
1251
- return e.type === T.select;
1259
+ return e.type === x.time;
1252
1260
  }
1253
1261
  function Qt(e) {
1254
- return e.type === T.plural;
1255
- }
1256
- function wn(e) {
1257
- return e.type === T.pound;
1262
+ return e.type === x.select;
1258
1263
  }
1259
1264
  function Jt(e) {
1260
- return e.type === T.tag;
1265
+ return e.type === x.plural;
1266
+ }
1267
+ function An(e) {
1268
+ return e.type === x.pound;
1261
1269
  }
1262
1270
  function qt(e) {
1263
- return !!(e && typeof e == "object" && e.type === Q.number);
1271
+ return e.type === x.tag;
1272
+ }
1273
+ function Yt(e) {
1274
+ return !!(e && typeof e == "object" && e.type === Z.number);
1264
1275
  }
1265
- function Fe(e) {
1266
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1276
+ function Xe(e) {
1277
+ return !!(e && typeof e == "object" && e.type === Z.dateTime);
1267
1278
  }
1268
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1269
- function Bn(e) {
1279
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
1280
+ function Pn(e) {
1270
1281
  var t = {};
1271
- return e.replace(Hn, function(r) {
1282
+ return e.replace(Bn, function(r) {
1272
1283
  var n = r.length;
1273
1284
  switch (r[0]) {
1274
1285
  case "G":
@@ -1357,11 +1368,21 @@ function Bn(e) {
1357
1368
  return "";
1358
1369
  }), t;
1359
1370
  }
1360
- var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1361
- function Pn(e) {
1371
+ var S = function() {
1372
+ return S = Object.assign || function(t) {
1373
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1374
+ r = arguments[n];
1375
+ for (var o in r)
1376
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1377
+ }
1378
+ return t;
1379
+ }, S.apply(this, arguments);
1380
+ };
1381
+ var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1382
+ function Nn(e) {
1362
1383
  if (e.length === 0)
1363
1384
  throw new Error("Number skeleton cannot be empty");
1364
- for (var t = e.split(An).filter(function(f) {
1385
+ for (var t = e.split(On).filter(function(f) {
1365
1386
  return f.length > 0;
1366
1387
  }), r = [], n = 0, i = t; n < i.length; n++) {
1367
1388
  var o = i[n], s = o.split("/");
@@ -1376,17 +1397,17 @@ function Pn(e) {
1376
1397
  }
1377
1398
  return r;
1378
1399
  }
1379
- function On(e) {
1400
+ function In(e) {
1380
1401
  return e.replace(/^(.*?)-/, "");
1381
1402
  }
1382
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1383
- function pt(e) {
1403
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1404
+ function dt(e) {
1384
1405
  var t = {};
1385
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1406
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1386
1407
  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)), "";
1387
1408
  }), t;
1388
1409
  }
1389
- function tr(e) {
1410
+ function rr(e) {
1390
1411
  switch (e) {
1391
1412
  case "sign-auto":
1392
1413
  return {
@@ -1426,7 +1447,7 @@ function tr(e) {
1426
1447
  };
1427
1448
  }
1428
1449
  }
1429
- function Nn(e) {
1450
+ function Cn(e) {
1430
1451
  var t;
1431
1452
  if (e[0] === "E" && e[1] === "E" ? (t = {
1432
1453
  notation: "engineering"
@@ -1434,17 +1455,17 @@ function Nn(e) {
1434
1455
  notation: "scientific"
1435
1456
  }, e = e.slice(1)), t) {
1436
1457
  var r = e.slice(0, 2);
1437
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1458
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1438
1459
  throw new Error("Malformed concise eng/scientific notation");
1439
1460
  t.minimumIntegerDigits = e.length;
1440
1461
  }
1441
1462
  return t;
1442
1463
  }
1443
- function mt(e) {
1444
- var t = {}, r = tr(e);
1464
+ function bt(e) {
1465
+ var t = {}, r = rr(e);
1445
1466
  return r || t;
1446
1467
  }
1447
- function Ln(e) {
1468
+ function Mn(e) {
1448
1469
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1449
1470
  var i = n[r];
1450
1471
  switch (i.stem) {
@@ -1468,7 +1489,7 @@ function Ln(e) {
1468
1489
  continue;
1469
1490
  case "measure-unit":
1470
1491
  case "unit":
1471
- t.style = "unit", t.unit = On(i.options[0]);
1492
+ t.style = "unit", t.unit = In(i.options[0]);
1472
1493
  continue;
1473
1494
  case "compact-short":
1474
1495
  case "K":
@@ -1479,13 +1500,13 @@ function Ln(e) {
1479
1500
  t.notation = "compact", t.compactDisplay = "long";
1480
1501
  continue;
1481
1502
  case "scientific":
1482
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1483
- return _(_({}, h), mt(u));
1503
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1504
+ return S(S({}, h), bt(u));
1484
1505
  }, {}));
1485
1506
  continue;
1486
1507
  case "engineering":
1487
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1488
- return _(_({}, h), mt(u));
1508
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1509
+ return S(S({}, h), bt(u));
1489
1510
  }, {}));
1490
1511
  continue;
1491
1512
  case "notation-simple":
@@ -1530,7 +1551,7 @@ function Ln(e) {
1530
1551
  case "integer-width":
1531
1552
  if (i.options.length > 1)
1532
1553
  throw new RangeError("integer-width stems only accept a single optional option");
1533
- i.options[0].replace(In, function(h, u, l, c, f, d) {
1554
+ i.options[0].replace(Ln, function(h, u, l, c, f, d) {
1534
1555
  if (u)
1535
1556
  t.minimumIntegerDigits = l.length;
1536
1557
  else {
@@ -1543,28 +1564,28 @@ function Ln(e) {
1543
1564
  });
1544
1565
  continue;
1545
1566
  }
1546
- if (er.test(i.stem)) {
1567
+ if (tr.test(i.stem)) {
1547
1568
  t.minimumIntegerDigits = i.stem.length;
1548
1569
  continue;
1549
1570
  }
1550
- if (ft.test(i.stem)) {
1571
+ if (mt.test(i.stem)) {
1551
1572
  if (i.options.length > 1)
1552
1573
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1553
- i.stem.replace(ft, function(h, u, l, c, f, d) {
1574
+ i.stem.replace(mt, function(h, u, l, c, f, d) {
1554
1575
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1555
1576
  });
1556
1577
  var o = i.options[0];
1557
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), pt(o)));
1578
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), dt(o)));
1558
1579
  continue;
1559
1580
  }
1560
- if (Kt.test(i.stem)) {
1561
- t = _(_({}, t), pt(i.stem));
1581
+ if (er.test(i.stem)) {
1582
+ t = S(S({}, t), dt(i.stem));
1562
1583
  continue;
1563
1584
  }
1564
- var s = tr(i.stem);
1565
- s && (t = _(_({}, t), s));
1566
- var a = Nn(i.stem);
1567
- a && (t = _(_({}, t), a));
1585
+ var s = rr(i.stem);
1586
+ s && (t = S(S({}, t), s));
1587
+ var a = Cn(i.stem);
1588
+ a && (t = S(S({}, t), a));
1568
1589
  }
1569
1590
  return t;
1570
1591
  }
@@ -2983,13 +3004,13 @@ var le = {
2983
3004
  "h"
2984
3005
  ]
2985
3006
  };
2986
- function Cn(e, t) {
3007
+ function $n(e, t) {
2987
3008
  for (var r = "", n = 0; n < e.length; n++) {
2988
3009
  var i = e.charAt(n);
2989
3010
  if (i === "j") {
2990
3011
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2991
3012
  o++, n++;
2992
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Mn(t);
3013
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Rn(t);
2993
3014
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2994
3015
  r += h;
2995
3016
  for (; s-- > 0; )
@@ -2999,7 +3020,7 @@ function Cn(e, t) {
2999
3020
  }
3000
3021
  return r;
3001
3022
  }
3002
- function Mn(e) {
3023
+ function Rn(e) {
3003
3024
  var t = e.hourCycle;
3004
3025
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3005
3026
  e.hourCycles && // @ts-ignore
@@ -3021,20 +3042,20 @@ function Mn(e) {
3021
3042
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
3022
3043
  return i[0];
3023
3044
  }
3024
- var Oe, $n = new RegExp("^".concat(Yt.source, "*")), Rn = new RegExp("".concat(Yt.source, "*$"));
3025
- function y(e, t) {
3045
+ var Ie, Gn = new RegExp("^".concat(Kt.source, "*")), Un = new RegExp("".concat(Kt.source, "*$"));
3046
+ function v(e, t) {
3026
3047
  return { start: e, end: t };
3027
3048
  }
3028
- var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Dn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
3049
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, zn = Wn ? Number.isSafeInteger : function(e) {
3029
3050
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3030
- }, je = !0;
3051
+ }, We = !0;
3031
3052
  try {
3032
- var Wn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3033
- je = ((Oe = Wn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3053
+ var Zn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3054
+ We = ((Ie = Zn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3034
3055
  } catch {
3035
- je = !1;
3056
+ We = !1;
3036
3057
  }
3037
- var dt = Gn ? (
3058
+ var gt = Dn ? (
3038
3059
  // Native
3039
3060
  function(t, r, n) {
3040
3061
  return t.startsWith(r, n);
@@ -3044,7 +3065,7 @@ var dt = Gn ? (
3044
3065
  function(t, r, n) {
3045
3066
  return t.slice(n, n + r.length) === r;
3046
3067
  }
3047
- ), ke = Un ? String.fromCodePoint : (
3068
+ ), ze = Fn ? String.fromCodePoint : (
3048
3069
  // IE11
3049
3070
  function() {
3050
3071
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3056,9 +3077,9 @@ var dt = Gn ? (
3056
3077
  }
3057
3078
  return n;
3058
3079
  }
3059
- ), bt = (
3080
+ ), yt = (
3060
3081
  // native
3061
- Dn ? Object.fromEntries : (
3082
+ jn ? Object.fromEntries : (
3062
3083
  // Ponyfill
3063
3084
  function(t) {
3064
3085
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3068,7 +3089,7 @@ var dt = Gn ? (
3068
3089
  return r;
3069
3090
  }
3070
3091
  )
3071
- ), rr = Fn ? (
3092
+ ), nr = kn ? (
3072
3093
  // Native
3073
3094
  function(t, r) {
3074
3095
  return t.codePointAt(r);
@@ -3082,7 +3103,7 @@ var dt = Gn ? (
3082
3103
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3083
3104
  }
3084
3105
  }
3085
- ), zn = jn ? (
3106
+ ), Qn = Vn ? (
3086
3107
  // Native
3087
3108
  function(t) {
3088
3109
  return t.trimStart();
@@ -3090,9 +3111,9 @@ var dt = Gn ? (
3090
3111
  ) : (
3091
3112
  // Ponyfill
3092
3113
  function(t) {
3093
- return t.replace($n, "");
3114
+ return t.replace(Gn, "");
3094
3115
  }
3095
- ), Zn = kn ? (
3116
+ ), Jn = Xn ? (
3096
3117
  // Native
3097
3118
  function(t) {
3098
3119
  return t.trimEnd();
@@ -3100,32 +3121,32 @@ var dt = Gn ? (
3100
3121
  ) : (
3101
3122
  // Ponyfill
3102
3123
  function(t) {
3103
- return t.replace(Rn, "");
3124
+ return t.replace(Un, "");
3104
3125
  }
3105
3126
  );
3106
- function nr(e, t) {
3127
+ function ir(e, t) {
3107
3128
  return new RegExp(e, t);
3108
3129
  }
3109
- var Ve;
3110
- if (je) {
3111
- var gt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3112
- Ve = function(t, r) {
3130
+ var Ze;
3131
+ if (We) {
3132
+ var vt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3133
+ Ze = function(t, r) {
3113
3134
  var n;
3114
- gt.lastIndex = r;
3115
- var i = gt.exec(t);
3135
+ vt.lastIndex = r;
3136
+ var i = vt.exec(t);
3116
3137
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3117
3138
  };
3118
3139
  } else
3119
- Ve = function(t, r) {
3140
+ Ze = function(t, r) {
3120
3141
  for (var n = []; ; ) {
3121
- var i = rr(t, r);
3122
- if (i === void 0 || ir(i) || Yn(i))
3142
+ var i = nr(t, r);
3143
+ if (i === void 0 || or(i) || ei(i))
3123
3144
  break;
3124
3145
  n.push(i), r += i >= 65536 ? 2 : 1;
3125
3146
  }
3126
- return ke.apply(void 0, n);
3147
+ return ze.apply(void 0, n);
3127
3148
  };
3128
- var Qn = (
3149
+ var qn = (
3129
3150
  /** @class */
3130
3151
  function() {
3131
3152
  function e(t, r) {
@@ -3149,14 +3170,14 @@ var Qn = (
3149
3170
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3150
3171
  var a = this.clonePosition();
3151
3172
  this.bump(), i.push({
3152
- type: T.pound,
3153
- location: y(a, this.clonePosition())
3173
+ type: x.pound,
3174
+ location: v(a, this.clonePosition())
3154
3175
  });
3155
3176
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3156
3177
  if (n)
3157
3178
  break;
3158
- return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3159
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3179
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3180
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3160
3181
  var s = this.parseTag(t, r);
3161
3182
  if (s.err)
3162
3183
  return s;
@@ -3177,9 +3198,9 @@ var Qn = (
3177
3198
  if (this.bumpSpace(), this.bumpIf("/>"))
3178
3199
  return {
3179
3200
  val: {
3180
- type: T.literal,
3201
+ type: x.literal,
3181
3202
  value: "<".concat(i, "/>"),
3182
- location: y(n, this.clonePosition())
3203
+ location: v(n, this.clonePosition())
3183
3204
  },
3184
3205
  err: null
3185
3206
  };
@@ -3189,25 +3210,25 @@ var Qn = (
3189
3210
  return o;
3190
3211
  var s = o.val, a = this.clonePosition();
3191
3212
  if (this.bumpIf("</")) {
3192
- if (this.isEOF() || !Xe(this.char()))
3193
- return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
3213
+ if (this.isEOF() || !Qe(this.char()))
3214
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3194
3215
  var h = this.clonePosition(), u = this.parseTagName();
3195
- return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3216
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3196
3217
  val: {
3197
- type: T.tag,
3218
+ type: x.tag,
3198
3219
  value: i,
3199
3220
  children: s,
3200
- location: y(n, this.clonePosition())
3221
+ location: v(n, this.clonePosition())
3201
3222
  },
3202
3223
  err: null
3203
- } : this.error(v.INVALID_TAG, y(a, this.clonePosition())));
3224
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3204
3225
  } else
3205
- return this.error(v.UNCLOSED_TAG, y(n, this.clonePosition()));
3226
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3206
3227
  } else
3207
- return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
3228
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3208
3229
  }, e.prototype.parseTagName = function() {
3209
3230
  var t = this.offset();
3210
- for (this.bump(); !this.isEOF() && qn(this.char()); )
3231
+ for (this.bump(); !this.isEOF() && Kn(this.char()); )
3211
3232
  this.bump();
3212
3233
  return this.message.slice(t, this.offset());
3213
3234
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3229,14 +3250,14 @@ var Qn = (
3229
3250
  }
3230
3251
  break;
3231
3252
  }
3232
- var h = y(n, this.clonePosition());
3253
+ var h = v(n, this.clonePosition());
3233
3254
  return {
3234
- val: { type: T.literal, value: i, location: h },
3255
+ val: { type: x.literal, value: i, location: h },
3235
3256
  err: null
3236
3257
  };
3237
3258
  }, e.prototype.tryParseLeftAngleBracket = function() {
3238
3259
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3239
- !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3260
+ !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3240
3261
  }, e.prototype.tryParseQuote = function(t) {
3241
3262
  if (this.isEOF() || this.char() !== 39)
3242
3263
  return null;
@@ -3270,49 +3291,49 @@ var Qn = (
3270
3291
  r.push(n);
3271
3292
  this.bump();
3272
3293
  }
3273
- return ke.apply(void 0, r);
3294
+ return ze.apply(void 0, r);
3274
3295
  }, e.prototype.tryParseUnquoted = function(t, r) {
3275
3296
  if (this.isEOF())
3276
3297
  return null;
3277
3298
  var n = this.char();
3278
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3299
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3279
3300
  }, e.prototype.parseArgument = function(t, r) {
3280
3301
  var n = this.clonePosition();
3281
3302
  if (this.bump(), this.bumpSpace(), this.isEOF())
3282
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3303
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3283
3304
  if (this.char() === 125)
3284
- return this.bump(), this.error(v.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3305
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3285
3306
  var i = this.parseIdentifierIfPossible().value;
3286
3307
  if (!i)
3287
- return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3308
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3288
3309
  if (this.bumpSpace(), this.isEOF())
3289
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3310
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3290
3311
  switch (this.char()) {
3291
3312
  case 125:
3292
3313
  return this.bump(), {
3293
3314
  val: {
3294
- type: T.argument,
3315
+ type: x.argument,
3295
3316
  // value does not include the opening and closing braces.
3296
3317
  value: i,
3297
- location: y(n, this.clonePosition())
3318
+ location: v(n, this.clonePosition())
3298
3319
  },
3299
3320
  err: null
3300
3321
  };
3301
3322
  case 44:
3302
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3323
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3303
3324
  default:
3304
- return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3325
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3305
3326
  }
3306
3327
  }, e.prototype.parseIdentifierIfPossible = function() {
3307
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3328
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3308
3329
  this.bumpTo(i);
3309
- var o = this.clonePosition(), s = y(t, o);
3330
+ var o = this.clonePosition(), s = v(t, o);
3310
3331
  return { value: n, location: s };
3311
3332
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3312
3333
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3313
3334
  switch (a) {
3314
3335
  case "":
3315
- return this.error(v.EXPECT_ARGUMENT_TYPE, y(s, h));
3336
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, h));
3316
3337
  case "number":
3317
3338
  case "date":
3318
3339
  case "time": {
@@ -3323,44 +3344,44 @@ var Qn = (
3323
3344
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3324
3345
  if (c.err)
3325
3346
  return c;
3326
- var f = Zn(c.val);
3347
+ var f = Jn(c.val);
3327
3348
  if (f.length === 0)
3328
- return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3329
- var d = y(l, this.clonePosition());
3349
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3350
+ var d = v(l, this.clonePosition());
3330
3351
  u = { style: f, styleLocation: d };
3331
3352
  }
3332
3353
  var p = this.tryParseArgumentClose(i);
3333
3354
  if (p.err)
3334
3355
  return p;
3335
- var g = y(i, this.clonePosition());
3336
- if (u && dt(u?.style, "::", 0)) {
3337
- var x = zn(u.style.slice(2));
3356
+ var g = v(i, this.clonePosition());
3357
+ if (u && gt(u?.style, "::", 0)) {
3358
+ var E = Qn(u.style.slice(2));
3338
3359
  if (a === "number") {
3339
- var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3360
+ var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3340
3361
  return c.err ? c : {
3341
- val: { type: T.number, value: n, location: g, style: c.val },
3362
+ val: { type: x.number, value: n, location: g, style: c.val },
3342
3363
  err: null
3343
3364
  };
3344
3365
  } else {
3345
- if (x.length === 0)
3346
- return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
3347
- var b = x;
3348
- this.locale && (b = Cn(x, this.locale));
3366
+ if (E.length === 0)
3367
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3368
+ var b = E;
3369
+ this.locale && (b = $n(E, this.locale));
3349
3370
  var f = {
3350
- type: Q.dateTime,
3371
+ type: Z.dateTime,
3351
3372
  pattern: b,
3352
3373
  location: u.styleLocation,
3353
- parsedOptions: this.shouldParseSkeletons ? Bn(b) : {}
3354
- }, S = a === "date" ? T.date : T.time;
3374
+ parsedOptions: this.shouldParseSkeletons ? Pn(b) : {}
3375
+ }, T = a === "date" ? x.date : x.time;
3355
3376
  return {
3356
- val: { type: S, value: n, location: g, style: f },
3377
+ val: { type: T, value: n, location: g, style: f },
3357
3378
  err: null
3358
3379
  };
3359
3380
  }
3360
3381
  }
3361
3382
  return {
3362
3383
  val: {
3363
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3384
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3364
3385
  value: n,
3365
3386
  location: g,
3366
3387
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3371,41 +3392,41 @@ var Qn = (
3371
3392
  case "plural":
3372
3393
  case "selectordinal":
3373
3394
  case "select": {
3374
- var E = this.clonePosition();
3395
+ var _ = this.clonePosition();
3375
3396
  if (this.bumpSpace(), !this.bumpIf(","))
3376
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(E, _({}, E)));
3397
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, ge({}, _)));
3377
3398
  this.bumpSpace();
3378
- var I = this.parseIdentifierIfPossible(), L = 0;
3379
- if (a !== "select" && I.value === "offset") {
3399
+ var N = this.parseIdentifierIfPossible(), C = 0;
3400
+ if (a !== "select" && N.value === "offset") {
3380
3401
  if (!this.bumpIf(":"))
3381
- return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3402
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3382
3403
  this.bumpSpace();
3383
- var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3404
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3384
3405
  if (c.err)
3385
3406
  return c;
3386
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), L = c.val;
3407
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), C = c.val;
3387
3408
  }
3388
- var m = this.tryParsePluralOrSelectOptions(t, a, r, I);
3409
+ var m = this.tryParsePluralOrSelectOptions(t, a, r, N);
3389
3410
  if (m.err)
3390
3411
  return m;
3391
3412
  var p = this.tryParseArgumentClose(i);
3392
3413
  if (p.err)
3393
3414
  return p;
3394
- var O = y(i, this.clonePosition());
3415
+ var O = v(i, this.clonePosition());
3395
3416
  return a === "select" ? {
3396
3417
  val: {
3397
- type: T.select,
3418
+ type: x.select,
3398
3419
  value: n,
3399
- options: bt(m.val),
3420
+ options: yt(m.val),
3400
3421
  location: O
3401
3422
  },
3402
3423
  err: null
3403
3424
  } : {
3404
3425
  val: {
3405
- type: T.plural,
3426
+ type: x.plural,
3406
3427
  value: n,
3407
- options: bt(m.val),
3408
- offset: L,
3428
+ options: yt(m.val),
3429
+ offset: C,
3409
3430
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3410
3431
  location: O
3411
3432
  },
@@ -3413,10 +3434,10 @@ var Qn = (
3413
3434
  };
3414
3435
  }
3415
3436
  default:
3416
- return this.error(v.INVALID_ARGUMENT_TYPE, y(s, h));
3437
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(s, h));
3417
3438
  }
3418
3439
  }, e.prototype.tryParseArgumentClose = function(t) {
3419
- return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3440
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3420
3441
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3421
3442
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3422
3443
  var n = this.char();
@@ -3425,7 +3446,7 @@ var Qn = (
3425
3446
  this.bump();
3426
3447
  var i = this.clonePosition();
3427
3448
  if (!this.bumpUntil("'"))
3428
- return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3449
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3429
3450
  this.bump();
3430
3451
  break;
3431
3452
  }
@@ -3455,16 +3476,16 @@ var Qn = (
3455
3476
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3456
3477
  var n = [];
3457
3478
  try {
3458
- n = Pn(t);
3479
+ n = Nn(t);
3459
3480
  } catch {
3460
- return this.error(v.INVALID_NUMBER_SKELETON, r);
3481
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3461
3482
  }
3462
3483
  return {
3463
3484
  val: {
3464
- type: Q.number,
3485
+ type: Z.number,
3465
3486
  tokens: n,
3466
3487
  location: r,
3467
- parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3488
+ parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3468
3489
  },
3469
3490
  err: null
3470
3491
  };
@@ -3473,19 +3494,19 @@ var Qn = (
3473
3494
  if (u.length === 0) {
3474
3495
  var c = this.clonePosition();
3475
3496
  if (r !== "select" && this.bumpIf("=")) {
3476
- var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3497
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3477
3498
  if (f.err)
3478
3499
  return f;
3479
- l = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3500
+ l = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3480
3501
  } else
3481
3502
  break;
3482
3503
  }
3483
3504
  if (h.has(u))
3484
- return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3505
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3485
3506
  u === "other" && (s = !0), this.bumpSpace();
3486
3507
  var d = this.clonePosition();
3487
3508
  if (!this.bumpIf("{"))
3488
- return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3509
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3489
3510
  var p = this.parseMessage(t + 1, r, n);
3490
3511
  if (p.err)
3491
3512
  return p;
@@ -3496,11 +3517,11 @@ var Qn = (
3496
3517
  u,
3497
3518
  {
3498
3519
  value: p.val,
3499
- location: y(d, this.clonePosition())
3520
+ location: v(d, this.clonePosition())
3500
3521
  }
3501
3522
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3502
3523
  }
3503
- return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3524
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3504
3525
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3505
3526
  var n = 1, i = this.clonePosition();
3506
3527
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3511,8 +3532,8 @@ var Qn = (
3511
3532
  else
3512
3533
  break;
3513
3534
  }
3514
- var h = y(i, this.clonePosition());
3515
- return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3535
+ var h = v(i, this.clonePosition());
3536
+ return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3516
3537
  }, e.prototype.offset = function() {
3517
3538
  return this.position.offset;
3518
3539
  }, e.prototype.isEOF = function() {
@@ -3527,7 +3548,7 @@ var Qn = (
3527
3548
  var t = this.position.offset;
3528
3549
  if (t >= this.message.length)
3529
3550
  throw Error("out of bound");
3530
- var r = rr(this.message, t);
3551
+ var r = nr(this.message, t);
3531
3552
  if (r === void 0)
3532
3553
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3533
3554
  return r;
@@ -3546,7 +3567,7 @@ var Qn = (
3546
3567
  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);
3547
3568
  }
3548
3569
  }, e.prototype.bumpIf = function(t) {
3549
- if (dt(this.message, t, this.offset())) {
3570
+ if (gt(this.message, t, this.offset())) {
3550
3571
  for (var r = 0; r < t.length; r++)
3551
3572
  this.bump();
3552
3573
  return !0;
@@ -3568,7 +3589,7 @@ var Qn = (
3568
3589
  break;
3569
3590
  }
3570
3591
  }, e.prototype.bumpSpace = function() {
3571
- for (; !this.isEOF() && ir(this.char()); )
3592
+ for (; !this.isEOF() && or(this.char()); )
3572
3593
  this.bump();
3573
3594
  }, e.prototype.peek = function() {
3574
3595
  if (this.isEOF())
@@ -3578,47 +3599,47 @@ var Qn = (
3578
3599
  }, e;
3579
3600
  }()
3580
3601
  );
3581
- function Xe(e) {
3602
+ function Qe(e) {
3582
3603
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3583
3604
  }
3584
- function Jn(e) {
3585
- return Xe(e) || e === 47;
3605
+ function Yn(e) {
3606
+ return Qe(e) || e === 47;
3586
3607
  }
3587
- function qn(e) {
3608
+ function Kn(e) {
3588
3609
  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;
3589
3610
  }
3590
- function ir(e) {
3611
+ function or(e) {
3591
3612
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3592
3613
  }
3593
- function Yn(e) {
3614
+ function ei(e) {
3594
3615
  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;
3595
3616
  }
3596
- function We(e) {
3617
+ function Je(e) {
3597
3618
  e.forEach(function(t) {
3598
- if (delete t.location, Zt(t) || Qt(t))
3619
+ if (delete t.location, Qt(t) || Jt(t))
3599
3620
  for (var r in t.options)
3600
- delete t.options[r].location, We(t.options[r].value);
3621
+ delete t.options[r].location, Je(t.options[r].value);
3601
3622
  else
3602
- Xt(t) && qt(t.style) || (Wt(t) || zt(t)) && Fe(t.style) ? delete t.style.location : Jt(t) && We(t.children);
3623
+ Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : qt(t) && Je(t.children);
3603
3624
  });
3604
3625
  }
3605
- function Kn(e, t) {
3606
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3607
- var r = new Qn(e, t).parse();
3626
+ function ti(e, t) {
3627
+ t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3628
+ var r = new qn(e, t).parse();
3608
3629
  if (r.err) {
3609
- var n = SyntaxError(v[r.err.kind]);
3630
+ var n = SyntaxError(y[r.err.kind]);
3610
3631
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3611
3632
  }
3612
- return t?.captureLocation || We(r.val), r.val;
3633
+ return t?.captureLocation || Je(r.val), r.val;
3613
3634
  }
3614
- var J;
3635
+ var Q;
3615
3636
  (function(e) {
3616
3637
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3617
- })(J || (J = {}));
3618
- var xe = (
3638
+ })(Q || (Q = {}));
3639
+ var Te = (
3619
3640
  /** @class */
3620
3641
  function(e) {
3621
- M(t, e);
3642
+ Se(t, e);
3622
3643
  function t(r, n, i) {
3623
3644
  var o = e.call(this, r) || this;
3624
3645
  return o.code = n, o.originalMessage = i, o;
@@ -3627,155 +3648,155 @@ var xe = (
3627
3648
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3628
3649
  }, t;
3629
3650
  }(Error)
3630
- ), vt = (
3651
+ ), _t = (
3631
3652
  /** @class */
3632
3653
  function(e) {
3633
- M(t, e);
3654
+ Se(t, e);
3634
3655
  function t(r, n, i, o) {
3635
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3656
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3636
3657
  }
3637
3658
  return t;
3638
- }(xe)
3639
- ), ei = (
3659
+ }(Te)
3660
+ ), ri = (
3640
3661
  /** @class */
3641
3662
  function(e) {
3642
- M(t, e);
3663
+ Se(t, e);
3643
3664
  function t(r, n, i) {
3644
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3665
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3645
3666
  }
3646
3667
  return t;
3647
- }(xe)
3648
- ), ti = (
3668
+ }(Te)
3669
+ ), ni = (
3649
3670
  /** @class */
3650
3671
  function(e) {
3651
- M(t, e);
3672
+ Se(t, e);
3652
3673
  function t(r, n) {
3653
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3674
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3654
3675
  }
3655
3676
  return t;
3656
- }(xe)
3657
- ), A;
3677
+ }(Te)
3678
+ ), B;
3658
3679
  (function(e) {
3659
3680
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3660
- })(A || (A = {}));
3661
- function ri(e) {
3681
+ })(B || (B = {}));
3682
+ function ii(e) {
3662
3683
  return e.length < 2 ? e : e.reduce(function(t, r) {
3663
3684
  var n = t[t.length - 1];
3664
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3685
+ return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3665
3686
  }, []);
3666
3687
  }
3667
- function ni(e) {
3688
+ function oi(e) {
3668
3689
  return typeof e == "function";
3669
3690
  }
3670
3691
  function pe(e, t, r, n, i, o, s) {
3671
- if (e.length === 1 && ct(e[0]))
3692
+ if (e.length === 1 && pt(e[0]))
3672
3693
  return [
3673
3694
  {
3674
- type: A.literal,
3695
+ type: B.literal,
3675
3696
  value: e[0].value
3676
3697
  }
3677
3698
  ];
3678
3699
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3679
3700
  var l = u[h];
3680
- if (ct(l)) {
3701
+ if (pt(l)) {
3681
3702
  a.push({
3682
- type: A.literal,
3703
+ type: B.literal,
3683
3704
  value: l.value
3684
3705
  });
3685
3706
  continue;
3686
3707
  }
3687
- if (wn(l)) {
3708
+ if (An(l)) {
3688
3709
  typeof o == "number" && a.push({
3689
- type: A.literal,
3710
+ type: B.literal,
3690
3711
  value: r.getNumberFormat(t).format(o)
3691
3712
  });
3692
3713
  continue;
3693
3714
  }
3694
3715
  var c = l.value;
3695
3716
  if (!(i && c in i))
3696
- throw new ti(c, s);
3717
+ throw new ni(c, s);
3697
3718
  var f = i[c];
3698
- if (Sn(l)) {
3719
+ if (Hn(l)) {
3699
3720
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3700
- type: typeof f == "string" ? A.literal : A.object,
3721
+ type: typeof f == "string" ? B.literal : B.object,
3701
3722
  value: f
3702
3723
  });
3703
3724
  continue;
3704
3725
  }
3705
- if (Wt(l)) {
3706
- var d = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3726
+ if (zt(l)) {
3727
+ var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
3707
3728
  a.push({
3708
- type: A.literal,
3729
+ type: B.literal,
3709
3730
  value: r.getDateTimeFormat(t, d).format(f)
3710
3731
  });
3711
3732
  continue;
3712
3733
  }
3713
- if (zt(l)) {
3714
- var d = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3734
+ if (Zt(l)) {
3735
+ var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
3715
3736
  a.push({
3716
- type: A.literal,
3737
+ type: B.literal,
3717
3738
  value: r.getDateTimeFormat(t, d).format(f)
3718
3739
  });
3719
3740
  continue;
3720
3741
  }
3721
- if (Xt(l)) {
3722
- var d = typeof l.style == "string" ? n.number[l.style] : qt(l.style) ? l.style.parsedOptions : void 0;
3742
+ if (Wt(l)) {
3743
+ var d = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3723
3744
  d && d.scale && (f = f * (d.scale || 1)), a.push({
3724
- type: A.literal,
3745
+ type: B.literal,
3725
3746
  value: r.getNumberFormat(t, d).format(f)
3726
3747
  });
3727
3748
  continue;
3728
3749
  }
3729
- if (Jt(l)) {
3730
- var p = l.children, g = l.value, x = i[g];
3731
- if (!ni(x))
3732
- throw new ei(g, "function", s);
3733
- var b = pe(p, t, r, n, i, o), S = x(b.map(function(L) {
3734
- return L.value;
3750
+ if (qt(l)) {
3751
+ var p = l.children, g = l.value, E = i[g];
3752
+ if (!oi(E))
3753
+ throw new ri(g, "function", s);
3754
+ var b = pe(p, t, r, n, i, o), T = E(b.map(function(C) {
3755
+ return C.value;
3735
3756
  }));
3736
- Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
3757
+ Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(C) {
3737
3758
  return {
3738
- type: typeof L == "string" ? A.literal : A.object,
3739
- value: L
3759
+ type: typeof C == "string" ? B.literal : B.object,
3760
+ value: C
3740
3761
  };
3741
3762
  }));
3742
3763
  }
3743
- if (Zt(l)) {
3744
- var E = l.options[f] || l.options.other;
3745
- if (!E)
3746
- throw new vt(l.value, f, Object.keys(l.options), s);
3747
- a.push.apply(a, pe(E.value, t, r, n, i));
3764
+ if (Qt(l)) {
3765
+ var _ = l.options[f] || l.options.other;
3766
+ if (!_)
3767
+ throw new _t(l.value, f, Object.keys(l.options), s);
3768
+ a.push.apply(a, pe(_.value, t, r, n, i));
3748
3769
  continue;
3749
3770
  }
3750
- if (Qt(l)) {
3751
- var E = l.options["=".concat(f)];
3752
- if (!E) {
3771
+ if (Jt(l)) {
3772
+ var _ = l.options["=".concat(f)];
3773
+ if (!_) {
3753
3774
  if (!Intl.PluralRules)
3754
- throw new xe(`Intl.PluralRules is not available in this environment.
3775
+ throw new Te(`Intl.PluralRules is not available in this environment.
3755
3776
  Try polyfilling it using "@formatjs/intl-pluralrules"
3756
- `, J.MISSING_INTL_API, s);
3757
- var I = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3758
- E = l.options[I] || l.options.other;
3777
+ `, Q.MISSING_INTL_API, s);
3778
+ var N = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3779
+ _ = l.options[N] || l.options.other;
3759
3780
  }
3760
- if (!E)
3761
- throw new vt(l.value, f, Object.keys(l.options), s);
3762
- a.push.apply(a, pe(E.value, t, r, n, i, f - (l.offset || 0)));
3781
+ if (!_)
3782
+ throw new _t(l.value, f, Object.keys(l.options), s);
3783
+ a.push.apply(a, pe(_.value, t, r, n, i, f - (l.offset || 0)));
3763
3784
  continue;
3764
3785
  }
3765
3786
  }
3766
- return ri(a);
3787
+ return ii(a);
3767
3788
  }
3768
- function ii(e, t) {
3769
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3770
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3789
+ function si(e, t) {
3790
+ return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3791
+ return r[n] = L(L({}, e[n]), t[n] || {}), r;
3771
3792
  }, {})) : e;
3772
3793
  }
3773
- function oi(e, t) {
3794
+ function ai(e, t) {
3774
3795
  return t ? Object.keys(e).reduce(function(r, n) {
3775
- return r[n] = ii(e[n], t[n]), r;
3776
- }, _({}, e)) : e;
3796
+ return r[n] = si(e[n], t[n]), r;
3797
+ }, L({}, e)) : e;
3777
3798
  }
3778
- function Ie(e) {
3799
+ function Le(e) {
3779
3800
  return {
3780
3801
  create: function() {
3781
3802
  return {
@@ -3789,39 +3810,39 @@ function Ie(e) {
3789
3810
  }
3790
3811
  };
3791
3812
  }
3792
- function si(e) {
3813
+ function ui(e) {
3793
3814
  return e === void 0 && (e = {
3794
3815
  number: {},
3795
3816
  dateTime: {},
3796
3817
  pluralRules: {}
3797
3818
  }), {
3798
- getNumberFormat: Ae(function() {
3819
+ getNumberFormat: Oe(function() {
3799
3820
  for (var t, r = [], n = 0; n < arguments.length; n++)
3800
3821
  r[n] = arguments[n];
3801
- return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3822
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3802
3823
  }, {
3803
- cache: Ie(e.number),
3804
- strategy: Pe.variadic
3824
+ cache: Le(e.number),
3825
+ strategy: Ne.variadic
3805
3826
  }),
3806
- getDateTimeFormat: Ae(function() {
3827
+ getDateTimeFormat: Oe(function() {
3807
3828
  for (var t, r = [], n = 0; n < arguments.length; n++)
3808
3829
  r[n] = arguments[n];
3809
- return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3830
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3810
3831
  }, {
3811
- cache: Ie(e.dateTime),
3812
- strategy: Pe.variadic
3832
+ cache: Le(e.dateTime),
3833
+ strategy: Ne.variadic
3813
3834
  }),
3814
- getPluralRules: Ae(function() {
3835
+ getPluralRules: Oe(function() {
3815
3836
  for (var t, r = [], n = 0; n < arguments.length; n++)
3816
3837
  r[n] = arguments[n];
3817
- return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3838
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3818
3839
  }, {
3819
- cache: Ie(e.pluralRules),
3820
- strategy: Pe.variadic
3840
+ cache: Le(e.pluralRules),
3841
+ strategy: Ne.variadic
3821
3842
  })
3822
3843
  };
3823
3844
  }
3824
- var ai = (
3845
+ var hi = (
3825
3846
  /** @class */
3826
3847
  function() {
3827
3848
  function e(t, r, n, i) {
@@ -3836,7 +3857,7 @@ var ai = (
3836
3857
  if (u.length === 1)
3837
3858
  return u[0].value;
3838
3859
  var l = u.reduce(function(c, f) {
3839
- return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3860
+ return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3840
3861
  }, []);
3841
3862
  return l.length <= 1 ? l[0] || "" : l;
3842
3863
  }, this.formatToParts = function(h) {
@@ -3853,13 +3874,13 @@ var ai = (
3853
3874
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3854
3875
  var s = i || {};
3855
3876
  s.formatters;
3856
- var a = Ur(s, ["formatters"]);
3857
- this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3877
+ var a = yn(s, ["formatters"]);
3878
+ this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
3858
3879
  } else
3859
3880
  this.ast = t;
3860
3881
  if (!Array.isArray(this.ast))
3861
3882
  throw new TypeError("A message must be provided as a String or AST.");
3862
- this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3883
+ this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3863
3884
  }
3864
3885
  return Object.defineProperty(e, "defaultLocale", {
3865
3886
  get: function() {
@@ -3872,7 +3893,7 @@ var ai = (
3872
3893
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3873
3894
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3874
3895
  }
3875
- }, e.__parse = Kn, e.formats = {
3896
+ }, e.__parse = ti, e.formats = {
3876
3897
  number: {
3877
3898
  integer: {
3878
3899
  maximumFractionDigits: 0
@@ -3933,7 +3954,7 @@ var ai = (
3933
3954
  }, e;
3934
3955
  }()
3935
3956
  );
3936
- function ui(e, t) {
3957
+ function li(e, t) {
3937
3958
  if (t == null)
3938
3959
  return;
3939
3960
  if (t in e)
@@ -3954,92 +3975,92 @@ function ui(e, t) {
3954
3975
  n = void 0;
3955
3976
  return n;
3956
3977
  }
3957
- const $ = {}, hi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), or = (e, t) => {
3978
+ const $ = {}, ci = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), sr = (e, t) => {
3958
3979
  if (t == null)
3959
3980
  return;
3960
3981
  if (t in $ && e in $[t])
3961
3982
  return $[t][e];
3962
- const r = Te(t);
3983
+ const r = we(t);
3963
3984
  for (let n = 0; n < r.length; n++) {
3964
- const i = r[n], o = ci(i, e);
3985
+ const i = r[n], o = pi(i, e);
3965
3986
  if (o)
3966
- return hi(e, t, o);
3987
+ return ci(e, t, o);
3967
3988
  }
3968
3989
  };
3969
- let Ye;
3970
- const K = Ee({});
3971
- function li(e) {
3972
- return Ye[e] || null;
3990
+ let et;
3991
+ const Y = xe({});
3992
+ function fi(e) {
3993
+ return et[e] || null;
3973
3994
  }
3974
- function sr(e) {
3975
- return e in Ye;
3995
+ function ar(e) {
3996
+ return e in et;
3976
3997
  }
3977
- function ci(e, t) {
3978
- if (!sr(e))
3998
+ function pi(e, t) {
3999
+ if (!ar(e))
3979
4000
  return null;
3980
- const r = li(e);
3981
- return ui(r, t);
4001
+ const r = fi(e);
4002
+ return li(r, t);
3982
4003
  }
3983
- function fi(e) {
4004
+ function mi(e) {
3984
4005
  if (e == null)
3985
4006
  return;
3986
- const t = Te(e);
4007
+ const t = we(e);
3987
4008
  for (let r = 0; r < t.length; r++) {
3988
4009
  const n = t[r];
3989
- if (sr(n))
4010
+ if (ar(n))
3990
4011
  return n;
3991
4012
  }
3992
4013
  }
3993
- function ar(e, ...t) {
3994
- delete $[e], K.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
4014
+ function ur(e, ...t) {
4015
+ delete $[e], Y.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
3995
4016
  }
3996
- Y(
3997
- [K],
4017
+ q(
4018
+ [Y],
3998
4019
  ([e]) => Object.keys(e)
3999
4020
  );
4000
- K.subscribe((e) => Ye = e);
4021
+ Y.subscribe((e) => et = e);
4001
4022
  const me = {};
4002
- function pi(e, t) {
4023
+ function di(e, t) {
4003
4024
  me[e].delete(t), me[e].size === 0 && delete me[e];
4004
4025
  }
4005
- function ur(e) {
4026
+ function hr(e) {
4006
4027
  return me[e];
4007
4028
  }
4008
- function mi(e) {
4009
- return Te(e).map((t) => {
4010
- const r = ur(t);
4029
+ function bi(e) {
4030
+ return we(e).map((t) => {
4031
+ const r = hr(t);
4011
4032
  return [t, r ? [...r] : []];
4012
4033
  }).filter(([, t]) => t.length > 0);
4013
4034
  }
4014
- function ze(e) {
4015
- return e == null ? !1 : Te(e).some(
4035
+ function qe(e) {
4036
+ return e == null ? !1 : we(e).some(
4016
4037
  (t) => {
4017
4038
  var r;
4018
- return (r = ur(t)) == null ? void 0 : r.size;
4039
+ return (r = hr(t)) == null ? void 0 : r.size;
4019
4040
  }
4020
4041
  );
4021
4042
  }
4022
- function di(e, t) {
4043
+ function gi(e, t) {
4023
4044
  return Promise.all(
4024
- t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
4025
- ).then((n) => ar(e, ...n));
4026
- }
4027
- const te = {};
4028
- function hr(e) {
4029
- if (!ze(e))
4030
- return e in te ? te[e] : Promise.resolve();
4031
- const t = mi(e);
4032
- return te[e] = Promise.all(
4045
+ t.map((n) => (di(e, n), n().then((i) => i.default || i)))
4046
+ ).then((n) => ur(e, ...n));
4047
+ }
4048
+ const ee = {};
4049
+ function lr(e) {
4050
+ if (!qe(e))
4051
+ return e in ee ? ee[e] : Promise.resolve();
4052
+ const t = bi(e);
4053
+ return ee[e] = Promise.all(
4033
4054
  t.map(
4034
- ([r, n]) => di(r, n)
4055
+ ([r, n]) => gi(r, n)
4035
4056
  )
4036
4057
  ).then(() => {
4037
- if (ze(e))
4038
- return hr(e);
4039
- delete te[e];
4040
- }), te[e];
4058
+ if (qe(e))
4059
+ return lr(e);
4060
+ delete ee[e];
4061
+ }), ee[e];
4041
4062
  }
4042
- const bi = {
4063
+ const yi = {
4043
4064
  number: {
4044
4065
  scientific: { notation: "scientific" },
4045
4066
  engineering: { notation: "engineering" },
@@ -4068,135 +4089,135 @@ const bi = {
4068
4089
  timeZoneName: "short"
4069
4090
  }
4070
4091
  }
4071
- }, gi = {
4092
+ }, vi = {
4072
4093
  fallbackLocale: null,
4073
4094
  loadingDelay: 200,
4074
- formats: bi,
4095
+ formats: yi,
4075
4096
  warnOnMissingMessages: !0,
4076
4097
  handleMissingMessage: void 0,
4077
4098
  ignoreTag: !0
4078
- }, vi = gi;
4079
- function q() {
4080
- return vi;
4099
+ }, _i = vi;
4100
+ function J() {
4101
+ return _i;
4081
4102
  }
4082
- const Ne = Ee(!1);
4083
- var yi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
4103
+ const Ce = xe(!1);
4104
+ var Ei = Object.defineProperty, xi = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4084
4105
  for (var r in t || (t = {}))
4085
- xi.call(t, r) && _t(e, r, t[r]);
4086
- if (yt)
4087
- for (var r of yt(t))
4088
- Ti.call(t, r) && _t(e, r, t[r]);
4106
+ Ti.call(t, r) && xt(e, r, t[r]);
4107
+ if (Et)
4108
+ for (var r of Et(t))
4109
+ wi.call(t, r) && xt(e, r, t[r]);
4089
4110
  return e;
4090
- }, wi = (e, t) => _i(e, Ei(t));
4091
- let Ze;
4092
- const ge = Ee(null);
4093
- function Et(e) {
4111
+ }, Ai = (e, t) => xi(e, Si(t));
4112
+ let Ye;
4113
+ const ye = xe(null);
4114
+ function St(e) {
4094
4115
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4095
4116
  }
4096
- function Te(e, t = q().fallbackLocale) {
4097
- const r = Et(e);
4098
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4117
+ function we(e, t = J().fallbackLocale) {
4118
+ const r = St(e);
4119
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4099
4120
  }
4100
4121
  function F() {
4101
- return Ze ?? void 0;
4122
+ return Ye ?? void 0;
4102
4123
  }
4103
- ge.subscribe((e) => {
4104
- Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4124
+ ye.subscribe((e) => {
4125
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4105
4126
  });
4106
- const Hi = (e) => {
4107
- if (e && fi(e) && ze(e)) {
4108
- const { loadingDelay: t } = q();
4127
+ const Bi = (e) => {
4128
+ if (e && mi(e) && qe(e)) {
4129
+ const { loadingDelay: t } = J();
4109
4130
  let r;
4110
4131
  return typeof window < "u" && F() != null && t ? r = window.setTimeout(
4111
- () => Ne.set(!0),
4132
+ () => Ce.set(!0),
4112
4133
  t
4113
- ) : Ne.set(!0), hr(e).then(() => {
4114
- ge.set(e);
4134
+ ) : Ce.set(!0), lr(e).then(() => {
4135
+ ye.set(e);
4115
4136
  }).finally(() => {
4116
- clearTimeout(r), Ne.set(!1);
4137
+ clearTimeout(r), Ce.set(!1);
4117
4138
  });
4118
4139
  }
4119
- return ge.set(e);
4120
- }, R = wi(Si({}, ge), {
4121
- set: Hi
4122
- }), Se = (e) => {
4140
+ return ye.set(e);
4141
+ }, R = Ai(Hi({}, ye), {
4142
+ set: Bi
4143
+ }), He = (e) => {
4123
4144
  const t = /* @__PURE__ */ Object.create(null);
4124
4145
  return (n) => {
4125
4146
  const i = JSON.stringify(n);
4126
4147
  return i in t ? t[i] : t[i] = e(n);
4127
4148
  };
4128
4149
  };
4129
- var Bi = Object.defineProperty, ve = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4150
+ var Pi = Object.defineProperty, ve = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4130
4151
  for (var r in t || (t = {}))
4131
- lr.call(t, r) && xt(e, r, t[r]);
4152
+ cr.call(t, r) && Tt(e, r, t[r]);
4132
4153
  if (ve)
4133
4154
  for (var r of ve(t))
4134
- cr.call(t, r) && xt(e, r, t[r]);
4155
+ fr.call(t, r) && Tt(e, r, t[r]);
4135
4156
  return e;
4136
- }, ee = (e, t) => {
4157
+ }, K = (e, t) => {
4137
4158
  var r = {};
4138
4159
  for (var n in e)
4139
- lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4160
+ cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4140
4161
  if (e != null && ve)
4141
4162
  for (var n of ve(e))
4142
- t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4163
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4143
4164
  return r;
4144
4165
  };
4145
- const se = (e, t) => {
4146
- const { formats: r } = q();
4166
+ const oe = (e, t) => {
4167
+ const { formats: r } = J();
4147
4168
  if (e in r && t in r[e])
4148
4169
  return r[e][t];
4149
4170
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4150
- }, Ai = Se(
4171
+ }, Oi = He(
4151
4172
  (e) => {
4152
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4173
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4153
4174
  if (r == null)
4154
4175
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4155
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4176
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4156
4177
  }
4157
- ), Pi = Se(
4178
+ ), Ni = He(
4158
4179
  (e) => {
4159
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4180
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4160
4181
  if (r == null)
4161
4182
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4162
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4183
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4163
4184
  }
4164
- ), Oi = Se(
4185
+ ), Ii = He(
4165
4186
  (e) => {
4166
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4187
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4167
4188
  if (r == null)
4168
4189
  throw new Error(
4169
4190
  '[svelte-i18n] A "locale" must be set to format time values'
4170
4191
  );
4171
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4192
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4172
4193
  }
4173
- ), Ii = (e = {}) => {
4194
+ ), Li = (e = {}) => {
4174
4195
  var t = e, {
4175
4196
  locale: r = F()
4176
- } = t, n = ee(t, [
4197
+ } = t, n = K(t, [
4177
4198
  "locale"
4178
4199
  ]);
4179
- return Ai(Ke({ locale: r }, n));
4180
- }, Ni = (e = {}) => {
4200
+ return Oi(tt({ locale: r }, n));
4201
+ }, Ci = (e = {}) => {
4181
4202
  var t = e, {
4182
4203
  locale: r = F()
4183
- } = t, n = ee(t, [
4204
+ } = t, n = K(t, [
4184
4205
  "locale"
4185
4206
  ]);
4186
- return Pi(Ke({ locale: r }, n));
4187
- }, Li = (e = {}) => {
4207
+ return Ni(tt({ locale: r }, n));
4208
+ }, Mi = (e = {}) => {
4188
4209
  var t = e, {
4189
4210
  locale: r = F()
4190
- } = t, n = ee(t, [
4211
+ } = t, n = K(t, [
4191
4212
  "locale"
4192
4213
  ]);
4193
- return Oi(Ke({ locale: r }, n));
4194
- }, Ci = Se(
4214
+ return Ii(tt({ locale: r }, n));
4215
+ }, $i = He(
4195
4216
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4196
- (e, t = F()) => new ai(e, t, q().formats, {
4197
- ignoreTag: q().ignoreTag
4217
+ (e, t = F()) => new hi(e, t, J().formats, {
4218
+ ignoreTag: J().ignoreTag
4198
4219
  })
4199
- ), Mi = (e, t = {}) => {
4220
+ ), Ri = (e, t = {}) => {
4200
4221
  var r, n, i, o;
4201
4222
  let s = t;
4202
4223
  typeof e == "object" && (s = e, e = s.id);
@@ -4209,9 +4230,9 @@ const se = (e, t) => {
4209
4230
  throw new Error(
4210
4231
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4211
4232
  );
4212
- let l = or(e, h);
4233
+ let l = sr(e, h);
4213
4234
  if (!l)
4214
- l = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4235
+ l = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4215
4236
  else if (typeof l != "string")
4216
4237
  return console.warn(
4217
4238
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4220,7 +4241,7 @@ const se = (e, t) => {
4220
4241
  return l;
4221
4242
  let c = l;
4222
4243
  try {
4223
- c = Ci(l, h).format(a);
4244
+ c = $i(l, h).format(a);
4224
4245
  } catch (f) {
4225
4246
  f instanceof Error && console.warn(
4226
4247
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4228,25 +4249,25 @@ const se = (e, t) => {
4228
4249
  );
4229
4250
  }
4230
4251
  return c;
4231
- }, $i = (e, t) => Li(t).format(e), Ri = (e, t) => Ni(t).format(e), Gi = (e, t) => Ii(t).format(e), Ui = (e, t = F()) => or(e, t), Di = Y([R, K], () => Mi);
4232
- Y([R], () => $i);
4233
- Y([R], () => Ri);
4234
- Y([R], () => Gi);
4235
- Y([R, K], () => Ui);
4252
+ }, Gi = (e, t) => Mi(t).format(e), Ui = (e, t) => Ci(t).format(e), Di = (e, t) => Li(t).format(e), Fi = (e, t = F()) => sr(e, t), ji = q([R, Y], () => Ri);
4253
+ q([R], () => Gi);
4254
+ q([R], () => Ui);
4255
+ q([R], () => Di);
4256
+ q([R, Y], () => Fi);
4236
4257
  window.emWidgets = { topic: Kr };
4237
- const Fi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4238
- function ji({ withLocale: e, translations: t }) {
4258
+ const ki = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4259
+ function Vi({ withLocale: e, translations: t }) {
4239
4260
  R.subscribe((r) => {
4240
- r == null && (K.set(t), R.set(e));
4261
+ r == null && (Y.set(t), R.set(e));
4241
4262
  });
4242
4263
  }
4243
- function Tt(e, t) {
4244
- ar(e, t);
4264
+ function wt(e, t) {
4265
+ ur(e, t);
4245
4266
  }
4246
- function ki(e) {
4267
+ function Xi(e) {
4247
4268
  R.set(e);
4248
4269
  }
4249
- const St = {
4270
+ const Ht = {
4250
4271
  en: {
4251
4272
  loading: "Loading, please wait ...",
4252
4273
  playNow: "Play Now",
@@ -4256,22 +4277,22 @@ const St = {
4256
4277
  noGamesAvailable: "No games have been configured yet!"
4257
4278
  }
4258
4279
  };
4259
- function Vi(e) {
4260
- mr(e, "svelte-grpqez", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
4280
+ function Wi(e) {
4281
+ dr(e, "svelte-grpqez", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
4261
4282
  }
4262
- function wt(e, t, r) {
4283
+ function At(e, t, r) {
4263
4284
  const n = e.slice();
4264
4285
  return n[20] = t[r], n;
4265
4286
  }
4266
- function Ht(e, t, r) {
4287
+ function Bt(e, t, r) {
4267
4288
  const n = e.slice();
4268
4289
  return n[20] = t[r], n;
4269
4290
  }
4270
- function Bt(e) {
4291
+ function Pt(e) {
4271
4292
  let t, r;
4272
4293
  return {
4273
4294
  c() {
4274
- t = P("div"), r = P("casino-tournaments-tab"), w(r, "part", "TournamentGames"), w(r, "tabs", "casino,sports"), w(r, "tab", "casino"), w(r, "tid", Qe), w(
4295
+ t = P("div"), r = P("casino-tournaments-tab"), w(r, "part", "TournamentGames"), w(r, "tabs", "casino,sports"), w(r, "tab", "casino"), w(r, "tid", Ke), w(
4275
4296
  r,
4276
4297
  "clientstyling",
4277
4298
  /*clientstyling*/
@@ -4289,7 +4310,7 @@ function Bt(e) {
4289
4310
  ), H(t, "class", "GamesTabNav");
4290
4311
  },
4291
4312
  m(n, i) {
4292
- D(n, t, i), B(t, r);
4313
+ D(n, t, i), A(t, r);
4293
4314
  },
4294
4315
  p(n, i) {
4295
4316
  i & /*clientstyling*/
@@ -4317,17 +4338,17 @@ function Bt(e) {
4317
4338
  }
4318
4339
  };
4319
4340
  }
4320
- function Xi(e) {
4341
+ function zi(e) {
4321
4342
  let t, r = (
4322
4343
  /*$_*/
4323
4344
  e[8]("noGamesAvailable") + ""
4324
4345
  ), n;
4325
4346
  return {
4326
4347
  c() {
4327
- t = P("div"), n = z(r), H(t, "class", "NoGames");
4348
+ t = P("div"), n = W(r), H(t, "class", "NoGames");
4328
4349
  },
4329
4350
  m(i, o) {
4330
- D(i, t, o), B(t, n);
4351
+ D(i, t, o), A(t, n);
4331
4352
  },
4332
4353
  p(i, o) {
4333
4354
  o & /*$_*/
@@ -4339,18 +4360,18 @@ function Xi(e) {
4339
4360
  }
4340
4361
  };
4341
4362
  }
4342
- function Wi(e) {
4363
+ function Zi(e) {
4343
4364
  let t, r = be(
4344
4365
  /*casinoGames*/
4345
4366
  e[7]
4346
4367
  ), n = [];
4347
4368
  for (let i = 0; i < r.length; i += 1)
4348
- n[i] = At(Ht(e, r, i));
4369
+ n[i] = Ot(Bt(e, r, i));
4349
4370
  return {
4350
4371
  c() {
4351
4372
  for (let i = 0; i < n.length; i += 1)
4352
4373
  n[i].c();
4353
- t = gr();
4374
+ t = yr();
4354
4375
  },
4355
4376
  m(i, o) {
4356
4377
  for (let s = 0; s < n.length; s += 1)
@@ -4366,8 +4387,8 @@ function Wi(e) {
4366
4387
  );
4367
4388
  let s;
4368
4389
  for (s = 0; s < r.length; s += 1) {
4369
- const a = Ht(i, r, s);
4370
- n[s] ? n[s].p(a, o) : (n[s] = At(a), n[s].c(), n[s].m(t.parentNode, t));
4390
+ const a = Bt(i, r, s);
4391
+ n[s] ? n[s].p(a, o) : (n[s] = Ot(a), n[s].c(), n[s].m(t.parentNode, t));
4371
4392
  }
4372
4393
  for (; s < n.length; s += 1)
4373
4394
  n[s].d(1);
@@ -4375,25 +4396,25 @@ function Wi(e) {
4375
4396
  }
4376
4397
  },
4377
4398
  d(i) {
4378
- i && G(t), Lt(n, i);
4399
+ i && G(t), Mt(n, i);
4379
4400
  }
4380
4401
  };
4381
4402
  }
4382
- function At(e) {
4403
+ function Ot(e) {
4383
4404
  let t, r, n = (
4384
4405
  /*$_*/
4385
4406
  e[8]("playNow") + ""
4386
4407
  ), i, o, s, a, h, u, l, c, f;
4387
4408
  return {
4388
4409
  c() {
4389
- t = P("div"), r = P("span"), i = z(n), o = ne(), s = P("ui-image"), l = ne(), H(r, "class", "PlayNowButton"), tt(s.src, a = /*item*/
4410
+ t = P("div"), r = P("span"), i = W(n), o = re(), s = P("ui-image"), l = re(), H(r, "class", "PlayNowButton"), nt(s.src, a = /*item*/
4390
4411
  e[20].thumbnail) || w(s, "src", a), w(s, "width", "132px"), w(s, "height", "100px"), w(s, "alt", h = /*item*/
4391
4412
  e[20].name), w(s, "title", u = /*item*/
4392
4413
  e[20].name), H(t, "class", "item"), H(t, "role", "button"), H(t, "tabindex", "0");
4393
4414
  },
4394
4415
  m(d, p) {
4395
- D(d, t, p), B(t, r), B(r, i), B(t, o), B(t, s), B(t, l), c || (f = vr(t, "click", function() {
4396
- ye(
4416
+ D(d, t, p), A(t, r), A(r, i), A(t, o), A(t, s), A(t, l), c || (f = vr(t, "click", function() {
4417
+ _e(
4397
4418
  /*gameClicked*/
4398
4419
  e[10](
4399
4420
  /*item*/
@@ -4409,7 +4430,7 @@ function At(e) {
4409
4430
  e = d, p & /*$_*/
4410
4431
  256 && n !== (n = /*$_*/
4411
4432
  e[8]("playNow") + "") && de(i, n), p & /*casinoGames*/
4412
- 128 && !tt(s.src, a = /*item*/
4433
+ 128 && !nt(s.src, a = /*item*/
4413
4434
  e[20].thumbnail) && w(s, "src", a), p & /*casinoGames*/
4414
4435
  128 && h !== (h = /*item*/
4415
4436
  e[20].name) && w(s, "alt", h), p & /*casinoGames*/
@@ -4421,7 +4442,7 @@ function At(e) {
4421
4442
  }
4422
4443
  };
4423
4444
  }
4424
- function Pt(e) {
4445
+ function Nt(e) {
4425
4446
  let t, r = (
4426
4447
  /*item*/
4427
4448
  e[20].rule + ""
@@ -4431,10 +4452,10 @@ function Pt(e) {
4431
4452
  ), s;
4432
4453
  return {
4433
4454
  c() {
4434
- t = P("li"), n = z(r), i = ne(), s = z(o), H(t, "part", "li"), H(t, "class", "Market");
4455
+ t = P("li"), n = W(r), i = re(), s = W(o), H(t, "part", "li"), H(t, "class", "Market");
4435
4456
  },
4436
4457
  m(a, h) {
4437
- D(a, t, h), B(t, n), B(t, i), B(t, s);
4458
+ D(a, t, h), A(t, n), A(t, i), A(t, s);
4438
4459
  },
4439
4460
  p(a, h) {
4440
4461
  h & /*sportsRules*/
@@ -4448,95 +4469,95 @@ function Pt(e) {
4448
4469
  }
4449
4470
  };
4450
4471
  }
4451
- function zi(e) {
4472
+ function Qi(e) {
4452
4473
  let t, r, n, i, o, s, a, h, u, l, c = (
4453
4474
  /*tournamentdetails*/
4454
4475
  e[3] && /*tournamentdetails*/
4455
4476
  e[3].wallet?.sports && /*tournamentdetails*/
4456
- e[3].wallet?.casino && Bt(e)
4477
+ e[3].wallet?.casino && Pt(e)
4457
4478
  );
4458
- function f(b, S) {
4479
+ function f(b, T) {
4459
4480
  return (
4460
4481
  /*casinoGames*/
4461
- b[7]?.length ? Wi : Xi
4482
+ b[7]?.length ? Zi : zi
4462
4483
  );
4463
4484
  }
4464
4485
  let d = f(e), p = d(e), g = be(
4465
4486
  /*sportsRules*/
4466
4487
  e[6]
4467
- ), x = [];
4488
+ ), E = [];
4468
4489
  for (let b = 0; b < g.length; b += 1)
4469
- x[b] = Pt(wt(e, g, b));
4490
+ E[b] = Nt(At(e, g, b));
4470
4491
  return {
4471
4492
  c() {
4472
- t = P("div"), c && c.c(), r = ne(), n = P("div"), i = P("div"), o = P("div"), p.c(), a = ne(), h = P("div"), u = P("ul");
4473
- for (let b = 0; b < x.length; b += 1)
4474
- x[b].c();
4493
+ t = P("div"), c && c.c(), r = re(), n = P("div"), i = P("div"), o = P("div"), p.c(), a = re(), h = P("div"), u = P("ul");
4494
+ for (let b = 0; b < E.length; b += 1)
4495
+ E[b].c();
4475
4496
  H(o, "class", "GameList items"), H(i, "class", s = "TabContent GamesContent " + /*activeTab*/
4476
4497
  (e[5] != "casino" ? "hidden" : "")), H(u, "class", "SportsPage"), H(h, "class", l = "TabContent GamesContent " + /*activeTab*/
4477
- (e[5] != "sports" ? "hidden" : "")), H(n, "class", "GamesWrapper"), H(t, "class", Fi(
4498
+ (e[5] != "sports" ? "hidden" : "")), H(n, "class", "GamesWrapper"), H(t, "class", ki(
4478
4499
  /*userAgent*/
4479
4500
  e[9]
4480
4501
  ) ? "MobileClass" : "");
4481
4502
  },
4482
- m(b, S) {
4483
- D(b, t, S), c && c.m(t, null), B(t, r), B(t, n), B(n, i), B(i, o), p.m(o, null), B(n, a), B(n, h), B(h, u);
4484
- for (let E = 0; E < x.length; E += 1)
4485
- x[E] && x[E].m(u, null);
4503
+ m(b, T) {
4504
+ D(b, t, T), c && c.m(t, null), A(t, r), A(t, n), A(n, i), A(i, o), p.m(o, null), A(n, a), A(n, h), A(h, u);
4505
+ for (let _ = 0; _ < E.length; _ += 1)
4506
+ E[_] && E[_].m(u, null);
4486
4507
  e[13](t);
4487
4508
  },
4488
- p(b, [S]) {
4509
+ p(b, [T]) {
4489
4510
  if (/*tournamentdetails*/
4490
4511
  b[3] && /*tournamentdetails*/
4491
4512
  b[3].wallet?.sports && /*tournamentdetails*/
4492
- b[3].wallet?.casino ? c ? c.p(b, S) : (c = Bt(b), c.c(), c.m(t, r)) : c && (c.d(1), c = null), d === (d = f(b)) && p ? p.p(b, S) : (p.d(1), p = d(b), p && (p.c(), p.m(o, null))), S & /*activeTab*/
4513
+ b[3].wallet?.casino ? c ? c.p(b, T) : (c = Pt(b), c.c(), c.m(t, r)) : c && (c.d(1), c = null), d === (d = f(b)) && p ? p.p(b, T) : (p.d(1), p = d(b), p && (p.c(), p.m(o, null))), T & /*activeTab*/
4493
4514
  32 && s !== (s = "TabContent GamesContent " + /*activeTab*/
4494
- (b[5] != "casino" ? "hidden" : "")) && H(i, "class", s), S & /*$_, sportsRules*/
4515
+ (b[5] != "casino" ? "hidden" : "")) && H(i, "class", s), T & /*$_, sportsRules*/
4495
4516
  320) {
4496
4517
  g = be(
4497
4518
  /*sportsRules*/
4498
4519
  b[6]
4499
4520
  );
4500
- let E;
4501
- for (E = 0; E < g.length; E += 1) {
4502
- const I = wt(b, g, E);
4503
- x[E] ? x[E].p(I, S) : (x[E] = Pt(I), x[E].c(), x[E].m(u, null));
4521
+ let _;
4522
+ for (_ = 0; _ < g.length; _ += 1) {
4523
+ const N = At(b, g, _);
4524
+ E[_] ? E[_].p(N, T) : (E[_] = Nt(N), E[_].c(), E[_].m(u, null));
4504
4525
  }
4505
- for (; E < x.length; E += 1)
4506
- x[E].d(1);
4507
- x.length = g.length;
4526
+ for (; _ < E.length; _ += 1)
4527
+ E[_].d(1);
4528
+ E.length = g.length;
4508
4529
  }
4509
- S & /*activeTab*/
4530
+ T & /*activeTab*/
4510
4531
  32 && l !== (l = "TabContent GamesContent " + /*activeTab*/
4511
4532
  (b[5] != "sports" ? "hidden" : "")) && H(h, "class", l);
4512
4533
  },
4513
- i: N,
4514
- o: N,
4534
+ i: I,
4535
+ o: I,
4515
4536
  d(b) {
4516
- b && G(t), c && c.d(), p.d(), Lt(x, b), e[13](null);
4537
+ b && G(t), c && c.d(), p.d(), Mt(E, b), e[13](null);
4517
4538
  }
4518
4539
  };
4519
4540
  }
4520
- let Qe = "gameTab";
4521
- function Zi(e, t, r) {
4541
+ let Ke = "gameTab";
4542
+ function Ji(e, t, r) {
4522
4543
  let n;
4523
- pr(e, Di, (m) => r(8, n = m));
4544
+ mr(e, ji, (m) => r(8, n = m));
4524
4545
  let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { translationurl: a } = t, { lang: h = "en" } = t, u = "casino", l = [], c = [], f, d = window.navigator.userAgent, p;
4525
- ji({ withLocale: "en", translations: {} });
4546
+ Vi({ withLocale: "en", translations: {} });
4526
4547
  const g = () => {
4527
4548
  fetch(a).then((m) => m.json()).then((m) => {
4528
4549
  Object.keys(m).forEach((O) => {
4529
- Tt(O, m[O]);
4550
+ wt(O, m[O]);
4530
4551
  });
4531
4552
  }).catch((m) => {
4532
4553
  console.log(m);
4533
4554
  });
4534
4555
  };
4535
- Object.keys(St).forEach((m) => {
4536
- Tt(m, St[m]);
4556
+ Object.keys(Ht).forEach((m) => {
4557
+ wt(m, Ht[m]);
4537
4558
  });
4538
- const x = () => {
4539
- ki(h), setTimeout(
4559
+ const E = () => {
4560
+ Xi(h), setTimeout(
4540
4561
  () => {
4541
4562
  b();
4542
4563
  },
@@ -4553,7 +4574,7 @@ function Zi(e, t, r) {
4553
4574
  },
4554
4575
  window.location.href
4555
4576
  );
4556
- }, S = (m) => {
4577
+ }, T = (m) => {
4557
4578
  window.postMessage(
4558
4579
  {
4559
4580
  type: "TournamentGameAction",
@@ -4563,7 +4584,7 @@ function Zi(e, t, r) {
4563
4584
  },
4564
4585
  window.location.href
4565
4586
  );
4566
- }, E = () => {
4587
+ }, _ = () => {
4567
4588
  r(7, c = f.games?.items || []);
4568
4589
  const m = f.metadata?.sports?.rules;
4569
4590
  if (m) {
@@ -4575,36 +4596,36 @@ function Zi(e, t, r) {
4575
4596
  console.error("Error parsing tournament rules", O);
4576
4597
  }
4577
4598
  }
4578
- }, I = (m) => {
4599
+ }, N = (m) => {
4579
4600
  if (!m.data || !m.data.type)
4580
4601
  return;
4581
4602
  const O = m.data.tid || "";
4582
4603
  switch (m.data.type) {
4583
4604
  case "TournamentsTabSwitch":
4584
- O === Qe && r(5, u = m.data.tab);
4605
+ O === Ke && r(5, u = m.data.tab);
4585
4606
  break;
4586
4607
  case "TournamentsTabListenerLoaded":
4587
4608
  b();
4588
4609
  break;
4589
4610
  case "TournamentsGamesUpdate":
4590
- r(3, f = m.data.details), E();
4611
+ r(3, f = m.data.details), _();
4591
4612
  break;
4592
4613
  default:
4593
4614
  console.warn(`Unhandled message type: ${m.data.type}`);
4594
4615
  break;
4595
4616
  }
4596
4617
  };
4597
- xr(() => (window.postMessage(
4618
+ Sr(() => (window.postMessage(
4598
4619
  {
4599
4620
  type: "TournamentsGamesListenerLoaded",
4600
- gamesTabTid: Qe
4621
+ gamesTabTid: Ke
4601
4622
  },
4602
4623
  window.location.href
4603
- ), window.addEventListener("message", I, !1), () => {
4604
- window.removeEventListener("message", I);
4624
+ ), window.addEventListener("message", N, !1), () => {
4625
+ window.removeEventListener("message", N);
4605
4626
  }));
4606
- function L(m) {
4607
- Le[m ? "unshift" : "push"](() => {
4627
+ function C(m) {
4628
+ Me[m ? "unshift" : "push"](() => {
4608
4629
  p = m, r(4, p);
4609
4630
  });
4610
4631
  }
@@ -4612,12 +4633,12 @@ function Zi(e, t, r) {
4612
4633
  "clientstyling" in m && r(0, i = m.clientstyling), "clientstylingurl" in m && r(1, o = m.clientstylingurl), "mbsource" in m && r(2, s = m.mbsource), "translationurl" in m && r(11, a = m.translationurl), "lang" in m && r(12, h = m.lang);
4613
4634
  }, e.$$.update = () => {
4614
4635
  e.$$.dirty & /*tournamentdetails*/
4615
- 8 && f && E(), e.$$.dirty & /*lang*/
4616
- 4096 && h && x(), e.$$.dirty & /*translationurl*/
4636
+ 8 && f && _(), e.$$.dirty & /*lang*/
4637
+ 4096 && h && E(), e.$$.dirty & /*translationurl*/
4617
4638
  2048 && a && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4618
- 17 && i && p && $r(p, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4619
- 18 && o && p && Rr(p, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4620
- 20 && s && p && Gr(p, `${s}.Style`);
4639
+ 17 && i && p && Rr(p, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4640
+ 18 && o && p && Gr(p, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4641
+ 20 && s && p && Ur(p, `${s}.Style`);
4621
4642
  }, [
4622
4643
  i,
4623
4644
  o,
@@ -4629,20 +4650,20 @@ function Zi(e, t, r) {
4629
4650
  c,
4630
4651
  n,
4631
4652
  d,
4632
- S,
4653
+ T,
4633
4654
  a,
4634
4655
  h,
4635
- L
4656
+ C
4636
4657
  ];
4637
4658
  }
4638
- class Qi extends Cr {
4659
+ class qi extends Mr {
4639
4660
  constructor(t) {
4640
- super(), Nr(
4661
+ super(), Lr(
4641
4662
  this,
4642
4663
  t,
4643
- Zi,
4644
- zi,
4645
- It,
4664
+ Ji,
4665
+ Qi,
4666
+ Lt,
4646
4667
  {
4647
4668
  clientstyling: 0,
4648
4669
  clientstylingurl: 1,
@@ -4650,7 +4671,7 @@ class Qi extends Cr {
4650
4671
  translationurl: 11,
4651
4672
  lang: 12
4652
4673
  },
4653
- Vi
4674
+ Wi
4654
4675
  );
4655
4676
  }
4656
4677
  get clientstyling() {
@@ -4684,7 +4705,7 @@ class Qi extends Cr {
4684
4705
  this.$$set({ lang: t }), U();
4685
4706
  }
4686
4707
  }
4687
- Lr(Qi, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4708
+ Cr(qi, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4688
4709
  export {
4689
- Qi as C
4710
+ qi as C
4690
4711
  };