@everymatrix/casino-tournaments-controller 1.0.69 → 1.0.71
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-DZ0LEvCR.cjs +14 -0
- package/components/CasinoTournamentsController-o9ci4V-7.js +5673 -0
- package/components/CasinoTournamentsFilterController-CiS0QN_2.js +549 -0
- package/components/CasinoTournamentsFilterController-FBpFN99X.cjs +1 -0
- package/components/CasinoTournamentsListController-DIfWzrAy.cjs +13 -0
- package/components/CasinoTournamentsListController-TZbe8_p2.js +3128 -0
- package/components/CasinoTournamentsThumbnail-1UjlSmfk.js +885 -0
- package/components/CasinoTournamentsThumbnail-CU_I-u5x.cjs +4 -0
- package/components/CasinoTournamentsThumbnailController-B35mMuea.cjs +1 -0
- package/components/CasinoTournamentsThumbnailController-CoX3AMmZ.js +1365 -0
- package/components/CasinoTournamentsThumbnailDuration-C_EXZ3qI.cjs +1 -0
- package/components/CasinoTournamentsThumbnailDuration-GKFyPIZf.js +515 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-D1ki4K15.cjs +1 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-DVPC0-Qc.js +456 -0
- package/components/CasinoTournamentsThumbnailPrizes-C233jAWN.cjs +1 -0
- package/components/CasinoTournamentsThumbnailPrizes-Dy-t1Zna.js +330 -0
- package/package.json +6 -5
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
import { a as A, S as Z, i as j, f as w, c as I, s as R, b as B, e as f, m as b, t as P, d as u, h as k, o as g, p as _, n as H, j as F, k as O, w as U, l as M, q, u as V, $ as W } from "./CasinoTournamentsController-o9ci4V-7.js";
|
|
2
|
+
function N(l, e) {
|
|
3
|
+
A(l, e);
|
|
4
|
+
}
|
|
5
|
+
const S = {
|
|
6
|
+
en: {
|
|
7
|
+
tournamentsPrizes: {
|
|
8
|
+
prizes: "Prizes",
|
|
9
|
+
noprizes: "No available prizes",
|
|
10
|
+
place: "place"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
hr: {
|
|
14
|
+
tournamentsPrizes: {
|
|
15
|
+
prizes: "Nagrade",
|
|
16
|
+
noprizes: "Nema dostupnih nagrada",
|
|
17
|
+
place: "mjesto"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"zh-hk": {
|
|
21
|
+
tournamentsPrizes: {
|
|
22
|
+
prizes: "獎品",
|
|
23
|
+
noprizes: "沒有可用的獎品",
|
|
24
|
+
place: "位置"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
fr: {
|
|
28
|
+
tournamentsPrizes: {
|
|
29
|
+
prizes: "Prix",
|
|
30
|
+
noprizes: "Aucun prix disponible",
|
|
31
|
+
place: "place"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
ro: {
|
|
35
|
+
tournamentsPrizes: {
|
|
36
|
+
prizes: "Premii",
|
|
37
|
+
noprizes: "Nu sunt disponibile premii",
|
|
38
|
+
place: "poziție"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
tr: {
|
|
42
|
+
tournamentsPrizes: {
|
|
43
|
+
prizes: "Ödüller",
|
|
44
|
+
noprizes: "Mevcut ödül yok",
|
|
45
|
+
place: "yer"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
el: {
|
|
49
|
+
tournamentsPrizes: {
|
|
50
|
+
prizes: "Έπαθλα",
|
|
51
|
+
noprizes: "Μη διαθέσιμα έπαθλα",
|
|
52
|
+
place: "θέση"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
es: {
|
|
56
|
+
tournamentsPrizes: {
|
|
57
|
+
prizes: "Premios",
|
|
58
|
+
noprizes: "No hay premios disponibles",
|
|
59
|
+
place: "lugar"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
hu: {
|
|
63
|
+
tournamentsPrizes: {
|
|
64
|
+
prizes: "Nyeremények",
|
|
65
|
+
noprizes: "Nincs elérhető nyeremény",
|
|
66
|
+
place: "helyezés"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
pt: {
|
|
70
|
+
tournamentsPrizes: {
|
|
71
|
+
prizes: "Prêmios",
|
|
72
|
+
noprizes: "Não há prêmios disponíveis",
|
|
73
|
+
place: "place"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
function D(l) {
|
|
78
|
+
B(l, "svelte-ypey7g", ".svelte-ypey7g.svelte-ypey7g,.svelte-ypey7g.svelte-ypey7g::before,.svelte-ypey7g.svelte-ypey7g::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span.svelte-ypey7g.svelte-ypey7g{color:var(--emfe-w-color-gray-100, #E6E6E6)}.TournamentPrizes.svelte-ypey7g.svelte-ypey7g{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle.svelte-ypey7g.svelte-ypey7g{padding-top:8px}.Prizes.svelte-ypey7g.svelte-ypey7g{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize.svelte-ypey7g.svelte-ypey7g{flex-grow:1;color:var(--emfe-w-color-gray-300, #58586B)}.Prize.Prize0.svelte-ypey7g span.svelte-ypey7g{color:#FECF00}.Prize.Prize1.svelte-ypey7g span.svelte-ypey7g{color:#D9B206}.Prize.Prize2.svelte-ypey7g span.svelte-ypey7g{color:#9B8007}.Prize.svelte-ypey7g p.svelte-ypey7g{color:var(--emfe-w-color-white, #FFFFFF)}");
|
|
79
|
+
}
|
|
80
|
+
function E(l, e, t) {
|
|
81
|
+
const s = l.slice();
|
|
82
|
+
return s[13] = e[t], s[15] = t, s;
|
|
83
|
+
}
|
|
84
|
+
function L(l) {
|
|
85
|
+
let e, t = M(
|
|
86
|
+
/*prizes*/
|
|
87
|
+
l[1]
|
|
88
|
+
), s = [];
|
|
89
|
+
for (let n = 0; n < t.length; n += 1)
|
|
90
|
+
s[n] = x(E(l, t, n));
|
|
91
|
+
let i = null;
|
|
92
|
+
return t.length || (i = C(l)), {
|
|
93
|
+
c() {
|
|
94
|
+
e = f("div");
|
|
95
|
+
for (let n = 0; n < s.length; n += 1)
|
|
96
|
+
s[n].c();
|
|
97
|
+
i && i.c(), u(e, "class", "Prizes svelte-ypey7g"), u(e, "part", "Prizes");
|
|
98
|
+
},
|
|
99
|
+
m(n, p) {
|
|
100
|
+
k(n, e, p);
|
|
101
|
+
for (let r = 0; r < s.length; r += 1)
|
|
102
|
+
s[r] && s[r].m(e, null);
|
|
103
|
+
i && i.m(e, null);
|
|
104
|
+
},
|
|
105
|
+
p(n, p) {
|
|
106
|
+
if (p & /*prizes, $_*/
|
|
107
|
+
6) {
|
|
108
|
+
t = M(
|
|
109
|
+
/*prizes*/
|
|
110
|
+
n[1]
|
|
111
|
+
);
|
|
112
|
+
let r;
|
|
113
|
+
for (r = 0; r < t.length; r += 1) {
|
|
114
|
+
const c = E(n, t, r);
|
|
115
|
+
s[r] ? s[r].p(c, p) : (s[r] = x(c), s[r].c(), s[r].m(e, null));
|
|
116
|
+
}
|
|
117
|
+
for (; r < s.length; r += 1)
|
|
118
|
+
s[r].d(1);
|
|
119
|
+
s.length = t.length, !t.length && i ? i.p(n, p) : t.length ? i && (i.d(1), i = null) : (i = C(n), i.c(), i.m(e, null));
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
d(n) {
|
|
123
|
+
n && F(e), q(s, n), i && i.d();
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function C(l) {
|
|
128
|
+
let e, t = (
|
|
129
|
+
/*$_*/
|
|
130
|
+
l[2]("tournamentsPrizes.noprizes") + ""
|
|
131
|
+
), s;
|
|
132
|
+
return {
|
|
133
|
+
c() {
|
|
134
|
+
e = f("p"), s = P(t), u(e, "class", "svelte-ypey7g");
|
|
135
|
+
},
|
|
136
|
+
m(i, n) {
|
|
137
|
+
k(i, e, n), g(e, s);
|
|
138
|
+
},
|
|
139
|
+
p(i, n) {
|
|
140
|
+
n & /*$_*/
|
|
141
|
+
4 && t !== (t = /*$_*/
|
|
142
|
+
i[2]("tournamentsPrizes.noprizes") + "") && _(s, t);
|
|
143
|
+
},
|
|
144
|
+
d(i) {
|
|
145
|
+
i && F(e);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
function x(l) {
|
|
150
|
+
let e, t, s, i = (
|
|
151
|
+
/*prize*/
|
|
152
|
+
(l[13].count > 1 ? `${/*prize*/
|
|
153
|
+
l[13].rank}~${/*prize*/
|
|
154
|
+
l[13].rank + /*prize*/
|
|
155
|
+
l[13].count - 1}` : (
|
|
156
|
+
/*prize*/
|
|
157
|
+
l[13].rank
|
|
158
|
+
)) + ""
|
|
159
|
+
), n, p, r = (
|
|
160
|
+
/*$_*/
|
|
161
|
+
l[2]("tournamentsPrizes.place") + ""
|
|
162
|
+
), c, o, y = (
|
|
163
|
+
/*prize*/
|
|
164
|
+
l[13].name + ""
|
|
165
|
+
), m, T;
|
|
166
|
+
return {
|
|
167
|
+
c() {
|
|
168
|
+
e = f("div"), t = f("p"), s = f("span"), n = P(i), p = b(), c = P(r), o = P(": "), m = P(y), T = b(), u(s, "class", "PrizeRank svelte-ypey7g"), u(s, "part", "PrizeRank"), u(t, "class", "PrizeText svelte-ypey7g"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
|
|
169
|
+
l[15] + " svelte-ypey7g"), u(e, "part", "Prize Prize" + /*index*/
|
|
170
|
+
l[15]);
|
|
171
|
+
},
|
|
172
|
+
m(z, h) {
|
|
173
|
+
k(z, e, h), g(e, t), g(t, s), g(s, n), g(t, p), g(t, c), g(t, o), g(t, m), g(e, T);
|
|
174
|
+
},
|
|
175
|
+
p(z, h) {
|
|
176
|
+
h & /*prizes*/
|
|
177
|
+
2 && i !== (i = /*prize*/
|
|
178
|
+
(z[13].count > 1 ? `${/*prize*/
|
|
179
|
+
z[13].rank}~${/*prize*/
|
|
180
|
+
z[13].rank + /*prize*/
|
|
181
|
+
z[13].count - 1}` : (
|
|
182
|
+
/*prize*/
|
|
183
|
+
z[13].rank
|
|
184
|
+
)) + "") && _(n, i), h & /*$_*/
|
|
185
|
+
4 && r !== (r = /*$_*/
|
|
186
|
+
z[2]("tournamentsPrizes.place") + "") && _(c, r), h & /*prizes*/
|
|
187
|
+
2 && y !== (y = /*prize*/
|
|
188
|
+
z[13].name + "") && _(m, y);
|
|
189
|
+
},
|
|
190
|
+
d(z) {
|
|
191
|
+
z && F(e);
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
function G(l) {
|
|
196
|
+
let e, t, s, i, n, p = (
|
|
197
|
+
/*$_*/
|
|
198
|
+
l[2]("tournamentsPrizes.prizes") + ""
|
|
199
|
+
), r, c, o = (
|
|
200
|
+
/*prizes*/
|
|
201
|
+
l[1] && L(l)
|
|
202
|
+
);
|
|
203
|
+
return {
|
|
204
|
+
c() {
|
|
205
|
+
e = f("div"), t = f("div"), s = f("span"), s.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454" class="svelte-ypey7g"><defs class="svelte-ypey7g"><style class="svelte-ypey7g">.a{fill:var(--emfe-w-color-white, #FFFFFF);}</style></defs><path class="a svelte-ypey7g" 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>', i = b(), n = f("p"), r = P(p), c = b(), o && o.c(), u(s, "class", "TournamentPrizesIconWrapper svelte-ypey7g"), u(s, "part", "TournamentPrizesIconWrapper"), u(n, "class", "PrizesTitle svelte-ypey7g"), u(n, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection svelte-ypey7g"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes svelte-ypey7g"), u(e, "part", "TournamentPrizes");
|
|
206
|
+
},
|
|
207
|
+
m(y, m) {
|
|
208
|
+
k(y, e, m), g(e, t), g(t, s), g(t, i), g(t, n), g(n, r), g(e, c), o && o.m(e, null), l[7](e);
|
|
209
|
+
},
|
|
210
|
+
p(y, [m]) {
|
|
211
|
+
m & /*$_*/
|
|
212
|
+
4 && p !== (p = /*$_*/
|
|
213
|
+
y[2]("tournamentsPrizes.prizes") + "") && _(r, p), /*prizes*/
|
|
214
|
+
y[1] ? o ? o.p(y, m) : (o = L(y), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
|
|
215
|
+
},
|
|
216
|
+
i: H,
|
|
217
|
+
o: H,
|
|
218
|
+
d(y) {
|
|
219
|
+
y && F(e), o && o.d(), l[7](null);
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
function J(l, e, t) {
|
|
224
|
+
let s;
|
|
225
|
+
O(l, W, (a) => t(2, s = a));
|
|
226
|
+
let { tourid: i = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: r = "" } = e, c, o;
|
|
227
|
+
const y = () => {
|
|
228
|
+
fetch(r).then((d) => d.json()).then((d) => {
|
|
229
|
+
Object.keys(d).forEach((v) => {
|
|
230
|
+
N(v, d[v]);
|
|
231
|
+
});
|
|
232
|
+
}).catch((d) => {
|
|
233
|
+
console.log(d);
|
|
234
|
+
});
|
|
235
|
+
};
|
|
236
|
+
Object.keys(S).forEach((a) => {
|
|
237
|
+
N(a, S[a]);
|
|
238
|
+
});
|
|
239
|
+
const m = (a) => {
|
|
240
|
+
a.data && a.data.type == `TournamentPrizes_${i}` && t(1, o = a.data.prizes);
|
|
241
|
+
}, T = () => {
|
|
242
|
+
let a = document.createElement("style");
|
|
243
|
+
a.innerHTML = n, c.appendChild(a);
|
|
244
|
+
}, z = () => {
|
|
245
|
+
let a = new URL(p), d = document.createElement("style");
|
|
246
|
+
fetch(a.href).then((v) => v.text()).then((v) => {
|
|
247
|
+
d.innerHTML = v, setTimeout(
|
|
248
|
+
() => {
|
|
249
|
+
c.appendChild(d);
|
|
250
|
+
},
|
|
251
|
+
1
|
|
252
|
+
), setTimeout(
|
|
253
|
+
() => {
|
|
254
|
+
},
|
|
255
|
+
500
|
|
256
|
+
);
|
|
257
|
+
});
|
|
258
|
+
};
|
|
259
|
+
U(() => (window.addEventListener("message", m, !1), () => {
|
|
260
|
+
window.removeEventListener("message", m);
|
|
261
|
+
}));
|
|
262
|
+
function h(a) {
|
|
263
|
+
V[a ? "unshift" : "push"](() => {
|
|
264
|
+
c = a, t(0, c);
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
return l.$$set = (a) => {
|
|
268
|
+
"tourid" in a && t(3, i = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, p = a.clientstylingurl), "translationurl" in a && t(6, r = a.translationurl);
|
|
269
|
+
}, l.$$.update = () => {
|
|
270
|
+
l.$$.dirty & /*customStylingContainer, clientstyling*/
|
|
271
|
+
17 && c && n && T(), l.$$.dirty & /*customStylingContainer, clientstylingurl*/
|
|
272
|
+
33 && c && p && z(), l.$$.dirty & /*translationurl*/
|
|
273
|
+
64 && r && y();
|
|
274
|
+
}, [
|
|
275
|
+
c,
|
|
276
|
+
o,
|
|
277
|
+
s,
|
|
278
|
+
i,
|
|
279
|
+
n,
|
|
280
|
+
p,
|
|
281
|
+
r,
|
|
282
|
+
h
|
|
283
|
+
];
|
|
284
|
+
}
|
|
285
|
+
class K extends Z {
|
|
286
|
+
constructor(e) {
|
|
287
|
+
super(), j(
|
|
288
|
+
this,
|
|
289
|
+
e,
|
|
290
|
+
J,
|
|
291
|
+
G,
|
|
292
|
+
R,
|
|
293
|
+
{
|
|
294
|
+
tourid: 3,
|
|
295
|
+
clientstyling: 4,
|
|
296
|
+
clientstylingurl: 5,
|
|
297
|
+
translationurl: 6
|
|
298
|
+
},
|
|
299
|
+
D
|
|
300
|
+
);
|
|
301
|
+
}
|
|
302
|
+
get tourid() {
|
|
303
|
+
return this.$$.ctx[3];
|
|
304
|
+
}
|
|
305
|
+
set tourid(e) {
|
|
306
|
+
this.$$set({ tourid: e }), w();
|
|
307
|
+
}
|
|
308
|
+
get clientstyling() {
|
|
309
|
+
return this.$$.ctx[4];
|
|
310
|
+
}
|
|
311
|
+
set clientstyling(e) {
|
|
312
|
+
this.$$set({ clientstyling: e }), w();
|
|
313
|
+
}
|
|
314
|
+
get clientstylingurl() {
|
|
315
|
+
return this.$$.ctx[5];
|
|
316
|
+
}
|
|
317
|
+
set clientstylingurl(e) {
|
|
318
|
+
this.$$set({ clientstylingurl: e }), w();
|
|
319
|
+
}
|
|
320
|
+
get translationurl() {
|
|
321
|
+
return this.$$.ctx[6];
|
|
322
|
+
}
|
|
323
|
+
set translationurl(e) {
|
|
324
|
+
this.$$set({ translationurl: e }), w();
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
I(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
328
|
+
export {
|
|
329
|
+
K as default
|
|
330
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-tournaments-controller",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.71",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "es2015/casino-tournaments-controller.cjs",
|
|
6
6
|
"module": "es2015/casino-tournaments-controller.js",
|
|
@@ -11,14 +11,15 @@
|
|
|
11
11
|
},
|
|
12
12
|
"./es2015/casino-tournaments-controller.cjs": "./es2015/casino-tournaments-controller.cjs"
|
|
13
13
|
},
|
|
14
|
-
|
|
15
|
-
"es2015/"
|
|
14
|
+
"files": [
|
|
15
|
+
"es2015/",
|
|
16
|
+
"components"
|
|
16
17
|
],
|
|
17
18
|
"publishConfig": {
|
|
18
19
|
"access": "public"
|
|
19
20
|
},
|
|
20
21
|
"dependencies": {
|
|
21
|
-
"@everymatrix/casino-tournaments-filter-controller": "1.0.
|
|
22
|
-
"@everymatrix/casino-tournaments-list-controller": "1.0.
|
|
22
|
+
"@everymatrix/casino-tournaments-filter-controller": "1.0.71",
|
|
23
|
+
"@everymatrix/casino-tournaments-list-controller": "1.0.71"
|
|
23
24
|
}
|
|
24
25
|
}
|