@everymatrix/casino-tournaments-list-controller 1.94.20 → 1.94.21
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/{CasinoTournamentsListController-QPsSVren.js → CasinoTournamentsListController-BSNYZkzo.js} +40 -40
- package/components/{CasinoTournamentsListController-sSEDyx5h.js → CasinoTournamentsListController-Cc1Egq3m.js} +39 -39
- package/components/{CasinoTournamentsThumbnail-MQq7xbjX.js → CasinoTournamentsThumbnail-BpWTrxlm.js} +15 -15
- package/components/{CasinoTournamentsThumbnail-DU2GGtiz.js → CasinoTournamentsThumbnail-g5Qt76nt.js} +15 -15
- package/components/{CasinoTournamentsThumbnailController-BOJJzGs9.js → CasinoTournamentsThumbnailController-CBvU8A_6.js} +61 -61
- package/components/{CasinoTournamentsThumbnailController-CA-Gs8YT.js → CasinoTournamentsThumbnailController-CdIivVd2.js} +64 -64
- package/components/{CasinoTournamentsThumbnailDuration-D_ALPI0h.js → CasinoTournamentsThumbnailDuration-C2G0rdfr.js} +12 -12
- package/components/{CasinoTournamentsThumbnailDuration-rUw_tcrU.js → CasinoTournamentsThumbnailDuration-ChJd5hA7.js} +25 -25
- package/components/{CasinoTournamentsThumbnailGamesSlider-CK2lY45V.js → CasinoTournamentsThumbnailGamesSlider-DCAIiZYm.js} +24 -24
- package/components/{CasinoTournamentsThumbnailGamesSlider-CbHNb7Dv.js → CasinoTournamentsThumbnailGamesSlider-TiclIE7g.js} +46 -46
- package/components/{CasinoTournamentsThumbnailPrizes-By5rqQuN.js → CasinoTournamentsThumbnailPrizes-DLth7Ktj.js} +56 -56
- package/components/{CasinoTournamentsThumbnailPrizes-DQBL58L6.js → CasinoTournamentsThumbnailPrizes-pEfEVbHI.js} +71 -71
- package/es2015/casino-tournaments-list-controller.js +1 -1
- package/esnext/casino-tournaments-list-controller.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as De } from "./CasinoTournamentsThumbnailController-
|
|
1
|
+
import { b as be, S as ve, i as ke, s as Ne, f as T, c as Se, n as Y, d as W, h as q, k as N, m as Te, o as Fe, G as K, H as Be, v as le, I as C, F as Z, j as v, J as Pe, w as A, l as D, g as o, K as Me, p as G, t as Ee, E as Q, u as je, z as ze, A as Ae, B as He, C as Le, D as Ce } from "./CasinoTournamentsListController-BSNYZkzo.js";
|
|
2
|
+
import { g as De } from "./CasinoTournamentsThumbnailController-CBvU8A_6.js";
|
|
3
3
|
function V(e, n) {
|
|
4
4
|
be(e, n);
|
|
5
5
|
}
|
|
@@ -79,13 +79,13 @@ function te(e) {
|
|
|
79
79
|
/*main_elementresize_handler*/
|
|
80
80
|
e[29].bind(m)
|
|
81
81
|
), v(n, w), v(n, s), e[31](n), _ || (b = [
|
|
82
|
-
|
|
82
|
+
A(
|
|
83
83
|
t,
|
|
84
84
|
"click",
|
|
85
85
|
/*click_handler*/
|
|
86
86
|
e[24]
|
|
87
87
|
),
|
|
88
|
-
|
|
88
|
+
A(
|
|
89
89
|
s,
|
|
90
90
|
"click",
|
|
91
91
|
/*click_handler_2*/
|
|
@@ -168,9 +168,9 @@ function ne(e) {
|
|
|
168
168
|
},
|
|
169
169
|
m(k, g) {
|
|
170
170
|
q(k, n, g), v(n, t), v(t, m), v(n, w), v(n, s), v(n, i), r || (u = [
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
A(n, "click", c),
|
|
172
|
+
A(n, "mouseenter", P),
|
|
173
|
+
A(
|
|
174
174
|
n,
|
|
175
175
|
"mouseleave",
|
|
176
176
|
/*mouseleave_handler*/
|
|
@@ -231,11 +231,11 @@ let Ge = 30;
|
|
|
231
231
|
function We(e, n, t) {
|
|
232
232
|
let a, m, d;
|
|
233
233
|
Te(e, Ce, (l) => t(10, d = l));
|
|
234
|
-
let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k, g = [], f = 0, S,
|
|
234
|
+
let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k, g = [], f = 0, S, H = null, L = null, I = !1, U, M, E = 0, F;
|
|
235
235
|
const se = () => {
|
|
236
236
|
fetch(b).then((p) => p.json()).then((p) => {
|
|
237
|
-
Object.keys(p).forEach((
|
|
238
|
-
V(
|
|
237
|
+
Object.keys(p).forEach((z) => {
|
|
238
|
+
V(z, p[z]);
|
|
239
239
|
});
|
|
240
240
|
}).catch((p) => {
|
|
241
241
|
console.log(p);
|
|
@@ -244,18 +244,18 @@ function We(e, n, t) {
|
|
|
244
244
|
Object.keys($).forEach((l) => {
|
|
245
245
|
V(l, $[l]);
|
|
246
246
|
});
|
|
247
|
-
const
|
|
247
|
+
const J = (l) => {
|
|
248
248
|
t(5, I = !0), t(6, U = l);
|
|
249
249
|
}, O = () => {
|
|
250
250
|
t(5, I = !1), t(6, U = -1);
|
|
251
251
|
}, re = (l) => l.touches || l.originalEvent.touches, X = (l) => {
|
|
252
252
|
const p = re(l)[0];
|
|
253
|
-
|
|
254
|
-
},
|
|
255
|
-
if (!
|
|
253
|
+
H = p.clientX, L = p.clientY;
|
|
254
|
+
}, x = (l) => {
|
|
255
|
+
if (!H || !L)
|
|
256
256
|
return;
|
|
257
|
-
let p = l.touches[0].clientX,
|
|
258
|
-
Math.abs(B) > Math.abs(_e) && (B > 0 ? j(1) : j(-1)),
|
|
257
|
+
let p = l.touches[0].clientX, z = l.touches[0].clientY, B = H - p, _e = L - z;
|
|
258
|
+
Math.abs(B) > Math.abs(_e) && (B > 0 ? j(1) : j(-1)), H = null, L = null;
|
|
259
259
|
}, j = (l) => {
|
|
260
260
|
l > 0 && !m ? (t(2, f -= k), t(2, f = f < E ? E : f)) : l < 0 && !a && (t(2, f += k), t(2, f = f > 0 ? 0 : f));
|
|
261
261
|
}, R = (l) => {
|
|
@@ -274,7 +274,7 @@ function We(e, n, t) {
|
|
|
274
274
|
t(1, g = B.item.games.items), B.item.games.total;
|
|
275
275
|
});
|
|
276
276
|
}, ie = () => {
|
|
277
|
-
S.addEventListener("touchstart", X, { passive: !0 }), S.addEventListener("touchmove",
|
|
277
|
+
S.addEventListener("touchstart", X, { passive: !0 }), S.addEventListener("touchmove", x, { passive: !0 });
|
|
278
278
|
}, oe = () => {
|
|
279
279
|
setTimeout(
|
|
280
280
|
() => {
|
|
@@ -286,9 +286,9 @@ function We(e, n, t) {
|
|
|
286
286
|
F > 0 && F < Math.floor((parseInt(w) + 1) * s) && t(15, w = Math.ceil(F / s).toString());
|
|
287
287
|
};
|
|
288
288
|
Fe(() => (k = parseInt(w, 10) * parseInt(s, 10), () => {
|
|
289
|
-
S.removeEventListener("touchstart", X), S.removeEventListener("touchmove",
|
|
289
|
+
S.removeEventListener("touchstart", X), S.removeEventListener("touchmove", x);
|
|
290
290
|
}));
|
|
291
|
-
const ue = () => j(-1), me = (l) => R(l), de = (l) =>
|
|
291
|
+
const ue = () => j(-1), me = (l) => R(l), de = (l) => J(l), he = () => O();
|
|
292
292
|
function ge(l) {
|
|
293
293
|
G[l ? "unshift" : "push"](() => {
|
|
294
294
|
M = l, t(7, M);
|
|
@@ -319,9 +319,9 @@ function We(e, n, t) {
|
|
|
319
319
|
8 && S && ie(), e.$$.dirty[0] & /*translationurl*/
|
|
320
320
|
524288 && b && se(), e.$$.dirty[0] & /*games*/
|
|
321
321
|
2 && g.length && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
322
|
-
1048577 && h && u &&
|
|
323
|
-
2097153 && i && u &&
|
|
324
|
-
4194305 && r && u &&
|
|
322
|
+
1048577 && h && u && ze(u, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
323
|
+
2097153 && i && u && Ae(u, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
324
|
+
4194305 && r && u && He(u, `${r}.Style`, c);
|
|
325
325
|
}, t(2, f = 0), [
|
|
326
326
|
u,
|
|
327
327
|
g,
|
|
@@ -334,7 +334,7 @@ function We(e, n, t) {
|
|
|
334
334
|
a,
|
|
335
335
|
m,
|
|
336
336
|
d,
|
|
337
|
-
|
|
337
|
+
J,
|
|
338
338
|
O,
|
|
339
339
|
j,
|
|
340
340
|
R,
|
|
@@ -429,7 +429,7 @@ class qe extends ve {
|
|
|
429
429
|
this.$$set({ mbsource: n }), T();
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
|
|
432
|
+
Le(qe, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
433
433
|
export {
|
|
434
434
|
qe as default
|
|
435
435
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as De } from "./CasinoTournamentsThumbnailController-
|
|
1
|
+
import { b as be, S as ve, i as ke, s as Ne, f as T, d as Se, n as Y, e as W, j as q, l as N, o as Te, p as Fe, G as K, H as Be, w as le, I as C, F as Z, k as v, J as Pe, x as H, m as D, h as o, K as Me, q as G, u as Ee, E as Q, v as je, B as Ae, C as He, D as Le, c as ze, A as Ce } from "./CasinoTournamentsListController-Cc1Egq3m.js";
|
|
2
|
+
import { g as De } from "./CasinoTournamentsThumbnailController-CdIivVd2.js";
|
|
3
3
|
function V(e, n) {
|
|
4
4
|
be(e, n);
|
|
5
5
|
}
|
|
@@ -79,13 +79,13 @@ function te(e) {
|
|
|
79
79
|
/*main_elementresize_handler*/
|
|
80
80
|
e[29].bind(m)
|
|
81
81
|
), v(n, w), v(n, s), e[31](n), _ || (b = [
|
|
82
|
-
|
|
82
|
+
H(
|
|
83
83
|
t,
|
|
84
84
|
"click",
|
|
85
85
|
/*click_handler*/
|
|
86
86
|
e[24]
|
|
87
87
|
),
|
|
88
|
-
|
|
88
|
+
H(
|
|
89
89
|
s,
|
|
90
90
|
"click",
|
|
91
91
|
/*click_handler_2*/
|
|
@@ -166,11 +166,11 @@ function ne(e) {
|
|
|
166
166
|
e[49].name), o(s, "title", h = /*game*/
|
|
167
167
|
e[49].name), o(n, "class", "item"), o(n, "part", "item");
|
|
168
168
|
},
|
|
169
|
-
m(k,
|
|
170
|
-
q(k, n,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
m(k, f) {
|
|
170
|
+
q(k, n, f), v(n, t), v(t, m), v(n, w), v(n, s), v(n, i), r || (u = [
|
|
171
|
+
H(n, "click", c),
|
|
172
|
+
H(n, "mouseenter", P),
|
|
173
|
+
H(
|
|
174
174
|
n,
|
|
175
175
|
"mouseleave",
|
|
176
176
|
/*mouseleave_handler*/
|
|
@@ -178,22 +178,22 @@ function ne(e) {
|
|
|
178
178
|
)
|
|
179
179
|
], r = !0);
|
|
180
180
|
},
|
|
181
|
-
p(k,
|
|
182
|
-
e = k,
|
|
181
|
+
p(k, f) {
|
|
182
|
+
e = k, f[0] & /*$_*/
|
|
183
183
|
1024 && a !== (a = /*$_*/
|
|
184
|
-
e[10]("playNow") + "") && Ee(m, a),
|
|
184
|
+
e[10]("playNow") + "") && Ee(m, a), f[0] & /*hover, hoverIndex*/
|
|
185
185
|
96 && d !== (d = "PlayNowButton " + /*hover*/
|
|
186
186
|
(e[5] && /*hoverIndex*/
|
|
187
187
|
e[6] == /*i*/
|
|
188
|
-
e[51] ? "itemHover" : "")) && o(t, "class", d),
|
|
188
|
+
e[51] ? "itemHover" : "")) && o(t, "class", d), f[0] & /*hover, hoverIndex*/
|
|
189
189
|
96 && y !== (y = "PlayNowButton " + /*hover*/
|
|
190
190
|
(e[5] && /*hoverIndex*/
|
|
191
191
|
e[6] == /*i*/
|
|
192
|
-
e[51] ? "itemHover" : "")) && o(t, "part", y),
|
|
192
|
+
e[51] ? "itemHover" : "")) && o(t, "part", y), f[0] & /*games*/
|
|
193
193
|
2 && !Q(s.src, _ = /*game*/
|
|
194
|
-
e[49].thumbnail) && o(s, "src", _),
|
|
194
|
+
e[49].thumbnail) && o(s, "src", _), f[0] & /*games*/
|
|
195
195
|
2 && b !== (b = /*game*/
|
|
196
|
-
e[49].name) && o(s, "alt", b),
|
|
196
|
+
e[49].name) && o(s, "alt", b), f[0] & /*games*/
|
|
197
197
|
2 && h !== (h = /*game*/
|
|
198
198
|
e[49].name) && o(s, "title", h);
|
|
199
199
|
},
|
|
@@ -231,11 +231,11 @@ let Ge = 30;
|
|
|
231
231
|
function We(e, n, t) {
|
|
232
232
|
let a, m, d;
|
|
233
233
|
Te(e, Ce, (l) => t(10, d = l));
|
|
234
|
-
let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k,
|
|
234
|
+
let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k, f = [], g = 0, S, L = null, z = null, I = !1, U, M, E = 0, F;
|
|
235
235
|
const se = () => {
|
|
236
236
|
fetch(b).then((p) => p.json()).then((p) => {
|
|
237
|
-
Object.keys(p).forEach((
|
|
238
|
-
V(
|
|
237
|
+
Object.keys(p).forEach((A) => {
|
|
238
|
+
V(A, p[A]);
|
|
239
239
|
});
|
|
240
240
|
}).catch((p) => {
|
|
241
241
|
console.log(p);
|
|
@@ -246,18 +246,18 @@ function We(e, n, t) {
|
|
|
246
246
|
});
|
|
247
247
|
const x = (l) => {
|
|
248
248
|
t(5, I = !0), t(6, U = l);
|
|
249
|
-
},
|
|
249
|
+
}, J = () => {
|
|
250
250
|
t(5, I = !1), t(6, U = -1);
|
|
251
|
-
}, re = (l) => l.touches || l.originalEvent.touches,
|
|
251
|
+
}, re = (l) => l.touches || l.originalEvent.touches, O = (l) => {
|
|
252
252
|
const p = re(l)[0];
|
|
253
|
-
|
|
254
|
-
},
|
|
255
|
-
if (!
|
|
253
|
+
L = p.clientX, z = p.clientY;
|
|
254
|
+
}, X = (l) => {
|
|
255
|
+
if (!L || !z)
|
|
256
256
|
return;
|
|
257
|
-
let p = l.touches[0].clientX,
|
|
258
|
-
Math.abs(B) > Math.abs(_e) && (B > 0 ? j(1) : j(-1)),
|
|
257
|
+
let p = l.touches[0].clientX, A = l.touches[0].clientY, B = L - p, _e = z - A;
|
|
258
|
+
Math.abs(B) > Math.abs(_e) && (B > 0 ? j(1) : j(-1)), L = null, z = null;
|
|
259
259
|
}, j = (l) => {
|
|
260
|
-
l > 0 && !m ? (t(2,
|
|
260
|
+
l > 0 && !m ? (t(2, g -= k), t(2, g = g < E ? E : g)) : l < 0 && !a && (t(2, g += k), t(2, g = g > 0 ? 0 : g));
|
|
261
261
|
}, R = (l) => {
|
|
262
262
|
window.postMessage(
|
|
263
263
|
{
|
|
@@ -270,15 +270,15 @@ function We(e, n, t) {
|
|
|
270
270
|
);
|
|
271
271
|
}, ae = () => {
|
|
272
272
|
let l = new URL(y), p = new Headers();
|
|
273
|
-
l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ge},offset=${
|
|
274
|
-
t(1,
|
|
273
|
+
l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ge},offset=${g})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", _), l.searchParams.append("platform", De(P)), fetch(l, { method: "GET", headers: p }).then((B) => B.json()).then((B) => {
|
|
274
|
+
t(1, f = B.item.games.items), B.item.games.total;
|
|
275
275
|
});
|
|
276
276
|
}, ie = () => {
|
|
277
|
-
S.addEventListener("touchstart",
|
|
277
|
+
S.addEventListener("touchstart", O, { passive: !0 }), S.addEventListener("touchmove", X, { passive: !0 });
|
|
278
278
|
}, oe = () => {
|
|
279
279
|
setTimeout(
|
|
280
280
|
() => {
|
|
281
|
-
t(23, E = (M.scrollWidth - M.clientWidth) * -1), t(16, s = new String(M.scrollWidth /
|
|
281
|
+
t(23, E = (M.scrollWidth - M.clientWidth) * -1), t(16, s = new String(M.scrollWidth / f.length)), k = parseInt(w, 10) * parseFloat(s, 2).toFixed(2);
|
|
282
282
|
},
|
|
283
283
|
1e3
|
|
284
284
|
);
|
|
@@ -286,15 +286,15 @@ function We(e, n, t) {
|
|
|
286
286
|
F > 0 && F < Math.floor((parseInt(w) + 1) * s) && t(15, w = Math.ceil(F / s).toString());
|
|
287
287
|
};
|
|
288
288
|
Fe(() => (k = parseInt(w, 10) * parseInt(s, 10), () => {
|
|
289
|
-
S.removeEventListener("touchstart",
|
|
289
|
+
S.removeEventListener("touchstart", O), S.removeEventListener("touchmove", X);
|
|
290
290
|
}));
|
|
291
|
-
const ue = () => j(-1), me = (l) => R(l), de = (l) => x(l), he = () =>
|
|
292
|
-
function
|
|
291
|
+
const ue = () => j(-1), me = (l) => R(l), de = (l) => x(l), he = () => J();
|
|
292
|
+
function fe(l) {
|
|
293
293
|
G[l ? "unshift" : "push"](() => {
|
|
294
294
|
M = l, t(7, M);
|
|
295
295
|
});
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function ge() {
|
|
298
298
|
F = this.clientWidth, t(4, F);
|
|
299
299
|
}
|
|
300
300
|
const pe = () => j(1);
|
|
@@ -312,20 +312,20 @@ function We(e, n, t) {
|
|
|
312
312
|
"tournamenturl" in l && t(17, y = l.tournamenturl), "scrollby" in l && t(15, w = l.scrollby), "pagfactor" in l && t(16, s = l.pagfactor), "lang" in l && t(18, _ = l.lang), "translationurl" in l && t(19, b = l.translationurl), "clientstyling" in l && t(20, h = l.clientstyling), "clientstylingurl" in l && t(21, i = l.clientstylingurl), "mbsource" in l && t(22, r = l.mbsource);
|
|
313
313
|
}, e.$$.update = () => {
|
|
314
314
|
e.$$.dirty[0] & /*offset*/
|
|
315
|
-
4 && t(8, a =
|
|
316
|
-
8388612 && t(9, m =
|
|
315
|
+
4 && t(8, a = g === 0), e.$$.dirty[0] & /*offset, gamesElementWidth*/
|
|
316
|
+
8388612 && t(9, m = g <= E), e.$$.dirty[0] & /*sliderMainWidth*/
|
|
317
317
|
16 && F && ce(), e.$$.dirty[0] & /*tournamenturl*/
|
|
318
318
|
131072 && y && ae(), e.$$.dirty[0] & /*slider*/
|
|
319
319
|
8 && S && ie(), e.$$.dirty[0] & /*translationurl*/
|
|
320
320
|
524288 && b && se(), e.$$.dirty[0] & /*games*/
|
|
321
|
-
2 &&
|
|
322
|
-
1048577 && h && u &&
|
|
323
|
-
2097153 && i && u &&
|
|
324
|
-
4194305 && r && u &&
|
|
325
|
-
}, t(2,
|
|
321
|
+
2 && f.length && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
322
|
+
1048577 && h && u && Ae(u, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
323
|
+
2097153 && i && u && He(u, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
324
|
+
4194305 && r && u && Le(u, `${r}.Style`, c);
|
|
325
|
+
}, t(2, g = 0), [
|
|
326
326
|
u,
|
|
327
|
-
g,
|
|
328
327
|
f,
|
|
328
|
+
g,
|
|
329
329
|
S,
|
|
330
330
|
F,
|
|
331
331
|
I,
|
|
@@ -335,7 +335,7 @@ function We(e, n, t) {
|
|
|
335
335
|
m,
|
|
336
336
|
d,
|
|
337
337
|
x,
|
|
338
|
-
|
|
338
|
+
J,
|
|
339
339
|
j,
|
|
340
340
|
R,
|
|
341
341
|
w,
|
|
@@ -351,8 +351,8 @@ function We(e, n, t) {
|
|
|
351
351
|
me,
|
|
352
352
|
de,
|
|
353
353
|
he,
|
|
354
|
-
ge,
|
|
355
354
|
fe,
|
|
355
|
+
ge,
|
|
356
356
|
pe,
|
|
357
357
|
ye,
|
|
358
358
|
we
|
|
@@ -429,7 +429,7 @@ class qe extends ve {
|
|
|
429
429
|
this.$$set({ mbsource: n }), T();
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
|
|
432
|
+
ze(qe, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
433
433
|
export {
|
|
434
434
|
qe as default
|
|
435
435
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as L, S as Z, i as j, s as B, f as _, c as I, n as F, d as T, t as b, h as k, j as d, k as g, l as w, u as P, g as u, m as R, o as O, G as N, H as D, p as U, z as V, A as W, B as q, C as G, D as J } from "./CasinoTournamentsListController-BSNYZkzo.js";
|
|
2
2
|
function M(l, e) {
|
|
3
|
-
|
|
3
|
+
L(l, e);
|
|
4
4
|
}
|
|
5
5
|
const H = {
|
|
6
6
|
en: {
|
|
@@ -59,33 +59,33 @@ const H = {
|
|
|
59
59
|
place: "place"
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
function
|
|
62
|
+
function K(l) {
|
|
63
63
|
I(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
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function A(l, e, t) {
|
|
66
66
|
const i = l.slice();
|
|
67
67
|
return i[12] = e[t], i[14] = t, i;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function E(l) {
|
|
70
70
|
let e, t = N(
|
|
71
71
|
/*prizes*/
|
|
72
72
|
l[1]
|
|
73
73
|
), i = [];
|
|
74
74
|
for (let n = 0; n < t.length; n += 1)
|
|
75
|
-
i[n] =
|
|
76
|
-
let
|
|
77
|
-
return t.length || (
|
|
75
|
+
i[n] = C(A(l, t, n));
|
|
76
|
+
let s = null;
|
|
77
|
+
return t.length || (s = x(l)), {
|
|
78
78
|
c() {
|
|
79
79
|
e = g("div");
|
|
80
80
|
for (let n = 0; n < i.length; n += 1)
|
|
81
81
|
i[n].c();
|
|
82
|
-
|
|
82
|
+
s && s.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
|
|
83
83
|
},
|
|
84
84
|
m(n, c) {
|
|
85
85
|
k(n, e, c);
|
|
86
|
-
for (let
|
|
87
|
-
i[
|
|
88
|
-
|
|
86
|
+
for (let r = 0; r < i.length; r += 1)
|
|
87
|
+
i[r] && i[r].m(e, null);
|
|
88
|
+
s && s.m(e, null);
|
|
89
89
|
},
|
|
90
90
|
p(n, c) {
|
|
91
91
|
if (c & /*prizes, $_*/
|
|
@@ -94,22 +94,22 @@ function A(l) {
|
|
|
94
94
|
/*prizes*/
|
|
95
95
|
n[1]
|
|
96
96
|
);
|
|
97
|
-
let
|
|
98
|
-
for (
|
|
99
|
-
const f =
|
|
100
|
-
i[
|
|
97
|
+
let r;
|
|
98
|
+
for (r = 0; r < t.length; r += 1) {
|
|
99
|
+
const f = A(n, t, r);
|
|
100
|
+
i[r] ? i[r].p(f, c) : (i[r] = C(f), i[r].c(), i[r].m(e, null));
|
|
101
101
|
}
|
|
102
|
-
for (;
|
|
103
|
-
i[
|
|
104
|
-
i.length = t.length, !t.length &&
|
|
102
|
+
for (; r < i.length; r += 1)
|
|
103
|
+
i[r].d(1);
|
|
104
|
+
i.length = t.length, !t.length && s ? s.p(n, c) : t.length ? s && (s.d(1), s = null) : (s = x(n), s.c(), s.m(e, null));
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
d(n) {
|
|
108
|
-
n && T(e),
|
|
108
|
+
n && T(e), D(i, n), s && s.d();
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function x(l) {
|
|
113
113
|
let e, t = (
|
|
114
114
|
/*$_*/
|
|
115
115
|
l[2]("noprizes") + ""
|
|
@@ -118,21 +118,21 @@ function E(l) {
|
|
|
118
118
|
c() {
|
|
119
119
|
e = g("p"), i = P(t);
|
|
120
120
|
},
|
|
121
|
-
m(
|
|
122
|
-
k(
|
|
121
|
+
m(s, n) {
|
|
122
|
+
k(s, e, n), d(e, i);
|
|
123
123
|
},
|
|
124
|
-
p(
|
|
124
|
+
p(s, n) {
|
|
125
125
|
n & /*$_*/
|
|
126
126
|
4 && t !== (t = /*$_*/
|
|
127
|
-
|
|
127
|
+
s[2]("noprizes") + "") && b(i, t);
|
|
128
128
|
},
|
|
129
|
-
d(
|
|
130
|
-
|
|
129
|
+
d(s) {
|
|
130
|
+
s && T(e);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
let e, t, i,
|
|
134
|
+
function C(l) {
|
|
135
|
+
let e, t, i, s = (
|
|
136
136
|
/*prize*/
|
|
137
137
|
(l[12].count > 1 ? `${/*prize*/
|
|
138
138
|
l[12].rank}~${/*prize*/
|
|
@@ -141,7 +141,7 @@ function L(l) {
|
|
|
141
141
|
/*prize*/
|
|
142
142
|
l[12].rank
|
|
143
143
|
)) + ""
|
|
144
|
-
), n, c,
|
|
144
|
+
), n, c, r = (
|
|
145
145
|
/*$_*/
|
|
146
146
|
l[2]("place") + ""
|
|
147
147
|
), f, a, p = (
|
|
@@ -150,7 +150,7 @@ function L(l) {
|
|
|
150
150
|
), m, v;
|
|
151
151
|
return {
|
|
152
152
|
c() {
|
|
153
|
-
e = g("div"), t = g("p"), i = g("span"), n = P(
|
|
153
|
+
e = g("div"), t = g("p"), i = g("span"), n = P(s), c = w(), f = P(r), a = P(": "), m = P(p), v = w(), u(i, "class", "PrizeRank"), u(i, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
|
|
154
154
|
l[14]), u(e, "part", "Prize Prize" + /*index*/
|
|
155
155
|
l[14]);
|
|
156
156
|
},
|
|
@@ -159,16 +159,16 @@ function L(l) {
|
|
|
159
159
|
},
|
|
160
160
|
p(z, h) {
|
|
161
161
|
h & /*prizes*/
|
|
162
|
-
2 &&
|
|
162
|
+
2 && s !== (s = /*prize*/
|
|
163
163
|
(z[12].count > 1 ? `${/*prize*/
|
|
164
164
|
z[12].rank}~${/*prize*/
|
|
165
165
|
z[12].rank + /*prize*/
|
|
166
166
|
z[12].count - 1}` : (
|
|
167
167
|
/*prize*/
|
|
168
168
|
z[12].rank
|
|
169
|
-
)) + "") && b(n,
|
|
170
|
-
4 &&
|
|
171
|
-
z[2]("place") + "") && b(f,
|
|
169
|
+
)) + "") && b(n, s), h & /*$_*/
|
|
170
|
+
4 && r !== (r = /*$_*/
|
|
171
|
+
z[2]("place") + "") && b(f, r), h & /*prizes*/
|
|
172
172
|
2 && p !== (p = /*prize*/
|
|
173
173
|
z[12].name + "") && b(m, p);
|
|
174
174
|
},
|
|
@@ -178,25 +178,25 @@ function L(l) {
|
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
180
|
function Q(l) {
|
|
181
|
-
let e, t, i,
|
|
181
|
+
let e, t, i, s, n, c = (
|
|
182
182
|
/*$_*/
|
|
183
183
|
l[2]("prizes") + ""
|
|
184
|
-
),
|
|
184
|
+
), r, f, a = (
|
|
185
185
|
/*prizes*/
|
|
186
|
-
l[1] &&
|
|
186
|
+
l[1] && E(l)
|
|
187
187
|
);
|
|
188
188
|
return {
|
|
189
189
|
c() {
|
|
190
|
-
e = g("div"), t = g("div"), i = g("span"), i.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>',
|
|
190
|
+
e = g("div"), t = g("div"), i = g("span"), i.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>', s = w(), n = g("p"), r = P(c), f = w(), a && a.c(), u(i, "class", "TournamentPrizesIconWrapper"), u(i, "part", "TournamentPrizesIconWrapper"), u(n, "class", "PrizesTitle"), u(n, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
|
|
191
191
|
},
|
|
192
192
|
m(p, m) {
|
|
193
|
-
k(p, e, m), d(e, t), d(t, i), d(t,
|
|
193
|
+
k(p, e, m), d(e, t), d(t, i), d(t, s), d(t, n), d(n, r), d(e, f), a && a.m(e, null), l[8](e);
|
|
194
194
|
},
|
|
195
195
|
p(p, [m]) {
|
|
196
196
|
m & /*$_*/
|
|
197
197
|
4 && c !== (c = /*$_*/
|
|
198
|
-
p[2]("prizes") + "") && b(
|
|
199
|
-
p[1] ? a ? a.p(p, m) : (a =
|
|
198
|
+
p[2]("prizes") + "") && b(r, c), /*prizes*/
|
|
199
|
+
p[1] ? a ? a.p(p, m) : (a = E(p), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
|
|
200
200
|
},
|
|
201
201
|
i: F,
|
|
202
202
|
o: F,
|
|
@@ -207,10 +207,10 @@ function Q(l) {
|
|
|
207
207
|
}
|
|
208
208
|
function X(l, e, t) {
|
|
209
209
|
let i;
|
|
210
|
-
R(l,
|
|
211
|
-
let { tourid:
|
|
210
|
+
R(l, J, (o) => t(2, i = o));
|
|
211
|
+
let { tourid: s = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: r = "" } = e, { mbsource: f } = e, a, p, m;
|
|
212
212
|
const v = () => {
|
|
213
|
-
fetch(
|
|
213
|
+
fetch(r).then((y) => y.json()).then((y) => {
|
|
214
214
|
Object.keys(y).forEach((S) => {
|
|
215
215
|
M(S, y[S]);
|
|
216
216
|
});
|
|
@@ -222,32 +222,32 @@ function X(l, e, t) {
|
|
|
222
222
|
M(o, H[o]);
|
|
223
223
|
});
|
|
224
224
|
const z = (o) => {
|
|
225
|
-
o.data && o.data.type == `TournamentPrizes_${
|
|
225
|
+
o.data && o.data.type == `TournamentPrizes_${s}` && t(1, m = o.data.prizes);
|
|
226
226
|
};
|
|
227
227
|
O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
|
|
228
228
|
window.removeEventListener("message", z);
|
|
229
229
|
}));
|
|
230
230
|
function h(o) {
|
|
231
|
-
|
|
231
|
+
U[o ? "unshift" : "push"](() => {
|
|
232
232
|
a = o, t(0, a);
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
235
|
return l.$$set = (o) => {
|
|
236
|
-
"tourid" in o && t(3,
|
|
236
|
+
"tourid" in o && t(3, s = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, r = o.translationurl), "mbsource" in o && t(7, f = o.mbsource);
|
|
237
237
|
}, l.$$.update = () => {
|
|
238
238
|
l.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
239
|
-
17 && n && a &&
|
|
240
|
-
33 && c && a &&
|
|
241
|
-
129 && f && a &&
|
|
242
|
-
64 &&
|
|
239
|
+
17 && n && a && V(a, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
240
|
+
33 && c && a && W(a, c), l.$$.dirty & /*mbsource, customStylingContainer*/
|
|
241
|
+
129 && f && a && q(a, `${f}.Style`, p), l.$$.dirty & /*translationurl*/
|
|
242
|
+
64 && r && v();
|
|
243
243
|
}, [
|
|
244
244
|
a,
|
|
245
245
|
m,
|
|
246
246
|
i,
|
|
247
|
-
|
|
247
|
+
s,
|
|
248
248
|
n,
|
|
249
249
|
c,
|
|
250
|
-
|
|
250
|
+
r,
|
|
251
251
|
f,
|
|
252
252
|
h
|
|
253
253
|
];
|
|
@@ -267,7 +267,7 @@ class Y extends Z {
|
|
|
267
267
|
translationurl: 6,
|
|
268
268
|
mbsource: 7
|
|
269
269
|
},
|
|
270
|
-
|
|
270
|
+
K
|
|
271
271
|
);
|
|
272
272
|
}
|
|
273
273
|
get tourid() {
|
|
@@ -301,7 +301,7 @@ class Y extends Z {
|
|
|
301
301
|
this.$$set({ mbsource: e }), _();
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
|
|
304
|
+
G(Y, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
305
305
|
export {
|
|
306
306
|
Y as default
|
|
307
307
|
};
|