@everymatrix/casino-tournaments-controller 1.94.4 → 1.94.6
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-B2QtW6Gb.js → CasinoTournamentsController-CNsVUnfN.js} +43 -43
- package/components/{CasinoTournamentsController-Cmk_sscD.js → CasinoTournamentsController-lJfLLRnq.js} +41 -41
- package/components/{CasinoTournamentsFilterController-D4G5Nvqd.js → CasinoTournamentsFilterController-1wIYqpNu.js} +28 -28
- package/components/{CasinoTournamentsFilterController-noCwPzUX.js → CasinoTournamentsFilterController-C1zYpGsR.js} +28 -28
- package/components/{CasinoTournamentsListController-Cnnw83ZW.js → CasinoTournamentsListController-DJD_bSY7.js} +2 -2
- package/components/{CasinoTournamentsListController-mRJE3n3d.js → CasinoTournamentsListController-Zz588CUs.js} +2 -2
- package/components/{CasinoTournamentsThumbnail-CnVglTq3.js → CasinoTournamentsThumbnail-CnDoX1-O.js} +1 -1
- package/components/{CasinoTournamentsThumbnail-CAhPDUeT.js → CasinoTournamentsThumbnail-D87z-Own.js} +17 -17
- package/components/{CasinoTournamentsThumbnailController-B2ham2Wm.js → CasinoTournamentsThumbnailController-CIuSxiRT.js} +45 -45
- package/components/{CasinoTournamentsThumbnailController-BStQU4lj.js → CasinoTournamentsThumbnailController-DVRmnfIu.js} +47 -47
- package/components/{CasinoTournamentsThumbnailDuration-s2cjZAtL.js → CasinoTournamentsThumbnailDuration-B2Y3C4cx.js} +21 -21
- package/components/{CasinoTournamentsThumbnailDuration-khP6Eyhg.js → CasinoTournamentsThumbnailDuration-DiJ5pIi_.js} +23 -23
- package/components/{CasinoTournamentsThumbnailGamesSlider-xGXCOrtm.js → CasinoTournamentsThumbnailGamesSlider-CFPpuIBF.js} +52 -52
- package/components/{CasinoTournamentsThumbnailGamesSlider-CBtsc19f.js → CasinoTournamentsThumbnailGamesSlider-COj5bcj7.js} +57 -57
- package/components/{CasinoTournamentsThumbnailPrizes-CbvllG0_.js → CasinoTournamentsThumbnailPrizes-B3wYNh9f.js} +20 -20
- package/components/{CasinoTournamentsThumbnailPrizes-CuSSpsU9.js → CasinoTournamentsThumbnailPrizes-CPgEr0rk.js} +21 -21
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ var ae = (r, e, t) => new Promise((n, o) => {
|
|
|
14
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 {
|
|
17
|
+
import { b as ue, $ as Ve, d as Ze, S as Qe, t as Ye, B as $e, r as _, h as et, y as Y, n as w, G as l, i as g, u as b, g as T, o as F, J as B, k as tt, z as nt, s as Ce, j as rt, p as fe, c as it, H as D, M as C, A as ot, x as R, w as me, L, D as st, E as lt, F as at, l as ut, a as ft } from "./CasinoTournamentsController-CNsVUnfN.js";
|
|
18
18
|
function mt({ withLocale: r, translations: e }) {
|
|
19
19
|
ue.subscribe((t) => {
|
|
20
20
|
t == null && (Ve.set(e), ue.set(r));
|
|
@@ -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-CnDoX1-O.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-DiJ5pIi_.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-B3wYNh9f.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-CFPpuIBF.js").then(
|
|
183
183
|
({ default: e }) => {
|
|
184
184
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
185
185
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -218,7 +218,7 @@ function gt(r) {
|
|
|
218
218
|
r[20]) && Ie(r)
|
|
219
219
|
), v = (
|
|
220
220
|
/*showslider*/
|
|
221
|
-
r[3] == "true" &&
|
|
221
|
+
r[3] == "true" && Je(r)
|
|
222
222
|
);
|
|
223
223
|
return {
|
|
224
224
|
c() {
|
|
@@ -320,7 +320,7 @@ function gt(r) {
|
|
|
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
322
|
c[20] ? d ? d.p(c, k) : (d = Ie(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 =
|
|
323
|
+
c[3] == "true" ? v ? v.p(c, k) : (v = Je(c), v.c(), v.m(f.parentNode, f)) : v && (v.d(1), v = null);
|
|
324
324
|
},
|
|
325
325
|
d(c) {
|
|
326
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);
|
|
@@ -435,7 +435,7 @@ function pt(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 =
|
|
438
|
+
b(a, e, f), T(e, n), o || (s = R(e, "click", function() {
|
|
439
439
|
me(
|
|
440
440
|
/*detailsAction*/
|
|
441
441
|
r[36].bind(
|
|
@@ -463,7 +463,7 @@ function pt(r) {
|
|
|
463
463
|
function wt(r) {
|
|
464
464
|
let e, t, n = (
|
|
465
465
|
/*showdetails*/
|
|
466
|
-
r[2] == "true" &&
|
|
466
|
+
r[2] == "true" && Me(r)
|
|
467
467
|
);
|
|
468
468
|
function o(f, m) {
|
|
469
469
|
return (
|
|
@@ -481,7 +481,7 @@ function wt(r) {
|
|
|
481
481
|
},
|
|
482
482
|
p(f, m) {
|
|
483
483
|
/*showdetails*/
|
|
484
|
-
f[2] == "true" ? n ? n.p(f, m) : (n =
|
|
484
|
+
f[2] == "true" ? n ? n.p(f, m) : (n = Me(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);
|
|
@@ -502,13 +502,13 @@ function bt(r) {
|
|
|
502
502
|
},
|
|
503
503
|
m(h, u) {
|
|
504
504
|
b(h, e, u), T(e, n), b(h, o, u), b(h, s, u), T(s, f), m || (p = [
|
|
505
|
-
|
|
505
|
+
R(
|
|
506
506
|
e,
|
|
507
507
|
"click",
|
|
508
508
|
/*loginAction*/
|
|
509
509
|
r[34]
|
|
510
510
|
),
|
|
511
|
-
|
|
511
|
+
R(
|
|
512
512
|
s,
|
|
513
513
|
"click",
|
|
514
514
|
/*registerAction*/
|
|
@@ -528,7 +528,7 @@ function bt(r) {
|
|
|
528
528
|
}
|
|
529
529
|
};
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function Me(r) {
|
|
532
532
|
let e, t = (
|
|
533
533
|
/*$_*/
|
|
534
534
|
r[33]("details") + ""
|
|
@@ -538,7 +538,7 @@ function Ae(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 =
|
|
541
|
+
b(a, e, f), T(e, n), o || (s = R(e, "click", function() {
|
|
542
542
|
me(
|
|
543
543
|
/*detailsAction*/
|
|
544
544
|
r[36].bind(
|
|
@@ -580,7 +580,7 @@ function kt(r) {
|
|
|
580
580
|
r[18];
|
|
581
581
|
},
|
|
582
582
|
m(p, h) {
|
|
583
|
-
b(p, e, h), m.m(e, null), o || (s =
|
|
583
|
+
b(p, e, h), m.m(e, null), o || (s = R(
|
|
584
584
|
e,
|
|
585
585
|
"click",
|
|
586
586
|
/*click_handler*/
|
|
@@ -604,7 +604,7 @@ function kt(r) {
|
|
|
604
604
|
function _t(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() {
|
|
@@ -615,7 +615,7 @@ function _t(r) {
|
|
|
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);
|
|
@@ -659,7 +659,7 @@ function Tt(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") + ""
|
|
@@ -711,10 +711,10 @@ function Ie(r) {
|
|
|
711
711
|
}
|
|
712
712
|
};
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function Je(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 Oe(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 Oe(r) {
|
|
|
798
798
|
}
|
|
799
799
|
};
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function Oe(r) {
|
|
802
802
|
let e;
|
|
803
803
|
return {
|
|
804
804
|
c() {
|
|
@@ -1060,9 +1060,9 @@ function Ft(r) {
|
|
|
1060
1060
|
function vt(r, e, t) {
|
|
1061
1061
|
let n;
|
|
1062
1062
|
tt(r, ft, (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:
|
|
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: x = "" } = e, { detailsevent: de = "" } = e, { loginurl: U = "" } = e, { registerurl: H = "" } = e, { currency: $ = "" } = e, { keepbrowsercontext: ce = "false" } = e, { clientstyling: N = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: q = "" } = e, { tournamentinfo: W } = e, { mbsource: K } = e, { tournamentid: ee } = e, E, Re, M = !1, X = "", A = !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
1064
|
mt({ withLocale: "en", translations: {} });
|
|
1065
|
-
const
|
|
1065
|
+
const xe = () => {
|
|
1066
1066
|
fetch(q).then((y) => y.json()).then((y) => {
|
|
1067
1067
|
Object.keys(y).forEach((S) => {
|
|
1068
1068
|
De(S, y[S]);
|
|
@@ -1077,7 +1077,7 @@ function vt(r, e, t) {
|
|
|
1077
1077
|
const Fe = (i) => {
|
|
1078
1078
|
Ue(i), oe(i), Se(this, j);
|
|
1079
1079
|
}, ve = (i) => {
|
|
1080
|
-
if (i.data && i.data.type == "UserSessionID" && (t(15,
|
|
1080
|
+
if (i.data && i.data.type == "UserSessionID" && (t(15, M = !0), X = i.data.session, Be(m)), i.data.type == "UpdateTournamentView") {
|
|
1081
1081
|
let y = i.data.tournamentData;
|
|
1082
1082
|
if (j && j != y.id)
|
|
1083
1083
|
return;
|
|
@@ -1110,9 +1110,9 @@ function vt(r, e, t) {
|
|
|
1110
1110
|
context: "TournamentsThumbnailController"
|
|
1111
1111
|
})), U && (window.location = U);
|
|
1112
1112
|
}, Ne = () => {
|
|
1113
|
-
|
|
1113
|
+
x && (window.postMessage(
|
|
1114
1114
|
{
|
|
1115
|
-
type:
|
|
1115
|
+
type: x,
|
|
1116
1116
|
transition: "Register"
|
|
1117
1117
|
},
|
|
1118
1118
|
window.location.href
|
|
@@ -1144,7 +1144,7 @@ function vt(r, e, t) {
|
|
|
1144
1144
|
currency: $,
|
|
1145
1145
|
type: "tournament"
|
|
1146
1146
|
});
|
|
1147
|
-
let
|
|
1147
|
+
let J = {
|
|
1148
1148
|
method: "PUT",
|
|
1149
1149
|
headers: P,
|
|
1150
1150
|
body: JSON.stringify(se)
|
|
@@ -1153,23 +1153,23 @@ function vt(r, e, t) {
|
|
|
1153
1153
|
t(17, V = !1), t(27, re = !0);
|
|
1154
1154
|
}, le = (z) => {
|
|
1155
1155
|
t(17, V = !1), z && t(19, he = z), t(18, Z = !0);
|
|
1156
|
-
},
|
|
1156
|
+
}, O = yield ae(this, null, function* () {
|
|
1157
1157
|
let z;
|
|
1158
1158
|
try {
|
|
1159
|
-
z = yield fetch(S,
|
|
1159
|
+
z = yield fetch(S, J), z = yield z.json();
|
|
1160
1160
|
} catch (Bt) {
|
|
1161
1161
|
le();
|
|
1162
1162
|
}
|
|
1163
1163
|
return z;
|
|
1164
1164
|
});
|
|
1165
|
-
if (
|
|
1166
|
-
if (
|
|
1165
|
+
if (O)
|
|
1166
|
+
if (O.success == !0)
|
|
1167
1167
|
Ee();
|
|
1168
|
-
else if (
|
|
1168
|
+
else if (O.errorMessage.match("VersionMismatchException")) {
|
|
1169
1169
|
let z;
|
|
1170
|
-
z = yield fetch(`${m}/tournaments/${j}`, { headers: { "X-SessionID": o } }), z = yield z.json(), (je = z == null ? void 0 : z.item) != null && je.playerEnrolled ? Ee() : (le(
|
|
1170
|
+
z = yield fetch(`${m}/tournaments/${j}`, { headers: { "X-SessionID": o } }), z = yield z.json(), (je = z == null ? void 0 : z.item) != null && je.playerEnrolled ? Ee() : (le(O.errorMessage), t(20, te = !0), t(18, Z = !1));
|
|
1171
1171
|
} else
|
|
1172
|
-
le(
|
|
1172
|
+
le(O.errorMessage);
|
|
1173
1173
|
}), Se = (i, y) => {
|
|
1174
1174
|
window.postMessage(
|
|
1175
1175
|
{
|
|
@@ -1181,23 +1181,23 @@ function vt(r, e, t) {
|
|
|
1181
1181
|
}, oe = (i) => {
|
|
1182
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
1183
|
}, Be = (i) => {
|
|
1184
|
-
t(16,
|
|
1184
|
+
t(16, A = !0);
|
|
1185
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", Ce(ge)),
|
|
1187
|
-
oe(
|
|
1186
|
+
S.searchParams.append("language", c), S.searchParams.append("platform", Ce(ge)), M && P.append("X-SessionID", X), fetch(S, { method: "GET", headers: P }).then((J) => J.json()).then((J) => {
|
|
1187
|
+
oe(J.item);
|
|
1188
1188
|
}).finally(() => {
|
|
1189
|
-
t(16,
|
|
1189
|
+
t(16, A = !1);
|
|
1190
1190
|
});
|
|
1191
1191
|
}, qe = () => {
|
|
1192
|
-
t(15,
|
|
1192
|
+
t(15, M = (o == null ? void 0 : o.length) > 10), M && (X = o);
|
|
1193
1193
|
}, We = () => {
|
|
1194
1194
|
if (W) {
|
|
1195
1195
|
oe(W);
|
|
1196
1196
|
return;
|
|
1197
1197
|
}
|
|
1198
|
-
t(16,
|
|
1198
|
+
t(16, A = !0), Be(m);
|
|
1199
1199
|
};
|
|
1200
|
-
nt(() => (t(16,
|
|
1200
|
+
nt(() => (t(16, A = !ne), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", ve, !1), () => {
|
|
1201
1201
|
window.removeEventListener("message", ve);
|
|
1202
1202
|
}));
|
|
1203
1203
|
const Ke = () => ze(j, ie);
|
|
@@ -1207,16 +1207,16 @@ function vt(r, e, t) {
|
|
|
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, 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,
|
|
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, x = 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, G = i.clientstylingurl), "translationurl" in i && t(12, q = 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
1213
|
128 && c && dt(c), r.$$.dirty[0] & /*translationurl*/
|
|
1214
|
-
4096 && q &&
|
|
1214
|
+
4096 && q && xe(), r.$$.dirty[1] & /*session*/
|
|
1215
1215
|
256 && o && qe(), r.$$.dirty[0] & /*tournamenturl, lang*/
|
|
1216
1216
|
130 && a && c && We(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1217
1217
|
17408 && N && E && st(E, N), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1218
1218
|
18432 && G && E && lt(E, G), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1219
|
-
24576 && K && E && at(E, `${K}.Style`,
|
|
1219
|
+
24576 && K && E && at(E, `${K}.Style`, Re);
|
|
1220
1220
|
}, [
|
|
1221
1221
|
s,
|
|
1222
1222
|
a,
|
|
@@ -1233,8 +1233,8 @@ function vt(r, e, t) {
|
|
|
1233
1233
|
q,
|
|
1234
1234
|
K,
|
|
1235
1235
|
E,
|
|
1236
|
-
A,
|
|
1237
1236
|
M,
|
|
1237
|
+
A,
|
|
1238
1238
|
V,
|
|
1239
1239
|
Z,
|
|
1240
1240
|
he,
|
|
@@ -1261,7 +1261,7 @@ function vt(r, e, t) {
|
|
|
1261
1261
|
f,
|
|
1262
1262
|
m,
|
|
1263
1263
|
k,
|
|
1264
|
-
|
|
1264
|
+
x,
|
|
1265
1265
|
U,
|
|
1266
1266
|
H,
|
|
1267
1267
|
$,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { d as J, S as K, t as Y, B as Z, r as z, h as Q, y as O, n as k, u as w, o as v, i as l, k as V, z as X, H as M, g as h, c as $, M as j, J as I, j as tt, I as U, D as et, E as nt, F as it, l as st, a as rt } from "./CasinoTournamentsController-lJfLLRnq.js";
|
|
2
|
+
function A(n, t) {
|
|
3
3
|
J(n, t);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const q = {
|
|
6
6
|
en: {
|
|
7
7
|
finished: "Finished",
|
|
8
8
|
starting: "Starting in ",
|
|
@@ -95,7 +95,7 @@ const x = {
|
|
|
95
95
|
function at(n) {
|
|
96
96
|
Q(n, "svelte-6h4bfy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}");
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function x(n) {
|
|
99
99
|
let t, e, s = (
|
|
100
100
|
/*formatDate*/
|
|
101
101
|
n[10](
|
|
@@ -108,7 +108,7 @@ function A(n) {
|
|
|
108
108
|
/*enddate*/
|
|
109
109
|
n[1]
|
|
110
110
|
) + ""
|
|
111
|
-
), f, T, b, g, P, y,
|
|
111
|
+
), f, T, b, g, P, y, R;
|
|
112
112
|
function D(r, p) {
|
|
113
113
|
return (
|
|
114
114
|
/*status*/
|
|
@@ -143,10 +143,10 @@ function A(n) {
|
|
|
143
143
|
let B = L(n), c = B && B(n);
|
|
144
144
|
return {
|
|
145
145
|
c() {
|
|
146
|
-
t = v("div"), e = v("div"), a = j(s), u =
|
|
146
|
+
t = v("div"), e = v("div"), a = j(s), u = I(), o = v("div"), f = j(d), T = I(), b = v("div"), g = v("div"), _.c(), P = I(), c && c.c(), l(e, "class", "StartDate"), l(e, "part", "StartDate"), l(o, "class", "EndDate"), l(o, "part", "EndDate"), l(t, "class", "TournamentDates"), l(t, "part", "TournamentDates"), l(g, "class", "ProgressBar"), l(g, "part", "ProgressBar"), l(b, "class", "ProgressBarWrapper"), l(b, "part", "ProgressBarWrapper");
|
|
147
147
|
},
|
|
148
148
|
m(r, p) {
|
|
149
|
-
w(r, t, p), h(t, e), h(e, a), h(t, u), h(t, o), h(o, f), w(r, T, p), w(r, b, p), h(b, g), _.m(g, null), h(g, P), c && c.m(g, null), y || (
|
|
149
|
+
w(r, t, p), h(t, e), h(e, a), h(t, u), h(t, o), h(o, f), w(r, T, p), w(r, b, p), h(b, g), _.m(g, null), h(g, P), c && c.m(g, null), y || (R = $(
|
|
150
150
|
/*getDuration*/
|
|
151
151
|
n[9].call(null, b)
|
|
152
152
|
), y = !0);
|
|
@@ -165,7 +165,7 @@ function A(n) {
|
|
|
165
165
|
) + "") && M(f, d), C === (C = D(r)) && _ ? _.p(r, p) : (_.d(1), _ = C(r), _ && (_.c(), _.m(g, P))), B === (B = L(r)) && c ? c.p(r, p) : (c && c.d(1), c = B && B(r), c && (c.c(), c.m(g, null)));
|
|
166
166
|
},
|
|
167
167
|
d(r) {
|
|
168
|
-
r && (k(t), k(T), k(b)), _.d(), c && c.d(), y = !1,
|
|
168
|
+
r && (k(t), k(T), k(b)), _.d(), c && c.d(), y = !1, R();
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
171
|
}
|
|
@@ -237,7 +237,7 @@ function dt(n) {
|
|
|
237
237
|
t = v("div"), e = j(
|
|
238
238
|
/*showRemain*/
|
|
239
239
|
n[6]
|
|
240
|
-
), s =
|
|
240
|
+
), s = I(), u = j(a), l(t, "class", "Remaining"), l(t, "part", "Remaining");
|
|
241
241
|
},
|
|
242
242
|
m(o, d) {
|
|
243
243
|
w(o, t, d), h(t, e), h(t, s), h(t, u);
|
|
@@ -270,7 +270,7 @@ function ct(n) {
|
|
|
270
270
|
), o;
|
|
271
271
|
return {
|
|
272
272
|
c() {
|
|
273
|
-
t = v("div"), s = j(e), a =
|
|
273
|
+
t = v("div"), s = j(e), a = I(), o = j(u), l(t, "class", "Remaining"), l(t, "part", "Remaining");
|
|
274
274
|
},
|
|
275
275
|
m(d, f) {
|
|
276
276
|
w(d, t, f), h(t, s), h(t, a), h(t, o);
|
|
@@ -316,7 +316,7 @@ function gt(n) {
|
|
|
316
316
|
let t, e = (
|
|
317
317
|
/*startdate*/
|
|
318
318
|
n[0] && /*enddate*/
|
|
319
|
-
n[1] &&
|
|
319
|
+
n[1] && x(n)
|
|
320
320
|
);
|
|
321
321
|
return {
|
|
322
322
|
c() {
|
|
@@ -328,7 +328,7 @@ function gt(n) {
|
|
|
328
328
|
p(s, [a]) {
|
|
329
329
|
/*startdate*/
|
|
330
330
|
s[0] && /*enddate*/
|
|
331
|
-
s[1] ? e ? e.p(s, a) : (e =
|
|
331
|
+
s[1] ? e ? e.p(s, a) : (e = x(s), e.c(), e.m(t, null)) : e && (e.d(1), e = null);
|
|
332
332
|
},
|
|
333
333
|
i: O,
|
|
334
334
|
o: O,
|
|
@@ -340,18 +340,18 @@ function gt(n) {
|
|
|
340
340
|
function mt(n, t, e) {
|
|
341
341
|
let s, a;
|
|
342
342
|
V(n, rt, (i) => e(8, a = i));
|
|
343
|
-
let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: f = "en" } = t, { clientstyling: T = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: g = "" } = t, { mbsource: P } = t, y,
|
|
343
|
+
let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: f = "en" } = t, { clientstyling: T = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: g = "" } = t, { mbsource: P } = t, y, R, D = "", C = "", _ = "";
|
|
344
344
|
const L = () => {
|
|
345
345
|
fetch(g).then((m) => m.json()).then((m) => {
|
|
346
346
|
Object.keys(m).forEach((S) => {
|
|
347
|
-
|
|
347
|
+
A(S, m[S]);
|
|
348
348
|
});
|
|
349
349
|
}).catch((m) => {
|
|
350
350
|
console.log(m);
|
|
351
351
|
});
|
|
352
352
|
};
|
|
353
|
-
Object.keys(
|
|
354
|
-
|
|
353
|
+
Object.keys(q).forEach((i) => {
|
|
354
|
+
A(i, q[i]);
|
|
355
355
|
});
|
|
356
356
|
const B = (i) => new Date(i).getTime(), c = (i, m) => (B(m) - B(i)) / (1e3 * 60), r = () => {
|
|
357
357
|
const i = /* @__PURE__ */ new Date();
|
|
@@ -366,8 +366,8 @@ function mt(n, t, e) {
|
|
|
366
366
|
return F < 10 ? `0${F}` : `${F}`;
|
|
367
367
|
};
|
|
368
368
|
if (i < 1440) {
|
|
369
|
-
const E = i / 60, F = i % 60,
|
|
370
|
-
return [E, F,
|
|
369
|
+
const E = i / 60, F = i % 60, W = (F - Math.floor(F)) * 60;
|
|
370
|
+
return [E, F, W].map((G) => S(G)).join(":");
|
|
371
371
|
}
|
|
372
372
|
return m(Math.ceil(i / (60 * 24)), "days");
|
|
373
373
|
};
|
|
@@ -383,7 +383,7 @@ function mt(n, t, e) {
|
|
|
383
383
|
clearInterval(i);
|
|
384
384
|
};
|
|
385
385
|
});
|
|
386
|
-
function
|
|
386
|
+
function H(i) {
|
|
387
387
|
tt[i ? "unshift" : "push"](() => {
|
|
388
388
|
y = i, e(3, y);
|
|
389
389
|
});
|
|
@@ -404,7 +404,7 @@ function mt(n, t, e) {
|
|
|
404
404
|
32768 && g && L(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
405
405
|
8200 && T && y && et(y, T), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
406
406
|
16392 && b && y && nt(y, b), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
407
|
-
65544 && P && y && it(y, `${P}.Style`,
|
|
407
|
+
65544 && P && y && it(y, `${P}.Style`, R);
|
|
408
408
|
}, [
|
|
409
409
|
u,
|
|
410
410
|
o,
|
|
@@ -423,7 +423,7 @@ function mt(n, t, e) {
|
|
|
423
423
|
b,
|
|
424
424
|
g,
|
|
425
425
|
P,
|
|
426
|
-
|
|
426
|
+
H
|
|
427
427
|
];
|
|
428
428
|
}
|
|
429
429
|
class ht extends K {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { d as J, S as K, t as Y, B as Z, r as z, h as Q, y as O, n as k, u as w, o as v, i as l, k as V, z as X, H as M, g as h, c as $, M as j, J as I, j as tt, I as U, D as et, E as nt, F as it, l as st, a as rt } from "./CasinoTournamentsController-CNsVUnfN.js";
|
|
2
|
+
function A(n, t) {
|
|
3
3
|
J(n, t);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const q = {
|
|
6
6
|
en: {
|
|
7
7
|
finished: "Finished",
|
|
8
8
|
starting: "Starting in ",
|
|
@@ -95,7 +95,7 @@ const x = {
|
|
|
95
95
|
function at(n) {
|
|
96
96
|
Q(n, "svelte-6h4bfy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}");
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function x(n) {
|
|
99
99
|
let t, e, s = (
|
|
100
100
|
/*formatDate*/
|
|
101
101
|
n[10](
|
|
@@ -108,7 +108,7 @@ function A(n) {
|
|
|
108
108
|
/*enddate*/
|
|
109
109
|
n[1]
|
|
110
110
|
) + ""
|
|
111
|
-
), f, T, b, g, P, y,
|
|
111
|
+
), f, T, b, g, P, y, R;
|
|
112
112
|
function D(r, p) {
|
|
113
113
|
return (
|
|
114
114
|
/*status*/
|
|
@@ -143,10 +143,10 @@ function A(n) {
|
|
|
143
143
|
let B = L(n), c = B && B(n);
|
|
144
144
|
return {
|
|
145
145
|
c() {
|
|
146
|
-
t = v("div"), e = v("div"), a =
|
|
146
|
+
t = v("div"), e = v("div"), a = j(s), u = I(), o = v("div"), f = j(d), T = I(), b = v("div"), g = v("div"), _.c(), P = I(), c && c.c(), l(e, "class", "StartDate"), l(e, "part", "StartDate"), l(o, "class", "EndDate"), l(o, "part", "EndDate"), l(t, "class", "TournamentDates"), l(t, "part", "TournamentDates"), l(g, "class", "ProgressBar"), l(g, "part", "ProgressBar"), l(b, "class", "ProgressBarWrapper"), l(b, "part", "ProgressBarWrapper");
|
|
147
147
|
},
|
|
148
148
|
m(r, p) {
|
|
149
|
-
w(r, t, p), h(t, e), h(e, a), h(t, u), h(t, o), h(o, f), w(r, T, p), w(r, b, p), h(b, g), _.m(g, null), h(g, P), c && c.m(g, null), y || (
|
|
149
|
+
w(r, t, p), h(t, e), h(e, a), h(t, u), h(t, o), h(o, f), w(r, T, p), w(r, b, p), h(b, g), _.m(g, null), h(g, P), c && c.m(g, null), y || (R = $(
|
|
150
150
|
/*getDuration*/
|
|
151
151
|
n[9].call(null, b)
|
|
152
152
|
), y = !0);
|
|
@@ -165,7 +165,7 @@ function A(n) {
|
|
|
165
165
|
) + "") && M(f, d), C === (C = D(r)) && _ ? _.p(r, p) : (_.d(1), _ = C(r), _ && (_.c(), _.m(g, P))), B === (B = L(r)) && c ? c.p(r, p) : (c && c.d(1), c = B && B(r), c && (c.c(), c.m(g, null)));
|
|
166
166
|
},
|
|
167
167
|
d(r) {
|
|
168
|
-
r && (k(t), k(T), k(b)), _.d(), c && c.d(), y = !1,
|
|
168
|
+
r && (k(t), k(T), k(b)), _.d(), c && c.d(), y = !1, R();
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
171
|
}
|
|
@@ -234,10 +234,10 @@ function dt(n) {
|
|
|
234
234
|
), u;
|
|
235
235
|
return {
|
|
236
236
|
c() {
|
|
237
|
-
t = v("div"), e =
|
|
237
|
+
t = v("div"), e = j(
|
|
238
238
|
/*showRemain*/
|
|
239
239
|
n[6]
|
|
240
|
-
), s =
|
|
240
|
+
), s = I(), u = j(a), l(t, "class", "Remaining"), l(t, "part", "Remaining");
|
|
241
241
|
},
|
|
242
242
|
m(o, d) {
|
|
243
243
|
w(o, t, d), h(t, e), h(t, s), h(t, u);
|
|
@@ -270,7 +270,7 @@ function ct(n) {
|
|
|
270
270
|
), o;
|
|
271
271
|
return {
|
|
272
272
|
c() {
|
|
273
|
-
t = v("div"), s =
|
|
273
|
+
t = v("div"), s = j(e), a = I(), o = j(u), l(t, "class", "Remaining"), l(t, "part", "Remaining");
|
|
274
274
|
},
|
|
275
275
|
m(d, f) {
|
|
276
276
|
w(d, t, f), h(t, s), h(t, a), h(t, o);
|
|
@@ -297,7 +297,7 @@ function ft(n) {
|
|
|
297
297
|
), s;
|
|
298
298
|
return {
|
|
299
299
|
c() {
|
|
300
|
-
t = v("div"), s =
|
|
300
|
+
t = v("div"), s = j(e), l(t, "class", "Finished"), l(t, "part", "Finished");
|
|
301
301
|
},
|
|
302
302
|
m(a, u) {
|
|
303
303
|
w(a, t, u), h(t, s);
|
|
@@ -316,7 +316,7 @@ function gt(n) {
|
|
|
316
316
|
let t, e = (
|
|
317
317
|
/*startdate*/
|
|
318
318
|
n[0] && /*enddate*/
|
|
319
|
-
n[1] &&
|
|
319
|
+
n[1] && x(n)
|
|
320
320
|
);
|
|
321
321
|
return {
|
|
322
322
|
c() {
|
|
@@ -328,7 +328,7 @@ function gt(n) {
|
|
|
328
328
|
p(s, [a]) {
|
|
329
329
|
/*startdate*/
|
|
330
330
|
s[0] && /*enddate*/
|
|
331
|
-
s[1] ? e ? e.p(s, a) : (e =
|
|
331
|
+
s[1] ? e ? e.p(s, a) : (e = x(s), e.c(), e.m(t, null)) : e && (e.d(1), e = null);
|
|
332
332
|
},
|
|
333
333
|
i: O,
|
|
334
334
|
o: O,
|
|
@@ -340,18 +340,18 @@ function gt(n) {
|
|
|
340
340
|
function mt(n, t, e) {
|
|
341
341
|
let s, a;
|
|
342
342
|
V(n, rt, (i) => e(8, a = i));
|
|
343
|
-
let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: f = "en" } = t, { clientstyling: T = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: g = "" } = t, { mbsource: P } = t, y,
|
|
343
|
+
let { startdate: u = "" } = t, { enddate: o = "" } = t, { status: d = "" } = t, { lang: f = "en" } = t, { clientstyling: T = "" } = t, { clientstylingurl: b = "" } = t, { translationurl: g = "" } = t, { mbsource: P } = t, y, R, D = "", C = "", _ = "";
|
|
344
344
|
const L = () => {
|
|
345
345
|
fetch(g).then((m) => m.json()).then((m) => {
|
|
346
346
|
Object.keys(m).forEach((S) => {
|
|
347
|
-
|
|
347
|
+
A(S, m[S]);
|
|
348
348
|
});
|
|
349
349
|
}).catch((m) => {
|
|
350
350
|
console.log(m);
|
|
351
351
|
});
|
|
352
352
|
};
|
|
353
|
-
Object.keys(
|
|
354
|
-
|
|
353
|
+
Object.keys(q).forEach((i) => {
|
|
354
|
+
A(i, q[i]);
|
|
355
355
|
});
|
|
356
356
|
const B = (i) => new Date(i).getTime(), c = (i, m) => (B(m) - B(i)) / (1e3 * 60), r = () => {
|
|
357
357
|
const i = /* @__PURE__ */ new Date();
|
|
@@ -366,8 +366,8 @@ function mt(n, t, e) {
|
|
|
366
366
|
return F < 10 ? `0${F}` : `${F}`;
|
|
367
367
|
};
|
|
368
368
|
if (i < 1440) {
|
|
369
|
-
const E = i / 60, F = i % 60,
|
|
370
|
-
return [E, F,
|
|
369
|
+
const E = i / 60, F = i % 60, W = (F - Math.floor(F)) * 60;
|
|
370
|
+
return [E, F, W].map((G) => S(G)).join(":");
|
|
371
371
|
}
|
|
372
372
|
return m(Math.ceil(i / (60 * 24)), "days");
|
|
373
373
|
};
|
|
@@ -383,7 +383,7 @@ function mt(n, t, e) {
|
|
|
383
383
|
clearInterval(i);
|
|
384
384
|
};
|
|
385
385
|
});
|
|
386
|
-
function
|
|
386
|
+
function H(i) {
|
|
387
387
|
tt[i ? "unshift" : "push"](() => {
|
|
388
388
|
y = i, e(3, y);
|
|
389
389
|
});
|
|
@@ -404,7 +404,7 @@ function mt(n, t, e) {
|
|
|
404
404
|
32768 && g && L(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
405
405
|
8200 && T && y && et(y, T), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
406
406
|
16392 && b && y && nt(y, b), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
407
|
-
65544 && P && y && it(y, `${P}.Style`,
|
|
407
|
+
65544 && P && y && it(y, `${P}.Style`, R);
|
|
408
408
|
}, [
|
|
409
409
|
u,
|
|
410
410
|
o,
|
|
@@ -423,7 +423,7 @@ function mt(n, t, e) {
|
|
|
423
423
|
b,
|
|
424
424
|
g,
|
|
425
425
|
P,
|
|
426
|
-
|
|
426
|
+
H
|
|
427
427
|
];
|
|
428
428
|
}
|
|
429
429
|
class ht extends K {
|