@everymatrix/casino-tournaments-thumbnail 1.65.2 → 1.66.0

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.
@@ -2,15 +2,15 @@ var br = Object.defineProperty, gr = Object.defineProperties;
2
2
  var pr = Object.getOwnPropertyDescriptors;
3
3
  var st = Object.getOwnPropertySymbols;
4
4
  var yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable;
5
- var Pe = (e, t, r) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
5
+ var Me = (e, t, r) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- yr.call(t, r) && Pe(e, r, t[r]);
7
+ yr.call(t, r) && Me(e, r, t[r]);
8
8
  if (st)
9
9
  for (var r of st(t))
10
- _r.call(t, r) && Pe(e, r, t[r]);
10
+ _r.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
12
  }, ot = (e, t) => gr(e, pr(t));
13
- var U = (e, t, r) => (Pe(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var k = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var ut = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
@@ -29,7 +29,7 @@ var ut = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  import "../stencil/ui-skeleton-CVBjRUvi.js";
31
31
  import "../stencil/ui-image-3hy4ZvUC.js";
32
- function F() {
32
+ function U() {
33
33
  }
34
34
  function Pt(e) {
35
35
  return e();
@@ -40,33 +40,33 @@ function lt() {
40
40
  function se(e) {
41
41
  e.forEach(Pt);
42
42
  }
43
- function de(e) {
43
+ function be(e) {
44
44
  return typeof e == "function";
45
45
  }
46
46
  function Mt(e, t) {
47
47
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
48
48
  }
49
49
  let pe;
50
- function Ge(e, t) {
50
+ function $e(e, t) {
51
51
  return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
52
52
  }
53
53
  function Er(e) {
54
54
  return Object.keys(e).length === 0;
55
55
  }
56
- function Rt(e, ...t) {
56
+ function Lt(e, ...t) {
57
57
  if (e == null) {
58
58
  for (const n of t)
59
59
  n(void 0);
60
- return F;
60
+ return U;
61
61
  }
62
62
  const r = e.subscribe(...t);
63
63
  return r.unsubscribe ? () => r.unsubscribe() : r;
64
64
  }
65
65
  function vr(e, t, r) {
66
- e.$$.on_destroy.push(Rt(t, r));
66
+ e.$$.on_destroy.push(Lt(t, r));
67
67
  }
68
- function be(e) {
69
- return e && de(e.destroy) ? e.destroy : F;
68
+ function ge(e) {
69
+ return e && be(e.destroy) ? e.destroy : U;
70
70
  }
71
71
  function x(e, t) {
72
72
  e.appendChild(t);
@@ -139,76 +139,76 @@ function Br(e) {
139
139
  }
140
140
  ), t;
141
141
  }
142
- let fe;
143
- function he(e) {
144
- fe = e;
142
+ let ce;
143
+ function fe(e) {
144
+ ce = e;
145
145
  }
146
146
  function wr() {
147
- if (!fe)
147
+ if (!ce)
148
148
  throw new Error("Function called outside component initialization");
149
- return fe;
149
+ return ce;
150
150
  }
151
151
  function Ir(e) {
152
152
  wr().$$.on_mount.push(e);
153
153
  }
154
- const Y = [], $e = [];
154
+ const Y = [], je = [];
155
155
  let ee = [];
156
156
  const ht = [], Nr = /* @__PURE__ */ Promise.resolve();
157
- let je = !1;
157
+ let Ve = !1;
158
158
  function Or() {
159
- je || (je = !0, Nr.then(w));
159
+ Ve || (Ve = !0, Nr.then(w));
160
160
  }
161
- function Ve(e) {
161
+ function Je(e) {
162
162
  ee.push(e);
163
163
  }
164
- const Me = /* @__PURE__ */ new Set();
164
+ const Le = /* @__PURE__ */ new Set();
165
165
  let q = 0;
166
166
  function w() {
167
167
  if (q !== 0)
168
168
  return;
169
- const e = fe;
169
+ const e = ce;
170
170
  do {
171
171
  try {
172
172
  for (; q < Y.length; ) {
173
173
  const t = Y[q];
174
- q++, he(t), Pr(t.$$);
174
+ q++, fe(t), Pr(t.$$);
175
175
  }
176
176
  } catch (t) {
177
177
  throw Y.length = 0, q = 0, t;
178
178
  }
179
- for (he(null), Y.length = 0, q = 0; $e.length; )
180
- $e.pop()();
179
+ for (fe(null), Y.length = 0, q = 0; je.length; )
180
+ je.pop()();
181
181
  for (let t = 0; t < ee.length; t += 1) {
182
182
  const r = ee[t];
183
- Me.has(r) || (Me.add(r), r());
183
+ Le.has(r) || (Le.add(r), r());
184
184
  }
185
185
  ee.length = 0;
186
186
  } while (Y.length);
187
187
  for (; ht.length; )
188
188
  ht.pop()();
189
- je = !1, Me.clear(), he(e);
189
+ Ve = !1, Le.clear(), fe(e);
190
190
  }
191
191
  function Pr(e) {
192
192
  if (e.fragment !== null) {
193
193
  e.update(), se(e.before_update);
194
194
  const t = e.dirty;
195
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
195
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
196
196
  }
197
197
  }
198
198
  function Mr(e) {
199
199
  const t = [], r = [];
200
200
  ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
201
201
  }
202
- const Rr = /* @__PURE__ */ new Set();
203
- function Lr(e, t) {
204
- e && e.i && (Rr.delete(e), e.i(t));
202
+ const Lr = /* @__PURE__ */ new Set();
203
+ function Rr(e, t) {
204
+ e && e.i && (Lr.delete(e), e.i(t));
205
205
  }
206
206
  function Dr(e, t, r) {
207
207
  const { fragment: n, after_update: i } = e.$$;
208
- n && n.m(t, r), Ve(() => {
209
- const s = e.$$.on_mount.map(Pt).filter(de);
208
+ n && n.m(t, r), Je(() => {
209
+ const s = e.$$.on_mount.map(Pt).filter(be);
210
210
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : se(s), e.$$.on_mount = [];
211
- }), i.forEach(Ve);
211
+ }), i.forEach(Je);
212
212
  }
213
213
  function kr(e, t) {
214
214
  const r = e.$$;
@@ -218,14 +218,14 @@ function Ur(e, t) {
218
218
  e.$$.dirty[0] === -1 && (Y.push(e), Or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
219
  }
220
220
  function Fr(e, t, r, n, i, s, a = null, u = [-1]) {
221
- const l = fe;
222
- he(e);
221
+ const l = ce;
222
+ fe(e);
223
223
  const o = e.$$ = {
224
224
  fragment: null,
225
225
  ctx: [],
226
226
  // state
227
227
  props: s,
228
- update: F,
228
+ update: U,
229
229
  not_equal: i,
230
230
  bound: lt(),
231
231
  // lifecycle
@@ -243,41 +243,41 @@ function Fr(e, t, r, n, i, s, a = null, u = [-1]) {
243
243
  };
244
244
  a && a(o.root);
245
245
  let h = !1;
246
- if (o.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
246
+ if (o.ctx = r ? r(e, t.props || {}, (m, f, ...g) => {
247
247
  const b = g.length ? g[0] : f;
248
- return o.ctx && i(o.ctx[c], o.ctx[c] = b) && (!o.skip_bound && o.bound[c] && o.bound[c](b), h && Ur(e, c)), f;
248
+ return o.ctx && i(o.ctx[m], o.ctx[m] = b) && (!o.skip_bound && o.bound[m] && o.bound[m](b), h && Ur(e, m)), f;
249
249
  }) : [], o.update(), h = !0, se(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
250
250
  if (t.hydrate) {
251
- const c = Cr(t.target);
252
- o.fragment && o.fragment.l(c), c.forEach(I);
251
+ const m = Cr(t.target);
252
+ o.fragment && o.fragment.l(m), m.forEach(I);
253
253
  } else
254
254
  o.fragment && o.fragment.c();
255
- t.intro && Lr(e.$$.fragment), Dr(e, t.target, t.anchor), w();
255
+ t.intro && Rr(e.$$.fragment), Dr(e, t.target, t.anchor), w();
256
256
  }
257
- he(l);
257
+ fe(l);
258
258
  }
259
- let Lt;
260
- typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
259
+ let Rt;
260
+ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
261
261
  constructor(t, r, n) {
262
262
  super();
263
263
  /** The Svelte component constructor */
264
- U(this, "$$ctor");
264
+ k(this, "$$ctor");
265
265
  /** Slots */
266
- U(this, "$$s");
266
+ k(this, "$$s");
267
267
  /** The Svelte component instance */
268
- U(this, "$$c");
268
+ k(this, "$$c");
269
269
  /** Whether or not the custom element is connected */
270
- U(this, "$$cn", !1);
270
+ k(this, "$$cn", !1);
271
271
  /** Component props data */
272
- U(this, "$$d", {});
272
+ k(this, "$$d", {});
273
273
  /** `true` if currently in the process of reflecting component props back to attributes */
274
- U(this, "$$r", !1);
274
+ k(this, "$$r", !1);
275
275
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
276
- U(this, "$$p_d", {});
276
+ k(this, "$$p_d", {});
277
277
  /** @type {Record<string, Function[]>} Event listeners */
278
- U(this, "$$l", {});
278
+ k(this, "$$l", {});
279
279
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
280
- U(this, "$$l_u", /* @__PURE__ */ new Map());
280
+ k(this, "$$l_u", /* @__PURE__ */ new Map());
281
281
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
282
282
  }
283
283
  addEventListener(t, r, n) {
@@ -408,7 +408,7 @@ function _e(e, t, r, n) {
408
408
  }
409
409
  }
410
410
  function Gr(e, t, r, n, i, s) {
411
- let a = class extends Lt {
411
+ let a = class extends Rt {
412
412
  constructor() {
413
413
  super(e, r, i), this.$$p_d = t;
414
414
  }
@@ -447,7 +447,7 @@ class $r {
447
447
  *
448
448
  * @type {any}
449
449
  */
450
- U(this, "$$");
450
+ k(this, "$$");
451
451
  /**
452
452
  * ### PRIVATE API
453
453
  *
@@ -455,11 +455,11 @@ class $r {
455
455
  *
456
456
  * @type {any}
457
457
  */
458
- U(this, "$$set");
458
+ k(this, "$$set");
459
459
  }
460
460
  /** @returns {void} */
461
461
  $destroy() {
462
- kr(this, 1), this.$destroy = F;
462
+ kr(this, 1), this.$destroy = U;
463
463
  }
464
464
  /**
465
465
  * @template {Extract<keyof Events, string>} K
@@ -468,8 +468,8 @@ class $r {
468
468
  * @returns {() => void}
469
469
  */
470
470
  $on(t, r) {
471
- if (!de(r))
472
- return F;
471
+ if (!be(r))
472
+ return U;
473
473
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
474
474
  return n.push(r), () => {
475
475
  const i = n.indexOf(r);
@@ -492,7 +492,7 @@ function Vr(e, t) {
492
492
  subscribe: Ae(e, t).subscribe
493
493
  };
494
494
  }
495
- function Ae(e, t = F) {
495
+ function Ae(e, t = U) {
496
496
  let r;
497
497
  const n = /* @__PURE__ */ new Set();
498
498
  function i(u) {
@@ -510,9 +510,9 @@ function Ae(e, t = F) {
510
510
  function s(u) {
511
511
  i(u(e));
512
512
  }
513
- function a(u, l = F) {
513
+ function a(u, l = U) {
514
514
  const o = [u, l];
515
- return n.add(o), n.size === 1 && (r = t(i, s) || F), u(e), () => {
515
+ return n.add(o), n.size === 1 && (r = t(i, s) || U), u(e), () => {
516
516
  n.delete(o), n.size === 0 && r && (r(), r = null);
517
517
  };
518
518
  }
@@ -526,15 +526,15 @@ function ae(e, t, r) {
526
526
  return Vr(r, (a, u) => {
527
527
  let l = !1;
528
528
  const o = [];
529
- let h = 0, c = F;
529
+ let h = 0, m = U;
530
530
  const f = () => {
531
531
  if (h)
532
532
  return;
533
- c();
533
+ m();
534
534
  const b = t(n ? o[0] : o, a, u);
535
- s ? a(b) : c = de(b) ? b : F;
535
+ s ? a(b) : m = be(b) ? b : U;
536
536
  }, g = i.map(
537
- (b, y) => Rt(
537
+ (b, y) => Lt(
538
538
  b,
539
539
  (d) => {
540
540
  o[y] = d, h &= ~(1 << y), l && f();
@@ -545,7 +545,7 @@ function ae(e, t, r) {
545
545
  )
546
546
  );
547
547
  return l = !0, f(), function() {
548
- se(g), c(), l = !1;
548
+ se(g), m(), l = !1;
549
549
  };
550
550
  });
551
551
  }
@@ -569,12 +569,12 @@ function Qr(e) {
569
569
  function Yr(e) {
570
570
  return Array.isArray(e) ? [] : {};
571
571
  }
572
- function ce(e, t) {
572
+ function me(e, t) {
573
573
  return t.clone !== !1 && t.isMergeableObject(e) ? te(Yr(e), e, t) : e;
574
574
  }
575
575
  function Kr(e, t, r) {
576
576
  return e.concat(t).map(function(n) {
577
- return ce(n, r);
577
+ return me(n, r);
578
578
  });
579
579
  }
580
580
  function en(e, t) {
@@ -604,15 +604,15 @@ function rn(e, t) {
604
604
  function nn(e, t, r) {
605
605
  var n = {};
606
606
  return r.isMergeableObject(e) && ft(e).forEach(function(i) {
607
- n[i] = ce(e[i], r);
607
+ n[i] = me(e[i], r);
608
608
  }), ft(t).forEach(function(i) {
609
- rn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = en(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
609
+ rn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = en(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
610
610
  }), n;
611
611
  }
612
612
  function te(e, t, r) {
613
- r = r || {}, r.arrayMerge = r.arrayMerge || Kr, r.isMergeableObject = r.isMergeableObject || zr, r.cloneUnlessOtherwiseSpecified = ce;
613
+ r = r || {}, r.arrayMerge = r.arrayMerge || Kr, r.isMergeableObject = r.isMergeableObject || zr, r.cloneUnlessOtherwiseSpecified = me;
614
614
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
615
- return s ? n ? r.arrayMerge(e, t, r) : nn(e, t, r) : ce(t, r);
615
+ return s ? n ? r.arrayMerge(e, t, r) : nn(e, t, r) : me(t, r);
616
616
  }
617
617
  te.all = function(t, r) {
618
618
  if (!Array.isArray(t))
@@ -623,18 +623,18 @@ te.all = function(t, r) {
623
623
  };
624
624
  var sn = te, an = sn;
625
625
  const on = /* @__PURE__ */ Jr(an);
626
- var Je = function(e, t) {
627
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
626
+ var ze = function(e, t) {
627
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
628
628
  r.__proto__ = n;
629
629
  } || function(r, n) {
630
630
  for (var i in n)
631
631
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
632
- }, Je(e, t);
632
+ }, ze(e, t);
633
633
  };
634
634
  function He(e, t) {
635
635
  if (typeof t != "function" && t !== null)
636
636
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
637
- Je(e, t);
637
+ ze(e, t);
638
638
  function r() {
639
639
  this.constructor = e;
640
640
  }
@@ -665,7 +665,7 @@ function Re(e, t, r) {
665
665
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
666
666
  return e.concat(s || Array.prototype.slice.call(t));
667
667
  }
668
- function Le(e, t) {
668
+ function De(e, t) {
669
669
  var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : fn;
670
670
  return i(e, {
671
671
  cache: r,
@@ -711,7 +711,7 @@ var mn = function() {
711
711
  create: function() {
712
712
  return new dn();
713
713
  }
714
- }, De = {
714
+ }, ke = {
715
715
  variadic: cn
716
716
  }, xe = function() {
717
717
  return xe = Object.assign || function(t) {
@@ -765,7 +765,7 @@ function Jt(e) {
765
765
  function zt(e) {
766
766
  return !!(e && typeof e == "object" && e.type === re.number);
767
767
  }
768
- function ze(e) {
768
+ function We(e) {
769
769
  return !!(e && typeof e == "object" && e.type === re.dateTime);
770
770
  }
771
771
  var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yn = /(?:[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;
@@ -881,8 +881,8 @@ function vn(e) {
881
881
  if (a.length === 0)
882
882
  throw new Error("Invalid number skeleton");
883
883
  for (var u = a[0], l = a.slice(1), o = 0, h = l; o < h.length; o++) {
884
- var c = h[o];
885
- if (c.length === 0)
884
+ var m = h[o];
885
+ if (m.length === 0)
886
886
  throw new Error("Invalid number skeleton");
887
887
  }
888
888
  r.push({ stem: u, options: l });
@@ -1043,11 +1043,11 @@ function An(e) {
1043
1043
  case "integer-width":
1044
1044
  if (i.options.length > 1)
1045
1045
  throw new RangeError("integer-width stems only accept a single optional option");
1046
- i.options[0].replace(Sn, function(l, o, h, c, f, g) {
1046
+ i.options[0].replace(Sn, function(l, o, h, m, f, g) {
1047
1047
  if (o)
1048
1048
  t.minimumIntegerDigits = h.length;
1049
1049
  else {
1050
- if (c && f)
1050
+ if (m && f)
1051
1051
  throw new Error("We currently do not support maximum integer digits");
1052
1052
  if (g)
1053
1053
  throw new Error("We currently do not support exact integer digits");
@@ -1063,8 +1063,8 @@ function An(e) {
1063
1063
  if (mt.test(i.stem)) {
1064
1064
  if (i.options.length > 1)
1065
1065
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1066
- i.stem.replace(mt, function(l, o, h, c, f, g) {
1067
- return h === "*" ? t.minimumFractionDigits = o.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1066
+ i.stem.replace(mt, function(l, o, h, m, f, g) {
1067
+ return h === "*" ? t.minimumFractionDigits = o.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1068
1068
  });
1069
1069
  var s = i.options[0];
1070
1070
  s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), dt(s)));
@@ -2534,18 +2534,18 @@ function Cn(e) {
2534
2534
  var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2535
2535
  return i[0];
2536
2536
  }
2537
- var ke, Bn = new RegExp("^".concat(Wt.source, "*")), wn = new RegExp("".concat(Wt.source, "*$"));
2537
+ var Ue, Bn = new RegExp("^".concat(Wt.source, "*")), wn = new RegExp("".concat(Wt.source, "*$"));
2538
2538
  function E(e, t) {
2539
2539
  return { start: e, end: t };
2540
2540
  }
2541
- var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, On = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Ln = !!Number.isSafeInteger, Dn = Ln ? Number.isSafeInteger : function(e) {
2541
+ var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, On = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Dn = Rn ? Number.isSafeInteger : function(e) {
2542
2542
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2543
- }, We = !0;
2543
+ }, Xe = !0;
2544
2544
  try {
2545
2545
  var kn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2546
- We = ((ke = kn.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
2546
+ Xe = ((Ue = kn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2547
2547
  } catch (e) {
2548
- We = !1;
2548
+ Xe = !1;
2549
2549
  }
2550
2550
  var gt = In ? (
2551
2551
  // Native
@@ -2557,7 +2557,7 @@ var gt = In ? (
2557
2557
  function(t, r, n) {
2558
2558
  return t.slice(n, n + r.length) === r;
2559
2559
  }
2560
- ), Xe = Nn ? String.fromCodePoint : (
2560
+ ), Ze = Nn ? String.fromCodePoint : (
2561
2561
  // IE11
2562
2562
  function() {
2563
2563
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2605,7 +2605,7 @@ var gt = In ? (
2605
2605
  function(t) {
2606
2606
  return t.replace(Bn, "");
2607
2607
  }
2608
- ), Fn = Rn ? (
2608
+ ), Fn = Ln ? (
2609
2609
  // Native
2610
2610
  function(t) {
2611
2611
  return t.trimEnd();
@@ -2619,24 +2619,24 @@ var gt = In ? (
2619
2619
  function Yt(e, t) {
2620
2620
  return new RegExp(e, t);
2621
2621
  }
2622
- var Ze;
2623
- if (We) {
2622
+ var qe;
2623
+ if (Xe) {
2624
2624
  var yt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2625
- Ze = function(t, r) {
2625
+ qe = function(t, r) {
2626
2626
  var n;
2627
2627
  yt.lastIndex = r;
2628
2628
  var i = yt.exec(t);
2629
2629
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2630
2630
  };
2631
2631
  } else
2632
- Ze = function(t, r) {
2632
+ qe = function(t, r) {
2633
2633
  for (var n = []; ; ) {
2634
2634
  var i = Qt(t, r);
2635
2635
  if (i === void 0 || Kt(i) || Vn(i))
2636
2636
  break;
2637
2637
  n.push(i), r += i >= 65536 ? 2 : 1;
2638
2638
  }
2639
- return Xe.apply(void 0, n);
2639
+ return Ze.apply(void 0, n);
2640
2640
  };
2641
2641
  var Gn = (
2642
2642
  /** @class */
@@ -2669,7 +2669,7 @@ var Gn = (
2669
2669
  if (n)
2670
2670
  break;
2671
2671
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2672
- } else if (s === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
2672
+ } else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2673
2673
  var a = this.parseTag(t, r);
2674
2674
  if (a.err)
2675
2675
  return a;
@@ -2702,7 +2702,7 @@ var Gn = (
2702
2702
  return s;
2703
2703
  var a = s.val, u = this.clonePosition();
2704
2704
  if (this.bumpIf("</")) {
2705
- if (this.isEOF() || !qe(this.char()))
2705
+ if (this.isEOF() || !Qe(this.char()))
2706
2706
  return this.error(_.INVALID_TAG, E(u, this.clonePosition()));
2707
2707
  var l = this.clonePosition(), o = this.parseTagName();
2708
2708
  return i !== o ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2783,12 +2783,12 @@ var Gn = (
2783
2783
  r.push(n);
2784
2784
  this.bump();
2785
2785
  }
2786
- return Xe.apply(void 0, r);
2786
+ return Ze.apply(void 0, r);
2787
2787
  }, e.prototype.tryParseUnquoted = function(t, r) {
2788
2788
  if (this.isEOF())
2789
2789
  return null;
2790
2790
  var n = this.char();
2791
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
2791
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2792
2792
  }, e.prototype.parseArgument = function(t, r) {
2793
2793
  var n = this.clonePosition();
2794
2794
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2817,7 +2817,7 @@ var Gn = (
2817
2817
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2818
2818
  }
2819
2819
  }, e.prototype.parseIdentifierIfPossible = function() {
2820
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
2820
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2821
2821
  this.bumpTo(i);
2822
2822
  var s = this.clonePosition(), a = E(t, s);
2823
2823
  return { value: n, location: a };
@@ -2833,10 +2833,10 @@ var Gn = (
2833
2833
  var o = null;
2834
2834
  if (this.bumpIf(",")) {
2835
2835
  this.bumpSpace();
2836
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2837
- if (c.err)
2838
- return c;
2839
- var f = Fn(c.val);
2836
+ var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2837
+ if (m.err)
2838
+ return m;
2839
+ var f = Fn(m.val);
2840
2840
  if (f.length === 0)
2841
2841
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2842
2842
  var g = E(h, this.clonePosition());
@@ -2849,9 +2849,9 @@ var Gn = (
2849
2849
  if (o && gt(o == null ? void 0 : o.style, "::", 0)) {
2850
2850
  var d = Un(o.style.slice(2));
2851
2851
  if (u === "number") {
2852
- var c = this.parseNumberSkeletonFromString(d, o.styleLocation);
2853
- return c.err ? c : {
2854
- val: { type: S.number, value: n, location: y, style: c.val },
2852
+ var m = this.parseNumberSkeletonFromString(d, o.styleLocation);
2853
+ return m.err ? m : {
2854
+ val: { type: S.number, value: n, location: y, style: m.val },
2855
2855
  err: null
2856
2856
  };
2857
2857
  } else {
@@ -2893,34 +2893,34 @@ var Gn = (
2893
2893
  if (!this.bumpIf(":"))
2894
2894
  return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
2895
2895
  this.bumpSpace();
2896
- var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2897
- if (c.err)
2898
- return c;
2899
- this.bumpSpace(), A = this.parseIdentifierIfPossible(), H = c.val;
2896
+ var m = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2897
+ if (m.err)
2898
+ return m;
2899
+ this.bumpSpace(), A = this.parseIdentifierIfPossible(), H = m.val;
2900
2900
  }
2901
- var G = this.tryParsePluralOrSelectOptions(t, u, r, A);
2902
- if (G.err)
2903
- return G;
2901
+ var F = this.tryParsePluralOrSelectOptions(t, u, r, A);
2902
+ if (F.err)
2903
+ return F;
2904
2904
  var b = this.tryParseArgumentClose(i);
2905
2905
  if (b.err)
2906
2906
  return b;
2907
- var k = E(i, this.clonePosition());
2907
+ var D = E(i, this.clonePosition());
2908
2908
  return u === "select" ? {
2909
2909
  val: {
2910
2910
  type: S.select,
2911
2911
  value: n,
2912
- options: pt(G.val),
2913
- location: k
2912
+ options: pt(F.val),
2913
+ location: D
2914
2914
  },
2915
2915
  err: null
2916
2916
  } : {
2917
2917
  val: {
2918
2918
  type: S.plural,
2919
2919
  value: n,
2920
- options: pt(G.val),
2920
+ options: pt(F.val),
2921
2921
  offset: H,
2922
2922
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2923
- location: k
2923
+ location: D
2924
2924
  },
2925
2925
  err: null
2926
2926
  };
@@ -2984,12 +2984,12 @@ var Gn = (
2984
2984
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2985
2985
  for (var s, a = !1, u = [], l = /* @__PURE__ */ new Set(), o = i.value, h = i.location; ; ) {
2986
2986
  if (o.length === 0) {
2987
- var c = this.clonePosition();
2987
+ var m = this.clonePosition();
2988
2988
  if (r !== "select" && this.bumpIf("=")) {
2989
2989
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
2990
2990
  if (f.err)
2991
2991
  return f;
2992
- h = E(c, this.clonePosition()), o = this.message.slice(c.offset, this.offset());
2992
+ h = E(m, this.clonePosition()), o = this.message.slice(m.offset, this.offset());
2993
2993
  } else
2994
2994
  break;
2995
2995
  }
@@ -3091,11 +3091,11 @@ var Gn = (
3091
3091
  }, e;
3092
3092
  }()
3093
3093
  );
3094
- function qe(e) {
3094
+ function Qe(e) {
3095
3095
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3096
3096
  }
3097
3097
  function $n(e) {
3098
- return qe(e) || e === 47;
3098
+ return Qe(e) || e === 47;
3099
3099
  }
3100
3100
  function jn(e) {
3101
3101
  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;
@@ -3106,13 +3106,13 @@ function Kt(e) {
3106
3106
  function Vn(e) {
3107
3107
  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;
3108
3108
  }
3109
- function Qe(e) {
3109
+ function Ye(e) {
3110
3110
  e.forEach(function(t) {
3111
3111
  if (delete t.location, jt(t) || Vt(t))
3112
3112
  for (var r in t.options)
3113
- delete t.options[r].location, Qe(t.options[r].value);
3113
+ delete t.options[r].location, Ye(t.options[r].value);
3114
3114
  else
3115
- Ft(t) && zt(t.style) || (Gt(t) || $t(t)) && ze(t.style) ? delete t.style.location : Jt(t) && Qe(t.children);
3115
+ Ft(t) && zt(t.style) || (Gt(t) || $t(t)) && We(t.style) ? delete t.style.location : Jt(t) && Ye(t.children);
3116
3116
  });
3117
3117
  }
3118
3118
  function Jn(e, t) {
@@ -3122,7 +3122,7 @@ function Jn(e, t) {
3122
3122
  var n = SyntaxError(_[r.err.kind]);
3123
3123
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3124
3124
  }
3125
- return t != null && t.captureLocation || Qe(r.val), r.val;
3125
+ return t != null && t.captureLocation || Ye(r.val), r.val;
3126
3126
  }
3127
3127
  var ne;
3128
3128
  (function(e) {
@@ -3167,14 +3167,14 @@ var Ce = (
3167
3167
  }
3168
3168
  return t;
3169
3169
  }(Ce)
3170
- ), R;
3170
+ ), M;
3171
3171
  (function(e) {
3172
3172
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3173
- })(R || (R = {}));
3173
+ })(M || (M = {}));
3174
3174
  function Xn(e) {
3175
3175
  return e.length < 2 ? e : e.reduce(function(t, r) {
3176
3176
  var n = t[t.length - 1];
3177
- return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3177
+ return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3178
3178
  }, []);
3179
3179
  }
3180
3180
  function Zn(e) {
@@ -3184,7 +3184,7 @@ function Ee(e, t, r, n, i, s, a) {
3184
3184
  if (e.length === 1 && ct(e[0]))
3185
3185
  return [
3186
3186
  {
3187
- type: R.literal,
3187
+ type: M.literal,
3188
3188
  value: e[0].value
3189
3189
  }
3190
3190
  ];
@@ -3192,41 +3192,41 @@ function Ee(e, t, r, n, i, s, a) {
3192
3192
  var h = o[l];
3193
3193
  if (ct(h)) {
3194
3194
  u.push({
3195
- type: R.literal,
3195
+ type: M.literal,
3196
3196
  value: h.value
3197
3197
  });
3198
3198
  continue;
3199
3199
  }
3200
3200
  if (pn(h)) {
3201
3201
  typeof s == "number" && u.push({
3202
- type: R.literal,
3202
+ type: M.literal,
3203
3203
  value: r.getNumberFormat(t).format(s)
3204
3204
  });
3205
3205
  continue;
3206
3206
  }
3207
- var c = h.value;
3208
- if (!(i && c in i))
3209
- throw new Wn(c, a);
3210
- var f = i[c];
3207
+ var m = h.value;
3208
+ if (!(i && m in i))
3209
+ throw new Wn(m, a);
3210
+ var f = i[m];
3211
3211
  if (gn(h)) {
3212
3212
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3213
- type: typeof f == "string" ? R.literal : R.object,
3213
+ type: typeof f == "string" ? M.literal : M.object,
3214
3214
  value: f
3215
3215
  });
3216
3216
  continue;
3217
3217
  }
3218
3218
  if (Gt(h)) {
3219
- var g = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3219
+ var g = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3220
3220
  u.push({
3221
- type: R.literal,
3221
+ type: M.literal,
3222
3222
  value: r.getDateTimeFormat(t, g).format(f)
3223
3223
  });
3224
3224
  continue;
3225
3225
  }
3226
3226
  if ($t(h)) {
3227
- var g = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3227
+ var g = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3228
3228
  u.push({
3229
- type: R.literal,
3229
+ type: M.literal,
3230
3230
  value: r.getDateTimeFormat(t, g).format(f)
3231
3231
  });
3232
3232
  continue;
@@ -3234,7 +3234,7 @@ function Ee(e, t, r, n, i, s, a) {
3234
3234
  if (Ft(h)) {
3235
3235
  var g = typeof h.style == "string" ? n.number[h.style] : zt(h.style) ? h.style.parsedOptions : void 0;
3236
3236
  g && g.scale && (f = f * (g.scale || 1)), u.push({
3237
- type: R.literal,
3237
+ type: M.literal,
3238
3238
  value: r.getNumberFormat(t, g).format(f)
3239
3239
  });
3240
3240
  continue;
@@ -3248,7 +3248,7 @@ function Ee(e, t, r, n, i, s, a) {
3248
3248
  }));
3249
3249
  Array.isArray(P) || (P = [P]), u.push.apply(u, P.map(function(H) {
3250
3250
  return {
3251
- type: typeof H == "string" ? R.literal : R.object,
3251
+ type: typeof H == "string" ? M.literal : M.object,
3252
3252
  value: H
3253
3253
  };
3254
3254
  }));
@@ -3288,7 +3288,7 @@ function Qn(e, t) {
3288
3288
  return r[n] = qn(e[n], t[n]), r;
3289
3289
  }, V({}, e)) : e;
3290
3290
  }
3291
- function Ue(e) {
3291
+ function Fe(e) {
3292
3292
  return {
3293
3293
  create: function() {
3294
3294
  return {
@@ -3308,29 +3308,29 @@ function Yn(e) {
3308
3308
  dateTime: {},
3309
3309
  pluralRules: {}
3310
3310
  }), {
3311
- getNumberFormat: Le(function() {
3311
+ getNumberFormat: De(function() {
3312
3312
  for (var t, r = [], n = 0; n < arguments.length; n++)
3313
3313
  r[n] = arguments[n];
3314
3314
  return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3315
3315
  }, {
3316
- cache: Ue(e.number),
3317
- strategy: De.variadic
3316
+ cache: Fe(e.number),
3317
+ strategy: ke.variadic
3318
3318
  }),
3319
- getDateTimeFormat: Le(function() {
3319
+ getDateTimeFormat: De(function() {
3320
3320
  for (var t, r = [], n = 0; n < arguments.length; n++)
3321
3321
  r[n] = arguments[n];
3322
3322
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3323
3323
  }, {
3324
- cache: Ue(e.dateTime),
3325
- strategy: De.variadic
3324
+ cache: Fe(e.dateTime),
3325
+ strategy: ke.variadic
3326
3326
  }),
3327
- getPluralRules: Le(function() {
3327
+ getPluralRules: De(function() {
3328
3328
  for (var t, r = [], n = 0; n < arguments.length; n++)
3329
3329
  r[n] = arguments[n];
3330
3330
  return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3331
3331
  }, {
3332
- cache: Ue(e.pluralRules),
3333
- strategy: De.variadic
3332
+ cache: Fe(e.pluralRules),
3333
+ strategy: ke.variadic
3334
3334
  })
3335
3335
  };
3336
3336
  }
@@ -3348,8 +3348,8 @@ var Kn = (
3348
3348
  var o = s.formatToParts(l);
3349
3349
  if (o.length === 1)
3350
3350
  return o[0].value;
3351
- var h = o.reduce(function(c, f) {
3352
- return !c.length || f.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3351
+ var h = o.reduce(function(m, f) {
3352
+ return !m.length || f.type !== M.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3353
3353
  }, []);
3354
3354
  return h.length <= 1 ? h[0] || "" : h;
3355
3355
  }, this.formatToParts = function(l) {
@@ -3467,11 +3467,11 @@ function ei(e, t) {
3467
3467
  n = void 0;
3468
3468
  return n;
3469
3469
  }
3470
- const X = {}, ti = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), er = (e, t) => {
3470
+ const W = {}, ti = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), er = (e, t) => {
3471
3471
  if (t == null)
3472
3472
  return;
3473
- if (t in X && e in X[t])
3474
- return X[t][e];
3473
+ if (t in W && e in W[t])
3474
+ return W[t][e];
3475
3475
  const r = Be(t);
3476
3476
  for (let n = 0; n < r.length; n++) {
3477
3477
  const i = r[n], s = ni(i, e);
@@ -3479,13 +3479,13 @@ const X = {}, ti = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][
3479
3479
  return ti(e, t, s);
3480
3480
  }
3481
3481
  };
3482
- let et;
3483
- const ge = Ae({});
3482
+ let tt;
3483
+ const oe = Ae({});
3484
3484
  function ri(e) {
3485
- return et[e] || null;
3485
+ return tt[e] || null;
3486
3486
  }
3487
3487
  function tr(e) {
3488
- return e in et;
3488
+ return e in tt;
3489
3489
  }
3490
3490
  function ni(e, t) {
3491
3491
  if (!tr(e))
@@ -3504,13 +3504,13 @@ function ii(e) {
3504
3504
  }
3505
3505
  }
3506
3506
  function rr(e, ...t) {
3507
- delete X[e], ge.update((r) => (r[e] = on.all([r[e] || {}, ...t]), r));
3507
+ delete W[e], oe.update((r) => (r[e] = on.all([r[e] || {}, ...t]), r));
3508
3508
  }
3509
3509
  ae(
3510
- [ge],
3510
+ [oe],
3511
3511
  ([e]) => Object.keys(e)
3512
3512
  );
3513
- ge.subscribe((e) => et = e);
3513
+ oe.subscribe((e) => tt = e);
3514
3514
  const ve = {};
3515
3515
  function si(e, t) {
3516
3516
  ve[e].delete(t), ve[e].size === 0 && delete ve[e];
@@ -3524,7 +3524,7 @@ function ai(e) {
3524
3524
  return [t, r ? [...r] : []];
3525
3525
  }).filter(([, t]) => t.length > 0);
3526
3526
  }
3527
- function Ye(e) {
3527
+ function Ke(e) {
3528
3528
  return e == null ? !1 : Be(e).some(
3529
3529
  (t) => {
3530
3530
  var r;
@@ -3537,20 +3537,20 @@ function oi(e, t) {
3537
3537
  t.map((n) => (si(e, n), n().then((i) => i.default || i)))
3538
3538
  ).then((n) => rr(e, ...n));
3539
3539
  }
3540
- const le = {};
3540
+ const he = {};
3541
3541
  function ir(e) {
3542
- if (!Ye(e))
3543
- return e in le ? le[e] : Promise.resolve();
3542
+ if (!Ke(e))
3543
+ return e in he ? he[e] : Promise.resolve();
3544
3544
  const t = ai(e);
3545
- return le[e] = Promise.all(
3545
+ return he[e] = Promise.all(
3546
3546
  t.map(
3547
3547
  ([r, n]) => oi(r, n)
3548
3548
  )
3549
3549
  ).then(() => {
3550
- if (Ye(e))
3550
+ if (Ke(e))
3551
3551
  return ir(e);
3552
- delete le[e];
3553
- }), le[e];
3552
+ delete he[e];
3553
+ }), he[e];
3554
3554
  }
3555
3555
  const ui = {
3556
3556
  number: {
@@ -3592,7 +3592,7 @@ const ui = {
3592
3592
  function ie() {
3593
3593
  return hi;
3594
3594
  }
3595
- const Fe = Ae(!1);
3595
+ const Ge = Ae(!1);
3596
3596
  var fi = Object.defineProperty, ci = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
3597
3597
  for (var r in t || (t = {}))
3598
3598
  di.call(t, r) && vt(e, r, t[r]);
@@ -3601,7 +3601,7 @@ var fi = Object.defineProperty, ci = Object.defineProperties, mi = Object.getOwn
3601
3601
  bi.call(t, r) && vt(e, r, t[r]);
3602
3602
  return e;
3603
3603
  }, pi = (e, t) => ci(e, mi(t));
3604
- let Ke;
3604
+ let et;
3605
3605
  const Se = Ae(null);
3606
3606
  function xt(e) {
3607
3607
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
@@ -3611,26 +3611,26 @@ function Be(e, t = ie().fallbackLocale) {
3611
3611
  return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
3612
3612
  }
3613
3613
  function Z() {
3614
- return Ke != null ? Ke : void 0;
3614
+ return et != null ? et : void 0;
3615
3615
  }
3616
3616
  Se.subscribe((e) => {
3617
- Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3617
+ et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3618
3618
  });
3619
3619
  const yi = (e) => {
3620
- if (e && ii(e) && Ye(e)) {
3620
+ if (e && ii(e) && Ke(e)) {
3621
3621
  const { loadingDelay: t } = ie();
3622
3622
  let r;
3623
3623
  return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
3624
- () => Fe.set(!0),
3624
+ () => Ge.set(!0),
3625
3625
  t
3626
- ) : Fe.set(!0), ir(e).then(() => {
3626
+ ) : Ge.set(!0), ir(e).then(() => {
3627
3627
  Se.set(e);
3628
3628
  }).finally(() => {
3629
- clearTimeout(r), Fe.set(!1);
3629
+ clearTimeout(r), Ge.set(!1);
3630
3630
  });
3631
3631
  }
3632
3632
  return Se.set(e);
3633
- }, oe = pi(gi({}, Se), {
3633
+ }, X = pi(gi({}, Se), {
3634
3634
  set: yi
3635
3635
  }), we = (e) => {
3636
3636
  const t = /* @__PURE__ */ Object.create(null);
@@ -3639,7 +3639,7 @@ const yi = (e) => {
3639
3639
  return i in t ? t[i] : t[i] = e(n);
3640
3640
  };
3641
3641
  };
3642
- var _i = Object.defineProperty, Te = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
3642
+ var _i = Object.defineProperty, Te = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3643
3643
  for (var r in t || (t = {}))
3644
3644
  sr.call(t, r) && St(e, r, t[r]);
3645
3645
  if (Te)
@@ -3655,7 +3655,7 @@ var _i = Object.defineProperty, Te = Object.getOwnPropertySymbols, sr = Object.p
3655
3655
  t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
3656
3656
  return r;
3657
3657
  };
3658
- const me = (e, t) => {
3658
+ const de = (e, t) => {
3659
3659
  const { formats: r } = ie();
3660
3660
  if (e in r && t in r[e])
3661
3661
  return r[e][t];
@@ -3665,14 +3665,14 @@ const me = (e, t) => {
3665
3665
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3666
3666
  if (r == null)
3667
3667
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3668
- return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
3668
+ return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
3669
3669
  }
3670
3670
  ), vi = we(
3671
3671
  (e) => {
3672
3672
  var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3673
3673
  if (r == null)
3674
3674
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3675
- return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
3675
+ return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
3676
3676
  }
3677
3677
  ), xi = we(
3678
3678
  (e) => {
@@ -3681,7 +3681,7 @@ const me = (e, t) => {
3681
3681
  throw new Error(
3682
3682
  '[svelte-i18n] A "locale" must be set to format time values'
3683
3683
  );
3684
- return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
3684
+ return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
3685
3685
  }
3686
3686
  ), Si = (e = {}) => {
3687
3687
  var t = e, {
@@ -3689,21 +3689,21 @@ const me = (e, t) => {
3689
3689
  } = t, n = ue(t, [
3690
3690
  "locale"
3691
3691
  ]);
3692
- return Ei(tt({ locale: r }, n));
3692
+ return Ei(rt({ locale: r }, n));
3693
3693
  }, Ti = (e = {}) => {
3694
3694
  var t = e, {
3695
3695
  locale: r = Z()
3696
3696
  } = t, n = ue(t, [
3697
3697
  "locale"
3698
3698
  ]);
3699
- return vi(tt({ locale: r }, n));
3699
+ return vi(rt({ locale: r }, n));
3700
3700
  }, Ai = (e = {}) => {
3701
3701
  var t = e, {
3702
3702
  locale: r = Z()
3703
3703
  } = t, n = ue(t, [
3704
3704
  "locale"
3705
3705
  ]);
3706
- return xi(tt({ locale: r }, n));
3706
+ return xi(rt({ locale: r }, n));
3707
3707
  }, Hi = we(
3708
3708
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3709
3709
  (e, t = Z()) => new Kn(e, t, ie().formats, {
@@ -3731,26 +3731,31 @@ const me = (e, t) => {
3731
3731
  ), h;
3732
3732
  if (!u)
3733
3733
  return h;
3734
- let c = h;
3734
+ let m = h;
3735
3735
  try {
3736
- c = Hi(h, l).format(u);
3736
+ m = Hi(h, l).format(u);
3737
3737
  } catch (f) {
3738
3738
  f instanceof Error && console.warn(
3739
3739
  `[svelte-i18n] Message "${e}" has syntax error:`,
3740
3740
  f.message
3741
3741
  );
3742
3742
  }
3743
- return c;
3744
- }, Bi = (e, t) => Ai(t).format(e), wi = (e, t) => Ti(t).format(e), Ii = (e, t) => Si(t).format(e), Ni = (e, t = Z()) => er(e, t), Oi = ae([oe, ge], () => Ci);
3745
- ae([oe], () => Bi);
3746
- ae([oe], () => wi);
3747
- ae([oe], () => Ii);
3748
- ae([oe, ge], () => Ni);
3743
+ return m;
3744
+ }, Bi = (e, t) => Ai(t).format(e), wi = (e, t) => Ti(t).format(e), Ii = (e, t) => Si(t).format(e), Ni = (e, t = Z()) => er(e, t), Oi = ae([X, oe], () => Ci);
3745
+ ae([X], () => Bi);
3746
+ ae([X], () => wi);
3747
+ ae([X], () => Ii);
3748
+ ae([X, oe], () => Ni);
3749
+ function Pi({ withLocale: e, translations: t }) {
3750
+ X.subscribe((r) => {
3751
+ r == null && (oe.set(t), X.set(e));
3752
+ });
3753
+ }
3749
3754
  function Tt(e, t) {
3750
3755
  rr(e, t);
3751
3756
  }
3752
- function Pi(e) {
3753
- oe.set(e);
3757
+ function Mi(e) {
3758
+ X.set(e);
3754
3759
  }
3755
3760
  const At = {
3756
3761
  en: {
@@ -4084,8 +4089,8 @@ const At = {
4084
4089
  December: "December"
4085
4090
  }
4086
4091
  };
4087
- function Mi(e) {
4088
- xr(e, "svelte-1ymu8a4", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4092
+ function Li(e) {
4093
+ xr(e, "svelte-1bncdcr", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4089
4094
  }
4090
4095
  function Ht(e) {
4091
4096
  let t, r, n;
@@ -4109,13 +4114,13 @@ function Ct(e) {
4109
4114
  /*showenrolled*/
4110
4115
  e[7] == "true" && wt(e)
4111
4116
  );
4112
- function c(d, v) {
4117
+ function m(d, v) {
4113
4118
  return (
4114
4119
  /*thumbnail*/
4115
- d[4] ? Li : Ri
4120
+ d[4] ? Di : Ri
4116
4121
  );
4117
4122
  }
4118
- let f = c(e), g = f(e), b = (
4123
+ let f = m(e), g = f(e), b = (
4119
4124
  /*startdate*/
4120
4125
  e[2] && Nt(e)
4121
4126
  ), y = (
@@ -4135,7 +4140,7 @@ function Ct(e) {
4135
4140
  p(d, v) {
4136
4141
  /*status*/
4137
4142
  d[0] ? o ? o.p(d, v) : (o = Bt(d), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null), /*showenrolled*/
4138
- d[7] == "true" ? h ? h.p(d, v) : (h = wt(d), h.c(), h.m(r.parentNode, r)) : h && (h.d(1), h = null), f === (f = c(d)) && g ? g.p(d, v) : (g.d(1), g = f(d), g && (g.c(), g.m(n.parentNode, n))), v[0] & /*title*/
4143
+ d[7] == "true" ? h ? h.p(d, v) : (h = wt(d), h.c(), h.m(r.parentNode, r)) : h && (h.d(1), h = null), f === (f = m(d)) && g ? g.p(d, v) : (g.d(1), g = f(d), g && (g.c(), g.m(n.parentNode, n))), v[0] & /*title*/
4139
4144
  2 && $(
4140
4145
  a,
4141
4146
  /*title*/
@@ -4161,7 +4166,7 @@ function Bt(e) {
4161
4166
  e[15]);
4162
4167
  },
4163
4168
  m(u, l) {
4164
- O(u, t, l), x(t, r), s || (a = be(
4169
+ O(u, t, l), x(t, r), s || (a = ge(
4165
4170
  /*matchStatus*/
4166
4171
  e[18].call(null, t)
4167
4172
  ), s = !0);
@@ -4230,14 +4235,14 @@ function Ri(e) {
4230
4235
  let t, r, n, i, s, a, u;
4231
4236
  return {
4232
4237
  c() {
4233
- t = B("div"), r = B("ui-image"), Ge(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || K(r, "src", n), K(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4238
+ t = B("div"), r = B("ui-image"), $e(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || K(r, "src", n), K(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4234
4239
  (e[0] == "Closing" || /*status*/
4235
4240
  e[0] == "Closed" ? "CardImgFinished" : "")), p(t, "part", s = "CardImg " + /*status*/
4236
4241
  (e[0] == "Closing" || /*status*/
4237
4242
  e[0] == "Closed" ? "CardImgFinished" : ""));
4238
4243
  },
4239
4244
  m(l, o) {
4240
- O(l, t, o), x(t, r), a || (u = be(
4245
+ O(l, t, o), x(t, r), a || (u = ge(
4241
4246
  /*matchStatus*/
4242
4247
  e[18].call(null, t)
4243
4248
  ), a = !0);
@@ -4256,11 +4261,11 @@ function Ri(e) {
4256
4261
  }
4257
4262
  };
4258
4263
  }
4259
- function Li(e) {
4264
+ function Di(e) {
4260
4265
  let t, r, n, i, s, a, u;
4261
4266
  return {
4262
4267
  c() {
4263
- t = B("div"), r = B("ui-image"), K(r, "class", "UIImage"), Ge(r.src, n = /*thumbnail*/
4268
+ t = B("div"), r = B("ui-image"), K(r, "class", "UIImage"), $e(r.src, n = /*thumbnail*/
4264
4269
  e[4]) || K(r, "src", n), K(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4265
4270
  (e[0] == "Closing" || /*status*/
4266
4271
  e[0] == "Closed" ? "CardImgFinished" : "")), p(t, "part", s = "CardImg " + /*status*/
@@ -4268,14 +4273,14 @@ function Li(e) {
4268
4273
  e[0] == "Closed" ? "CardImgFinished" : ""));
4269
4274
  },
4270
4275
  m(l, o) {
4271
- O(l, t, o), x(t, r), a || (u = be(
4276
+ O(l, t, o), x(t, r), a || (u = ge(
4272
4277
  /*matchStatus*/
4273
4278
  e[18].call(null, t)
4274
4279
  ), a = !0);
4275
4280
  },
4276
4281
  p(l, o) {
4277
4282
  o[0] & /*thumbnail*/
4278
- 16 && !Ge(r.src, n = /*thumbnail*/
4283
+ 16 && !$e(r.src, n = /*thumbnail*/
4279
4284
  l[4]) && K(r, "src", n), o[0] & /*status*/
4280
4285
  1 && i !== (i = "CardImg " + /*status*/
4281
4286
  (l[0] == "Closing" || /*status*/
@@ -4299,7 +4304,7 @@ function Nt(e) {
4299
4304
  ), p(t, "class", "Date"), p(t, "part", "Date");
4300
4305
  },
4301
4306
  m(a, u) {
4302
- O(a, t, u), x(t, r), i || (s = be(n = /*formatDate*/
4307
+ O(a, t, u), x(t, r), i || (s = ge(n = /*formatDate*/
4303
4308
  e[17].call(
4304
4309
  null,
4305
4310
  t,
@@ -4313,7 +4318,7 @@ function Nt(e) {
4313
4318
  r,
4314
4319
  /*shownDate*/
4315
4320
  a[11]
4316
- ), n && de(n.update) && u[0] & /*startdate*/
4321
+ ), n && be(n.update) && u[0] & /*startdate*/
4317
4322
  4 && n.update.call(
4318
4323
  null,
4319
4324
  /*startdate*/
@@ -4332,13 +4337,13 @@ function Ot(e) {
4332
4337
  ), i, s, a, u, l, o = (
4333
4338
  /*$_*/
4334
4339
  e[16]("minbet") + ""
4335
- ), h, c, f, g, b, y, d, v = (
4340
+ ), h, m, f, g, b, y, d, v = (
4336
4341
  /*$_*/
4337
4342
  e[16]("seegames") + ""
4338
4343
  ), P, N, A, H = (
4339
4344
  /*$_*/
4340
4345
  e[16]("here") + ""
4341
- ), G, k, J, z;
4346
+ ), F, D, J, z;
4342
4347
  return {
4343
4348
  c() {
4344
4349
  t = B("div"), r = B("p"), i = L(n), s = L(`:
@@ -4347,20 +4352,20 @@ function Ot(e) {
4347
4352
  /*showScoreCriteria*/
4348
4353
  e[14]
4349
4354
  ), l = L(`
4350
- (`), h = L(o), c = j(), f = L(
4355
+ (`), h = L(o), m = j(), f = L(
4351
4356
  /*minbetcount*/
4352
4357
  e[6]
4353
- ), g = L(")"), b = j(), y = B("div"), d = B("p"), P = L(v), N = j(), A = B("a"), G = L(H), p(a, "part", "ScoreCriteriaSpan"), p(r, "part", "ScoreCriteriaP"), p(t, "class", "ScoreCriteria"), p(t, "part", "ScoreCriteria"), p(A, "part", "GamesAnchor"), p(
4358
+ ), g = L(")"), b = j(), y = B("div"), d = B("p"), P = L(v), N = j(), A = B("a"), F = L(H), p(a, "part", "ScoreCriteriaSpan"), p(r, "part", "ScoreCriteriaP"), p(t, "class", "ScoreCriteria"), p(t, "part", "ScoreCriteria"), p(A, "part", "GamesAnchor"), p(
4354
4359
  A,
4355
4360
  "href",
4356
4361
  /*gameurl*/
4357
4362
  e[8]
4358
- ), p(A, "target", k = /*keepbrowsercontext*/
4363
+ ), p(A, "target", D = /*keepbrowsercontext*/
4359
4364
  e[9] === "true" ? "_self" : "_blank"), p(d, "part", "GamesP"), p(y, "class", "Games"), p(y, "part", "Games");
4360
4365
  },
4361
- m(C, D) {
4362
- O(C, t, D), x(t, r), x(r, i), x(r, s), x(r, a), x(a, u), x(r, l), x(r, h), x(r, c), x(r, f), x(r, g), O(C, b, D), O(C, y, D), x(y, d), x(d, P), x(d, N), x(d, A), x(A, G), J || (z = [
4363
- be(
4366
+ m(C, R) {
4367
+ O(C, t, R), x(t, r), x(r, i), x(r, s), x(r, a), x(a, u), x(r, l), x(r, h), x(r, m), x(r, f), x(r, g), O(C, b, R), O(C, y, R), x(y, d), x(d, P), x(d, N), x(d, A), x(A, F), J || (z = [
4368
+ ge(
4364
4369
  /*matchScoreCriteria*/
4365
4370
  e[19].call(null, a)
4366
4371
  ),
@@ -4372,41 +4377,41 @@ function Ot(e) {
4372
4377
  )
4373
4378
  ], J = !0);
4374
4379
  },
4375
- p(C, D) {
4376
- D[0] & /*$_*/
4380
+ p(C, R) {
4381
+ R[0] & /*$_*/
4377
4382
  65536 && n !== (n = /*$_*/
4378
- C[16]("scoreCriteria") + "") && $(i, n), D[0] & /*showScoreCriteria*/
4383
+ C[16]("scoreCriteria") + "") && $(i, n), R[0] & /*showScoreCriteria*/
4379
4384
  16384 && $(
4380
4385
  u,
4381
4386
  /*showScoreCriteria*/
4382
4387
  C[14]
4383
- ), D[0] & /*$_*/
4388
+ ), R[0] & /*$_*/
4384
4389
  65536 && o !== (o = /*$_*/
4385
- C[16]("minbet") + "") && $(h, o), D[0] & /*minbetcount*/
4390
+ C[16]("minbet") + "") && $(h, o), R[0] & /*minbetcount*/
4386
4391
  64 && $(
4387
4392
  f,
4388
4393
  /*minbetcount*/
4389
4394
  C[6]
4390
- ), D[0] & /*$_*/
4395
+ ), R[0] & /*$_*/
4391
4396
  65536 && v !== (v = /*$_*/
4392
- C[16]("seegames") + "") && $(P, v), D[0] & /*$_*/
4397
+ C[16]("seegames") + "") && $(P, v), R[0] & /*$_*/
4393
4398
  65536 && H !== (H = /*$_*/
4394
- C[16]("here") + "") && $(G, H), D[0] & /*gameurl*/
4399
+ C[16]("here") + "") && $(F, H), R[0] & /*gameurl*/
4395
4400
  256 && p(
4396
4401
  A,
4397
4402
  "href",
4398
4403
  /*gameurl*/
4399
4404
  C[8]
4400
- ), D[0] & /*keepbrowsercontext*/
4401
- 512 && k !== (k = /*keepbrowsercontext*/
4402
- C[9] === "true" ? "_self" : "_blank") && p(A, "target", k);
4405
+ ), R[0] & /*keepbrowsercontext*/
4406
+ 512 && D !== (D = /*keepbrowsercontext*/
4407
+ C[9] === "true" ? "_self" : "_blank") && p(A, "target", D);
4403
4408
  },
4404
4409
  d(C) {
4405
4410
  C && (I(t), I(b), I(y)), J = !1, se(z);
4406
4411
  }
4407
4412
  };
4408
4413
  }
4409
- function Di(e) {
4414
+ function ki(e) {
4410
4415
  let t, r, n, i = (
4411
4416
  /*title*/
4412
4417
  e[1] === "undefined" && Ht()
@@ -4429,57 +4434,58 @@ function Di(e) {
4429
4434
  2 && n !== (n = `Thumbnail ${/*title*/
4430
4435
  a[1] === "undefined" ? "Loading" : ""}`) && p(t, "class", n);
4431
4436
  },
4432
- i: F,
4433
- o: F,
4437
+ i: U,
4438
+ o: U,
4434
4439
  d(a) {
4435
4440
  a && I(t), i && i.d(), s && s.d(), e[29](null);
4436
4441
  }
4437
4442
  };
4438
4443
  }
4439
- function ki(e, t, r) {
4444
+ function Ui(e, t, r) {
4440
4445
  let n;
4441
- vr(e, Oi, (m) => r(16, n = m));
4442
- let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: u = "" } = t, { status: l = "" } = t, { tourid: o = "" } = t, { thumbnail: h = "" } = t, { userenrolled: c = "" } = t, { scorecriteria: f = "" } = t, { minbetcount: g = "" } = t, { showenrolled: b = "false" } = t, { gameurl: y = "" } = t, { lang: d = "en" } = t, { keepbrowsercontext: v = "false" } = t, { clientstyling: P = "" } = t, { clientstylingurl: N = "" } = t, { translationurl: A = "" } = t, H, G = "", k = !1, J = "", z = "", C = "";
4443
- const D = () => {
4444
- fetch(A).then((M) => M.json()).then((M) => {
4445
- Object.keys(M).forEach((W) => {
4446
- Tt(W, M[W]);
4447
- });
4448
- }).catch((M) => {
4449
- console.log(M);
4446
+ vr(e, Oi, (c) => r(16, n = c));
4447
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: u = "" } = t, { status: l = "" } = t, { tourid: o = "" } = t, { thumbnail: h = "" } = t, { userenrolled: m = "" } = t, { scorecriteria: f = "" } = t, { minbetcount: g = "" } = t, { showenrolled: b = "false" } = t, { gameurl: y = "" } = t, { lang: d = "en" } = t, { keepbrowsercontext: v = "false" } = t, { clientstyling: P = "" } = t, { clientstylingurl: N = "" } = t, { translationurl: A = "" } = t, H, F = "", D = !1, J = "", z = "", C = "";
4448
+ Pi({ withLocale: "en", translations: {} });
4449
+ const R = () => {
4450
+ fetch(A).then((c) => c.json()).then((c) => {
4451
+ Object.keys(c).forEach((G) => {
4452
+ Tt(G, c[G]);
4453
+ }), u && Pe();
4454
+ }).catch((c) => {
4455
+ console.log(c);
4450
4456
  });
4451
4457
  };
4452
- Object.keys(At).forEach((m) => {
4453
- Tt(m, At[m]);
4458
+ Object.keys(At).forEach((c) => {
4459
+ Tt(c, At[c]);
4454
4460
  });
4455
- const rt = (m) => {
4456
- m.data && (m.data && m.data.type == "SessionID" && r(12, k = !0), m.data.type == `TournamentStatus_${o}` && r(0, l = m.data.status));
4461
+ const nt = (c) => {
4462
+ c.data && (c.data && c.data.type == "SessionID" && r(12, D = !0), c.data.type == `TournamentStatus_${o}` && r(0, l = c.data.status));
4457
4463
  }, Ie = () => {
4458
- const m = { month: "long" };
4459
- let M = new Date(u), W = new Intl.DateTimeFormat("en", m).format(M), cr = M.getDate(), mr = M.toLocaleString("en-GB", {
4464
+ const c = { month: "long" };
4465
+ let G = new Date(u), le = new Intl.DateTimeFormat("en", c).format(G), cr = G.getDate(), mr = G.toLocaleString("en-GB", {
4460
4466
  hour: "numeric",
4461
4467
  minute: "numeric",
4462
4468
  hour12: !1
4463
4469
  });
4464
4470
  const dr = () => n(l === "Running" ? "startedAt" : "startingAt");
4465
- r(11, G = `${cr} ` + n(`${W}`) + ", " + dr() + ` ${mr}`);
4471
+ r(11, F = `${cr} ` + n(`${le}`) + ", " + dr() + ` ${mr}`);
4466
4472
  }, Ne = () => {
4467
4473
  l == "Unstarted" && (r(13, J = n("scheduled")), r(15, C = "StatusUnstarted")), l == "Running" && (r(13, J = n("ongoing")), r(15, C = "StatusRunning")), (l == "Closed" || l == "Closing") && r(13, J = n("finished")), l == "Closed" && r(15, C = "StatusClosed"), l == "Closing" && r(15, C = "StatusClosing");
4468
4474
  }, Oe = () => {
4469
4475
  f == "BetCount" && r(14, z = n("betCount")), f == "MaxWinStakeRatio" && r(14, z = n("maxWinStakeRatio")), f == "WinStakeRatio" && r(14, z = n("winStakeRatio")), f == "Stake" && r(14, z = n("stake"));
4470
- }, nt = (m, M) => {
4471
- window.postMessage({ type: "tournamentGamesClicked", tourId: M }, window.location.href);
4476
+ }, it = (c, G) => {
4477
+ window.postMessage({ type: "tournamentGamesClicked", tourId: G }, window.location.href);
4472
4478
  }, or = () => {
4473
- i.length > 0 && i != "false" ? r(12, k = !0) : r(12, k = !1);
4479
+ i.length > 0 && i != "false" ? r(12, D = !0) : r(12, D = !1);
4474
4480
  }, ur = () => {
4475
- let m = document.createElement("style");
4476
- m.innerHTML = P, H.appendChild(m);
4481
+ let c = document.createElement("style");
4482
+ c.innerHTML = P, H.appendChild(c);
4477
4483
  }, lr = () => {
4478
- let m = new URL(N), M = document.createElement("style");
4479
- fetch(m.href).then((W) => W.text()).then((W) => {
4480
- M.innerHTML = W, setTimeout(
4484
+ let c = new URL(N), G = document.createElement("style");
4485
+ fetch(c.href).then((le) => le.text()).then((le) => {
4486
+ G.innerHTML = le, setTimeout(
4481
4487
  () => {
4482
- H.appendChild(M);
4488
+ H.appendChild(G);
4483
4489
  },
4484
4490
  1
4485
4491
  ), setTimeout(
@@ -4489,27 +4495,27 @@ function ki(e, t, r) {
4489
4495
  );
4490
4496
  });
4491
4497
  };
4492
- Ir(() => (setTimeout(() => it(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", rt, !1), () => {
4493
- window.removeEventListener("message", rt);
4498
+ Ir(() => (setTimeout(() => Pe(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", nt, !1), () => {
4499
+ window.removeEventListener("message", nt);
4494
4500
  }));
4495
- const it = () => {
4496
- Pi(d), Oe(), Ne(), u && Ie();
4497
- }, hr = () => nt();
4498
- function fr(m) {
4499
- $e[m ? "unshift" : "push"](() => {
4500
- H = m, r(10, H);
4501
+ const Pe = () => {
4502
+ Mi(d), Oe(), Ne(), u && Ie();
4503
+ }, hr = () => it();
4504
+ function fr(c) {
4505
+ je[c ? "unshift" : "push"](() => {
4506
+ H = c, r(10, H);
4501
4507
  });
4502
4508
  }
4503
- return e.$$set = (m) => {
4504
- "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, u = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(3, o = m.tourid), "thumbnail" in m && r(4, h = m.thumbnail), "userenrolled" in m && r(5, c = m.userenrolled), "scorecriteria" in m && r(23, f = m.scorecriteria), "minbetcount" in m && r(6, g = m.minbetcount), "showenrolled" in m && r(7, b = m.showenrolled), "gameurl" in m && r(8, y = m.gameurl), "lang" in m && r(24, d = m.lang), "keepbrowsercontext" in m && r(9, v = m.keepbrowsercontext), "clientstyling" in m && r(25, P = m.clientstyling), "clientstylingurl" in m && r(26, N = m.clientstylingurl), "translationurl" in m && r(27, A = m.translationurl);
4509
+ return e.$$set = (c) => {
4510
+ "session" in c && r(21, i = c.session), "userid" in c && r(22, s = c.userid), "title" in c && r(1, a = c.title), "startdate" in c && r(2, u = c.startdate), "status" in c && r(0, l = c.status), "tourid" in c && r(3, o = c.tourid), "thumbnail" in c && r(4, h = c.thumbnail), "userenrolled" in c && r(5, m = c.userenrolled), "scorecriteria" in c && r(23, f = c.scorecriteria), "minbetcount" in c && r(6, g = c.minbetcount), "showenrolled" in c && r(7, b = c.showenrolled), "gameurl" in c && r(8, y = c.gameurl), "lang" in c && r(24, d = c.lang), "keepbrowsercontext" in c && r(9, v = c.keepbrowsercontext), "clientstyling" in c && r(25, P = c.clientstyling), "clientstylingurl" in c && r(26, N = c.clientstylingurl), "translationurl" in c && r(27, A = c.translationurl);
4505
4511
  }, e.$$.update = () => {
4506
4512
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4507
4513
  33555456 && H && P && ur(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4508
4514
  67109888 && H && N && lr(), e.$$.dirty[0] & /*translationurl*/
4509
- 134217728 && A && D(), e.$$.dirty[0] & /*session*/
4515
+ 134217728 && A && R(), e.$$.dirty[0] & /*session*/
4510
4516
  2097152 && i && or(), e.$$.dirty[0] & /*status*/
4511
4517
  1 && l && Ne(), e.$$.dirty[0] & /*title, lang*/
4512
- 16777218 && a && d && it(), e.$$.dirty[0] & /*startdate*/
4518
+ 16777218 && a && d && Pe(), e.$$.dirty[0] & /*startdate*/
4513
4519
  4 && u && Ie(), e.$$.dirty[0] & /*scorecriteria*/
4514
4520
  8388608 && f && Oe();
4515
4521
  }, [
@@ -4518,14 +4524,14 @@ function ki(e, t, r) {
4518
4524
  u,
4519
4525
  o,
4520
4526
  h,
4521
- c,
4527
+ m,
4522
4528
  g,
4523
4529
  b,
4524
4530
  y,
4525
4531
  v,
4526
4532
  H,
4527
- G,
4528
- k,
4533
+ F,
4534
+ D,
4529
4535
  J,
4530
4536
  z,
4531
4537
  C,
@@ -4533,7 +4539,7 @@ function ki(e, t, r) {
4533
4539
  Ie,
4534
4540
  Ne,
4535
4541
  Oe,
4536
- nt,
4542
+ it,
4537
4543
  i,
4538
4544
  s,
4539
4545
  f,
@@ -4545,13 +4551,13 @@ function ki(e, t, r) {
4545
4551
  fr
4546
4552
  ];
4547
4553
  }
4548
- class Ui extends $r {
4554
+ class Fi extends $r {
4549
4555
  constructor(t) {
4550
4556
  super(), Fr(
4551
4557
  this,
4552
4558
  t,
4559
+ Ui,
4553
4560
  ki,
4554
- Di,
4555
4561
  Mt,
4556
4562
  {
4557
4563
  session: 21,
@@ -4572,7 +4578,7 @@ class Ui extends $r {
4572
4578
  clientstylingurl: 26,
4573
4579
  translationurl: 27
4574
4580
  },
4575
- Mi,
4581
+ Li,
4576
4582
  [-1, -1]
4577
4583
  );
4578
4584
  }
@@ -4679,7 +4685,7 @@ class Ui extends $r {
4679
4685
  this.$$set({ translationurl: t }), w();
4680
4686
  }
4681
4687
  }
4682
- Gr(Ui, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4688
+ Gr(Fi, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4683
4689
  export {
4684
- Ui as default
4690
+ Fi as default
4685
4691
  };