@everymatrix/tournament-details-page 0.2.16 → 0.2.18
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-LMFey5tC.cjs → ChartIcon-BlLuPbZe.cjs} +1 -1
- package/components/{ChartIcon-gBU0Zrhd.cjs → ChartIcon-CIRDbDQL.cjs} +1 -1
- package/components/{ChartIcon-B--EH3Vl.js → ChartIcon-Dot8DHjA.js} +1 -1
- package/components/{ChartIcon-By_sX-O3.js → ChartIcon-lm564hLt.js} +1 -1
- package/components/{CoinStackIcon-dQ3YXVB6.cjs → CoinStackIcon-BEUq4L8Z.cjs} +1 -1
- package/components/{CoinStackIcon-CINdg0f3.cjs → CoinStackIcon-BaJxiULk.cjs} +1 -1
- package/components/{CoinStackIcon-DpQ9Ql8V.js → CoinStackIcon-CqJaXa5I.js} +1 -1
- package/components/{CoinStackIcon-Dp7zyNd_.js → CoinStackIcon-DX1gytTP.js} +1 -1
- package/components/{DocumentsIcon-9A1Da03W.cjs → DocumentsIcon-Cslx0fdw.cjs} +1 -1
- package/components/{DocumentsIcon-JCYs3JwW.js → DocumentsIcon-VKrK_OSU.js} +1 -1
- package/components/{DocumentsIcon-BNfQkrBE.js → DocumentsIcon-gLqrNvFG.js} +1 -1
- package/components/{DocumentsIcon-BURaap7N.cjs → DocumentsIcon-lFIvob-P.cjs} +1 -1
- package/components/{FootballIcon-CX1W263v.cjs → FootballIcon-66z-vdWS.cjs} +1 -1
- package/components/{FootballIcon-BIph2Aru.js → FootballIcon-Bf1zWSEi.js} +1 -1
- package/components/{FootballIcon-CWNfJLfb.js → FootballIcon-DWz9Uwra.js} +1 -1
- package/components/{FootballIcon-q4kFork7.cjs → FootballIcon-PxOj9T2T.cjs} +1 -1
- package/components/{PeopleIcon-DagfiLJS.cjs → PeopleIcon-CHOnqmRP.cjs} +1 -1
- package/components/{PeopleIcon-3GsVhRY4.js → PeopleIcon-DLQwPFs1.js} +1 -1
- package/components/{PeopleIcon-_KvtkuCL.cjs → PeopleIcon-YwM1d28N.cjs} +1 -1
- package/components/{PeopleIcon-D8lTQ2KR.js → PeopleIcon-Z2J1r7h6.js} +1 -1
- package/components/{RankArrowIcon-4pj3dS-z.cjs → RankArrowIcon-BjzNSXjM.cjs} +1 -1
- package/components/{RankArrowIcon-Cy_1QAXf.js → RankArrowIcon-CWd3H8sW.js} +1 -1
- package/components/{RankArrowIcon-DktEbyFU.js → RankArrowIcon-DOM2HO2u.js} +1 -1
- package/components/{RankArrowIcon-BloaZrjL.cjs → RankArrowIcon-GjLwPy9l.cjs} +1 -1
- package/components/{SlotMachineIcon-CabzSA3A.js → SlotMachineIcon-BPIUsVaM.js} +1 -1
- package/components/{SlotMachineIcon-Cq4LMnoh.cjs → SlotMachineIcon-BYjHIKHd.cjs} +1 -1
- package/components/{SlotMachineIcon-BXogWwRz.js → SlotMachineIcon-GdwWyhHV.js} +1 -1
- package/components/{SlotMachineIcon-BbZAJhJf.cjs → SlotMachineIcon-J-kGrLgm.cjs} +1 -1
- package/components/{StatusBadge-Bup1Sml4.js → StatusBadge-BlYreHQv.js} +1892 -1864
- package/components/{StatusBadge-CovGvJPI.js → StatusBadge-BmO5-LZu.js} +1628 -1600
- package/components/StatusBadge-BrkI5s3G.cjs +11 -0
- package/components/StatusBadge-FaxZ-GIu.cjs +11 -0
- package/components/{TournamentActions-D4IFOwse.js → TournamentActions-CGw1fNIz.js} +18 -18
- package/components/{TournamentActions-srI74YXg.cjs → TournamentActions-CMdYLUwE.cjs} +1 -1
- package/components/{TournamentActions-DG3d1gTW.js → TournamentActions-CPEVbC7p.js} +18 -18
- package/components/{TournamentActions-oezlw-_q.cjs → TournamentActions-C_OcCrSY.cjs} +1 -1
- package/components/{TournamentDetailsPage-DmHbw2jU.js → TournamentDetailsPage-7KG0IR4n.js} +56 -56
- package/components/{TournamentDetailsPage-CYtfX0cX.js → TournamentDetailsPage-BSgbM1lj.js} +58 -58
- package/components/{TournamentDetailsPage-Cwd5jDPo.cjs → TournamentDetailsPage-BtbUwaTF.cjs} +1 -1
- package/components/{TournamentDetailsPage-B1PkYGTC.cjs → TournamentDetailsPage-DDzejA4a.cjs} +2 -2
- package/components/{TournamentDetailsSkeleton-D2JIi_L9.js → TournamentDetailsSkeleton-BdzH0RWa.js} +4 -4
- package/components/{TournamentDetailsSkeleton-BH6VjPZ0.cjs → TournamentDetailsSkeleton-C-Nq0cqY.cjs} +1 -1
- package/components/{TournamentDetailsSkeleton-CLrts2mj.js → TournamentDetailsSkeleton-Qf5F40NW.js} +4 -4
- package/components/{TournamentDetailsSkeleton-Cntx8Uxn.cjs → TournamentDetailsSkeleton-fRvnu1cx.cjs} +1 -1
- package/components/{TournamentGames-DpdRQ-Wk.cjs → TournamentGames-CXBSKsvN.cjs} +1 -1
- package/components/{TournamentGames-o5unmTLS.js → TournamentGames-RjNMZeHH.js} +23 -23
- package/components/{TournamentGames-Shx6DaNI.js → TournamentGames-fW7jYGr1.js} +18 -18
- package/components/{TournamentGames-CMUJNP1W.cjs → TournamentGames-lE54O6fd.cjs} +2 -2
- package/components/{TournamentImage-NC4qroZz.cjs → TournamentImage-BOj9EbZI.cjs} +1 -1
- package/components/{TournamentImage-B2I1n69v.js → TournamentImage-CMhJO3VR.js} +1 -1
- package/components/{TournamentImage-DJqaGTbB.js → TournamentImage-DawX2anC.js} +1 -1
- package/components/{TournamentImage-CyS-wh8S.cjs → TournamentImage-fnOuylUV.cjs} +1 -1
- package/components/{TournamentLeaderboard-Meg4Gy_v.cjs → TournamentLeaderboard-B18inWxV.cjs} +5 -9
- package/components/{TournamentLeaderboard-CUFXtkZu.cjs → TournamentLeaderboard-BAX4Qc8L.cjs} +6 -10
- package/components/{TournamentLeaderboard-C7nAA9nK.js → TournamentLeaderboard-BEiBqgl0.js} +979 -977
- package/components/{TournamentLeaderboard-DtQc021R.js → TournamentLeaderboard-Bko6oz6z.js} +987 -985
- package/components/{TournamentRules-4LPojfNL.cjs → TournamentRules-BGhhpYcm.cjs} +1 -1
- package/components/{TournamentRules-Cnlc0PxO.js → TournamentRules-C51ASmvU.js} +41 -41
- package/components/{TournamentRules-DZ16pti3.js → TournamentRules-CLvprY8b.js} +40 -40
- package/components/{TournamentRules-B-Eetjhj.cjs → TournamentRules-DD1mm3no.cjs} +1 -1
- package/components/{TournamentSummary-C4QixrUw.js → TournamentSummary-BoiQtW8I.js} +31 -31
- package/components/{TournamentSummary-CDUiZzMC.js → TournamentSummary-CdDDOOeu.js} +27 -27
- package/components/{TournamentSummary-B5Q4gOgk.cjs → TournamentSummary-DBWfRhCG.cjs} +1 -1
- package/components/{TournamentSummary-ClZds7XR.cjs → TournamentSummary-Xn2TCAJ8.cjs} +1 -1
- package/components/{TournamentTabs-Bv9Y1h65.js → TournamentTabs-CCfOlUMT.js} +13 -13
- package/components/{TournamentTabs-BP0Th-AO.js → TournamentTabs-CDAd_y4s.js} +15 -15
- package/components/{TournamentTabs-DXUKaRsR.cjs → TournamentTabs-CuV0TksX.cjs} +1 -1
- package/components/{TournamentTabs-DH3F-f9h.cjs → TournamentTabs-DjP1-w6P.cjs} +1 -1
- package/components/{TrophyIcon-CxiyK3av.cjs → TrophyIcon-CDuHXtAC.cjs} +1 -1
- package/components/{TrophyIcon-DFjq2XKD.js → TrophyIcon-CVcWKOtO.js} +1 -1
- package/components/{TrophyIcon-PgUKEf6L.js → TrophyIcon-DJU6xKKp.js} +1 -1
- package/components/{TrophyIcon-CkOnHDf7.cjs → TrophyIcon-dQJOQj97.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/StatusBadge-Bg_6Y1d5.cjs +0 -11
- package/components/StatusBadge-ZRuRu5ex.cjs +0 -11
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { c as se, g as le, a as ie, p as
|
|
2
|
-
import { c as ve, d as ue, g as me } from "./TournamentLeaderboard-
|
|
3
|
-
import { T as ce } from "./TrophyIcon-
|
|
4
|
-
import { P as ge } from "./PeopleIcon-
|
|
5
|
-
import { C as be } from "./ChartIcon-
|
|
6
|
-
import { R as fe } from "./RankArrowIcon-
|
|
1
|
+
import { c as se, g as le, a as ie, p as I, L as N, i as $, t as _, b as v, d as oe, f as c, q as R, H as he, h as n, l as z, j as r, s, N as u, r as l, O as m, u as L, U as pe, $ as de, k as _e } from "./StatusBadge-BmO5-LZu.js";
|
|
2
|
+
import { c as ve, d as ue, g as me } from "./TournamentLeaderboard-BEiBqgl0.js";
|
|
3
|
+
import { T as ce } from "./TrophyIcon-CVcWKOtO.js";
|
|
4
|
+
import { P as ge } from "./PeopleIcon-Z2J1r7h6.js";
|
|
5
|
+
import { C as be } from "./ChartIcon-Dot8DHjA.js";
|
|
6
|
+
import { R as fe } from "./RankArrowIcon-DOM2HO2u.js";
|
|
7
7
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
8
8
|
}, globalThis.customElements = { define() {
|
|
9
9
|
}, get() {
|
|
10
10
|
}, whenDefined() {
|
|
11
11
|
} });
|
|
12
|
-
var xe = c('<img class="tournament-details__title-icon svelte-193trhb" alt="" width="20" height="20"/>'), we = c('<span class="tournament-details__highlight svelte-193trhb"> </span>'), ke = c('<p class="tournament-details__rewards svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__label svelte-193trhb"> </span> <!></p>'), ye = c('<p class="tournament-details__criteria svelte-193trhb"><span class="tournament-details__label svelte-193trhb"> </span> <span class="tournament-details__highlight svelte-193trhb"> </span></p>'), Te = c('<span><span class="tournament-details__trend-icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__trend-label svelte-193trhb"> </span></span>'),
|
|
12
|
+
var xe = c('<img class="tournament-details__title-icon svelte-193trhb" alt="" width="20" height="20"/>'), we = c('<span class="tournament-details__highlight svelte-193trhb"> </span>'), ke = c('<p class="tournament-details__rewards svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__label svelte-193trhb"> </span> <!></p>'), ye = c('<p class="tournament-details__criteria svelte-193trhb"><span class="tournament-details__label svelte-193trhb"> </span> <span class="tournament-details__highlight svelte-193trhb"> </span></p>'), Te = c('<span><span class="tournament-details__trend-icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__trend-label svelte-193trhb"> </span></span>'), Le = c('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span> <!></p>'), Ce = c('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span></p>'), Ie = c('<div class="tournament-details__summary svelte-193trhb"><h2 class="tournament-details__title svelte-193trhb"><!> <span> </span></h2> <!> <!> <!></div>');
|
|
13
13
|
const $e = {
|
|
14
14
|
hash: "svelte-193trhb",
|
|
15
15
|
code: `.tournament-details__summary.svelte-193trhb {display:flex;flex-direction:column;gap:12px;color:var(--text-default, rgba(223, 227, 232, 1));font-size:14px;line-height:1.5;p:where(.svelte-193trhb) {margin:0;}.tournament-details__title:where(.svelte-193trhb) {display:flex;align-items:center;gap:6px;margin:0;color:var(--text-default, rgba(223, 227, 232, 1));font-size:18px;font-weight:700;line-height:1.3;}.tournament-details__title-icon:where(.svelte-193trhb) {flex-shrink:0;width:16px;height:16px;object-fit:contain;}.tournament-details__label:where(.svelte-193trhb) {margin-right:6px;font-weight:500;}.tournament-details__highlight:where(.svelte-193trhb) {margin-right:6px;color:var(--text-brand, rgba(255, 204, 0, 1));font-weight:600;}.tournament-details__meta:where(.svelte-193trhb) {display:flex;align-items:center;gap:8px;}.tournament-details__icon:where(.svelte-193trhb) {display:inline-flex;align-items:center;flex-shrink:0;width:16px;height:1lh;margin-right:8px;vertical-align:top;color:var(--text-subtle, #dfe3e8);}.tournament-details__meta:where(.svelte-193trhb) .tournament-details__icon:where(.svelte-193trhb) {margin-right:0;}.tournament-details__trend:where(.svelte-193trhb) {display:inline-flex;align-items:center;}.tournament-details__trend-icon:where(.svelte-193trhb) {display:inline-flex;width:10px;height:8px;}.tournament-details__trend--up:where(.svelte-193trhb) {color:var(--icon-success, rgba(50, 242, 0, 1));.tournament-details__trend-icon:where(.svelte-193trhb) {transform:rotate(180deg);}}.tournament-details__trend--down:where(.svelte-193trhb) {color:var(--icon-error, rgba(235, 0, 0, 1));}.tournament-details__trend-label:where(.svelte-193trhb) {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}}
|
|
16
16
|
@media (max-width: 767px) {.tournament-details__summary.svelte-193trhb {font-size:12px;.tournament-details__title:where(.svelte-193trhb) {margin-bottom:5px;font-size:14px;}}
|
|
17
17
|
}`
|
|
18
18
|
};
|
|
19
|
-
function Re(
|
|
20
|
-
le(T, !0), ie(
|
|
21
|
-
const d = () => pe(de, "$_", B), [B, F] = he(), i =
|
|
19
|
+
function Re(U, T) {
|
|
20
|
+
le(T, !0), ie(U, $e);
|
|
21
|
+
const d = () => pe(de, "$_", B), [B, F] = he(), i = I(T, "tournament", 7), S = I(T, "enrolled", 7, !1), g = I(T, "rank", 7, null), k = I(T, "rankTrend", 7, null), j = L(() => me(i().prizes)), C = L(() => i().overview?.participants ?? 0), M = L(() => g() !== void 0 && g() !== null ? String(g()) : "-"), O = L(() => r(C) > 0 ? String(r(C)) : "-"), G = L(() => {
|
|
22
22
|
const e = [];
|
|
23
23
|
return i().wallet?.casino && e.push({ type: "casino", src: ve }), i().wallet?.sports && e.push({ type: "sports", src: ue }), e;
|
|
24
24
|
});
|
|
@@ -47,28 +47,28 @@ function Re(P, T) {
|
|
|
47
47
|
set rankTrend(e = null) {
|
|
48
48
|
k(e), R();
|
|
49
49
|
}
|
|
50
|
-
}, D =
|
|
51
|
-
|
|
50
|
+
}, D = Ie(), E = n(D), P = n(E);
|
|
51
|
+
N(P, 17, () => r(G), (e) => e.type, (e, t) => {
|
|
52
52
|
var a = xe();
|
|
53
53
|
_(() => {
|
|
54
54
|
z(a, "src", r(t).src), z(a, "data-product", r(t).type);
|
|
55
55
|
}), v(e, a);
|
|
56
56
|
});
|
|
57
|
-
var K = s(
|
|
57
|
+
var K = s(P, 2), Q = u(K, !0);
|
|
58
58
|
l(E);
|
|
59
59
|
var q = s(E, 2);
|
|
60
60
|
{
|
|
61
|
-
var
|
|
61
|
+
var V = (e) => {
|
|
62
62
|
var t = ke(), a = n(t), b = n(a);
|
|
63
63
|
ce(b, { width: 16, height: 16 }), l(a);
|
|
64
64
|
var o = s(a, 2), f = u(o), x = s(o, 2);
|
|
65
|
-
|
|
66
|
-
var y = we(),
|
|
67
|
-
_(() => m(
|
|
65
|
+
N(x, 18, () => r(j), (h) => h, (h, w, p) => {
|
|
66
|
+
var y = we(), H = u(y);
|
|
67
|
+
_(() => m(H, `${w ?? ""}${r(p) < r(j).length - 1 ? "," : ""}`)), v(h, y);
|
|
68
68
|
}), l(t), _((h) => m(f, `${h ?? ""} :`), [() => d()("topRewardsLabel")]), v(e, t);
|
|
69
69
|
};
|
|
70
70
|
$(q, (e) => {
|
|
71
|
-
r(j).length > 0 && e(
|
|
71
|
+
r(j).length > 0 && e(V);
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
var A = s(q, 2);
|
|
@@ -92,13 +92,13 @@ function Re(P, T) {
|
|
|
92
92
|
var X = s(A, 2);
|
|
93
93
|
{
|
|
94
94
|
var Y = (e) => {
|
|
95
|
-
var t =
|
|
95
|
+
var t = Le(), a = n(t), b = n(a);
|
|
96
96
|
be(b, { width: 16, height: 16 }), l(a);
|
|
97
97
|
var o = s(a, 2), f = u(o, !0), x = s(o, 2);
|
|
98
98
|
{
|
|
99
99
|
var h = (w) => {
|
|
100
|
-
var p = Te(), y = n(p),
|
|
101
|
-
fe(
|
|
100
|
+
var p = Te(), y = n(p), H = n(y);
|
|
101
|
+
fe(H, { width: 10, height: 8 }), l(y);
|
|
102
102
|
var te = s(y, 2), ae = u(te, !0);
|
|
103
103
|
l(p), _(
|
|
104
104
|
(re, ne) => {
|
|
@@ -119,23 +119,23 @@ function Re(P, T) {
|
|
|
119
119
|
z(t, "aria-label", w), m(f, p);
|
|
120
120
|
},
|
|
121
121
|
[
|
|
122
|
-
() => d()("playerRankLabel", { values: { rank: r(
|
|
123
|
-
() => d()("playerRank", { values: { rank: r(
|
|
122
|
+
() => d()("playerRankLabel", { values: { rank: r(M), total: r(O) } }),
|
|
123
|
+
() => d()("playerRank", { values: { rank: r(M), total: r(O) } })
|
|
124
124
|
]
|
|
125
125
|
), v(e, t);
|
|
126
126
|
}, Z = (e) => {
|
|
127
|
-
var t =
|
|
127
|
+
var t = Ce(), a = n(t), b = n(a);
|
|
128
128
|
ge(b, { width: 16, height: 16 }), l(a);
|
|
129
129
|
var o = s(a, 2), f = u(o, !0);
|
|
130
130
|
l(t), _((x) => m(f, x), [
|
|
131
|
-
() => d()("joinedCount", { values: { count: r(
|
|
131
|
+
() => d()("joinedCount", { values: { count: r(C) } })
|
|
132
132
|
]), v(e, t);
|
|
133
133
|
};
|
|
134
134
|
$(X, (e) => {
|
|
135
|
-
S() ? e(Y) : r(
|
|
135
|
+
S() ? e(Y) : r(C) > 0 && e(Z, 1);
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
|
-
l(D), _(() => m(
|
|
138
|
+
l(D), _(() => m(Q, i().nameOrTitle)), v(U, D);
|
|
139
139
|
var ee = oe(J);
|
|
140
140
|
return F(), ee;
|
|
141
141
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-
|
|
1
|
+
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-BrkI5s3G.cjs"),k=require("./TournamentLeaderboard-BAX4Qc8L.cjs"),V=require("./TrophyIcon-dQJOQj97.cjs"),W=require("./PeopleIcon-CHOnqmRP.cjs"),X=require("./ChartIcon-BlLuPbZe.cjs"),Y=require("./RankArrowIcon-GjLwPy9l.cjs");var Z=e.from_html('<img class="tournament-details__title-icon svelte-193trhb" alt="" width="20" height="20"/>'),$=e.from_html('<span class="tournament-details__highlight svelte-193trhb"> </span>'),ee=e.from_html('<p class="tournament-details__rewards svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__label svelte-193trhb"> </span> <!></p>'),te=e.from_html('<p class="tournament-details__criteria svelte-193trhb"><span class="tournament-details__label svelte-193trhb"> </span> <span class="tournament-details__highlight svelte-193trhb"> </span></p>'),re=e.from_html('<span><span class="tournament-details__trend-icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__trend-label svelte-193trhb"> </span></span>'),ae=e.from_html('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span> <!></p>'),ne=e.from_html('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span></p>'),se=e.from_html('<div class="tournament-details__summary svelte-193trhb"><h2 class="tournament-details__title svelte-193trhb"><!> <span> </span></h2> <!> <!> <!></div>');const le={hash:"svelte-193trhb",code:`.tournament-details__summary.svelte-193trhb {display:flex;flex-direction:column;gap:12px;color:var(--text-default, rgba(223, 227, 232, 1));font-size:14px;line-height:1.5;p:where(.svelte-193trhb) {margin:0;}.tournament-details__title:where(.svelte-193trhb) {display:flex;align-items:center;gap:6px;margin:0;color:var(--text-default, rgba(223, 227, 232, 1));font-size:18px;font-weight:700;line-height:1.3;}.tournament-details__title-icon:where(.svelte-193trhb) {flex-shrink:0;width:16px;height:16px;object-fit:contain;}.tournament-details__label:where(.svelte-193trhb) {margin-right:6px;font-weight:500;}.tournament-details__highlight:where(.svelte-193trhb) {margin-right:6px;color:var(--text-brand, rgba(255, 204, 0, 1));font-weight:600;}.tournament-details__meta:where(.svelte-193trhb) {display:flex;align-items:center;gap:8px;}.tournament-details__icon:where(.svelte-193trhb) {display:inline-flex;align-items:center;flex-shrink:0;width:16px;height:1lh;margin-right:8px;vertical-align:top;color:var(--text-subtle, #dfe3e8);}.tournament-details__meta:where(.svelte-193trhb) .tournament-details__icon:where(.svelte-193trhb) {margin-right:0;}.tournament-details__trend:where(.svelte-193trhb) {display:inline-flex;align-items:center;}.tournament-details__trend-icon:where(.svelte-193trhb) {display:inline-flex;width:10px;height:8px;}.tournament-details__trend--up:where(.svelte-193trhb) {color:var(--icon-success, rgba(50, 242, 0, 1));.tournament-details__trend-icon:where(.svelte-193trhb) {transform:rotate(180deg);}}.tournament-details__trend--down:where(.svelte-193trhb) {color:var(--icon-error, rgba(235, 0, 0, 1));}.tournament-details__trend-label:where(.svelte-193trhb) {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}}
|
|
2
2
|
@media (max-width: 767px) {.tournament-details__summary.svelte-193trhb {font-size:12px;.tournament-details__title:where(.svelte-193trhb) {margin-bottom:5px;font-size:14px;}}
|
|
3
3
|
}`};function z(T,v){e.push(v,!0),e.append_styles(T,le);const h=()=>e.store_get(e.$format,"$_",D),[D,E]=e.setup_stores(),s=e.prop(v,"tournament",7),b=e.prop(v,"enrolled",7,!1),d=e.prop(v,"rank",7,null),u=e.prop(v,"rankTrend",7,null),f=e.user_derived(()=>k.getTopRewards(s().prizes)),g=e.user_derived(()=>{var t,r;return(r=(t=s().overview)==null?void 0:t.participants)!=null?r:0}),I=e.user_derived(()=>d()!==void 0&&d()!==null?String(d()):"-"),L=e.user_derived(()=>e.get(g)>0?String(e.get(g)):"-"),j=e.user_derived(()=>{var r,a;const t=[];return(r=s().wallet)!=null&&r.casino&&t.push({type:"casino",src:k.casinoImage}),(a=s().wallet)!=null&&a.sports&&t.push({type:"sports",src:k.sportsImage}),t});var A={get tournament(){return s()},set tournament(t){s(t),e.flushSync()},get enrolled(){return b()},set enrolled(t=!1){b(t),e.flushSync()},get rank(){return d()},set rank(t=null){d(t),e.flushSync()},get rankTrend(){return u()},set rankTrend(t=null){u(t),e.flushSync()}},x=se(),w=e.child(x),S=e.child(w);e.each(S,17,()=>e.get(j),t=>t.type,(t,r)=>{var a=Z();e.template_effect(()=>{e.set_attribute(a,"src",e.get(r).src),e.set_attribute(a,"data-product",e.get(r).type)}),e.append(t,a)});var H=e.sibling(S,2),M=e.only_child(H,!0);e.reset(w);var C=e.sibling(w,2);{var P=t=>{var r=ee(),a=e.child(r),p=e.child(a);V.TrophyIcon(p,{width:16,height:16}),e.reset(a);var l=e.sibling(a,2),c=e.only_child(l),i=e.sibling(l,2);e.each(i,18,()=>e.get(f),n=>n,(n,o,_)=>{var m=$(),y=e.only_child(m);e.template_effect(()=>e.set_text(y,`${o!=null?o:""}${e.get(_)<e.get(f).length-1?",":""}`)),e.append(n,m)}),e.reset(r),e.template_effect(n=>e.set_text(c,`${n!=null?n:""} :`),[()=>h()("topRewardsLabel")]),e.append(t,r)};e.if_block(C,t=>{e.get(f).length>0&&t(P)})}var q=e.sibling(C,2);{var U=t=>{var r=te(),a=e.child(r),p=e.only_child(a),l=e.sibling(a,2),c=e.only_child(l,!0);e.reset(r),e.template_effect((i,n)=>{e.set_text(p,`${i!=null?i:""} :`),e.set_text(c,n)},[()=>h()("scoreCriteria"),()=>h()(s().scoreCriteria,{default:s().scoreCriteria})]),e.append(t,r)};e.if_block(q,t=>{s().scoreCriteria&&t(U)})}var B=e.sibling(q,2);{var O=t=>{var r=ae(),a=e.child(r),p=e.child(a);X.ChartIcon(p,{width:16,height:16}),e.reset(a);var l=e.sibling(a,2),c=e.only_child(l,!0),i=e.sibling(l,2);{var n=o=>{var _=re(),m=e.child(_),y=e.child(m);Y.RankArrowIcon(y,{width:10,height:8}),e.reset(m);var J=e.sibling(m,2),K=e.only_child(J,!0);e.reset(_),e.template_effect((N,Q)=>{var R;e.set_class(_,1,`tournament-details__trend tournament-details__trend--${(R=u())!=null?R:""}`,"svelte-193trhb"),e.set_attribute(_,"title",N),e.set_text(K,Q)},[()=>h()(u()==="up"?"rankUpLabel":"rankDownLabel"),()=>h()(u()==="up"?"rankUpLabel":"rankDownLabel")]),e.append(o,_)};e.if_block(i,o=>{u()&&d()!==null&&d()!==void 0&&o(n)})}e.reset(r),e.template_effect((o,_)=>{e.set_attribute(r,"aria-label",o),e.set_text(c,_)},[()=>h()("playerRankLabel",{values:{rank:e.get(I),total:e.get(L)}}),()=>h()("playerRank",{values:{rank:e.get(I),total:e.get(L)}})]),e.append(t,r)},F=t=>{var r=ne(),a=e.child(r),p=e.child(a);W.PeopleIcon(p,{width:16,height:16}),e.reset(a);var l=e.sibling(a,2),c=e.only_child(l,!0);e.reset(r),e.template_effect(i=>e.set_text(c,i),[()=>h()("joinedCount",{values:{count:e.get(g)}})]),e.append(t,r)};e.if_block(B,t=>{b()?t(O):e.get(g)>0&&t(F,1)})}e.reset(x),e.template_effect(()=>e.set_text(M,s().nameOrTitle)),e.append(T,x);var G=e.pop(A);return E(),G}e.create_custom_element(z,{tournament:{},enrolled:{},rank:{},rankTrend:{}},[],[],{mode:"open"});exports.TournamentSummary=z;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-FaxZ-GIu.cjs"),k=require("./TournamentLeaderboard-B18inWxV.cjs"),N=require("./TrophyIcon-CDuHXtAC.cjs"),Q=require("./PeopleIcon-YwM1d28N.cjs"),V=require("./ChartIcon-CIRDbDQL.cjs"),W=require("./RankArrowIcon-BjzNSXjM.cjs");var X=e.from_html('<img class="tournament-details__title-icon svelte-193trhb" alt="" width="20" height="20"/>'),Y=e.from_html('<span class="tournament-details__highlight svelte-193trhb"> </span>'),Z=e.from_html('<p class="tournament-details__rewards svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__label svelte-193trhb"> </span> <!></p>'),ee=e.from_html('<p class="tournament-details__criteria svelte-193trhb"><span class="tournament-details__label svelte-193trhb"> </span> <span class="tournament-details__highlight svelte-193trhb"> </span></p>'),te=e.from_html('<span><span class="tournament-details__trend-icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__trend-label svelte-193trhb"> </span></span>'),re=e.from_html('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span> <!></p>'),ae=e.from_html('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span></p>'),ne=e.from_html('<div class="tournament-details__summary svelte-193trhb"><h2 class="tournament-details__title svelte-193trhb"><!> <span> </span></h2> <!> <!> <!></div>');const se={hash:"svelte-193trhb",code:`.tournament-details__summary.svelte-193trhb {display:flex;flex-direction:column;gap:12px;color:var(--text-default, rgba(223, 227, 232, 1));font-size:14px;line-height:1.5;p:where(.svelte-193trhb) {margin:0;}.tournament-details__title:where(.svelte-193trhb) {display:flex;align-items:center;gap:6px;margin:0;color:var(--text-default, rgba(223, 227, 232, 1));font-size:18px;font-weight:700;line-height:1.3;}.tournament-details__title-icon:where(.svelte-193trhb) {flex-shrink:0;width:16px;height:16px;object-fit:contain;}.tournament-details__label:where(.svelte-193trhb) {margin-right:6px;font-weight:500;}.tournament-details__highlight:where(.svelte-193trhb) {margin-right:6px;color:var(--text-brand, rgba(255, 204, 0, 1));font-weight:600;}.tournament-details__meta:where(.svelte-193trhb) {display:flex;align-items:center;gap:8px;}.tournament-details__icon:where(.svelte-193trhb) {display:inline-flex;align-items:center;flex-shrink:0;width:16px;height:1lh;margin-right:8px;vertical-align:top;color:var(--text-subtle, #dfe3e8);}.tournament-details__meta:where(.svelte-193trhb) .tournament-details__icon:where(.svelte-193trhb) {margin-right:0;}.tournament-details__trend:where(.svelte-193trhb) {display:inline-flex;align-items:center;}.tournament-details__trend-icon:where(.svelte-193trhb) {display:inline-flex;width:10px;height:8px;}.tournament-details__trend--up:where(.svelte-193trhb) {color:var(--icon-success, rgba(50, 242, 0, 1));.tournament-details__trend-icon:where(.svelte-193trhb) {transform:rotate(180deg);}}.tournament-details__trend--down:where(.svelte-193trhb) {color:var(--icon-error, rgba(235, 0, 0, 1));}.tournament-details__trend-label:where(.svelte-193trhb) {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}}
|
|
2
2
|
@media (max-width: 767px) {.tournament-details__summary.svelte-193trhb {font-size:12px;.tournament-details__title:where(.svelte-193trhb) {margin-bottom:5px;font-size:14px;}}
|
|
3
3
|
}`};function R(T,v){e.push(v,!0),e.append_styles(T,se);const o=()=>e.store_get(e.$format,"$_",$),[$,z]=e.setup_stores(),n=e.prop(v,"tournament",7),b=e.prop(v,"enrolled",7,!1),_=e.prop(v,"rank",7,null),u=e.prop(v,"rankTrend",7,null),f=e.user_derived(()=>k.getTopRewards(n().prizes)),g=e.user_derived(()=>n().overview?.participants??0),I=e.user_derived(()=>_()!==void 0&&_()!==null?String(_()):"-"),L=e.user_derived(()=>e.get(g)>0?String(e.get(g)):"-"),D=e.user_derived(()=>{const t=[];return n().wallet?.casino&&t.push({type:"casino",src:k.casinoImage}),n().wallet?.sports&&t.push({type:"sports",src:k.sportsImage}),t});var E={get tournament(){return n()},set tournament(t){n(t),e.flushSync()},get enrolled(){return b()},set enrolled(t=!1){b(t),e.flushSync()},get rank(){return _()},set rank(t=null){_(t),e.flushSync()},get rankTrend(){return u()},set rankTrend(t=null){u(t),e.flushSync()}},x=ne(),w=e.child(x),S=e.child(w);e.each(S,17,()=>e.get(D),t=>t.type,(t,r)=>{var a=X();e.template_effect(()=>{e.set_attribute(a,"src",e.get(r).src),e.set_attribute(a,"data-product",e.get(r).type)}),e.append(t,a)});var j=e.sibling(S,2),A=e.only_child(j,!0);e.reset(w);var C=e.sibling(w,2);{var H=t=>{var r=Z(),a=e.child(r),d=e.child(a);N.TrophyIcon(d,{width:16,height:16}),e.reset(a);var s=e.sibling(a,2),h=e.only_child(s),p=e.sibling(s,2);e.each(p,18,()=>e.get(f),l=>l,(l,c,i)=>{var m=Y(),y=e.only_child(m);e.template_effect(()=>e.set_text(y,`${c??""}${e.get(i)<e.get(f).length-1?",":""}`)),e.append(l,m)}),e.reset(r),e.template_effect(l=>e.set_text(h,`${l??""} :`),[()=>o()("topRewardsLabel")]),e.append(t,r)};e.if_block(C,t=>{e.get(f).length>0&&t(H)})}var q=e.sibling(C,2);{var M=t=>{var r=ee(),a=e.child(r),d=e.only_child(a),s=e.sibling(a,2),h=e.only_child(s,!0);e.reset(r),e.template_effect((p,l)=>{e.set_text(d,`${p??""} :`),e.set_text(h,l)},[()=>o()("scoreCriteria"),()=>o()(n().scoreCriteria,{default:n().scoreCriteria})]),e.append(t,r)};e.if_block(q,t=>{n().scoreCriteria&&t(M)})}var P=e.sibling(q,2);{var U=t=>{var r=re(),a=e.child(r),d=e.child(a);V.ChartIcon(d,{width:16,height:16}),e.reset(a);var s=e.sibling(a,2),h=e.only_child(s,!0),p=e.sibling(s,2);{var l=c=>{var i=te(),m=e.child(i),y=e.child(m);W.RankArrowIcon(y,{width:10,height:8}),e.reset(m);var F=e.sibling(m,2),G=e.only_child(F,!0);e.reset(i),e.template_effect((J,K)=>{e.set_class(i,1,`tournament-details__trend tournament-details__trend--${u()??""}`,"svelte-193trhb"),e.set_attribute(i,"title",J),e.set_text(G,K)},[()=>o()(u()==="up"?"rankUpLabel":"rankDownLabel"),()=>o()(u()==="up"?"rankUpLabel":"rankDownLabel")]),e.append(c,i)};e.if_block(p,c=>{u()&&_()!==null&&_()!==void 0&&c(l)})}e.reset(r),e.template_effect((c,i)=>{e.set_attribute(r,"aria-label",c),e.set_text(h,i)},[()=>o()("playerRankLabel",{values:{rank:e.get(I),total:e.get(L)}}),()=>o()("playerRank",{values:{rank:e.get(I),total:e.get(L)}})]),e.append(t,r)},B=t=>{var r=ae(),a=e.child(r),d=e.child(a);Q.PeopleIcon(d,{width:16,height:16}),e.reset(a);var s=e.sibling(a,2),h=e.only_child(s,!0);e.reset(r),e.template_effect(p=>e.set_text(h,p),[()=>o()("joinedCount",{values:{count:e.get(g)}})]),e.append(t,r)};e.if_block(P,t=>{b()?t(U):e.get(g)>0&&t(B,1)})}e.reset(x),e.template_effect(()=>e.set_text(A,n().nameOrTitle)),e.append(T,x);var O=e.pop(E);return z(),O}e.create_custom_element(R,{tournament:{},enrolled:{},rank:{},rankTrend:{}},[],[],{mode:"open"});exports.TournamentSummary=R;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
1
|
+
var $ = Object.defineProperty, C = Object.defineProperties;
|
|
2
2
|
var j = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var v = Object.getOwnPropertySymbols;
|
|
4
4
|
var E = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var m = (a, e, s) => e in a ?
|
|
5
|
+
var m = (a, e, s) => e in a ? $(a, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : a[e] = s, x = (a, e) => {
|
|
6
6
|
for (var s in e || (e = {}))
|
|
7
7
|
E.call(e, s) && m(a, s, e[s]);
|
|
8
8
|
if (v)
|
|
9
9
|
for (var s of v(e))
|
|
10
10
|
D.call(e, s) && m(a, s, e[s]);
|
|
11
11
|
return a;
|
|
12
|
-
}, f = (a, e) =>
|
|
13
|
-
import {
|
|
14
|
-
import { D as
|
|
12
|
+
}, f = (a, e) => C(a, j(e));
|
|
13
|
+
import { B as H, c as S, g as A, a as B, p, L as M, j as r, b as h, d as q, f as _, u as I, q as g, H as N, N as O, t as U, k as F, l as G, O as J, T as K, r as P, U as Q, $ as R } from "./StatusBadge-BlYreHQv.js";
|
|
14
|
+
import { D as V } from "./TournamentLeaderboard-Bko6oz6z.js";
|
|
15
15
|
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
16
16
|
}, globalThis.customElements = { define() {
|
|
17
17
|
}, get() {
|
|
@@ -26,8 +26,8 @@ const Y = {
|
|
|
26
26
|
}`
|
|
27
27
|
};
|
|
28
28
|
function Z(a, e) {
|
|
29
|
-
A(e, !0),
|
|
30
|
-
const s = () =>
|
|
29
|
+
A(e, !0), B(a, Y);
|
|
30
|
+
const s = () => Q(R, "$_", w), [w, T] = N(), o = p(e, "activeTab", 7), b = p(e, "onTabChange", 7), d = p(e, "gamesLabel", 7, "gamesTab"), y = I(() => V.map((t) => t.id === "games" ? f(x({}, t), { label: d() }) : t));
|
|
31
31
|
var z = {
|
|
32
32
|
get activeTab() {
|
|
33
33
|
return o();
|
|
@@ -48,24 +48,24 @@ function Z(a, e) {
|
|
|
48
48
|
d(t), g();
|
|
49
49
|
}
|
|
50
50
|
}, c = X();
|
|
51
|
-
|
|
51
|
+
M(c, 21, () => r(y), (t) => t.id, (t, l) => {
|
|
52
52
|
var n = W();
|
|
53
53
|
let u;
|
|
54
|
-
var L =
|
|
54
|
+
var L = O(n, !0);
|
|
55
55
|
U(
|
|
56
56
|
(i) => {
|
|
57
|
-
u =
|
|
57
|
+
u = F(n, 1, "tournament-details__tab svelte-1t9luwz", null, u, { active: o() === r(l).id }), G(n, "aria-selected", o() === r(l).id), J(L, i);
|
|
58
58
|
},
|
|
59
59
|
[() => s()(r(l).label)]
|
|
60
|
-
),
|
|
60
|
+
), K("click", n, () => {
|
|
61
61
|
var i;
|
|
62
62
|
return (i = b()) == null ? void 0 : i(r(l).id);
|
|
63
63
|
}), h(t, n);
|
|
64
|
-
}),
|
|
64
|
+
}), P(c), h(a, c);
|
|
65
65
|
var k = q(z);
|
|
66
66
|
return T(), k;
|
|
67
67
|
}
|
|
68
|
-
|
|
68
|
+
H(["click"]);
|
|
69
69
|
S(Z, { activeTab: {}, onTabChange: {}, gamesLabel: {} }, [], [], { mode: "open" });
|
|
70
70
|
export {
|
|
71
71
|
Z as T
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as
|
|
1
|
+
import { B as y, c as z, g as k, a as L, p as b, L as $, j as a, b as g, d as C, f as u, u as j, q as d, H as E, N as D, t as H, k as S, l as A, O as B, T as M, r as q, U as I, $ as N } from "./StatusBadge-BmO5-LZu.js";
|
|
2
|
+
import { D as O } from "./TournamentLeaderboard-BEiBqgl0.js";
|
|
3
3
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
4
4
|
}, globalThis.customElements = { define() {
|
|
5
5
|
}, get() {
|
|
6
6
|
}, whenDefined() {
|
|
7
7
|
} });
|
|
8
|
-
var U = u('<button type="button" role="tab"> </button>'),
|
|
9
|
-
const
|
|
8
|
+
var U = u('<button type="button" role="tab"> </button>'), F = u('<div class="tournament-details__tabs svelte-1t9luwz" role="tablist"></div>');
|
|
9
|
+
const G = {
|
|
10
10
|
hash: "svelte-1t9luwz",
|
|
11
11
|
code: `.tournament-details__tabs.svelte-1t9luwz {box-sizing:border-box;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:6px 8px;gap:4px;background:var(--bg-overlay-neutral-level-2, rgba(251, 251, 251, 0.1));border:1px solid var(--border-subtle, rgba(251, 251, 251, 0.05));border-radius:100px;width:fit-content;max-width:100%;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar {display:none;}}.tournament-details__tab.svelte-1t9luwz {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 47px;border:0;border-radius:36px;background:transparent;color:var(--text-subtle, rgba(223, 227, 232, 1));font-size:10px;font-weight:500;white-space:nowrap;cursor:pointer;line-height:145%;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;&:focus-visible {outline:none;}&.active {background:var(--tabs-bg-selected, rgba(251, 251, 251, 0.2));color:var(--text-default, rgba(223, 227, 232, 1));}&:hover:not(.active) {background:var(--bg-tabs-hover, rgba(251, 251, 251, 0.1));}}
|
|
12
12
|
|
|
13
13
|
@media (max-width: 767px) {.tournament-details__tabs.svelte-1t9luwz {width:100%;justify-content:flex-start;gap:2px;padding:4px 8px;}.tournament-details__tab.svelte-1t9luwz {flex:1 0 auto;padding:6px 8px;font-size:10px;font-weight:700;}
|
|
14
14
|
}`
|
|
15
15
|
};
|
|
16
|
-
function
|
|
17
|
-
k(s, !0), L(c,
|
|
18
|
-
const v = () =>
|
|
16
|
+
function J(c, s) {
|
|
17
|
+
k(s, !0), L(c, G);
|
|
18
|
+
const v = () => I(N, "$_", m), [m, x] = E(), n = b(s, "activeTab", 7), o = b(s, "onTabChange", 7), l = b(s, "gamesLabel", 7, "gamesTab"), f = j(() => O.map((e) => e.id === "games" ? { ...e, label: l() } : e));
|
|
19
19
|
var h = {
|
|
20
20
|
get activeTab() {
|
|
21
21
|
return n();
|
|
@@ -35,23 +35,23 @@ function G(c, s) {
|
|
|
35
35
|
set gamesLabel(e = "gamesTab") {
|
|
36
36
|
l(e), d();
|
|
37
37
|
}
|
|
38
|
-
}, i =
|
|
39
|
-
|
|
38
|
+
}, i = F();
|
|
39
|
+
$(i, 21, () => a(f), (e) => e.id, (e, r) => {
|
|
40
40
|
var t = U();
|
|
41
41
|
let p;
|
|
42
42
|
var w = D(t, !0);
|
|
43
|
-
|
|
43
|
+
H(
|
|
44
44
|
(T) => {
|
|
45
|
-
p = S(t, 1, "tournament-details__tab svelte-1t9luwz", null, p, { active: n() === a(r).id }), A(t, "aria-selected", n() === a(r).id),
|
|
45
|
+
p = S(t, 1, "tournament-details__tab svelte-1t9luwz", null, p, { active: n() === a(r).id }), A(t, "aria-selected", n() === a(r).id), B(w, T);
|
|
46
46
|
},
|
|
47
47
|
[() => v()(a(r).label)]
|
|
48
|
-
),
|
|
48
|
+
), M("click", t, () => o()?.(a(r).id)), g(e, t);
|
|
49
49
|
}), q(i), g(c, i);
|
|
50
|
-
var _ =
|
|
50
|
+
var _ = C(h);
|
|
51
51
|
return x(), _;
|
|
52
52
|
}
|
|
53
53
|
y(["click"]);
|
|
54
|
-
z(
|
|
54
|
+
z(J, { activeTab: {}, onTabChange: {}, gamesLabel: {} }, [], [], { mode: "open" });
|
|
55
55
|
export {
|
|
56
|
-
|
|
56
|
+
J as T
|
|
57
57
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var z=Object.defineProperty,k=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var S=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var g=(n,t,o)=>t in n?z(n,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[t]=o,m=(n,t)=>{for(var o in t||(t={}))S.call(t,o)&&g(n,o,t[o]);if(p)for(var o of p(t))C.call(t,o)&&g(n,o,t[o]);return n},v=(n,t)=>k(n,L(t));typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-
|
|
1
|
+
var z=Object.defineProperty,k=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var S=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var g=(n,t,o)=>t in n?z(n,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[t]=o,m=(n,t)=>{for(var o in t||(t={}))S.call(t,o)&&g(n,o,t[o]);if(p)for(var o of p(t))C.call(t,o)&&g(n,o,t[o]);return n},v=(n,t)=>k(n,L(t));typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-BrkI5s3G.cjs"),$=require("./TournamentLeaderboard-BAX4Qc8L.cjs");var E=e.from_html('<button type="button" role="tab"> </button>'),j=e.from_html('<div class="tournament-details__tabs svelte-1t9luwz" role="tablist"></div>');const q={hash:"svelte-1t9luwz",code:`.tournament-details__tabs.svelte-1t9luwz {box-sizing:border-box;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:6px 8px;gap:4px;background:var(--bg-overlay-neutral-level-2, rgba(251, 251, 251, 0.1));border:1px solid var(--border-subtle, rgba(251, 251, 251, 0.05));border-radius:100px;width:fit-content;max-width:100%;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar {display:none;}}.tournament-details__tab.svelte-1t9luwz {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 47px;border:0;border-radius:36px;background:transparent;color:var(--text-subtle, rgba(223, 227, 232, 1));font-size:10px;font-weight:500;white-space:nowrap;cursor:pointer;line-height:145%;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;&:focus-visible {outline:none;}&.active {background:var(--tabs-bg-selected, rgba(251, 251, 251, 0.2));color:var(--text-default, rgba(223, 227, 232, 1));}&:hover:not(.active) {background:var(--bg-tabs-hover, rgba(251, 251, 251, 0.1));}}
|
|
2
2
|
|
|
3
3
|
@media (max-width: 767px) {.tournament-details__tabs.svelte-1t9luwz {width:100%;justify-content:flex-start;gap:2px;padding:4px 8px;}.tournament-details__tab.svelte-1t9luwz {flex:1 0 auto;padding:6px 8px;font-size:10px;font-weight:700;}
|
|
4
4
|
}`};function x(n,t){e.push(t,!0),e.append_styles(n,q);const o=()=>e.store_get(e.$format,"$_",h),[h,f]=e.setup_stores(),s=e.prop(t,"activeTab",7),b=e.prop(t,"onTabChange",7),d=e.prop(t,"gamesLabel",7,"gamesTab"),_=e.user_derived(()=>$.DETAILS_TABS.map(a=>a.id==="games"?v(m({},a),{label:d()}):a));var w={get activeTab(){return s()},set activeTab(a){s(a),e.flushSync()},get onTabChange(){return b()},set onTabChange(a){b(a),e.flushSync()},get gamesLabel(){return d()},set gamesLabel(a="gamesTab"){d(a),e.flushSync()}},c=j();e.each(c,21,()=>e.get(_),a=>a.id,(a,l)=>{var r=E();let u;var y=e.only_child(r,!0);e.template_effect(i=>{u=e.set_class(r,1,"tournament-details__tab svelte-1t9luwz",null,u,{active:s()===e.get(l).id}),e.set_attribute(r,"aria-selected",s()===e.get(l).id),e.set_text(y,i)},[()=>o()(e.get(l).label)]),e.delegated("click",r,()=>{var i;return(i=b())==null?void 0:i(e.get(l).id)}),e.append(a,r)}),e.reset(c),e.append(n,c);var T=e.pop(w);return f(),T}e.delegate(["click"]);e.create_custom_element(x,{activeTab:{},onTabChange:{},gamesLabel:{}},[],[],{mode:"open"});exports.TournamentTabs=x;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-FaxZ-GIu.cjs"),_=require("./TournamentLeaderboard-B18inWxV.cjs");var w=e.from_html('<button type="button" role="tab"> </button>'),T=e.from_html('<div class="tournament-details__tabs svelte-1t9luwz" role="tablist"></div>');const y={hash:"svelte-1t9luwz",code:`.tournament-details__tabs.svelte-1t9luwz {box-sizing:border-box;display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:6px 8px;gap:4px;background:var(--bg-overlay-neutral-level-2, rgba(251, 251, 251, 0.1));border:1px solid var(--border-subtle, rgba(251, 251, 251, 0.05));border-radius:100px;width:fit-content;max-width:100%;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar {display:none;}}.tournament-details__tab.svelte-1t9luwz {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 47px;border:0;border-radius:36px;background:transparent;color:var(--text-subtle, rgba(223, 227, 232, 1));font-size:10px;font-weight:500;white-space:nowrap;cursor:pointer;line-height:145%;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;&:focus-visible {outline:none;}&.active {background:var(--tabs-bg-selected, rgba(251, 251, 251, 0.2));color:var(--text-default, rgba(223, 227, 232, 1));}&:hover:not(.active) {background:var(--bg-tabs-hover, rgba(251, 251, 251, 0.1));}}
|
|
2
2
|
|
|
3
3
|
@media (max-width: 767px) {.tournament-details__tabs.svelte-1t9luwz {width:100%;justify-content:flex-start;gap:2px;padding:4px 8px;}.tournament-details__tab.svelte-1t9luwz {flex:1 0 auto;padding:6px 8px;font-size:10px;font-weight:700;}
|
|
4
4
|
}`};function c(b,n){e.push(n,!0),e.append_styles(b,y);const u=()=>e.store_get(e.$format,"$_",p),[p,g]=e.setup_stores(),o=e.prop(n,"activeTab",7),s=e.prop(n,"onTabChange",7),l=e.prop(n,"gamesLabel",7,"gamesTab"),m=e.user_derived(()=>_.DETAILS_TABS.map(t=>t.id==="games"?{...t,label:l()}:t));var v={get activeTab(){return o()},set activeTab(t){o(t),e.flushSync()},get onTabChange(){return s()},set onTabChange(t){s(t),e.flushSync()},get gamesLabel(){return l()},set gamesLabel(t="gamesTab"){l(t),e.flushSync()}},i=T();e.each(i,21,()=>e.get(m),t=>t.id,(t,r)=>{var a=w();let d;var h=e.only_child(a,!0);e.template_effect(f=>{d=e.set_class(a,1,"tournament-details__tab svelte-1t9luwz",null,d,{active:o()===e.get(r).id}),e.set_attribute(a,"aria-selected",o()===e.get(r).id),e.set_text(h,f)},[()=>u()(e.get(r).label)]),e.delegated("click",a,()=>s()?.(e.get(r).id)),e.append(t,a)}),e.reset(i),e.append(b,i);var x=e.pop(v);return g(),x}e.delegate(["click"]);e.create_custom_element(c,{activeTab:{},onTabChange:{},gamesLabel:{}},[],[],{mode:"open"});exports.TournamentTabs=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-FaxZ-GIu.cjs");var s=e.from_svg('<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.23642 0.000175453C4.25689 0.000258184 4.27689 0.000339088 4.29636 0.000339088H10.3704C10.3899 0.000339088 10.4099 0.000258184 10.4304 0.000175453C10.6391 -0.000668151 10.8962 -0.0017075 11.1228 0.0807489C11.4931 0.215547 11.7849 0.50729 11.9197 0.877646C11.9729 1.02399 11.9913 1.1831 11.9975 1.33367L13.0177 1.33367C13.1577 1.33366 13.2942 1.33364 13.4102 1.34156C13.5371 1.35022 13.6876 1.37054 13.8436 1.43517C14.1703 1.57049 14.4299 1.83006 14.5652 2.15676C14.6299 2.31279 14.6502 2.46327 14.6588 2.59019C14.6668 2.70624 14.6667 2.84266 14.6667 2.98269V3.33367C14.6667 3.3647 14.6667 3.39526 14.6668 3.42539C14.6671 3.95565 14.6673 4.34942 14.5759 4.69052C14.3293 5.61077 13.6105 6.32956 12.6902 6.57614C12.4365 6.64412 12.1537 6.66142 11.8072 6.66571C11.2953 8.38761 9.81636 9.69328 8.00006 9.95308V10.667H8.29636C9.97367 10.667 11.3334 12.0267 11.3334 13.704C11.3334 14.2359 10.9023 14.667 10.3704 14.667H4.29636C3.76453 14.667 3.3334 14.2359 3.3334 13.704C3.3334 12.0267 4.69313 10.667 6.37043 10.667H6.66673V9.95308C4.85043 9.69328 3.37151 8.38761 2.8596 6.66571C2.51311 6.66142 2.23026 6.64412 1.97655 6.57614C1.0563 6.32956 0.337508 5.61077 0.0909288 4.69052C-0.00046888 4.34942 -0.000255658 3.95565 3.14778e-05 3.42539C4.77697e-05 3.39527 6.43001e-05 3.3647 6.43001e-05 3.33367V3.00034C6.43001e-05 2.99445 6.37438e-05 2.98857 6.31875e-05 2.98269C4.92003e-05 2.84266 3.56107e-05 2.70624 0.00795401 2.59019C0.0166133 2.46327 0.0369291 2.31279 0.101558 2.15676C0.236884 1.83006 0.496449 1.57049 0.823153 1.43517C0.979182 1.37054 1.12967 1.35022 1.25658 1.34156C1.37264 1.33364 1.50905 1.33366 1.64908 1.33367C1.65496 1.33367 1.66084 1.33367 1.66673 1.33367H2.66931C2.67545 1.1831 2.69387 1.02399 2.74714 0.877646C2.88194 0.50729 3.17368 0.215547 3.54404 0.0807489C3.77058 -0.0017075 4.02771 -0.000668151 4.23642 0.000175453ZM2.66673 2.66701H1.66673C1.5023 2.66701 1.41236 2.66737 1.34734 2.6718C1.34432 2.67201 1.34148 2.67222 1.33882 2.67243C1.33861 2.67509 1.3384 2.67793 1.33819 2.68095C1.33376 2.74597 1.3334 2.8359 1.3334 3.00034V3.33367C1.3334 3.99657 1.33912 4.19725 1.37883 4.34543C1.50212 4.80555 1.86152 5.16495 2.32164 5.28824C2.40083 5.30946 2.49502 5.32098 2.66673 5.3271V2.66701ZM4.00006 1.62997C4.00006 1.48393 4.00035 1.40407 4.00386 1.34617C4.00404 1.34326 4.00422 1.34054 4.0044 1.33801C4.00694 1.33783 4.00966 1.33765 4.01257 1.33747C4.07046 1.33396 4.15032 1.33367 4.29636 1.33367H10.3704C10.5165 1.33367 10.5963 1.33396 10.6542 1.33747C10.6571 1.33765 10.6599 1.33783 10.6624 1.33801C10.6626 1.34054 10.6628 1.34326 10.6629 1.34617C10.6664 1.40407 10.6667 1.48393 10.6667 1.62997V5.33367C10.6667 7.17462 9.17435 8.66701 7.3334 8.66701C5.49245 8.66701 4.00006 7.17462 4.00006 5.33367V1.62997ZM12.0001 2.66701V5.3271C12.1718 5.32098 12.266 5.30946 12.3452 5.28824C12.8053 5.16495 13.1647 4.80555 13.288 4.34543C13.3277 4.19725 13.3334 3.99657 13.3334 3.33367V3.00034C13.3334 2.8359 13.333 2.74597 13.3286 2.68095C13.3284 2.67793 13.3282 2.67509 13.328 2.67243C13.3253 2.67222 13.3225 2.67201 13.3195 2.6718C13.2544 2.66737 13.1645 2.66701 13.0001 2.66701H12.0001ZM6.37043 12.0003C5.5567 12.0003 4.87621 12.5708 4.7071 13.3337H9.95969C9.79059 12.5708 9.1101 12.0003 8.29636 12.0003H6.37043Z" fill="currentColor"></path></svg>');function r(o,C){e.push(C,!0);let t=e.prop(C,"width",7,15),h=e.prop(C,"height",7,15);var l={get width(){return t()},set width(n=15){t(n),e.flushSync()},get height(){return h()},set height(n=15){h(n),e.flushSync()}},i=s();return e.template_effect(()=>{e.set_attribute(i,"width",t()),e.set_attribute(i,"height",h())}),e.append(o,i),e.pop(l)}e.create_custom_element(r,{width:{},height:{}},[],[],{mode:"open"});exports.TrophyIcon=r;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as o, g as d, p as s, t as g, b as p, d as u,
|
|
1
|
+
import { c as o, g as d, p as s, t as g, b as p, d as u, Y as f, q as l, l as r } from "./StatusBadge-BmO5-LZu.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 o, g as d, p as s, t as g, b as p, d as u,
|
|
1
|
+
import { c as o, g as d, p as s, t as g, b as p, d as u, Y as f, q as l, l as r } from "./StatusBadge-BlYreHQv.js";
|
|
2
2
|
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-
|
|
1
|
+
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-BrkI5s3G.cjs");var s=e.from_svg('<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.23642 0.000175453C4.25689 0.000258184 4.27689 0.000339088 4.29636 0.000339088H10.3704C10.3899 0.000339088 10.4099 0.000258184 10.4304 0.000175453C10.6391 -0.000668151 10.8962 -0.0017075 11.1228 0.0807489C11.4931 0.215547 11.7849 0.50729 11.9197 0.877646C11.9729 1.02399 11.9913 1.1831 11.9975 1.33367L13.0177 1.33367C13.1577 1.33366 13.2942 1.33364 13.4102 1.34156C13.5371 1.35022 13.6876 1.37054 13.8436 1.43517C14.1703 1.57049 14.4299 1.83006 14.5652 2.15676C14.6299 2.31279 14.6502 2.46327 14.6588 2.59019C14.6668 2.70624 14.6667 2.84266 14.6667 2.98269V3.33367C14.6667 3.3647 14.6667 3.39526 14.6668 3.42539C14.6671 3.95565 14.6673 4.34942 14.5759 4.69052C14.3293 5.61077 13.6105 6.32956 12.6902 6.57614C12.4365 6.64412 12.1537 6.66142 11.8072 6.66571C11.2953 8.38761 9.81636 9.69328 8.00006 9.95308V10.667H8.29636C9.97367 10.667 11.3334 12.0267 11.3334 13.704C11.3334 14.2359 10.9023 14.667 10.3704 14.667H4.29636C3.76453 14.667 3.3334 14.2359 3.3334 13.704C3.3334 12.0267 4.69313 10.667 6.37043 10.667H6.66673V9.95308C4.85043 9.69328 3.37151 8.38761 2.8596 6.66571C2.51311 6.66142 2.23026 6.64412 1.97655 6.57614C1.0563 6.32956 0.337508 5.61077 0.0909288 4.69052C-0.00046888 4.34942 -0.000255658 3.95565 3.14778e-05 3.42539C4.77697e-05 3.39527 6.43001e-05 3.3647 6.43001e-05 3.33367V3.00034C6.43001e-05 2.99445 6.37438e-05 2.98857 6.31875e-05 2.98269C4.92003e-05 2.84266 3.56107e-05 2.70624 0.00795401 2.59019C0.0166133 2.46327 0.0369291 2.31279 0.101558 2.15676C0.236884 1.83006 0.496449 1.57049 0.823153 1.43517C0.979182 1.37054 1.12967 1.35022 1.25658 1.34156C1.37264 1.33364 1.50905 1.33366 1.64908 1.33367C1.65496 1.33367 1.66084 1.33367 1.66673 1.33367H2.66931C2.67545 1.1831 2.69387 1.02399 2.74714 0.877646C2.88194 0.50729 3.17368 0.215547 3.54404 0.0807489C3.77058 -0.0017075 4.02771 -0.000668151 4.23642 0.000175453ZM2.66673 2.66701H1.66673C1.5023 2.66701 1.41236 2.66737 1.34734 2.6718C1.34432 2.67201 1.34148 2.67222 1.33882 2.67243C1.33861 2.67509 1.3384 2.67793 1.33819 2.68095C1.33376 2.74597 1.3334 2.8359 1.3334 3.00034V3.33367C1.3334 3.99657 1.33912 4.19725 1.37883 4.34543C1.50212 4.80555 1.86152 5.16495 2.32164 5.28824C2.40083 5.30946 2.49502 5.32098 2.66673 5.3271V2.66701ZM4.00006 1.62997C4.00006 1.48393 4.00035 1.40407 4.00386 1.34617C4.00404 1.34326 4.00422 1.34054 4.0044 1.33801C4.00694 1.33783 4.00966 1.33765 4.01257 1.33747C4.07046 1.33396 4.15032 1.33367 4.29636 1.33367H10.3704C10.5165 1.33367 10.5963 1.33396 10.6542 1.33747C10.6571 1.33765 10.6599 1.33783 10.6624 1.33801C10.6626 1.34054 10.6628 1.34326 10.6629 1.34617C10.6664 1.40407 10.6667 1.48393 10.6667 1.62997V5.33367C10.6667 7.17462 9.17435 8.66701 7.3334 8.66701C5.49245 8.66701 4.00006 7.17462 4.00006 5.33367V1.62997ZM12.0001 2.66701V5.3271C12.1718 5.32098 12.266 5.30946 12.3452 5.28824C12.8053 5.16495 13.1647 4.80555 13.288 4.34543C13.3277 4.19725 13.3334 3.99657 13.3334 3.33367V3.00034C13.3334 2.8359 13.333 2.74597 13.3286 2.68095C13.3284 2.67793 13.3282 2.67509 13.328 2.67243C13.3253 2.67222 13.3225 2.67201 13.3195 2.6718C13.2544 2.66737 13.1645 2.66701 13.0001 2.66701H12.0001ZM6.37043 12.0003C5.5567 12.0003 4.87621 12.5708 4.7071 13.3337H9.95969C9.79059 12.5708 9.1101 12.0003 8.29636 12.0003H6.37043Z" fill="currentColor"></path></svg>');function r(o,C){e.push(C,!0);let t=e.prop(C,"width",7,15),h=e.prop(C,"height",7,15);var l={get width(){return t()},set width(n=15){t(n),e.flushSync()},get height(){return h()},set height(n=15){h(n),e.flushSync()}},i=s();return e.template_effect(()=>{e.set_attribute(i,"width",t()),e.set_attribute(i,"height",h())}),e.append(o,i),e.pop(l)}e.create_custom_element(r,{width:{},height:{}},[],[],{mode:"open"});exports.TrophyIcon=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const a=require("../components/TournamentDetailsPage-
|
|
1
|
+
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const a=require("../components/TournamentDetailsPage-DDzejA4a.cjs");if(typeof window!="undefined"){let s=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t instanceof Error&&t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/TournamentDetailsPage-DDzejA4a.cjs")).then(e=>e.TournamentDetailsPage_ce).then(e=>{const n=e.default||e;customElements.get("tournament-details-page")||customElements.define("tournament-details-page",n.element||n)}).catch(e=>{console.error("BOOT ERROR:",e)})}module.exports=a.TournamentDetailsPage;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as l } from "../components/TournamentDetailsPage-
|
|
1
|
+
import { T as l } from "../components/TournamentDetailsPage-BSgbM1lj.js";
|
|
2
2
|
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -16,7 +16,7 @@ if (typeof window != "undefined") {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
customElements.define = s(customElements.define), import("../components/TournamentDetailsPage-
|
|
19
|
+
customElements.define = s(customElements.define), import("../components/TournamentDetailsPage-BSgbM1lj.js").then((e) => e.a).then((e) => {
|
|
20
20
|
const n = e.default || e;
|
|
21
21
|
customElements.get("tournament-details-page") || customElements.define("tournament-details-page", n.element || n);
|
|
22
22
|
}).catch((e) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const a=require("../components/TournamentDetailsPage-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const a=require("../components/TournamentDetailsPage-BtbUwaTF.cjs");if(typeof window<"u"){let s=function(e){return function(...n){try{return e.apply(this,n)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t instanceof Error&&t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("../components/TournamentDetailsPage-BtbUwaTF.cjs")).then(e=>e.TournamentDetailsPage_ce).then(e=>{const n=e.default||e;customElements.get("tournament-details-page")||customElements.define("tournament-details-page",n.element||n)}).catch(e=>{console.error("BOOT ERROR:",e)})}module.exports=a.TournamentDetailsPage;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as l } from "../components/TournamentDetailsPage-
|
|
1
|
+
import { T as l } from "../components/TournamentDetailsPage-7KG0IR4n.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -16,7 +16,7 @@ if (typeof window < "u") {
|
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
-
customElements.define = s(customElements.define), import("../components/TournamentDetailsPage-
|
|
19
|
+
customElements.define = s(customElements.define), import("../components/TournamentDetailsPage-7KG0IR4n.js").then((e) => e.a).then((e) => {
|
|
20
20
|
const n = e.default || e;
|
|
21
21
|
customElements.get("tournament-details-page") || customElements.define("tournament-details-page", n.element || n);
|
|
22
22
|
}).catch((e) => {
|