@everymatrix/tournament-details-page 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{TournamentDetails-DXDC_ZT1.js → TournamentDetails-C_kjxJu1.js} +2 -2
- package/components/{TournamentDetails--114uLDg.cjs → TournamentDetails-GqXuwNU6.cjs} +2 -2
- package/components/{TournamentDetails-DgrFAkq4.js → TournamentDetails-yAsDzYqv.js} +2 -2
- package/components/{TournamentDetailsPage-BL5YSX6c.js → TournamentDetailsPage-6JD1drZz.js} +3 -3
- package/components/{TournamentDetailsPage-CqwgEfgR.js → TournamentDetailsPage-B2IgC41f.js} +3 -3
- package/components/{TournamentDetailsPage-DBFnctSf.cjs → TournamentDetailsPage-BYR2IdA-.cjs} +1 -1
- package/components/{TournamentGames-32LeAEHF.js → TournamentGames-AkuAwhD8.js} +26 -23
- package/components/TournamentGames-BbocsZ1Q.cjs +30 -0
- package/components/{TournamentGames-CWA8cn1W.js → TournamentGames-kpdDVC55.js} +45 -42
- package/components/TournamentLeaderboard-B8qJzyj6.cjs +31 -0
- package/components/TournamentLeaderboard-CPf12Yqs.js +850 -0
- package/components/TournamentLeaderboard-CZD-tAK5.js +866 -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
- package/components/TournamentGames--p8n0yMO.cjs +0 -27
- package/components/TournamentLeaderboard-BCKfK_kj.js +0 -848
- package/components/TournamentLeaderboard-DFXwvz7Z.js +0 -832
- package/components/TournamentLeaderboard-Q44uv2lQ.cjs +0 -31
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as E, J as Ye, a as Ne, $ as Xe, K as Ae, c as Ee, p as De, b as Le, d as te, u as We, e as ge, j as ve, L as Ge, M as Se, w, i as me, g as O, t as oe, H as ne, y as h, N as ze, O as Ce, f as de, h as He, C as je, s as Ve, k as we, m as se, n as d, G as Ie, x as le, D as Ke, A as Je, B as Re, E as l, F as Ue } from "./TournamentDetailsPage-
|
|
1
|
+
import { I as E, J as Ye, a as Ne, $ as Xe, K as Ae, c as Ee, p as De, b as Le, d as te, u as We, e as ge, j as ve, L as Ge, M as Se, w, i as me, g as O, t as oe, H as ne, y as h, N as ze, O as Ce, f as de, h as He, C as je, s as Ve, k as we, m as se, n as d, G as Ie, x as le, D as Ke, A as Je, B as Re, E as l, F as Ue } from "./TournamentDetailsPage-B2IgC41f.js";
|
|
2
2
|
E.extend(Ye);
|
|
3
3
|
const Qe = (M) => E(M).format("MMMM D, HH:mm");
|
|
4
4
|
function he(M, b) {
|
|
@@ -200,7 +200,7 @@ const tt = {
|
|
|
200
200
|
hash: "svelte-1fgbug1",
|
|
201
201
|
code: `.svelte-1fgbug1,
|
|
202
202
|
.svelte-1fgbug1::before,
|
|
203
|
-
.svelte-1fgbug1::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}:host {height:100%;}.Hidden.svelte-1fgbug1 {display:none;}.TournamentGamesWrapper.svelte-1fgbug1 {display:grid;gap:12px;grid-template-columns:repeat(auto-fit, minmax(min(150px, 100%), 1fr));}.TournamentDetailsWrapper.svelte-1fgbug1 {background-color:var(--emw-color-bg-secondary, #333232);border-radius:6px;padding:16px 16px 0 16px;height:100%;display:flex;flex-direction:column;.TournamentImageWrapper:where(.svelte-1fgbug1) {position:relative;border-radius:14px;background-color:var(--emw-color-bg-primary, #212121);max-width:370px;.StatusBadgesWrapper:where(.svelte-1fgbug1) {position:absolute;top:10px;right:10px;display:flex;gap:10px;.StatusBadge:where(.svelte-1fgbug1) {background-color:var(--emw-color-primary, #FF1D4E);color:var(--emw-color-typography, #ffffff);font-size:14px;border-radius:14px;padding:5px 10px;z-index:1;&.Live {background-color:var(--emw-color-green, #2DCB70);}&.Upcoming {background-color:var(--emw-color-green, #5A88D7);}&.Ended {background-color:var(--emw-color-green, #F3514B);}}}img:where(.svelte-1fgbug1) {border-radius:6px;width:100%;min-height:200px;height:200px;object-fit:cover;}}.TournamentDetails:where(.svelte-1fgbug1) {color:var(--emw-color-typography, #ffffff);margin-top:10px;display:flex;flex-direction:column;gap:10px;
|
|
203
|
+
.svelte-1fgbug1::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}:host {height:100%;}.Hidden.svelte-1fgbug1 {display:none;}.TournamentGamesWrapper.svelte-1fgbug1 {display:grid;gap:12px;grid-template-columns:repeat(auto-fit, minmax(min(150px, 100%), 1fr));}.TournamentDetailsWrapper.svelte-1fgbug1 {background-color:var(--emw-color-bg-secondary, #333232);border-radius:6px;padding:16px 16px 0 16px;height:100%;display:flex;flex-direction:column;.TournamentImageWrapper:where(.svelte-1fgbug1) {position:relative;border-radius:14px;background-color:var(--emw-color-bg-primary, #212121);max-width:370px;.StatusBadgesWrapper:where(.svelte-1fgbug1) {position:absolute;top:10px;right:10px;display:flex;gap:10px;.StatusBadge:where(.svelte-1fgbug1) {background-color:var(--emw-color-primary, #FF1D4E);color:var(--emw-color-typography, #ffffff);font-size:14px;border-radius:14px;padding:5px 10px;z-index:1;&.Live {background-color:var(--emw-color-green, #2DCB70);}&.Upcoming {background-color:var(--emw-color-green, #5A88D7);}&.Ended {background-color:var(--emw-color-green, #F3514B);}}}img:where(.svelte-1fgbug1) {border-radius:6px;width:100%;min-height:200px;height:200px;object-fit:cover;}}.TournamentDetails:where(.svelte-1fgbug1) {color:var(--emw-color-typography, #ffffff);margin-top:10px;display:flex;flex-direction:column;gap:10px;flex:1;justify-content:space-between;.TournamentStartDate:where(.svelte-1fgbug1) {font-size:12px;opacity:70%;font-weight:300;}.TournamentTitle:where(.svelte-1fgbug1) {font-size:20px;font-weight:500;word-wrap:break-word;}.TournamentCriteria:where(.svelte-1fgbug1) {font-size:12px;opacity:70%;font-weight:200;padding:0;margin:0;}}.ViewPrizesContainer:where(.svelte-1fgbug1) {display:flex;justify-content:space-between;align-items:center;background-color:var(--emw-color-bg-elements, #4A4A4A);color:var(--emw-color-typography, #ffffff);border-radius:6px;width:100%;margin:10px 0;padding:10px;p:where(.svelte-1fgbug1) {opacity:70%;font-size:14px;font-weight:400;max-width:55%;word-wrap:break-word;}.ViewPrizeButton:where(.svelte-1fgbug1) {background-color:transparent;border-radius:6px;color:var(--emw-color-typography, #ffffff);border:1px solid var(--emw-color-primary, #FF1D4E);padding:6px 12px;display:flex;align-items:center;font-size:12px;margin-left:6px;transition:background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;&:hover {box-shadow:0 0 8px 0px var(--emw-color-primary, #FF1D4E);transform:scale(1.05);cursor:pointer;}&:active {transform:scale(0.95);}svg:where(.svelte-1fgbug1) {margin-left:5px;justify-self:center;}}}.TimeSegment:where(.svelte-1fgbug1) {background-color:var(--emw-color-bg-elements, #4A4A4A);color:var(--emw-color-typography, #ffffff);padding:6px;border-radius:6px;}.TimeToEndTournament:where(.svelte-1fgbug1) > p:where(.svelte-1fgbug1) {margin-bottom:6px;font-size:12px;font-weight:400;opacity:70%;}.TimeToEndTournament:where(.svelte-1fgbug1) {display:flex;flex-direction:column;gap:6px;}.ViewDetailsButton:where(.svelte-1fgbug1) {width:100%;background-color:var(--emw-color-bg-elements, #4A4A4A);color:var(--emw-color-typography, #ffffff);border-radius:6px;padding:8px 0;border:none;outline:none;}}`
|
|
204
204
|
};
|
|
205
205
|
function nt(M, b) {
|
|
206
206
|
De(b, !0), Le(M, tt);
|
|
@@ -7145,7 +7145,7 @@ if (typeof window < "u") {
|
|
|
7145
7145
|
}
|
|
7146
7146
|
};
|
|
7147
7147
|
};
|
|
7148
|
-
customElements.define = e(customElements.define), import("./TournamentLeaderboard-
|
|
7148
|
+
customElements.define = e(customElements.define), import("./TournamentLeaderboard-CPf12Yqs.js").then(({ default: t }) => {
|
|
7149
7149
|
!customElements.get("tournament-leaderboard") && customElements.define("tournament-leaderboard", t.element);
|
|
7150
7150
|
});
|
|
7151
7151
|
}
|
|
@@ -7161,7 +7161,7 @@ if (typeof window < "u") {
|
|
|
7161
7161
|
}
|
|
7162
7162
|
};
|
|
7163
7163
|
};
|
|
7164
|
-
customElements.define = e(customElements.define), import("./TournamentDetails-
|
|
7164
|
+
customElements.define = e(customElements.define), import("./TournamentDetails-C_kjxJu1.js").then(({ default: t }) => {
|
|
7165
7165
|
!customElements.get("tournament-details") && customElements.define("tournament-details", t.element);
|
|
7166
7166
|
});
|
|
7167
7167
|
}
|
|
@@ -7177,7 +7177,7 @@ if (typeof window < "u") {
|
|
|
7177
7177
|
}
|
|
7178
7178
|
};
|
|
7179
7179
|
};
|
|
7180
|
-
customElements.define = e(customElements.define), import("./TournamentGames-
|
|
7180
|
+
customElements.define = e(customElements.define), import("./TournamentGames-AkuAwhD8.js").then(({ default: t }) => {
|
|
7181
7181
|
!customElements.get("tournament-games") && customElements.define("tournament-games", t.element);
|
|
7182
7182
|
});
|
|
7183
7183
|
}
|
|
@@ -7227,7 +7227,7 @@ if (typeof window != "undefined") {
|
|
|
7227
7227
|
}
|
|
7228
7228
|
};
|
|
7229
7229
|
};
|
|
7230
|
-
customElements.define = e(customElements.define), import("./TournamentLeaderboard-
|
|
7230
|
+
customElements.define = e(customElements.define), import("./TournamentLeaderboard-CZD-tAK5.js").then(({ default: t }) => {
|
|
7231
7231
|
!customElements.get("tournament-leaderboard") && customElements.define("tournament-leaderboard", t.element);
|
|
7232
7232
|
});
|
|
7233
7233
|
}
|
|
@@ -7243,7 +7243,7 @@ if (typeof window != "undefined") {
|
|
|
7243
7243
|
}
|
|
7244
7244
|
};
|
|
7245
7245
|
};
|
|
7246
|
-
customElements.define = e(customElements.define), import("./TournamentDetails-
|
|
7246
|
+
customElements.define = e(customElements.define), import("./TournamentDetails-yAsDzYqv.js").then(({ default: t }) => {
|
|
7247
7247
|
!customElements.get("tournament-details") && customElements.define("tournament-details", t.element);
|
|
7248
7248
|
});
|
|
7249
7249
|
}
|
|
@@ -7259,7 +7259,7 @@ if (typeof window != "undefined") {
|
|
|
7259
7259
|
}
|
|
7260
7260
|
};
|
|
7261
7261
|
};
|
|
7262
|
-
customElements.define = e(customElements.define), import("./TournamentGames-
|
|
7262
|
+
customElements.define = e(customElements.define), import("./TournamentGames-kpdDVC55.js").then(({ default: t }) => {
|
|
7263
7263
|
!customElements.get("tournament-games") && customElements.define("tournament-games", t.element);
|
|
7264
7264
|
});
|
|
7265
7265
|
}
|
package/components/{TournamentDetailsPage-DBFnctSf.cjs → TournamentDetailsPage-BYR2IdA-.cjs}
RENAMED
|
@@ -37,7 +37,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
37
37
|
( ${t("typeOfSelection")}: ${_[((ie=(ne=r.combination.multiple.betBuilder)==null?void 0:ne.mode)==null?void 0:ie.toString())||"unspecific"]},
|
|
38
38
|
${t("numberOfSelection")}:
|
|
39
39
|
${((S=f.multiple.minSelection)==null?void 0:S.number)||t("unlimited")} - ${((y=f.multiple.maxSelection)==null?void 0:y.number)||t("unlimited")},
|
|
40
|
-
${g} ) `),A&&M?d.push(h+t("and")+x):A?d.push(x):M&&d.push(h),n.push(d.join(", "));const G=r.config.minTotalOdds?`: ${r.config.minTotalOdds}`:i,I=r.config.maxTotalOdds?`: ${r.config.maxTotalOdds}`:i;return n.push(`${t("sportsRuleMinMaxOdds",{values:{sportMinOdds:G,sportMaxOdds:I}})}`),n}}const Vf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.1142%2013.4315C10.4965%2013.4315%2010.8065%2013.7415%2010.8065%2014.1238C10.8065%2014.353%2011.001%2014.7342%2011.708%2015.0993C12.3797%2015.4461%2013.3557%2015.6812%2014.4718%2015.6812C15.5879%2015.6812%2016.5642%2015.4461%2017.2361%2015.0993C17.9435%2014.7342%2018.138%2014.3528%2018.138%2014.1238C18.138%2013.7415%2018.448%2013.4315%2018.8303%2013.4315C19.2126%2013.4315%2019.5226%2013.7415%2019.5226%2014.1238C19.5226%2015.1368%2018.7414%2015.8804%2017.8712%2016.3296C16.9656%2016.7971%2015.7626%2017.0658%2014.4718%2017.0658C13.181%2017.0658%2011.9782%2016.7971%2011.0728%2016.3296C10.2027%2015.8803%209.42185%2015.1367%209.42185%2014.1238C9.42185%2013.7415%209.73182%2013.4315%2010.1142%2013.4315Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.78606%209.1839C4.16841%209.1839%204.47836%209.49386%204.47836%209.8762C4.47836%2010.1058%204.67303%2010.487%205.38022%2010.852C6.05207%2011.1988%207.02836%2011.4337%208.14459%2011.4337C8.52693%2011.4337%208.83689%2011.7436%208.83689%2012.126C8.83689%2012.5083%208.52693%2012.8183%208.14459%2012.8183C6.85387%2012.8183%205.65089%2012.5498%204.74522%2012.0824C3.87488%2011.6333%203.09375%2010.8896%203.09375%209.8762C3.09375%209.49386%203.40371%209.1839%203.78606%209.1839Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.78606%205.25C4.16841%205.25%204.47836%205.55996%204.47836%205.94231V13.8114C4.47836%2014.041%204.67303%2014.4222%205.38022%2014.7872C6.05207%2015.1339%207.02836%2015.3689%208.14459%2015.3689C8.52693%2015.3689%208.83689%2015.6788%208.83689%2016.0612C8.83689%2016.4436%208.52693%2016.7535%208.14459%2016.7535C6.85387%2016.7535%205.65089%2016.485%204.74522%2016.0177C3.87488%2015.5685%203.09375%2014.8249%203.09375%2013.8114V5.94231C3.09375%205.55996%203.40371%205.25%203.78606%205.25Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.38029%204.96658C4.67291%205.33175%204.47836%205.71303%204.47836%205.94207C4.47836%206.17164%204.67303%206.5529%205.38022%206.91786C6.05207%207.2646%207.02836%207.49953%208.14459%207.49953C8.52693%207.49953%208.83689%207.80949%208.83689%208.19184C8.83689%208.57418%208.52693%208.88414%208.14459%208.88414C6.85387%208.88414%205.65089%208.61569%204.74522%208.14829C3.87488%207.69912%203.09375%206.95549%203.09375%205.94207C3.09375%204.92903%203.87499%204.18542%204.74515%203.73624C5.65079%203.26872%206.85377%203%208.14459%203C9.43542%203%2010.6384%203.26872%2011.544%203.73624C12.4142%204.18542%2013.1954%204.92903%2013.1954%205.94207C13.1954%206.32442%2012.8854%206.63438%2012.5031%206.63438C12.1207%206.63438%2011.8108%206.32442%2011.8108%205.94207C11.8108%205.71303%2011.6163%205.33175%2010.9089%204.96658C10.237%204.61973%209.26068%204.38462%208.14459%204.38462C7.02847%204.38462%206.05218%204.61973%205.38029%204.96658Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.1142%209.49759C10.4965%209.49759%2010.8065%209.80755%2010.8065%2010.1899V18.0591C10.8065%2018.2887%2011.0011%2018.67%2011.7079%2019.0349C12.3796%2019.3816%2013.3556%2019.6165%2014.4718%2019.6165C15.588%2019.6165%2016.5643%2019.3816%2017.2362%2019.0349C17.9433%2018.6699%2018.138%2018.2886%2018.138%2018.0591V10.1899C18.138%209.80755%2018.448%209.49759%2018.8303%209.49759C19.2126%209.49759%2019.5226%209.80755%2019.5226%2010.1899V18.0591C19.5226%2019.0724%2018.7415%2019.8161%2017.8711%2020.2652C16.9655%2020.7327%2015.7626%2021.0011%2014.4718%2021.0011C13.1811%2021.0011%2011.9783%2020.7327%2011.0729%2020.2652C10.2026%2019.816%209.42185%2019.0723%209.42185%2018.0591V10.1899C9.42185%209.80755%209.73182%209.49759%2010.1142%209.49759Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.708%209.21414C11.001%209.57923%2010.8065%209.96048%2010.8065%2010.1897C10.8065%2010.4189%2011.001%2010.8001%2011.708%2011.1652C12.3797%2011.512%2013.3557%2011.7472%2014.4718%2011.7472C15.5879%2011.7472%2016.5642%2011.512%2017.2361%2011.1652C17.9435%2010.8%2018.138%2010.4187%2018.138%2010.1897C18.138%209.96063%2017.9435%209.57934%2017.2361%209.21418C16.5642%208.86733%2015.5879%208.63221%2014.4718%208.63221C13.3557%208.63221%2012.3797%208.86733%2011.708%209.21414ZM11.0728%207.98387C11.9782%207.51632%2013.181%207.24759%2014.4718%207.24759C15.7626%207.24759%2016.9656%207.51632%2017.8712%207.98383C18.7414%208.43303%2019.5226%209.17662%2019.5226%2010.1897C19.5226%2011.2027%2018.7414%2011.9463%2017.8712%2012.3955C16.9656%2012.863%2015.7626%2013.1318%2014.4718%2013.1318C13.181%2013.1318%2011.9782%2012.863%2011.0728%2012.3954C10.2027%2011.9462%209.42185%2011.2026%209.42185%2010.1897C9.42185%209.17677%2010.2027%208.43314%2011.0728%207.98387Z'%20fill='%23999999'/%3e%3c/svg%3e",Yf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%202C17.5228%202%2022%206.47715%2022%2012C22%2017.5228%2017.5228%2022%2012%2022C6.47715%2022%202%2017.5228%202%2012C2%206.47715%206.47715%202%2012%202ZM15.5361%2013.9111C14.7377%2014.2225%2013.47%2014.4267%2012.042%2014.4268C10.6135%2014.4268%209.34534%2014.2226%208.54688%2013.9111C7.99508%2014.1264%207.66726%2014.3932%207.66699%2014.6836C7.66713%2015.3942%209.62583%2015.9707%2012.042%2015.9707C14.4579%2015.9706%2016.4169%2015.3942%2016.417%2014.6836C16.4167%2014.3932%2016.0882%2014.1264%2015.5361%2013.9111ZM15.5361%2011.3389C14.7377%2011.6501%2013.4698%2011.8535%2012.042%2011.8535C10.6137%2011.8535%209.34537%2011.6503%208.54688%2011.3389C7.99513%2011.5542%207.66699%2011.8199%207.66699%2012.1104C7.66784%2012.8208%209.62627%2013.3975%2012.042%2013.3975C14.4575%2013.3974%2016.4161%2012.8208%2016.417%2012.1104C16.417%2011.8199%2016.0881%2011.5542%2015.5361%2011.3389ZM12.042%208.25C9.62575%208.25%207.66699%208.82645%207.66699%209.53711C7.66763%2010.2476%209.62614%2010.8232%2012.042%2010.8232C14.4576%2010.8232%2016.4164%2010.2476%2016.417%209.53711C16.417%208.8265%2014.458%208.25008%2012.042%208.25Z'%20fill='%23999999'/%3e%3c/svg%3e",zf="data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.3098%207.23828L5.84025%202.76374L1.3727%207.23828L0%205.8605L5.84025%200.000186443L11.6825%205.8605L10.3098%207.23828Z'%20fill='white'/%3e%3c/svg%3e",Zf="data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.37278%200L5.84236%204.47454L10.3099%200L11.6826%201.37778L5.84236%207.23809L7.72476e-05%201.37778L1.37278%200Z'%20fill='white'/%3e%3c/svg%3e",Xf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.55556%204C6.32986%204%205.33333%204.96094%205.33333%206.14286V13.6429C5.33333%2014.8248%206.32986%2015.7857%207.55556%2015.7857H19.7778C21.0035%2015.7857%2022%2014.8248%2022%2013.6429V6.14286C22%204.96094%2021.0035%204%2019.7778%204H7.55556ZM13.6667%207.21429C15.2014%207.21429%2016.4444%208.41295%2016.4444%209.89286C16.4444%2011.3728%2015.2014%2012.5714%2013.6667%2012.5714C12.1319%2012.5714%2010.8889%2011.3728%2010.8889%209.89286C10.8889%208.41295%2012.1319%207.21429%2013.6667%207.21429ZM7.55556%208.01786V6.41071C7.55556%206.26339%207.68056%206.14286%207.83333%206.14286H9.5C9.65278%206.14286%209.78125%206.26339%209.76042%206.41071C9.63542%207.3817%208.83681%208.14844%207.83333%208.26897C7.68056%208.28571%207.55556%208.16518%207.55556%208.01786ZM7.55556%2011.7679C7.55556%2011.6205%207.68056%2011.4967%207.83333%2011.5167C8.84028%2011.6373%209.63542%2012.4074%209.76042%2013.375C9.77778%2013.5223%209.65278%2013.6429%209.5%2013.6429H7.83333C7.68056%2013.6429%207.55556%2013.5223%207.55556%2013.375V11.7679ZM19.5%208.26897C18.4931%208.14844%2017.6979%207.37835%2017.5729%206.41071C17.5556%206.26339%2017.6806%206.14286%2017.8333%206.14286H19.5C19.6528%206.14286%2019.7778%206.26339%2019.7778%206.41071V8.01786C19.7778%208.16518%2019.6528%208.28906%2019.5%208.26897ZM19.7778%2011.7679V13.375C19.7778%2013.5223%2019.6528%2013.6429%2019.5%2013.6429H17.8333C17.6806%2013.6429%2017.5521%2013.5223%2017.5729%2013.375C17.6979%2012.404%2018.4965%2011.6373%2019.5%2011.5167C19.6528%2011.5%2019.7778%2011.6205%2019.7778%2011.7679ZM3.66667%208.01786C3.66667%207.57254%203.29514%207.21429%202.83333%207.21429C2.37153%207.21429%202%207.57254%202%208.01786V16.8571C2%2018.0391%202.99653%2019%204.22222%2019H17.8333C18.2951%2019%2018.6667%2018.6417%2018.6667%2018.1964C18.6667%2017.7511%2018.2951%2017.3929%2017.8333%2017.3929H4.22222C3.91667%2017.3929%203.66667%2017.1518%203.66667%2016.8571V8.01786Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e",Wf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%208.16216V8.23516C22%209.09516%2022%209.52616%2021.793%209.87816C21.586%2010.2302%2021.209%2010.4392%2020.457%2010.8582L19.664%2011.2982C20.21%209.45016%2020.393%207.46416%2020.46%205.76616L20.47%205.54516L20.472%205.49316C21.123%205.71916%2021.489%205.88816%2021.717%206.20416C22%206.59716%2022%207.11916%2022%208.16216ZM2%208.16216V8.23516C2%209.09516%202%209.52616%202.207%209.87816C2.414%2010.2302%202.791%2010.4392%203.543%2010.8582L4.337%2011.2982C3.79%209.45016%203.607%207.46416%203.54%205.76616L3.53%205.54516L3.529%205.49316C2.877%205.71916%202.511%205.88816%202.283%206.20416C2%206.59716%202%207.12016%202%208.16216Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.3774%202.34723C14.9305%202.11022%2013.4665%201.99415%2012.0004%202.00023C10.2174%202.00023%208.74737%202.15723%207.62337%202.34723C6.48437%202.53923%205.91537%202.63523%205.43937%203.22123C4.96437%203.80723%204.98937%204.44023%205.03937%205.70623C5.21237%2010.0542%206.15037%2015.4862%2011.2504%2015.9662V19.5002H9.82037C9.58928%2019.5004%209.36537%2019.5805%209.18671%2019.7271C9.00805%2019.8737%208.88567%2020.0776%208.84037%2020.3042L8.65037%2021.2502H6.00037C5.80146%2021.2502%205.61069%2021.3292%205.47004%2021.4699C5.32939%2021.6105%205.25037%2021.8013%205.25037%2022.0002C5.25037%2022.1991%205.32939%2022.3899%205.47004%2022.5306C5.61069%2022.6712%205.80146%2022.7502%206.00037%2022.7502H18.0004C18.1993%2022.7502%2018.3901%2022.6712%2018.5307%2022.5306C18.6714%2022.3899%2018.7504%2022.1991%2018.7504%2022.0002C18.7504%2021.8013%2018.6714%2021.6105%2018.5307%2021.4699C18.3901%2021.3292%2018.1993%2021.2502%2018.0004%2021.2502H15.3504L15.1604%2020.3042C15.1151%2020.0776%2014.9927%2019.8737%2014.814%2019.7271C14.6354%2019.5805%2014.4115%2019.5004%2014.1804%2019.5002H12.7504V15.9662C17.8504%2015.4862%2018.7894%2010.0552%2018.9614%205.70623C19.0114%204.44023%2019.0374%203.80623%2018.5614%203.22123C18.0854%202.63523%2017.5164%202.53923%2016.3774%202.34723ZM12.7874%205.80723C12.9244%205.864%2013.0416%205.96014%2013.124%206.08349C13.2064%206.20685%2013.2504%206.35187%2013.2504%206.50023V10.5002C13.2504%2010.6991%2013.1714%2010.8899%2013.0307%2011.0306C12.89%2011.1712%2012.6993%2011.2502%2012.5004%2011.2502C12.3015%2011.2502%2012.1107%2011.1712%2011.97%2011.0306C11.8294%2010.8899%2011.7504%2010.6991%2011.7504%2010.5002V8.31023L11.5304%208.53023C11.4617%208.60391%2011.3789%208.66302%2011.2869%208.70401C11.1949%208.745%2011.0956%208.76704%2010.9949%208.76882C10.8942%208.7706%2010.7942%208.75207%2010.7008%208.71435C10.6074%208.67663%2010.5226%208.62048%2010.4513%208.54926C10.3801%208.47805%2010.324%208.39321%2010.2862%208.29982C10.2485%208.20644%2010.23%208.10641%2010.2318%208.0057C10.2336%207.905%2010.2556%207.80569%2010.2966%207.71369C10.3376%207.62169%2010.3967%207.53889%2010.4704%207.47023L11.9704%205.97023C12.0752%205.86533%2012.2087%205.79387%2012.3542%205.76485C12.4996%205.73584%2012.6503%205.75059%2012.7874%205.80723Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e",qf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.3226%202.25641C14.3226%202.18841%2014.2954%202.12319%2014.247%202.0751C14.1986%202.02701%2014.133%202%2014.0645%202H6.83871C6.08584%202%205.3638%202.29716%204.83144%202.82611C4.29908%203.35506%204%204.07247%204%204.82051V19.1795C4%2019.9275%204.29908%2020.6449%204.83144%2021.1739C5.3638%2021.7028%206.08584%2022%206.83871%2022H17.1613C17.9142%2022%2018.6362%2021.7028%2019.1686%2021.1739C19.7009%2020.6449%2020%2019.9275%2020%2019.1795V9.07385C20%209.00584%2019.9728%208.94062%2019.9244%208.89254C19.876%208.84445%2019.8104%208.81744%2019.7419%208.81744H15.0968C14.8914%208.81744%2014.6945%208.73639%2014.5493%208.59213C14.4041%208.44787%2014.3226%208.25222%2014.3226%208.04821V2.25641ZM15.0968%2012.2564C15.3021%2012.2564%2015.499%2012.3375%2015.6442%2012.4817C15.7894%2012.626%2015.871%2012.8216%2015.871%2013.0256C15.871%2013.2297%2015.7894%2013.4253%2015.6442%2013.5696C15.499%2013.7138%2015.3021%2013.7949%2015.0968%2013.7949H8.90323C8.6979%2013.7949%208.50098%2013.7138%208.35579%2013.5696C8.2106%2013.4253%208.12903%2013.2297%208.12903%2013.0256C8.12903%2012.8216%208.2106%2012.626%208.35579%2012.4817C8.50098%2012.3375%208.6979%2012.2564%208.90323%2012.2564H15.0968ZM15.0968%2016.359C15.3021%2016.359%2015.499%2016.44%2015.6442%2016.5843C15.7894%2016.7285%2015.871%2016.9242%2015.871%2017.1282C15.871%2017.3322%2015.7894%2017.5279%2015.6442%2017.6721C15.499%2017.8164%2015.3021%2017.8974%2015.0968%2017.8974H8.90323C8.6979%2017.8974%208.50098%2017.8164%208.35579%2017.6721C8.2106%2017.5279%208.12903%2017.3322%208.12903%2017.1282C8.12903%2016.9242%208.2106%2016.7285%208.35579%2016.5843C8.50098%2016.44%208.6979%2016.359%208.90323%2016.359H15.0968Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20d='M15.75%202.82396C15.75%202.63996%2015.943%202.52296%2016.086%202.63796C16.2073%202.73596%2016.315%202.84996%2016.409%202.97996L19.422%207.17696C19.49%207.27296%2019.416%207.39696%2019.298%207.39696H16C15.9337%207.39696%2015.8701%207.37062%2015.8232%207.32373C15.7763%207.27685%2015.75%207.21326%2015.75%207.14696V2.82396Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e",Jf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.8421%2015.8636L17.5516%2017.4L16.8411%2018.5091L13.4211%2016.5455V12H14.8421V15.8636ZM21%2015.6364C21%2019.1545%2018.0347%2022%2014.3684%2022C12.5589%2022%2010.9295%2021.3091%209.73579%2020.1818H4.89474C3.84316%2020.1818%203%2019.3727%203%2018.3636V3.81818C3%203.33597%203.19962%202.87351%203.55496%202.53253C3.91029%202.19156%204.39222%202%204.89474%202H5.84211V8.36364L8.21053%207L10.5789%208.36364V2H16.2632C16.7657%202%2017.2476%202.19156%2017.6029%202.53253C17.9583%202.87351%2018.1579%203.33597%2018.1579%203.81818V10.4182C19.8726%2011.5727%2021%2013.4727%2021%2015.6364ZM19.1053%2015.6364C19.1053%2013.1273%2016.9832%2011.0909%2014.3684%2011.0909C11.7537%2011.0909%209.63158%2013.1273%209.63158%2015.6364C9.63158%2018.1455%2011.7537%2020.1818%2014.3684%2020.1818C16.9832%2020.1818%2019.1053%2018.1455%2019.1053%2015.6364Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e";if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./TournamentLeaderboard-Q44uv2lQ.cjs")).then(({default:t})=>{!customElements.get("tournament-leaderboard")&&customElements.define("tournament-leaderboard",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./TournamentDetails--114uLDg.cjs")).then(({default:t})=>{!customElements.get("tournament-details")&&customElements.define("tournament-details",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./TournamentGames--p8n0yMO.cjs")).then(({default:t})=>{!customElements.get("tournament-games")&&customElements.define("tournament-games",t.element)})}var Qf=wt('<span class="Spinner svelte-gxy8gu"></span>'),Kf=wt("<button><!></button>"),e2=wt('<div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!>: <span class="RuleContent svelte-gxy8gu"> </span></div></div>'),t2=wt('<li class="RuleTxt svelte-gxy8gu"> </li>'),r2=wt('<div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!>: <ul class="SportsRules svelte-gxy8gu"></ul></div></div>'),n2=wt('<div class="TournamemntRulesContent svelte-gxy8gu"><div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="svelte-gxy8gu"><!> <!> <!> <!> <!> <!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <!> <!></div>'),i2=wt('<div class="DetailsWrapper svelte-gxy8gu"><tournament-details></tournament-details> <!></div> <div class="LeaderboardWrapper svelte-gxy8gu"><tournament-leaderboard></tournament-leaderboard></div> <div class="TournamentRulesWrapper svelte-gxy8gu"><button class="TournamentRulesHeader svelte-gxy8gu"><span class="TournamemntRulesTitle svelte-gxy8gu"> </span> <img alt="Icon" class="Icon svelte-gxy8gu"/></button> <!></div> <div class="GamesWrapper svelte-gxy8gu"><tournament-games></tournament-games></div>',3),s2=wt('<div class="SkeletonWrapper svelte-gxy8gu"><div class="Skeleton Details svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Leaderboard svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Rules svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Games svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div></div>'),o2=wt('<div class="TournamentDetailsPageWrapper svelte-gxy8gu"><!> <!></div>');const a2={hash:"svelte-gxy8gu",code:`.svelte-gxy8gu,
|
|
40
|
+
${g} ) `),A&&M?d.push(h+t("and")+x):A?d.push(x):M&&d.push(h),n.push(d.join(", "));const G=r.config.minTotalOdds?`: ${r.config.minTotalOdds}`:i,I=r.config.maxTotalOdds?`: ${r.config.maxTotalOdds}`:i;return n.push(`${t("sportsRuleMinMaxOdds",{values:{sportMinOdds:G,sportMaxOdds:I}})}`),n}}const Vf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.1142%2013.4315C10.4965%2013.4315%2010.8065%2013.7415%2010.8065%2014.1238C10.8065%2014.353%2011.001%2014.7342%2011.708%2015.0993C12.3797%2015.4461%2013.3557%2015.6812%2014.4718%2015.6812C15.5879%2015.6812%2016.5642%2015.4461%2017.2361%2015.0993C17.9435%2014.7342%2018.138%2014.3528%2018.138%2014.1238C18.138%2013.7415%2018.448%2013.4315%2018.8303%2013.4315C19.2126%2013.4315%2019.5226%2013.7415%2019.5226%2014.1238C19.5226%2015.1368%2018.7414%2015.8804%2017.8712%2016.3296C16.9656%2016.7971%2015.7626%2017.0658%2014.4718%2017.0658C13.181%2017.0658%2011.9782%2016.7971%2011.0728%2016.3296C10.2027%2015.8803%209.42185%2015.1367%209.42185%2014.1238C9.42185%2013.7415%209.73182%2013.4315%2010.1142%2013.4315Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.78606%209.1839C4.16841%209.1839%204.47836%209.49386%204.47836%209.8762C4.47836%2010.1058%204.67303%2010.487%205.38022%2010.852C6.05207%2011.1988%207.02836%2011.4337%208.14459%2011.4337C8.52693%2011.4337%208.83689%2011.7436%208.83689%2012.126C8.83689%2012.5083%208.52693%2012.8183%208.14459%2012.8183C6.85387%2012.8183%205.65089%2012.5498%204.74522%2012.0824C3.87488%2011.6333%203.09375%2010.8896%203.09375%209.8762C3.09375%209.49386%203.40371%209.1839%203.78606%209.1839Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.78606%205.25C4.16841%205.25%204.47836%205.55996%204.47836%205.94231V13.8114C4.47836%2014.041%204.67303%2014.4222%205.38022%2014.7872C6.05207%2015.1339%207.02836%2015.3689%208.14459%2015.3689C8.52693%2015.3689%208.83689%2015.6788%208.83689%2016.0612C8.83689%2016.4436%208.52693%2016.7535%208.14459%2016.7535C6.85387%2016.7535%205.65089%2016.485%204.74522%2016.0177C3.87488%2015.5685%203.09375%2014.8249%203.09375%2013.8114V5.94231C3.09375%205.55996%203.40371%205.25%203.78606%205.25Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.38029%204.96658C4.67291%205.33175%204.47836%205.71303%204.47836%205.94207C4.47836%206.17164%204.67303%206.5529%205.38022%206.91786C6.05207%207.2646%207.02836%207.49953%208.14459%207.49953C8.52693%207.49953%208.83689%207.80949%208.83689%208.19184C8.83689%208.57418%208.52693%208.88414%208.14459%208.88414C6.85387%208.88414%205.65089%208.61569%204.74522%208.14829C3.87488%207.69912%203.09375%206.95549%203.09375%205.94207C3.09375%204.92903%203.87499%204.18542%204.74515%203.73624C5.65079%203.26872%206.85377%203%208.14459%203C9.43542%203%2010.6384%203.26872%2011.544%203.73624C12.4142%204.18542%2013.1954%204.92903%2013.1954%205.94207C13.1954%206.32442%2012.8854%206.63438%2012.5031%206.63438C12.1207%206.63438%2011.8108%206.32442%2011.8108%205.94207C11.8108%205.71303%2011.6163%205.33175%2010.9089%204.96658C10.237%204.61973%209.26068%204.38462%208.14459%204.38462C7.02847%204.38462%206.05218%204.61973%205.38029%204.96658Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.1142%209.49759C10.4965%209.49759%2010.8065%209.80755%2010.8065%2010.1899V18.0591C10.8065%2018.2887%2011.0011%2018.67%2011.7079%2019.0349C12.3796%2019.3816%2013.3556%2019.6165%2014.4718%2019.6165C15.588%2019.6165%2016.5643%2019.3816%2017.2362%2019.0349C17.9433%2018.6699%2018.138%2018.2886%2018.138%2018.0591V10.1899C18.138%209.80755%2018.448%209.49759%2018.8303%209.49759C19.2126%209.49759%2019.5226%209.80755%2019.5226%2010.1899V18.0591C19.5226%2019.0724%2018.7415%2019.8161%2017.8711%2020.2652C16.9655%2020.7327%2015.7626%2021.0011%2014.4718%2021.0011C13.1811%2021.0011%2011.9783%2020.7327%2011.0729%2020.2652C10.2026%2019.816%209.42185%2019.0723%209.42185%2018.0591V10.1899C9.42185%209.80755%209.73182%209.49759%2010.1142%209.49759Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.708%209.21414C11.001%209.57923%2010.8065%209.96048%2010.8065%2010.1897C10.8065%2010.4189%2011.001%2010.8001%2011.708%2011.1652C12.3797%2011.512%2013.3557%2011.7472%2014.4718%2011.7472C15.5879%2011.7472%2016.5642%2011.512%2017.2361%2011.1652C17.9435%2010.8%2018.138%2010.4187%2018.138%2010.1897C18.138%209.96063%2017.9435%209.57934%2017.2361%209.21418C16.5642%208.86733%2015.5879%208.63221%2014.4718%208.63221C13.3557%208.63221%2012.3797%208.86733%2011.708%209.21414ZM11.0728%207.98387C11.9782%207.51632%2013.181%207.24759%2014.4718%207.24759C15.7626%207.24759%2016.9656%207.51632%2017.8712%207.98383C18.7414%208.43303%2019.5226%209.17662%2019.5226%2010.1897C19.5226%2011.2027%2018.7414%2011.9463%2017.8712%2012.3955C16.9656%2012.863%2015.7626%2013.1318%2014.4718%2013.1318C13.181%2013.1318%2011.9782%2012.863%2011.0728%2012.3954C10.2027%2011.9462%209.42185%2011.2026%209.42185%2010.1897C9.42185%209.17677%2010.2027%208.43314%2011.0728%207.98387Z'%20fill='%23999999'/%3e%3c/svg%3e",Yf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%202C17.5228%202%2022%206.47715%2022%2012C22%2017.5228%2017.5228%2022%2012%2022C6.47715%2022%202%2017.5228%202%2012C2%206.47715%206.47715%202%2012%202ZM15.5361%2013.9111C14.7377%2014.2225%2013.47%2014.4267%2012.042%2014.4268C10.6135%2014.4268%209.34534%2014.2226%208.54688%2013.9111C7.99508%2014.1264%207.66726%2014.3932%207.66699%2014.6836C7.66713%2015.3942%209.62583%2015.9707%2012.042%2015.9707C14.4579%2015.9706%2016.4169%2015.3942%2016.417%2014.6836C16.4167%2014.3932%2016.0882%2014.1264%2015.5361%2013.9111ZM15.5361%2011.3389C14.7377%2011.6501%2013.4698%2011.8535%2012.042%2011.8535C10.6137%2011.8535%209.34537%2011.6503%208.54688%2011.3389C7.99513%2011.5542%207.66699%2011.8199%207.66699%2012.1104C7.66784%2012.8208%209.62627%2013.3975%2012.042%2013.3975C14.4575%2013.3974%2016.4161%2012.8208%2016.417%2012.1104C16.417%2011.8199%2016.0881%2011.5542%2015.5361%2011.3389ZM12.042%208.25C9.62575%208.25%207.66699%208.82645%207.66699%209.53711C7.66763%2010.2476%209.62614%2010.8232%2012.042%2010.8232C14.4576%2010.8232%2016.4164%2010.2476%2016.417%209.53711C16.417%208.8265%2014.458%208.25008%2012.042%208.25Z'%20fill='%23999999'/%3e%3c/svg%3e",zf="data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.3098%207.23828L5.84025%202.76374L1.3727%207.23828L0%205.8605L5.84025%200.000186443L11.6825%205.8605L10.3098%207.23828Z'%20fill='white'/%3e%3c/svg%3e",Zf="data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.37278%200L5.84236%204.47454L10.3099%200L11.6826%201.37778L5.84236%207.23809L7.72476e-05%201.37778L1.37278%200Z'%20fill='white'/%3e%3c/svg%3e",Xf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.55556%204C6.32986%204%205.33333%204.96094%205.33333%206.14286V13.6429C5.33333%2014.8248%206.32986%2015.7857%207.55556%2015.7857H19.7778C21.0035%2015.7857%2022%2014.8248%2022%2013.6429V6.14286C22%204.96094%2021.0035%204%2019.7778%204H7.55556ZM13.6667%207.21429C15.2014%207.21429%2016.4444%208.41295%2016.4444%209.89286C16.4444%2011.3728%2015.2014%2012.5714%2013.6667%2012.5714C12.1319%2012.5714%2010.8889%2011.3728%2010.8889%209.89286C10.8889%208.41295%2012.1319%207.21429%2013.6667%207.21429ZM7.55556%208.01786V6.41071C7.55556%206.26339%207.68056%206.14286%207.83333%206.14286H9.5C9.65278%206.14286%209.78125%206.26339%209.76042%206.41071C9.63542%207.3817%208.83681%208.14844%207.83333%208.26897C7.68056%208.28571%207.55556%208.16518%207.55556%208.01786ZM7.55556%2011.7679C7.55556%2011.6205%207.68056%2011.4967%207.83333%2011.5167C8.84028%2011.6373%209.63542%2012.4074%209.76042%2013.375C9.77778%2013.5223%209.65278%2013.6429%209.5%2013.6429H7.83333C7.68056%2013.6429%207.55556%2013.5223%207.55556%2013.375V11.7679ZM19.5%208.26897C18.4931%208.14844%2017.6979%207.37835%2017.5729%206.41071C17.5556%206.26339%2017.6806%206.14286%2017.8333%206.14286H19.5C19.6528%206.14286%2019.7778%206.26339%2019.7778%206.41071V8.01786C19.7778%208.16518%2019.6528%208.28906%2019.5%208.26897ZM19.7778%2011.7679V13.375C19.7778%2013.5223%2019.6528%2013.6429%2019.5%2013.6429H17.8333C17.6806%2013.6429%2017.5521%2013.5223%2017.5729%2013.375C17.6979%2012.404%2018.4965%2011.6373%2019.5%2011.5167C19.6528%2011.5%2019.7778%2011.6205%2019.7778%2011.7679ZM3.66667%208.01786C3.66667%207.57254%203.29514%207.21429%202.83333%207.21429C2.37153%207.21429%202%207.57254%202%208.01786V16.8571C2%2018.0391%202.99653%2019%204.22222%2019H17.8333C18.2951%2019%2018.6667%2018.6417%2018.6667%2018.1964C18.6667%2017.7511%2018.2951%2017.3929%2017.8333%2017.3929H4.22222C3.91667%2017.3929%203.66667%2017.1518%203.66667%2016.8571V8.01786Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e",Wf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%208.16216V8.23516C22%209.09516%2022%209.52616%2021.793%209.87816C21.586%2010.2302%2021.209%2010.4392%2020.457%2010.8582L19.664%2011.2982C20.21%209.45016%2020.393%207.46416%2020.46%205.76616L20.47%205.54516L20.472%205.49316C21.123%205.71916%2021.489%205.88816%2021.717%206.20416C22%206.59716%2022%207.11916%2022%208.16216ZM2%208.16216V8.23516C2%209.09516%202%209.52616%202.207%209.87816C2.414%2010.2302%202.791%2010.4392%203.543%2010.8582L4.337%2011.2982C3.79%209.45016%203.607%207.46416%203.54%205.76616L3.53%205.54516L3.529%205.49316C2.877%205.71916%202.511%205.88816%202.283%206.20416C2%206.59716%202%207.12016%202%208.16216Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.3774%202.34723C14.9305%202.11022%2013.4665%201.99415%2012.0004%202.00023C10.2174%202.00023%208.74737%202.15723%207.62337%202.34723C6.48437%202.53923%205.91537%202.63523%205.43937%203.22123C4.96437%203.80723%204.98937%204.44023%205.03937%205.70623C5.21237%2010.0542%206.15037%2015.4862%2011.2504%2015.9662V19.5002H9.82037C9.58928%2019.5004%209.36537%2019.5805%209.18671%2019.7271C9.00805%2019.8737%208.88567%2020.0776%208.84037%2020.3042L8.65037%2021.2502H6.00037C5.80146%2021.2502%205.61069%2021.3292%205.47004%2021.4699C5.32939%2021.6105%205.25037%2021.8013%205.25037%2022.0002C5.25037%2022.1991%205.32939%2022.3899%205.47004%2022.5306C5.61069%2022.6712%205.80146%2022.7502%206.00037%2022.7502H18.0004C18.1993%2022.7502%2018.3901%2022.6712%2018.5307%2022.5306C18.6714%2022.3899%2018.7504%2022.1991%2018.7504%2022.0002C18.7504%2021.8013%2018.6714%2021.6105%2018.5307%2021.4699C18.3901%2021.3292%2018.1993%2021.2502%2018.0004%2021.2502H15.3504L15.1604%2020.3042C15.1151%2020.0776%2014.9927%2019.8737%2014.814%2019.7271C14.6354%2019.5805%2014.4115%2019.5004%2014.1804%2019.5002H12.7504V15.9662C17.8504%2015.4862%2018.7894%2010.0552%2018.9614%205.70623C19.0114%204.44023%2019.0374%203.80623%2018.5614%203.22123C18.0854%202.63523%2017.5164%202.53923%2016.3774%202.34723ZM12.7874%205.80723C12.9244%205.864%2013.0416%205.96014%2013.124%206.08349C13.2064%206.20685%2013.2504%206.35187%2013.2504%206.50023V10.5002C13.2504%2010.6991%2013.1714%2010.8899%2013.0307%2011.0306C12.89%2011.1712%2012.6993%2011.2502%2012.5004%2011.2502C12.3015%2011.2502%2012.1107%2011.1712%2011.97%2011.0306C11.8294%2010.8899%2011.7504%2010.6991%2011.7504%2010.5002V8.31023L11.5304%208.53023C11.4617%208.60391%2011.3789%208.66302%2011.2869%208.70401C11.1949%208.745%2011.0956%208.76704%2010.9949%208.76882C10.8942%208.7706%2010.7942%208.75207%2010.7008%208.71435C10.6074%208.67663%2010.5226%208.62048%2010.4513%208.54926C10.3801%208.47805%2010.324%208.39321%2010.2862%208.29982C10.2485%208.20644%2010.23%208.10641%2010.2318%208.0057C10.2336%207.905%2010.2556%207.80569%2010.2966%207.71369C10.3376%207.62169%2010.3967%207.53889%2010.4704%207.47023L11.9704%205.97023C12.0752%205.86533%2012.2087%205.79387%2012.3542%205.76485C12.4996%205.73584%2012.6503%205.75059%2012.7874%205.80723Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e",qf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.3226%202.25641C14.3226%202.18841%2014.2954%202.12319%2014.247%202.0751C14.1986%202.02701%2014.133%202%2014.0645%202H6.83871C6.08584%202%205.3638%202.29716%204.83144%202.82611C4.29908%203.35506%204%204.07247%204%204.82051V19.1795C4%2019.9275%204.29908%2020.6449%204.83144%2021.1739C5.3638%2021.7028%206.08584%2022%206.83871%2022H17.1613C17.9142%2022%2018.6362%2021.7028%2019.1686%2021.1739C19.7009%2020.6449%2020%2019.9275%2020%2019.1795V9.07385C20%209.00584%2019.9728%208.94062%2019.9244%208.89254C19.876%208.84445%2019.8104%208.81744%2019.7419%208.81744H15.0968C14.8914%208.81744%2014.6945%208.73639%2014.5493%208.59213C14.4041%208.44787%2014.3226%208.25222%2014.3226%208.04821V2.25641ZM15.0968%2012.2564C15.3021%2012.2564%2015.499%2012.3375%2015.6442%2012.4817C15.7894%2012.626%2015.871%2012.8216%2015.871%2013.0256C15.871%2013.2297%2015.7894%2013.4253%2015.6442%2013.5696C15.499%2013.7138%2015.3021%2013.7949%2015.0968%2013.7949H8.90323C8.6979%2013.7949%208.50098%2013.7138%208.35579%2013.5696C8.2106%2013.4253%208.12903%2013.2297%208.12903%2013.0256C8.12903%2012.8216%208.2106%2012.626%208.35579%2012.4817C8.50098%2012.3375%208.6979%2012.2564%208.90323%2012.2564H15.0968ZM15.0968%2016.359C15.3021%2016.359%2015.499%2016.44%2015.6442%2016.5843C15.7894%2016.7285%2015.871%2016.9242%2015.871%2017.1282C15.871%2017.3322%2015.7894%2017.5279%2015.6442%2017.6721C15.499%2017.8164%2015.3021%2017.8974%2015.0968%2017.8974H8.90323C8.6979%2017.8974%208.50098%2017.8164%208.35579%2017.6721C8.2106%2017.5279%208.12903%2017.3322%208.12903%2017.1282C8.12903%2016.9242%208.2106%2016.7285%208.35579%2016.5843C8.50098%2016.44%208.6979%2016.359%208.90323%2016.359H15.0968Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20d='M15.75%202.82396C15.75%202.63996%2015.943%202.52296%2016.086%202.63796C16.2073%202.73596%2016.315%202.84996%2016.409%202.97996L19.422%207.17696C19.49%207.27296%2019.416%207.39696%2019.298%207.39696H16C15.9337%207.39696%2015.8701%207.37062%2015.8232%207.32373C15.7763%207.27685%2015.75%207.21326%2015.75%207.14696V2.82396Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e",Jf="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.8421%2015.8636L17.5516%2017.4L16.8411%2018.5091L13.4211%2016.5455V12H14.8421V15.8636ZM21%2015.6364C21%2019.1545%2018.0347%2022%2014.3684%2022C12.5589%2022%2010.9295%2021.3091%209.73579%2020.1818H4.89474C3.84316%2020.1818%203%2019.3727%203%2018.3636V3.81818C3%203.33597%203.19962%202.87351%203.55496%202.53253C3.91029%202.19156%204.39222%202%204.89474%202H5.84211V8.36364L8.21053%207L10.5789%208.36364V2H16.2632C16.7657%202%2017.2476%202.19156%2017.6029%202.53253C17.9583%202.87351%2018.1579%203.33597%2018.1579%203.81818V10.4182C19.8726%2011.5727%2021%2013.4727%2021%2015.6364ZM19.1053%2015.6364C19.1053%2013.1273%2016.9832%2011.0909%2014.3684%2011.0909C11.7537%2011.0909%209.63158%2013.1273%209.63158%2015.6364C9.63158%2018.1455%2011.7537%2020.1818%2014.3684%2020.1818C16.9832%2020.1818%2019.1053%2018.1455%2019.1053%2015.6364Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e";if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./TournamentLeaderboard-B8qJzyj6.cjs")).then(({default:t})=>{!customElements.get("tournament-leaderboard")&&customElements.define("tournament-leaderboard",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./TournamentDetails-GqXuwNU6.cjs")).then(({default:t})=>{!customElements.get("tournament-details")&&customElements.define("tournament-details",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./TournamentGames-BbocsZ1Q.cjs")).then(({default:t})=>{!customElements.get("tournament-games")&&customElements.define("tournament-games",t.element)})}var Qf=wt('<span class="Spinner svelte-gxy8gu"></span>'),Kf=wt("<button><!></button>"),e2=wt('<div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!>: <span class="RuleContent svelte-gxy8gu"> </span></div></div>'),t2=wt('<li class="RuleTxt svelte-gxy8gu"> </li>'),r2=wt('<div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!>: <ul class="SportsRules svelte-gxy8gu"></ul></div></div>'),n2=wt('<div class="TournamemntRulesContent svelte-gxy8gu"><div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="svelte-gxy8gu"><!> <!> <!> <!> <!> <!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <!> <!></div>'),i2=wt('<div class="DetailsWrapper svelte-gxy8gu"><tournament-details></tournament-details> <!></div> <div class="LeaderboardWrapper svelte-gxy8gu"><tournament-leaderboard></tournament-leaderboard></div> <div class="TournamentRulesWrapper svelte-gxy8gu"><button class="TournamentRulesHeader svelte-gxy8gu"><span class="TournamemntRulesTitle svelte-gxy8gu"> </span> <img alt="Icon" class="Icon svelte-gxy8gu"/></button> <!></div> <div class="GamesWrapper svelte-gxy8gu"><tournament-games></tournament-games></div>',3),s2=wt('<div class="SkeletonWrapper svelte-gxy8gu"><div class="Skeleton Details svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Leaderboard svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Rules svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Games svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div></div>'),o2=wt('<div class="TournamentDetailsPageWrapper svelte-gxy8gu"><!> <!></div>');const a2={hash:"svelte-gxy8gu",code:`.svelte-gxy8gu,
|
|
41
41
|
.svelte-gxy8gu::before,
|
|
42
42
|
.svelte-gxy8gu::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}.SkeletonWrapper.svelte-gxy8gu {display:flex;flex-direction:column;justify-content:space-between;gap:10px;}.Skeleton.svelte-gxy8gu {width:100%;border-radius:6px;background-color:var(--emw-color-skeleton, #535353);overflow:hidden;position:relative;
|
|
43
43
|
animation: svelte-gxy8gu-pulse 1.5s infinite;&.Details {height:400px;}&.Leaderboard {height:500px;}&.Rules {height:150px;}&.Games {height:300px;}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Fe, $ as qe, j as Je, b as Ke, p as _, u as Xe, d as
|
|
1
|
+
import { a as Fe, $ as qe, j as Je, b as Ke, p as _, u as Xe, d as ve, y as L, L as Qe, P as Ve, k as x, i as B, t as S, l as y, G as N, r as a, e as p, f as Ye, w as Ze, x as $e, s as et, q as f, h as w, v as l, g, m as tt, n as at, A as s, D as Q, E as V, B as Y, C as Z, z as ie, N as de } from "./TournamentDetailsPage-6JD1drZz.js";
|
|
2
2
|
function fe(D, c) {
|
|
3
3
|
Fe(D, c);
|
|
4
4
|
}
|
|
@@ -27,7 +27,7 @@ const be = {
|
|
|
27
27
|
noAvailableGames: "Henüz oyun yapılandırılmamış!"
|
|
28
28
|
}
|
|
29
29
|
}, nt = () => typeof window > "u";
|
|
30
|
-
var ot = g('<div class="TournamentGamesTabs svelte-p7mf8l"><button> </button> <button> </button></div>'), rt = g('<p class="svelte-p7mf8l"> </p>'), st = g("<div></div>"), it = g('<div class="TournamentGameThumbnailSkeleton svelte-p7mf8l"></div>'), lt = g("<p> </p>"), pt = g('<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>'), mt = g('<span class="PaginationButton Elipsis svelte-p7mf8l">...</span>'), ct = g("<button> </button>"),
|
|
30
|
+
var ot = g('<div class="TournamentGamesTabs svelte-p7mf8l"><button> </button> <button> </button></div>'), rt = g('<p class="svelte-p7mf8l"> </p>'), st = g("<div></div>"), it = g('<div class="TournamentGameThumbnailSkeleton svelte-p7mf8l"></div>'), lt = g("<p> </p>"), pt = g('<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>'), mt = g('<span class="PaginationButton Elipsis svelte-p7mf8l">...</span>'), ct = g("<button> </button>"), ut = g('<div><button class="PaginationButton svelte-p7mf8l"> </button> <div class="PageNumberWrapper svelte-p7mf8l"></div> <button class="PaginationButton svelte-p7mf8l"> </button></div>'), vt = g('<div class="PaginationSkeleton svelte-p7mf8l"><div class="PaginationSkeletonButton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationSkeletonButton svelte-p7mf8l"></div></div>'), dt = g('<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>');
|
|
31
31
|
const ft = {
|
|
32
32
|
hash: "svelte-p7mf8l",
|
|
33
33
|
code: `.svelte-p7mf8l,
|
|
@@ -56,11 +56,14 @@ const ft = {
|
|
|
56
56
|
|
|
57
57
|
@media (min-width: 750px) {.TournamentGamesTabs.svelte-p7mf8l {width:fit-content;}.PaginationWrapper.svelte-p7mf8l, .PaginationSkeleton.svelte-p7mf8l {justify-content:end;gap:10px;}.PaginationButton.svelte-p7mf8l {min-width:75px;}.PaginationSkeleton.svelte-p7mf8l {justify-content:end;gap:10px;.PaginationSkeletonButton:where(.svelte-p7mf8l) {width:auto;min-width:55px;}.PaginationNumberSkeleton:where(.svelte-p7mf8l) {width:35px;}}
|
|
58
58
|
|
|
59
|
-
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media (max-width: 475px) {.TournamentGamesContainer.svelte-p7mf8l {gap:5px;grid-template-columns:repeat(auto-fill, minmax(min(150px, 100%), 1fr));}
|
|
62
|
+
}.Hidden.svelte-p7mf8l {display:none;}`
|
|
60
63
|
};
|
|
61
64
|
function gt(D, c) {
|
|
62
65
|
Je(c, !0), Ke(D, ft);
|
|
63
|
-
const b = () => Ze($e, "$_", he), [he, _e] = et(), R = _(c, "initialGames"), $ = _(c, "endpoint"), j = _(c, "language", 7, "en"), W = _(c, "session"), z = _(c, "tournamentid"),
|
|
66
|
+
const b = () => Ze($e, "$_", he), [he, _e] = et(), R = _(c, "initialGames"), $ = _(c, "endpoint"), j = _(c, "language", 7, "en"), W = _(c, "session"), z = _(c, "tournamentid"), u = _(c, "gamesLimit", 7, 6), M = _(c, "totalGames"), ee = _(c, "platformProp", 7, null), E = _(c, "tournamentMetadata"), C = _(c, "translationurl"), xe = () => {
|
|
64
67
|
let e = new URL(C());
|
|
65
68
|
fetch(e.href).then((t) => t.json()).then((t) => {
|
|
66
69
|
Object.keys(t).forEach((n) => {
|
|
@@ -78,10 +81,10 @@ function gt(D, c) {
|
|
|
78
81
|
};
|
|
79
82
|
Xe(() => {
|
|
80
83
|
C() && xe();
|
|
81
|
-
}),
|
|
84
|
+
}), ve(() => {
|
|
82
85
|
ye();
|
|
83
86
|
});
|
|
84
|
-
let te = L(Qe(R() || [])), H = L(!1),
|
|
87
|
+
let te = L(Qe(R() || [])), H = L(!1), v = L(0), I = L(void 0), U = L(!0);
|
|
85
88
|
const we = nt() ? ee() ?? "dk" : Ve(window.navigator.userAgent), ae = async () => {
|
|
86
89
|
if (ne.has(a(F)))
|
|
87
90
|
return;
|
|
@@ -89,22 +92,22 @@ function gt(D, c) {
|
|
|
89
92
|
const e = new URL(`${$()}/v1/tournaments/${z()}`), t = new Headers();
|
|
90
93
|
W() && t.append("X-SessionId", W());
|
|
91
94
|
const n = { method: "GET", headers: t };
|
|
92
|
-
e.searchParams.append("filter", `id=${z()}`), e.searchParams.append("language", j()), e.searchParams.append("expand", "games"), e.searchParams.append("pagination", `games(limit=${
|
|
95
|
+
e.searchParams.append("filter", `id=${z()}`), e.searchParams.append("language", j()), e.searchParams.append("expand", "games"), e.searchParams.append("pagination", `games(limit=${u()},offset=${a(v)})`), e.searchParams.append("platform", we), fetch(e, n).then((o) => o.json()).then((o) => {
|
|
93
96
|
f(te, o?.item?.games?.items, !0), ne.set(a(F), a(te)), a(U) || f(U, !0);
|
|
94
97
|
}).catch((o) => console.log(o)).finally(() => f(H, !1));
|
|
95
98
|
}, ke = () => {
|
|
96
|
-
const e = Math.ceil(M() /
|
|
99
|
+
const e = Math.ceil(M() / u()), t = Math.floor(a(v) / u()) + 1;
|
|
97
100
|
if (e <= 5)
|
|
98
101
|
return Array.from({ length: e }, (o, h) => h + 1);
|
|
99
102
|
const n = [];
|
|
100
103
|
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;
|
|
101
104
|
}, Pe = () => {
|
|
102
|
-
a(
|
|
105
|
+
a(v) < M() && (f(v, a(v) + u()), ae());
|
|
103
106
|
}, Te = () => {
|
|
104
|
-
a(
|
|
107
|
+
a(v) !== 0 && (f(v, a(v) - u()), ae());
|
|
105
108
|
}, Ge = (e) => {
|
|
106
|
-
f(
|
|
107
|
-
}, Se = ie(ke), F = ie(() => Math.floor(a(
|
|
109
|
+
f(v, (e - 1) * u()), ae();
|
|
110
|
+
}, Se = ie(ke), F = ie(() => Math.floor(a(v) / u()) + 1);
|
|
108
111
|
let ne = /* @__PURE__ */ new Map([[1, R()]]), Ae = ie(() => ne.get(a(F)) ?? []), G = L("casino");
|
|
109
112
|
const Be = () => {
|
|
110
113
|
if (!E()) return;
|
|
@@ -128,7 +131,7 @@ function gt(D, c) {
|
|
|
128
131
|
window.location.href
|
|
129
132
|
);
|
|
130
133
|
};
|
|
131
|
-
|
|
134
|
+
ve(() => {
|
|
132
135
|
Object.keys(E()).length !== 0 && Be();
|
|
133
136
|
});
|
|
134
137
|
var De = {
|
|
@@ -163,10 +166,10 @@ function gt(D, c) {
|
|
|
163
166
|
z(e), w();
|
|
164
167
|
},
|
|
165
168
|
get gamesLimit() {
|
|
166
|
-
return
|
|
169
|
+
return u();
|
|
167
170
|
},
|
|
168
171
|
set gamesLimit(e = 6) {
|
|
169
|
-
|
|
172
|
+
u(e), w();
|
|
170
173
|
},
|
|
171
174
|
get totalGames() {
|
|
172
175
|
return M();
|
|
@@ -239,7 +242,7 @@ function gt(D, c) {
|
|
|
239
242
|
{
|
|
240
243
|
var Re = (e) => {
|
|
241
244
|
var t = Y(), n = Z(t);
|
|
242
|
-
Q(n, 17, () => Array(
|
|
245
|
+
Q(n, 17, () => Array(u()), V, (o, h, r, i) => {
|
|
243
246
|
var d = it();
|
|
244
247
|
p(o, d);
|
|
245
248
|
}), p(e, t);
|
|
@@ -285,10 +288,10 @@ function gt(D, c) {
|
|
|
285
288
|
});
|
|
286
289
|
}
|
|
287
290
|
s(q);
|
|
288
|
-
var
|
|
291
|
+
var ue = x(q, 2);
|
|
289
292
|
{
|
|
290
293
|
var ze = (e) => {
|
|
291
|
-
var t =
|
|
294
|
+
var t = ut();
|
|
292
295
|
let n;
|
|
293
296
|
var o = l(t);
|
|
294
297
|
o.__click = Te;
|
|
@@ -321,19 +324,19 @@ function gt(D, c) {
|
|
|
321
324
|
var d = l(i, !0);
|
|
322
325
|
s(i), s(t), S(
|
|
323
326
|
(k, m) => {
|
|
324
|
-
n = N(t, 1, "PaginationWrapper svelte-p7mf8l", null, n, { Hidden: a(G) === "sports" }), o.disabled = a(
|
|
327
|
+
n = N(t, 1, "PaginationWrapper svelte-p7mf8l", null, n, { Hidden: a(G) === "sports" }), o.disabled = a(v) === 0, y(h, k), i.disabled = a(v) >= M() - u(), y(d, m);
|
|
325
328
|
},
|
|
326
329
|
[() => b()("previousButton"), () => b()("nextButton")]
|
|
327
330
|
), p(e, t);
|
|
328
331
|
};
|
|
329
|
-
B(
|
|
330
|
-
a(U) && M() >
|
|
332
|
+
B(ue, (e) => {
|
|
333
|
+
a(U) && M() > u() && e(ze);
|
|
331
334
|
});
|
|
332
335
|
}
|
|
333
|
-
var Ce = x(
|
|
336
|
+
var Ce = x(ue, 2);
|
|
334
337
|
{
|
|
335
338
|
var He = (e) => {
|
|
336
|
-
var t =
|
|
339
|
+
var t = vt();
|
|
337
340
|
p(e, t);
|
|
338
341
|
};
|
|
339
342
|
B(Ce, (e) => {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";var Z=(_,l,i)=>new Promise((W,A)=>{var k=d=>{try{g(i.next(d))}catch(x){A(x)}},S=d=>{try{g(i.throw(d))}catch(x){A(x)}},g=d=>d.done?W(d.value):Promise.resolve(d.value).then(k,S);g((i=i.apply(_,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./TournamentDetailsPage-BYR2IdA-.cjs");function $(_,l){e.addMessages(_,l)}function ee(_){e.$locale.set(_)}const te={en:{previousButton:"Previous",nextButton:"Next",casinoTab:"Casino",sportsbookTab:"Sportsbook",gamesDescriptionTitle:"Participating games",gamesDescriptionSubtitle:"Discover the games",sportsRulesParseError:"Error parsing tournament rules",noAvailableGames:"No games have been configured yet!"},tr:{previousButton:"Önceki",nextButton:"Sonraki",casinoTab:"Casino",sportsbookTab:"Spor Bahisleri",gamesDescriptionTitle:"Katılımcı oyunlar",gamesDescriptionSubtitle:"Oyunları keşfedin",sportsRulesParseError:"Turnuva kuralları ayrıştırma hatası",noAvailableGames:"Henüz oyun yapılandırılmamış!"}},Ge=()=>typeof window=="undefined";var Ae=e.from_html('<div class="TournamentGamesTabs svelte-p7mf8l"><button> </button> <button> </button></div>'),Be=e.from_html('<p class="svelte-p7mf8l"> </p>'),Ne=e.from_html("<div></div>"),De=e.from_html('<div class="TournamentGameThumbnailSkeleton svelte-p7mf8l"></div>'),je=e.from_html("<p> </p>"),Me=e.from_html('<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>'),Ee=e.from_html('<span class="PaginationButton Elipsis svelte-p7mf8l">...</span>'),Le=e.from_html("<button> </button>"),Oe=e.from_html('<div><button class="PaginationButton svelte-p7mf8l"> </button> <div class="PageNumberWrapper svelte-p7mf8l"></div> <button class="PaginationButton svelte-p7mf8l"> </button></div>'),Re=e.from_html('<div class="PaginationSkeleton svelte-p7mf8l"><div class="PaginationSkeletonButton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationNumberSkeleton svelte-p7mf8l"></div> <div class="PaginationSkeletonButton svelte-p7mf8l"></div></div>'),We=e.from_html('<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>');const ze={hash:"svelte-p7mf8l",code:`.svelte-p7mf8l,
|
|
2
|
+
.svelte-p7mf8l::before,
|
|
3
|
+
.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;min-height:150px;}.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-fill, minmax(min(170px, 100%), 1fr));.TournamentGameThumbnailSkeleton:where(.svelte-p7mf8l) {position:relative;width:100%;aspect-ratio:4 / 3;overflow:hidden;border-radius:6px;background:linear-gradient(
|
|
4
|
+
to top,
|
|
5
|
+
var(--emw-color-primary, #FF1D4E),
|
|
6
|
+
transparent
|
|
7
|
+
);background-size:100% 200%;
|
|
8
|
+
animation: svelte-p7mf8l-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;}}}.NoGamesAvailable.svelte-p7mf8l {color:var(--emw-color-typography, #ffffff);font-size:14px;font-weight:300;}.PaginationSkeleton.svelte-p7mf8l {display:flex;justify-content:space-between;gap:6px;.PaginationSkeletonButton:where(.svelte-p7mf8l) {width:60px;height:35px;border-radius:6px;background-color:var(--emw-color-skeleton, #535353);overflow:hidden;position:relative;
|
|
9
|
+
animation: svelte-p7mf8l-pulse 1s infinite;}.PaginationNumberSkeleton:where(.svelte-p7mf8l) {width:40px;height:35px;border-radius:6px;background-color:var(--emw-color-skeleton, #535353);overflow:hidden;position:relative;
|
|
10
|
+
animation: svelte-p7mf8l-pulse 1s infinite;}}
|
|
11
|
+
|
|
12
|
+
@keyframes svelte-p7mf8l-pulse {
|
|
13
|
+
0% {
|
|
14
|
+
opacity: 0;
|
|
15
|
+
}
|
|
16
|
+
50% {
|
|
17
|
+
opacity: 1;
|
|
18
|
+
}
|
|
19
|
+
100% {
|
|
20
|
+
opacity: 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@media (min-width: 750px) {.TournamentGamesTabs.svelte-p7mf8l {width:fit-content;}.PaginationWrapper.svelte-p7mf8l, .PaginationSkeleton.svelte-p7mf8l {justify-content:end;gap:10px;}.PaginationButton.svelte-p7mf8l {min-width:75px;}.PaginationSkeleton.svelte-p7mf8l {justify-content:end;gap:10px;.PaginationSkeletonButton:where(.svelte-p7mf8l) {width:auto;min-width:55px;}.PaginationNumberSkeleton:where(.svelte-p7mf8l) {width:35px;}}
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media (max-width: 475px) {.TournamentGamesContainer.svelte-p7mf8l {gap:5px;grid-template-columns:repeat(auto-fill, minmax(min(150px, 100%), 1fr));}
|
|
30
|
+
}.Hidden.svelte-p7mf8l {display:none;}`};function ae(_,l){var Y;e.push(l,!0),e.append_styles(_,ze);const i=()=>e.store_get(e.$format,"$_",W),[W,A]=e.setup_stores(),k=e.prop(l,"initialGames"),S=e.prop(l,"endpoint"),g=e.prop(l,"language",7,"en"),d=e.prop(l,"session"),x=e.prop(l,"tournamentid"),f=e.prop(l,"gamesLimit",7,6),P=e.prop(l,"totalGames"),z=e.prop(l,"platformProp",7,null),T=e.prop(l,"tournamentMetadata"),B=e.prop(l,"translationurl"),ne=()=>{let t=new URL(B());fetch(t.href).then(a=>a.json()).then(a=>{Object.keys(a).forEach(n=>{$(n,a[n])})}).catch(a=>{console.log(a)})};Object.keys(te).forEach(t=>{$(t,te[t])}),ee(g());const re=()=>{ee(g())};e.user_pre_effect(()=>{B()&&ne()}),e.user_effect(()=>{re()});let C=e.state(e.proxy(k()||[])),N=e.state(!1),u=e.state(0),D=e.state(void 0),j=e.state(!0);const se=Ge()?(Y=z())!=null?Y:"dk":e.getDevice(window.navigator.userAgent),H=()=>Z(this,null,function*(){if(I.has(e.get(M)))return;e.set(N,!0);const t=new URL(`${S()}/v1/tournaments/${x()}`),a=new Headers;d()&&a.append("X-SessionId",d());const n={method:"GET",headers:a};t.searchParams.append("filter",`id=${x()}`),t.searchParams.append("language",g()),t.searchParams.append("expand","games"),t.searchParams.append("pagination",`games(limit=${f()},offset=${e.get(u)})`),t.searchParams.append("platform",se),fetch(t,n).then(r=>r.json()).then(r=>{var m,s;e.set(C,(s=(m=r==null?void 0:r.item)==null?void 0:m.games)==null?void 0:s.items,!0),I.set(e.get(M),e.get(C)),e.get(j)||e.set(j,!0)}).catch(r=>console.log(r)).finally(()=>e.set(N,!1))}),oe=()=>{const t=Math.ceil(P()/f()),a=Math.floor(e.get(u)/f())+1;if(t<=5)return Array.from({length:t},(r,m)=>m+1);const n=[];return n.push(1),a<=3?(n.push(2,3),n.push("..."),n.push(t)):a>=t-2?(n.push("..."),n.push(t-2,t-1,t)):(n.push("..."),n.push(a-1,a,a+1),n.push("..."),n.push(t)),n},le=()=>{e.get(u)<P()&&(e.set(u,e.get(u)+f()),H())},ie=()=>{e.get(u)!==0&&(e.set(u,e.get(u)-f()),H())},pe=t=>{e.set(u,(t-1)*f()),H()},ce=e.user_derived(oe),M=e.user_derived(()=>Math.floor(e.get(u)/f())+1);let I=new Map([[1,k()]]),me=e.user_derived(()=>{var t;return(t=I.get(e.get(M)))!=null?t:[]}),y=e.state("casino");const de=()=>{var n;if(!T())return;const t=(n=T().sports)==null?void 0:n.rules;let a;if(t)try{a=JSON.parse(t),e.set(D,a[g()]||a["*"],!0)}catch(r){console.log(r),e.set(D,`${i()("sportsRulesParseError")}`)}},fe=t=>{window.postMessage({type:"Tournaments:PlayGame",launchUrl:t.launchUrl,id:t.gameId,thumbnail:t.thumbnail,name:t.name},window.location.href)};e.user_effect(()=>{Object.keys(T()).length!==0&&de()});var ue={get initialGames(){return k()},set initialGames(t){k(t),e.flushSync()},get endpoint(){return S()},set endpoint(t){S(t),e.flushSync()},get language(){return g()},set language(t="en"){g(t),e.flushSync()},get session(){return d()},set session(t){d(t),e.flushSync()},get tournamentid(){return x()},set tournamentid(t){x(t),e.flushSync()},get gamesLimit(){return f()},set gamesLimit(t=6){f(t),e.flushSync()},get totalGames(){return P()},set totalGames(t){P(t),e.flushSync()},get platformProp(){return z()},set platformProp(t=null){z(t),e.flushSync()},get tournamentMetadata(){return T()},set tournamentMetadata(t){T(t),e.flushSync()},get translationurl(){return B()},set translationurl(t){B(t),e.flushSync()}},U=We(),F=e.child(U),q=e.child(F),ve=e.child(q,!0);e.reset(q);var J=e.sibling(q,2),ge=e.child(J,!0);e.reset(J),e.reset(F);var K=e.sibling(F,2);{var he=t=>{var a=Ae(),n=e.child(a);let r;n.__click=()=>e.set(y,"casino");var m=e.child(n,!0);e.reset(n);var s=e.sibling(n,2);let o;s.__click=()=>e.set(y,"sports");var p=e.child(s,!0);e.reset(s),e.reset(a),e.template_effect((v,c)=>{r=e.set_class(n,1,"Tab svelte-p7mf8l",null,r,{Active:e.get(y)==="casino"}),e.set_text(m,v),o=e.set_class(s,1,"Tab svelte-p7mf8l",null,o,{Active:e.get(y)==="sports"}),e.set_text(p,c)},[()=>i()("casinoTab"),()=>i()("sportsbookTab")]),e.append(t,a)};e.if_block(K,t=>{Object.keys(T()).length!==0&&t(he)})}var X=e.sibling(K,2);{var be=t=>{var a=Ne();let n;e.each(a,21,()=>e.get(D),e.index,(r,m)=>{var s=Be(),o=e.child(s);e.reset(s),e.template_effect(p=>{var v;return e.set_text(o,`${(v=e.get(m).rule)!=null?v:""} ${p!=null?p:""}`)},[()=>i()("contribution")]),e.append(r,s)}),e.reset(a),e.template_effect(()=>n=e.set_class(a,1,"TournamentRulesWrapper svelte-p7mf8l",null,n,{Hidden:e.get(y)==="casino"})),e.append(t,a)};e.if_block(X,t=>{e.get(D)&&t(be)})}var E=e.sibling(X,2);let Q;var _e=e.child(E);{var xe=t=>{var a=e.comment(),n=e.first_child(a);e.each(n,17,()=>Array(f()),e.index,(r,m,s,o)=>{var p=De();e.append(r,p)}),e.append(t,a)},ye=t=>{var a=e.comment(),n=e.first_child(a);{var r=s=>{var o=je();let p;var v=e.child(o,!0);e.reset(o),e.template_effect(c=>{p=e.set_class(o,1,"NoGamesAvailable svelte-p7mf8l",null,p,{Hidden:e.get(y)==="sports"}),e.set_text(v,c)},[()=>i()("noAvailableGames")]),e.append(s,o)},m=s=>{var o=e.comment(),p=e.first_child(o);e.each(p,17,()=>e.get(me),e.index,(v,c)=>{var w=Me();w.__click=()=>fe(e.get(c));var L=e.child(w),G=e.child(L),O=e.sibling(G,2),h=e.child(O),b=e.child(h,!0);e.reset(h),e.reset(O),e.reset(L),e.reset(w),e.template_effect(R=>{e.set_attribute(G,"src",`https:${e.get(c).thumbnail}`),e.set_attribute(G,"alt",e.get(c).name),e.set_text(b,R)},[()=>i()("play")]),e.append(v,w)}),e.append(s,o)};e.if_block(n,s=>{var o;!e.get(N)&&((o=e.get(C))==null?void 0:o.length)===0?s(r):s(m,!1)},!0)}e.append(t,a)};e.if_block(_e,t=>{e.get(N)?t(xe):t(ye,!1)})}e.reset(E);var V=e.sibling(E,2);{var we=t=>{var a=Oe();let n;var r=e.child(a);r.__click=ie;var m=e.child(r,!0);e.reset(r);var s=e.sibling(r,2);e.each(s,21,()=>e.get(ce),e.index,(v,c)=>{var w=e.comment(),L=e.first_child(w);{var G=h=>{var b=Ee();e.append(h,b)},O=h=>{var b=Le();let R;b.__click=()=>pe(e.get(c));var Se=e.child(b,!0);e.reset(b),e.template_effect(()=>{R=e.set_class(b,1,"PaginationButton Number svelte-p7mf8l",null,R,{Active:e.get(c)===e.get(M)}),e.set_text(Se,e.get(c))}),e.append(h,b)};e.if_block(L,h=>{typeof e.get(c)!="number"?h(G):h(O,!1)})}e.append(v,w)}),e.reset(s);var o=e.sibling(s,2);o.__click=le;var p=e.child(o,!0);e.reset(o),e.reset(a),e.template_effect((v,c)=>{n=e.set_class(a,1,"PaginationWrapper svelte-p7mf8l",null,n,{Hidden:e.get(y)==="sports"}),r.disabled=e.get(u)===0,e.set_text(m,v),o.disabled=e.get(u)>=P()-f(),e.set_text(p,c)},[()=>i()("previousButton"),()=>i()("nextButton")]),e.append(t,a)};e.if_block(V,t=>{e.get(j)&&P()>f()&&t(we)})}var ke=e.sibling(V,2);{var Pe=t=>{var a=Re();e.append(t,a)};e.if_block(ke,t=>{e.get(j)||t(Pe)})}e.reset(U),e.template_effect((t,a)=>{e.set_text(ve,t),e.set_text(ge,a),Q=e.set_class(E,1,"TournamentGamesContainer svelte-p7mf8l",null,Q,{Hidden:e.get(y)==="sports"})},[()=>i()("gamesDescriptionTitle"),()=>i()("gamesDescriptionSubtitle")]),e.append(_,U);var Te=e.pop(ue);return A(),Te}e.delegate(["click"]);customElements.define("tournament-games",e.create_custom_element(ae,{initialGames:{},endpoint:{},language:{},session:{},tournamentid:{},gamesLimit:{},totalGames:{},platformProp:{},tournamentMetadata:{},translationurl:{}},[],[],!1));exports.default=ae;
|