@everymatrix/tournament-details-page 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/components/ChartIcon-BOJYO_mg.cjs +1 -0
  2. package/components/ChartIcon-BnuWrPCu.js +32 -0
  3. package/components/ChartIcon-DpI8g8MS.js +32 -0
  4. package/components/ChartIcon-RZGJve9X.cjs +1 -0
  5. package/components/CoinStackIcon-D7VDNLPL.js +32 -0
  6. package/components/CoinStackIcon-D9m5o_fi.cjs +1 -0
  7. package/components/CoinStackIcon-DFr0r7ql.cjs +1 -0
  8. package/components/CoinStackIcon-JPra1r-T.js +32 -0
  9. package/components/DocumentsIcon-BGDIx1Br.cjs +1 -0
  10. package/components/DocumentsIcon-BMHGy7l5.cjs +1 -0
  11. package/components/DocumentsIcon-CbpU2Gyn.js +32 -0
  12. package/components/DocumentsIcon-DFbkU_nq.js +32 -0
  13. package/components/FootballIcon-BXfYxMAS.js +32 -0
  14. package/components/FootballIcon-Ba3k9QwJ.cjs +1 -0
  15. package/components/FootballIcon-Dh004HAn.cjs +1 -0
  16. package/components/FootballIcon-t-RiDqHO.js +32 -0
  17. package/components/PeopleIcon-2b-6fziq.js +32 -0
  18. package/components/PeopleIcon-BL0lywpf.js +32 -0
  19. package/components/PeopleIcon-Bi5uKQ9t.cjs +1 -0
  20. package/components/PeopleIcon-Dij57H9Y.cjs +1 -0
  21. package/components/RankArrowIcon-BLPI8Ihl.js +32 -0
  22. package/components/RankArrowIcon-C1FqD2OV.cjs +1 -0
  23. package/components/RankArrowIcon-D9MUkVQC.cjs +1 -0
  24. package/components/RankArrowIcon-DxqeIh-2.js +32 -0
  25. package/components/SlotMachineIcon-Cuv-0tTj.cjs +1 -0
  26. package/components/SlotMachineIcon-DbLnS5Dy.js +32 -0
  27. package/components/SlotMachineIcon-_w58r-b5.cjs +1 -0
  28. package/components/SlotMachineIcon-rm59GZar.js +32 -0
  29. package/components/{StatusBadge-BnPuCJnO.js → StatusBadge-94g1_G1j.js} +840 -811
  30. package/components/StatusBadge-Bdc22cMY.cjs +8 -0
  31. package/components/{StatusBadge-CV5WC0Fx.cjs → StatusBadge-BsjzjNer.cjs} +5 -5
  32. package/components/{StatusBadge-DKawANSc.js → StatusBadge-DuF7NK69.js} +789 -760
  33. package/components/{TournamentDetailsPage-LzqcZox2.js → TournamentDetailsPage-AkoBgtU-.js} +164 -165
  34. package/components/{TournamentDetailsPage-DQ5X0Dqc.js → TournamentDetailsPage-BknZ3XLG.js} +146 -147
  35. package/components/{TournamentDetailsPage-D4ZDEGSF.cjs → TournamentDetailsPage-DKQGDSr1.cjs} +3 -3
  36. package/components/{TournamentDetailsPage-Cy3rGC6M.cjs → TournamentDetailsPage-DbL7sBZM.cjs} +3 -3
  37. package/components/{TournamentDetailsSkeleton-CpEie2Gb.cjs → TournamentDetailsSkeleton-BTCHrmxN.cjs} +1 -1
  38. package/components/{TournamentDetailsSkeleton-CL0BOfFu.js → TournamentDetailsSkeleton-CmKNNW5d.js} +2 -2
  39. package/components/{TournamentDetailsSkeleton-CqfwFamx.js → TournamentDetailsSkeleton-D0L8P1tb.js} +2 -2
  40. package/components/{TournamentDetailsSkeleton-u1WnYDq6.cjs → TournamentDetailsSkeleton-Dtd2H__T.cjs} +1 -1
  41. package/components/TournamentGames-BGr8V4Dd.js +306 -0
  42. package/components/TournamentGames-BhXlS-fA.js +284 -0
  43. package/components/TournamentGames-Ch4ODv3u.cjs +19 -0
  44. package/components/TournamentGames-D8h0gDfK.cjs +19 -0
  45. package/components/{TournamentImage-BxaewAcW.js → TournamentImage-BFh29Z7_.js} +1 -1
  46. package/components/{TournamentImage-BeCXYKda.cjs → TournamentImage-CxfcEUy6.cjs} +1 -1
  47. package/components/{TournamentImage-Dx0Km_cw.cjs → TournamentImage-D26UWHyP.cjs} +1 -1
  48. package/components/{TournamentImage-Cp5BEQ0s.js → TournamentImage-Hm-i2BLZ.js} +1 -1
  49. package/components/TournamentLeaderboard-1i-FoUCN.cjs +38 -0
  50. package/components/TournamentLeaderboard-B6IMbAZ_.cjs +38 -0
  51. package/components/TournamentLeaderboard-BJ0mlW5c.js +1384 -0
  52. package/components/TournamentLeaderboard-BM3HZ0jQ.js +1441 -0
  53. package/components/TournamentRules-Bu4jfxhb.cjs +6 -0
  54. package/components/TournamentRules-DwcmzDOu.js +138 -0
  55. package/components/TournamentRules-Dxup5GZ2.js +143 -0
  56. package/components/TournamentRules-iglqjP1P.cjs +6 -0
  57. package/components/TournamentSummary-B7I6gN81.js +145 -0
  58. package/components/TournamentSummary-C24QhbUw.cjs +3 -0
  59. package/components/TournamentSummary-HgOjtkW2.cjs +3 -0
  60. package/components/TournamentSummary-ozfHjUkk.js +150 -0
  61. package/components/{TournamentTabs-FzkOjNA3.js → TournamentTabs-B5Hc7DnJ.js} +2 -2
  62. package/components/{TournamentTabs-EGrABVKQ.cjs → TournamentTabs-BVEr7PbQ.cjs} +1 -1
  63. package/components/{TournamentTabs-DpLpOYtB.js → TournamentTabs-DHZPrDgf.js} +2 -2
  64. package/components/{TournamentTabs-DEQtwaH4.cjs → TournamentTabs-ryceiGS3.cjs} +1 -1
  65. package/components/TrophyIcon-DJyC3k-2.js +32 -0
  66. package/components/TrophyIcon-DbEHhyTe.js +32 -0
  67. package/components/TrophyIcon-DddCZpjC.cjs +1 -0
  68. package/components/TrophyIcon-eLIudkPn.cjs +1 -0
  69. package/es2015/tournament-details-page.cjs +1 -1
  70. package/es2015/tournament-details-page.js +2 -2
  71. package/esnext/tournament-details-page.cjs +1 -1
  72. package/esnext/tournament-details-page.js +2 -2
  73. package/package.json +1 -1
  74. package/components/StatusBadge-BVcNxptf.cjs +0 -8
  75. package/components/TournamentGames-B6UkeuiX.js +0 -821
  76. package/components/TournamentGames-CYxz1Jcl.cjs +0 -34
  77. package/components/TournamentGames-DO01jBJs.js +0 -799
  78. package/components/TournamentGames-Dt7xzVBn.cjs +0 -34
  79. package/components/TournamentLeaderboard-BufvnLFX.js +0 -1393
  80. package/components/TournamentLeaderboard-D1mX3sal.cjs +0 -38
  81. package/components/TournamentLeaderboard-D9OPwUvy.cjs +0 -38
  82. package/components/TournamentLeaderboard-Dqbb_r0i.js +0 -1451
  83. package/components/TournamentRules-BbxvSZdU.cjs +0 -6
  84. package/components/TournamentRules-Bsxb9Asj.js +0 -144
  85. package/components/TournamentRules-DX1CVsV7.cjs +0 -6
  86. package/components/TournamentRules-SECANCVS.js +0 -149
  87. package/components/TournamentSummary-Ardxi8yJ.js +0 -159
  88. package/components/TournamentSummary-BGk055-K.cjs +0 -3
  89. package/components/TournamentSummary-CizBbtzd.cjs +0 -3
  90. package/components/TournamentSummary-Dnj0Cnzu.js +0 -154
