@everymatrix/casino-tournaments-controller 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoTournamentsController-C1dCP4c5.cjs +14 -0
- package/components/{CasinoTournamentsController-B87iHebe.js → CasinoTournamentsController-CD_5uyUc.js} +813 -835
- package/components/{CasinoTournamentsController-D4fqxCja.js → CasinoTournamentsController-UUtBZIFh.js} +659 -681
- package/components/{CasinoTournamentsFilterController-D9Tidq8w.js → CasinoTournamentsFilterController-C6PNRuAN.js} +20 -20
- package/components/{CasinoTournamentsFilterController-Dxau0WQ7.js → CasinoTournamentsFilterController-C8EhVpC4.js} +22 -22
- package/components/{CasinoTournamentsFilterController-D0T7rVhL.cjs → CasinoTournamentsFilterController-CDD660uA.cjs} +1 -1
- package/components/{CasinoTournamentsListController-CWi9-FPc.cjs → CasinoTournamentsListController-fm8TCneo.cjs} +2 -2
- package/components/{CasinoTournamentsListController-e7qQuaaY.js → CasinoTournamentsListController-l8AH-AQy.js} +21 -21
- package/components/{CasinoTournamentsListController-Bj5LNl9h.js → CasinoTournamentsListController-wgytIhYX.js} +21 -21
- package/components/{CasinoTournamentsThumbnail-CXUAscGP.cjs → CasinoTournamentsThumbnail-BVAQJY4f.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-C51R2INs.js → CasinoTournamentsThumbnail-C1PdhLiD.js} +36 -36
- package/components/{CasinoTournamentsThumbnail-Dq4yRdNG.js → CasinoTournamentsThumbnail-CfBfOQ6y.js} +41 -41
- package/components/{CasinoTournamentsThumbnailController-BHFgnbwb.cjs → CasinoTournamentsThumbnailController-B5QfYW6Q.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-cb4JbcxA.js → CasinoTournamentsThumbnailController-DBjAq9-k.js} +43 -43
- package/components/{CasinoTournamentsThumbnailController-BQ6_5mnS.js → CasinoTournamentsThumbnailController-neX5M-sd.js} +73 -73
- package/components/{CasinoTournamentsThumbnailDuration-COqsPwJj.js → CasinoTournamentsThumbnailDuration-CGgR5XoL.js} +40 -40
- package/components/{CasinoTournamentsThumbnailDuration-CQkAFLBa.cjs → CasinoTournamentsThumbnailDuration-DFP9BWRc.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-DSbhjj1f.js → CasinoTournamentsThumbnailDuration-sMRWK6Da.js} +46 -46
- package/components/{CasinoTournamentsThumbnailGamesSlider--YAPEoXl.js → CasinoTournamentsThumbnailGamesSlider-BUainTMh.js} +37 -37
- package/components/{CasinoTournamentsThumbnailGamesSlider-B1lnmQeN.js → CasinoTournamentsThumbnailGamesSlider-Bcgbm6UZ.js} +54 -54
- package/components/{CasinoTournamentsThumbnailGamesSlider-LY1F0kxk.cjs → CasinoTournamentsThumbnailGamesSlider-CU3QiSRS.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-BbCxQeLs.js → CasinoTournamentsThumbnailPrizes-Cb6ucU30.js} +15 -15
- package/components/{CasinoTournamentsThumbnailPrizes-CY5bdmwv.cjs → CasinoTournamentsThumbnailPrizes-D5o6hcAd.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CcMFztse.js → CasinoTournamentsThumbnailPrizes-pB7CeUbv.js} +15 -15
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsController-WRSyK2QY.cjs +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z as oe, E as Ve, a as Ze, S as Qe, i as Ye,
|
|
1
|
+
import { z as oe, E as Ve, a as Ze, S as Qe, i as Ye, s as $e, f as y, b as et, n as se, d as _, e as k, g as z, k as tt, w as nt, F as ze, r as rt, h as d, p as b, y as l, q as j, o as M, t as D, A as it, B as ot, u as R, x as Le, v as L, D as st, c as lt, $ as at } from "./CasinoTournamentsController-CD_5uyUc.js";
|
|
2
2
|
function ut({ withLocale: n, translations: e }) {
|
|
3
3
|
oe.subscribe((t) => {
|
|
4
4
|
t == null && (Ve.set(e), oe.set(n));
|
|
@@ -112,7 +112,7 @@ if (typeof window < "u") {
|
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnail-
|
|
115
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnail-C1PdhLiD.js").then(({ default: e }) => {
|
|
116
116
|
!customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", e.element);
|
|
117
117
|
});
|
|
118
118
|
}
|
|
@@ -128,7 +128,7 @@ if (typeof window < "u") {
|
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailDuration-
|
|
131
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailDuration-CGgR5XoL.js").then(({ default: e }) => {
|
|
132
132
|
!customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
|
|
133
133
|
"casino-tournaments-thumbnail-duration",
|
|
134
134
|
e.element
|
|
@@ -147,7 +147,7 @@ if (typeof window < "u") {
|
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailPrizes-
|
|
150
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailPrizes-pB7CeUbv.js").then(({ default: e }) => {
|
|
151
151
|
!customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", e.element);
|
|
152
152
|
});
|
|
153
153
|
}
|
|
@@ -163,7 +163,7 @@ if (typeof window < "u") {
|
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
165
|
};
|
|
166
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
166
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-BUainTMh.js").then(
|
|
167
167
|
({ default: e }) => {
|
|
168
168
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
169
169
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -173,12 +173,12 @@ if (typeof window < "u") {
|
|
|
173
173
|
);
|
|
174
174
|
}
|
|
175
175
|
function dt(n) {
|
|
176
|
-
|
|
176
|
+
et(n, "svelte-1kmemyq", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}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}');
|
|
177
177
|
}
|
|
178
178
|
function ct(n) {
|
|
179
179
|
let e, t, r, s, i, a, u, m, h, c = (
|
|
180
180
|
/*isLoggedIn*/
|
|
181
|
-
n[14] &&
|
|
181
|
+
n[14] && Be(n)
|
|
182
182
|
);
|
|
183
183
|
function F(f, g) {
|
|
184
184
|
if (!/*isLoggedIn*/
|
|
@@ -203,7 +203,7 @@ function ct(n) {
|
|
|
203
203
|
);
|
|
204
204
|
return {
|
|
205
205
|
c() {
|
|
206
|
-
e = z("div"), t = z("casino-tournaments-thumbnail"), r =
|
|
206
|
+
e = z("div"), t = z("casino-tournaments-thumbnail"), r = j(), c && c.c(), s = j(), i = z("div"), v && v.c(), a = j(), w && w.c(), u = j(), T && T.c(), l(
|
|
207
207
|
t,
|
|
208
208
|
"session",
|
|
209
209
|
/*session*/
|
|
@@ -298,7 +298,7 @@ function ct(n) {
|
|
|
298
298
|
(n[31] ? "elementToFadeOut" : "elementToFadeIn"));
|
|
299
299
|
},
|
|
300
300
|
m(f, g) {
|
|
301
|
-
|
|
301
|
+
k(f, e, g), b(e, t), b(e, r), c && c.m(e, null), b(e, s), b(e, i), v && v.m(i, null), b(e, a), w && w.m(e, null), b(e, u), T && T.m(e, null);
|
|
302
302
|
},
|
|
303
303
|
p(f, g) {
|
|
304
304
|
g[0] & /*session*/
|
|
@@ -404,7 +404,7 @@ function ct(n) {
|
|
|
404
404
|
/*keepbrowsercontext*/
|
|
405
405
|
f[9]
|
|
406
406
|
), /*isLoggedIn*/
|
|
407
|
-
f[14] ? c ? c.p(f, g) : (c =
|
|
407
|
+
f[14] ? c ? c.p(f, g) : (c = Be(f), c.c(), c.m(e, s)) : c && (c.d(1), c = null), E === (E = F(f)) && v ? v.p(f, g) : (v && v.d(1), v = E && E(f), v && (v.c(), v.m(i, null))), /*errorJoin*/
|
|
408
408
|
f[17] || /*errorJoinConcurrently*/
|
|
409
409
|
f[19] ? w ? w.p(f, g) : (w = Me(f), w.c(), w.m(e, u)) : w && (w.d(1), w = null), /*showslider*/
|
|
410
410
|
f[4] == "true" ? T ? T.p(f, g) : (T = Ae(f), T.c(), T.m(e, null)) : T && (T.d(1), T = null), g[0] & /*maxwidth, fullsize*/
|
|
@@ -421,7 +421,7 @@ function ct(n) {
|
|
|
421
421
|
(f[31] ? "elementToFadeOut" : "elementToFadeIn")) && d(e, "part", h);
|
|
422
422
|
},
|
|
423
423
|
d(f) {
|
|
424
|
-
f &&
|
|
424
|
+
f && _(e), c && c.d(), v && v.d(), w && w.d(), T && T.d();
|
|
425
425
|
}
|
|
426
426
|
};
|
|
427
427
|
}
|
|
@@ -439,7 +439,7 @@ function mt(n) {
|
|
|
439
439
|
(n[31] ? "elementToFadeOut" : "elementToFadeIn"));
|
|
440
440
|
},
|
|
441
441
|
m(i, a) {
|
|
442
|
-
|
|
442
|
+
k(i, e, a), b(e, t);
|
|
443
443
|
},
|
|
444
444
|
p(i, a) {
|
|
445
445
|
a[0] & /*maxwidth, fullsize*/
|
|
@@ -456,18 +456,18 @@ function mt(n) {
|
|
|
456
456
|
(i[31] ? "elementToFadeOut" : "elementToFadeIn")) && d(e, "part", s);
|
|
457
457
|
},
|
|
458
458
|
d(i) {
|
|
459
|
-
i &&
|
|
459
|
+
i && _(e);
|
|
460
460
|
}
|
|
461
461
|
};
|
|
462
462
|
}
|
|
463
|
-
function
|
|
463
|
+
function Be(n) {
|
|
464
464
|
let e, t, r = (
|
|
465
465
|
/*tourid*/
|
|
466
|
-
n[24] &&
|
|
466
|
+
n[24] && Se(n)
|
|
467
467
|
);
|
|
468
468
|
return {
|
|
469
469
|
c() {
|
|
470
|
-
r && r.c(), e =
|
|
470
|
+
r && r.c(), e = j(), t = z("casino-tournaments-thumbnail-duration"), l(
|
|
471
471
|
t,
|
|
472
472
|
"clientstyling",
|
|
473
473
|
/*clientstyling*/
|
|
@@ -505,11 +505,11 @@ function je(n) {
|
|
|
505
505
|
), l(t, "exportparts", "TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill");
|
|
506
506
|
},
|
|
507
507
|
m(s, i) {
|
|
508
|
-
r && r.m(s, i),
|
|
508
|
+
r && r.m(s, i), k(s, e, i), k(s, t, i);
|
|
509
509
|
},
|
|
510
510
|
p(s, i) {
|
|
511
511
|
/*tourid*/
|
|
512
|
-
s[24] ? r ? r.p(s, i) : (r =
|
|
512
|
+
s[24] ? r ? r.p(s, i) : (r = Se(s), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), i[0] & /*clientstyling*/
|
|
513
513
|
1024 && l(
|
|
514
514
|
t,
|
|
515
515
|
"clientstyling",
|
|
@@ -554,11 +554,11 @@ function je(n) {
|
|
|
554
554
|
);
|
|
555
555
|
},
|
|
556
556
|
d(s) {
|
|
557
|
-
s && (
|
|
557
|
+
s && (_(e), _(t)), r && r.d(s);
|
|
558
558
|
}
|
|
559
559
|
};
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function Se(n) {
|
|
562
562
|
let e, t, r, s;
|
|
563
563
|
return {
|
|
564
564
|
c() {
|
|
@@ -585,7 +585,7 @@ function Be(n) {
|
|
|
585
585
|
), l(e, "exportparts", "TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper");
|
|
586
586
|
},
|
|
587
587
|
m(i, a) {
|
|
588
|
-
|
|
588
|
+
k(i, e, a), r || (s = it(t = /*sendTournamentPrizes*/
|
|
589
589
|
n[37].call(
|
|
590
590
|
null,
|
|
591
591
|
e,
|
|
@@ -626,7 +626,7 @@ function Be(n) {
|
|
|
626
626
|
);
|
|
627
627
|
},
|
|
628
628
|
d(i) {
|
|
629
|
-
i &&
|
|
629
|
+
i && _(e), r = !1, s();
|
|
630
630
|
}
|
|
631
631
|
};
|
|
632
632
|
}
|
|
@@ -640,7 +640,7 @@ function gt(n) {
|
|
|
640
640
|
e = z("button"), r = D(t), d(e, "class", "DetailsLargeButton"), d(e, "part", "DetailsLargeButton");
|
|
641
641
|
},
|
|
642
642
|
m(a, u) {
|
|
643
|
-
|
|
643
|
+
k(a, e, u), b(e, r), s || (i = R(
|
|
644
644
|
e,
|
|
645
645
|
"click",
|
|
646
646
|
/*click_handler_4*/
|
|
@@ -653,14 +653,14 @@ function gt(n) {
|
|
|
653
653
|
a[32]("details") + "") && M(r, t);
|
|
654
654
|
},
|
|
655
655
|
d(a) {
|
|
656
|
-
a &&
|
|
656
|
+
a && _(e), s = !1, i();
|
|
657
657
|
}
|
|
658
658
|
};
|
|
659
659
|
}
|
|
660
660
|
function ht(n) {
|
|
661
661
|
let e, t, r = (
|
|
662
662
|
/*showdetails*/
|
|
663
|
-
n[3] == "true" &&
|
|
663
|
+
n[3] == "true" && je(n)
|
|
664
664
|
);
|
|
665
665
|
function s(u, m) {
|
|
666
666
|
return (
|
|
@@ -671,17 +671,17 @@ function ht(n) {
|
|
|
671
671
|
let i = s(n), a = i(n);
|
|
672
672
|
return {
|
|
673
673
|
c() {
|
|
674
|
-
r && r.c(), e =
|
|
674
|
+
r && r.c(), e = j(), a.c(), t = Le();
|
|
675
675
|
},
|
|
676
676
|
m(u, m) {
|
|
677
|
-
r && r.m(u, m),
|
|
677
|
+
r && r.m(u, m), k(u, e, m), a.m(u, m), k(u, t, m);
|
|
678
678
|
},
|
|
679
679
|
p(u, m) {
|
|
680
680
|
/*showdetails*/
|
|
681
|
-
u[3] == "true" ? r ? r.p(u, m) : (r =
|
|
681
|
+
u[3] == "true" ? r ? r.p(u, m) : (r = je(u), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), i === (i = s(u)) && a ? a.p(u, m) : (a.d(1), a = i(u), a && (a.c(), a.m(t.parentNode, t)));
|
|
682
682
|
},
|
|
683
683
|
d(u) {
|
|
684
|
-
u && (
|
|
684
|
+
u && (_(e), _(t)), r && r.d(u), a.d(u);
|
|
685
685
|
}
|
|
686
686
|
};
|
|
687
687
|
}
|
|
@@ -695,10 +695,10 @@ function pt(n) {
|
|
|
695
695
|
), u, m, h;
|
|
696
696
|
return {
|
|
697
697
|
c() {
|
|
698
|
-
e = z("button"), r = D(t), s =
|
|
698
|
+
e = z("button"), r = D(t), s = j(), i = z("button"), u = D(a), d(e, "class", "LoginButton"), d(e, "part", "LoginButton"), d(i, "class", "RegisterButton"), d(i, "part", "RegisterButton");
|
|
699
699
|
},
|
|
700
700
|
m(c, F) {
|
|
701
|
-
|
|
701
|
+
k(c, e, F), b(e, r), k(c, s, F), k(c, i, F), b(i, u), m || (h = [
|
|
702
702
|
R(
|
|
703
703
|
e,
|
|
704
704
|
"click",
|
|
@@ -721,11 +721,11 @@ function pt(n) {
|
|
|
721
721
|
c[32]("register") + "") && M(u, a);
|
|
722
722
|
},
|
|
723
723
|
d(c) {
|
|
724
|
-
c && (
|
|
724
|
+
c && (_(e), _(s), _(i)), m = !1, ot(h);
|
|
725
725
|
}
|
|
726
726
|
};
|
|
727
727
|
}
|
|
728
|
-
function
|
|
728
|
+
function je(n) {
|
|
729
729
|
let e, t = (
|
|
730
730
|
/*$_*/
|
|
731
731
|
n[32]("details") + ""
|
|
@@ -735,7 +735,7 @@ function Se(n) {
|
|
|
735
735
|
e = z("button"), r = D(t), d(e, "class", "DetailsButton"), d(e, "part", "DetailsButton");
|
|
736
736
|
},
|
|
737
737
|
m(a, u) {
|
|
738
|
-
|
|
738
|
+
k(a, e, u), b(e, r), s || (i = R(
|
|
739
739
|
e,
|
|
740
740
|
"click",
|
|
741
741
|
/*click_handler_2*/
|
|
@@ -748,7 +748,7 @@ function Se(n) {
|
|
|
748
748
|
a[32]("details") + "") && M(r, t);
|
|
749
749
|
},
|
|
750
750
|
d(a) {
|
|
751
|
-
a &&
|
|
751
|
+
a && _(e), s = !1, i();
|
|
752
752
|
}
|
|
753
753
|
};
|
|
754
754
|
}
|
|
@@ -769,7 +769,7 @@ function wt(n) {
|
|
|
769
769
|
n[17];
|
|
770
770
|
},
|
|
771
771
|
m(h, c) {
|
|
772
|
-
|
|
772
|
+
k(h, e, c), m.m(e, null), s || (i = R(
|
|
773
773
|
e,
|
|
774
774
|
"click",
|
|
775
775
|
/*click_handler_3*/
|
|
@@ -786,7 +786,7 @@ function wt(n) {
|
|
|
786
786
|
h[17]);
|
|
787
787
|
},
|
|
788
788
|
d(h) {
|
|
789
|
-
h &&
|
|
789
|
+
h && _(e), m.d(), s = !1, i();
|
|
790
790
|
}
|
|
791
791
|
};
|
|
792
792
|
}
|
|
@@ -800,14 +800,14 @@ function bt(n) {
|
|
|
800
800
|
t && t.c(), e = Le();
|
|
801
801
|
},
|
|
802
802
|
m(r, s) {
|
|
803
|
-
t && t.m(r, s),
|
|
803
|
+
t && t.m(r, s), k(r, e, s);
|
|
804
804
|
},
|
|
805
805
|
p(r, s) {
|
|
806
806
|
/*showdetails*/
|
|
807
807
|
r[3] == "true" ? t ? t.p(r, s) : (t = De(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
808
808
|
},
|
|
809
809
|
d(r) {
|
|
810
|
-
r &&
|
|
810
|
+
r && _(e), t && t.d(r);
|
|
811
811
|
}
|
|
812
812
|
};
|
|
813
813
|
}
|
|
@@ -818,10 +818,10 @@ function _t(n) {
|
|
|
818
818
|
), r, s, i, a, u, m, h, c;
|
|
819
819
|
return {
|
|
820
820
|
c() {
|
|
821
|
-
e = z("span"), r = D(t), s =
|
|
821
|
+
e = z("span"), r = D(t), s = j(), i = L("svg"), a = L("defs"), u = L("style"), m = D(".a{fill:var(--emw--color-white, #FFFFFF);}"), h = L("g"), c = L("path"), d(e, "part", "JoinButtonSpan"), d(c, "class", "a"), d(c, "part", "a JoinButtonSvgA"), d(c, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"), d(c, "transform", "translate(26 26) rotate(180)"), d(h, "transform", "translate(26 26) rotate(180)"), d(i, "part", "JoinButtonSvg"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "26"), d(i, "height", "26"), d(i, "viewBox", "0 0 26 26");
|
|
822
822
|
},
|
|
823
823
|
m(F, E) {
|
|
824
|
-
|
|
824
|
+
k(F, e, E), b(e, r), k(F, s, E), k(F, i, E), b(i, a), b(a, u), b(u, m), b(i, h), b(h, c);
|
|
825
825
|
},
|
|
826
826
|
p(F, E) {
|
|
827
827
|
E[1] & /*$_*/
|
|
@@ -829,7 +829,7 @@ function _t(n) {
|
|
|
829
829
|
F[32]("join") + "") && M(r, t);
|
|
830
830
|
},
|
|
831
831
|
d(F) {
|
|
832
|
-
F && (
|
|
832
|
+
F && (_(e), _(s), _(i));
|
|
833
833
|
}
|
|
834
834
|
};
|
|
835
835
|
}
|
|
@@ -840,11 +840,11 @@ function kt(n) {
|
|
|
840
840
|
e = L("svg"), t = L("circle"), d(t, "cx", "20"), d(t, "cy", "20"), d(t, "r", "18"), d(e, "class", "spinner"), d(e, "part", "spinner");
|
|
841
841
|
},
|
|
842
842
|
m(r, s) {
|
|
843
|
-
|
|
843
|
+
k(r, e, s), b(e, t);
|
|
844
844
|
},
|
|
845
845
|
p: se,
|
|
846
846
|
d(r) {
|
|
847
|
-
r &&
|
|
847
|
+
r && _(e);
|
|
848
848
|
}
|
|
849
849
|
};
|
|
850
850
|
}
|
|
@@ -858,7 +858,7 @@ function De(n) {
|
|
|
858
858
|
e = z("button"), r = D(t), d(e, "class", "EnrolledButton"), d(e, "part", "EnrolledButton"), e.disabled = !0;
|
|
859
859
|
},
|
|
860
860
|
m(s, i) {
|
|
861
|
-
|
|
861
|
+
k(s, e, i), b(e, r);
|
|
862
862
|
},
|
|
863
863
|
p(s, i) {
|
|
864
864
|
i[1] & /*$_*/
|
|
@@ -866,7 +866,7 @@ function De(n) {
|
|
|
866
866
|
s[32]("enrolled") + "") && M(r, t);
|
|
867
867
|
},
|
|
868
868
|
d(s) {
|
|
869
|
-
s &&
|
|
869
|
+
s && _(e);
|
|
870
870
|
}
|
|
871
871
|
};
|
|
872
872
|
}
|
|
@@ -877,13 +877,13 @@ function Me(n) {
|
|
|
877
877
|
), r, s, i;
|
|
878
878
|
return {
|
|
879
879
|
c() {
|
|
880
|
-
e = z("span"), r = D(t), s =
|
|
880
|
+
e = z("span"), r = D(t), s = j(), i = D(
|
|
881
881
|
/*errorJoinText*/
|
|
882
882
|
n[18]
|
|
883
883
|
), d(e, "class", "ErrorText"), d(e, "part", "ErrorText");
|
|
884
884
|
},
|
|
885
885
|
m(a, u) {
|
|
886
|
-
|
|
886
|
+
k(a, e, u), b(e, r), b(e, s), b(e, i);
|
|
887
887
|
},
|
|
888
888
|
p(a, u) {
|
|
889
889
|
u[1] & /*$_*/
|
|
@@ -896,7 +896,7 @@ function Me(n) {
|
|
|
896
896
|
);
|
|
897
897
|
},
|
|
898
898
|
d(a) {
|
|
899
|
-
a &&
|
|
899
|
+
a && _(e);
|
|
900
900
|
}
|
|
901
901
|
};
|
|
902
902
|
}
|
|
@@ -932,7 +932,7 @@ function Ae(n) {
|
|
|
932
932
|
), l(e, "scrollby", "2"), l(e, "exportparts", "TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton");
|
|
933
933
|
},
|
|
934
934
|
m(t, r) {
|
|
935
|
-
|
|
935
|
+
k(t, e, r);
|
|
936
936
|
},
|
|
937
937
|
p(t, r) {
|
|
938
938
|
r[0] & /*clientstyling*/
|
|
@@ -968,7 +968,7 @@ function Ae(n) {
|
|
|
968
968
|
);
|
|
969
969
|
},
|
|
970
970
|
d(t) {
|
|
971
|
-
t &&
|
|
971
|
+
t && _(e);
|
|
972
972
|
}
|
|
973
973
|
};
|
|
974
974
|
}
|
|
@@ -990,7 +990,7 @@ function yt(n) {
|
|
|
990
990
|
e = z("div"), s && s.c();
|
|
991
991
|
},
|
|
992
992
|
m(i, a) {
|
|
993
|
-
|
|
993
|
+
k(i, e, a), s && s.m(e, null), n[52](e);
|
|
994
994
|
},
|
|
995
995
|
p(i, a) {
|
|
996
996
|
r === (r = t(i)) && s ? s.p(i, a) : (s && s.d(1), s = r && r(i), s && (s.c(), s.m(e, null)));
|
|
@@ -998,14 +998,14 @@ function yt(n) {
|
|
|
998
998
|
i: se,
|
|
999
999
|
o: se,
|
|
1000
1000
|
d(i) {
|
|
1001
|
-
i &&
|
|
1001
|
+
i && _(e), s && s.d(), n[52](null);
|
|
1002
1002
|
}
|
|
1003
1003
|
};
|
|
1004
1004
|
}
|
|
1005
1005
|
function Ft(n, e, t) {
|
|
1006
1006
|
let r;
|
|
1007
|
-
|
|
1008
|
-
let { session: s = "" } = e, { userid: i = "" } = e, { tournamenturl: a = "" } = e, { touridx: u } = e, { endpoint: m = "" } = e, { showdetails: h = "" } = e, { showslider: c = "" } = e, { showenrolled: F = "" } = e, { maxwidth: E = "" } = e, { fullsize: v = "" } = e, { lang: w = "" } = e, { loginevent: T = "" } = e, { registerevent: f = "" } = e, { loginurl: g = "" } = e, { registerurl: U = "" } = e, { currency: Q = "" } = e, { keepbrowsercontext: le = "false" } = e, { clientstyling: H = "" } = e, { clientstylingurl: N = "" } = e, { translationurl: W = "" } = e, { tournamentinfo: q } = e, A, P = !1, G = "", I = !0, ae = window.navigator.userAgent, K = !1, X = !1, ue = "There was an error while trying to join the tournament", Y = !1, fe, de, ce, x,
|
|
1007
|
+
tt(n, at, (o) => t(32, r = o));
|
|
1008
|
+
let { session: s = "" } = e, { userid: i = "" } = e, { tournamenturl: a = "" } = e, { touridx: u } = e, { endpoint: m = "" } = e, { showdetails: h = "" } = e, { showslider: c = "" } = e, { showenrolled: F = "" } = e, { maxwidth: E = "" } = e, { fullsize: v = "" } = e, { lang: w = "" } = e, { loginevent: T = "" } = e, { registerevent: f = "" } = e, { loginurl: g = "" } = e, { registerurl: U = "" } = e, { currency: Q = "" } = e, { keepbrowsercontext: le = "false" } = e, { clientstyling: H = "" } = e, { clientstylingurl: N = "" } = e, { translationurl: W = "" } = e, { tournamentinfo: q } = e, A, P = !1, G = "", I = !0, ae = window.navigator.userAgent, K = !1, X = !1, ue = "There was an error while trying to join the tournament", Y = !1, fe, de, ce, x, S, me, $, ge, he, pe = [], ee = [], we = "#", te, V = !1;
|
|
1009
1009
|
ut({ withLocale: "en", translations: {} });
|
|
1010
1010
|
const Oe = () => {
|
|
1011
1011
|
fetch(W).then((p) => p.json()).then((p) => {
|
|
@@ -1020,11 +1020,11 @@ function Ft(n, e, t) {
|
|
|
1020
1020
|
Ce(o, Ee[o]);
|
|
1021
1021
|
});
|
|
1022
1022
|
const be = (o) => {
|
|
1023
|
-
Pe(o), re(o), Te(this,
|
|
1023
|
+
Pe(o), re(o), Te(this, S);
|
|
1024
1024
|
}, _e = (o) => {
|
|
1025
1025
|
if (o.data && o.data.type == "UserSessionID" && (t(14, P = !0), G = o.data.session), o.data.type == "UpdateTournamentView") {
|
|
1026
1026
|
let p = o.data.tournamentData;
|
|
1027
|
-
if (
|
|
1027
|
+
if (S && S != p.id)
|
|
1028
1028
|
return;
|
|
1029
1029
|
be(p);
|
|
1030
1030
|
}
|
|
@@ -1032,7 +1032,7 @@ function Ft(n, e, t) {
|
|
|
1032
1032
|
let p = o.data.tournamentData, C = u < 4 ? u * 100 : Math.random() * 300 + 300;
|
|
1033
1033
|
t(31, V = u == 1), setTimeout(
|
|
1034
1034
|
() => {
|
|
1035
|
-
t(31, V = !0), t(24,
|
|
1035
|
+
t(31, V = !0), t(24, S = p.id), be(p);
|
|
1036
1036
|
},
|
|
1037
1037
|
C
|
|
1038
1038
|
), setTimeout(
|
|
@@ -1045,7 +1045,7 @@ function Ft(n, e, t) {
|
|
|
1045
1045
|
}, Pe = (o) => {
|
|
1046
1046
|
o.state != x && (t(23, x = o.state), window.postMessage(
|
|
1047
1047
|
{
|
|
1048
|
-
type: `TournamentStatus_${
|
|
1048
|
+
type: `TournamentStatus_${S}`,
|
|
1049
1049
|
status: x
|
|
1050
1050
|
},
|
|
1051
1051
|
window.location.href
|
|
@@ -1095,23 +1095,23 @@ function Ft(n, e, t) {
|
|
|
1095
1095
|
};
|
|
1096
1096
|
const ve = () => {
|
|
1097
1097
|
t(16, K = !1), t(26, $ = !0);
|
|
1098
|
-
}, ie = (
|
|
1099
|
-
t(16, K = !1),
|
|
1098
|
+
}, ie = (B) => {
|
|
1099
|
+
t(16, K = !1), B && t(18, ue = B), t(17, X = !0);
|
|
1100
1100
|
}, J = await (async () => {
|
|
1101
|
-
let
|
|
1101
|
+
let B;
|
|
1102
1102
|
try {
|
|
1103
|
-
|
|
1103
|
+
B = await fetch(C, Xe), B = await B.json();
|
|
1104
1104
|
} catch {
|
|
1105
1105
|
ie();
|
|
1106
1106
|
}
|
|
1107
|
-
return
|
|
1107
|
+
return B;
|
|
1108
1108
|
})();
|
|
1109
1109
|
if (J)
|
|
1110
1110
|
if (J.success == !0)
|
|
1111
1111
|
ve();
|
|
1112
1112
|
else if (J.errorMessage.match("VersionMismatchException")) {
|
|
1113
|
-
let
|
|
1114
|
-
|
|
1113
|
+
let B;
|
|
1114
|
+
B = await fetch(`${m}/tournaments/${S}`, { headers: { "X-SessionID": s } }), B = await B.json(), B?.item?.playerEnrolled ? ve() : (ie(J.errorMessage), t(19, Y = !0), t(17, X = !1));
|
|
1115
1115
|
} else
|
|
1116
1116
|
ie(J.errorMessage);
|
|
1117
1117
|
}, Te = (o, p) => {
|
|
@@ -1123,7 +1123,7 @@ function Ft(n, e, t) {
|
|
|
1123
1123
|
window.location.href
|
|
1124
1124
|
);
|
|
1125
1125
|
}, re = (o) => {
|
|
1126
|
-
o && (t(20, fe = o.nameOrTitle || ""), t(21, de = o.startTime), t(22, ce = o.endTime), t(23, x = o.state), t(24,
|
|
1126
|
+
o && (t(20, fe = o.nameOrTitle || ""), t(21, de = o.startTime), t(22, ce = o.endTime), t(23, x = o.state), t(24, S = o.id), t(25, me = o.thumbnail), t(26, $ = o.playerEnrolled === "true" || o.playerEnrolled == !0 || !1), t(27, ge = o.scoreCriteria), t(28, he = o.minBetCount), pe = o.prizes, t(29, ee = o.wallets || []), t(30, we = o.termsUrl || "#"));
|
|
1127
1127
|
}, Ie = (o) => {
|
|
1128
1128
|
t(15, I = !0);
|
|
1129
1129
|
let p = new URL(o), C = new Headers();
|
|
@@ -1156,12 +1156,12 @@ function Ft(n, e, t) {
|
|
|
1156
1156
|
);
|
|
1157
1157
|
});
|
|
1158
1158
|
};
|
|
1159
|
-
|
|
1159
|
+
nt(() => (t(15, I = !1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", _e, !1), () => {
|
|
1160
1160
|
window.removeEventListener("message", _e);
|
|
1161
1161
|
}));
|
|
1162
|
-
const He = () => ke(), Ne = () => ye(), We = () => ne(
|
|
1162
|
+
const He = () => ke(), Ne = () => ye(), We = () => ne(S), qe = () => Fe(S, ee), Ge = () => ne(S);
|
|
1163
1163
|
function Ke(o) {
|
|
1164
|
-
|
|
1164
|
+
rt[o ? "unshift" : "push"](() => {
|
|
1165
1165
|
A = o, t(13, A);
|
|
1166
1166
|
});
|
|
1167
1167
|
}
|
|
@@ -1201,7 +1201,7 @@ function Ft(n, e, t) {
|
|
|
1201
1201
|
de,
|
|
1202
1202
|
ce,
|
|
1203
1203
|
x,
|
|
1204
|
-
|
|
1204
|
+
S,
|
|
1205
1205
|
me,
|
|
1206
1206
|
$,
|
|
1207
1207
|
ge,
|
|
@@ -1239,7 +1239,7 @@ class Tt extends Qe {
|
|
|
1239
1239
|
e,
|
|
1240
1240
|
Ft,
|
|
1241
1241
|
yt,
|
|
1242
|
-
|
|
1242
|
+
$e,
|
|
1243
1243
|
{
|
|
1244
1244
|
session: 0,
|
|
1245
1245
|
userid: 1,
|
|
@@ -1394,7 +1394,7 @@ class Tt extends Qe {
|
|
|
1394
1394
|
this.$$set({ tournamentinfo: e }), y();
|
|
1395
1395
|
}
|
|
1396
1396
|
}
|
|
1397
|
-
|
|
1397
|
+
lt(Tt, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {} }, [], [], !0);
|
|
1398
1398
|
export {
|
|
1399
1399
|
Tt as default
|
|
1400
1400
|
};
|