@everymatrix/casino-tournaments-controller 1.86.12 → 1.86.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/{CasinoTournamentsController-GPVssAQb.cjs → CasinoTournamentsController-BWyj8OUz.cjs} +1 -1
- package/components/{CasinoTournamentsController-DQQChSqb.js → CasinoTournamentsController-BvHWO7Nr.js} +2 -2
- package/components/{CasinoTournamentsController-BWtzdFkh.js → CasinoTournamentsController-DB79oDoJ.js} +2 -2
- package/components/{CasinoTournamentsFilterController-BMab6IuG.cjs → CasinoTournamentsFilterController-BkRzaPiE.cjs} +1 -1
- package/components/{CasinoTournamentsFilterController-sZXdLG3p.js → CasinoTournamentsFilterController-C4TrIrhP.js} +1 -1
- package/components/{CasinoTournamentsFilterController-ChSHZFK2.js → CasinoTournamentsFilterController-CWorG_Q2.js} +1 -1
- package/components/{CasinoTournamentsListController-9IBE2WO5.js → CasinoTournamentsListController-Bk1AuBr7.js} +2 -2
- package/components/{CasinoTournamentsListController-Bd5ctZfM.js → CasinoTournamentsListController-CiDWHtdG.js} +2 -2
- package/components/{CasinoTournamentsListController-CnMw3pr-.cjs → CasinoTournamentsListController-DiM7gPSB.cjs} +2 -2
- package/components/{CasinoTournamentsThumbnail-Bz2Z-mmC.js → CasinoTournamentsThumbnail-CVeWPsQD.js} +2 -2
- package/components/{CasinoTournamentsThumbnail-J51iZ-ku.cjs → CasinoTournamentsThumbnail-CjCrwe1A.cjs} +2 -2
- package/components/{CasinoTournamentsThumbnail-VBEftTtr.js → CasinoTournamentsThumbnail-DvRE-wwX.js} +2 -2
- package/components/{CasinoTournamentsThumbnailController-lOn1p92k.js → CasinoTournamentsThumbnailController-Bg3m2Lkx.js} +226 -218
- package/components/{CasinoTournamentsThumbnailController-CP4e8LNn.js → CasinoTournamentsThumbnailController-DAJbyR6-.js} +228 -220
- package/components/{CasinoTournamentsThumbnailController-B8FSzsUy.cjs → CasinoTournamentsThumbnailController-tB_78aVX.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-CTOUFaml.js → CasinoTournamentsThumbnailDuration-DDKgric3.js} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-BcC6ZTtN.cjs → CasinoTournamentsThumbnailDuration-DzsCOWiJ.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-RsNQXjOU.js → CasinoTournamentsThumbnailDuration-RysWzpCS.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-oEFO2JzV.js → CasinoTournamentsThumbnailGamesSlider-CdJtKK5_.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-hN5mnpGq.js → CasinoTournamentsThumbnailGamesSlider-DEuL5SDt.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-Dp7lyUPb.cjs → CasinoTournamentsThumbnailGamesSlider-DsijULEG.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-DmLMmspT.cjs → CasinoTournamentsThumbnailPrizes-DR4zrOFV.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CYfcocRF.js → CasinoTournamentsThumbnailPrizes-DujUbusi.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-BJPNcyzo.js → CasinoTournamentsThumbnailPrizes-kczat6yZ.js} +1 -1
- 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
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
var
|
|
2
|
-
var s = (
|
|
1
|
+
var ae = (r, e, t) => new Promise((n, o) => {
|
|
2
|
+
var s = (m) => {
|
|
3
3
|
try {
|
|
4
|
-
f(t.next(
|
|
4
|
+
f(t.next(m));
|
|
5
5
|
} catch (p) {
|
|
6
6
|
o(p);
|
|
7
7
|
}
|
|
8
|
-
}, a = (
|
|
8
|
+
}, a = (m) => {
|
|
9
9
|
try {
|
|
10
|
-
f(t.throw(
|
|
10
|
+
f(t.throw(m));
|
|
11
11
|
} catch (p) {
|
|
12
12
|
o(p);
|
|
13
13
|
}
|
|
14
|
-
}, f = (
|
|
14
|
+
}, f = (m) => m.done ? n(m.value) : Promise.resolve(m.value).then(s, a);
|
|
15
15
|
f((t = t.apply(r, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { C as
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
t == null && (
|
|
17
|
+
import { C as ue, D as Xe, a as Ve, S as Ze, i as Qe, s as Ye, f as _, b as $e, n as Y, d as w, B as l, g, c as b, p as T, e as F, q as B, j as et, o as tt, I as je, r as nt, A as fe, F as rt, m as D, t as C, E as it, u as x, H as me, v as L, w as ot, x as st, y as lt, z as at, $ as ut } from "./CasinoTournamentsController-DB79oDoJ.js";
|
|
18
|
+
function ft({ withLocale: r, translations: e }) {
|
|
19
|
+
ue.subscribe((t) => {
|
|
20
|
+
t == null && (Xe.set(e), ue.set(r));
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function Ce(r, e) {
|
|
24
|
+
Ve(r, e);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
26
|
+
function mt(r) {
|
|
27
|
+
ue.set(r);
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const De = {
|
|
30
30
|
en: {
|
|
31
31
|
login: "Log in",
|
|
32
32
|
register: "Register",
|
|
@@ -128,7 +128,7 @@ if (typeof window != "undefined") {
|
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-
|
|
131
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-CVeWPsQD.js").then(({ default: e }) => {
|
|
132
132
|
!customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", e.element);
|
|
133
133
|
});
|
|
134
134
|
}
|
|
@@ -144,7 +144,7 @@ if (typeof window != "undefined") {
|
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
};
|
|
147
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-
|
|
147
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-DDKgric3.js").then(({ default: e }) => {
|
|
148
148
|
!customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
|
|
149
149
|
"casino-tournaments-thumbnail-duration",
|
|
150
150
|
e.element
|
|
@@ -163,7 +163,7 @@ if (typeof window != "undefined") {
|
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
165
|
};
|
|
166
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-
|
|
166
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-DujUbusi.js").then(({ default: e }) => {
|
|
167
167
|
!customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", e.element);
|
|
168
168
|
});
|
|
169
169
|
}
|
|
@@ -179,7 +179,7 @@ if (typeof window != "undefined") {
|
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
};
|
|
182
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
182
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-CdJtKK5_.js").then(
|
|
183
183
|
({ default: e }) => {
|
|
184
184
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
185
185
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -189,40 +189,40 @@ if (typeof window != "undefined") {
|
|
|
189
189
|
);
|
|
190
190
|
}
|
|
191
191
|
function dt(r) {
|
|
192
|
-
|
|
192
|
+
$e(r, "svelte-1oqyfnf", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loading .TournamentCard{background-color:transparent}.Loading .TournamentButtons,.Loading .TournamentPrizes,.Loading .TournamentsGamesSlider{width:100%;display:block;margin:0}.Loading .TournamentButtons .SkeletonRectangle.Skeleton,.Loading .TournamentPrizes .SkeletonRectangle.Skeleton,.Loading .TournamentsGamesSlider .SkeletonRectangle.Skeleton{width:100%}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}');
|
|
193
193
|
}
|
|
194
|
-
function
|
|
195
|
-
let e, t, n, o, s, a, f,
|
|
194
|
+
function ct(r) {
|
|
195
|
+
let e, t, n, o, s, a, f, m = (
|
|
196
196
|
/*tourid*/
|
|
197
|
-
r[25] &&
|
|
197
|
+
r[25] && Le(r)
|
|
198
198
|
);
|
|
199
199
|
function p(c, k) {
|
|
200
200
|
if (!/*isLoggedIn*/
|
|
201
201
|
c[15])
|
|
202
|
-
return
|
|
202
|
+
return wt;
|
|
203
203
|
if (
|
|
204
204
|
/*status*/
|
|
205
205
|
c[24] != "Closed" && /*status*/
|
|
206
206
|
c[24] != "Closing"
|
|
207
207
|
)
|
|
208
|
-
return
|
|
208
|
+
return pt;
|
|
209
209
|
if (
|
|
210
210
|
/*showdetails*/
|
|
211
211
|
c[2] == "true"
|
|
212
212
|
)
|
|
213
|
-
return
|
|
213
|
+
return ht;
|
|
214
214
|
}
|
|
215
|
-
let h = p(r), u = h && h(r),
|
|
215
|
+
let h = p(r), u = h && h(r), d = (
|
|
216
216
|
/*errorJoin*/
|
|
217
217
|
(r[18] || /*errorJoinConcurrently*/
|
|
218
|
-
r[20]) &&
|
|
218
|
+
r[20]) && Me(r)
|
|
219
219
|
), v = (
|
|
220
220
|
/*showslider*/
|
|
221
|
-
r[3] == "true" &&
|
|
221
|
+
r[3] == "true" && Ie(r)
|
|
222
222
|
);
|
|
223
223
|
return {
|
|
224
224
|
c() {
|
|
225
|
-
|
|
225
|
+
m && m.c(), e = B(), t = F("casino-tournaments-thumbnail-duration"), n = B(), o = F("div"), u && u.c(), s = B(), d && d.c(), a = B(), v && v.c(), f = fe(), l(
|
|
226
226
|
t,
|
|
227
227
|
"clientstyling",
|
|
228
228
|
/*clientstyling*/
|
|
@@ -265,11 +265,11 @@ function mt(r) {
|
|
|
265
265
|
), l(t, "exportparts", "TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill"), g(o, "class", "TournamentButtons"), g(o, "part", "TournamentButtons");
|
|
266
266
|
},
|
|
267
267
|
m(c, k) {
|
|
268
|
-
|
|
268
|
+
m && m.m(c, k), b(c, e, k), b(c, t, k), b(c, n, k), b(c, o, k), u && u.m(o, null), b(c, s, k), d && d.m(c, k), b(c, a, k), v && v.m(c, k), b(c, f, k);
|
|
269
269
|
},
|
|
270
270
|
p(c, k) {
|
|
271
271
|
/*tourid*/
|
|
272
|
-
c[25] ?
|
|
272
|
+
c[25] ? m ? m.p(c, k) : (m = Le(c), m.c(), m.m(e.parentNode, e)) : m && (m.d(1), m = null), k[0] & /*clientstyling*/
|
|
273
273
|
1024 && l(
|
|
274
274
|
t,
|
|
275
275
|
"clientstyling",
|
|
@@ -319,15 +319,15 @@ function mt(r) {
|
|
|
319
319
|
c[23]
|
|
320
320
|
), h === (h = p(c)) && u ? u.p(c, k) : (u && u.d(1), u = h && h(c), u && (u.c(), u.m(o, null))), /*errorJoin*/
|
|
321
321
|
c[18] || /*errorJoinConcurrently*/
|
|
322
|
-
c[20] ?
|
|
323
|
-
c[3] == "true" ? v ? v.p(c, k) : (v =
|
|
322
|
+
c[20] ? d ? d.p(c, k) : (d = Me(c), d.c(), d.m(a.parentNode, a)) : d && (d.d(1), d = null), /*showslider*/
|
|
323
|
+
c[3] == "true" ? v ? v.p(c, k) : (v = Ie(c), v.c(), v.m(f.parentNode, f)) : v && (v.d(1), v = null);
|
|
324
324
|
},
|
|
325
325
|
d(c) {
|
|
326
|
-
c && (w(e), w(t), w(n), w(o), w(s), w(a), w(f)),
|
|
326
|
+
c && (w(e), w(t), w(n), w(o), w(s), w(a), w(f)), m && m.d(c), u && u.d(), d && d.d(c), v && v.d(c);
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function gt(r) {
|
|
331
331
|
let e, t, n;
|
|
332
332
|
return {
|
|
333
333
|
c() {
|
|
@@ -342,7 +342,7 @@ function ct(r) {
|
|
|
342
342
|
}
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function Le(r) {
|
|
346
346
|
let e, t, n, o;
|
|
347
347
|
return {
|
|
348
348
|
c() {
|
|
@@ -374,7 +374,7 @@ function Ce(r) {
|
|
|
374
374
|
), l(e, "exportparts", "TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper");
|
|
375
375
|
},
|
|
376
376
|
m(s, a) {
|
|
377
|
-
b(s, e, a), n || (o =
|
|
377
|
+
b(s, e, a), n || (o = rt(t = /*sendTournamentPrizes*/
|
|
378
378
|
r[38].call(
|
|
379
379
|
null,
|
|
380
380
|
e,
|
|
@@ -413,7 +413,7 @@ function Ce(r) {
|
|
|
413
413
|
"translationurl",
|
|
414
414
|
/*translationurl*/
|
|
415
415
|
s[12]
|
|
416
|
-
), t &&
|
|
416
|
+
), t && me(t.update) && a[0] & /*tourid*/
|
|
417
417
|
33554432 && t.update.call(
|
|
418
418
|
null,
|
|
419
419
|
/*tourid*/
|
|
@@ -425,7 +425,7 @@ function Ce(r) {
|
|
|
425
425
|
}
|
|
426
426
|
};
|
|
427
427
|
}
|
|
428
|
-
function
|
|
428
|
+
function ht(r) {
|
|
429
429
|
let e, t = (
|
|
430
430
|
/*$_*/
|
|
431
431
|
r[33]("details") + ""
|
|
@@ -435,8 +435,8 @@ function gt(r) {
|
|
|
435
435
|
e = F("button"), n = C(t), g(e, "class", "DetailsLargeButton"), g(e, "part", "DetailsLargeButton");
|
|
436
436
|
},
|
|
437
437
|
m(a, f) {
|
|
438
|
-
b(a, e, f), T(e, n), o || (s =
|
|
439
|
-
|
|
438
|
+
b(a, e, f), T(e, n), o || (s = x(e, "click", function() {
|
|
439
|
+
me(
|
|
440
440
|
/*detailsAction*/
|
|
441
441
|
r[36].bind(
|
|
442
442
|
this,
|
|
@@ -460,61 +460,61 @@ function gt(r) {
|
|
|
460
460
|
}
|
|
461
461
|
};
|
|
462
462
|
}
|
|
463
|
-
function
|
|
463
|
+
function pt(r) {
|
|
464
464
|
let e, t, n = (
|
|
465
465
|
/*showdetails*/
|
|
466
|
-
r[2] == "true" &&
|
|
466
|
+
r[2] == "true" && Pe(r)
|
|
467
467
|
);
|
|
468
|
-
function o(f,
|
|
468
|
+
function o(f, m) {
|
|
469
469
|
return (
|
|
470
470
|
/*userenrolled*/
|
|
471
|
-
f[27] ?
|
|
471
|
+
f[27] ? kt : bt
|
|
472
472
|
);
|
|
473
473
|
}
|
|
474
474
|
let s = o(r), a = s(r);
|
|
475
475
|
return {
|
|
476
476
|
c() {
|
|
477
|
-
n && n.c(), e = B(), a.c(), t =
|
|
477
|
+
n && n.c(), e = B(), a.c(), t = fe();
|
|
478
478
|
},
|
|
479
|
-
m(f,
|
|
480
|
-
n && n.m(f,
|
|
479
|
+
m(f, m) {
|
|
480
|
+
n && n.m(f, m), b(f, e, m), a.m(f, m), b(f, t, m);
|
|
481
481
|
},
|
|
482
|
-
p(f,
|
|
482
|
+
p(f, m) {
|
|
483
483
|
/*showdetails*/
|
|
484
|
-
f[2] == "true" ? n ? n.p(f,
|
|
484
|
+
f[2] == "true" ? n ? n.p(f, m) : (n = Pe(f), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), s === (s = o(f)) && a ? a.p(f, m) : (a.d(1), a = s(f), a && (a.c(), a.m(t.parentNode, t)));
|
|
485
485
|
},
|
|
486
486
|
d(f) {
|
|
487
487
|
f && (w(e), w(t)), n && n.d(f), a.d(f);
|
|
488
488
|
}
|
|
489
489
|
};
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function wt(r) {
|
|
492
492
|
let e, t = (
|
|
493
493
|
/*$_*/
|
|
494
494
|
r[33]("login") + ""
|
|
495
495
|
), n, o, s, a = (
|
|
496
496
|
/*$_*/
|
|
497
497
|
r[33]("register") + ""
|
|
498
|
-
), f,
|
|
498
|
+
), f, m, p;
|
|
499
499
|
return {
|
|
500
500
|
c() {
|
|
501
501
|
e = F("button"), n = C(t), o = B(), s = F("button"), f = C(a), g(e, "class", "LoginButton"), g(e, "part", "LoginButton"), g(s, "class", "RegisterButton"), g(s, "part", "RegisterButton");
|
|
502
502
|
},
|
|
503
503
|
m(h, u) {
|
|
504
|
-
b(h, e, u), T(e, n), b(h, o, u), b(h, s, u), T(s, f),
|
|
505
|
-
|
|
504
|
+
b(h, e, u), T(e, n), b(h, o, u), b(h, s, u), T(s, f), m || (p = [
|
|
505
|
+
x(
|
|
506
506
|
e,
|
|
507
507
|
"click",
|
|
508
508
|
/*loginAction*/
|
|
509
509
|
r[34]
|
|
510
510
|
),
|
|
511
|
-
|
|
511
|
+
x(
|
|
512
512
|
s,
|
|
513
513
|
"click",
|
|
514
514
|
/*registerAction*/
|
|
515
515
|
r[35]
|
|
516
516
|
)
|
|
517
|
-
],
|
|
517
|
+
], m = !0);
|
|
518
518
|
},
|
|
519
519
|
p(h, u) {
|
|
520
520
|
u[1] & /*$_*/
|
|
@@ -524,11 +524,11 @@ function pt(r) {
|
|
|
524
524
|
h[33]("register") + "") && D(f, a);
|
|
525
525
|
},
|
|
526
526
|
d(h) {
|
|
527
|
-
h && (w(e), w(o), w(s)),
|
|
527
|
+
h && (w(e), w(o), w(s)), m = !1, it(p);
|
|
528
528
|
}
|
|
529
529
|
};
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function Pe(r) {
|
|
532
532
|
let e, t = (
|
|
533
533
|
/*$_*/
|
|
534
534
|
r[33]("details") + ""
|
|
@@ -538,8 +538,8 @@ function De(r) {
|
|
|
538
538
|
e = F("button"), n = C(t), g(e, "class", "DetailsButton"), g(e, "part", "DetailsButton");
|
|
539
539
|
},
|
|
540
540
|
m(a, f) {
|
|
541
|
-
b(a, e, f), T(e, n), o || (s =
|
|
542
|
-
|
|
541
|
+
b(a, e, f), T(e, n), o || (s = x(e, "click", function() {
|
|
542
|
+
me(
|
|
543
543
|
/*detailsAction*/
|
|
544
544
|
r[36].bind(
|
|
545
545
|
this,
|
|
@@ -563,32 +563,32 @@ function De(r) {
|
|
|
563
563
|
}
|
|
564
564
|
};
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function bt(r) {
|
|
567
567
|
let e, t, n, o, s;
|
|
568
568
|
function a(p, h) {
|
|
569
569
|
return (
|
|
570
570
|
/*joinButtonLoading*/
|
|
571
|
-
p[17] == !0 ?
|
|
571
|
+
p[17] == !0 ? yt : _t
|
|
572
572
|
);
|
|
573
573
|
}
|
|
574
|
-
let f = a(r),
|
|
574
|
+
let f = a(r), m = f(r);
|
|
575
575
|
return {
|
|
576
576
|
c() {
|
|
577
|
-
e = F("button"),
|
|
577
|
+
e = F("button"), m.c(), g(e, "class", t = "JoinButton " + /*fullsize*/
|
|
578
578
|
(r[6] ? "JoinButtonFullSize" : "")), g(e, "part", n = "JoinButton " + /*fullsize*/
|
|
579
579
|
(r[6] ? "JoinButtonFullSize" : "")), e.disabled = /*errorJoin*/
|
|
580
580
|
r[18];
|
|
581
581
|
},
|
|
582
582
|
m(p, h) {
|
|
583
|
-
b(p, e, h),
|
|
583
|
+
b(p, e, h), m.m(e, null), o || (s = x(
|
|
584
584
|
e,
|
|
585
585
|
"click",
|
|
586
586
|
/*click_handler*/
|
|
587
|
-
r[
|
|
587
|
+
r[49]
|
|
588
588
|
), o = !0);
|
|
589
589
|
},
|
|
590
590
|
p(p, h) {
|
|
591
|
-
f === (f = a(p)) &&
|
|
591
|
+
f === (f = a(p)) && m ? m.p(p, h) : (m.d(1), m = f(p), m && (m.c(), m.m(e, null))), h[0] & /*fullsize*/
|
|
592
592
|
64 && t !== (t = "JoinButton " + /*fullsize*/
|
|
593
593
|
(p[6] ? "JoinButtonFullSize" : "")) && g(e, "class", t), h[0] & /*fullsize*/
|
|
594
594
|
64 && n !== (n = "JoinButton " + /*fullsize*/
|
|
@@ -597,45 +597,45 @@ function wt(r) {
|
|
|
597
597
|
p[18]);
|
|
598
598
|
},
|
|
599
599
|
d(p) {
|
|
600
|
-
p && w(e),
|
|
600
|
+
p && w(e), m.d(), o = !1, s();
|
|
601
601
|
}
|
|
602
602
|
};
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function kt(r) {
|
|
605
605
|
let e, t = (
|
|
606
606
|
/*showdetails*/
|
|
607
|
-
r[2] == "true" &&
|
|
607
|
+
r[2] == "true" && Ae(r)
|
|
608
608
|
);
|
|
609
609
|
return {
|
|
610
610
|
c() {
|
|
611
|
-
t && t.c(), e =
|
|
611
|
+
t && t.c(), e = fe();
|
|
612
612
|
},
|
|
613
613
|
m(n, o) {
|
|
614
614
|
t && t.m(n, o), b(n, e, o);
|
|
615
615
|
},
|
|
616
616
|
p(n, o) {
|
|
617
617
|
/*showdetails*/
|
|
618
|
-
n[2] == "true" ? t ? t.p(n, o) : (t =
|
|
618
|
+
n[2] == "true" ? t ? t.p(n, o) : (t = Ae(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
619
619
|
},
|
|
620
620
|
d(n) {
|
|
621
621
|
n && w(e), t && t.d(n);
|
|
622
622
|
}
|
|
623
623
|
};
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function _t(r) {
|
|
626
626
|
let e, t = (
|
|
627
627
|
/*$_*/
|
|
628
628
|
r[33]("join") + ""
|
|
629
|
-
), n, o, s, a, f,
|
|
629
|
+
), n, o, s, a, f, m, p, h;
|
|
630
630
|
return {
|
|
631
631
|
c() {
|
|
632
|
-
e = F("span"), n = C(t), o = B(), s = L("svg"), a = L("defs"), f = L("style"),
|
|
632
|
+
e = F("span"), n = C(t), o = B(), s = L("svg"), a = L("defs"), f = L("style"), m = C(".a{fill:var(--emw--color-white, #FFFFFF);}"), p = L("g"), h = L("path"), g(e, "part", "JoinButtonSpan"), g(h, "class", "a"), g(h, "part", "a JoinButtonSvgA"), g(h, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"), g(h, "transform", "translate(26 26) rotate(180)"), g(p, "transform", "translate(26 26) rotate(180)"), g(s, "part", "JoinButtonSvg"), g(s, "xmlns", "http://www.w3.org/2000/svg"), g(s, "width", "26"), g(s, "height", "26"), g(s, "viewBox", "0 0 26 26");
|
|
633
633
|
},
|
|
634
|
-
m(u,
|
|
635
|
-
b(u, e,
|
|
634
|
+
m(u, d) {
|
|
635
|
+
b(u, e, d), T(e, n), b(u, o, d), b(u, s, d), T(s, a), T(a, f), T(f, m), T(s, p), T(p, h);
|
|
636
636
|
},
|
|
637
|
-
p(u,
|
|
638
|
-
|
|
637
|
+
p(u, d) {
|
|
638
|
+
d[1] & /*$_*/
|
|
639
639
|
4 && t !== (t = /*$_*/
|
|
640
640
|
u[33]("join") + "") && D(n, t);
|
|
641
641
|
},
|
|
@@ -644,7 +644,7 @@ function kt(r) {
|
|
|
644
644
|
}
|
|
645
645
|
};
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function yt(r) {
|
|
648
648
|
let e, t;
|
|
649
649
|
return {
|
|
650
650
|
c() {
|
|
@@ -659,7 +659,7 @@ function _t(r) {
|
|
|
659
659
|
}
|
|
660
660
|
};
|
|
661
661
|
}
|
|
662
|
-
function
|
|
662
|
+
function Ae(r) {
|
|
663
663
|
let e, t = (
|
|
664
664
|
/*$_*/
|
|
665
665
|
r[33]("enrolled") + ""
|
|
@@ -681,7 +681,7 @@ function Le(r) {
|
|
|
681
681
|
}
|
|
682
682
|
};
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function Me(r) {
|
|
685
685
|
let e, t = (
|
|
686
686
|
/*$_*/
|
|
687
687
|
r[33]("joinerror") + ""
|
|
@@ -711,10 +711,10 @@ function Pe(r) {
|
|
|
711
711
|
}
|
|
712
712
|
};
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function Ie(r) {
|
|
715
715
|
let e, t, n = (
|
|
716
716
|
/*isLoading*/
|
|
717
|
-
r[16] &&
|
|
717
|
+
r[16] && Oe()
|
|
718
718
|
);
|
|
719
719
|
return {
|
|
720
720
|
c() {
|
|
@@ -755,7 +755,7 @@ function Ae(r) {
|
|
|
755
755
|
},
|
|
756
756
|
p(o, s) {
|
|
757
757
|
/*isLoading*/
|
|
758
|
-
o[16] ? n || (n =
|
|
758
|
+
o[16] ? n || (n = Oe(), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), s[0] & /*clientstyling*/
|
|
759
759
|
1024 && l(
|
|
760
760
|
t,
|
|
761
761
|
"clientstyling",
|
|
@@ -798,7 +798,7 @@ function Ae(r) {
|
|
|
798
798
|
}
|
|
799
799
|
};
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function Oe(r) {
|
|
802
802
|
let e;
|
|
803
803
|
return {
|
|
804
804
|
c() {
|
|
@@ -812,15 +812,15 @@ function Me(r) {
|
|
|
812
812
|
}
|
|
813
813
|
};
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function Tt(r) {
|
|
816
816
|
let e, t, n, o, s, a, f;
|
|
817
|
-
function
|
|
817
|
+
function m(u, d) {
|
|
818
818
|
return (
|
|
819
819
|
/*isLoading*/
|
|
820
|
-
u[16] ?
|
|
820
|
+
u[16] ? gt : ct
|
|
821
821
|
);
|
|
822
822
|
}
|
|
823
|
-
let p =
|
|
823
|
+
let p = m(r), h = p(r);
|
|
824
824
|
return {
|
|
825
825
|
c() {
|
|
826
826
|
e = F("div"), t = F("div"), n = F("casino-tournaments-thumbnail"), o = B(), h.c(), l(
|
|
@@ -923,181 +923,181 @@ function yt(r) {
|
|
|
923
923
|
(r[32] ? "elementToFadeOut" : "elementToFadeIn")), g(e, "class", f = `${/*isLoading*/
|
|
924
924
|
r[16] ? "Loading" : ""}`);
|
|
925
925
|
},
|
|
926
|
-
m(u,
|
|
927
|
-
b(u, e,
|
|
926
|
+
m(u, d) {
|
|
927
|
+
b(u, e, d), T(e, t), T(t, n), T(t, o), h.m(t, null), r[50](e);
|
|
928
928
|
},
|
|
929
|
-
p(u,
|
|
930
|
-
|
|
929
|
+
p(u, d) {
|
|
930
|
+
d[0] & /*detailsevent*/
|
|
931
931
|
256 && l(
|
|
932
932
|
n,
|
|
933
933
|
"detailsevent",
|
|
934
934
|
/*detailsevent*/
|
|
935
935
|
u[8]
|
|
936
|
-
),
|
|
936
|
+
), d[0] & /*userid*/
|
|
937
937
|
1 && l(
|
|
938
938
|
n,
|
|
939
939
|
"userid",
|
|
940
940
|
/*userid*/
|
|
941
941
|
u[0]
|
|
942
|
-
),
|
|
942
|
+
), d[0] & /*title*/
|
|
943
943
|
2097152 && l(
|
|
944
944
|
n,
|
|
945
945
|
"title",
|
|
946
946
|
/*title*/
|
|
947
947
|
u[21]
|
|
948
|
-
),
|
|
948
|
+
), d[0] & /*status*/
|
|
949
949
|
16777216 && l(
|
|
950
950
|
n,
|
|
951
951
|
"status",
|
|
952
952
|
/*status*/
|
|
953
953
|
u[24]
|
|
954
|
-
),
|
|
954
|
+
), d[0] & /*startdate*/
|
|
955
955
|
4194304 && l(
|
|
956
956
|
n,
|
|
957
957
|
"startdate",
|
|
958
958
|
/*startdate*/
|
|
959
959
|
u[22]
|
|
960
|
-
),
|
|
960
|
+
), d[0] & /*tourid*/
|
|
961
961
|
33554432 && l(
|
|
962
962
|
n,
|
|
963
963
|
"tourid",
|
|
964
964
|
/*tourid*/
|
|
965
965
|
u[25]
|
|
966
|
-
),
|
|
966
|
+
), d[0] & /*scorecriteria*/
|
|
967
967
|
268435456 && l(
|
|
968
968
|
n,
|
|
969
969
|
"scorecriteria",
|
|
970
970
|
/*scorecriteria*/
|
|
971
971
|
u[28]
|
|
972
|
-
),
|
|
972
|
+
), d[0] & /*minbetcount*/
|
|
973
973
|
536870912 && l(
|
|
974
974
|
n,
|
|
975
975
|
"minbetcount",
|
|
976
976
|
/*minbetcount*/
|
|
977
977
|
u[29]
|
|
978
|
-
),
|
|
978
|
+
), d[0] & /*thumbnail*/
|
|
979
979
|
67108864 && l(
|
|
980
980
|
n,
|
|
981
981
|
"thumbnail",
|
|
982
982
|
/*thumbnail*/
|
|
983
983
|
u[26]
|
|
984
|
-
),
|
|
984
|
+
), d[0] & /*showenrolled*/
|
|
985
985
|
16 && l(
|
|
986
986
|
n,
|
|
987
987
|
"showenrolled",
|
|
988
988
|
/*showenrolled*/
|
|
989
989
|
u[4]
|
|
990
|
-
),
|
|
990
|
+
), d[1] & /*gameurl*/
|
|
991
991
|
1 && l(
|
|
992
992
|
n,
|
|
993
993
|
"gameurl",
|
|
994
994
|
/*gameurl*/
|
|
995
995
|
u[31]
|
|
996
|
-
),
|
|
996
|
+
), d[0] & /*mbsource*/
|
|
997
997
|
8192 && l(
|
|
998
998
|
n,
|
|
999
999
|
"mbsource",
|
|
1000
1000
|
/*mbsource*/
|
|
1001
1001
|
u[13]
|
|
1002
|
-
),
|
|
1002
|
+
), d[0] & /*userenrolled*/
|
|
1003
1003
|
134217728 && l(
|
|
1004
1004
|
n,
|
|
1005
1005
|
"userenrolled",
|
|
1006
1006
|
/*userenrolled*/
|
|
1007
1007
|
u[27]
|
|
1008
|
-
),
|
|
1008
|
+
), d[0] & /*clientstyling*/
|
|
1009
1009
|
1024 && l(
|
|
1010
1010
|
n,
|
|
1011
1011
|
"clientstyling",
|
|
1012
1012
|
/*clientstyling*/
|
|
1013
1013
|
u[10]
|
|
1014
|
-
),
|
|
1014
|
+
), d[0] & /*clientstylingurl*/
|
|
1015
1015
|
2048 && l(
|
|
1016
1016
|
n,
|
|
1017
1017
|
"clientstylingurl",
|
|
1018
1018
|
/*clientstylingurl*/
|
|
1019
1019
|
u[11]
|
|
1020
|
-
),
|
|
1020
|
+
), d[0] & /*translationurl*/
|
|
1021
1021
|
4096 && l(
|
|
1022
1022
|
n,
|
|
1023
1023
|
"translationurl",
|
|
1024
1024
|
/*translationurl*/
|
|
1025
1025
|
u[12]
|
|
1026
|
-
),
|
|
1026
|
+
), d[0] & /*lang*/
|
|
1027
1027
|
128 && l(
|
|
1028
1028
|
n,
|
|
1029
1029
|
"lang",
|
|
1030
1030
|
/*lang*/
|
|
1031
1031
|
u[7]
|
|
1032
|
-
),
|
|
1032
|
+
), d[0] & /*keepbrowsercontext*/
|
|
1033
1033
|
512 && l(
|
|
1034
1034
|
n,
|
|
1035
1035
|
"keepbrowsercontext",
|
|
1036
1036
|
/*keepbrowsercontext*/
|
|
1037
1037
|
u[9]
|
|
1038
|
-
), p === (p =
|
|
1039
|
-
96 |
|
|
1038
|
+
), p === (p = m(u)) && h ? h.p(u, d) : (h.d(1), h = p(u), h && (h.c(), h.m(t, null))), d[0] & /*maxwidth, fullsize*/
|
|
1039
|
+
96 | d[1] & /*isChanging*/
|
|
1040
1040
|
2 && s !== (s = "TournamentCard " + /*maxwidth*/
|
|
1041
1041
|
(u[5] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
1042
1042
|
(u[6] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
1043
|
-
(u[32] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "class", s),
|
|
1044
|
-
96 |
|
|
1043
|
+
(u[32] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "class", s), d[0] & /*maxwidth, fullsize*/
|
|
1044
|
+
96 | d[1] & /*isChanging*/
|
|
1045
1045
|
2 && a !== (a = "TournamentCard " + /*maxwidth*/
|
|
1046
1046
|
(u[5] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
1047
1047
|
(u[6] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
1048
1048
|
(u[32] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
|
|
1049
|
-
(u[32] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "part", a),
|
|
1049
|
+
(u[32] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "part", a), d[0] & /*isLoading*/
|
|
1050
1050
|
65536 && f !== (f = `${/*isLoading*/
|
|
1051
1051
|
u[16] ? "Loading" : ""}`) && g(e, "class", f);
|
|
1052
1052
|
},
|
|
1053
1053
|
i: Y,
|
|
1054
1054
|
o: Y,
|
|
1055
1055
|
d(u) {
|
|
1056
|
-
u && w(e), h.d(), r[
|
|
1056
|
+
u && w(e), h.d(), r[50](null);
|
|
1057
1057
|
}
|
|
1058
1058
|
};
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1060
|
+
function Ft(r, e, t) {
|
|
1061
1061
|
let n;
|
|
1062
|
-
|
|
1063
|
-
let { session: o = "" } = e, { userid: s = "" } = e, { tournamenturl: a = "" } = e, { touridx: f } = e, { endpoint:
|
|
1064
|
-
|
|
1065
|
-
const
|
|
1066
|
-
fetch(
|
|
1062
|
+
et(r, ut, (i) => t(33, n = i));
|
|
1063
|
+
let { session: o = "" } = e, { userid: s = "" } = e, { tournamenturl: a = "" } = e, { touridx: f } = e, { endpoint: m = "" } = e, { showdetails: p = "" } = e, { showslider: h = "" } = e, { showenrolled: u = "" } = e, { maxwidth: d = "" } = e, { fullsize: v = "" } = e, { lang: c = "" } = e, { loginevent: k = "" } = e, { registerevent: J = "" } = e, { detailsevent: de = "" } = e, { loginurl: U = "" } = e, { registerurl: H = "" } = e, { currency: $ = "" } = e, { keepbrowsercontext: ce = "false" } = e, { clientstyling: N = "" } = e, { clientstylingurl: q = "" } = e, { translationurl: G = "" } = e, { tournamentinfo: W } = e, { mbsource: K } = e, { tournamentid: ee } = e, E, A = !1, X = "", M = !0, ge = window.navigator.userAgent, V = !1, Z = !1, he = "There was an error while trying to join the tournament", te = !1, ne, pe, we, I, j, be, re, ke, _e, ye = [], ie = [], Te = "#", Q = !1;
|
|
1064
|
+
ft({ withLocale: "en", translations: {} });
|
|
1065
|
+
const Re = () => {
|
|
1066
|
+
fetch(G).then((y) => y.json()).then((y) => {
|
|
1067
1067
|
Object.keys(y).forEach((S) => {
|
|
1068
|
-
|
|
1068
|
+
Ce(S, y[S]);
|
|
1069
1069
|
});
|
|
1070
1070
|
}).catch((y) => {
|
|
1071
1071
|
console.log(y);
|
|
1072
1072
|
});
|
|
1073
1073
|
};
|
|
1074
|
-
Object.keys(
|
|
1075
|
-
|
|
1074
|
+
Object.keys(De).forEach((i) => {
|
|
1075
|
+
Ce(i, De[i]);
|
|
1076
1076
|
});
|
|
1077
|
-
const
|
|
1078
|
-
|
|
1079
|
-
},
|
|
1080
|
-
if (i.data && i.data.type == "UserSessionID" && (t(15, A = !0),
|
|
1077
|
+
const Fe = (i) => {
|
|
1078
|
+
xe(i), oe(i), Se(this, j);
|
|
1079
|
+
}, ve = (i) => {
|
|
1080
|
+
if (i.data && i.data.type == "UserSessionID" && (t(15, A = !0), X = i.data.session), i.data.type == "UpdateTournamentView") {
|
|
1081
1081
|
let y = i.data.tournamentData;
|
|
1082
1082
|
if (j && j != y.id)
|
|
1083
1083
|
return;
|
|
1084
|
-
|
|
1084
|
+
Fe(y);
|
|
1085
1085
|
}
|
|
1086
1086
|
if (i.data && i.data.type == `UpdateSingleTournament_${f}`) {
|
|
1087
1087
|
let y = i.data.tournamentData, S = f < 4 ? f * 100 : Math.random() * 300 + 300;
|
|
1088
|
-
t(32,
|
|
1088
|
+
t(32, Q = f == 1), setTimeout(
|
|
1089
1089
|
() => {
|
|
1090
|
-
t(32,
|
|
1090
|
+
t(32, Q = !0), t(25, j = y.id), Fe(y);
|
|
1091
1091
|
},
|
|
1092
1092
|
S
|
|
1093
1093
|
), setTimeout(
|
|
1094
1094
|
() => {
|
|
1095
|
-
t(32,
|
|
1095
|
+
t(32, Q = !1);
|
|
1096
1096
|
},
|
|
1097
1097
|
S + 200
|
|
1098
1098
|
);
|
|
1099
1099
|
}
|
|
1100
|
-
},
|
|
1100
|
+
}, xe = (i) => {
|
|
1101
1101
|
i.state != I && (t(24, I = i.state), window.postMessage(
|
|
1102
1102
|
{
|
|
1103
1103
|
type: `TournamentStatus_${j}`,
|
|
@@ -1105,11 +1105,11 @@ function Tt(r, e, t) {
|
|
|
1105
1105
|
},
|
|
1106
1106
|
window.location.href
|
|
1107
1107
|
));
|
|
1108
|
-
},
|
|
1108
|
+
}, Je = () => {
|
|
1109
1109
|
k && (window.postMessage({ type: k, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
|
|
1110
1110
|
context: "TournamentsThumbnailController"
|
|
1111
|
-
})),
|
|
1112
|
-
},
|
|
1111
|
+
})), U && (window.location = U);
|
|
1112
|
+
}, Ue = () => {
|
|
1113
1113
|
J && (window.postMessage(
|
|
1114
1114
|
{
|
|
1115
1115
|
type: J,
|
|
@@ -1118,8 +1118,8 @@ function Tt(r, e, t) {
|
|
|
1118
1118
|
window.location.href
|
|
1119
1119
|
), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
|
|
1120
1120
|
context: "TournamentsThumbnailController"
|
|
1121
|
-
})),
|
|
1122
|
-
},
|
|
1121
|
+
})), H && (window.location = H);
|
|
1122
|
+
}, He = (i) => {
|
|
1123
1123
|
window.postMessage(
|
|
1124
1124
|
{
|
|
1125
1125
|
type: "TournamentDetailsClicked",
|
|
@@ -1128,156 +1128,157 @@ function Tt(r, e, t) {
|
|
|
1128
1128
|
},
|
|
1129
1129
|
window.location.href
|
|
1130
1130
|
);
|
|
1131
|
-
},
|
|
1132
|
-
var
|
|
1133
|
-
t(18,
|
|
1131
|
+
}, ze = (i, y) => ae(this, null, function* () {
|
|
1132
|
+
var Ee;
|
|
1133
|
+
t(18, Z = !1), t(20, te = !1), window.postMessage(
|
|
1134
1134
|
{
|
|
1135
1135
|
type: "TournamentJoinRequest",
|
|
1136
1136
|
tournamentId: i
|
|
1137
1137
|
},
|
|
1138
1138
|
window.location.href
|
|
1139
|
-
), t(17,
|
|
1140
|
-
let S = new URL(`${
|
|
1141
|
-
S.searchParams.append("language", c), S.searchParams.append("platform",
|
|
1139
|
+
), t(17, V = !0);
|
|
1140
|
+
let S = new URL(`${m}/v1/bonus/claim`), P = new Headers(), se = {};
|
|
1141
|
+
S.searchParams.append("language", c), S.searchParams.append("platform", je(ge)), P.append("Content-Type", "application/json"), P.append("X-SessionID", X), y && y.length >= 1 && (se = {
|
|
1142
1142
|
language: c,
|
|
1143
1143
|
bonusCode: y[0].code,
|
|
1144
1144
|
currency: $,
|
|
1145
1145
|
type: "tournament"
|
|
1146
1146
|
});
|
|
1147
|
-
let
|
|
1147
|
+
let O = {
|
|
1148
1148
|
method: "PUT",
|
|
1149
|
-
headers:
|
|
1150
|
-
body: JSON.stringify(
|
|
1149
|
+
headers: P,
|
|
1150
|
+
body: JSON.stringify(se)
|
|
1151
1151
|
};
|
|
1152
|
-
const
|
|
1153
|
-
t(17,
|
|
1154
|
-
},
|
|
1155
|
-
t(17,
|
|
1156
|
-
},
|
|
1152
|
+
const Be = () => {
|
|
1153
|
+
t(17, V = !1), t(27, re = !0);
|
|
1154
|
+
}, le = (z) => {
|
|
1155
|
+
t(17, V = !1), z && t(19, he = z), t(18, Z = !0);
|
|
1156
|
+
}, R = yield ae(this, null, function* () {
|
|
1157
1157
|
let z;
|
|
1158
1158
|
try {
|
|
1159
|
-
z = yield fetch(S,
|
|
1160
|
-
} catch (
|
|
1161
|
-
|
|
1159
|
+
z = yield fetch(S, O), z = yield z.json();
|
|
1160
|
+
} catch (St) {
|
|
1161
|
+
le();
|
|
1162
1162
|
}
|
|
1163
1163
|
return z;
|
|
1164
1164
|
});
|
|
1165
|
-
if (
|
|
1166
|
-
if (
|
|
1167
|
-
|
|
1168
|
-
else if (
|
|
1165
|
+
if (R)
|
|
1166
|
+
if (R.success == !0)
|
|
1167
|
+
Be();
|
|
1168
|
+
else if (R.errorMessage.match("VersionMismatchException")) {
|
|
1169
1169
|
let z;
|
|
1170
|
-
z = yield fetch(`${
|
|
1170
|
+
z = yield fetch(`${m}/tournaments/${j}`, { headers: { "X-SessionID": o } }), z = yield z.json(), (Ee = z == null ? void 0 : z.item) != null && Ee.playerEnrolled ? Be() : (le(R.errorMessage), t(20, te = !0), t(18, Z = !1));
|
|
1171
1171
|
} else
|
|
1172
|
-
|
|
1173
|
-
}),
|
|
1172
|
+
le(R.errorMessage);
|
|
1173
|
+
}), Se = (i, y) => {
|
|
1174
1174
|
window.postMessage(
|
|
1175
1175
|
{
|
|
1176
1176
|
type: `TournamentPrizes_${y}`,
|
|
1177
|
-
prizes:
|
|
1177
|
+
prizes: ye
|
|
1178
1178
|
},
|
|
1179
1179
|
window.location.href
|
|
1180
1180
|
);
|
|
1181
|
-
},
|
|
1182
|
-
i && (t(21,
|
|
1183
|
-
},
|
|
1181
|
+
}, oe = (i) => {
|
|
1182
|
+
i && (t(21, ne = i.nameOrTitle || ""), t(22, pe = i.startTime), t(23, we = i.endTime), t(24, I = i.state), t(25, j = i.id), t(26, be = i.thumbnail), t(27, re = i.playerEnrolled === "true" || i.playerEnrolled == !0 || !1), t(28, ke = i.scoreCriteria), t(29, _e = i.minBetCount), ye = i.prizes, t(30, ie = i.wallets || []), t(31, Te = i.termsUrl || "#"));
|
|
1183
|
+
}, Ne = (i) => {
|
|
1184
1184
|
t(16, M = !0);
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1185
|
+
const y = i ? `${i}/v1/tournaments/${ee}` : a, S = new URL(y), P = new Headers();
|
|
1186
|
+
S.searchParams.append("language", c), S.searchParams.append("platform", je(ge)), A && P.append("X-SessionID", X), fetch(S, { method: "GET", headers: P }).then((O) => O.json()).then((O) => {
|
|
1187
|
+
oe(O.item);
|
|
1188
1188
|
}).finally(() => {
|
|
1189
1189
|
t(16, M = !1);
|
|
1190
1190
|
});
|
|
1191
|
-
},
|
|
1192
|
-
t(15, A = (o == null ? void 0 : o.length) > 10), A && (
|
|
1193
|
-
},
|
|
1194
|
-
if (
|
|
1195
|
-
|
|
1191
|
+
}, qe = () => {
|
|
1192
|
+
t(15, A = (o == null ? void 0 : o.length) > 10), A && (X = o);
|
|
1193
|
+
}, Ge = () => {
|
|
1194
|
+
if (W) {
|
|
1195
|
+
oe(W);
|
|
1196
1196
|
return;
|
|
1197
1197
|
}
|
|
1198
|
-
t(16, M = !0),
|
|
1198
|
+
t(16, M = !0), Ne(m);
|
|
1199
1199
|
};
|
|
1200
|
-
|
|
1201
|
-
window.removeEventListener("message",
|
|
1200
|
+
tt(() => (t(16, M = !ne), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", ve, !1), () => {
|
|
1201
|
+
window.removeEventListener("message", ve);
|
|
1202
1202
|
}));
|
|
1203
|
-
const
|
|
1204
|
-
function
|
|
1205
|
-
|
|
1203
|
+
const We = () => ze(j, ie);
|
|
1204
|
+
function Ke(i) {
|
|
1205
|
+
nt[i ? "unshift" : "push"](() => {
|
|
1206
1206
|
E = i, t(14, E);
|
|
1207
1207
|
});
|
|
1208
1208
|
}
|
|
1209
1209
|
return r.$$set = (i) => {
|
|
1210
|
-
"session" in i && t(39, o = i.session), "userid" in i && t(0, s = i.userid), "tournamenturl" in i && t(1, a = i.tournamenturl), "touridx" in i && t(40, f = i.touridx), "endpoint" in i && t(41,
|
|
1210
|
+
"session" in i && t(39, o = i.session), "userid" in i && t(0, s = i.userid), "tournamenturl" in i && t(1, a = i.tournamenturl), "touridx" in i && t(40, f = i.touridx), "endpoint" in i && t(41, m = i.endpoint), "showdetails" in i && t(2, p = i.showdetails), "showslider" in i && t(3, h = i.showslider), "showenrolled" in i && t(4, u = i.showenrolled), "maxwidth" in i && t(5, d = i.maxwidth), "fullsize" in i && t(6, v = i.fullsize), "lang" in i && t(7, c = i.lang), "loginevent" in i && t(42, k = i.loginevent), "registerevent" in i && t(43, J = i.registerevent), "detailsevent" in i && t(8, de = i.detailsevent), "loginurl" in i && t(44, U = i.loginurl), "registerurl" in i && t(45, H = i.registerurl), "currency" in i && t(46, $ = i.currency), "keepbrowsercontext" in i && t(9, ce = i.keepbrowsercontext), "clientstyling" in i && t(10, N = i.clientstyling), "clientstylingurl" in i && t(11, q = i.clientstylingurl), "translationurl" in i && t(12, G = i.translationurl), "tournamentinfo" in i && t(47, W = i.tournamentinfo), "mbsource" in i && t(13, K = i.mbsource), "tournamentid" in i && t(48, ee = i.tournamentid);
|
|
1211
1211
|
}, r.$$.update = () => {
|
|
1212
1212
|
r.$$.dirty[0] & /*lang*/
|
|
1213
|
-
128 && c &&
|
|
1214
|
-
4096 &&
|
|
1215
|
-
256 && o &&
|
|
1216
|
-
130 && a && c &&
|
|
1217
|
-
17408 &&
|
|
1218
|
-
18432 &&
|
|
1219
|
-
24576 &&
|
|
1213
|
+
128 && c && mt(c), r.$$.dirty[0] & /*translationurl*/
|
|
1214
|
+
4096 && G && Re(), r.$$.dirty[1] & /*session*/
|
|
1215
|
+
256 && o && qe(), r.$$.dirty[0] & /*tournamenturl, lang*/
|
|
1216
|
+
130 && a && c && Ge(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1217
|
+
17408 && N && E && ot(E, N), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1218
|
+
18432 && q && E && st(E, q), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1219
|
+
24576 && K && E && lt(E, `${K}.Style`);
|
|
1220
1220
|
}, [
|
|
1221
1221
|
s,
|
|
1222
1222
|
a,
|
|
1223
1223
|
p,
|
|
1224
1224
|
h,
|
|
1225
1225
|
u,
|
|
1226
|
-
|
|
1226
|
+
d,
|
|
1227
1227
|
v,
|
|
1228
1228
|
c,
|
|
1229
|
-
fe,
|
|
1230
1229
|
de,
|
|
1231
|
-
|
|
1230
|
+
ce,
|
|
1232
1231
|
N,
|
|
1233
1232
|
q,
|
|
1234
|
-
|
|
1233
|
+
G,
|
|
1234
|
+
K,
|
|
1235
1235
|
E,
|
|
1236
1236
|
A,
|
|
1237
1237
|
M,
|
|
1238
|
-
X,
|
|
1239
1238
|
V,
|
|
1240
|
-
|
|
1241
|
-
ee,
|
|
1242
|
-
te,
|
|
1243
|
-
ge,
|
|
1239
|
+
Z,
|
|
1244
1240
|
he,
|
|
1245
|
-
|
|
1246
|
-
j,
|
|
1247
|
-
pe,
|
|
1241
|
+
te,
|
|
1248
1242
|
ne,
|
|
1243
|
+
pe,
|
|
1249
1244
|
we,
|
|
1245
|
+
I,
|
|
1246
|
+
j,
|
|
1250
1247
|
be,
|
|
1251
1248
|
re,
|
|
1249
|
+
ke,
|
|
1252
1250
|
_e,
|
|
1253
|
-
|
|
1251
|
+
ie,
|
|
1252
|
+
Te,
|
|
1253
|
+
Q,
|
|
1254
1254
|
n,
|
|
1255
|
-
Re,
|
|
1256
1255
|
Je,
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1256
|
+
Ue,
|
|
1257
|
+
He,
|
|
1258
|
+
ze,
|
|
1259
|
+
Se,
|
|
1260
1260
|
o,
|
|
1261
1261
|
f,
|
|
1262
|
-
|
|
1262
|
+
m,
|
|
1263
1263
|
k,
|
|
1264
1264
|
J,
|
|
1265
|
-
x,
|
|
1266
1265
|
U,
|
|
1266
|
+
H,
|
|
1267
1267
|
$,
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1268
|
+
W,
|
|
1269
|
+
ee,
|
|
1270
|
+
We,
|
|
1271
|
+
Ke
|
|
1271
1272
|
];
|
|
1272
1273
|
}
|
|
1273
|
-
class
|
|
1274
|
+
class vt extends Ze {
|
|
1274
1275
|
constructor(e) {
|
|
1275
|
-
super(),
|
|
1276
|
+
super(), Qe(
|
|
1276
1277
|
this,
|
|
1277
1278
|
e,
|
|
1279
|
+
Ft,
|
|
1278
1280
|
Tt,
|
|
1279
|
-
|
|
1280
|
-
Qe,
|
|
1281
|
+
Ye,
|
|
1281
1282
|
{
|
|
1282
1283
|
session: 39,
|
|
1283
1284
|
userid: 0,
|
|
@@ -1301,7 +1302,8 @@ class Ft extends Ve {
|
|
|
1301
1302
|
clientstylingurl: 11,
|
|
1302
1303
|
translationurl: 12,
|
|
1303
1304
|
tournamentinfo: 47,
|
|
1304
|
-
mbsource: 13
|
|
1305
|
+
mbsource: 13,
|
|
1306
|
+
tournamentid: 48
|
|
1305
1307
|
},
|
|
1306
1308
|
dt,
|
|
1307
1309
|
[-1, -1, -1]
|
|
@@ -1445,8 +1447,14 @@ class Ft extends Ve {
|
|
|
1445
1447
|
set mbsource(e) {
|
|
1446
1448
|
this.$$set({ mbsource: e }), _();
|
|
1447
1449
|
}
|
|
1450
|
+
get tournamentid() {
|
|
1451
|
+
return this.$$.ctx[48];
|
|
1452
|
+
}
|
|
1453
|
+
set tournamentid(e) {
|
|
1454
|
+
this.$$set({ tournamentid: e }), _();
|
|
1455
|
+
}
|
|
1448
1456
|
}
|
|
1449
|
-
|
|
1457
|
+
at(vt, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, detailsevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {}, mbsource: {}, tournamentid: {} }, [], [], !0);
|
|
1450
1458
|
export {
|
|
1451
|
-
|
|
1459
|
+
vt as default
|
|
1452
1460
|
};
|