@everymatrix/casino-tournaments-controller 1.67.0 → 1.68.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/CasinoTournamentsController-C99E3MCm.cjs +27 -0
- package/components/{CasinoTournamentsController-BULZ_y4b.js → CasinoTournamentsController-CtQ0SbZ1.js} +974 -934
- package/components/{CasinoTournamentsController-2bTwgvFF.js → CasinoTournamentsController-Dv0w6uxv.js} +1042 -1002
- package/components/CasinoTournamentsFilterController-CA_x2Klb.js +531 -0
- package/components/CasinoTournamentsFilterController-D8z30hIO.cjs +1 -0
- package/components/{CasinoTournamentsFilterController-CoqpuR3P.js → CasinoTournamentsFilterController-ZPodzMjS.js} +164 -169
- package/components/{CasinoTournamentsListController-DuHpRjLq.js → CasinoTournamentsListController-BYjVebPq.js} +960 -958
- package/components/CasinoTournamentsListController-CMsPWeSH.cjs +13 -0
- package/components/{CasinoTournamentsListController-DT6zQNpY.js → CasinoTournamentsListController-CWtG_Kjm.js} +960 -958
- package/components/{CasinoTournamentsThumbnail-lBi843NX.js → CasinoTournamentsThumbnail-DIFGhQrc.js} +185 -193
- package/components/{CasinoTournamentsThumbnail-CueG5cos.js → CasinoTournamentsThumbnail-Dtfyse7r.js} +185 -193
- package/components/{CasinoTournamentsThumbnail-BWfbNcYT.cjs → CasinoTournamentsThumbnail-zXFGDGG1.cjs} +2 -2
- package/components/CasinoTournamentsThumbnailController-Cjehrx7D.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailController-eBnrMpwv.js → CasinoTournamentsThumbnailController-DChZllZ4.js} +470 -434
- package/components/{CasinoTournamentsThumbnailController-CBp3ylH6.js → CasinoTournamentsThumbnailController-cPtKiglf.js} +397 -361
- package/components/{CasinoTournamentsThumbnailDuration-B87YJ1nA.js → CasinoTournamentsThumbnailDuration-CRqfmGfU.js} +156 -162
- package/components/{CasinoTournamentsThumbnailDuration-CEChJpk4.js → CasinoTournamentsThumbnailDuration-DFTngt18.js} +154 -160
- package/components/CasinoTournamentsThumbnailDuration-kjnnyoM_.cjs +1 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-CrfM0zwZ.js +434 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-K4TlIiKZ.cjs +1 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-cZ5Ks8Mw.js +434 -0
- package/components/CasinoTournamentsThumbnailPrizes-Ba3SYovQ.js +307 -0
- package/components/CasinoTournamentsThumbnailPrizes-C1nsvr3R.js +307 -0
- package/components/CasinoTournamentsThumbnailPrizes-DnyppL-K.cjs +1 -0
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsController-CYyTUNIz.cjs +0 -27
- package/components/CasinoTournamentsFilterController-DXDkdo0S.js +0 -536
- package/components/CasinoTournamentsFilterController-DjLEXDTC.cjs +0 -1
- package/components/CasinoTournamentsListController-DWgmnfOc.cjs +0 -13
- package/components/CasinoTournamentsThumbnailController-CE8cLaj5.cjs +0 -1
- package/components/CasinoTournamentsThumbnailDuration-DYI4yj5n.cjs +0 -1
- package/components/CasinoTournamentsThumbnailGamesSlider-DODIM4Fk.js +0 -442
- package/components/CasinoTournamentsThumbnailGamesSlider-DWAgOpLA.cjs +0 -1
- package/components/CasinoTournamentsThumbnailGamesSlider-LtmE1Ho2.js +0 -442
- package/components/CasinoTournamentsThumbnailPrizes-BpQPVoHy.cjs +0 -1
- package/components/CasinoTournamentsThumbnailPrizes-CWqeOB0q.js +0 -315
- package/components/CasinoTournamentsThumbnailPrizes-DBsFGpAH.js +0 -315
|
@@ -1,315 +0,0 @@
|
|
|
1
|
-
import { a as A, S as Z, i as I, s as R, f as T, b as j, n as M, d as k, o as v, e as F, p as f, g, q as b, t as _, h as u, k as B, w as O, l as N, m as U, r as q, c as V, $ as W } from "./CasinoTournamentsController-BULZ_y4b.js";
|
|
2
|
-
function H(l, e) {
|
|
3
|
-
A(l, e);
|
|
4
|
-
}
|
|
5
|
-
const S = {
|
|
6
|
-
en: {
|
|
7
|
-
prizes: "Prizes",
|
|
8
|
-
noprizes: "No available prizes",
|
|
9
|
-
place: "place"
|
|
10
|
-
},
|
|
11
|
-
hr: {
|
|
12
|
-
prizes: "Nagrade",
|
|
13
|
-
noprizes: "Nema dostupnih nagrada",
|
|
14
|
-
place: "mjesto"
|
|
15
|
-
},
|
|
16
|
-
"zh-hk": {
|
|
17
|
-
prizes: "獎品",
|
|
18
|
-
noprizes: "沒有可用的獎品",
|
|
19
|
-
place: "位置"
|
|
20
|
-
},
|
|
21
|
-
fr: {
|
|
22
|
-
prizes: "Prix",
|
|
23
|
-
noprizes: "Aucun prix disponible",
|
|
24
|
-
place: "place"
|
|
25
|
-
},
|
|
26
|
-
ro: {
|
|
27
|
-
prizes: "Premii",
|
|
28
|
-
noprizes: "Nu sunt disponibile premii",
|
|
29
|
-
place: "poziție"
|
|
30
|
-
},
|
|
31
|
-
tr: {
|
|
32
|
-
prizes: "Ödüller",
|
|
33
|
-
noprizes: "Mevcut ödül yok",
|
|
34
|
-
place: "yer"
|
|
35
|
-
},
|
|
36
|
-
el: {
|
|
37
|
-
prizes: "Έπαθλα",
|
|
38
|
-
noprizes: "Μη διαθέσιμα έπαθλα",
|
|
39
|
-
place: "θέση"
|
|
40
|
-
},
|
|
41
|
-
es: {
|
|
42
|
-
prizes: "Premios",
|
|
43
|
-
noprizes: "No hay premios disponibles",
|
|
44
|
-
place: "lugar"
|
|
45
|
-
},
|
|
46
|
-
hu: {
|
|
47
|
-
prizes: "Nyeremények",
|
|
48
|
-
noprizes: "Nincs elérhető nyeremény",
|
|
49
|
-
place: "helyezés"
|
|
50
|
-
},
|
|
51
|
-
pt: {
|
|
52
|
-
prizes: "Prêmios",
|
|
53
|
-
noprizes: "Não há prêmios disponíveis",
|
|
54
|
-
place: "place"
|
|
55
|
-
},
|
|
56
|
-
"en-us": {
|
|
57
|
-
prizes: "Prizes",
|
|
58
|
-
noprizes: "No available prizes",
|
|
59
|
-
place: "place"
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
function D(l) {
|
|
63
|
-
j(l, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
|
|
64
|
-
}
|
|
65
|
-
function E(l, e, t) {
|
|
66
|
-
const n = l.slice();
|
|
67
|
-
return n[13] = e[t], n[15] = t, n;
|
|
68
|
-
}
|
|
69
|
-
function L(l) {
|
|
70
|
-
let e, t = N(
|
|
71
|
-
/*prizes*/
|
|
72
|
-
l[1]
|
|
73
|
-
), n = [];
|
|
74
|
-
for (let i = 0; i < t.length; i += 1)
|
|
75
|
-
n[i] = x(E(l, t, i));
|
|
76
|
-
let r = null;
|
|
77
|
-
return t.length || (r = C(l)), {
|
|
78
|
-
c() {
|
|
79
|
-
e = g("div");
|
|
80
|
-
for (let i = 0; i < n.length; i += 1)
|
|
81
|
-
n[i].c();
|
|
82
|
-
r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
|
|
83
|
-
},
|
|
84
|
-
m(i, c) {
|
|
85
|
-
F(i, e, c);
|
|
86
|
-
for (let s = 0; s < n.length; s += 1)
|
|
87
|
-
n[s] && n[s].m(e, null);
|
|
88
|
-
r && r.m(e, null);
|
|
89
|
-
},
|
|
90
|
-
p(i, c) {
|
|
91
|
-
if (c & /*prizes, $_*/
|
|
92
|
-
6) {
|
|
93
|
-
t = N(
|
|
94
|
-
/*prizes*/
|
|
95
|
-
i[1]
|
|
96
|
-
);
|
|
97
|
-
let s;
|
|
98
|
-
for (s = 0; s < t.length; s += 1) {
|
|
99
|
-
const p = E(i, t, s);
|
|
100
|
-
n[s] ? n[s].p(p, c) : (n[s] = x(p), n[s].c(), n[s].m(e, null));
|
|
101
|
-
}
|
|
102
|
-
for (; s < n.length; s += 1)
|
|
103
|
-
n[s].d(1);
|
|
104
|
-
n.length = t.length, !t.length && r ? r.p(i, c) : t.length ? r && (r.d(1), r = null) : (r = C(i), r.c(), r.m(e, null));
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
d(i) {
|
|
108
|
-
i && k(e), U(n, i), r && r.d();
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
function C(l) {
|
|
113
|
-
let e, t = (
|
|
114
|
-
/*$_*/
|
|
115
|
-
l[2]("noprizes") + ""
|
|
116
|
-
), n;
|
|
117
|
-
return {
|
|
118
|
-
c() {
|
|
119
|
-
e = g("p"), n = _(t);
|
|
120
|
-
},
|
|
121
|
-
m(r, i) {
|
|
122
|
-
F(r, e, i), f(e, n);
|
|
123
|
-
},
|
|
124
|
-
p(r, i) {
|
|
125
|
-
i & /*$_*/
|
|
126
|
-
4 && t !== (t = /*$_*/
|
|
127
|
-
r[2]("noprizes") + "") && v(n, t);
|
|
128
|
-
},
|
|
129
|
-
d(r) {
|
|
130
|
-
r && k(e);
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
function x(l) {
|
|
135
|
-
let e, t, n, r = (
|
|
136
|
-
/*prize*/
|
|
137
|
-
(l[13].count > 1 ? `${/*prize*/
|
|
138
|
-
l[13].rank}~${/*prize*/
|
|
139
|
-
l[13].rank + /*prize*/
|
|
140
|
-
l[13].count - 1}` : (
|
|
141
|
-
/*prize*/
|
|
142
|
-
l[13].rank
|
|
143
|
-
)) + ""
|
|
144
|
-
), i, c, s = (
|
|
145
|
-
/*$_*/
|
|
146
|
-
l[2]("place") + ""
|
|
147
|
-
), p, o, d = (
|
|
148
|
-
/*prize*/
|
|
149
|
-
l[13].name + ""
|
|
150
|
-
), z, w;
|
|
151
|
-
return {
|
|
152
|
-
c() {
|
|
153
|
-
e = g("div"), t = g("p"), n = g("span"), i = _(r), c = b(), p = _(s), o = _(": "), z = _(d), w = b(), u(n, "class", "PrizeRank"), u(n, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
|
|
154
|
-
l[15]), u(e, "part", "Prize Prize" + /*index*/
|
|
155
|
-
l[15]);
|
|
156
|
-
},
|
|
157
|
-
m(h, y) {
|
|
158
|
-
F(h, e, y), f(e, t), f(t, n), f(n, i), f(t, c), f(t, p), f(t, o), f(t, z), f(e, w);
|
|
159
|
-
},
|
|
160
|
-
p(h, y) {
|
|
161
|
-
y & /*prizes*/
|
|
162
|
-
2 && r !== (r = /*prize*/
|
|
163
|
-
(h[13].count > 1 ? `${/*prize*/
|
|
164
|
-
h[13].rank}~${/*prize*/
|
|
165
|
-
h[13].rank + /*prize*/
|
|
166
|
-
h[13].count - 1}` : (
|
|
167
|
-
/*prize*/
|
|
168
|
-
h[13].rank
|
|
169
|
-
)) + "") && v(i, r), y & /*$_*/
|
|
170
|
-
4 && s !== (s = /*$_*/
|
|
171
|
-
h[2]("place") + "") && v(p, s), y & /*prizes*/
|
|
172
|
-
2 && d !== (d = /*prize*/
|
|
173
|
-
h[13].name + "") && v(z, d);
|
|
174
|
-
},
|
|
175
|
-
d(h) {
|
|
176
|
-
h && k(e);
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
function G(l) {
|
|
181
|
-
let e, t, n, r, i, c = (
|
|
182
|
-
/*$_*/
|
|
183
|
-
l[2]("prizes") + ""
|
|
184
|
-
), s, p, o = (
|
|
185
|
-
/*prizes*/
|
|
186
|
-
l[1] && L(l)
|
|
187
|
-
);
|
|
188
|
-
return {
|
|
189
|
-
c() {
|
|
190
|
-
e = g("div"), t = g("div"), n = g("span"), n.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = b(), i = g("p"), s = _(c), p = b(), o && o.c(), u(n, "class", "TournamentPrizesIconWrapper"), u(n, "part", "TournamentPrizesIconWrapper"), u(i, "class", "PrizesTitle"), u(i, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
|
|
191
|
-
},
|
|
192
|
-
m(d, z) {
|
|
193
|
-
F(d, e, z), f(e, t), f(t, n), f(t, r), f(t, i), f(i, s), f(e, p), o && o.m(e, null), l[7](e);
|
|
194
|
-
},
|
|
195
|
-
p(d, [z]) {
|
|
196
|
-
z & /*$_*/
|
|
197
|
-
4 && c !== (c = /*$_*/
|
|
198
|
-
d[2]("prizes") + "") && v(s, c), /*prizes*/
|
|
199
|
-
d[1] ? o ? o.p(d, z) : (o = L(d), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
|
|
200
|
-
},
|
|
201
|
-
i: M,
|
|
202
|
-
o: M,
|
|
203
|
-
d(d) {
|
|
204
|
-
d && k(e), o && o.d(), l[7](null);
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
function J(l, e, t) {
|
|
209
|
-
let n;
|
|
210
|
-
B(l, W, (a) => t(2, n = a));
|
|
211
|
-
let { tourid: r = "" } = e, { clientstyling: i = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, p, o;
|
|
212
|
-
const d = () => {
|
|
213
|
-
fetch(s).then((m) => m.json()).then((m) => {
|
|
214
|
-
Object.keys(m).forEach((P) => {
|
|
215
|
-
H(P, m[P]);
|
|
216
|
-
});
|
|
217
|
-
}).catch((m) => {
|
|
218
|
-
console.log(m);
|
|
219
|
-
});
|
|
220
|
-
};
|
|
221
|
-
Object.keys(S).forEach((a) => {
|
|
222
|
-
H(a, S[a]);
|
|
223
|
-
});
|
|
224
|
-
const z = (a) => {
|
|
225
|
-
a.data && a.data.type == `TournamentPrizes_${r}` && t(1, o = a.data.prizes);
|
|
226
|
-
}, w = () => {
|
|
227
|
-
let a = document.createElement("style");
|
|
228
|
-
a.innerHTML = i, p.appendChild(a);
|
|
229
|
-
}, h = () => {
|
|
230
|
-
let a = new URL(c), m = document.createElement("style");
|
|
231
|
-
fetch(a.href).then((P) => P.text()).then((P) => {
|
|
232
|
-
m.innerHTML = P, setTimeout(
|
|
233
|
-
() => {
|
|
234
|
-
p.appendChild(m);
|
|
235
|
-
},
|
|
236
|
-
1
|
|
237
|
-
), setTimeout(
|
|
238
|
-
() => {
|
|
239
|
-
},
|
|
240
|
-
500
|
|
241
|
-
);
|
|
242
|
-
});
|
|
243
|
-
};
|
|
244
|
-
O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
|
|
245
|
-
window.removeEventListener("message", z);
|
|
246
|
-
}));
|
|
247
|
-
function y(a) {
|
|
248
|
-
q[a ? "unshift" : "push"](() => {
|
|
249
|
-
p = a, t(0, p);
|
|
250
|
-
});
|
|
251
|
-
}
|
|
252
|
-
return l.$$set = (a) => {
|
|
253
|
-
"tourid" in a && t(3, r = a.tourid), "clientstyling" in a && t(4, i = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl);
|
|
254
|
-
}, l.$$.update = () => {
|
|
255
|
-
l.$$.dirty & /*customStylingContainer, clientstyling*/
|
|
256
|
-
17 && p && i && w(), l.$$.dirty & /*customStylingContainer, clientstylingurl*/
|
|
257
|
-
33 && p && c && h(), l.$$.dirty & /*translationurl*/
|
|
258
|
-
64 && s && d();
|
|
259
|
-
}, [
|
|
260
|
-
p,
|
|
261
|
-
o,
|
|
262
|
-
n,
|
|
263
|
-
r,
|
|
264
|
-
i,
|
|
265
|
-
c,
|
|
266
|
-
s,
|
|
267
|
-
y
|
|
268
|
-
];
|
|
269
|
-
}
|
|
270
|
-
class K extends Z {
|
|
271
|
-
constructor(e) {
|
|
272
|
-
super(), I(
|
|
273
|
-
this,
|
|
274
|
-
e,
|
|
275
|
-
J,
|
|
276
|
-
G,
|
|
277
|
-
R,
|
|
278
|
-
{
|
|
279
|
-
tourid: 3,
|
|
280
|
-
clientstyling: 4,
|
|
281
|
-
clientstylingurl: 5,
|
|
282
|
-
translationurl: 6
|
|
283
|
-
},
|
|
284
|
-
D
|
|
285
|
-
);
|
|
286
|
-
}
|
|
287
|
-
get tourid() {
|
|
288
|
-
return this.$$.ctx[3];
|
|
289
|
-
}
|
|
290
|
-
set tourid(e) {
|
|
291
|
-
this.$$set({ tourid: e }), T();
|
|
292
|
-
}
|
|
293
|
-
get clientstyling() {
|
|
294
|
-
return this.$$.ctx[4];
|
|
295
|
-
}
|
|
296
|
-
set clientstyling(e) {
|
|
297
|
-
this.$$set({ clientstyling: e }), T();
|
|
298
|
-
}
|
|
299
|
-
get clientstylingurl() {
|
|
300
|
-
return this.$$.ctx[5];
|
|
301
|
-
}
|
|
302
|
-
set clientstylingurl(e) {
|
|
303
|
-
this.$$set({ clientstylingurl: e }), T();
|
|
304
|
-
}
|
|
305
|
-
get translationurl() {
|
|
306
|
-
return this.$$.ctx[6];
|
|
307
|
-
}
|
|
308
|
-
set translationurl(e) {
|
|
309
|
-
this.$$set({ translationurl: e }), T();
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
V(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
313
|
-
export {
|
|
314
|
-
K as default
|
|
315
|
-
};
|
|
@@ -1,315 +0,0 @@
|
|
|
1
|
-
import { a as A, S as Z, i as j, s as I, f as T, b as R, n as M, d as k, m as v, c as F, o as f, e as g, p as b, t as _, g as u, j as B, w as O, k as N, l as U, q, v as V, $ as W } from "./CasinoTournamentsController-2bTwgvFF.js";
|
|
2
|
-
function H(l, e) {
|
|
3
|
-
A(l, e);
|
|
4
|
-
}
|
|
5
|
-
const S = {
|
|
6
|
-
en: {
|
|
7
|
-
prizes: "Prizes",
|
|
8
|
-
noprizes: "No available prizes",
|
|
9
|
-
place: "place"
|
|
10
|
-
},
|
|
11
|
-
hr: {
|
|
12
|
-
prizes: "Nagrade",
|
|
13
|
-
noprizes: "Nema dostupnih nagrada",
|
|
14
|
-
place: "mjesto"
|
|
15
|
-
},
|
|
16
|
-
"zh-hk": {
|
|
17
|
-
prizes: "獎品",
|
|
18
|
-
noprizes: "沒有可用的獎品",
|
|
19
|
-
place: "位置"
|
|
20
|
-
},
|
|
21
|
-
fr: {
|
|
22
|
-
prizes: "Prix",
|
|
23
|
-
noprizes: "Aucun prix disponible",
|
|
24
|
-
place: "place"
|
|
25
|
-
},
|
|
26
|
-
ro: {
|
|
27
|
-
prizes: "Premii",
|
|
28
|
-
noprizes: "Nu sunt disponibile premii",
|
|
29
|
-
place: "poziție"
|
|
30
|
-
},
|
|
31
|
-
tr: {
|
|
32
|
-
prizes: "Ödüller",
|
|
33
|
-
noprizes: "Mevcut ödül yok",
|
|
34
|
-
place: "yer"
|
|
35
|
-
},
|
|
36
|
-
el: {
|
|
37
|
-
prizes: "Έπαθλα",
|
|
38
|
-
noprizes: "Μη διαθέσιμα έπαθλα",
|
|
39
|
-
place: "θέση"
|
|
40
|
-
},
|
|
41
|
-
es: {
|
|
42
|
-
prizes: "Premios",
|
|
43
|
-
noprizes: "No hay premios disponibles",
|
|
44
|
-
place: "lugar"
|
|
45
|
-
},
|
|
46
|
-
hu: {
|
|
47
|
-
prizes: "Nyeremények",
|
|
48
|
-
noprizes: "Nincs elérhető nyeremény",
|
|
49
|
-
place: "helyezés"
|
|
50
|
-
},
|
|
51
|
-
pt: {
|
|
52
|
-
prizes: "Prêmios",
|
|
53
|
-
noprizes: "Não há prêmios disponíveis",
|
|
54
|
-
place: "place"
|
|
55
|
-
},
|
|
56
|
-
"en-us": {
|
|
57
|
-
prizes: "Prizes",
|
|
58
|
-
noprizes: "No available prizes",
|
|
59
|
-
place: "place"
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
function D(l) {
|
|
63
|
-
R(l, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
|
|
64
|
-
}
|
|
65
|
-
function E(l, e, t) {
|
|
66
|
-
const n = l.slice();
|
|
67
|
-
return n[13] = e[t], n[15] = t, n;
|
|
68
|
-
}
|
|
69
|
-
function L(l) {
|
|
70
|
-
let e, t = N(
|
|
71
|
-
/*prizes*/
|
|
72
|
-
l[1]
|
|
73
|
-
), n = [];
|
|
74
|
-
for (let i = 0; i < t.length; i += 1)
|
|
75
|
-
n[i] = x(E(l, t, i));
|
|
76
|
-
let r = null;
|
|
77
|
-
return t.length || (r = C(l)), {
|
|
78
|
-
c() {
|
|
79
|
-
e = g("div");
|
|
80
|
-
for (let i = 0; i < n.length; i += 1)
|
|
81
|
-
n[i].c();
|
|
82
|
-
r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
|
|
83
|
-
},
|
|
84
|
-
m(i, c) {
|
|
85
|
-
F(i, e, c);
|
|
86
|
-
for (let s = 0; s < n.length; s += 1)
|
|
87
|
-
n[s] && n[s].m(e, null);
|
|
88
|
-
r && r.m(e, null);
|
|
89
|
-
},
|
|
90
|
-
p(i, c) {
|
|
91
|
-
if (c & /*prizes, $_*/
|
|
92
|
-
6) {
|
|
93
|
-
t = N(
|
|
94
|
-
/*prizes*/
|
|
95
|
-
i[1]
|
|
96
|
-
);
|
|
97
|
-
let s;
|
|
98
|
-
for (s = 0; s < t.length; s += 1) {
|
|
99
|
-
const p = E(i, t, s);
|
|
100
|
-
n[s] ? n[s].p(p, c) : (n[s] = x(p), n[s].c(), n[s].m(e, null));
|
|
101
|
-
}
|
|
102
|
-
for (; s < n.length; s += 1)
|
|
103
|
-
n[s].d(1);
|
|
104
|
-
n.length = t.length, !t.length && r ? r.p(i, c) : t.length ? r && (r.d(1), r = null) : (r = C(i), r.c(), r.m(e, null));
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
d(i) {
|
|
108
|
-
i && k(e), U(n, i), r && r.d();
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
function C(l) {
|
|
113
|
-
let e, t = (
|
|
114
|
-
/*$_*/
|
|
115
|
-
l[2]("noprizes") + ""
|
|
116
|
-
), n;
|
|
117
|
-
return {
|
|
118
|
-
c() {
|
|
119
|
-
e = g("p"), n = _(t);
|
|
120
|
-
},
|
|
121
|
-
m(r, i) {
|
|
122
|
-
F(r, e, i), f(e, n);
|
|
123
|
-
},
|
|
124
|
-
p(r, i) {
|
|
125
|
-
i & /*$_*/
|
|
126
|
-
4 && t !== (t = /*$_*/
|
|
127
|
-
r[2]("noprizes") + "") && v(n, t);
|
|
128
|
-
},
|
|
129
|
-
d(r) {
|
|
130
|
-
r && k(e);
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
function x(l) {
|
|
135
|
-
let e, t, n, r = (
|
|
136
|
-
/*prize*/
|
|
137
|
-
(l[13].count > 1 ? `${/*prize*/
|
|
138
|
-
l[13].rank}~${/*prize*/
|
|
139
|
-
l[13].rank + /*prize*/
|
|
140
|
-
l[13].count - 1}` : (
|
|
141
|
-
/*prize*/
|
|
142
|
-
l[13].rank
|
|
143
|
-
)) + ""
|
|
144
|
-
), i, c, s = (
|
|
145
|
-
/*$_*/
|
|
146
|
-
l[2]("place") + ""
|
|
147
|
-
), p, o, d = (
|
|
148
|
-
/*prize*/
|
|
149
|
-
l[13].name + ""
|
|
150
|
-
), z, w;
|
|
151
|
-
return {
|
|
152
|
-
c() {
|
|
153
|
-
e = g("div"), t = g("p"), n = g("span"), i = _(r), c = b(), p = _(s), o = _(": "), z = _(d), w = b(), u(n, "class", "PrizeRank"), u(n, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
|
|
154
|
-
l[15]), u(e, "part", "Prize Prize" + /*index*/
|
|
155
|
-
l[15]);
|
|
156
|
-
},
|
|
157
|
-
m(h, y) {
|
|
158
|
-
F(h, e, y), f(e, t), f(t, n), f(n, i), f(t, c), f(t, p), f(t, o), f(t, z), f(e, w);
|
|
159
|
-
},
|
|
160
|
-
p(h, y) {
|
|
161
|
-
y & /*prizes*/
|
|
162
|
-
2 && r !== (r = /*prize*/
|
|
163
|
-
(h[13].count > 1 ? `${/*prize*/
|
|
164
|
-
h[13].rank}~${/*prize*/
|
|
165
|
-
h[13].rank + /*prize*/
|
|
166
|
-
h[13].count - 1}` : (
|
|
167
|
-
/*prize*/
|
|
168
|
-
h[13].rank
|
|
169
|
-
)) + "") && v(i, r), y & /*$_*/
|
|
170
|
-
4 && s !== (s = /*$_*/
|
|
171
|
-
h[2]("place") + "") && v(p, s), y & /*prizes*/
|
|
172
|
-
2 && d !== (d = /*prize*/
|
|
173
|
-
h[13].name + "") && v(z, d);
|
|
174
|
-
},
|
|
175
|
-
d(h) {
|
|
176
|
-
h && k(e);
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
function G(l) {
|
|
181
|
-
let e, t, n, r, i, c = (
|
|
182
|
-
/*$_*/
|
|
183
|
-
l[2]("prizes") + ""
|
|
184
|
-
), s, p, o = (
|
|
185
|
-
/*prizes*/
|
|
186
|
-
l[1] && L(l)
|
|
187
|
-
);
|
|
188
|
-
return {
|
|
189
|
-
c() {
|
|
190
|
-
e = g("div"), t = g("div"), n = g("span"), n.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = b(), i = g("p"), s = _(c), p = b(), o && o.c(), u(n, "class", "TournamentPrizesIconWrapper"), u(n, "part", "TournamentPrizesIconWrapper"), u(i, "class", "PrizesTitle"), u(i, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
|
|
191
|
-
},
|
|
192
|
-
m(d, z) {
|
|
193
|
-
F(d, e, z), f(e, t), f(t, n), f(t, r), f(t, i), f(i, s), f(e, p), o && o.m(e, null), l[7](e);
|
|
194
|
-
},
|
|
195
|
-
p(d, [z]) {
|
|
196
|
-
z & /*$_*/
|
|
197
|
-
4 && c !== (c = /*$_*/
|
|
198
|
-
d[2]("prizes") + "") && v(s, c), /*prizes*/
|
|
199
|
-
d[1] ? o ? o.p(d, z) : (o = L(d), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
|
|
200
|
-
},
|
|
201
|
-
i: M,
|
|
202
|
-
o: M,
|
|
203
|
-
d(d) {
|
|
204
|
-
d && k(e), o && o.d(), l[7](null);
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
function J(l, e, t) {
|
|
209
|
-
let n;
|
|
210
|
-
B(l, W, (a) => t(2, n = a));
|
|
211
|
-
let { tourid: r = "" } = e, { clientstyling: i = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, p, o;
|
|
212
|
-
const d = () => {
|
|
213
|
-
fetch(s).then((m) => m.json()).then((m) => {
|
|
214
|
-
Object.keys(m).forEach((P) => {
|
|
215
|
-
H(P, m[P]);
|
|
216
|
-
});
|
|
217
|
-
}).catch((m) => {
|
|
218
|
-
console.log(m);
|
|
219
|
-
});
|
|
220
|
-
};
|
|
221
|
-
Object.keys(S).forEach((a) => {
|
|
222
|
-
H(a, S[a]);
|
|
223
|
-
});
|
|
224
|
-
const z = (a) => {
|
|
225
|
-
a.data && a.data.type == `TournamentPrizes_${r}` && t(1, o = a.data.prizes);
|
|
226
|
-
}, w = () => {
|
|
227
|
-
let a = document.createElement("style");
|
|
228
|
-
a.innerHTML = i, p.appendChild(a);
|
|
229
|
-
}, h = () => {
|
|
230
|
-
let a = new URL(c), m = document.createElement("style");
|
|
231
|
-
fetch(a.href).then((P) => P.text()).then((P) => {
|
|
232
|
-
m.innerHTML = P, setTimeout(
|
|
233
|
-
() => {
|
|
234
|
-
p.appendChild(m);
|
|
235
|
-
},
|
|
236
|
-
1
|
|
237
|
-
), setTimeout(
|
|
238
|
-
() => {
|
|
239
|
-
},
|
|
240
|
-
500
|
|
241
|
-
);
|
|
242
|
-
});
|
|
243
|
-
};
|
|
244
|
-
O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
|
|
245
|
-
window.removeEventListener("message", z);
|
|
246
|
-
}));
|
|
247
|
-
function y(a) {
|
|
248
|
-
q[a ? "unshift" : "push"](() => {
|
|
249
|
-
p = a, t(0, p);
|
|
250
|
-
});
|
|
251
|
-
}
|
|
252
|
-
return l.$$set = (a) => {
|
|
253
|
-
"tourid" in a && t(3, r = a.tourid), "clientstyling" in a && t(4, i = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl);
|
|
254
|
-
}, l.$$.update = () => {
|
|
255
|
-
l.$$.dirty & /*customStylingContainer, clientstyling*/
|
|
256
|
-
17 && p && i && w(), l.$$.dirty & /*customStylingContainer, clientstylingurl*/
|
|
257
|
-
33 && p && c && h(), l.$$.dirty & /*translationurl*/
|
|
258
|
-
64 && s && d();
|
|
259
|
-
}, [
|
|
260
|
-
p,
|
|
261
|
-
o,
|
|
262
|
-
n,
|
|
263
|
-
r,
|
|
264
|
-
i,
|
|
265
|
-
c,
|
|
266
|
-
s,
|
|
267
|
-
y
|
|
268
|
-
];
|
|
269
|
-
}
|
|
270
|
-
class K extends Z {
|
|
271
|
-
constructor(e) {
|
|
272
|
-
super(), j(
|
|
273
|
-
this,
|
|
274
|
-
e,
|
|
275
|
-
J,
|
|
276
|
-
G,
|
|
277
|
-
I,
|
|
278
|
-
{
|
|
279
|
-
tourid: 3,
|
|
280
|
-
clientstyling: 4,
|
|
281
|
-
clientstylingurl: 5,
|
|
282
|
-
translationurl: 6
|
|
283
|
-
},
|
|
284
|
-
D
|
|
285
|
-
);
|
|
286
|
-
}
|
|
287
|
-
get tourid() {
|
|
288
|
-
return this.$$.ctx[3];
|
|
289
|
-
}
|
|
290
|
-
set tourid(e) {
|
|
291
|
-
this.$$set({ tourid: e }), T();
|
|
292
|
-
}
|
|
293
|
-
get clientstyling() {
|
|
294
|
-
return this.$$.ctx[4];
|
|
295
|
-
}
|
|
296
|
-
set clientstyling(e) {
|
|
297
|
-
this.$$set({ clientstyling: e }), T();
|
|
298
|
-
}
|
|
299
|
-
get clientstylingurl() {
|
|
300
|
-
return this.$$.ctx[5];
|
|
301
|
-
}
|
|
302
|
-
set clientstylingurl(e) {
|
|
303
|
-
this.$$set({ clientstylingurl: e }), T();
|
|
304
|
-
}
|
|
305
|
-
get translationurl() {
|
|
306
|
-
return this.$$.ctx[6];
|
|
307
|
-
}
|
|
308
|
-
set translationurl(e) {
|
|
309
|
-
this.$$set({ translationurl: e }), T();
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
V(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
313
|
-
export {
|
|
314
|
-
K as default
|
|
315
|
-
};
|