@everymatrix/casino-tournaments-filter-controller 1.65.3 → 1.66.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 Nt(e) {
3
+ function Rt(e) {
4
4
  return e();
5
5
  }
6
- function qe() {
6
+ function rt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function se(e) {
10
- e.forEach(Nt);
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 cr(e) {
18
+ function br(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Mt(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 Mt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function dr(e, t, r) {
31
- e.$$.on_destroy.push(Mt(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, br(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 br(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 I(e) {
63
+ function M(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function gr(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 Ke(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 yr(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 _r(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 _r(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 et = [], Er = /* @__PURE__ */ Promise.resolve();
111
- let Ne = !1;
112
- function xr() {
113
- Ne || (Ne = !0, Er.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 Ie(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), Sr(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 (; et.length; )
142
- et.pop()();
143
- Ne = !1, Te.clear(), ne(e);
141
+ for (; it.length; )
142
+ it.pop()();
143
+ Le = !1, He.clear(), re(e);
144
144
  }
145
- function Sr(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(Ie);
149
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
150
150
  }
151
151
  }
152
- function Tr(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 Hr = /* @__PURE__ */ new Set();
157
- function wr(e, t) {
158
- e && e.i && (Hr.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 tt(e) {
160
+ function ot(e) {
161
161
  return e?.length !== void 0 ? e : Array.from(e);
162
162
  }
163
- function Ar(e, t, r) {
163
+ function Cr(e, t, r) {
164
164
  const { fragment: n, after_update: i } = e.$$;
165
- n && n.m(t, r), Ie(() => {
166
- const o = e.$$.on_mount.map(Nt).filter(We);
167
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
168
- }), i.forEach(Ie);
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 Br(e, t) {
170
+ function Ir(e, t) {
171
171
  const r = e.$$;
172
- r.fragment !== null && (Tr(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 Pr(e, t) {
175
- e.$$.dirty[0] === -1 && (W.push(e), xr(), 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 Or(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 Or(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: qe(),
187
+ bound: rt(),
188
188
  // lifecycle
189
189
  on_mount: [],
190
190
  on_destroy: [],
@@ -193,28 +193,28 @@ function Or(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: qe(),
196
+ callbacks: rt(),
197
197
  dirty: a,
198
198
  skip_bound: !1,
199
199
  root: t.target || l.$$.root
200
200
  };
201
201
  s && s(u.root);
202
202
  let h = !1;
203
- if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
204
- const m = d.length ? d[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 && Pr(e, f)), c;
206
- }), u.update(), h = !0, se(u.before_update), u.fragment = n(u.ctx), t.target) {
203
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
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(I);
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 && wr(e.$$.fragment), Ar(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 Lt;
217
- typeof HTMLElement == "function" && (Lt = 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,29 +256,29 @@ typeof HTMLElement == "function" && (Lt = 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 && I(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 = _r(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) {
280
280
  const o = this.$$g_p(i.name);
281
- o in this.$$d || (this.$$d[o] = de(o, i.value, this.$$p_d, "toProp"));
281
+ o in this.$$d || (this.$$d[o] = pe(o, i.value, this.$$p_d, "toProp"));
282
282
  }
283
283
  for (const i in this.$$p_d)
284
284
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -296,7 +296,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
296
296
  this.$$r = !0;
297
297
  for (const i in this.$$p_d)
298
298
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
299
- const o = de(
299
+ const o = pe(
300
300
  i,
301
301
  this.$$d[i],
302
302
  this.$$p_d,
@@ -318,7 +318,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
318
318
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
319
319
  // and setting attributes through setAttribute etc, this is helpful
320
320
  attributeChangedCallback(e, t, r) {
321
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = de(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
321
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
322
322
  }
323
323
  disconnectedCallback() {
324
324
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
331
331
  ) || e;
332
332
  }
333
333
  });
334
- function de(e, t, r, n) {
334
+ function pe(e, t, r, n) {
335
335
  const i = r[e]?.type;
336
336
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
337
337
  return t;
@@ -360,8 +360,8 @@ function de(e, t, r, n) {
360
360
  return t;
361
361
  }
362
362
  }
363
- function Cr(e, t, r, n, i, o) {
364
- let s = class extends Lt {
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
  }
@@ -377,7 +377,7 @@ function Cr(e, t, r, n, i, o) {
377
377
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
378
378
  },
379
379
  set(l) {
380
- l = de(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
380
+ l = pe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
381
381
  }
382
382
  });
383
383
  }), n.forEach((a) => {
@@ -389,7 +389,7 @@ function Cr(e, t, r, n, i, o) {
389
389
  }), e.element = /** @type {any} */
390
390
  s, s;
391
391
  }
392
- class Nr {
392
+ class Rr {
393
393
  /**
394
394
  * ### PRIVATE API
395
395
  *
@@ -408,7 +408,7 @@ class Nr {
408
408
  $$set = void 0;
409
409
  /** @returns {void} */
410
410
  $destroy() {
411
- Br(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 Nr {
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 Nr {
430
430
  * @returns {void}
431
431
  */
432
432
  $set(t) {
433
- this.$$set && !cr(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 v = function() {
470
- return v = 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
- }, v.apply(this, arguments);
478
- };
479
- function Mr(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 Rt(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 = Rt(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 = Rt(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 ve = 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 ve = 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 (p) {
567
- t = { error: p };
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,29 +557,29 @@ var ve = 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 (p) {
583
- o = p instanceof He ? p.errors : [p];
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), d = c.next(); !d.done; d = c.next()) {
590
- var m = d.value;
570
+ for (var c = Fe(f), p = c.next(); !p.done; p = c.next()) {
571
+ var m = p.value;
591
572
  try {
592
- rt(m);
593
- } catch (p) {
594
- o = o ?? [], p instanceof He ? o = Q(Q([], Re(o)), Re(p.errors)) : o.push(p);
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 (p) {
598
- n = { error: p };
578
+ } catch (d) {
579
+ n = { error: d };
599
580
  } finally {
600
581
  try {
601
- d && !d.done && (i = c.return) && i.call(c);
582
+ p && !p.done && (i = c.return) && i.call(c);
602
583
  } finally {
603
584
  if (n)
604
585
  throw n.error;
@@ -606,13 +587,13 @@ var ve = 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
- rt(t);
596
+ st(t);
616
597
  else {
617
598
  if (t instanceof e) {
618
599
  if (t.closed || t._hasParent(this))
@@ -629,56 +610,52 @@ var ve = 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
- }(), $t = ve.EMPTY;
641
- function Ft(e) {
642
- return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
643
- }
644
- function rt(e) {
645
- L(e) ? e() : e.unsubscribe();
646
- }
647
- var Lr = {
648
- onUnhandledError: null,
649
- onStoppedNotification: null,
650
- Promise: void 0,
651
- useDeprecatedSynchronousErrorHandling: !1,
652
- useDeprecatedNextContext: !1
653
- }, Rr = {
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);
624
+ }
625
+ function st(e) {
626
+ R(e) ? e() : e.unsubscribe();
627
+ }
628
+ var Fr = {
629
+ Promise: void 0
630
+ }, Ur = {
654
631
  setTimeout: function(e, t) {
655
632
  for (var r = [], n = 2; n < arguments.length; n++)
656
633
  r[n - 2] = arguments[n];
657
- return setTimeout.apply(void 0, Q([e, t], Re(r)));
634
+ return setTimeout.apply(void 0, De([e, t], Ue(r)));
658
635
  },
659
636
  clearTimeout: function(e) {
660
637
  return clearTimeout(e);
661
638
  },
662
639
  delegate: void 0
663
640
  };
664
- function $r(e) {
665
- Rr.setTimeout(function() {
641
+ function Dr(e) {
642
+ Ur.setTimeout(function() {
666
643
  throw e;
667
644
  });
668
645
  }
669
- function nt() {
646
+ function at() {
670
647
  }
671
- function pe(e) {
648
+ function de(e) {
672
649
  e();
673
650
  }
674
- var Ut = function(e) {
675
- $(t, e);
651
+ var kt = function(e) {
652
+ ae(t, e);
676
653
  function t(r) {
677
654
  var n = e.call(this) || this;
678
- return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = Dr, n;
655
+ return n.isStopped = !1, r ? (n.destination = r, jt(r) && r.add(n)) : n.destination = kr, n;
679
656
  }
680
657
  return t.create = function(r, n, i) {
681
- return new Fe(r, n, i);
658
+ return new je(r, n, i);
682
659
  }, t.prototype.next = function(r) {
683
660
  this.isStopped || this._next(r);
684
661
  }, t.prototype.error = function(r) {
@@ -702,7 +679,7 @@ var Ut = function(e) {
702
679
  this.unsubscribe();
703
680
  }
704
681
  }, t;
705
- }(ve), Fr = function() {
682
+ }(_e), Gr = function() {
706
683
  function e(t) {
707
684
  this.partialObserver = t;
708
685
  }
@@ -733,43 +710,43 @@ var Ut = function(e) {
733
710
  fe(r);
734
711
  }
735
712
  }, e;
736
- }(), Fe = function(e) {
737
- $(t, e);
713
+ }(), je = function(e) {
714
+ ae(t, e);
738
715
  function t(r, n, i) {
739
716
  var o = e.call(this) || this, s;
740
- return L(r) || !r ? s = {
717
+ return R(r) || !r ? s = {
741
718
  next: r ?? void 0,
742
719
  error: n ?? void 0,
743
720
  complete: i ?? void 0
744
- } : s = r, o.destination = new Fr(s), o;
721
+ } : s = r, o.destination = new Gr(s), o;
745
722
  }
746
723
  return t;
747
- }(Ut);
724
+ }(kt);
748
725
  function fe(e) {
749
- $r(e);
726
+ Dr(e);
750
727
  }
751
- function Ur(e) {
728
+ function jr(e) {
752
729
  throw e;
753
730
  }
754
- var Dr = {
731
+ var kr = {
755
732
  closed: !0,
756
- next: nt,
757
- error: Ur,
758
- complete: nt
759
- }, Gr = function() {
733
+ next: at,
734
+ error: jr,
735
+ complete: at
736
+ }, Vr = function() {
760
737
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
761
738
  }();
762
- function jr(e) {
739
+ function Xr(e) {
763
740
  return e;
764
741
  }
765
- function kr(e) {
766
- return e.length === 0 ? jr : e.length === 1 ? e[0] : function(r) {
742
+ function zr(e) {
743
+ return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
767
744
  return e.reduce(function(n, i) {
768
745
  return i(n);
769
746
  }, r);
770
747
  };
771
748
  }
772
- var it = function() {
749
+ var ut = function() {
773
750
  function e(t) {
774
751
  t && (this._subscribe = t);
775
752
  }
@@ -777,8 +754,8 @@ var it = function() {
777
754
  var r = new e();
778
755
  return r.source = this, r.operator = t, r;
779
756
  }, e.prototype.subscribe = function(t, r, n) {
780
- var i = this, o = Xr(t) ? t : new Fe(t, r, n);
781
- return pe(function() {
757
+ var i = this, o = Zr(t) ? t : new je(t, r, n);
758
+ return de(function() {
782
759
  var s = i, a = s.operator, l = s.source;
783
760
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
784
761
  }), o;
@@ -790,8 +767,8 @@ var it = function() {
790
767
  }
791
768
  }, e.prototype.forEach = function(t, r) {
792
769
  var n = this;
793
- return r = ot(r), new r(function(i, o) {
794
- var s = new Fe({
770
+ return r = lt(r), new r(function(i, o) {
771
+ var s = new je({
795
772
  next: function(a) {
796
773
  try {
797
774
  t(a);
@@ -807,15 +784,15 @@ var it = function() {
807
784
  }, e.prototype._subscribe = function(t) {
808
785
  var r;
809
786
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
810
- }, e.prototype[Gr] = function() {
787
+ }, e.prototype[Vr] = function() {
811
788
  return this;
812
789
  }, e.prototype.pipe = function() {
813
790
  for (var t = [], r = 0; r < arguments.length; r++)
814
791
  t[r] = arguments[r];
815
- return kr(t)(this);
792
+ return zr(t)(this);
816
793
  }, e.prototype.toPromise = function(t) {
817
794
  var r = this;
818
- return t = ot(t), new t(function(n, i) {
795
+ return t = lt(t), new t(function(n, i) {
819
796
  var o;
820
797
  r.subscribe(function(s) {
821
798
  return o = s;
@@ -829,40 +806,40 @@ var it = function() {
829
806
  return new e(t);
830
807
  }, e;
831
808
  }();
832
- function ot(e) {
809
+ function lt(e) {
833
810
  var t;
834
- return (t = e ?? Lr.Promise) !== null && t !== void 0 ? t : Promise;
811
+ return (t = e ?? Fr.Promise) !== null && t !== void 0 ? t : Promise;
835
812
  }
836
- function Vr(e) {
837
- 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);
838
815
  }
839
- function Xr(e) {
840
- return e && e instanceof Ut || Vr(e) && Ft(e);
816
+ function Zr(e) {
817
+ return e && e instanceof kt || Wr(e) && jt(e);
841
818
  }
842
- var zr = Rt(function(e) {
819
+ var Qr = Dt(function(e) {
843
820
  return function() {
844
821
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
845
822
  };
846
- }), Dt = function(e) {
847
- $(t, e);
823
+ }), Vt = function(e) {
824
+ ae(t, e);
848
825
  function t() {
849
826
  var r = e.call(this) || this;
850
827
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
851
828
  }
852
829
  return t.prototype.lift = function(r) {
853
- var n = new st(this, this);
830
+ var n = new ht(this, this);
854
831
  return n.operator = r, n;
855
832
  }, t.prototype._throwIfClosed = function() {
856
833
  if (this.closed)
857
- throw new zr();
834
+ throw new Qr();
858
835
  }, t.prototype.next = function(r) {
859
836
  var n = this;
860
- pe(function() {
837
+ de(function() {
861
838
  var i, o;
862
839
  if (n._throwIfClosed(), !n.isStopped) {
863
840
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
864
841
  try {
865
- 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()) {
866
843
  var l = a.value;
867
844
  l.next(r);
868
845
  }
@@ -880,7 +857,7 @@ var zr = Rt(function(e) {
880
857
  });
881
858
  }, t.prototype.error = function(r) {
882
859
  var n = this;
883
- pe(function() {
860
+ de(function() {
884
861
  if (n._throwIfClosed(), !n.isStopped) {
885
862
  n.hasError = n.isStopped = !0, n.thrownError = r;
886
863
  for (var i = n.observers; i.length; )
@@ -889,7 +866,7 @@ var zr = Rt(function(e) {
889
866
  });
890
867
  }, t.prototype.complete = function() {
891
868
  var r = this;
892
- pe(function() {
869
+ de(function() {
893
870
  if (r._throwIfClosed(), !r.isStopped) {
894
871
  r.isStopped = !0;
895
872
  for (var n = r.observers; n.length; )
@@ -911,20 +888,20 @@ var zr = Rt(function(e) {
911
888
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
912
889
  }, t.prototype._innerSubscribe = function(r) {
913
890
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
914
- return o || s ? $t : (this.currentObservers = null, a.push(r), new ve(function() {
915
- 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);
916
893
  }));
917
894
  }, t.prototype._checkFinalizedStatuses = function(r) {
918
895
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
919
896
  i ? r.error(o) : s && r.complete();
920
897
  }, t.prototype.asObservable = function() {
921
- var r = new it();
898
+ var r = new ut();
922
899
  return r.source = this, r;
923
900
  }, t.create = function(r, n) {
924
- return new st(r, n);
901
+ return new ht(r, n);
925
902
  }, t;
926
- }(it), st = function(e) {
927
- $(t, e);
903
+ }(ut), ht = function(e) {
904
+ ae(t, e);
928
905
  function t(r, n) {
929
906
  var i = e.call(this) || this;
930
907
  return i.destination = r, i.source = n, i;
@@ -940,17 +917,17 @@ var zr = Rt(function(e) {
940
917
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
941
918
  }, t.prototype._subscribe = function(r) {
942
919
  var n, i;
943
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
920
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
944
921
  }, t;
945
- }(Dt), Gt = {
922
+ }(Vt), Xt = {
946
923
  now: function() {
947
- return (Gt.delegate || Date).now();
924
+ return (Xt.delegate || Date).now();
948
925
  },
949
926
  delegate: void 0
950
- }, Wr = function(e) {
951
- $(t, e);
927
+ }, Jr = function(e) {
928
+ ae(t, e);
952
929
  function t(r, n, i) {
953
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
930
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Xt);
954
931
  var o = e.call(this) || this;
955
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;
956
933
  }
@@ -970,24 +947,24 @@ var zr = Rt(function(e) {
970
947
  u && o.splice(0, u + 1);
971
948
  }
972
949
  }, t;
973
- }(Dt);
974
- const at = [], ut = {}, Zr = (e, t = 0) => {
975
- if (at.indexOf(e) == -1) {
976
- const r = new Wr(t);
977
- ut[e] = r, at.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);
978
955
  }
979
- return ut[e];
956
+ return ct[e];
980
957
  }, X = [];
981
- function Qr(e, t) {
958
+ function qr(e, t) {
982
959
  return {
983
- subscribe: _e(e, t).subscribe
960
+ subscribe: Ee(e, t).subscribe
984
961
  };
985
962
  }
986
- function _e(e, t = C) {
963
+ function Ee(e, t = C) {
987
964
  let r;
988
965
  const n = /* @__PURE__ */ new Set();
989
966
  function i(a) {
990
- if (It(e, a) && (e = a, r)) {
967
+ if ($t(e, a) && (e = a, r)) {
991
968
  const l = !X.length;
992
969
  for (const u of n)
993
970
  u[1](), X.push(u, e);
@@ -1009,12 +986,12 @@ function _e(e, t = C) {
1009
986
  }
1010
987
  return { set: i, update: o, subscribe: s };
1011
988
  }
1012
- function ee(e, t, r) {
989
+ function K(e, t, r) {
1013
990
  const n = !Array.isArray(e), i = n ? [e] : e;
1014
991
  if (!i.every(Boolean))
1015
992
  throw new Error("derived() expects stores as input, got a falsy value");
1016
993
  const o = t.length < 2;
1017
- return Qr(r, (s, a) => {
994
+ return qr(r, (s, a) => {
1018
995
  let l = !1;
1019
996
  const u = [];
1020
997
  let h = 0, f = C;
@@ -1023,131 +1000,170 @@ function ee(e, t, r) {
1023
1000
  return;
1024
1001
  f();
1025
1002
  const m = t(n ? u[0] : u, s, a);
1026
- o ? s(m) : f = We(m) ? m : C;
1027
- }, d = i.map(
1028
- (m, p) => Mt(
1003
+ o ? s(m) : f = qe(m) ? m : C;
1004
+ }, p = i.map(
1005
+ (m, d) => Ft(
1029
1006
  m,
1030
- (_) => {
1031
- u[p] = _, h &= ~(1 << p), l && c();
1007
+ (v) => {
1008
+ u[d] = v, h &= ~(1 << d), l && c();
1032
1009
  },
1033
1010
  () => {
1034
- h |= 1 << p;
1011
+ h |= 1 << d;
1035
1012
  }
1036
1013
  )
1037
1014
  );
1038
1015
  return l = !0, c(), function() {
1039
- se(d), f(), l = !1;
1016
+ oe(p), f(), l = !1;
1040
1017
  };
1041
1018
  });
1042
1019
  }
1043
- function Jr(e) {
1044
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1020
+ function Kr(e) {
1021
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1045
1022
  }
1046
- var Yr = function(t) {
1047
- return qr(t) && !Kr(t);
1023
+ var en = function(t) {
1024
+ return tn(t) && !rn(t);
1048
1025
  };
1049
- function qr(e) {
1026
+ function tn(e) {
1050
1027
  return !!e && typeof e == "object";
1051
1028
  }
1052
- function Kr(e) {
1029
+ function rn(e) {
1053
1030
  var t = Object.prototype.toString.call(e);
1054
- return t === "[object RegExp]" || t === "[object Date]" || rn(e);
1031
+ return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1055
1032
  }
1056
- var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
1057
- function rn(e) {
1058
- return e.$$typeof === tn;
1033
+ var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
1034
+ function sn(e) {
1035
+ return e.$$typeof === on;
1059
1036
  }
1060
- function nn(e) {
1037
+ function an(e) {
1061
1038
  return Array.isArray(e) ? [] : {};
1062
1039
  }
1063
- function ie(e, t) {
1064
- return t.clone !== !1 && t.isMergeableObject(e) ? J(nn(e), e, t) : e;
1040
+ function ne(e, t) {
1041
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(an(e), e, t) : e;
1065
1042
  }
1066
- function on(e, t, r) {
1043
+ function un(e, t, r) {
1067
1044
  return e.concat(t).map(function(n) {
1068
- return ie(n, r);
1045
+ return ne(n, r);
1069
1046
  });
1070
1047
  }
1071
- function sn(e, t) {
1048
+ function ln(e, t) {
1072
1049
  if (!t.customMerge)
1073
- return J;
1050
+ return Q;
1074
1051
  var r = t.customMerge(e);
1075
- return typeof r == "function" ? r : J;
1052
+ return typeof r == "function" ? r : Q;
1076
1053
  }
1077
- function an(e) {
1054
+ function hn(e) {
1078
1055
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1079
1056
  return Object.propertyIsEnumerable.call(e, t);
1080
1057
  }) : [];
1081
1058
  }
1082
- function lt(e) {
1083
- return Object.keys(e).concat(an(e));
1059
+ function pt(e) {
1060
+ return Object.keys(e).concat(hn(e));
1084
1061
  }
1085
- function jt(e, t) {
1062
+ function zt(e, t) {
1086
1063
  try {
1087
1064
  return t in e;
1088
1065
  } catch {
1089
1066
  return !1;
1090
1067
  }
1091
1068
  }
1092
- function un(e, t) {
1093
- return jt(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));
1094
1071
  }
1095
- function ln(e, t, r) {
1072
+ function cn(e, t, r) {
1096
1073
  var n = {};
1097
- return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1098
- n[i] = ie(e[i], r);
1099
- }), lt(t).forEach(function(i) {
1100
- un(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(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));
1101
1078
  }), n;
1102
1079
  }
1103
- function J(e, t, r) {
1104
- r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, 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;
1105
1082
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1106
- return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : ie(t, r);
1083
+ return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ne(t, r);
1107
1084
  }
1108
- J.all = function(t, r) {
1085
+ Q.all = function(t, r) {
1109
1086
  if (!Array.isArray(t))
1110
1087
  throw new Error("first argument should be an array");
1111
1088
  return t.reduce(function(n, i) {
1112
- return J(n, i, r);
1089
+ return Q(n, i, r);
1113
1090
  }, {});
1114
1091
  };
1115
- var hn = J, fn = hn;
1116
- const cn = /* @__PURE__ */ Jr(fn);
1117
- function we(e, t) {
1118
- var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : pn;
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;
1119
1138
  return i(e, {
1120
1139
  cache: r,
1121
1140
  serializer: n
1122
1141
  });
1123
1142
  }
1124
- function dn(e) {
1143
+ function gn(e) {
1125
1144
  return e == null || typeof e == "number" || typeof e == "boolean";
1126
1145
  }
1127
- function kt(e, t, r, n) {
1128
- var i = dn(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);
1129
1148
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1130
1149
  }
1131
- function Vt(e, t, r) {
1150
+ function Wt(e, t, r) {
1132
1151
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1133
1152
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1134
1153
  }
1135
- function Qe(e, t, r, n, i) {
1154
+ function Zt(e, t, r, n, i) {
1136
1155
  return r.bind(t, e, n, i);
1137
1156
  }
1138
- function pn(e, t) {
1139
- var r = e.length === 1 ? kt : Vt;
1140
- return Qe(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);
1141
1160
  }
1142
- function mn(e, t) {
1143
- return Qe(e, this, Vt, t.cache.create(), t.serializer);
1144
- }
1145
- function bn(e, t) {
1146
- return Qe(e, this, kt, t.cache.create(), t.serializer);
1161
+ function _n(e, t) {
1162
+ return Zt(e, this, Wt, t.cache.create(), t.serializer);
1147
1163
  }
1148
- var gn = function() {
1164
+ var En = function() {
1149
1165
  return JSON.stringify(arguments);
1150
- }, yn = (
1166
+ }, xn = (
1151
1167
  /** @class */
1152
1168
  function() {
1153
1169
  function e() {
@@ -1159,62 +1175,71 @@ var gn = function() {
1159
1175
  this.cache[t] = r;
1160
1176
  }, e;
1161
1177
  }()
1162
- ), vn = {
1178
+ ), Sn = {
1163
1179
  create: function() {
1164
- return new yn();
1180
+ return new xn();
1165
1181
  }
1166
- }, Ae = {
1167
- variadic: mn,
1168
- monadic: bn
1169
- }, 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;
1170
1195
  (function(e) {
1171
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";
1172
1197
  })(b || (b = {}));
1173
- var E;
1198
+ var _;
1174
1199
  (function(e) {
1175
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";
1176
- })(E || (E = {}));
1177
- var Y;
1201
+ })(_ || (_ = {}));
1202
+ var J;
1178
1203
  (function(e) {
1179
1204
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1180
- })(Y || (Y = {}));
1181
- function ht(e) {
1182
- return e.type === E.literal;
1205
+ })(J || (J = {}));
1206
+ function dt(e) {
1207
+ return e.type === _.literal;
1183
1208
  }
1184
- function _n(e) {
1185
- return e.type === E.argument;
1209
+ function Tn(e) {
1210
+ return e.type === _.argument;
1186
1211
  }
1187
- function Xt(e) {
1188
- return e.type === E.number;
1212
+ function Qt(e) {
1213
+ return e.type === _.number;
1189
1214
  }
1190
- function zt(e) {
1191
- return e.type === E.date;
1215
+ function Jt(e) {
1216
+ return e.type === _.date;
1192
1217
  }
1193
- function Wt(e) {
1194
- return e.type === E.time;
1218
+ function Yt(e) {
1219
+ return e.type === _.time;
1195
1220
  }
1196
- function Zt(e) {
1197
- return e.type === E.select;
1221
+ function qt(e) {
1222
+ return e.type === _.select;
1198
1223
  }
1199
- function Qt(e) {
1200
- return e.type === E.plural;
1224
+ function Kt(e) {
1225
+ return e.type === _.plural;
1201
1226
  }
1202
- function En(e) {
1203
- return e.type === E.pound;
1227
+ function wn(e) {
1228
+ return e.type === _.pound;
1204
1229
  }
1205
- function Jt(e) {
1206
- return e.type === E.tag;
1230
+ function er(e) {
1231
+ return e.type === _.tag;
1207
1232
  }
1208
- function Yt(e) {
1209
- return !!(e && typeof e == "object" && e.type === Y.number);
1233
+ function tr(e) {
1234
+ return !!(e && typeof e == "object" && e.type === J.number);
1210
1235
  }
1211
- function Ue(e) {
1212
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
1236
+ function Ve(e) {
1237
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
1213
1238
  }
1214
- var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xn = /(?:[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;
1215
- function Sn(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) {
1216
1241
  var t = {};
1217
- return e.replace(xn, function(r) {
1242
+ return e.replace(Hn, function(r) {
1218
1243
  var n = r.length;
1219
1244
  switch (r[0]) {
1220
1245
  case "G":
@@ -1303,11 +1328,21 @@ function Sn(e) {
1303
1328
  return "";
1304
1329
  }), t;
1305
1330
  }
1306
- var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1307
- function Hn(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) {
1308
1343
  if (e.length === 0)
1309
1344
  throw new Error("Number skeleton cannot be empty");
1310
- for (var t = e.split(Tn).filter(function(c) {
1345
+ for (var t = e.split(Bn).filter(function(c) {
1311
1346
  return c.length > 0;
1312
1347
  }), r = [], n = 0, i = t; n < i.length; n++) {
1313
1348
  var o = i[n], s = o.split("/");
@@ -1322,17 +1357,17 @@ function Hn(e) {
1322
1357
  }
1323
1358
  return r;
1324
1359
  }
1325
- function wn(e) {
1360
+ function Pn(e) {
1326
1361
  return e.replace(/^(.*?)-/, "");
1327
1362
  }
1328
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1329
- function ct(e) {
1363
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1364
+ function bt(e) {
1330
1365
  var t = {};
1331
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, 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) {
1332
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)), "";
1333
1368
  }), t;
1334
1369
  }
1335
- function tr(e) {
1370
+ function or(e) {
1336
1371
  switch (e) {
1337
1372
  case "sign-auto":
1338
1373
  return {
@@ -1372,7 +1407,7 @@ function tr(e) {
1372
1407
  };
1373
1408
  }
1374
1409
  }
1375
- function Bn(e) {
1410
+ function In(e) {
1376
1411
  var t;
1377
1412
  if (e[0] === "E" && e[1] === "E" ? (t = {
1378
1413
  notation: "engineering"
@@ -1380,17 +1415,17 @@ function Bn(e) {
1380
1415
  notation: "scientific"
1381
1416
  }, e = e.slice(1)), t) {
1382
1417
  var r = e.slice(0, 2);
1383
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1418
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
1384
1419
  throw new Error("Malformed concise eng/scientific notation");
1385
1420
  t.minimumIntegerDigits = e.length;
1386
1421
  }
1387
1422
  return t;
1388
1423
  }
1389
- function dt(e) {
1390
- var t = {}, r = tr(e);
1424
+ function gt(e) {
1425
+ var t = {}, r = or(e);
1391
1426
  return r || t;
1392
1427
  }
1393
- function Pn(e) {
1428
+ function Nn(e) {
1394
1429
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1395
1430
  var i = n[r];
1396
1431
  switch (i.stem) {
@@ -1414,7 +1449,7 @@ function Pn(e) {
1414
1449
  continue;
1415
1450
  case "measure-unit":
1416
1451
  case "unit":
1417
- t.style = "unit", t.unit = wn(i.options[0]);
1452
+ t.style = "unit", t.unit = Pn(i.options[0]);
1418
1453
  continue;
1419
1454
  case "compact-short":
1420
1455
  case "K":
@@ -1425,13 +1460,13 @@ function Pn(e) {
1425
1460
  t.notation = "compact", t.compactDisplay = "long";
1426
1461
  continue;
1427
1462
  case "scientific":
1428
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1429
- return v(v({}, l), dt(u));
1463
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1464
+ return S(S({}, l), gt(u));
1430
1465
  }, {}));
1431
1466
  continue;
1432
1467
  case "engineering":
1433
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1434
- return v(v({}, l), dt(u));
1468
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1469
+ return S(S({}, l), gt(u));
1435
1470
  }, {}));
1436
1471
  continue;
1437
1472
  case "notation-simple":
@@ -1476,41 +1511,41 @@ function Pn(e) {
1476
1511
  case "integer-width":
1477
1512
  if (i.options.length > 1)
1478
1513
  throw new RangeError("integer-width stems only accept a single optional option");
1479
- i.options[0].replace(An, function(l, u, h, f, c, d) {
1514
+ i.options[0].replace(Cn, function(l, u, h, f, c, p) {
1480
1515
  if (u)
1481
1516
  t.minimumIntegerDigits = h.length;
1482
1517
  else {
1483
1518
  if (f && c)
1484
1519
  throw new Error("We currently do not support maximum integer digits");
1485
- if (d)
1520
+ if (p)
1486
1521
  throw new Error("We currently do not support exact integer digits");
1487
1522
  }
1488
1523
  return "";
1489
1524
  });
1490
1525
  continue;
1491
1526
  }
1492
- if (er.test(i.stem)) {
1527
+ if (ir.test(i.stem)) {
1493
1528
  t.minimumIntegerDigits = i.stem.length;
1494
1529
  continue;
1495
1530
  }
1496
- if (ft.test(i.stem)) {
1531
+ if (mt.test(i.stem)) {
1497
1532
  if (i.options.length > 1)
1498
1533
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1499
- i.stem.replace(ft, function(l, u, h, f, c, d) {
1500
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1534
+ i.stem.replace(mt, function(l, u, h, f, c, p) {
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), "";
1501
1536
  });
1502
1537
  var o = i.options[0];
1503
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ct(o)));
1538
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), bt(o)));
1504
1539
  continue;
1505
1540
  }
1506
- if (Kt.test(i.stem)) {
1507
- t = v(v({}, t), ct(i.stem));
1541
+ if (nr.test(i.stem)) {
1542
+ t = S(S({}, t), bt(i.stem));
1508
1543
  continue;
1509
1544
  }
1510
- var s = tr(i.stem);
1511
- s && (t = v(v({}, t), s));
1512
- var a = Bn(i.stem);
1513
- a && (t = v(v({}, 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));
1514
1549
  }
1515
1550
  return t;
1516
1551
  }
@@ -2929,13 +2964,13 @@ var ce = {
2929
2964
  "h"
2930
2965
  ]
2931
2966
  };
2932
- function On(e, t) {
2967
+ function Mn(e, t) {
2933
2968
  for (var r = "", n = 0; n < e.length; n++) {
2934
2969
  var i = e.charAt(n);
2935
2970
  if (i === "j") {
2936
2971
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2937
2972
  o++, n++;
2938
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Cn(t);
2973
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ln(t);
2939
2974
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2940
2975
  r += l;
2941
2976
  for (; s-- > 0; )
@@ -2945,7 +2980,7 @@ function On(e, t) {
2945
2980
  }
2946
2981
  return r;
2947
2982
  }
2948
- function Cn(e) {
2983
+ function Ln(e) {
2949
2984
  var t = e.hourCycle;
2950
2985
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2951
2986
  e.hourCycles && // @ts-ignore
@@ -2967,20 +3002,20 @@ function Cn(e) {
2967
3002
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2968
3003
  return i[0];
2969
3004
  }
2970
- var Be, Nn = new RegExp("^".concat(qt.source, "*")), In = new RegExp("".concat(qt.source, "*$"));
3005
+ var Ce, Rn = new RegExp("^".concat(rr.source, "*")), $n = new RegExp("".concat(rr.source, "*$"));
2971
3006
  function g(e, t) {
2972
3007
  return { start: e, end: t };
2973
3008
  }
2974
- var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Rn = !!Object.fromEntries, $n = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Gn = Dn ? 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) {
2975
3010
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2976
- }, De = !0;
3011
+ }, Xe = !0;
2977
3012
  try {
2978
- var jn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2979
- De = ((Be = jn.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";
2980
3015
  } catch {
2981
- De = !1;
3016
+ Xe = !1;
2982
3017
  }
2983
- var pt = Mn ? (
3018
+ var yt = Fn ? (
2984
3019
  // Native
2985
3020
  function(t, r, n) {
2986
3021
  return t.startsWith(r, n);
@@ -2990,7 +3025,7 @@ var pt = Mn ? (
2990
3025
  function(t, r, n) {
2991
3026
  return t.slice(n, n + r.length) === r;
2992
3027
  }
2993
- ), Ge = Ln ? String.fromCodePoint : (
3028
+ ), ze = Un ? String.fromCodePoint : (
2994
3029
  // IE11
2995
3030
  function() {
2996
3031
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3002,9 +3037,9 @@ var pt = Mn ? (
3002
3037
  }
3003
3038
  return n;
3004
3039
  }
3005
- ), mt = (
3040
+ ), vt = (
3006
3041
  // native
3007
- Rn ? Object.fromEntries : (
3042
+ Dn ? Object.fromEntries : (
3008
3043
  // Ponyfill
3009
3044
  function(t) {
3010
3045
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3014,7 +3049,7 @@ var pt = Mn ? (
3014
3049
  return r;
3015
3050
  }
3016
3051
  )
3017
- ), rr = $n ? (
3052
+ ), sr = Gn ? (
3018
3053
  // Native
3019
3054
  function(t, r) {
3020
3055
  return t.codePointAt(r);
@@ -3028,7 +3063,7 @@ var pt = Mn ? (
3028
3063
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3029
3064
  }
3030
3065
  }
3031
- ), kn = Fn ? (
3066
+ ), Wn = jn ? (
3032
3067
  // Native
3033
3068
  function(t) {
3034
3069
  return t.trimStart();
@@ -3036,9 +3071,9 @@ var pt = Mn ? (
3036
3071
  ) : (
3037
3072
  // Ponyfill
3038
3073
  function(t) {
3039
- return t.replace(Nn, "");
3074
+ return t.replace(Rn, "");
3040
3075
  }
3041
- ), Vn = Un ? (
3076
+ ), Zn = kn ? (
3042
3077
  // Native
3043
3078
  function(t) {
3044
3079
  return t.trimEnd();
@@ -3046,32 +3081,32 @@ var pt = Mn ? (
3046
3081
  ) : (
3047
3082
  // Ponyfill
3048
3083
  function(t) {
3049
- return t.replace(In, "");
3084
+ return t.replace($n, "");
3050
3085
  }
3051
3086
  );
3052
- function nr(e, t) {
3087
+ function ar(e, t) {
3053
3088
  return new RegExp(e, t);
3054
3089
  }
3055
- var je;
3056
- if (De) {
3057
- var bt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3058
- 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) {
3059
3094
  var n;
3060
- bt.lastIndex = r;
3061
- var i = bt.exec(t);
3095
+ _t.lastIndex = r;
3096
+ var i = _t.exec(t);
3062
3097
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3063
3098
  };
3064
3099
  } else
3065
- je = function(t, r) {
3100
+ We = function(t, r) {
3066
3101
  for (var n = []; ; ) {
3067
- var i = rr(t, r);
3068
- if (i === void 0 || ir(i) || Zn(i))
3102
+ var i = sr(t, r);
3103
+ if (i === void 0 || ur(i) || qn(i))
3069
3104
  break;
3070
3105
  n.push(i), r += i >= 65536 ? 2 : 1;
3071
3106
  }
3072
- return Ge.apply(void 0, n);
3107
+ return ze.apply(void 0, n);
3073
3108
  };
3074
- var Xn = (
3109
+ var Qn = (
3075
3110
  /** @class */
3076
3111
  function() {
3077
3112
  function e(t, r) {
@@ -3095,14 +3130,14 @@ var Xn = (
3095
3130
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3096
3131
  var a = this.clonePosition();
3097
3132
  this.bump(), i.push({
3098
- type: E.pound,
3133
+ type: _.pound,
3099
3134
  location: g(a, this.clonePosition())
3100
3135
  });
3101
3136
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3102
3137
  if (n)
3103
3138
  break;
3104
3139
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3105
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3140
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3106
3141
  var s = this.parseTag(t, r);
3107
3142
  if (s.err)
3108
3143
  return s;
@@ -3123,7 +3158,7 @@ var Xn = (
3123
3158
  if (this.bumpSpace(), this.bumpIf("/>"))
3124
3159
  return {
3125
3160
  val: {
3126
- type: E.literal,
3161
+ type: _.literal,
3127
3162
  value: "<".concat(i, "/>"),
3128
3163
  location: g(n, this.clonePosition())
3129
3164
  },
@@ -3135,12 +3170,12 @@ var Xn = (
3135
3170
  return o;
3136
3171
  var s = o.val, a = this.clonePosition();
3137
3172
  if (this.bumpIf("</")) {
3138
- if (this.isEOF() || !ke(this.char()))
3173
+ if (this.isEOF() || !Ze(this.char()))
3139
3174
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3140
3175
  var l = this.clonePosition(), u = this.parseTagName();
3141
3176
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3142
3177
  val: {
3143
- type: E.tag,
3178
+ type: _.tag,
3144
3179
  value: i,
3145
3180
  children: s,
3146
3181
  location: g(n, this.clonePosition())
@@ -3153,7 +3188,7 @@ var Xn = (
3153
3188
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3154
3189
  }, e.prototype.parseTagName = function() {
3155
3190
  var t = this.offset();
3156
- for (this.bump(); !this.isEOF() && Wn(this.char()); )
3191
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
3157
3192
  this.bump();
3158
3193
  return this.message.slice(t, this.offset());
3159
3194
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3177,12 +3212,12 @@ var Xn = (
3177
3212
  }
3178
3213
  var l = g(n, this.clonePosition());
3179
3214
  return {
3180
- val: { type: E.literal, value: i, location: l },
3215
+ val: { type: _.literal, value: i, location: l },
3181
3216
  err: null
3182
3217
  };
3183
3218
  }, e.prototype.tryParseLeftAngleBracket = function() {
3184
3219
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3185
- !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3220
+ !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3186
3221
  }, e.prototype.tryParseQuote = function(t) {
3187
3222
  if (this.isEOF() || this.char() !== 39)
3188
3223
  return null;
@@ -3216,12 +3251,12 @@ var Xn = (
3216
3251
  r.push(n);
3217
3252
  this.bump();
3218
3253
  }
3219
- return Ge.apply(void 0, r);
3254
+ return ze.apply(void 0, r);
3220
3255
  }, e.prototype.tryParseUnquoted = function(t, r) {
3221
3256
  if (this.isEOF())
3222
3257
  return null;
3223
3258
  var n = this.char();
3224
- 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));
3225
3260
  }, e.prototype.parseArgument = function(t, r) {
3226
3261
  var n = this.clonePosition();
3227
3262
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3237,7 +3272,7 @@ var Xn = (
3237
3272
  case 125:
3238
3273
  return this.bump(), {
3239
3274
  val: {
3240
- type: E.argument,
3275
+ type: _.argument,
3241
3276
  // value does not include the opening and closing braces.
3242
3277
  value: i,
3243
3278
  location: g(n, this.clonePosition())
@@ -3250,7 +3285,7 @@ var Xn = (
3250
3285
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3251
3286
  }
3252
3287
  }, e.prototype.parseIdentifierIfPossible = function() {
3253
- 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;
3254
3289
  this.bumpTo(i);
3255
3290
  var o = this.clonePosition(), s = g(t, o);
3256
3291
  return { value: n, location: s };
@@ -3269,46 +3304,46 @@ var Xn = (
3269
3304
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3270
3305
  if (f.err)
3271
3306
  return f;
3272
- var c = Vn(f.val);
3307
+ var c = Zn(f.val);
3273
3308
  if (c.length === 0)
3274
3309
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3275
- var d = g(h, this.clonePosition());
3276
- u = { style: c, styleLocation: d };
3310
+ var p = g(h, this.clonePosition());
3311
+ u = { style: c, styleLocation: p };
3277
3312
  }
3278
3313
  var m = this.tryParseArgumentClose(i);
3279
3314
  if (m.err)
3280
3315
  return m;
3281
- var p = g(i, this.clonePosition());
3282
- if (u && pt(u?.style, "::", 0)) {
3283
- var _ = kn(u.style.slice(2));
3316
+ var d = g(i, this.clonePosition());
3317
+ if (u && yt(u?.style, "::", 0)) {
3318
+ var v = Wn(u.style.slice(2));
3284
3319
  if (a === "number") {
3285
- var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
3320
+ var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
3286
3321
  return f.err ? f : {
3287
- val: { type: E.number, value: n, location: p, style: f.val },
3322
+ val: { type: _.number, value: n, location: d, style: f.val },
3288
3323
  err: null
3289
3324
  };
3290
3325
  } else {
3291
- if (_.length === 0)
3292
- return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3293
- var S = _;
3294
- this.locale && (S = On(_, 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));
3295
3330
  var c = {
3296
- type: Y.dateTime,
3297
- pattern: S,
3331
+ type: J.dateTime,
3332
+ pattern: x,
3298
3333
  location: u.styleLocation,
3299
- parsedOptions: this.shouldParseSkeletons ? Sn(S) : {}
3300
- }, N = a === "date" ? E.date : E.time;
3334
+ parsedOptions: this.shouldParseSkeletons ? An(x) : {}
3335
+ }, I = a === "date" ? _.date : _.time;
3301
3336
  return {
3302
- val: { type: N, value: n, location: p, style: c },
3337
+ val: { type: I, value: n, location: d, style: c },
3303
3338
  err: null
3304
3339
  };
3305
3340
  }
3306
3341
  }
3307
3342
  return {
3308
3343
  val: {
3309
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3344
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3310
3345
  value: n,
3311
- location: p,
3346
+ location: d,
3312
3347
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3313
3348
  },
3314
3349
  err: null
@@ -3319,19 +3354,19 @@ var Xn = (
3319
3354
  case "select": {
3320
3355
  var T = this.clonePosition();
3321
3356
  if (this.bumpSpace(), !this.bumpIf(","))
3322
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
3357
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, ge({}, T)));
3323
3358
  this.bumpSpace();
3324
- var w = this.parseIdentifierIfPossible(), M = 0;
3325
- if (a !== "select" && w.value === "offset") {
3359
+ var H = this.parseIdentifierIfPossible(), L = 0;
3360
+ if (a !== "select" && H.value === "offset") {
3326
3361
  if (!this.bumpIf(":"))
3327
3362
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3328
3363
  this.bumpSpace();
3329
3364
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3330
3365
  if (f.err)
3331
3366
  return f;
3332
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), M = f.val;
3367
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), L = f.val;
3333
3368
  }
3334
- var k = this.tryParsePluralOrSelectOptions(t, a, r, w);
3369
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, H);
3335
3370
  if (k.err)
3336
3371
  return k;
3337
3372
  var m = this.tryParseArgumentClose(i);
@@ -3340,18 +3375,18 @@ var Xn = (
3340
3375
  var y = g(i, this.clonePosition());
3341
3376
  return a === "select" ? {
3342
3377
  val: {
3343
- type: E.select,
3378
+ type: _.select,
3344
3379
  value: n,
3345
- options: mt(k.val),
3380
+ options: vt(k.val),
3346
3381
  location: y
3347
3382
  },
3348
3383
  err: null
3349
3384
  } : {
3350
3385
  val: {
3351
- type: E.plural,
3386
+ type: _.plural,
3352
3387
  value: n,
3353
- options: mt(k.val),
3354
- offset: M,
3388
+ options: vt(k.val),
3389
+ offset: L,
3355
3390
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3356
3391
  location: y
3357
3392
  },
@@ -3401,16 +3436,16 @@ var Xn = (
3401
3436
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3402
3437
  var n = [];
3403
3438
  try {
3404
- n = Hn(t);
3439
+ n = On(t);
3405
3440
  } catch {
3406
3441
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3407
3442
  }
3408
3443
  return {
3409
3444
  val: {
3410
- type: Y.number,
3445
+ type: J.number,
3411
3446
  tokens: n,
3412
3447
  location: r,
3413
- parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
3448
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3414
3449
  },
3415
3450
  err: null
3416
3451
  };
@@ -3429,20 +3464,20 @@ var Xn = (
3429
3464
  if (l.has(u))
3430
3465
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3431
3466
  u === "other" && (s = !0), this.bumpSpace();
3432
- var d = this.clonePosition();
3467
+ var p = this.clonePosition();
3433
3468
  if (!this.bumpIf("{"))
3434
3469
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3435
3470
  var m = this.parseMessage(t + 1, r, n);
3436
3471
  if (m.err)
3437
3472
  return m;
3438
- var p = this.tryParseArgumentClose(d);
3439
- if (p.err)
3440
- return p;
3473
+ var d = this.tryParseArgumentClose(p);
3474
+ if (d.err)
3475
+ return d;
3441
3476
  a.push([
3442
3477
  u,
3443
3478
  {
3444
3479
  value: m.val,
3445
- location: g(d, this.clonePosition())
3480
+ location: g(p, this.clonePosition())
3446
3481
  }
3447
3482
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3448
3483
  }
@@ -3458,7 +3493,7 @@ var Xn = (
3458
3493
  break;
3459
3494
  }
3460
3495
  var l = g(i, this.clonePosition());
3461
- return o ? (s *= n, Gn(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);
3462
3497
  }, e.prototype.offset = function() {
3463
3498
  return this.position.offset;
3464
3499
  }, e.prototype.isEOF = function() {
@@ -3473,7 +3508,7 @@ var Xn = (
3473
3508
  var t = this.position.offset;
3474
3509
  if (t >= this.message.length)
3475
3510
  throw Error("out of bound");
3476
- var r = rr(this.message, t);
3511
+ var r = sr(this.message, t);
3477
3512
  if (r === void 0)
3478
3513
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3479
3514
  return r;
@@ -3492,7 +3527,7 @@ var Xn = (
3492
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);
3493
3528
  }
3494
3529
  }, e.prototype.bumpIf = function(t) {
3495
- if (pt(this.message, t, this.offset())) {
3530
+ if (yt(this.message, t, this.offset())) {
3496
3531
  for (var r = 0; r < t.length; r++)
3497
3532
  this.bump();
3498
3533
  return !0;
@@ -3514,7 +3549,7 @@ var Xn = (
3514
3549
  break;
3515
3550
  }
3516
3551
  }, e.prototype.bumpSpace = function() {
3517
- for (; !this.isEOF() && ir(this.char()); )
3552
+ for (; !this.isEOF() && ur(this.char()); )
3518
3553
  this.bump();
3519
3554
  }, e.prototype.peek = function() {
3520
3555
  if (this.isEOF())
@@ -3524,47 +3559,47 @@ var Xn = (
3524
3559
  }, e;
3525
3560
  }()
3526
3561
  );
3527
- function ke(e) {
3562
+ function Ze(e) {
3528
3563
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3529
3564
  }
3530
- function zn(e) {
3531
- return ke(e) || e === 47;
3565
+ function Jn(e) {
3566
+ return Ze(e) || e === 47;
3532
3567
  }
3533
- function Wn(e) {
3568
+ function Yn(e) {
3534
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;
3535
3570
  }
3536
- function ir(e) {
3571
+ function ur(e) {
3537
3572
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3538
3573
  }
3539
- function Zn(e) {
3574
+ function qn(e) {
3540
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;
3541
3576
  }
3542
- function Ve(e) {
3577
+ function Qe(e) {
3543
3578
  e.forEach(function(t) {
3544
- if (delete t.location, Zt(t) || Qt(t))
3579
+ if (delete t.location, qt(t) || Kt(t))
3545
3580
  for (var r in t.options)
3546
- delete t.options[r].location, Ve(t.options[r].value);
3581
+ delete t.options[r].location, Qe(t.options[r].value);
3547
3582
  else
3548
- Xt(t) && Yt(t.style) || (zt(t) || Wt(t)) && Ue(t.style) ? delete t.style.location : Jt(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);
3549
3584
  });
3550
3585
  }
3551
- function Qn(e, t) {
3552
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3553
- var r = new Xn(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();
3554
3589
  if (r.err) {
3555
3590
  var n = SyntaxError(b[r.err.kind]);
3556
3591
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3557
3592
  }
3558
- return t?.captureLocation || Ve(r.val), r.val;
3593
+ return t?.captureLocation || Qe(r.val), r.val;
3559
3594
  }
3560
- var q;
3595
+ var Y;
3561
3596
  (function(e) {
3562
3597
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3563
- })(q || (q = {}));
3564
- var Ee = (
3598
+ })(Y || (Y = {}));
3599
+ var Se = (
3565
3600
  /** @class */
3566
3601
  function(e) {
3567
- $(t, e);
3602
+ xe(t, e);
3568
3603
  function t(r, n, i) {
3569
3604
  var o = e.call(this, r) || this;
3570
3605
  return o.code = n, o.originalMessage = i, o;
@@ -3573,48 +3608,48 @@ var Ee = (
3573
3608
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3574
3609
  }, t;
3575
3610
  }(Error)
3576
- ), gt = (
3611
+ ), Et = (
3577
3612
  /** @class */
3578
3613
  function(e) {
3579
- $(t, e);
3614
+ xe(t, e);
3580
3615
  function t(r, n, i, o) {
3581
- 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;
3582
3617
  }
3583
3618
  return t;
3584
- }(Ee)
3585
- ), Jn = (
3619
+ }(Se)
3620
+ ), ei = (
3586
3621
  /** @class */
3587
3622
  function(e) {
3588
- $(t, e);
3623
+ xe(t, e);
3589
3624
  function t(r, n, i) {
3590
- 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;
3591
3626
  }
3592
3627
  return t;
3593
- }(Ee)
3594
- ), Yn = (
3628
+ }(Se)
3629
+ ), ti = (
3595
3630
  /** @class */
3596
3631
  function(e) {
3597
- $(t, e);
3632
+ xe(t, e);
3598
3633
  function t(r, n) {
3599
- 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;
3600
3635
  }
3601
3636
  return t;
3602
- }(Ee)
3637
+ }(Se)
3603
3638
  ), A;
3604
3639
  (function(e) {
3605
3640
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3606
3641
  })(A || (A = {}));
3607
- function qn(e) {
3642
+ function ri(e) {
3608
3643
  return e.length < 2 ? e : e.reduce(function(t, r) {
3609
3644
  var n = t[t.length - 1];
3610
3645
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3611
3646
  }, []);
3612
3647
  }
3613
- function Kn(e) {
3648
+ function ni(e) {
3614
3649
  return typeof e == "function";
3615
3650
  }
3616
3651
  function me(e, t, r, n, i, o, s) {
3617
- if (e.length === 1 && ht(e[0]))
3652
+ if (e.length === 1 && dt(e[0]))
3618
3653
  return [
3619
3654
  {
3620
3655
  type: A.literal,
@@ -3623,14 +3658,14 @@ function me(e, t, r, n, i, o, s) {
3623
3658
  ];
3624
3659
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3625
3660
  var h = u[l];
3626
- if (ht(h)) {
3661
+ if (dt(h)) {
3627
3662
  a.push({
3628
3663
  type: A.literal,
3629
3664
  value: h.value
3630
3665
  });
3631
3666
  continue;
3632
3667
  }
3633
- if (En(h)) {
3668
+ if (wn(h)) {
3634
3669
  typeof o == "number" && a.push({
3635
3670
  type: A.literal,
3636
3671
  value: r.getNumberFormat(t).format(o)
@@ -3639,89 +3674,89 @@ function me(e, t, r, n, i, o, s) {
3639
3674
  }
3640
3675
  var f = h.value;
3641
3676
  if (!(i && f in i))
3642
- throw new Yn(f, s);
3677
+ throw new ti(f, s);
3643
3678
  var c = i[f];
3644
- if (_n(h)) {
3679
+ if (Tn(h)) {
3645
3680
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3646
3681
  type: typeof c == "string" ? A.literal : A.object,
3647
3682
  value: c
3648
3683
  });
3649
3684
  continue;
3650
3685
  }
3651
- if (zt(h)) {
3652
- var d = 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;
3653
3688
  a.push({
3654
3689
  type: A.literal,
3655
- value: r.getDateTimeFormat(t, d).format(c)
3690
+ value: r.getDateTimeFormat(t, p).format(c)
3656
3691
  });
3657
3692
  continue;
3658
3693
  }
3659
- if (Wt(h)) {
3660
- var d = 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;
3661
3696
  a.push({
3662
3697
  type: A.literal,
3663
- value: r.getDateTimeFormat(t, d).format(c)
3698
+ value: r.getDateTimeFormat(t, p).format(c)
3664
3699
  });
3665
3700
  continue;
3666
3701
  }
3667
- if (Xt(h)) {
3668
- var d = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
3669
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3702
+ if (Qt(h)) {
3703
+ var p = typeof h.style == "string" ? n.number[h.style] : tr(h.style) ? h.style.parsedOptions : void 0;
3704
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
3670
3705
  type: A.literal,
3671
- value: r.getNumberFormat(t, d).format(c)
3706
+ value: r.getNumberFormat(t, p).format(c)
3672
3707
  });
3673
3708
  continue;
3674
3709
  }
3675
- if (Jt(h)) {
3676
- var m = h.children, p = h.value, _ = i[p];
3677
- if (!Kn(_))
3678
- throw new Jn(p, "function", s);
3679
- var S = me(m, t, r, n, i, o), N = _(S.map(function(M) {
3680
- 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;
3681
3716
  }));
3682
- Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(M) {
3717
+ Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(L) {
3683
3718
  return {
3684
- type: typeof M == "string" ? A.literal : A.object,
3685
- value: M
3719
+ type: typeof L == "string" ? A.literal : A.object,
3720
+ value: L
3686
3721
  };
3687
3722
  }));
3688
3723
  }
3689
- if (Zt(h)) {
3724
+ if (qt(h)) {
3690
3725
  var T = h.options[c] || h.options.other;
3691
3726
  if (!T)
3692
- throw new gt(h.value, c, Object.keys(h.options), s);
3727
+ throw new Et(h.value, c, Object.keys(h.options), s);
3693
3728
  a.push.apply(a, me(T.value, t, r, n, i));
3694
3729
  continue;
3695
3730
  }
3696
- if (Qt(h)) {
3731
+ if (Kt(h)) {
3697
3732
  var T = h.options["=".concat(c)];
3698
3733
  if (!T) {
3699
3734
  if (!Intl.PluralRules)
3700
- throw new Ee(`Intl.PluralRules is not available in this environment.
3735
+ throw new Se(`Intl.PluralRules is not available in this environment.
3701
3736
  Try polyfilling it using "@formatjs/intl-pluralrules"
3702
- `, q.MISSING_INTL_API, s);
3703
- var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3704
- 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;
3705
3740
  }
3706
3741
  if (!T)
3707
- throw new gt(h.value, c, Object.keys(h.options), s);
3742
+ throw new Et(h.value, c, Object.keys(h.options), s);
3708
3743
  a.push.apply(a, me(T.value, t, r, n, i, c - (h.offset || 0)));
3709
3744
  continue;
3710
3745
  }
3711
3746
  }
3712
- return qn(a);
3747
+ return ri(a);
3713
3748
  }
3714
- function ei(e, t) {
3715
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3716
- return r[n] = v(v({}, 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;
3717
3752
  }, {})) : e;
3718
3753
  }
3719
- function ti(e, t) {
3754
+ function oi(e, t) {
3720
3755
  return t ? Object.keys(e).reduce(function(r, n) {
3721
- return r[n] = ei(e[n], t[n]), r;
3722
- }, v({}, e)) : e;
3756
+ return r[n] = ii(e[n], t[n]), r;
3757
+ }, N({}, e)) : e;
3723
3758
  }
3724
- function Pe(e) {
3759
+ function Ie(e) {
3725
3760
  return {
3726
3761
  create: function() {
3727
3762
  return {
@@ -3735,39 +3770,39 @@ function Pe(e) {
3735
3770
  }
3736
3771
  };
3737
3772
  }
3738
- function ri(e) {
3773
+ function si(e) {
3739
3774
  return e === void 0 && (e = {
3740
3775
  number: {},
3741
3776
  dateTime: {},
3742
3777
  pluralRules: {}
3743
3778
  }), {
3744
- getNumberFormat: we(function() {
3779
+ getNumberFormat: Oe(function() {
3745
3780
  for (var t, r = [], n = 0; n < arguments.length; n++)
3746
3781
  r[n] = arguments[n];
3747
- 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)))();
3748
3783
  }, {
3749
- cache: Pe(e.number),
3750
- strategy: Ae.variadic
3784
+ cache: Ie(e.number),
3785
+ strategy: Pe.variadic
3751
3786
  }),
3752
- getDateTimeFormat: we(function() {
3787
+ getDateTimeFormat: Oe(function() {
3753
3788
  for (var t, r = [], n = 0; n < arguments.length; n++)
3754
3789
  r[n] = arguments[n];
3755
- 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)))();
3756
3791
  }, {
3757
- cache: Pe(e.dateTime),
3758
- strategy: Ae.variadic
3792
+ cache: Ie(e.dateTime),
3793
+ strategy: Pe.variadic
3759
3794
  }),
3760
- getPluralRules: we(function() {
3795
+ getPluralRules: Oe(function() {
3761
3796
  for (var t, r = [], n = 0; n < arguments.length; n++)
3762
3797
  r[n] = arguments[n];
3763
- 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)))();
3764
3799
  }, {
3765
- cache: Pe(e.pluralRules),
3766
- strategy: Ae.variadic
3800
+ cache: Ie(e.pluralRules),
3801
+ strategy: Pe.variadic
3767
3802
  })
3768
3803
  };
3769
3804
  }
3770
- var ni = (
3805
+ var ai = (
3771
3806
  /** @class */
3772
3807
  function() {
3773
3808
  function e(t, r, n, i) {
@@ -3799,13 +3834,13 @@ var ni = (
3799
3834
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3800
3835
  var s = i || {};
3801
3836
  s.formatters;
3802
- var a = Mr(s, ["formatters"]);
3803
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3837
+ var a = bn(s, ["formatters"]);
3838
+ this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
3804
3839
  } else
3805
3840
  this.ast = t;
3806
3841
  if (!Array.isArray(this.ast))
3807
3842
  throw new TypeError("A message must be provided as a String or AST.");
3808
- this.formats = ti(e.formats, n), this.formatters = i && i.formatters || ri(this.formatterCache);
3843
+ this.formats = oi(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3809
3844
  }
3810
3845
  return Object.defineProperty(e, "defaultLocale", {
3811
3846
  get: function() {
@@ -3818,7 +3853,7 @@ var ni = (
3818
3853
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3819
3854
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3820
3855
  }
3821
- }, e.__parse = Qn, e.formats = {
3856
+ }, e.__parse = Kn, e.formats = {
3822
3857
  number: {
3823
3858
  integer: {
3824
3859
  maximumFractionDigits: 0
@@ -3879,7 +3914,7 @@ var ni = (
3879
3914
  }, e;
3880
3915
  }()
3881
3916
  );
3882
- function ii(e, t) {
3917
+ function ui(e, t) {
3883
3918
  if (t == null)
3884
3919
  return;
3885
3920
  if (t in e)
@@ -3900,92 +3935,92 @@ function ii(e, t) {
3900
3935
  n = void 0;
3901
3936
  return n;
3902
3937
  }
3903
- const F = {}, oi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), or = (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) => {
3904
3939
  if (t == null)
3905
3940
  return;
3906
3941
  if (t in F && e in F[t])
3907
3942
  return F[t][e];
3908
- const r = xe(t);
3943
+ const r = Te(t);
3909
3944
  for (let n = 0; n < r.length; n++) {
3910
- const i = r[n], o = ai(i, e);
3945
+ const i = r[n], o = fi(i, e);
3911
3946
  if (o)
3912
- return oi(e, t, o);
3947
+ return li(e, t, o);
3913
3948
  }
3914
3949
  };
3915
- let Je;
3916
- const ue = _e({});
3917
- function si(e) {
3918
- return Je[e] || null;
3950
+ let et;
3951
+ const ue = Ee({});
3952
+ function hi(e) {
3953
+ return et[e] || null;
3919
3954
  }
3920
- function sr(e) {
3921
- return e in Je;
3955
+ function hr(e) {
3956
+ return e in et;
3922
3957
  }
3923
- function ai(e, t) {
3924
- if (!sr(e))
3958
+ function fi(e, t) {
3959
+ if (!hr(e))
3925
3960
  return null;
3926
- const r = si(e);
3927
- return ii(r, t);
3961
+ const r = hi(e);
3962
+ return ui(r, t);
3928
3963
  }
3929
- function ui(e) {
3964
+ function ci(e) {
3930
3965
  if (e == null)
3931
3966
  return;
3932
- const t = xe(e);
3967
+ const t = Te(e);
3933
3968
  for (let r = 0; r < t.length; r++) {
3934
3969
  const n = t[r];
3935
- if (sr(n))
3970
+ if (hr(n))
3936
3971
  return n;
3937
3972
  }
3938
3973
  }
3939
- function ar(e, ...t) {
3940
- delete F[e], ue.update((r) => (r[e] = cn.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));
3941
3976
  }
3942
- ee(
3977
+ K(
3943
3978
  [ue],
3944
3979
  ([e]) => Object.keys(e)
3945
3980
  );
3946
- ue.subscribe((e) => Je = e);
3981
+ ue.subscribe((e) => et = e);
3947
3982
  const be = {};
3948
- function li(e, t) {
3983
+ function pi(e, t) {
3949
3984
  be[e].delete(t), be[e].size === 0 && delete be[e];
3950
3985
  }
3951
- function ur(e) {
3986
+ function cr(e) {
3952
3987
  return be[e];
3953
3988
  }
3954
- function hi(e) {
3955
- return xe(e).map((t) => {
3956
- const r = ur(t);
3989
+ function di(e) {
3990
+ return Te(e).map((t) => {
3991
+ const r = cr(t);
3957
3992
  return [t, r ? [...r] : []];
3958
3993
  }).filter(([, t]) => t.length > 0);
3959
3994
  }
3960
- function Xe(e) {
3961
- return e == null ? !1 : xe(e).some(
3995
+ function Je(e) {
3996
+ return e == null ? !1 : Te(e).some(
3962
3997
  (t) => {
3963
3998
  var r;
3964
- return (r = ur(t)) == null ? void 0 : r.size;
3999
+ return (r = cr(t)) == null ? void 0 : r.size;
3965
4000
  }
3966
4001
  );
3967
4002
  }
3968
- function fi(e, t) {
4003
+ function mi(e, t) {
3969
4004
  return Promise.all(
3970
- t.map((n) => (li(e, n), n().then((i) => i.default || i)))
3971
- ).then((n) => ar(e, ...n));
3972
- }
3973
- const re = {};
3974
- function lr(e) {
3975
- if (!Xe(e))
3976
- return e in re ? re[e] : Promise.resolve();
3977
- const t = hi(e);
3978
- 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(
3979
4014
  t.map(
3980
- ([r, n]) => fi(r, n)
4015
+ ([r, n]) => mi(r, n)
3981
4016
  )
3982
4017
  ).then(() => {
3983
- if (Xe(e))
3984
- return lr(e);
3985
- delete re[e];
3986
- }), re[e];
4018
+ if (Je(e))
4019
+ return pr(e);
4020
+ delete te[e];
4021
+ }), te[e];
3987
4022
  }
3988
- const ci = {
4023
+ const bi = {
3989
4024
  number: {
3990
4025
  scientific: { notation: "scientific" },
3991
4026
  engineering: { notation: "engineering" },
@@ -4014,135 +4049,135 @@ const ci = {
4014
4049
  timeZoneName: "short"
4015
4050
  }
4016
4051
  }
4017
- }, di = {
4052
+ }, gi = {
4018
4053
  fallbackLocale: null,
4019
4054
  loadingDelay: 200,
4020
- formats: ci,
4055
+ formats: bi,
4021
4056
  warnOnMissingMessages: !0,
4022
4057
  handleMissingMessage: void 0,
4023
4058
  ignoreTag: !0
4024
- }, pi = di;
4025
- function K() {
4026
- return pi;
4027
- }
4028
- const Oe = _e(!1);
4029
- var mi = Object.defineProperty, bi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, yi = 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, _i = (e, t) => {
4030
- for (var r in t)
4031
- yi.call(t, r) && vt(e, r, t[r]);
4032
- if (yt)
4033
- for (var r of yt(t))
4034
- vi.call(t, r) && vt(e, r, t[r]);
4059
+ }, yi = gi;
4060
+ function q() {
4061
+ return yi;
4062
+ }
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) => {
4065
+ for (var r in t || (t = {}))
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]);
4035
4070
  return e;
4036
- }, Ei = (e, t) => bi(e, gi(t));
4037
- let ze;
4038
- const ge = _e(null);
4039
- function _t(e) {
4071
+ }, wi = (e, t) => _i(e, Ei(t));
4072
+ let Ye;
4073
+ const ye = Ee(null);
4074
+ function Tt(e) {
4040
4075
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4041
4076
  }
4042
- function xe(e, t = K().fallbackLocale) {
4043
- const r = _t(e);
4044
- return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4077
+ function Te(e, t = q().fallbackLocale) {
4078
+ const r = Tt(e);
4079
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4045
4080
  }
4046
4081
  function j() {
4047
- return ze ?? void 0;
4082
+ return Ye ?? void 0;
4048
4083
  }
4049
- ge.subscribe((e) => {
4050
- 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);
4051
4086
  });
4052
- const xi = (e) => {
4053
- if (e && ui(e) && Xe(e)) {
4054
- const { loadingDelay: t } = K();
4087
+ const Hi = (e) => {
4088
+ if (e && ci(e) && Je(e)) {
4089
+ const { loadingDelay: t } = q();
4055
4090
  let r;
4056
4091
  return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4057
- () => Oe.set(!0),
4092
+ () => Ne.set(!0),
4058
4093
  t
4059
- ) : Oe.set(!0), lr(e).then(() => {
4060
- ge.set(e);
4094
+ ) : Ne.set(!0), pr(e).then(() => {
4095
+ ye.set(e);
4061
4096
  }).finally(() => {
4062
- clearTimeout(r), Oe.set(!1);
4097
+ clearTimeout(r), Ne.set(!1);
4063
4098
  });
4064
4099
  }
4065
- return ge.set(e);
4066
- }, le = Ei(_i({}, ge), {
4067
- set: xi
4068
- }), Se = (e) => {
4100
+ return ye.set(e);
4101
+ }, le = wi(Ti({}, ye), {
4102
+ set: Hi
4103
+ }), we = (e) => {
4069
4104
  const t = /* @__PURE__ */ Object.create(null);
4070
4105
  return (n) => {
4071
4106
  const i = JSON.stringify(n);
4072
4107
  return i in t ? t[i] : t[i] = e(n);
4073
4108
  };
4074
4109
  };
4075
- var Si = Object.defineProperty, ye = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (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) => {
4076
4111
  for (var r in t || (t = {}))
4077
- hr.call(t, r) && Et(e, r, t[r]);
4078
- if (ye)
4079
- for (var r of ye(t))
4080
- fr.call(t, r) && Et(e, r, t[r]);
4112
+ dr.call(t, r) && wt(e, r, t[r]);
4113
+ if (ve)
4114
+ for (var r of ve(t))
4115
+ mr.call(t, r) && wt(e, r, t[r]);
4081
4116
  return e;
4082
- }, te = (e, t) => {
4117
+ }, ee = (e, t) => {
4083
4118
  var r = {};
4084
4119
  for (var n in e)
4085
- hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4086
- if (e != null && ye)
4087
- for (var n of ye(e))
4088
- t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4120
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4121
+ if (e != null && ve)
4122
+ for (var n of ve(e))
4123
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
4089
4124
  return r;
4090
4125
  };
4091
- const oe = (e, t) => {
4092
- const { formats: r } = K();
4126
+ const ie = (e, t) => {
4127
+ const { formats: r } = q();
4093
4128
  if (e in r && t in r[e])
4094
4129
  return r[e][t];
4095
4130
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4096
- }, Ti = Se(
4131
+ }, Bi = we(
4097
4132
  (e) => {
4098
- 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"]);
4099
4134
  if (r == null)
4100
4135
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4101
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4136
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4102
4137
  }
4103
- ), Hi = Se(
4138
+ ), Oi = we(
4104
4139
  (e) => {
4105
- 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"]);
4106
4141
  if (r == null)
4107
4142
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4108
- 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);
4109
4144
  }
4110
- ), wi = Se(
4145
+ ), Pi = we(
4111
4146
  (e) => {
4112
- 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"]);
4113
4148
  if (r == null)
4114
4149
  throw new Error(
4115
4150
  '[svelte-i18n] A "locale" must be set to format time values'
4116
4151
  );
4117
- 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);
4118
4153
  }
4119
- ), Ai = (e = {}) => {
4154
+ ), Ci = (e = {}) => {
4120
4155
  var t = e, {
4121
4156
  locale: r = j()
4122
- } = t, n = te(t, [
4157
+ } = t, n = ee(t, [
4123
4158
  "locale"
4124
4159
  ]);
4125
- return Ti(Ye({ locale: r }, n));
4126
- }, Bi = (e = {}) => {
4160
+ return Bi(tt({ locale: r }, n));
4161
+ }, Ii = (e = {}) => {
4127
4162
  var t = e, {
4128
4163
  locale: r = j()
4129
- } = t, n = te(t, [
4164
+ } = t, n = ee(t, [
4130
4165
  "locale"
4131
4166
  ]);
4132
- return Hi(Ye({ locale: r }, n));
4133
- }, Pi = (e = {}) => {
4167
+ return Oi(tt({ locale: r }, n));
4168
+ }, Ni = (e = {}) => {
4134
4169
  var t = e, {
4135
4170
  locale: r = j()
4136
- } = t, n = te(t, [
4171
+ } = t, n = ee(t, [
4137
4172
  "locale"
4138
4173
  ]);
4139
- return wi(Ye({ locale: r }, n));
4140
- }, Oi = Se(
4174
+ return Pi(tt({ locale: r }, n));
4175
+ }, Mi = we(
4141
4176
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4142
- (e, t = j()) => new ni(e, t, K().formats, {
4143
- ignoreTag: K().ignoreTag
4177
+ (e, t = j()) => new ai(e, t, q().formats, {
4178
+ ignoreTag: q().ignoreTag
4144
4179
  })
4145
- ), Ci = (e, t = {}) => {
4180
+ ), Li = (e, t = {}) => {
4146
4181
  var r, n, i, o;
4147
4182
  let s = t;
4148
4183
  typeof e == "object" && (s = e, e = s.id);
@@ -4155,9 +4190,9 @@ const oe = (e, t) => {
4155
4190
  throw new Error(
4156
4191
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4157
4192
  );
4158
- let h = or(e, l);
4193
+ let h = lr(e, l);
4159
4194
  if (!h)
4160
- 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;
4161
4196
  else if (typeof h != "string")
4162
4197
  return console.warn(
4163
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.`
@@ -4166,7 +4201,7 @@ const oe = (e, t) => {
4166
4201
  return h;
4167
4202
  let f = h;
4168
4203
  try {
4169
- f = Oi(h, l).format(a);
4204
+ f = Mi(h, l).format(a);
4170
4205
  } catch (c) {
4171
4206
  c instanceof Error && console.warn(
4172
4207
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4174,17 +4209,17 @@ const oe = (e, t) => {
4174
4209
  );
4175
4210
  }
4176
4211
  return f;
4177
- }, Ni = (e, t) => Pi(t).format(e), Ii = (e, t) => Bi(t).format(e), Mi = (e, t) => Ai(t).format(e), Li = (e, t = j()) => or(e, t), Ri = ee([le, ue], () => Ci);
4178
- ee([le], () => Ni);
4179
- ee([le], () => Ii);
4180
- ee([le], () => Mi);
4181
- ee([le, ue], () => Li);
4182
- window.emWidgets = { topic: Zr };
4183
- 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));
4184
- function xt(e, t) {
4185
- ar(e, t);
4186
- }
4187
- const St = {
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 = {
4188
4223
  en: {
4189
4224
  tournaments: "Tournaments",
4190
4225
  all: "All",
@@ -4263,60 +4298,60 @@ const St = {
4263
4298
  finished: "Finished"
4264
4299
  }
4265
4300
  };
4266
- function $i(e) {
4267
- 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)}");
4268
4303
  }
4269
- function Tt(e, t, r) {
4304
+ function Bt(e, t, r) {
4270
4305
  const n = e.slice();
4271
4306
  return n[22] = t[r], n[24] = r, n;
4272
4307
  }
4273
- function Ht(e) {
4308
+ function Ot(e) {
4274
4309
  let t, r, n = (
4275
4310
  /*$_*/
4276
4311
  e[4]("tournaments") + ""
4277
- ), i, o, s, a = tt(
4312
+ ), i, o, s, a = ot(
4278
4313
  /*filterItems*/
4279
4314
  e[1]
4280
4315
  ), l = [];
4281
4316
  for (let u = 0; u < a.length; u += 1)
4282
- l[u] = Ct(Tt(e, a, u));
4317
+ l[u] = Lt(Bt(e, a, u));
4283
4318
  return {
4284
4319
  c() {
4285
4320
  t = U("ul"), r = U("li"), i = G(n), o = G(":"), s = z();
4286
4321
  for (let u = 0; u < l.length; u += 1)
4287
4322
  l[u].c();
4288
- x(r, "class", "FiltersTitle " + (O(
4323
+ E(r, "class", "FiltersTitle " + (P(
4289
4324
  /*userAgent*/
4290
4325
  e[5]
4291
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", "FiltersTitle " + (O(
4326
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(r, "part", "FiltersTitle " + (P(
4292
4327
  /*userAgent*/
4293
4328
  e[5]
4294
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersList " + (O(
4329
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(t, "class", "FiltersList " + (P(
4295
4330
  /*userAgent*/
4296
4331
  e[5]
4297
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersList " + (O(
4332
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(t, "part", "FiltersList " + (P(
4298
4333
  /*userAgent*/
4299
4334
  e[5]
4300
4335
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4301
4336
  },
4302
4337
  m(u, h) {
4303
- 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);
4304
4339
  for (let f = 0; f < l.length; f += 1)
4305
4340
  l[f] && l[f].m(t, null);
4306
4341
  },
4307
4342
  p(u, h) {
4308
4343
  if (h & /*$_*/
4309
4344
  16 && n !== (n = /*$_*/
4310
- 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, $_*/
4311
4346
  126) {
4312
- a = tt(
4347
+ a = ot(
4313
4348
  /*filterItems*/
4314
4349
  u[1]
4315
4350
  );
4316
4351
  let f;
4317
4352
  for (f = 0; f < a.length; f += 1) {
4318
- const c = Tt(u, a, f);
4319
- l[f] ? l[f].p(c, h) : (l[f] = Ct(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));
4320
4355
  }
4321
4356
  for (; f < l.length; f += 1)
4322
4357
  l[f].d(1);
@@ -4324,25 +4359,25 @@ function Ht(e) {
4324
4359
  }
4325
4360
  },
4326
4361
  d(u) {
4327
- u && I(t), gr(l, u);
4362
+ u && M(t), Er(l, u);
4328
4363
  }
4329
4364
  };
4330
4365
  }
4331
- function wt(e) {
4366
+ function Pt(e) {
4332
4367
  let t, r;
4333
4368
  return {
4334
4369
  c() {
4335
- t = Ke("svg"), r = Ke("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");
4336
4371
  },
4337
4372
  m(n, i) {
4338
- R(n, t, i), B(t, r);
4373
+ $(n, t, i), B(t, r);
4339
4374
  },
4340
4375
  d(n) {
4341
- n && I(t);
4376
+ n && M(t);
4342
4377
  }
4343
4378
  };
4344
4379
  }
4345
- function At(e) {
4380
+ function Ct(e) {
4346
4381
  let t = (
4347
4382
  /*$_*/
4348
4383
  e[4]("scheduled") + ""
@@ -4352,19 +4387,19 @@ function At(e) {
4352
4387
  r = G(t);
4353
4388
  },
4354
4389
  m(n, i) {
4355
- R(n, r, i);
4390
+ $(n, r, i);
4356
4391
  },
4357
4392
  p(n, i) {
4358
4393
  i & /*$_*/
4359
4394
  16 && t !== (t = /*$_*/
4360
- n[4]("scheduled") + "") && ae(r, t);
4395
+ n[4]("scheduled") + "") && se(r, t);
4361
4396
  },
4362
4397
  d(n) {
4363
- n && I(r);
4398
+ n && M(r);
4364
4399
  }
4365
4400
  };
4366
4401
  }
4367
- function Bt(e) {
4402
+ function It(e) {
4368
4403
  let t = (
4369
4404
  /*$_*/
4370
4405
  e[4]("ongoing") + ""
@@ -4374,19 +4409,19 @@ function Bt(e) {
4374
4409
  r = G(t);
4375
4410
  },
4376
4411
  m(n, i) {
4377
- R(n, r, i);
4412
+ $(n, r, i);
4378
4413
  },
4379
4414
  p(n, i) {
4380
4415
  i & /*$_*/
4381
4416
  16 && t !== (t = /*$_*/
4382
- n[4]("ongoing") + "") && ae(r, t);
4417
+ n[4]("ongoing") + "") && se(r, t);
4383
4418
  },
4384
4419
  d(n) {
4385
- n && I(r);
4420
+ n && M(r);
4386
4421
  }
4387
4422
  };
4388
4423
  }
4389
- function Pt(e) {
4424
+ function Nt(e) {
4390
4425
  let t = (
4391
4426
  /*$_*/
4392
4427
  e[4]("finished") + ""
@@ -4396,19 +4431,19 @@ function Pt(e) {
4396
4431
  r = G(t);
4397
4432
  },
4398
4433
  m(n, i) {
4399
- R(n, r, i);
4434
+ $(n, r, i);
4400
4435
  },
4401
4436
  p(n, i) {
4402
4437
  i & /*$_*/
4403
4438
  16 && t !== (t = /*$_*/
4404
- n[4]("finished") + "") && ae(r, t);
4439
+ n[4]("finished") + "") && se(r, t);
4405
4440
  },
4406
4441
  d(n) {
4407
- n && I(r);
4442
+ n && M(r);
4408
4443
  }
4409
4444
  };
4410
4445
  }
4411
- function Ot(e) {
4446
+ function Mt(e) {
4412
4447
  let t = (
4413
4448
  /*$_*/
4414
4449
  e[4]("all") + ""
@@ -4418,41 +4453,41 @@ function Ot(e) {
4418
4453
  r = G(t);
4419
4454
  },
4420
4455
  m(n, i) {
4421
- R(n, r, i);
4456
+ $(n, r, i);
4422
4457
  },
4423
4458
  p(n, i) {
4424
4459
  i & /*$_*/
4425
4460
  16 && t !== (t = /*$_*/
4426
- n[4]("all") + "") && ae(r, t);
4461
+ n[4]("all") + "") && se(r, t);
4427
4462
  },
4428
4463
  d(n) {
4429
- n && I(r);
4464
+ n && M(r);
4430
4465
  }
4431
4466
  };
4432
4467
  }
4433
- function Ct(e) {
4434
- let t, r, n, i, o, s, a, l, u, h, f, c, d = (
4468
+ function Lt(e) {
4469
+ let t, r, n, i, o, s, a, l, u, h, f, c, p = (
4435
4470
  /*activeIndexes*/
4436
4471
  (e[2][
4437
4472
  /*index*/
4438
4473
  e[24]
4439
4474
  ] == 1 || /*allActive*/
4440
4475
  e[3] && /*index*/
4441
- e[24] == 0) && wt()
4476
+ e[24] == 0) && Pt()
4442
4477
  ), m = (
4443
4478
  /*filter*/
4444
- e[22] == "Scheduled" && At(e)
4445
- ), p = (
4479
+ e[22] == "Scheduled" && Ct(e)
4480
+ ), d = (
4446
4481
  /*filter*/
4447
- e[22] == "Ongoing" && Bt(e)
4448
- ), _ = (
4482
+ e[22] == "Ongoing" && It(e)
4483
+ ), v = (
4449
4484
  /*filter*/
4450
- e[22] == "Finished" && Pt(e)
4451
- ), S = (
4485
+ e[22] == "Finished" && Nt(e)
4486
+ ), x = (
4452
4487
  /*filter*/
4453
- e[22] == "All" && Ot(e)
4488
+ e[22] == "All" && Mt(e)
4454
4489
  );
4455
- function N() {
4490
+ function I() {
4456
4491
  return (
4457
4492
  /*click_handler*/
4458
4493
  e[12](
@@ -4465,128 +4500,128 @@ function Ct(e) {
4465
4500
  }
4466
4501
  return {
4467
4502
  c() {
4468
- t = U("li"), r = U("button"), d && d.c(), n = z(), i = U("div"), m && m.c(), o = z(), p && p.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(
4469
4504
  /*userAgent*/
4470
4505
  e[5]
4471
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (O(
4506
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(i, "part", "FilterButton " + (P(
4472
4507
  /*userAgent*/
4473
4508
  e[5]
4474
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "class", l = /*activeIndexes*/
4509
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(r, "class", l = /*activeIndexes*/
4475
4510
  (e[2][
4476
4511
  /*index*/
4477
4512
  e[24]
4478
4513
  ] == 1 || /*allActive*/
4479
4514
  e[3] && /*index*/
4480
- e[24] == 0 ? "Active" : "") + " " + (O(
4515
+ e[24] == 0 ? "Active" : "") + " " + (P(
4481
4516
  /*userAgent*/
4482
4517
  e[5]
4483
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", u = /*activeIndexes*/
4518
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(r, "part", u = /*activeIndexes*/
4484
4519
  (e[2][
4485
4520
  /*index*/
4486
4521
  e[24]
4487
4522
  ] == 1 || /*allActive*/
4488
4523
  e[3] && /*index*/
4489
- e[24] == 0 ? "Active" : "") + " " + (O(
4524
+ e[24] == 0 ? "Active" : "") + " " + (P(
4490
4525
  /*userAgent*/
4491
4526
  e[5]
4492
- ) ? "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");
4493
4528
  },
4494
- m(T, w) {
4495
- R(T, t, w), B(t, r), d && d.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), p && p.m(i, null), B(i, s), _ && _.m(i, null), B(i, a), S && S.m(i, null), B(t, h), f || (c = yr(t, "click", N), 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);
4496
4531
  },
4497
- p(T, w) {
4532
+ p(T, H) {
4498
4533
  e = T, /*activeIndexes*/
4499
4534
  e[2][
4500
4535
  /*index*/
4501
4536
  e[24]
4502
4537
  ] == 1 || /*allActive*/
4503
4538
  e[3] && /*index*/
4504
- e[24] == 0 ? d || (d = wt(), d.c(), d.m(r, n)) : d && (d.d(1), d = null), /*filter*/
4505
- e[22] == "Scheduled" ? m ? m.p(e, w) : (m = At(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4506
- e[22] == "Ongoing" ? p ? p.p(e, w) : (p = Bt(e), p.c(), p.m(i, s)) : p && (p.d(1), p = null), /*filter*/
4507
- e[22] == "Finished" ? _ ? _.p(e, w) : (_ = Pt(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4508
- e[22] == "All" ? S ? S.p(e, w) : (S = Ot(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*/
4509
4544
  12 && l !== (l = /*activeIndexes*/
4510
4545
  (e[2][
4511
4546
  /*index*/
4512
4547
  e[24]
4513
4548
  ] == 1 || /*allActive*/
4514
4549
  e[3] && /*index*/
4515
- e[24] == 0 ? "Active" : "") + " " + (O(
4550
+ e[24] == 0 ? "Active" : "") + " " + (P(
4516
4551
  /*userAgent*/
4517
4552
  e[5]
4518
- ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "class", l), w & /*activeIndexes, allActive*/
4553
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && E(r, "class", l), H & /*activeIndexes, allActive*/
4519
4554
  12 && u !== (u = /*activeIndexes*/
4520
4555
  (e[2][
4521
4556
  /*index*/
4522
4557
  e[24]
4523
4558
  ] == 1 || /*allActive*/
4524
4559
  e[3] && /*index*/
4525
- e[24] == 0 ? "Active" : "") + " " + (O(
4560
+ e[24] == 0 ? "Active" : "") + " " + (P(
4526
4561
  /*userAgent*/
4527
4562
  e[5]
4528
- ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "part", u);
4563
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && E(r, "part", u);
4529
4564
  },
4530
4565
  d(T) {
4531
- T && I(t), d && d.d(), m && m.d(), p && p.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();
4532
4567
  }
4533
4568
  };
4534
4569
  }
4535
- function Fi(e) {
4570
+ function ji(e) {
4536
4571
  let t, r = (
4537
4572
  /*filterItems*/
4538
- e[1].length > 0 && Ht(e)
4573
+ e[1].length > 0 && Ot(e)
4539
4574
  );
4540
4575
  return {
4541
4576
  c() {
4542
- t = U("div"), r && r.c(), x(t, "class", "FiltersController " + (O(
4577
+ t = U("div"), r && r.c(), E(t, "class", "FiltersController " + (P(
4543
4578
  /*userAgent*/
4544
4579
  e[5]
4545
- ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersController " + (O(
4580
+ ) ? "MobileClass" : "Non-MobileClass/empty")), E(t, "part", "FiltersController " + (P(
4546
4581
  /*userAgent*/
4547
4582
  e[5]
4548
4583
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4549
4584
  },
4550
4585
  m(n, i) {
4551
- R(n, t, i), r && r.m(t, null), e[13](t);
4586
+ $(n, t, i), r && r.m(t, null), e[13](t);
4552
4587
  },
4553
4588
  p(n, [i]) {
4554
4589
  /*filterItems*/
4555
- n[1].length > 0 ? r ? r.p(n, i) : (r = Ht(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);
4556
4591
  },
4557
4592
  i: C,
4558
4593
  o: C,
4559
4594
  d(n) {
4560
- n && I(t), r && r.d(), e[13](null);
4595
+ n && M(t), r && r.d(), e[13](null);
4561
4596
  }
4562
4597
  };
4563
4598
  }
4564
- function Ui(e, t, r) {
4599
+ function ki(e, t, r) {
4565
4600
  let n;
4566
- dr(e, Ri, (y) => r(4, n = y));
4567
- let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, u, h = [], f = 0, c = new Array(100), d = !0, m = window.navigator.userAgent;
4568
- const p = () => {
4569
- fetch(s).then((H) => H.json()).then((H) => {
4570
- Object.keys(H).forEach((P) => {
4571
- xt(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]);
4572
4607
  });
4573
- }).catch((H) => {
4574
- console.log(H);
4608
+ }).catch((w) => {
4609
+ console.log(w);
4575
4610
  });
4576
4611
  };
4577
- Object.keys(St).forEach((y) => {
4578
- xt(y, St[y]);
4612
+ Object.keys(At).forEach((y) => {
4613
+ Ht(y, At[y]);
4579
4614
  });
4580
- const _ = (y, H) => {
4581
- if (H == 0)
4582
- r(3, d = !0), r(2, c = new Array(f)), window.postMessage(
4615
+ const v = (y, w) => {
4616
+ if (w == 0)
4617
+ r(3, p = !0), r(2, c = new Array(f)), window.postMessage(
4583
4618
  {
4584
4619
  type: "TournamentsFiltersSelected",
4585
4620
  filters: ["All"]
4586
4621
  },
4587
4622
  window.location.href
4588
4623
  );
4589
- else if (r(3, d = !1), c[H] == 1 ? (r(2, c[H] = 0, c), c.indexOf(1) == -1 && r(3, d = !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)
4590
4625
  window.postMessage(
4591
4626
  {
4592
4627
  type: "TournamentsFiltersSelected",
@@ -4595,34 +4630,34 @@ function Ui(e, t, r) {
4595
4630
  window.location.href
4596
4631
  );
4597
4632
  else {
4598
- let P = [];
4633
+ let O = [];
4599
4634
  for (let he = 0; he < h.length; he++)
4600
- c[he] == 1 && P.push(h[he]);
4635
+ c[he] == 1 && O.push(h[he]);
4601
4636
  window.postMessage(
4602
4637
  {
4603
4638
  type: "TournamentsFiltersSelected",
4604
- filters: P
4639
+ filters: O
4605
4640
  },
4606
4641
  window.location.href
4607
4642
  );
4608
4643
  }
4609
- }, S = () => {
4644
+ }, x = () => {
4610
4645
  r(1, h = i.split(",")), f = h.length;
4611
- }, N = () => {
4646
+ }, I = () => {
4612
4647
  let y = o.split(",");
4613
- r(2, c = new Array(f)), y.indexOf("All") != -1 ? r(3, d = !0) : (r(3, d = !1), y.forEach((H) => {
4614
- let P = h.indexOf(H);
4615
- P > 0 && r(2, c[P] = 1, c);
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);
4616
4651
  }));
4617
4652
  }, T = () => {
4618
4653
  let y = document.createElement("style");
4619
4654
  y.innerHTML = a, u.appendChild(y);
4620
- }, w = () => {
4621
- let y = new URL(l), H = document.createElement("style");
4622
- fetch(y.href).then((P) => P.text()).then((P) => {
4623
- H.innerHTML = P, setTimeout(
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(
4624
4659
  () => {
4625
- u.appendChild(H);
4660
+ u.appendChild(w);
4626
4661
  },
4627
4662
  1
4628
4663
  ), setTimeout(
@@ -4631,9 +4666,9 @@ function Ui(e, t, r) {
4631
4666
  500
4632
4667
  );
4633
4668
  });
4634
- }, M = (y, H) => _(y, H);
4669
+ }, L = (y, w) => v(y, w);
4635
4670
  function k(y) {
4636
- Ce[y ? "unshift" : "push"](() => {
4671
+ Me[y ? "unshift" : "push"](() => {
4637
4672
  u = y, r(0, u);
4638
4673
  });
4639
4674
  }
@@ -4642,35 +4677,35 @@ function Ui(e, t, r) {
4642
4677
  }, e.$$.update = () => {
4643
4678
  e.$$.dirty & /*customStylingContainer, clientstyling*/
4644
4679
  1025 && u && a && T(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
4645
- 2049 && u && l && w(), e.$$.dirty & /*translationurl*/
4646
- 512 && s && p(), e.$$.dirty & /*filters*/
4647
- 128 && i && S(), e.$$.dirty & /*activefilters*/
4648
- 256 && o && N();
4680
+ 2049 && u && l && H(), e.$$.dirty & /*translationurl*/
4681
+ 512 && s && d(), e.$$.dirty & /*filters*/
4682
+ 128 && i && x(), e.$$.dirty & /*activefilters*/
4683
+ 256 && o && I();
4649
4684
  }, [
4650
4685
  u,
4651
4686
  h,
4652
4687
  c,
4653
- d,
4688
+ p,
4654
4689
  n,
4655
4690
  m,
4656
- _,
4691
+ v,
4657
4692
  i,
4658
4693
  o,
4659
4694
  s,
4660
4695
  a,
4661
4696
  l,
4662
- M,
4697
+ L,
4663
4698
  k
4664
4699
  ];
4665
4700
  }
4666
- class Di extends Nr {
4701
+ class Vi extends Rr {
4667
4702
  constructor(t) {
4668
- super(), Or(
4703
+ super(), Mr(
4669
4704
  this,
4670
4705
  t,
4671
- Ui,
4672
- Fi,
4673
- It,
4706
+ ki,
4707
+ ji,
4708
+ $t,
4674
4709
  {
4675
4710
  filters: 7,
4676
4711
  activefilters: 8,
@@ -4678,7 +4713,7 @@ class Di extends Nr {
4678
4713
  clientstyling: 10,
4679
4714
  clientstylingurl: 11
4680
4715
  },
4681
- $i
4716
+ Gi
4682
4717
  );
4683
4718
  }
4684
4719
  get filters() {
@@ -4712,7 +4747,7 @@ class Di extends Nr {
4712
4747
  this.$$set({ clientstylingurl: t }), D();
4713
4748
  }
4714
4749
  }
4715
- Cr(Di, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4750
+ Lr(Vi, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4716
4751
  export {
4717
- Di as C
4752
+ Vi as C
4718
4753
  };