@everymatrix/casino-tournaments-controller 1.87.10 → 1.87.12
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-NsQVs67e.js → CasinoTournamentsController-BLxMNjdf.js} +2 -2
- package/components/{CasinoTournamentsController-CipjvpY6.js → CasinoTournamentsController-CnAIq520.js} +2 -2
- package/components/{CasinoTournamentsController-gEd8u8ko.cjs → CasinoTournamentsController-DgQHHIEF.cjs} +1 -1
- package/components/{CasinoTournamentsFilterController-Bd_A-BQM.js → CasinoTournamentsFilterController-CQQlddU7.js} +1 -1
- package/components/{CasinoTournamentsFilterController-BPoUHLwo.js → CasinoTournamentsFilterController-DTU_2gg8.js} +1 -1
- package/components/{CasinoTournamentsFilterController-D-_CsUGX.cjs → CasinoTournamentsFilterController-DthxSaAP.cjs} +1 -1
- package/components/{CasinoTournamentsListController-DKxL22Ci.js → CasinoTournamentsListController-B44Sd_Xd.js} +2 -2
- package/components/{CasinoTournamentsListController-C-0ZQEEV.cjs → CasinoTournamentsListController-CTyy6QGc.cjs} +2 -2
- package/components/{CasinoTournamentsListController-Bi2pBr0L.js → CasinoTournamentsListController-D8Mce-Ba.js} +2 -2
- package/components/{CasinoTournamentsThumbnail-BzzfhzL3.js → CasinoTournamentsThumbnail-C8m2-yzp.js} +1 -1
- package/components/{CasinoTournamentsThumbnail-Bu2pPn1Q.js → CasinoTournamentsThumbnail-CvUCJuL_.js} +1 -1
- package/components/{CasinoTournamentsThumbnail-CTQs_UPH.cjs → CasinoTournamentsThumbnail-DrL4ipPE.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-DT-BI1B2.cjs → CasinoTournamentsThumbnailController-AwtNpbCC.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-CbX3jfT-.js → CasinoTournamentsThumbnailController-DOhlVFj-.js} +45 -45
- package/components/{CasinoTournamentsThumbnailController-CkbvUpT7.js → CasinoTournamentsThumbnailController-DRIgHZK4.js} +123 -123
- package/components/{CasinoTournamentsThumbnailDuration-DDYa95G7.js → CasinoTournamentsThumbnailDuration-B1oKgcSP.js} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-DcSdGvzP.js → CasinoTournamentsThumbnailDuration-BBDiU1hp.js} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-DnRAg_yZ.cjs → CasinoTournamentsThumbnailDuration-D8Fw1T6T.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-C3jSJhQN.cjs → CasinoTournamentsThumbnailGamesSlider-BwHrytSr.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-DP4Ku_ma.js → CasinoTournamentsThumbnailGamesSlider-CCZ61DSI.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-Bi_Nusjs.js → CasinoTournamentsThumbnailGamesSlider-DyDWiEwW.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-BXD-S3T9.cjs → CasinoTournamentsThumbnailPrizes-BUXbwFNF.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-D74MWKsI.js → CasinoTournamentsThumbnailPrizes-CJpsQ6IH.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-DFyzMChk.js → CasinoTournamentsThumbnailPrizes-Om5Riw3x.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,16 +1,16 @@
|
|
|
1
|
-
import { C as ae, D as We, a as Ke, S as Xe, i as Ve, s as Ze, f as _, b as Qe, n as Y, d as w, B as s, h as g, e as b, q as T, g as F, r as B, k as Ye, o as $e, I as
|
|
1
|
+
import { C as ae, D as We, a as Ke, S as Xe, i as Ve, s as Ze, f as _, b as Qe, n as Y, d as w, B as s, h as g, e as b, q as T, g as F, r as B, k as Ye, o as $e, I as Ee, u as et, A as ue, F as tt, p as D, t as C, E as nt, v as x, H as fe, w as L, x as rt, y as it, z as ot, c as st, $ as lt } from "./CasinoTournamentsController-BLxMNjdf.js";
|
|
2
2
|
function at({ withLocale: r, translations: e }) {
|
|
3
3
|
ae.subscribe((t) => {
|
|
4
4
|
t == null && (We.set(e), ae.set(r));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function je(r, e) {
|
|
8
8
|
Ke(r, e);
|
|
9
9
|
}
|
|
10
10
|
function ut(r) {
|
|
11
11
|
ae.set(r);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const Ce = {
|
|
14
14
|
en: {
|
|
15
15
|
login: "Log in",
|
|
16
16
|
register: "Register",
|
|
@@ -112,7 +112,7 @@ if (typeof window < "u") {
|
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-
|
|
115
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-CvUCJuL_.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 = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-
|
|
131
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-B1oKgcSP.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 = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-
|
|
150
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-CJpsQ6IH.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 = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
166
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-CCZ61DSI.js").then(
|
|
167
167
|
({ default: e }) => {
|
|
168
168
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
169
169
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -176,37 +176,37 @@ function ft(r) {
|
|
|
176
176
|
Qe(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}');
|
|
177
177
|
}
|
|
178
178
|
function mt(r) {
|
|
179
|
-
let e, t, n, o, l, u, f,
|
|
179
|
+
let e, t, n, o, l, u, f, m = (
|
|
180
180
|
/*tourid*/
|
|
181
|
-
r[25] &&
|
|
181
|
+
r[25] && De(r)
|
|
182
182
|
);
|
|
183
|
-
function p(
|
|
183
|
+
function p(c, k) {
|
|
184
184
|
if (!/*isLoggedIn*/
|
|
185
|
-
|
|
185
|
+
c[15])
|
|
186
186
|
return ht;
|
|
187
187
|
if (
|
|
188
188
|
/*status*/
|
|
189
|
-
|
|
190
|
-
|
|
189
|
+
c[24] != "Closed" && /*status*/
|
|
190
|
+
c[24] != "Closing"
|
|
191
191
|
)
|
|
192
192
|
return gt;
|
|
193
193
|
if (
|
|
194
194
|
/*showdetails*/
|
|
195
|
-
|
|
195
|
+
c[2] == "true"
|
|
196
196
|
)
|
|
197
197
|
return ct;
|
|
198
198
|
}
|
|
199
|
-
let h = p(r), a = h && h(r),
|
|
199
|
+
let h = p(r), a = h && h(r), d = (
|
|
200
200
|
/*errorJoin*/
|
|
201
201
|
(r[18] || /*errorJoinConcurrently*/
|
|
202
|
-
r[20]) &&
|
|
202
|
+
r[20]) && Ae(r)
|
|
203
203
|
), v = (
|
|
204
204
|
/*showslider*/
|
|
205
|
-
r[3] == "true" &&
|
|
205
|
+
r[3] == "true" && Me(r)
|
|
206
206
|
);
|
|
207
207
|
return {
|
|
208
208
|
c() {
|
|
209
|
-
|
|
209
|
+
m && m.c(), e = B(), t = F("casino-tournaments-thumbnail-duration"), n = B(), o = F("div"), a && a.c(), l = B(), d && d.c(), u = B(), v && v.c(), f = ue(), s(
|
|
210
210
|
t,
|
|
211
211
|
"clientstyling",
|
|
212
212
|
/*clientstyling*/
|
|
@@ -248,66 +248,66 @@ function mt(r) {
|
|
|
248
248
|
r[23]
|
|
249
249
|
), s(t, "exportparts", "TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill"), g(o, "class", "TournamentButtons"), g(o, "part", "TournamentButtons");
|
|
250
250
|
},
|
|
251
|
-
m(
|
|
252
|
-
|
|
251
|
+
m(c, k) {
|
|
252
|
+
m && m.m(c, k), b(c, e, k), b(c, t, k), b(c, n, k), b(c, o, k), a && a.m(o, null), b(c, l, k), d && d.m(c, k), b(c, u, k), v && v.m(c, k), b(c, f, k);
|
|
253
253
|
},
|
|
254
|
-
p(
|
|
254
|
+
p(c, k) {
|
|
255
255
|
/*tourid*/
|
|
256
|
-
|
|
256
|
+
c[25] ? m ? m.p(c, k) : (m = De(c), m.c(), m.m(e.parentNode, e)) : m && (m.d(1), m = null), k[0] & /*clientstyling*/
|
|
257
257
|
1024 && s(
|
|
258
258
|
t,
|
|
259
259
|
"clientstyling",
|
|
260
260
|
/*clientstyling*/
|
|
261
|
-
|
|
261
|
+
c[10]
|
|
262
262
|
), k[0] & /*clientstylingurl*/
|
|
263
263
|
2048 && s(
|
|
264
264
|
t,
|
|
265
265
|
"clientstylingurl",
|
|
266
266
|
/*clientstylingurl*/
|
|
267
|
-
|
|
267
|
+
c[11]
|
|
268
268
|
), k[0] & /*translationurl*/
|
|
269
269
|
4096 && s(
|
|
270
270
|
t,
|
|
271
271
|
"translationurl",
|
|
272
272
|
/*translationurl*/
|
|
273
|
-
|
|
273
|
+
c[12]
|
|
274
274
|
), k[0] & /*status*/
|
|
275
275
|
16777216 && s(
|
|
276
276
|
t,
|
|
277
277
|
"status",
|
|
278
278
|
/*status*/
|
|
279
|
-
|
|
279
|
+
c[24]
|
|
280
280
|
), k[0] & /*startdate*/
|
|
281
281
|
4194304 && s(
|
|
282
282
|
t,
|
|
283
283
|
"startdate",
|
|
284
284
|
/*startdate*/
|
|
285
|
-
|
|
285
|
+
c[22]
|
|
286
286
|
), k[0] & /*lang*/
|
|
287
287
|
128 && s(
|
|
288
288
|
t,
|
|
289
289
|
"lang",
|
|
290
290
|
/*lang*/
|
|
291
|
-
|
|
291
|
+
c[7]
|
|
292
292
|
), k[0] & /*mbsource*/
|
|
293
293
|
8192 && s(
|
|
294
294
|
t,
|
|
295
295
|
"mbsource",
|
|
296
296
|
/*mbsource*/
|
|
297
|
-
|
|
297
|
+
c[13]
|
|
298
298
|
), k[0] & /*enddate*/
|
|
299
299
|
8388608 && s(
|
|
300
300
|
t,
|
|
301
301
|
"enddate",
|
|
302
302
|
/*enddate*/
|
|
303
|
-
|
|
304
|
-
), h === (h = p(
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
303
|
+
c[23]
|
|
304
|
+
), h === (h = p(c)) && a ? a.p(c, k) : (a && a.d(1), a = h && h(c), a && (a.c(), a.m(o, null))), /*errorJoin*/
|
|
305
|
+
c[18] || /*errorJoinConcurrently*/
|
|
306
|
+
c[20] ? d ? d.p(c, k) : (d = Ae(c), d.c(), d.m(u.parentNode, u)) : d && (d.d(1), d = null), /*showslider*/
|
|
307
|
+
c[3] == "true" ? v ? v.p(c, k) : (v = Me(c), v.c(), v.m(f.parentNode, f)) : v && (v.d(1), v = null);
|
|
308
308
|
},
|
|
309
|
-
d(
|
|
310
|
-
|
|
309
|
+
d(c) {
|
|
310
|
+
c && (w(e), w(t), w(n), w(o), w(l), w(u), w(f)), m && m.d(c), a && a.d(), d && d.d(c), v && v.d(c);
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
}
|
|
@@ -326,7 +326,7 @@ function dt(r) {
|
|
|
326
326
|
}
|
|
327
327
|
};
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function De(r) {
|
|
330
330
|
let e, t, n, o;
|
|
331
331
|
return {
|
|
332
332
|
c() {
|
|
@@ -447,9 +447,9 @@ function ct(r) {
|
|
|
447
447
|
function gt(r) {
|
|
448
448
|
let e, t, n = (
|
|
449
449
|
/*showdetails*/
|
|
450
|
-
r[2] == "true" &&
|
|
450
|
+
r[2] == "true" && Le(r)
|
|
451
451
|
);
|
|
452
|
-
function o(f,
|
|
452
|
+
function o(f, m) {
|
|
453
453
|
return (
|
|
454
454
|
/*userenrolled*/
|
|
455
455
|
f[27] ? wt : pt
|
|
@@ -460,12 +460,12 @@ function gt(r) {
|
|
|
460
460
|
c() {
|
|
461
461
|
n && n.c(), e = B(), u.c(), t = ue();
|
|
462
462
|
},
|
|
463
|
-
m(f,
|
|
464
|
-
n && n.m(f,
|
|
463
|
+
m(f, m) {
|
|
464
|
+
n && n.m(f, m), b(f, e, m), u.m(f, m), b(f, t, m);
|
|
465
465
|
},
|
|
466
|
-
p(f,
|
|
466
|
+
p(f, m) {
|
|
467
467
|
/*showdetails*/
|
|
468
|
-
f[2] == "true" ? n ? n.p(f,
|
|
468
|
+
f[2] == "true" ? n ? n.p(f, m) : (n = Le(f), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), l === (l = o(f)) && u ? u.p(f, m) : (u.d(1), u = l(f), u && (u.c(), u.m(t.parentNode, t)));
|
|
469
469
|
},
|
|
470
470
|
d(f) {
|
|
471
471
|
f && (w(e), w(t)), n && n.d(f), u.d(f);
|
|
@@ -479,13 +479,13 @@ function ht(r) {
|
|
|
479
479
|
), n, o, l, u = (
|
|
480
480
|
/*$_*/
|
|
481
481
|
r[33]("register") + ""
|
|
482
|
-
), f,
|
|
482
|
+
), f, m, p;
|
|
483
483
|
return {
|
|
484
484
|
c() {
|
|
485
485
|
e = F("button"), n = C(t), o = B(), l = F("button"), f = C(u), g(e, "class", "LoginButton"), g(e, "part", "LoginButton"), g(l, "class", "RegisterButton"), g(l, "part", "RegisterButton");
|
|
486
486
|
},
|
|
487
487
|
m(h, a) {
|
|
488
|
-
b(h, e, a), T(e, n), b(h, o, a), b(h, l, a), T(l, f),
|
|
488
|
+
b(h, e, a), T(e, n), b(h, o, a), b(h, l, a), T(l, f), m || (p = [
|
|
489
489
|
x(
|
|
490
490
|
e,
|
|
491
491
|
"click",
|
|
@@ -498,7 +498,7 @@ function ht(r) {
|
|
|
498
498
|
/*registerAction*/
|
|
499
499
|
r[35]
|
|
500
500
|
)
|
|
501
|
-
],
|
|
501
|
+
], m = !0);
|
|
502
502
|
},
|
|
503
503
|
p(h, a) {
|
|
504
504
|
a[1] & /*$_*/
|
|
@@ -508,11 +508,11 @@ function ht(r) {
|
|
|
508
508
|
h[33]("register") + "") && D(f, u);
|
|
509
509
|
},
|
|
510
510
|
d(h) {
|
|
511
|
-
h && (w(e), w(o), w(l)),
|
|
511
|
+
h && (w(e), w(o), w(l)), m = !1, nt(p);
|
|
512
512
|
}
|
|
513
513
|
};
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function Le(r) {
|
|
516
516
|
let e, t = (
|
|
517
517
|
/*$_*/
|
|
518
518
|
r[33]("details") + ""
|
|
@@ -555,16 +555,16 @@ function pt(r) {
|
|
|
555
555
|
p[17] == !0 ? kt : bt
|
|
556
556
|
);
|
|
557
557
|
}
|
|
558
|
-
let f = u(r),
|
|
558
|
+
let f = u(r), m = f(r);
|
|
559
559
|
return {
|
|
560
560
|
c() {
|
|
561
|
-
e = F("button"),
|
|
561
|
+
e = F("button"), m.c(), g(e, "class", t = "JoinButton " + /*fullsize*/
|
|
562
562
|
(r[6] ? "JoinButtonFullSize" : "")), g(e, "part", n = "JoinButton " + /*fullsize*/
|
|
563
563
|
(r[6] ? "JoinButtonFullSize" : "")), e.disabled = /*errorJoin*/
|
|
564
564
|
r[18];
|
|
565
565
|
},
|
|
566
566
|
m(p, h) {
|
|
567
|
-
b(p, e, h),
|
|
567
|
+
b(p, e, h), m.m(e, null), o || (l = x(
|
|
568
568
|
e,
|
|
569
569
|
"click",
|
|
570
570
|
/*click_handler*/
|
|
@@ -572,7 +572,7 @@ function pt(r) {
|
|
|
572
572
|
), o = !0);
|
|
573
573
|
},
|
|
574
574
|
p(p, h) {
|
|
575
|
-
f === (f = u(p)) &&
|
|
575
|
+
f === (f = u(p)) && m ? m.p(p, h) : (m.d(1), m = f(p), m && (m.c(), m.m(e, null))), h[0] & /*fullsize*/
|
|
576
576
|
64 && t !== (t = "JoinButton " + /*fullsize*/
|
|
577
577
|
(p[6] ? "JoinButtonFullSize" : "")) && g(e, "class", t), h[0] & /*fullsize*/
|
|
578
578
|
64 && n !== (n = "JoinButton " + /*fullsize*/
|
|
@@ -581,14 +581,14 @@ function pt(r) {
|
|
|
581
581
|
p[18]);
|
|
582
582
|
},
|
|
583
583
|
d(p) {
|
|
584
|
-
p && w(e),
|
|
584
|
+
p && w(e), m.d(), o = !1, l();
|
|
585
585
|
}
|
|
586
586
|
};
|
|
587
587
|
}
|
|
588
588
|
function wt(r) {
|
|
589
589
|
let e, t = (
|
|
590
590
|
/*showdetails*/
|
|
591
|
-
r[2] == "true" &&
|
|
591
|
+
r[2] == "true" && Pe(r)
|
|
592
592
|
);
|
|
593
593
|
return {
|
|
594
594
|
c() {
|
|
@@ -599,7 +599,7 @@ function wt(r) {
|
|
|
599
599
|
},
|
|
600
600
|
p(n, o) {
|
|
601
601
|
/*showdetails*/
|
|
602
|
-
n[2] == "true" ? t ? t.p(n, o) : (t =
|
|
602
|
+
n[2] == "true" ? t ? t.p(n, o) : (t = Pe(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
603
603
|
},
|
|
604
604
|
d(n) {
|
|
605
605
|
n && w(e), t && t.d(n);
|
|
@@ -610,16 +610,16 @@ function bt(r) {
|
|
|
610
610
|
let e, t = (
|
|
611
611
|
/*$_*/
|
|
612
612
|
r[33]("join") + ""
|
|
613
|
-
), n, o, l, u, f,
|
|
613
|
+
), n, o, l, u, f, m, p, h;
|
|
614
614
|
return {
|
|
615
615
|
c() {
|
|
616
|
-
e = F("span"), n = C(t), o = B(), l = L("svg"), u = L("defs"), f = L("style"),
|
|
616
|
+
e = F("span"), n = C(t), o = B(), l = L("svg"), u = 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(l, "part", "JoinButtonSvg"), g(l, "xmlns", "http://www.w3.org/2000/svg"), g(l, "width", "26"), g(l, "height", "26"), g(l, "viewBox", "0 0 26 26");
|
|
617
617
|
},
|
|
618
|
-
m(a,
|
|
619
|
-
b(a, e,
|
|
618
|
+
m(a, d) {
|
|
619
|
+
b(a, e, d), T(e, n), b(a, o, d), b(a, l, d), T(l, u), T(u, f), T(f, m), T(l, p), T(p, h);
|
|
620
620
|
},
|
|
621
|
-
p(a,
|
|
622
|
-
|
|
621
|
+
p(a, d) {
|
|
622
|
+
d[1] & /*$_*/
|
|
623
623
|
4 && t !== (t = /*$_*/
|
|
624
624
|
a[33]("join") + "") && D(n, t);
|
|
625
625
|
},
|
|
@@ -643,7 +643,7 @@ function kt(r) {
|
|
|
643
643
|
}
|
|
644
644
|
};
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function Pe(r) {
|
|
647
647
|
let e, t = (
|
|
648
648
|
/*$_*/
|
|
649
649
|
r[33]("enrolled") + ""
|
|
@@ -665,7 +665,7 @@ function Le(r) {
|
|
|
665
665
|
}
|
|
666
666
|
};
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function Ae(r) {
|
|
669
669
|
let e, t = (
|
|
670
670
|
/*$_*/
|
|
671
671
|
r[33]("joinerror") + ""
|
|
@@ -695,10 +695,10 @@ function Pe(r) {
|
|
|
695
695
|
}
|
|
696
696
|
};
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function Me(r) {
|
|
699
699
|
let e, t, n = (
|
|
700
700
|
/*isLoading*/
|
|
701
|
-
r[16] &&
|
|
701
|
+
r[16] && Ie()
|
|
702
702
|
);
|
|
703
703
|
return {
|
|
704
704
|
c() {
|
|
@@ -739,7 +739,7 @@ function Ae(r) {
|
|
|
739
739
|
},
|
|
740
740
|
p(o, l) {
|
|
741
741
|
/*isLoading*/
|
|
742
|
-
o[16] ? n || (n =
|
|
742
|
+
o[16] ? n || (n = Ie(), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), l[0] & /*clientstyling*/
|
|
743
743
|
1024 && s(
|
|
744
744
|
t,
|
|
745
745
|
"clientstyling",
|
|
@@ -782,7 +782,7 @@ function Ae(r) {
|
|
|
782
782
|
}
|
|
783
783
|
};
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function Ie(r) {
|
|
786
786
|
let e;
|
|
787
787
|
return {
|
|
788
788
|
c() {
|
|
@@ -798,13 +798,13 @@ function Me(r) {
|
|
|
798
798
|
}
|
|
799
799
|
function _t(r) {
|
|
800
800
|
let e, t, n, o, l, u, f;
|
|
801
|
-
function
|
|
801
|
+
function m(a, d) {
|
|
802
802
|
return (
|
|
803
803
|
/*isLoading*/
|
|
804
804
|
a[16] ? dt : mt
|
|
805
805
|
);
|
|
806
806
|
}
|
|
807
|
-
let p =
|
|
807
|
+
let p = m(r), h = p(r);
|
|
808
808
|
return {
|
|
809
809
|
c() {
|
|
810
810
|
e = F("div"), t = F("div"), n = F("casino-tournaments-thumbnail"), o = B(), h.c(), s(
|
|
@@ -907,130 +907,130 @@ function _t(r) {
|
|
|
907
907
|
(r[32] ? "elementToFadeOut" : "elementToFadeIn")), g(e, "class", f = `${/*isLoading*/
|
|
908
908
|
r[16] ? "Loading" : ""}`);
|
|
909
909
|
},
|
|
910
|
-
m(a,
|
|
911
|
-
b(a, e,
|
|
910
|
+
m(a, d) {
|
|
911
|
+
b(a, e, d), T(e, t), T(t, n), T(t, o), h.m(t, null), r[50](e);
|
|
912
912
|
},
|
|
913
|
-
p(a,
|
|
914
|
-
|
|
913
|
+
p(a, d) {
|
|
914
|
+
d[0] & /*detailsevent*/
|
|
915
915
|
256 && s(
|
|
916
916
|
n,
|
|
917
917
|
"detailsevent",
|
|
918
918
|
/*detailsevent*/
|
|
919
919
|
a[8]
|
|
920
|
-
),
|
|
920
|
+
), d[0] & /*userid*/
|
|
921
921
|
1 && s(
|
|
922
922
|
n,
|
|
923
923
|
"userid",
|
|
924
924
|
/*userid*/
|
|
925
925
|
a[0]
|
|
926
|
-
),
|
|
926
|
+
), d[0] & /*title*/
|
|
927
927
|
2097152 && s(
|
|
928
928
|
n,
|
|
929
929
|
"title",
|
|
930
930
|
/*title*/
|
|
931
931
|
a[21]
|
|
932
|
-
),
|
|
932
|
+
), d[0] & /*status*/
|
|
933
933
|
16777216 && s(
|
|
934
934
|
n,
|
|
935
935
|
"status",
|
|
936
936
|
/*status*/
|
|
937
937
|
a[24]
|
|
938
|
-
),
|
|
938
|
+
), d[0] & /*startdate*/
|
|
939
939
|
4194304 && s(
|
|
940
940
|
n,
|
|
941
941
|
"startdate",
|
|
942
942
|
/*startdate*/
|
|
943
943
|
a[22]
|
|
944
|
-
),
|
|
944
|
+
), d[0] & /*tourid*/
|
|
945
945
|
33554432 && s(
|
|
946
946
|
n,
|
|
947
947
|
"tourid",
|
|
948
948
|
/*tourid*/
|
|
949
949
|
a[25]
|
|
950
|
-
),
|
|
950
|
+
), d[0] & /*scorecriteria*/
|
|
951
951
|
268435456 && s(
|
|
952
952
|
n,
|
|
953
953
|
"scorecriteria",
|
|
954
954
|
/*scorecriteria*/
|
|
955
955
|
a[28]
|
|
956
|
-
),
|
|
956
|
+
), d[0] & /*minbetcount*/
|
|
957
957
|
536870912 && s(
|
|
958
958
|
n,
|
|
959
959
|
"minbetcount",
|
|
960
960
|
/*minbetcount*/
|
|
961
961
|
a[29]
|
|
962
|
-
),
|
|
962
|
+
), d[0] & /*thumbnail*/
|
|
963
963
|
67108864 && s(
|
|
964
964
|
n,
|
|
965
965
|
"thumbnail",
|
|
966
966
|
/*thumbnail*/
|
|
967
967
|
a[26]
|
|
968
|
-
),
|
|
968
|
+
), d[0] & /*showenrolled*/
|
|
969
969
|
16 && s(
|
|
970
970
|
n,
|
|
971
971
|
"showenrolled",
|
|
972
972
|
/*showenrolled*/
|
|
973
973
|
a[4]
|
|
974
|
-
),
|
|
974
|
+
), d[1] & /*gameurl*/
|
|
975
975
|
1 && s(
|
|
976
976
|
n,
|
|
977
977
|
"gameurl",
|
|
978
978
|
/*gameurl*/
|
|
979
979
|
a[31]
|
|
980
|
-
),
|
|
980
|
+
), d[0] & /*mbsource*/
|
|
981
981
|
8192 && s(
|
|
982
982
|
n,
|
|
983
983
|
"mbsource",
|
|
984
984
|
/*mbsource*/
|
|
985
985
|
a[13]
|
|
986
|
-
),
|
|
986
|
+
), d[0] & /*userenrolled*/
|
|
987
987
|
134217728 && s(
|
|
988
988
|
n,
|
|
989
989
|
"userenrolled",
|
|
990
990
|
/*userenrolled*/
|
|
991
991
|
a[27]
|
|
992
|
-
),
|
|
992
|
+
), d[0] & /*clientstyling*/
|
|
993
993
|
1024 && s(
|
|
994
994
|
n,
|
|
995
995
|
"clientstyling",
|
|
996
996
|
/*clientstyling*/
|
|
997
997
|
a[10]
|
|
998
|
-
),
|
|
998
|
+
), d[0] & /*clientstylingurl*/
|
|
999
999
|
2048 && s(
|
|
1000
1000
|
n,
|
|
1001
1001
|
"clientstylingurl",
|
|
1002
1002
|
/*clientstylingurl*/
|
|
1003
1003
|
a[11]
|
|
1004
|
-
),
|
|
1004
|
+
), d[0] & /*translationurl*/
|
|
1005
1005
|
4096 && s(
|
|
1006
1006
|
n,
|
|
1007
1007
|
"translationurl",
|
|
1008
1008
|
/*translationurl*/
|
|
1009
1009
|
a[12]
|
|
1010
|
-
),
|
|
1010
|
+
), d[0] & /*lang*/
|
|
1011
1011
|
128 && s(
|
|
1012
1012
|
n,
|
|
1013
1013
|
"lang",
|
|
1014
1014
|
/*lang*/
|
|
1015
1015
|
a[7]
|
|
1016
|
-
),
|
|
1016
|
+
), d[0] & /*keepbrowsercontext*/
|
|
1017
1017
|
512 && s(
|
|
1018
1018
|
n,
|
|
1019
1019
|
"keepbrowsercontext",
|
|
1020
1020
|
/*keepbrowsercontext*/
|
|
1021
1021
|
a[9]
|
|
1022
|
-
), p === (p =
|
|
1023
|
-
96 |
|
|
1022
|
+
), p === (p = m(a)) && h ? h.p(a, d) : (h.d(1), h = p(a), h && (h.c(), h.m(t, null))), d[0] & /*maxwidth, fullsize*/
|
|
1023
|
+
96 | d[1] & /*isChanging*/
|
|
1024
1024
|
2 && l !== (l = "TournamentCard " + /*maxwidth*/
|
|
1025
1025
|
(a[5] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
1026
1026
|
(a[6] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
1027
|
-
(a[32] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "class", l),
|
|
1028
|
-
96 |
|
|
1027
|
+
(a[32] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "class", l), d[0] & /*maxwidth, fullsize*/
|
|
1028
|
+
96 | d[1] & /*isChanging*/
|
|
1029
1029
|
2 && u !== (u = "TournamentCard " + /*maxwidth*/
|
|
1030
1030
|
(a[5] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
1031
1031
|
(a[6] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
1032
1032
|
(a[32] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
|
|
1033
|
-
(a[32] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "part", u),
|
|
1033
|
+
(a[32] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "part", u), d[0] & /*isLoading*/
|
|
1034
1034
|
65536 && f !== (f = `${/*isLoading*/
|
|
1035
1035
|
a[16] ? "Loading" : ""}`) && g(e, "class", f);
|
|
1036
1036
|
},
|
|
@@ -1044,24 +1044,24 @@ function _t(r) {
|
|
|
1044
1044
|
function yt(r, e, t) {
|
|
1045
1045
|
let n;
|
|
1046
1046
|
Ye(r, lt, (i) => t(33, n = i));
|
|
1047
|
-
let { session: o = "" } = e, { userid: l = "" } = e, { tournamenturl: u = "" } = e, { touridx: f } = e, { endpoint:
|
|
1047
|
+
let { session: o = "" } = e, { userid: l = "" } = e, { tournamenturl: u = "" } = e, { touridx: f } = e, { endpoint: m = "" } = e, { showdetails: p = "" } = e, { showslider: h = "" } = e, { showenrolled: a = "" } = e, { maxwidth: d = "" } = e, { fullsize: v = "" } = e, { lang: c = "" } = e, { loginevent: k = "" } = e, { registerevent: J = "" } = e, { detailsevent: me = "" } = e, { loginurl: U = "" } = e, { registerurl: H = "" } = e, { currency: $ = "" } = e, { keepbrowsercontext: de = "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, ce = window.navigator.userAgent, V = !1, Z = !1, ge = "There was an error while trying to join the tournament", te = !1, ne, he, pe, I, j, we, re, be, ke, _e = [], ie = [], ye = "#", Q = !1;
|
|
1048
1048
|
at({ withLocale: "en", translations: {} });
|
|
1049
|
-
const
|
|
1049
|
+
const Oe = () => {
|
|
1050
1050
|
fetch(G).then((y) => y.json()).then((y) => {
|
|
1051
1051
|
Object.keys(y).forEach((z) => {
|
|
1052
|
-
|
|
1052
|
+
je(z, y[z]);
|
|
1053
1053
|
});
|
|
1054
1054
|
}).catch((y) => {
|
|
1055
1055
|
console.log(y);
|
|
1056
1056
|
});
|
|
1057
1057
|
};
|
|
1058
|
-
Object.keys(
|
|
1059
|
-
|
|
1058
|
+
Object.keys(Ce).forEach((i) => {
|
|
1059
|
+
je(i, Ce[i]);
|
|
1060
1060
|
});
|
|
1061
1061
|
const Te = (i) => {
|
|
1062
|
-
|
|
1062
|
+
Re(i), oe(i), ze(this, j);
|
|
1063
1063
|
}, Fe = (i) => {
|
|
1064
|
-
if (i.data && i.data.type == "UserSessionID" && (t(15, A = !0), X = i.data.session), i.data.type == "UpdateTournamentView") {
|
|
1064
|
+
if (i.data && i.data.type == "UserSessionID" && (t(15, A = !0), X = i.data.session, Se(m)), i.data.type == "UpdateTournamentView") {
|
|
1065
1065
|
let y = i.data.tournamentData;
|
|
1066
1066
|
if (j && j != y.id)
|
|
1067
1067
|
return;
|
|
@@ -1081,7 +1081,7 @@ function yt(r, e, t) {
|
|
|
1081
1081
|
z + 200
|
|
1082
1082
|
);
|
|
1083
1083
|
}
|
|
1084
|
-
},
|
|
1084
|
+
}, Re = (i) => {
|
|
1085
1085
|
i.state != I && (t(24, I = i.state), window.postMessage(
|
|
1086
1086
|
{
|
|
1087
1087
|
type: `TournamentStatus_${j}`,
|
|
@@ -1089,11 +1089,11 @@ function yt(r, e, t) {
|
|
|
1089
1089
|
},
|
|
1090
1090
|
window.location.href
|
|
1091
1091
|
));
|
|
1092
|
-
},
|
|
1092
|
+
}, xe = () => {
|
|
1093
1093
|
k && (window.postMessage({ type: k, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
|
|
1094
1094
|
context: "TournamentsThumbnailController"
|
|
1095
1095
|
})), U && (window.location = U);
|
|
1096
|
-
},
|
|
1096
|
+
}, Je = () => {
|
|
1097
1097
|
J && (window.postMessage(
|
|
1098
1098
|
{
|
|
1099
1099
|
type: J,
|
|
@@ -1103,7 +1103,7 @@ function yt(r, e, t) {
|
|
|
1103
1103
|
), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
|
|
1104
1104
|
context: "TournamentsThumbnailController"
|
|
1105
1105
|
})), H && (window.location = H);
|
|
1106
|
-
},
|
|
1106
|
+
}, Ue = (i) => {
|
|
1107
1107
|
window.postMessage(
|
|
1108
1108
|
{
|
|
1109
1109
|
type: "TournamentDetailsClicked",
|
|
@@ -1120,9 +1120,9 @@ function yt(r, e, t) {
|
|
|
1120
1120
|
},
|
|
1121
1121
|
window.location.href
|
|
1122
1122
|
), t(17, V = !0);
|
|
1123
|
-
let z = new URL(`${
|
|
1124
|
-
z.searchParams.append("language",
|
|
1125
|
-
language:
|
|
1123
|
+
let z = new URL(`${m}/v1/bonus/claim`), P = new Headers(), se = {};
|
|
1124
|
+
z.searchParams.append("language", c), z.searchParams.append("platform", Ee(ce)), P.append("Content-Type", "application/json"), P.append("X-SessionID", X), y && y.length >= 1 && (se = {
|
|
1125
|
+
language: c,
|
|
1126
1126
|
bonusCode: y[0].code,
|
|
1127
1127
|
currency: $,
|
|
1128
1128
|
type: "tournament"
|
|
@@ -1132,7 +1132,7 @@ function yt(r, e, t) {
|
|
|
1132
1132
|
headers: P,
|
|
1133
1133
|
body: JSON.stringify(se)
|
|
1134
1134
|
};
|
|
1135
|
-
const
|
|
1135
|
+
const Be = () => {
|
|
1136
1136
|
t(17, V = !1), t(27, re = !0);
|
|
1137
1137
|
}, le = (S) => {
|
|
1138
1138
|
t(17, V = !1), S && t(19, ge = S), t(18, Z = !0);
|
|
@@ -1147,10 +1147,10 @@ function yt(r, e, t) {
|
|
|
1147
1147
|
})();
|
|
1148
1148
|
if (R)
|
|
1149
1149
|
if (R.success == !0)
|
|
1150
|
-
|
|
1150
|
+
Be();
|
|
1151
1151
|
else if (R.errorMessage.match("VersionMismatchException")) {
|
|
1152
1152
|
let S;
|
|
1153
|
-
S = await fetch(`${
|
|
1153
|
+
S = await fetch(`${m}/tournaments/${j}`, { headers: { "X-SessionID": o } }), S = await S.json(), S?.item?.playerEnrolled ? Be() : (le(R.errorMessage), t(20, te = !0), t(18, Z = !1));
|
|
1154
1154
|
} else
|
|
1155
1155
|
le(R.errorMessage);
|
|
1156
1156
|
}, ze = (i, y) => {
|
|
@@ -1163,10 +1163,10 @@ function yt(r, e, t) {
|
|
|
1163
1163
|
);
|
|
1164
1164
|
}, oe = (i) => {
|
|
1165
1165
|
i && (t(21, ne = i.nameOrTitle || ""), t(22, he = i.startTime), t(23, pe = i.endTime), t(24, I = i.state), t(25, j = i.id), t(26, we = i.thumbnail), t(27, re = i.playerEnrolled === "true" || i.playerEnrolled == !0 || !1), t(28, be = i.scoreCriteria), t(29, ke = i.minBetCount), _e = i.prizes, t(30, ie = i.wallets || []), t(31, ye = i.termsUrl || "#"));
|
|
1166
|
-
},
|
|
1166
|
+
}, Se = (i) => {
|
|
1167
1167
|
t(16, M = !0);
|
|
1168
1168
|
const y = i ? `${i}/v1/tournaments/${ee}` : u, z = new URL(y), P = new Headers();
|
|
1169
|
-
z.searchParams.append("language",
|
|
1169
|
+
z.searchParams.append("language", c), z.searchParams.append("platform", Ee(ce)), A && P.append("X-SessionID", X), fetch(z, { method: "GET", headers: P }).then((O) => O.json()).then((O) => {
|
|
1170
1170
|
oe(O.item);
|
|
1171
1171
|
}).finally(() => {
|
|
1172
1172
|
t(16, M = !1);
|
|
@@ -1178,7 +1178,7 @@ function yt(r, e, t) {
|
|
|
1178
1178
|
oe(W);
|
|
1179
1179
|
return;
|
|
1180
1180
|
}
|
|
1181
|
-
t(16, M = !0),
|
|
1181
|
+
t(16, M = !0), Se(m);
|
|
1182
1182
|
};
|
|
1183
1183
|
$e(() => (t(16, M = !ne), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Fe, !1), () => {
|
|
1184
1184
|
window.removeEventListener("message", Fe);
|
|
@@ -1190,13 +1190,13 @@ function yt(r, e, t) {
|
|
|
1190
1190
|
});
|
|
1191
1191
|
}
|
|
1192
1192
|
return r.$$set = (i) => {
|
|
1193
|
-
"session" in i && t(39, o = i.session), "userid" in i && t(0, l = i.userid), "tournamenturl" in i && t(1, u = i.tournamenturl), "touridx" in i && t(40, f = i.touridx), "endpoint" in i && t(41,
|
|
1193
|
+
"session" in i && t(39, o = i.session), "userid" in i && t(0, l = i.userid), "tournamenturl" in i && t(1, u = 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, a = 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, me = 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, de = 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);
|
|
1194
1194
|
}, r.$$.update = () => {
|
|
1195
1195
|
r.$$.dirty[0] & /*lang*/
|
|
1196
|
-
128 &&
|
|
1197
|
-
4096 && G &&
|
|
1196
|
+
128 && c && ut(c), r.$$.dirty[0] & /*translationurl*/
|
|
1197
|
+
4096 && G && Oe(), r.$$.dirty[1] & /*session*/
|
|
1198
1198
|
256 && o && He(), r.$$.dirty[0] & /*tournamenturl, lang*/
|
|
1199
|
-
130 && u &&
|
|
1199
|
+
130 && u && c && Ne(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1200
1200
|
17408 && N && E && rt(E, N), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1201
1201
|
18432 && q && E && it(E, q), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1202
1202
|
24576 && K && E && ot(E, `${K}.Style`);
|
|
@@ -1206,9 +1206,9 @@ function yt(r, e, t) {
|
|
|
1206
1206
|
p,
|
|
1207
1207
|
h,
|
|
1208
1208
|
a,
|
|
1209
|
-
m,
|
|
1210
|
-
v,
|
|
1211
1209
|
d,
|
|
1210
|
+
v,
|
|
1211
|
+
c,
|
|
1212
1212
|
me,
|
|
1213
1213
|
de,
|
|
1214
1214
|
N,
|
|
@@ -1235,14 +1235,14 @@ function yt(r, e, t) {
|
|
|
1235
1235
|
ye,
|
|
1236
1236
|
Q,
|
|
1237
1237
|
n,
|
|
1238
|
-
Re,
|
|
1239
1238
|
xe,
|
|
1240
1239
|
Je,
|
|
1240
|
+
Ue,
|
|
1241
1241
|
ve,
|
|
1242
1242
|
ze,
|
|
1243
1243
|
o,
|
|
1244
1244
|
f,
|
|
1245
|
-
|
|
1245
|
+
m,
|
|
1246
1246
|
k,
|
|
1247
1247
|
J,
|
|
1248
1248
|
U,
|