@@ -0,0 +1,150 @@
1
+ import { c as ie, g as oe, a as pe, p as R, L as F, i as z, t as c, b as m, d as _e, f, v as S, J as de, h as s, l as j, j as r, s as l, N as b, r as i, O as g, o as C, U as he, k as ve } from "./StatusBadge-94g1_G1j.js";
2
+ import { c as ue, b as ce } from "./TournamentLeaderboard-BM3HZ0jQ.js";
3
+ import { T as me } from "./TrophyIcon-DJyC3k-2.js";
4
+ import { P as be } from "./PeopleIcon-BL0lywpf.js";
5
+ import { C as ge } from "./ChartIcon-BnuWrPCu.js";
6
+ import { R as fe } from "./RankArrowIcon-DxqeIh-2.js";
7
+ typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
8
+ }, globalThis.customElements = { define() {
9
+ }, get() {
10
+ }, whenDefined() {
11
+ } });
12
+ var xe = f('<img class="tournament-details__title-icon svelte-193trhb" alt="" width="20" height="20"/>'), we = f('<span class="tournament-details__highlight svelte-193trhb"> </span>'), ke = f('<p class="tournament-details__rewards svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__label svelte-193trhb"> </span> <!></p>'), ye = f('<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 = f('<span><span class="tournament-details__trend-icon svelte-193trhb" aria-hidden="true"><!></span> <span class="tournament-details__trend-label svelte-193trhb"> </span></span>'), Le = f('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span> <!></p>'), Ce = f('<p class="tournament-details__meta svelte-193trhb"><span class="tournament-details__icon svelte-193trhb" aria-hidden="true"><!></span> <span> </span></p>'), Ie = f('<div class="tournament-details__summary svelte-193trhb"><h2 class="tournament-details__title svelte-193trhb"><!> <span> </span></h2> <!> <!> <!></div>');
13
+ const Re = {
14
+ hash: "svelte-193trhb",
15
+ code: `.tournament-details__summary.svelte-193trhb {display:flex;flex-direction:column;gap:12px;color:var(--text-default, rgba(223, 227, 232, 1));font-size:14px;line-height:1.5;p:where(.svelte-193trhb) {margin:0;}.tournament-details__title:where(.svelte-193trhb) {display:flex;align-items:center;gap:6px;margin:0;color:var(--text-default, rgba(223, 227, 232, 1));font-size:18px;font-weight:700;line-height:1.3;}.tournament-details__title-icon:where(.svelte-193trhb) {flex-shrink:0;width:16px;height:16px;object-fit:contain;}.tournament-details__label:where(.svelte-193trhb) {margin-right:6px;font-weight:500;}.tournament-details__highlight:where(.svelte-193trhb) {margin-right:6px;color:var(--text-brand, rgba(255, 204, 0, 1));font-weight:600;}.tournament-details__meta:where(.svelte-193trhb) {display:flex;align-items:center;gap:8px;}.tournament-details__icon:where(.svelte-193trhb) {display:inline-block;flex-shrink:0;width:16px;height:16px;margin-right:8px;vertical-align:-3px;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-block;width:10px;height:8px;}.tournament-details__trend--up:where(.svelte-193trhb) {color:var(--icon-success, rgba(50, 242, 0, 1));.tournament-details__trend-icon:where(.svelte-193trhb) {transform:rotate(180deg);}}.tournament-details__trend--down:where(.svelte-193trhb) {color:var(--icon-error, rgba(235, 0, 0, 1));}.tournament-details__trend-label:where(.svelte-193trhb) {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}}
16
+ @media (max-width: 767px) {.tournament-details__summary.svelte-193trhb {font-size:12px;.tournament-details__title:where(.svelte-193trhb) {margin-bottom:5px;font-size:14px;}}
17
+ }`
18
+ };
19
+ function ze(O, L) {
20
+ oe(L, !0), pe(O, Re);
21
+ const u = () => he(_, "$_", G), [G, K] = de(), o = R(L, "tournament", 7), D = R(L, "enrolled", 7, !1), x = R(L, "rank", 7, null), y = R(L, "rankTrend", 7, null), E = C(() => getTopRewards(o().prizes)), I = C(() => {
22
+ var e, t;
23
+ return (t = (e = o().overview) == null ? void 0 : e.participants) != null ? t : 0;
24
+ }), P = C(() => x() !== void 0 && x() !== null ? String(x()) : "-"), A = C(() => r(I) > 0 ? String(r(I)) : "-"), Q = C(() => {
25
+ var t, a;
26
+ const e = [];
27
+ return (t = o().wallet) != null && t.casino && e.push({ type: "casino", src: ue }), (a = o().wallet) != null && a.sports && e.push({ type: "sports", src: ce }), e;
28
+ });
29
+ var V = {
30
+ get tournament() {
31
+ return o();
32
+ },
33
+ set tournament(e) {
34
+ o(e), S();
35
+ },
36
+ get enrolled() {
37
+ return D();
38
+ },
39
+ set enrolled(e = !1) {
40
+ D(e), S();
41
+ },
42
+ get rank() {
43
+ return x();
44
+ },
45
+ set rank(e = null) {
46
+ x(e), S();
47
+ },
48
+ get rankTrend() {
49
+ return y();
50
+ },
51
+ set rankTrend(e = null) {
52
+ y(e), S();
53
+ }
54
+ }, U = Ie(), H = s(U), J = s(H);
55
+ F(J, 17, () => r(Q), (e) => e.type, (e, t) => {
56
+ var a = xe();
57
+ c(() => {
58
+ j(a, "src", r(t).src), j(a, "data-product", r(t).type);
59
+ }), m(e, a);
60
+ });
61
+ var W = l(J, 2), X = b(W, !0);
62
+ i(H);
63
+ var N = l(H, 2);
64
+ {
65
+ var Y = (e) => {
66
+ var t = ke(), a = s(t), w = s(a);
67
+ me(w, {}), i(a);
68
+ var p = l(a, 2), k = b(p), d = l(p, 2);
69
+ F(d, 18, () => r(E), (n) => n, (n, h, v) => {
70
+ var T = we(), M = b(T);
71
+ c(() => g(M, `${h != null ? h : ""}${r(v) < r(E).length - 1 ? "," : ""}`)), m(n, T);
72
+ }), i(t), c((n) => g(k, `${n != null ? n : ""} :`), [() => u()("topRewardsLabel")]), m(e, t);
73
+ };
74
+ z(N, (e) => {
75
+ r(E).length > 0 && e(Y);
76
+ });
77
+ }
78
+ var q = l(N, 2);
79
+ {
80
+ var Z = (e) => {
81
+ var t = ye(), a = s(t), w = b(a), p = l(a, 2), k = b(p, !0);
82
+ i(t), c(
83
+ (d, n) => {
84
+ g(w, `${d != null ? d : ""} :`), g(k, n);
85
+ },
86
+ [
87
+ () => u()("scoreCriteria"),
88
+ () => u()(o().scoreCriteria, { default: o().scoreCriteria })
89
+ ]
90
+ ), m(e, t);
91
+ };
92
+ z(q, (e) => {
93
+ o().scoreCriteria && e(Z);
94
+ });
95
+ }
96
+ var $ = l(q, 2);
97
+ {
98
+ var ee = (e) => {
99
+ var t = Le(), a = s(t), w = s(a);
100
+ ge(w, {}), i(a);
101
+ var p = l(a, 2), k = b(p, !0), d = l(p, 2);
102
+ {
103
+ var n = (h) => {
104
+ var v = Te(), T = s(v), M = s(T);
105
+ fe(M, {}), i(T);
106
+ var re = l(T, 2), ne = b(re, !0);
107
+ i(v), c(
108
+ (se, le) => {
109
+ var B;
110
+ ve(v, 1, `tournament-details__trend tournament-details__trend--${(B = y()) != null ? B : ""}`, "svelte-193trhb"), j(v, "title", se), g(ne, le);
111
+ },
112
+ [
113
+ () => u()(y() === "up" ? "rankUpLabel" : "rankDownLabel"),
114
+ () => u()(y() === "up" ? "rankUpLabel" : "rankDownLabel")
115
+ ]
116
+ ), m(h, v);
117
+ };
118
+ z(d, (h) => {
119
+ y() && x() !== null && x() !== void 0 && h(n);
120
+ });
121
+ }
122
+ i(t), c(
123
+ (h, v) => {
124
+ j(t, "aria-label", h), g(k, v);
125
+ },
126
+ [
127
+ () => u()("playerRankLabel", { values: { rank: r(P), total: r(A) } }),
128
+ () => u()("playerRank", { values: { rank: r(P), total: r(A) } })
129
+ ]
130
+ ), m(e, t);
131
+ }, te = (e) => {
132
+ var t = Ce(), a = s(t), w = s(a);
133
+ be(w, {}), i(a);
134
+ var p = l(a, 2), k = b(p, !0);
135
+ i(t), c((d) => g(k, d), [
136
+ () => u()("joinedCount", { values: { count: r(I) } })
137
+ ]), m(e, t);
138
+ };
139
+ z($, (e) => {
140
+ D() ? e(ee) : r(I) > 0 && e(te, 1);
141
+ });
142
+ }
143
+ i(U), c(() => g(X, o().nameOrTitle)), m(O, U);
144
+ var ae = _e(V);
145
+ return K(), ae;
146
+ }
147
+ ie(ze, { tournament: {}, enrolled: {}, rank: {}, rankTrend: {} }, [], [], { mode: "open" });
148
+ export {
149
+ ze as T
150
+ };
@@ -10,8 +10,8 @@ var m = (a, e, s) => e in a ? $(a, e, { enumerable: !0, configurable: !0, writab
10
10
  D.call(e, s) && m(a, s, e[s]);
11
11
  return a;
12
12
  }, f = (a, e) => C(a, j(e));
13
- import { B as S, c as A, g as B, a as H, p, L as M, j as o, b as h, d as I, f as _, o as J, v as g, J as N, N as O, t as U, k as q, l as F, O as G, T as K, r as P, U as Q, $ as R } from "./StatusBadge-BnPuCJnO.js";
14
- import { D as V } from "./TournamentLeaderboard-Dqbb_r0i.js";
13
+ import { B as S, c as A, g as B, a as H, p, L as M, j as o, b as h, d as I, f as _, o as J, v as g, J as N, N as O, t as U, k as q, l as F, O as G, T as K, r as P, U as Q, $ as R } from "./StatusBadge-94g1_G1j.js";
14
+ import { D as V } from "./TournamentLeaderboard-BM3HZ0jQ.js";
15
15
  typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
16
16
  }, globalThis.customElements = { define() {
17
17
  }, get() {
@@ -1,4 +1,4 @@
1
- typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-CV5WC0Fx.cjs"),_=require("./TournamentLeaderboard-D9OPwUvy.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));}}
1
+ typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-BsjzjNer.cjs"),_=require("./TournamentLeaderboard-B6IMbAZ_.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
- 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, o as j, v as d, J as E, N as D, t as S, k as A, l as B, O as H, T as M, r as I, U as J, $ as N } from "./StatusBadge-DKawANSc.js";
2
- import { D as O } from "./TournamentLeaderboard-BufvnLFX.js";
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, o as j, v as d, J as E, N as D, t as S, k as A, l as B, O as H, T as M, r as I, U as J, $ as N } from "./StatusBadge-DuF7NK69.js";
2
+ import { D as O } from "./TournamentLeaderboard-BJ0mlW5c.js";
3
3
  typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
