@everymatrix/casino-tournaments-filter-controller 1.74.7 → 1.74.10

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 O() {
2
2
  }
3
- function Mt(e) {
3
+ function Ct(e) {
4
4
  return e();
5
5
  }
6
- function Ke() {
6
+ function Ye() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function se(e) {
10
- e.forEach(Mt);
10
+ e.forEach(Ct);
11
11
  }
12
- function Ze(e) {
12
+ function We(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function Nt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function mr(e) {
18
+ function fr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Lt(e, ...t) {
21
+ function It(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function Lt(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(Lt(t, r));
30
+ function cr(e, t, r) {
31
+ e.$$.on_destroy.push(It(t, r));
32
32
  }
33
33
  function B(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function br(e, t, r) {
37
- const n = gr(e);
36
+ function dr(e, t, r) {
37
+ const n = pr(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = N("style");
40
- i.id = t, i.textContent = r, yr(n, i);
39
+ const i = M("style");
40
+ i.id = t, i.textContent = r, mr(n, i);
41
41
  }
42
42
  }
43
- function gr(e) {
43
+ function pr(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,7 +50,7 @@ function gr(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function yr(e, t) {
53
+ function mr(e, t) {
54
54
  return B(
55
55
  /** @type {Document} */
56
56
  e.head || e,
@@ -60,17 +60,17 @@ function yr(e, t) {
60
60
  function R(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function I(e) {
63
+ function N(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function vr(e, t) {
66
+ function br(e, t) {
67
67
  for (let r = 0; r < e.length; r += 1)
68
68
  e[r] && e[r].d(t);
69
69
  }
70
- function N(e) {
70
+ function M(e) {
71
71
  return document.createElement(e);
72
72
  }
73
- function et(e) {
73
+ function qe(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 X() {
80
80
  return G(" ");
81
81
  }
82
- function _r(e, t, r, n) {
82
+ function gr(e, t, r, n) {
83
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
84
  }
85
85
  function S(e, t, r) {
86
86
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
87
87
  }
88
- function Er(e) {
88
+ function yr(e) {
89
89
  return Array.from(e.childNodes);
90
90
  }
91
91
  function ae(e, t) {
92
92
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
93
93
  t);
94
94
  }
95
- function xr(e) {
95
+ function vr(e) {
96
96
  const t = {};
97
97
  return e.childNodes.forEach(
98
98
  /** @param {Element} node */
@@ -105,22 +105,22 @@ let ne;
105
105
  function re(e) {
106
106
  ne = e;
107
107
  }
108
- function Sr() {
108
+ function _r() {
109
109
  if (!ne)
110
110
  throw new Error("Function called outside component initialization");
111
111
  return ne;
112
112
  }
113
- function Tr(e) {
114
- Sr().$$.on_mount.push(e);
113
+ function Er(e) {
114
+ _r().$$.on_mount.push(e);
115
115
  }
116
- const z = [], Ie = [];
116
+ const z = [], Ce = [];
117
117
  let W = [];
118
- const tt = [], wr = /* @__PURE__ */ Promise.resolve();
119
- let Me = !1;
120
- function Hr() {
121
- Me || (Me = !0, wr.then(U));
118
+ const Ke = [], xr = /* @__PURE__ */ Promise.resolve();
119
+ let Ne = !1;
120
+ function Sr() {
121
+ Ne || (Ne = !0, xr.then(U));
122
122
  }
123
- function Ne(e) {
123
+ function Ie(e) {
124
124
  W.push(e);
125
125
  }
126
126
  const Te = /* @__PURE__ */ new Set();
@@ -133,56 +133,56 @@ function U() {
133
133
  try {
134
134
  for (; k < z.length; ) {
135
135
  const t = z[k];
136
- k++, re(t), Ar(t.$$);
136
+ k++, re(t), Tr(t.$$);
137
137
  }
138
138
  } catch (t) {
139
139
  throw z.length = 0, k = 0, t;
140
140
  }
141
- for (re(null), z.length = 0, k = 0; Ie.length; )
142
- Ie.pop()();
141
+ for (re(null), z.length = 0, k = 0; Ce.length; )
142
+ Ce.pop()();
143
143
  for (let t = 0; t < W.length; t += 1) {
144
144
  const r = W[t];
145
145
  Te.has(r) || (Te.add(r), r());
146
146
  }
147
147
  W.length = 0;
148
148
  } while (z.length);
149
- for (; tt.length; )
150
- tt.pop()();
151
- Me = !1, Te.clear(), re(e);
149
+ for (; Ke.length; )
150
+ Ke.pop()();
151
+ Ne = !1, Te.clear(), re(e);
152
152
  }
153
- function Ar(e) {
153
+ function Tr(e) {
154
154
  if (e.fragment !== null) {
155
155
  e.update(), se(e.before_update);
156
156
  const t = e.dirty;
157
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
157
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
158
158
  }
159
159
  }
160
- function Br(e) {
160
+ function wr(e) {
161
161
  const t = [], r = [];
162
162
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
163
163
  }
164
- const Pr = /* @__PURE__ */ new Set();
165
- function Or(e, t) {
166
- e && e.i && (Pr.delete(e), e.i(t));
164
+ const Hr = /* @__PURE__ */ new Set();
165
+ function Ar(e, t) {
166
+ e && e.i && (Hr.delete(e), e.i(t));
167
167
  }
168
- function rt(e) {
168
+ function et(e) {
169
169
  return e?.length !== void 0 ? e : Array.from(e);
170
170
  }
171
- function Cr(e, t, r) {
171
+ function Br(e, t, r) {
172
172
  const { fragment: n, after_update: i } = e.$$;
173
- n && n.m(t, r), Ne(() => {
174
- const o = e.$$.on_mount.map(Mt).filter(Ze);
173
+ n && n.m(t, r), Ie(() => {
174
+ const o = e.$$.on_mount.map(Ct).filter(We);
175
175
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
176
- }), i.forEach(Ne);
176
+ }), i.forEach(Ie);
177
177
  }
178
- function Ir(e, t) {
178
+ function Pr(e, t) {
179
179
  const r = e.$$;
180
- r.fragment !== null && (Br(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
180
+ r.fragment !== null && (wr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
181
181
  }
182
- function Mr(e, t) {
183
- e.$$.dirty[0] === -1 && (z.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
182
+ function Or(e, t) {
183
+ e.$$.dirty[0] === -1 && (z.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
184
184
  }
185
- function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
185
+ function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
186
186
  const h = ne;
187
187
  re(e);
188
188
  const u = e.$$ = {
@@ -192,7 +192,7 @@ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
192
192
  props: o,
193
193
  update: O,
194
194
  not_equal: i,
195
- bound: Ke(),
195
+ bound: Ye(),
196
196
  // lifecycle
197
197
  on_mount: [],
198
198
  on_destroy: [],
@@ -201,28 +201,28 @@ function Nr(e, t, r, n, i, o, a = null, s = [-1]) {
201
201
  after_update: [],
202
202
  context: new Map(t.context || (h ? h.$$.context : [])),
203
203
  // everything else
204
- callbacks: Ke(),
205
- dirty: s,
204
+ callbacks: Ye(),
205
+ dirty: a,
206
206
  skip_bound: !1,
207
207
  root: t.target || h.$$.root
208
208
  };
209
- a && a(u.root);
209
+ s && s(u.root);
210
210
  let l = !1;
211
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
212
- const m = p.length ? p[0] : f;
213
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), l && Mr(e, c)), f;
214
- }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
211
+ if (u.ctx = r(e, t.props || {}, (c, f, ...d) => {
212
+ const p = d.length ? d[0] : f;
213
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Or(e, c)), f;
214
+ }), u.update(), l = !0, se(u.before_update), u.fragment = n(u.ctx), t.target) {
215
215
  if (t.hydrate) {
216
- const c = Er(t.target);
217
- u.fragment && u.fragment.l(c), c.forEach(I);
216
+ const c = yr(t.target);
217
+ u.fragment && u.fragment.l(c), c.forEach(N);
218
218
  } else
219
219
  u.fragment && u.fragment.c();
220
- t.intro && Or(e.$$.fragment), Cr(e, t.target, t.anchor), U();
220
+ t.intro && Ar(e.$$.fragment), Br(e, t.target, t.anchor), U();
221
221
  }
222
222
  re(h);
223
223
  }
224
- let Rt;
225
- typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
224
+ let Mt;
225
+ typeof HTMLElement == "function" && (Mt = class extends HTMLElement {
226
226
  /** The Svelte component constructor */
227
227
  $$ctor;
228
228
  /** Slots */
@@ -264,7 +264,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
264
264
  let o;
265
265
  return {
266
266
  c: function() {
267
- o = N("slot"), i !== "default" && S(o, "name", i);
267
+ o = M("slot"), i !== "default" && S(o, "name", i);
268
268
  },
269
269
  /**
270
270
  * @param {HTMLElement} target
@@ -274,19 +274,19 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
274
274
  R(h, o, u);
275
275
  },
276
276
  d: function(h) {
277
- h && I(o);
277
+ h && N(o);
278
278
  }
279
279
  };
280
280
  };
281
281
  };
282
282
  if (await Promise.resolve(), !this.$$cn || this.$$c)
283
283
  return;
284
- const t = {}, r = xr(this);
284
+ const t = {}, r = vr(this);
285
285
  for (const i of this.$$s)
286
286
  i in r && (t[i] = [e(i)]);
287
287
  for (const i of this.attributes) {
288
288
  const o = this.$$g_p(i.name);
289
- o in this.$$d || (this.$$d[o] = pe(o, i.value, this.$$p_d, "toProp"));
289
+ o in this.$$d || (this.$$d[o] = de(o, i.value, this.$$p_d, "toProp"));
290
290
  }
291
291
  for (const i in this.$$p_d)
292
292
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -304,7 +304,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
304
304
  this.$$r = !0;
305
305
  for (const i in this.$$p_d)
306
306
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
307
- const o = pe(
307
+ const o = de(
308
308
  i,
309
309
  this.$$d[i],
310
310
  this.$$p_d,
@@ -317,8 +317,8 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
317
317
  this.$$c.$$.after_update.push(n), n();
318
318
  for (const i in this.$$l)
319
319
  for (const o of this.$$l[i]) {
320
- const a = this.$$c.$on(i, o);
321
- this.$$l_u.set(o, a);
320
+ const s = this.$$c.$on(i, o);
321
+ this.$$l_u.set(o, s);
322
322
  }
323
323
  this.$$l = {};
324
324
  }
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
326
326
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
327
327
  // and setting attributes through setAttribute etc, this is helpful
328
328
  attributeChangedCallback(e, t, r) {
329
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
329
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = de(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
330
330
  }
331
331
  disconnectedCallback() {
332
332
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -339,7 +339,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
339
339
  ) || e;
340
340
  }
341
341
  });
342
- function pe(e, t, r, n) {
342
+ function de(e, t, r, n) {
343
343
  const i = r[e]?.type;
344
344
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
345
345
  return t;
@@ -368,36 +368,36 @@ function pe(e, t, r, n) {
368
368
  return t;
369
369
  }
370
370
  }
371
- function Lr(e, t, r, n, i, o) {
372
- let a = class extends Rt {
371
+ function Nr(e, t, r, n, i, o) {
372
+ let s = class extends Mt {
373
373
  constructor() {
374
374
  super(e, r, i), this.$$p_d = t;
375
375
  }
376
376
  static get observedAttributes() {
377
377
  return Object.keys(t).map(
378
- (s) => (t[s].attribute || s).toLowerCase()
378
+ (a) => (t[a].attribute || a).toLowerCase()
379
379
  );
380
380
  }
381
381
  };
382
- return Object.keys(t).forEach((s) => {
383
- Object.defineProperty(a.prototype, s, {
382
+ return Object.keys(t).forEach((a) => {
383
+ Object.defineProperty(s.prototype, a, {
384
384
  get() {
385
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
385
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
386
386
  },
387
387
  set(h) {
388
- h = pe(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
388
+ h = de(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
389
389
  }
390
390
  });
391
- }), n.forEach((s) => {
392
- Object.defineProperty(a.prototype, s, {
391
+ }), n.forEach((a) => {
392
+ Object.defineProperty(s.prototype, a, {
393
393
  get() {
394
- return this.$$c?.[s];
394
+ return this.$$c?.[a];
395
395
  }
396
396
  });
397
397
  }), e.element = /** @type {any} */
398
- a, a;
398
+ s, s;
399
399
  }
400
- class Rr {
400
+ class Ir {
401
401
  /**
402
402
  * ### PRIVATE API
403
403
  *
@@ -416,7 +416,7 @@ class Rr {
416
416
  $$set = void 0;
417
417
  /** @returns {void} */
418
418
  $destroy() {
419
- Ir(this, 1), this.$destroy = O;
419
+ Pr(this, 1), this.$destroy = O;
420
420
  }
421
421
  /**
422
422
  * @template {Extract<keyof Events, string>} K
@@ -425,7 +425,7 @@ class Rr {
425
425
  * @returns {() => void}
426
426
  */
427
427
  $on(t, r) {
428
- if (!Ze(r))
428
+ if (!We(r))
429
429
  return O;
430
430
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
431
431
  return n.push(r), () => {
@@ -438,11 +438,11 @@ class Rr {
438
438
  * @returns {void}
439
439
  */
440
440
  $set(t) {
441
- this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
441
+ this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
442
442
  }
443
443
  }
444
- const Fr = "4";
445
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
444
+ const Mr = "4";
445
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
446
446
  /*! *****************************************************************************
447
447
  Copyright (c) Microsoft Corporation.
448
448
 
@@ -457,18 +457,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
457
457
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
458
458
  PERFORMANCE OF THIS SOFTWARE.
459
459
  ***************************************************************************** */
460
- var Le = function(e, t) {
461
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
460
+ var Me = function(e, t) {
461
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
462
462
  r.__proto__ = n;
463
463
  } || function(r, n) {
464
464
  for (var i in n)
465
465
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
466
- }, Le(e, t);
466
+ }, Me(e, t);
467
467
  };
468
- function F(e, t) {
468
+ function $(e, t) {
469
469
  if (typeof t != "function" && t !== null)
470
470
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
471
- Le(e, t);
471
+ Me(e, t);
472
472
  function r() {
473
473
  this.constructor = e;
474
474
  }
@@ -484,7 +484,7 @@ var v = function() {
484
484
  return t;
485
485
  }, v.apply(this, arguments);
486
486
  };
487
- function $r(e, t) {
487
+ function Lr(e, t) {
488
488
  var r = {};
489
489
  for (var n in e)
490
490
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -493,7 +493,7 @@ function $r(e, t) {
493
493
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
494
494
  return r;
495
495
  }
496
- function Re(e) {
496
+ function Le(e) {
497
497
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
498
498
  if (r)
499
499
  return r.call(e);
@@ -505,22 +505,22 @@ function Re(e) {
505
505
  };
506
506
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
507
507
  }
508
- function Fe(e, t) {
508
+ function Re(e, t) {
509
509
  var r = typeof Symbol == "function" && e[Symbol.iterator];
510
510
  if (!r)
511
511
  return e;
512
- var n = r.call(e), i, o = [], a;
512
+ var n = r.call(e), i, o = [], s;
513
513
  try {
514
514
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
515
515
  o.push(i.value);
516
- } catch (s) {
517
- a = { error: s };
516
+ } catch (a) {
517
+ s = { error: a };
518
518
  } finally {
519
519
  try {
520
520
  i && !i.done && (r = n.return) && r.call(n);
521
521
  } finally {
522
- if (a)
523
- throw a.error;
522
+ if (s)
523
+ throw s.error;
524
524
  }
525
525
  }
526
526
  return o;
@@ -534,13 +534,13 @@ function Z(e, t, r) {
534
534
  function L(e) {
535
535
  return typeof e == "function";
536
536
  }
537
- function Ft(e) {
537
+ function Lt(e) {
538
538
  var t = function(n) {
539
539
  Error.call(n), n.stack = new Error().stack;
540
540
  }, r = e(t);
541
541
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
542
542
  }
543
- var we = Ft(function(e) {
543
+ var we = Lt(function(e) {
544
544
  return function(r) {
545
545
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
546
546
  ` + r.map(function(n, i) {
@@ -563,50 +563,50 @@ var ve = function() {
563
563
  var t, r, n, i, o;
564
564
  if (!this.closed) {
565
565
  this.closed = !0;
566
- var a = this._parentage;
567
- if (a)
568
- if (this._parentage = null, Array.isArray(a))
566
+ var s = this._parentage;
567
+ if (s)
568
+ if (this._parentage = null, Array.isArray(s))
569
569
  try {
570
- for (var s = Re(a), h = s.next(); !h.done; h = s.next()) {
570
+ for (var a = Le(s), h = a.next(); !h.done; h = a.next()) {
571
571
  var u = h.value;
572
572
  u.remove(this);
573
573
  }
574
- } catch (d) {
575
- t = { error: d };
574
+ } catch (m) {
575
+ t = { error: m };
576
576
  } finally {
577
577
  try {
578
- h && !h.done && (r = s.return) && r.call(s);
578
+ h && !h.done && (r = a.return) && r.call(a);
579
579
  } finally {
580
580
  if (t)
581
581
  throw t.error;
582
582
  }
583
583
  }
584
584
  else
585
- a.remove(this);
585
+ s.remove(this);
586
586
  var l = this.initialTeardown;
587
587
  if (L(l))
588
588
  try {
589
589
  l();
590
- } catch (d) {
591
- o = d instanceof we ? d.errors : [d];
590
+ } catch (m) {
591
+ o = m instanceof we ? m.errors : [m];
592
592
  }
593
593
  var c = this._finalizers;
594
594
  if (c) {
595
595
  this._finalizers = null;
596
596
  try {
597
- for (var f = Re(c), p = f.next(); !p.done; p = f.next()) {
598
- var m = p.value;
597
+ for (var f = Le(c), d = f.next(); !d.done; d = f.next()) {
598
+ var p = d.value;
599
599
  try {
600
- nt(m);
601
- } catch (d) {
602
- o = o ?? [], d instanceof we ? o = Z(Z([], Fe(o)), Fe(d.errors)) : o.push(d);
600
+ tt(p);
601
+ } catch (m) {
602
+ o = o ?? [], m instanceof we ? o = Z(Z([], Re(o)), Re(m.errors)) : o.push(m);
603
603
  }
604
604
  }
605
- } catch (d) {
606
- n = { error: d };
605
+ } catch (m) {
606
+ n = { error: m };
607
607
  } finally {
608
608
  try {
609
- p && !p.done && (i = f.return) && i.call(f);
609
+ d && !d.done && (i = f.return) && i.call(f);
610
610
  } finally {
611
611
  if (n)
612
612
  throw n.error;
@@ -620,7 +620,7 @@ var ve = function() {
620
620
  var r;
621
621
  if (t && t !== this)
622
622
  if (this.closed)
623
- nt(t);
623
+ tt(t);
624
624
  else {
625
625
  if (t instanceof e) {
626
626
  if (t.closed || t._hasParent(this))
@@ -645,48 +645,48 @@ var ve = function() {
645
645
  var t = new e();
646
646
  return t.closed = !0, t;
647
647
  }(), e;
648
- }(), $t = ve.EMPTY;
649
- function Ut(e) {
648
+ }(), Rt = ve.EMPTY;
649
+ function $t(e) {
650
650
  return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
651
651
  }
652
- function nt(e) {
652
+ function tt(e) {
653
653
  L(e) ? e() : e.unsubscribe();
654
654
  }
655
- var Dt = {
655
+ var Rr = {
656
656
  onUnhandledError: null,
657
657
  onStoppedNotification: null,
658
658
  Promise: void 0,
659
659
  useDeprecatedSynchronousErrorHandling: !1,
660
660
  useDeprecatedNextContext: !1
661
- }, Ur = {
661
+ }, $r = {
662
662
  setTimeout: function(e, t) {
663
663
  for (var r = [], n = 2; n < arguments.length; n++)
664
664
  r[n - 2] = arguments[n];
665
- return setTimeout.apply(void 0, Z([e, t], Fe(r)));
665
+ return setTimeout.apply(void 0, Z([e, t], Re(r)));
666
666
  },
667
667
  clearTimeout: function(e) {
668
668
  return clearTimeout(e);
669
669
  },
670
670
  delegate: void 0
671
671
  };
672
- function Dr(e) {
673
- Ur.setTimeout(function() {
672
+ function Fr(e) {
673
+ $r.setTimeout(function() {
674
674
  throw e;
675
675
  });
676
676
  }
677
- function it() {
677
+ function rt() {
678
678
  }
679
- function me(e) {
679
+ function pe(e) {
680
680
  e();
681
681
  }
682
- var Gt = function(e) {
683
- F(t, e);
682
+ var Ft = function(e) {
683
+ $(t, e);
684
684
  function t(r) {
685
685
  var n = e.call(this) || this;
686
- return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Vr, n;
686
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Gr, n;
687
687
  }
688
688
  return t.create = function(r, n, i) {
689
- return new Ue(r, n, i);
689
+ return new Fe(r, n, i);
690
690
  }, t.prototype.next = function(r) {
691
691
  this.isStopped || this._next(r);
692
692
  }, t.prototype.error = function(r) {
@@ -710,11 +710,7 @@ var Gt = function(e) {
710
710
  this.unsubscribe();
711
711
  }
712
712
  }, t;
713
- }(ve), Gr = Function.prototype.bind;
714
- function He(e, t) {
715
- return Gr.call(e, t);
716
- }
717
- var jr = function() {
713
+ }(ve), Ur = function() {
718
714
  function e(t) {
719
715
  this.partialObserver = t;
720
716
  }
@@ -745,55 +741,43 @@ var jr = function() {
745
741
  fe(r);
746
742
  }
747
743
  }, e;
748
- }(), Ue = function(e) {
749
- F(t, e);
744
+ }(), Fe = function(e) {
745
+ $(t, e);
750
746
  function t(r, n, i) {
751
- var o = e.call(this) || this, a;
752
- if (L(r) || !r)
753
- a = {
754
- next: r ?? void 0,
755
- error: n ?? void 0,
756
- complete: i ?? void 0
757
- };
758
- else {
759
- var s;
760
- o && Dt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
761
- return o.unsubscribe();
762
- }, a = {
763
- next: r.next && He(r.next, s),
764
- error: r.error && He(r.error, s),
765
- complete: r.complete && He(r.complete, s)
766
- }) : a = r;
767
- }
768
- return o.destination = new jr(a), o;
747
+ var o = e.call(this) || this, s;
748
+ return L(r) || !r ? s = {
749
+ next: r ?? void 0,
750
+ error: n ?? void 0,
751
+ complete: i ?? void 0
752
+ } : s = r, o.destination = new Ur(s), o;
769
753
  }
770
754
  return t;
771
- }(Gt);
755
+ }(Ft);
772
756
  function fe(e) {
773
- Dr(e);
757
+ Fr(e);
774
758
  }
775
- function kr(e) {
759
+ function Dr(e) {
776
760
  throw e;
777
761
  }
778
- var Vr = {
762
+ var Gr = {
779
763
  closed: !0,
780
- next: it,
781
- error: kr,
782
- complete: it
783
- }, Xr = function() {
764
+ next: rt,
765
+ error: Dr,
766
+ complete: rt
767
+ }, jr = function() {
784
768
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
785
769
  }();
786
- function zr(e) {
770
+ function kr(e) {
787
771
  return e;
788
772
  }
789
- function Wr(e) {
790
- return e.length === 0 ? zr : e.length === 1 ? e[0] : function(r) {
773
+ function Vr(e) {
774
+ return e.length === 0 ? kr : e.length === 1 ? e[0] : function(r) {
791
775
  return e.reduce(function(n, i) {
792
776
  return i(n);
793
777
  }, r);
794
778
  };
795
779
  }
796
- var ot = function() {
780
+ var nt = function() {
797
781
  function e(t) {
798
782
  t && (this._subscribe = t);
799
783
  }
@@ -801,10 +785,10 @@ var ot = function() {
801
785
  var r = new e();
802
786
  return r.source = this, r.operator = t, r;
803
787
  }, e.prototype.subscribe = function(t, r, n) {
804
- var i = this, o = Qr(t) ? t : new Ue(t, r, n);
805
- return me(function() {
806
- var a = i, s = a.operator, h = a.source;
807
- o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
788
+ var i = this, o = zr(t) ? t : new Fe(t, r, n);
789
+ return pe(function() {
790
+ var s = i, a = s.operator, h = s.source;
791
+ o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
808
792
  }), o;
809
793
  }, e.prototype._trySubscribe = function(t) {
810
794
  try {
@@ -814,37 +798,37 @@ var ot = function() {
814
798
  }
815
799
  }, e.prototype.forEach = function(t, r) {
816
800
  var n = this;
817
- return r = st(r), new r(function(i, o) {
818
- var a = new Ue({
819
- next: function(s) {
801
+ return r = it(r), new r(function(i, o) {
802
+ var s = new Fe({
803
+ next: function(a) {
820
804
  try {
821
- t(s);
805
+ t(a);
822
806
  } catch (h) {
823
- o(h), a.unsubscribe();
807
+ o(h), s.unsubscribe();
824
808
  }
825
809
  },
826
810
  error: o,
827
811
  complete: i
828
812
  });
829
- n.subscribe(a);
813
+ n.subscribe(s);
830
814
  });
831
815
  }, e.prototype._subscribe = function(t) {
832
816
  var r;
833
817
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
834
- }, e.prototype[Xr] = function() {
818
+ }, e.prototype[jr] = function() {
835
819
  return this;
836
820
  }, e.prototype.pipe = function() {
837
821
  for (var t = [], r = 0; r < arguments.length; r++)
838
822
  t[r] = arguments[r];
839
- return Wr(t)(this);
823
+ return Vr(t)(this);
840
824
  }, e.prototype.toPromise = function(t) {
841
825
  var r = this;
842
- return t = st(t), new t(function(n, i) {
826
+ return t = it(t), new t(function(n, i) {
843
827
  var o;
844
- r.subscribe(function(a) {
845
- return o = a;
846
- }, function(a) {
847
- return i(a);
828
+ r.subscribe(function(s) {
829
+ return o = s;
830
+ }, function(s) {
831
+ return i(s);
848
832
  }, function() {
849
833
  return n(o);
850
834
  });
@@ -853,48 +837,48 @@ var ot = function() {
853
837
  return new e(t);
854
838
  }, e;
855
839
  }();
856
- function st(e) {
840
+ function it(e) {
857
841
  var t;
858
- return (t = e ?? Dt.Promise) !== null && t !== void 0 ? t : Promise;
842
+ return (t = e ?? Rr.Promise) !== null && t !== void 0 ? t : Promise;
859
843
  }
860
- function Zr(e) {
844
+ function Xr(e) {
861
845
  return e && L(e.next) && L(e.error) && L(e.complete);
862
846
  }
863
- function Qr(e) {
864
- return e && e instanceof Gt || Zr(e) && Ut(e);
847
+ function zr(e) {
848
+ return e && e instanceof Ft || Xr(e) && $t(e);
865
849
  }
866
- var Jr = Ft(function(e) {
850
+ var Wr = Lt(function(e) {
867
851
  return function() {
868
852
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
869
853
  };
870
- }), jt = function(e) {
871
- F(t, e);
854
+ }), Ut = function(e) {
855
+ $(t, e);
872
856
  function t() {
873
857
  var r = e.call(this) || this;
874
858
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
875
859
  }
876
860
  return t.prototype.lift = function(r) {
877
- var n = new at(this, this);
861
+ var n = new ot(this, this);
878
862
  return n.operator = r, n;
879
863
  }, t.prototype._throwIfClosed = function() {
880
864
  if (this.closed)
881
- throw new Jr();
865
+ throw new Wr();
882
866
  }, t.prototype.next = function(r) {
883
867
  var n = this;
884
- me(function() {
868
+ pe(function() {
885
869
  var i, o;
886
870
  if (n._throwIfClosed(), !n.isStopped) {
887
871
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
888
872
  try {
889
- for (var a = Re(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
890
- var h = s.value;
873
+ for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
874
+ var h = a.value;
891
875
  h.next(r);
892
876
  }
893
877
  } catch (u) {
894
878
  i = { error: u };
895
879
  } finally {
896
880
  try {
897
- s && !s.done && (o = a.return) && o.call(a);
881
+ a && !a.done && (o = s.return) && o.call(s);
898
882
  } finally {
899
883
  if (i)
900
884
  throw i.error;
@@ -904,7 +888,7 @@ var Jr = Ft(function(e) {
904
888
  });
905
889
  }, t.prototype.error = function(r) {
906
890
  var n = this;
907
- me(function() {
891
+ pe(function() {
908
892
  if (n._throwIfClosed(), !n.isStopped) {
909
893
  n.hasError = n.isStopped = !0, n.thrownError = r;
910
894
  for (var i = n.observers; i.length; )
@@ -913,7 +897,7 @@ var Jr = Ft(function(e) {
913
897
  });
914
898
  }, t.prototype.complete = function() {
915
899
  var r = this;
916
- me(function() {
900
+ pe(function() {
917
901
  if (r._throwIfClosed(), !r.isStopped) {
918
902
  r.isStopped = !0;
919
903
  for (var n = r.observers; n.length; )
@@ -934,21 +918,21 @@ var Jr = Ft(function(e) {
934
918
  }, t.prototype._subscribe = function(r) {
935
919
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
936
920
  }, t.prototype._innerSubscribe = function(r) {
937
- var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
938
- return o || a ? $t : (this.currentObservers = null, s.push(r), new ve(function() {
939
- n.currentObservers = null, $e(s, r);
921
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
922
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new ve(function() {
923
+ n.currentObservers = null, $e(a, r);
940
924
  }));
941
925
  }, t.prototype._checkFinalizedStatuses = function(r) {
942
- var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
943
- i ? r.error(o) : a && r.complete();
926
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
927
+ i ? r.error(o) : s && r.complete();
944
928
  }, t.prototype.asObservable = function() {
945
- var r = new ot();
929
+ var r = new nt();
946
930
  return r.source = this, r;
947
931
  }, t.create = function(r, n) {
948
- return new at(r, n);
932
+ return new ot(r, n);
949
933
  }, t;
950
- }(ot), at = function(e) {
951
- F(t, e);
934
+ }(nt), ot = function(e) {
935
+ $(t, e);
952
936
  function t(r, n) {
953
937
  var i = e.call(this) || this;
954
938
  return i.destination = r, i.source = n, i;
@@ -964,45 +948,45 @@ var Jr = Ft(function(e) {
964
948
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
965
949
  }, t.prototype._subscribe = function(r) {
966
950
  var n, i;
967
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $t;
951
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
968
952
  }, t;
969
- }(jt), kt = {
953
+ }(Ut), Dt = {
970
954
  now: function() {
971
- return (kt.delegate || Date).now();
955
+ return (Dt.delegate || Date).now();
972
956
  },
973
957
  delegate: void 0
974
- }, Yr = function(e) {
975
- F(t, e);
958
+ }, Zr = function(e) {
959
+ $(t, e);
976
960
  function t(r, n, i) {
977
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
961
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
978
962
  var o = e.call(this) || this;
979
963
  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;
980
964
  }
981
965
  return t.prototype.next = function(r) {
982
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
983
- i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
966
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
967
+ i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
984
968
  }, t.prototype._subscribe = function(r) {
985
969
  this._throwIfClosed(), this._trimBuffer();
986
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
987
- r.next(s[h]);
970
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
971
+ r.next(a[h]);
988
972
  return this._checkFinalizedStatuses(r), n;
989
973
  }, t.prototype._trimBuffer = function() {
990
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
991
- if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
974
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
975
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
992
976
  for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
993
977
  u = l;
994
978
  u && o.splice(0, u + 1);
995
979
  }
996
980
  }, t;
997
- }(jt);
998
- const ut = [], lt = {}, qr = (e, t = 0) => {
999
- if (ut.indexOf(e) == -1) {
1000
- const r = new Yr(t);
1001
- lt[e] = r, ut.push(e);
981
+ }(Ut);
982
+ const st = [], at = {}, Qr = (e, t = 0) => {
983
+ if (st.indexOf(e) == -1) {
984
+ const r = new Zr(t);
985
+ at[e] = r, st.push(e);
1002
986
  }
1003
- return lt[e];
987
+ return at[e];
1004
988
  }, V = [];
1005
- function Kr(e, t) {
989
+ function Jr(e, t) {
1006
990
  return {
1007
991
  subscribe: _e(e, t).subscribe
1008
992
  };
@@ -1010,8 +994,8 @@ function Kr(e, t) {
1010
994
  function _e(e, t = O) {
1011
995
  let r;
1012
996
  const n = /* @__PURE__ */ new Set();
1013
- function i(s) {
1014
- if (Nt(e, s) && (e = s, r)) {
997
+ function i(a) {
998
+ if (Nt(e, a) && (e = a, r)) {
1015
999
  const h = !V.length;
1016
1000
  for (const u of n)
1017
1001
  u[1](), V.push(u, e);
@@ -1022,23 +1006,23 @@ function _e(e, t = O) {
1022
1006
  }
1023
1007
  }
1024
1008
  }
1025
- function o(s) {
1026
- i(s(e));
1009
+ function o(a) {
1010
+ i(a(e));
1027
1011
  }
1028
- function a(s, h = O) {
1029
- const u = [s, h];
1030
- return n.add(u), n.size === 1 && (r = t(i, o) || O), s(e), () => {
1012
+ function s(a, h = O) {
1013
+ const u = [a, h];
1014
+ return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
1031
1015
  n.delete(u), n.size === 0 && r && (r(), r = null);
1032
1016
  };
1033
1017
  }
1034
- return { set: i, update: o, subscribe: a };
1018
+ return { set: i, update: o, subscribe: s };
1035
1019
  }
1036
1020
  function K(e, t, r) {
1037
1021
  const n = !Array.isArray(e), i = n ? [e] : e;
1038
1022
  if (!i.every(Boolean))
1039
1023
  throw new Error("derived() expects stores as input, got a falsy value");
1040
1024
  const o = t.length < 2;
1041
- return Kr(r, (a, s) => {
1025
+ return Jr(r, (s, a) => {
1042
1026
  let h = !1;
1043
1027
  const u = [];
1044
1028
  let l = 0, c = O;
@@ -1046,88 +1030,88 @@ function K(e, t, r) {
1046
1030
  if (l)
1047
1031
  return;
1048
1032
  c();
1049
- const m = t(n ? u[0] : u, a, s);
1050
- o ? a(m) : c = Ze(m) ? m : O;
1051
- }, p = i.map(
1052
- (m, d) => Lt(
1053
- m,
1033
+ const p = t(n ? u[0] : u, s, a);
1034
+ o ? s(p) : c = We(p) ? p : O;
1035
+ }, d = i.map(
1036
+ (p, m) => It(
1037
+ p,
1054
1038
  (_) => {
1055
- u[d] = _, l &= ~(1 << d), h && f();
1039
+ u[m] = _, l &= ~(1 << m), h && f();
1056
1040
  },
1057
1041
  () => {
1058
- l |= 1 << d;
1042
+ l |= 1 << m;
1059
1043
  }
1060
1044
  )
1061
1045
  );
1062
1046
  return h = !0, f(), function() {
1063
- se(p), c(), h = !1;
1047
+ se(d), c(), h = !1;
1064
1048
  };
1065
1049
  });
1066
1050
  }
1067
- function en(e) {
1068
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1051
+ function Yr(e) {
1052
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1069
1053
  }
1070
- var tn = function(t) {
1071
- return rn(t) && !nn(t);
1054
+ var qr = function(t) {
1055
+ return Kr(t) && !en(t);
1072
1056
  };
1073
- function rn(e) {
1057
+ function Kr(e) {
1074
1058
  return !!e && typeof e == "object";
1075
1059
  }
1076
- function nn(e) {
1060
+ function en(e) {
1077
1061
  var t = Object.prototype.toString.call(e);
1078
- return t === "[object RegExp]" || t === "[object Date]" || an(e);
1062
+ return t === "[object RegExp]" || t === "[object Date]" || nn(e);
1079
1063
  }
1080
- var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1081
- function an(e) {
1082
- return e.$$typeof === sn;
1064
+ var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
1065
+ function nn(e) {
1066
+ return e.$$typeof === rn;
1083
1067
  }
1084
- function un(e) {
1068
+ function on(e) {
1085
1069
  return Array.isArray(e) ? [] : {};
1086
1070
  }
1087
1071
  function ie(e, t) {
1088
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(un(e), e, t) : e;
1072
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(on(e), e, t) : e;
1089
1073
  }
1090
- function ln(e, t, r) {
1074
+ function sn(e, t, r) {
1091
1075
  return e.concat(t).map(function(n) {
1092
1076
  return ie(n, r);
1093
1077
  });
1094
1078
  }
1095
- function hn(e, t) {
1079
+ function an(e, t) {
1096
1080
  if (!t.customMerge)
1097
1081
  return Q;
1098
1082
  var r = t.customMerge(e);
1099
1083
  return typeof r == "function" ? r : Q;
1100
1084
  }
1101
- function fn(e) {
1085
+ function un(e) {
1102
1086
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1103
1087
  return Object.propertyIsEnumerable.call(e, t);
1104
1088
  }) : [];
1105
1089
  }
1106
- function ht(e) {
1107
- return Object.keys(e).concat(fn(e));
1090
+ function ut(e) {
1091
+ return Object.keys(e).concat(un(e));
1108
1092
  }
1109
- function Vt(e, t) {
1093
+ function Gt(e, t) {
1110
1094
  try {
1111
1095
  return t in e;
1112
1096
  } catch {
1113
1097
  return !1;
1114
1098
  }
1115
1099
  }
1116
- function cn(e, t) {
1117
- return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1100
+ function ln(e, t) {
1101
+ return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1118
1102
  }
1119
- function pn(e, t, r) {
1103
+ function hn(e, t, r) {
1120
1104
  var n = {};
1121
- return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1105
+ return r.isMergeableObject(e) && ut(e).forEach(function(i) {
1122
1106
  n[i] = ie(e[i], r);
1123
- }), ht(t).forEach(function(i) {
1124
- cn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1107
+ }), ut(t).forEach(function(i) {
1108
+ ln(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1125
1109
  }), n;
1126
1110
  }
1127
1111
  function Q(e, t, r) {
1128
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = ie;
1112
+ r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = ie;
1129
1113
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1130
- return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : ie(t, r);
1114
+ return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : ie(t, r);
1131
1115
  }
1132
1116
  Q.all = function(t, r) {
1133
1117
  if (!Array.isArray(t))
@@ -1136,58 +1120,60 @@ Q.all = function(t, r) {
1136
1120
  return Q(n, i, r);
1137
1121
  }, {});
1138
1122
  };
1139
- var mn = Q, dn = mn;
1140
- const bn = /* @__PURE__ */ en(dn);
1141
- function Ae(e, t) {
1142
- var r = t && t.cache ? t.cache : xn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : yn;
1123
+ var fn = Q, cn = fn;
1124
+ const dn = /* @__PURE__ */ Yr(cn);
1125
+ function He(e, t) {
1126
+ var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : mn;
1143
1127
  return i(e, {
1144
1128
  cache: r,
1145
1129
  serializer: n
1146
1130
  });
1147
1131
  }
1148
- function gn(e) {
1132
+ function pn(e) {
1149
1133
  return e == null || typeof e == "number" || typeof e == "boolean";
1150
1134
  }
1151
- function Xt(e, t, r, n) {
1152
- var i = gn(n) ? n : r(n), o = t.get(i);
1135
+ function jt(e, t, r, n) {
1136
+ var i = pn(n) ? n : r(n), o = t.get(i);
1153
1137
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1154
1138
  }
1155
- function zt(e, t, r) {
1139
+ function kt(e, t, r) {
1156
1140
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1157
1141
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1158
1142
  }
1159
- function Qe(e, t, r, n, i) {
1143
+ function Ze(e, t, r, n, i) {
1160
1144
  return r.bind(t, e, n, i);
1161
1145
  }
1162
- function yn(e, t) {
1163
- var r = e.length === 1 ? Xt : zt;
1164
- return Qe(e, this, r, t.cache.create(), t.serializer);
1146
+ function mn(e, t) {
1147
+ var r = e.length === 1 ? jt : kt;
1148
+ return Ze(e, this, r, t.cache.create(), t.serializer);
1165
1149
  }
1166
- function vn(e, t) {
1167
- return Qe(e, this, zt, t.cache.create(), t.serializer);
1150
+ function bn(e, t) {
1151
+ return Ze(e, this, kt, t.cache.create(), t.serializer);
1168
1152
  }
1169
- function _n(e, t) {
1170
- return Qe(e, this, Xt, t.cache.create(), t.serializer);
1153
+ function gn(e, t) {
1154
+ return Ze(e, this, jt, t.cache.create(), t.serializer);
1171
1155
  }
1172
- var En = function() {
1156
+ var yn = function() {
1173
1157
  return JSON.stringify(arguments);
1174
- };
1175
- function Je() {
1176
- this.cache = /* @__PURE__ */ Object.create(null);
1177
- }
1178
- Je.prototype.get = function(e) {
1179
- return this.cache[e];
1180
- };
1181
- Je.prototype.set = function(e, t) {
1182
- this.cache[e] = t;
1183
- };
1184
- var xn = {
1158
+ }, vn = (
1159
+ /** @class */
1160
+ function() {
1161
+ function e() {
1162
+ this.cache = /* @__PURE__ */ Object.create(null);
1163
+ }
1164
+ return e.prototype.get = function(t) {
1165
+ return this.cache[t];
1166
+ }, e.prototype.set = function(t, r) {
1167
+ this.cache[t] = r;
1168
+ }, e;
1169
+ }()
1170
+ ), _n = {
1185
1171
  create: function() {
1186
- return new Je();
1172
+ return new vn();
1187
1173
  }
1188
- }, Be = {
1189
- variadic: vn,
1190
- monadic: _n
1174
+ }, Ae = {
1175
+ variadic: bn,
1176
+ monadic: gn
1191
1177
  }, b;
1192
1178
  (function(e) {
1193
1179
  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";
@@ -1200,43 +1186,43 @@ var J;
1200
1186
  (function(e) {
1201
1187
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1202
1188
  })(J || (J = {}));
1203
- function ft(e) {
1189
+ function lt(e) {
1204
1190
  return e.type === E.literal;
1205
1191
  }
1206
- function Sn(e) {
1192
+ function En(e) {
1207
1193
  return e.type === E.argument;
1208
1194
  }
1209
- function Wt(e) {
1195
+ function Vt(e) {
1210
1196
  return e.type === E.number;
1211
1197
  }
1212
- function Zt(e) {
1198
+ function Xt(e) {
1213
1199
  return e.type === E.date;
1214
1200
  }
1215
- function Qt(e) {
1201
+ function zt(e) {
1216
1202
  return e.type === E.time;
1217
1203
  }
1218
- function Jt(e) {
1204
+ function Wt(e) {
1219
1205
  return e.type === E.select;
1220
1206
  }
1221
- function Yt(e) {
1207
+ function Zt(e) {
1222
1208
  return e.type === E.plural;
1223
1209
  }
1224
- function Tn(e) {
1210
+ function xn(e) {
1225
1211
  return e.type === E.pound;
1226
1212
  }
1227
- function qt(e) {
1213
+ function Qt(e) {
1228
1214
  return e.type === E.tag;
1229
1215
  }
1230
- function Kt(e) {
1216
+ function Jt(e) {
1231
1217
  return !!(e && typeof e == "object" && e.type === J.number);
1232
1218
  }
1233
- function De(e) {
1219
+ function Ue(e) {
1234
1220
  return !!(e && typeof e == "object" && e.type === J.dateTime);
1235
1221
  }
1236
- var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
1237
- function Hn(e) {
1222
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
1223
+ function Tn(e) {
1238
1224
  var t = {};
1239
- return e.replace(wn, function(r) {
1225
+ return e.replace(Sn, function(r) {
1240
1226
  var n = r.length;
1241
1227
  switch (r[0]) {
1242
1228
  case "G":
@@ -1325,36 +1311,36 @@ function Hn(e) {
1325
1311
  return "";
1326
1312
  }), t;
1327
1313
  }
1328
- var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1329
- function Bn(e) {
1314
+ var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1315
+ function Hn(e) {
1330
1316
  if (e.length === 0)
1331
1317
  throw new Error("Number skeleton cannot be empty");
1332
- for (var t = e.split(An).filter(function(f) {
1318
+ for (var t = e.split(wn).filter(function(f) {
1333
1319
  return f.length > 0;
1334
1320
  }), r = [], n = 0, i = t; n < i.length; n++) {
1335
- var o = i[n], a = o.split("/");
1336
- if (a.length === 0)
1321
+ var o = i[n], s = o.split("/");
1322
+ if (s.length === 0)
1337
1323
  throw new Error("Invalid number skeleton");
1338
- for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1324
+ for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
1339
1325
  var c = l[u];
1340
1326
  if (c.length === 0)
1341
1327
  throw new Error("Invalid number skeleton");
1342
1328
  }
1343
- r.push({ stem: s, options: h });
1329
+ r.push({ stem: a, options: h });
1344
1330
  }
1345
1331
  return r;
1346
1332
  }
1347
- function Pn(e) {
1333
+ function An(e) {
1348
1334
  return e.replace(/^(.*?)-/, "");
1349
1335
  }
1350
- var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1351
- function pt(e) {
1336
+ var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
1337
+ function ft(e) {
1352
1338
  var t = {};
1353
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
1339
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1354
1340
  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)), "";
1355
1341
  }), t;
1356
1342
  }
1357
- function nr(e) {
1343
+ function er(e) {
1358
1344
  switch (e) {
1359
1345
  case "sign-auto":
1360
1346
  return {
@@ -1394,7 +1380,7 @@ function nr(e) {
1394
1380
  };
1395
1381
  }
1396
1382
  }
1397
- function Cn(e) {
1383
+ function Pn(e) {
1398
1384
  var t;
1399
1385
  if (e[0] === "E" && e[1] === "E" ? (t = {
1400
1386
  notation: "engineering"
@@ -1402,17 +1388,17 @@ function Cn(e) {
1402
1388
  notation: "scientific"
1403
1389
  }, e = e.slice(1)), t) {
1404
1390
  var r = e.slice(0, 2);
1405
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1391
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kt.test(e))
1406
1392
  throw new Error("Malformed concise eng/scientific notation");
1407
1393
  t.minimumIntegerDigits = e.length;
1408
1394
  }
1409
1395
  return t;
1410
1396
  }
1411
- function mt(e) {
1412
- var t = {}, r = nr(e);
1397
+ function ct(e) {
1398
+ var t = {}, r = er(e);
1413
1399
  return r || t;
1414
1400
  }
1415
- function In(e) {
1401
+ function On(e) {
1416
1402
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1417
1403
  var i = n[r];
1418
1404
  switch (i.stem) {
@@ -1436,7 +1422,7 @@ function In(e) {
1436
1422
  continue;
1437
1423
  case "measure-unit":
1438
1424
  case "unit":
1439
- t.style = "unit", t.unit = Pn(i.options[0]);
1425
+ t.style = "unit", t.unit = An(i.options[0]);
1440
1426
  continue;
1441
1427
  case "compact-short":
1442
1428
  case "K":
@@ -1448,12 +1434,12 @@ function In(e) {
1448
1434
  continue;
1449
1435
  case "scientific":
1450
1436
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1451
- return v(v({}, h), mt(u));
1437
+ return v(v({}, h), ct(u));
1452
1438
  }, {}));
1453
1439
  continue;
1454
1440
  case "engineering":
1455
1441
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1456
- return v(v({}, h), mt(u));
1442
+ return v(v({}, h), ct(u));
1457
1443
  }, {}));
1458
1444
  continue;
1459
1445
  case "notation-simple":
@@ -1498,41 +1484,41 @@ function In(e) {
1498
1484
  case "integer-width":
1499
1485
  if (i.options.length > 1)
1500
1486
  throw new RangeError("integer-width stems only accept a single optional option");
1501
- i.options[0].replace(On, function(h, u, l, c, f, p) {
1487
+ i.options[0].replace(Bn, function(h, u, l, c, f, d) {
1502
1488
  if (u)
1503
1489
  t.minimumIntegerDigits = l.length;
1504
1490
  else {
1505
1491
  if (c && f)
1506
1492
  throw new Error("We currently do not support maximum integer digits");
1507
- if (p)
1493
+ if (d)
1508
1494
  throw new Error("We currently do not support exact integer digits");
1509
1495
  }
1510
1496
  return "";
1511
1497
  });
1512
1498
  continue;
1513
1499
  }
1514
- if (rr.test(i.stem)) {
1500
+ if (Kt.test(i.stem)) {
1515
1501
  t.minimumIntegerDigits = i.stem.length;
1516
1502
  continue;
1517
1503
  }
1518
- if (ct.test(i.stem)) {
1504
+ if (ht.test(i.stem)) {
1519
1505
  if (i.options.length > 1)
1520
1506
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1521
- i.stem.replace(ct, function(h, u, l, c, f, p) {
1522
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1507
+ i.stem.replace(ht, function(h, u, l, c, f, d) {
1508
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1523
1509
  });
1524
1510
  var o = i.options[0];
1525
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), pt(o)));
1511
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ft(o)));
1526
1512
  continue;
1527
1513
  }
1528
- if (tr.test(i.stem)) {
1529
- t = v(v({}, t), pt(i.stem));
1514
+ if (qt.test(i.stem)) {
1515
+ t = v(v({}, t), ft(i.stem));
1530
1516
  continue;
1531
1517
  }
1532
- var a = nr(i.stem);
1533
- a && (t = v(v({}, t), a));
1534
- var s = Cn(i.stem);
1518
+ var s = er(i.stem);
1535
1519
  s && (t = v(v({}, t), s));
1520
+ var a = Pn(i.stem);
1521
+ a && (t = v(v({}, t), a));
1536
1522
  }
1537
1523
  return t;
1538
1524
  }
@@ -2951,16 +2937,16 @@ var ce = {
2951
2937
  "h"
2952
2938
  ]
2953
2939
  };
2954
- function Mn(e, t) {
2940
+ function Cn(e, t) {
2955
2941
  for (var r = "", n = 0; n < e.length; n++) {
2956
2942
  var i = e.charAt(n);
2957
2943
  if (i === "j") {
2958
2944
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2959
2945
  o++, n++;
2960
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
2961
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2946
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
2947
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2962
2948
  r += h;
2963
- for (; a-- > 0; )
2949
+ for (; s-- > 0; )
2964
2950
  r = u + r;
2965
2951
  } else
2966
2952
  i === "J" ? r += "H" : r += i;
@@ -2989,20 +2975,20 @@ function Nn(e) {
2989
2975
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2990
2976
  return i[0];
2991
2977
  }
2992
- var Pe, Ln = new RegExp("^".concat(er.source, "*")), Rn = new RegExp("".concat(er.source, "*$"));
2978
+ var Be, In = new RegExp("^".concat(Yt.source, "*")), Mn = new RegExp("".concat(Yt.source, "*$"));
2993
2979
  function g(e, t) {
2994
2980
  return { start: e, end: t };
2995
2981
  }
2996
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
2982
+ var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, $n = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, Gn = !!Number.isSafeInteger, jn = Gn ? Number.isSafeInteger : function(e) {
2997
2983
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2998
- }, Ge = !0;
2984
+ }, De = !0;
2999
2985
  try {
3000
- var Xn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3001
- Ge = ((Pe = Xn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2986
+ var kn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2987
+ De = ((Be = kn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3002
2988
  } catch {
3003
- Ge = !1;
2989
+ De = !1;
3004
2990
  }
3005
- var dt = Fn ? (
2991
+ var dt = Ln ? (
3006
2992
  // Native
3007
2993
  function(t, r, n) {
3008
2994
  return t.startsWith(r, n);
@@ -3012,31 +2998,31 @@ var dt = Fn ? (
3012
2998
  function(t, r, n) {
3013
2999
  return t.slice(n, n + r.length) === r;
3014
3000
  }
3015
- ), je = $n ? String.fromCodePoint : (
3001
+ ), Ge = Rn ? String.fromCodePoint : (
3016
3002
  // IE11
3017
3003
  function() {
3018
3004
  for (var t = [], r = 0; r < arguments.length; r++)
3019
3005
  t[r] = arguments[r];
3020
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
3021
- if (a = t[o++], a > 1114111)
3022
- throw RangeError(a + " is not a valid code point");
3023
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3006
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3007
+ if (s = t[o++], s > 1114111)
3008
+ throw RangeError(s + " is not a valid code point");
3009
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3024
3010
  }
3025
3011
  return n;
3026
3012
  }
3027
- ), bt = (
3013
+ ), pt = (
3028
3014
  // native
3029
- Un ? Object.fromEntries : (
3015
+ $n ? Object.fromEntries : (
3030
3016
  // Ponyfill
3031
3017
  function(t) {
3032
3018
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3033
- var o = i[n], a = o[0], s = o[1];
3034
- r[a] = s;
3019
+ var o = i[n], s = o[0], a = o[1];
3020
+ r[s] = a;
3035
3021
  }
3036
3022
  return r;
3037
3023
  }
3038
3024
  )
3039
- ), ir = Dn ? (
3025
+ ), tr = Fn ? (
3040
3026
  // Native
3041
3027
  function(t, r) {
3042
3028
  return t.codePointAt(r);
@@ -3050,7 +3036,7 @@ var dt = Fn ? (
3050
3036
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3051
3037
  }
3052
3038
  }
3053
- ), zn = Gn ? (
3039
+ ), Vn = Un ? (
3054
3040
  // Native
3055
3041
  function(t) {
3056
3042
  return t.trimStart();
@@ -3058,9 +3044,9 @@ var dt = Fn ? (
3058
3044
  ) : (
3059
3045
  // Ponyfill
3060
3046
  function(t) {
3061
- return t.replace(Ln, "");
3047
+ return t.replace(In, "");
3062
3048
  }
3063
- ), Wn = jn ? (
3049
+ ), Xn = Dn ? (
3064
3050
  // Native
3065
3051
  function(t) {
3066
3052
  return t.trimEnd();
@@ -3068,32 +3054,32 @@ var dt = Fn ? (
3068
3054
  ) : (
3069
3055
  // Ponyfill
3070
3056
  function(t) {
3071
- return t.replace(Rn, "");
3057
+ return t.replace(Mn, "");
3072
3058
  }
3073
3059
  );
3074
- function or(e, t) {
3060
+ function rr(e, t) {
3075
3061
  return new RegExp(e, t);
3076
3062
  }
3077
- var ke;
3078
- if (Ge) {
3079
- var gt = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
- ke = function(t, r) {
3063
+ var je;
3064
+ if (De) {
3065
+ var mt = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3066
+ je = function(t, r) {
3081
3067
  var n;
3082
- gt.lastIndex = r;
3083
- var i = gt.exec(t);
3068
+ mt.lastIndex = r;
3069
+ var i = mt.exec(t);
3084
3070
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3085
3071
  };
3086
3072
  } else
3087
- ke = function(t, r) {
3073
+ je = function(t, r) {
3088
3074
  for (var n = []; ; ) {
3089
- var i = ir(t, r);
3090
- if (i === void 0 || sr(i) || Yn(i))
3075
+ var i = tr(t, r);
3076
+ if (i === void 0 || nr(i) || Qn(i))
3091
3077
  break;
3092
3078
  n.push(i), r += i >= 65536 ? 2 : 1;
3093
3079
  }
3094
- return je.apply(void 0, n);
3080
+ return Ge.apply(void 0, n);
3095
3081
  };
3096
- var Zn = (
3082
+ var zn = (
3097
3083
  /** @class */
3098
3084
  function() {
3099
3085
  function e(t, r) {
@@ -3107,33 +3093,33 @@ var Zn = (
3107
3093
  for (var i = []; !this.isEOF(); ) {
3108
3094
  var o = this.char();
3109
3095
  if (o === 123) {
3110
- var a = this.parseArgument(t, n);
3111
- if (a.err)
3112
- return a;
3113
- i.push(a.val);
3096
+ var s = this.parseArgument(t, n);
3097
+ if (s.err)
3098
+ return s;
3099
+ i.push(s.val);
3114
3100
  } else {
3115
3101
  if (o === 125 && t > 0)
3116
3102
  break;
3117
3103
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3118
- var s = this.clonePosition();
3104
+ var a = this.clonePosition();
3119
3105
  this.bump(), i.push({
3120
3106
  type: E.pound,
3121
- location: g(s, this.clonePosition())
3107
+ location: g(a, this.clonePosition())
3122
3108
  });
3123
3109
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3124
3110
  if (n)
3125
3111
  break;
3126
3112
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3127
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3128
- var a = this.parseTag(t, r);
3129
- if (a.err)
3130
- return a;
3131
- i.push(a.val);
3113
+ } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3114
+ var s = this.parseTag(t, r);
3115
+ if (s.err)
3116
+ return s;
3117
+ i.push(s.val);
3132
3118
  } else {
3133
- var a = this.parseLiteral(t, r);
3134
- if (a.err)
3135
- return a;
3136
- i.push(a.val);
3119
+ var s = this.parseLiteral(t, r);
3120
+ if (s.err)
3121
+ return s;
3122
+ i.push(s.val);
3137
3123
  }
3138
3124
  }
3139
3125
  }
@@ -3155,27 +3141,27 @@ var Zn = (
3155
3141
  var o = this.parseMessage(t + 1, r, !0);
3156
3142
  if (o.err)
3157
3143
  return o;
3158
- var a = o.val, s = this.clonePosition();
3144
+ var s = o.val, a = this.clonePosition();
3159
3145
  if (this.bumpIf("</")) {
3160
- if (this.isEOF() || !Ve(this.char()))
3161
- return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
3146
+ if (this.isEOF() || !ke(this.char()))
3147
+ return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3162
3148
  var h = this.clonePosition(), u = this.parseTagName();
3163
3149
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3164
3150
  val: {
3165
3151
  type: E.tag,
3166
3152
  value: i,
3167
- children: a,
3153
+ children: s,
3168
3154
  location: g(n, this.clonePosition())
3169
3155
  },
3170
3156
  err: null
3171
- } : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
3157
+ } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3172
3158
  } else
3173
3159
  return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3174
3160
  } else
3175
3161
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3176
3162
  }, e.prototype.parseTagName = function() {
3177
3163
  var t = this.offset();
3178
- for (this.bump(); !this.isEOF() && Jn(this.char()); )
3164
+ for (this.bump(); !this.isEOF() && Zn(this.char()); )
3179
3165
  this.bump();
3180
3166
  return this.message.slice(t, this.offset());
3181
3167
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3185,16 +3171,16 @@ var Zn = (
3185
3171
  i += o;
3186
3172
  continue;
3187
3173
  }
3188
- var a = this.tryParseUnquoted(t, r);
3189
- if (a) {
3190
- i += a;
3191
- continue;
3192
- }
3193
- var s = this.tryParseLeftAngleBracket();
3174
+ var s = this.tryParseUnquoted(t, r);
3194
3175
  if (s) {
3195
3176
  i += s;
3196
3177
  continue;
3197
3178
  }
3179
+ var a = this.tryParseLeftAngleBracket();
3180
+ if (a) {
3181
+ i += a;
3182
+ continue;
3183
+ }
3198
3184
  break;
3199
3185
  }
3200
3186
  var h = g(n, this.clonePosition());
@@ -3204,7 +3190,7 @@ var Zn = (
3204
3190
  };
3205
3191
  }, e.prototype.tryParseLeftAngleBracket = function() {
3206
3192
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3207
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3193
+ !Wn(this.peek() || 0)) ? (this.bump(), "<") : null;
3208
3194
  }, e.prototype.tryParseQuote = function(t) {
3209
3195
  if (this.isEOF() || this.char() !== 39)
3210
3196
  return null;
@@ -3238,12 +3224,12 @@ var Zn = (
3238
3224
  r.push(n);
3239
3225
  this.bump();
3240
3226
  }
3241
- return je.apply(void 0, r);
3227
+ return Ge.apply(void 0, r);
3242
3228
  }, e.prototype.tryParseUnquoted = function(t, r) {
3243
3229
  if (this.isEOF())
3244
3230
  return null;
3245
3231
  var n = this.char();
3246
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3232
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
3247
3233
  }, e.prototype.parseArgument = function(t, r) {
3248
3234
  var n = this.clonePosition();
3249
3235
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3272,15 +3258,15 @@ var Zn = (
3272
3258
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3273
3259
  }
3274
3260
  }, e.prototype.parseIdentifierIfPossible = function() {
3275
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3261
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3276
3262
  this.bumpTo(i);
3277
- var o = this.clonePosition(), a = g(t, o);
3278
- return { value: n, location: a };
3263
+ var o = this.clonePosition(), s = g(t, o);
3264
+ return { value: n, location: s };
3279
3265
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3280
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3281
- switch (s) {
3266
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3267
+ switch (a) {
3282
3268
  case "":
3283
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, h));
3269
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, h));
3284
3270
  case "number":
3285
3271
  case "date":
3286
3272
  case "time": {
@@ -3291,46 +3277,46 @@ var Zn = (
3291
3277
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3292
3278
  if (c.err)
3293
3279
  return c;
3294
- var f = Wn(c.val);
3280
+ var f = Xn(c.val);
3295
3281
  if (f.length === 0)
3296
3282
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3297
- var p = g(l, this.clonePosition());
3298
- u = { style: f, styleLocation: p };
3283
+ var d = g(l, this.clonePosition());
3284
+ u = { style: f, styleLocation: d };
3299
3285
  }
3300
- var m = this.tryParseArgumentClose(i);
3301
- if (m.err)
3302
- return m;
3303
- var d = g(i, this.clonePosition());
3286
+ var p = this.tryParseArgumentClose(i);
3287
+ if (p.err)
3288
+ return p;
3289
+ var m = g(i, this.clonePosition());
3304
3290
  if (u && dt(u?.style, "::", 0)) {
3305
- var _ = zn(u.style.slice(2));
3306
- if (s === "number") {
3291
+ var _ = Vn(u.style.slice(2));
3292
+ if (a === "number") {
3307
3293
  var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
3308
3294
  return c.err ? c : {
3309
- val: { type: E.number, value: n, location: d, style: c.val },
3295
+ val: { type: E.number, value: n, location: m, style: c.val },
3310
3296
  err: null
3311
3297
  };
3312
3298
  } else {
3313
3299
  if (_.length === 0)
3314
- return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3300
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3315
3301
  var x = _;
3316
- this.locale && (x = Mn(_, this.locale));
3302
+ this.locale && (x = Cn(_, this.locale));
3317
3303
  var f = {
3318
3304
  type: J.dateTime,
3319
3305
  pattern: x,
3320
3306
  location: u.styleLocation,
3321
- parsedOptions: this.shouldParseSkeletons ? Hn(x) : {}
3322
- }, C = s === "date" ? E.date : E.time;
3307
+ parsedOptions: this.shouldParseSkeletons ? Tn(x) : {}
3308
+ }, C = a === "date" ? E.date : E.time;
3323
3309
  return {
3324
- val: { type: C, value: n, location: d, style: f },
3310
+ val: { type: C, value: n, location: m, style: f },
3325
3311
  err: null
3326
3312
  };
3327
3313
  }
3328
3314
  }
3329
3315
  return {
3330
3316
  val: {
3331
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3317
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3332
3318
  value: n,
3333
- location: d,
3319
+ location: m,
3334
3320
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3335
3321
  },
3336
3322
  err: null
@@ -3343,28 +3329,28 @@ var Zn = (
3343
3329
  if (this.bumpSpace(), !this.bumpIf(","))
3344
3330
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, v({}, T)));
3345
3331
  this.bumpSpace();
3346
- var H = this.parseIdentifierIfPossible(), M = 0;
3347
- if (s !== "select" && H.value === "offset") {
3332
+ var H = this.parseIdentifierIfPossible(), I = 0;
3333
+ if (a !== "select" && H.value === "offset") {
3348
3334
  if (!this.bumpIf(":"))
3349
3335
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3350
3336
  this.bumpSpace();
3351
3337
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3352
3338
  if (c.err)
3353
3339
  return c;
3354
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), M = c.val;
3340
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), I = c.val;
3355
3341
  }
3356
- var y = this.tryParsePluralOrSelectOptions(t, s, r, H);
3342
+ var y = this.tryParsePluralOrSelectOptions(t, a, r, H);
3357
3343
  if (y.err)
3358
3344
  return y;
3359
- var m = this.tryParseArgumentClose(i);
3360
- if (m.err)
3361
- return m;
3345
+ var p = this.tryParseArgumentClose(i);
3346
+ if (p.err)
3347
+ return p;
3362
3348
  var w = g(i, this.clonePosition());
3363
- return s === "select" ? {
3349
+ return a === "select" ? {
3364
3350
  val: {
3365
3351
  type: E.select,
3366
3352
  value: n,
3367
- options: bt(y.val),
3353
+ options: pt(y.val),
3368
3354
  location: w
3369
3355
  },
3370
3356
  err: null
@@ -3372,16 +3358,16 @@ var Zn = (
3372
3358
  val: {
3373
3359
  type: E.plural,
3374
3360
  value: n,
3375
- options: bt(y.val),
3376
- offset: M,
3377
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3361
+ options: pt(y.val),
3362
+ offset: I,
3363
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3378
3364
  location: w
3379
3365
  },
3380
3366
  err: null
3381
3367
  };
3382
3368
  }
3383
3369
  default:
3384
- return this.error(b.INVALID_ARGUMENT_TYPE, g(a, h));
3370
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(s, h));
3385
3371
  }
3386
3372
  }, e.prototype.tryParseArgumentClose = function(t) {
3387
3373
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3423,7 +3409,7 @@ var Zn = (
3423
3409
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3424
3410
  var n = [];
3425
3411
  try {
3426
- n = Bn(t);
3412
+ n = Hn(t);
3427
3413
  } catch {
3428
3414
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3429
3415
  }
@@ -3432,12 +3418,12 @@ var Zn = (
3432
3418
  type: J.number,
3433
3419
  tokens: n,
3434
3420
  location: r,
3435
- parsedOptions: this.shouldParseSkeletons ? In(n) : {}
3421
+ parsedOptions: this.shouldParseSkeletons ? On(n) : {}
3436
3422
  },
3437
3423
  err: null
3438
3424
  };
3439
3425
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3440
- for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3426
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3441
3427
  if (u.length === 0) {
3442
3428
  var c = this.clonePosition();
3443
3429
  if (r !== "select" && this.bumpIf("=")) {
@@ -3450,37 +3436,37 @@ var Zn = (
3450
3436
  }
3451
3437
  if (h.has(u))
3452
3438
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3453
- u === "other" && (a = !0), this.bumpSpace();
3454
- var p = this.clonePosition();
3439
+ u === "other" && (s = !0), this.bumpSpace();
3440
+ var d = this.clonePosition();
3455
3441
  if (!this.bumpIf("{"))
3456
3442
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3457
- var m = this.parseMessage(t + 1, r, n);
3443
+ var p = this.parseMessage(t + 1, r, n);
3444
+ if (p.err)
3445
+ return p;
3446
+ var m = this.tryParseArgumentClose(d);
3458
3447
  if (m.err)
3459
3448
  return m;
3460
- var d = this.tryParseArgumentClose(p);
3461
- if (d.err)
3462
- return d;
3463
- s.push([
3449
+ a.push([
3464
3450
  u,
3465
3451
  {
3466
- value: m.val,
3467
- location: g(p, this.clonePosition())
3452
+ value: p.val,
3453
+ location: g(d, this.clonePosition())
3468
3454
  }
3469
3455
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3470
3456
  }
3471
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3457
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3472
3458
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3473
3459
  var n = 1, i = this.clonePosition();
3474
3460
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3475
- for (var o = !1, a = 0; !this.isEOF(); ) {
3476
- var s = this.char();
3477
- if (s >= 48 && s <= 57)
3478
- o = !0, a = a * 10 + (s - 48), this.bump();
3461
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3462
+ var a = this.char();
3463
+ if (a >= 48 && a <= 57)
3464
+ o = !0, s = s * 10 + (a - 48), this.bump();
3479
3465
  else
3480
3466
  break;
3481
3467
  }
3482
3468
  var h = g(i, this.clonePosition());
3483
- return o ? (a *= n, Vn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3469
+ return o ? (s *= n, jn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3484
3470
  }, e.prototype.offset = function() {
3485
3471
  return this.position.offset;
3486
3472
  }, e.prototype.isEOF = function() {
@@ -3495,7 +3481,7 @@ var Zn = (
3495
3481
  var t = this.position.offset;
3496
3482
  if (t >= this.message.length)
3497
3483
  throw Error("out of bound");
3498
- var r = ir(this.message, t);
3484
+ var r = tr(this.message, t);
3499
3485
  if (r === void 0)
3500
3486
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3501
3487
  return r;
@@ -3536,7 +3522,7 @@ var Zn = (
3536
3522
  break;
3537
3523
  }
3538
3524
  }, e.prototype.bumpSpace = function() {
3539
- for (; !this.isEOF() && sr(this.char()); )
3525
+ for (; !this.isEOF() && nr(this.char()); )
3540
3526
  this.bump();
3541
3527
  }, e.prototype.peek = function() {
3542
3528
  if (this.isEOF())
@@ -3546,38 +3532,38 @@ var Zn = (
3546
3532
  }, e;
3547
3533
  }()
3548
3534
  );
3549
- function Ve(e) {
3535
+ function ke(e) {
3550
3536
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3551
3537
  }
3552
- function Qn(e) {
3553
- return Ve(e) || e === 47;
3538
+ function Wn(e) {
3539
+ return ke(e) || e === 47;
3554
3540
  }
3555
- function Jn(e) {
3541
+ function Zn(e) {
3556
3542
  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;
3557
3543
  }
3558
- function sr(e) {
3544
+ function nr(e) {
3559
3545
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3560
3546
  }
3561
- function Yn(e) {
3547
+ function Qn(e) {
3562
3548
  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;
3563
3549
  }
3564
- function Xe(e) {
3550
+ function Ve(e) {
3565
3551
  e.forEach(function(t) {
3566
- if (delete t.location, Jt(t) || Yt(t))
3552
+ if (delete t.location, Wt(t) || Zt(t))
3567
3553
  for (var r in t.options)
3568
- delete t.options[r].location, Xe(t.options[r].value);
3554
+ delete t.options[r].location, Ve(t.options[r].value);
3569
3555
  else
3570
- Wt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && De(t.style) ? delete t.style.location : qt(t) && Xe(t.children);
3556
+ Vt(t) && Jt(t.style) || (Xt(t) || zt(t)) && Ue(t.style) ? delete t.style.location : Qt(t) && Ve(t.children);
3571
3557
  });
3572
3558
  }
3573
- function qn(e, t) {
3559
+ function Jn(e, t) {
3574
3560
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3575
- var r = new Zn(e, t).parse();
3561
+ var r = new zn(e, t).parse();
3576
3562
  if (r.err) {
3577
3563
  var n = SyntaxError(b[r.err.kind]);
3578
3564
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3579
3565
  }
3580
- return t?.captureLocation || Xe(r.val), r.val;
3566
+ return t?.captureLocation || Ve(r.val), r.val;
3581
3567
  }
3582
3568
  var Y;
3583
3569
  (function(e) {
@@ -3586,7 +3572,7 @@ var Y;
3586
3572
  var Ee = (
3587
3573
  /** @class */
3588
3574
  function(e) {
3589
- F(t, e);
3575
+ $(t, e);
3590
3576
  function t(r, n, i) {
3591
3577
  var o = e.call(this, r) || this;
3592
3578
  return o.code = n, o.originalMessage = i, o;
@@ -3595,28 +3581,28 @@ var Ee = (
3595
3581
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3596
3582
  }, t;
3597
3583
  }(Error)
3598
- ), yt = (
3584
+ ), bt = (
3599
3585
  /** @class */
3600
3586
  function(e) {
3601
- F(t, e);
3587
+ $(t, e);
3602
3588
  function t(r, n, i, o) {
3603
3589
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3604
3590
  }
3605
3591
  return t;
3606
3592
  }(Ee)
3607
- ), Kn = (
3593
+ ), Yn = (
3608
3594
  /** @class */
3609
3595
  function(e) {
3610
- F(t, e);
3596
+ $(t, e);
3611
3597
  function t(r, n, i) {
3612
3598
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3613
3599
  }
3614
3600
  return t;
3615
3601
  }(Ee)
3616
- ), ei = (
3602
+ ), qn = (
3617
3603
  /** @class */
3618
3604
  function(e) {
3619
- F(t, e);
3605
+ $(t, e);
3620
3606
  function t(r, n) {
3621
3607
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3622
3608
  }
@@ -3626,34 +3612,34 @@ var Ee = (
3626
3612
  (function(e) {
3627
3613
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3628
3614
  })(A || (A = {}));
3629
- function ti(e) {
3615
+ function Kn(e) {
3630
3616
  return e.length < 2 ? e : e.reduce(function(t, r) {
3631
3617
  var n = t[t.length - 1];
3632
3618
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3633
3619
  }, []);
3634
3620
  }
3635
- function ri(e) {
3621
+ function ei(e) {
3636
3622
  return typeof e == "function";
3637
3623
  }
3638
- function de(e, t, r, n, i, o, a) {
3639
- if (e.length === 1 && ft(e[0]))
3624
+ function me(e, t, r, n, i, o, s) {
3625
+ if (e.length === 1 && lt(e[0]))
3640
3626
  return [
3641
3627
  {
3642
3628
  type: A.literal,
3643
3629
  value: e[0].value
3644
3630
  }
3645
3631
  ];
3646
- for (var s = [], h = 0, u = e; h < u.length; h++) {
3632
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3647
3633
  var l = u[h];
3648
- if (ft(l)) {
3649
- s.push({
3634
+ if (lt(l)) {
3635
+ a.push({
3650
3636
  type: A.literal,
3651
3637
  value: l.value
3652
3638
  });
3653
3639
  continue;
3654
3640
  }
3655
- if (Tn(l)) {
3656
- typeof o == "number" && s.push({
3641
+ if (xn(l)) {
3642
+ typeof o == "number" && a.push({
3657
3643
  type: A.literal,
3658
3644
  value: r.getNumberFormat(t).format(o)
3659
3645
  });
@@ -3661,89 +3647,89 @@ function de(e, t, r, n, i, o, a) {
3661
3647
  }
3662
3648
  var c = l.value;
3663
3649
  if (!(i && c in i))
3664
- throw new ei(c, a);
3650
+ throw new qn(c, s);
3665
3651
  var f = i[c];
3666
- if (Sn(l)) {
3667
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3652
+ if (En(l)) {
3653
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3668
3654
  type: typeof f == "string" ? A.literal : A.object,
3669
3655
  value: f
3670
3656
  });
3671
3657
  continue;
3672
3658
  }
3673
- if (Zt(l)) {
3674
- var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3675
- s.push({
3659
+ if (Xt(l)) {
3660
+ var d = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3661
+ a.push({
3676
3662
  type: A.literal,
3677
- value: r.getDateTimeFormat(t, p).format(f)
3663
+ value: r.getDateTimeFormat(t, d).format(f)
3678
3664
  });
3679
3665
  continue;
3680
3666
  }
3681
- if (Qt(l)) {
3682
- var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3683
- s.push({
3667
+ if (zt(l)) {
3668
+ var d = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3669
+ a.push({
3684
3670
  type: A.literal,
3685
- value: r.getDateTimeFormat(t, p).format(f)
3671
+ value: r.getDateTimeFormat(t, d).format(f)
3686
3672
  });
3687
3673
  continue;
3688
3674
  }
3689
- if (Wt(l)) {
3690
- var p = typeof l.style == "string" ? n.number[l.style] : Kt(l.style) ? l.style.parsedOptions : void 0;
3691
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3675
+ if (Vt(l)) {
3676
+ var d = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
3677
+ d && d.scale && (f = f * (d.scale || 1)), a.push({
3692
3678
  type: A.literal,
3693
- value: r.getNumberFormat(t, p).format(f)
3679
+ value: r.getNumberFormat(t, d).format(f)
3694
3680
  });
3695
3681
  continue;
3696
3682
  }
3697
- if (qt(l)) {
3698
- var m = l.children, d = l.value, _ = i[d];
3699
- if (!ri(_))
3700
- throw new Kn(d, "function", a);
3701
- var x = de(m, t, r, n, i, o), C = _(x.map(function(M) {
3702
- return M.value;
3683
+ if (Qt(l)) {
3684
+ var p = l.children, m = l.value, _ = i[m];
3685
+ if (!ei(_))
3686
+ throw new Yn(m, "function", s);
3687
+ var x = me(p, t, r, n, i, o), C = _(x.map(function(I) {
3688
+ return I.value;
3703
3689
  }));
3704
- Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(M) {
3690
+ Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(I) {
3705
3691
  return {
3706
- type: typeof M == "string" ? A.literal : A.object,
3707
- value: M
3692
+ type: typeof I == "string" ? A.literal : A.object,
3693
+ value: I
3708
3694
  };
3709
3695
  }));
3710
3696
  }
3711
- if (Jt(l)) {
3697
+ if (Wt(l)) {
3712
3698
  var T = l.options[f] || l.options.other;
3713
3699
  if (!T)
3714
- throw new yt(l.value, f, Object.keys(l.options), a);
3715
- s.push.apply(s, de(T.value, t, r, n, i));
3700
+ throw new bt(l.value, f, Object.keys(l.options), s);
3701
+ a.push.apply(a, me(T.value, t, r, n, i));
3716
3702
  continue;
3717
3703
  }
3718
- if (Yt(l)) {
3704
+ if (Zt(l)) {
3719
3705
  var T = l.options["=".concat(f)];
3720
3706
  if (!T) {
3721
3707
  if (!Intl.PluralRules)
3722
3708
  throw new Ee(`Intl.PluralRules is not available in this environment.
3723
3709
  Try polyfilling it using "@formatjs/intl-pluralrules"
3724
- `, Y.MISSING_INTL_API, a);
3710
+ `, Y.MISSING_INTL_API, s);
3725
3711
  var H = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3726
3712
  T = l.options[H] || l.options.other;
3727
3713
  }
3728
3714
  if (!T)
3729
- throw new yt(l.value, f, Object.keys(l.options), a);
3730
- s.push.apply(s, de(T.value, t, r, n, i, f - (l.offset || 0)));
3715
+ throw new bt(l.value, f, Object.keys(l.options), s);
3716
+ a.push.apply(a, me(T.value, t, r, n, i, f - (l.offset || 0)));
3731
3717
  continue;
3732
3718
  }
3733
3719
  }
3734
- return ti(s);
3720
+ return Kn(a);
3735
3721
  }
3736
- function ni(e, t) {
3722
+ function ti(e, t) {
3737
3723
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3738
3724
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3739
3725
  }, {})) : e;
3740
3726
  }
3741
- function ii(e, t) {
3727
+ function ri(e, t) {
3742
3728
  return t ? Object.keys(e).reduce(function(r, n) {
3743
- return r[n] = ni(e[n], t[n]), r;
3729
+ return r[n] = ti(e[n], t[n]), r;
3744
3730
  }, v({}, e)) : e;
3745
3731
  }
3746
- function Oe(e) {
3732
+ function Pe(e) {
3747
3733
  return {
3748
3734
  create: function() {
3749
3735
  return {
@@ -3757,39 +3743,39 @@ function Oe(e) {
3757
3743
  }
3758
3744
  };
3759
3745
  }
3760
- function oi(e) {
3746
+ function ni(e) {
3761
3747
  return e === void 0 && (e = {
3762
3748
  number: {},
3763
3749
  dateTime: {},
3764
3750
  pluralRules: {}
3765
3751
  }), {
3766
- getNumberFormat: Ae(function() {
3752
+ getNumberFormat: He(function() {
3767
3753
  for (var t, r = [], n = 0; n < arguments.length; n++)
3768
3754
  r[n] = arguments[n];
3769
3755
  return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
3770
3756
  }, {
3771
- cache: Oe(e.number),
3772
- strategy: Be.variadic
3757
+ cache: Pe(e.number),
3758
+ strategy: Ae.variadic
3773
3759
  }),
3774
- getDateTimeFormat: Ae(function() {
3760
+ getDateTimeFormat: He(function() {
3775
3761
  for (var t, r = [], n = 0; n < arguments.length; n++)
3776
3762
  r[n] = arguments[n];
3777
3763
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
3778
3764
  }, {
3779
- cache: Oe(e.dateTime),
3780
- strategy: Be.variadic
3765
+ cache: Pe(e.dateTime),
3766
+ strategy: Ae.variadic
3781
3767
  }),
3782
- getPluralRules: Ae(function() {
3768
+ getPluralRules: He(function() {
3783
3769
  for (var t, r = [], n = 0; n < arguments.length; n++)
3784
3770
  r[n] = arguments[n];
3785
3771
  return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
3786
3772
  }, {
3787
- cache: Oe(e.pluralRules),
3788
- strategy: Be.variadic
3773
+ cache: Pe(e.pluralRules),
3774
+ strategy: Ae.variadic
3789
3775
  })
3790
3776
  };
3791
3777
  }
3792
- var si = (
3778
+ var ii = (
3793
3779
  /** @class */
3794
3780
  function() {
3795
3781
  function e(t, r, n, i) {
@@ -3808,7 +3794,7 @@ var si = (
3808
3794
  }, []);
3809
3795
  return l.length <= 1 ? l[0] || "" : l;
3810
3796
  }, this.formatToParts = function(h) {
3811
- return de(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3797
+ return me(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3812
3798
  }, this.resolvedOptions = function() {
3813
3799
  var h;
3814
3800
  return {
@@ -3819,15 +3805,15 @@ var si = (
3819
3805
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3820
3806
  if (this.message = t, !e.__parse)
3821
3807
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3822
- var a = i || {};
3823
- a.formatters;
3824
- var s = $r(a, ["formatters"]);
3825
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3808
+ var s = i || {};
3809
+ s.formatters;
3810
+ var a = Lr(s, ["formatters"]);
3811
+ this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3826
3812
  } else
3827
3813
  this.ast = t;
3828
3814
  if (!Array.isArray(this.ast))
3829
3815
  throw new TypeError("A message must be provided as a String or AST.");
3830
- this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3816
+ this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
3831
3817
  }
3832
3818
  return Object.defineProperty(e, "defaultLocale", {
3833
3819
  get: function() {
@@ -3840,7 +3826,7 @@ var si = (
3840
3826
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3841
3827
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3842
3828
  }
3843
- }, e.__parse = qn, e.formats = {
3829
+ }, e.__parse = Jn, e.formats = {
3844
3830
  number: {
3845
3831
  integer: {
3846
3832
  maximumFractionDigits: 0
@@ -3901,7 +3887,7 @@ var si = (
3901
3887
  }, e;
3902
3888
  }()
3903
3889
  );
3904
- function ai(e, t) {
3890
+ function oi(e, t) {
3905
3891
  if (t == null)
3906
3892
  return;
3907
3893
  if (t in e)
@@ -3922,88 +3908,88 @@ function ai(e, t) {
3922
3908
  n = void 0;
3923
3909
  return n;
3924
3910
  }
3925
- const D = {}, ui = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), ar = (e, t) => {
3911
+ const D = {}, si = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), ir = (e, t) => {
3926
3912
  if (t == null)
3927
3913
  return;
3928
3914
  if (t in D && e in D[t])
3929
3915
  return D[t][e];
3930
3916
  const r = xe(t);
3931
3917
  for (let n = 0; n < r.length; n++) {
3932
- const i = r[n], o = hi(i, e);
3918
+ const i = r[n], o = ui(i, e);
3933
3919
  if (o)
3934
- return ui(e, t, o);
3920
+ return si(e, t, o);
3935
3921
  }
3936
3922
  };
3937
- let Ye;
3923
+ let Qe;
3938
3924
  const ue = _e({});
3939
- function li(e) {
3940
- return Ye[e] || null;
3925
+ function ai(e) {
3926
+ return Qe[e] || null;
3941
3927
  }
3942
- function ur(e) {
3943
- return e in Ye;
3928
+ function or(e) {
3929
+ return e in Qe;
3944
3930
  }
3945
- function hi(e, t) {
3946
- if (!ur(e))
3931
+ function ui(e, t) {
3932
+ if (!or(e))
3947
3933
  return null;
3948
- const r = li(e);
3949
- return ai(r, t);
3934
+ const r = ai(e);
3935
+ return oi(r, t);
3950
3936
  }
3951
- function fi(e) {
3937
+ function li(e) {
3952
3938
  if (e == null)
3953
3939
  return;
3954
3940
  const t = xe(e);
3955
3941
  for (let r = 0; r < t.length; r++) {
3956
3942
  const n = t[r];
3957
- if (ur(n))
3943
+ if (or(n))
3958
3944
  return n;
3959
3945
  }
3960
3946
  }
3961
- function lr(e, ...t) {
3962
- delete D[e], ue.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
3947
+ function sr(e, ...t) {
3948
+ delete D[e], ue.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
3963
3949
  }
3964
3950
  K(
3965
3951
  [ue],
3966
3952
  ([e]) => Object.keys(e)
3967
3953
  );
3968
- ue.subscribe((e) => Ye = e);
3954
+ ue.subscribe((e) => Qe = e);
3969
3955
  const be = {};
3970
- function ci(e, t) {
3956
+ function hi(e, t) {
3971
3957
  be[e].delete(t), be[e].size === 0 && delete be[e];
3972
3958
  }
3973
- function hr(e) {
3959
+ function ar(e) {
3974
3960
  return be[e];
3975
3961
  }
3976
- function pi(e) {
3962
+ function fi(e) {
3977
3963
  return xe(e).map((t) => {
3978
- const r = hr(t);
3964
+ const r = ar(t);
3979
3965
  return [t, r ? [...r] : []];
3980
3966
  }).filter(([, t]) => t.length > 0);
3981
3967
  }
3982
- function ze(e) {
3968
+ function Xe(e) {
3983
3969
  return e == null ? !1 : xe(e).some(
3984
3970
  (t) => {
3985
3971
  var r;
3986
- return (r = hr(t)) == null ? void 0 : r.size;
3972
+ return (r = ar(t)) == null ? void 0 : r.size;
3987
3973
  }
3988
3974
  );
3989
3975
  }
3990
- function mi(e, t) {
3976
+ function ci(e, t) {
3991
3977
  return Promise.all(
3992
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
3993
- ).then((n) => lr(e, ...n));
3978
+ t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
3979
+ ).then((n) => sr(e, ...n));
3994
3980
  }
3995
3981
  const te = {};
3996
- function fr(e) {
3997
- if (!ze(e))
3982
+ function ur(e) {
3983
+ if (!Xe(e))
3998
3984
  return e in te ? te[e] : Promise.resolve();
3999
- const t = pi(e);
3985
+ const t = fi(e);
4000
3986
  return te[e] = Promise.all(
4001
3987
  t.map(
4002
- ([r, n]) => mi(r, n)
3988
+ ([r, n]) => ci(r, n)
4003
3989
  )
4004
3990
  ).then(() => {
4005
- if (ze(e))
4006
- return fr(e);
3991
+ if (Xe(e))
3992
+ return ur(e);
4007
3993
  delete te[e];
4008
3994
  }), te[e];
4009
3995
  }
@@ -4036,57 +4022,57 @@ const di = {
4036
4022
  timeZoneName: "short"
4037
4023
  }
4038
4024
  }
4039
- }, bi = {
4025
+ }, pi = {
4040
4026
  fallbackLocale: null,
4041
4027
  loadingDelay: 200,
4042
4028
  formats: di,
4043
4029
  warnOnMissingMessages: !0,
4044
4030
  handleMissingMessage: void 0,
4045
4031
  ignoreTag: !0
4046
- }, gi = bi;
4032
+ }, mi = pi;
4047
4033
  function q() {
4048
- return gi;
4049
- }
4050
- const Ce = _e(!1);
4051
- var yi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, xi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
4052
- for (var r in t || (t = {}))
4053
- Ei.call(t, r) && _t(e, r, t[r]);
4054
- if (vt)
4055
- for (var r of vt(t))
4056
- xi.call(t, r) && _t(e, r, t[r]);
4034
+ return mi;
4035
+ }
4036
+ const Oe = _e(!1);
4037
+ var bi = Object.defineProperty, gi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
4038
+ for (var r in t)
4039
+ vi.call(t, r) && yt(e, r, t[r]);
4040
+ if (gt)
4041
+ for (var r of gt(t))
4042
+ _i.call(t, r) && yt(e, r, t[r]);
4057
4043
  return e;
4058
- }, Ti = (e, t) => vi(e, _i(t));
4059
- let We;
4044
+ }, xi = (e, t) => gi(e, yi(t));
4045
+ let ze;
4060
4046
  const ge = _e(null);
4061
- function Et(e) {
4047
+ function vt(e) {
4062
4048
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4063
4049
  }
4064
4050
  function xe(e, t = q().fallbackLocale) {
4065
- const r = Et(e);
4066
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4051
+ const r = vt(e);
4052
+ return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
4067
4053
  }
4068
4054
  function j() {
4069
- return We ?? void 0;
4055
+ return ze ?? void 0;
4070
4056
  }
4071
4057
  ge.subscribe((e) => {
4072
- We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4058
+ ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4073
4059
  });
4074
- const wi = (e) => {
4075
- if (e && fi(e) && ze(e)) {
4060
+ const Si = (e) => {
4061
+ if (e && li(e) && Xe(e)) {
4076
4062
  const { loadingDelay: t } = q();
4077
4063
  let r;
4078
4064
  return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4079
- () => Ce.set(!0),
4065
+ () => Oe.set(!0),
4080
4066
  t
4081
- ) : Ce.set(!0), fr(e).then(() => {
4067
+ ) : Oe.set(!0), ur(e).then(() => {
4082
4068
  ge.set(e);
4083
4069
  }).finally(() => {
4084
- clearTimeout(r), Ce.set(!1);
4070
+ clearTimeout(r), Oe.set(!1);
4085
4071
  });
4086
4072
  }
4087
4073
  return ge.set(e);
4088
- }, le = Ti(Si({}, ge), {
4089
- set: wi
4074
+ }, le = xi(Ei({}, ge), {
4075
+ set: Si
4090
4076
  }), Se = (e) => {
4091
4077
  const t = /* @__PURE__ */ Object.create(null);
4092
4078
  return (n) => {
@@ -4094,20 +4080,20 @@ const wi = (e) => {
4094
4080
  return i in t ? t[i] : t[i] = e(n);
4095
4081
  };
4096
4082
  };
4097
- var Hi = Object.defineProperty, ye = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4083
+ var Ti = Object.defineProperty, ye = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4098
4084
  for (var r in t || (t = {}))
4099
- cr.call(t, r) && xt(e, r, t[r]);
4085
+ lr.call(t, r) && _t(e, r, t[r]);
4100
4086
  if (ye)
4101
4087
  for (var r of ye(t))
4102
- pr.call(t, r) && xt(e, r, t[r]);
4088
+ hr.call(t, r) && _t(e, r, t[r]);
4103
4089
  return e;
4104
4090
  }, ee = (e, t) => {
4105
4091
  var r = {};
4106
4092
  for (var n in e)
4107
- cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4093
+ lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4108
4094
  if (e != null && ye)
4109
4095
  for (var n of ye(e))
4110
- t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
4096
+ t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
4111
4097
  return r;
4112
4098
  };
4113
4099
  const oe = (e, t) => {
@@ -4115,21 +4101,21 @@ const oe = (e, t) => {
4115
4101
  if (e in r && t in r[e])
4116
4102
  return r[e][t];
4117
4103
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4118
- }, Ai = Se(
4104
+ }, wi = Se(
4119
4105
  (e) => {
4120
4106
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4121
4107
  if (r == null)
4122
4108
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4123
4109
  return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4124
4110
  }
4125
- ), Bi = Se(
4111
+ ), Hi = Se(
4126
4112
  (e) => {
4127
4113
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4128
4114
  if (r == null)
4129
4115
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4130
4116
  return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4131
4117
  }
4132
- ), Pi = Se(
4118
+ ), Ai = Se(
4133
4119
  (e) => {
4134
4120
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4135
4121
  if (r == null)
@@ -4138,57 +4124,57 @@ const oe = (e, t) => {
4138
4124
  );
4139
4125
  return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4140
4126
  }
4141
- ), Oi = (e = {}) => {
4127
+ ), Bi = (e = {}) => {
4142
4128
  var t = e, {
4143
4129
  locale: r = j()
4144
4130
  } = t, n = ee(t, [
4145
4131
  "locale"
4146
4132
  ]);
4147
- return Ai(qe({ locale: r }, n));
4148
- }, Ci = (e = {}) => {
4133
+ return wi(Je({ locale: r }, n));
4134
+ }, Pi = (e = {}) => {
4149
4135
  var t = e, {
4150
4136
  locale: r = j()
4151
4137
  } = t, n = ee(t, [
4152
4138
  "locale"
4153
4139
  ]);
4154
- return Bi(qe({ locale: r }, n));
4155
- }, Ii = (e = {}) => {
4140
+ return Hi(Je({ locale: r }, n));
4141
+ }, Oi = (e = {}) => {
4156
4142
  var t = e, {
4157
4143
  locale: r = j()
4158
4144
  } = t, n = ee(t, [
4159
4145
  "locale"
4160
4146
  ]);
4161
- return Pi(qe({ locale: r }, n));
4162
- }, Mi = Se(
4147
+ return Ai(Je({ locale: r }, n));
4148
+ }, Ci = Se(
4163
4149
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4164
- (e, t = j()) => new si(e, t, q().formats, {
4150
+ (e, t = j()) => new ii(e, t, q().formats, {
4165
4151
  ignoreTag: q().ignoreTag
4166
4152
  })
4167
4153
  ), Ni = (e, t = {}) => {
4168
4154
  var r, n, i, o;
4169
- let a = t;
4170
- typeof e == "object" && (a = e, e = a.id);
4155
+ let s = t;
4156
+ typeof e == "object" && (s = e, e = s.id);
4171
4157
  const {
4172
- values: s,
4158
+ values: a,
4173
4159
  locale: h = j(),
4174
4160
  default: u
4175
- } = a;
4161
+ } = s;
4176
4162
  if (h == null)
4177
4163
  throw new Error(
4178
4164
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4179
4165
  );
4180
- let l = ar(e, h);
4166
+ let l = ir(e, h);
4181
4167
  if (!l)
4182
4168
  l = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4183
4169
  else if (typeof l != "string")
4184
4170
  return console.warn(
4185
4171
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4186
4172
  ), l;
4187
- if (!s)
4173
+ if (!a)
4188
4174
  return l;
4189
4175
  let c = l;
4190
4176
  try {
4191
- c = Mi(l, h).format(s);
4177
+ c = Ci(l, h).format(a);
4192
4178
  } catch (f) {
4193
4179
  f instanceof Error && console.warn(
4194
4180
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4196,17 +4182,17 @@ const oe = (e, t) => {
4196
4182
  );
4197
4183
  }
4198
4184
  return c;
4199
- }, Li = (e, t) => Ii(t).format(e), Ri = (e, t) => Ci(t).format(e), Fi = (e, t) => Oi(t).format(e), $i = (e, t = j()) => ar(e, t), Ui = K([le, ue], () => Ni);
4185
+ }, Ii = (e, t) => Oi(t).format(e), Mi = (e, t) => Pi(t).format(e), Li = (e, t) => Bi(t).format(e), Ri = (e, t = j()) => ir(e, t), $i = K([le, ue], () => Ni);
4186
+ K([le], () => Ii);
4187
+ K([le], () => Mi);
4200
4188
  K([le], () => Li);
4201
- K([le], () => Ri);
4202
- K([le], () => Fi);
4203
- K([le, ue], () => $i);
4204
- window.emWidgets = { topic: qr };
4189
+ K([le, ue], () => Ri);
4190
+ window.emWidgets = { topic: Qr };
4205
4191
  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));
4206
- function St(e, t) {
4207
- lr(e, t);
4192
+ function Et(e, t) {
4193
+ sr(e, t);
4208
4194
  }
4209
- const Tt = {
4195
+ const xt = {
4210
4196
  en: {
4211
4197
  tournaments: "Tournaments",
4212
4198
  all: "All",
@@ -4285,13 +4271,13 @@ const Tt = {
4285
4271
  finished: "Finished"
4286
4272
  }
4287
4273
  };
4288
- function Di(e, t) {
4274
+ function Fi(e, t) {
4289
4275
  if (e) {
4290
4276
  const r = document.createElement("style");
4291
4277
  r.innerHTML = t, e.appendChild(r);
4292
4278
  }
4293
4279
  }
4294
- function Gi(e, t) {
4280
+ function Ui(e, t) {
4295
4281
  const r = new URL(t);
4296
4282
  fetch(r.href).then((n) => n.text()).then((n) => {
4297
4283
  const i = document.createElement("style");
@@ -4300,7 +4286,7 @@ function Gi(e, t) {
4300
4286
  console.error("There was an error while trying to load client styling from URL", n);
4301
4287
  });
4302
4288
  }
4303
- function ji(e, t, r) {
4289
+ function Di(e, t, r) {
4304
4290
  if (window.emMessageBus) {
4305
4291
  const n = document.createElement("style");
4306
4292
  window.emMessageBus.subscribe(t, (i) => {
@@ -4308,26 +4294,26 @@ function ji(e, t, r) {
4308
4294
  });
4309
4295
  }
4310
4296
  }
4311
- function ki(e) {
4312
- br(e, "svelte-f5g69n", "*,*::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;min-height:max-content}ul.MobileClass{padding-top:21px}li:first-child{position:relative;padding:0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}.FiltersList.MobileClass{flex-direction:column}.FiltersTitle{width:min-content;display:flex;align-items:center}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)}");
4297
+ function Gi(e) {
4298
+ dr(e, "svelte-f5g69n", "*,*::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;min-height:max-content}ul.MobileClass{padding-top:21px}li:first-child{position:relative;padding:0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}.FiltersList.MobileClass{flex-direction:column}.FiltersTitle{width:min-content;display:flex;align-items:center}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)}");
4313
4299
  }
4314
- function wt(e, t, r) {
4300
+ function St(e, t, r) {
4315
4301
  const n = e.slice();
4316
4302
  return n[21] = t[r], n[23] = r, n;
4317
4303
  }
4318
- function Ht(e) {
4304
+ function Tt(e) {
4319
4305
  let t, r, n = (
4320
4306
  /*$_*/
4321
4307
  e[4]("tournaments") + ""
4322
- ), i, o, a, s, h = rt(
4308
+ ), i, o, s, a, h = et(
4323
4309
  /*filterItems*/
4324
4310
  e[1]
4325
4311
  ), u = [];
4326
4312
  for (let l = 0; l < h.length; l += 1)
4327
- u[l] = It(wt(e, h, l));
4313
+ u[l] = Ot(St(e, h, l));
4328
4314
  return {
4329
4315
  c() {
4330
- t = N("ul"), r = N("li"), i = G(n), o = G(":"), a = X(), s = N("ul");
4316
+ t = M("ul"), r = M("li"), i = G(n), o = G(":"), s = X(), a = M("ul");
4331
4317
  for (let l = 0; l < u.length; l += 1)
4332
4318
  u[l].c();
4333
4319
  S(r, "class", "FiltersTitle " + (P(
@@ -4345,23 +4331,23 @@ function Ht(e) {
4345
4331
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4346
4332
  },
4347
4333
  m(l, c) {
4348
- R(l, t, c), B(t, r), B(r, i), B(r, o), B(t, a), B(t, s);
4334
+ R(l, t, c), B(t, r), B(r, i), B(r, o), B(t, s), B(t, a);
4349
4335
  for (let f = 0; f < u.length; f += 1)
4350
- u[f] && u[f].m(s, null);
4336
+ u[f] && u[f].m(a, null);
4351
4337
  },
4352
4338
  p(l, c) {
4353
4339
  if (c & /*$_*/
4354
4340
  16 && n !== (n = /*$_*/
4355
4341
  l[4]("tournaments") + "") && ae(i, n), c & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4356
4342
  126) {
4357
- h = rt(
4343
+ h = et(
4358
4344
  /*filterItems*/
4359
4345
  l[1]
4360
4346
  );
4361
4347
  let f;
4362
4348
  for (f = 0; f < h.length; f += 1) {
4363
- const p = wt(l, h, f);
4364
- u[f] ? u[f].p(p, c) : (u[f] = It(p), u[f].c(), u[f].m(s, null));
4349
+ const d = St(l, h, f);
4350
+ u[f] ? u[f].p(d, c) : (u[f] = Ot(d), u[f].c(), u[f].m(a, null));
4365
4351
  }
4366
4352
  for (; f < u.length; f += 1)
4367
4353
  u[f].d(1);
@@ -4369,25 +4355,25 @@ function Ht(e) {
4369
4355
  }
4370
4356
  },
4371
4357
  d(l) {
4372
- l && I(t), vr(u, l);
4358
+ l && N(t), br(u, l);
4373
4359
  }
4374
4360
  };
4375
4361
  }
4376
- function At(e) {
4362
+ function wt(e) {
4377
4363
  let t, r;
4378
4364
  return {
4379
4365
  c() {
4380
- t = et("svg"), r = et("path"), S(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"), S(t, "xmlns", "http://www.w3.org/2000/svg"), S(t, "width", "16"), S(t, "height", "16"), S(t, "fill", "currentColor"), S(t, "class", "bi bi-check"), S(t, "part", "bi bi-check"), S(t, "viewBox", "0 0 16 16");
4366
+ t = qe("svg"), r = qe("path"), S(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"), S(t, "xmlns", "http://www.w3.org/2000/svg"), S(t, "width", "16"), S(t, "height", "16"), S(t, "fill", "currentColor"), S(t, "class", "bi bi-check"), S(t, "part", "bi bi-check"), S(t, "viewBox", "0 0 16 16");
4381
4367
  },
4382
4368
  m(n, i) {
4383
4369
  R(n, t, i), B(t, r);
4384
4370
  },
4385
4371
  d(n) {
4386
- n && I(t);
4372
+ n && N(t);
4387
4373
  }
4388
4374
  };
4389
4375
  }
4390
- function Bt(e) {
4376
+ function Ht(e) {
4391
4377
  let t = (
4392
4378
  /*$_*/
4393
4379
  e[4]("scheduled") + ""
@@ -4405,11 +4391,11 @@ function Bt(e) {
4405
4391
  n[4]("scheduled") + "") && ae(r, t);
4406
4392
  },
4407
4393
  d(n) {
4408
- n && I(r);
4394
+ n && N(r);
4409
4395
  }
4410
4396
  };
4411
4397
  }
4412
- function Pt(e) {
4398
+ function At(e) {
4413
4399
  let t = (
4414
4400
  /*$_*/
4415
4401
  e[4]("ongoing") + ""
@@ -4427,11 +4413,11 @@ function Pt(e) {
4427
4413
  n[4]("ongoing") + "") && ae(r, t);
4428
4414
  },
4429
4415
  d(n) {
4430
- n && I(r);
4416
+ n && N(r);
4431
4417
  }
4432
4418
  };
4433
4419
  }
4434
- function Ot(e) {
4420
+ function Bt(e) {
4435
4421
  let t = (
4436
4422
  /*$_*/
4437
4423
  e[4]("finished") + ""
@@ -4449,11 +4435,11 @@ function Ot(e) {
4449
4435
  n[4]("finished") + "") && ae(r, t);
4450
4436
  },
4451
4437
  d(n) {
4452
- n && I(r);
4438
+ n && N(r);
4453
4439
  }
4454
4440
  };
4455
4441
  }
4456
- function Ct(e) {
4442
+ function Pt(e) {
4457
4443
  let t = (
4458
4444
  /*$_*/
4459
4445
  e[4]("all") + ""
@@ -4471,31 +4457,31 @@ function Ct(e) {
4471
4457
  n[4]("all") + "") && ae(r, t);
4472
4458
  },
4473
4459
  d(n) {
4474
- n && I(r);
4460
+ n && N(r);
4475
4461
  }
4476
4462
  };
4477
4463
  }
4478
- function It(e) {
4479
- let t, r, n, i, o, a, s, h, u, l, c, f, p = (
4464
+ function Ot(e) {
4465
+ let t, r, n, i, o, s, a, h, u, l, c, f, d = (
4480
4466
  /*activeIndexes*/
4481
4467
  (e[2][
4482
4468
  /*index*/
4483
4469
  e[23]
4484
4470
  ] == 1 || /*allActive*/
4485
4471
  e[3] && /*index*/
4486
- e[23] == 0) && At()
4487
- ), m = (
4472
+ e[23] == 0) && wt()
4473
+ ), p = (
4488
4474
  /*filter*/
4489
- e[21] == "Scheduled" && Bt(e)
4490
- ), d = (
4475
+ e[21] == "Scheduled" && Ht(e)
4476
+ ), m = (
4491
4477
  /*filter*/
4492
- e[21] == "Ongoing" && Pt(e)
4478
+ e[21] == "Ongoing" && At(e)
4493
4479
  ), _ = (
4494
4480
  /*filter*/
4495
- e[21] == "Finished" && Ot(e)
4481
+ e[21] == "Finished" && Bt(e)
4496
4482
  ), x = (
4497
4483
  /*filter*/
4498
- e[21] == "All" && Ct(e)
4484
+ e[21] == "All" && Pt(e)
4499
4485
  );
4500
4486
  function C() {
4501
4487
  return (
@@ -4510,7 +4496,7 @@ function It(e) {
4510
4496
  }
4511
4497
  return {
4512
4498
  c() {
4513
- t = N("li"), r = N("button"), p && p.c(), n = X(), i = N("div"), m && m.c(), o = X(), d && d.c(), a = X(), _ && _.c(), s = X(), x && x.c(), l = X(), S(i, "class", "FilterButton " + (P(
4499
+ t = M("li"), r = M("button"), d && d.c(), n = X(), i = M("div"), p && p.c(), o = X(), m && m.c(), s = X(), _ && _.c(), a = X(), x && x.c(), l = X(), S(i, "class", "FilterButton " + (P(
4514
4500
  /*userAgent*/
4515
4501
  e[5]
4516
4502
  ) ? "MobileClass" : "Non-MobileClass/empty")), S(i, "part", "FilterButton " + (P(
@@ -4537,7 +4523,7 @@ function It(e) {
4537
4523
  ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "class", "FiltersItem"), S(t, "part", "FiltersItem");
4538
4524
  },
4539
4525
  m(T, H) {
4540
- R(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, a), _ && _.m(i, null), B(i, s), x && x.m(i, null), B(t, l), c || (f = _r(t, "click", C), c = !0);
4526
+ R(T, t, H), B(t, r), d && d.m(r, null), B(r, n), B(r, i), p && p.m(i, null), B(i, o), m && m.m(i, null), B(i, s), _ && _.m(i, null), B(i, a), x && x.m(i, null), B(t, l), c || (f = gr(t, "click", C), c = !0);
4541
4527
  },
4542
4528
  p(T, H) {
4543
4529
  e = T, /*activeIndexes*/
@@ -4546,11 +4532,11 @@ function It(e) {
4546
4532
  e[23]
4547
4533
  ] == 1 || /*allActive*/
4548
4534
  e[3] && /*index*/
4549
- e[23] == 0 ? p || (p = At(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4550
- e[21] == "Scheduled" ? m ? m.p(e, H) : (m = Bt(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4551
- e[21] == "Ongoing" ? d ? d.p(e, H) : (d = Pt(e), d.c(), d.m(i, a)) : d && (d.d(1), d = null), /*filter*/
4552
- e[21] == "Finished" ? _ ? _.p(e, H) : (_ = Ot(e), _.c(), _.m(i, s)) : _ && (_.d(1), _ = null), /*filter*/
4553
- e[21] == "All" ? x ? x.p(e, H) : (x = Ct(e), x.c(), x.m(i, null)) : x && (x.d(1), x = null), H & /*activeIndexes, allActive*/
4535
+ e[23] == 0 ? d || (d = wt(), d.c(), d.m(r, n)) : d && (d.d(1), d = null), /*filter*/
4536
+ e[21] == "Scheduled" ? p ? p.p(e, H) : (p = Ht(e), p.c(), p.m(i, o)) : p && (p.d(1), p = null), /*filter*/
4537
+ e[21] == "Ongoing" ? m ? m.p(e, H) : (m = At(e), m.c(), m.m(i, s)) : m && (m.d(1), m = null), /*filter*/
4538
+ e[21] == "Finished" ? _ ? _.p(e, H) : (_ = Bt(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4539
+ e[21] == "All" ? x ? x.p(e, H) : (x = Pt(e), x.c(), x.m(i, null)) : x && (x.d(1), x = null), H & /*activeIndexes, allActive*/
4554
4540
  12 && h !== (h = /*activeIndexes*/
4555
4541
  (e[2][
4556
4542
  /*index*/
@@ -4573,18 +4559,18 @@ function It(e) {
4573
4559
  ) ? "MobileClass" : "Non-MobileClass/empty")) && S(r, "part", u);
4574
4560
  },
4575
4561
  d(T) {
4576
- T && I(t), p && p.d(), m && m.d(), d && d.d(), _ && _.d(), x && x.d(), c = !1, f();
4562
+ T && N(t), d && d.d(), p && p.d(), m && m.d(), _ && _.d(), x && x.d(), c = !1, f();
4577
4563
  }
4578
4564
  };
4579
4565
  }
4580
- function Vi(e) {
4566
+ function ji(e) {
4581
4567
  let t, r = (
4582
4568
  /*filterItems*/
4583
- e[1].length > 0 && Ht(e)
4569
+ e[1].length > 0 && Tt(e)
4584
4570
  );
4585
4571
  return {
4586
4572
  c() {
4587
- t = N("div"), r && r.c(), S(t, "class", "FiltersController " + (P(
4573
+ t = M("div"), r && r.c(), S(t, "class", "FiltersController " + (P(
4588
4574
  /*userAgent*/
4589
4575
  e[5]
4590
4576
  ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "part", "FiltersController " + (P(
@@ -4597,41 +4583,41 @@ function Vi(e) {
4597
4583
  },
4598
4584
  p(n, [i]) {
4599
4585
  /*filterItems*/
4600
- n[1].length > 0 ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4586
+ n[1].length > 0 ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4601
4587
  },
4602
4588
  i: O,
4603
4589
  o: O,
4604
4590
  d(n) {
4605
- n && I(t), r && r.d(), e[14](null);
4591
+ n && N(t), r && r.d(), e[14](null);
4606
4592
  }
4607
4593
  };
4608
4594
  }
4609
- function Xi(e, t, r) {
4595
+ function ki(e, t, r) {
4610
4596
  let n;
4611
- dr(e, Ui, (y) => r(4, n = y));
4612
- let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, l, c = [], f = 0, p = new Array(100), m = !0, d = window.navigator.userAgent;
4597
+ cr(e, $i, (y) => r(4, n = y));
4598
+ let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, l, c = [], f = 0, d = new Array(100), p = !0, m = window.navigator.userAgent;
4613
4599
  const _ = () => {
4614
- fetch(a).then((w) => w.json()).then((w) => {
4615
- Object.keys(w).forEach(($) => {
4616
- St($, w[$]);
4600
+ fetch(s).then((w) => w.json()).then((w) => {
4601
+ Object.keys(w).forEach((F) => {
4602
+ Et(F, w[F]);
4617
4603
  });
4618
4604
  }).catch((w) => {
4619
4605
  console.log(w);
4620
4606
  });
4621
4607
  };
4622
- Object.keys(Tt).forEach((y) => {
4623
- St(y, Tt[y]);
4608
+ Object.keys(xt).forEach((y) => {
4609
+ Et(y, xt[y]);
4624
4610
  });
4625
4611
  const x = (y, w) => {
4626
4612
  if (w == 0)
4627
- r(3, m = !0), r(2, p = new Array(f)), window.postMessage(
4613
+ r(3, p = !0), r(2, d = new Array(f)), window.postMessage(
4628
4614
  {
4629
4615
  type: "TournamentsFiltersSelected",
4630
4616
  filters: ["All"]
4631
4617
  },
4632
4618
  window.location.href
4633
4619
  );
4634
- else if (r(3, m = !1), p[w] == 1 ? (r(2, p[w] = 0, p), p.indexOf(1) == -1 && r(3, m = !0)) : r(2, p[w] = 1, p), p.indexOf(1) == -1)
4620
+ else if (r(3, p = !1), d[w] == 1 ? (r(2, d[w] = 0, d), d.indexOf(1) == -1 && r(3, p = !0)) : r(2, d[w] = 1, d), d.indexOf(1) == -1)
4635
4621
  window.postMessage(
4636
4622
  {
4637
4623
  type: "TournamentsFiltersSelected",
@@ -4640,13 +4626,13 @@ function Xi(e, t, r) {
4640
4626
  window.location.href
4641
4627
  );
4642
4628
  else {
4643
- let $ = [];
4629
+ let F = [];
4644
4630
  for (let he = 0; he < c.length; he++)
4645
- p[he] == 1 && $.push(c[he]);
4631
+ d[he] == 1 && F.push(c[he]);
4646
4632
  window.postMessage(
4647
4633
  {
4648
4634
  type: "TournamentsFiltersSelected",
4649
- filters: $
4635
+ filters: F
4650
4636
  },
4651
4637
  window.location.href
4652
4638
  );
@@ -4655,54 +4641,54 @@ function Xi(e, t, r) {
4655
4641
  r(1, c = i.split(",")), f = c.length;
4656
4642
  }, T = () => {
4657
4643
  let y = o.split(",");
4658
- r(2, p = new Array(f)), y.indexOf("All") != -1 ? r(3, m = !0) : (r(3, m = !1), y.forEach((w) => {
4659
- let $ = c.indexOf(w);
4660
- $ > 0 && r(2, p[$] = 1, p);
4644
+ r(2, d = new Array(f)), y.indexOf("All") != -1 ? r(3, p = !0) : (r(3, p = !1), y.forEach((w) => {
4645
+ let F = c.indexOf(w);
4646
+ F > 0 && r(2, d[F] = 1, d);
4661
4647
  }));
4662
4648
  };
4663
- Tr(() => () => {
4649
+ Er(() => () => {
4664
4650
  });
4665
4651
  const H = (y, w) => x(y, w);
4666
- function M(y) {
4667
- Ie[y ? "unshift" : "push"](() => {
4652
+ function I(y) {
4653
+ Ce[y ? "unshift" : "push"](() => {
4668
4654
  l = y, r(0, l);
4669
4655
  });
4670
4656
  }
4671
4657
  return e.$$set = (y) => {
4672
- "filters" in y && r(7, i = y.filters), "activefilters" in y && r(8, o = y.activefilters), "translationurl" in y && r(9, a = y.translationurl), "clientstyling" in y && r(10, s = y.clientstyling), "clientstylingurl" in y && r(11, h = y.clientstylingurl), "mbsource" in y && r(12, u = y.mbsource);
4658
+ "filters" in y && r(7, i = y.filters), "activefilters" in y && r(8, o = y.activefilters), "translationurl" in y && r(9, s = y.translationurl), "clientstyling" in y && r(10, a = y.clientstyling), "clientstylingurl" in y && r(11, h = y.clientstylingurl), "mbsource" in y && r(12, u = y.mbsource);
4673
4659
  }, e.$$.update = () => {
4674
4660
  e.$$.dirty & /*translationurl*/
4675
- 512 && a && _(), e.$$.dirty & /*filters*/
4661
+ 512 && s && _(), e.$$.dirty & /*filters*/
4676
4662
  128 && i && C(), e.$$.dirty & /*activefilters*/
4677
4663
  256 && o && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4678
- 1025 && s && l && Di(l, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4679
- 2049 && h && l && Gi(l, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4680
- 4097 && u && l && ji(l, `${u}.Style`);
4664
+ 1025 && a && l && Fi(l, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4665
+ 2049 && h && l && Ui(l, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4666
+ 4097 && u && l && Di(l, `${u}.Style`);
4681
4667
  }, [
4682
4668
  l,
4683
4669
  c,
4670
+ d,
4684
4671
  p,
4685
- m,
4686
4672
  n,
4687
- d,
4673
+ m,
4688
4674
  x,
4689
4675
  i,
4690
4676
  o,
4691
- a,
4692
4677
  s,
4678
+ a,
4693
4679
  h,
4694
4680
  u,
4695
4681
  H,
4696
- M
4682
+ I
4697
4683
  ];
4698
4684
  }
4699
- class zi extends Rr {
4685
+ class Vi extends Ir {
4700
4686
  constructor(t) {
4701
- super(), Nr(
4687
+ super(), Cr(
4702
4688
  this,
4703
4689
  t,
4704
- Xi,
4705
- Vi,
4690
+ ki,
4691
+ ji,
4706
4692
  Nt,
4707
4693
  {
4708
4694
  filters: 7,
@@ -4712,7 +4698,7 @@ class zi extends Rr {
4712
4698
  clientstylingurl: 11,
4713
4699
  mbsource: 12
4714
4700
  },
4715
- ki
4701
+ Gi
4716
4702
  );
4717
4703
  }
4718
4704
  get filters() {
@@ -4752,7 +4738,7 @@ class zi extends Rr {
4752
4738
  this.$$set({ mbsource: t }), U();
4753
4739
  }
4754
4740
  }
4755
- Lr(zi, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4741
+ Nr(Vi, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4756
4742
  export {
4757
- zi as C
4743
+ Vi as C
4758
4744
  };