@everymatrix/casino-tournaments-page-controller 1.76.1 → 1.76.4
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/{CasinoTournamentsDetails-DPKqCPr7.js → CasinoTournamentsDetails-CV5jyv8g.js} +22 -22
- package/components/{CasinoTournamentsDetails-BsekkKcF.js → CasinoTournamentsDetails-_vnvzxd3.js} +22 -22
- package/components/CasinoTournamentsPageController-Czj_9f9q.cjs +37 -0
- package/components/{CasinoTournamentsPageController-NBhbhWBn.js → CasinoTournamentsPageController-DIjImG1k.js} +1782 -1761
- package/components/{CasinoTournamentsPageController-DlDBOW7F.js → CasinoTournamentsPageController-LRHk1OJ4.js} +1767 -1746
- package/components/{CasinoTournamentsRank-Cc5pidJ-.js → CasinoTournamentsRank-BEjjLuf1.js} +35 -35
- package/components/{CasinoTournamentsRank-CNnWcewC.js → CasinoTournamentsRank-CkgXfPdz.js} +35 -35
- package/components/{CasinoTournamentsTab-DLvxjX6q.js → CasinoTournamentsTab-BRIU3NDv.js} +36 -36
- package/components/{CasinoTournamentsTab-pJjsTZL6.cjs → CasinoTournamentsTab-BdBIehQV.cjs} +1 -1
- package/components/{CasinoTournamentsTab-BMnGuGCU.js → CasinoTournamentsTab-cAmru9Ol.js} +32 -32
- package/components/{CasinoTournamentsTable-Bs1Hodh3.cjs → CasinoTournamentsTable-3AOlf9hp.cjs} +1 -1
- package/components/{CasinoTournamentsTable-CPUS34EO.js → CasinoTournamentsTable-D0-M8VIr.js} +82 -82
- package/components/{CasinoTournamentsTable-D_fc5BN3.js → CasinoTournamentsTable-RfAIxnuW.js} +82 -82
- package/components/{CasinoTournamentsThumbnail-C5F15PUc.js → CasinoTournamentsThumbnail-CaIyyUlW.js} +41 -41
- package/components/{CasinoTournamentsThumbnail-5a-pBfB5.js → CasinoTournamentsThumbnail-Cp_sIUHy.js} +41 -41
- package/components/{CasinoTournamentsThumbnail-DiCHf9fK.cjs → CasinoTournamentsThumbnail-D1JyrHrY.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-DFDybeTm.js → CasinoTournamentsThumbnailController-30_8iqch.js} +47 -47
- package/components/{CasinoTournamentsThumbnailController-AlPe8dGJ.cjs → CasinoTournamentsThumbnailController-CjJaE6DJ.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-B2FV581M.js → CasinoTournamentsThumbnailController-wrPgna6T.js} +47 -47
- package/components/{CasinoTournamentsThumbnailDuration-7gNjuUpw.js → CasinoTournamentsThumbnailDuration-BqNqjxsL.js} +65 -65
- package/components/{CasinoTournamentsThumbnailDuration-DfjgUs1a.cjs → CasinoTournamentsThumbnailDuration-CMPeZsoj.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-D3ifxW4o.js → CasinoTournamentsThumbnailDuration-ZnRFP_h_.js} +65 -65
- package/components/{CasinoTournamentsThumbnailGames-XMZ3c1UQ.js → CasinoTournamentsThumbnailGames-BQSFsb7H.js} +53 -53
- package/components/{CasinoTournamentsThumbnailGames-DdCyuGxf.cjs → CasinoTournamentsThumbnailGames-DS3GmPBl.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGames-DwcC4C7S.js → CasinoTournamentsThumbnailGames-Q4Gg_Pxp.js} +48 -48
- package/components/{CasinoTournamentsThumbnailGamesSlider-BNVc516v.js → CasinoTournamentsThumbnailGamesSlider-BAXfTifG.js} +36 -36
- package/components/{CasinoTournamentsThumbnailGamesSlider-mdTHZrhJ.js → CasinoTournamentsThumbnailGamesSlider-CFd0JjFY.js} +36 -36
- package/components/{CasinoTournamentsThumbnailGamesSlider-8N3RMofV.cjs → CasinoTournamentsThumbnailGamesSlider-DmOtGPsI.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-DJt4LD07.cjs → CasinoTournamentsThumbnailPrizes-CgS9w2Aq.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-AXbfcFFk.js → CasinoTournamentsThumbnailPrizes-Dz4-wWGv.js} +31 -31
- package/components/{CasinoTournamentsThumbnailPrizes-CE30X7NA.js → CasinoTournamentsThumbnailPrizes-pZYtadAx.js} +31 -31
- package/components/{CasinoTournamentsThumbnailRule-Bq1kg49V.cjs → CasinoTournamentsThumbnailRule-BaJvRUJL.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailRule-D3U3g4vB.js → CasinoTournamentsThumbnailRule-BtlW7eqt.js} +22 -22
- package/components/{CasinoTournamentsThumbnailRule-DZVFgctQ.js → CasinoTournamentsThumbnailRule-C2uFR1vt.js} +41 -41
- package/es2015/casino-tournaments-page-controller.cjs +1 -1
- package/es2015/casino-tournaments-page-controller.js +1 -1
- package/esnext/casino-tournaments-page-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652--F7PvMq9.js +542 -0
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/index-97d17652-CCFHkzJw.js +558 -0
- package/stencil/index-b2193545-BS7xFIk4.js +503 -0
- package/stencil/index-b2193545-BTdVi7--.cjs +1 -0
- package/stencil/index-b2193545-rfNAj6ri.js +519 -0
- package/stencil/{ui-image-CDCn_LHy.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
- package/stencil/{ui-image-CNrnXPP3.js → ui-image-CXqPvnQ2.js} +1 -1
- package/stencil/{ui-image-CDGN3Ekj.js → ui-image-DgbODkuX.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/{ui-skeleton-Caiy-FEL.cjs → ui-skeleton-B0BB970e.cjs} +1 -1
- package/stencil/{ui-skeleton-CzV3R1-p.js → ui-skeleton-D8L-WY77.js} +2 -2
- package/stencil/{ui-skeleton-C73UqtBQ.js → ui-skeleton-DSebcnN1.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CLOd38Ia.js → ui-skeleton-ae35c6f2-BH4D8vHD.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-SCby2j53.js → ui-skeleton-ae35c6f2-CcPx4a2P.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-C9l5j8aK.cjs → ui-skeleton-ae35c6f2-DDiK5zGt.cjs} +1 -1
- package/components/CasinoTournamentsPageController-DpzlGcSu.cjs +0 -37
- package/stencil/index-97d17652-BD-QREJe.js +0 -558
- package/stencil/index-97d17652-DJqGt8q2.js +0 -542
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
- package/stencil/index-b2193545-CF9C6kiu.cjs +0 -1
- package/stencil/index-b2193545-OH6E7v51.js +0 -519
- package/stencil/index-b2193545-eoIiLcDl.js +0 -503
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { S as V, b as Y,
|
|
2
|
-
import { $ as j, c as ue, a as me, i as de, b as fe } from "./CasinoTournamentsPageController-
|
|
3
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { S as V, b as Y, s as Z, f as z, d as $, x as P, n as U, e as C, y as Q, j as b, k as S, l as h, p as w, o as M, u as ee, v as te, h as g, g as B, t as R, w as ae, z as ne, A as I, m as se, i as ie, C as le, D as oe, E as re, c as ce } from "./CasinoTournamentsDetails-_vnvzxd3.js";
|
|
2
|
+
import { $ as j, c as ue, a as me, i as de, b as fe } from "./CasinoTournamentsPageController-LRHk1OJ4.js";
|
|
3
|
+
import "../stencil/ui-image-DgbODkuX.js";
|
|
4
4
|
function ge({ withLocale: t, translations: e }) {
|
|
5
5
|
j.subscribe((a) => {
|
|
6
6
|
a == null && (ue.set(e), j.set(t));
|
|
7
7
|
});
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function q(t, e) {
|
|
10
10
|
me(t, e);
|
|
11
11
|
}
|
|
12
12
|
function pe(t) {
|
|
@@ -23,7 +23,7 @@ const D = {
|
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
function he(t) {
|
|
26
|
-
|
|
26
|
+
$(t, "svelte-grpqez", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
|
|
27
27
|
}
|
|
28
28
|
function H(t, e, a) {
|
|
29
29
|
const n = t.slice();
|
|
@@ -37,7 +37,7 @@ function K(t) {
|
|
|
37
37
|
let e, a;
|
|
38
38
|
return {
|
|
39
39
|
c() {
|
|
40
|
-
e = w("div"), a = w("casino-tournaments-tab"), g(a, "part", "TournamentGames"), g(a, "tabs", "casino,sports"), g(a, "tab", "casino"), g(a, "tid",
|
|
40
|
+
e = w("div"), a = w("casino-tournaments-tab"), g(a, "part", "TournamentGames"), g(a, "tabs", "casino,sports"), g(a, "tab", "casino"), g(a, "tid", E), g(
|
|
41
41
|
a,
|
|
42
42
|
"clientstyling",
|
|
43
43
|
/*clientstyling*/
|
|
@@ -55,7 +55,7 @@ function K(t) {
|
|
|
55
55
|
), b(e, "class", "GamesTabNav");
|
|
56
56
|
},
|
|
57
57
|
m(n, s) {
|
|
58
|
-
|
|
58
|
+
S(n, e, s), h(e, a);
|
|
59
59
|
},
|
|
60
60
|
p(n, s) {
|
|
61
61
|
s & /*clientstyling*/
|
|
@@ -79,7 +79,7 @@ function K(t) {
|
|
|
79
79
|
);
|
|
80
80
|
},
|
|
81
81
|
d(n) {
|
|
82
|
-
n &&
|
|
82
|
+
n && C(e);
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
}
|
|
@@ -90,23 +90,23 @@ function be(t) {
|
|
|
90
90
|
), n;
|
|
91
91
|
return {
|
|
92
92
|
c() {
|
|
93
|
-
e = w("div"), n =
|
|
93
|
+
e = w("div"), n = R(a), b(e, "class", "NoGames");
|
|
94
94
|
},
|
|
95
95
|
m(s, r) {
|
|
96
|
-
|
|
96
|
+
S(s, e, r), h(e, n);
|
|
97
97
|
},
|
|
98
98
|
p(s, r) {
|
|
99
99
|
r & /*$_*/
|
|
100
100
|
256 && a !== (a = /*$_*/
|
|
101
|
-
s[8]("noGamesAvailable") + "") &&
|
|
101
|
+
s[8]("noGamesAvailable") + "") && B(n, a);
|
|
102
102
|
},
|
|
103
103
|
d(s) {
|
|
104
|
-
s &&
|
|
104
|
+
s && C(e);
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
function _e(t) {
|
|
109
|
-
let e, a =
|
|
109
|
+
let e, a = P(
|
|
110
110
|
/*casinoGames*/
|
|
111
111
|
t[7]
|
|
112
112
|
), n = [];
|
|
@@ -116,17 +116,17 @@ function _e(t) {
|
|
|
116
116
|
c() {
|
|
117
117
|
for (let s = 0; s < n.length; s += 1)
|
|
118
118
|
n[s].c();
|
|
119
|
-
e =
|
|
119
|
+
e = ne();
|
|
120
120
|
},
|
|
121
121
|
m(s, r) {
|
|
122
122
|
for (let i = 0; i < n.length; i += 1)
|
|
123
123
|
n[i] && n[i].m(s, r);
|
|
124
|
-
|
|
124
|
+
S(s, e, r);
|
|
125
125
|
},
|
|
126
126
|
p(s, r) {
|
|
127
127
|
if (r & /*gameClicked, casinoGames, $_*/
|
|
128
128
|
1408) {
|
|
129
|
-
a =
|
|
129
|
+
a = P(
|
|
130
130
|
/*casinoGames*/
|
|
131
131
|
s[7]
|
|
132
132
|
);
|
|
@@ -141,7 +141,7 @@ function _e(t) {
|
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
d(s) {
|
|
144
|
-
s &&
|
|
144
|
+
s && C(e), Q(n, s);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
}
|
|
@@ -152,14 +152,14 @@ function X(t) {
|
|
|
152
152
|
), s, r, i, u, m, _, k, d, y;
|
|
153
153
|
return {
|
|
154
154
|
c() {
|
|
155
|
-
e = w("div"), a = w("span"), s =
|
|
155
|
+
e = w("div"), a = w("span"), s = R(n), r = M(), i = w("ui-image"), k = M(), b(a, "class", "PlayNowButton"), I(i.src, u = /*item*/
|
|
156
156
|
t[20].thumbnail) || g(i, "src", u), g(i, "width", "132px"), g(i, "height", "100px"), g(i, "alt", m = /*item*/
|
|
157
157
|
t[20].name), g(i, "title", _ = /*item*/
|
|
158
158
|
t[20].name), b(e, "class", "item"), b(e, "role", "button"), b(e, "tabindex", "0");
|
|
159
159
|
},
|
|
160
160
|
m(v, c) {
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
S(v, e, c), h(e, a), h(a, s), h(e, r), h(e, i), h(e, k), d || (y = se(e, "click", function() {
|
|
162
|
+
ie(
|
|
163
163
|
/*gameClicked*/
|
|
164
164
|
t[10](
|
|
165
165
|
/*item*/
|
|
@@ -174,8 +174,8 @@ function X(t) {
|
|
|
174
174
|
p(v, c) {
|
|
175
175
|
t = v, c & /*$_*/
|
|
176
176
|
256 && n !== (n = /*$_*/
|
|
177
|
-
t[8]("playNow") + "") &&
|
|
178
|
-
128 && !
|
|
177
|
+
t[8]("playNow") + "") && B(s, n), c & /*casinoGames*/
|
|
178
|
+
128 && !I(i.src, u = /*item*/
|
|
179
179
|
t[20].thumbnail) && g(i, "src", u), c & /*casinoGames*/
|
|
180
180
|
128 && m !== (m = /*item*/
|
|
181
181
|
t[20].name) && g(i, "alt", m), c & /*casinoGames*/
|
|
@@ -183,7 +183,7 @@ function X(t) {
|
|
|
183
183
|
t[20].name) && g(i, "title", _);
|
|
184
184
|
},
|
|
185
185
|
d(v) {
|
|
186
|
-
v &&
|
|
186
|
+
v && C(e), d = !1, y();
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
}
|
|
@@ -197,20 +197,20 @@ function x(t) {
|
|
|
197
197
|
), i;
|
|
198
198
|
return {
|
|
199
199
|
c() {
|
|
200
|
-
e = w("li"), n =
|
|
200
|
+
e = w("li"), n = R(a), s = M(), i = R(r), b(e, "part", "li"), b(e, "class", "Market");
|
|
201
201
|
},
|
|
202
202
|
m(u, m) {
|
|
203
|
-
|
|
203
|
+
S(u, e, m), h(e, n), h(e, s), h(e, i);
|
|
204
204
|
},
|
|
205
205
|
p(u, m) {
|
|
206
206
|
m & /*sportsRules*/
|
|
207
207
|
64 && a !== (a = /*item*/
|
|
208
|
-
u[20].rule + "") &&
|
|
208
|
+
u[20].rule + "") && B(n, a), m & /*$_*/
|
|
209
209
|
256 && r !== (r = /*$_*/
|
|
210
|
-
u[8]("contribution") + "") &&
|
|
210
|
+
u[8]("contribution") + "") && B(i, r);
|
|
211
211
|
},
|
|
212
212
|
d(u) {
|
|
213
|
-
u &&
|
|
213
|
+
u && C(e);
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
216
|
}
|
|
@@ -229,7 +229,7 @@ function we(t) {
|
|
|
229
229
|
(G = o[7]) != null && G.length ? _e : be
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
let v = y(t), c = v(t), N =
|
|
232
|
+
let v = y(t), c = v(t), N = P(
|
|
233
233
|
/*sportsRules*/
|
|
234
234
|
t[6]
|
|
235
235
|
), p = [];
|
|
@@ -248,7 +248,7 @@ function we(t) {
|
|
|
248
248
|
) ? "MobileClass" : "");
|
|
249
249
|
},
|
|
250
250
|
m(o, T) {
|
|
251
|
-
|
|
251
|
+
S(o, e, T), d && d.m(e, null), h(e, a), h(e, n), h(n, s), h(s, r), c.m(r, null), h(n, u), h(n, m), h(m, _);
|
|
252
252
|
for (let G = 0; G < p.length; G += 1)
|
|
253
253
|
p[G] && p[G].m(_, null);
|
|
254
254
|
t[13](e);
|
|
@@ -262,7 +262,7 @@ function we(t) {
|
|
|
262
262
|
32 && i !== (i = "TabContent GamesContent " + /*activeTab*/
|
|
263
263
|
(o[5] != "casino" ? "hidden" : "")) && b(s, "class", i), T & /*$_, sportsRules*/
|
|
264
264
|
320) {
|
|
265
|
-
N =
|
|
265
|
+
N = P(
|
|
266
266
|
/*sportsRules*/
|
|
267
267
|
o[6]
|
|
268
268
|
);
|
|
@@ -279,30 +279,30 @@ function we(t) {
|
|
|
279
279
|
32 && k !== (k = "TabContent GamesContent " + /*activeTab*/
|
|
280
280
|
(o[5] != "sports" ? "hidden" : "")) && b(m, "class", k);
|
|
281
281
|
},
|
|
282
|
-
i:
|
|
283
|
-
o:
|
|
282
|
+
i: U,
|
|
283
|
+
o: U,
|
|
284
284
|
d(o) {
|
|
285
|
-
o &&
|
|
285
|
+
o && C(e), d && d.d(), c.d(), Q(p, o), t[13](null);
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
288
|
}
|
|
289
|
-
let
|
|
289
|
+
let E = "gameTab";
|
|
290
290
|
function ye(t, e, a) {
|
|
291
291
|
let n;
|
|
292
|
-
|
|
292
|
+
ee(t, fe, (l) => a(8, n = l));
|
|
293
293
|
let { clientstyling: s = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: i } = e, { translationurl: u } = e, { lang: m = "en" } = e, _ = "casino", k = [], d = [], y, v = window.navigator.userAgent, c;
|
|
294
294
|
ge({ withLocale: "en", translations: {} });
|
|
295
295
|
const N = () => {
|
|
296
296
|
fetch(u).then((l) => l.json()).then((l) => {
|
|
297
297
|
Object.keys(l).forEach((f) => {
|
|
298
|
-
|
|
298
|
+
q(f, l[f]);
|
|
299
299
|
});
|
|
300
300
|
}).catch((l) => {
|
|
301
301
|
console.log(l);
|
|
302
302
|
});
|
|
303
303
|
};
|
|
304
304
|
Object.keys(D).forEach((l) => {
|
|
305
|
-
|
|
305
|
+
q(l, D[l]);
|
|
306
306
|
});
|
|
307
307
|
const p = () => {
|
|
308
308
|
pe(m), setTimeout(
|
|
@@ -333,9 +333,9 @@ function ye(t, e, a) {
|
|
|
333
333
|
window.location.href
|
|
334
334
|
);
|
|
335
335
|
}, o = () => {
|
|
336
|
-
var f, A,
|
|
336
|
+
var f, A, F;
|
|
337
337
|
a(7, d = ((f = y.games) == null ? void 0 : f.items) || []);
|
|
338
|
-
const l = (
|
|
338
|
+
const l = (F = (A = y.metadata) == null ? void 0 : A.sports) == null ? void 0 : F.rules;
|
|
339
339
|
if (l) {
|
|
340
340
|
a(5, _ = y.wallet.casino ? "casino" : "sports");
|
|
341
341
|
try {
|
|
@@ -351,7 +351,7 @@ function ye(t, e, a) {
|
|
|
351
351
|
const f = l.data.tid || "";
|
|
352
352
|
switch (l.data.type) {
|
|
353
353
|
case "TournamentsTabSwitch":
|
|
354
|
-
f ===
|
|
354
|
+
f === E && a(5, _ = l.data.tab);
|
|
355
355
|
break;
|
|
356
356
|
case "TournamentsTabListenerLoaded":
|
|
357
357
|
L();
|
|
@@ -364,17 +364,17 @@ function ye(t, e, a) {
|
|
|
364
364
|
break;
|
|
365
365
|
}
|
|
366
366
|
};
|
|
367
|
-
|
|
367
|
+
te(() => (window.postMessage(
|
|
368
368
|
{
|
|
369
369
|
type: "TournamentsGamesListenerLoaded",
|
|
370
|
-
gamesTabTid:
|
|
370
|
+
gamesTabTid: E
|
|
371
371
|
},
|
|
372
372
|
window.location.href
|
|
373
373
|
), window.addEventListener("message", T, !1), () => {
|
|
374
374
|
window.removeEventListener("message", T);
|
|
375
375
|
}));
|
|
376
376
|
function G(l) {
|
|
377
|
-
|
|
377
|
+
ae[l ? "unshift" : "push"](() => {
|
|
378
378
|
c = l, a(4, c);
|
|
379
379
|
});
|
|
380
380
|
}
|
|
@@ -386,8 +386,8 @@ function ye(t, e, a) {
|
|
|
386
386
|
4096 && m && p(), t.$$.dirty & /*translationurl*/
|
|
387
387
|
2048 && u && N(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
388
388
|
17 && s && c && le(c, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
389
|
-
18 && r && c &&
|
|
390
|
-
20 && i && c &&
|
|
389
|
+
18 && r && c && oe(c, r), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
390
|
+
20 && i && c && re(c, `${i}.Style`);
|
|
391
391
|
}, [
|
|
392
392
|
s,
|
|
393
393
|
r,
|
|
@@ -412,7 +412,7 @@ class ve extends V {
|
|
|
412
412
|
e,
|
|
413
413
|
ye,
|
|
414
414
|
we,
|
|
415
|
-
|
|
415
|
+
Z,
|
|
416
416
|
{
|
|
417
417
|
clientstyling: 0,
|
|
418
418
|
clientstylingurl: 1,
|
|
@@ -454,7 +454,7 @@ class ve extends V {
|
|
|
454
454
|
this.$$set({ lang: e }), z();
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
|
-
|
|
457
|
+
ce(ve, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
|
|
458
458
|
export {
|
|
459
459
|
ve as default
|
|
460
460
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as _e, b as be,
|
|
2
|
-
import { a as
|
|
1
|
+
import { S as _e, b as be, s as ve, f as T, d as ke, n as R, e as G, k as W, p as N, u as Ne, v as Se, x as Y, y as Te, r as ne, G as z, F as Z, l as b, H as Fe, m as A, o as C, j as c, I as Pe, w as U, g as Be, A as K, t as Me, C as Ee, D as je, E as Ae, c as He } from "./CasinoTournamentsDetails-CV5jyv8g.js";
|
|
2
|
+
import { a as Le, g as ze, b as Ce } from "./CasinoTournamentsPageController-DIjImG1k.js";
|
|
3
3
|
function Q(e, n) {
|
|
4
|
-
|
|
4
|
+
Le(e, n);
|
|
5
5
|
}
|
|
6
6
|
const V = {
|
|
7
7
|
en: {
|
|
@@ -36,7 +36,7 @@ const V = {
|
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
function De(e) {
|
|
39
|
-
|
|
39
|
+
ke(e, "svelte-xgd67c", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emw--color-contrast, #07072A)}.SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}");
|
|
40
40
|
}
|
|
41
41
|
function $(e, n, t) {
|
|
42
42
|
const a = e.slice();
|
|
@@ -54,16 +54,16 @@ function ee(e) {
|
|
|
54
54
|
n = N("div"), t = N("div"), t.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = C(), d = N("main"), h = N("div");
|
|
55
55
|
for (let r = 0; r < i.length; r += 1)
|
|
56
56
|
i[r].c();
|
|
57
|
-
y = C(), s = N("div"), s.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', c(t, "class", "SliderNavButton"), c(t, "part", "SliderNavButton"),
|
|
57
|
+
y = C(), s = N("div"), s.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', c(t, "class", "SliderNavButton"), c(t, "part", "SliderNavButton"), z(
|
|
58
58
|
t,
|
|
59
59
|
"disabled",
|
|
60
60
|
/*atStart*/
|
|
61
61
|
e[8]
|
|
62
62
|
), c(h, "class", "items"), c(h, "part", "items"), Z(h, "transform", "translateX(" + /*offset*/
|
|
63
|
-
e[2] + "px)"),
|
|
63
|
+
e[2] + "px)"), Pe(() => (
|
|
64
64
|
/*main_elementresize_handler*/
|
|
65
65
|
e[29].call(d)
|
|
66
|
-
)), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"),
|
|
66
|
+
)), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"), z(
|
|
67
67
|
s,
|
|
68
68
|
"disabled",
|
|
69
69
|
/*atEnd*/
|
|
@@ -71,21 +71,21 @@ function ee(e) {
|
|
|
71
71
|
), c(n, "class", "TournamentsGamesSlider"), c(n, "part", "TournamentsGamesSlider");
|
|
72
72
|
},
|
|
73
73
|
m(r, m) {
|
|
74
|
-
|
|
74
|
+
W(r, n, m), b(n, t), b(n, a), b(n, d), b(d, h);
|
|
75
75
|
for (let u = 0; u < i.length; u += 1)
|
|
76
76
|
i[u] && i[u].m(h, null);
|
|
77
|
-
e[28](h), p =
|
|
77
|
+
e[28](h), p = Fe(
|
|
78
78
|
d,
|
|
79
79
|
/*main_elementresize_handler*/
|
|
80
80
|
e[29].bind(d)
|
|
81
81
|
), b(n, y), b(n, s), e[31](n), w || (_ = [
|
|
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*/
|
|
@@ -95,7 +95,7 @@ function ee(e) {
|
|
|
95
95
|
},
|
|
96
96
|
p(r, m) {
|
|
97
97
|
if (m[0] & /*atStart*/
|
|
98
|
-
256 &&
|
|
98
|
+
256 && z(
|
|
99
99
|
t,
|
|
100
100
|
"disabled",
|
|
101
101
|
/*atStart*/
|
|
@@ -118,7 +118,7 @@ function ee(e) {
|
|
|
118
118
|
m[0] & /*offset*/
|
|
119
119
|
4 && Z(h, "transform", "translateX(" + /*offset*/
|
|
120
120
|
r[2] + "px)"), m[0] & /*atEnd*/
|
|
121
|
-
512 &&
|
|
121
|
+
512 && z(
|
|
122
122
|
s,
|
|
123
123
|
"disabled",
|
|
124
124
|
/*atEnd*/
|
|
@@ -126,7 +126,7 @@ function ee(e) {
|
|
|
126
126
|
);
|
|
127
127
|
},
|
|
128
128
|
d(r) {
|
|
129
|
-
r &&
|
|
129
|
+
r && G(n), Te(i, r), e[28](null), p(), e[31](null), w = !1, ne(_);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
}
|
|
@@ -155,7 +155,7 @@ function te(e) {
|
|
|
155
155
|
}
|
|
156
156
|
return {
|
|
157
157
|
c() {
|
|
158
|
-
n = N("div"), t = N("span"), d =
|
|
158
|
+
n = N("div"), t = N("span"), d = Me(a), y = C(), s = N("img"), i = C(), c(t, "class", h = "PlayNowButton " + /*hover*/
|
|
159
159
|
(e[5] && /*hoverIndex*/
|
|
160
160
|
e[6] == /*i*/
|
|
161
161
|
e[51] ? "itemHover" : "")), c(t, "part", p = "PlayNowButton " + /*hover*/
|
|
@@ -167,10 +167,10 @@ function te(e) {
|
|
|
167
167
|
e[49].name), c(n, "class", "item"), c(n, "part", "item");
|
|
168
168
|
},
|
|
169
169
|
m(v, o) {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
W(v, n, o), b(n, t), b(t, d), b(n, y), b(n, s), b(n, i), r || (m = [
|
|
171
|
+
A(n, "click", u),
|
|
172
|
+
A(n, "mouseenter", k),
|
|
173
|
+
A(
|
|
174
174
|
n,
|
|
175
175
|
"mouseleave",
|
|
176
176
|
/*mouseleave_handler*/
|
|
@@ -181,7 +181,7 @@ function te(e) {
|
|
|
181
181
|
p(v, o) {
|
|
182
182
|
e = v, o[0] & /*$_*/
|
|
183
183
|
1024 && a !== (a = /*$_*/
|
|
184
|
-
e[10]("playNow") + "") &&
|
|
184
|
+
e[10]("playNow") + "") && Be(d, a), o[0] & /*hover, hoverIndex*/
|
|
185
185
|
96 && h !== (h = "PlayNowButton " + /*hover*/
|
|
186
186
|
(e[5] && /*hoverIndex*/
|
|
187
187
|
e[6] == /*i*/
|
|
@@ -198,7 +198,7 @@ function te(e) {
|
|
|
198
198
|
e[49].name) && c(s, "title", g);
|
|
199
199
|
},
|
|
200
200
|
d(v) {
|
|
201
|
-
v &&
|
|
201
|
+
v && G(n), r = !1, ne(m);
|
|
202
202
|
}
|
|
203
203
|
};
|
|
204
204
|
}
|
|
@@ -213,7 +213,7 @@ function Ie(e) {
|
|
|
213
213
|
n = N("div"), t && t.c();
|
|
214
214
|
},
|
|
215
215
|
m(a, d) {
|
|
216
|
-
|
|
216
|
+
W(a, n, d), t && t.m(n, null), e[32](n);
|
|
217
217
|
},
|
|
218
218
|
p(a, d) {
|
|
219
219
|
/*games*/
|
|
@@ -223,15 +223,15 @@ function Ie(e) {
|
|
|
223
223
|
i: R,
|
|
224
224
|
o: R,
|
|
225
225
|
d(a) {
|
|
226
|
-
a &&
|
|
226
|
+
a && G(n), t && t.d(), e[32](null);
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
230
|
let Ue = 30;
|
|
231
231
|
function Ge(e, n, t) {
|
|
232
232
|
let a, d, h;
|
|
233
|
-
|
|
234
|
-
let { tournamenturl: p = "" } = n, { scrollby: y = "3" } = n, { pagfactor: s = "175" } = n, { lang: w = "" } = n, { translationurl: _ = "" } = n, { clientstyling: g = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, m, u = window.navigator.userAgent, k, v = [], o = 0, S,
|
|
233
|
+
Ne(e, Ce, (l) => t(10, h = l));
|
|
234
|
+
let { tournamenturl: p = "" } = n, { scrollby: y = "3" } = n, { pagfactor: s = "175" } = n, { lang: w = "" } = n, { translationurl: _ = "" } = n, { clientstyling: g = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, m, u = window.navigator.userAgent, k, v = [], o = 0, S, H = null, L = null, D = !1, I, B, M = 0, F;
|
|
235
235
|
const le = () => {
|
|
236
236
|
fetch(_).then((f) => f.json()).then((f) => {
|
|
237
237
|
Object.keys(f).forEach((j) => {
|
|
@@ -250,12 +250,12 @@ function Ge(e, n, t) {
|
|
|
250
250
|
t(5, D = !1), t(6, I = -1);
|
|
251
251
|
}, se = (l) => l.touches || l.originalEvent.touches, O = (l) => {
|
|
252
252
|
const f = se(l)[0];
|
|
253
|
-
|
|
253
|
+
H = f.clientX, L = f.clientY;
|
|
254
254
|
}, X = (l) => {
|
|
255
|
-
if (!
|
|
255
|
+
if (!H || !L)
|
|
256
256
|
return;
|
|
257
|
-
let f = l.touches[0].clientX, j = l.touches[0].clientY, P =
|
|
258
|
-
Math.abs(P) > Math.abs(we) && (P > 0 ? E(1) : E(-1)),
|
|
257
|
+
let f = l.touches[0].clientX, j = l.touches[0].clientY, P = H - f, we = L - j;
|
|
258
|
+
Math.abs(P) > Math.abs(we) && (P > 0 ? E(1) : E(-1)), H = null, L = null;
|
|
259
259
|
}, E = (l) => {
|
|
260
260
|
l > 0 && !d ? (t(2, o -= k), t(2, o = o < M ? M : o)) : l < 0 && !a && (t(2, o += k), t(2, o = o > 0 ? 0 : o));
|
|
261
261
|
}, J = (l) => {
|
|
@@ -270,7 +270,7 @@ function Ge(e, n, t) {
|
|
|
270
270
|
);
|
|
271
271
|
}, re = () => {
|
|
272
272
|
let l = new URL(p), f = new Headers();
|
|
273
|
-
l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ue},offset=${o})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", w), l.searchParams.append("platform",
|
|
273
|
+
l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ue},offset=${o})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", w), l.searchParams.append("platform", ze(u)), fetch(l, { method: "GET", headers: f }).then((P) => P.json()).then((P) => {
|
|
274
274
|
t(1, v = P.item.games.items), P.item.games.total;
|
|
275
275
|
});
|
|
276
276
|
}, ae = () => {
|
|
@@ -285,7 +285,7 @@ function Ge(e, n, t) {
|
|
|
285
285
|
}, oe = () => {
|
|
286
286
|
F > 0 && F < Math.floor((parseInt(y) + 1) * s) && t(15, y = Math.ceil(F / s).toString());
|
|
287
287
|
};
|
|
288
|
-
|
|
288
|
+
Se(() => (k = parseInt(y, 10) * parseInt(s, 10), () => {
|
|
289
289
|
S.removeEventListener("touchstart", O), S.removeEventListener("touchmove", X);
|
|
290
290
|
}));
|
|
291
291
|
const ce = () => E(-1), ue = (l) => J(l), me = (l) => q(l), de = () => x();
|
|
@@ -319,9 +319,9 @@ function Ge(e, n, t) {
|
|
|
319
319
|
8 && S && ae(), e.$$.dirty[0] & /*translationurl*/
|
|
320
320
|
524288 && _ && le(), e.$$.dirty[0] & /*games*/
|
|
321
321
|
2 && v.length && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
322
|
-
1048577 && g && m &&
|
|
323
|
-
2097153 && i && m &&
|
|
324
|
-
4194305 && r && m &&
|
|
322
|
+
1048577 && g && m && Ee(m, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
323
|
+
2097153 && i && m && je(m, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
324
|
+
4194305 && r && m && Ae(m, `${r}.Style`);
|
|
325
325
|
}, t(2, o = 0), [
|
|
326
326
|
m,
|
|
327
327
|
v,
|
|
@@ -365,7 +365,7 @@ class We extends _e {
|
|
|
365
365
|
n,
|
|
366
366
|
Ge,
|
|
367
367
|
Ie,
|
|
368
|
-
|
|
368
|
+
ve,
|
|
369
369
|
{
|
|
370
370
|
tournamenturl: 17,
|
|
371
371
|
scrollby: 15,
|
|
@@ -429,7 +429,7 @@ class We extends _e {
|
|
|
429
429
|
this.$$set({ mbsource: n }), T();
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
|
|
432
|
+
He(We, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
433
433
|
export {
|
|
434
434
|
We as default
|
|
435
435
|
};
|