@everymatrix/casino-tournaments-filter-controller 1.61.1 → 1.62.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function C() {
2
2
  }
3
- function Ct(e) {
3
+ function Rt(e) {
4
4
  return e();
5
5
  }
6
- function Ye() {
6
+ function rt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function se(e) {
10
- e.forEach(Ct);
9
+ function oe(e) {
10
+ e.forEach(Rt);
11
11
  }
12
- function We(e) {
12
+ function qe(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function It(e, t) {
15
+ function $t(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function fr(e) {
18
+ function br(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Nt(e, ...t) {
21
+ function Ft(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function Nt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function cr(e, t, r) {
31
- e.$$.on_destroy.push(Nt(t, r));
30
+ function gr(e, t, r) {
31
+ e.$$.on_destroy.push(Ft(t, r));
32
32
  }
33
33
  function B(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function pr(e, t, r) {
37
- const n = mr(e);
36
+ function yr(e, t, r) {
37
+ const n = vr(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = U("style");
40
- i.id = t, i.textContent = r, dr(n, i);
40
+ i.id = t, i.textContent = r, _r(n, i);
41
41
  }
42
42
  }
43
- function mr(e) {
43
+ function vr(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,27 +50,27 @@ function mr(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function dr(e, t) {
53
+ function _r(e, t) {
54
54
  return B(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function R(e, t, r) {
60
+ function $(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function N(e) {
63
+ function M(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function br(e, t) {
66
+ function Er(e, t) {
67
67
  for (let r = 0; r < e.length; r += 1)
68
68
  e[r] && e[r].d(t);
69
69
  }
70
70
  function U(e) {
71
71
  return document.createElement(e);
72
72
  }
73
- function qe(e) {
73
+ function nt(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
76
  function G(e) {
@@ -79,20 +79,20 @@ function G(e) {
79
79
  function z() {
80
80
  return G(" ");
81
81
  }
82
- function gr(e, t, r, n) {
82
+ function xr(e, t, r, n) {
83
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
84
  }
85
- function x(e, t, r) {
85
+ function E(e, t, r) {
86
86
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
87
87
  }
88
- function vr(e) {
88
+ function Sr(e) {
89
89
  return Array.from(e.childNodes);
90
90
  }
91
- function ae(e, t) {
91
+ function se(e, t) {
92
92
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
93
93
  t);
94
94
  }
95
- function yr(e) {
95
+ function Tr(e) {
96
96
  const t = {};
97
97
  return e.childNodes.forEach(
98
98
  /** @param {Element} node */
@@ -101,82 +101,82 @@ function yr(e) {
101
101
  }
102
102
  ), t;
103
103
  }
104
- let Ze;
105
- function ne(e) {
106
- Ze = e;
104
+ let Ke;
105
+ function re(e) {
106
+ Ke = e;
107
107
  }
108
- const W = [], Ce = [];
108
+ const W = [], Me = [];
109
109
  let Z = [];
110
- const Ke = [], _r = /* @__PURE__ */ Promise.resolve();
111
- let Ie = !1;
112
- function Er() {
113
- Ie || (Ie = !0, _r.then(D));
110
+ const it = [], wr = /* @__PURE__ */ Promise.resolve();
111
+ let Le = !1;
112
+ function Hr() {
113
+ Le || (Le = !0, wr.then(D));
114
114
  }
115
- function Ne(e) {
115
+ function Re(e) {
116
116
  Z.push(e);
117
117
  }
118
- const Te = /* @__PURE__ */ new Set();
118
+ const He = /* @__PURE__ */ new Set();
119
119
  let V = 0;
120
120
  function D() {
121
121
  if (V !== 0)
122
122
  return;
123
- const e = Ze;
123
+ const e = Ke;
124
124
  do {
125
125
  try {
126
126
  for (; V < W.length; ) {
127
127
  const t = W[V];
128
- V++, ne(t), xr(t.$$);
128
+ V++, re(t), Ar(t.$$);
129
129
  }
130
130
  } catch (t) {
131
131
  throw W.length = 0, V = 0, t;
132
132
  }
133
- for (ne(null), W.length = 0, V = 0; Ce.length; )
134
- Ce.pop()();
133
+ for (re(null), W.length = 0, V = 0; Me.length; )
134
+ Me.pop()();
135
135
  for (let t = 0; t < Z.length; t += 1) {
136
136
  const r = Z[t];
137
- Te.has(r) || (Te.add(r), r());
137
+ He.has(r) || (He.add(r), r());
138
138
  }
139
139
  Z.length = 0;
140
140
  } while (W.length);
141
- for (; Ke.length; )
142
- Ke.pop()();
143
- Ie = !1, Te.clear(), ne(e);
141
+ for (; it.length; )
142
+ it.pop()();
143
+ Le = !1, He.clear(), re(e);
144
144
  }
145
- function xr(e) {
145
+ function Ar(e) {
146
146
  if (e.fragment !== null) {
147
- e.update(), se(e.before_update);
147
+ e.update(), oe(e.before_update);
148
148
  const t = e.dirty;
149
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
149
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
150
150
  }
151
151
  }
152
- function Sr(e) {
152
+ function Br(e) {
153
153
  const t = [], r = [];
154
154
  Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
155
155
  }
156
- const Tr = /* @__PURE__ */ new Set();
157
- function Hr(e, t) {
158
- e && e.i && (Tr.delete(e), e.i(t));
156
+ const Or = /* @__PURE__ */ new Set();
157
+ function Pr(e, t) {
158
+ e && e.i && (Or.delete(e), e.i(t));
159
159
  }
160
- function et(e) {
160
+ function ot(e) {
161
161
  return e?.length !== void 0 ? e : Array.from(e);
162
162
  }
163
- function wr(e, t, r) {
163
+ function Cr(e, t, r) {
164
164
  const { fragment: n, after_update: i } = e.$$;
165
- n && n.m(t, r), Ne(() => {
166
- const o = e.$$.on_mount.map(Ct).filter(We);
167
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
168
- }), i.forEach(Ne);
165
+ n && n.m(t, r), Re(() => {
166
+ const o = e.$$.on_mount.map(Rt).filter(qe);
167
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
168
+ }), i.forEach(Re);
169
169
  }
170
- function Ar(e, t) {
170
+ function Ir(e, t) {
171
171
  const r = e.$$;
172
- r.fragment !== null && (Sr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
172
+ r.fragment !== null && (Br(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
173
173
  }
174
- function Br(e, t) {
175
- e.$$.dirty[0] === -1 && (W.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
174
+ function Nr(e, t) {
175
+ e.$$.dirty[0] === -1 && (W.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
176
176
  }
177
- function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
178
- const l = Ze;
179
- ne(e);
177
+ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
178
+ const l = Ke;
179
+ re(e);
180
180
  const u = e.$$ = {
181
181
  fragment: null,
182
182
  ctx: [],
@@ -184,7 +184,7 @@ function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
184
184
  props: o,
185
185
  update: C,
186
186
  not_equal: i,
187
- bound: Ye(),
187
+ bound: rt(),
188
188
  // lifecycle
189
189
  on_mount: [],
190
190
  on_destroy: [],
@@ -193,7 +193,7 @@ function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
193
193
  after_update: [],
194
194
  context: new Map(t.context || (l ? l.$$.context : [])),
195
195
  // everything else
196
- callbacks: Ye(),
196
+ callbacks: rt(),
197
197
  dirty: a,
198
198
  skip_bound: !1,
199
199
  root: t.target || l.$$.root
@@ -201,20 +201,20 @@ function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
201
201
  s && s(u.root);
202
202
  let h = !1;
203
203
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
204
- const d = p.length ? p[0] : c;
205
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && Br(e, f)), c;
206
- }) : [], u.update(), h = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
204
+ const m = p.length ? p[0] : c;
205
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Nr(e, f)), c;
206
+ }) : [], u.update(), h = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
207
207
  if (t.hydrate) {
208
- const f = vr(t.target);
209
- u.fragment && u.fragment.l(f), f.forEach(N);
208
+ const f = Sr(t.target);
209
+ u.fragment && u.fragment.l(f), f.forEach(M);
210
210
  } else
211
211
  u.fragment && u.fragment.c();
212
- t.intro && Hr(e.$$.fragment), wr(e, t.target, t.anchor), D();
212
+ t.intro && Pr(e.$$.fragment), Cr(e, t.target, t.anchor), D();
213
213
  }
214
- ne(l);
214
+ re(l);
215
215
  }
216
- let Mt;
217
- typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
216
+ let Ut;
217
+ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
218
218
  /** The Svelte component constructor */
219
219
  $$ctor;
220
220
  /** Slots */
@@ -256,24 +256,24 @@ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
256
256
  let o;
257
257
  return {
258
258
  c: function() {
259
- o = U("slot"), i !== "default" && x(o, "name", i);
259
+ o = U("slot"), i !== "default" && E(o, "name", i);
260
260
  },
261
261
  /**
262
262
  * @param {HTMLElement} target
263
263
  * @param {HTMLElement} [anchor]
264
264
  */
265
265
  m: function(l, u) {
266
- R(l, o, u);
266
+ $(l, o, u);
267
267
  },
268
268
  d: function(l) {
269
- l && N(o);
269
+ l && M(o);
270
270
  }
271
271
  };
272
272
  };
273
273
  };
274
274
  if (await Promise.resolve(), !this.$$cn || this.$$c)
275
275
  return;
276
- const t = {}, r = yr(this);
276
+ const t = {}, r = Tr(this);
277
277
  for (const i of this.$$s)
278
278
  i in r && (t[i] = [e(i)]);
279
279
  for (const i of this.attributes) {
@@ -360,8 +360,8 @@ function pe(e, t, r, n) {
360
360
  return t;
361
361
  }
362
362
  }
363
- function Or(e, t, r, n, i, o) {
364
- let s = class extends Mt {
363
+ function Lr(e, t, r, n, i, o) {
364
+ let s = class extends Ut {
365
365
  constructor() {
366
366
  super(e, r, i), this.$$p_d = t;
367
367
  }
@@ -389,7 +389,7 @@ function Or(e, t, r, n, i, o) {
389
389
  }), e.element = /** @type {any} */
390
390
  s, s;
391
391
  }
392
- class Cr {
392
+ class Rr {
393
393
  /**
394
394
  * ### PRIVATE API
395
395
  *
@@ -408,7 +408,7 @@ class Cr {
408
408
  $$set = void 0;
409
409
  /** @returns {void} */
410
410
  $destroy() {
411
- Ar(this, 1), this.$destroy = C;
411
+ Ir(this, 1), this.$destroy = C;
412
412
  }
413
413
  /**
414
414
  * @template {Extract<keyof Events, string>} K
@@ -417,7 +417,7 @@ class Cr {
417
417
  * @returns {() => void}
418
418
  */
419
419
  $on(t, r) {
420
- if (!We(r))
420
+ if (!qe(r))
421
421
  return C;
422
422
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
423
423
  return n.push(r), () => {
@@ -430,11 +430,11 @@ class Cr {
430
430
  * @returns {void}
431
431
  */
432
432
  $set(t) {
433
- this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
433
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
434
434
  }
435
435
  }
436
- const Ir = "4";
437
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ir);
436
+ const $r = "4";
437
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
438
438
  /*! *****************************************************************************
439
439
  Copyright (c) Microsoft Corporation.
440
440
 
@@ -449,43 +449,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
449
449
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
450
450
  PERFORMANCE OF THIS SOFTWARE.
451
451
  ***************************************************************************** */
452
- var Me = function(e, t) {
453
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
452
+ var $e = function(e, t) {
453
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
454
454
  r.__proto__ = n;
455
455
  } || function(r, n) {
456
456
  for (var i in n)
457
457
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
458
- }, Me(e, t);
458
+ }, $e(e, t);
459
459
  };
460
- function $(e, t) {
460
+ function ae(e, t) {
461
461
  if (typeof t != "function" && t !== null)
462
462
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
463
- Me(e, t);
463
+ $e(e, t);
464
464
  function r() {
465
465
  this.constructor = e;
466
466
  }
467
467
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
468
468
  }
469
- var y = function() {
470
- return y = Object.assign || function(t) {
471
- for (var r, n = 1, i = arguments.length; n < i; n++) {
472
- r = arguments[n];
473
- for (var o in r)
474
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
475
- }
476
- return t;
477
- }, y.apply(this, arguments);
478
- };
479
- function Nr(e, t) {
480
- var r = {};
481
- for (var n in e)
482
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
483
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
484
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
485
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
486
- return r;
487
- }
488
- function Le(e) {
469
+ function Fe(e) {
489
470
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
490
471
  if (r)
491
472
  return r.call(e);
@@ -497,7 +478,7 @@ function Le(e) {
497
478
  };
498
479
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
499
480
  }
500
- function Re(e, t) {
481
+ function Ue(e, t) {
501
482
  var r = typeof Symbol == "function" && e[Symbol.iterator];
502
483
  if (!r)
503
484
  return e;
@@ -517,22 +498,22 @@ function Re(e, t) {
517
498
  }
518
499
  return o;
519
500
  }
520
- function Q(e, t, r) {
521
- if (r || arguments.length === 2)
501
+ function De(e, t, r) {
502
+ if (arguments.length === 2)
522
503
  for (var n = 0, i = t.length, o; n < i; n++)
523
504
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
524
505
  return e.concat(o || t);
525
506
  }
526
- function L(e) {
507
+ function R(e) {
527
508
  return typeof e == "function";
528
509
  }
529
- function Lt(e) {
510
+ function Dt(e) {
530
511
  var t = function(n) {
531
512
  Error.call(n), n.stack = new Error().stack;
532
513
  }, r = e(t);
533
514
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
534
515
  }
535
- var He = Lt(function(e) {
516
+ var Ae = Dt(function(e) {
536
517
  return function(r) {
537
518
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
538
519
  ` + r.map(function(n, i) {
@@ -541,13 +522,13 @@ var He = Lt(function(e) {
541
522
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
542
523
  };
543
524
  });
544
- function $e(e, t) {
525
+ function Ge(e, t) {
545
526
  if (e) {
546
527
  var r = e.indexOf(t);
547
528
  0 <= r && e.splice(r, 1);
548
529
  }
549
530
  }
550
- var ye = function() {
531
+ var _e = function() {
551
532
  function e(t) {
552
533
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
553
534
  }
@@ -559,12 +540,12 @@ var ye = function() {
559
540
  if (s)
560
541
  if (this._parentage = null, Array.isArray(s))
561
542
  try {
562
- for (var a = Le(s), l = a.next(); !l.done; l = a.next()) {
543
+ for (var a = Fe(s), l = a.next(); !l.done; l = a.next()) {
563
544
  var u = l.value;
564
545
  u.remove(this);
565
546
  }
566
- } catch (m) {
567
- t = { error: m };
547
+ } catch (d) {
548
+ t = { error: d };
568
549
  } finally {
569
550
  try {
570
551
  l && !l.done && (r = a.return) && r.call(a);
@@ -576,26 +557,26 @@ var ye = function() {
576
557
  else
577
558
  s.remove(this);
578
559
  var h = this.initialTeardown;
579
- if (L(h))
560
+ if (R(h))
580
561
  try {
581
562
  h();
582
- } catch (m) {
583
- o = m instanceof He ? m.errors : [m];
563
+ } catch (d) {
564
+ o = d instanceof Ae ? d.errors : [d];
584
565
  }
585
566
  var f = this._finalizers;
586
567
  if (f) {
587
568
  this._finalizers = null;
588
569
  try {
589
- for (var c = Le(f), p = c.next(); !p.done; p = c.next()) {
590
- var d = p.value;
570
+ for (var c = Fe(f), p = c.next(); !p.done; p = c.next()) {
571
+ var m = p.value;
591
572
  try {
592
- tt(d);
593
- } catch (m) {
594
- o = o ?? [], m instanceof He ? o = Q(Q([], Re(o)), Re(m.errors)) : o.push(m);
573
+ st(m);
574
+ } catch (d) {
575
+ o = o ?? [], d instanceof Ae ? o = De(De([], Ue(o)), Ue(d.errors)) : o.push(d);
595
576
  }
596
577
  }
597
- } catch (m) {
598
- n = { error: m };
578
+ } catch (d) {
579
+ n = { error: d };
599
580
  } finally {
600
581
  try {
601
582
  p && !p.done && (i = c.return) && i.call(c);
@@ -606,13 +587,13 @@ var ye = function() {
606
587
  }
607
588
  }
608
589
  if (o)
609
- throw new He(o);
590
+ throw new Ae(o);
610
591
  }
611
592
  }, e.prototype.add = function(t) {
612
593
  var r;
613
594
  if (t && t !== this)
614
595
  if (this.closed)
615
- tt(t);
596
+ st(t);
616
597
  else {
617
598
  if (t instanceof e) {
618
599
  if (t.closed || t._hasParent(this))
@@ -629,52 +610,52 @@ var ye = function() {
629
610
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
630
611
  }, e.prototype._removeParent = function(t) {
631
612
  var r = this._parentage;
632
- r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
613
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
633
614
  }, e.prototype.remove = function(t) {
634
615
  var r = this._finalizers;
635
- r && $e(r, t), t instanceof e && t._removeParent(this);
616
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
636
617
  }, e.EMPTY = function() {
637
618
  var t = new e();
638
619
  return t.closed = !0, t;
639
620
  }(), e;
640
- }(), Rt = ye.EMPTY;
641
- function $t(e) {
642
- return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
621
+ }(), Gt = _e.EMPTY;
622
+ function jt(e) {
623
+ return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
643
624
  }
644
- function tt(e) {
645
- L(e) ? e() : e.unsubscribe();
625
+ function st(e) {
626
+ R(e) ? e() : e.unsubscribe();
646
627
  }
647
- var Mr = {
628
+ var Fr = {
648
629
  Promise: void 0
649
- }, Lr = {
630
+ }, Ur = {
650
631
  setTimeout: function(e, t) {
651
632
  for (var r = [], n = 2; n < arguments.length; n++)
652
633
  r[n - 2] = arguments[n];
653
- return setTimeout.apply(void 0, Q([e, t], Re(r)));
634
+ return setTimeout.apply(void 0, De([e, t], Ue(r)));
654
635
  },
655
636
  clearTimeout: function(e) {
656
637
  return clearTimeout(e);
657
638
  },
658
639
  delegate: void 0
659
640
  };
660
- function Rr(e) {
661
- Lr.setTimeout(function() {
641
+ function Dr(e) {
642
+ Ur.setTimeout(function() {
662
643
  throw e;
663
644
  });
664
645
  }
665
- function rt() {
646
+ function at() {
666
647
  }
667
- function me(e) {
648
+ function de(e) {
668
649
  e();
669
650
  }
670
- var Ft = function(e) {
671
- $(t, e);
651
+ var kt = function(e) {
652
+ ae(t, e);
672
653
  function t(r) {
673
654
  var n = e.call(this) || this;
674
- return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Ur, n;
655
+ return n.isStopped = !1, r ? (n.destination = r, jt(r) && r.add(n)) : n.destination = kr, n;
675
656
  }
676
657
  return t.create = function(r, n, i) {
677
- return new Fe(r, n, i);
658
+ return new je(r, n, i);
678
659
  }, t.prototype.next = function(r) {
679
660
  this.isStopped || this._next(r);
680
661
  }, t.prototype.error = function(r) {
@@ -698,7 +679,7 @@ var Ft = function(e) {
698
679
  this.unsubscribe();
699
680
  }
700
681
  }, t;
701
- }(ye), $r = function() {
682
+ }(_e), Gr = function() {
702
683
  function e(t) {
703
684
  this.partialObserver = t;
704
685
  }
@@ -729,43 +710,43 @@ var Ft = function(e) {
729
710
  fe(r);
730
711
  }
731
712
  }, e;
732
- }(), Fe = function(e) {
733
- $(t, e);
713
+ }(), je = function(e) {
714
+ ae(t, e);
734
715
  function t(r, n, i) {
735
716
  var o = e.call(this) || this, s;
736
- return L(r) || !r ? s = {
717
+ return R(r) || !r ? s = {
737
718
  next: r ?? void 0,
738
719
  error: n ?? void 0,
739
720
  complete: i ?? void 0
740
- } : s = r, o.destination = new $r(s), o;
721
+ } : s = r, o.destination = new Gr(s), o;
741
722
  }
742
723
  return t;
743
- }(Ft);
724
+ }(kt);
744
725
  function fe(e) {
745
- Rr(e);
726
+ Dr(e);
746
727
  }
747
- function Fr(e) {
728
+ function jr(e) {
748
729
  throw e;
749
730
  }
750
- var Ur = {
731
+ var kr = {
751
732
  closed: !0,
752
- next: rt,
753
- error: Fr,
754
- complete: rt
755
- }, Dr = function() {
733
+ next: at,
734
+ error: jr,
735
+ complete: at
736
+ }, Vr = function() {
756
737
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
757
738
  }();
758
- function Gr(e) {
739
+ function Xr(e) {
759
740
  return e;
760
741
  }
761
- function jr(e) {
762
- return e.length === 0 ? Gr : e.length === 1 ? e[0] : function(r) {
742
+ function zr(e) {
743
+ return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
763
744
  return e.reduce(function(n, i) {
764
745
  return i(n);
765
746
  }, r);
766
747
  };
767
748
  }
768
- var nt = function() {
749
+ var ut = function() {
769
750
  function e(t) {
770
751
  t && (this._subscribe = t);
771
752
  }
@@ -773,8 +754,8 @@ var nt = function() {
773
754
  var r = new e();
774
755
  return r.source = this, r.operator = t, r;
775
756
  }, e.prototype.subscribe = function(t, r, n) {
776
- var i = this, o = Vr(t) ? t : new Fe(t, r, n);
777
- return me(function() {
757
+ var i = this, o = Zr(t) ? t : new je(t, r, n);
758
+ return de(function() {
778
759
  var s = i, a = s.operator, l = s.source;
779
760
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
780
761
  }), o;
@@ -786,8 +767,8 @@ var nt = function() {
786
767
  }
787
768
  }, e.prototype.forEach = function(t, r) {
788
769
  var n = this;
789
- return r = it(r), new r(function(i, o) {
790
- var s = new Fe({
770
+ return r = lt(r), new r(function(i, o) {
771
+ var s = new je({
791
772
  next: function(a) {
792
773
  try {
793
774
  t(a);
@@ -803,15 +784,15 @@ var nt = function() {
803
784
  }, e.prototype._subscribe = function(t) {
804
785
  var r;
805
786
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
806
- }, e.prototype[Dr] = function() {
787
+ }, e.prototype[Vr] = function() {
807
788
  return this;
808
789
  }, e.prototype.pipe = function() {
809
790
  for (var t = [], r = 0; r < arguments.length; r++)
810
791
  t[r] = arguments[r];
811
- return jr(t)(this);
792
+ return zr(t)(this);
812
793
  }, e.prototype.toPromise = function(t) {
813
794
  var r = this;
814
- return t = it(t), new t(function(n, i) {
795
+ return t = lt(t), new t(function(n, i) {
815
796
  var o;
816
797
  r.subscribe(function(s) {
817
798
  return o = s;
@@ -825,40 +806,40 @@ var nt = function() {
825
806
  return new e(t);
826
807
  }, e;
827
808
  }();
828
- function it(e) {
809
+ function lt(e) {
829
810
  var t;
830
- return (t = e ?? Mr.Promise) !== null && t !== void 0 ? t : Promise;
811
+ return (t = e ?? Fr.Promise) !== null && t !== void 0 ? t : Promise;
831
812
  }
832
- function kr(e) {
833
- return e && L(e.next) && L(e.error) && L(e.complete);
813
+ function Wr(e) {
814
+ return e && R(e.next) && R(e.error) && R(e.complete);
834
815
  }
835
- function Vr(e) {
836
- return e && e instanceof Ft || kr(e) && $t(e);
816
+ function Zr(e) {
817
+ return e && e instanceof kt || Wr(e) && jt(e);
837
818
  }
838
- var Xr = Lt(function(e) {
819
+ var Qr = Dt(function(e) {
839
820
  return function() {
840
821
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
841
822
  };
842
- }), Ut = function(e) {
843
- $(t, e);
823
+ }), Vt = function(e) {
824
+ ae(t, e);
844
825
  function t() {
845
826
  var r = e.call(this) || this;
846
827
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
847
828
  }
848
829
  return t.prototype.lift = function(r) {
849
- var n = new ot(this, this);
830
+ var n = new ht(this, this);
850
831
  return n.operator = r, n;
851
832
  }, t.prototype._throwIfClosed = function() {
852
833
  if (this.closed)
853
- throw new Xr();
834
+ throw new Qr();
854
835
  }, t.prototype.next = function(r) {
855
836
  var n = this;
856
- me(function() {
837
+ de(function() {
857
838
  var i, o;
858
839
  if (n._throwIfClosed(), !n.isStopped) {
859
840
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
860
841
  try {
861
- for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
842
+ for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
862
843
  var l = a.value;
863
844
  l.next(r);
864
845
  }
@@ -876,7 +857,7 @@ var Xr = Lt(function(e) {
876
857
  });
877
858
  }, t.prototype.error = function(r) {
878
859
  var n = this;
879
- me(function() {
860
+ de(function() {
880
861
  if (n._throwIfClosed(), !n.isStopped) {
881
862
  n.hasError = n.isStopped = !0, n.thrownError = r;
882
863
  for (var i = n.observers; i.length; )
@@ -885,7 +866,7 @@ var Xr = Lt(function(e) {
885
866
  });
886
867
  }, t.prototype.complete = function() {
887
868
  var r = this;
888
- me(function() {
869
+ de(function() {
889
870
  if (r._throwIfClosed(), !r.isStopped) {
890
871
  r.isStopped = !0;
891
872
  for (var n = r.observers; n.length; )
@@ -907,20 +888,20 @@ var Xr = Lt(function(e) {
907
888
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
908
889
  }, t.prototype._innerSubscribe = function(r) {
909
890
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
910
- return o || s ? Rt : (this.currentObservers = null, a.push(r), new ye(function() {
911
- n.currentObservers = null, $e(a, r);
891
+ return o || s ? Gt : (this.currentObservers = null, a.push(r), new _e(function() {
892
+ n.currentObservers = null, Ge(a, r);
912
893
  }));
913
894
  }, t.prototype._checkFinalizedStatuses = function(r) {
914
895
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
915
896
  i ? r.error(o) : s && r.complete();
916
897
  }, t.prototype.asObservable = function() {
917
- var r = new nt();
898
+ var r = new ut();
918
899
  return r.source = this, r;
919
900
  }, t.create = function(r, n) {
920
- return new ot(r, n);
901
+ return new ht(r, n);
921
902
  }, t;
922
- }(nt), ot = function(e) {
923
- $(t, e);
903
+ }(ut), ht = function(e) {
904
+ ae(t, e);
924
905
  function t(r, n) {
925
906
  var i = e.call(this) || this;
926
907
  return i.destination = r, i.source = n, i;
@@ -936,17 +917,17 @@ var Xr = Lt(function(e) {
936
917
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
937
918
  }, t.prototype._subscribe = function(r) {
938
919
  var n, i;
939
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
920
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
940
921
  }, t;
941
- }(Ut), Dt = {
922
+ }(Vt), Xt = {
942
923
  now: function() {
943
- return (Dt.delegate || Date).now();
924
+ return (Xt.delegate || Date).now();
944
925
  },
945
926
  delegate: void 0
946
- }, zr = function(e) {
947
- $(t, e);
927
+ }, Jr = function(e) {
928
+ ae(t, e);
948
929
  function t(r, n, i) {
949
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
930
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Xt);
950
931
  var o = e.call(this) || this;
951
932
  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;
952
933
  }
@@ -966,24 +947,24 @@ var Xr = Lt(function(e) {
966
947
  u && o.splice(0, u + 1);
967
948
  }
968
949
  }, t;
969
- }(Ut);
970
- const st = [], at = {}, Wr = (e, t = 0) => {
971
- if (st.indexOf(e) == -1) {
972
- const r = new zr(t);
973
- at[e] = r, st.push(e);
950
+ }(Vt);
951
+ const ft = [], ct = {}, Yr = (e, t = 0) => {
952
+ if (ft.indexOf(e) == -1) {
953
+ const r = new Jr(t);
954
+ ct[e] = r, ft.push(e);
974
955
  }
975
- return at[e];
956
+ return ct[e];
976
957
  }, X = [];
977
- function Zr(e, t) {
958
+ function qr(e, t) {
978
959
  return {
979
- subscribe: _e(e, t).subscribe
960
+ subscribe: Ee(e, t).subscribe
980
961
  };
981
962
  }
982
- function _e(e, t = C) {
963
+ function Ee(e, t = C) {
983
964
  let r;
984
965
  const n = /* @__PURE__ */ new Set();
985
966
  function i(a) {
986
- if (It(e, a) && (e = a, r)) {
967
+ if ($t(e, a) && (e = a, r)) {
987
968
  const l = !X.length;
988
969
  for (const u of n)
989
970
  u[1](), X.push(u, e);
@@ -1005,12 +986,12 @@ function _e(e, t = C) {
1005
986
  }
1006
987
  return { set: i, update: o, subscribe: s };
1007
988
  }
1008
- function ee(e, t, r) {
989
+ function K(e, t, r) {
1009
990
  const n = !Array.isArray(e), i = n ? [e] : e;
1010
991
  if (!i.every(Boolean))
1011
992
  throw new Error("derived() expects stores as input, got a falsy value");
1012
993
  const o = t.length < 2;
1013
- return Zr(r, (s, a) => {
994
+ return qr(r, (s, a) => {
1014
995
  let l = !1;
1015
996
  const u = [];
1016
997
  let h = 0, f = C;
@@ -1018,129 +999,171 @@ function ee(e, t, r) {
1018
999
  if (h)
1019
1000
  return;
1020
1001
  f();
1021
- const d = t(n ? u[0] : u, s, a);
1022
- o ? s(d) : f = We(d) ? d : C;
1002
+ const m = t(n ? u[0] : u, s, a);
1003
+ o ? s(m) : f = qe(m) ? m : C;
1023
1004
  }, p = i.map(
1024
- (d, m) => Nt(
1025
- d,
1026
- (_) => {
1027
- u[m] = _, h &= ~(1 << m), l && c();
1005
+ (m, d) => Ft(
1006
+ m,
1007
+ (v) => {
1008
+ u[d] = v, h &= ~(1 << d), l && c();
1028
1009
  },
1029
1010
  () => {
1030
- h |= 1 << m;
1011
+ h |= 1 << d;
1031
1012
  }
1032
1013
  )
1033
1014
  );
1034
1015
  return l = !0, c(), function() {
1035
- se(p), f(), l = !1;
1016
+ oe(p), f(), l = !1;
1036
1017
  };
1037
1018
  });
1038
1019
  }
1039
- function Qr(e) {
1020
+ function Kr(e) {
1040
1021
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1041
1022
  }
1042
- var Jr = function(t) {
1043
- return Yr(t) && !qr(t);
1023
+ var en = function(t) {
1024
+ return tn(t) && !rn(t);
1044
1025
  };
1045
- function Yr(e) {
1026
+ function tn(e) {
1046
1027
  return !!e && typeof e == "object";
1047
1028
  }
1048
- function qr(e) {
1029
+ function rn(e) {
1049
1030
  var t = Object.prototype.toString.call(e);
1050
- return t === "[object RegExp]" || t === "[object Date]" || tn(e);
1031
+ return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1051
1032
  }
1052
- var Kr = typeof Symbol == "function" && Symbol.for, en = Kr ? Symbol.for("react.element") : 60103;
1053
- function tn(e) {
1054
- return e.$$typeof === en;
1033
+ var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
1034
+ function sn(e) {
1035
+ return e.$$typeof === on;
1055
1036
  }
1056
- function rn(e) {
1037
+ function an(e) {
1057
1038
  return Array.isArray(e) ? [] : {};
1058
1039
  }
1059
- function ie(e, t) {
1060
- return t.clone !== !1 && t.isMergeableObject(e) ? J(rn(e), e, t) : e;
1040
+ function ne(e, t) {
1041
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(an(e), e, t) : e;
1061
1042
  }
1062
- function nn(e, t, r) {
1043
+ function un(e, t, r) {
1063
1044
  return e.concat(t).map(function(n) {
1064
- return ie(n, r);
1045
+ return ne(n, r);
1065
1046
  });
1066
1047
  }
1067
- function on(e, t) {
1048
+ function ln(e, t) {
1068
1049
  if (!t.customMerge)
1069
- return J;
1050
+ return Q;
1070
1051
  var r = t.customMerge(e);
1071
- return typeof r == "function" ? r : J;
1052
+ return typeof r == "function" ? r : Q;
1072
1053
  }
1073
- function sn(e) {
1054
+ function hn(e) {
1074
1055
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1075
1056
  return Object.propertyIsEnumerable.call(e, t);
1076
1057
  }) : [];
1077
1058
  }
1078
- function ut(e) {
1079
- return Object.keys(e).concat(sn(e));
1059
+ function pt(e) {
1060
+ return Object.keys(e).concat(hn(e));
1080
1061
  }
1081
- function Gt(e, t) {
1062
+ function zt(e, t) {
1082
1063
  try {
1083
1064
  return t in e;
1084
1065
  } catch {
1085
1066
  return !1;
1086
1067
  }
1087
1068
  }
1088
- function an(e, t) {
1089
- return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1069
+ function fn(e, t) {
1070
+ return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1090
1071
  }
1091
- function un(e, t, r) {
1072
+ function cn(e, t, r) {
1092
1073
  var n = {};
1093
- return r.isMergeableObject(e) && ut(e).forEach(function(i) {
1094
- n[i] = ie(e[i], r);
1095
- }), ut(t).forEach(function(i) {
1096
- an(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1074
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1075
+ n[i] = ne(e[i], r);
1076
+ }), pt(t).forEach(function(i) {
1077
+ fn(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1097
1078
  }), n;
1098
1079
  }
1099
- function J(e, t, r) {
1100
- r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || Jr, r.cloneUnlessOtherwiseSpecified = ie;
1080
+ function Q(e, t, r) {
1081
+ r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ne;
1101
1082
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1102
- return o ? n ? r.arrayMerge(e, t, r) : un(e, t, r) : ie(t, r);
1083
+ return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ne(t, r);
1103
1084
  }
1104
- J.all = function(t, r) {
1085
+ Q.all = function(t, r) {
1105
1086
  if (!Array.isArray(t))
1106
1087
  throw new Error("first argument should be an array");
1107
1088
  return t.reduce(function(n, i) {
1108
- return J(n, i, r);
1089
+ return Q(n, i, r);
1109
1090
  }, {});
1110
1091
  };
1111
- var ln = J, hn = ln;
1112
- const fn = /* @__PURE__ */ Qr(hn);
1113
- function we(e, t) {
1114
- var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : mn;
1092
+ var pn = Q, dn = pn;
1093
+ const mn = /* @__PURE__ */ Kr(dn);
1094
+ var ke = function(e, t) {
1095
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1096
+ r.__proto__ = n;
1097
+ } || function(r, n) {
1098
+ for (var i in n)
1099
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1100
+ }, ke(e, t);
1101
+ };
1102
+ function xe(e, t) {
1103
+ if (typeof t != "function" && t !== null)
1104
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1105
+ ke(e, t);
1106
+ function r() {
1107
+ this.constructor = e;
1108
+ }
1109
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1110
+ }
1111
+ var N = function() {
1112
+ return N = Object.assign || function(t) {
1113
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1114
+ r = arguments[n];
1115
+ for (var o in r)
1116
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1117
+ }
1118
+ return t;
1119
+ }, N.apply(this, arguments);
1120
+ };
1121
+ function bn(e, t) {
1122
+ var r = {};
1123
+ for (var n in e)
1124
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1125
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1126
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1127
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1128
+ return r;
1129
+ }
1130
+ function Be(e, t, r) {
1131
+ if (r || arguments.length === 2)
1132
+ for (var n = 0, i = t.length, o; n < i; n++)
1133
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1134
+ return e.concat(o || Array.prototype.slice.call(t));
1135
+ }
1136
+ function Oe(e, t) {
1137
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : vn;
1115
1138
  return i(e, {
1116
1139
  cache: r,
1117
1140
  serializer: n
1118
1141
  });
1119
1142
  }
1120
- function cn(e) {
1143
+ function gn(e) {
1121
1144
  return e == null || typeof e == "number" || typeof e == "boolean";
1122
1145
  }
1123
- function pn(e, t, r, n) {
1124
- var i = cn(n) ? n : r(n), o = t.get(i);
1146
+ function yn(e, t, r, n) {
1147
+ var i = gn(n) ? n : r(n), o = t.get(i);
1125
1148
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1126
1149
  }
1127
- function jt(e, t, r) {
1150
+ function Wt(e, t, r) {
1128
1151
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1129
1152
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1130
1153
  }
1131
- function kt(e, t, r, n, i) {
1154
+ function Zt(e, t, r, n, i) {
1132
1155
  return r.bind(t, e, n, i);
1133
1156
  }
1134
- function mn(e, t) {
1135
- var r = e.length === 1 ? pn : jt;
1136
- return kt(e, this, r, t.cache.create(), t.serializer);
1157
+ function vn(e, t) {
1158
+ var r = e.length === 1 ? yn : Wt;
1159
+ return Zt(e, this, r, t.cache.create(), t.serializer);
1137
1160
  }
1138
- function dn(e, t) {
1139
- return kt(e, this, jt, t.cache.create(), t.serializer);
1161
+ function _n(e, t) {
1162
+ return Zt(e, this, Wt, t.cache.create(), t.serializer);
1140
1163
  }
1141
- var bn = function() {
1164
+ var En = function() {
1142
1165
  return JSON.stringify(arguments);
1143
- }, gn = (
1166
+ }, xn = (
1144
1167
  /** @class */
1145
1168
  function() {
1146
1169
  function e() {
@@ -1152,61 +1175,71 @@ var bn = function() {
1152
1175
  this.cache[t] = r;
1153
1176
  }, e;
1154
1177
  }()
1155
- ), vn = {
1178
+ ), Sn = {
1156
1179
  create: function() {
1157
- return new gn();
1180
+ return new xn();
1158
1181
  }
1159
- }, Ae = {
1160
- variadic: dn
1161
- }, b;
1182
+ }, Pe = {
1183
+ variadic: _n
1184
+ }, ge = function() {
1185
+ return ge = Object.assign || function(t) {
1186
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1187
+ r = arguments[n];
1188
+ for (var o in r)
1189
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1190
+ }
1191
+ return t;
1192
+ }, ge.apply(this, arguments);
1193
+ };
1194
+ var b;
1162
1195
  (function(e) {
1163
1196
  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";
1164
1197
  })(b || (b = {}));
1165
- var E;
1198
+ var _;
1166
1199
  (function(e) {
1167
1200
  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";
1168
- })(E || (E = {}));
1169
- var Y;
1201
+ })(_ || (_ = {}));
1202
+ var J;
1170
1203
  (function(e) {
1171
1204
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1172
- })(Y || (Y = {}));
1173
- function lt(e) {
1174
- return e.type === E.literal;
1205
+ })(J || (J = {}));
1206
+ function dt(e) {
1207
+ return e.type === _.literal;
1175
1208
  }
1176
- function yn(e) {
1177
- return e.type === E.argument;
1209
+ function Tn(e) {
1210
+ return e.type === _.argument;
1178
1211
  }
1179
- function Vt(e) {
1180
- return e.type === E.number;
1212
+ function Qt(e) {
1213
+ return e.type === _.number;
1181
1214
  }
1182
- function Xt(e) {
1183
- return e.type === E.date;
1215
+ function Jt(e) {
1216
+ return e.type === _.date;
1184
1217
  }
1185
- function zt(e) {
1186
- return e.type === E.time;
1218
+ function Yt(e) {
1219
+ return e.type === _.time;
1187
1220
  }
1188
- function Wt(e) {
1189
- return e.type === E.select;
1221
+ function qt(e) {
1222
+ return e.type === _.select;
1190
1223
  }
1191
- function Zt(e) {
1192
- return e.type === E.plural;
1224
+ function Kt(e) {
1225
+ return e.type === _.plural;
1193
1226
  }
1194
- function _n(e) {
1195
- return e.type === E.pound;
1227
+ function wn(e) {
1228
+ return e.type === _.pound;
1196
1229
  }
1197
- function Qt(e) {
1198
- return e.type === E.tag;
1230
+ function er(e) {
1231
+ return e.type === _.tag;
1199
1232
  }
1200
- function Jt(e) {
1201
- return !!(e && typeof e == "object" && e.type === Y.number);
1233
+ function tr(e) {
1234
+ return !!(e && typeof e == "object" && e.type === J.number);
1202
1235
  }
1203
- function Ue(e) {
1204
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
1236
+ function Ve(e) {
1237
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
1205
1238
  }
1206
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
1207
- function xn(e) {
1239
+ var rr = /[ \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;
1240
+ function An(e) {
1208
1241
  var t = {};
1209
- return e.replace(En, function(r) {
1242
+ return e.replace(Hn, function(r) {
1210
1243
  var n = r.length;
1211
1244
  switch (r[0]) {
1212
1245
  case "G":
@@ -1295,11 +1328,21 @@ function xn(e) {
1295
1328
  return "";
1296
1329
  }), t;
1297
1330
  }
1298
- var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1299
- function Tn(e) {
1331
+ var S = function() {
1332
+ return S = Object.assign || function(t) {
1333
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1334
+ r = arguments[n];
1335
+ for (var o in r)
1336
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1337
+ }
1338
+ return t;
1339
+ }, S.apply(this, arguments);
1340
+ };
1341
+ var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1342
+ function On(e) {
1300
1343
  if (e.length === 0)
1301
1344
  throw new Error("Number skeleton cannot be empty");
1302
- for (var t = e.split(Sn).filter(function(c) {
1345
+ for (var t = e.split(Bn).filter(function(c) {
1303
1346
  return c.length > 0;
1304
1347
  }), r = [], n = 0, i = t; n < i.length; n++) {
1305
1348
  var o = i[n], s = o.split("/");
@@ -1314,17 +1357,17 @@ function Tn(e) {
1314
1357
  }
1315
1358
  return r;
1316
1359
  }
1317
- function Hn(e) {
1360
+ function Pn(e) {
1318
1361
  return e.replace(/^(.*?)-/, "");
1319
1362
  }
1320
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, wn = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
1321
- function ft(e) {
1363
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1364
+ function bt(e) {
1322
1365
  var t = {};
1323
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1366
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
1324
1367
  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)), "";
1325
1368
  }), t;
1326
1369
  }
1327
- function er(e) {
1370
+ function or(e) {
1328
1371
  switch (e) {
1329
1372
  case "sign-auto":
1330
1373
  return {
@@ -1364,7 +1407,7 @@ function er(e) {
1364
1407
  };
1365
1408
  }
1366
1409
  }
1367
- function An(e) {
1410
+ function In(e) {
1368
1411
  var t;
1369
1412
  if (e[0] === "E" && e[1] === "E" ? (t = {
1370
1413
  notation: "engineering"
@@ -1372,17 +1415,17 @@ function An(e) {
1372
1415
  notation: "scientific"
1373
1416
  }, e = e.slice(1)), t) {
1374
1417
  var r = e.slice(0, 2);
1375
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kt.test(e))
1418
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
1376
1419
  throw new Error("Malformed concise eng/scientific notation");
1377
1420
  t.minimumIntegerDigits = e.length;
1378
1421
  }
1379
1422
  return t;
1380
1423
  }
1381
- function ct(e) {
1382
- var t = {}, r = er(e);
1424
+ function gt(e) {
1425
+ var t = {}, r = or(e);
1383
1426
  return r || t;
1384
1427
  }
1385
- function Bn(e) {
1428
+ function Nn(e) {
1386
1429
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1387
1430
  var i = n[r];
1388
1431
  switch (i.stem) {
@@ -1406,7 +1449,7 @@ function Bn(e) {
1406
1449
  continue;
1407
1450
  case "measure-unit":
1408
1451
  case "unit":
1409
- t.style = "unit", t.unit = Hn(i.options[0]);
1452
+ t.style = "unit", t.unit = Pn(i.options[0]);
1410
1453
  continue;
1411
1454
  case "compact-short":
1412
1455
  case "K":
@@ -1417,13 +1460,13 @@ function Bn(e) {
1417
1460
  t.notation = "compact", t.compactDisplay = "long";
1418
1461
  continue;
1419
1462
  case "scientific":
1420
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1421
- return y(y({}, l), ct(u));
1463
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1464
+ return S(S({}, l), gt(u));
1422
1465
  }, {}));
1423
1466
  continue;
1424
1467
  case "engineering":
1425
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1426
- return y(y({}, l), ct(u));
1468
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1469
+ return S(S({}, l), gt(u));
1427
1470
  }, {}));
1428
1471
  continue;
1429
1472
  case "notation-simple":
@@ -1468,7 +1511,7 @@ function Bn(e) {
1468
1511
  case "integer-width":
1469
1512
  if (i.options.length > 1)
1470
1513
  throw new RangeError("integer-width stems only accept a single optional option");
1471
- i.options[0].replace(wn, function(l, u, h, f, c, p) {
1514
+ i.options[0].replace(Cn, function(l, u, h, f, c, p) {
1472
1515
  if (u)
1473
1516
  t.minimumIntegerDigits = h.length;
1474
1517
  else {
@@ -1481,28 +1524,28 @@ function Bn(e) {
1481
1524
  });
1482
1525
  continue;
1483
1526
  }
1484
- if (Kt.test(i.stem)) {
1527
+ if (ir.test(i.stem)) {
1485
1528
  t.minimumIntegerDigits = i.stem.length;
1486
1529
  continue;
1487
1530
  }
1488
- if (ht.test(i.stem)) {
1531
+ if (mt.test(i.stem)) {
1489
1532
  if (i.options.length > 1)
1490
1533
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1491
- i.stem.replace(ht, function(l, u, h, f, c, p) {
1534
+ i.stem.replace(mt, function(l, u, h, f, c, p) {
1492
1535
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1493
1536
  });
1494
1537
  var o = i.options[0];
1495
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ft(o)));
1538
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), bt(o)));
1496
1539
  continue;
1497
1540
  }
1498
- if (qt.test(i.stem)) {
1499
- t = y(y({}, t), ft(i.stem));
1541
+ if (nr.test(i.stem)) {
1542
+ t = S(S({}, t), bt(i.stem));
1500
1543
  continue;
1501
1544
  }
1502
- var s = er(i.stem);
1503
- s && (t = y(y({}, t), s));
1504
- var a = An(i.stem);
1505
- a && (t = y(y({}, t), a));
1545
+ var s = or(i.stem);
1546
+ s && (t = S(S({}, t), s));
1547
+ var a = In(i.stem);
1548
+ a && (t = S(S({}, t), a));
1506
1549
  }
1507
1550
  return t;
1508
1551
  }
@@ -2921,13 +2964,13 @@ var ce = {
2921
2964
  "h"
2922
2965
  ]
2923
2966
  };
2924
- function Pn(e, t) {
2967
+ function Mn(e, t) {
2925
2968
  for (var r = "", n = 0; n < e.length; n++) {
2926
2969
  var i = e.charAt(n);
2927
2970
  if (i === "j") {
2928
2971
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2929
2972
  o++, n++;
2930
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = On(t);
2973
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ln(t);
2931
2974
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2932
2975
  r += l;
2933
2976
  for (; s-- > 0; )
@@ -2937,7 +2980,7 @@ function Pn(e, t) {
2937
2980
  }
2938
2981
  return r;
2939
2982
  }
2940
- function On(e) {
2983
+ function Ln(e) {
2941
2984
  var t = e.hourCycle;
2942
2985
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2943
2986
  e.hourCycles && // @ts-ignore
@@ -2959,20 +3002,20 @@ function On(e) {
2959
3002
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2960
3003
  return i[0];
2961
3004
  }
2962
- var Be, Cn = new RegExp("^".concat(Yt.source, "*")), In = new RegExp("".concat(Yt.source, "*$"));
3005
+ var Ce, Rn = new RegExp("^".concat(rr.source, "*")), $n = new RegExp("".concat(rr.source, "*$"));
2963
3006
  function g(e, t) {
2964
3007
  return { start: e, end: t };
2965
3008
  }
2966
- var Nn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mn = !!String.fromCodePoint, Ln = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Dn = Un ? Number.isSafeInteger : function(e) {
3009
+ var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Dn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
2967
3010
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2968
- }, De = !0;
3011
+ }, Xe = !0;
2969
3012
  try {
2970
- var Gn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2971
- De = ((Be = Gn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3013
+ var zn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3014
+ Xe = ((Ce = zn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2972
3015
  } catch {
2973
- De = !1;
3016
+ Xe = !1;
2974
3017
  }
2975
- var pt = Nn ? (
3018
+ var yt = Fn ? (
2976
3019
  // Native
2977
3020
  function(t, r, n) {
2978
3021
  return t.startsWith(r, n);
@@ -2982,7 +3025,7 @@ var pt = Nn ? (
2982
3025
  function(t, r, n) {
2983
3026
  return t.slice(n, n + r.length) === r;
2984
3027
  }
2985
- ), Ge = Mn ? String.fromCodePoint : (
3028
+ ), ze = Un ? String.fromCodePoint : (
2986
3029
  // IE11
2987
3030
  function() {
2988
3031
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2994,9 +3037,9 @@ var pt = Nn ? (
2994
3037
  }
2995
3038
  return n;
2996
3039
  }
2997
- ), mt = (
3040
+ ), vt = (
2998
3041
  // native
2999
- Ln ? Object.fromEntries : (
3042
+ Dn ? Object.fromEntries : (
3000
3043
  // Ponyfill
3001
3044
  function(t) {
3002
3045
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3006,7 +3049,7 @@ var pt = Nn ? (
3006
3049
  return r;
3007
3050
  }
3008
3051
  )
3009
- ), tr = Rn ? (
3052
+ ), sr = Gn ? (
3010
3053
  // Native
3011
3054
  function(t, r) {
3012
3055
  return t.codePointAt(r);
@@ -3020,7 +3063,7 @@ var pt = Nn ? (
3020
3063
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3021
3064
  }
3022
3065
  }
3023
- ), jn = $n ? (
3066
+ ), Wn = jn ? (
3024
3067
  // Native
3025
3068
  function(t) {
3026
3069
  return t.trimStart();
@@ -3028,9 +3071,9 @@ var pt = Nn ? (
3028
3071
  ) : (
3029
3072
  // Ponyfill
3030
3073
  function(t) {
3031
- return t.replace(Cn, "");
3074
+ return t.replace(Rn, "");
3032
3075
  }
3033
- ), kn = Fn ? (
3076
+ ), Zn = kn ? (
3034
3077
  // Native
3035
3078
  function(t) {
3036
3079
  return t.trimEnd();
@@ -3038,32 +3081,32 @@ var pt = Nn ? (
3038
3081
  ) : (
3039
3082
  // Ponyfill
3040
3083
  function(t) {
3041
- return t.replace(In, "");
3084
+ return t.replace($n, "");
3042
3085
  }
3043
3086
  );
3044
- function rr(e, t) {
3087
+ function ar(e, t) {
3045
3088
  return new RegExp(e, t);
3046
3089
  }
3047
- var je;
3048
- if (De) {
3049
- var dt = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3050
- je = function(t, r) {
3090
+ var We;
3091
+ if (Xe) {
3092
+ var _t = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3093
+ We = function(t, r) {
3051
3094
  var n;
3052
- dt.lastIndex = r;
3053
- var i = dt.exec(t);
3095
+ _t.lastIndex = r;
3096
+ var i = _t.exec(t);
3054
3097
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3055
3098
  };
3056
3099
  } else
3057
- je = function(t, r) {
3100
+ We = function(t, r) {
3058
3101
  for (var n = []; ; ) {
3059
- var i = tr(t, r);
3060
- if (i === void 0 || nr(i) || Wn(i))
3102
+ var i = sr(t, r);
3103
+ if (i === void 0 || ur(i) || qn(i))
3061
3104
  break;
3062
3105
  n.push(i), r += i >= 65536 ? 2 : 1;
3063
3106
  }
3064
- return Ge.apply(void 0, n);
3107
+ return ze.apply(void 0, n);
3065
3108
  };
3066
- var Vn = (
3109
+ var Qn = (
3067
3110
  /** @class */
3068
3111
  function() {
3069
3112
  function e(t, r) {
@@ -3087,14 +3130,14 @@ var Vn = (
3087
3130
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3088
3131
  var a = this.clonePosition();
3089
3132
  this.bump(), i.push({
3090
- type: E.pound,
3133
+ type: _.pound,
3091
3134
  location: g(a, this.clonePosition())
3092
3135
  });
3093
3136
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3094
3137
  if (n)
3095
3138
  break;
3096
3139
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3097
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3140
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3098
3141
  var s = this.parseTag(t, r);
3099
3142
  if (s.err)
3100
3143
  return s;
@@ -3115,7 +3158,7 @@ var Vn = (
3115
3158
  if (this.bumpSpace(), this.bumpIf("/>"))
3116
3159
  return {
3117
3160
  val: {
3118
- type: E.literal,
3161
+ type: _.literal,
3119
3162
  value: "<".concat(i, "/>"),
3120
3163
  location: g(n, this.clonePosition())
3121
3164
  },
@@ -3127,12 +3170,12 @@ var Vn = (
3127
3170
  return o;
3128
3171
  var s = o.val, a = this.clonePosition();
3129
3172
  if (this.bumpIf("</")) {
3130
- if (this.isEOF() || !ke(this.char()))
3173
+ if (this.isEOF() || !Ze(this.char()))
3131
3174
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3132
3175
  var l = this.clonePosition(), u = this.parseTagName();
3133
3176
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3134
3177
  val: {
3135
- type: E.tag,
3178
+ type: _.tag,
3136
3179
  value: i,
3137
3180
  children: s,
3138
3181
  location: g(n, this.clonePosition())
@@ -3145,7 +3188,7 @@ var Vn = (
3145
3188
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3146
3189
  }, e.prototype.parseTagName = function() {
3147
3190
  var t = this.offset();
3148
- for (this.bump(); !this.isEOF() && zn(this.char()); )
3191
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3149
3192
  this.bump();
3150
3193
  return this.message.slice(t, this.offset());
3151
3194
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3169,12 +3212,12 @@ var Vn = (
3169
3212
  }
3170
3213
  var l = g(n, this.clonePosition());
3171
3214
  return {
3172
- val: { type: E.literal, value: i, location: l },
3215
+ val: { type: _.literal, value: i, location: l },
3173
3216
  err: null
3174
3217
  };
3175
3218
  }, e.prototype.tryParseLeftAngleBracket = function() {
3176
3219
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3177
- !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
3220
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3178
3221
  }, e.prototype.tryParseQuote = function(t) {
3179
3222
  if (this.isEOF() || this.char() !== 39)
3180
3223
  return null;
@@ -3208,12 +3251,12 @@ var Vn = (
3208
3251
  r.push(n);
3209
3252
  this.bump();
3210
3253
  }
3211
- return Ge.apply(void 0, r);
3254
+ return ze.apply(void 0, r);
3212
3255
  }, e.prototype.tryParseUnquoted = function(t, r) {
3213
3256
  if (this.isEOF())
3214
3257
  return null;
3215
3258
  var n = this.char();
3216
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
3259
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3217
3260
  }, e.prototype.parseArgument = function(t, r) {
3218
3261
  var n = this.clonePosition();
3219
3262
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3229,7 +3272,7 @@ var Vn = (
3229
3272
  case 125:
3230
3273
  return this.bump(), {
3231
3274
  val: {
3232
- type: E.argument,
3275
+ type: _.argument,
3233
3276
  // value does not include the opening and closing braces.
3234
3277
  value: i,
3235
3278
  location: g(n, this.clonePosition())
@@ -3242,7 +3285,7 @@ var Vn = (
3242
3285
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3243
3286
  }
3244
3287
  }, e.prototype.parseIdentifierIfPossible = function() {
3245
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3288
+ var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3246
3289
  this.bumpTo(i);
3247
3290
  var o = this.clonePosition(), s = g(t, o);
3248
3291
  return { value: n, location: s };
@@ -3261,46 +3304,46 @@ var Vn = (
3261
3304
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3262
3305
  if (f.err)
3263
3306
  return f;
3264
- var c = kn(f.val);
3307
+ var c = Zn(f.val);
3265
3308
  if (c.length === 0)
3266
3309
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3267
3310
  var p = g(h, this.clonePosition());
3268
3311
  u = { style: c, styleLocation: p };
3269
3312
  }
3270
- var d = this.tryParseArgumentClose(i);
3271
- if (d.err)
3272
- return d;
3273
- var m = g(i, this.clonePosition());
3274
- if (u && pt(u?.style, "::", 0)) {
3275
- var _ = jn(u.style.slice(2));
3313
+ var m = this.tryParseArgumentClose(i);
3314
+ if (m.err)
3315
+ return m;
3316
+ var d = g(i, this.clonePosition());
3317
+ if (u && yt(u?.style, "::", 0)) {
3318
+ var v = Wn(u.style.slice(2));
3276
3319
  if (a === "number") {
3277
- var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
3320
+ var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
3278
3321
  return f.err ? f : {
3279
- val: { type: E.number, value: n, location: m, style: f.val },
3322
+ val: { type: _.number, value: n, location: d, style: f.val },
3280
3323
  err: null
3281
3324
  };
3282
3325
  } else {
3283
- if (_.length === 0)
3284
- return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3285
- var S = _;
3286
- this.locale && (S = Pn(_, this.locale));
3326
+ if (v.length === 0)
3327
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3328
+ var x = v;
3329
+ this.locale && (x = Mn(v, this.locale));
3287
3330
  var c = {
3288
- type: Y.dateTime,
3289
- pattern: S,
3331
+ type: J.dateTime,
3332
+ pattern: x,
3290
3333
  location: u.styleLocation,
3291
- parsedOptions: this.shouldParseSkeletons ? xn(S) : {}
3292
- }, I = a === "date" ? E.date : E.time;
3334
+ parsedOptions: this.shouldParseSkeletons ? An(x) : {}
3335
+ }, I = a === "date" ? _.date : _.time;
3293
3336
  return {
3294
- val: { type: I, value: n, location: m, style: c },
3337
+ val: { type: I, value: n, location: d, style: c },
3295
3338
  err: null
3296
3339
  };
3297
3340
  }
3298
3341
  }
3299
3342
  return {
3300
3343
  val: {
3301
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3344
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3302
3345
  value: n,
3303
- location: m,
3346
+ location: d,
3304
3347
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3305
3348
  },
3306
3349
  err: null
@@ -3311,41 +3354,41 @@ var Vn = (
3311
3354
  case "select": {
3312
3355
  var T = this.clonePosition();
3313
3356
  if (this.bumpSpace(), !this.bumpIf(","))
3314
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
3357
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, ge({}, T)));
3315
3358
  this.bumpSpace();
3316
- var w = this.parseIdentifierIfPossible(), M = 0;
3317
- if (a !== "select" && w.value === "offset") {
3359
+ var H = this.parseIdentifierIfPossible(), L = 0;
3360
+ if (a !== "select" && H.value === "offset") {
3318
3361
  if (!this.bumpIf(":"))
3319
3362
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3320
3363
  this.bumpSpace();
3321
3364
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3322
3365
  if (f.err)
3323
3366
  return f;
3324
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), M = f.val;
3367
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), L = f.val;
3325
3368
  }
3326
- var k = this.tryParsePluralOrSelectOptions(t, a, r, w);
3369
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, H);
3327
3370
  if (k.err)
3328
3371
  return k;
3329
- var d = this.tryParseArgumentClose(i);
3330
- if (d.err)
3331
- return d;
3332
- var v = g(i, this.clonePosition());
3372
+ var m = this.tryParseArgumentClose(i);
3373
+ if (m.err)
3374
+ return m;
3375
+ var y = g(i, this.clonePosition());
3333
3376
  return a === "select" ? {
3334
3377
  val: {
3335
- type: E.select,
3378
+ type: _.select,
3336
3379
  value: n,
3337
- options: mt(k.val),
3338
- location: v
3380
+ options: vt(k.val),
3381
+ location: y
3339
3382
  },
3340
3383
  err: null
3341
3384
  } : {
3342
3385
  val: {
3343
- type: E.plural,
3386
+ type: _.plural,
3344
3387
  value: n,
3345
- options: mt(k.val),
3346
- offset: M,
3388
+ options: vt(k.val),
3389
+ offset: L,
3347
3390
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3348
- location: v
3391
+ location: y
3349
3392
  },
3350
3393
  err: null
3351
3394
  };
@@ -3393,16 +3436,16 @@ var Vn = (
3393
3436
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3394
3437
  var n = [];
3395
3438
  try {
3396
- n = Tn(t);
3439
+ n = On(t);
3397
3440
  } catch {
3398
3441
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3399
3442
  }
3400
3443
  return {
3401
3444
  val: {
3402
- type: Y.number,
3445
+ type: J.number,
3403
3446
  tokens: n,
3404
3447
  location: r,
3405
- parsedOptions: this.shouldParseSkeletons ? Bn(n) : {}
3448
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3406
3449
  },
3407
3450
  err: null
3408
3451
  };
@@ -3424,16 +3467,16 @@ var Vn = (
3424
3467
  var p = this.clonePosition();
3425
3468
  if (!this.bumpIf("{"))
3426
3469
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3427
- var d = this.parseMessage(t + 1, r, n);
3428
- if (d.err)
3429
- return d;
3430
- var m = this.tryParseArgumentClose(p);
3470
+ var m = this.parseMessage(t + 1, r, n);
3431
3471
  if (m.err)
3432
3472
  return m;
3473
+ var d = this.tryParseArgumentClose(p);
3474
+ if (d.err)
3475
+ return d;
3433
3476
  a.push([
3434
3477
  u,
3435
3478
  {
3436
- value: d.val,
3479
+ value: m.val,
3437
3480
  location: g(p, this.clonePosition())
3438
3481
  }
3439
3482
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
@@ -3450,7 +3493,7 @@ var Vn = (
3450
3493
  break;
3451
3494
  }
3452
3495
  var l = g(i, this.clonePosition());
3453
- return o ? (s *= n, Dn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3496
+ return o ? (s *= n, Xn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3454
3497
  }, e.prototype.offset = function() {
3455
3498
  return this.position.offset;
3456
3499
  }, e.prototype.isEOF = function() {
@@ -3465,7 +3508,7 @@ var Vn = (
3465
3508
  var t = this.position.offset;
3466
3509
  if (t >= this.message.length)
3467
3510
  throw Error("out of bound");
3468
- var r = tr(this.message, t);
3511
+ var r = sr(this.message, t);
3469
3512
  if (r === void 0)
3470
3513
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3471
3514
  return r;
@@ -3484,7 +3527,7 @@ var Vn = (
3484
3527
  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);
3485
3528
  }
3486
3529
  }, e.prototype.bumpIf = function(t) {
3487
- if (pt(this.message, t, this.offset())) {
3530
+ if (yt(this.message, t, this.offset())) {
3488
3531
  for (var r = 0; r < t.length; r++)
3489
3532
  this.bump();
3490
3533
  return !0;
@@ -3506,7 +3549,7 @@ var Vn = (
3506
3549
  break;
3507
3550
  }
3508
3551
  }, e.prototype.bumpSpace = function() {
3509
- for (; !this.isEOF() && nr(this.char()); )
3552
+ for (; !this.isEOF() && ur(this.char()); )
3510
3553
  this.bump();
3511
3554
  }, e.prototype.peek = function() {
3512
3555
  if (this.isEOF())
@@ -3516,47 +3559,47 @@ var Vn = (
3516
3559
  }, e;
3517
3560
  }()
3518
3561
  );
3519
- function ke(e) {
3562
+ function Ze(e) {
3520
3563
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3521
3564
  }
3522
- function Xn(e) {
3523
- return ke(e) || e === 47;
3565
+ function Jn(e) {
3566
+ return Ze(e) || e === 47;
3524
3567
  }
3525
- function zn(e) {
3568
+ function Yn(e) {
3526
3569
  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;
3527
3570
  }
3528
- function nr(e) {
3571
+ function ur(e) {
3529
3572
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3530
3573
  }
3531
- function Wn(e) {
3574
+ function qn(e) {
3532
3575
  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;
3533
3576
  }
3534
- function Ve(e) {
3577
+ function Qe(e) {
3535
3578
  e.forEach(function(t) {
3536
- if (delete t.location, Wt(t) || Zt(t))
3579
+ if (delete t.location, qt(t) || Kt(t))
3537
3580
  for (var r in t.options)
3538
- delete t.options[r].location, Ve(t.options[r].value);
3581
+ delete t.options[r].location, Qe(t.options[r].value);
3539
3582
  else
3540
- Vt(t) && Jt(t.style) || (Xt(t) || zt(t)) && Ue(t.style) ? delete t.style.location : Qt(t) && Ve(t.children);
3583
+ Qt(t) && tr(t.style) || (Jt(t) || Yt(t)) && Ve(t.style) ? delete t.style.location : er(t) && Qe(t.children);
3541
3584
  });
3542
3585
  }
3543
- function Zn(e, t) {
3544
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3545
- var r = new Vn(e, t).parse();
3586
+ function Kn(e, t) {
3587
+ t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3588
+ var r = new Qn(e, t).parse();
3546
3589
  if (r.err) {
3547
3590
  var n = SyntaxError(b[r.err.kind]);
3548
3591
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3549
3592
  }
3550
- return t?.captureLocation || Ve(r.val), r.val;
3593
+ return t?.captureLocation || Qe(r.val), r.val;
3551
3594
  }
3552
- var q;
3595
+ var Y;
3553
3596
  (function(e) {
3554
3597
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3555
- })(q || (q = {}));
3556
- var Ee = (
3598
+ })(Y || (Y = {}));
3599
+ var Se = (
3557
3600
  /** @class */
3558
3601
  function(e) {
3559
- $(t, e);
3602
+ xe(t, e);
3560
3603
  function t(r, n, i) {
3561
3604
  var o = e.call(this, r) || this;
3562
3605
  return o.code = n, o.originalMessage = i, o;
@@ -3565,48 +3608,48 @@ var Ee = (
3565
3608
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3566
3609
  }, t;
3567
3610
  }(Error)
3568
- ), bt = (
3611
+ ), Et = (
3569
3612
  /** @class */
3570
3613
  function(e) {
3571
- $(t, e);
3614
+ xe(t, e);
3572
3615
  function t(r, n, i, o) {
3573
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3616
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3574
3617
  }
3575
3618
  return t;
3576
- }(Ee)
3577
- ), Qn = (
3619
+ }(Se)
3620
+ ), ei = (
3578
3621
  /** @class */
3579
3622
  function(e) {
3580
- $(t, e);
3623
+ xe(t, e);
3581
3624
  function t(r, n, i) {
3582
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3625
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3583
3626
  }
3584
3627
  return t;
3585
- }(Ee)
3586
- ), Jn = (
3628
+ }(Se)
3629
+ ), ti = (
3587
3630
  /** @class */
3588
3631
  function(e) {
3589
- $(t, e);
3632
+ xe(t, e);
3590
3633
  function t(r, n) {
3591
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3634
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3592
3635
  }
3593
3636
  return t;
3594
- }(Ee)
3637
+ }(Se)
3595
3638
  ), A;
3596
3639
  (function(e) {
3597
3640
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3598
3641
  })(A || (A = {}));
3599
- function Yn(e) {
3642
+ function ri(e) {
3600
3643
  return e.length < 2 ? e : e.reduce(function(t, r) {
3601
3644
  var n = t[t.length - 1];
3602
3645
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3603
3646
  }, []);
3604
3647
  }
3605
- function qn(e) {
3648
+ function ni(e) {
3606
3649
  return typeof e == "function";
3607
3650
  }
3608
- function de(e, t, r, n, i, o, s) {
3609
- if (e.length === 1 && lt(e[0]))
3651
+ function me(e, t, r, n, i, o, s) {
3652
+ if (e.length === 1 && dt(e[0]))
3610
3653
  return [
3611
3654
  {
3612
3655
  type: A.literal,
@@ -3615,14 +3658,14 @@ function de(e, t, r, n, i, o, s) {
3615
3658
  ];
3616
3659
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3617
3660
  var h = u[l];
3618
- if (lt(h)) {
3661
+ if (dt(h)) {
3619
3662
  a.push({
3620
3663
  type: A.literal,
3621
3664
  value: h.value
3622
3665
  });
3623
3666
  continue;
3624
3667
  }
3625
- if (_n(h)) {
3668
+ if (wn(h)) {
3626
3669
  typeof o == "number" && a.push({
3627
3670
  type: A.literal,
3628
3671
  value: r.getNumberFormat(t).format(o)
@@ -3631,89 +3674,89 @@ function de(e, t, r, n, i, o, s) {
3631
3674
  }
3632
3675
  var f = h.value;
3633
3676
  if (!(i && f in i))
3634
- throw new Jn(f, s);
3677
+ throw new ti(f, s);
3635
3678
  var c = i[f];
3636
- if (yn(h)) {
3679
+ if (Tn(h)) {
3637
3680
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3638
3681
  type: typeof c == "string" ? A.literal : A.object,
3639
3682
  value: c
3640
3683
  });
3641
3684
  continue;
3642
3685
  }
3643
- if (Xt(h)) {
3644
- var p = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3686
+ if (Jt(h)) {
3687
+ var p = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3645
3688
  a.push({
3646
3689
  type: A.literal,
3647
3690
  value: r.getDateTimeFormat(t, p).format(c)
3648
3691
  });
3649
3692
  continue;
3650
3693
  }
3651
- if (zt(h)) {
3652
- var p = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3694
+ if (Yt(h)) {
3695
+ var p = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3653
3696
  a.push({
3654
3697
  type: A.literal,
3655
3698
  value: r.getDateTimeFormat(t, p).format(c)
3656
3699
  });
3657
3700
  continue;
3658
3701
  }
3659
- if (Vt(h)) {
3660
- var p = typeof h.style == "string" ? n.number[h.style] : Jt(h.style) ? h.style.parsedOptions : void 0;
3702
+ if (Qt(h)) {
3703
+ var p = typeof h.style == "string" ? n.number[h.style] : tr(h.style) ? h.style.parsedOptions : void 0;
3661
3704
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3662
3705
  type: A.literal,
3663
3706
  value: r.getNumberFormat(t, p).format(c)
3664
3707
  });
3665
3708
  continue;
3666
3709
  }
3667
- if (Qt(h)) {
3668
- var d = h.children, m = h.value, _ = i[m];
3669
- if (!qn(_))
3670
- throw new Qn(m, "function", s);
3671
- var S = de(d, t, r, n, i, o), I = _(S.map(function(M) {
3672
- return M.value;
3710
+ if (er(h)) {
3711
+ var m = h.children, d = h.value, v = i[d];
3712
+ if (!ni(v))
3713
+ throw new ei(d, "function", s);
3714
+ var x = me(m, t, r, n, i, o), I = v(x.map(function(L) {
3715
+ return L.value;
3673
3716
  }));
3674
- Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(M) {
3717
+ Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(L) {
3675
3718
  return {
3676
- type: typeof M == "string" ? A.literal : A.object,
3677
- value: M
3719
+ type: typeof L == "string" ? A.literal : A.object,
3720
+ value: L
3678
3721
  };
3679
3722
  }));
3680
3723
  }
3681
- if (Wt(h)) {
3724
+ if (qt(h)) {
3682
3725
  var T = h.options[c] || h.options.other;
3683
3726
  if (!T)
3684
- throw new bt(h.value, c, Object.keys(h.options), s);
3685
- a.push.apply(a, de(T.value, t, r, n, i));
3727
+ throw new Et(h.value, c, Object.keys(h.options), s);
3728
+ a.push.apply(a, me(T.value, t, r, n, i));
3686
3729
  continue;
3687
3730
  }
3688
- if (Zt(h)) {
3731
+ if (Kt(h)) {
3689
3732
  var T = h.options["=".concat(c)];
3690
3733
  if (!T) {
3691
3734
  if (!Intl.PluralRules)
3692
- throw new Ee(`Intl.PluralRules is not available in this environment.
3735
+ throw new Se(`Intl.PluralRules is not available in this environment.
3693
3736
  Try polyfilling it using "@formatjs/intl-pluralrules"
3694
- `, q.MISSING_INTL_API, s);
3695
- var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3696
- T = h.options[w] || h.options.other;
3737
+ `, Y.MISSING_INTL_API, s);
3738
+ var H = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3739
+ T = h.options[H] || h.options.other;
3697
3740
  }
3698
3741
  if (!T)
3699
- throw new bt(h.value, c, Object.keys(h.options), s);
3700
- a.push.apply(a, de(T.value, t, r, n, i, c - (h.offset || 0)));
3742
+ throw new Et(h.value, c, Object.keys(h.options), s);
3743
+ a.push.apply(a, me(T.value, t, r, n, i, c - (h.offset || 0)));
3701
3744
  continue;
3702
3745
  }
3703
3746
  }
3704
- return Yn(a);
3747
+ return ri(a);
3705
3748
  }
3706
- function Kn(e, t) {
3707
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3708
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3749
+ function ii(e, t) {
3750
+ return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3751
+ return r[n] = N(N({}, e[n]), t[n] || {}), r;
3709
3752
  }, {})) : e;
3710
3753
  }
3711
- function ei(e, t) {
3754
+ function oi(e, t) {
3712
3755
  return t ? Object.keys(e).reduce(function(r, n) {
3713
- return r[n] = Kn(e[n], t[n]), r;
3714
- }, y({}, e)) : e;
3756
+ return r[n] = ii(e[n], t[n]), r;
3757
+ }, N({}, e)) : e;
3715
3758
  }
3716
- function Pe(e) {
3759
+ function Ie(e) {
3717
3760
  return {
3718
3761
  create: function() {
3719
3762
  return {
@@ -3727,39 +3770,39 @@ function Pe(e) {
3727
3770
  }
3728
3771
  };
3729
3772
  }
3730
- function ti(e) {
3773
+ function si(e) {
3731
3774
  return e === void 0 && (e = {
3732
3775
  number: {},
3733
3776
  dateTime: {},
3734
3777
  pluralRules: {}
3735
3778
  }), {
3736
- getNumberFormat: we(function() {
3779
+ getNumberFormat: Oe(function() {
3737
3780
  for (var t, r = [], n = 0; n < arguments.length; n++)
3738
3781
  r[n] = arguments[n];
3739
- return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3782
+ return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3740
3783
  }, {
3741
- cache: Pe(e.number),
3742
- strategy: Ae.variadic
3784
+ cache: Ie(e.number),
3785
+ strategy: Pe.variadic
3743
3786
  }),
3744
- getDateTimeFormat: we(function() {
3787
+ getDateTimeFormat: Oe(function() {
3745
3788
  for (var t, r = [], n = 0; n < arguments.length; n++)
3746
3789
  r[n] = arguments[n];
3747
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3790
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3748
3791
  }, {
3749
- cache: Pe(e.dateTime),
3750
- strategy: Ae.variadic
3792
+ cache: Ie(e.dateTime),
3793
+ strategy: Pe.variadic
3751
3794
  }),
3752
- getPluralRules: we(function() {
3795
+ getPluralRules: Oe(function() {
3753
3796
  for (var t, r = [], n = 0; n < arguments.length; n++)
3754
3797
  r[n] = arguments[n];
3755
- return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3798
+ return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3756
3799
  }, {
3757
- cache: Pe(e.pluralRules),
3758
- strategy: Ae.variadic
3800
+ cache: Ie(e.pluralRules),
3801
+ strategy: Pe.variadic
3759
3802
  })
3760
3803
  };
3761
3804
  }
3762
- var ri = (
3805
+ var ai = (
3763
3806
  /** @class */
3764
3807
  function() {
3765
3808
  function e(t, r, n, i) {
@@ -3778,7 +3821,7 @@ var ri = (
3778
3821
  }, []);
3779
3822
  return h.length <= 1 ? h[0] || "" : h;
3780
3823
  }, this.formatToParts = function(l) {
3781
- return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3824
+ return me(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3782
3825
  }, this.resolvedOptions = function() {
3783
3826
  var l;
3784
3827
  return {
@@ -3791,13 +3834,13 @@ var ri = (
3791
3834
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3792
3835
  var s = i || {};
3793
3836
  s.formatters;
3794
- var a = Nr(s, ["formatters"]);
3795
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3837
+ var a = bn(s, ["formatters"]);
3838
+ this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
3796
3839
  } else
3797
3840
  this.ast = t;
3798
3841
  if (!Array.isArray(this.ast))
3799
3842
  throw new TypeError("A message must be provided as a String or AST.");
3800
- this.formats = ei(e.formats, n), this.formatters = i && i.formatters || ti(this.formatterCache);
3843
+ this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3801
3844
  }
3802
3845
  return Object.defineProperty(e, "defaultLocale", {
3803
3846
  get: function() {
@@ -3810,7 +3853,7 @@ var ri = (
3810
3853
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3811
3854
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3812
3855
  }
3813
- }, e.__parse = Zn, e.formats = {
3856
+ }, e.__parse = Kn, e.formats = {
3814
3857
  number: {
3815
3858
  integer: {
3816
3859
  maximumFractionDigits: 0
@@ -3871,7 +3914,7 @@ var ri = (
3871
3914
  }, e;
3872
3915
  }()
3873
3916
  );
3874
- function ni(e, t) {
3917
+ function ui(e, t) {
3875
3918
  if (t == null)
3876
3919
  return;
3877
3920
  if (t in e)
@@ -3892,92 +3935,92 @@ function ni(e, t) {
3892
3935
  n = void 0;
3893
3936
  return n;
3894
3937
  }
3895
- const F = {}, ii = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), ir = (e, t) => {
3938
+ const F = {}, li = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), lr = (e, t) => {
3896
3939
  if (t == null)
3897
3940
  return;
3898
3941
  if (t in F && e in F[t])
3899
3942
  return F[t][e];
3900
- const r = xe(t);
3943
+ const r = Te(t);
3901
3944
  for (let n = 0; n < r.length; n++) {
3902
- const i = r[n], o = si(i, e);
3945
+ const i = r[n], o = fi(i, e);
3903
3946
  if (o)
3904
- return ii(e, t, o);
3947
+ return li(e, t, o);
3905
3948
  }
3906
3949
  };
3907
- let Qe;
3908
- const ue = _e({});
3909
- function oi(e) {
3910
- return Qe[e] || null;
3950
+ let et;
3951
+ const ue = Ee({});
3952
+ function hi(e) {
3953
+ return et[e] || null;
3911
3954
  }
3912
- function or(e) {
3913
- return e in Qe;
3955
+ function hr(e) {
3956
+ return e in et;
3914
3957
  }
3915
- function si(e, t) {
3916
- if (!or(e))
3958
+ function fi(e, t) {
3959
+ if (!hr(e))
3917
3960
  return null;
3918
- const r = oi(e);
3919
- return ni(r, t);
3961
+ const r = hi(e);
3962
+ return ui(r, t);
3920
3963
  }
3921
- function ai(e) {
3964
+ function ci(e) {
3922
3965
  if (e == null)
3923
3966
  return;
3924
- const t = xe(e);
3967
+ const t = Te(e);
3925
3968
  for (let r = 0; r < t.length; r++) {
3926
3969
  const n = t[r];
3927
- if (or(n))
3970
+ if (hr(n))
3928
3971
  return n;
3929
3972
  }
3930
3973
  }
3931
- function sr(e, ...t) {
3932
- delete F[e], ue.update((r) => (r[e] = fn.all([r[e] || {}, ...t]), r));
3974
+ function fr(e, ...t) {
3975
+ delete F[e], ue.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3933
3976
  }
3934
- ee(
3977
+ K(
3935
3978
  [ue],
3936
3979
  ([e]) => Object.keys(e)
3937
3980
  );
3938
- ue.subscribe((e) => Qe = e);
3981
+ ue.subscribe((e) => et = e);
3939
3982
  const be = {};
3940
- function ui(e, t) {
3983
+ function pi(e, t) {
3941
3984
  be[e].delete(t), be[e].size === 0 && delete be[e];
3942
3985
  }
3943
- function ar(e) {
3986
+ function cr(e) {
3944
3987
  return be[e];
3945
3988
  }
3946
- function li(e) {
3947
- return xe(e).map((t) => {
3948
- const r = ar(t);
3989
+ function di(e) {
3990
+ return Te(e).map((t) => {
3991
+ const r = cr(t);
3949
3992
  return [t, r ? [...r] : []];
3950
3993
  }).filter(([, t]) => t.length > 0);
3951
3994
  }
3952
- function Xe(e) {
3953
- return e == null ? !1 : xe(e).some(
3995
+ function Je(e) {
3996
+ return e == null ? !1 : Te(e).some(
3954
3997
  (t) => {
3955
3998
  var r;
3956
- return (r = ar(t)) == null ? void 0 : r.size;
3999
+ return (r = cr(t)) == null ? void 0 : r.size;
3957
4000
  }
3958
4001
  );
3959
4002
  }
3960
- function hi(e, t) {
4003
+ function mi(e, t) {
3961
4004
  return Promise.all(
3962
- t.map((n) => (ui(e, n), n().then((i) => i.default || i)))
3963
- ).then((n) => sr(e, ...n));
3964
- }
3965
- const re = {};
3966
- function ur(e) {
3967
- if (!Xe(e))
3968
- return e in re ? re[e] : Promise.resolve();
3969
- const t = li(e);
3970
- return re[e] = Promise.all(
4005
+ t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
4006
+ ).then((n) => fr(e, ...n));
4007
+ }
4008
+ const te = {};
4009
+ function pr(e) {
4010
+ if (!Je(e))
4011
+ return e in te ? te[e] : Promise.resolve();
4012
+ const t = di(e);
4013
+ return te[e] = Promise.all(
3971
4014
  t.map(
3972
- ([r, n]) => hi(r, n)
4015
+ ([r, n]) => mi(r, n)
3973
4016
  )
3974
4017
  ).then(() => {
3975
- if (Xe(e))
3976
- return ur(e);
3977
- delete re[e];
3978
- }), re[e];
4018
+ if (Je(e))
4019
+ return pr(e);
4020
+ delete te[e];
4021
+ }), te[e];
3979
4022
  }
3980
- const fi = {
4023
+ const bi = {
3981
4024
  number: {
3982
4025
  scientific: { notation: "scientific" },
3983
4026
  engineering: { notation: "engineering" },
@@ -4006,135 +4049,135 @@ const fi = {
4006
4049
  timeZoneName: "short"
4007
4050
  }
4008
4051
  }
4009
- }, ci = {
4052
+ }, gi = {
4010
4053
  fallbackLocale: null,
4011
4054
  loadingDelay: 200,
4012
- formats: fi,
4055
+ formats: bi,
4013
4056
  warnOnMissingMessages: !0,
4014
4057
  handleMissingMessage: void 0,
4015
4058
  ignoreTag: !0
4016
- }, pi = ci;
4017
- function K() {
4018
- return pi;
4059
+ }, yi = gi;
4060
+ function q() {
4061
+ return yi;
4019
4062
  }
4020
- const Oe = _e(!1);
4021
- var mi = Object.defineProperty, di = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (e, t) => {
4063
+ const Ne = Ee(!1);
4064
+ var vi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4022
4065
  for (var r in t || (t = {}))
4023
- gi.call(t, r) && vt(e, r, t[r]);
4024
- if (gt)
4025
- for (var r of gt(t))
4026
- vi.call(t, r) && vt(e, r, t[r]);
4066
+ xi.call(t, r) && St(e, r, t[r]);
4067
+ if (xt)
4068
+ for (var r of xt(t))
4069
+ Si.call(t, r) && St(e, r, t[r]);
4027
4070
  return e;
4028
- }, _i = (e, t) => di(e, bi(t));
4029
- let ze;
4030
- const ge = _e(null);
4031
- function yt(e) {
4071
+ }, wi = (e, t) => _i(e, Ei(t));
4072
+ let Ye;
4073
+ const ye = Ee(null);
4074
+ function Tt(e) {
4032
4075
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4033
4076
  }
4034
- function xe(e, t = K().fallbackLocale) {
4035
- const r = yt(e);
4036
- return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
4077
+ function Te(e, t = q().fallbackLocale) {
4078
+ const r = Tt(e);
4079
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4037
4080
  }
4038
4081
  function j() {
4039
- return ze ?? void 0;
4082
+ return Ye ?? void 0;
4040
4083
  }
4041
- ge.subscribe((e) => {
4042
- ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4084
+ ye.subscribe((e) => {
4085
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4043
4086
  });
4044
- const Ei = (e) => {
4045
- if (e && ai(e) && Xe(e)) {
4046
- const { loadingDelay: t } = K();
4087
+ const Hi = (e) => {
4088
+ if (e && ci(e) && Je(e)) {
4089
+ const { loadingDelay: t } = q();
4047
4090
  let r;
4048
4091
  return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4049
- () => Oe.set(!0),
4092
+ () => Ne.set(!0),
4050
4093
  t
4051
- ) : Oe.set(!0), ur(e).then(() => {
4052
- ge.set(e);
4094
+ ) : Ne.set(!0), pr(e).then(() => {
4095
+ ye.set(e);
4053
4096
  }).finally(() => {
4054
- clearTimeout(r), Oe.set(!1);
4097
+ clearTimeout(r), Ne.set(!1);
4055
4098
  });
4056
4099
  }
4057
- return ge.set(e);
4058
- }, le = _i(yi({}, ge), {
4059
- set: Ei
4060
- }), Se = (e) => {
4100
+ return ye.set(e);
4101
+ }, le = wi(Ti({}, ye), {
4102
+ set: Hi
4103
+ }), we = (e) => {
4061
4104
  const t = /* @__PURE__ */ Object.create(null);
4062
4105
  return (n) => {
4063
4106
  const i = JSON.stringify(n);
4064
4107
  return i in t ? t[i] : t[i] = e(n);
4065
4108
  };
4066
4109
  };
4067
- var xi = Object.defineProperty, ve = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4110
+ var Ai = Object.defineProperty, ve = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4068
4111
  for (var r in t || (t = {}))
4069
- lr.call(t, r) && _t(e, r, t[r]);
4112
+ dr.call(t, r) && wt(e, r, t[r]);
4070
4113
  if (ve)
4071
4114
  for (var r of ve(t))
4072
- hr.call(t, r) && _t(e, r, t[r]);
4115
+ mr.call(t, r) && wt(e, r, t[r]);
4073
4116
  return e;
4074
- }, te = (e, t) => {
4117
+ }, ee = (e, t) => {
4075
4118
  var r = {};
4076
4119
  for (var n in e)
4077
- lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4120
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4078
4121
  if (e != null && ve)
4079
4122
  for (var n of ve(e))
4080
- t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
4123
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
4081
4124
  return r;
4082
4125
  };
4083
- const oe = (e, t) => {
4084
- const { formats: r } = K();
4126
+ const ie = (e, t) => {
4127
+ const { formats: r } = q();
4085
4128
  if (e in r && t in r[e])
4086
4129
  return r[e][t];
4087
4130
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4088
- }, Si = Se(
4131
+ }, Bi = we(
4089
4132
  (e) => {
4090
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4133
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4091
4134
  if (r == null)
4092
4135
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4093
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4136
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4094
4137
  }
4095
- ), Ti = Se(
4138
+ ), Oi = we(
4096
4139
  (e) => {
4097
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4140
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4098
4141
  if (r == null)
4099
4142
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4100
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4143
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4101
4144
  }
4102
- ), Hi = Se(
4145
+ ), Pi = we(
4103
4146
  (e) => {
4104
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4147
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4105
4148
  if (r == null)
4106
4149
  throw new Error(
4107
4150
  '[svelte-i18n] A "locale" must be set to format time values'
4108
4151
  );
4109
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4152
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4110
4153
  }
4111
- ), wi = (e = {}) => {
4154
+ ), Ci = (e = {}) => {
4112
4155
  var t = e, {
4113
4156
  locale: r = j()
4114
- } = t, n = te(t, [
4157
+ } = t, n = ee(t, [
4115
4158
  "locale"
4116
4159
  ]);
4117
- return Si(Je({ locale: r }, n));
4118
- }, Ai = (e = {}) => {
4160
+ return Bi(tt({ locale: r }, n));
4161
+ }, Ii = (e = {}) => {
4119
4162
  var t = e, {
4120
4163
  locale: r = j()
4121
- } = t, n = te(t, [
4164
+ } = t, n = ee(t, [
4122
4165
  "locale"
4123
4166
  ]);
4124
- return Ti(Je({ locale: r }, n));
4125
- }, Bi = (e = {}) => {
4167
+ return Oi(tt({ locale: r }, n));
4168
+ }, Ni = (e = {}) => {
4126
4169
  var t = e, {
4127
4170
  locale: r = j()
4128
- } = t, n = te(t, [
4171
+ } = t, n = ee(t, [
4129
4172
  "locale"
4130
4173
  ]);
4131
- return Hi(Je({ locale: r }, n));
4132
- }, Pi = Se(
4174
+ return Pi(tt({ locale: r }, n));
4175
+ }, Mi = we(
4133
4176
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4134
- (e, t = j()) => new ri(e, t, K().formats, {
4135
- ignoreTag: K().ignoreTag
4177
+ (e, t = j()) => new ai(e, t, q().formats, {
4178
+ ignoreTag: q().ignoreTag
4136
4179
  })
4137
- ), Oi = (e, t = {}) => {
4180
+ ), Li = (e, t = {}) => {
4138
4181
  var r, n, i, o;
4139
4182
  let s = t;
4140
4183
  typeof e == "object" && (s = e, e = s.id);
@@ -4147,9 +4190,9 @@ const oe = (e, t) => {
4147
4190
  throw new Error(
4148
4191
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4149
4192
  );
4150
- let h = ir(e, l);
4193
+ let h = lr(e, l);
4151
4194
  if (!h)
4152
- h = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4195
+ h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4153
4196
  else if (typeof h != "string")
4154
4197
  return console.warn(
4155
4198
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4158,7 +4201,7 @@ const oe = (e, t) => {
4158
4201
  return h;
4159
4202
  let f = h;
4160
4203
  try {
4161
- f = Pi(h, l).format(a);
4204
+ f = Mi(h, l).format(a);
4162
4205
  } catch (c) {
4163
4206
  c instanceof Error && console.warn(
4164
4207
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4166,17 +4209,17 @@ const oe = (e, t) => {
4166
4209
  );
4167
4210
  }
4168
4211
  return f;
4169
- }, Ci = (e, t) => Bi(t).format(e), Ii = (e, t) => Ai(t).format(e), Ni = (e, t) => wi(t).format(e), Mi = (e, t = j()) => ir(e, t), Li = ee([le, ue], () => Oi);
4170
- ee([le], () => Ci);
4171
- ee([le], () => Ii);
4172
- ee([le], () => Ni);
4173
- ee([le, ue], () => Mi);
4174
- window.emWidgets = { topic: Wr };
4175
- const O = (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));
4176
- function Et(e, t) {
4177
- sr(e, t);
4178
- }
4179
- const xt = {
4212
+ }, Ri = (e, t) => Ni(t).format(e), $i = (e, t) => Ii(t).format(e), Fi = (e, t) => Ci(t).format(e), Ui = (e, t = j()) => lr(e, t), Di = K([le, ue], () => Li);
4213
+ K([le], () => Ri);
4214
+ K([le], () => $i);
4215
+ K([le], () => Fi);
4216
+ K([le, ue], () => Ui);
4217
+ window.emWidgets = { topic: Yr };
4218
+ const P = (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));
4219
+ function Ht(e, t) {
4220
+ fr(e, t);
4221
+ }
4222
+ const At = {
4180
4223
  en: {
4181
4224
  tournaments: "Tournaments",
4182
4225
  all: "All",
@@ -4255,60 +4298,60 @@ const xt = {
4255
4298
  finished: "Finished"
4256
4299
  }
4257
4300
  };
4258
- function Ri(e) {
4259
- pr(e, "svelte-szp116", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto}ul.MobileClass{padding-top:21px}li:first-child{height:100%;position:realtive;padding:1em 0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}li.MobileClass{position:absolute;left:10px;top:-15px;font-size:14px;height:auto}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
4301
+ function Gi(e) {
4302
+ yr(e, "svelte-szp116", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto}ul.MobileClass{padding-top:21px}li:first-child{height:100%;position:realtive;padding:1em 0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}li.MobileClass{position:absolute;left:10px;top:-15px;font-size:14px;height:auto}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}");
4260
4303
  }
4261
- function St(e, t, r) {
4304
+ function Bt(e, t, r) {
4262
4305
  const n = e.slice();
4263
4306
  return n[22] = t[r], n[24] = r, n;
4264
4307
  }
4265
- function Tt(e) {
4308
+ function Ot(e) {
4266
4309
  let t, r, n = (
4267
4310
  /*$_*/
4268
4311
  e[4]("tournaments") + ""
4269
- ), i, o, s, a = et(
4312
+ ), i, o, s, a = ot(
4270
4313
  /*filterItems*/
4271
4314
  e[1]
4272
4315
  ), l = [];
4273
4316
  for (let u = 0; u < a.length; u += 1)
4274
- l[u] = Ot(St(e, a, u));
4317
+ l[u] = Lt(Bt(e, a, u));
4275
4318
  return {
4276
4319
  c() {
4277
4320
  t = U("ul"), r = U("li"), i = G(n), o = G(":"), s = z();
4278
4321
  for (let u = 0; u < l.length; u += 1)
4279
4322
  l[u].c();
4280
- x(r, "class", "FiltersTitle " + (O(
4323
+ E(r, "class", "FiltersTitle " + (P(
4281
4324
  /*userAgent*/
4282
4325
  e[5]
4283
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", "FiltersTitle " + (O(
4326
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(r, "part", "FiltersTitle " + (P(
4284
4327
  /*userAgent*/
4285
4328
  e[5]
4286
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersList " + (O(
4329
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(t, "class", "FiltersList " + (P(
4287
4330
  /*userAgent*/
4288
4331
  e[5]
4289
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersList " + (O(
4332
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(t, "part", "FiltersList " + (P(
4290
4333
  /*userAgent*/
4291
4334
  e[5]
4292
4335
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4293
4336
  },
4294
4337
  m(u, h) {
4295
- R(u, t, h), B(t, r), B(r, i), B(r, o), B(t, s);
4338
+ $(u, t, h), B(t, r), B(r, i), B(r, o), B(t, s);
4296
4339
  for (let f = 0; f < l.length; f += 1)
4297
4340
  l[f] && l[f].m(t, null);
4298
4341
  },
4299
4342
  p(u, h) {
4300
4343
  if (h & /*$_*/
4301
4344
  16 && n !== (n = /*$_*/
4302
- u[4]("tournaments") + "") && ae(i, n), h & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4345
+ u[4]("tournaments") + "") && se(i, n), h & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4303
4346
  126) {
4304
- a = et(
4347
+ a = ot(
4305
4348
  /*filterItems*/
4306
4349
  u[1]
4307
4350
  );
4308
4351
  let f;
4309
4352
  for (f = 0; f < a.length; f += 1) {
4310
- const c = St(u, a, f);
4311
- l[f] ? l[f].p(c, h) : (l[f] = Ot(c), l[f].c(), l[f].m(t, null));
4353
+ const c = Bt(u, a, f);
4354
+ l[f] ? l[f].p(c, h) : (l[f] = Lt(c), l[f].c(), l[f].m(t, null));
4312
4355
  }
4313
4356
  for (; f < l.length; f += 1)
4314
4357
  l[f].d(1);
@@ -4316,25 +4359,25 @@ function Tt(e) {
4316
4359
  }
4317
4360
  },
4318
4361
  d(u) {
4319
- u && N(t), br(l, u);
4362
+ u && M(t), Er(l, u);
4320
4363
  }
4321
4364
  };
4322
4365
  }
4323
- function Ht(e) {
4366
+ function Pt(e) {
4324
4367
  let t, r;
4325
4368
  return {
4326
4369
  c() {
4327
- t = qe("svg"), r = qe("path"), x(r, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), x(t, "xmlns", "http://www.w3.org/2000/svg"), x(t, "width", "16"), x(t, "height", "16"), x(t, "fill", "currentColor"), x(t, "class", "bi bi-check"), x(t, "part", "bi bi-check"), x(t, "viewBox", "0 0 16 16");
4370
+ t = nt("svg"), r = nt("path"), E(r, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), E(t, "xmlns", "http://www.w3.org/2000/svg"), E(t, "width", "16"), E(t, "height", "16"), E(t, "fill", "currentColor"), E(t, "class", "bi bi-check"), E(t, "part", "bi bi-check"), E(t, "viewBox", "0 0 16 16");
4328
4371
  },
4329
4372
  m(n, i) {
4330
- R(n, t, i), B(t, r);
4373
+ $(n, t, i), B(t, r);
4331
4374
  },
4332
4375
  d(n) {
4333
- n && N(t);
4376
+ n && M(t);
4334
4377
  }
4335
4378
  };
4336
4379
  }
4337
- function wt(e) {
4380
+ function Ct(e) {
4338
4381
  let t = (
4339
4382
  /*$_*/
4340
4383
  e[4]("scheduled") + ""
@@ -4344,19 +4387,19 @@ function wt(e) {
4344
4387
  r = G(t);
4345
4388
  },
4346
4389
  m(n, i) {
4347
- R(n, r, i);
4390
+ $(n, r, i);
4348
4391
  },
4349
4392
  p(n, i) {
4350
4393
  i & /*$_*/
4351
4394
  16 && t !== (t = /*$_*/
4352
- n[4]("scheduled") + "") && ae(r, t);
4395
+ n[4]("scheduled") + "") && se(r, t);
4353
4396
  },
4354
4397
  d(n) {
4355
- n && N(r);
4398
+ n && M(r);
4356
4399
  }
4357
4400
  };
4358
4401
  }
4359
- function At(e) {
4402
+ function It(e) {
4360
4403
  let t = (
4361
4404
  /*$_*/
4362
4405
  e[4]("ongoing") + ""
@@ -4366,19 +4409,19 @@ function At(e) {
4366
4409
  r = G(t);
4367
4410
  },
4368
4411
  m(n, i) {
4369
- R(n, r, i);
4412
+ $(n, r, i);
4370
4413
  },
4371
4414
  p(n, i) {
4372
4415
  i & /*$_*/
4373
4416
  16 && t !== (t = /*$_*/
4374
- n[4]("ongoing") + "") && ae(r, t);
4417
+ n[4]("ongoing") + "") && se(r, t);
4375
4418
  },
4376
4419
  d(n) {
4377
- n && N(r);
4420
+ n && M(r);
4378
4421
  }
4379
4422
  };
4380
4423
  }
4381
- function Bt(e) {
4424
+ function Nt(e) {
4382
4425
  let t = (
4383
4426
  /*$_*/
4384
4427
  e[4]("finished") + ""
@@ -4388,19 +4431,19 @@ function Bt(e) {
4388
4431
  r = G(t);
4389
4432
  },
4390
4433
  m(n, i) {
4391
- R(n, r, i);
4434
+ $(n, r, i);
4392
4435
  },
4393
4436
  p(n, i) {
4394
4437
  i & /*$_*/
4395
4438
  16 && t !== (t = /*$_*/
4396
- n[4]("finished") + "") && ae(r, t);
4439
+ n[4]("finished") + "") && se(r, t);
4397
4440
  },
4398
4441
  d(n) {
4399
- n && N(r);
4442
+ n && M(r);
4400
4443
  }
4401
4444
  };
4402
4445
  }
4403
- function Pt(e) {
4446
+ function Mt(e) {
4404
4447
  let t = (
4405
4448
  /*$_*/
4406
4449
  e[4]("all") + ""
@@ -4410,19 +4453,19 @@ function Pt(e) {
4410
4453
  r = G(t);
4411
4454
  },
4412
4455
  m(n, i) {
4413
- R(n, r, i);
4456
+ $(n, r, i);
4414
4457
  },
4415
4458
  p(n, i) {
4416
4459
  i & /*$_*/
4417
4460
  16 && t !== (t = /*$_*/
4418
- n[4]("all") + "") && ae(r, t);
4461
+ n[4]("all") + "") && se(r, t);
4419
4462
  },
4420
4463
  d(n) {
4421
- n && N(r);
4464
+ n && M(r);
4422
4465
  }
4423
4466
  };
4424
4467
  }
4425
- function Ot(e) {
4468
+ function Lt(e) {
4426
4469
  let t, r, n, i, o, s, a, l, u, h, f, c, p = (
4427
4470
  /*activeIndexes*/
4428
4471
  (e[2][
@@ -4430,19 +4473,19 @@ function Ot(e) {
4430
4473
  e[24]
4431
4474
  ] == 1 || /*allActive*/
4432
4475
  e[3] && /*index*/
4433
- e[24] == 0) && Ht()
4434
- ), d = (
4435
- /*filter*/
4436
- e[22] == "Scheduled" && wt(e)
4476
+ e[24] == 0) && Pt()
4437
4477
  ), m = (
4438
4478
  /*filter*/
4439
- e[22] == "Ongoing" && At(e)
4440
- ), _ = (
4479
+ e[22] == "Scheduled" && Ct(e)
4480
+ ), d = (
4481
+ /*filter*/
4482
+ e[22] == "Ongoing" && It(e)
4483
+ ), v = (
4441
4484
  /*filter*/
4442
- e[22] == "Finished" && Bt(e)
4443
- ), S = (
4485
+ e[22] == "Finished" && Nt(e)
4486
+ ), x = (
4444
4487
  /*filter*/
4445
- e[22] == "All" && Pt(e)
4488
+ e[22] == "All" && Mt(e)
4446
4489
  );
4447
4490
  function I() {
4448
4491
  return (
@@ -4457,120 +4500,120 @@ function Ot(e) {
4457
4500
  }
4458
4501
  return {
4459
4502
  c() {
4460
- t = U("li"), r = U("button"), p && p.c(), n = z(), i = U("div"), d && d.c(), o = z(), m && m.c(), s = z(), _ && _.c(), a = z(), S && S.c(), h = z(), x(i, "class", "FilterButton " + (O(
4503
+ t = U("li"), r = U("button"), p && p.c(), n = z(), i = U("div"), m && m.c(), o = z(), d && d.c(), s = z(), v && v.c(), a = z(), x && x.c(), h = z(), E(i, "class", "FilterButton " + (P(
4461
4504
  /*userAgent*/
4462
4505
  e[5]
4463
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (O(
4506
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(i, "part", "FilterButton " + (P(
4464
4507
  /*userAgent*/
4465
4508
  e[5]
4466
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "class", l = /*activeIndexes*/
4509
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(r, "class", l = /*activeIndexes*/
4467
4510
  (e[2][
4468
4511
  /*index*/
4469
4512
  e[24]
4470
4513
  ] == 1 || /*allActive*/
4471
4514
  e[3] && /*index*/
4472
- e[24] == 0 ? "Active" : "") + " " + (O(
4515
+ e[24] == 0 ? "Active" : "") + " " + (P(
4473
4516
  /*userAgent*/
4474
4517
  e[5]
4475
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", u = /*activeIndexes*/
4518
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(r, "part", u = /*activeIndexes*/
4476
4519
  (e[2][
4477
4520
  /*index*/
4478
4521
  e[24]
4479
4522
  ] == 1 || /*allActive*/
4480
4523
  e[3] && /*index*/
4481
- e[24] == 0 ? "Active" : "") + " " + (O(
4524
+ e[24] == 0 ? "Active" : "") + " " + (P(
4482
4525
  /*userAgent*/
4483
4526
  e[5]
4484
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersItem"), x(t, "part", "FiltersItem");
4527
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(t, "class", "FiltersItem"), E(t, "part", "FiltersItem");
4485
4528
  },
4486
- m(T, w) {
4487
- R(T, t, w), B(t, r), p && p.m(r, null), B(r, n), B(r, i), d && d.m(i, null), B(i, o), m && m.m(i, null), B(i, s), _ && _.m(i, null), B(i, a), S && S.m(i, null), B(t, h), f || (c = gr(t, "click", I), f = !0);
4529
+ m(T, H) {
4530
+ $(T, t, H), B(t, r), p && p.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), d && d.m(i, null), B(i, s), v && v.m(i, null), B(i, a), x && x.m(i, null), B(t, h), f || (c = xr(t, "click", I), f = !0);
4488
4531
  },
4489
- p(T, w) {
4532
+ p(T, H) {
4490
4533
  e = T, /*activeIndexes*/
4491
4534
  e[2][
4492
4535
  /*index*/
4493
4536
  e[24]
4494
4537
  ] == 1 || /*allActive*/
4495
4538
  e[3] && /*index*/
4496
- e[24] == 0 ? p || (p = Ht(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4497
- e[22] == "Scheduled" ? d ? d.p(e, w) : (d = wt(e), d.c(), d.m(i, o)) : d && (d.d(1), d = null), /*filter*/
4498
- e[22] == "Ongoing" ? m ? m.p(e, w) : (m = At(e), m.c(), m.m(i, s)) : m && (m.d(1), m = null), /*filter*/
4499
- e[22] == "Finished" ? _ ? _.p(e, w) : (_ = Bt(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4500
- e[22] == "All" ? S ? S.p(e, w) : (S = Pt(e), S.c(), S.m(i, null)) : S && (S.d(1), S = null), w & /*activeIndexes, allActive*/
4539
+ e[24] == 0 ? p || (p = Pt(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4540
+ e[22] == "Scheduled" ? m ? m.p(e, H) : (m = Ct(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4541
+ e[22] == "Ongoing" ? d ? d.p(e, H) : (d = It(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4542
+ e[22] == "Finished" ? v ? v.p(e, H) : (v = Nt(e), v.c(), v.m(i, a)) : v && (v.d(1), v = null), /*filter*/
4543
+ e[22] == "All" ? x ? x.p(e, H) : (x = Mt(e), x.c(), x.m(i, null)) : x && (x.d(1), x = null), H & /*activeIndexes, allActive*/
4501
4544
  12 && l !== (l = /*activeIndexes*/
4502
4545
  (e[2][
4503
4546
  /*index*/
4504
4547
  e[24]
4505
4548
  ] == 1 || /*allActive*/
4506
4549
  e[3] && /*index*/
4507
- e[24] == 0 ? "Active" : "") + " " + (O(
4550
+ e[24] == 0 ? "Active" : "") + " " + (P(
4508
4551
  /*userAgent*/
4509
4552
  e[5]
4510
- ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "class", l), w & /*activeIndexes, allActive*/
4553
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && E(r, "class", l), H & /*activeIndexes, allActive*/
4511
4554
  12 && u !== (u = /*activeIndexes*/
4512
4555
  (e[2][
4513
4556
  /*index*/
4514
4557
  e[24]
4515
4558
  ] == 1 || /*allActive*/
4516
4559
  e[3] && /*index*/
4517
- e[24] == 0 ? "Active" : "") + " " + (O(
4560
+ e[24] == 0 ? "Active" : "") + " " + (P(
4518
4561
  /*userAgent*/
4519
4562
  e[5]
4520
- ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "part", u);
4563
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && E(r, "part", u);
4521
4564
  },
4522
4565
  d(T) {
4523
- T && N(t), p && p.d(), d && d.d(), m && m.d(), _ && _.d(), S && S.d(), f = !1, c();
4566
+ T && M(t), p && p.d(), m && m.d(), d && d.d(), v && v.d(), x && x.d(), f = !1, c();
4524
4567
  }
4525
4568
  };
4526
4569
  }
4527
- function $i(e) {
4570
+ function ji(e) {
4528
4571
  let t, r = (
4529
4572
  /*filterItems*/
4530
- e[1].length > 0 && Tt(e)
4573
+ e[1].length > 0 && Ot(e)
4531
4574
  );
4532
4575
  return {
4533
4576
  c() {
4534
- t = U("div"), r && r.c(), x(t, "class", "FiltersController " + (O(
4577
+ t = U("div"), r && r.c(), E(t, "class", "FiltersController " + (P(
4535
4578
  /*userAgent*/
4536
4579
  e[5]
4537
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersController " + (O(
4580
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(t, "part", "FiltersController " + (P(
4538
4581
  /*userAgent*/
4539
4582
  e[5]
4540
4583
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4541
4584
  },
4542
4585
  m(n, i) {
4543
- R(n, t, i), r && r.m(t, null), e[13](t);
4586
+ $(n, t, i), r && r.m(t, null), e[13](t);
4544
4587
  },
4545
4588
  p(n, [i]) {
4546
4589
  /*filterItems*/
4547
- n[1].length > 0 ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4590
+ n[1].length > 0 ? r ? r.p(n, i) : (r = Ot(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4548
4591
  },
4549
4592
  i: C,
4550
4593
  o: C,
4551
4594
  d(n) {
4552
- n && N(t), r && r.d(), e[13](null);
4595
+ n && M(t), r && r.d(), e[13](null);
4553
4596
  }
4554
4597
  };
4555
4598
  }
4556
- function Fi(e, t, r) {
4599
+ function ki(e, t, r) {
4557
4600
  let n;
4558
- cr(e, Li, (v) => r(4, n = v));
4559
- let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, u, h = [], f = 0, c = new Array(100), p = !0, d = window.navigator.userAgent;
4560
- const m = () => {
4561
- fetch(s).then((H) => H.json()).then((H) => {
4562
- Object.keys(H).forEach((P) => {
4563
- Et(P, H[P]);
4601
+ gr(e, Di, (y) => r(4, n = y));
4602
+ let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, u, h = [], f = 0, c = new Array(100), p = !0, m = window.navigator.userAgent;
4603
+ const d = () => {
4604
+ fetch(s).then((w) => w.json()).then((w) => {
4605
+ Object.keys(w).forEach((O) => {
4606
+ Ht(O, w[O]);
4564
4607
  });
4565
- }).catch((H) => {
4566
- console.log(H);
4608
+ }).catch((w) => {
4609
+ console.log(w);
4567
4610
  });
4568
4611
  };
4569
- Object.keys(xt).forEach((v) => {
4570
- Et(v, xt[v]);
4612
+ Object.keys(At).forEach((y) => {
4613
+ Ht(y, At[y]);
4571
4614
  });
4572
- const _ = (v, H) => {
4573
- if (H == 0)
4615
+ const v = (y, w) => {
4616
+ if (w == 0)
4574
4617
  r(3, p = !0), r(2, c = new Array(f)), window.postMessage(
4575
4618
  {
4576
4619
  type: "TournamentsFiltersSelected",
@@ -4578,7 +4621,7 @@ function Fi(e, t, r) {
4578
4621
  },
4579
4622
  window.location.href
4580
4623
  );
4581
- else if (r(3, p = !1), c[H] == 1 ? (r(2, c[H] = 0, c), c.indexOf(1) == -1 && r(3, p = !0)) : r(2, c[H] = 1, c), c.indexOf(1) == -1)
4624
+ else if (r(3, p = !1), c[w] == 1 ? (r(2, c[w] = 0, c), c.indexOf(1) == -1 && r(3, p = !0)) : r(2, c[w] = 1, c), c.indexOf(1) == -1)
4582
4625
  window.postMessage(
4583
4626
  {
4584
4627
  type: "TournamentsFiltersSelected",
@@ -4587,34 +4630,34 @@ function Fi(e, t, r) {
4587
4630
  window.location.href
4588
4631
  );
4589
4632
  else {
4590
- let P = [];
4633
+ let O = [];
4591
4634
  for (let he = 0; he < h.length; he++)
4592
- c[he] == 1 && P.push(h[he]);
4635
+ c[he] == 1 && O.push(h[he]);
4593
4636
  window.postMessage(
4594
4637
  {
4595
4638
  type: "TournamentsFiltersSelected",
4596
- filters: P
4639
+ filters: O
4597
4640
  },
4598
4641
  window.location.href
4599
4642
  );
4600
4643
  }
4601
- }, S = () => {
4644
+ }, x = () => {
4602
4645
  r(1, h = i.split(",")), f = h.length;
4603
4646
  }, I = () => {
4604
- let v = o.split(",");
4605
- r(2, c = new Array(f)), v.indexOf("All") != -1 ? r(3, p = !0) : (r(3, p = !1), v.forEach((H) => {
4606
- let P = h.indexOf(H);
4607
- P > 0 && r(2, c[P] = 1, c);
4647
+ let y = o.split(",");
4648
+ r(2, c = new Array(f)), y.indexOf("All") != -1 ? r(3, p = !0) : (r(3, p = !1), y.forEach((w) => {
4649
+ let O = h.indexOf(w);
4650
+ O > 0 && r(2, c[O] = 1, c);
4608
4651
  }));
4609
4652
  }, T = () => {
4610
- let v = document.createElement("style");
4611
- v.innerHTML = a, u.appendChild(v);
4612
- }, w = () => {
4613
- let v = new URL(l), H = document.createElement("style");
4614
- fetch(v.href).then((P) => P.text()).then((P) => {
4615
- H.innerHTML = P, setTimeout(
4653
+ let y = document.createElement("style");
4654
+ y.innerHTML = a, u.appendChild(y);
4655
+ }, H = () => {
4656
+ let y = new URL(l), w = document.createElement("style");
4657
+ fetch(y.href).then((O) => O.text()).then((O) => {
4658
+ w.innerHTML = O, setTimeout(
4616
4659
  () => {
4617
- u.appendChild(H);
4660
+ u.appendChild(w);
4618
4661
  },
4619
4662
  1
4620
4663
  ), setTimeout(
@@ -4623,20 +4666,20 @@ function Fi(e, t, r) {
4623
4666
  500
4624
4667
  );
4625
4668
  });
4626
- }, M = (v, H) => _(v, H);
4627
- function k(v) {
4628
- Ce[v ? "unshift" : "push"](() => {
4629
- u = v, r(0, u);
4669
+ }, L = (y, w) => v(y, w);
4670
+ function k(y) {
4671
+ Me[y ? "unshift" : "push"](() => {
4672
+ u = y, r(0, u);
4630
4673
  });
4631
4674
  }
4632
- return e.$$set = (v) => {
4633
- "filters" in v && r(7, i = v.filters), "activefilters" in v && r(8, o = v.activefilters), "translationurl" in v && r(9, s = v.translationurl), "clientstyling" in v && r(10, a = v.clientstyling), "clientstylingurl" in v && r(11, l = v.clientstylingurl);
4675
+ return e.$$set = (y) => {
4676
+ "filters" in y && r(7, i = y.filters), "activefilters" in y && r(8, o = y.activefilters), "translationurl" in y && r(9, s = y.translationurl), "clientstyling" in y && r(10, a = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl);
4634
4677
  }, e.$$.update = () => {
4635
4678
  e.$$.dirty & /*customStylingContainer, clientstyling*/
4636
4679
  1025 && u && a && T(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
4637
- 2049 && u && l && w(), e.$$.dirty & /*translationurl*/
4638
- 512 && s && m(), e.$$.dirty & /*filters*/
4639
- 128 && i && S(), e.$$.dirty & /*activefilters*/
4680
+ 2049 && u && l && H(), e.$$.dirty & /*translationurl*/
4681
+ 512 && s && d(), e.$$.dirty & /*filters*/
4682
+ 128 && i && x(), e.$$.dirty & /*activefilters*/
4640
4683
  256 && o && I();
4641
4684
  }, [
4642
4685
  u,
@@ -4644,25 +4687,25 @@ function Fi(e, t, r) {
4644
4687
  c,
4645
4688
  p,
4646
4689
  n,
4647
- d,
4648
- _,
4690
+ m,
4691
+ v,
4649
4692
  i,
4650
4693
  o,
4651
4694
  s,
4652
4695
  a,
4653
4696
  l,
4654
- M,
4697
+ L,
4655
4698
  k
4656
4699
  ];
4657
4700
  }
4658
- class Ui extends Cr {
4701
+ class Vi extends Rr {
4659
4702
  constructor(t) {
4660
- super(), Pr(
4703
+ super(), Mr(
4661
4704
  this,
4662
4705
  t,
4663
- Fi,
4664
- $i,
4665
- It,
4706
+ ki,
4707
+ ji,
4708
+ $t,
4666
4709
  {
4667
4710
  filters: 7,
4668
4711
  activefilters: 8,
@@ -4670,7 +4713,7 @@ class Ui extends Cr {
4670
4713
  clientstyling: 10,
4671
4714
  clientstylingurl: 11
4672
4715
  },
4673
- Ri
4716
+ Gi
4674
4717
  );
4675
4718
  }
4676
4719
  get filters() {
@@ -4704,7 +4747,7 @@ class Ui extends Cr {
4704
4747
  this.$$set({ clientstylingurl: t }), D();
4705
4748
  }
4706
4749
  }
4707
- Or(Ui, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4750
+ Lr(Vi, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4708
4751
  export {
4709
- Ui as C
4752
+ Vi as C
4710
4753
  };