@everymatrix/tournament-details-page 0.2.2 → 0.2.3

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.
Files changed (95) hide show
  1. package/components/{ChartIcon-DpI8g8MS.js → ChartIcon-Bhz3dlNt.js} +1 -1
  2. package/components/{ChartIcon-BnuWrPCu.js → ChartIcon-Bpak0Ha5.js} +1 -1
  3. package/components/{ChartIcon-BOJYO_mg.cjs → ChartIcon-CQ9xzPNv.cjs} +1 -1
  4. package/components/{ChartIcon-RZGJve9X.cjs → ChartIcon-jHYM_pz4.cjs} +1 -1
  5. package/components/{CoinStackIcon-D7VDNLPL.js → CoinStackIcon-6LCcPwql.js} +1 -1
  6. package/components/{CoinStackIcon-JPra1r-T.js → CoinStackIcon-Ccp3qOAA.js} +1 -1
  7. package/components/{CoinStackIcon-D9m5o_fi.cjs → CoinStackIcon-gHBgq0A7.cjs} +1 -1
  8. package/components/{CoinStackIcon-DFr0r7ql.cjs → CoinStackIcon-w0E7Vjou.cjs} +1 -1
  9. package/components/{DocumentsIcon-DFbkU_nq.js → DocumentsIcon-CCY_TgTL.js} +1 -1
  10. package/components/{DocumentsIcon-BMHGy7l5.cjs → DocumentsIcon-D7v18JHm.cjs} +1 -1
  11. package/components/{DocumentsIcon-CbpU2Gyn.js → DocumentsIcon-SkzMlDao.js} +1 -1
  12. package/components/{DocumentsIcon-BGDIx1Br.cjs → DocumentsIcon-TikJpiUM.cjs} +1 -1
  13. package/components/{FootballIcon-Dh004HAn.cjs → FootballIcon-2V3-bZP6.cjs} +1 -1
  14. package/components/{FootballIcon-Ba3k9QwJ.cjs → FootballIcon-BxC3qLd6.cjs} +1 -1
  15. package/components/{FootballIcon-BXfYxMAS.js → FootballIcon-CNGC-ysJ.js} +1 -1
  16. package/components/{FootballIcon-t-RiDqHO.js → FootballIcon-DiVQPE5J.js} +1 -1
  17. package/components/{PeopleIcon-Dij57H9Y.cjs → PeopleIcon-CIePqv40.cjs} +1 -1
  18. package/components/{PeopleIcon-2b-6fziq.js → PeopleIcon-CeTcZT9N.js} +1 -1
  19. package/components/{PeopleIcon-BL0lywpf.js → PeopleIcon-DE_VDpzu.js} +1 -1
  20. package/components/{PeopleIcon-Bi5uKQ9t.cjs → PeopleIcon-nbIehGXq.cjs} +1 -1
  21. package/components/{RankArrowIcon-DxqeIh-2.js → RankArrowIcon-CwlkgpW2.js} +1 -1
  22. package/components/{RankArrowIcon-BLPI8Ihl.js → RankArrowIcon-DeVP6SqV.js} +1 -1
  23. package/components/{RankArrowIcon-C1FqD2OV.cjs → RankArrowIcon-Dfflx6jx.cjs} +1 -1
  24. package/components/{RankArrowIcon-D9MUkVQC.cjs → RankArrowIcon-N3Rja8qO.cjs} +1 -1
  25. package/components/{SlotMachineIcon-_w58r-b5.cjs → SlotMachineIcon-B8LXNyS_.cjs} +1 -1
  26. package/components/{SlotMachineIcon-Cuv-0tTj.cjs → SlotMachineIcon-BB--rwxm.cjs} +1 -1
  27. package/components/{SlotMachineIcon-DbLnS5Dy.js → SlotMachineIcon-Bcda_Xmo.js} +1 -1
  28. package/components/{SlotMachineIcon-rm59GZar.js → SlotMachineIcon-BfZMN8W8.js} +1 -1
  29. package/components/{StatusBadge-94g1_G1j.js → StatusBadge-48pKkesj.js} +1801 -1768
  30. package/components/{StatusBadge-DuF7NK69.js → StatusBadge-BUU_5AgK.js} +1415 -1382
  31. package/components/StatusBadge-Bi4UTGIK.cjs +11 -0
  32. package/components/StatusBadge-CiBujliJ.cjs +11 -0
  33. package/components/TournamentActions-CZGHUCTG.js +110 -0
  34. package/components/TournamentActions-DYS3Zas8.cjs +18 -0
  35. package/components/TournamentActions-DrwI70Qj.js +108 -0
  36. package/components/TournamentActions-yR_aN1JY.cjs +18 -0
  37. package/components/{TournamentDetailsPage-BknZ3XLG.js → TournamentDetailsPage-Bp60Uk-8.js} +291 -207
  38. package/components/{TournamentDetailsPage-DbL7sBZM.cjs → TournamentDetailsPage-BuiUVQhu.cjs} +4 -4
  39. package/components/{TournamentDetailsPage-DKQGDSr1.cjs → TournamentDetailsPage-DEpxQPEA.cjs} +4 -4
  40. package/components/{TournamentDetailsPage-AkoBgtU-.js → TournamentDetailsPage-Dnv8IQ1B.js} +342 -258
  41. package/components/{TournamentDetailsSkeleton-BTCHrmxN.cjs → TournamentDetailsSkeleton-B7Qc2qaP.cjs} +1 -1
  42. package/components/{TournamentDetailsSkeleton-Dtd2H__T.cjs → TournamentDetailsSkeleton-CFgmljN6.cjs} +1 -1
  43. package/components/{TournamentDetailsSkeleton-CmKNNW5d.js → TournamentDetailsSkeleton-Dn6_fjHV.js} +17 -17
  44. package/components/{TournamentDetailsSkeleton-D0L8P1tb.js → TournamentDetailsSkeleton-qTpuepan.js} +17 -17
  45. package/components/TournamentGames-BHzZyU1T.cjs +19 -0
  46. package/components/{TournamentGames-BGr8V4Dd.js → TournamentGames-BSbbbGfz.js} +154 -147
  47. package/components/{TournamentGames-BhXlS-fA.js → TournamentGames-D9NuiZl1.js} +133 -126
  48. package/components/TournamentGames-Zkp7iS-3.cjs +19 -0
  49. package/components/{TournamentImage-BFh29Z7_.js → TournamentImage-B8k7urkf.js} +61 -51
  50. package/components/{TournamentImage-CxfcEUy6.cjs → TournamentImage-BxojXrGF.cjs} +2 -2
  51. package/components/{TournamentImage-D26UWHyP.cjs → TournamentImage-By_eps51.cjs} +2 -2
  52. package/components/{TournamentImage-Hm-i2BLZ.js → TournamentImage-DAfP40BM.js} +59 -49
  53. package/components/TournamentLeaderboard-BHGPwbuz.cjs +44 -0
  54. package/components/TournamentLeaderboard-Bk72WFe2.js +1500 -0
  55. package/components/TournamentLeaderboard-C1uFc5GZ.cjs +44 -0
  56. package/components/TournamentLeaderboard-cnaAJbty.js +1561 -0
  57. package/components/{TournamentRules-DwcmzDOu.js → TournamentRules-B392M3KD.js} +69 -69
  58. package/components/{TournamentRules-iglqjP1P.cjs → TournamentRules-BpcwEy6C.cjs} +3 -3
  59. package/components/{TournamentRules-Dxup5GZ2.js → TournamentRules-D8ePsXfz.js} +72 -72
  60. package/components/{TournamentRules-Bu4jfxhb.cjs → TournamentRules-DRhqdG_B.cjs} +3 -3
  61. package/components/TournamentSummary-BvxGV6na.cjs +3 -0
  62. package/components/TournamentSummary-DAVQCaqt.js +145 -0
  63. package/components/TournamentSummary-DPIK4FyI.cjs +3 -0
  64. package/components/TournamentSummary-DRt9iIEz.js +150 -0
  65. package/components/{TournamentTabs-DHZPrDgf.js → TournamentTabs-BVNuWoQ4.js} +14 -14
  66. package/components/{TournamentTabs-ryceiGS3.cjs → TournamentTabs-C5mZ8N3x.cjs} +1 -1
  67. package/components/{TournamentTabs-BVEr7PbQ.cjs → TournamentTabs-D4lAhT6v.cjs} +1 -1
  68. package/components/{TournamentTabs-B5Hc7DnJ.js → TournamentTabs-DOIFHU3l.js} +18 -18
  69. package/components/{TrophyIcon-DddCZpjC.cjs → TrophyIcon-95ROc4Lc.cjs} +1 -1
  70. package/components/{TrophyIcon-DbEHhyTe.js → TrophyIcon-BolnMSK-.js} +4 -4
  71. package/components/{TrophyIcon-DJyC3k-2.js → TrophyIcon-BqeMso6k.js} +4 -4
  72. package/components/{TrophyIcon-eLIudkPn.cjs → TrophyIcon-BuT5Q6K0.cjs} +1 -1
  73. package/components/translations-Bgd_tQSB.cjs +1 -0
  74. package/components/translations-CPDBBwzN.cjs +1 -0
  75. package/components/{translations-BQS5XycD.js → translations-CoULEJN6.js} +37 -5
  76. package/components/{translations-DPzojb4V.js → translations-CzV51BzW.js} +37 -5
  77. package/es2015/tournament-details-page.cjs +1 -1
  78. package/es2015/tournament-details-page.js +2 -2
  79. package/esnext/tournament-details-page.cjs +1 -1
  80. package/esnext/tournament-details-page.js +2 -2
  81. package/package.json +1 -1
  82. package/components/StatusBadge-Bdc22cMY.cjs +0 -8
  83. package/components/StatusBadge-BsjzjNer.cjs +0 -8
  84. package/components/TournamentGames-Ch4ODv3u.cjs +0 -19
  85. package/components/TournamentGames-D8h0gDfK.cjs +0 -19
  86. package/components/TournamentLeaderboard-1i-FoUCN.cjs +0 -38
  87. package/components/TournamentLeaderboard-B6IMbAZ_.cjs +0 -38
  88. package/components/TournamentLeaderboard-BJ0mlW5c.js +0 -1384
  89. package/components/TournamentLeaderboard-BM3HZ0jQ.js +0 -1441
  90. package/components/TournamentSummary-B7I6gN81.js +0 -145
  91. package/components/TournamentSummary-C24QhbUw.cjs +0 -3
  92. package/components/TournamentSummary-HgOjtkW2.cjs +0 -3
  93. package/components/TournamentSummary-ozfHjUkk.js +0 -150
  94. package/components/translations-BSe2qToO.cjs +0 -1
  95. package/components/translations-FufS-X5l.cjs +0 -1
