@everymatrix/tournament-details-page 0.2.3 → 0.2.5
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.
- package/components/{ChartIcon-CQ9xzPNv.cjs → ChartIcon-Befgjhbq.cjs} +1 -1
- package/components/{ChartIcon-Bpak0Ha5.js → ChartIcon-Cijyoj4D.js} +1 -1
- package/components/{ChartIcon-jHYM_pz4.cjs → ChartIcon-DHA4OiwS.cjs} +1 -1
- package/components/{ChartIcon-Bhz3dlNt.js → ChartIcon-R4lVwti5.js} +1 -1
- package/components/{CoinStackIcon-w0E7Vjou.cjs → CoinStackIcon-BJ5Cza44.cjs} +1 -1
- package/components/{CoinStackIcon-Ccp3qOAA.js → CoinStackIcon-C1F7M7aX.js} +1 -1
- package/components/{CoinStackIcon-6LCcPwql.js → CoinStackIcon-D3SYgfiW.js} +1 -1
- package/components/{CoinStackIcon-gHBgq0A7.cjs → CoinStackIcon-DaTufppr.cjs} +1 -1
- package/components/{DocumentsIcon-SkzMlDao.js → DocumentsIcon-B8czAvSb.js} +1 -1
- package/components/{DocumentsIcon-D7v18JHm.cjs → DocumentsIcon-C-xeVT_v.cjs} +1 -1
- package/components/{DocumentsIcon-CCY_TgTL.js → DocumentsIcon-DNlyMYIU.js} +1 -1
- package/components/{DocumentsIcon-TikJpiUM.cjs → DocumentsIcon-SuePRQNo.cjs} +1 -1
- package/components/{FootballIcon-BxC3qLd6.cjs → FootballIcon-B8X-AjbG.cjs} +1 -1
- package/components/{FootballIcon-2V3-bZP6.cjs → FootballIcon-C4eNGKY4.cjs} +1 -1
- package/components/{FootballIcon-DiVQPE5J.js → FootballIcon-DVZ96gIt.js} +1 -1
- package/components/{FootballIcon-CNGC-ysJ.js → FootballIcon-u7l6pKui.js} +1 -1
- package/components/{PeopleIcon-nbIehGXq.cjs → PeopleIcon-BflWZAxo.cjs} +1 -1
- package/components/{PeopleIcon-CeTcZT9N.js → PeopleIcon-DLW94oOG.js} +1 -1
- package/components/{PeopleIcon-CIePqv40.cjs → PeopleIcon-DciAxL_a.cjs} +1 -1
- package/components/{PeopleIcon-DE_VDpzu.js → PeopleIcon-s7Ccyi1V.js} +1 -1
- package/components/{RankArrowIcon-CwlkgpW2.js → RankArrowIcon-97fk5fg5.js} +1 -1
- package/components/{RankArrowIcon-DeVP6SqV.js → RankArrowIcon-FXyB2gGq.js} +1 -1
- package/components/{RankArrowIcon-N3Rja8qO.cjs → RankArrowIcon-SoYkNu_W.cjs} +1 -1
- package/components/{RankArrowIcon-Dfflx6jx.cjs → RankArrowIcon-hrpZ9ET-.cjs} +1 -1
- package/components/{SlotMachineIcon-BfZMN8W8.js → SlotMachineIcon-BNa44gB0.js} +1 -1
- package/components/{SlotMachineIcon-B8LXNyS_.cjs → SlotMachineIcon-CaTi0xrT.cjs} +1 -1
- package/components/{SlotMachineIcon-Bcda_Xmo.js → SlotMachineIcon-CpTV5Gjw.js} +1 -1
- package/components/{SlotMachineIcon-BB--rwxm.cjs → SlotMachineIcon-DyoJSpjm.cjs} +1 -1
- package/components/{StatusBadge-48pKkesj.js → StatusBadge-1cAE-BMW.js} +1 -1
- package/components/{StatusBadge-CiBujliJ.cjs → StatusBadge-CMV-2nkA.cjs} +1 -1
- package/components/{StatusBadge-Bi4UTGIK.cjs → StatusBadge-DYQwo1l2.cjs} +1 -1
- package/components/{StatusBadge-BUU_5AgK.js → StatusBadge-Dz7gL5NT.js} +1 -1
- package/components/{TournamentActions-CZGHUCTG.js → TournamentActions-B4XIKdGS.js} +3 -3
- package/components/{TournamentActions-DrwI70Qj.js → TournamentActions-CIe9g5tR.js} +3 -3
- package/components/{TournamentActions-DYS3Zas8.cjs → TournamentActions-D0kIKeFb.cjs} +1 -1
- package/components/{TournamentActions-yR_aN1JY.cjs → TournamentActions-DHAVf_xi.cjs} +1 -1
- package/components/{TournamentDetailsPage-DEpxQPEA.cjs → TournamentDetailsPage-5vGjPG32.cjs} +2 -2
- package/components/{TournamentDetailsPage-Bp60Uk-8.js → TournamentDetailsPage-CQdLNEwc.js} +10 -10
- package/components/{TournamentDetailsPage-BuiUVQhu.cjs → TournamentDetailsPage-CdsWSXuQ.cjs} +2 -2
- package/components/{TournamentDetailsPage-Dnv8IQ1B.js → TournamentDetailsPage-DdXVtbXN.js} +10 -10
- package/components/{TournamentDetailsSkeleton-B7Qc2qaP.cjs → TournamentDetailsSkeleton-Ck8yL46X.cjs} +3 -3
- package/components/{TournamentDetailsSkeleton-qTpuepan.js → TournamentDetailsSkeleton-DA318hry.js} +8 -8
- package/components/{TournamentDetailsSkeleton-CFgmljN6.cjs → TournamentDetailsSkeleton-DYzVvOUN.cjs} +3 -3
- package/components/{TournamentDetailsSkeleton-Dn6_fjHV.js → TournamentDetailsSkeleton-DthtZKyT.js} +8 -8
- package/components/TournamentGames-CM0_tj8g.cjs +19 -0
- package/components/TournamentGames-D4b31JLG.cjs +19 -0
- package/components/TournamentGames-VQKGwemr.js +325 -0
- package/components/TournamentGames-n4c8SvY_.js +303 -0
- package/components/{TournamentImage-B8k7urkf.js → TournamentImage-87bhDEnk.js} +1 -1
- package/components/{TournamentImage-DAfP40BM.js → TournamentImage-D0na0-p6.js} +1 -1
- package/components/{TournamentImage-By_eps51.cjs → TournamentImage-D6eLaW4m.cjs} +1 -1
- package/components/{TournamentImage-BxojXrGF.cjs → TournamentImage-DK1HgudW.cjs} +1 -1
- package/components/{TournamentLeaderboard-C1uFc5GZ.cjs → TournamentLeaderboard-C3iblI14.cjs} +9 -9
- package/components/{TournamentLeaderboard-Bk72WFe2.js → TournamentLeaderboard-Cc-xMiwP.js} +179 -179
- package/components/{TournamentLeaderboard-cnaAJbty.js → TournamentLeaderboard-DvvnA47t.js} +252 -252
- package/components/{TournamentLeaderboard-BHGPwbuz.cjs → TournamentLeaderboard-NEJ1wTBv.cjs} +2 -2
- package/components/TournamentRules-CyqSU5RQ.js +147 -0
- package/components/TournamentRules-D9R2cmXK.js +152 -0
- package/components/TournamentRules-DDlD1tXH.cjs +6 -0
- package/components/TournamentRules-OGoN3OYX.cjs +6 -0
- package/components/{TournamentSummary-DPIK4FyI.cjs → TournamentSummary-BY9YlM53.cjs} +1 -1
- package/components/{TournamentSummary-DRt9iIEz.js → TournamentSummary-CewShnfd.js} +6 -6
- package/components/{TournamentSummary-DAVQCaqt.js → TournamentSummary-D_DLGxO7.js} +6 -6
- package/components/{TournamentSummary-BvxGV6na.cjs → TournamentSummary-Dy6cHmly.cjs} +1 -1
- package/components/{TournamentTabs-D4lAhT6v.cjs → TournamentTabs-3OdZuIOf.cjs} +1 -1
- package/components/{TournamentTabs-C5mZ8N3x.cjs → TournamentTabs-BDsQomg2.cjs} +1 -1
- package/components/{TournamentTabs-DOIFHU3l.js → TournamentTabs-mlb4UDEZ.js} +2 -2
- package/components/{TournamentTabs-BVNuWoQ4.js → TournamentTabs-yOsQleAI.js} +2 -2
- package/components/{TrophyIcon-95ROc4Lc.cjs → TrophyIcon-CUdep5Qu.cjs} +1 -1
- package/components/{TrophyIcon-BqeMso6k.js → TrophyIcon-D6xEdEIW.js} +1 -1
- package/components/{TrophyIcon-BuT5Q6K0.cjs → TrophyIcon-DJDEDfa7.cjs} +1 -1
- package/components/{TrophyIcon-BolnMSK-.js → TrophyIcon-rK1Ad8lv.js} +1 -1
- package/components/{translations-CPDBBwzN.cjs → translations-B2zzqYUc.cjs} +1 -1
- package/components/{translations-CzV51BzW.js → translations-BPv4iAvC.js} +10 -7
- package/components/{translations-CoULEJN6.js → translations-BY4crXAR.js} +10 -7
- package/components/{translations-Bgd_tQSB.cjs → translations-CmWDttoq.cjs} +1 -1
- package/es2015/tournament-details-page.cjs +1 -1
- package/es2015/tournament-details-page.js +2 -2
- package/esnext/tournament-details-page.cjs +1 -1
- package/esnext/tournament-details-page.js +2 -2
- package/package.json +1 -1
- package/components/TournamentGames-BHzZyU1T.cjs +0 -19
- package/components/TournamentGames-BSbbbGfz.js +0 -313
- package/components/TournamentGames-D9NuiZl1.js +0 -291
- package/components/TournamentGames-Zkp7iS-3.cjs +0 -19
- package/components/TournamentRules-B392M3KD.js +0 -138
- package/components/TournamentRules-BpcwEy6C.cjs +0 -6
- package/components/TournamentRules-D8ePsXfz.js +0 -143
- package/components/TournamentRules-DRhqdG_B.cjs +0 -6
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
var fe = (_, r, i) => new Promise((N, K) => {
|
|
2
|
+
var z = (p) => {
|
|
3
|
+
try {
|
|
4
|
+
v(i.next(p));
|
|
5
|
+
} catch (x) {
|
|
6
|
+
K(x);
|
|
7
|
+
}
|
|
8
|
+
}, R = (p) => {
|
|
9
|
+
try {
|
|
10
|
+
v(i.throw(p));
|
|
11
|
+
} catch (x) {
|
|
12
|
+
K(x);
|
|
13
|
+
}
|
|
14
|
+
}, v = (p) => p.done ? N(p.value) : Promise.resolve(p.value).then(z, R);
|
|
15
|
+
v((i = i.apply(_, r)).next());
|
|
16
|
+
});
|
|
17
|
+
import { C as He, c as Fe, g as Je, a as qe, p as g, D as Ke, E as ye, F as Qe, J as Ue, G as we, o as H, H as le, L as Ve, i as F, T as We, b as u, d as Xe, f as h, q as d, I as Ze, h as O, j as t, s as S, r as A, m as I, u as J, M as k, t as L, k as Te, l as q, N as M, U as me, W as Ge, Q as ue, O as ge, P as de, V as Ye, $ as $e, K as et, X as tt, R as at } from "./StatusBadge-1cAE-BMW.js";
|
|
18
|
+
import { f as nt, G as ke, s as st, a as rt, b as ot } from "./TournamentLeaderboard-DvvnA47t.js";
|
|
19
|
+
import { a as it } from "./translations-BPv4iAvC.js";
|
|
20
|
+
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
21
|
+
}, globalThis.customElements = { define() {
|
|
22
|
+
}, get() {
|
|
23
|
+
}, whenDefined() {
|
|
24
|
+
} });
|
|
25
|
+
const lt = (_, r = !1) => {
|
|
26
|
+
if (!_)
|
|
27
|
+
return;
|
|
28
|
+
const i = parseFloat(getComputedStyle(_).scrollMarginTop) || 0;
|
|
29
|
+
if (r && _.getBoundingClientRect().top >= i)
|
|
30
|
+
return;
|
|
31
|
+
const N = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
32
|
+
_.scrollIntoView({ behavior: N ? "auto" : "smooth", block: "start" });
|
|
33
|
+
};
|
|
34
|
+
var mt = h('<div class="tournament-games__tabs svelte-49hxa3" role="tablist"><button type="button" role="tab"> </button> <button type="button" role="tab"> </button></div>'), ut = h('<div class="tournament-games__empty svelte-49hxa3"><p class="tournament-games__empty-title svelte-49hxa3"> </p> <p class="tournament-games__empty-description svelte-49hxa3"> </p></div>'), gt = h('<span class="tournament-games__badge svelte-49hxa3"> </span>'), dt = h('<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>'), pt = h('<span class="tournament-games__game tournament-games__game--placeholder svelte-49hxa3" aria-hidden="true"></span>'), ct = h('<div class="tournament-games__sentinel svelte-49hxa3"></div>'), ht = h('<div class="tournament-games__grid svelte-49hxa3"><!> <!></div> <!>', 1), vt = h('<p class="tournament-games__empty svelte-49hxa3"> </p>'), _t = h('<li class="svelte-49hxa3"> </li>'), xt = h('<ul class="tournament-games__events svelte-49hxa3"></ul>'), bt = h('<div class="tournament-games svelte-49hxa3"><!> <!></div>');
|
|
35
|
+
const ft = {
|
|
36
|
+
hash: "svelte-49hxa3",
|
|
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
|
+
|
|
39
|
+
@media (hover: hover) {&:hover .tournament-games__play:where(.svelte-49hxa3) {opacity:1;}
|
|
40
|
+
}}.tournament-games__play:where(.svelte-49hxa3) {position:absolute;inset:0;z-index:2;display:flex;justify-content:center;align-items:center;border-radius:6px;background:rgba(0, 0, 0, 0.6);line-height:1;opacity:0;transition:opacity 0.2s ease;}.tournament-games__play-button:where(.svelte-49hxa3) {display:flex;justify-content:center;align-items:center;min-width:50%;padding:8px 16px;border-radius:6px;background:var(--button-primary-bg-default, #ffcc00);color:var(--button-primary-text-default, rgba(38, 29, 0, 1));font-size:13px;font-weight:600;}.tournament-games__game--placeholder:where(.svelte-49hxa3) {height:120px;background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.05));cursor:default;
|
|
41
|
+
animation: svelte-49hxa3-tournament-games-pulse 1.2s ease-in-out infinite;}.tournament-games__image:where(.svelte-49hxa3) {display:block;width:100%;height:120px;object-fit:cover;border-radius:6px;}.tournament-games__badge:where(.svelte-49hxa3) {position:absolute;top:10px;left:9.6px;z-index:1;display:flex;justify-content:center;align-items:center;padding:4px 6px;background:var(--bg-overlay-secondary-level-5, rgba(0, 40, 81, 0.35));border:1px solid var(--primary-400, rgba(255, 204, 0, 1));backdrop-filter:blur(10px);box-shadow:0 2px 6px rgba(0, 0, 0, 0.25);border-radius:12px;color:var(--primary-400, rgba(255, 225, 107, 1));font-size:8px;line-height:8px;}.tournament-games__sentinel:where(.svelte-49hxa3) {height:1px;margin-top:-16px;}.tournament-games__events:where(.svelte-49hxa3) {display:flex;flex-direction:column;gap:24px;margin:0;padding:0;font-size:12px;line-height:1.4;list-style:none;font-weight:400;color:var(--text-subtle, rgba(223, 227, 232, 1));}.tournament-games__empty:where(.svelte-49hxa3) {display:flex;flex-direction:column;align-items:center;gap:8px;padding:63px 16px;text-align:center;p:where(.svelte-49hxa3) {margin:0;}}.tournament-games__empty-title:where(.svelte-49hxa3) {color:var(--text-default, rgba(223, 227, 232, 1));font-size:14px;font-weight:700;}.tournament-games__empty-description:where(.svelte-49hxa3) {max-width:340px;color:var(--text-super-subtle, rgba(251, 251, 251, 0.5));font-size:14px;font-weight:500;}}
|
|
42
|
+
|
|
43
|
+
@keyframes svelte-49hxa3-tournament-games-pulse {
|
|
44
|
+
50% {
|
|
45
|
+
opacity: 0.5;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media (max-width: 767px) {.tournament-games.svelte-49hxa3 {.tournament-games__tabs:where(.svelte-49hxa3) {width:100%;}.tournament-games__tab:where(.svelte-49hxa3) {flex:1;min-width:0;font-size:12px;font-weight:400;}.tournament-games__grid:where(.svelte-49hxa3) {grid-template-columns:repeat(3, minmax(0, 1fr));}.tournament-games__image:where(.svelte-49hxa3),
|
|
50
|
+
.tournament-games__game--placeholder:where(.svelte-49hxa3) {height:75px;}.tournament-games__badge:where(.svelte-49hxa3) {top:5px;left:4.67px;}}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@media (prefers-reduced-motion: reduce) {.tournament-games.svelte-49hxa3 .tournament-games__game--placeholder:where(.svelte-49hxa3) {
|
|
54
|
+
animation: none;}.tournament-games.svelte-49hxa3 .tournament-games__play:where(.svelte-49hxa3) {transition:none;}
|
|
55
|
+
}`
|
|
56
|
+
};
|
|
57
|
+
function yt(_, r) {
|
|
58
|
+
var _e, xe;
|
|
59
|
+
Je(r, !0), qe(_, ft);
|
|
60
|
+
const i = () => Ye($e, "$_", N), [N, K] = Ze(), z = g(r, "initialGames", 7), R = g(r, "endpoint", 7), v = g(r, "language", 7, "en"), p = g(r, "session", 7), x = g(r, "tournamentid", 7), Q = g(r, "tournamentname", 7, ""), X = g(r, "totalGames", 7), Z = g(r, "platform", 7), Y = g(r, "tournamentMetadata", 7), U = g(r, "translationurl", 7), j = g(r, "hasCasino", 7, !0), P = g(r, "hasSports", 7, !1);
|
|
61
|
+
Ke(it), ye(v());
|
|
62
|
+
const Me = () => {
|
|
63
|
+
ye(v());
|
|
64
|
+
};
|
|
65
|
+
Qe(() => {
|
|
66
|
+
U() && Ue(U());
|
|
67
|
+
}), we(() => {
|
|
68
|
+
Me();
|
|
69
|
+
});
|
|
70
|
+
let y = H(le(z() || [])), V = H(le((xe = X()) != null ? xe : ((_e = z()) == null ? void 0 : _e.length) || 0)), $ = H(!1), w = H(le(j() || !P() ? "casino" : "sports")), ee = H(null);
|
|
71
|
+
const pe = (e) => {
|
|
72
|
+
e !== t(w) && (I(w, e, !0), st({ id: x(), nameOrTitle: Q() }, e), et().then(() => lt(t(ee), !0)));
|
|
73
|
+
}, te = J(() => j() && P()), Se = J(() => t(te) ? t(w) === "casino" : !P() || j()), ae = J(() => t(y).length < t(V)), Ae = J(() => Math.min(Math.max(t(V) - t(y).length, 0), ke)), ce = J(() => {
|
|
74
|
+
var a, n;
|
|
75
|
+
const e = (n = (a = Y()) == null ? void 0 : a.sports) == null ? void 0 : n.rules;
|
|
76
|
+
if (!e)
|
|
77
|
+
return [];
|
|
78
|
+
try {
|
|
79
|
+
const s = JSON.parse(e);
|
|
80
|
+
return s[v()] || s["*"] || [];
|
|
81
|
+
} catch (s) {
|
|
82
|
+
return console.log(s), [];
|
|
83
|
+
}
|
|
84
|
+
}), he = () => fe(this, null, function* () {
|
|
85
|
+
var e, a, n, s;
|
|
86
|
+
if (!(!t(ae) || t($))) {
|
|
87
|
+
I($, !0);
|
|
88
|
+
try {
|
|
89
|
+
const o = yield nt({
|
|
90
|
+
endpoint: R(),
|
|
91
|
+
language: v(),
|
|
92
|
+
platform: Z(),
|
|
93
|
+
session: p(),
|
|
94
|
+
tournamentid: x(),
|
|
95
|
+
filterById: !0,
|
|
96
|
+
gamesLimit: ke,
|
|
97
|
+
gamesOffset: t(y).length
|
|
98
|
+
});
|
|
99
|
+
I(y, [...t(y), ...(a = (e = o == null ? void 0 : o.games) == null ? void 0 : e.items) != null ? a : []], !0), I(V, (s = (n = o == null ? void 0 : o.games) == null ? void 0 : n.total) != null ? s : t(V), !0);
|
|
100
|
+
} catch (o) {
|
|
101
|
+
console.log(o);
|
|
102
|
+
} finally {
|
|
103
|
+
I($, !1);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
we(() => {
|
|
108
|
+
Ve(() => he());
|
|
109
|
+
});
|
|
110
|
+
const ne = (e, a) => {
|
|
111
|
+
const n = new IntersectionObserver(
|
|
112
|
+
(s) => {
|
|
113
|
+
s.some((o) => o.isIntersecting) && a();
|
|
114
|
+
},
|
|
115
|
+
{ rootMargin: ot }
|
|
116
|
+
);
|
|
117
|
+
return n.observe(e), {
|
|
118
|
+
destroy() {
|
|
119
|
+
n.disconnect();
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
}, ze = (e) => {
|
|
123
|
+
rt(e, { id: x(), nameOrTitle: Q() }, t(te) ? t(w) : void 0);
|
|
124
|
+
};
|
|
125
|
+
var Ce = {
|
|
126
|
+
get initialGames() {
|
|
127
|
+
return z();
|
|
128
|
+
},
|
|
129
|
+
set initialGames(e) {
|
|
130
|
+
z(e), d();
|
|
131
|
+
},
|
|
132
|
+
get endpoint() {
|
|
133
|
+
return R();
|
|
134
|
+
},
|
|
135
|
+
set endpoint(e) {
|
|
136
|
+
R(e), d();
|
|
137
|
+
},
|
|
138
|
+
get language() {
|
|
139
|
+
return v();
|
|
140
|
+
},
|
|
141
|
+
set language(e = "en") {
|
|
142
|
+
v(e), d();
|
|
143
|
+
},
|
|
144
|
+
get session() {
|
|
145
|
+
return p();
|
|
146
|
+
},
|
|
147
|
+
set session(e) {
|
|
148
|
+
p(e), d();
|
|
149
|
+
},
|
|
150
|
+
get tournamentid() {
|
|
151
|
+
return x();
|
|
152
|
+
},
|
|
153
|
+
set tournamentid(e) {
|
|
154
|
+
x(e), d();
|
|
155
|
+
},
|
|
156
|
+
get tournamentname() {
|
|
157
|
+
return Q();
|
|
158
|
+
},
|
|
159
|
+
set tournamentname(e = "") {
|
|
160
|
+
Q(e), d();
|
|
161
|
+
},
|
|
162
|
+
get totalGames() {
|
|
163
|
+
return X();
|
|
164
|
+
},
|
|
165
|
+
set totalGames(e) {
|
|
166
|
+
X(e), d();
|
|
167
|
+
},
|
|
168
|
+
get platform() {
|
|
169
|
+
return Z();
|
|
170
|
+
},
|
|
171
|
+
set platform(e) {
|
|
172
|
+
Z(e), d();
|
|
173
|
+
},
|
|
174
|
+
get tournamentMetadata() {
|
|
175
|
+
return Y();
|
|
176
|
+
},
|
|
177
|
+
set tournamentMetadata(e) {
|
|
178
|
+
Y(e), d();
|
|
179
|
+
},
|
|
180
|
+
get translationurl() {
|
|
181
|
+
return U();
|
|
182
|
+
},
|
|
183
|
+
set translationurl(e) {
|
|
184
|
+
U(e), d();
|
|
185
|
+
},
|
|
186
|
+
get hasCasino() {
|
|
187
|
+
return j();
|
|
188
|
+
},
|
|
189
|
+
set hasCasino(e = !0) {
|
|
190
|
+
j(e), d();
|
|
191
|
+
},
|
|
192
|
+
get hasSports() {
|
|
193
|
+
return P();
|
|
194
|
+
},
|
|
195
|
+
set hasSports(e = !1) {
|
|
196
|
+
P(e), d();
|
|
197
|
+
}
|
|
198
|
+
}, W = bt(), ve = O(W);
|
|
199
|
+
{
|
|
200
|
+
var Ee = (e) => {
|
|
201
|
+
var a = mt(), n = O(a);
|
|
202
|
+
let s;
|
|
203
|
+
var o = k(n, !0), l = S(n, 2);
|
|
204
|
+
let m;
|
|
205
|
+
var c = k(l, !0);
|
|
206
|
+
A(a), L(
|
|
207
|
+
(C, B) => {
|
|
208
|
+
s = Te(n, 1, "tournament-games__tab svelte-49hxa3", null, s, { active: t(w) === "casino" }), q(n, "aria-selected", t(w) === "casino"), M(o, C), m = Te(l, 1, "tournament-games__tab svelte-49hxa3", null, m, { active: t(w) === "sports" }), q(l, "aria-selected", t(w) === "sports"), M(c, B);
|
|
209
|
+
},
|
|
210
|
+
[() => i()("casinoTab"), () => i()("sportsTab")]
|
|
211
|
+
), me("click", n, () => pe("casino")), me("click", l, () => pe("sports")), u(e, a);
|
|
212
|
+
};
|
|
213
|
+
F(ve, (e) => {
|
|
214
|
+
t(te) && e(Ee);
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
var Oe = S(ve, 2);
|
|
218
|
+
{
|
|
219
|
+
var Ie = (e) => {
|
|
220
|
+
var a = Ge(), n = ue(a);
|
|
221
|
+
{
|
|
222
|
+
var s = (l) => {
|
|
223
|
+
var m = ut(), c = O(m), C = k(c, !0), B = S(c, 2), se = k(B, !0);
|
|
224
|
+
A(m), L(
|
|
225
|
+
(re, b) => {
|
|
226
|
+
M(C, re), M(se, b);
|
|
227
|
+
},
|
|
228
|
+
[
|
|
229
|
+
() => i()("noAvailableGames"),
|
|
230
|
+
() => i()("noAvailableGamesDescription")
|
|
231
|
+
]
|
|
232
|
+
), u(l, m);
|
|
233
|
+
}, o = (l) => {
|
|
234
|
+
var m = ht(), c = ue(m), C = O(c);
|
|
235
|
+
ge(C, 17, () => t(y), de, (b, f) => {
|
|
236
|
+
var T = dt(), E = O(T), G = S(E, 2), oe = O(G), ie = k(oe, !0);
|
|
237
|
+
A(G);
|
|
238
|
+
var je = S(G, 2);
|
|
239
|
+
{
|
|
240
|
+
var Pe = (D) => {
|
|
241
|
+
var be = gt(), Be = k(be, !0);
|
|
242
|
+
L((De) => M(Be, De), [() => i()("newBadge")]), u(D, be);
|
|
243
|
+
};
|
|
244
|
+
F(je, (D) => {
|
|
245
|
+
t(f).isNew && D(Pe);
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
A(T), L(
|
|
249
|
+
(D) => {
|
|
250
|
+
q(T, "title", t(f).name), q(E, "src", `https:${t(f).thumbnail}`), q(E, "alt", t(f).name), M(ie, D);
|
|
251
|
+
},
|
|
252
|
+
[() => i()("play")]
|
|
253
|
+
), me("click", T, () => ze(t(f))), u(b, T);
|
|
254
|
+
});
|
|
255
|
+
var B = S(C, 2);
|
|
256
|
+
ge(B, 17, () => Array(t(Ae)), de, (b, f, T, E) => {
|
|
257
|
+
var G = pt();
|
|
258
|
+
u(b, G);
|
|
259
|
+
}), A(c);
|
|
260
|
+
var se = S(c, 2);
|
|
261
|
+
{
|
|
262
|
+
var re = (b) => {
|
|
263
|
+
var f = Ge(), T = ue(f);
|
|
264
|
+
tt(T, () => t(y).length, (E) => {
|
|
265
|
+
var G = ct();
|
|
266
|
+
at(G, (oe, ie) => ne == null ? void 0 : ne(oe, ie), () => he), u(E, G);
|
|
267
|
+
}), u(b, f);
|
|
268
|
+
};
|
|
269
|
+
F(se, (b) => {
|
|
270
|
+
t(ae) && b(re);
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
u(l, m);
|
|
274
|
+
};
|
|
275
|
+
F(n, (l) => {
|
|
276
|
+
t(y).length === 0 && !t(ae) ? l(s) : l(o, -1);
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
u(e, a);
|
|
280
|
+
}, Le = (e) => {
|
|
281
|
+
var a = vt(), n = k(a, !0);
|
|
282
|
+
L((s) => M(n, s), [() => i()("noAvailableEvents")]), u(e, a);
|
|
283
|
+
}, Ne = (e) => {
|
|
284
|
+
var a = xt();
|
|
285
|
+
ge(a, 21, () => t(ce), de, (n, s) => {
|
|
286
|
+
var o = _t(), l = k(o);
|
|
287
|
+
L((m) => {
|
|
288
|
+
var c;
|
|
289
|
+
return M(l, `${(c = t(s).rule) != null ? c : ""} ${m != null ? m : ""}`);
|
|
290
|
+
}, [() => i()("contribution")]), u(n, o);
|
|
291
|
+
}), A(a), u(e, a);
|
|
292
|
+
};
|
|
293
|
+
F(Oe, (e) => {
|
|
294
|
+
t(Se) ? e(Ie) : t(ce).length === 0 ? e(Le, 1) : e(Ne, -1);
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
A(W), We(W, (e) => I(ee, e), () => t(ee)), u(_, W);
|
|
298
|
+
var Re = Xe(Ce);
|
|
299
|
+
return K(), Re;
|
|
300
|
+
}
|
|
301
|
+
He(["click"]);
|
|
302
|
+
Fe(
|
|
303
|
+
yt,
|
|
304
|
+
{
|
|
305
|
+
initialGames: {},
|
|
306
|
+
endpoint: {},
|
|
307
|
+
language: {},
|
|
308
|
+
session: {},
|
|
309
|
+
tournamentid: {},
|
|
310
|
+
tournamentname: {},
|
|
311
|
+
totalGames: {},
|
|
312
|
+
platform: {},
|
|
313
|
+
tournamentMetadata: {},
|
|
314
|
+
translationurl: {},
|
|
315
|
+
hasCasino: {},
|
|
316
|
+
hasSports: {}
|
|
317
|
+
},
|
|
318
|
+
[],
|
|
319
|
+
[],
|
|
320
|
+
{ mode: "open" }
|
|
321
|
+
);
|
|
322
|
+
export {
|
|
323
|
+
yt as T,
|
|
324
|
+
lt as s
|
|
325
|
+
};
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import { C as Pe, c as Be, g as De, a as He, p as i, D as Ve, E as ve, F as Fe, J as Je, G as _e, o as j, H as oe, L as qe, i as P, T as Ke, b as o, d as Qe, f as u, q as l, I as Ue, h as z, j as t, s as G, r as k, m as C, u as B, M as y, t as E, k as xe, l as D, N as w, U as ie, W as be, Q as le, O as me, P as ue, V as We, $ as Xe, K as Ze, X as Ye, R as $e } from "./StatusBadge-Dz7gL5NT.js";
|
|
2
|
+
import { f as et, G as fe, s as tt, a as at, b as nt } from "./TournamentLeaderboard-Cc-xMiwP.js";
|
|
3
|
+
import { a as st } from "./translations-BY4crXAR.js";
|
|
4
|
+
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
5
|
+
}, globalThis.customElements = { define() {
|
|
6
|
+
}, get() {
|
|
7
|
+
}, whenDefined() {
|
|
8
|
+
} });
|
|
9
|
+
const rt = (T, n = !1) => {
|
|
10
|
+
if (!T)
|
|
11
|
+
return;
|
|
12
|
+
const g = parseFloat(getComputedStyle(T).scrollMarginTop) || 0;
|
|
13
|
+
if (n && T.getBoundingClientRect().top >= g)
|
|
14
|
+
return;
|
|
15
|
+
const K = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
16
|
+
T.scrollIntoView({ behavior: K ? "auto" : "smooth", block: "start" });
|
|
17
|
+
};
|
|
18
|
+
var ot = u('<div class="tournament-games__tabs svelte-49hxa3" role="tablist"><button type="button" role="tab"> </button> <button type="button" role="tab"> </button></div>'), it = u('<div class="tournament-games__empty svelte-49hxa3"><p class="tournament-games__empty-title svelte-49hxa3"> </p> <p class="tournament-games__empty-description svelte-49hxa3"> </p></div>'), lt = u('<span class="tournament-games__badge svelte-49hxa3"> </span>'), mt = u('<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 = u('<span class="tournament-games__game tournament-games__game--placeholder svelte-49hxa3" aria-hidden="true"></span>'), gt = u('<div class="tournament-games__sentinel svelte-49hxa3"></div>'), dt = u('<div class="tournament-games__grid svelte-49hxa3"><!> <!></div> <!>', 1), pt = u('<p class="tournament-games__empty svelte-49hxa3"> </p>'), ct = u('<li class="svelte-49hxa3"> </li>'), ht = u('<ul class="tournament-games__events svelte-49hxa3"></ul>'), vt = u('<div class="tournament-games svelte-49hxa3"><!> <!></div>');
|
|
19
|
+
const _t = {
|
|
20
|
+
hash: "svelte-49hxa3",
|
|
21
|
+
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;}
|
|
22
|
+
|
|
23
|
+
@media (hover: hover) {&:hover .tournament-games__play:where(.svelte-49hxa3) {opacity:1;}
|
|
24
|
+
}}.tournament-games__play:where(.svelte-49hxa3) {position:absolute;inset:0;z-index:2;display:flex;justify-content:center;align-items:center;border-radius:6px;background:rgba(0, 0, 0, 0.6);line-height:1;opacity:0;transition:opacity 0.2s ease;}.tournament-games__play-button:where(.svelte-49hxa3) {display:flex;justify-content:center;align-items:center;min-width:50%;padding:8px 16px;border-radius:6px;background:var(--button-primary-bg-default, #ffcc00);color:var(--button-primary-text-default, rgba(38, 29, 0, 1));font-size:13px;font-weight:600;}.tournament-games__game--placeholder:where(.svelte-49hxa3) {height:120px;background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.05));cursor:default;
|
|
25
|
+
animation: svelte-49hxa3-tournament-games-pulse 1.2s ease-in-out infinite;}.tournament-games__image:where(.svelte-49hxa3) {display:block;width:100%;height:120px;object-fit:cover;border-radius:6px;}.tournament-games__badge:where(.svelte-49hxa3) {position:absolute;top:10px;left:9.6px;z-index:1;display:flex;justify-content:center;align-items:center;padding:4px 6px;background:var(--bg-overlay-secondary-level-5, rgba(0, 40, 81, 0.35));border:1px solid var(--primary-400, rgba(255, 204, 0, 1));backdrop-filter:blur(10px);box-shadow:0 2px 6px rgba(0, 0, 0, 0.25);border-radius:12px;color:var(--primary-400, rgba(255, 225, 107, 1));font-size:8px;line-height:8px;}.tournament-games__sentinel:where(.svelte-49hxa3) {height:1px;margin-top:-16px;}.tournament-games__events:where(.svelte-49hxa3) {display:flex;flex-direction:column;gap:24px;margin:0;padding:0;font-size:12px;line-height:1.4;list-style:none;font-weight:400;color:var(--text-subtle, rgba(223, 227, 232, 1));}.tournament-games__empty:where(.svelte-49hxa3) {display:flex;flex-direction:column;align-items:center;gap:8px;padding:63px 16px;text-align:center;p:where(.svelte-49hxa3) {margin:0;}}.tournament-games__empty-title:where(.svelte-49hxa3) {color:var(--text-default, rgba(223, 227, 232, 1));font-size:14px;font-weight:700;}.tournament-games__empty-description:where(.svelte-49hxa3) {max-width:340px;color:var(--text-super-subtle, rgba(251, 251, 251, 0.5));font-size:14px;font-weight:500;}}
|
|
26
|
+
|
|
27
|
+
@keyframes svelte-49hxa3-tournament-games-pulse {
|
|
28
|
+
50% {
|
|
29
|
+
opacity: 0.5;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@media (max-width: 767px) {.tournament-games.svelte-49hxa3 {.tournament-games__tabs:where(.svelte-49hxa3) {width:100%;}.tournament-games__tab:where(.svelte-49hxa3) {flex:1;min-width:0;font-size:12px;font-weight:400;}.tournament-games__grid:where(.svelte-49hxa3) {grid-template-columns:repeat(3, minmax(0, 1fr));}.tournament-games__image:where(.svelte-49hxa3),
|
|
34
|
+
.tournament-games__game--placeholder:where(.svelte-49hxa3) {height:75px;}.tournament-games__badge:where(.svelte-49hxa3) {top:5px;left:4.67px;}}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@media (prefers-reduced-motion: reduce) {.tournament-games.svelte-49hxa3 .tournament-games__game--placeholder:where(.svelte-49hxa3) {
|
|
38
|
+
animation: none;}.tournament-games.svelte-49hxa3 .tournament-games__play:where(.svelte-49hxa3) {transition:none;}
|
|
39
|
+
}`
|
|
40
|
+
};
|
|
41
|
+
function xt(T, n) {
|
|
42
|
+
De(n, !0), He(T, _t);
|
|
43
|
+
const g = () => We(Xe, "$_", K), [K, ye] = Ue(), H = i(n, "initialGames", 7), Q = i(n, "endpoint", 7), M = i(n, "language", 7, "en"), U = i(n, "session", 7), O = i(n, "tournamentid", 7), V = i(n, "tournamentname", 7, ""), W = i(n, "totalGames", 7), X = i(n, "platform", 7), Z = i(n, "tournamentMetadata", 7), F = i(n, "translationurl", 7), I = i(n, "hasCasino", 7, !0), L = i(n, "hasSports", 7, !1);
|
|
44
|
+
Ve(st), ve(M());
|
|
45
|
+
const we = () => {
|
|
46
|
+
ve(M());
|
|
47
|
+
};
|
|
48
|
+
Fe(() => {
|
|
49
|
+
F() && Je(F());
|
|
50
|
+
}), _e(() => {
|
|
51
|
+
we();
|
|
52
|
+
});
|
|
53
|
+
let h = j(oe(H() || [])), J = j(oe(W() ?? (H()?.length || 0))), Y = j(!1), v = j(oe(I() || !L() ? "casino" : "sports")), $ = j(null);
|
|
54
|
+
const ge = (e) => {
|
|
55
|
+
e !== t(v) && (C(v, e, !0), tt({ id: O(), nameOrTitle: V() }, e), Ze().then(() => rt(t($), !0)));
|
|
56
|
+
}, ee = B(() => I() && L()), Te = B(() => t(ee) ? t(v) === "casino" : !L() || I()), te = B(() => t(h).length < t(J)), Ge = B(() => Math.min(Math.max(t(J) - t(h).length, 0), fe)), de = B(() => {
|
|
57
|
+
const e = Z()?.sports?.rules;
|
|
58
|
+
if (!e)
|
|
59
|
+
return [];
|
|
60
|
+
try {
|
|
61
|
+
const a = JSON.parse(e);
|
|
62
|
+
return a[M()] || a["*"] || [];
|
|
63
|
+
} catch (a) {
|
|
64
|
+
return console.log(a), [];
|
|
65
|
+
}
|
|
66
|
+
}), pe = async () => {
|
|
67
|
+
if (!(!t(te) || t(Y))) {
|
|
68
|
+
C(Y, !0);
|
|
69
|
+
try {
|
|
70
|
+
const e = await et({
|
|
71
|
+
endpoint: Q(),
|
|
72
|
+
language: M(),
|
|
73
|
+
platform: X(),
|
|
74
|
+
session: U(),
|
|
75
|
+
tournamentid: O(),
|
|
76
|
+
filterById: !0,
|
|
77
|
+
gamesLimit: fe,
|
|
78
|
+
gamesOffset: t(h).length
|
|
79
|
+
});
|
|
80
|
+
C(h, [...t(h), ...e?.games?.items ?? []], !0), C(J, e?.games?.total ?? t(J), !0);
|
|
81
|
+
} catch (e) {
|
|
82
|
+
console.log(e);
|
|
83
|
+
} finally {
|
|
84
|
+
C(Y, !1);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
_e(() => {
|
|
89
|
+
qe(() => pe());
|
|
90
|
+
});
|
|
91
|
+
const ke = (e, a) => {
|
|
92
|
+
const s = new IntersectionObserver(
|
|
93
|
+
(d) => {
|
|
94
|
+
d.some((_) => _.isIntersecting) && a();
|
|
95
|
+
},
|
|
96
|
+
{ rootMargin: nt }
|
|
97
|
+
);
|
|
98
|
+
return s.observe(e), {
|
|
99
|
+
destroy() {
|
|
100
|
+
s.disconnect();
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
}, Me = (e) => {
|
|
104
|
+
at(e, { id: O(), nameOrTitle: V() }, t(ee) ? t(v) : void 0);
|
|
105
|
+
};
|
|
106
|
+
var Se = {
|
|
107
|
+
get initialGames() {
|
|
108
|
+
return H();
|
|
109
|
+
},
|
|
110
|
+
set initialGames(e) {
|
|
111
|
+
H(e), l();
|
|
112
|
+
},
|
|
113
|
+
get endpoint() {
|
|
114
|
+
return Q();
|
|
115
|
+
},
|
|
116
|
+
set endpoint(e) {
|
|
117
|
+
Q(e), l();
|
|
118
|
+
},
|
|
119
|
+
get language() {
|
|
120
|
+
return M();
|
|
121
|
+
},
|
|
122
|
+
set language(e = "en") {
|
|
123
|
+
M(e), l();
|
|
124
|
+
},
|
|
125
|
+
get session() {
|
|
126
|
+
return U();
|
|
127
|
+
},
|
|
128
|
+
set session(e) {
|
|
129
|
+
U(e), l();
|
|
130
|
+
},
|
|
131
|
+
get tournamentid() {
|
|
132
|
+
return O();
|
|
133
|
+
},
|
|
134
|
+
set tournamentid(e) {
|
|
135
|
+
O(e), l();
|
|
136
|
+
},
|
|
137
|
+
get tournamentname() {
|
|
138
|
+
return V();
|
|
139
|
+
},
|
|
140
|
+
set tournamentname(e = "") {
|
|
141
|
+
V(e), l();
|
|
142
|
+
},
|
|
143
|
+
get totalGames() {
|
|
144
|
+
return W();
|
|
145
|
+
},
|
|
146
|
+
set totalGames(e) {
|
|
147
|
+
W(e), l();
|
|
148
|
+
},
|
|
149
|
+
get platform() {
|
|
150
|
+
return X();
|
|
151
|
+
},
|
|
152
|
+
set platform(e) {
|
|
153
|
+
X(e), l();
|
|
154
|
+
},
|
|
155
|
+
get tournamentMetadata() {
|
|
156
|
+
return Z();
|
|
157
|
+
},
|
|
158
|
+
set tournamentMetadata(e) {
|
|
159
|
+
Z(e), l();
|
|
160
|
+
},
|
|
161
|
+
get translationurl() {
|
|
162
|
+
return F();
|
|
163
|
+
},
|
|
164
|
+
set translationurl(e) {
|
|
165
|
+
F(e), l();
|
|
166
|
+
},
|
|
167
|
+
get hasCasino() {
|
|
168
|
+
return I();
|
|
169
|
+
},
|
|
170
|
+
set hasCasino(e = !0) {
|
|
171
|
+
I(e), l();
|
|
172
|
+
},
|
|
173
|
+
get hasSports() {
|
|
174
|
+
return L();
|
|
175
|
+
},
|
|
176
|
+
set hasSports(e = !1) {
|
|
177
|
+
L(e), l();
|
|
178
|
+
}
|
|
179
|
+
}, q = vt(), ce = z(q);
|
|
180
|
+
{
|
|
181
|
+
var Ae = (e) => {
|
|
182
|
+
var a = ot(), s = z(a);
|
|
183
|
+
let d;
|
|
184
|
+
var _ = y(s, !0), r = G(s, 2);
|
|
185
|
+
let m;
|
|
186
|
+
var x = y(r, !0);
|
|
187
|
+
k(a), E(
|
|
188
|
+
(S, N) => {
|
|
189
|
+
d = xe(s, 1, "tournament-games__tab svelte-49hxa3", null, d, { active: t(v) === "casino" }), D(s, "aria-selected", t(v) === "casino"), w(_, S), m = xe(r, 1, "tournament-games__tab svelte-49hxa3", null, m, { active: t(v) === "sports" }), D(r, "aria-selected", t(v) === "sports"), w(x, N);
|
|
190
|
+
},
|
|
191
|
+
[() => g()("casinoTab"), () => g()("sportsTab")]
|
|
192
|
+
), ie("click", s, () => ge("casino")), ie("click", r, () => ge("sports")), o(e, a);
|
|
193
|
+
};
|
|
194
|
+
P(ce, (e) => {
|
|
195
|
+
t(ee) && e(Ae);
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
var ze = G(ce, 2);
|
|
199
|
+
{
|
|
200
|
+
var Ce = (e) => {
|
|
201
|
+
var a = be(), s = le(a);
|
|
202
|
+
{
|
|
203
|
+
var d = (r) => {
|
|
204
|
+
var m = it(), x = z(m), S = y(x, !0), N = G(x, 2), ae = y(N, !0);
|
|
205
|
+
k(m), E(
|
|
206
|
+
(ne, p) => {
|
|
207
|
+
w(S, ne), w(ae, p);
|
|
208
|
+
},
|
|
209
|
+
[
|
|
210
|
+
() => g()("noAvailableGames"),
|
|
211
|
+
() => g()("noAvailableGamesDescription")
|
|
212
|
+
]
|
|
213
|
+
), o(r, m);
|
|
214
|
+
}, _ = (r) => {
|
|
215
|
+
var m = dt(), x = le(m), S = z(x);
|
|
216
|
+
me(S, 17, () => t(h), ue, (p, c) => {
|
|
217
|
+
var b = mt(), A = z(b), f = G(A, 2), se = z(f), re = y(se, !0);
|
|
218
|
+
k(f);
|
|
219
|
+
var Le = G(f, 2);
|
|
220
|
+
{
|
|
221
|
+
var Ne = (R) => {
|
|
222
|
+
var he = lt(), Re = y(he, !0);
|
|
223
|
+
E((je) => w(Re, je), [() => g()("newBadge")]), o(R, he);
|
|
224
|
+
};
|
|
225
|
+
P(Le, (R) => {
|
|
226
|
+
t(c).isNew && R(Ne);
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
k(b), E(
|
|
230
|
+
(R) => {
|
|
231
|
+
D(b, "title", t(c).name), D(A, "src", `https:${t(c).thumbnail}`), D(A, "alt", t(c).name), w(re, R);
|
|
232
|
+
},
|
|
233
|
+
[() => g()("play")]
|
|
234
|
+
), ie("click", b, () => Me(t(c))), o(p, b);
|
|
235
|
+
});
|
|
236
|
+
var N = G(S, 2);
|
|
237
|
+
me(N, 17, () => Array(t(Ge)), ue, (p, c, b, A) => {
|
|
238
|
+
var f = ut();
|
|
239
|
+
o(p, f);
|
|
240
|
+
}), k(x);
|
|
241
|
+
var ae = G(x, 2);
|
|
242
|
+
{
|
|
243
|
+
var ne = (p) => {
|
|
244
|
+
var c = be(), b = le(c);
|
|
245
|
+
Ye(b, () => t(h).length, (A) => {
|
|
246
|
+
var f = gt();
|
|
247
|
+
$e(f, (se, re) => ke?.(se, re), () => pe), o(A, f);
|
|
248
|
+
}), o(p, c);
|
|
249
|
+
};
|
|
250
|
+
P(ae, (p) => {
|
|
251
|
+
t(te) && p(ne);
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
o(r, m);
|
|
255
|
+
};
|
|
256
|
+
P(s, (r) => {
|
|
257
|
+
t(h).length === 0 && !t(te) ? r(d) : r(_, -1);
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
o(e, a);
|
|
261
|
+
}, Ee = (e) => {
|
|
262
|
+
var a = pt(), s = y(a, !0);
|
|
263
|
+
E((d) => w(s, d), [() => g()("noAvailableEvents")]), o(e, a);
|
|
264
|
+
}, Oe = (e) => {
|
|
265
|
+
var a = ht();
|
|
266
|
+
me(a, 21, () => t(de), ue, (s, d) => {
|
|
267
|
+
var _ = ct(), r = y(_);
|
|
268
|
+
E((m) => w(r, `${t(d).rule ?? ""} ${m ?? ""}`), [() => g()("contribution")]), o(s, _);
|
|
269
|
+
}), k(a), o(e, a);
|
|
270
|
+
};
|
|
271
|
+
P(ze, (e) => {
|
|
272
|
+
t(Te) ? e(Ce) : t(de).length === 0 ? e(Ee, 1) : e(Oe, -1);
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
k(q), Ke(q, (e) => C($, e), () => t($)), o(T, q);
|
|
276
|
+
var Ie = Qe(Se);
|
|
277
|
+
return ye(), Ie;
|
|
278
|
+
}
|
|
279
|
+
Pe(["click"]);
|
|
280
|
+
Be(
|
|
281
|
+
xt,
|
|
282
|
+
{
|
|
283
|
+
initialGames: {},
|
|
284
|
+
endpoint: {},
|
|
285
|
+
language: {},
|
|
286
|
+
session: {},
|
|
287
|
+
tournamentid: {},
|
|
288
|
+
tournamentname: {},
|
|
289
|
+
totalGames: {},
|
|
290
|
+
platform: {},
|
|
291
|
+
tournamentMetadata: {},
|
|
292
|
+
translationurl: {},
|
|
293
|
+
hasCasino: {},
|
|
294
|
+
hasSports: {}
|
|
295
|
+
},
|
|
296
|
+
[],
|
|
297
|
+
[],
|
|
298
|
+
{ mode: "open" }
|
|
299
|
+
);
|
|
300
|
+
export {
|
|
301
|
+
xt as T,
|
|
302
|
+
rt as s
|
|
303
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as _, a as $, p as a, i as y, t as ee, e as te, b, d as ae, f as T, g as re, h as Q, s as P, j as n, r as S, k as q, l as c, m as ne, n as ie, u as l, o as se, q as r, v as oe, w as le, x as de, y as me, S as ge, z as ue } from "./StatusBadge-
|
|
1
|
+
import { c as _, a as $, p as a, i as y, t as ee, e as te, b, d as ae, f as T, g as re, h as Q, s as P, j as n, r as S, k as q, l as c, m as ne, n as ie, u as l, o as se, q as r, v as oe, w as le, x as de, y as me, S as ge, z as ue } from "./StatusBadge-Dz7gL5NT.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as _, a as $, p as a, i as y, t as ee, e as te, b as c, d as ae, f as p, g as re, h as Q, s as P, j as n, r as S, k as q, l as T, m as ne, n as ie, u as d, o as se, q as r, v as oe, w as le, x as de, y as me, S as ge, z as ue } from "./StatusBadge-
|
|
1
|
+
import { c as _, a as $, p as a, i as y, t as ee, e as te, b as c, d as ae, f as p, g as re, h as Q, s as P, j as n, r as S, k as q, l as T, m as ne, n as ie, u as d, o as se, q as r, v as oe, w as le, x as de, y as me, S as ge, z as ue } from "./StatusBadge-1cAE-BMW.js";
|
|
2
2
|
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|