4
4
  }, globalThis.customElements = { define() {
5
5
  }, get() {
@@ -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-BVcNxptf.cjs"),$=require("./TournamentLeaderboard-D1mX3sal.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));}}
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-Bdc22cMY.cjs"),$=require("./TournamentLeaderboard-1i-FoUCN.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;
@@ -0,0 +1,32 @@
1
+ import { c as o, g as d, p as s, t as g, b as p, d as u, Y as f, v as l, l as r } from "./StatusBadge-94g1_G1j.js";
2
+ typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
3
+ }, globalThis.customElements = { define() {
4
+ }, get() {
5
+ }, whenDefined() {
6
+ } });
7
+ var m = f('<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.23642 0.000175453C4.25689 0.000258184 4.27689 0.000339088 4.29636 0.000339088H10.3704C10.3899 0.000339088 10.4099 0.000258184 10.4304 0.000175453C10.6391 -0.000668151 10.8962 -0.0017075 11.1228 0.0807489C11.4931 0.215547 11.7849 0.50729 11.9197 0.877646C11.9729 1.02399 11.9913 1.1831 11.9975 1.33367L13.0177 1.33367C13.1577 1.33366 13.2942 1.33364 13.4102 1.34156C13.5371 1.35022 13.6876 1.37054 13.8436 1.43517C14.1703 1.57049 14.4299 1.83006 14.5652 2.15676C14.6299 2.31279 14.6502 2.46327 14.6588 2.59019C14.6668 2.70624 14.6667 2.84266 14.6667 2.98269V3.33367C14.6667 3.3647 14.6667 3.39526 14.6668 3.42539C14.6671 3.95565 14.6673 4.34942 14.5759 4.69052C14.3293 5.61077 13.6105 6.32956 12.6902 6.57614C12.4365 6.64412 12.1537 6.66142 11.8072 6.66571C11.2953 8.38761 9.81636 9.69328 8.00006 9.95308V10.667H8.29636C9.97367 10.667 11.3334 12.0267 11.3334 13.704C11.3334 14.2359 10.9023 14.667 10.3704 14.667H4.29636C3.76453 14.667 3.3334 14.2359 3.3334 13.704C3.3334 12.0267 4.69313 10.667 6.37043 10.667H6.66673V9.95308C4.85043 9.69328 3.37151 8.38761 2.8596 6.66571C2.51311 6.66142 2.23026 6.64412 1.97655 6.57614C1.0563 6.32956 0.337508 5.61077 0.0909288 4.69052C-0.00046888 4.34942 -0.000255658 3.95565 3.14778e-05 3.42539C4.77697e-05 3.39527 6.43001e-05 3.3647 6.43001e-05 3.33367V3.00034C6.43001e-05 2.99445 6.37438e-05 2.98857 6.31875e-05 2.98269C4.92003e-05 2.84266 3.56107e-05 2.70624 0.00795401 2.59019C0.0166133 2.46327 0.0369291 2.31279 0.101558 2.15676C0.236884 1.83006 0.496449 1.57049 0.823153 1.43517C0.979182 1.37054 1.12967 1.35022 1.25658 1.34156C1.37264 1.33364 1.50905 1.33366 1.64908 1.33367C1.65496 1.33367 1.66084 1.33367 1.66673 1.33367H2.66931C2.67545 1.1831 2.69387 1.02399 2.74714 0.877646C2.88194 0.50729 3.17368 0.215547 3.54404 0.0807489C3.77058 -0.0017075 4.02771 -0.000668151 4.23642 0.000175453ZM2.66673 2.66701H1.66673C1.5023 2.66701 1.41236 2.66737 1.34734 2.6718C1.34432 2.67201 1.34148 2.67222 1.33882 2.67243C1.33861 2.67509 1.3384 2.67793 1.33819 2.68095C1.33376 2.74597 1.3334 2.8359 1.3334 3.00034V3.33367C1.3334 3.99657 1.33912 4.19725 1.37883 4.34543C1.50212 4.80555 1.86152 5.16495 2.32164 5.28824C2.40083 5.30946 2.49502 5.32098 2.66673 5.3271V2.66701ZM4.00006 1.62997C4.00006 1.48393 4.00035 1.40407 4.00386 1.34617C4.00404 1.34326 4.00422 1.34054 4.0044 1.33801C4.00694 1.33783 4.00966 1.33765 4.01257 1.33747C4.07046 1.33396 4.15032 1.33367 4.29636 1.33367H10.3704C10.5165 1.33367 10.5963 1.33396 10.6542 1.33747C10.6571 1.33765 10.6599 1.33783 10.6624 1.33801C10.6626 1.34054 10.6628 1.34326 10.6629 1.34617C10.6664 1.40407 10.6667 1.48393 10.6667 1.62997V5.33367C10.6667 7.17462 9.17435 8.66701 7.3334 8.66701C5.49245 8.66701 4.00006 7.17462 4.00006 5.33367V1.62997ZM12.0001 2.66701V5.3271C12.1718 5.32098 12.266 5.30946 12.3452 5.28824C12.8053 5.16495 13.1647 4.80555 13.288 4.34543C13.3277 4.19725 13.3334 3.99657 13.3334 3.33367V3.00034C13.3334 2.8359 13.333 2.74597 13.3286 2.68095C13.3284 2.67793 13.3282 2.67509 13.328 2.67243C13.3253 2.67222 13.3225 2.67201 13.3195 2.6718C13.2544 2.66737 13.1645 2.66701 13.0001 2.66701H12.0001ZM6.37043 12.0003C5.5567 12.0003 4.87621 12.5708 4.7071 13.3337H9.95969C9.79059 12.5708 9.1101 12.0003 8.29636 12.0003H6.37043Z" fill="currentColor"></path></svg>');
8
+ function v(a, e) {
9
+ d(e, !0);
10
+ let C = s(e, "width", 7, 15), t = s(e, "height", 7, 15);
11
+ var n = {
12
+ get width() {
13
+ return C();
14
+ },
15
+ set width(i = 15) {
16
+ C(i), l();
17
+ },
18
+ get height() {
19
+ return t();
20
+ },
21
+ set height(i = 15) {
22
+ t(i), l();
23
+ }
24
+ }, h = m();
25
+ return g(() => {
26
+ r(h, "width", C()), r(h, "height", t());
27
+ }), p(a, h), u(n);
28
+ }
29
+ o(v, { width: {}, height: {} }, [], [], { mode: "open" });
30
+ export {
31
+ v as T
32
+ };
@@ -0,0 +1,32 @@
1
+ import { c as o, g as d, p as s, t as g, b as p, d as u, Y as f, v as l, l as r } from "./StatusBadge-DuF7NK69.js";
2
+ typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
3
+ }, globalThis.customElements = { define() {
4
+ }, get() {
5
+ }, whenDefined() {
6
+ } });
7
+ var m = f('<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.23642 0.000175453C4.25689 0.000258184 4.27689 0.000339088 4.29636 0.000339088H10.3704C10.3899 0.000339088 10.4099 0.000258184 10.4304 0.000175453C10.6391 -0.000668151 10.8962 -0.0017075 11.1228 0.0807489C11.4931 0.215547 11.7849 0.50729 11.9197 0.877646C11.9729 1.02399 11.9913 1.1831 11.9975 1.33367L13.0177 1.33367C13.1577 1.33366 13.2942 1.33364 13.4102 1.34156C13.5371 1.35022 13.6876 1.37054 13.8436 1.43517C14.1703 1.57049 14.4299 1.83006 14.5652 2.15676C14.6299 2.31279 14.6502 2.46327 14.6588 2.59019C14.6668 2.70624 14.6667 2.84266 14.6667 2.98269V3.33367C14.6667 3.3647 14.6667 3.39526 14.6668 3.42539C14.6671 3.95565 14.6673 4.34942 14.5759 4.69052C14.3293 5.61077 13.6105 6.32956 12.6902 6.57614C12.4365 6.64412 12.1537 6.66142 11.8072 6.66571C11.2953 8.38761 9.81636 9.69328 8.00006 9.95308V10.667H8.29636C9.97367 10.667 11.3334 12.0267 11.3334 13.704C11.3334 14.2359 10.9023 14.667 10.3704 14.667H4.29636C3.76453 14.667 3.3334 14.2359 3.3334 13.704C3.3334 12.0267 4.69313 10.667 6.37043 10.667H6.66673V9.95308C4.85043 9.69328 3.37151 8.38761 2.8596 6.66571C2.51311 6.66142 2.23026 6.64412 1.97655 6.57614C1.0563 6.32956 0.337508 5.61077 0.0909288 4.69052C-0.00046888 4.34942 -0.000255658 3.95565 3.14778e-05 3.42539C4.77697e-05 3.39527 6.43001e-05 3.3647 6.43001e-05 3.33367V3.00034C6.43001e-05 2.99445 6.37438e-05 2.98857 6.31875e-05 2.98269C4.92003e-05 2.84266 3.56107e-05 2.70624 0.00795401 2.59019C0.0166133 2.46327 0.0369291 2.31279 0.101558 2.15676C0.236884 1.83006 0.496449 1.57049 0.823153 1.43517C0.979182 1.37054 1.12967 1.35022 1.25658 1.34156C1.37264 1.33364 1.50905 1.33366 1.64908 1.33367C1.65496 1.33367 1.66084 1.33367 1.66673 1.33367H2.66931C2.67545 1.1831 2.69387 1.02399 2.74714 0.877646C2.88194 0.50729 3.17368 0.215547 3.54404 0.0807489C3.77058 -0.0017075 4.02771 -0.000668151 4.23642 0.000175453ZM2.66673 2.66701H1.66673C1.5023 2.66701 1.41236 2.66737 1.34734 2.6718C1.34432 2.67201 1.34148 2.67222 1.33882 2.67243C1.33861 2.67509 1.3384 2.67793 1.33819 2.68095C1.33376 2.74597 1.3334 2.8359 1.3334 3.00034V3.33367C1.3334 3.99657 1.33912 4.19725 1.37883 4.34543C1.50212 4.80555 1.86152 5.16495 2.32164 5.28824C2.40083 5.30946 2.49502 5.32098 2.66673 5.3271V2.66701ZM4.00006 1.62997C4.00006 1.48393 4.00035 1.40407 4.00386 1.34617C4.00404 1.34326 4.00422 1.34054 4.0044 1.33801C4.00694 1.33783 4.00966 1.33765 4.01257 1.33747C4.07046 1.33396 4.15032 1.33367 4.29636 1.33367H10.3704C10.5165 1.33367 10.5963 1.33396 10.6542 1.33747C10.6571 1.33765 10.6599 1.33783 10.6624 1.33801C10.6626 1.34054 10.6628 1.34326 10.6629 1.34617C10.6664 1.40407 10.6667 1.48393 10.6667 1.62997V5.33367C10.6667 7.17462 9.17435 8.66701 7.3334 8.66701C5.49245 8.66701 4.00006 7.17462 4.00006 5.33367V1.62997ZM12.0001 2.66701V5.3271C12.1718 5.32098 12.266 5.30946 12.3452 5.28824C12.8053 5.16495 13.1647 4.80555 13.288 4.34543C13.3277 4.19725 13.3334 3.99657 13.3334 3.33367V3.00034C13.3334 2.8359 13.333 2.74597 13.3286 2.68095C13.3284 2.67793 13.3282 2.67509 13.328 2.67243C13.3253 2.67222 13.3225 2.67201 13.3195 2.6718C13.2544 2.66737 13.1645 2.66701 13.0001 2.66701H12.0001ZM6.37043 12.0003C5.5567 12.0003 4.87621 12.5708 4.7071 13.3337H9.95969C9.79059 12.5708 9.1101 12.0003 8.29636 12.0003H6.37043Z" fill="currentColor"></path></svg>');
8
+ function v(a, e) {
9
+ d(e, !0);
10
+ let C = s(e, "width", 7, 15), t = s(e, "height", 7, 15);
11
+ var n = {
12
+ get width() {
13
+ return C();
14
+ },
15
+ set width(i = 15) {
16
+ C(i), l();
17
+ },
18
+ get height() {
19
+ return t();
20
+ },
21
+ set height(i = 15) {
22
+ t(i), l();
23
+ }
24
+ }, h = m();
25
+ return g(() => {
26
+ r(h, "width", C()), r(h, "height", t());
27
+ }), p(a, h), u(n);
28
+ }
29
+ o(v, { width: {}, height: {} }, [], [], { mode: "open" });
30
+ export {
31
+ v as T
32
+ };
@@ -0,0 +1 @@
1
+ typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-Bdc22cMY.cjs");var s=e.from_svg('<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.23642 0.000175453C4.25689 0.000258184 4.27689 0.000339088 4.29636 0.000339088H10.3704C10.3899 0.000339088 10.4099 0.000258184 10.4304 0.000175453C10.6391 -0.000668151 10.8962 -0.0017075 11.1228 0.0807489C11.4931 0.215547 11.7849 0.50729 11.9197 0.877646C11.9729 1.02399 11.9913 1.1831 11.9975 1.33367L13.0177 1.33367C13.1577 1.33366 13.2942 1.33364 13.4102 1.34156C13.5371 1.35022 13.6876 1.37054 13.8436 1.43517C14.1703 1.57049 14.4299 1.83006 14.5652 2.15676C14.6299 2.31279 14.6502 2.46327 14.6588 2.59019C14.6668 2.70624 14.6667 2.84266 14.6667 2.98269V3.33367C14.6667 3.3647 14.6667 3.39526 14.6668 3.42539C14.6671 3.95565 14.6673 4.34942 14.5759 4.69052C14.3293 5.61077 13.6105 6.32956 12.6902 6.57614C12.4365 6.64412 12.1537 6.66142 11.8072 6.66571C11.2953 8.38761 9.81636 9.69328 8.00006 9.95308V10.667H8.29636C9.97367 10.667 11.3334 12.0267 11.3334 13.704C11.3334 14.2359 10.9023 14.667 10.3704 14.667H4.29636C3.76453 14.667 3.3334 14.2359 3.3334 13.704C3.3334 12.0267 4.69313 10.667 6.37043 10.667H6.66673V9.95308C4.85043 9.69328 3.37151 8.38761 2.8596 6.66571C2.51311 6.66142 2.23026 6.64412 1.97655 6.57614C1.0563 6.32956 0.337508 5.61077 0.0909288 4.69052C-0.00046888 4.34942 -0.000255658 3.95565 3.14778e-05 3.42539C4.77697e-05 3.39527 6.43001e-05 3.3647 6.43001e-05 3.33367V3.00034C6.43001e-05 2.99445 6.37438e-05 2.98857 6.31875e-05 2.98269C4.92003e-05 2.84266 3.56107e-05 2.70624 0.00795401 2.59019C0.0166133 2.46327 0.0369291 2.31279 0.101558 2.15676C0.236884 1.83006 0.496449 1.57049 0.823153 1.43517C0.979182 1.37054 1.12967 1.35022 1.25658 1.34156C1.37264 1.33364 1.50905 1.33366 1.64908 1.33367C1.65496 1.33367 1.66084 1.33367 1.66673 1.33367H2.66931C2.67545 1.1831 2.69387 1.02399 2.74714 0.877646C2.88194 0.50729 3.17368 0.215547 3.54404 0.0807489C3.77058 -0.0017075 4.02771 -0.000668151 4.23642 0.000175453ZM2.66673 2.66701H1.66673C1.5023 2.66701 1.41236 2.66737 1.34734 2.6718C1.34432 2.67201 1.34148 2.67222 1.33882 2.67243C1.33861 2.67509 1.3384 2.67793 1.33819 2.68095C1.33376 2.74597 1.3334 2.8359 1.3334 3.00034V3.33367C1.3334 3.99657 1.33912 4.19725 1.37883 4.34543C1.50212 4.80555 1.86152 5.16495 2.32164 5.28824C2.40083 5.30946 2.49502 5.32098 2.66673 5.3271V2.66701ZM4.00006 1.62997C4.00006 1.48393 4.00035 1.40407 4.00386 1.34617C4.00404 1.34326 4.00422 1.34054 4.0044 1.33801C4.00694 1.33783 4.00966 1.33765 4.01257 1.33747C4.07046 1.33396 4.15032 1.33367 4.29636 1.33367H10.3704C10.5165 1.33367 10.5963 1.33396 10.6542 1.33747C10.6571 1.33765 10.6599 1.33783 10.6624 1.33801C10.6626 1.34054 10.6628 1.34326 10.6629 1.34617C10.6664 1.40407 10.6667 1.48393 10.6667 1.62997V5.33367C10.6667 7.17462 9.17435 8.66701 7.3334 8.66701C5.49245 8.66701 4.00006 7.17462 4.00006 5.33367V1.62997ZM12.0001 2.66701V5.3271C12.1718 5.32098 12.266 5.30946 12.3452 5.28824C12.8053 5.16495 13.1647 4.80555 13.288 4.34543C13.3277 4.19725 13.3334 3.99657 13.3334 3.33367V3.00034C13.3334 2.8359 13.333 2.74597 13.3286 2.68095C13.3284 2.67793 13.3282 2.67509 13.328 2.67243C13.3253 2.67222 13.3225 2.67201 13.3195 2.6718C13.2544 2.66737 13.1645 2.66701 13.0001 2.66701H12.0001ZM6.37043 12.0003C5.5567 12.0003 4.87621 12.5708 4.7071 13.3337H9.95969C9.79059 12.5708 9.1101 12.0003 8.29636 12.0003H6.37043Z" fill="currentColor"></path></svg>');function r(o,C){e.push(C,!0);let t=e.prop(C,"width",7,15),h=e.prop(C,"height",7,15);var l={get width(){return t()},set width(n=15){t(n),e.flushSync()},get height(){return h()},set height(n=15){h(n),e.flushSync()}},i=s();return e.template_effect(()=>{e.set_attribute(i,"width",t()),e.set_attribute(i,"height",h())}),e.append(o,i),e.pop(l)}e.create_custom_element(r,{width:{},height:{}},[],[],{mode:"open"});exports.TrophyIcon=r;
@@ -0,0 +1 @@
1
+ typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const e=require("./StatusBadge-BsjzjNer.cjs");var s=e.from_svg('<svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.23642 0.000175453C4.25689 0.000258184 4.27689 0.000339088 4.29636 0.000339088H10.3704C10.3899 0.000339088 10.4099 0.000258184 10.4304 0.000175453C10.6391 -0.000668151 10.8962 -0.0017075 11.1228 0.0807489C11.4931 0.215547 11.7849 0.50729 11.9197 0.877646C11.9729 1.02399 11.9913 1.1831 11.9975 1.33367L13.0177 1.33367C13.1577 1.33366 13.2942 1.33364 13.4102 1.34156C13.5371 1.35022 13.6876 1.37054 13.8436 1.43517C14.1703 1.57049 14.4299 1.83006 14.5652 2.15676C14.6299 2.31279 14.6502 2.46327 14.6588 2.59019C14.6668 2.70624 14.6667 2.84266 14.6667 2.98269V3.33367C14.6667 3.3647 14.6667 3.39526 14.6668 3.42539C14.6671 3.95565 14.6673 4.34942 14.5759 4.69052C14.3293 5.61077 13.6105 6.32956 12.6902 6.57614C12.4365 6.64412 12.1537 6.66142 11.8072 6.66571C11.2953 8.38761 9.81636 9.69328 8.00006 9.95308V10.667H8.29636C9.97367 10.667 11.3334 12.0267 11.3334 13.704C11.3334 14.2359 10.9023 14.667 10.3704 14.667H4.29636C3.76453 14.667 3.3334 14.2359 3.3334 13.704C3.3334 12.0267 4.69313 10.667 6.37043 10.667H6.66673V9.95308C4.85043 9.69328 3.37151 8.38761 2.8596 6.66571C2.51311 6.66142 2.23026 6.64412 1.97655 6.57614C1.0563 6.32956 0.337508 5.61077 0.0909288 4.69052C-0.00046888 4.34942 -0.000255658 3.95565 3.14778e-05 3.42539C4.77697e-05 3.39527 6.43001e-05 3.3647 6.43001e-05 3.33367V3.00034C6.43001e-05 2.99445 6.37438e-05 2.98857 6.31875e-05 2.98269C4.92003e-05 2.84266 3.56107e-05 2.70624 0.00795401 2.59019C0.0166133 2.46327 0.0369291 2.31279 0.101558 2.15676C0.236884 1.83006 0.496449 1.57049 0.823153 1.43517C0.979182 1.37054 1.12967 1.35022 1.25658 1.34156C1.37264 1.33364 1.50905 1.33366 1.64908 1.33367C1.65496 1.33367 1.66084 1.33367 1.66673 1.33367H2.66931C2.67545 1.1831 2.69387 1.02399 2.74714 0.877646C2.88194 0.50729 3.17368 0.215547 3.54404 0.0807489C3.77058 -0.0017075 4.02771 -0.000668151 4.23642 0.000175453ZM2.66673 2.66701H1.66673C1.5023 2.66701 1.41236 2.66737 1.34734 2.6718C1.34432 2.67201 1.34148 2.67222 1.33882 2.67243C1.33861 2.67509 1.3384 2.67793 1.33819 2.68095C1.33376 2.74597 1.3334 2.8359 1.3334 3.00034V3.33367C1.3334 3.99657 1.33912 4.19725 1.37883 4.34543C1.50212 4.80555 1.86152 5.16495 2.32164 5.28824C2.40083 5.30946 2.49502 5.32098 2.66673 5.3271V2.66701ZM4.00006 1.62997C4.00006 1.48393 4.00035 1.40407 4.00386 1.34617C4.00404 1.34326 4.00422 1.34054 4.0044 1.33801C4.00694 1.33783 4.00966 1.33765 4.01257 1.33747C4.07046 1.33396 4.15032 1.33367 4.29636 1.33367H10.3704C10.5165 1.33367 10.5963 1.33396 10.6542 1.33747C10.6571 1.33765 10.6599 1.33783 10.6624 1.33801C10.6626 1.34054 10.6628 1.34326 10.6629 1.34617C10.6664 1.40407 10.6667 1.48393 10.6667 1.62997V5.33367C10.6667 7.17462 9.17435 8.66701 7.3334 8.66701C5.49245 8.66701 4.00006 7.17462 4.00006 5.33367V1.62997ZM12.0001 2.66701V5.3271C12.1718 5.32098 12.266 5.30946 12.3452 5.28824C12.8053 5.16495 13.1647 4.80555 13.288 4.34543C13.3277 4.19725 13.3334 3.99657 13.3334 3.33367V3.00034C13.3334 2.8359 13.333 2.74597 13.3286 2.68095C13.3284 2.67793 13.3282 2.67509 13.328 2.67243C13.3253 2.67222 13.3225 2.67201 13.3195 2.6718C13.2544 2.66737 13.1645 2.66701 13.0001 2.66701H12.0001ZM6.37043 12.0003C5.5567 12.0003 4.87621 12.5708 4.7071 13.3337H9.95969C9.79059 12.5708 9.1101 12.0003 8.29636 12.0003H6.37043Z" fill="currentColor"></path></svg>');function r(o,C){e.push(C,!0);let t=e.prop(C,"width",7,15),h=e.prop(C,"height",7,15);var l={get width(){return t()},set width(n=15){t(n),e.flushSync()},get height(){return h()},set height(n=15){h(n),e.flushSync()}},i=s();return e.template_effect(()=>{e.set_attribute(i,"width",t()),e.set_attribute(i,"height",h())}),e.append(o,i),e.pop(l)}e.create_custom_element(r,{width:{},height:{}},[],[],{mode:"open"});exports.TrophyIcon=r;
@@ -1 +1 @@
1
- typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const a=require("../components/TournamentDetailsPage-Cy3rGC6M.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-Cy3rGC6M.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
+ typeof globalThis.HTMLElement=="undefined"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const a=require("../components/TournamentDetailsPage-DbL7sBZM.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-DbL7sBZM.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-LzqcZox2.js";
1
+ import { T as l } from "../components/TournamentDetailsPage-AkoBgtU-.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-LzqcZox2.js").then((e) => e.a).then((e) => {
19
+ customElements.define = s(customElements.define), import("../components/TournamentDetailsPage-AkoBgtU-.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-D4ZDEGSF.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-D4ZDEGSF.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
+ typeof globalThis.HTMLElement>"u"&&(globalThis.HTMLElement=class{},globalThis.customElements={define(){},get(){},whenDefined(){}});const a=require("../components/TournamentDetailsPage-DKQGDSr1.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-DKQGDSr1.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-DQ5X0Dqc.js";
1
+ import { T as l } from "../components/TournamentDetailsPage-BknZ3XLG.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-DQ5X0Dqc.js").then((e) => e.a).then((e) => {
19
+ customElements.define = s(customElements.define), import("../components/TournamentDetailsPage-BknZ3XLG.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/tournament-details-page",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "main": "./esnext/tournament-details-page.cjs",
6
6
  "module": "./esnext/tournament-details-page.js",