@everymatrix/tournament-details-page 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/TournamentDetailsPage-B21wsWnv.js +976 -0
- package/components/TournamentDetailsPage-DW00w9RP.js +953 -0
- package/components/TournamentDetailsPage-FO-PGATk.cjs +63 -0
- package/components/TournamentGames-B0ap9lHo.cjs +26 -0
- package/components/TournamentGames-C0-voJOi.js +324 -0
- package/components/TournamentGames-DIIgfZ-E.js +351 -0
- package/es2015/tournament-details-page.cjs +1 -1
- package/es2015/tournament-details-page.js +1 -1
- package/esnext/tournament-details-page.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
var ve = (T, p, m) => new Promise((K, R) => {
|
|
2
|
+
var D = (u) => {
|
|
3
|
+
try {
|
|
4
|
+
w(m.next(u));
|
|
5
|
+
} catch (G) {
|
|
6
|
+
R(G);
|
|
7
|
+
}
|
|
8
|
+
}, E = (u) => {
|
|
9
|
+
try {
|
|
10
|
+
w(m.throw(u));
|
|
11
|
+
} catch (G) {
|
|
12
|
+
R(G);
|
|
13
|
+
}
|
|
14
|
+
}, w = (u) => u.done ? K(u.value) : Promise.resolve(u.value).then(D, E);
|
|
15
|
+
w((m = m.apply(T, p)).next());
|
|
16
|
+
});
|
|
17
|
+
import { a as Ie, $ as ze, m as Fe, e as He, p as y, u as ce, s as W, f as Xe, g as x, r as k, q as i, i as C, n as a, y as N, C as Ue, E as P, A as L, h as d, j as Je, k as qe, F as Ke, w as _, l as S, J, K as q, I as ae, x as ne, L as se, t as Qe, v as Ve, B as r, D as de } from "./TournamentDetails-CJVSWVXD.js";
|
|
18
|
+
import { g as Ye } from "./TournamentDetailsPage-B21wsWnv.js";
|
|
19
|
+
function Ze(T, p) {
|
|
20
|
+
Ie(T, p);
|
|
21
|
+
}
|
|
22
|
+
function $e(T) {
|
|
23
|
+
ze.set(T);
|
|
24
|
+
}
|
|
25
|
+
const ue = {
|
|
26
|
+
en: {
|
|
27
|
+
previousButton: "Previous",
|
|
28
|
+
nextButton: "Next",
|
|
29
|
+
casinoTab: "Casino",
|
|
30
|
+
sportsbookTab: "Sportsbook",
|
|
31
|
+
gamesDescriptionTitle: "Participating games",
|
|
32
|
+
gamesDescriptionSubtitle: "Discover the games",
|
|
33
|
+
sportsRulesParseError: "Error parsing tournament rules"
|
|
34
|
+
},
|
|
35
|
+
tr: {
|
|
36
|
+
previousButton: "Previous",
|
|
37
|
+
nextButton: "Next",
|
|
38
|
+
casinoTab: "Casino",
|
|
39
|
+
sportsbookTab: "Sportsbook"
|
|
40
|
+
}
|
|
41
|
+
}, et = () => typeof window == "undefined";
|
|
42
|
+
var tt = x('<div class="TournamentGamesTabs svelte-p7mf8l"><button> </button> <button> </button></div>'), at = x('<p class="svelte-p7mf8l"> </p>'), nt = x("<div></div>"), st = x('<div class="TournamentGameThumbnailSkeleton svelte-p7mf8l"></div>'), ot = x('<div class="TournamentGameThumbnail svelte-p7mf8l"><div class="ImageContainer svelte-p7mf8l"><img class="svelte-p7mf8l"/> <div class="PlayButtonOverlay svelte-p7mf8l"><button class="PlayGameButton svelte-p7mf8l"> </button></div></div></div>'), rt = x('<span class="PaginationButton Elipsis svelte-p7mf8l">...</span>'), it = x("<button> </button>"), lt = x('<div><button class="PaginationButton svelte-p7mf8l"> </button> <div class="PageNumberWrapper svelte-p7mf8l"></div> <button class="PaginationButton svelte-p7mf8l"> </button></div>'), pt = x('<div class="PaginationSkeleton svelte-p7mf8l"><div class="PaginationSkeletonButton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div> <div class="PaginationSkeletonButton svelte-p7mf8l"><div class="SkeletonShimmer svelte-p7mf8l"></div></div></div>'), mt = x('<div class="TournamentGamesWrapper svelte-p7mf8l"><div class="GamesDescription svelte-p7mf8l"><p class="GamesDescriptionTitle svelte-p7mf8l"> </p> <p class="GamesDescriptionSubTitle svelte-p7mf8l"> </p></div> <!> <!> <div><!></div> <!></div>');
|
|
43
|
+
const vt = {
|
|
44
|
+
hash: "svelte-p7mf8l",
|
|
45
|
+
code: `.svelte-p7mf8l,
|
|
46
|
+
.svelte-p7mf8l::before,
|
|
47
|
+
.svelte-p7mf8l::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}.GamesDescription.svelte-p7mf8l {display:flex;flex-direction:column;gap:6px;margin:10px 0;.GamesDescriptionTitle:where(.svelte-p7mf8l) {color:var(--emw-color-typography, #ffffff);font-size:16px;font-weight:600;}.GamesDescriptionSubTitle:where(.svelte-p7mf8l) {color:var(--emw-color-typography, #ffffff);font-size:14px;font-weight:200;}}.TournamentGamesTabs.svelte-p7mf8l {display:flex;border-radius:50px;background-color:var(--emw-color-bg-section, #434343);padding:6px;margin-bottom:6px;width:100%;justify-content:center;.Tab:where(.svelte-p7mf8l) {padding:5px 20px;color:var(--emw-color-typography, #ffffff);width:100%;border-radius:50px;background-color:transparent;border:none;cursor:pointer;}.Active:where(.svelte-p7mf8l) {background-color:var(--emw-color-bg-elements, #4A4A4A);border:none;}}.TournamentRulesWrapper.svelte-p7mf8l {display:flex;flex-direction:column;color:var(--emw-color-typography, #ffffff);font-size:14px;font-weight:400;margin:10px 0;}.TournamentGamesWrapper.svelte-p7mf8l {display:flex;flex-direction:column;gap:10px;background-color:var(--emw-color-bg-secondary, #333232);padding:10px;border-radius:6px;}.TournamentGamesContainer.svelte-p7mf8l {display:grid;gap:12px;grid-template-columns:repeat(auto-fit, minmax(min(150px, 100%), 1fr));.TournamentGameThumbnailSkeleton:where(.svelte-p7mf8l) {position:relative;width:100%;aspect-ratio:4 / 3;overflow:hidden;border-radius:6px;background:linear-gradient(
|
|
48
|
+
to top,
|
|
49
|
+
var(--emw-color-primary, #FF1D4E),
|
|
50
|
+
transparent
|
|
51
|
+
);background-size:100% 200%;
|
|
52
|
+
animation: pulse 1.5s ease-in-out infinite;}.ImageContainer:where(.svelte-p7mf8l) {position:relative;width:100%;aspect-ratio:4 / 3;overflow:hidden;border-radius:6px;}img:where(.svelte-p7mf8l) {position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:6px;}.PlayButtonOverlay:where(.svelte-p7mf8l) {position:absolute;top:0;left:0;bottom:0;right:0;background-color:rgba(0, 0, 0, 0.6);display:flex;justify-content:center;align-items:center;opacity:0;&:hover {opacity:1;transition:opacity 0.5s;}.PlayGameButton:where(.svelte-p7mf8l) {background-color:var(--emw-color-primary, #FF1D4E);border-radius:6px;color:var(--emw-color-typography, #ffffff);padding:10px;border:none;outline:none;min-width:50%;cursor:pointer;&:hover {background-color:var(--emw-color-primary-hover, #ff3a65);cursor:pointer;}&:active {transform:scale(0.9);}}}}.PaginationWrapper.svelte-p7mf8l {display:flex;justify-content:space-between;.PageNumberWrapper:where(.svelte-p7mf8l) {display:flex;gap:3px;}.PaginationButton:where(.svelte-p7mf8l) {background-color:var(--emw-color-bg-section, #434343);color:var(--emw-color-typography, #ffffff);border-radius:6px;border:none;outline:none;padding:10px;width:auto;cursor:pointer;&.Number {background-color:transparent;min-width:0;padding:0 10px;}&:hover {background-color:var(--emw-color-bg-elements, #4A4A4A);cursor:pointer;}&:active {transform:scale(0.9);}&:disabled {opacity:60%;pointer-events:none;}&.Active {background-color:var(--emw-color-bg-elements, #4A4A4A);}&.Elipsis {pointer-events:none;background-color:transparent;min-width:0;padding:0;align-self:center;}}}.PaginationSkeleton.svelte-p7mf8l {display:flex;justify-content:space-between;gap:6px;}.PaginationSkeletonButton.svelte-p7mf8l {width:80px;height:40px;border-radius:6px;background-color:var(--emw-color-bg-elements, #4A4A4A);overflow:hidden;position:relative;}.PaginationNumberSkeleton.svelte-p7mf8l {width:40px;height:40px;border-radius:6px;background-color:var(--emw-color-bg-elements, #4A4A4A);overflow:hidden;position:relative;}.SkeletonShimmer.svelte-p7mf8l {width:100%;height:100%;background:linear-gradient(
|
|
53
|
+
90deg,
|
|
54
|
+
transparent 0%,
|
|
55
|
+
var(--emw-color-bg-secondary, #434343) 50%,
|
|
56
|
+
transparent 100%
|
|
57
|
+
);
|
|
58
|
+
animation: svelte-p7mf8l-loading 1.5s infinite;transform:translateX(-100%);}
|
|
59
|
+
|
|
60
|
+
@keyframes svelte-p7mf8l-loading {
|
|
61
|
+
0% {
|
|
62
|
+
transform: translateX(-100%);
|
|
63
|
+
}
|
|
64
|
+
100% {
|
|
65
|
+
transform: translateX(100%);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@media (min-width: 750px) {.TournamentGamesTabs.svelte-p7mf8l {width:fit-content;}.PaginationWrapper.svelte-p7mf8l {justify-content:end;gap:10px;}.PaginationButton.svelte-p7mf8l {width:auto;min-width:75px;}
|
|
70
|
+
}.Hidden.svelte-p7mf8l {display:none;}`
|
|
71
|
+
};
|
|
72
|
+
function ct(T, p) {
|
|
73
|
+
var pe;
|
|
74
|
+
Fe(p, !0), He(T, vt);
|
|
75
|
+
const m = () => Ue(Ke, "$_", K), [K, R] = qe(), D = y(p, "initialGames"), E = y(p, "endpoint"), w = y(p, "language", 7, "en"), u = y(p, "session"), G = y(p, "tournamentid"), g = y(p, "gamesLimit", 7, 6), O = y(p, "totalGames"), Q = y(p, "platformProp", 7, null), M = y(p, "tournamentMetadata");
|
|
76
|
+
Object.keys(ue).forEach((e) => {
|
|
77
|
+
Ze(e, ue[e]);
|
|
78
|
+
});
|
|
79
|
+
const fe = () => {
|
|
80
|
+
$e(w());
|
|
81
|
+
};
|
|
82
|
+
ce(() => {
|
|
83
|
+
fe();
|
|
84
|
+
});
|
|
85
|
+
let I = W(Xe(D() || [])), z = W(!1), f = W(0), F = W(void 0);
|
|
86
|
+
const ge = et() ? (pe = Q()) != null ? pe : "dk" : Ye(window.navigator.userAgent), V = () => ve(this, null, function* () {
|
|
87
|
+
if (Y.has(a(H)))
|
|
88
|
+
return;
|
|
89
|
+
_(z, !0);
|
|
90
|
+
const e = new URL(`${E()}/v1/tournaments/${G()}`), t = new Headers();
|
|
91
|
+
u() && t.append("X-SessionId", u());
|
|
92
|
+
const n = { method: "GET", headers: t };
|
|
93
|
+
e.searchParams.append("filter", `id=${G()}`), e.searchParams.append("language", w()), e.searchParams.append("expand", "games"), e.searchParams.append("pagination", `games(limit=${g()},offset=${a(f)})`), e.searchParams.append("platform", ge), fetch(e, n).then((s) => s.json()).then((s) => {
|
|
94
|
+
var l, o;
|
|
95
|
+
_(I, (o = (l = s == null ? void 0 : s.item) == null ? void 0 : l.games) == null ? void 0 : o.items, !0), Y.set(a(H), a(I));
|
|
96
|
+
}).catch((s) => console.log(s)).finally(() => _(z, !1));
|
|
97
|
+
}), be = () => {
|
|
98
|
+
const e = Math.ceil(O() / g()), t = Math.floor(a(f) / g()) + 1;
|
|
99
|
+
if (e <= 5)
|
|
100
|
+
return Array.from({ length: e }, (s, l) => l + 1);
|
|
101
|
+
const n = [];
|
|
102
|
+
return n.push(1), t <= 3 ? (n.push(2, 3), n.push("..."), n.push(e)) : t >= e - 2 ? (n.push("..."), n.push(e - 2, e - 1, e)) : (n.push("..."), n.push(t - 1, t, t + 1), n.push("..."), n.push(e)), n;
|
|
103
|
+
}, he = () => {
|
|
104
|
+
a(f) < O() && (_(f, a(f) + g()), V());
|
|
105
|
+
}, _e = () => {
|
|
106
|
+
a(f) !== 0 && (_(f, a(f) - g()), V());
|
|
107
|
+
}, xe = (e) => {
|
|
108
|
+
_(f, (e - 1) * g()), V();
|
|
109
|
+
}, we = se(be), H = se(() => Math.floor(a(f) / g()) + 1);
|
|
110
|
+
let Y = /* @__PURE__ */ new Map([[1, D()]]), ye = se(() => {
|
|
111
|
+
var e;
|
|
112
|
+
return (e = Y.get(a(H))) != null ? e : [];
|
|
113
|
+
}), A = W("casino");
|
|
114
|
+
const ke = () => {
|
|
115
|
+
var n;
|
|
116
|
+
if (!M()) return;
|
|
117
|
+
const e = (n = M().sports) == null ? void 0 : n.rules;
|
|
118
|
+
let t;
|
|
119
|
+
if (e)
|
|
120
|
+
try {
|
|
121
|
+
t = JSON.parse(e), _(F, t[w()] || t["*"], !0);
|
|
122
|
+
} catch (s) {
|
|
123
|
+
console.log(s), _(F, `${m()("sportsRulesParseError")}`);
|
|
124
|
+
}
|
|
125
|
+
}, Pe = (e) => {
|
|
126
|
+
window.postMessage(
|
|
127
|
+
{
|
|
128
|
+
type: "Tournaments:PlayGame",
|
|
129
|
+
launchUrl: e.launchUrl,
|
|
130
|
+
id: e.gameId,
|
|
131
|
+
platform: e.platform,
|
|
132
|
+
thumbnail: e.thumbnail,
|
|
133
|
+
name: e.name
|
|
134
|
+
},
|
|
135
|
+
window.location.href
|
|
136
|
+
);
|
|
137
|
+
};
|
|
138
|
+
ce(() => {
|
|
139
|
+
Object.keys(M()).length !== 0 && ke();
|
|
140
|
+
});
|
|
141
|
+
var Se = {
|
|
142
|
+
get initialGames() {
|
|
143
|
+
return D();
|
|
144
|
+
},
|
|
145
|
+
set initialGames(e) {
|
|
146
|
+
D(e), S();
|
|
147
|
+
},
|
|
148
|
+
get endpoint() {
|
|
149
|
+
return E();
|
|
150
|
+
},
|
|
151
|
+
set endpoint(e) {
|
|
152
|
+
E(e), S();
|
|
153
|
+
},
|
|
154
|
+
get language() {
|
|
155
|
+
return w();
|
|
156
|
+
},
|
|
157
|
+
set language(e = "en") {
|
|
158
|
+
w(e), S();
|
|
159
|
+
},
|
|
160
|
+
get session() {
|
|
161
|
+
return u();
|
|
162
|
+
},
|
|
163
|
+
set session(e) {
|
|
164
|
+
u(e), S();
|
|
165
|
+
},
|
|
166
|
+
get tournamentid() {
|
|
167
|
+
return G();
|
|
168
|
+
},
|
|
169
|
+
set tournamentid(e) {
|
|
170
|
+
G(e), S();
|
|
171
|
+
},
|
|
172
|
+
get gamesLimit() {
|
|
173
|
+
return g();
|
|
174
|
+
},
|
|
175
|
+
set gamesLimit(e = 6) {
|
|
176
|
+
g(e), S();
|
|
177
|
+
},
|
|
178
|
+
get totalGames() {
|
|
179
|
+
return O();
|
|
180
|
+
},
|
|
181
|
+
set totalGames(e) {
|
|
182
|
+
O(e), S();
|
|
183
|
+
},
|
|
184
|
+
get platformProp() {
|
|
185
|
+
return Q();
|
|
186
|
+
},
|
|
187
|
+
set platformProp(e = null) {
|
|
188
|
+
Q(e), S();
|
|
189
|
+
},
|
|
190
|
+
get tournamentMetadata() {
|
|
191
|
+
return M();
|
|
192
|
+
},
|
|
193
|
+
set tournamentMetadata(e) {
|
|
194
|
+
M(e), S();
|
|
195
|
+
}
|
|
196
|
+
}, Z = mt(), $ = i(Z), ee = i($), Te = i(ee, !0);
|
|
197
|
+
r(ee);
|
|
198
|
+
var oe = k(ee, 2), Ge = i(oe, !0);
|
|
199
|
+
r(oe), r($);
|
|
200
|
+
var re = k($, 2);
|
|
201
|
+
{
|
|
202
|
+
var Ae = (e) => {
|
|
203
|
+
var t = tt(), n = i(t);
|
|
204
|
+
let s;
|
|
205
|
+
n.__click = () => _(A, "casino");
|
|
206
|
+
var l = i(n, !0);
|
|
207
|
+
r(n);
|
|
208
|
+
var o = k(n, 2);
|
|
209
|
+
let v;
|
|
210
|
+
o.__click = () => _(A, "sports");
|
|
211
|
+
var c = i(o, !0);
|
|
212
|
+
r(o), r(t), N(
|
|
213
|
+
(b, h) => {
|
|
214
|
+
s = L(n, 1, "Tab svelte-p7mf8l", null, s, { Active: a(A) === "casino" }), P(l, b), v = L(o, 1, "Tab svelte-p7mf8l", null, v, { Active: a(A) === "sports" }), P(c, h);
|
|
215
|
+
},
|
|
216
|
+
[() => m()("casinoTab"), () => m()("sportsbookTab")]
|
|
217
|
+
), d(e, t);
|
|
218
|
+
};
|
|
219
|
+
C(re, (e) => {
|
|
220
|
+
Object.keys(M()).length !== 0 && e(Ae);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
var ie = k(re, 2);
|
|
224
|
+
{
|
|
225
|
+
var Be = (e) => {
|
|
226
|
+
var t = nt();
|
|
227
|
+
let n;
|
|
228
|
+
J(t, 21, () => a(F), q, (s, l) => {
|
|
229
|
+
var o = at(), v = i(o);
|
|
230
|
+
r(o), N((c) => {
|
|
231
|
+
var b;
|
|
232
|
+
return P(v, `${(b = a(l).rule) != null ? b : ""} ${c != null ? c : ""}`);
|
|
233
|
+
}, [() => m()("contribution")]), d(s, o);
|
|
234
|
+
}), r(t), N(() => n = L(t, 1, "TournamentRulesWrapper svelte-p7mf8l", null, n, { Hidden: a(A) === "casino" })), d(e, t);
|
|
235
|
+
};
|
|
236
|
+
C(ie, (e) => {
|
|
237
|
+
a(F) && e(Be);
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
var X = k(ie, 2);
|
|
241
|
+
let le;
|
|
242
|
+
var Ne = i(X);
|
|
243
|
+
{
|
|
244
|
+
var De = (e) => {
|
|
245
|
+
var t = ae(), n = ne(t);
|
|
246
|
+
J(n, 17, () => Array(g()), q, (s, l, o, v) => {
|
|
247
|
+
var c = st();
|
|
248
|
+
d(s, c);
|
|
249
|
+
}), d(e, t);
|
|
250
|
+
}, Me = (e) => {
|
|
251
|
+
var t = ae(), n = ne(t);
|
|
252
|
+
J(n, 17, () => a(ye), q, (s, l) => {
|
|
253
|
+
var o = ot();
|
|
254
|
+
o.__click = () => Pe(a(l));
|
|
255
|
+
var v = i(o), c = i(v), b = k(c, 2), h = i(b), U = i(h, !0);
|
|
256
|
+
r(h), r(b), r(v), r(o), N(
|
|
257
|
+
(te) => {
|
|
258
|
+
de(c, "src", `https:${a(l).thumbnail}`), de(c, "alt", a(l).name), P(U, te);
|
|
259
|
+
},
|
|
260
|
+
[() => m()("play")]
|
|
261
|
+
), d(s, o);
|
|
262
|
+
}), d(e, t);
|
|
263
|
+
};
|
|
264
|
+
C(Ne, (e) => {
|
|
265
|
+
var t;
|
|
266
|
+
a(z) || ((t = a(I)) == null ? void 0 : t.length) === 0 ? e(De) : e(Me, !1);
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
r(X);
|
|
270
|
+
var je = k(X, 2);
|
|
271
|
+
{
|
|
272
|
+
var Le = (e) => {
|
|
273
|
+
var t = lt();
|
|
274
|
+
let n;
|
|
275
|
+
var s = i(t);
|
|
276
|
+
s.__click = _e;
|
|
277
|
+
var l = i(s, !0);
|
|
278
|
+
r(s);
|
|
279
|
+
var o = k(s, 2);
|
|
280
|
+
J(o, 21, () => a(we), q, (b, h) => {
|
|
281
|
+
var U = ae(), te = ne(U);
|
|
282
|
+
{
|
|
283
|
+
var We = (j) => {
|
|
284
|
+
var B = rt();
|
|
285
|
+
d(j, B);
|
|
286
|
+
}, Ce = (j) => {
|
|
287
|
+
var B = it();
|
|
288
|
+
let me;
|
|
289
|
+
B.__click = () => xe(a(h));
|
|
290
|
+
var Re = i(B, !0);
|
|
291
|
+
r(B), N(() => {
|
|
292
|
+
me = L(B, 1, "PaginationButton Number svelte-p7mf8l", null, me, { Active: a(h) === a(H) }), P(Re, a(h));
|
|
293
|
+
}), d(j, B);
|
|
294
|
+
};
|
|
295
|
+
C(te, (j) => {
|
|
296
|
+
typeof a(h) != "number" ? j(We) : j(Ce, !1);
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
d(b, U);
|
|
300
|
+
}), r(o);
|
|
301
|
+
var v = k(o, 2);
|
|
302
|
+
v.__click = he;
|
|
303
|
+
var c = i(v, !0);
|
|
304
|
+
r(v), r(t), N(
|
|
305
|
+
(b, h) => {
|
|
306
|
+
n = L(t, 1, "PaginationWrapper svelte-p7mf8l", null, n, { Hidden: a(A) === "sports" }), s.disabled = a(f) === 0, P(l, b), v.disabled = a(f) >= O() - g(), P(c, h);
|
|
307
|
+
},
|
|
308
|
+
[() => m()("previousButton"), () => m()("nextButton")]
|
|
309
|
+
), d(e, t);
|
|
310
|
+
}, Ee = (e) => {
|
|
311
|
+
var t = pt();
|
|
312
|
+
d(e, t);
|
|
313
|
+
};
|
|
314
|
+
C(je, (e) => {
|
|
315
|
+
var t;
|
|
316
|
+
!a(z) || ((t = a(I)) == null ? void 0 : t.length) > 0 ? e(Le) : e(Ee, !1);
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
r(Z), N(
|
|
320
|
+
(e, t) => {
|
|
321
|
+
P(Te, e), P(Ge, t), le = L(X, 1, "TournamentGamesContainer svelte-p7mf8l", null, le, { Hidden: a(A) === "sports" });
|
|
322
|
+
},
|
|
323
|
+
[
|
|
324
|
+
() => m()("gamesDescriptionTitle"),
|
|
325
|
+
() => m()("gamesDescriptionSubtitle")
|
|
326
|
+
]
|
|
327
|
+
), d(T, Z);
|
|
328
|
+
var Oe = Je(Se);
|
|
329
|
+
return R(), Oe;
|
|
330
|
+
}
|
|
331
|
+
Qe(["click"]);
|
|
332
|
+
Ve(
|
|
333
|
+
ct,
|
|
334
|
+
{
|
|
335
|
+
initialGames: {},
|
|
336
|
+
endpoint: {},
|
|
337
|
+
language: {},
|
|
338
|
+
session: {},
|
|
339
|
+
tournamentid: {},
|
|
340
|
+
gamesLimit: {},
|
|
341
|
+
totalGames: {},
|
|
342
|
+
platformProp: {},
|
|
343
|
+
tournamentMetadata: {}
|
|
344
|
+
},
|
|
345
|
+
[],
|
|
346
|
+
[],
|
|
347
|
+
!0
|
|
348
|
+
);
|
|
349
|
+
export {
|
|
350
|
+
ct as default
|
|
351
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/TournamentDetailsPage-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/TournamentDetailsPage-FO-PGATk.cjs")).then(e=>e.TournamentDetailsPage_ce).then(({default:e})=>{!customElements.get("tournament-details-page")&&customElements.define("tournament-details-page",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/TournamentDetailsPage-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/TournamentDetailsPage-B21wsWnv.js").then((e) => e.T).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("tournament-details-page") && customElements.define("tournament-details-page", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|