@everymatrix/casino-tournaments-filter-controller 1.77.20 → 1.77.21

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,46 +1,46 @@
1
- function O() {
1
+ function P() {
2
2
  }
3
- function Ot(e) {
3
+ function Lt(e) {
4
4
  return e();
5
5
  }
6
- function Je() {
6
+ function tt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function se(e) {
10
- e.forEach(Ot);
9
+ function oe(e) {
10
+ e.forEach(Lt);
11
11
  }
12
- function We(e) {
12
+ function qe(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Ct(e, t) {
15
+ function Rt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function hr(e) {
18
+ function dr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function It(e, ...t) {
21
+ function $t(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return O;
25
+ return P;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function fr(e, t, r) {
31
- e.$$.on_destroy.push(It(t, r));
30
+ function br(e, t, r) {
31
+ e.$$.on_destroy.push($t(t, r));
32
32
  }
33
33
  function B(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function cr(e, t, r) {
37
- const n = pr(e);
36
+ function gr(e, t, r) {
37
+ const n = yr(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = M("style");
40
- i.id = t, i.textContent = r, mr(n, i);
39
+ const i = L("style");
40
+ i.id = t, i.textContent = r, vr(n, i);
41
41
  }
42
42
  }
43
- function pr(e) {
43
+ function yr(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,27 +50,27 @@ function pr(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function mr(e, t) {
53
+ function vr(e, t) {
54
54
  return B(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function R(e, t, r) {
60
+ function $(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function I(e) {
63
+ function N(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function dr(e, t) {
66
+ function _r(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 M(e) {
70
+ function L(e) {
71
71
  return document.createElement(e);
72
72
  }
73
- function Ye(e) {
73
+ function rt(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 br(e, t, r, n) {
82
+ function Er(e, t, r, n) {
83
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
84
  }
85
- function S(e, t, r) {
85
+ function x(e, t, r) {
86
86
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
87
87
  }
88
- function gr(e) {
88
+ function xr(e) {
89
89
  return Array.from(e.childNodes);
90
90
  }
91
- function ae(e, t) {
91
+ function se(e, t) {
92
92
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
93
93
  t);
94
94
  }
95
- function vr(e) {
95
+ function Sr(e) {
96
96
  const t = {};
97
97
  return e.childNodes.forEach(
98
98
  /** @param {Element} node */
@@ -101,98 +101,98 @@ function vr(e) {
101
101
  }
102
102
  ), t;
103
103
  }
104
- let ne;
105
- function re(e) {
106
- ne = e;
104
+ let re;
105
+ function te(e) {
106
+ re = e;
107
107
  }
108
- function yr() {
109
- if (!ne)
108
+ function Tr() {
109
+ if (!re)
110
110
  throw new Error("Function called outside component initialization");
111
- return ne;
111
+ return re;
112
112
  }
113
- function _r(e) {
114
- yr().$$.on_mount.push(e);
113
+ function wr(e) {
114
+ Tr().$$.on_mount.push(e);
115
115
  }
116
- const z = [], Ce = [];
116
+ const z = [], Me = [];
117
117
  let W = [];
118
- const qe = [], Er = /* @__PURE__ */ Promise.resolve();
119
- let Ie = !1;
120
- function xr() {
121
- Ie || (Ie = !0, Er.then(U));
118
+ const nt = [], Hr = /* @__PURE__ */ Promise.resolve();
119
+ let Le = !1;
120
+ function Ar() {
121
+ Le || (Le = !0, Hr.then(U));
122
122
  }
123
- function Ne(e) {
123
+ function Re(e) {
124
124
  W.push(e);
125
125
  }
126
- const Te = /* @__PURE__ */ new Set();
126
+ const He = /* @__PURE__ */ new Set();
127
127
  let k = 0;
128
128
  function U() {
129
129
  if (k !== 0)
130
130
  return;
131
- const e = ne;
131
+ const e = re;
132
132
  do {
133
133
  try {
134
134
  for (; k < z.length; ) {
135
135
  const t = z[k];
136
- k++, re(t), Sr(t.$$);
136
+ k++, te(t), Br(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; Ce.length; )
142
- Ce.pop()();
141
+ for (te(null), z.length = 0, k = 0; Me.length; )
142
+ Me.pop()();
143
143
  for (let t = 0; t < W.length; t += 1) {
144
144
  const r = W[t];
145
- Te.has(r) || (Te.add(r), r());
145
+ He.has(r) || (He.add(r), r());
146
146
  }
147
147
  W.length = 0;
148
148
  } while (z.length);
149
- for (; qe.length; )
150
- qe.pop()();
151
- Ie = !1, Te.clear(), re(e);
149
+ for (; nt.length; )
150
+ nt.pop()();
151
+ Le = !1, He.clear(), te(e);
152
152
  }
153
- function Sr(e) {
153
+ function Br(e) {
154
154
  if (e.fragment !== null) {
155
- e.update(), se(e.before_update);
155
+ e.update(), oe(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(Re);
158
158
  }
159
159
  }
160
- function Tr(e) {
160
+ function Or(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 wr = /* @__PURE__ */ new Set();
165
- function Hr(e, t) {
166
- e && e.i && (wr.delete(e), e.i(t));
164
+ const Pr = /* @__PURE__ */ new Set();
165
+ function Cr(e, t) {
166
+ e && e.i && (Pr.delete(e), e.i(t));
167
167
  }
168
- function Ke(e) {
168
+ function it(e) {
169
169
  return e?.length !== void 0 ? e : Array.from(e);
170
170
  }
171
- function Ar(e, t, r) {
171
+ function Ir(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(Ot).filter(We);
175
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
176
- }), i.forEach(Ne);
173
+ n && n.m(t, r), Re(() => {
174
+ const o = e.$$.on_mount.map(Lt).filter(qe);
175
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
176
+ }), i.forEach(Re);
177
177
  }
178
- function Br(e, t) {
178
+ function Nr(e, t) {
179
179
  const r = e.$$;
180
- r.fragment !== null && (Tr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
180
+ r.fragment !== null && (Or(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
181
181
  }
182
- function Pr(e, t) {
183
- e.$$.dirty[0] === -1 && (z.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
182
+ function Mr(e, t) {
183
+ e.$$.dirty[0] === -1 && (z.push(e), Ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
184
184
  }
185
- function Or(e, t, r, n, i, o, s = null, a = [-1]) {
186
- const h = ne;
187
- re(e);
185
+ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
186
+ const h = re;
187
+ te(e);
188
188
  const u = e.$$ = {
189
189
  fragment: null,
190
190
  ctx: [],
191
191
  // state
192
192
  props: o,
193
- update: O,
193
+ update: P,
194
194
  not_equal: i,
195
- bound: Je(),
195
+ bound: tt(),
196
196
  // lifecycle
197
197
  on_mount: [],
198
198
  on_destroy: [],
@@ -201,7 +201,7 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
201
201
  after_update: [],
202
202
  context: new Map(t.context || (h ? h.$$.context : [])),
203
203
  // everything else
204
- callbacks: Je(),
204
+ callbacks: tt(),
205
205
  dirty: a,
206
206
  skip_bound: !1,
207
207
  root: t.target || h.$$.root
@@ -210,19 +210,19 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
210
210
  let l = !1;
211
211
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
212
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 && Pr(e, c)), f;
214
- }) : [], u.update(), l = !0, se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
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, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
215
215
  if (t.hydrate) {
216
- const c = gr(t.target);
217
- u.fragment && u.fragment.l(c), c.forEach(I);
216
+ const c = xr(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 && Hr(e.$$.fragment), Ar(e, t.target, t.anchor), U();
220
+ t.intro && Cr(e.$$.fragment), Ir(e, t.target, t.anchor), U();
221
221
  }
222
- re(h);
222
+ te(h);
223
223
  }
224
- let Nt;
225
- typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
224
+ let Ft;
225
+ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
226
226
  /** The Svelte component constructor */
227
227
  $$ctor;
228
228
  /** Slots */
@@ -264,24 +264,24 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
264
264
  let o;
265
265
  return {
266
266
  c: function() {
267
- o = M("slot"), i !== "default" && S(o, "name", i);
267
+ o = L("slot"), i !== "default" && x(o, "name", i);
268
268
  },
269
269
  /**
270
270
  * @param {HTMLElement} target
271
271
  * @param {HTMLElement} [anchor]
272
272
  */
273
273
  m: function(h, u) {
274
- R(h, o, u);
274
+ $(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 = vr(this);
284
+ const t = {}, r = Sr(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) {
@@ -368,8 +368,8 @@ function pe(e, t, r, n) {
368
368
  return t;
369
369
  }
370
370
  }
371
- function Cr(e, t, r, n, i, o) {
372
- let s = class extends Nt {
371
+ function Rr(e, t, r, n, i, o) {
372
+ let s = class extends Ft {
373
373
  constructor() {
374
374
  super(e, r, i), this.$$p_d = t;
375
375
  }
@@ -397,7 +397,7 @@ function Cr(e, t, r, n, i, o) {
397
397
  }), e.element = /** @type {any} */
398
398
  s, s;
399
399
  }
400
- class Ir {
400
+ class $r {
401
401
  /**
402
402
  * ### PRIVATE API
403
403
  *
@@ -416,7 +416,7 @@ class Ir {
416
416
  $$set = void 0;
417
417
  /** @returns {void} */
418
418
  $destroy() {
419
- Br(this, 1), this.$destroy = O;
419
+ Nr(this, 1), this.$destroy = P;
420
420
  }
421
421
  /**
422
422
  * @template {Extract<keyof Events, string>} K
@@ -425,8 +425,8 @@ class Ir {
425
425
  * @returns {() => void}
426
426
  */
427
427
  $on(t, r) {
428
- if (!We(r))
429
- return O;
428
+ if (!qe(r))
429
+ return P;
430
430
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
431
431
  return n.push(r), () => {
432
432
  const i = n.indexOf(r);
@@ -438,11 +438,11 @@ class Ir {
438
438
  * @returns {void}
439
439
  */
440
440
  $set(t) {
441
- this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
441
+ this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
442
442
  }
443
443
  }
444
- const Nr = "4";
445
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
444
+ const Fr = "4";
445
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
446
446
  /*! *****************************************************************************
447
447
  Copyright (c) Microsoft Corporation.
448
448
 
@@ -457,43 +457,24 @@ 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 Me = function(e, t) {
461
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
460
+ var $e = function(e, t) {
461
+ return $e = 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
- }, Me(e, t);
466
+ }, $e(e, t);
467
467
  };
468
- function $(e, t) {
468
+ function ae(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
- Me(e, t);
471
+ $e(e, t);
472
472
  function r() {
473
473
  this.constructor = e;
474
474
  }
475
475
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
476
476
  }
477
- var y = function() {
478
- return y = Object.assign || function(t) {
479
- for (var r, n = 1, i = arguments.length; n < i; n++) {
480
- r = arguments[n];
481
- for (var o in r)
482
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
483
- }
484
- return t;
485
- }, y.apply(this, arguments);
486
- };
487
- function Mr(e, t) {
488
- var r = {};
489
- for (var n in e)
490
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
491
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
492
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
493
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
494
- return r;
495
- }
496
- function Le(e) {
477
+ function Fe(e) {
497
478
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
498
479
  if (r)
499
480
  return r.call(e);
@@ -505,7 +486,7 @@ function Le(e) {
505
486
  };
506
487
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
507
488
  }
508
- function Re(e, t) {
489
+ function Ue(e, t) {
509
490
  var r = typeof Symbol == "function" && e[Symbol.iterator];
510
491
  if (!r)
511
492
  return e;
@@ -525,22 +506,22 @@ function Re(e, t) {
525
506
  }
526
507
  return o;
527
508
  }
528
- function Z(e, t, r) {
529
- if (r || arguments.length === 2)
509
+ function De(e, t, r) {
510
+ if (arguments.length === 2)
530
511
  for (var n = 0, i = t.length, o; n < i; n++)
531
512
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
532
513
  return e.concat(o || t);
533
514
  }
534
- function L(e) {
515
+ function R(e) {
535
516
  return typeof e == "function";
536
517
  }
537
- function Mt(e) {
518
+ function Ut(e) {
538
519
  var t = function(n) {
539
520
  Error.call(n), n.stack = new Error().stack;
540
521
  }, r = e(t);
541
522
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
542
523
  }
543
- var we = Mt(function(e) {
524
+ var Ae = Ut(function(e) {
544
525
  return function(r) {
545
526
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
546
527
  ` + r.map(function(n, i) {
@@ -549,13 +530,13 @@ var we = Mt(function(e) {
549
530
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
550
531
  };
551
532
  });
552
- function $e(e, t) {
533
+ function Ge(e, t) {
553
534
  if (e) {
554
535
  var r = e.indexOf(t);
555
536
  0 <= r && e.splice(r, 1);
556
537
  }
557
538
  }
558
- var ye = function() {
539
+ var _e = function() {
559
540
  function e(t) {
560
541
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
561
542
  }
@@ -567,7 +548,7 @@ var ye = function() {
567
548
  if (s)
568
549
  if (this._parentage = null, Array.isArray(s))
569
550
  try {
570
- for (var a = Le(s), h = a.next(); !h.done; h = a.next()) {
551
+ for (var a = Fe(s), h = a.next(); !h.done; h = a.next()) {
571
552
  var u = h.value;
572
553
  u.remove(this);
573
554
  }
@@ -584,22 +565,22 @@ var ye = function() {
584
565
  else
585
566
  s.remove(this);
586
567
  var l = this.initialTeardown;
587
- if (L(l))
568
+ if (R(l))
588
569
  try {
589
570
  l();
590
571
  } catch (d) {
591
- o = d instanceof we ? d.errors : [d];
572
+ o = d instanceof Ae ? d.errors : [d];
592
573
  }
593
574
  var c = this._finalizers;
594
575
  if (c) {
595
576
  this._finalizers = null;
596
577
  try {
597
- for (var f = Le(c), p = f.next(); !p.done; p = f.next()) {
578
+ for (var f = Fe(c), p = f.next(); !p.done; p = f.next()) {
598
579
  var m = p.value;
599
580
  try {
600
- et(m);
581
+ ot(m);
601
582
  } catch (d) {
602
- o = o ?? [], d instanceof we ? o = Z(Z([], Re(o)), Re(d.errors)) : o.push(d);
583
+ o = o ?? [], d instanceof Ae ? o = De(De([], Ue(o)), Ue(d.errors)) : o.push(d);
603
584
  }
604
585
  }
605
586
  } catch (d) {
@@ -614,13 +595,13 @@ var ye = function() {
614
595
  }
615
596
  }
616
597
  if (o)
617
- throw new we(o);
598
+ throw new Ae(o);
618
599
  }
619
600
  }, e.prototype.add = function(t) {
620
601
  var r;
621
602
  if (t && t !== this)
622
603
  if (this.closed)
623
- et(t);
604
+ ot(t);
624
605
  else {
625
606
  if (t instanceof e) {
626
607
  if (t.closed || t._hasParent(this))
@@ -637,52 +618,52 @@ var ye = function() {
637
618
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
638
619
  }, e.prototype._removeParent = function(t) {
639
620
  var r = this._parentage;
640
- r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
621
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
641
622
  }, e.prototype.remove = function(t) {
642
623
  var r = this._finalizers;
643
- r && $e(r, t), t instanceof e && t._removeParent(this);
624
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
644
625
  }, e.EMPTY = function() {
645
626
  var t = new e();
646
627
  return t.closed = !0, t;
647
628
  }(), e;
648
- }(), Lt = ye.EMPTY;
649
- function Rt(e) {
650
- return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
629
+ }(), Dt = _e.EMPTY;
630
+ function Gt(e) {
631
+ return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
651
632
  }
652
- function et(e) {
653
- L(e) ? e() : e.unsubscribe();
633
+ function ot(e) {
634
+ R(e) ? e() : e.unsubscribe();
654
635
  }
655
- var Lr = {
636
+ var Ur = {
656
637
  Promise: void 0
657
- }, Rr = {
638
+ }, Dr = {
658
639
  setTimeout: function(e, t) {
659
640
  for (var r = [], n = 2; n < arguments.length; n++)
660
641
  r[n - 2] = arguments[n];
661
- return setTimeout.apply(void 0, Z([e, t], Re(r)));
642
+ return setTimeout.apply(void 0, De([e, t], Ue(r)));
662
643
  },
663
644
  clearTimeout: function(e) {
664
645
  return clearTimeout(e);
665
646
  },
666
647
  delegate: void 0
667
648
  };
668
- function $r(e) {
669
- Rr.setTimeout(function() {
649
+ function Gr(e) {
650
+ Dr.setTimeout(function() {
670
651
  throw e;
671
652
  });
672
653
  }
673
- function tt() {
654
+ function st() {
674
655
  }
675
656
  function me(e) {
676
657
  e();
677
658
  }
678
- var $t = function(e) {
679
- $(t, e);
659
+ var jt = function(e) {
660
+ ae(t, e);
680
661
  function t(r) {
681
662
  var n = e.call(this) || this;
682
- return n.isStopped = !1, r ? (n.destination = r, Rt(r) && r.add(n)) : n.destination = Dr, n;
663
+ return n.isStopped = !1, r ? (n.destination = r, Gt(r) && r.add(n)) : n.destination = Vr, n;
683
664
  }
684
665
  return t.create = function(r, n, i) {
685
- return new Fe(r, n, i);
666
+ return new je(r, n, i);
686
667
  }, t.prototype.next = function(r) {
687
668
  this.isStopped || this._next(r);
688
669
  }, t.prototype.error = function(r) {
@@ -706,7 +687,7 @@ var $t = function(e) {
706
687
  this.unsubscribe();
707
688
  }
708
689
  }, t;
709
- }(ye), Fr = function() {
690
+ }(_e), jr = function() {
710
691
  function e(t) {
711
692
  this.partialObserver = t;
712
693
  }
@@ -737,43 +718,43 @@ var $t = function(e) {
737
718
  fe(r);
738
719
  }
739
720
  }, e;
740
- }(), Fe = function(e) {
741
- $(t, e);
721
+ }(), je = function(e) {
722
+ ae(t, e);
742
723
  function t(r, n, i) {
743
724
  var o = e.call(this) || this, s;
744
- return L(r) || !r ? s = {
725
+ return R(r) || !r ? s = {
745
726
  next: r ?? void 0,
746
727
  error: n ?? void 0,
747
728
  complete: i ?? void 0
748
- } : s = r, o.destination = new Fr(s), o;
729
+ } : s = r, o.destination = new jr(s), o;
749
730
  }
750
731
  return t;
751
- }($t);
732
+ }(jt);
752
733
  function fe(e) {
753
- $r(e);
734
+ Gr(e);
754
735
  }
755
- function Ur(e) {
736
+ function kr(e) {
756
737
  throw e;
757
738
  }
758
- var Dr = {
739
+ var Vr = {
759
740
  closed: !0,
760
- next: tt,
761
- error: Ur,
762
- complete: tt
763
- }, Gr = function() {
741
+ next: st,
742
+ error: kr,
743
+ complete: st
744
+ }, Xr = function() {
764
745
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
765
746
  }();
766
- function jr(e) {
747
+ function zr(e) {
767
748
  return e;
768
749
  }
769
- function kr(e) {
770
- return e.length === 0 ? jr : e.length === 1 ? e[0] : function(r) {
750
+ function Wr(e) {
751
+ return e.length === 0 ? zr : e.length === 1 ? e[0] : function(r) {
771
752
  return e.reduce(function(n, i) {
772
753
  return i(n);
773
754
  }, r);
774
755
  };
775
756
  }
776
- var rt = function() {
757
+ var at = function() {
777
758
  function e(t) {
778
759
  t && (this._subscribe = t);
779
760
  }
@@ -781,7 +762,7 @@ var rt = function() {
781
762
  var r = new e();
782
763
  return r.source = this, r.operator = t, r;
783
764
  }, e.prototype.subscribe = function(t, r, n) {
784
- var i = this, o = Xr(t) ? t : new Fe(t, r, n);
765
+ var i = this, o = Qr(t) ? t : new je(t, r, n);
785
766
  return me(function() {
786
767
  var s = i, a = s.operator, h = s.source;
787
768
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -794,8 +775,8 @@ var rt = function() {
794
775
  }
795
776
  }, e.prototype.forEach = function(t, r) {
796
777
  var n = this;
797
- return r = nt(r), new r(function(i, o) {
798
- var s = new Fe({
778
+ return r = ut(r), new r(function(i, o) {
779
+ var s = new je({
799
780
  next: function(a) {
800
781
  try {
801
782
  t(a);
@@ -811,15 +792,15 @@ var rt = function() {
811
792
  }, e.prototype._subscribe = function(t) {
812
793
  var r;
813
794
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
814
- }, e.prototype[Gr] = function() {
795
+ }, e.prototype[Xr] = function() {
815
796
  return this;
816
797
  }, e.prototype.pipe = function() {
817
798
  for (var t = [], r = 0; r < arguments.length; r++)
818
799
  t[r] = arguments[r];
819
- return kr(t)(this);
800
+ return Wr(t)(this);
820
801
  }, e.prototype.toPromise = function(t) {
821
802
  var r = this;
822
- return t = nt(t), new t(function(n, i) {
803
+ return t = ut(t), new t(function(n, i) {
823
804
  var o;
824
805
  r.subscribe(function(s) {
825
806
  return o = s;
@@ -833,32 +814,32 @@ var rt = function() {
833
814
  return new e(t);
834
815
  }, e;
835
816
  }();
836
- function nt(e) {
817
+ function ut(e) {
837
818
  var t;
838
- return (t = e ?? Lr.Promise) !== null && t !== void 0 ? t : Promise;
819
+ return (t = e ?? Ur.Promise) !== null && t !== void 0 ? t : Promise;
839
820
  }
840
- function Vr(e) {
841
- return e && L(e.next) && L(e.error) && L(e.complete);
821
+ function Zr(e) {
822
+ return e && R(e.next) && R(e.error) && R(e.complete);
842
823
  }
843
- function Xr(e) {
844
- return e && e instanceof $t || Vr(e) && Rt(e);
824
+ function Qr(e) {
825
+ return e && e instanceof jt || Zr(e) && Gt(e);
845
826
  }
846
- var zr = Mt(function(e) {
827
+ var Jr = Ut(function(e) {
847
828
  return function() {
848
829
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
849
830
  };
850
- }), Ft = function(e) {
851
- $(t, e);
831
+ }), kt = function(e) {
832
+ ae(t, e);
852
833
  function t() {
853
834
  var r = e.call(this) || this;
854
835
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
855
836
  }
856
837
  return t.prototype.lift = function(r) {
857
- var n = new it(this, this);
838
+ var n = new lt(this, this);
858
839
  return n.operator = r, n;
859
840
  }, t.prototype._throwIfClosed = function() {
860
841
  if (this.closed)
861
- throw new zr();
842
+ throw new Jr();
862
843
  }, t.prototype.next = function(r) {
863
844
  var n = this;
864
845
  me(function() {
@@ -866,7 +847,7 @@ var zr = Mt(function(e) {
866
847
  if (n._throwIfClosed(), !n.isStopped) {
867
848
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
868
849
  try {
869
- for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
850
+ for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
870
851
  var h = a.value;
871
852
  h.next(r);
872
853
  }
@@ -915,20 +896,20 @@ var zr = Mt(function(e) {
915
896
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
916
897
  }, t.prototype._innerSubscribe = function(r) {
917
898
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
918
- return o || s ? Lt : (this.currentObservers = null, a.push(r), new ye(function() {
919
- n.currentObservers = null, $e(a, r);
899
+ return o || s ? Dt : (this.currentObservers = null, a.push(r), new _e(function() {
900
+ n.currentObservers = null, Ge(a, r);
920
901
  }));
921
902
  }, t.prototype._checkFinalizedStatuses = function(r) {
922
903
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
923
904
  i ? r.error(o) : s && r.complete();
924
905
  }, t.prototype.asObservable = function() {
925
- var r = new rt();
906
+ var r = new at();
926
907
  return r.source = this, r;
927
908
  }, t.create = function(r, n) {
928
- return new it(r, n);
909
+ return new lt(r, n);
929
910
  }, t;
930
- }(rt), it = function(e) {
931
- $(t, e);
911
+ }(at), lt = function(e) {
912
+ ae(t, e);
932
913
  function t(r, n) {
933
914
  var i = e.call(this) || this;
934
915
  return i.destination = r, i.source = n, i;
@@ -944,17 +925,17 @@ var zr = Mt(function(e) {
944
925
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
945
926
  }, t.prototype._subscribe = function(r) {
946
927
  var n, i;
947
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
928
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
948
929
  }, t;
949
- }(Ft), Ut = {
930
+ }(kt), Vt = {
950
931
  now: function() {
951
- return (Ut.delegate || Date).now();
932
+ return (Vt.delegate || Date).now();
952
933
  },
953
934
  delegate: void 0
954
- }, Wr = function(e) {
955
- $(t, e);
935
+ }, Yr = function(e) {
936
+ ae(t, e);
956
937
  function t(r, n, i) {
957
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
938
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Vt);
958
939
  var o = e.call(this) || this;
959
940
  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;
960
941
  }
@@ -974,24 +955,24 @@ var zr = Mt(function(e) {
974
955
  u && o.splice(0, u + 1);
975
956
  }
976
957
  }, t;
977
- }(Ft);
978
- const ot = [], st = {}, Zr = (e, t = 0) => {
979
- if (ot.indexOf(e) == -1) {
980
- const r = new Wr(t);
981
- st[e] = r, ot.push(e);
958
+ }(kt);
959
+ const ht = [], ft = {}, qr = (e, t = 0) => {
960
+ if (ht.indexOf(e) == -1) {
961
+ const r = new Yr(t);
962
+ ft[e] = r, ht.push(e);
982
963
  }
983
- return st[e];
964
+ return ft[e];
984
965
  }, V = [];
985
- function Qr(e, t) {
966
+ function Kr(e, t) {
986
967
  return {
987
- subscribe: _e(e, t).subscribe
968
+ subscribe: Ee(e, t).subscribe
988
969
  };
989
970
  }
990
- function _e(e, t = O) {
971
+ function Ee(e, t = P) {
991
972
  let r;
992
973
  const n = /* @__PURE__ */ new Set();
993
974
  function i(a) {
994
- if (Ct(e, a) && (e = a, r)) {
975
+ if (Rt(e, a) && (e = a, r)) {
995
976
  const h = !V.length;
996
977
  for (const u of n)
997
978
  u[1](), V.push(u, e);
@@ -1005,34 +986,34 @@ function _e(e, t = O) {
1005
986
  function o(a) {
1006
987
  i(a(e));
1007
988
  }
1008
- function s(a, h = O) {
989
+ function s(a, h = P) {
1009
990
  const u = [a, h];
1010
- return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
991
+ return n.add(u), n.size === 1 && (r = t(i, o) || P), a(e), () => {
1011
992
  n.delete(u), n.size === 0 && r && (r(), r = null);
1012
993
  };
1013
994
  }
1014
995
  return { set: i, update: o, subscribe: s };
1015
996
  }
1016
- function K(e, t, r) {
997
+ function q(e, t, r) {
1017
998
  const n = !Array.isArray(e), i = n ? [e] : e;
1018
999
  if (!i.every(Boolean))
1019
1000
  throw new Error("derived() expects stores as input, got a falsy value");
1020
1001
  const o = t.length < 2;
1021
- return Qr(r, (s, a) => {
1002
+ return Kr(r, (s, a) => {
1022
1003
  let h = !1;
1023
1004
  const u = [];
1024
- let l = 0, c = O;
1005
+ let l = 0, c = P;
1025
1006
  const f = () => {
1026
1007
  if (l)
1027
1008
  return;
1028
1009
  c();
1029
1010
  const m = t(n ? u[0] : u, s, a);
1030
- o ? s(m) : c = We(m) ? m : O;
1011
+ o ? s(m) : c = qe(m) ? m : P;
1031
1012
  }, p = i.map(
1032
- (m, d) => It(
1013
+ (m, d) => $t(
1033
1014
  m,
1034
- (_) => {
1035
- u[d] = _, l &= ~(1 << d), h && f();
1015
+ (v) => {
1016
+ u[d] = v, l &= ~(1 << d), h && f();
1036
1017
  },
1037
1018
  () => {
1038
1019
  l |= 1 << d;
@@ -1040,115 +1021,157 @@ function K(e, t, r) {
1040
1021
  )
1041
1022
  );
1042
1023
  return h = !0, f(), function() {
1043
- se(p), c(), h = !1;
1024
+ oe(p), c(), h = !1;
1044
1025
  };
1045
1026
  });
1046
1027
  }
1047
- function Jr(e) {
1028
+ function en(e) {
1048
1029
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1049
1030
  }
1050
- var Yr = function(t) {
1051
- return qr(t) && !Kr(t);
1031
+ var tn = function(t) {
1032
+ return rn(t) && !nn(t);
1052
1033
  };
1053
- function qr(e) {
1034
+ function rn(e) {
1054
1035
  return !!e && typeof e == "object";
1055
1036
  }
1056
- function Kr(e) {
1037
+ function nn(e) {
1057
1038
  var t = Object.prototype.toString.call(e);
1058
- return t === "[object RegExp]" || t === "[object Date]" || rn(e);
1039
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
1059
1040
  }
1060
- var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
1061
- function rn(e) {
1062
- return e.$$typeof === tn;
1041
+ var on = typeof Symbol == "function" && Symbol.for, sn = on ? Symbol.for("react.element") : 60103;
1042
+ function an(e) {
1043
+ return e.$$typeof === sn;
1063
1044
  }
1064
- function nn(e) {
1045
+ function un(e) {
1065
1046
  return Array.isArray(e) ? [] : {};
1066
1047
  }
1067
- function ie(e, t) {
1068
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(nn(e), e, t) : e;
1048
+ function ne(e, t) {
1049
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(un(e), e, t) : e;
1069
1050
  }
1070
- function on(e, t, r) {
1051
+ function ln(e, t, r) {
1071
1052
  return e.concat(t).map(function(n) {
1072
- return ie(n, r);
1053
+ return ne(n, r);
1073
1054
  });
1074
1055
  }
1075
- function sn(e, t) {
1056
+ function hn(e, t) {
1076
1057
  if (!t.customMerge)
1077
- return Q;
1058
+ return Z;
1078
1059
  var r = t.customMerge(e);
1079
- return typeof r == "function" ? r : Q;
1060
+ return typeof r == "function" ? r : Z;
1080
1061
  }
1081
- function an(e) {
1062
+ function fn(e) {
1082
1063
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1083
1064
  return Object.propertyIsEnumerable.call(e, t);
1084
1065
  }) : [];
1085
1066
  }
1086
- function at(e) {
1087
- return Object.keys(e).concat(an(e));
1067
+ function ct(e) {
1068
+ return Object.keys(e).concat(fn(e));
1088
1069
  }
1089
- function Dt(e, t) {
1070
+ function Xt(e, t) {
1090
1071
  try {
1091
1072
  return t in e;
1092
1073
  } catch {
1093
1074
  return !1;
1094
1075
  }
1095
1076
  }
1096
- function un(e, t) {
1097
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1077
+ function cn(e, t) {
1078
+ return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1098
1079
  }
1099
- function ln(e, t, r) {
1080
+ function pn(e, t, r) {
1100
1081
  var n = {};
1101
- return r.isMergeableObject(e) && at(e).forEach(function(i) {
1102
- n[i] = ie(e[i], r);
1103
- }), at(t).forEach(function(i) {
1104
- un(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1082
+ return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1083
+ n[i] = ne(e[i], r);
1084
+ }), ct(t).forEach(function(i) {
1085
+ cn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1105
1086
  }), n;
1106
1087
  }
1107
- function Q(e, t, r) {
1108
- r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = ie;
1088
+ function Z(e, t, r) {
1089
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = ne;
1109
1090
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1110
- return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : ie(t, r);
1091
+ return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : ne(t, r);
1111
1092
  }
1112
- Q.all = function(t, r) {
1093
+ Z.all = function(t, r) {
1113
1094
  if (!Array.isArray(t))
1114
1095
  throw new Error("first argument should be an array");
1115
1096
  return t.reduce(function(n, i) {
1116
- return Q(n, i, r);
1097
+ return Z(n, i, r);
1117
1098
  }, {});
1118
1099
  };
1119
- var hn = Q, fn = hn;
1120
- const cn = /* @__PURE__ */ Jr(fn);
1121
- function He(e, t) {
1122
- var r = t && t.cache ? t.cache : yn, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : dn;
1100
+ var mn = Z, dn = mn;
1101
+ const bn = /* @__PURE__ */ en(dn);
1102
+ var ke = function(e, t) {
1103
+ return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1104
+ r.__proto__ = n;
1105
+ } || function(r, n) {
1106
+ for (var i in n)
1107
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1108
+ }, ke(e, t);
1109
+ };
1110
+ function xe(e, t) {
1111
+ if (typeof t != "function" && t !== null)
1112
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1113
+ ke(e, t);
1114
+ function r() {
1115
+ this.constructor = e;
1116
+ }
1117
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1118
+ }
1119
+ var I = function() {
1120
+ return I = Object.assign || function(t) {
1121
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1122
+ r = arguments[n];
1123
+ for (var o in r)
1124
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1125
+ }
1126
+ return t;
1127
+ }, I.apply(this, arguments);
1128
+ };
1129
+ function gn(e, t) {
1130
+ var r = {};
1131
+ for (var n in e)
1132
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1133
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1134
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1135
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1136
+ return r;
1137
+ }
1138
+ function Be(e, t, r) {
1139
+ if (r || arguments.length === 2)
1140
+ for (var n = 0, i = t.length, o; n < i; n++)
1141
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1142
+ return e.concat(o || Array.prototype.slice.call(t));
1143
+ }
1144
+ function Oe(e, t) {
1145
+ var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : _n;
1123
1146
  return i(e, {
1124
1147
  cache: r,
1125
1148
  serializer: n
1126
1149
  });
1127
1150
  }
1128
- function pn(e) {
1151
+ function yn(e) {
1129
1152
  return e == null || typeof e == "number" || typeof e == "boolean";
1130
1153
  }
1131
- function mn(e, t, r, n) {
1132
- var i = pn(n) ? n : r(n), o = t.get(i);
1154
+ function vn(e, t, r, n) {
1155
+ var i = yn(n) ? n : r(n), o = t.get(i);
1133
1156
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1134
1157
  }
1135
- function Gt(e, t, r) {
1158
+ function zt(e, t, r) {
1136
1159
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1137
1160
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1138
1161
  }
1139
- function jt(e, t, r, n, i) {
1162
+ function Wt(e, t, r, n, i) {
1140
1163
  return r.bind(t, e, n, i);
1141
1164
  }
1142
- function dn(e, t) {
1143
- var r = e.length === 1 ? mn : Gt;
1144
- return jt(e, this, r, t.cache.create(), t.serializer);
1165
+ function _n(e, t) {
1166
+ var r = e.length === 1 ? vn : zt;
1167
+ return Wt(e, this, r, t.cache.create(), t.serializer);
1145
1168
  }
1146
- function bn(e, t) {
1147
- return jt(e, this, Gt, t.cache.create(), t.serializer);
1169
+ function En(e, t) {
1170
+ return Wt(e, this, zt, t.cache.create(), t.serializer);
1148
1171
  }
1149
- var gn = function() {
1172
+ var xn = function() {
1150
1173
  return JSON.stringify(arguments);
1151
- }, vn = (
1174
+ }, Sn = (
1152
1175
  /** @class */
1153
1176
  function() {
1154
1177
  function e() {
@@ -1160,61 +1183,71 @@ var gn = function() {
1160
1183
  this.cache[t] = r;
1161
1184
  }, e;
1162
1185
  }()
1163
- ), yn = {
1186
+ ), Tn = {
1164
1187
  create: function() {
1165
- return new vn();
1188
+ return new Sn();
1166
1189
  }
1167
- }, Ae = {
1168
- variadic: bn
1169
- }, b;
1190
+ }, Pe = {
1191
+ variadic: En
1192
+ }, ge = function() {
1193
+ return ge = Object.assign || function(t) {
1194
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1195
+ r = arguments[n];
1196
+ for (var o in r)
1197
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1198
+ }
1199
+ return t;
1200
+ }, ge.apply(this, arguments);
1201
+ };
1202
+ var b;
1170
1203
  (function(e) {
1171
1204
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1172
1205
  })(b || (b = {}));
1173
- var E;
1206
+ var _;
1174
1207
  (function(e) {
1175
1208
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1176
- })(E || (E = {}));
1177
- var J;
1209
+ })(_ || (_ = {}));
1210
+ var Q;
1178
1211
  (function(e) {
1179
1212
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1180
- })(J || (J = {}));
1181
- function ut(e) {
1182
- return e.type === E.literal;
1213
+ })(Q || (Q = {}));
1214
+ function pt(e) {
1215
+ return e.type === _.literal;
1183
1216
  }
1184
- function _n(e) {
1185
- return e.type === E.argument;
1217
+ function wn(e) {
1218
+ return e.type === _.argument;
1186
1219
  }
1187
- function kt(e) {
1188
- return e.type === E.number;
1220
+ function Zt(e) {
1221
+ return e.type === _.number;
1189
1222
  }
1190
- function Vt(e) {
1191
- return e.type === E.date;
1223
+ function Qt(e) {
1224
+ return e.type === _.date;
1192
1225
  }
1193
- function Xt(e) {
1194
- return e.type === E.time;
1226
+ function Jt(e) {
1227
+ return e.type === _.time;
1195
1228
  }
1196
- function zt(e) {
1197
- return e.type === E.select;
1229
+ function Yt(e) {
1230
+ return e.type === _.select;
1198
1231
  }
1199
- function Wt(e) {
1200
- return e.type === E.plural;
1232
+ function qt(e) {
1233
+ return e.type === _.plural;
1201
1234
  }
1202
- function En(e) {
1203
- return e.type === E.pound;
1235
+ function Hn(e) {
1236
+ return e.type === _.pound;
1204
1237
  }
1205
- function Zt(e) {
1206
- return e.type === E.tag;
1238
+ function Kt(e) {
1239
+ return e.type === _.tag;
1207
1240
  }
1208
- function Qt(e) {
1209
- return !!(e && typeof e == "object" && e.type === J.number);
1241
+ function er(e) {
1242
+ return !!(e && typeof e == "object" && e.type === Q.number);
1210
1243
  }
1211
- function Ue(e) {
1212
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1244
+ function Ve(e) {
1245
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1213
1246
  }
1214
- var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1215
- function Sn(e) {
1247
+ var tr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
1248
+ function Bn(e) {
1216
1249
  var t = {};
1217
- return e.replace(xn, function(r) {
1250
+ return e.replace(An, function(r) {
1218
1251
  var n = r.length;
1219
1252
  switch (r[0]) {
1220
1253
  case "G":
@@ -1303,11 +1336,21 @@ function Sn(e) {
1303
1336
  return "";
1304
1337
  }), t;
1305
1338
  }
1306
- var Tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1307
- function wn(e) {
1339
+ var S = function() {
1340
+ return S = Object.assign || function(t) {
1341
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1342
+ r = arguments[n];
1343
+ for (var o in r)
1344
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1345
+ }
1346
+ return t;
1347
+ }, S.apply(this, arguments);
1348
+ };
1349
+ var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1350
+ function Pn(e) {
1308
1351
  if (e.length === 0)
1309
1352
  throw new Error("Number skeleton cannot be empty");
1310
- for (var t = e.split(Tn).filter(function(f) {
1353
+ for (var t = e.split(On).filter(function(f) {
1311
1354
  return f.length > 0;
1312
1355
  }), r = [], n = 0, i = t; n < i.length; n++) {
1313
1356
  var o = i[n], s = o.split("/");
@@ -1322,17 +1365,17 @@ function wn(e) {
1322
1365
  }
1323
1366
  return r;
1324
1367
  }
1325
- function Hn(e) {
1368
+ function Cn(e) {
1326
1369
  return e.replace(/^(.*?)-/, "");
1327
1370
  }
1328
- var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1329
- function ht(e) {
1371
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rr = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
1372
+ function dt(e) {
1330
1373
  var t = {};
1331
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
1374
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rr, function(r, n, i) {
1332
1375
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1333
1376
  }), t;
1334
1377
  }
1335
- function Kt(e) {
1378
+ function ir(e) {
1336
1379
  switch (e) {
1337
1380
  case "sign-auto":
1338
1381
  return {
@@ -1372,7 +1415,7 @@ function Kt(e) {
1372
1415
  };
1373
1416
  }
1374
1417
  }
1375
- function Bn(e) {
1418
+ function Nn(e) {
1376
1419
  var t;
1377
1420
  if (e[0] === "E" && e[1] === "E" ? (t = {
1378
1421
  notation: "engineering"
@@ -1380,17 +1423,17 @@ function Bn(e) {
1380
1423
  notation: "scientific"
1381
1424
  }, e = e.slice(1)), t) {
1382
1425
  var r = e.slice(0, 2);
1383
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1426
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
1384
1427
  throw new Error("Malformed concise eng/scientific notation");
1385
1428
  t.minimumIntegerDigits = e.length;
1386
1429
  }
1387
1430
  return t;
1388
1431
  }
1389
- function ft(e) {
1390
- var t = {}, r = Kt(e);
1432
+ function bt(e) {
1433
+ var t = {}, r = ir(e);
1391
1434
  return r || t;
1392
1435
  }
1393
- function Pn(e) {
1436
+ function Mn(e) {
1394
1437
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1395
1438
  var i = n[r];
1396
1439
  switch (i.stem) {
@@ -1414,7 +1457,7 @@ function Pn(e) {
1414
1457
  continue;
1415
1458
  case "measure-unit":
1416
1459
  case "unit":
1417
- t.style = "unit", t.unit = Hn(i.options[0]);
1460
+ t.style = "unit", t.unit = Cn(i.options[0]);
1418
1461
  continue;
1419
1462
  case "compact-short":
1420
1463
  case "K":
@@ -1425,13 +1468,13 @@ function Pn(e) {
1425
1468
  t.notation = "compact", t.compactDisplay = "long";
1426
1469
  continue;
1427
1470
  case "scientific":
1428
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1429
- return y(y({}, h), ft(u));
1471
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1472
+ return S(S({}, h), bt(u));
1430
1473
  }, {}));
1431
1474
  continue;
1432
1475
  case "engineering":
1433
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1434
- return y(y({}, h), ft(u));
1476
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1477
+ return S(S({}, h), bt(u));
1435
1478
  }, {}));
1436
1479
  continue;
1437
1480
  case "notation-simple":
@@ -1476,7 +1519,7 @@ function Pn(e) {
1476
1519
  case "integer-width":
1477
1520
  if (i.options.length > 1)
1478
1521
  throw new RangeError("integer-width stems only accept a single optional option");
1479
- i.options[0].replace(An, function(h, u, l, c, f, p) {
1522
+ i.options[0].replace(In, function(h, u, l, c, f, p) {
1480
1523
  if (u)
1481
1524
  t.minimumIntegerDigits = l.length;
1482
1525
  else {
@@ -1489,28 +1532,28 @@ function Pn(e) {
1489
1532
  });
1490
1533
  continue;
1491
1534
  }
1492
- if (qt.test(i.stem)) {
1535
+ if (nr.test(i.stem)) {
1493
1536
  t.minimumIntegerDigits = i.stem.length;
1494
1537
  continue;
1495
1538
  }
1496
- if (lt.test(i.stem)) {
1539
+ if (mt.test(i.stem)) {
1497
1540
  if (i.options.length > 1)
1498
1541
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1499
- i.stem.replace(lt, function(h, u, l, c, f, p) {
1542
+ i.stem.replace(mt, function(h, u, l, c, f, p) {
1500
1543
  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), "";
1501
1544
  });
1502
1545
  var o = i.options[0];
1503
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ht(o)));
1546
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), dt(o)));
1504
1547
  continue;
1505
1548
  }
1506
- if (Yt.test(i.stem)) {
1507
- t = y(y({}, t), ht(i.stem));
1549
+ if (rr.test(i.stem)) {
1550
+ t = S(S({}, t), dt(i.stem));
1508
1551
  continue;
1509
1552
  }
1510
- var s = Kt(i.stem);
1511
- s && (t = y(y({}, t), s));
1512
- var a = Bn(i.stem);
1513
- a && (t = y(y({}, t), a));
1553
+ var s = ir(i.stem);
1554
+ s && (t = S(S({}, t), s));
1555
+ var a = Nn(i.stem);
1556
+ a && (t = S(S({}, t), a));
1514
1557
  }
1515
1558
  return t;
1516
1559
  }
@@ -2929,13 +2972,13 @@ var ce = {
2929
2972
  "h"
2930
2973
  ]
2931
2974
  };
2932
- function On(e, t) {
2975
+ function Ln(e, t) {
2933
2976
  for (var r = "", n = 0; n < e.length; n++) {
2934
2977
  var i = e.charAt(n);
2935
2978
  if (i === "j") {
2936
2979
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2937
2980
  o++, n++;
2938
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Cn(t);
2981
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Rn(t);
2939
2982
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2940
2983
  r += h;
2941
2984
  for (; s-- > 0; )
@@ -2945,7 +2988,7 @@ function On(e, t) {
2945
2988
  }
2946
2989
  return r;
2947
2990
  }
2948
- function Cn(e) {
2991
+ function Rn(e) {
2949
2992
  var t = e.hourCycle;
2950
2993
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2951
2994
  e.hourCycles && // @ts-ignore
@@ -2967,20 +3010,20 @@ function Cn(e) {
2967
3010
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2968
3011
  return i[0];
2969
3012
  }
2970
- var Be, In = new RegExp("^".concat(Jt.source, "*")), Nn = new RegExp("".concat(Jt.source, "*$"));
3013
+ var Ce, $n = new RegExp("^".concat(tr.source, "*")), Fn = new RegExp("".concat(tr.source, "*$"));
2971
3014
  function g(e, t) {
2972
3015
  return { start: e, end: t };
2973
3016
  }
2974
- var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ln = !!String.fromCodePoint, Rn = !!Object.fromEntries, $n = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, Un = !!String.prototype.trimEnd, Dn = !!Number.isSafeInteger, Gn = Dn ? Number.isSafeInteger : function(e) {
3017
+ var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Gn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, zn = Xn ? Number.isSafeInteger : function(e) {
2975
3018
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2976
- }, De = !0;
3019
+ }, Xe = !0;
2977
3020
  try {
2978
- var jn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2979
- De = ((Be = jn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3021
+ var Wn = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3022
+ Xe = ((Ce = Wn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2980
3023
  } catch {
2981
- De = !1;
3024
+ Xe = !1;
2982
3025
  }
2983
- var ct = Mn ? (
3026
+ var gt = Un ? (
2984
3027
  // Native
2985
3028
  function(t, r, n) {
2986
3029
  return t.startsWith(r, n);
@@ -2990,7 +3033,7 @@ var ct = Mn ? (
2990
3033
  function(t, r, n) {
2991
3034
  return t.slice(n, n + r.length) === r;
2992
3035
  }
2993
- ), Ge = Ln ? String.fromCodePoint : (
3036
+ ), ze = Dn ? String.fromCodePoint : (
2994
3037
  // IE11
2995
3038
  function() {
2996
3039
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3002,9 +3045,9 @@ var ct = Mn ? (
3002
3045
  }
3003
3046
  return n;
3004
3047
  }
3005
- ), pt = (
3048
+ ), yt = (
3006
3049
  // native
3007
- Rn ? Object.fromEntries : (
3050
+ Gn ? Object.fromEntries : (
3008
3051
  // Ponyfill
3009
3052
  function(t) {
3010
3053
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3014,7 +3057,7 @@ var ct = Mn ? (
3014
3057
  return r;
3015
3058
  }
3016
3059
  )
3017
- ), er = $n ? (
3060
+ ), or = jn ? (
3018
3061
  // Native
3019
3062
  function(t, r) {
3020
3063
  return t.codePointAt(r);
@@ -3028,7 +3071,7 @@ var ct = Mn ? (
3028
3071
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3029
3072
  }
3030
3073
  }
3031
- ), kn = Fn ? (
3074
+ ), Zn = kn ? (
3032
3075
  // Native
3033
3076
  function(t) {
3034
3077
  return t.trimStart();
@@ -3036,9 +3079,9 @@ var ct = Mn ? (
3036
3079
  ) : (
3037
3080
  // Ponyfill
3038
3081
  function(t) {
3039
- return t.replace(In, "");
3082
+ return t.replace($n, "");
3040
3083
  }
3041
- ), Vn = Un ? (
3084
+ ), Qn = Vn ? (
3042
3085
  // Native
3043
3086
  function(t) {
3044
3087
  return t.trimEnd();
@@ -3046,32 +3089,32 @@ var ct = Mn ? (
3046
3089
  ) : (
3047
3090
  // Ponyfill
3048
3091
  function(t) {
3049
- return t.replace(Nn, "");
3092
+ return t.replace(Fn, "");
3050
3093
  }
3051
3094
  );
3052
- function tr(e, t) {
3095
+ function sr(e, t) {
3053
3096
  return new RegExp(e, t);
3054
3097
  }
3055
- var je;
3056
- if (De) {
3057
- var mt = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3058
- je = function(t, r) {
3098
+ var We;
3099
+ if (Xe) {
3100
+ var vt = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3101
+ We = function(t, r) {
3059
3102
  var n;
3060
- mt.lastIndex = r;
3061
- var i = mt.exec(t);
3103
+ vt.lastIndex = r;
3104
+ var i = vt.exec(t);
3062
3105
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3063
3106
  };
3064
3107
  } else
3065
- je = function(t, r) {
3108
+ We = function(t, r) {
3066
3109
  for (var n = []; ; ) {
3067
- var i = er(t, r);
3068
- if (i === void 0 || rr(i) || Zn(i))
3110
+ var i = or(t, r);
3111
+ if (i === void 0 || ar(i) || Kn(i))
3069
3112
  break;
3070
3113
  n.push(i), r += i >= 65536 ? 2 : 1;
3071
3114
  }
3072
- return Ge.apply(void 0, n);
3115
+ return ze.apply(void 0, n);
3073
3116
  };
3074
- var Xn = (
3117
+ var Jn = (
3075
3118
  /** @class */
3076
3119
  function() {
3077
3120
  function e(t, r) {
@@ -3095,14 +3138,14 @@ var Xn = (
3095
3138
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3096
3139
  var a = this.clonePosition();
3097
3140
  this.bump(), i.push({
3098
- type: E.pound,
3141
+ type: _.pound,
3099
3142
  location: g(a, this.clonePosition())
3100
3143
  });
3101
3144
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3102
3145
  if (n)
3103
3146
  break;
3104
3147
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3105
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3148
+ } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3106
3149
  var s = this.parseTag(t, r);
3107
3150
  if (s.err)
3108
3151
  return s;
@@ -3123,7 +3166,7 @@ var Xn = (
3123
3166
  if (this.bumpSpace(), this.bumpIf("/>"))
3124
3167
  return {
3125
3168
  val: {
3126
- type: E.literal,
3169
+ type: _.literal,
3127
3170
  value: "<".concat(i, "/>"),
3128
3171
  location: g(n, this.clonePosition())
3129
3172
  },
@@ -3135,12 +3178,12 @@ var Xn = (
3135
3178
  return o;
3136
3179
  var s = o.val, a = this.clonePosition();
3137
3180
  if (this.bumpIf("</")) {
3138
- if (this.isEOF() || !ke(this.char()))
3181
+ if (this.isEOF() || !Ze(this.char()))
3139
3182
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3140
3183
  var h = this.clonePosition(), u = this.parseTagName();
3141
3184
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3142
3185
  val: {
3143
- type: E.tag,
3186
+ type: _.tag,
3144
3187
  value: i,
3145
3188
  children: s,
3146
3189
  location: g(n, this.clonePosition())
@@ -3153,7 +3196,7 @@ var Xn = (
3153
3196
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3154
3197
  }, e.prototype.parseTagName = function() {
3155
3198
  var t = this.offset();
3156
- for (this.bump(); !this.isEOF() && Wn(this.char()); )
3199
+ for (this.bump(); !this.isEOF() && qn(this.char()); )
3157
3200
  this.bump();
3158
3201
  return this.message.slice(t, this.offset());
3159
3202
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3177,12 +3220,12 @@ var Xn = (
3177
3220
  }
3178
3221
  var h = g(n, this.clonePosition());
3179
3222
  return {
3180
- val: { type: E.literal, value: i, location: h },
3223
+ val: { type: _.literal, value: i, location: h },
3181
3224
  err: null
3182
3225
  };
3183
3226
  }, e.prototype.tryParseLeftAngleBracket = function() {
3184
3227
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3185
- !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3228
+ !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3186
3229
  }, e.prototype.tryParseQuote = function(t) {
3187
3230
  if (this.isEOF() || this.char() !== 39)
3188
3231
  return null;
@@ -3216,12 +3259,12 @@ var Xn = (
3216
3259
  r.push(n);
3217
3260
  this.bump();
3218
3261
  }
3219
- return Ge.apply(void 0, r);
3262
+ return ze.apply(void 0, r);
3220
3263
  }, e.prototype.tryParseUnquoted = function(t, r) {
3221
3264
  if (this.isEOF())
3222
3265
  return null;
3223
3266
  var n = this.char();
3224
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
3267
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3225
3268
  }, e.prototype.parseArgument = function(t, r) {
3226
3269
  var n = this.clonePosition();
3227
3270
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3237,7 +3280,7 @@ var Xn = (
3237
3280
  case 125:
3238
3281
  return this.bump(), {
3239
3282
  val: {
3240
- type: E.argument,
3283
+ type: _.argument,
3241
3284
  // value does not include the opening and closing braces.
3242
3285
  value: i,
3243
3286
  location: g(n, this.clonePosition())
@@ -3250,7 +3293,7 @@ var Xn = (
3250
3293
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3251
3294
  }
3252
3295
  }, e.prototype.parseIdentifierIfPossible = function() {
3253
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3296
+ var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3254
3297
  this.bumpTo(i);
3255
3298
  var o = this.clonePosition(), s = g(t, o);
3256
3299
  return { value: n, location: s };
@@ -3269,7 +3312,7 @@ var Xn = (
3269
3312
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3270
3313
  if (c.err)
3271
3314
  return c;
3272
- var f = Vn(c.val);
3315
+ var f = Qn(c.val);
3273
3316
  if (f.length === 0)
3274
3317
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3275
3318
  var p = g(l, this.clonePosition());
@@ -3279,25 +3322,25 @@ var Xn = (
3279
3322
  if (m.err)
3280
3323
  return m;
3281
3324
  var d = g(i, this.clonePosition());
3282
- if (u && ct(u?.style, "::", 0)) {
3283
- var _ = kn(u.style.slice(2));
3325
+ if (u && gt(u?.style, "::", 0)) {
3326
+ var v = Zn(u.style.slice(2));
3284
3327
  if (a === "number") {
3285
- var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
3328
+ var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3286
3329
  return c.err ? c : {
3287
- val: { type: E.number, value: n, location: d, style: c.val },
3330
+ val: { type: _.number, value: n, location: d, style: c.val },
3288
3331
  err: null
3289
3332
  };
3290
3333
  } else {
3291
- if (_.length === 0)
3334
+ if (v.length === 0)
3292
3335
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3293
- var x = _;
3294
- this.locale && (x = On(_, this.locale));
3336
+ var E = v;
3337
+ this.locale && (E = Ln(v, this.locale));
3295
3338
  var f = {
3296
- type: J.dateTime,
3297
- pattern: x,
3339
+ type: Q.dateTime,
3340
+ pattern: E,
3298
3341
  location: u.styleLocation,
3299
- parsedOptions: this.shouldParseSkeletons ? Sn(x) : {}
3300
- }, C = a === "date" ? E.date : E.time;
3342
+ parsedOptions: this.shouldParseSkeletons ? Bn(E) : {}
3343
+ }, C = a === "date" ? _.date : _.time;
3301
3344
  return {
3302
3345
  val: { type: C, value: n, location: d, style: f },
3303
3346
  err: null
@@ -3306,7 +3349,7 @@ var Xn = (
3306
3349
  }
3307
3350
  return {
3308
3351
  val: {
3309
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3352
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3310
3353
  value: n,
3311
3354
  location: d,
3312
3355
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3319,9 +3362,9 @@ var Xn = (
3319
3362
  case "select": {
3320
3363
  var T = this.clonePosition();
3321
3364
  if (this.bumpSpace(), !this.bumpIf(","))
3322
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
3365
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, ge({}, T)));
3323
3366
  this.bumpSpace();
3324
- var H = this.parseIdentifierIfPossible(), N = 0;
3367
+ var H = this.parseIdentifierIfPossible(), M = 0;
3325
3368
  if (a !== "select" && H.value === "offset") {
3326
3369
  if (!this.bumpIf(":"))
3327
3370
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
@@ -3329,29 +3372,29 @@ var Xn = (
3329
3372
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3330
3373
  if (c.err)
3331
3374
  return c;
3332
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), N = c.val;
3375
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), M = c.val;
3333
3376
  }
3334
- var v = this.tryParsePluralOrSelectOptions(t, a, r, H);
3335
- if (v.err)
3336
- return v;
3377
+ var y = this.tryParsePluralOrSelectOptions(t, a, r, H);
3378
+ if (y.err)
3379
+ return y;
3337
3380
  var m = this.tryParseArgumentClose(i);
3338
3381
  if (m.err)
3339
3382
  return m;
3340
3383
  var w = g(i, this.clonePosition());
3341
3384
  return a === "select" ? {
3342
3385
  val: {
3343
- type: E.select,
3386
+ type: _.select,
3344
3387
  value: n,
3345
- options: pt(v.val),
3388
+ options: yt(y.val),
3346
3389
  location: w
3347
3390
  },
3348
3391
  err: null
3349
3392
  } : {
3350
3393
  val: {
3351
- type: E.plural,
3394
+ type: _.plural,
3352
3395
  value: n,
3353
- options: pt(v.val),
3354
- offset: N,
3396
+ options: yt(y.val),
3397
+ offset: M,
3355
3398
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3356
3399
  location: w
3357
3400
  },
@@ -3401,16 +3444,16 @@ var Xn = (
3401
3444
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3402
3445
  var n = [];
3403
3446
  try {
3404
- n = wn(t);
3447
+ n = Pn(t);
3405
3448
  } catch {
3406
3449
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3407
3450
  }
3408
3451
  return {
3409
3452
  val: {
3410
- type: J.number,
3453
+ type: Q.number,
3411
3454
  tokens: n,
3412
3455
  location: r,
3413
- parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
3456
+ parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3414
3457
  },
3415
3458
  err: null
3416
3459
  };
@@ -3458,7 +3501,7 @@ var Xn = (
3458
3501
  break;
3459
3502
  }
3460
3503
  var h = g(i, this.clonePosition());
3461
- return o ? (s *= n, Gn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3504
+ return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3462
3505
  }, e.prototype.offset = function() {
3463
3506
  return this.position.offset;
3464
3507
  }, e.prototype.isEOF = function() {
@@ -3473,7 +3516,7 @@ var Xn = (
3473
3516
  var t = this.position.offset;
3474
3517
  if (t >= this.message.length)
3475
3518
  throw Error("out of bound");
3476
- var r = er(this.message, t);
3519
+ var r = or(this.message, t);
3477
3520
  if (r === void 0)
3478
3521
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3479
3522
  return r;
@@ -3492,7 +3535,7 @@ var Xn = (
3492
3535
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3493
3536
  }
3494
3537
  }, e.prototype.bumpIf = function(t) {
3495
- if (ct(this.message, t, this.offset())) {
3538
+ if (gt(this.message, t, this.offset())) {
3496
3539
  for (var r = 0; r < t.length; r++)
3497
3540
  this.bump();
3498
3541
  return !0;
@@ -3514,7 +3557,7 @@ var Xn = (
3514
3557
  break;
3515
3558
  }
3516
3559
  }, e.prototype.bumpSpace = function() {
3517
- for (; !this.isEOF() && rr(this.char()); )
3560
+ for (; !this.isEOF() && ar(this.char()); )
3518
3561
  this.bump();
3519
3562
  }, e.prototype.peek = function() {
3520
3563
  if (this.isEOF())
@@ -3524,47 +3567,47 @@ var Xn = (
3524
3567
  }, e;
3525
3568
  }()
3526
3569
  );
3527
- function ke(e) {
3570
+ function Ze(e) {
3528
3571
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3529
3572
  }
3530
- function zn(e) {
3531
- return ke(e) || e === 47;
3573
+ function Yn(e) {
3574
+ return Ze(e) || e === 47;
3532
3575
  }
3533
- function Wn(e) {
3576
+ function qn(e) {
3534
3577
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3535
3578
  }
3536
- function rr(e) {
3579
+ function ar(e) {
3537
3580
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3538
3581
  }
3539
- function Zn(e) {
3582
+ function Kn(e) {
3540
3583
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3541
3584
  }
3542
- function Ve(e) {
3585
+ function Qe(e) {
3543
3586
  e.forEach(function(t) {
3544
- if (delete t.location, zt(t) || Wt(t))
3587
+ if (delete t.location, Yt(t) || qt(t))
3545
3588
  for (var r in t.options)
3546
- delete t.options[r].location, Ve(t.options[r].value);
3589
+ delete t.options[r].location, Qe(t.options[r].value);
3547
3590
  else
3548
- kt(t) && Qt(t.style) || (Vt(t) || Xt(t)) && Ue(t.style) ? delete t.style.location : Zt(t) && Ve(t.children);
3591
+ Zt(t) && er(t.style) || (Qt(t) || Jt(t)) && Ve(t.style) ? delete t.style.location : Kt(t) && Qe(t.children);
3549
3592
  });
3550
3593
  }
3551
- function Qn(e, t) {
3552
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3553
- var r = new Xn(e, t).parse();
3594
+ function ei(e, t) {
3595
+ t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3596
+ var r = new Jn(e, t).parse();
3554
3597
  if (r.err) {
3555
3598
  var n = SyntaxError(b[r.err.kind]);
3556
3599
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3557
3600
  }
3558
- return t?.captureLocation || Ve(r.val), r.val;
3601
+ return t?.captureLocation || Qe(r.val), r.val;
3559
3602
  }
3560
- var Y;
3603
+ var J;
3561
3604
  (function(e) {
3562
3605
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3563
- })(Y || (Y = {}));
3564
- var Ee = (
3606
+ })(J || (J = {}));
3607
+ var Se = (
3565
3608
  /** @class */
3566
3609
  function(e) {
3567
- $(t, e);
3610
+ xe(t, e);
3568
3611
  function t(r, n, i) {
3569
3612
  var o = e.call(this, r) || this;
3570
3613
  return o.code = n, o.originalMessage = i, o;
@@ -3573,48 +3616,48 @@ var Ee = (
3573
3616
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3574
3617
  }, t;
3575
3618
  }(Error)
3576
- ), dt = (
3619
+ ), _t = (
3577
3620
  /** @class */
3578
3621
  function(e) {
3579
- $(t, e);
3622
+ xe(t, e);
3580
3623
  function t(r, n, i, o) {
3581
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3624
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3582
3625
  }
3583
3626
  return t;
3584
- }(Ee)
3585
- ), Jn = (
3627
+ }(Se)
3628
+ ), ti = (
3586
3629
  /** @class */
3587
3630
  function(e) {
3588
- $(t, e);
3631
+ xe(t, e);
3589
3632
  function t(r, n, i) {
3590
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3633
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3591
3634
  }
3592
3635
  return t;
3593
- }(Ee)
3594
- ), Yn = (
3636
+ }(Se)
3637
+ ), ri = (
3595
3638
  /** @class */
3596
3639
  function(e) {
3597
- $(t, e);
3640
+ xe(t, e);
3598
3641
  function t(r, n) {
3599
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3642
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3600
3643
  }
3601
3644
  return t;
3602
- }(Ee)
3645
+ }(Se)
3603
3646
  ), A;
3604
3647
  (function(e) {
3605
3648
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3606
3649
  })(A || (A = {}));
3607
- function qn(e) {
3650
+ function ni(e) {
3608
3651
  return e.length < 2 ? e : e.reduce(function(t, r) {
3609
3652
  var n = t[t.length - 1];
3610
3653
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3611
3654
  }, []);
3612
3655
  }
3613
- function Kn(e) {
3656
+ function ii(e) {
3614
3657
  return typeof e == "function";
3615
3658
  }
3616
3659
  function de(e, t, r, n, i, o, s) {
3617
- if (e.length === 1 && ut(e[0]))
3660
+ if (e.length === 1 && pt(e[0]))
3618
3661
  return [
3619
3662
  {
3620
3663
  type: A.literal,
@@ -3623,14 +3666,14 @@ function de(e, t, r, n, i, o, s) {
3623
3666
  ];
3624
3667
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3625
3668
  var l = u[h];
3626
- if (ut(l)) {
3669
+ if (pt(l)) {
3627
3670
  a.push({
3628
3671
  type: A.literal,
3629
3672
  value: l.value
3630
3673
  });
3631
3674
  continue;
3632
3675
  }
3633
- if (En(l)) {
3676
+ if (Hn(l)) {
3634
3677
  typeof o == "number" && a.push({
3635
3678
  type: A.literal,
3636
3679
  value: r.getNumberFormat(t).format(o)
@@ -3639,89 +3682,89 @@ function de(e, t, r, n, i, o, s) {
3639
3682
  }
3640
3683
  var c = l.value;
3641
3684
  if (!(i && c in i))
3642
- throw new Yn(c, s);
3685
+ throw new ri(c, s);
3643
3686
  var f = i[c];
3644
- if (_n(l)) {
3687
+ if (wn(l)) {
3645
3688
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3646
3689
  type: typeof f == "string" ? A.literal : A.object,
3647
3690
  value: f
3648
3691
  });
3649
3692
  continue;
3650
3693
  }
3651
- if (Vt(l)) {
3652
- var p = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3694
+ if (Qt(l)) {
3695
+ var p = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
3653
3696
  a.push({
3654
3697
  type: A.literal,
3655
3698
  value: r.getDateTimeFormat(t, p).format(f)
3656
3699
  });
3657
3700
  continue;
3658
3701
  }
3659
- if (Xt(l)) {
3660
- var p = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3702
+ if (Jt(l)) {
3703
+ var p = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
3661
3704
  a.push({
3662
3705
  type: A.literal,
3663
3706
  value: r.getDateTimeFormat(t, p).format(f)
3664
3707
  });
3665
3708
  continue;
3666
3709
  }
3667
- if (kt(l)) {
3668
- var p = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
3710
+ if (Zt(l)) {
3711
+ var p = typeof l.style == "string" ? n.number[l.style] : er(l.style) ? l.style.parsedOptions : void 0;
3669
3712
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3670
3713
  type: A.literal,
3671
3714
  value: r.getNumberFormat(t, p).format(f)
3672
3715
  });
3673
3716
  continue;
3674
3717
  }
3675
- if (Zt(l)) {
3676
- var m = l.children, d = l.value, _ = i[d];
3677
- if (!Kn(_))
3678
- throw new Jn(d, "function", s);
3679
- var x = de(m, t, r, n, i, o), C = _(x.map(function(N) {
3680
- return N.value;
3718
+ if (Kt(l)) {
3719
+ var m = l.children, d = l.value, v = i[d];
3720
+ if (!ii(v))
3721
+ throw new ti(d, "function", s);
3722
+ var E = de(m, t, r, n, i, o), C = v(E.map(function(M) {
3723
+ return M.value;
3681
3724
  }));
3682
- Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(N) {
3725
+ Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(M) {
3683
3726
  return {
3684
- type: typeof N == "string" ? A.literal : A.object,
3685
- value: N
3727
+ type: typeof M == "string" ? A.literal : A.object,
3728
+ value: M
3686
3729
  };
3687
3730
  }));
3688
3731
  }
3689
- if (zt(l)) {
3732
+ if (Yt(l)) {
3690
3733
  var T = l.options[f] || l.options.other;
3691
3734
  if (!T)
3692
- throw new dt(l.value, f, Object.keys(l.options), s);
3735
+ throw new _t(l.value, f, Object.keys(l.options), s);
3693
3736
  a.push.apply(a, de(T.value, t, r, n, i));
3694
3737
  continue;
3695
3738
  }
3696
- if (Wt(l)) {
3739
+ if (qt(l)) {
3697
3740
  var T = l.options["=".concat(f)];
3698
3741
  if (!T) {
3699
3742
  if (!Intl.PluralRules)
3700
- throw new Ee(`Intl.PluralRules is not available in this environment.
3743
+ throw new Se(`Intl.PluralRules is not available in this environment.
3701
3744
  Try polyfilling it using "@formatjs/intl-pluralrules"
3702
- `, Y.MISSING_INTL_API, s);
3745
+ `, J.MISSING_INTL_API, s);
3703
3746
  var H = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3704
3747
  T = l.options[H] || l.options.other;
3705
3748
  }
3706
3749
  if (!T)
3707
- throw new dt(l.value, f, Object.keys(l.options), s);
3750
+ throw new _t(l.value, f, Object.keys(l.options), s);
3708
3751
  a.push.apply(a, de(T.value, t, r, n, i, f - (l.offset || 0)));
3709
3752
  continue;
3710
3753
  }
3711
3754
  }
3712
- return qn(a);
3755
+ return ni(a);
3713
3756
  }
3714
- function ei(e, t) {
3715
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3716
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3757
+ function oi(e, t) {
3758
+ return t ? I(I(I({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3759
+ return r[n] = I(I({}, e[n]), t[n] || {}), r;
3717
3760
  }, {})) : e;
3718
3761
  }
3719
- function ti(e, t) {
3762
+ function si(e, t) {
3720
3763
  return t ? Object.keys(e).reduce(function(r, n) {
3721
- return r[n] = ei(e[n], t[n]), r;
3722
- }, y({}, e)) : e;
3764
+ return r[n] = oi(e[n], t[n]), r;
3765
+ }, I({}, e)) : e;
3723
3766
  }
3724
- function Pe(e) {
3767
+ function Ie(e) {
3725
3768
  return {
3726
3769
  create: function() {
3727
3770
  return {
@@ -3735,39 +3778,39 @@ function Pe(e) {
3735
3778
  }
3736
3779
  };
3737
3780
  }
3738
- function ri(e) {
3781
+ function ai(e) {
3739
3782
  return e === void 0 && (e = {
3740
3783
  number: {},
3741
3784
  dateTime: {},
3742
3785
  pluralRules: {}
3743
3786
  }), {
3744
- getNumberFormat: He(function() {
3787
+ getNumberFormat: Oe(function() {
3745
3788
  for (var t, r = [], n = 0; n < arguments.length; n++)
3746
3789
  r[n] = arguments[n];
3747
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
3790
+ return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3748
3791
  }, {
3749
- cache: Pe(e.number),
3750
- strategy: Ae.variadic
3792
+ cache: Ie(e.number),
3793
+ strategy: Pe.variadic
3751
3794
  }),
3752
- getDateTimeFormat: He(function() {
3795
+ getDateTimeFormat: Oe(function() {
3753
3796
  for (var t, r = [], n = 0; n < arguments.length; n++)
3754
3797
  r[n] = arguments[n];
3755
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
3798
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3756
3799
  }, {
3757
- cache: Pe(e.dateTime),
3758
- strategy: Ae.variadic
3800
+ cache: Ie(e.dateTime),
3801
+ strategy: Pe.variadic
3759
3802
  }),
3760
- getPluralRules: He(function() {
3803
+ getPluralRules: Oe(function() {
3761
3804
  for (var t, r = [], n = 0; n < arguments.length; n++)
3762
3805
  r[n] = arguments[n];
3763
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
3806
+ return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3764
3807
  }, {
3765
- cache: Pe(e.pluralRules),
3766
- strategy: Ae.variadic
3808
+ cache: Ie(e.pluralRules),
3809
+ strategy: Pe.variadic
3767
3810
  })
3768
3811
  };
3769
3812
  }
3770
- var ni = (
3813
+ var ui = (
3771
3814
  /** @class */
3772
3815
  function() {
3773
3816
  function e(t, r, n, i) {
@@ -3799,13 +3842,13 @@ var ni = (
3799
3842
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3800
3843
  var s = i || {};
3801
3844
  s.formatters;
3802
- var a = Mr(s, ["formatters"]);
3803
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3845
+ var a = gn(s, ["formatters"]);
3846
+ this.ast = e.__parse(t, I(I({}, a), { locale: this.resolvedLocale }));
3804
3847
  } else
3805
3848
  this.ast = t;
3806
3849
  if (!Array.isArray(this.ast))
3807
3850
  throw new TypeError("A message must be provided as a String or AST.");
3808
- this.formats = ti(e.formats, n), this.formatters = i && i.formatters || ri(this.formatterCache);
3851
+ this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3809
3852
  }
3810
3853
  return Object.defineProperty(e, "defaultLocale", {
3811
3854
  get: function() {
@@ -3818,7 +3861,7 @@ var ni = (
3818
3861
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3819
3862
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3820
3863
  }
3821
- }, e.__parse = Qn, e.formats = {
3864
+ }, e.__parse = ei, e.formats = {
3822
3865
  number: {
3823
3866
  integer: {
3824
3867
  maximumFractionDigits: 0
@@ -3879,7 +3922,7 @@ var ni = (
3879
3922
  }, e;
3880
3923
  }()
3881
3924
  );
3882
- function ii(e, t) {
3925
+ function li(e, t) {
3883
3926
  if (t == null)
3884
3927
  return;
3885
3928
  if (t in e)
@@ -3900,92 +3943,92 @@ function ii(e, t) {
3900
3943
  n = void 0;
3901
3944
  return n;
3902
3945
  }
3903
- const D = {}, oi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), nr = (e, t) => {
3946
+ const D = {}, hi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), ur = (e, t) => {
3904
3947
  if (t == null)
3905
3948
  return;
3906
3949
  if (t in D && e in D[t])
3907
3950
  return D[t][e];
3908
- const r = xe(t);
3951
+ const r = Te(t);
3909
3952
  for (let n = 0; n < r.length; n++) {
3910
- const i = r[n], o = ai(i, e);
3953
+ const i = r[n], o = ci(i, e);
3911
3954
  if (o)
3912
- return oi(e, t, o);
3955
+ return hi(e, t, o);
3913
3956
  }
3914
3957
  };
3915
- let Ze;
3916
- const ue = _e({});
3917
- function si(e) {
3918
- return Ze[e] || null;
3958
+ let Ke;
3959
+ const ue = Ee({});
3960
+ function fi(e) {
3961
+ return Ke[e] || null;
3919
3962
  }
3920
- function ir(e) {
3921
- return e in Ze;
3963
+ function lr(e) {
3964
+ return e in Ke;
3922
3965
  }
3923
- function ai(e, t) {
3924
- if (!ir(e))
3966
+ function ci(e, t) {
3967
+ if (!lr(e))
3925
3968
  return null;
3926
- const r = si(e);
3927
- return ii(r, t);
3969
+ const r = fi(e);
3970
+ return li(r, t);
3928
3971
  }
3929
- function ui(e) {
3972
+ function pi(e) {
3930
3973
  if (e == null)
3931
3974
  return;
3932
- const t = xe(e);
3975
+ const t = Te(e);
3933
3976
  for (let r = 0; r < t.length; r++) {
3934
3977
  const n = t[r];
3935
- if (ir(n))
3978
+ if (lr(n))
3936
3979
  return n;
3937
3980
  }
3938
3981
  }
3939
- function or(e, ...t) {
3940
- delete D[e], ue.update((r) => (r[e] = cn.all([r[e] || {}, ...t]), r));
3982
+ function hr(e, ...t) {
3983
+ delete D[e], ue.update((r) => (r[e] = bn.all([r[e] || {}, ...t]), r));
3941
3984
  }
3942
- K(
3985
+ q(
3943
3986
  [ue],
3944
3987
  ([e]) => Object.keys(e)
3945
3988
  );
3946
- ue.subscribe((e) => Ze = e);
3989
+ ue.subscribe((e) => Ke = e);
3947
3990
  const be = {};
3948
- function li(e, t) {
3991
+ function mi(e, t) {
3949
3992
  be[e].delete(t), be[e].size === 0 && delete be[e];
3950
3993
  }
3951
- function sr(e) {
3994
+ function fr(e) {
3952
3995
  return be[e];
3953
3996
  }
3954
- function hi(e) {
3955
- return xe(e).map((t) => {
3956
- const r = sr(t);
3997
+ function di(e) {
3998
+ return Te(e).map((t) => {
3999
+ const r = fr(t);
3957
4000
  return [t, r ? [...r] : []];
3958
4001
  }).filter(([, t]) => t.length > 0);
3959
4002
  }
3960
- function Xe(e) {
3961
- return e == null ? !1 : xe(e).some(
4003
+ function Je(e) {
4004
+ return e == null ? !1 : Te(e).some(
3962
4005
  (t) => {
3963
4006
  var r;
3964
- return (r = sr(t)) == null ? void 0 : r.size;
4007
+ return (r = fr(t)) == null ? void 0 : r.size;
3965
4008
  }
3966
4009
  );
3967
4010
  }
3968
- function fi(e, t) {
4011
+ function bi(e, t) {
3969
4012
  return Promise.all(
3970
- t.map((n) => (li(e, n), n().then((i) => i.default || i)))
3971
- ).then((n) => or(e, ...n));
3972
- }
3973
- const te = {};
3974
- function ar(e) {
3975
- if (!Xe(e))
3976
- return e in te ? te[e] : Promise.resolve();
3977
- const t = hi(e);
3978
- return te[e] = Promise.all(
4013
+ t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4014
+ ).then((n) => hr(e, ...n));
4015
+ }
4016
+ const ee = {};
4017
+ function cr(e) {
4018
+ if (!Je(e))
4019
+ return e in ee ? ee[e] : Promise.resolve();
4020
+ const t = di(e);
4021
+ return ee[e] = Promise.all(
3979
4022
  t.map(
3980
- ([r, n]) => fi(r, n)
4023
+ ([r, n]) => bi(r, n)
3981
4024
  )
3982
4025
  ).then(() => {
3983
- if (Xe(e))
3984
- return ar(e);
3985
- delete te[e];
3986
- }), te[e];
4026
+ if (Je(e))
4027
+ return cr(e);
4028
+ delete ee[e];
4029
+ }), ee[e];
3987
4030
  }
3988
- const ci = {
4031
+ const gi = {
3989
4032
  number: {
3990
4033
  scientific: { notation: "scientific" },
3991
4034
  engineering: { notation: "engineering" },
@@ -4014,135 +4057,135 @@ const ci = {
4014
4057
  timeZoneName: "short"
4015
4058
  }
4016
4059
  }
4017
- }, pi = {
4060
+ }, yi = {
4018
4061
  fallbackLocale: null,
4019
4062
  loadingDelay: 200,
4020
- formats: ci,
4063
+ formats: gi,
4021
4064
  warnOnMissingMessages: !0,
4022
4065
  handleMissingMessage: void 0,
4023
4066
  ignoreTag: !0
4024
- }, mi = pi;
4025
- function q() {
4026
- return mi;
4067
+ }, vi = yi;
4068
+ function Y() {
4069
+ return vi;
4027
4070
  }
4028
- const Oe = _e(!1);
4029
- var di = Object.defineProperty, bi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
4071
+ const Ne = Ee(!1);
4072
+ var _i = Object.defineProperty, Ei = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wi = (e, t) => {
4030
4073
  for (var r in t || (t = {}))
4031
- vi.call(t, r) && gt(e, r, t[r]);
4032
- if (bt)
4033
- for (var r of bt(t))
4034
- yi.call(t, r) && gt(e, r, t[r]);
4074
+ Si.call(t, r) && xt(e, r, t[r]);
4075
+ if (Et)
4076
+ for (var r of Et(t))
4077
+ Ti.call(t, r) && xt(e, r, t[r]);
4035
4078
  return e;
4036
- }, Ei = (e, t) => bi(e, gi(t));
4037
- let ze;
4038
- const ge = _e(null);
4039
- function vt(e) {
4079
+ }, Hi = (e, t) => Ei(e, xi(t));
4080
+ let Ye;
4081
+ const ye = Ee(null);
4082
+ function St(e) {
4040
4083
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4041
4084
  }
4042
- function xe(e, t = q().fallbackLocale) {
4043
- const r = vt(e);
4044
- return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
4085
+ function Te(e, t = Y().fallbackLocale) {
4086
+ const r = St(e);
4087
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4045
4088
  }
4046
4089
  function j() {
4047
- return ze ?? void 0;
4090
+ return Ye ?? void 0;
4048
4091
  }
4049
- ge.subscribe((e) => {
4050
- ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4092
+ ye.subscribe((e) => {
4093
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4051
4094
  });
4052
- const xi = (e) => {
4053
- if (e && ui(e) && Xe(e)) {
4054
- const { loadingDelay: t } = q();
4095
+ const Ai = (e) => {
4096
+ if (e && pi(e) && Je(e)) {
4097
+ const { loadingDelay: t } = Y();
4055
4098
  let r;
4056
4099
  return typeof window < "u" && j() != null && t ? r = window.setTimeout(
4057
- () => Oe.set(!0),
4100
+ () => Ne.set(!0),
4058
4101
  t
4059
- ) : Oe.set(!0), ar(e).then(() => {
4060
- ge.set(e);
4102
+ ) : Ne.set(!0), cr(e).then(() => {
4103
+ ye.set(e);
4061
4104
  }).finally(() => {
4062
- clearTimeout(r), Oe.set(!1);
4105
+ clearTimeout(r), Ne.set(!1);
4063
4106
  });
4064
4107
  }
4065
- return ge.set(e);
4066
- }, le = Ei(_i({}, ge), {
4067
- set: xi
4068
- }), Se = (e) => {
4108
+ return ye.set(e);
4109
+ }, le = Hi(wi({}, ye), {
4110
+ set: Ai
4111
+ }), we = (e) => {
4069
4112
  const t = /* @__PURE__ */ Object.create(null);
4070
4113
  return (n) => {
4071
4114
  const i = JSON.stringify(n);
4072
4115
  return i in t ? t[i] : t[i] = e(n);
4073
4116
  };
4074
4117
  };
4075
- var Si = Object.defineProperty, ve = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
4118
+ var Bi = Object.defineProperty, ve = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4076
4119
  for (var r in t || (t = {}))
4077
- ur.call(t, r) && yt(e, r, t[r]);
4120
+ pr.call(t, r) && Tt(e, r, t[r]);
4078
4121
  if (ve)
4079
4122
  for (var r of ve(t))
4080
- lr.call(t, r) && yt(e, r, t[r]);
4123
+ mr.call(t, r) && Tt(e, r, t[r]);
4081
4124
  return e;
4082
- }, ee = (e, t) => {
4125
+ }, K = (e, t) => {
4083
4126
  var r = {};
4084
4127
  for (var n in e)
4085
- ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4128
+ pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4086
4129
  if (e != null && ve)
4087
4130
  for (var n of ve(e))
4088
- t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
4131
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
4089
4132
  return r;
4090
4133
  };
4091
- const oe = (e, t) => {
4092
- const { formats: r } = q();
4134
+ const ie = (e, t) => {
4135
+ const { formats: r } = Y();
4093
4136
  if (e in r && t in r[e])
4094
4137
  return r[e][t];
4095
4138
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4096
- }, Ti = Se(
4139
+ }, Oi = we(
4097
4140
  (e) => {
4098
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4141
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4099
4142
  if (r == null)
4100
4143
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4101
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4144
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4102
4145
  }
4103
- ), wi = Se(
4146
+ ), Pi = we(
4104
4147
  (e) => {
4105
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4148
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4106
4149
  if (r == null)
4107
4150
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4108
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4151
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4109
4152
  }
4110
- ), Hi = Se(
4153
+ ), Ci = we(
4111
4154
  (e) => {
4112
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4155
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4113
4156
  if (r == null)
4114
4157
  throw new Error(
4115
4158
  '[svelte-i18n] A "locale" must be set to format time values'
4116
4159
  );
4117
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4160
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4118
4161
  }
4119
- ), Ai = (e = {}) => {
4162
+ ), Ii = (e = {}) => {
4120
4163
  var t = e, {
4121
4164
  locale: r = j()
4122
- } = t, n = ee(t, [
4165
+ } = t, n = K(t, [
4123
4166
  "locale"
4124
4167
  ]);
4125
- return Ti(Qe({ locale: r }, n));
4126
- }, Bi = (e = {}) => {
4168
+ return Oi(et({ locale: r }, n));
4169
+ }, Ni = (e = {}) => {
4127
4170
  var t = e, {
4128
4171
  locale: r = j()
4129
- } = t, n = ee(t, [
4172
+ } = t, n = K(t, [
4130
4173
  "locale"
4131
4174
  ]);
4132
- return wi(Qe({ locale: r }, n));
4133
- }, Pi = (e = {}) => {
4175
+ return Pi(et({ locale: r }, n));
4176
+ }, Mi = (e = {}) => {
4134
4177
  var t = e, {
4135
4178
  locale: r = j()
4136
- } = t, n = ee(t, [
4179
+ } = t, n = K(t, [
4137
4180
  "locale"
4138
4181
  ]);
4139
- return Hi(Qe({ locale: r }, n));
4140
- }, Oi = Se(
4182
+ return Ci(et({ locale: r }, n));
4183
+ }, Li = we(
4141
4184
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4142
- (e, t = j()) => new ni(e, t, q().formats, {
4143
- ignoreTag: q().ignoreTag
4185
+ (e, t = j()) => new ui(e, t, Y().formats, {
4186
+ ignoreTag: Y().ignoreTag
4144
4187
  })
4145
- ), Ci = (e, t = {}) => {
4188
+ ), Ri = (e, t = {}) => {
4146
4189
  var r, n, i, o;
4147
4190
  let s = t;
4148
4191
  typeof e == "object" && (s = e, e = s.id);
@@ -4155,9 +4198,9 @@ const oe = (e, t) => {
4155
4198
  throw new Error(
4156
4199
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4157
4200
  );
4158
- let l = nr(e, h);
4201
+ let l = ur(e, h);
4159
4202
  if (!l)
4160
- 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;
4203
+ l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4161
4204
  else if (typeof l != "string")
4162
4205
  return console.warn(
4163
4206
  `[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.`
@@ -4166,7 +4209,7 @@ const oe = (e, t) => {
4166
4209
  return l;
4167
4210
  let c = l;
4168
4211
  try {
4169
- c = Oi(l, h).format(a);
4212
+ c = Li(l, h).format(a);
4170
4213
  } catch (f) {
4171
4214
  f instanceof Error && console.warn(
4172
4215
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4174,17 +4217,17 @@ const oe = (e, t) => {
4174
4217
  );
4175
4218
  }
4176
4219
  return c;
4177
- }, Ii = (e, t) => Pi(t).format(e), Ni = (e, t) => Bi(t).format(e), Mi = (e, t) => Ai(t).format(e), Li = (e, t = j()) => nr(e, t), Ri = K([le, ue], () => Ci);
4178
- K([le], () => Ii);
4179
- K([le], () => Ni);
4180
- K([le], () => Mi);
4181
- K([le, ue], () => Li);
4182
- window.emWidgets = { topic: Zr };
4183
- 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));
4184
- function _t(e, t) {
4185
- or(e, t);
4186
- }
4187
- const Et = {
4220
+ }, $i = (e, t) => Mi(t).format(e), Fi = (e, t) => Ni(t).format(e), Ui = (e, t) => Ii(t).format(e), Di = (e, t = j()) => ur(e, t), Gi = q([le, ue], () => Ri);
4221
+ q([le], () => $i);
4222
+ q([le], () => Fi);
4223
+ q([le], () => Ui);
4224
+ q([le, ue], () => Di);
4225
+ window.emWidgets = { topic: qr };
4226
+ const O = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4227
+ function wt(e, t) {
4228
+ hr(e, t);
4229
+ }
4230
+ const Ht = {
4188
4231
  en: {
4189
4232
  tournaments: "Tournaments",
4190
4233
  all: "All",
@@ -4263,13 +4306,13 @@ const Et = {
4263
4306
  finished: "Finished"
4264
4307
  }
4265
4308
  };
4266
- function $i(e, t) {
4309
+ function ji(e, t) {
4267
4310
  if (e) {
4268
4311
  const r = document.createElement("style");
4269
4312
  r.innerHTML = t, e.appendChild(r);
4270
4313
  }
4271
4314
  }
4272
- function Fi(e, t) {
4315
+ function ki(e, t) {
4273
4316
  const r = new URL(t);
4274
4317
  fetch(r.href).then((n) => n.text()).then((n) => {
4275
4318
  const i = document.createElement("style");
@@ -4278,7 +4321,7 @@ function Fi(e, t) {
4278
4321
  console.error("There was an error while trying to load client styling from URL", n);
4279
4322
  });
4280
4323
  }
4281
- function Ui(e, t, r) {
4324
+ function Vi(e, t, r) {
4282
4325
  if (window.emMessageBus) {
4283
4326
  const n = document.createElement("style");
4284
4327
  window.emMessageBus.subscribe(t, (i) => {
@@ -4286,60 +4329,60 @@ function Ui(e, t, r) {
4286
4329
  });
4287
4330
  }
4288
4331
  }
4289
- function Di(e) {
4290
- cr(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)}");
4332
+ function Xi(e) {
4333
+ gr(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)}");
4291
4334
  }
4292
- function xt(e, t, r) {
4335
+ function At(e, t, r) {
4293
4336
  const n = e.slice();
4294
4337
  return n[21] = t[r], n[23] = r, n;
4295
4338
  }
4296
- function St(e) {
4339
+ function Bt(e) {
4297
4340
  let t, r, n = (
4298
4341
  /*$_*/
4299
4342
  e[4]("tournaments") + ""
4300
- ), i, o, s, a, h = Ke(
4343
+ ), i, o, s, a, h = it(
4301
4344
  /*filterItems*/
4302
4345
  e[1]
4303
4346
  ), u = [];
4304
4347
  for (let l = 0; l < h.length; l += 1)
4305
- u[l] = Pt(xt(e, h, l));
4348
+ u[l] = Mt(At(e, h, l));
4306
4349
  return {
4307
4350
  c() {
4308
- t = M("ul"), r = M("li"), i = G(n), o = G(":"), s = X(), a = M("ul");
4351
+ t = L("ul"), r = L("li"), i = G(n), o = G(":"), s = X(), a = L("ul");
4309
4352
  for (let l = 0; l < u.length; l += 1)
4310
4353
  u[l].c();
4311
- S(r, "class", "FiltersTitle " + (P(
4354
+ x(r, "class", "FiltersTitle " + (O(
4312
4355
  /*userAgent*/
4313
4356
  e[5]
4314
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(r, "part", "FiltersTitle " + (P(
4357
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", "FiltersTitle " + (O(
4315
4358
  /*userAgent*/
4316
4359
  e[5]
4317
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "class", "FiltersList " + (P(
4360
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersList " + (O(
4318
4361
  /*userAgent*/
4319
4362
  e[5]
4320
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "part", "FiltersList " + (P(
4363
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersList " + (O(
4321
4364
  /*userAgent*/
4322
4365
  e[5]
4323
4366
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4324
4367
  },
4325
4368
  m(l, c) {
4326
- R(l, t, c), B(t, r), B(r, i), B(r, o), B(t, s), B(t, a);
4369
+ $(l, t, c), B(t, r), B(r, i), B(r, o), B(t, s), B(t, a);
4327
4370
  for (let f = 0; f < u.length; f += 1)
4328
4371
  u[f] && u[f].m(a, null);
4329
4372
  },
4330
4373
  p(l, c) {
4331
4374
  if (c & /*$_*/
4332
4375
  16 && n !== (n = /*$_*/
4333
- l[4]("tournaments") + "") && ae(i, n), c & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4376
+ l[4]("tournaments") + "") && se(i, n), c & /*makeButtonActive, filterItems, activeIndexes, allActive, userAgent, $_*/
4334
4377
  126) {
4335
- h = Ke(
4378
+ h = it(
4336
4379
  /*filterItems*/
4337
4380
  l[1]
4338
4381
  );
4339
4382
  let f;
4340
4383
  for (f = 0; f < h.length; f += 1) {
4341
- const p = xt(l, h, f);
4342
- u[f] ? u[f].p(p, c) : (u[f] = Pt(p), u[f].c(), u[f].m(a, null));
4384
+ const p = At(l, h, f);
4385
+ u[f] ? u[f].p(p, c) : (u[f] = Mt(p), u[f].c(), u[f].m(a, null));
4343
4386
  }
4344
4387
  for (; f < u.length; f += 1)
4345
4388
  u[f].d(1);
@@ -4347,25 +4390,25 @@ function St(e) {
4347
4390
  }
4348
4391
  },
4349
4392
  d(l) {
4350
- l && I(t), dr(u, l);
4393
+ l && N(t), _r(u, l);
4351
4394
  }
4352
4395
  };
4353
4396
  }
4354
- function Tt(e) {
4397
+ function Ot(e) {
4355
4398
  let t, r;
4356
4399
  return {
4357
4400
  c() {
4358
- t = Ye("svg"), r = Ye("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");
4401
+ t = rt("svg"), r = rt("path"), x(r, "d", "M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"), x(t, "xmlns", "http://www.w3.org/2000/svg"), x(t, "width", "16"), x(t, "height", "16"), x(t, "fill", "currentColor"), x(t, "class", "bi bi-check"), x(t, "part", "bi bi-check"), x(t, "viewBox", "0 0 16 16");
4359
4402
  },
4360
4403
  m(n, i) {
4361
- R(n, t, i), B(t, r);
4404
+ $(n, t, i), B(t, r);
4362
4405
  },
4363
4406
  d(n) {
4364
- n && I(t);
4407
+ n && N(t);
4365
4408
  }
4366
4409
  };
4367
4410
  }
4368
- function wt(e) {
4411
+ function Pt(e) {
4369
4412
  let t = (
4370
4413
  /*$_*/
4371
4414
  e[4]("scheduled") + ""
@@ -4375,19 +4418,19 @@ function wt(e) {
4375
4418
  r = G(t);
4376
4419
  },
4377
4420
  m(n, i) {
4378
- R(n, r, i);
4421
+ $(n, r, i);
4379
4422
  },
4380
4423
  p(n, i) {
4381
4424
  i & /*$_*/
4382
4425
  16 && t !== (t = /*$_*/
4383
- n[4]("scheduled") + "") && ae(r, t);
4426
+ n[4]("scheduled") + "") && se(r, t);
4384
4427
  },
4385
4428
  d(n) {
4386
- n && I(r);
4429
+ n && N(r);
4387
4430
  }
4388
4431
  };
4389
4432
  }
4390
- function Ht(e) {
4433
+ function Ct(e) {
4391
4434
  let t = (
4392
4435
  /*$_*/
4393
4436
  e[4]("ongoing") + ""
@@ -4397,19 +4440,19 @@ function Ht(e) {
4397
4440
  r = G(t);
4398
4441
  },
4399
4442
  m(n, i) {
4400
- R(n, r, i);
4443
+ $(n, r, i);
4401
4444
  },
4402
4445
  p(n, i) {
4403
4446
  i & /*$_*/
4404
4447
  16 && t !== (t = /*$_*/
4405
- n[4]("ongoing") + "") && ae(r, t);
4448
+ n[4]("ongoing") + "") && se(r, t);
4406
4449
  },
4407
4450
  d(n) {
4408
- n && I(r);
4451
+ n && N(r);
4409
4452
  }
4410
4453
  };
4411
4454
  }
4412
- function At(e) {
4455
+ function It(e) {
4413
4456
  let t = (
4414
4457
  /*$_*/
4415
4458
  e[4]("finished") + ""
@@ -4419,19 +4462,19 @@ function At(e) {
4419
4462
  r = G(t);
4420
4463
  },
4421
4464
  m(n, i) {
4422
- R(n, r, i);
4465
+ $(n, r, i);
4423
4466
  },
4424
4467
  p(n, i) {
4425
4468
  i & /*$_*/
4426
4469
  16 && t !== (t = /*$_*/
4427
- n[4]("finished") + "") && ae(r, t);
4470
+ n[4]("finished") + "") && se(r, t);
4428
4471
  },
4429
4472
  d(n) {
4430
- n && I(r);
4473
+ n && N(r);
4431
4474
  }
4432
4475
  };
4433
4476
  }
4434
- function Bt(e) {
4477
+ function Nt(e) {
4435
4478
  let t = (
4436
4479
  /*$_*/
4437
4480
  e[4]("all") + ""
@@ -4441,19 +4484,19 @@ function Bt(e) {
4441
4484
  r = G(t);
4442
4485
  },
4443
4486
  m(n, i) {
4444
- R(n, r, i);
4487
+ $(n, r, i);
4445
4488
  },
4446
4489
  p(n, i) {
4447
4490
  i & /*$_*/
4448
4491
  16 && t !== (t = /*$_*/
4449
- n[4]("all") + "") && ae(r, t);
4492
+ n[4]("all") + "") && se(r, t);
4450
4493
  },
4451
4494
  d(n) {
4452
- n && I(r);
4495
+ n && N(r);
4453
4496
  }
4454
4497
  };
4455
4498
  }
4456
- function Pt(e) {
4499
+ function Mt(e) {
4457
4500
  let t, r, n, i, o, s, a, h, u, l, c, f, p = (
4458
4501
  /*activeIndexes*/
4459
4502
  (e[2][
@@ -4461,19 +4504,19 @@ function Pt(e) {
4461
4504
  e[23]
4462
4505
  ] == 1 || /*allActive*/
4463
4506
  e[3] && /*index*/
4464
- e[23] == 0) && Tt()
4507
+ e[23] == 0) && Ot()
4465
4508
  ), m = (
4466
4509
  /*filter*/
4467
- e[21] == "Scheduled" && wt(e)
4510
+ e[21] == "Scheduled" && Pt(e)
4468
4511
  ), d = (
4469
4512
  /*filter*/
4470
- e[21] == "Ongoing" && Ht(e)
4471
- ), _ = (
4513
+ e[21] == "Ongoing" && Ct(e)
4514
+ ), v = (
4472
4515
  /*filter*/
4473
- e[21] == "Finished" && At(e)
4474
- ), x = (
4516
+ e[21] == "Finished" && It(e)
4517
+ ), E = (
4475
4518
  /*filter*/
4476
- e[21] == "All" && Bt(e)
4519
+ e[21] == "All" && Nt(e)
4477
4520
  );
4478
4521
  function C() {
4479
4522
  return (
@@ -4488,34 +4531,34 @@ function Pt(e) {
4488
4531
  }
4489
4532
  return {
4490
4533
  c() {
4491
- t = M("li"), r = M("button"), p && p.c(), n = X(), i = M("div"), m && m.c(), o = X(), d && d.c(), s = X(), _ && _.c(), a = X(), x && x.c(), l = X(), S(i, "class", "FilterButton " + (P(
4534
+ t = L("li"), r = L("button"), p && p.c(), n = X(), i = L("div"), m && m.c(), o = X(), d && d.c(), s = X(), v && v.c(), a = X(), E && E.c(), l = X(), x(i, "class", "FilterButton " + (O(
4492
4535
  /*userAgent*/
4493
4536
  e[5]
4494
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(i, "part", "FilterButton " + (P(
4537
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(i, "part", "FilterButton " + (O(
4495
4538
  /*userAgent*/
4496
4539
  e[5]
4497
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(r, "class", h = /*activeIndexes*/
4540
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "class", h = /*activeIndexes*/
4498
4541
  (e[2][
4499
4542
  /*index*/
4500
4543
  e[23]
4501
4544
  ] == 1 || /*allActive*/
4502
4545
  e[3] && /*index*/
4503
- e[23] == 0 ? "Active" : "") + " " + (P(
4546
+ e[23] == 0 ? "Active" : "") + " " + (O(
4504
4547
  /*userAgent*/
4505
4548
  e[5]
4506
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(r, "part", u = /*activeIndexes*/
4549
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(r, "part", u = /*activeIndexes*/
4507
4550
  (e[2][
4508
4551
  /*index*/
4509
4552
  e[23]
4510
4553
  ] == 1 || /*allActive*/
4511
4554
  e[3] && /*index*/
4512
- e[23] == 0 ? "Active" : "") + " " + (P(
4555
+ e[23] == 0 ? "Active" : "") + " " + (O(
4513
4556
  /*userAgent*/
4514
4557
  e[5]
4515
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "class", "FiltersItem"), S(t, "part", "FiltersItem");
4558
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "class", "FiltersItem"), x(t, "part", "FiltersItem");
4516
4559
  },
4517
4560
  m(T, H) {
4518
- 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, s), _ && _.m(i, null), B(i, a), x && x.m(i, null), B(t, l), c || (f = br(t, "click", C), c = !0);
4561
+ $(T, t, H), B(t, r), p && p.m(r, null), B(r, n), B(r, i), m && m.m(i, null), B(i, o), d && d.m(i, null), B(i, s), v && v.m(i, null), B(i, a), E && E.m(i, null), B(t, l), c || (f = Er(t, "click", C), c = !0);
4519
4562
  },
4520
4563
  p(T, H) {
4521
4564
  e = T, /*activeIndexes*/
@@ -4524,83 +4567,83 @@ function Pt(e) {
4524
4567
  e[23]
4525
4568
  ] == 1 || /*allActive*/
4526
4569
  e[3] && /*index*/
4527
- e[23] == 0 ? p || (p = Tt(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4528
- e[21] == "Scheduled" ? m ? m.p(e, H) : (m = wt(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4529
- e[21] == "Ongoing" ? d ? d.p(e, H) : (d = Ht(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4530
- e[21] == "Finished" ? _ ? _.p(e, H) : (_ = At(e), _.c(), _.m(i, a)) : _ && (_.d(1), _ = null), /*filter*/
4531
- e[21] == "All" ? x ? x.p(e, H) : (x = Bt(e), x.c(), x.m(i, null)) : x && (x.d(1), x = null), H & /*activeIndexes, allActive*/
4570
+ e[23] == 0 ? p || (p = Ot(), p.c(), p.m(r, n)) : p && (p.d(1), p = null), /*filter*/
4571
+ e[21] == "Scheduled" ? m ? m.p(e, H) : (m = Pt(e), m.c(), m.m(i, o)) : m && (m.d(1), m = null), /*filter*/
4572
+ e[21] == "Ongoing" ? d ? d.p(e, H) : (d = Ct(e), d.c(), d.m(i, s)) : d && (d.d(1), d = null), /*filter*/
4573
+ e[21] == "Finished" ? v ? v.p(e, H) : (v = It(e), v.c(), v.m(i, a)) : v && (v.d(1), v = null), /*filter*/
4574
+ e[21] == "All" ? E ? E.p(e, H) : (E = Nt(e), E.c(), E.m(i, null)) : E && (E.d(1), E = null), H & /*activeIndexes, allActive*/
4532
4575
  12 && h !== (h = /*activeIndexes*/
4533
4576
  (e[2][
4534
4577
  /*index*/
4535
4578
  e[23]
4536
4579
  ] == 1 || /*allActive*/
4537
4580
  e[3] && /*index*/
4538
- e[23] == 0 ? "Active" : "") + " " + (P(
4581
+ e[23] == 0 ? "Active" : "") + " " + (O(
4539
4582
  /*userAgent*/
4540
4583
  e[5]
4541
- ) ? "MobileClass" : "Non-MobileClass/empty")) && S(r, "class", h), H & /*activeIndexes, allActive*/
4584
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "class", h), H & /*activeIndexes, allActive*/
4542
4585
  12 && u !== (u = /*activeIndexes*/
4543
4586
  (e[2][
4544
4587
  /*index*/
4545
4588
  e[23]
4546
4589
  ] == 1 || /*allActive*/
4547
4590
  e[3] && /*index*/
4548
- e[23] == 0 ? "Active" : "") + " " + (P(
4591
+ e[23] == 0 ? "Active" : "") + " " + (O(
4549
4592
  /*userAgent*/
4550
4593
  e[5]
4551
- ) ? "MobileClass" : "Non-MobileClass/empty")) && S(r, "part", u);
4594
+ ) ? "MobileClass" : "Non-MobileClass/empty")) && x(r, "part", u);
4552
4595
  },
4553
4596
  d(T) {
4554
- T && I(t), p && p.d(), m && m.d(), d && d.d(), _ && _.d(), x && x.d(), c = !1, f();
4597
+ T && N(t), p && p.d(), m && m.d(), d && d.d(), v && v.d(), E && E.d(), c = !1, f();
4555
4598
  }
4556
4599
  };
4557
4600
  }
4558
- function Gi(e) {
4601
+ function zi(e) {
4559
4602
  let t, r = (
4560
4603
  /*filterItems*/
4561
- e[1].length > 0 && St(e)
4604
+ e[1].length > 0 && Bt(e)
4562
4605
  );
4563
4606
  return {
4564
4607
  c() {
4565
- t = M("div"), r && r.c(), S(t, "class", "FiltersController " + (P(
4608
+ t = L("div"), r && r.c(), x(t, "class", "FiltersController " + (O(
4566
4609
  /*userAgent*/
4567
4610
  e[5]
4568
- ) ? "MobileClass" : "Non-MobileClass/empty")), S(t, "part", "FiltersController " + (P(
4611
+ ) ? "MobileClass" : "Non-MobileClass/empty")), x(t, "part", "FiltersController " + (O(
4569
4612
  /*userAgent*/
4570
4613
  e[5]
4571
4614
  ) ? "MobileClass" : "Non-MobileClass/empty"));
4572
4615
  },
4573
4616
  m(n, i) {
4574
- R(n, t, i), r && r.m(t, null), e[14](t);
4617
+ $(n, t, i), r && r.m(t, null), e[14](t);
4575
4618
  },
4576
4619
  p(n, [i]) {
4577
4620
  /*filterItems*/
4578
- n[1].length > 0 ? r ? r.p(n, i) : (r = St(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4621
+ n[1].length > 0 ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4579
4622
  },
4580
- i: O,
4581
- o: O,
4623
+ i: P,
4624
+ o: P,
4582
4625
  d(n) {
4583
- n && I(t), r && r.d(), e[14](null);
4626
+ n && N(t), r && r.d(), e[14](null);
4584
4627
  }
4585
4628
  };
4586
4629
  }
4587
- function ji(e, t, r) {
4630
+ function Wi(e, t, r) {
4588
4631
  let n;
4589
- fr(e, Ri, (v) => r(4, n = v));
4632
+ br(e, Gi, (y) => r(4, n = y));
4590
4633
  let { filters: i = "" } = t, { activefilters: o = "" } = t, { translationurl: s = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, l, c = [], f = 0, p = new Array(100), m = !0, d = window.navigator.userAgent;
4591
- const _ = () => {
4634
+ const v = () => {
4592
4635
  fetch(s).then((w) => w.json()).then((w) => {
4593
4636
  Object.keys(w).forEach((F) => {
4594
- _t(F, w[F]);
4637
+ wt(F, w[F]);
4595
4638
  });
4596
4639
  }).catch((w) => {
4597
4640
  console.log(w);
4598
4641
  });
4599
4642
  };
4600
- Object.keys(Et).forEach((v) => {
4601
- _t(v, Et[v]);
4643
+ Object.keys(Ht).forEach((y) => {
4644
+ wt(y, Ht[y]);
4602
4645
  });
4603
- const x = (v, w) => {
4646
+ const E = (y, w) => {
4604
4647
  if (w == 0)
4605
4648
  r(3, m = !0), r(2, p = new Array(f)), window.postMessage(
4606
4649
  {
@@ -4632,30 +4675,30 @@ function ji(e, t, r) {
4632
4675
  }, C = () => {
4633
4676
  r(1, c = i.split(",")), f = c.length;
4634
4677
  }, T = () => {
4635
- let v = o.split(",");
4636
- r(2, p = new Array(f)), v.indexOf("All") != -1 ? r(3, m = !0) : (r(3, m = !1), v.forEach((w) => {
4678
+ let y = o.split(",");
4679
+ r(2, p = new Array(f)), y.indexOf("All") != -1 ? r(3, m = !0) : (r(3, m = !1), y.forEach((w) => {
4637
4680
  let F = c.indexOf(w);
4638
4681
  F > 0 && r(2, p[F] = 1, p);
4639
4682
  }));
4640
4683
  };
4641
- _r(() => () => {
4684
+ wr(() => () => {
4642
4685
  });
4643
- const H = (v, w) => x(v, w);
4644
- function N(v) {
4645
- Ce[v ? "unshift" : "push"](() => {
4646
- l = v, r(0, l);
4686
+ const H = (y, w) => E(y, w);
4687
+ function M(y) {
4688
+ Me[y ? "unshift" : "push"](() => {
4689
+ l = y, r(0, l);
4647
4690
  });
4648
4691
  }
4649
- return e.$$set = (v) => {
4650
- "filters" in v && r(7, i = v.filters), "activefilters" in v && r(8, o = v.activefilters), "translationurl" in v && r(9, s = v.translationurl), "clientstyling" in v && r(10, a = v.clientstyling), "clientstylingurl" in v && r(11, h = v.clientstylingurl), "mbsource" in v && r(12, u = v.mbsource);
4692
+ return e.$$set = (y) => {
4693
+ "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);
4651
4694
  }, e.$$.update = () => {
4652
4695
  e.$$.dirty & /*translationurl*/
4653
- 512 && s && _(), e.$$.dirty & /*filters*/
4696
+ 512 && s && v(), e.$$.dirty & /*filters*/
4654
4697
  128 && i && C(), e.$$.dirty & /*activefilters*/
4655
4698
  256 && o && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4656
- 1025 && a && l && $i(l, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4657
- 2049 && h && l && Fi(l, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4658
- 4097 && u && l && Ui(l, `${u}.Style`);
4699
+ 1025 && a && l && ji(l, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4700
+ 2049 && h && l && ki(l, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4701
+ 4097 && u && l && Vi(l, `${u}.Style`);
4659
4702
  }, [
4660
4703
  l,
4661
4704
  c,
@@ -4663,7 +4706,7 @@ function ji(e, t, r) {
4663
4706
  m,
4664
4707
  n,
4665
4708
  d,
4666
- x,
4709
+ E,
4667
4710
  i,
4668
4711
  o,
4669
4712
  s,
@@ -4671,17 +4714,17 @@ function ji(e, t, r) {
4671
4714
  h,
4672
4715
  u,
4673
4716
  H,
4674
- N
4717
+ M
4675
4718
  ];
4676
4719
  }
4677
- class ki extends Ir {
4720
+ class Zi extends $r {
4678
4721
  constructor(t) {
4679
- super(), Or(
4722
+ super(), Lr(
4680
4723
  this,
4681
4724
  t,
4682
- ji,
4683
- Gi,
4684
- Ct,
4725
+ Wi,
4726
+ zi,
4727
+ Rt,
4685
4728
  {
4686
4729
  filters: 7,
4687
4730
  activefilters: 8,
@@ -4690,7 +4733,7 @@ class ki extends Ir {
4690
4733
  clientstylingurl: 11,
4691
4734
  mbsource: 12
4692
4735
  },
4693
- Di
4736
+ Xi
4694
4737
  );
4695
4738
  }
4696
4739
  get filters() {
@@ -4730,7 +4773,7 @@ class ki extends Ir {
4730
4773
  this.$$set({ mbsource: t }), U();
4731
4774
  }
4732
4775
  }
4733
- Cr(ki, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4776
+ Rr(Zi, { filters: {}, activefilters: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
4734
4777
  export {
4735
- ki as C
4778
+ Zi as C
4736
4779
  };