@everymatrix/casino-tournaments-thumbnail-duration 1.60.0 → 1.60.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function w() {
2
2
  }
3
- function lt(e) {
3
+ function ut(e) {
4
4
  return e();
5
5
  }
6
- function Xe() {
6
+ function ke() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function oe(e) {
10
- e.forEach(lt);
10
+ e.forEach(ut);
11
11
  }
12
12
  function ge(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function ft(e, t) {
15
+ function ht(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function Gt(e) {
18
+ function Ut(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function ct(e, ...t) {
21
+ function lt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,23 +27,23 @@ function ct(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function jt(e, t, r) {
31
- e.$$.on_destroy.push(ct(t, r));
30
+ function Ft(e, t, r) {
31
+ e.$$.on_destroy.push(lt(t, r));
32
32
  }
33
- function kt(e) {
33
+ function Gt(e) {
34
34
  return e && ge(e.destroy) ? e.destroy : w;
35
35
  }
36
36
  function O(e, t) {
37
37
  e.appendChild(t);
38
38
  }
39
- function Vt(e, t, r) {
40
- const n = Xt(e);
39
+ function jt(e, t, r) {
40
+ const n = kt(e);
41
41
  if (!n.getElementById(t)) {
42
42
  const i = I("style");
43
- i.id = t, i.textContent = r, zt(n, i);
43
+ i.id = t, i.textContent = r, Vt(n, i);
44
44
  }
45
45
  }
46
- function Xt(e) {
46
+ function kt(e) {
47
47
  if (!e)
48
48
  return document;
49
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -53,7 +53,7 @@ function Xt(e) {
53
53
  t
54
54
  ) : e.ownerDocument;
55
55
  }
56
- function zt(e, t) {
56
+ function Vt(e, t) {
57
57
  return O(
58
58
  /** @type {Document} */
59
59
  e.head || e,
@@ -78,17 +78,17 @@ function te() {
78
78
  function _(e, t, r) {
79
79
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
80
80
  }
81
- function Wt(e) {
81
+ function Xt(e) {
82
82
  return Array.from(e.childNodes);
83
83
  }
84
84
  function j(e, t) {
85
85
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
86
86
  t);
87
87
  }
88
- function ze(e, t, r, n) {
88
+ function Ve(e, t, r, n) {
89
89
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
90
90
  }
91
- function Zt(e) {
91
+ function zt(e) {
92
92
  const t = {};
93
93
  return e.childNodes.forEach(
94
94
  /** @param {Element} node */
@@ -101,20 +101,20 @@ let ne;
101
101
  function re(e) {
102
102
  ne = e;
103
103
  }
104
- function Qt() {
104
+ function Wt() {
105
105
  if (!ne)
106
106
  throw new Error("Function called outside component initialization");
107
107
  return ne;
108
108
  }
109
- function Jt(e) {
110
- Qt().$$.on_mount.push(e);
109
+ function Zt(e) {
110
+ Wt().$$.on_mount.push(e);
111
111
  }
112
112
  const z = [], Ne = [];
113
113
  let W = [];
114
- const We = [], qt = /* @__PURE__ */ Promise.resolve();
114
+ const Xe = [], Qt = /* @__PURE__ */ Promise.resolve();
115
115
  let Oe = !1;
116
- function Yt() {
117
- Oe || (Oe = !0, qt.then(D));
116
+ function Jt() {
117
+ Oe || (Oe = !0, Qt.then(D));
118
118
  }
119
119
  function Ie(e) {
120
120
  W.push(e);
@@ -129,7 +129,7 @@ function D() {
129
129
  try {
130
130
  for (; V < z.length; ) {
131
131
  const t = z[V];
132
- V++, re(t), Kt(t.$$);
132
+ V++, re(t), qt(t.$$);
133
133
  }
134
134
  } catch (t) {
135
135
  throw z.length = 0, V = 0, t;
@@ -142,40 +142,40 @@ function D() {
142
142
  }
143
143
  W.length = 0;
144
144
  } while (z.length);
145
- for (; We.length; )
146
- We.pop()();
145
+ for (; Xe.length; )
146
+ Xe.pop()();
147
147
  Oe = !1, ve.clear(), re(e);
148
148
  }
149
- function Kt(e) {
149
+ function qt(e) {
150
150
  if (e.fragment !== null) {
151
151
  e.update(), oe(e.before_update);
152
152
  const t = e.dirty;
153
153
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
154
154
  }
155
155
  }
156
- function er(e) {
156
+ function Yt(e) {
157
157
  const t = [], r = [];
158
158
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
159
159
  }
160
- const tr = /* @__PURE__ */ new Set();
161
- function rr(e, t) {
162
- e && e.i && (tr.delete(e), e.i(t));
160
+ const Kt = /* @__PURE__ */ new Set();
161
+ function er(e, t) {
162
+ e && e.i && (Kt.delete(e), e.i(t));
163
163
  }
164
- function nr(e, t, r) {
164
+ function tr(e, t, r) {
165
165
  const { fragment: n, after_update: i } = e.$$;
166
166
  n && n.m(t, r), Ie(() => {
167
- const s = e.$$.on_mount.map(lt).filter(ge);
167
+ const s = e.$$.on_mount.map(ut).filter(ge);
168
168
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
169
169
  }), i.forEach(Ie);
170
170
  }
171
- function ir(e, t) {
171
+ function rr(e, t) {
172
172
  const r = e.$$;
173
- r.fragment !== null && (er(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
173
+ r.fragment !== null && (Yt(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
174
  }
175
- function sr(e, t) {
176
- e.$$.dirty[0] === -1 && (z.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
175
+ function nr(e, t) {
176
+ e.$$.dirty[0] === -1 && (z.push(e), Jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
177
177
  }
178
- function or(e, t, r, n, i, s, a = null, o = [-1]) {
178
+ function ir(e, t, r, n, i, s, a = null, o = [-1]) {
179
179
  const l = ne;
180
180
  re(e);
181
181
  const u = e.$$ = {
@@ -185,7 +185,7 @@ function or(e, t, r, n, i, s, a = null, o = [-1]) {
185
185
  props: s,
186
186
  update: w,
187
187
  not_equal: i,
188
- bound: Xe(),
188
+ bound: ke(),
189
189
  // lifecycle
190
190
  on_mount: [],
191
191
  on_destroy: [],
@@ -194,7 +194,7 @@ function or(e, t, r, n, i, s, a = null, o = [-1]) {
194
194
  after_update: [],
195
195
  context: new Map(t.context || (l ? l.$$.context : [])),
196
196
  // everything else
197
- callbacks: Xe(),
197
+ callbacks: ke(),
198
198
  dirty: o,
199
199
  skip_bound: !1,
200
200
  root: t.target || l.$$.root
@@ -203,19 +203,19 @@ function or(e, t, r, n, i, s, a = null, o = [-1]) {
203
203
  let h = !1;
204
204
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
205
205
  const E = p.length ? p[0] : c;
206
- return u.ctx && i(u.ctx[f], u.ctx[f] = E) && (!u.skip_bound && u.bound[f] && u.bound[f](E), h && sr(e, f)), c;
206
+ return u.ctx && i(u.ctx[f], u.ctx[f] = E) && (!u.skip_bound && u.bound[f] && u.bound[f](E), h && nr(e, f)), c;
207
207
  }) : [], u.update(), h = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
208
208
  if (t.hydrate) {
209
- const f = Wt(t.target);
209
+ const f = Xt(t.target);
210
210
  u.fragment && u.fragment.l(f), f.forEach(M);
211
211
  } else
212
212
  u.fragment && u.fragment.c();
213
- t.intro && rr(e.$$.fragment), nr(e, t.target, t.anchor), D();
213
+ t.intro && er(e.$$.fragment), tr(e, t.target, t.anchor), D();
214
214
  }
215
215
  re(l);
216
216
  }
217
- let mt;
218
- typeof HTMLElement == "function" && (mt = class extends HTMLElement {
217
+ let ft;
218
+ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
219
219
  /** The Svelte component constructor */
220
220
  $$ctor;
221
221
  /** Slots */
@@ -274,7 +274,7 @@ typeof HTMLElement == "function" && (mt = class extends HTMLElement {
274
274
  };
275
275
  if (await Promise.resolve(), !this.$$cn || this.$$c)
276
276
  return;
277
- const t = {}, r = Zt(this);
277
+ const t = {}, r = zt(this);
278
278
  for (const i of this.$$s)
279
279
  i in r && (t[i] = [e(i)]);
280
280
  for (const i of this.attributes) {
@@ -361,8 +361,8 @@ function fe(e, t, r, n) {
361
361
  return t;
362
362
  }
363
363
  }
364
- function ar(e, t, r, n, i, s) {
365
- let a = class extends mt {
364
+ function sr(e, t, r, n, i, s) {
365
+ let a = class extends ft {
366
366
  constructor() {
367
367
  super(e, r, i), this.$$p_d = t;
368
368
  }
@@ -390,7 +390,7 @@ function ar(e, t, r, n, i, s) {
390
390
  }), e.element = /** @type {any} */
391
391
  a, a;
392
392
  }
393
- class ur {
393
+ class or {
394
394
  /**
395
395
  * ### PRIVATE API
396
396
  *
@@ -409,7 +409,7 @@ class ur {
409
409
  $$set = void 0;
410
410
  /** @returns {void} */
411
411
  $destroy() {
412
- ir(this, 1), this.$destroy = w;
412
+ rr(this, 1), this.$destroy = w;
413
413
  }
414
414
  /**
415
415
  * @template {Extract<keyof Events, string>} K
@@ -431,13 +431,13 @@ class ur {
431
431
  * @returns {void}
432
432
  */
433
433
  $set(t) {
434
- this.$$set && !Gt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
434
+ this.$$set && !Ut(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
435
  }
436
436
  }
437
- const hr = "4";
438
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hr);
437
+ const ar = "4";
438
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ar);
439
439
  const X = [];
440
- function lr(e, t) {
440
+ function ur(e, t) {
441
441
  return {
442
442
  subscribe: be(e, t).subscribe
443
443
  };
@@ -446,7 +446,7 @@ function be(e, t = w) {
446
446
  let r;
447
447
  const n = /* @__PURE__ */ new Set();
448
448
  function i(o) {
449
- if (ft(e, o) && (e = o, r)) {
449
+ if (ht(e, o) && (e = o, r)) {
450
450
  const l = !X.length;
451
451
  for (const u of n)
452
452
  u[1](), X.push(u, e);
@@ -473,7 +473,7 @@ function Y(e, t, r) {
473
473
  if (!i.every(Boolean))
474
474
  throw new Error("derived() expects stores as input, got a falsy value");
475
475
  const s = t.length < 2;
476
- return lr(r, (a, o) => {
476
+ return ur(r, (a, o) => {
477
477
  let l = !1;
478
478
  const u = [];
479
479
  let h = 0, f = w;
@@ -484,7 +484,7 @@ function Y(e, t, r) {
484
484
  const E = t(n ? u[0] : u, a, o);
485
485
  s ? a(E) : f = ge(E) ? E : w;
486
486
  }, p = i.map(
487
- (E, T) => ct(
487
+ (E, T) => lt(
488
488
  E,
489
489
  (P) => {
490
490
  u[T] = P, h &= ~(1 << T), l && c();
@@ -499,70 +499,70 @@ function Y(e, t, r) {
499
499
  };
500
500
  });
501
501
  }
502
- function fr(e) {
502
+ function hr(e) {
503
503
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
504
504
  }
505
- var cr = function(t) {
506
- return mr(t) && !dr(t);
505
+ var lr = function(t) {
506
+ return fr(t) && !cr(t);
507
507
  };
508
- function mr(e) {
508
+ function fr(e) {
509
509
  return !!e && typeof e == "object";
510
510
  }
511
- function dr(e) {
511
+ function cr(e) {
512
512
  var t = Object.prototype.toString.call(e);
513
- return t === "[object RegExp]" || t === "[object Date]" || br(e);
513
+ return t === "[object RegExp]" || t === "[object Date]" || pr(e);
514
514
  }
515
- var pr = typeof Symbol == "function" && Symbol.for, gr = pr ? Symbol.for("react.element") : 60103;
516
- function br(e) {
517
- return e.$$typeof === gr;
515
+ var mr = typeof Symbol == "function" && Symbol.for, dr = mr ? Symbol.for("react.element") : 60103;
516
+ function pr(e) {
517
+ return e.$$typeof === dr;
518
518
  }
519
- function yr(e) {
519
+ function gr(e) {
520
520
  return Array.isArray(e) ? [] : {};
521
521
  }
522
522
  function ie(e, t) {
523
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(yr(e), e, t) : e;
523
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(gr(e), e, t) : e;
524
524
  }
525
- function Er(e, t, r) {
525
+ function br(e, t, r) {
526
526
  return e.concat(t).map(function(n) {
527
527
  return ie(n, r);
528
528
  });
529
529
  }
530
- function _r(e, t) {
530
+ function yr(e, t) {
531
531
  if (!t.customMerge)
532
532
  return Z;
533
533
  var r = t.customMerge(e);
534
534
  return typeof r == "function" ? r : Z;
535
535
  }
536
- function xr(e) {
536
+ function Er(e) {
537
537
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
538
538
  return Object.propertyIsEnumerable.call(e, t);
539
539
  }) : [];
540
540
  }
541
- function Ze(e) {
542
- return Object.keys(e).concat(xr(e));
541
+ function ze(e) {
542
+ return Object.keys(e).concat(Er(e));
543
543
  }
544
- function dt(e, t) {
544
+ function ct(e, t) {
545
545
  try {
546
546
  return t in e;
547
547
  } catch {
548
548
  return !1;
549
549
  }
550
550
  }
551
- function vr(e, t) {
552
- return dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
551
+ function _r(e, t) {
552
+ return ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
553
553
  }
554
- function Hr(e, t, r) {
554
+ function xr(e, t, r) {
555
555
  var n = {};
556
- return r.isMergeableObject(e) && Ze(e).forEach(function(i) {
556
+ return r.isMergeableObject(e) && ze(e).forEach(function(i) {
557
557
  n[i] = ie(e[i], r);
558
- }), Ze(t).forEach(function(i) {
559
- vr(e, i) || (dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _r(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
558
+ }), ze(t).forEach(function(i) {
559
+ _r(e, i) || (ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = yr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
560
560
  }), n;
561
561
  }
562
562
  function Z(e, t, r) {
563
- r = r || {}, r.arrayMerge = r.arrayMerge || Er, r.isMergeableObject = r.isMergeableObject || cr, r.cloneUnlessOtherwiseSpecified = ie;
563
+ r = r || {}, r.arrayMerge = r.arrayMerge || br, r.isMergeableObject = r.isMergeableObject || lr, r.cloneUnlessOtherwiseSpecified = ie;
564
564
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
565
- return s ? n ? r.arrayMerge(e, t, r) : Hr(e, t, r) : ie(t, r);
565
+ return s ? n ? r.arrayMerge(e, t, r) : xr(e, t, r) : ie(t, r);
566
566
  }
567
567
  Z.all = function(t, r) {
568
568
  if (!Array.isArray(t))
@@ -571,8 +571,8 @@ Z.all = function(t, r) {
571
571
  return Z(n, i, r);
572
572
  }, {});
573
573
  };
574
- var Tr = Z, Br = Tr;
575
- const Sr = /* @__PURE__ */ fr(Br);
574
+ var vr = Z, Hr = vr;
575
+ const Tr = /* @__PURE__ */ hr(Hr);
576
576
  /*! *****************************************************************************
577
577
  Copyright (c) Microsoft Corporation.
578
578
 
@@ -614,7 +614,7 @@ var y = function() {
614
614
  return t;
615
615
  }, y.apply(this, arguments);
616
616
  };
617
- function Ar(e, t) {
617
+ function Br(e, t) {
618
618
  var r = {};
619
619
  for (var n in e)
620
620
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -630,55 +630,53 @@ function He(e, t, r) {
630
630
  return e.concat(s || t);
631
631
  }
632
632
  function Te(e, t) {
633
- var r = t && t.cache ? t.cache : Lr, n = t && t.serializer ? t.serializer : wr, i = t && t.strategy ? t.strategy : Nr;
633
+ var r = t && t.cache ? t.cache : wr, n = t && t.serializer ? t.serializer : Or, i = t && t.strategy ? t.strategy : Pr;
634
634
  return i(e, {
635
635
  cache: r,
636
636
  serializer: n
637
637
  });
638
638
  }
639
- function Pr(e) {
639
+ function Sr(e) {
640
640
  return e == null || typeof e == "number" || typeof e == "boolean";
641
641
  }
642
- function pt(e, t, r, n) {
643
- var i = Pr(n) ? n : r(n), s = t.get(i);
642
+ function Ar(e, t, r, n) {
643
+ var i = Sr(n) ? n : r(n), s = t.get(i);
644
644
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
645
645
  }
646
- function gt(e, t, r) {
646
+ function mt(e, t, r) {
647
647
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
648
648
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
649
649
  }
650
- function Ge(e, t, r, n, i) {
650
+ function dt(e, t, r, n, i) {
651
651
  return r.bind(t, e, n, i);
652
652
  }
653
- function Nr(e, t) {
654
- var r = e.length === 1 ? pt : gt;
655
- return Ge(e, this, r, t.cache.create(), t.serializer);
656
- }
657
- function Or(e, t) {
658
- return Ge(e, this, gt, t.cache.create(), t.serializer);
653
+ function Pr(e, t) {
654
+ var r = e.length === 1 ? Ar : mt;
655
+ return dt(e, this, r, t.cache.create(), t.serializer);
659
656
  }
660
- function Ir(e, t) {
661
- return Ge(e, this, pt, t.cache.create(), t.serializer);
657
+ function Nr(e, t) {
658
+ return dt(e, this, mt, t.cache.create(), t.serializer);
662
659
  }
663
- var wr = function() {
660
+ var Or = function() {
664
661
  return JSON.stringify(arguments);
665
- };
666
- function je() {
667
- this.cache = /* @__PURE__ */ Object.create(null);
668
- }
669
- je.prototype.get = function(e) {
670
- return this.cache[e];
671
- };
672
- je.prototype.set = function(e, t) {
673
- this.cache[e] = t;
674
- };
675
- var Lr = {
662
+ }, Ir = (
663
+ /** @class */
664
+ function() {
665
+ function e() {
666
+ this.cache = /* @__PURE__ */ Object.create(null);
667
+ }
668
+ return e.prototype.get = function(t) {
669
+ return this.cache[t];
670
+ }, e.prototype.set = function(t, r) {
671
+ this.cache[t] = r;
672
+ }, e;
673
+ }()
674
+ ), wr = {
676
675
  create: function() {
677
- return new je();
676
+ return new Ir();
678
677
  }
679
678
  }, Be = {
680
- variadic: Or,
681
- monadic: Ir
679
+ variadic: Nr
682
680
  }, g;
683
681
  (function(e) {
684
682
  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";
@@ -691,43 +689,43 @@ var Q;
691
689
  (function(e) {
692
690
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
693
691
  })(Q || (Q = {}));
694
- function Qe(e) {
692
+ function We(e) {
695
693
  return e.type === x.literal;
696
694
  }
697
695
  function Cr(e) {
698
696
  return e.type === x.argument;
699
697
  }
700
- function bt(e) {
698
+ function pt(e) {
701
699
  return e.type === x.number;
702
700
  }
703
- function yt(e) {
701
+ function gt(e) {
704
702
  return e.type === x.date;
705
703
  }
706
- function Et(e) {
704
+ function bt(e) {
707
705
  return e.type === x.time;
708
706
  }
709
- function _t(e) {
707
+ function yt(e) {
710
708
  return e.type === x.select;
711
709
  }
712
- function xt(e) {
710
+ function Et(e) {
713
711
  return e.type === x.plural;
714
712
  }
715
- function Mr(e) {
713
+ function Lr(e) {
716
714
  return e.type === x.pound;
717
715
  }
718
- function vt(e) {
716
+ function _t(e) {
719
717
  return e.type === x.tag;
720
718
  }
721
- function Ht(e) {
719
+ function xt(e) {
722
720
  return !!(e && typeof e == "object" && e.type === Q.number);
723
721
  }
724
- function Le(e) {
722
+ function Ce(e) {
725
723
  return !!(e && typeof e == "object" && e.type === Q.dateTime);
726
724
  }
727
- var Tt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $r = /(?:[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;
728
- function Rr(e) {
725
+ var vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mr = /(?:[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;
726
+ function $r(e) {
729
727
  var t = {};
730
- return e.replace($r, function(r) {
728
+ return e.replace(Mr, function(r) {
731
729
  var n = r.length;
732
730
  switch (r[0]) {
733
731
  case "G":
@@ -816,11 +814,11 @@ function Rr(e) {
816
814
  return "";
817
815
  }), t;
818
816
  }
819
- var Dr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
820
- function Ur(e) {
817
+ var Rr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
818
+ function Dr(e) {
821
819
  if (e.length === 0)
822
820
  throw new Error("Number skeleton cannot be empty");
823
- for (var t = e.split(Dr).filter(function(c) {
821
+ for (var t = e.split(Rr).filter(function(c) {
824
822
  return c.length > 0;
825
823
  }), r = [], n = 0, i = t; n < i.length; n++) {
826
824
  var s = i[n], a = s.split("/");
@@ -835,17 +833,17 @@ function Ur(e) {
835
833
  }
836
834
  return r;
837
835
  }
838
- function Fr(e) {
836
+ function Ur(e) {
839
837
  return e.replace(/^(.*?)-/, "");
840
838
  }
841
- var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Bt = /^(@+)?(\+|#+)?[rs]?$/g, Gr = /(\*)(0+)|(#+)(0+)|(0+)/g, St = /^(0+)$/;
842
- function qe(e) {
839
+ var Ze = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, Fr = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
840
+ function Qe(e) {
843
841
  var t = {};
844
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Bt, function(r, n, i) {
842
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ht, function(r, n, i) {
845
843
  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)), "";
846
844
  }), t;
847
845
  }
848
- function At(e) {
846
+ function Bt(e) {
849
847
  switch (e) {
850
848
  case "sign-auto":
851
849
  return {
@@ -885,7 +883,7 @@ function At(e) {
885
883
  };
886
884
  }
887
885
  }
888
- function jr(e) {
886
+ function Gr(e) {
889
887
  var t;
890
888
  if (e[0] === "E" && e[1] === "E" ? (t = {
891
889
  notation: "engineering"
@@ -893,17 +891,17 @@ function jr(e) {
893
891
  notation: "scientific"
894
892
  }, e = e.slice(1)), t) {
895
893
  var r = e.slice(0, 2);
896
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !St.test(e))
894
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tt.test(e))
897
895
  throw new Error("Malformed concise eng/scientific notation");
898
896
  t.minimumIntegerDigits = e.length;
899
897
  }
900
898
  return t;
901
899
  }
902
- function Ye(e) {
903
- var t = {}, r = At(e);
900
+ function Je(e) {
901
+ var t = {}, r = Bt(e);
904
902
  return r || t;
905
903
  }
906
- function kr(e) {
904
+ function jr(e) {
907
905
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
908
906
  var i = n[r];
909
907
  switch (i.stem) {
@@ -927,7 +925,7 @@ function kr(e) {
927
925
  continue;
928
926
  case "measure-unit":
929
927
  case "unit":
930
- t.style = "unit", t.unit = Fr(i.options[0]);
928
+ t.style = "unit", t.unit = Ur(i.options[0]);
931
929
  continue;
932
930
  case "compact-short":
933
931
  case "K":
@@ -939,12 +937,12 @@ function kr(e) {
939
937
  continue;
940
938
  case "scientific":
941
939
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
942
- return y(y({}, l), Ye(u));
940
+ return y(y({}, l), Je(u));
943
941
  }, {}));
944
942
  continue;
945
943
  case "engineering":
946
944
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
947
- return y(y({}, l), Ye(u));
945
+ return y(y({}, l), Je(u));
948
946
  }, {}));
949
947
  continue;
950
948
  case "notation-simple":
@@ -989,7 +987,7 @@ function kr(e) {
989
987
  case "integer-width":
990
988
  if (i.options.length > 1)
991
989
  throw new RangeError("integer-width stems only accept a single optional option");
992
- i.options[0].replace(Gr, function(l, u, h, f, c, p) {
990
+ i.options[0].replace(Fr, function(l, u, h, f, c, p) {
993
991
  if (u)
994
992
  t.minimumIntegerDigits = h.length;
995
993
  else {
@@ -1002,27 +1000,27 @@ function kr(e) {
1002
1000
  });
1003
1001
  continue;
1004
1002
  }
1005
- if (St.test(i.stem)) {
1003
+ if (Tt.test(i.stem)) {
1006
1004
  t.minimumIntegerDigits = i.stem.length;
1007
1005
  continue;
1008
1006
  }
1009
- if (Je.test(i.stem)) {
1007
+ if (Ze.test(i.stem)) {
1010
1008
  if (i.options.length > 1)
1011
1009
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1012
- i.stem.replace(Je, function(l, u, h, f, c, p) {
1010
+ i.stem.replace(Ze, function(l, u, h, f, c, p) {
1013
1011
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1014
1012
  });
1015
1013
  var s = i.options[0];
1016
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), qe(s)));
1014
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), Qe(s)));
1017
1015
  continue;
1018
1016
  }
1019
- if (Bt.test(i.stem)) {
1020
- t = y(y({}, t), qe(i.stem));
1017
+ if (Ht.test(i.stem)) {
1018
+ t = y(y({}, t), Qe(i.stem));
1021
1019
  continue;
1022
1020
  }
1023
- var a = At(i.stem);
1021
+ var a = Bt(i.stem);
1024
1022
  a && (t = y(y({}, t), a));
1025
- var o = jr(i.stem);
1023
+ var o = Gr(i.stem);
1026
1024
  o && (t = y(y({}, t), o));
1027
1025
  }
1028
1026
  return t;
@@ -2442,13 +2440,13 @@ var le = {
2442
2440
  "h"
2443
2441
  ]
2444
2442
  };
2445
- function Vr(e, t) {
2443
+ function kr(e, t) {
2446
2444
  for (var r = "", n = 0; n < e.length; n++) {
2447
2445
  var i = e.charAt(n);
2448
2446
  if (i === "j") {
2449
2447
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2450
2448
  s++, n++;
2451
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Xr(t);
2449
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Vr(t);
2452
2450
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2453
2451
  r += l;
2454
2452
  for (; a-- > 0; )
@@ -2458,7 +2456,7 @@ function Vr(e, t) {
2458
2456
  }
2459
2457
  return r;
2460
2458
  }
2461
- function Xr(e) {
2459
+ function Vr(e) {
2462
2460
  var t = e.hourCycle;
2463
2461
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2464
2462
  e.hourCycles && // @ts-ignore
@@ -2480,20 +2478,20 @@ function Xr(e) {
2480
2478
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
2481
2479
  return i[0];
2482
2480
  }
2483
- var Se, zr = new RegExp("^".concat(Tt.source, "*")), Wr = new RegExp("".concat(Tt.source, "*$"));
2481
+ var Se, Xr = new RegExp("^".concat(vt.source, "*")), zr = new RegExp("".concat(vt.source, "*$"));
2484
2482
  function b(e, t) {
2485
2483
  return { start: e, end: t };
2486
2484
  }
2487
- var Zr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qr = !!String.fromCodePoint, Jr = !!Object.fromEntries, qr = !!String.prototype.codePointAt, Yr = !!String.prototype.trimStart, Kr = !!String.prototype.trimEnd, en = !!Number.isSafeInteger, tn = en ? Number.isSafeInteger : function(e) {
2485
+ var Wr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zr = !!String.fromCodePoint, Qr = !!Object.fromEntries, Jr = !!String.prototype.codePointAt, qr = !!String.prototype.trimStart, Yr = !!String.prototype.trimEnd, Kr = !!Number.isSafeInteger, en = Kr ? Number.isSafeInteger : function(e) {
2488
2486
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2489
- }, Ce = !0;
2487
+ }, Le = !0;
2490
2488
  try {
2491
- var rn = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2492
- Ce = ((Se = rn.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2489
+ var tn = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2490
+ Le = ((Se = tn.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
2493
2491
  } catch {
2494
- Ce = !1;
2492
+ Le = !1;
2495
2493
  }
2496
- var Ke = Zr ? (
2494
+ var qe = Wr ? (
2497
2495
  // Native
2498
2496
  function(t, r, n) {
2499
2497
  return t.startsWith(r, n);
@@ -2503,7 +2501,7 @@ var Ke = Zr ? (
2503
2501
  function(t, r, n) {
2504
2502
  return t.slice(n, n + r.length) === r;
2505
2503
  }
2506
- ), Me = Qr ? String.fromCodePoint : (
2504
+ ), Me = Zr ? String.fromCodePoint : (
2507
2505
  // IE11
2508
2506
  function() {
2509
2507
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2515,9 +2513,9 @@ var Ke = Zr ? (
2515
2513
  }
2516
2514
  return n;
2517
2515
  }
2518
- ), et = (
2516
+ ), Ye = (
2519
2517
  // native
2520
- Jr ? Object.fromEntries : (
2518
+ Qr ? Object.fromEntries : (
2521
2519
  // Ponyfill
2522
2520
  function(t) {
2523
2521
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2527,7 +2525,7 @@ var Ke = Zr ? (
2527
2525
  return r;
2528
2526
  }
2529
2527
  )
2530
- ), Pt = qr ? (
2528
+ ), St = Jr ? (
2531
2529
  // Native
2532
2530
  function(t, r) {
2533
2531
  return t.codePointAt(r);
@@ -2541,7 +2539,7 @@ var Ke = Zr ? (
2541
2539
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2542
2540
  }
2543
2541
  }
2544
- ), nn = Yr ? (
2542
+ ), rn = qr ? (
2545
2543
  // Native
2546
2544
  function(t) {
2547
2545
  return t.trimStart();
@@ -2549,9 +2547,9 @@ var Ke = Zr ? (
2549
2547
  ) : (
2550
2548
  // Ponyfill
2551
2549
  function(t) {
2552
- return t.replace(zr, "");
2550
+ return t.replace(Xr, "");
2553
2551
  }
2554
- ), sn = Kr ? (
2552
+ ), nn = Yr ? (
2555
2553
  // Native
2556
2554
  function(t) {
2557
2555
  return t.trimEnd();
@@ -2559,32 +2557,32 @@ var Ke = Zr ? (
2559
2557
  ) : (
2560
2558
  // Ponyfill
2561
2559
  function(t) {
2562
- return t.replace(Wr, "");
2560
+ return t.replace(zr, "");
2563
2561
  }
2564
2562
  );
2565
- function Nt(e, t) {
2563
+ function At(e, t) {
2566
2564
  return new RegExp(e, t);
2567
2565
  }
2568
2566
  var $e;
2569
- if (Ce) {
2570
- var tt = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2567
+ if (Le) {
2568
+ var Ke = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2571
2569
  $e = function(t, r) {
2572
2570
  var n;
2573
- tt.lastIndex = r;
2574
- var i = tt.exec(t);
2571
+ Ke.lastIndex = r;
2572
+ var i = Ke.exec(t);
2575
2573
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2576
2574
  };
2577
2575
  } else
2578
2576
  $e = function(t, r) {
2579
2577
  for (var n = []; ; ) {
2580
- var i = Pt(t, r);
2581
- if (i === void 0 || Ot(i) || hn(i))
2578
+ var i = St(t, r);
2579
+ if (i === void 0 || Pt(i) || un(i))
2582
2580
  break;
2583
2581
  n.push(i), r += i >= 65536 ? 2 : 1;
2584
2582
  }
2585
2583
  return Me.apply(void 0, n);
2586
2584
  };
2587
- var on = (
2585
+ var sn = (
2588
2586
  /** @class */
2589
2587
  function() {
2590
2588
  function e(t, r) {
@@ -2666,7 +2664,7 @@ var on = (
2666
2664
  return this.error(g.INVALID_TAG, b(n, this.clonePosition()));
2667
2665
  }, e.prototype.parseTagName = function() {
2668
2666
  var t = this.offset();
2669
- for (this.bump(); !this.isEOF() && un(this.char()); )
2667
+ for (this.bump(); !this.isEOF() && an(this.char()); )
2670
2668
  this.bump();
2671
2669
  return this.message.slice(t, this.offset());
2672
2670
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2695,7 +2693,7 @@ var on = (
2695
2693
  };
2696
2694
  }, e.prototype.tryParseLeftAngleBracket = function() {
2697
2695
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2698
- !an(this.peek() || 0)) ? (this.bump(), "<") : null;
2696
+ !on(this.peek() || 0)) ? (this.bump(), "<") : null;
2699
2697
  }, e.prototype.tryParseQuote = function(t) {
2700
2698
  if (this.isEOF() || this.char() !== 39)
2701
2699
  return null;
@@ -2782,7 +2780,7 @@ var on = (
2782
2780
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2783
2781
  if (f.err)
2784
2782
  return f;
2785
- var c = sn(f.val);
2783
+ var c = nn(f.val);
2786
2784
  if (c.length === 0)
2787
2785
  return this.error(g.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2788
2786
  var p = b(h, this.clonePosition());
@@ -2792,8 +2790,8 @@ var on = (
2792
2790
  if (E.err)
2793
2791
  return E;
2794
2792
  var T = b(i, this.clonePosition());
2795
- if (u && Ke(u?.style, "::", 0)) {
2796
- var P = nn(u.style.slice(2));
2793
+ if (u && qe(u?.style, "::", 0)) {
2794
+ var P = rn(u.style.slice(2));
2797
2795
  if (o === "number") {
2798
2796
  var f = this.parseNumberSkeletonFromString(P, u.styleLocation);
2799
2797
  return f.err ? f : {
@@ -2804,15 +2802,15 @@ var on = (
2804
2802
  if (P.length === 0)
2805
2803
  return this.error(g.EXPECT_DATE_TIME_SKELETON, T);
2806
2804
  var B = P;
2807
- this.locale && (B = Vr(P, this.locale));
2805
+ this.locale && (B = kr(P, this.locale));
2808
2806
  var c = {
2809
2807
  type: Q.dateTime,
2810
2808
  pattern: B,
2811
2809
  location: u.styleLocation,
2812
- parsedOptions: this.shouldParseSkeletons ? Rr(B) : {}
2813
- }, L = o === "date" ? x.date : x.time;
2810
+ parsedOptions: this.shouldParseSkeletons ? $r(B) : {}
2811
+ }, C = o === "date" ? x.date : x.time;
2814
2812
  return {
2815
- val: { type: L, value: n, location: T, style: c },
2813
+ val: { type: C, value: n, location: T, style: c },
2816
2814
  err: null
2817
2815
  };
2818
2816
  }
@@ -2855,7 +2853,7 @@ var on = (
2855
2853
  val: {
2856
2854
  type: x.select,
2857
2855
  value: n,
2858
- options: et(S.val),
2856
+ options: Ye(S.val),
2859
2857
  location: he
2860
2858
  },
2861
2859
  err: null
@@ -2863,7 +2861,7 @@ var on = (
2863
2861
  val: {
2864
2862
  type: x.plural,
2865
2863
  value: n,
2866
- options: et(S.val),
2864
+ options: Ye(S.val),
2867
2865
  offset: d,
2868
2866
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2869
2867
  location: he
@@ -2914,7 +2912,7 @@ var on = (
2914
2912
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2915
2913
  var n = [];
2916
2914
  try {
2917
- n = Ur(t);
2915
+ n = Dr(t);
2918
2916
  } catch {
2919
2917
  return this.error(g.INVALID_NUMBER_SKELETON, r);
2920
2918
  }
@@ -2923,7 +2921,7 @@ var on = (
2923
2921
  type: Q.number,
2924
2922
  tokens: n,
2925
2923
  location: r,
2926
- parsedOptions: this.shouldParseSkeletons ? kr(n) : {}
2924
+ parsedOptions: this.shouldParseSkeletons ? jr(n) : {}
2927
2925
  },
2928
2926
  err: null
2929
2927
  };
@@ -2971,7 +2969,7 @@ var on = (
2971
2969
  break;
2972
2970
  }
2973
2971
  var l = b(i, this.clonePosition());
2974
- return s ? (a *= n, tn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2972
+ return s ? (a *= n, en(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2975
2973
  }, e.prototype.offset = function() {
2976
2974
  return this.position.offset;
2977
2975
  }, e.prototype.isEOF = function() {
@@ -2986,7 +2984,7 @@ var on = (
2986
2984
  var t = this.position.offset;
2987
2985
  if (t >= this.message.length)
2988
2986
  throw Error("out of bound");
2989
- var r = Pt(this.message, t);
2987
+ var r = St(this.message, t);
2990
2988
  if (r === void 0)
2991
2989
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2992
2990
  return r;
@@ -3005,7 +3003,7 @@ var on = (
3005
3003
  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);
3006
3004
  }
3007
3005
  }, e.prototype.bumpIf = function(t) {
3008
- if (Ke(this.message, t, this.offset())) {
3006
+ if (qe(this.message, t, this.offset())) {
3009
3007
  for (var r = 0; r < t.length; r++)
3010
3008
  this.bump();
3011
3009
  return !0;
@@ -3027,7 +3025,7 @@ var on = (
3027
3025
  break;
3028
3026
  }
3029
3027
  }, e.prototype.bumpSpace = function() {
3030
- for (; !this.isEOF() && Ot(this.char()); )
3028
+ for (; !this.isEOF() && Pt(this.char()); )
3031
3029
  this.bump();
3032
3030
  }, e.prototype.peek = function() {
3033
3031
  if (this.isEOF())
@@ -3040,30 +3038,30 @@ var on = (
3040
3038
  function Re(e) {
3041
3039
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3042
3040
  }
3043
- function an(e) {
3041
+ function on(e) {
3044
3042
  return Re(e) || e === 47;
3045
3043
  }
3046
- function un(e) {
3044
+ function an(e) {
3047
3045
  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;
3048
3046
  }
3049
- function Ot(e) {
3047
+ function Pt(e) {
3050
3048
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3051
3049
  }
3052
- function hn(e) {
3050
+ function un(e) {
3053
3051
  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;
3054
3052
  }
3055
3053
  function De(e) {
3056
3054
  e.forEach(function(t) {
3057
- if (delete t.location, _t(t) || xt(t))
3055
+ if (delete t.location, yt(t) || Et(t))
3058
3056
  for (var r in t.options)
3059
3057
  delete t.options[r].location, De(t.options[r].value);
3060
3058
  else
3061
- bt(t) && Ht(t.style) || (yt(t) || Et(t)) && Le(t.style) ? delete t.style.location : vt(t) && De(t.children);
3059
+ pt(t) && xt(t.style) || (gt(t) || bt(t)) && Ce(t.style) ? delete t.style.location : _t(t) && De(t.children);
3062
3060
  });
3063
3061
  }
3064
- function ln(e, t) {
3062
+ function hn(e, t) {
3065
3063
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3066
- var r = new on(e, t).parse();
3064
+ var r = new sn(e, t).parse();
3067
3065
  if (r.err) {
3068
3066
  var n = SyntaxError(g[r.err.kind]);
3069
3067
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3086,7 +3084,7 @@ var Ee = (
3086
3084
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3087
3085
  }, t;
3088
3086
  }(Error)
3089
- ), rt = (
3087
+ ), et = (
3090
3088
  /** @class */
3091
3089
  function(e) {
3092
3090
  ye(t, e);
@@ -3095,7 +3093,7 @@ var Ee = (
3095
3093
  }
3096
3094
  return t;
3097
3095
  }(Ee)
3098
- ), fn = (
3096
+ ), ln = (
3099
3097
  /** @class */
3100
3098
  function(e) {
3101
3099
  ye(t, e);
@@ -3104,7 +3102,7 @@ var Ee = (
3104
3102
  }
3105
3103
  return t;
3106
3104
  }(Ee)
3107
- ), cn = (
3105
+ ), fn = (
3108
3106
  /** @class */
3109
3107
  function(e) {
3110
3108
  ye(t, e);
@@ -3117,17 +3115,17 @@ var Ee = (
3117
3115
  (function(e) {
3118
3116
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3119
3117
  })(N || (N = {}));
3120
- function mn(e) {
3118
+ function cn(e) {
3121
3119
  return e.length < 2 ? e : e.reduce(function(t, r) {
3122
3120
  var n = t[t.length - 1];
3123
3121
  return !n || n.type !== N.literal || r.type !== N.literal ? t.push(r) : n.value += r.value, t;
3124
3122
  }, []);
3125
3123
  }
3126
- function dn(e) {
3124
+ function mn(e) {
3127
3125
  return typeof e == "function";
3128
3126
  }
3129
3127
  function ce(e, t, r, n, i, s, a) {
3130
- if (e.length === 1 && Qe(e[0]))
3128
+ if (e.length === 1 && We(e[0]))
3131
3129
  return [
3132
3130
  {
3133
3131
  type: N.literal,
@@ -3136,14 +3134,14 @@ function ce(e, t, r, n, i, s, a) {
3136
3134
  ];
3137
3135
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3138
3136
  var h = u[l];
3139
- if (Qe(h)) {
3137
+ if (We(h)) {
3140
3138
  o.push({
3141
3139
  type: N.literal,
3142
3140
  value: h.value
3143
3141
  });
3144
3142
  continue;
3145
3143
  }
3146
- if (Mr(h)) {
3144
+ if (Lr(h)) {
3147
3145
  typeof s == "number" && o.push({
3148
3146
  type: N.literal,
3149
3147
  value: r.getNumberFormat(t).format(s)
@@ -3152,7 +3150,7 @@ function ce(e, t, r, n, i, s, a) {
3152
3150
  }
3153
3151
  var f = h.value;
3154
3152
  if (!(i && f in i))
3155
- throw new cn(f, a);
3153
+ throw new fn(f, a);
3156
3154
  var c = i[f];
3157
3155
  if (Cr(h)) {
3158
3156
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
@@ -3161,52 +3159,52 @@ function ce(e, t, r, n, i, s, a) {
3161
3159
  });
3162
3160
  continue;
3163
3161
  }
3164
- if (yt(h)) {
3165
- var p = typeof h.style == "string" ? n.date[h.style] : Le(h.style) ? h.style.parsedOptions : void 0;
3162
+ if (gt(h)) {
3163
+ var p = typeof h.style == "string" ? n.date[h.style] : Ce(h.style) ? h.style.parsedOptions : void 0;
3166
3164
  o.push({
3167
3165
  type: N.literal,
3168
3166
  value: r.getDateTimeFormat(t, p).format(c)
3169
3167
  });
3170
3168
  continue;
3171
3169
  }
3172
- if (Et(h)) {
3173
- var p = typeof h.style == "string" ? n.time[h.style] : Le(h.style) ? h.style.parsedOptions : n.time.medium;
3170
+ if (bt(h)) {
3171
+ var p = typeof h.style == "string" ? n.time[h.style] : Ce(h.style) ? h.style.parsedOptions : n.time.medium;
3174
3172
  o.push({
3175
3173
  type: N.literal,
3176
3174
  value: r.getDateTimeFormat(t, p).format(c)
3177
3175
  });
3178
3176
  continue;
3179
3177
  }
3180
- if (bt(h)) {
3181
- var p = typeof h.style == "string" ? n.number[h.style] : Ht(h.style) ? h.style.parsedOptions : void 0;
3178
+ if (pt(h)) {
3179
+ var p = typeof h.style == "string" ? n.number[h.style] : xt(h.style) ? h.style.parsedOptions : void 0;
3182
3180
  p && p.scale && (c = c * (p.scale || 1)), o.push({
3183
3181
  type: N.literal,
3184
3182
  value: r.getNumberFormat(t, p).format(c)
3185
3183
  });
3186
3184
  continue;
3187
3185
  }
3188
- if (vt(h)) {
3186
+ if (_t(h)) {
3189
3187
  var E = h.children, T = h.value, P = i[T];
3190
- if (!dn(P))
3191
- throw new fn(T, "function", a);
3192
- var B = ce(E, t, r, n, i, s), L = P(B.map(function(d) {
3188
+ if (!mn(P))
3189
+ throw new ln(T, "function", a);
3190
+ var B = ce(E, t, r, n, i, s), C = P(B.map(function(d) {
3193
3191
  return d.value;
3194
3192
  }));
3195
- Array.isArray(L) || (L = [L]), o.push.apply(o, L.map(function(d) {
3193
+ Array.isArray(C) || (C = [C]), o.push.apply(o, C.map(function(d) {
3196
3194
  return {
3197
3195
  type: typeof d == "string" ? N.literal : N.object,
3198
3196
  value: d
3199
3197
  };
3200
3198
  }));
3201
3199
  }
3202
- if (_t(h)) {
3200
+ if (yt(h)) {
3203
3201
  var v = h.options[c] || h.options.other;
3204
3202
  if (!v)
3205
- throw new rt(h.value, c, Object.keys(h.options), a);
3203
+ throw new et(h.value, c, Object.keys(h.options), a);
3206
3204
  o.push.apply(o, ce(v.value, t, r, n, i));
3207
3205
  continue;
3208
3206
  }
3209
- if (xt(h)) {
3207
+ if (Et(h)) {
3210
3208
  var v = h.options["=".concat(c)];
3211
3209
  if (!v) {
3212
3210
  if (!Intl.PluralRules)
@@ -3217,21 +3215,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3217
3215
  v = h.options[H] || h.options.other;
3218
3216
  }
3219
3217
  if (!v)
3220
- throw new rt(h.value, c, Object.keys(h.options), a);
3218
+ throw new et(h.value, c, Object.keys(h.options), a);
3221
3219
  o.push.apply(o, ce(v.value, t, r, n, i, c - (h.offset || 0)));
3222
3220
  continue;
3223
3221
  }
3224
3222
  }
3225
- return mn(o);
3223
+ return cn(o);
3226
3224
  }
3227
- function pn(e, t) {
3225
+ function dn(e, t) {
3228
3226
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3229
3227
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3230
3228
  }, {})) : e;
3231
3229
  }
3232
- function gn(e, t) {
3230
+ function pn(e, t) {
3233
3231
  return t ? Object.keys(e).reduce(function(r, n) {
3234
- return r[n] = pn(e[n], t[n]), r;
3232
+ return r[n] = dn(e[n], t[n]), r;
3235
3233
  }, y({}, e)) : e;
3236
3234
  }
3237
3235
  function Ae(e) {
@@ -3248,7 +3246,7 @@ function Ae(e) {
3248
3246
  }
3249
3247
  };
3250
3248
  }
3251
- function bn(e) {
3249
+ function gn(e) {
3252
3250
  return e === void 0 && (e = {
3253
3251
  number: {},
3254
3252
  dateTime: {},
@@ -3280,7 +3278,7 @@ function bn(e) {
3280
3278
  })
3281
3279
  };
3282
3280
  }
3283
- var yn = (
3281
+ var bn = (
3284
3282
  /** @class */
3285
3283
  function() {
3286
3284
  function e(t, r, n, i) {
@@ -3312,13 +3310,13 @@ var yn = (
3312
3310
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3313
3311
  var a = i || {};
3314
3312
  a.formatters;
3315
- var o = Ar(a, ["formatters"]);
3313
+ var o = Br(a, ["formatters"]);
3316
3314
  this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3317
3315
  } else
3318
3316
  this.ast = t;
3319
3317
  if (!Array.isArray(this.ast))
3320
3318
  throw new TypeError("A message must be provided as a String or AST.");
3321
- this.formats = gn(e.formats, n), this.formatters = i && i.formatters || bn(this.formatterCache);
3319
+ this.formats = pn(e.formats, n), this.formatters = i && i.formatters || gn(this.formatterCache);
3322
3320
  }
3323
3321
  return Object.defineProperty(e, "defaultLocale", {
3324
3322
  get: function() {
@@ -3331,7 +3329,7 @@ var yn = (
3331
3329
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3332
3330
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3333
3331
  }
3334
- }, e.__parse = ln, e.formats = {
3332
+ }, e.__parse = hn, e.formats = {
3335
3333
  number: {
3336
3334
  integer: {
3337
3335
  maximumFractionDigits: 0
@@ -3392,7 +3390,7 @@ var yn = (
3392
3390
  }, e;
3393
3391
  }()
3394
3392
  );
3395
- function En(e, t) {
3393
+ function yn(e, t) {
3396
3394
  if (t == null)
3397
3395
  return;
3398
3396
  if (t in e)
@@ -3413,60 +3411,60 @@ function En(e, t) {
3413
3411
  n = void 0;
3414
3412
  return n;
3415
3413
  }
3416
- const U = {}, _n = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), It = (e, t) => {
3414
+ const U = {}, En = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), Nt = (e, t) => {
3417
3415
  if (t == null)
3418
3416
  return;
3419
3417
  if (t in U && e in U[t])
3420
3418
  return U[t][e];
3421
3419
  const r = _e(t);
3422
3420
  for (let n = 0; n < r.length; n++) {
3423
- const i = r[n], s = vn(i, e);
3421
+ const i = r[n], s = xn(i, e);
3424
3422
  if (s)
3425
- return _n(e, t, s);
3423
+ return En(e, t, s);
3426
3424
  }
3427
3425
  };
3428
- let ke;
3426
+ let Ge;
3429
3427
  const ae = be({});
3430
- function xn(e) {
3431
- return ke[e] || null;
3428
+ function _n(e) {
3429
+ return Ge[e] || null;
3432
3430
  }
3433
- function wt(e) {
3434
- return e in ke;
3431
+ function Ot(e) {
3432
+ return e in Ge;
3435
3433
  }
3436
- function vn(e, t) {
3437
- if (!wt(e))
3434
+ function xn(e, t) {
3435
+ if (!Ot(e))
3438
3436
  return null;
3439
- const r = xn(e);
3440
- return En(r, t);
3437
+ const r = _n(e);
3438
+ return yn(r, t);
3441
3439
  }
3442
- function Hn(e) {
3440
+ function vn(e) {
3443
3441
  if (e == null)
3444
3442
  return;
3445
3443
  const t = _e(e);
3446
3444
  for (let r = 0; r < t.length; r++) {
3447
3445
  const n = t[r];
3448
- if (wt(n))
3446
+ if (Ot(n))
3449
3447
  return n;
3450
3448
  }
3451
3449
  }
3452
- function Lt(e, ...t) {
3453
- delete U[e], ae.update((r) => (r[e] = Sr.all([r[e] || {}, ...t]), r));
3450
+ function It(e, ...t) {
3451
+ delete U[e], ae.update((r) => (r[e] = Tr.all([r[e] || {}, ...t]), r));
3454
3452
  }
3455
3453
  Y(
3456
3454
  [ae],
3457
3455
  ([e]) => Object.keys(e)
3458
3456
  );
3459
- ae.subscribe((e) => ke = e);
3457
+ ae.subscribe((e) => Ge = e);
3460
3458
  const me = {};
3461
- function Tn(e, t) {
3459
+ function Hn(e, t) {
3462
3460
  me[e].delete(t), me[e].size === 0 && delete me[e];
3463
3461
  }
3464
- function Ct(e) {
3462
+ function wt(e) {
3465
3463
  return me[e];
3466
3464
  }
3467
- function Bn(e) {
3465
+ function Tn(e) {
3468
3466
  return _e(e).map((t) => {
3469
- const r = Ct(t);
3467
+ const r = wt(t);
3470
3468
  return [t, r ? [...r] : []];
3471
3469
  }).filter(([, t]) => t.length > 0);
3472
3470
  }
@@ -3474,31 +3472,31 @@ function Ue(e) {
3474
3472
  return e == null ? !1 : _e(e).some(
3475
3473
  (t) => {
3476
3474
  var r;
3477
- return (r = Ct(t)) == null ? void 0 : r.size;
3475
+ return (r = wt(t)) == null ? void 0 : r.size;
3478
3476
  }
3479
3477
  );
3480
3478
  }
3481
- function Sn(e, t) {
3479
+ function Bn(e, t) {
3482
3480
  return Promise.all(
3483
- t.map((n) => (Tn(e, n), n().then((i) => i.default || i)))
3484
- ).then((n) => Lt(e, ...n));
3481
+ t.map((n) => (Hn(e, n), n().then((i) => i.default || i)))
3482
+ ).then((n) => It(e, ...n));
3485
3483
  }
3486
3484
  const ee = {};
3487
- function Mt(e) {
3485
+ function Ct(e) {
3488
3486
  if (!Ue(e))
3489
3487
  return e in ee ? ee[e] : Promise.resolve();
3490
- const t = Bn(e);
3488
+ const t = Tn(e);
3491
3489
  return ee[e] = Promise.all(
3492
3490
  t.map(
3493
- ([r, n]) => Sn(r, n)
3491
+ ([r, n]) => Bn(r, n)
3494
3492
  )
3495
3493
  ).then(() => {
3496
3494
  if (Ue(e))
3497
- return Mt(e);
3495
+ return Ct(e);
3498
3496
  delete ee[e];
3499
3497
  }), ee[e];
3500
3498
  }
3501
- const An = {
3499
+ const Sn = {
3502
3500
  number: {
3503
3501
  scientific: { notation: "scientific" },
3504
3502
  engineering: { notation: "engineering" },
@@ -3527,34 +3525,34 @@ const An = {
3527
3525
  timeZoneName: "short"
3528
3526
  }
3529
3527
  }
3530
- }, Pn = {
3528
+ }, An = {
3531
3529
  fallbackLocale: null,
3532
3530
  loadingDelay: 200,
3533
- formats: An,
3531
+ formats: Sn,
3534
3532
  warnOnMissingMessages: !0,
3535
3533
  handleMissingMessage: void 0,
3536
3534
  ignoreTag: !0
3537
- }, Nn = Pn;
3535
+ }, Pn = An;
3538
3536
  function q() {
3539
- return Nn;
3537
+ return Pn;
3540
3538
  }
3541
3539
  const Pe = be(!1);
3542
- var On = Object.defineProperty, In = Object.defineProperties, wn = Object.getOwnPropertyDescriptors, nt = Object.getOwnPropertySymbols, Ln = Object.prototype.hasOwnProperty, Cn = Object.prototype.propertyIsEnumerable, it = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mn = (e, t) => {
3540
+ var Nn = Object.defineProperty, On = Object.defineProperties, In = Object.getOwnPropertyDescriptors, tt = Object.getOwnPropertySymbols, wn = Object.prototype.hasOwnProperty, Cn = Object.prototype.propertyIsEnumerable, rt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ln = (e, t) => {
3543
3541
  for (var r in t || (t = {}))
3544
- Ln.call(t, r) && it(e, r, t[r]);
3545
- if (nt)
3546
- for (var r of nt(t))
3547
- Cn.call(t, r) && it(e, r, t[r]);
3542
+ wn.call(t, r) && rt(e, r, t[r]);
3543
+ if (tt)
3544
+ for (var r of tt(t))
3545
+ Cn.call(t, r) && rt(e, r, t[r]);
3548
3546
  return e;
3549
- }, $n = (e, t) => In(e, wn(t));
3547
+ }, Mn = (e, t) => On(e, In(t));
3550
3548
  let Fe;
3551
3549
  const de = be(null);
3552
- function st(e) {
3550
+ function nt(e) {
3553
3551
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3554
3552
  }
3555
3553
  function _e(e, t = q().fallbackLocale) {
3556
- const r = st(e);
3557
- return t ? [.../* @__PURE__ */ new Set([...r, ...st(t)])] : r;
3554
+ const r = nt(e);
3555
+ return t ? [.../* @__PURE__ */ new Set([...r, ...nt(t)])] : r;
3558
3556
  }
3559
3557
  function k() {
3560
3558
  return Fe ?? void 0;
@@ -3562,22 +3560,22 @@ function k() {
3562
3560
  de.subscribe((e) => {
3563
3561
  Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3564
3562
  });
3565
- const Rn = (e) => {
3566
- if (e && Hn(e) && Ue(e)) {
3563
+ const $n = (e) => {
3564
+ if (e && vn(e) && Ue(e)) {
3567
3565
  const { loadingDelay: t } = q();
3568
3566
  let r;
3569
3567
  return typeof window < "u" && k() != null && t ? r = window.setTimeout(
3570
3568
  () => Pe.set(!0),
3571
3569
  t
3572
- ) : Pe.set(!0), Mt(e).then(() => {
3570
+ ) : Pe.set(!0), Ct(e).then(() => {
3573
3571
  de.set(e);
3574
3572
  }).finally(() => {
3575
3573
  clearTimeout(r), Pe.set(!1);
3576
3574
  });
3577
3575
  }
3578
3576
  return de.set(e);
3579
- }, ue = $n(Mn({}, de), {
3580
- set: Rn
3577
+ }, ue = Mn(Ln({}, de), {
3578
+ set: $n
3581
3579
  }), xe = (e) => {
3582
3580
  const t = /* @__PURE__ */ Object.create(null);
3583
3581
  return (n) => {
@@ -3585,20 +3583,20 @@ const Rn = (e) => {
3585
3583
  return i in t ? t[i] : t[i] = e(n);
3586
3584
  };
3587
3585
  };
3588
- var Dn = Object.defineProperty, pe = Object.getOwnPropertySymbols, $t = Object.prototype.hasOwnProperty, Rt = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
3586
+ var Rn = Object.defineProperty, pe = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Mt = Object.prototype.propertyIsEnumerable, it = (e, t, r) => t in e ? Rn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
3589
3587
  for (var r in t || (t = {}))
3590
- $t.call(t, r) && ot(e, r, t[r]);
3588
+ Lt.call(t, r) && it(e, r, t[r]);
3591
3589
  if (pe)
3592
3590
  for (var r of pe(t))
3593
- Rt.call(t, r) && ot(e, r, t[r]);
3591
+ Mt.call(t, r) && it(e, r, t[r]);
3594
3592
  return e;
3595
3593
  }, K = (e, t) => {
3596
3594
  var r = {};
3597
3595
  for (var n in e)
3598
- $t.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3596
+ Lt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3599
3597
  if (e != null && pe)
3600
3598
  for (var n of pe(e))
3601
- t.indexOf(n) < 0 && Rt.call(e, n) && (r[n] = e[n]);
3599
+ t.indexOf(n) < 0 && Mt.call(e, n) && (r[n] = e[n]);
3602
3600
  return r;
3603
3601
  };
3604
3602
  const se = (e, t) => {
@@ -3606,21 +3604,21 @@ const se = (e, t) => {
3606
3604
  if (e in r && t in r[e])
3607
3605
  return r[e][t];
3608
3606
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3609
- }, Un = xe(
3607
+ }, Dn = xe(
3610
3608
  (e) => {
3611
3609
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3612
3610
  if (r == null)
3613
3611
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3614
3612
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3615
3613
  }
3616
- ), Fn = xe(
3614
+ ), Un = xe(
3617
3615
  (e) => {
3618
3616
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3619
3617
  if (r == null)
3620
3618
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3621
3619
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3622
3620
  }
3623
- ), Gn = xe(
3621
+ ), Fn = xe(
3624
3622
  (e) => {
3625
3623
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3626
3624
  if (r == null)
@@ -3629,33 +3627,33 @@ const se = (e, t) => {
3629
3627
  );
3630
3628
  return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3631
3629
  }
3632
- ), jn = (e = {}) => {
3630
+ ), Gn = (e = {}) => {
3633
3631
  var t = e, {
3634
3632
  locale: r = k()
3635
3633
  } = t, n = K(t, [
3636
3634
  "locale"
3637
3635
  ]);
3638
- return Un(Ve({ locale: r }, n));
3639
- }, kn = (e = {}) => {
3636
+ return Dn(je({ locale: r }, n));
3637
+ }, jn = (e = {}) => {
3640
3638
  var t = e, {
3641
3639
  locale: r = k()
3642
3640
  } = t, n = K(t, [
3643
3641
  "locale"
3644
3642
  ]);
3645
- return Fn(Ve({ locale: r }, n));
3646
- }, Vn = (e = {}) => {
3643
+ return Un(je({ locale: r }, n));
3644
+ }, kn = (e = {}) => {
3647
3645
  var t = e, {
3648
3646
  locale: r = k()
3649
3647
  } = t, n = K(t, [
3650
3648
  "locale"
3651
3649
  ]);
3652
- return Gn(Ve({ locale: r }, n));
3653
- }, Xn = xe(
3650
+ return Fn(je({ locale: r }, n));
3651
+ }, Vn = xe(
3654
3652
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3655
- (e, t = k()) => new yn(e, t, q().formats, {
3653
+ (e, t = k()) => new bn(e, t, q().formats, {
3656
3654
  ignoreTag: q().ignoreTag
3657
3655
  })
3658
- ), zn = (e, t = {}) => {
3656
+ ), Xn = (e, t = {}) => {
3659
3657
  var r, n, i, s;
3660
3658
  let a = t;
3661
3659
  typeof e == "object" && (a = e, e = a.id);
@@ -3668,7 +3666,7 @@ const se = (e, t) => {
3668
3666
  throw new Error(
3669
3667
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3670
3668
  );
3671
- let h = It(e, l);
3669
+ let h = Nt(e, l);
3672
3670
  if (!h)
3673
3671
  h = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3674
3672
  else if (typeof h != "string")
@@ -3679,7 +3677,7 @@ const se = (e, t) => {
3679
3677
  return h;
3680
3678
  let f = h;
3681
3679
  try {
3682
- f = Xn(h, l).format(o);
3680
+ f = Vn(h, l).format(o);
3683
3681
  } catch (c) {
3684
3682
  c instanceof Error && console.warn(
3685
3683
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3687,15 +3685,15 @@ const se = (e, t) => {
3687
3685
  );
3688
3686
  }
3689
3687
  return f;
3690
- }, Wn = (e, t) => Vn(t).format(e), Zn = (e, t) => kn(t).format(e), Qn = (e, t) => jn(t).format(e), Jn = (e, t = k()) => It(e, t), qn = Y([ue, ae], () => zn);
3688
+ }, zn = (e, t) => kn(t).format(e), Wn = (e, t) => jn(t).format(e), Zn = (e, t) => Gn(t).format(e), Qn = (e, t = k()) => Nt(e, t), Jn = Y([ue, ae], () => Xn);
3689
+ Y([ue], () => zn);
3691
3690
  Y([ue], () => Wn);
3692
3691
  Y([ue], () => Zn);
3693
- Y([ue], () => Qn);
3694
- Y([ue, ae], () => Jn);
3695
- function at(e, t) {
3696
- Lt(e, t);
3692
+ Y([ue, ae], () => Qn);
3693
+ function st(e, t) {
3694
+ It(e, t);
3697
3695
  }
3698
- const ut = {
3696
+ const ot = {
3699
3697
  en: {
3700
3698
  finished: "Finished",
3701
3699
  starting: "Starting in ",
@@ -3785,10 +3783,10 @@ const ut = {
3785
3783
  days: "days"
3786
3784
  }
3787
3785
  };
3788
- function Yn(e) {
3789
- Vt(e, "svelte-6h4bfy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}");
3786
+ function qn(e) {
3787
+ jt(e, "svelte-6h4bfy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}");
3790
3788
  }
3791
- function ht(e) {
3789
+ function at(e) {
3792
3790
  let t, r, n = (
3793
3791
  /*formatDate*/
3794
3792
  e[10](
@@ -3807,39 +3805,39 @@ function ht(e) {
3807
3805
  /*status*/
3808
3806
  d[2] == "Finished" || /*status*/
3809
3807
  d[2] == "Closing" || /*status*/
3810
- d[2] == "Closed" ? ti : (
3808
+ d[2] == "Closed" ? ei : (
3811
3809
  /*tournamentUntilStartDays*/
3812
- d[5] > 0 ? ei : Kn
3810
+ d[5] > 0 ? Kn : Yn
3813
3811
  )
3814
3812
  );
3815
3813
  }
3816
3814
  let P = T(e), B = P(e);
3817
- function L(d, S) {
3815
+ function C(d, S) {
3818
3816
  if (
3819
3817
  /*status*/
3820
3818
  d[2] == "Finished" || /*status*/
3821
3819
  d[2] == "Closing" || /*status*/
3822
3820
  d[2] == "Closed"
3823
3821
  )
3824
- return ii;
3822
+ return ni;
3825
3823
  if (
3826
3824
  /*tournamentUntilStartDays*/
3827
3825
  d[5] > 0
3828
3826
  )
3829
- return ni;
3827
+ return ri;
3830
3828
  if (
3831
3829
  /*tournamentLeftDays*/
3832
3830
  d[4] > 0
3833
3831
  )
3834
- return ri;
3832
+ return ti;
3835
3833
  }
3836
- let v = L(e), H = v && v(e);
3834
+ let v = C(e), H = v && v(e);
3837
3835
  return {
3838
3836
  c() {
3839
3837
  t = I("div"), r = I("div"), i = F(n), s = te(), a = I("div"), l = F(o), u = te(), h = I("div"), f = I("div"), B.c(), c = te(), H && H.c(), _(r, "class", "StartDate"), _(r, "part", "StartDate"), _(a, "class", "EndDate"), _(a, "part", "EndDate"), _(t, "class", "TournamentDates"), _(t, "part", "TournamentDates"), _(f, "class", "ProgressBar"), _(f, "part", "ProgressBar"), _(h, "class", "ProgressBarWrapper"), _(h, "part", "ProgressBarWrapper");
3840
3838
  },
3841
3839
  m(d, S) {
3842
- $(d, t, S), O(t, r), O(r, i), O(t, s), O(t, a), O(a, l), $(d, u, S), $(d, h, S), O(h, f), B.m(f, null), O(f, c), H && H.m(f, null), p || (E = kt(
3840
+ $(d, t, S), O(t, r), O(r, i), O(t, s), O(t, a), O(a, l), $(d, u, S), $(d, h, S), O(h, f), B.m(f, null), O(f, c), H && H.m(f, null), p || (E = Gt(
3843
3841
  /*getDuration*/
3844
3842
  e[9].call(null, h)
3845
3843
  ), p = !0);
@@ -3855,18 +3853,18 @@ function ht(e) {
3855
3853
  d[10](
3856
3854
  /*enddate*/
3857
3855
  d[1]
3858
- ) + "") && j(l, o), P === (P = T(d)) && B ? B.p(d, S) : (B.d(1), B = P(d), B && (B.c(), B.m(f, c))), v === (v = L(d)) && H ? H.p(d, S) : (H && H.d(1), H = v && v(d), H && (H.c(), H.m(f, null)));
3856
+ ) + "") && j(l, o), P === (P = T(d)) && B ? B.p(d, S) : (B.d(1), B = P(d), B && (B.c(), B.m(f, c))), v === (v = C(d)) && H ? H.p(d, S) : (H && H.d(1), H = v && v(d), H && (H.c(), H.m(f, null)));
3859
3857
  },
3860
3858
  d(d) {
3861
3859
  d && (M(t), M(u), M(h)), B.d(), H && H.d(), p = !1, E();
3862
3860
  }
3863
3861
  };
3864
3862
  }
3865
- function Kn(e) {
3863
+ function Yn(e) {
3866
3864
  let t;
3867
3865
  return {
3868
3866
  c() {
3869
- t = I("div"), _(t, "class", "ProgressBarFill"), _(t, "part", "ProgressBarFill"), ze(
3867
+ t = I("div"), _(t, "class", "ProgressBarFill"), _(t, "part", "ProgressBarFill"), Ve(
3870
3868
  t,
3871
3869
  "width",
3872
3870
  /*getProgress*/
@@ -3878,7 +3876,7 @@ function Kn(e) {
3878
3876
  },
3879
3877
  p(r, n) {
3880
3878
  n & /*getProgress*/
3881
- 128 && ze(
3879
+ 128 && Ve(
3882
3880
  t,
3883
3881
  "width",
3884
3882
  /*getProgress*/
@@ -3890,7 +3888,7 @@ function Kn(e) {
3890
3888
  }
3891
3889
  };
3892
3890
  }
3893
- function ei(e) {
3891
+ function Kn(e) {
3894
3892
  let t;
3895
3893
  return {
3896
3894
  c() {
@@ -3905,7 +3903,7 @@ function ei(e) {
3905
3903
  }
3906
3904
  };
3907
3905
  }
3908
- function ti(e) {
3906
+ function ei(e) {
3909
3907
  let t;
3910
3908
  return {
3911
3909
  c() {
@@ -3920,7 +3918,7 @@ function ti(e) {
3920
3918
  }
3921
3919
  };
3922
3920
  }
3923
- function ri(e) {
3921
+ function ti(e) {
3924
3922
  let t, r, n, i = (
3925
3923
  /*$_*/
3926
3924
  e[8]("left") + ""
@@ -3950,7 +3948,7 @@ function ri(e) {
3950
3948
  }
3951
3949
  };
3952
3950
  }
3953
- function ni(e) {
3951
+ function ri(e) {
3954
3952
  let t, r = (
3955
3953
  /*$_*/
3956
3954
  e[8]("starting") + ""
@@ -3983,7 +3981,7 @@ function ni(e) {
3983
3981
  }
3984
3982
  };
3985
3983
  }
3986
- function ii(e) {
3984
+ function ni(e) {
3987
3985
  let t, r = (
3988
3986
  /*$_*/
3989
3987
  e[8]("finished") + ""
@@ -4005,11 +4003,11 @@ function ii(e) {
4005
4003
  }
4006
4004
  };
4007
4005
  }
4008
- function si(e) {
4006
+ function ii(e) {
4009
4007
  let t, r = (
4010
4008
  /*startdate*/
4011
4009
  e[0] && /*enddate*/
4012
- e[1] && ht(e)
4010
+ e[1] && at(e)
4013
4011
  );
4014
4012
  return {
4015
4013
  c() {
@@ -4021,7 +4019,7 @@ function si(e) {
4021
4019
  p(n, [i]) {
4022
4020
  /*startdate*/
4023
4021
  n[0] && /*enddate*/
4024
- n[1] ? r ? r.p(n, i) : (r = ht(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4022
+ n[1] ? r ? r.p(n, i) : (r = at(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4025
4023
  },
4026
4024
  i: w,
4027
4025
  o: w,
@@ -4030,37 +4028,37 @@ function si(e) {
4030
4028
  }
4031
4029
  };
4032
4030
  }
4033
- function oi(e, t, r) {
4031
+ function si(e, t, r) {
4034
4032
  let n, i;
4035
- jt(e, qn, (m) => r(8, i = m));
4033
+ Ft(e, Jn, (m) => r(8, i = m));
4036
4034
  let { startdate: s = "" } = t, { enddate: a = "" } = t, { status: o = "" } = t, { lang: l = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, c, p = "", E = "", T = "";
4037
4035
  const P = () => {
4038
4036
  fetch(f).then((A) => A.json()).then((A) => {
4039
- Object.keys(A).forEach((C) => {
4040
- at(C, A[C]);
4037
+ Object.keys(A).forEach((L) => {
4038
+ st(L, A[L]);
4041
4039
  });
4042
4040
  }).catch((A) => {
4043
4041
  console.log(A);
4044
4042
  });
4045
4043
  };
4046
- Object.keys(ut).forEach((m) => {
4047
- at(m, ut[m]);
4044
+ Object.keys(ot).forEach((m) => {
4045
+ st(m, ot[m]);
4048
4046
  });
4049
- const B = (m) => new Date(m).getTime(), L = (m, A) => (B(A) - B(m)) / (1e3 * 60), v = () => {
4047
+ const B = (m) => new Date(m).getTime(), C = (m, A) => (B(A) - B(m)) / (1e3 * 60), v = () => {
4050
4048
  const m = /* @__PURE__ */ new Date();
4051
- r(4, p = L(m, a)), r(5, E = L(m, s)), r(6, T = d(p));
4049
+ r(4, p = C(m, a)), r(5, E = C(m, s)), r(6, T = d(p));
4052
4050
  }, H = (m) => {
4053
4051
  const A = { month: "long" };
4054
- let C = new Date(m), G = new Intl.DateTimeFormat(l, A).format(C);
4055
- return `${C.getDate()} ${G}, ${C.toLocaleString("en-GB", { hour: "numeric", minute: "numeric" })}, ${C.getUTCFullYear()}`;
4052
+ let L = new Date(m), G = new Intl.DateTimeFormat(l, A).format(L);
4053
+ return `${L.getDate()} ${G}, ${L.toLocaleString("en-GB", { hour: "numeric", minute: "numeric" })}, ${L.getUTCFullYear()}`;
4056
4054
  }, d = (m) => {
4057
- const A = (G, R) => G + " " + i(R), C = (G) => {
4055
+ const A = (G, R) => G + " " + i(R), L = (G) => {
4058
4056
  const R = Math.floor(G);
4059
4057
  return R < 10 ? `0${R}` : `${R}`;
4060
4058
  };
4061
4059
  if (m < 1440) {
4062
- const G = m / 60, R = m % 60, Ut = (R - Math.floor(R)) * 60;
4063
- return [G, R, Ut].map((Ft) => C(Ft)).join(":");
4060
+ const G = m / 60, R = m % 60, Rt = (R - Math.floor(R)) * 60;
4061
+ return [G, R, Rt].map((Dt) => L(Dt)).join(":");
4064
4062
  }
4065
4063
  return A(Math.ceil(m / (60 * 24)), "days");
4066
4064
  }, S = () => {
@@ -4068,8 +4066,8 @@ function oi(e, t, r) {
4068
4066
  m.innerHTML = u, c.appendChild(m);
4069
4067
  }, he = () => {
4070
4068
  let m = new URL(h), A = document.createElement("style");
4071
- fetch(m.href).then((C) => C.text()).then((C) => {
4072
- A.innerHTML = C, setTimeout(
4069
+ fetch(m.href).then((L) => L.text()).then((L) => {
4070
+ A.innerHTML = L, setTimeout(
4073
4071
  () => {
4074
4072
  c.appendChild(A);
4075
4073
  },
@@ -4081,7 +4079,7 @@ function oi(e, t, r) {
4081
4079
  );
4082
4080
  });
4083
4081
  };
4084
- Jt(() => {
4082
+ Zt(() => {
4085
4083
  window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href);
4086
4084
  const m = setInterval(
4087
4085
  () => {
@@ -4091,7 +4089,7 @@ function oi(e, t, r) {
4091
4089
  );
4092
4090
  return () => clearInterval(m);
4093
4091
  });
4094
- function Dt(m) {
4092
+ function $t(m) {
4095
4093
  Ne[m ? "unshift" : "push"](() => {
4096
4094
  c = m, r(3, c);
4097
4095
  });
@@ -4103,7 +4101,7 @@ function oi(e, t, r) {
4103
4101
  19 && r(7, n = () => {
4104
4102
  if (p <= 0)
4105
4103
  return 100;
4106
- const m = L(s, a), A = 100 / m;
4104
+ const m = C(s, a), A = 100 / m;
4107
4105
  return Math.floor((m - p) * A);
4108
4106
  }), e.$$.dirty & /*startdate, enddate, tournamentLeftDays*/
4109
4107
  19 && s && a && v() && d(p), e.$$.dirty & /*lang*/
@@ -4129,17 +4127,17 @@ function oi(e, t, r) {
4129
4127
  u,
4130
4128
  h,
4131
4129
  f,
4132
- Dt
4130
+ $t
4133
4131
  ];
4134
4132
  }
4135
- class ai extends ur {
4133
+ class oi extends or {
4136
4134
  constructor(t) {
4137
- super(), or(
4135
+ super(), ir(
4138
4136
  this,
4139
4137
  t,
4140
- oi,
4141
4138
  si,
4142
- ft,
4139
+ ii,
4140
+ ht,
4143
4141
  {
4144
4142
  startdate: 0,
4145
4143
  enddate: 1,
@@ -4149,7 +4147,7 @@ class ai extends ur {
4149
4147
  clientstylingurl: 14,
4150
4148
  translationurl: 15
4151
4149
  },
4152
- Yn
4150
+ qn
4153
4151
  );
4154
4152
  }
4155
4153
  get startdate() {
@@ -4195,7 +4193,7 @@ class ai extends ur {
4195
4193
  this.$$set({ translationurl: t }), D();
4196
4194
  }
4197
4195
  }
4198
- ar(ai, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4196
+ sr(oi, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4199
4197
  export {
4200
- ai as C
4198
+ oi as C
4201
4199
  };