@everymatrix/tournament-details-page 0.2.21 → 0.3.0
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/{TournamentActions-BBN5IYso.js → TournamentActions-6xEu1F46.js} +1 -1
- package/components/{TournamentActions-DWXwxzd-.js → TournamentActions-CVZiaICH.js} +1 -1
- package/components/{TournamentActions-CNhnjYYA.cjs → TournamentActions-Cbh6JDEB.cjs} +1 -1
- package/components/{TournamentActions-wCtjKVlP.cjs → TournamentActions-JrcITxFs.cjs} +1 -1
- package/components/{TournamentDetailsPage-CjX_wMQZ.js → TournamentDetailsPage-BTw-k2S5.js} +7 -7
- package/components/{TournamentDetailsPage-DY7xYvYv.js → TournamentDetailsPage-CN_sfmIf.js} +7 -7
- package/components/{TournamentDetailsPage-DCmC8s2b.cjs → TournamentDetailsPage-CZi6zW4r.cjs} +1 -1
- package/components/{TournamentDetailsPage-DR9LxKLH.cjs → TournamentDetailsPage-Ddnhr-qj.cjs} +1 -1
- package/components/{TournamentDetailsSkeleton-kGinoK1P.js → TournamentDetailsSkeleton-BJgG5w_d.js} +1 -1
- package/components/{TournamentDetailsSkeleton-SFsFl8eH.cjs → TournamentDetailsSkeleton-Bv5pZAMI.cjs} +1 -1
- package/components/{TournamentDetailsSkeleton-CruFRpEe.cjs → TournamentDetailsSkeleton-CtVLPFcw.cjs} +1 -1
- package/components/{TournamentDetailsSkeleton-B760Of5q.js → TournamentDetailsSkeleton-DhwvvHhs.js} +1 -1
- package/components/{TournamentGames-CLXYbIfJ.js → TournamentGames-05sQXMdI.js} +1 -1
- package/components/{TournamentGames-8aVKBjo-.cjs → TournamentGames-BNhTXytO.cjs} +1 -1
- package/components/{TournamentGames-BXHeV9_d.js → TournamentGames-C6q4ZJW4.js} +1 -1
- package/components/{TournamentGames-QnUsdsQJ.cjs → TournamentGames-m__dQiI1.cjs} +1 -1
- package/components/{TournamentRules-Lk8g3VeO.js → TournamentRules-5l6rdh0n.js} +1 -1
- package/components/{TournamentRules-DMT7tmq1.cjs → TournamentRules-Bdcm4zrn.cjs} +1 -1
- package/components/{TournamentRules-CsJ2w3ke.js → TournamentRules-DMVyXqES.js} +1 -1
- package/components/{TournamentRules-UYE7XEZ2.cjs → TournamentRules-DwOyEm1U.cjs} +1 -1
- package/components/{TournamentSummary-O0eT1AFL.cjs → TournamentSummary-BB6IzxYt.cjs} +1 -1
- package/components/{TournamentSummary-BbqNl8fI.cjs → TournamentSummary-Bttd1glm.cjs} +1 -1
- package/components/{TournamentSummary-9KSgalzN.js → TournamentSummary-CDa1UNv1.js} +1 -1
- package/components/{TournamentSummary-ax0xcP9V.js → TournamentSummary-bA-ATBWr.js} +1 -1
- package/components/{TournamentTabs-BEikV1b0.cjs → TournamentTabs-BB3DpFx7.cjs} +1 -1
- package/components/{TournamentTabs-taRjTvFm.cjs → TournamentTabs-BdgxEZR4.cjs} +1 -1
- package/components/{TournamentTabs-Buij1EM2.js → TournamentTabs-BemsrlTr.js} +1 -1
- package/components/{TournamentTabs-B3a1Cu6J.js → TournamentTabs-BjkKMDDU.js} +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/{TournamentLeaderboard-BOz8q955.cjs → TournamentLeaderboard-BT1E1qzd.cjs} +0 -0
- /package/components/{TournamentLeaderboard-BPVgMs5_.cjs → TournamentLeaderboard-BWGwutpb.cjs} +0 -0
- /package/components/{TournamentLeaderboard-B1hi_1RZ.js → TournamentLeaderboard-CbuiqR2h.js} +0 -0
- /package/components/{TournamentLeaderboard-C5ypWPrR.js → TournamentLeaderboard-DmJPMBlN.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as j, c as L, g as $, a as B, p as l, C as E, i as N, t as b, l as d, T as O, b as c, d as S, f as h, U as H, h as f, q as u, H as z, $ as I, r as g, _ as M, O as U } from "./StatusBadge-CBBPyxMX.js";
|
|
2
|
-
import "./TournamentLeaderboard-
|
|
2
|
+
import "./TournamentLeaderboard-DmJPMBlN.js";
|
|
3
3
|
import { b as Y } from "./translations-K_zSHODZ.js";
|
|
4
4
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
5
5
|
}, globalThis.customElements = { define() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as j, c as L, g as $, a as B, p as l, C as E, i as N, t as b, l as d, T as O, b as c, d as S, f as h, U as H, h as f, q as u, H as z, $ as I, r as g, _ as M, O as U } from "./StatusBadge-DyPPQ2KM.js";
|
|
2
|
-
import "./TournamentLeaderboard-
|
|
2
|
+
import "./TournamentLeaderboard-CbuiqR2h.js";
|
|
3
3
|
import { b as Y } from "./translations-DV_EpdWd.js";
|
|
4
4
|
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
5
5
|
}, globalThis.customElements = { define() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const t=require("./StatusBadge-xofjUgHo.cjs");require("./TournamentLeaderboard-
|
|
1
|
+
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const t=require("./StatusBadge-xofjUgHo.cjs");require("./TournamentLeaderboard-BT1E1qzd.cjs");const x=require("./translations-0vjqrZOZ.cjs");var y=t.from_html('<span class="tournament-details__button-spinner svelte-18ymwtn" aria-hidden="true"></span>'),k=t.from_html('<div class="tournament-details__actions svelte-18ymwtn"><button type="button" class="tournament-details__button tournament-details__button--primary svelte-18ymwtn"><!></button></div>');const T={hash:"svelte-18ymwtn",code:`.tournament-details__actions.svelte-18ymwtn {display:flex;flex-wrap:wrap;align-items:center;gap:12px;.tournament-details__button:where(.svelte-18ymwtn) {display:inline-flex;align-items:center;justify-content:center;min-width:180px;height:44px;padding:0 28px;border-radius:8px;font:inherit;line-height:1;text-align:center;white-space:nowrap;cursor:pointer;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;transition:background 0.2s ease,
|
|
2
2
|
border-color 0.2s ease,
|
|
3
3
|
box-shadow 0.2s ease,
|
|
4
4
|
transform 0.2s ease,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const t=require("./StatusBadge-DjAKkoxZ.cjs");require("./TournamentLeaderboard-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const t=require("./StatusBadge-DjAKkoxZ.cjs");require("./TournamentLeaderboard-BWGwutpb.cjs");const x=require("./translations-QdnKRlRq.cjs");var y=t.from_html('<span class="tournament-details__button-spinner svelte-18ymwtn" aria-hidden="true"></span>'),k=t.from_html('<div class="tournament-details__actions svelte-18ymwtn"><button type="button" class="tournament-details__button tournament-details__button--primary svelte-18ymwtn"><!></button></div>');const T={hash:"svelte-18ymwtn",code:`.tournament-details__actions.svelte-18ymwtn {display:flex;flex-wrap:wrap;align-items:center;gap:12px;.tournament-details__button:where(.svelte-18ymwtn) {display:inline-flex;align-items:center;justify-content:center;min-width:180px;height:44px;padding:0 28px;border-radius:8px;font:inherit;line-height:1;text-align:center;white-space:nowrap;cursor:pointer;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;transition:background 0.2s ease,
|
|
2
2
|
border-color 0.2s ease,
|
|
3
3
|
box-shadow 0.2s ease,
|
|
4
4
|
transform 0.2s ease,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as xe, g as Le, a as rt, p as o, a0 as at, C as it, D as Se, F as x, E as st, I as ot, o as s, G as A, K, j as e, m as r, i as L, s as M, b as z, d as Oe, u as h, f as P, h as f, q as l, H as lt, U as ut, $ as dt, r as y, R as mt, N as Me, t as X, O as Be, J as ct, l as le, v as pt } from "./StatusBadge-CBBPyxMX.js";
|
|
2
|
-
import { t as bt, k as Re, l as gt, N as vt, D as kt, f as ht, m as ft, T as ze, n as yt, o as Tt, p as wt, q as St, r as Mt, u as Bt, v as Rt, w as zt } from "./TournamentLeaderboard-
|
|
3
|
-
import { s as Pe, T as Pt } from "./TournamentGames-
|
|
2
|
+
import { t as bt, k as Re, l as gt, N as vt, D as kt, f as ht, m as ft, T as ze, n as yt, o as Tt, p as wt, q as St, r as Mt, u as Bt, v as Rt, w as zt } from "./TournamentLeaderboard-DmJPMBlN.js";
|
|
3
|
+
import { s as Pe, T as Pt } from "./TournamentGames-C6q4ZJW4.js";
|
|
4
4
|
import { T as xt } from "./TournamentImage-DnymBYC6.js";
|
|
5
|
-
import { T as Lt } from "./TournamentSummary-
|
|
6
|
-
import { T as Ot } from "./TournamentTabs-
|
|
7
|
-
import { T as _t } from "./TournamentRules-
|
|
8
|
-
import { T as Ct } from "./TournamentDetailsSkeleton-
|
|
9
|
-
import { T as Dt } from "./TournamentActions-
|
|
5
|
+
import { T as Lt } from "./TournamentSummary-bA-ATBWr.js";
|
|
6
|
+
import { T as Ot } from "./TournamentTabs-BemsrlTr.js";
|
|
7
|
+
import { T as _t } from "./TournamentRules-DMVyXqES.js";
|
|
8
|
+
import { T as Ct } from "./TournamentDetailsSkeleton-BJgG5w_d.js";
|
|
9
|
+
import { T as Dt } from "./TournamentActions-6xEu1F46.js";
|
|
10
10
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
11
11
|
}, globalThis.customElements = { define() {
|
|
12
12
|
}, get() {
|
|
@@ -15,14 +15,14 @@ var K = (_, s, k) => new Promise((P, B) => {
|
|
|
15
15
|
c((k = k.apply(_, s)).next());
|
|
16
16
|
});
|
|
17
17
|
import { c as Oe, g as _e, a as it, p as d, a0 as st, C as ot, D as Be, F as C, E as lt, I as ut, o as u, G as j, K as X, j as e, m as i, i as D, s as z, b as L, d as Ce, u as y, f as O, h as S, q as m, H as dt, U as mt, $ as ct, r as M, R as pt, N as Re, t as J, O as ze, J as bt, l as ue, v as gt } from "./StatusBadge-DyPPQ2KM.js";
|
|
18
|
-
import { t as vt, k as Pe, l as kt, N as ht, D as ft, f as yt, m as Tt, T as xe, n as wt, o as St, p as Mt, q as Bt, r as Rt, u as zt, v as Pt, w as xt } from "./TournamentLeaderboard-
|
|
19
|
-
import { s as Le, T as Lt } from "./TournamentGames-
|
|
18
|
+
import { t as vt, k as Pe, l as kt, N as ht, D as ft, f as yt, m as Tt, T as xe, n as wt, o as St, p as Mt, q as Bt, r as Rt, u as zt, v as Pt, w as xt } from "./TournamentLeaderboard-CbuiqR2h.js";
|
|
19
|
+
import { s as Le, T as Lt } from "./TournamentGames-05sQXMdI.js";
|
|
20
20
|
import { T as Ot } from "./TournamentImage-BqZUXQql.js";
|
|
21
|
-
import { T as _t } from "./TournamentSummary-
|
|
22
|
-
import { T as Ct } from "./TournamentTabs-
|
|
23
|
-
import { T as Dt } from "./TournamentRules-
|
|
24
|
-
import { T as At } from "./TournamentDetailsSkeleton-
|
|
25
|
-
import { T as Wt } from "./TournamentActions-
|
|
21
|
+
import { T as _t } from "./TournamentSummary-CDa1UNv1.js";
|
|
22
|
+
import { T as Ct } from "./TournamentTabs-BjkKMDDU.js";
|
|
23
|
+
import { T as Dt } from "./TournamentRules-5l6rdh0n.js";
|
|
24
|
+
import { T as At } from "./TournamentDetailsSkeleton-DhwvvHhs.js";
|
|
25
|
+
import { T as Wt } from "./TournamentActions-CVZiaICH.js";
|
|
26
26
|
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
27
27
|
}, globalThis.customElements = { define() {
|
|
28
28
|
}, get() {
|
package/components/{TournamentDetailsPage-DCmC8s2b.cjs → TournamentDetailsPage-CZi6zW4r.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-DjAKkoxZ.cjs"),a=require("./TournamentLeaderboard-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-DjAKkoxZ.cjs"),a=require("./TournamentLeaderboard-BWGwutpb.cjs"),X=require("./TournamentGames-BNhTXytO.cjs"),De=require("./TournamentImage-Dn9Ty4VP.cjs"),Ae=require("./TournamentSummary-BB6IzxYt.cjs"),We=require("./TournamentTabs-BdgxEZR4.cjs"),je=require("./TournamentRules-Bdcm4zrn.cjs"),Ee=require("./TournamentDetailsSkeleton-Bv5pZAMI.cjs"),qe=require("./TournamentActions-JrcITxFs.cjs"),Fe={en:{tournamentNotFoundTitle:"Tournament not found.",tournamentNotFoundDescription:"You will be redirected to the Tournaments Lobby",totalPrizes:"Total prizes",viewPrizes:"View Prizes",moreGames:"More Games",play:"Play",joinButton:"Join",rules:"Rules",scoreCriteriaType:{stake:"The score criteria for this tournament is <b>Turnover</b>. For each X generated (X= amount wagered in player currency or equivalent in base currency) player will get 1 point. The player who will have the largest turnover will have the highest score and rank.",mostRounds:"The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",winStakeRatio:`The score criteria for this tournament is <b>Win/Stake Ratio</b>. The score will be calculated
|
|
2
2
|
as a sum of win/stake ratios for qualified rounds and bets.
|
|
3
3
|
The player who got the highest score will win the tournament.`,winStakeRatioWinMinScore:`<ul class="ScoreTypeUL"><li class="ScoreTypeLI">Minimum Score: {minScore} <br/>
|
|
4
4
|
<span class="Desc">Player will not get score if Win/Stake Ratio in each rounds are lower than defined
|
package/components/{TournamentDetailsPage-DR9LxKLH.cjs → TournamentDetailsPage-Ddnhr-qj.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var A=(w,a,g)=>new Promise((T,f)=>{var v=o=>{try{l(g.next(o))}catch(m){f(m)}},c=o=>{try{l(g.throw(o))}catch(m){f(m)}},l=o=>o.done?T(o.value):Promise.resolve(o.value).then(v,c);l((g=g.apply(w,a)).next())});typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-xofjUgHo.cjs"),u=require("./TournamentLeaderboard-
|
|
1
|
+
var A=(w,a,g)=>new Promise((T,f)=>{var v=o=>{try{l(g.next(o))}catch(m){f(m)}},c=o=>{try{l(g.throw(o))}catch(m){f(m)}},l=o=>o.done?T(o.value):Promise.resolve(o.value).then(v,c);l((g=g.apply(w,a)).next())});typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-xofjUgHo.cjs"),u=require("./TournamentLeaderboard-BT1E1qzd.cjs"),J=require("./TournamentGames-m__dQiI1.cjs"),We=require("./TournamentImage-DGrB5JYt.cjs"),je=require("./TournamentSummary-Bttd1glm.cjs"),Ee=require("./TournamentTabs-BB3DpFx7.cjs"),qe=require("./TournamentRules-DwOyEm1U.cjs"),Fe=require("./TournamentDetailsSkeleton-CtVLPFcw.cjs"),Ge=require("./TournamentActions-Cbh6JDEB.cjs"),Ne={en:{tournamentNotFoundTitle:"Tournament not found.",tournamentNotFoundDescription:"You will be redirected to the Tournaments Lobby",totalPrizes:"Total prizes",viewPrizes:"View Prizes",moreGames:"More Games",play:"Play",joinButton:"Join",rules:"Rules",scoreCriteriaType:{stake:"The score criteria for this tournament is <b>Turnover</b>. For each X generated (X= amount wagered in player currency or equivalent in base currency) player will get 1 point. The player who will have the largest turnover will have the highest score and rank.",mostRounds:"The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",winStakeRatio:`The score criteria for this tournament is <b>Win/Stake Ratio</b>. The score will be calculated
|
|
2
2
|
as a sum of win/stake ratios for qualified rounds and bets.
|
|
3
3
|
The player who got the highest score will win the tournament.`,winStakeRatioWinMinScore:`<ul class="ScoreTypeUL"><li class="ScoreTypeLI">Minimum Score: {minScore} <br/>
|
|
4
4
|
<span class="Desc">Player will not get score if Win/Stake Ratio in each rounds are lower than defined
|
package/components/{TournamentDetailsSkeleton-kGinoK1P.js → TournamentDetailsSkeleton-BJgG5w_d.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as E, g as S, a as A, p as L, s as d, P as O, L as r, M as _, i as R, b as s, d as D, f as n, h as w, q as M, r as l } from "./StatusBadge-CBBPyxMX.js";
|
|
2
|
-
import { e as N, D as K, h as U, i as W, j as B } from "./TournamentLeaderboard-
|
|
2
|
+
import { e as N, D as K, h as U, i as W, j as B } from "./TournamentLeaderboard-DmJPMBlN.js";
|
|
3
3
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
4
4
|
}, globalThis.customElements = { define() {
|
|
5
5
|
}, get() {
|
package/components/{TournamentDetailsSkeleton-SFsFl8eH.cjs → TournamentDetailsSkeleton-Bv5pZAMI.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-DjAKkoxZ.cjs"),l=require("./TournamentLeaderboard-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-DjAKkoxZ.cjs"),l=require("./TournamentLeaderboard-BWGwutpb.cjs");var k=e.from_html('<span class="tournament-details__skeleton--row svelte-wbcf14"><span class="tournament-details__skeleton--box tournament-details__skeleton--icon svelte-wbcf14"></span> <span class="tournament-details__skeleton--box tournament-details__skeleton--line svelte-wbcf14"></span></span>'),g=e.from_html('<span class="tournament-details__skeleton--box tournament-details__skeleton--tab svelte-wbcf14"></span>'),y=e.from_html('<span class="tournament-details__skeleton--box tournament-details__skeleton--leaderboard-row svelte-wbcf14"></span>'),T=e.from_html('<div class="tournament-details__skeleton--leaderboard svelte-wbcf14"></div>'),E=e.from_html('<span class="tournament-details__skeleton--box tournament-details__skeleton--game svelte-wbcf14"></span>'),S=e.from_html('<div class="tournament-details__skeleton--games svelte-wbcf14"></div>'),A=e.from_html('<span class="tournament-details__skeleton--row svelte-wbcf14"><span class="tournament-details__skeleton--box tournament-details__skeleton--icon svelte-wbcf14"></span> <span class="tournament-details__skeleton--paragraph svelte-wbcf14"><span class="tournament-details__skeleton--box tournament-details__skeleton--line svelte-wbcf14"></span> <span class="tournament-details__skeleton--box tournament-details__skeleton--line short svelte-wbcf14"></span></span></span>'),L=e.from_html('<div class="tournament-details__skeleton--rules svelte-wbcf14"></div>'),O=e.from_html('<span class="tournament-details__skeleton--box tournament-details__skeleton--banner svelte-wbcf14" aria-busy="true" aria-live="polite"></span> <div class="tournament-details__skeleton--contents svelte-wbcf14" aria-hidden="true"><div class="tournament-details__skeleton--summary svelte-wbcf14"><span class="tournament-details__skeleton--box tournament-details__skeleton--title svelte-wbcf14"></span> <!></div> <div class="tournament-details__skeleton--tabs svelte-wbcf14"></div> <!></div>',1);const R={hash:"svelte-wbcf14",code:`.tournament-details__skeleton--box.svelte-wbcf14 {display:block;border-radius:6px;background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.05));
|
|
2
2
|
animation: svelte-wbcf14-tournament-details-skeleton-pulse 1.2s ease-in-out infinite;}.tournament-details__skeleton--banner.svelte-wbcf14 {width:100%;height:308px;border-radius:13px;}.tournament-details__skeleton--contents.svelte-wbcf14 {display:flex;flex-direction:column;gap:20px;min-width:0;}.tournament-details__skeleton--summary.svelte-wbcf14 {display:flex;flex-direction:column;gap:12px;}.tournament-details__skeleton--title.svelte-wbcf14 {width:50%;height:24px;}.tournament-details__skeleton--row.svelte-wbcf14 {display:flex;align-items:flex-start;gap:8px;}.tournament-details__skeleton--icon.svelte-wbcf14 {flex-shrink:0;width:16px;height:16px;}.tournament-details__skeleton--line.svelte-wbcf14 {width:60%;height:16px;&.short {width:35%;}}.tournament-details__skeleton--paragraph.svelte-wbcf14 {display:flex;flex:1;flex-direction:column;gap:6px;.tournament-details__skeleton--line:where(.svelte-wbcf14) {width:100%;&.short {width:60%;}}}.tournament-details__skeleton--tabs.svelte-wbcf14 {box-sizing:border-box;display:flex;gap:4px;width:fit-content;max-width:100%;padding:6px 8px;border-radius:100px;}.tournament-details__skeleton--tab.svelte-wbcf14 {width:140px;height:27px;border-radius:36px;}.tournament-details__skeleton--rules.svelte-wbcf14 {display:flex;flex-direction:column;gap:24px;}.tournament-details__skeleton--leaderboard.svelte-wbcf14 {display:flex;flex-direction:column;gap:8px;}.tournament-details__skeleton--leaderboard-row.svelte-wbcf14 {height:40px;border-radius:8px;}.tournament-details__skeleton--games.svelte-wbcf14 {display:grid;grid-template-columns:repeat(6, minmax(0, 1fr));gap:8px;}.tournament-details__skeleton--game.svelte-wbcf14 {height:120px;}
|
|
3
3
|
|
|
4
4
|
@media (max-width: 767px) {.tournament-details__skeleton--banner.svelte-wbcf14 {height:160px;}.tournament-details__skeleton--contents.svelte-wbcf14 {gap:16px;}.tournament-details__skeleton--title.svelte-wbcf14 {width:70%;height:20px;}.tournament-details__skeleton--tabs.svelte-wbcf14 {width:100%;gap:2px;padding:4px 8px;}.tournament-details__skeleton--tab.svelte-wbcf14 {flex:1;width:auto;}.tournament-details__skeleton--leaderboard-row.svelte-wbcf14 {height:36px;}.tournament-details__skeleton--games.svelte-wbcf14 {grid-template-columns:repeat(3, minmax(0, 1fr));}.tournament-details__skeleton--game.svelte-wbcf14 {height:75px;}
|
package/components/{TournamentDetailsSkeleton-CruFRpEe.cjs → TournamentDetailsSkeleton-CtVLPFcw.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-xofjUgHo.cjs"),l=require("./TournamentLeaderboard-
|
|
1
|
+
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-xofjUgHo.cjs"),l=require("./TournamentLeaderboard-BT1E1qzd.cjs");var k=e.from_html('<span class="tournament-details__skeleton--row svelte-wbcf14"><span class="tournament-details__skeleton--box tournament-details__skeleton--icon svelte-wbcf14"></span> <span class="tournament-details__skeleton--box tournament-details__skeleton--line svelte-wbcf14"></span></span>'),g=e.from_html('<span class="tournament-details__skeleton--box tournament-details__skeleton--tab svelte-wbcf14"></span>'),y=e.from_html('<span class="tournament-details__skeleton--box tournament-details__skeleton--leaderboard-row svelte-wbcf14"></span>'),T=e.from_html('<div class="tournament-details__skeleton--leaderboard svelte-wbcf14"></div>'),E=e.from_html('<span class="tournament-details__skeleton--box tournament-details__skeleton--game svelte-wbcf14"></span>'),S=e.from_html('<div class="tournament-details__skeleton--games svelte-wbcf14"></div>'),A=e.from_html('<span class="tournament-details__skeleton--row svelte-wbcf14"><span class="tournament-details__skeleton--box tournament-details__skeleton--icon svelte-wbcf14"></span> <span class="tournament-details__skeleton--paragraph svelte-wbcf14"><span class="tournament-details__skeleton--box tournament-details__skeleton--line svelte-wbcf14"></span> <span class="tournament-details__skeleton--box tournament-details__skeleton--line short svelte-wbcf14"></span></span></span>'),L=e.from_html('<div class="tournament-details__skeleton--rules svelte-wbcf14"></div>'),O=e.from_html('<span class="tournament-details__skeleton--box tournament-details__skeleton--banner svelte-wbcf14" aria-busy="true" aria-live="polite"></span> <div class="tournament-details__skeleton--contents svelte-wbcf14" aria-hidden="true"><div class="tournament-details__skeleton--summary svelte-wbcf14"><span class="tournament-details__skeleton--box tournament-details__skeleton--title svelte-wbcf14"></span> <!></div> <div class="tournament-details__skeleton--tabs svelte-wbcf14"></div> <!></div>',1);const R={hash:"svelte-wbcf14",code:`.tournament-details__skeleton--box.svelte-wbcf14 {display:block;border-radius:6px;background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.05));
|
|
2
2
|
animation: svelte-wbcf14-tournament-details-skeleton-pulse 1.2s ease-in-out infinite;}.tournament-details__skeleton--banner.svelte-wbcf14 {width:100%;height:308px;border-radius:13px;}.tournament-details__skeleton--contents.svelte-wbcf14 {display:flex;flex-direction:column;gap:20px;min-width:0;}.tournament-details__skeleton--summary.svelte-wbcf14 {display:flex;flex-direction:column;gap:12px;}.tournament-details__skeleton--title.svelte-wbcf14 {width:50%;height:24px;}.tournament-details__skeleton--row.svelte-wbcf14 {display:flex;align-items:flex-start;gap:8px;}.tournament-details__skeleton--icon.svelte-wbcf14 {flex-shrink:0;width:16px;height:16px;}.tournament-details__skeleton--line.svelte-wbcf14 {width:60%;height:16px;&.short {width:35%;}}.tournament-details__skeleton--paragraph.svelte-wbcf14 {display:flex;flex:1;flex-direction:column;gap:6px;.tournament-details__skeleton--line:where(.svelte-wbcf14) {width:100%;&.short {width:60%;}}}.tournament-details__skeleton--tabs.svelte-wbcf14 {box-sizing:border-box;display:flex;gap:4px;width:fit-content;max-width:100%;padding:6px 8px;border-radius:100px;}.tournament-details__skeleton--tab.svelte-wbcf14 {width:140px;height:27px;border-radius:36px;}.tournament-details__skeleton--rules.svelte-wbcf14 {display:flex;flex-direction:column;gap:24px;}.tournament-details__skeleton--leaderboard.svelte-wbcf14 {display:flex;flex-direction:column;gap:8px;}.tournament-details__skeleton--leaderboard-row.svelte-wbcf14 {height:40px;border-radius:8px;}.tournament-details__skeleton--games.svelte-wbcf14 {display:grid;grid-template-columns:repeat(6, minmax(0, 1fr));gap:8px;}.tournament-details__skeleton--game.svelte-wbcf14 {height:120px;}
|
|
3
3
|
|
|
4
4
|
@media (max-width: 767px) {.tournament-details__skeleton--banner.svelte-wbcf14 {height:160px;}.tournament-details__skeleton--contents.svelte-wbcf14 {gap:16px;}.tournament-details__skeleton--title.svelte-wbcf14 {width:70%;height:20px;}.tournament-details__skeleton--tabs.svelte-wbcf14 {width:100%;gap:2px;padding:4px 8px;}.tournament-details__skeleton--tab.svelte-wbcf14 {flex:1;width:auto;}.tournament-details__skeleton--leaderboard-row.svelte-wbcf14 {height:36px;}.tournament-details__skeleton--games.svelte-wbcf14 {grid-template-columns:repeat(3, minmax(0, 1fr));}.tournament-details__skeleton--game.svelte-wbcf14 {height:75px;}
|
package/components/{TournamentDetailsSkeleton-B760Of5q.js → TournamentDetailsSkeleton-DhwvvHhs.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as E, g as S, a as A, p as L, s as d, P as O, L as r, M as _, i as R, b as s, d as D, f as n, h as w, q as M, r as l } from "./StatusBadge-DyPPQ2KM.js";
|
|
2
|
-
import { e as N, D as K, h as U, i as W, j as B } from "./TournamentLeaderboard-
|
|
2
|
+
import { e as N, D as K, h as U, i as W, j as B } from "./TournamentLeaderboard-CbuiqR2h.js";
|
|
3
3
|
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
4
4
|
}, globalThis.customElements = { define() {
|
|
5
5
|
}, get() {
|
|
@@ -15,7 +15,7 @@ var fe = (_, r, i) => new Promise((N, K) => {
|
|
|
15
15
|
v((i = i.apply(_, r)).next());
|
|
16
16
|
});
|
|
17
17
|
import { B as He, c as Fe, g as Je, a as qe, p as g, C as Ke, D as ye, E as Qe, I as Ue, F as we, o as H, G as le, K as Ve, i as F, R as We, b as u, d as Ze, f as h, q as d, H as Xe, h as O, j as t, s as S, r as A, m as I, u as J, N as k, t as L, k as Te, l as q, O as M, T as me, V as Ge, P as ue, L as ge, M as de, U as Ye, $ as $e, J as et, W as tt, Q as at } from "./StatusBadge-DyPPQ2KM.js";
|
|
18
|
-
import { f as nt, G as ke, s as st, a as rt, b as ot } from "./TournamentLeaderboard-
|
|
18
|
+
import { f as nt, G as ke, s as st, a as rt, b as ot } from "./TournamentLeaderboard-CbuiqR2h.js";
|
|
19
19
|
import { a as it } from "./translations-DV_EpdWd.js";
|
|
20
20
|
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
21
21
|
}, globalThis.customElements = { define() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-DjAKkoxZ.cjs"),y=require("./TournamentLeaderboard-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-DjAKkoxZ.cjs"),y=require("./TournamentLeaderboard-BWGwutpb.cjs"),_e=require("./translations-QdnKRlRq.cjs"),X=(v,n=!1)=>{if(!v)return;const l=parseFloat(getComputedStyle(v).scrollMarginTop)||0;if(n&&v.getBoundingClientRect().top>=l)return;const L=window.matchMedia("(prefers-reduced-motion: reduce)").matches;v.scrollIntoView({behavior:L?"auto":"smooth",block:"start"})};var ve=e.from_html('<div class="tournament-games__tabs svelte-49hxa3" role="tablist"><button type="button" role="tab"> </button> <button type="button" role="tab"> </button></div>'),xe=e.from_html('<div class="tournament-games__empty svelte-49hxa3"><p class="tournament-games__empty-title svelte-49hxa3"> </p> <p class="tournament-games__empty-description svelte-49hxa3"> </p></div>'),fe=e.from_html('<span class="tournament-games__badge svelte-49hxa3"> </span>'),be=e.from_html('<button type="button" class="tournament-games__game svelte-49hxa3"><img class="tournament-games__image svelte-49hxa3" loading="lazy"/> <span class="tournament-games__play svelte-49hxa3" aria-hidden="true"><span class="tournament-games__play-button svelte-49hxa3"> </span></span> <!></button>'),ye=e.from_html('<span class="tournament-games__game tournament-games__game--placeholder svelte-49hxa3" aria-hidden="true"></span>'),we=e.from_html('<div class="tournament-games__sentinel svelte-49hxa3"></div>'),Se=e.from_html('<div class="tournament-games__grid svelte-49hxa3"><!> <!></div> <!>',1),ke=e.from_html('<p class="tournament-games__empty svelte-49hxa3"> </p>'),Te=e.from_html('<li class="svelte-49hxa3"> </li>'),Ge=e.from_html('<ul class="tournament-games__events svelte-49hxa3"></ul>'),Me=e.from_html('<div class="tournament-games svelte-49hxa3"><!> <!></div>');const Ae={hash:"svelte-49hxa3",code:`.tournament-games.svelte-49hxa3 {scroll-margin-top:80px;display:flex;flex-direction:column;gap:20px;color:var(--text-subtle, rgba(223, 227, 232, 1));.tournament-games__tabs:where(.svelte-49hxa3) {display:flex;border-bottom:1px solid var(--border-default, rgba(251, 251, 251, 0.15));width:max-content;max-width:100%;}.tournament-games__tab:where(.svelte-49hxa3) {position:relative;flex:0 0 auto;height:31px;padding:0 10px;border:0;background:transparent;color:var(--text-subtle, rgba(223, 227, 232, 1));font:inherit;font-size:14px;font-weight:500;cursor:pointer;line-height:145%;min-width:206px;&.active {color:var(--text-brand, rgba(255, 204, 0, 1));font-weight:700;&::after {content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--pagination-bg-selected, rgba(255, 204, 0, 1));}}}.tournament-games__grid:where(.svelte-49hxa3) {display:grid;grid-template-columns:repeat(6, minmax(0, 1fr));gap:8px;}.tournament-games__game:where(.svelte-49hxa3) {position:relative;display:block;width:100%;align-self:start;padding:0;overflow:hidden;border:0;border-radius:6px;background:transparent;line-height:0;cursor:pointer;&:focus-visible {outline:2px solid var(--border-brand, rgba(255, 204, 0, 1));outline-offset:2px;}&:focus-visible .tournament-games__play:where(.svelte-49hxa3) {opacity:1;}
|
|
2
2
|
|
|
3
3
|
@media (hover: hover) {&:hover .tournament-games__play:where(.svelte-49hxa3) {opacity:1;}
|
|
4
4
|
}}.tournament-games__play:where(.svelte-49hxa3) {position:absolute;inset:0;z-index:2;display:flex;justify-content:center;align-items:center;border-radius:6px;background:rgba(0, 0, 0, 0.6);line-height:1;opacity:0;transition:opacity 0.2s ease;}.tournament-games__play-button:where(.svelte-49hxa3) {display:flex;justify-content:center;align-items:center;min-width:50%;padding:8px 16px;border-radius:6px;background:var(--button-primary-bg-default, #ffcc00);color:var(--button-primary-text-default, rgba(38, 29, 0, 1));font-size:13px;font-weight:600;}.tournament-games__game--placeholder:where(.svelte-49hxa3) {height:120px;background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.05));cursor:default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as Be, c as Pe, g as De, a as He, p as i, C as Ve, D as ve, E as Fe, I as Je, F as _e, o as j, G as oe, K as qe, i as B, R as Ke, b as o, d as Qe, f as u, q as l, H as Ue, h as z, j as t, s as G, r as k, m as C, u as P, N as y, t as E, k as xe, l as D, O as w, T as ie, V as be, P as le, L as me, M as ue, U as We, $ as Ze, J as Xe, W as Ye, Q as $e } from "./StatusBadge-CBBPyxMX.js";
|
|
2
|
-
import { f as et, G as fe, s as tt, a as at, b as nt } from "./TournamentLeaderboard-
|
|
2
|
+
import { f as et, G as fe, s as tt, a as at, b as nt } from "./TournamentLeaderboard-DmJPMBlN.js";
|
|
3
3
|
import { a as st } from "./translations-K_zSHODZ.js";
|
|
4
4
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
5
5
|
}, globalThis.customElements = { define() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var te=(d,s,l)=>new Promise((T,C)=>{var y=u=>{try{p(l.next(u))}catch(c){C(c)}},G=u=>{try{p(l.throw(u))}catch(c){C(c)}},p=u=>u.done?T(u.value):Promise.resolve(u.value).then(y,G);p((l=l.apply(d,s)).next())});typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-xofjUgHo.cjs"),k=require("./TournamentLeaderboard-
|
|
1
|
+
var te=(d,s,l)=>new Promise((T,C)=>{var y=u=>{try{p(l.next(u))}catch(c){C(c)}},G=u=>{try{p(l.throw(u))}catch(c){C(c)}},p=u=>u.done?T(u.value):Promise.resolve(u.value).then(y,G);p((l=l.apply(d,s)).next())});typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-xofjUgHo.cjs"),k=require("./TournamentLeaderboard-BT1E1qzd.cjs"),fe=require("./translations-0vjqrZOZ.cjs"),ae=(d,s=!1)=>{if(!d)return;const l=parseFloat(getComputedStyle(d).scrollMarginTop)||0;if(s&&d.getBoundingClientRect().top>=l)return;const T=window.matchMedia("(prefers-reduced-motion: reduce)").matches;d.scrollIntoView({behavior:T?"auto":"smooth",block:"start"})};var be=e.from_html('<div class="tournament-games__tabs svelte-49hxa3" role="tablist"><button type="button" role="tab"> </button> <button type="button" role="tab"> </button></div>'),ye=e.from_html('<div class="tournament-games__empty svelte-49hxa3"><p class="tournament-games__empty-title svelte-49hxa3"> </p> <p class="tournament-games__empty-description svelte-49hxa3"> </p></div>'),we=e.from_html('<span class="tournament-games__badge svelte-49hxa3"> </span>'),Se=e.from_html('<button type="button" class="tournament-games__game svelte-49hxa3"><img class="tournament-games__image svelte-49hxa3" loading="lazy"/> <span class="tournament-games__play svelte-49hxa3" aria-hidden="true"><span class="tournament-games__play-button svelte-49hxa3"> </span></span> <!></button>'),ke=e.from_html('<span class="tournament-games__game tournament-games__game--placeholder svelte-49hxa3" aria-hidden="true"></span>'),Te=e.from_html('<div class="tournament-games__sentinel svelte-49hxa3"></div>'),Ge=e.from_html('<div class="tournament-games__grid svelte-49hxa3"><!> <!></div> <!>',1),Me=e.from_html('<p class="tournament-games__empty svelte-49hxa3"> </p>'),Ae=e.from_html('<li class="svelte-49hxa3"> </li>'),Ee=e.from_html('<ul class="tournament-games__events svelte-49hxa3"></ul>'),ze=e.from_html('<div class="tournament-games svelte-49hxa3"><!> <!></div>');const Ce={hash:"svelte-49hxa3",code:`.tournament-games.svelte-49hxa3 {scroll-margin-top:80px;display:flex;flex-direction:column;gap:20px;color:var(--text-subtle, rgba(223, 227, 232, 1));.tournament-games__tabs:where(.svelte-49hxa3) {display:flex;border-bottom:1px solid var(--border-default, rgba(251, 251, 251, 0.15));width:max-content;max-width:100%;}.tournament-games__tab:where(.svelte-49hxa3) {position:relative;flex:0 0 auto;height:31px;padding:0 10px;border:0;background:transparent;color:var(--text-subtle, rgba(223, 227, 232, 1));font:inherit;font-size:14px;font-weight:500;cursor:pointer;line-height:145%;min-width:206px;&.active {color:var(--text-brand, rgba(255, 204, 0, 1));font-weight:700;&::after {content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--pagination-bg-selected, rgba(255, 204, 0, 1));}}}.tournament-games__grid:where(.svelte-49hxa3) {display:grid;grid-template-columns:repeat(6, minmax(0, 1fr));gap:8px;}.tournament-games__game:where(.svelte-49hxa3) {position:relative;display:block;width:100%;align-self:start;padding:0;overflow:hidden;border:0;border-radius:6px;background:transparent;line-height:0;cursor:pointer;&:focus-visible {outline:2px solid var(--border-brand, rgba(255, 204, 0, 1));outline-offset:2px;}&:focus-visible .tournament-games__play:where(.svelte-49hxa3) {opacity:1;}
|
|
2
2
|
|
|
3
3
|
@media (hover: hover) {&:hover .tournament-games__play:where(.svelte-49hxa3) {opacity:1;}
|
|
4
4
|
}}.tournament-games__play:where(.svelte-49hxa3) {position:absolute;inset:0;z-index:2;display:flex;justify-content:center;align-items:center;border-radius:6px;background:rgba(0, 0, 0, 0.6);line-height:1;opacity:0;transition:opacity 0.2s ease;}.tournament-games__play-button:where(.svelte-49hxa3) {display:flex;justify-content:center;align-items:center;min-width:50%;padding:8px 16px;border-radius:6px;background:var(--button-primary-bg-default, #ffcc00);color:var(--button-primary-text-default, rgba(38, 29, 0, 1));font-size:13px;font-weight:600;}.tournament-games__game--placeholder:where(.svelte-49hxa3) {height:120px;background:var(--bg-overlay-neutral-level-1, rgba(251, 251, 251, 0.05));cursor:default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as X, g as ee, a as te, p as T, i as c, b as p, d as ae, f as _, q as S, H as se, h as l, j as m, s as n, r as s, u as F, L as K, N as j, t as q, O as w, Z as I, M as re, U as le, $ as ne } from "./StatusBadge-DyPPQ2KM.js";
|
|
2
|
-
import { S as ie } from "./TournamentLeaderboard-
|
|
2
|
+
import { S as ie } from "./TournamentLeaderboard-CbuiqR2h.js";
|
|
3
3
|
import { T as oe } from "./TrophyIcon-CUrppmyv.js";
|
|
4
4
|
import { C as ve } from "./ChartIcon-BPC4NoGM.js";
|
|
5
5
|
import { C as pe } from "./CoinStackIcon-wfkGKqTN.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-DjAKkoxZ.cjs"),H=require("./TournamentLeaderboard-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-DjAKkoxZ.cjs"),H=require("./TournamentLeaderboard-BWGwutpb.cjs"),K=require("./TrophyIcon-DaHxDSvn.cjs"),A=require("./ChartIcon-C9Sxa2xM.cjs"),O=require("./CoinStackIcon-CkHijC3J.cjs"),P=require("./SlotMachineIcon-erwaxfYK.cjs"),Y=require("./FootballIcon-ChX_ED_z.cjs"),G=require("./DocumentsIcon-t64EMWB3.cjs");var J=e.from_html("<li> </li>"),N=e.from_html('<div class="tournament-details__rule svelte-1hqp0j7"><span class="tournament-details__rule-icon svelte-1hqp0j7" aria-hidden="true"><!></span> <ul class="tournament-details__rule-text tournament-details__prizes svelte-1hqp0j7"></ul></div>'),C=e.from_html('<div class="tournament-details__rule svelte-1hqp0j7"><span class="tournament-details__rule-icon svelte-1hqp0j7" aria-hidden="true"><!></span> <div class="tournament-details__rule-text svelte-1hqp0j7"></div></div>'),Q=e.from_html('<p class="svelte-1hqp0j7"> </p>'),V=e.from_html('<div class="tournament-details__rule svelte-1hqp0j7"><span class="tournament-details__rule-icon svelte-1hqp0j7" aria-hidden="true"><!></span> <div class="tournament-details__rule-text svelte-1hqp0j7"><p class="svelte-1hqp0j7"> </p> <!></div></div>'),W=e.from_html('<li class="svelte-1hqp0j7"> </li>'),X=e.from_html('<div class="tournament-details__rule svelte-1hqp0j7"><span class="tournament-details__rule-icon svelte-1hqp0j7" aria-hidden="true"><!></span> <div class="tournament-details__rule-text svelte-1hqp0j7"><p class="svelte-1hqp0j7"> </p> <ul class="tournament-details__sports-rules svelte-1hqp0j7"></ul></div></div>'),Z=e.from_html('<div class="tournament-details__rule svelte-1hqp0j7"><span class="tournament-details__rule-icon svelte-1hqp0j7" aria-hidden="true"><!></span> <div class="tournament-details__rule-text tournament-details__terms svelte-1hqp0j7"></div></div>'),ee=e.from_html('<div class="tournament-details__rules svelte-1hqp0j7"><!> <!> <!> <!> <!> <!></div>');const te={hash:"svelte-1hqp0j7",code:`.tournament-details__rules.svelte-1hqp0j7 {display:flex;flex-direction:column;gap:16px;color:var(--text-subtle, rgba(223, 227, 232, 1));font-size:14px;font-weight:400;line-height:1.6;p:where(.svelte-1hqp0j7),
|
|
2
2
|
ul:where(.svelte-1hqp0j7) {margin:0;padding:0;}.tournament-details__rule:where(.svelte-1hqp0j7) {display:flex;align-items:flex-start;gap:12px;}.tournament-details__rule-icon:where(.svelte-1hqp0j7) {display:flex;align-items:center;flex-shrink:0;width:16px;height:1lh;color:var(--text-subtle, #dfe3e8);}.tournament-details__rule-text:where(.svelte-1hqp0j7) {min-width:0;p:where(.svelte-1hqp0j7) + p:where(.svelte-1hqp0j7),
|
|
3
3
|
p:where(.svelte-1hqp0j7) + ul:where(.svelte-1hqp0j7) {margin-top:12px;}b {font-weight:inherit;}}.tournament-details__prizes:where(.svelte-1hqp0j7) {display:flex;flex-direction:column;gap:8px;list-style:none;}.tournament-details__sports-rules:where(.svelte-1hqp0j7) {display:flex;flex-direction:column;gap:4px;padding-left:28px;list-style:none;li:where(.svelte-1hqp0j7) {position:relative;&::before {content:'';position:absolute;top:0.75em;left:-14px;width:3px;height:3px;border-radius:50%;background:currentColor;}}}.tournament-details__terms:where(.svelte-1hqp0j7) a {color:var(--text-default, rgba(223, 227, 232, 1));font-weight:700;text-decoration:none;&:hover {text-decoration:underline;}}}
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as X, g as ee, a as te, p as T, i as c, b as v, d as ae, f as u, q as $, H as se, h as l, j as m, s as n, r as s, u as z, L as F, N as j, t as q, O as w, Z as S, M as re, U as le, $ as ne } from "./StatusBadge-CBBPyxMX.js";
|
|
2
|
-
import { S as ie } from "./TournamentLeaderboard-
|
|
2
|
+
import { S as ie } from "./TournamentLeaderboard-DmJPMBlN.js";
|
|
3
3
|
import { T as oe } from "./TrophyIcon-FQzYYOtD.js";
|
|
4
4
|
import { C as ve } from "./ChartIcon-VlqtDrx8.js";
|
|
5
5
|
import { C as pe } from "./CoinStackIcon-B7typMK_.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-xofjUgHo.cjs"),K=require("./TournamentLeaderboard-
|
|
1
|
+
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-xofjUgHo.cjs"),K=require("./TournamentLeaderboard-BT1E1qzd.cjs"),A=require("./TrophyIcon-8NzMHyA1.cjs"),O=require("./ChartIcon-D1n2bGRC.cjs"),P=require("./CoinStackIcon-DUBCqBBx.cjs"),Y=require("./SlotMachineIcon-BRAbfhma.cjs"),$=require("./FootballIcon-DU57YMb-.cjs"),G=require("./DocumentsIcon-D5m5LTSO.cjs");var J=e.from_html("<li> </li>"),N=e.from_html('<div class="tournament-details__rule svelte-1hqp0j7"><span class="tournament-details__rule-icon svelte-1hqp0j7" aria-hidden="true"><!></span> <ul class="tournament-details__rule-text tournament-details__prizes svelte-1hqp0j7"></ul></div>'),C=e.from_html('<div class="tournament-details__rule svelte-1hqp0j7"><span class="tournament-details__rule-icon svelte-1hqp0j7" aria-hidden="true"><!></span> <div class="tournament-details__rule-text svelte-1hqp0j7"></div></div>'),Q=e.from_html('<p class="svelte-1hqp0j7"> </p>'),V=e.from_html('<div class="tournament-details__rule svelte-1hqp0j7"><span class="tournament-details__rule-icon svelte-1hqp0j7" aria-hidden="true"><!></span> <div class="tournament-details__rule-text svelte-1hqp0j7"><p class="svelte-1hqp0j7"> </p> <!></div></div>'),W=e.from_html('<li class="svelte-1hqp0j7"> </li>'),X=e.from_html('<div class="tournament-details__rule svelte-1hqp0j7"><span class="tournament-details__rule-icon svelte-1hqp0j7" aria-hidden="true"><!></span> <div class="tournament-details__rule-text svelte-1hqp0j7"><p class="svelte-1hqp0j7"> </p> <ul class="tournament-details__sports-rules svelte-1hqp0j7"></ul></div></div>'),Z=e.from_html('<div class="tournament-details__rule svelte-1hqp0j7"><span class="tournament-details__rule-icon svelte-1hqp0j7" aria-hidden="true"><!></span> <div class="tournament-details__rule-text tournament-details__terms svelte-1hqp0j7"></div></div>'),ee=e.from_html('<div class="tournament-details__rules svelte-1hqp0j7"><!> <!> <!> <!> <!> <!></div>');const te={hash:"svelte-1hqp0j7",code:`.tournament-details__rules.svelte-1hqp0j7 {display:flex;flex-direction:column;gap:16px;color:var(--text-subtle, rgba(223, 227, 232, 1));font-size:14px;font-weight:400;line-height:1.6;p:where(.svelte-1hqp0j7),
|
|
2
2
|
ul:where(.svelte-1hqp0j7) {margin:0;padding:0;}.tournament-details__rule:where(.svelte-1hqp0j7) {display:flex;align-items:flex-start;gap:12px;}.tournament-details__rule-icon:where(.svelte-1hqp0j7) {display:flex;align-items:center;flex-shrink:0;width:16px;height:1lh;color:var(--text-subtle, #dfe3e8);}.tournament-details__rule-text:where(.svelte-1hqp0j7) {min-width:0;p:where(.svelte-1hqp0j7) + p:where(.svelte-1hqp0j7),
|
|
3
3
|
p:where(.svelte-1hqp0j7) + ul:where(.svelte-1hqp0j7) {margin-top:12px;}b {font-weight:inherit;}}.tournament-details__prizes:where(.svelte-1hqp0j7) {display:flex;flex-direction:column;gap:8px;list-style:none;}.tournament-details__sports-rules:where(.svelte-1hqp0j7) {display:flex;flex-direction:column;gap:4px;padding-left:28px;list-style:none;li:where(.svelte-1hqp0j7) {position:relative;&::before {content:'';position:absolute;top:0.75em;left:-14px;width:3px;height:3px;border-radius:50%;background:currentColor;}}}.tournament-details__terms:where(.svelte-1hqp0j7) a {color:var(--text-default, rgba(223, 227, 232, 1));font-weight:700;text-decoration:none;&:hover {text-decoration:underline;}}}
|
|
4
4
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-DjAKkoxZ.cjs"),k=require("./TournamentLeaderboard-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-DjAKkoxZ.cjs"),k=require("./TournamentLeaderboard-BWGwutpb.cjs"),N=require("./TrophyIcon-DaHxDSvn.cjs"),Q=require("./PeopleIcon-CtqAe2Uz.cjs"),V=require("./ChartIcon-C9Sxa2xM.cjs"),W=require("./RankArrowIcon-Cl_GWbMZ.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,3 +1,3 @@
|
|
|
1
|
-
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-xofjUgHo.cjs"),k=require("./TournamentLeaderboard-
|
|
1
|
+
typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-xofjUgHo.cjs"),k=require("./TournamentLeaderboard-BT1E1qzd.cjs"),V=require("./TrophyIcon-8NzMHyA1.cjs"),W=require("./PeopleIcon-CNnrNKLh.cjs"),X=require("./ChartIcon-D1n2bGRC.cjs"),Y=require("./RankArrowIcon-xBCzj20D.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,5 +1,5 @@
|
|
|
1
1
|
import { c as le, g as ie, a as oe, p as I, L as F, i as R, t as u, b as m, d as he, f as b, q as z, H as pe, h as s, l as S, j as r, s as l, N as c, r as i, O as g, u as L, U as de, $ as _e, k as ve } from "./StatusBadge-DyPPQ2KM.js";
|
|
2
|
-
import { c as ue, d as me, g as ce } from "./TournamentLeaderboard-
|
|
2
|
+
import { c as ue, d as me, g as ce } from "./TournamentLeaderboard-CbuiqR2h.js";
|
|
3
3
|
import { T as ge } from "./TrophyIcon-CUrppmyv.js";
|
|
4
4
|
import { P as be } from "./PeopleIcon-lEaoAOhV.js";
|
|
5
5
|
import { C as fe } from "./ChartIcon-BPC4NoGM.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-CBBPyxMX.js";
|
|
2
|
-
import { c as ve, d as ue, g as me } from "./TournamentLeaderboard-
|
|
2
|
+
import { c as ve, d as ue, g as me } from "./TournamentLeaderboard-DmJPMBlN.js";
|
|
3
3
|
import { T as ce } from "./TrophyIcon-FQzYYOtD.js";
|
|
4
4
|
import { P as ge } from "./PeopleIcon--SzBZUNU.js";
|
|
5
5
|
import { C as be } from "./ChartIcon-VlqtDrx8.js";
|
|
@@ -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-xofjUgHo.cjs"),$=require("./TournamentLeaderboard-
|
|
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-xofjUgHo.cjs"),$=require("./TournamentLeaderboard-BT1E1qzd.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-DjAKkoxZ.cjs"),_=require("./TournamentLeaderboard-
|
|
1
|
+
typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-DjAKkoxZ.cjs"),_=require("./TournamentLeaderboard-BWGwutpb.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,5 +1,5 @@
|
|
|
1
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-CBBPyxMX.js";
|
|
2
|
-
import { D as O } from "./TournamentLeaderboard-
|
|
2
|
+
import { D as O } from "./TournamentLeaderboard-DmJPMBlN.js";
|
|
3
3
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
4
4
|
}, globalThis.customElements = { define() {
|
|
5
5
|
}, get() {
|
|
@@ -11,7 +11,7 @@ var m = (a, e, s) => e in a ? $(a, e, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return a;
|
|
12
12
|
}, f = (a, e) => C(a, j(e));
|
|
13
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-DyPPQ2KM.js";
|
|
14
|
-
import { D as V } from "./TournamentLeaderboard-
|
|
14
|
+
import { D as V } from "./TournamentLeaderboard-CbuiqR2h.js";
|
|
15
15
|
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
16
16
|
}, globalThis.customElements = { define() {
|
|
17
17
|
}, get() {
|
|
@@ -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-Ddnhr-qj.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-Ddnhr-qj.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-CN_sfmIf.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-CN_sfmIf.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-CZi6zW4r.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-CZi6zW4r.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-BTw-k2S5.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-BTw-k2S5.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) => {
|
package/package.json
CHANGED
/package/components/{TournamentLeaderboard-BOz8q955.cjs → TournamentLeaderboard-BT1E1qzd.cjs}
RENAMED
|
File without changes
|
/package/components/{TournamentLeaderboard-BPVgMs5_.cjs → TournamentLeaderboard-BWGwutpb.cjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|