@@ -1,38 +1,38 @@
1
- var ve = (_, o, i) => new Promise((O, q) => {
2
- var S = (g) => {
1
+ var _e = (_, r, i) => new Promise((L, q) => {
2
+ var S = (c) => {
3
3
  try {
4
- h(i.next(g));
5
- } catch (b) {
6
- q(b);
4
+ h(i.next(c));
5
+ } catch (x) {
6
+ q(x);
7
7
  }
8
- }, N = (g) => {
8
+ }, N = (c) => {
9
9
  try {
10
- h(i.throw(g));
11
- } catch (b) {
12
- q(b);
10
+ h(i.throw(c));
11
+ } catch (x) {
12
+ q(x);
13
13
  }
14
- }, h = (g) => g.done ? O(g.value) : Promise.resolve(g.value).then(S, N);
15
- h((i = i.apply(_, o)).next());
14
+ }, h = (c) => c.done ? L(c.value) : Promise.resolve(c.value).then(S, N);
15
+ h((i = i.apply(_, r)).next());
16
16
  });
17
- import { B as He, c as De, g as Fe, a as Je, p as d, C as qe, D as _e, E as Ke, K as Qe, F as Ue, q as P, G as ne, i as H, R as Ve, b as m, d as We, f as v, v as c, J as Ze, h as D, j as t, s as C, r as z, o as F, N as k, t as L, k as xe, l as J, O as M, T as re, V as be, P as oe, L as ie, M as le, m as I, U as Xe, $ as Ye, H as $e, W as et, Q as tt } from "./StatusBadge-94g1_G1j.js";
18
- import { s as at, G as fe, f as st, a as nt } from "./TournamentLeaderboard-BM3HZ0jQ.js";
19
- import { a as rt } from "./translations-DPzojb4V.js";
17
+ import { C as De, c as Fe, g as Je, a as qe, p as g, D as Ke, E as xe, F as Qe, J as Ue, G as Ve, o as B, H as oe, i as H, T as We, b as m, d as Xe, f as v, q as d, I as Ze, h as D, j as t, s as E, r as O, u as F, M as k, t as z, k as be, l as J, N as M, U as ie, W as fe, Q as le, O as me, P as ue, m as I, V as Ye, $ as $e, K as et, X as tt, R as at } from "./StatusBadge-48pKkesj.js";
18
+ import { s as nt, a as st, G as ye, f as rt, b as ot } from "./TournamentLeaderboard-cnaAJbty.js";
19
+ import { a as it } from "./translations-CzV51BzW.js";
20
20
  typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
21
21
  }, globalThis.customElements = { define() {
22
22
  }, get() {
23
23
  }, whenDefined() {
24
24
  } });
