@everymatrix/casino-tournaments-thumbnail-duration 1.74.3 → 1.74.4

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,17 +1,17 @@
1
- var Xt = Object.defineProperty, zt = Object.defineProperties;
2
- var Wt = Object.getOwnPropertyDescriptors;
3
- var ze = Object.getOwnPropertySymbols;
4
- var Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? Xt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
1
+ var zt = Object.defineProperty, Wt = Object.defineProperties;
2
+ var Zt = Object.getOwnPropertyDescriptors;
3
+ var We = Object.getOwnPropertySymbols;
4
+ var Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? zt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Zt.call(t, r) && He(e, r, t[r]);
8
- if (ze)
9
- for (var r of ze(t))
10
- Qt.call(t, r) && He(e, r, t[r]);
7
+ Qt.call(t, r) && He(e, r, t[r]);
8
+ if (We)
9
+ for (var r of We(t))
10
+ Jt.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, Ze = (e, t) => zt(e, Wt(t));
12
+ }, Qe = (e, t) => Wt(e, Zt(t));
13
13
  var C = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Qe = (e, t, r) => new Promise((n, i) => {
14
+ var Je = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,25 +29,25 @@ var Qe = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function pt(e) {
32
+ function gt(e) {
33
33
  return e();
34
34
  }
35
- function Je() {
35
+ function qe() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ae(e) {
39
- e.forEach(pt);
39
+ e.forEach(gt);
40
40
  }
41
41
  function be(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function gt(e, t) {
44
+ function bt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Jt(e) {
47
+ function qt(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function bt(e, ...t) {
50
+ function yt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,23 +56,23 @@ function bt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function qt(e, t, r) {
60
- e.$$.on_destroy.push(bt(t, r));
59
+ function Yt(e, t, r) {
60
+ e.$$.on_destroy.push(yt(t, r));
61
61
  }
62
- function Yt(e) {
62
+ function Kt(e) {
63
63
  return e && be(e.destroy) ? e.destroy : I;
64
64
  }
65
65
  function N(e, t) {
66
66
  e.appendChild(t);
67
67
  }
68
- function Kt(e, t, r) {
69
- const n = er(e);
68
+ function er(e, t, r) {
69
+ const n = tr(e);
70
70
  if (!n.getElementById(t)) {
71
- const i = w("style");
72
- i.id = t, i.textContent = r, tr(n, i);
71
+ const i = O("style");
72
+ i.id = t, i.textContent = r, rr(n, i);
73
73
  }
74
74
  }
75
- function er(e) {
75
+ function tr(e) {
76
76
  if (!e)
77
77
  return document;
78
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -82,7 +82,7 @@ function er(e) {
82
82
  t
83
83
  ) : e.ownerDocument;
84
84
  }
85
- function tr(e, t) {
85
+ function rr(e, t) {
86
86
  return N(
87
87
  /** @type {Document} */
88
88
  e.head || e,
@@ -95,7 +95,7 @@ function $(e, t, r) {
95
95
  function M(e) {
96
96
  e.parentNode && e.parentNode.removeChild(e);
97
97
  }
98
- function w(e) {
98
+ function O(e) {
99
99
  return document.createElement(e);
100
100
  }
101
101
  function G(e) {
@@ -107,17 +107,17 @@ function re() {
107
107
  function x(e, t, r) {
108
108
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
109
109
  }
110
- function rr(e) {
110
+ function nr(e) {
111
111
  return Array.from(e.childNodes);
112
112
  }
113
113
  function k(e, t) {
114
114
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
115
115
  t);
116
116
  }
117
- function qe(e, t, r, n) {
117
+ function Ye(e, t, r, n) {
118
118
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
119
119
  }
120
- function nr(e) {
120
+ function ir(e) {
121
121
  const t = {};
122
122
  return e.childNodes.forEach(
123
123
  /** @param {Element} node */
@@ -130,20 +130,20 @@ let ie;
130
130
  function ne(e) {
131
131
  ie = e;
132
132
  }
133
- function ir() {
133
+ function sr() {
134
134
  if (!ie)
135
135
  throw new Error("Function called outside component initialization");
136
136
  return ie;
137
137
  }
138
- function sr(e) {
139
- ir().$$.on_mount.push(e);
138
+ function or(e) {
139
+ sr().$$.on_mount.push(e);
140
140
  }
141
- const W = [], we = [];
141
+ const W = [], Oe = [];
142
142
  let Z = [];
143
- const Ye = [], or = /* @__PURE__ */ Promise.resolve();
143
+ const Ke = [], ar = /* @__PURE__ */ Promise.resolve();
144
144
  let Ie = !1;
145
- function ar() {
146
- Ie || (Ie = !0, or.then(D));
145
+ function ur() {
146
+ Ie || (Ie = !0, ar.then(D));
147
147
  }
148
148
  function Le(e) {
149
149
  Z.push(e);
@@ -158,53 +158,53 @@ function D() {
158
158
  try {
159
159
  for (; X < W.length; ) {
160
160
  const t = W[X];
161
- X++, ne(t), ur(t.$$);
161
+ X++, ne(t), hr(t.$$);
162
162
  }
163
163
  } catch (t) {
164
164
  throw W.length = 0, X = 0, t;
165
165
  }
166
- for (ne(null), W.length = 0, X = 0; we.length; )
167
- we.pop()();
166
+ for (ne(null), W.length = 0, X = 0; Oe.length; )
167
+ Oe.pop()();
168
168
  for (let t = 0; t < Z.length; t += 1) {
169
169
  const r = Z[t];
170
170
  Te.has(r) || (Te.add(r), r());
171
171
  }
172
172
  Z.length = 0;
173
173
  } while (W.length);
174
- for (; Ye.length; )
175
- Ye.pop()();
174
+ for (; Ke.length; )
175
+ Ke.pop()();
176
176
  Ie = !1, Te.clear(), ne(e);
177
177
  }
178
- function ur(e) {
178
+ function hr(e) {
179
179
  if (e.fragment !== null) {
180
180
  e.update(), ae(e.before_update);
181
181
  const t = e.dirty;
182
182
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
183
183
  }
184
184
  }
185
- function hr(e) {
185
+ function lr(e) {
186
186
  const t = [], r = [];
187
187
  Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
188
188
  }
189
- const lr = /* @__PURE__ */ new Set();
190
- function fr(e, t) {
191
- e && e.i && (lr.delete(e), e.i(t));
189
+ const fr = /* @__PURE__ */ new Set();
190
+ function cr(e, t) {
191
+ e && e.i && (fr.delete(e), e.i(t));
192
192
  }
193
- function cr(e, t, r) {
193
+ function mr(e, t, r) {
194
194
  const { fragment: n, after_update: i } = e.$$;
195
195
  n && n.m(t, r), Le(() => {
196
- const s = e.$$.on_mount.map(pt).filter(be);
196
+ const s = e.$$.on_mount.map(gt).filter(be);
197
197
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
198
198
  }), i.forEach(Le);
199
199
  }
200
- function mr(e, t) {
200
+ function dr(e, t) {
201
201
  const r = e.$$;
202
- r.fragment !== null && (hr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (lr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
203
  }
204
- function dr(e, t) {
205
- e.$$.dirty[0] === -1 && (W.push(e), ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function pr(e, t) {
205
+ e.$$.dirty[0] === -1 && (W.push(e), ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
206
206
  }
207
- function pr(e, t, r, n, i, s, o = null, a = [-1]) {
207
+ function gr(e, t, r, n, i, s, o = null, a = [-1]) {
208
208
  const h = ie;
209
209
  ne(e);
210
210
  const u = e.$$ = {
@@ -214,7 +214,7 @@ function pr(e, t, r, n, i, s, o = null, a = [-1]) {
214
214
  props: s,
215
215
  update: I,
216
216
  not_equal: i,
217
- bound: Je(),
217
+ bound: qe(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,28 +223,28 @@ function pr(e, t, r, n, i, s, o = null, a = [-1]) {
223
223
  after_update: [],
224
224
  context: new Map(t.context || (h ? h.$$.context : [])),
225
225
  // everything else
226
- callbacks: Je(),
226
+ callbacks: qe(),
227
227
  dirty: a,
228
228
  skip_bound: !1,
229
229
  root: t.target || h.$$.root
230
230
  };
231
231
  o && o(u.root);
232
232
  let l = !1;
233
- if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
233
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
234
234
  const y = d.length ? d[0] : c;
235
- return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && dr(e, f)), c;
236
- }), u.update(), l = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
235
+ return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && pr(e, f)), c;
236
+ }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
237
237
  if (t.hydrate) {
238
- const f = rr(t.target);
238
+ const f = nr(t.target);
239
239
  u.fragment && u.fragment.l(f), f.forEach(M);
240
240
  } else
241
241
  u.fragment && u.fragment.c();
242
- t.intro && fr(e.$$.fragment), cr(e, t.target, t.anchor), D();
242
+ t.intro && cr(e.$$.fragment), mr(e, t.target, t.anchor), D();
243
243
  }
244
244
  ne(h);
245
245
  }
246
- let yt;
247
- typeof HTMLElement == "function" && (yt = class extends HTMLElement {
246
+ let Et;
247
+ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
248
248
  constructor(t, r, n) {
249
249
  super();
250
250
  /** The Svelte component constructor */
@@ -281,14 +281,14 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
281
281
  }
282
282
  }
283
283
  connectedCallback() {
284
- return Qe(this, null, function* () {
284
+ return Je(this, null, function* () {
285
285
  if (this.$$cn = !0, !this.$$c) {
286
286
  let t = function(s) {
287
287
  return () => {
288
288
  let o;
289
289
  return {
290
290
  c: function() {
291
- o = w("slot"), s !== "default" && x(o, "name", s);
291
+ o = O("slot"), s !== "default" && x(o, "name", s);
292
292
  },
293
293
  /**
294
294
  * @param {HTMLElement} target
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
305
305
  };
306
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
307
  return;
308
- const r = {}, n = nr(this);
308
+ const r = {}, n = ir(this);
309
309
  for (const s of this.$$s)
310
310
  s in n && (r[s] = [t(s)]);
311
311
  for (const s of this.attributes) {
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
316
316
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
317
317
  this.$$c = new this.$$ctor({
318
318
  target: this.shadowRoot || this,
319
- props: Ze(We({}, this.$$d), {
319
+ props: Qe(Ze({}, this.$$d), {
320
320
  $$slots: r,
321
321
  $$scope: {
322
322
  ctx: []
@@ -394,8 +394,8 @@ function ce(e, t, r, n) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function gr(e, t, r, n, i, s) {
398
- let o = class extends yt {
397
+ function br(e, t, r, n, i, s) {
398
+ let o = class extends Et {
399
399
  constructor() {
400
400
  super(e, r, i), this.$$p_d = t;
401
401
  }
@@ -425,7 +425,7 @@ function gr(e, t, r, n, i, s) {
425
425
  }), e.element = /** @type {any} */
426
426
  o, o;
427
427
  }
428
- class br {
428
+ class yr {
429
429
  constructor() {
430
430
  /**
431
431
  * ### PRIVATE API
@@ -446,7 +446,7 @@ class br {
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- mr(this, 1), this.$destroy = I;
449
+ dr(this, 1), this.$destroy = I;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -468,13 +468,13 @@ class br {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(t) {
471
- this.$$set && !Jt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !qt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const yr = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yr);
474
+ const Er = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
476
476
  const z = [];
477
- function Er(e, t) {
477
+ function _r(e, t) {
478
478
  return {
479
479
  subscribe: ye(e, t).subscribe
480
480
  };
@@ -483,7 +483,7 @@ function ye(e, t = I) {
483
483
  let r;
484
484
  const n = /* @__PURE__ */ new Set();
485
485
  function i(a) {
486
- if (gt(e, a) && (e = a, r)) {
486
+ if (bt(e, a) && (e = a, r)) {
487
487
  const h = !z.length;
488
488
  for (const u of n)
489
489
  u[1](), z.push(u, e);
@@ -510,7 +510,7 @@ function K(e, t, r) {
510
510
  if (!i.every(Boolean))
511
511
  throw new Error("derived() expects stores as input, got a falsy value");
512
512
  const s = t.length < 2;
513
- return Er(r, (o, a) => {
513
+ return _r(r, (o, a) => {
514
514
  let h = !1;
515
515
  const u = [];
516
516
  let l = 0, f = I;
@@ -521,7 +521,7 @@ function K(e, t, r) {
521
521
  const y = t(n ? u[0] : u, o, a);
522
522
  s ? o(y) : f = be(y) ? y : I;
523
523
  }, d = i.map(
524
- (y, T) => bt(
524
+ (y, T) => yt(
525
525
  y,
526
526
  (A) => {
527
527
  u[T] = A, l &= ~(1 << T), h && c();
@@ -536,35 +536,35 @@ function K(e, t, r) {
536
536
  };
537
537
  });
538
538
  }
539
- function _r(e) {
540
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
539
+ function xr(e) {
540
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
541
541
  }
542
- var xr = function(t) {
543
- return vr(t) && !Hr(t);
542
+ var vr = function(t) {
543
+ return Hr(t) && !Tr(t);
544
544
  };
545
- function vr(e) {
545
+ function Hr(e) {
546
546
  return !!e && typeof e == "object";
547
547
  }
548
- function Hr(e) {
548
+ function Tr(e) {
549
549
  var t = Object.prototype.toString.call(e);
550
- return t === "[object RegExp]" || t === "[object Date]" || Sr(e);
551
- }
552
- var Tr = typeof Symbol == "function" && Symbol.for, Br = Tr ? Symbol.for("react.element") : 60103;
553
- function Sr(e) {
554
- return e.$$typeof === Br;
550
+ return t === "[object RegExp]" || t === "[object Date]" || Ar(e);
555
551
  }
552
+ var Br = typeof Symbol == "function" && Symbol.for, Sr = Br ? Symbol.for("react.element") : 60103;
556
553
  function Ar(e) {
554
+ return e.$$typeof === Sr;
555
+ }
556
+ function Pr(e) {
557
557
  return Array.isArray(e) ? [] : {};
558
558
  }
559
559
  function se(e, t) {
560
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(Ar(e), e, t) : e;
560
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Pr(e), e, t) : e;
561
561
  }
562
- function Pr(e, t, r) {
562
+ function Nr(e, t, r) {
563
563
  return e.concat(t).map(function(n) {
564
564
  return se(n, r);
565
565
  });
566
566
  }
567
- function Nr(e, t) {
567
+ function wr(e, t) {
568
568
  if (!t.customMerge)
569
569
  return Q;
570
570
  var r = t.customMerge(e);
@@ -575,31 +575,31 @@ function Or(e) {
575
575
  return Object.propertyIsEnumerable.call(e, t);
576
576
  }) : [];
577
577
  }
578
- function Ke(e) {
578
+ function et(e) {
579
579
  return Object.keys(e).concat(Or(e));
580
580
  }
581
- function Et(e, t) {
581
+ function _t(e, t) {
582
582
  try {
583
583
  return t in e;
584
584
  } catch (r) {
585
585
  return !1;
586
586
  }
587
587
  }
588
- function wr(e, t) {
589
- return Et(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
588
+ function Ir(e, t) {
589
+ return _t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
590
590
  }
591
- function Ir(e, t, r) {
591
+ function Lr(e, t, r) {
592
592
  var n = {};
593
- return r.isMergeableObject(e) && Ke(e).forEach(function(i) {
593
+ return r.isMergeableObject(e) && et(e).forEach(function(i) {
594
594
  n[i] = se(e[i], r);
595
- }), Ke(t).forEach(function(i) {
596
- wr(e, i) || (Et(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
595
+ }), et(t).forEach(function(i) {
596
+ Ir(e, i) || (_t(e, i) && r.isMergeableObject(t[i]) ? n[i] = wr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
597
597
  }), n;
598
598
  }
599
599
  function Q(e, t, r) {
600
- r = r || {}, r.arrayMerge = r.arrayMerge || Pr, r.isMergeableObject = r.isMergeableObject || xr, r.cloneUnlessOtherwiseSpecified = se;
600
+ r = r || {}, r.arrayMerge = r.arrayMerge || Nr, r.isMergeableObject = r.isMergeableObject || vr, r.cloneUnlessOtherwiseSpecified = se;
601
601
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
602
- return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : se(t, r);
602
+ return s ? n ? r.arrayMerge(e, t, r) : Lr(e, t, r) : se(t, r);
603
603
  }
604
604
  Q.all = function(t, r) {
605
605
  if (!Array.isArray(t))
@@ -608,8 +608,8 @@ Q.all = function(t, r) {
608
608
  return Q(n, i, r);
609
609
  }, {});
610
610
  };
611
- var Lr = Q, Cr = Lr;
612
- const Mr = /* @__PURE__ */ _r(Cr);
611
+ var Cr = Q, Mr = Cr;
612
+ const $r = /* @__PURE__ */ xr(Mr);
613
613
  /*! *****************************************************************************
614
614
  Copyright (c) Microsoft Corporation.
615
615
 
@@ -651,7 +651,7 @@ var E = function() {
651
651
  return t;
652
652
  }, E.apply(this, arguments);
653
653
  };
654
- function $r(e, t) {
654
+ function Rr(e, t) {
655
655
  var r = {};
656
656
  for (var n in e)
657
657
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -667,57 +667,55 @@ function Be(e, t, r) {
667
667
  return e.concat(s || t);
668
668
  }
669
669
  function Se(e, t) {
670
- var r = t && t.cache ? t.cache : kr, n = t && t.serializer ? t.serializer : Gr, i = t && t.strategy ? t.strategy : Dr;
670
+ var r = t && t.cache ? t.cache : kr, n = t && t.serializer ? t.serializer : jr, i = t && t.strategy ? t.strategy : Ur;
671
671
  return i(e, {
672
672
  cache: r,
673
673
  serializer: n
674
674
  });
675
675
  }
676
- function Rr(e) {
676
+ function Dr(e) {
677
677
  return e == null || typeof e == "number" || typeof e == "boolean";
678
678
  }
679
- function _t(e, t, r, n) {
680
- var i = Rr(n) ? n : r(n), s = t.get(i);
679
+ function xt(e, t, r, n) {
680
+ var i = Dr(n) ? n : r(n), s = t.get(i);
681
681
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
682
682
  }
683
- function xt(e, t, r) {
683
+ function vt(e, t, r) {
684
684
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
685
685
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
686
686
  }
687
687
  function ke(e, t, r, n, i) {
688
688
  return r.bind(t, e, n, i);
689
689
  }
690
- function Dr(e, t) {
691
- var r = e.length === 1 ? _t : xt;
692
- return ke(e, this, r, t.cache.create(), t.serializer);
693
- }
694
690
  function Ur(e, t) {
695
- return ke(e, this, xt, t.cache.create(), t.serializer);
691
+ var r = e.length === 1 ? xt : vt;
692
+ return ke(e, this, r, t.cache.create(), t.serializer);
696
693
  }
697
694
  function Fr(e, t) {
698
- return ke(e, this, _t, t.cache.create(), t.serializer);
695
+ return ke(e, this, vt, t.cache.create(), t.serializer);
699
696
  }
700
- var Gr = function() {
697
+ function Gr(e, t) {
698
+ return ke(e, this, xt, t.cache.create(), t.serializer);
699
+ }
700
+ var jr = function() {
701
701
  return JSON.stringify(arguments);
702
- }, jr = (
703
- /** @class */
704
- function() {
705
- function e() {
706
- this.cache = /* @__PURE__ */ Object.create(null);
707
- }
708
- return e.prototype.get = function(t) {
709
- return this.cache[t];
710
- }, e.prototype.set = function(t, r) {
711
- this.cache[t] = r;
712
- }, e;
713
- }()
714
- ), kr = {
702
+ };
703
+ function Ve() {
704
+ this.cache = /* @__PURE__ */ Object.create(null);
705
+ }
706
+ Ve.prototype.get = function(e) {
707
+ return this.cache[e];
708
+ };
709
+ Ve.prototype.set = function(e, t) {
710
+ this.cache[e] = t;
711
+ };
712
+ var kr = {
715
713
  create: function() {
716
- return new jr();
714
+ return new Ve();
717
715
  }
718
716
  }, Ae = {
719
- variadic: Ur,
720
- monadic: Fr
717
+ variadic: Fr,
718
+ monadic: Gr
721
719
  }, g;
722
720
  (function(e) {
723
721
  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";
@@ -730,40 +728,40 @@ var J;
730
728
  (function(e) {
731
729
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
732
730
  })(J || (J = {}));
733
- function et(e) {
731
+ function tt(e) {
734
732
  return e.type === v.literal;
735
733
  }
736
734
  function Vr(e) {
737
735
  return e.type === v.argument;
738
736
  }
739
- function vt(e) {
737
+ function Ht(e) {
740
738
  return e.type === v.number;
741
739
  }
742
- function Ht(e) {
740
+ function Tt(e) {
743
741
  return e.type === v.date;
744
742
  }
745
- function Tt(e) {
743
+ function Bt(e) {
746
744
  return e.type === v.time;
747
745
  }
748
- function Bt(e) {
746
+ function St(e) {
749
747
  return e.type === v.select;
750
748
  }
751
- function St(e) {
749
+ function At(e) {
752
750
  return e.type === v.plural;
753
751
  }
754
752
  function Xr(e) {
755
753
  return e.type === v.pound;
756
754
  }
757
- function At(e) {
755
+ function Pt(e) {
758
756
  return e.type === v.tag;
759
757
  }
760
- function Pt(e) {
758
+ function Nt(e) {
761
759
  return !!(e && typeof e == "object" && e.type === J.number);
762
760
  }
763
761
  function Me(e) {
764
762
  return !!(e && typeof e == "object" && e.type === J.dateTime);
765
763
  }
766
- var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zr = /(?:[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;
764
+ var wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zr = /(?:[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;
767
765
  function Wr(e) {
768
766
  var t = {};
769
767
  return e.replace(zr, function(r) {
@@ -877,14 +875,14 @@ function Qr(e) {
877
875
  function Jr(e) {
878
876
  return e.replace(/^(.*?)-/, "");
879
877
  }
880
- var tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ot = /^(@+)?(\+|#+)?[rs]?$/g, qr = /(\*)(0+)|(#+)(0+)|(0+)/g, wt = /^(0+)$/;
881
- function rt(e) {
878
+ var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ot = /^(@+)?(\+|#+)?[rs]?$/g, qr = /(\*)(0+)|(#+)(0+)|(0+)/g, It = /^(0+)$/;
879
+ function nt(e) {
882
880
  var t = {};
883
881
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ot, function(r, n, i) {
884
882
  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)), "";
885
883
  }), t;
886
884
  }
887
- function It(e) {
885
+ function Lt(e) {
888
886
  switch (e) {
889
887
  case "sign-auto":
890
888
  return {
@@ -932,14 +930,14 @@ function Yr(e) {
932
930
  notation: "scientific"
933
931
  }, e = e.slice(1)), t) {
934
932
  var r = e.slice(0, 2);
935
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wt.test(e))
933
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !It.test(e))
936
934
  throw new Error("Malformed concise eng/scientific notation");
937
935
  t.minimumIntegerDigits = e.length;
938
936
  }
939
937
  return t;
940
938
  }
941
- function nt(e) {
942
- var t = {}, r = It(e);
939
+ function it(e) {
940
+ var t = {}, r = Lt(e);
943
941
  return r || t;
944
942
  }
945
943
  function Kr(e) {
@@ -978,12 +976,12 @@ function Kr(e) {
978
976
  continue;
979
977
  case "scientific":
980
978
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
981
- return E(E({}, h), nt(u));
979
+ return E(E({}, h), it(u));
982
980
  }, {}));
983
981
  continue;
984
982
  case "engineering":
985
983
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
986
- return E(E({}, h), nt(u));
984
+ return E(E({}, h), it(u));
987
985
  }, {}));
988
986
  continue;
989
987
  case "notation-simple":
@@ -1041,25 +1039,25 @@ function Kr(e) {
1041
1039
  });
1042
1040
  continue;
1043
1041
  }
1044
- if (wt.test(i.stem)) {
1042
+ if (It.test(i.stem)) {
1045
1043
  t.minimumIntegerDigits = i.stem.length;
1046
1044
  continue;
1047
1045
  }
1048
- if (tt.test(i.stem)) {
1046
+ if (rt.test(i.stem)) {
1049
1047
  if (i.options.length > 1)
1050
1048
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1051
- i.stem.replace(tt, function(h, u, l, f, c, d) {
1049
+ i.stem.replace(rt, function(h, u, l, f, c, d) {
1052
1050
  return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1053
1051
  });
1054
1052
  var s = i.options[0];
1055
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), rt(s)));
1053
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), nt(s)));
1056
1054
  continue;
1057
1055
  }
1058
1056
  if (Ot.test(i.stem)) {
1059
- t = E(E({}, t), rt(i.stem));
1057
+ t = E(E({}, t), nt(i.stem));
1060
1058
  continue;
1061
1059
  }
1062
- var o = It(i.stem);
1060
+ var o = Lt(i.stem);
1063
1061
  o && (t = E(E({}, t), o));
1064
1062
  var a = Yr(i.stem);
1065
1063
  a && (t = E(E({}, t), a));
@@ -2519,7 +2517,7 @@ function tn(e) {
2519
2517
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2520
2518
  return i[0];
2521
2519
  }
2522
- var Pe, rn = new RegExp("^".concat(Nt.source, "*")), nn = new RegExp("".concat(Nt.source, "*$"));
2520
+ var Pe, rn = new RegExp("^".concat(wt.source, "*")), nn = new RegExp("".concat(wt.source, "*$"));
2523
2521
  function b(e, t) {
2524
2522
  return { start: e, end: t };
2525
2523
  }
@@ -2527,12 +2525,12 @@ var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), on = !!String
2527
2525
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2528
2526
  }, $e = !0;
2529
2527
  try {
2530
- var mn = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2528
+ var mn = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2531
2529
  $e = ((Pe = mn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2532
2530
  } catch (e) {
2533
2531
  $e = !1;
2534
2532
  }
2535
- var it = sn ? (
2533
+ var st = sn ? (
2536
2534
  // Native
2537
2535
  function(t, r, n) {
2538
2536
  return t.startsWith(r, n);
@@ -2554,7 +2552,7 @@ var it = sn ? (
2554
2552
  }
2555
2553
  return n;
2556
2554
  }
2557
- ), st = (
2555
+ ), ot = (
2558
2556
  // native
2559
2557
  an ? Object.fromEntries : (
2560
2558
  // Ponyfill
@@ -2566,7 +2564,7 @@ var it = sn ? (
2566
2564
  return r;
2567
2565
  }
2568
2566
  )
2569
- ), Lt = un ? (
2567
+ ), Ct = un ? (
2570
2568
  // Native
2571
2569
  function(t, r) {
2572
2570
  return t.codePointAt(r);
@@ -2601,23 +2599,23 @@ var it = sn ? (
2601
2599
  return t.replace(nn, "");
2602
2600
  }
2603
2601
  );
2604
- function Ct(e, t) {
2602
+ function Mt(e, t) {
2605
2603
  return new RegExp(e, t);
2606
2604
  }
2607
2605
  var De;
2608
2606
  if ($e) {
2609
- var ot = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2607
+ var at = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2610
2608
  De = function(t, r) {
2611
2609
  var n;
2612
- ot.lastIndex = r;
2613
- var i = ot.exec(t);
2610
+ at.lastIndex = r;
2611
+ var i = at.exec(t);
2614
2612
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2615
2613
  };
2616
2614
  } else
2617
2615
  De = function(t, r) {
2618
2616
  for (var n = []; ; ) {
2619
- var i = Lt(t, r);
2620
- if (i === void 0 || Mt(i) || En(i))
2617
+ var i = Ct(t, r);
2618
+ if (i === void 0 || $t(i) || En(i))
2621
2619
  break;
2622
2620
  n.push(i), r += i >= 65536 ? 2 : 1;
2623
2621
  }
@@ -2831,7 +2829,7 @@ var gn = (
2831
2829
  if (y.err)
2832
2830
  return y;
2833
2831
  var T = b(i, this.clonePosition());
2834
- if (u && it(u == null ? void 0 : u.style, "::", 0)) {
2832
+ if (u && st(u == null ? void 0 : u.style, "::", 0)) {
2835
2833
  var A = dn(u.style.slice(2));
2836
2834
  if (a === "number") {
2837
2835
  var f = this.parseNumberSkeletonFromString(A, u.styleLocation);
@@ -2894,7 +2892,7 @@ var gn = (
2894
2892
  val: {
2895
2893
  type: v.select,
2896
2894
  value: n,
2897
- options: st(B.val),
2895
+ options: ot(B.val),
2898
2896
  location: le
2899
2897
  },
2900
2898
  err: null
@@ -2902,7 +2900,7 @@ var gn = (
2902
2900
  val: {
2903
2901
  type: v.plural,
2904
2902
  value: n,
2905
- options: st(B.val),
2903
+ options: ot(B.val),
2906
2904
  offset: p,
2907
2905
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2908
2906
  location: le
@@ -3025,7 +3023,7 @@ var gn = (
3025
3023
  var t = this.position.offset;
3026
3024
  if (t >= this.message.length)
3027
3025
  throw Error("out of bound");
3028
- var r = Lt(this.message, t);
3026
+ var r = Ct(this.message, t);
3029
3027
  if (r === void 0)
3030
3028
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3031
3029
  return r;
@@ -3044,7 +3042,7 @@ var gn = (
3044
3042
  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);
3045
3043
  }
3046
3044
  }, e.prototype.bumpIf = function(t) {
3047
- if (it(this.message, t, this.offset())) {
3045
+ if (st(this.message, t, this.offset())) {
3048
3046
  for (var r = 0; r < t.length; r++)
3049
3047
  this.bump();
3050
3048
  return !0;
@@ -3066,7 +3064,7 @@ var gn = (
3066
3064
  break;
3067
3065
  }
3068
3066
  }, e.prototype.bumpSpace = function() {
3069
- for (; !this.isEOF() && Mt(this.char()); )
3067
+ for (; !this.isEOF() && $t(this.char()); )
3070
3068
  this.bump();
3071
3069
  }, e.prototype.peek = function() {
3072
3070
  if (this.isEOF())
@@ -3085,7 +3083,7 @@ function bn(e) {
3085
3083
  function yn(e) {
3086
3084
  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;
3087
3085
  }
3088
- function Mt(e) {
3086
+ function $t(e) {
3089
3087
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3090
3088
  }
3091
3089
  function En(e) {
@@ -3093,11 +3091,11 @@ function En(e) {
3093
3091
  }
3094
3092
  function Fe(e) {
3095
3093
  e.forEach(function(t) {
3096
- if (delete t.location, Bt(t) || St(t))
3094
+ if (delete t.location, St(t) || At(t))
3097
3095
  for (var r in t.options)
3098
3096
  delete t.options[r].location, Fe(t.options[r].value);
3099
3097
  else
3100
- vt(t) && Pt(t.style) || (Ht(t) || Tt(t)) && Me(t.style) ? delete t.style.location : At(t) && Fe(t.children);
3098
+ Ht(t) && Nt(t.style) || (Tt(t) || Bt(t)) && Me(t.style) ? delete t.style.location : Pt(t) && Fe(t.children);
3101
3099
  });
3102
3100
  }
3103
3101
  function _n(e, t) {
@@ -3125,7 +3123,7 @@ var _e = (
3125
3123
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3126
3124
  }, t;
3127
3125
  }(Error)
3128
- ), at = (
3126
+ ), ut = (
3129
3127
  /** @class */
3130
3128
  function(e) {
3131
3129
  Ee(t, e);
@@ -3166,7 +3164,7 @@ function Tn(e) {
3166
3164
  return typeof e == "function";
3167
3165
  }
3168
3166
  function me(e, t, r, n, i, s, o) {
3169
- if (e.length === 1 && et(e[0]))
3167
+ if (e.length === 1 && tt(e[0]))
3170
3168
  return [
3171
3169
  {
3172
3170
  type: P.literal,
@@ -3175,7 +3173,7 @@ function me(e, t, r, n, i, s, o) {
3175
3173
  ];
3176
3174
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3177
3175
  var l = u[h];
3178
- if (et(l)) {
3176
+ if (tt(l)) {
3179
3177
  a.push({
3180
3178
  type: P.literal,
3181
3179
  value: l.value
@@ -3200,7 +3198,7 @@ function me(e, t, r, n, i, s, o) {
3200
3198
  });
3201
3199
  continue;
3202
3200
  }
3203
- if (Ht(l)) {
3201
+ if (Tt(l)) {
3204
3202
  var d = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
3205
3203
  a.push({
3206
3204
  type: P.literal,
@@ -3208,7 +3206,7 @@ function me(e, t, r, n, i, s, o) {
3208
3206
  });
3209
3207
  continue;
3210
3208
  }
3211
- if (Tt(l)) {
3209
+ if (Bt(l)) {
3212
3210
  var d = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
3213
3211
  a.push({
3214
3212
  type: P.literal,
@@ -3216,15 +3214,15 @@ function me(e, t, r, n, i, s, o) {
3216
3214
  });
3217
3215
  continue;
3218
3216
  }
3219
- if (vt(l)) {
3220
- var d = typeof l.style == "string" ? n.number[l.style] : Pt(l.style) ? l.style.parsedOptions : void 0;
3217
+ if (Ht(l)) {
3218
+ var d = typeof l.style == "string" ? n.number[l.style] : Nt(l.style) ? l.style.parsedOptions : void 0;
3221
3219
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3222
3220
  type: P.literal,
3223
3221
  value: r.getNumberFormat(t, d).format(c)
3224
3222
  });
3225
3223
  continue;
3226
3224
  }
3227
- if (At(l)) {
3225
+ if (Pt(l)) {
3228
3226
  var y = l.children, T = l.value, A = i[T];
3229
3227
  if (!Tn(A))
3230
3228
  throw new xn(T, "function", o);
@@ -3238,14 +3236,14 @@ function me(e, t, r, n, i, s, o) {
3238
3236
  };
3239
3237
  }));
3240
3238
  }
3241
- if (Bt(l)) {
3239
+ if (St(l)) {
3242
3240
  var H = l.options[c] || l.options.other;
3243
3241
  if (!H)
3244
- throw new at(l.value, c, Object.keys(l.options), o);
3242
+ throw new ut(l.value, c, Object.keys(l.options), o);
3245
3243
  a.push.apply(a, me(H.value, t, r, n, i));
3246
3244
  continue;
3247
3245
  }
3248
- if (St(l)) {
3246
+ if (At(l)) {
3249
3247
  var H = l.options["=".concat(c)];
3250
3248
  if (!H) {
3251
3249
  if (!Intl.PluralRules)
@@ -3256,7 +3254,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3256
3254
  H = l.options[_] || l.options.other;
3257
3255
  }
3258
3256
  if (!H)
3259
- throw new at(l.value, c, Object.keys(l.options), o);
3257
+ throw new ut(l.value, c, Object.keys(l.options), o);
3260
3258
  a.push.apply(a, me(H.value, t, r, n, i, c - (l.offset || 0)));
3261
3259
  continue;
3262
3260
  }
@@ -3351,7 +3349,7 @@ var Pn = (
3351
3349
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3352
3350
  var o = i || {};
3353
3351
  o.formatters;
3354
- var a = $r(o, ["formatters"]);
3352
+ var a = Rr(o, ["formatters"]);
3355
3353
  this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3356
3354
  } else
3357
3355
  this.ast = t;
@@ -3452,7 +3450,7 @@ function Nn(e, t) {
3452
3450
  n = void 0;
3453
3451
  return n;
3454
3452
  }
3455
- const F = {}, On = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), $t = (e, t) => {
3453
+ const F = {}, wn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), Rt = (e, t) => {
3456
3454
  if (t == null)
3457
3455
  return;
3458
3456
  if (t in F && e in F[t])
@@ -3461,21 +3459,21 @@ const F = {}, On = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][
3461
3459
  for (let n = 0; n < r.length; n++) {
3462
3460
  const i = r[n], s = In(i, e);
3463
3461
  if (s)
3464
- return On(e, t, s);
3462
+ return wn(e, t, s);
3465
3463
  }
3466
3464
  };
3467
- let Ve;
3465
+ let Xe;
3468
3466
  const ue = ye({});
3469
- function wn(e) {
3470
- return Ve[e] || null;
3467
+ function On(e) {
3468
+ return Xe[e] || null;
3471
3469
  }
3472
- function Rt(e) {
3473
- return e in Ve;
3470
+ function Dt(e) {
3471
+ return e in Xe;
3474
3472
  }
3475
3473
  function In(e, t) {
3476
- if (!Rt(e))
3474
+ if (!Dt(e))
3477
3475
  return null;
3478
- const r = wn(e);
3476
+ const r = On(e);
3479
3477
  return Nn(r, t);
3480
3478
  }
3481
3479
  function Ln(e) {
@@ -3484,28 +3482,28 @@ function Ln(e) {
3484
3482
  const t = xe(e);
3485
3483
  for (let r = 0; r < t.length; r++) {
3486
3484
  const n = t[r];
3487
- if (Rt(n))
3485
+ if (Dt(n))
3488
3486
  return n;
3489
3487
  }
3490
3488
  }
3491
- function Dt(e, ...t) {
3492
- delete F[e], ue.update((r) => (r[e] = Mr.all([r[e] || {}, ...t]), r));
3489
+ function Ut(e, ...t) {
3490
+ delete F[e], ue.update((r) => (r[e] = $r.all([r[e] || {}, ...t]), r));
3493
3491
  }
3494
3492
  K(
3495
3493
  [ue],
3496
3494
  ([e]) => Object.keys(e)
3497
3495
  );
3498
- ue.subscribe((e) => Ve = e);
3496
+ ue.subscribe((e) => Xe = e);
3499
3497
  const de = {};
3500
3498
  function Cn(e, t) {
3501
3499
  de[e].delete(t), de[e].size === 0 && delete de[e];
3502
3500
  }
3503
- function Ut(e) {
3501
+ function Ft(e) {
3504
3502
  return de[e];
3505
3503
  }
3506
3504
  function Mn(e) {
3507
3505
  return xe(e).map((t) => {
3508
- const r = Ut(t);
3506
+ const r = Ft(t);
3509
3507
  return [t, r ? [...r] : []];
3510
3508
  }).filter(([, t]) => t.length > 0);
3511
3509
  }
@@ -3513,17 +3511,17 @@ function Ge(e) {
3513
3511
  return e == null ? !1 : xe(e).some(
3514
3512
  (t) => {
3515
3513
  var r;
3516
- return (r = Ut(t)) == null ? void 0 : r.size;
3514
+ return (r = Ft(t)) == null ? void 0 : r.size;
3517
3515
  }
3518
3516
  );
3519
3517
  }
3520
3518
  function $n(e, t) {
3521
3519
  return Promise.all(
3522
3520
  t.map((n) => (Cn(e, n), n().then((i) => i.default || i)))
3523
- ).then((n) => Dt(e, ...n));
3521
+ ).then((n) => Ut(e, ...n));
3524
3522
  }
3525
3523
  const te = {};
3526
- function Ft(e) {
3524
+ function Gt(e) {
3527
3525
  if (!Ge(e))
3528
3526
  return e in te ? te[e] : Promise.resolve();
3529
3527
  const t = Mn(e);
@@ -3533,7 +3531,7 @@ function Ft(e) {
3533
3531
  )
3534
3532
  ).then(() => {
3535
3533
  if (Ge(e))
3536
- return Ft(e);
3534
+ return Gt(e);
3537
3535
  delete te[e];
3538
3536
  }), te[e];
3539
3537
  }
@@ -3577,23 +3575,23 @@ const Rn = {
3577
3575
  function Y() {
3578
3576
  return Un;
3579
3577
  }
3580
- const Oe = ye(!1);
3581
- var Fn = Object.defineProperty, Gn = Object.defineProperties, jn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Vn = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
3582
- for (var r in t)
3583
- kn.call(t, r) && ht(e, r, t[r]);
3584
- if (ut)
3585
- for (var r of ut(t))
3586
- Vn.call(t, r) && ht(e, r, t[r]);
3578
+ const we = ye(!1);
3579
+ var Fn = Object.defineProperty, Gn = Object.defineProperties, jn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Vn = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
3580
+ for (var r in t || (t = {}))
3581
+ kn.call(t, r) && lt(e, r, t[r]);
3582
+ if (ht)
3583
+ for (var r of ht(t))
3584
+ Vn.call(t, r) && lt(e, r, t[r]);
3587
3585
  return e;
3588
3586
  }, zn = (e, t) => Gn(e, jn(t));
3589
3587
  let je;
3590
3588
  const pe = ye(null);
3591
- function lt(e) {
3589
+ function ft(e) {
3592
3590
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3593
3591
  }
3594
3592
  function xe(e, t = Y().fallbackLocale) {
3595
- const r = lt(e);
3596
- return t ? [.../* @__PURE__ */ new Set([...r, ...lt(t)])] : r;
3593
+ const r = ft(e);
3594
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
3597
3595
  }
3598
3596
  function V() {
3599
3597
  return je != null ? je : void 0;
@@ -3606,12 +3604,12 @@ const Wn = (e) => {
3606
3604
  const { loadingDelay: t } = Y();
3607
3605
  let r;
3608
3606
  return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
3609
- () => Oe.set(!0),
3607
+ () => we.set(!0),
3610
3608
  t
3611
- ) : Oe.set(!0), Ft(e).then(() => {
3609
+ ) : we.set(!0), Gt(e).then(() => {
3612
3610
  pe.set(e);
3613
3611
  }).finally(() => {
3614
- clearTimeout(r), Oe.set(!1);
3612
+ clearTimeout(r), we.set(!1);
3615
3613
  });
3616
3614
  }
3617
3615
  return pe.set(e);
@@ -3624,20 +3622,20 @@ const Wn = (e) => {
3624
3622
  return i in t ? t[i] : t[i] = e(n);
3625
3623
  };
3626
3624
  };
3627
- var Zn = Object.defineProperty, ge = Object.getOwnPropertySymbols, Gt = Object.prototype.hasOwnProperty, jt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
3625
+ var Zn = Object.defineProperty, ge = Object.getOwnPropertySymbols, jt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3628
3626
  for (var r in t || (t = {}))
3629
- Gt.call(t, r) && ft(e, r, t[r]);
3627
+ jt.call(t, r) && ct(e, r, t[r]);
3630
3628
  if (ge)
3631
3629
  for (var r of ge(t))
3632
- jt.call(t, r) && ft(e, r, t[r]);
3630
+ kt.call(t, r) && ct(e, r, t[r]);
3633
3631
  return e;
3634
3632
  }, ee = (e, t) => {
3635
3633
  var r = {};
3636
3634
  for (var n in e)
3637
- Gt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3635
+ jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3638
3636
  if (e != null && ge)
3639
3637
  for (var n of ge(e))
3640
- t.indexOf(n) < 0 && jt.call(e, n) && (r[n] = e[n]);
3638
+ t.indexOf(n) < 0 && kt.call(e, n) && (r[n] = e[n]);
3641
3639
  return r;
3642
3640
  };
3643
3641
  const oe = (e, t) => {
@@ -3674,21 +3672,21 @@ const oe = (e, t) => {
3674
3672
  } = t, n = ee(t, [
3675
3673
  "locale"
3676
3674
  ]);
3677
- return Qn(Xe({ locale: r }, n));
3675
+ return Qn(ze({ locale: r }, n));
3678
3676
  }, Kn = (e = {}) => {
3679
3677
  var t = e, {
3680
3678
  locale: r = V()
3681
3679
  } = t, n = ee(t, [
3682
3680
  "locale"
3683
3681
  ]);
3684
- return Jn(Xe({ locale: r }, n));
3682
+ return Jn(ze({ locale: r }, n));
3685
3683
  }, ei = (e = {}) => {
3686
3684
  var t = e, {
3687
3685
  locale: r = V()
3688
3686
  } = t, n = ee(t, [
3689
3687
  "locale"
3690
3688
  ]);
3691
- return qn(Xe({ locale: r }, n));
3689
+ return qn(ze({ locale: r }, n));
3692
3690
  }, ti = ve(
3693
3691
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3694
3692
  (e, t = V()) => new Pn(e, t, Y().formats, {
@@ -3707,7 +3705,7 @@ const oe = (e, t) => {
3707
3705
  throw new Error(
3708
3706
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3709
3707
  );
3710
- let l = $t(e, h);
3708
+ let l = Rt(e, h);
3711
3709
  if (!l)
3712
3710
  l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3713
3711
  else if (typeof l != "string")
@@ -3726,15 +3724,15 @@ const oe = (e, t) => {
3726
3724
  );
3727
3725
  }
3728
3726
  return f;
3729
- }, ni = (e, t) => ei(t).format(e), ii = (e, t) => Kn(t).format(e), si = (e, t) => Yn(t).format(e), oi = (e, t = V()) => $t(e, t), ai = K([he, ue], () => ri);
3727
+ }, ni = (e, t) => ei(t).format(e), ii = (e, t) => Kn(t).format(e), si = (e, t) => Yn(t).format(e), oi = (e, t = V()) => Rt(e, t), ai = K([he, ue], () => ri);
3730
3728
  K([he], () => ni);
3731
3729
  K([he], () => ii);
3732
3730
  K([he], () => si);
3733
3731
  K([he, ue], () => oi);
3734
- function ct(e, t) {
3735
- Dt(e, t);
3732
+ function mt(e, t) {
3733
+ Ut(e, t);
3736
3734
  }
3737
- const mt = {
3735
+ const dt = {
3738
3736
  en: {
3739
3737
  finished: "Finished",
3740
3738
  starting: "Starting in ",
@@ -3848,9 +3846,9 @@ function li(e, t, r) {
3848
3846
  }
3849
3847
  }
3850
3848
  function fi(e) {
3851
- Kt(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)}");
3849
+ er(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)}");
3852
3850
  }
3853
- function dt(e) {
3851
+ function pt(e) {
3854
3852
  let t, r, n = (
3855
3853
  /*formatDate*/
3856
3854
  e[10](
@@ -3898,10 +3896,10 @@ function dt(e) {
3898
3896
  let H = L(e), _ = H && H(e);
3899
3897
  return {
3900
3898
  c() {
3901
- t = w("div"), r = w("div"), i = G(n), s = re(), o = w("div"), h = G(a), u = re(), l = w("div"), f = w("div"), S.c(), c = re(), _ && _.c(), x(r, "class", "StartDate"), x(r, "part", "StartDate"), x(o, "class", "EndDate"), x(o, "part", "EndDate"), x(t, "class", "TournamentDates"), x(t, "part", "TournamentDates"), x(f, "class", "ProgressBar"), x(f, "part", "ProgressBar"), x(l, "class", "ProgressBarWrapper"), x(l, "part", "ProgressBarWrapper");
3899
+ t = O("div"), r = O("div"), i = G(n), s = re(), o = O("div"), h = G(a), u = re(), l = O("div"), f = O("div"), S.c(), c = re(), _ && _.c(), x(r, "class", "StartDate"), x(r, "part", "StartDate"), x(o, "class", "EndDate"), x(o, "part", "EndDate"), x(t, "class", "TournamentDates"), x(t, "part", "TournamentDates"), x(f, "class", "ProgressBar"), x(f, "part", "ProgressBar"), x(l, "class", "ProgressBarWrapper"), x(l, "part", "ProgressBarWrapper");
3902
3900
  },
3903
3901
  m(p, B) {
3904
- $(p, t, B), N(t, r), N(r, i), N(t, s), N(t, o), N(o, h), $(p, u, B), $(p, l, B), N(l, f), S.m(f, null), N(f, c), _ && _.m(f, null), d || (y = Yt(
3902
+ $(p, t, B), N(t, r), N(r, i), N(t, s), N(t, o), N(o, h), $(p, u, B), $(p, l, B), N(l, f), S.m(f, null), N(f, c), _ && _.m(f, null), d || (y = Kt(
3905
3903
  /*getDuration*/
3906
3904
  e[9].call(null, l)
3907
3905
  ), d = !0);
@@ -3928,7 +3926,7 @@ function ci(e) {
3928
3926
  let t;
3929
3927
  return {
3930
3928
  c() {
3931
- t = w("div"), x(t, "class", "ProgressBarFill"), x(t, "part", "ProgressBarFill"), qe(
3929
+ t = O("div"), x(t, "class", "ProgressBarFill"), x(t, "part", "ProgressBarFill"), Ye(
3932
3930
  t,
3933
3931
  "width",
3934
3932
  /*getProgress*/
@@ -3940,7 +3938,7 @@ function ci(e) {
3940
3938
  },
3941
3939
  p(r, n) {
3942
3940
  n & /*getProgress*/
3943
- 128 && qe(
3941
+ 128 && Ye(
3944
3942
  t,
3945
3943
  "width",
3946
3944
  /*getProgress*/
@@ -3956,7 +3954,7 @@ function mi(e) {
3956
3954
  let t;
3957
3955
  return {
3958
3956
  c() {
3959
- t = w("div"), x(t, "class", "ProgressBarFillStarting"), x(t, "part", "ProgressBarFillStarting");
3957
+ t = O("div"), x(t, "class", "ProgressBarFillStarting"), x(t, "part", "ProgressBarFillStarting");
3960
3958
  },
3961
3959
  m(r, n) {
3962
3960
  $(r, t, n);
@@ -3971,7 +3969,7 @@ function di(e) {
3971
3969
  let t;
3972
3970
  return {
3973
3971
  c() {
3974
- t = w("div"), x(t, "class", "ProgressBarFillEnd"), x(t, "part", "ProgressBarFillEnd");
3972
+ t = O("div"), x(t, "class", "ProgressBarFillEnd"), x(t, "part", "ProgressBarFillEnd");
3975
3973
  },
3976
3974
  m(r, n) {
3977
3975
  $(r, t, n);
@@ -3989,7 +3987,7 @@ function pi(e) {
3989
3987
  ), s;
3990
3988
  return {
3991
3989
  c() {
3992
- t = w("div"), r = G(
3990
+ t = O("div"), r = G(
3993
3991
  /*showRemain*/
3994
3992
  e[6]
3995
3993
  ), n = re(), s = G(i), x(t, "class", "Remaining"), x(t, "part", "Remaining");
@@ -4025,7 +4023,7 @@ function gi(e) {
4025
4023
  ), o;
4026
4024
  return {
4027
4025
  c() {
4028
- t = w("div"), n = G(r), i = re(), o = G(s), x(t, "class", "Remaining"), x(t, "part", "Remaining");
4026
+ t = O("div"), n = G(r), i = re(), o = G(s), x(t, "class", "Remaining"), x(t, "part", "Remaining");
4029
4027
  },
4030
4028
  m(a, h) {
4031
4029
  $(a, t, h), N(t, n), N(t, i), N(t, o);
@@ -4052,7 +4050,7 @@ function bi(e) {
4052
4050
  ), n;
4053
4051
  return {
4054
4052
  c() {
4055
- t = w("div"), n = G(r), x(t, "class", "Finished"), x(t, "part", "Finished");
4053
+ t = O("div"), n = G(r), x(t, "class", "Finished"), x(t, "part", "Finished");
4056
4054
  },
4057
4055
  m(i, s) {
4058
4056
  $(i, t, s), N(t, n);
@@ -4071,11 +4069,11 @@ function yi(e) {
4071
4069
  let t, r = (
4072
4070
  /*startdate*/
4073
4071
  e[0] && /*enddate*/
4074
- e[1] && dt(e)
4072
+ e[1] && pt(e)
4075
4073
  );
4076
4074
  return {
4077
4075
  c() {
4078
- t = w("div"), r && r.c(), x(t, "class", "TournamentDuration"), x(t, "part", "TournamentDuration");
4076
+ t = O("div"), r && r.c(), x(t, "class", "TournamentDuration"), x(t, "part", "TournamentDuration");
4079
4077
  },
4080
4078
  m(n, i) {
4081
4079
  $(n, t, i), r && r.m(t, null), e[17](t);
@@ -4083,7 +4081,7 @@ function yi(e) {
4083
4081
  p(n, [i]) {
4084
4082
  /*startdate*/
4085
4083
  n[0] && /*enddate*/
4086
- n[1] ? r ? r.p(n, i) : (r = dt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4084
+ n[1] ? r ? r.p(n, i) : (r = pt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4087
4085
  },
4088
4086
  i: I,
4089
4087
  o: I,
@@ -4094,39 +4092,39 @@ function yi(e) {
4094
4092
  }
4095
4093
  function Ei(e, t, r) {
4096
4094
  let n, i;
4097
- qt(e, ai, (m) => r(8, i = m));
4095
+ Yt(e, ai, (m) => r(8, i = m));
4098
4096
  let { startdate: s = "" } = t, { enddate: o = "" } = t, { status: a = "" } = t, { lang: h = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: c } = t, d, y = "", T = "", A = "";
4099
4097
  const S = () => {
4100
- fetch(f).then((O) => O.json()).then((O) => {
4101
- Object.keys(O).forEach((U) => {
4102
- ct(U, O[U]);
4098
+ fetch(f).then((w) => w.json()).then((w) => {
4099
+ Object.keys(w).forEach((U) => {
4100
+ mt(U, w[U]);
4103
4101
  });
4104
- }).catch((O) => {
4105
- console.log(O);
4102
+ }).catch((w) => {
4103
+ console.log(w);
4106
4104
  });
4107
4105
  };
4108
- Object.keys(mt).forEach((m) => {
4109
- ct(m, mt[m]);
4106
+ Object.keys(dt).forEach((m) => {
4107
+ mt(m, dt[m]);
4110
4108
  });
4111
- const L = (m) => new Date(m).getTime(), H = (m, O) => (L(O) - L(m)) / (1e3 * 60), _ = () => {
4109
+ const L = (m) => new Date(m).getTime(), H = (m, w) => (L(w) - L(m)) / (1e3 * 60), _ = () => {
4112
4110
  const m = /* @__PURE__ */ new Date();
4113
4111
  r(4, y = H(m, o)), r(5, T = H(m, s)), r(6, A = B(y));
4114
4112
  }, p = (m) => {
4115
- const O = { month: "long" };
4116
- let U = new Date(m), j = new Intl.DateTimeFormat(h, O).format(U);
4113
+ const w = { month: "long" };
4114
+ let U = new Date(m), j = new Intl.DateTimeFormat(h, w).format(U);
4117
4115
  return `${U.getDate()} ${j}, ${U.toLocaleString("en-GB", { hour: "numeric", minute: "numeric" })}, ${U.getUTCFullYear()}`;
4118
4116
  }, B = (m) => {
4119
- const O = (j, R) => j + " " + i(R), U = (j) => {
4117
+ const w = (j, R) => j + " " + i(R), U = (j) => {
4120
4118
  const R = Math.floor(j);
4121
4119
  return R < 10 ? `0${R}` : `${R}`;
4122
4120
  };
4123
4121
  if (m < 1440) {
4124
- const j = m / 60, R = m % 60, kt = (R - Math.floor(R)) * 60;
4125
- return [j, R, kt].map((Vt) => U(Vt)).join(":");
4122
+ const j = m / 60, R = m % 60, Vt = (R - Math.floor(R)) * 60;
4123
+ return [j, R, Vt].map((Xt) => U(Xt)).join(":");
4126
4124
  }
4127
- return O(Math.ceil(m / (60 * 24)), "days");
4125
+ return w(Math.ceil(m / (60 * 24)), "days");
4128
4126
  };
4129
- sr(() => {
4127
+ or(() => {
4130
4128
  window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href);
4131
4129
  const m = setInterval(
4132
4130
  () => {
@@ -4139,7 +4137,7 @@ function Ei(e, t, r) {
4139
4137
  };
4140
4138
  });
4141
4139
  function le(m) {
4142
- we[m ? "unshift" : "push"](() => {
4140
+ Oe[m ? "unshift" : "push"](() => {
4143
4141
  d = m, r(3, d);
4144
4142
  });
4145
4143
  }
@@ -4150,8 +4148,8 @@ function Ei(e, t, r) {
4150
4148
  19 && r(7, n = () => {
4151
4149
  if (y <= 0)
4152
4150
  return 100;
4153
- const m = H(s, o), O = 100 / m;
4154
- return Math.floor((m - y) * O);
4151
+ const m = H(s, o), w = 100 / m;
4152
+ return Math.floor((m - y) * w);
4155
4153
  }), e.$$.dirty & /*startdate, enddate, tournamentLeftDays*/
4156
4154
  19 && s && o && _() && B(y), e.$$.dirty & /*lang*/
4157
4155
  4096 && h && _(), e.$$.dirty & /*lang, tournamentLeftDays*/
@@ -4181,14 +4179,14 @@ function Ei(e, t, r) {
4181
4179
  le
4182
4180
  ];
4183
4181
  }
4184
- class _i extends br {
4182
+ class _i extends yr {
4185
4183
  constructor(t) {
4186
- super(), pr(
4184
+ super(), gr(
4187
4185
  this,
4188
4186
  t,
4189
4187
  Ei,
4190
4188
  yi,
4191
- gt,
4189
+ bt,
4192
4190
  {
4193
4191
  startdate: 0,
4194
4192
  enddate: 1,
@@ -4251,7 +4249,7 @@ class _i extends br {
4251
4249
  this.$$set({ mbsource: t }), D();
4252
4250
  }
4253
4251
  }
4254
- gr(_i, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4252
+ br(_i, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4255
4253
  export {
4256
4254
  _i as default
4257
4255
  };