25
- const ot = (_, o = !1) => {
25
+ const lt = (_, r = !1) => {
26
26
  if (!_)
27
27
  return;
28
28
  const i = parseFloat(getComputedStyle(_).scrollMarginTop) || 0;
29
- if (o && _.getBoundingClientRect().top >= i)
29
+ if (r && _.getBoundingClientRect().top >= i)
30
30
  return;
31
- const O = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
32
- _.scrollIntoView({ behavior: O ? "auto" : "smooth", block: "start" });
31
+ const L = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
32
+ _.scrollIntoView({ behavior: L ? "auto" : "smooth", block: "start" });
33
33
  };
34
- var it = v('<div class="tournament-games__tabs svelte-49hxa3" role="tablist"><button type="button" role="tab"> </button> <button type="button" role="tab"> </button></div>'), ye = v('<p class="tournament-games__empty svelte-49hxa3"> </p>'), lt = v('<span class="tournament-games__badge svelte-49hxa3"> </span>'), mt = v('<button type="button" class="tournament-games__game svelte-49hxa3"><img class="tournament-games__image svelte-49hxa3" loading="lazy"/> <span class="tournament-games__play svelte-49hxa3" aria-hidden="true"><span class="tournament-games__play-button svelte-49hxa3"> </span></span> <!></button>'), ut = v('<span class="tournament-games__game tournament-games__game--placeholder svelte-49hxa3" aria-hidden="true"></span>'), gt = v('<div class="tournament-games__sentinel svelte-49hxa3"></div>'), dt = v('<div class="tournament-games__grid svelte-49hxa3"><!> <!></div> <!>', 1), ct = v('<li class="svelte-49hxa3"> </li>'), ht = v('<ul class="tournament-games__events svelte-49hxa3"></ul>'), pt = v('<div class="tournament-games svelte-49hxa3"><!> <!></div>');
35
- const vt = {
34
+ var mt = v('<div class="tournament-games__tabs svelte-49hxa3" role="tablist"><button type="button" role="tab"> </button> <button type="button" role="tab"> </button></div>'), we = v('<p class="tournament-games__empty svelte-49hxa3"> </p>'), ut = v('<span class="tournament-games__badge svelte-49hxa3"> </span>'), gt = v('<button type="button" class="tournament-games__game svelte-49hxa3"><img class="tournament-games__image svelte-49hxa3" loading="lazy"/> <span class="tournament-games__play svelte-49hxa3" aria-hidden="true"><span class="tournament-games__play-button svelte-49hxa3"> </span></span> <!></button>'), dt = v('<span class="tournament-games__game tournament-games__game--placeholder svelte-49hxa3" aria-hidden="true"></span>'), ct = v('<div class="tournament-games__sentinel svelte-49hxa3"></div>'), ht = v('<div class="tournament-games__grid svelte-49hxa3"><!> <!></div> <!>', 1), pt = v('<li class="svelte-49hxa3"> </li>'), vt = v('<ul class="tournament-games__events svelte-49hxa3"></ul>'), _t = v('<div class="tournament-games svelte-49hxa3"><!> <!></div>');
35
+ const xt = {
36
36
  hash: "svelte-49hxa3",
37
37
  code: `.tournament-games.svelte-49hxa3 {scroll-margin-top:80px;display:flex;flex-direction:column;gap:20px;color:var(--text-subtle, rgba(223, 227, 232, 1));.tournament-games__tabs:where(.svelte-49hxa3) {display:flex;border-bottom:1px solid var(--border-default, rgba(251, 251, 251, 0.15));width:max-content;max-width:100%;}.tournament-games__tab:where(.svelte-49hxa3) {position:relative;flex:0 0 auto;height:31px;padding:0 10px;border:0;background:transparent;color:var(--text-subtle, rgba(223, 227, 232, 1));font:inherit;font-size:14px;font-weight:500;cursor:pointer;line-height:145%;min-width:206px;&.active {color:var(--text-brand, rgba(255, 204, 0, 1));font-weight:700;&::after {content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--pagination-bg-selected, rgba(255, 204, 0, 1));}}}.tournament-games__grid:where(.svelte-49hxa3) {display:grid;grid-template-columns:repeat(6, minmax(0, 1fr));gap:8px;}.tournament-games__game:where(.svelte-49hxa3) {position:relative;display:block;width:100%;align-self:start;padding:0;overflow:hidden;border:0;border-radius:6px;background:transparent;line-height:0;cursor:pointer;&:focus-visible {outline:2px solid var(--border-brand, rgba(255, 204, 0, 1));outline-offset:2px;}&:focus-visible .tournament-games__play:where(.svelte-49hxa3) {opacity:1;}
38
38
 
@@ -54,241 +54,248 @@ const vt = {
54
54
  animation: none;}.tournament-games.svelte-49hxa3 .tournament-games__play:where(.svelte-49hxa3) {transition:none;}
55
55
  }`
56
56
  };
57
- function _t(_, o) {
58
- var ce, he;
59
- Fe(o, !0), Je(_, vt);
60
- const i = () => Xe(Ye, "$_", O), [O, q] = Ze(), S = d(o, "initialGames", 7), N = d(o, "endpoint", 7), h = d(o, "language", 7, "en"), g = d(o, "session", 7), b = d(o, "tournamentid", 7), V = d(o, "totalGames", 7), W = d(o, "platform", 7), Z = d(o, "tournamentMetadata", 7), K = d(o, "translationurl", 7), R = d(o, "hasCasino", 7, !0), j = d(o, "hasSports", 7, !1);
61
- qe(rt), _e(h());
62
- const we = () => {
63
- _e(h());
57
+ function bt(_, r) {
58
+ var he, pe;
59
+ Je(r, !0), qe(_, xt);
60
+ const i = () => Ye($e, "$_", L), [L, q] = Ze(), S = g(r, "initialGames", 7), N = g(r, "endpoint", 7), h = g(r, "language", 7, "en"), c = g(r, "session", 7), x = g(r, "tournamentid", 7), K = g(r, "tournamentname", 7, ""), W = g(r, "totalGames", 7), X = g(r, "platform", 7), Z = g(r, "tournamentMetadata", 7), Q = g(r, "translationurl", 7), R = g(r, "hasCasino", 7, !0), j = g(r, "hasSports", 7, !1);
61
+ Ke(it), xe(h());
62
+ const Te = () => {
63
+ xe(h());
64
64
  };
65
- Ke(() => {
66
- K() && Qe(K());
67
- }), Ue(() => {
68
- we();
65
+ Qe(() => {
66
+ Q() && Ue(Q());
67
+ }), Ve(() => {
68
+ Te();
69
69
  });
70
- let f = P(ne(S() || [])), Q = P(ne((he = V()) != null ? he : ((ce = S()) == null ? void 0 : ce.length) || 0)), X = P(!1), G = P(ne(R() || !j() ? "casino" : "sports")), Y = P(null);
71
- const me = (e) => {
72
- e !== t(G) && (I(G, e, !0), $e().then(() => ot(t(Y), !0)));
73
- }, ue = F(() => R() && j()), Ge = F(() => t(ue) ? t(G) === "casino" : !j() || R()), $ = F(() => t(f).length < t(Q)), Te = F(() => Math.min(Math.max(t(Q) - t(f).length, 0), fe)), ge = F(() => {
74
- var a, s;
75
- const e = (s = (a = Z()) == null ? void 0 : a.sports) == null ? void 0 : s.rules;
70
+ let f = B(oe(S() || [])), U = B(oe((pe = W()) != null ? pe : ((he = S()) == null ? void 0 : he.length) || 0)), Y = B(!1), y = B(oe(R() || !j() ? "casino" : "sports")), $ = B(null);
71
+ const ge = (e) => {
72
+ e !== t(y) && (I(y, e, !0), nt({ id: x(), nameOrTitle: K() }, e), et().then(() => lt(t($), !0)));
73
+ }, ee = F(() => R() && j()), Ge = F(() => t(ee) ? t(y) === "casino" : !j() || R()), te = F(() => t(f).length < t(U)), ke = F(() => Math.min(Math.max(t(U) - t(f).length, 0), ye)), de = F(() => {
74
+ var a, n;
75
+ const e = (n = (a = Z()) == null ? void 0 : a.sports) == null ? void 0 : n.rules;
76
76
  if (!e)
77
77
  return [];
78
78
  try {
79
- const n = JSON.parse(e);
80
- return n[h()] || n["*"] || [];
81
- } catch (n) {
82
- return console.log(n), [];
79
+ const s = JSON.parse(e);
80
+ return s[h()] || s["*"] || [];
81
+ } catch (s) {
82
+ return console.log(s), [];
83
83
  }
84
- }), ke = () => ve(this, null, function* () {
85
- var e, a, s, n;
86
- if (!(!t($) || t(X))) {
87
- I(X, !0);
84
+ }), Me = () => _e(this, null, function* () {
85
+ var e, a, n, s;
86
+ if (!(!t(te) || t(Y))) {
87
+ I(Y, !0);
88
88
  try {
89
- const r = yield st({
89
+ const o = yield rt({
90
90
  endpoint: N(),
91
91
  language: h(),
92
- platform: W(),
93
- session: g(),
94
- tournamentid: b(),
92
+ platform: X(),
93
+ session: c(),
94
+ tournamentid: x(),
95
95
  filterById: !0,
96
- gamesLimit: fe,
96
+ gamesLimit: ye,
97
97
  gamesOffset: t(f).length
98
98
  });
99
- I(f, [...t(f), ...(a = (e = r == null ? void 0 : r.games) == null ? void 0 : e.items) != null ? a : []], !0), I(Q, (n = (s = r == null ? void 0 : r.games) == null ? void 0 : s.total) != null ? n : t(Q), !0);
100
- } catch (r) {
101
- console.log(r);
99
+ I(f, [...t(f), ...(a = (e = o == null ? void 0 : o.games) == null ? void 0 : e.items) != null ? a : []], !0), I(U, (s = (n = o == null ? void 0 : o.games) == null ? void 0 : n.total) != null ? s : t(U), !0);
100
+ } catch (o) {
101
+ console.log(o);
102
102
  } finally {
103
- I(X, !1);
103
+ I(Y, !1);
104
104
  }
105
105
  }
106
- }), ee = (e, a) => {
107
- const s = new IntersectionObserver(
108
- (n) => {
109
- n.some((r) => r.isIntersecting) && a();
106
+ }), ae = (e, a) => {
107
+ const n = new IntersectionObserver(
108
+ (s) => {
109
+ s.some((o) => o.isIntersecting) && a();
110
110
  },
111
- { rootMargin: nt }
111
+ { rootMargin: ot }
112
112
  );
113
- return s.observe(e), {
113
+ return n.observe(e), {
114
114
  destroy() {
115
- s.disconnect();
115
+ n.disconnect();
116
116
  }
117
117
  };
118
- }, Me = (e) => {
119
- at(e, b());
118
+ }, Se = (e) => {
119
+ st(e, { id: x(), nameOrTitle: K() }, t(ee) ? t(y) : void 0);
120
120
  };
121
- var Se = {
121
+ var Ae = {
122
122
  get initialGames() {
123
123
  return S();
124
124
  },
125
125
  set initialGames(e) {
126
- S(e), c();
126
+ S(e), d();
127
127
  },
128
128
  get endpoint() {
129
129
  return N();
130
130
  },
131
131
  set endpoint(e) {
132
- N(e), c();
132
+ N(e), d();
133
133
  },
134
134
  get language() {
135
135
  return h();
136
136
  },
137
137
  set language(e = "en") {
138
- h(e), c();
138
+ h(e), d();
139
139
  },
140
140
  get session() {
141
- return g();
141
+ return c();
142
142
  },
143
143
  set session(e) {
144
- g(e), c();
144
+ c(e), d();
145
145
  },
146
146
  get tournamentid() {
147
- return b();
147
+ return x();
148
148
  },
149
149
  set tournamentid(e) {
150
- b(e), c();
150
+ x(e), d();
151
+ },
152
+ get tournamentname() {
153
+ return K();
154
+ },
155
+ set tournamentname(e = "") {
156
+ K(e), d();
151
157
  },
152
158
  get totalGames() {
153
- return V();
159
+ return W();
154
160
  },
155
161
  set totalGames(e) {
156
- V(e), c();
162
+ W(e), d();
157
163
  },
158
164
  get platform() {
159
- return W();
165
+ return X();
160
166
  },
161
167
  set platform(e) {
162
- W(e), c();
168
+ X(e), d();
163
169
  },
164
170
  get tournamentMetadata() {
165
171
  return Z();
166
172
  },
167
173
  set tournamentMetadata(e) {
168
- Z(e), c();
174
+ Z(e), d();
169
175
  },
170
176
  get translationurl() {
171
- return K();
177
+ return Q();
172
178
  },
173
179
  set translationurl(e) {
174
- K(e), c();
180
+ Q(e), d();
175
181
  },
176
182
  get hasCasino() {
177
183
  return R();
178
184
  },
179
185
  set hasCasino(e = !0) {
180
- R(e), c();
186
+ R(e), d();
181
187
  },
182
188
  get hasSports() {
183
189
  return j();
184
190
  },
185
191
  set hasSports(e = !1) {
186
- j(e), c();
192
+ j(e), d();
187
193
  }
188
- }, U = pt(), de = D(U);
194
+ }, V = _t(), ce = D(V);
189
195
  {
190
- var Ae = (e) => {
191
- var a = it(), s = D(a);
192
- let n;
193
- var r = k(s, !0), l = C(s, 2);
196
+ var Ce = (e) => {
197
+ var a = mt(), n = D(a);
198
+ let s;
199
+ var o = k(n, !0), l = E(n, 2);
194
200
  let u;
195
201
  var p = k(l, !0);
196
- z(a), L(
197
- (A, te) => {
198
- n = xe(s, 1, "tournament-games__tab svelte-49hxa3", null, n, { active: t(G) === "casino" }), J(s, "aria-selected", t(G) === "casino"), M(r, A), u = xe(l, 1, "tournament-games__tab svelte-49hxa3", null, u, { active: t(G) === "sports" }), J(l, "aria-selected", t(G) === "sports"), M(p, te);
202
+ O(a), z(
203
+ (A, ne) => {
204
+ s = be(n, 1, "tournament-games__tab svelte-49hxa3", null, s, { active: t(y) === "casino" }), J(n, "aria-selected", t(y) === "casino"), M(o, A), u = be(l, 1, "tournament-games__tab svelte-49hxa3", null, u, { active: t(y) === "sports" }), J(l, "aria-selected", t(y) === "sports"), M(p, ne);
199
205
  },
200
206
  [() => i()("casinoTab"), () => i()("sportsTab")]
201
- ), re("click", s, () => me("casino")), re("click", l, () => me("sports")), m(e, a);
207
+ ), ie("click", n, () => ge("casino")), ie("click", l, () => ge("sports")), m(e, a);
202
208
  };
203
- H(de, (e) => {
204
- t(ue) && e(Ae);
209
+ H(ce, (e) => {
210
+ t(ee) && e(Ce);
205
211
  });
206
212
  }
207
- var Ee = C(de, 2);
213
+ var Ee = E(ce, 2);
208
214
  {
209
- var Ce = (e) => {
210
- var a = be(), s = oe(a);
215
+ var Oe = (e) => {
216
+ var a = fe(), n = le(a);
211
217
  {
212
- var n = (l) => {
213
- var u = ye(), p = k(u, !0);
214
- L((A) => M(p, A), [() => i()("noAvailableGames")]), m(l, u);
215
- }, r = (l) => {
216
- var u = dt(), p = oe(u), A = D(p);
217
- ie(A, 17, () => t(f), le, (T, x) => {
218
- var y = mt(), E = D(y), w = C(E, 2), ae = D(w), se = k(ae, !0);
219
- z(w);
220
- var Re = C(w, 2);
218
+ var s = (l) => {
219
+ var u = we(), p = k(u, !0);
220
+ z((A) => M(p, A), [() => i()("noAvailableGames")]), m(l, u);
221
+ }, o = (l) => {
222
+ var u = ht(), p = le(u), A = D(p);
223
+ me(A, 17, () => t(f), ue, (G, b) => {
224
+ var w = gt(), C = D(w), T = E(C, 2), se = D(T), re = k(se, !0);
225
+ O(T);
226
+ var je = E(T, 2);
221
227
  {
222
- var je = (B) => {
223
- var pe = lt(), Be = k(pe, !0);
224
- L((Pe) => M(Be, Pe), [() => i()("newBadge")]), m(B, pe);
228
+ var Pe = (P) => {
229
+ var ve = ut(), Be = k(ve, !0);
230
+ z((He) => M(Be, He), [() => i()("newBadge")]), m(P, ve);
225
231
  };
226
- H(Re, (B) => {
227
- t(x).isNew && B(je);
232
+ H(je, (P) => {
233
+ t(b).isNew && P(Pe);
228
234
  });
229
235
  }
230
- z(y), L(
231
- (B) => {
232
- J(y, "title", t(x).name), J(E, "src", `https:${t(x).thumbnail}`), J(E, "alt", t(x).name), M(se, B);
236
+ O(w), z(
237
+ (P) => {
238
+ J(w, "title", t(b).name), J(C, "src", `https:${t(b).thumbnail}`), J(C, "alt", t(b).name), M(re, P);
233
239
  },
234
240
  [() => i()("play")]
235
- ), re("click", y, () => Me(t(x))), m(T, y);
241
+ ), ie("click", w, () => Se(t(b))), m(G, w);
236
242
  });
237
- var te = C(A, 2);
238
- ie(te, 17, () => Array(t(Te)), le, (T, x, y, E) => {
239
- var w = ut();
240
- m(T, w);
241
- }), z(p);
242
- var Oe = C(p, 2);
243
+ var ne = E(A, 2);
244
+ me(ne, 17, () => Array(t(ke)), ue, (G, b, w, C) => {
245
+ var T = dt();
246
+ m(G, T);
247
+ }), O(p);
248
+ var Ne = E(p, 2);
243
249
  {
244
- var Ne = (T) => {
245
- var x = be(), y = oe(x);
246
- et(y, () => t(f).length, (E) => {
247
- var w = gt();
248
- tt(w, (ae, se) => ee == null ? void 0 : ee(ae, se), () => ke), m(E, w);
249
- }), m(T, x);
250
+ var Re = (G) => {
251
+ var b = fe(), w = le(b);
252
+ tt(w, () => t(f).length, (C) => {
253
+ var T = ct();
254
+ at(T, (se, re) => ae == null ? void 0 : ae(se, re), () => Me), m(C, T);
255
+ }), m(G, b);
250
256
  };
251
- H(Oe, (T) => {
252
- t($) && T(Ne);
257
+ H(Ne, (G) => {
258
+ t(te) && G(Re);
253
259
  });
254
260
  }
255
261
  m(l, u);
256
262
  };
257
- H(s, (l) => {
258
- t(f).length === 0 && !t($) ? l(n) : l(r, -1);
263
+ H(n, (l) => {
264
+ t(f).length === 0 && !t(te) ? l(s) : l(o, -1);
259
265
  });
260
266
  }
261
267
  m(e, a);
262
268
  }, ze = (e) => {
263
- var a = ye(), s = k(a, !0);
264
- L((n) => M(s, n), [() => i()("noAvailableEvents")]), m(e, a);
265
- }, Le = (e) => {
266
- var a = ht();
267
- ie(a, 21, () => t(ge), le, (s, n) => {
268
- var r = ct(), l = k(r);
269
- L((u) => {
269
+ var a = we(), n = k(a, !0);
270
+ z((s) => M(n, s), [() => i()("noAvailableEvents")]), m(e, a);
271
+ }, Ie = (e) => {
272
+ var a = vt();
273
+ me(a, 21, () => t(de), ue, (n, s) => {
274
+ var o = pt(), l = k(o);
275
+ z((u) => {
270
276
  var p;
271
- return M(l, `${(p = t(n).rule) != null ? p : ""} ${u != null ? u : ""}`);
272
- }, [() => i()("contribution")]), m(s, r);
273
- }), z(a), m(e, a);
277
+ return M(l, `${(p = t(s).rule) != null ? p : ""} ${u != null ? u : ""}`);
278
+ }, [() => i()("contribution")]), m(n, o);
279
+ }), O(a), m(e, a);
274
280
  };
275
281
  H(Ee, (e) => {
276
- t(Ge) ? e(Ce) : t(ge).length === 0 ? e(ze, 1) : e(Le, -1);
282
+ t(Ge) ? e(Oe) : t(de).length === 0 ? e(ze, 1) : e(Ie, -1);
277
283
  });
278
284
  }
279
- z(U), Ve(U, (e) => I(Y, e), () => t(Y)), m(_, U);
280
- var Ie = We(Se);
281
- return q(), Ie;
285
+ O(V), We(V, (e) => I($, e), () => t($)), m(_, V);
286
+ var Le = Xe(Ae);
287
+ return q(), Le;
282
288
  }
283
- He(["click"]);
284
- De(
285
- _t,
289
+ De(["click"]);
290
+ Fe(
291
+ bt,
286
292
  {
287
293
  initialGames: {},
288
294
  endpoint: {},
289
295
  language: {},
290
296
  session: {},
291
297
  tournamentid: {},
298
+ tournamentname: {},
292
299
  totalGames: {},
293
300
  platform: {},
294
301
  tournamentMetadata: {},
@@ -301,6 +308,6 @@ De(
301
308
  { mode: "open" }
302
309
  );
303
310
  export {
304
- _t as T,
305
- ot as s
311
+ bt as T,
312
+ lt as s
306
313
  };