@everymatrix/casino-tournaments-controller 1.74.1 → 1.74.3
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-BA7Lb1Ac.cjs +27 -0
- package/components/{CasinoTournamentsController-DiMl63Dl.js → CasinoTournamentsController-BZc_fieU.js} +1044 -1079
- package/components/{CasinoTournamentsController-CUFApsoD.js → CasinoTournamentsController-BhHxAQNX.js} +1033 -1068
- package/components/{CasinoTournamentsFilterController-uD2n3yvd.cjs → CasinoTournamentsFilterController-Bq34BLrs.cjs} +1 -1
- package/components/{CasinoTournamentsFilterController-D_Lf41wW.js → CasinoTournamentsFilterController-BuDb2PzI.js} +24 -24
- package/components/{CasinoTournamentsFilterController-Bkrc40qh.js → CasinoTournamentsFilterController-DFD3quVl.js} +26 -26
- package/components/{CasinoTournamentsListController-CIWdd6Dd.js → CasinoTournamentsListController-CMKXEOqo.js} +24 -24
- package/components/{CasinoTournamentsListController-CeBwU8Vq.js → CasinoTournamentsListController-D1-22E4-.js} +24 -24
- package/components/{CasinoTournamentsListController-DmlotvBw.cjs → CasinoTournamentsListController-DAFzNalK.cjs} +2 -2
- package/components/{CasinoTournamentsThumbnail-BMabwMus.js → CasinoTournamentsThumbnail-SdFfPp9F.js} +47 -47
- package/components/{CasinoTournamentsThumbnail-CkHjG_l-.cjs → CasinoTournamentsThumbnail-djFJwUMf.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-CgNwdhA6.js → CasinoTournamentsThumbnail-zwDuT8fd.js} +47 -47
- package/components/{CasinoTournamentsThumbnailController-BF-FpWUZ.js → CasinoTournamentsThumbnailController-BtSNfKun.js} +59 -59
- package/components/{CasinoTournamentsThumbnailController-dQYqBWp_.cjs → CasinoTournamentsThumbnailController-CEKR4kpV.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-D22DSpP6.js → CasinoTournamentsThumbnailController-Dz0B5xjF.js} +59 -59
- package/components/{CasinoTournamentsThumbnailDuration-g11Z3j-A.cjs → CasinoTournamentsThumbnailDuration-CGEjgavh.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-DFmLvwKj.js → CasinoTournamentsThumbnailDuration-DGUJO9Tt.js} +56 -56
- package/components/{CasinoTournamentsThumbnailDuration-B-xVCGdb.js → CasinoTournamentsThumbnailDuration-DGg8mNK5.js} +58 -58
- package/components/{CasinoTournamentsThumbnailGamesSlider-CA0ZabQ-.js → CasinoTournamentsThumbnailGamesSlider-D8QgS5cG.js} +50 -50
- package/components/{CasinoTournamentsThumbnailGamesSlider-BpjF5Xf3.js → CasinoTournamentsThumbnailGamesSlider-DA-5_1kC.js} +55 -55
- package/components/{CasinoTournamentsThumbnailGamesSlider-D1EboI5U.cjs → CasinoTournamentsThumbnailGamesSlider-pFJA3wQt.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes--5OX9M1h.cjs → CasinoTournamentsThumbnailPrizes-C5vCtJ5V.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-C8_QDMEw.js → CasinoTournamentsThumbnailPrizes-CGOgE4Ng.js} +37 -37
- package/components/{CasinoTournamentsThumbnailPrizes-DR958J_j.js → CasinoTournamentsThumbnailPrizes-DHRjXMFm.js} +38 -38
- 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/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
- package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
- package/stencil/index-b2193545-CD_KQ0BB.js +519 -0
- package/stencil/index-b2193545-CrHhiaNt.js +503 -0
- package/stencil/index-b2193545-ngvz84TK.cjs +1 -0
- package/stencil/{ui-image-CXqPvnQ2.js → ui-image-BNRjOSaN.js} +1 -1
- package/stencil/{ui-image-DgbODkuX.js → ui-image-D9tkwepr.js} +1 -1
- package/stencil/{ui-image-Bk8cIvcH.cjs → ui-image-DBXtq7Sy.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-CzFe50WB.js} +2 -2
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-z5LhXZY2.js} +2 -2
- package/stencil/{ui-skeleton-D8L-WY77.js → ui-skeleton-BecGfbnY.js} +2 -2
- package/stencil/{ui-skeleton-B0BB970e.cjs → ui-skeleton-CKaouoPt.cjs} +1 -1
- package/stencil/{ui-skeleton-DSebcnN1.js → ui-skeleton-DXmvn9dE.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CcPx4a2P.js → ui-skeleton-ae35c6f2-8tswdmF8.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BH4D8vHD.js → ui-skeleton-ae35c6f2-BVAHFeog.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DDiK5zGt.cjs → ui-skeleton-ae35c6f2-kPD5RoB3.cjs} +1 -1
- package/components/CasinoTournamentsController-CbfFinFG.cjs +0 -27
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-b2193545-BS7xFIk4.js +0 -503
- package/stencil/index-b2193545-BTdVi7--.cjs +0 -1
- package/stencil/index-b2193545-rfNAj6ri.js +0 -519
package/components/{CasinoTournamentsThumbnail-BMabwMus.js → CasinoTournamentsThumbnail-SdFfPp9F.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as K, D as ce, a as ge, S as be, i as fe,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
3
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { C as K, D as ce, a as ge, S as be, i as fe, f as S, c as he, s as pe, b as ke, e as C, m as D, d as m, h as _, p as g, n as q, j as A, k as ye, o as Se, t as J, q as R, E, A as Ce, F as _e, u as Ae, G as Te, v as ve, w as Me, x as we, y as Je, H, B as L, $ as Re } from "./CasinoTournamentsController-BZc_fieU.js";
|
|
2
|
+
import "../stencil/ui-skeleton-DXmvn9dE.js";
|
|
3
|
+
import "../stencil/ui-image-BNRjOSaN.js";
|
|
4
4
|
function De({ withLocale: i, translations: e }) {
|
|
5
5
|
K.subscribe((t) => {
|
|
6
6
|
t == null && (ce.set(e), K.set(i));
|
|
@@ -345,7 +345,7 @@ const Z = {
|
|
|
345
345
|
}
|
|
346
346
|
};
|
|
347
347
|
function Fe(i) {
|
|
348
|
-
|
|
348
|
+
ke(i, "svelte-1bncdcr", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
|
|
349
349
|
}
|
|
350
350
|
function Q(i) {
|
|
351
351
|
let e, t, r;
|
|
@@ -354,10 +354,10 @@ function Q(i) {
|
|
|
354
354
|
e = C("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', t = D(), r = C("div"), r.innerHTML = '<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>', m(e, "class", "Skeleton CardImg"), m(r, "class", "Details"), m(r, "part", "Details");
|
|
355
355
|
},
|
|
356
356
|
m(a, s) {
|
|
357
|
-
|
|
357
|
+
_(a, e, s), _(a, t, s), _(a, r, s);
|
|
358
358
|
},
|
|
359
359
|
d(a) {
|
|
360
|
-
a && (
|
|
360
|
+
a && (A(e), A(t), A(r));
|
|
361
361
|
}
|
|
362
362
|
};
|
|
363
363
|
}
|
|
@@ -372,7 +372,7 @@ function X(i) {
|
|
|
372
372
|
function F(o, f) {
|
|
373
373
|
return (
|
|
374
374
|
/*thumbnail*/
|
|
375
|
-
o[3] ?
|
|
375
|
+
o[3] ? ze : je
|
|
376
376
|
);
|
|
377
377
|
}
|
|
378
378
|
let T = F(i), v = T(i), p = (
|
|
@@ -390,7 +390,7 @@ function X(i) {
|
|
|
390
390
|
), d = D(), p && p.c(), l = D(), b && b.c(), m(s, "class", "Title"), m(s, "part", "Title"), m(a, "class", "Details"), m(a, "part", "Details");
|
|
391
391
|
},
|
|
392
392
|
m(o, f) {
|
|
393
|
-
c && c.m(o, f),
|
|
393
|
+
c && c.m(o, f), _(o, e, f), h && h.m(o, f), _(o, t, f), v.m(o, f), _(o, r, f), _(o, a, f), g(a, s), g(s, u), g(a, d), p && p.m(a, null), g(a, l), b && b.m(a, null);
|
|
394
394
|
},
|
|
395
395
|
p(o, f) {
|
|
396
396
|
/*status*/
|
|
@@ -405,7 +405,7 @@ function X(i) {
|
|
|
405
405
|
o[11] ? b ? b.p(o, f) : (b = ae(o), b.c(), b.m(a, null)) : b && (b.d(1), b = null);
|
|
406
406
|
},
|
|
407
407
|
d(o) {
|
|
408
|
-
o && (
|
|
408
|
+
o && (A(e), A(t), A(r), A(a)), c && c.d(o), h && h.d(o), v.d(o), p && p.d(), b && b.d();
|
|
409
409
|
}
|
|
410
410
|
};
|
|
411
411
|
}
|
|
@@ -421,7 +421,7 @@ function $(i) {
|
|
|
421
421
|
i[14]);
|
|
422
422
|
},
|
|
423
423
|
m(d, l) {
|
|
424
|
-
|
|
424
|
+
_(d, e, l), g(e, t), s || (u = E(
|
|
425
425
|
/*matchStatus*/
|
|
426
426
|
i[17].call(null, e)
|
|
427
427
|
), s = !0);
|
|
@@ -439,7 +439,7 @@ function $(i) {
|
|
|
439
439
|
d[14]) && m(e, "part", a);
|
|
440
440
|
},
|
|
441
441
|
d(d) {
|
|
442
|
-
d &&
|
|
442
|
+
d && A(e), s = !1, u();
|
|
443
443
|
}
|
|
444
444
|
};
|
|
445
445
|
}
|
|
@@ -453,14 +453,14 @@ function ee(i) {
|
|
|
453
453
|
t && t.c(), e = Ce();
|
|
454
454
|
},
|
|
455
455
|
m(r, a) {
|
|
456
|
-
t && t.m(r, a),
|
|
456
|
+
t && t.m(r, a), _(r, e, a);
|
|
457
457
|
},
|
|
458
458
|
p(r, a) {
|
|
459
459
|
/*userenrolled*/
|
|
460
460
|
r[4] ? t ? t.p(r, a) : (t = te(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
461
461
|
},
|
|
462
462
|
d(r) {
|
|
463
|
-
r &&
|
|
463
|
+
r && A(e), t && t.d(r);
|
|
464
464
|
}
|
|
465
465
|
};
|
|
466
466
|
}
|
|
@@ -474,7 +474,7 @@ function te(i) {
|
|
|
474
474
|
e = C("div"), r = J(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
|
|
475
475
|
},
|
|
476
476
|
m(a, s) {
|
|
477
|
-
|
|
477
|
+
_(a, e, s), g(e, r);
|
|
478
478
|
},
|
|
479
479
|
p(a, s) {
|
|
480
480
|
s[0] & /*$_*/
|
|
@@ -482,11 +482,11 @@ function te(i) {
|
|
|
482
482
|
a[15]("enrolled") + "") && R(r, t);
|
|
483
483
|
},
|
|
484
484
|
d(a) {
|
|
485
|
-
a &&
|
|
485
|
+
a && A(e);
|
|
486
486
|
}
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function je(i) {
|
|
490
490
|
let e, t, r, a, s, u, d;
|
|
491
491
|
return {
|
|
492
492
|
c() {
|
|
@@ -497,7 +497,7 @@ function ze(i) {
|
|
|
497
497
|
i[0] == "Closed" ? "CardImgFinished" : ""));
|
|
498
498
|
},
|
|
499
499
|
m(l, c) {
|
|
500
|
-
|
|
500
|
+
_(l, e, c), g(e, t), u || (d = E(
|
|
501
501
|
/*matchStatus*/
|
|
502
502
|
i[17].call(null, e)
|
|
503
503
|
), u = !0);
|
|
@@ -512,11 +512,11 @@ function ze(i) {
|
|
|
512
512
|
l[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
|
|
513
513
|
},
|
|
514
514
|
d(l) {
|
|
515
|
-
l &&
|
|
515
|
+
l && A(e), u = !1, d();
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function ze(i) {
|
|
520
520
|
let e, t, r, a, s, u, d;
|
|
521
521
|
return {
|
|
522
522
|
c() {
|
|
@@ -528,7 +528,7 @@ function je(i) {
|
|
|
528
528
|
i[0] == "Closed" ? "CardImgFinished" : ""));
|
|
529
529
|
},
|
|
530
530
|
m(l, c) {
|
|
531
|
-
|
|
531
|
+
_(l, e, c), g(e, t), u || (d = E(
|
|
532
532
|
/*matchStatus*/
|
|
533
533
|
i[17].call(null, e)
|
|
534
534
|
), u = !0);
|
|
@@ -545,7 +545,7 @@ function je(i) {
|
|
|
545
545
|
l[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
|
|
546
546
|
},
|
|
547
547
|
d(l) {
|
|
548
|
-
l &&
|
|
548
|
+
l && A(e), u = !1, d();
|
|
549
549
|
}
|
|
550
550
|
};
|
|
551
551
|
}
|
|
@@ -559,7 +559,7 @@ function ie(i) {
|
|
|
559
559
|
), m(e, "class", "Date"), m(e, "part", "Date");
|
|
560
560
|
},
|
|
561
561
|
m(u, d) {
|
|
562
|
-
|
|
562
|
+
_(u, e, d), g(e, t), a || (s = E(r = /*formatDate*/
|
|
563
563
|
i[16].call(
|
|
564
564
|
null,
|
|
565
565
|
e,
|
|
@@ -573,7 +573,7 @@ function ie(i) {
|
|
|
573
573
|
t,
|
|
574
574
|
/*shownDate*/
|
|
575
575
|
u[10]
|
|
576
|
-
), r &&
|
|
576
|
+
), r && _e(r.update) && d[0] & /*startdate*/
|
|
577
577
|
4 && r.update.call(
|
|
578
578
|
null,
|
|
579
579
|
/*startdate*/
|
|
@@ -581,7 +581,7 @@ function ie(i) {
|
|
|
581
581
|
);
|
|
582
582
|
},
|
|
583
583
|
d(u) {
|
|
584
|
-
u &&
|
|
584
|
+
u && A(e), a = !1, s();
|
|
585
585
|
}
|
|
586
586
|
};
|
|
587
587
|
}
|
|
@@ -595,10 +595,10 @@ function ae(i) {
|
|
|
595
595
|
), h, F, T, v, p, b, o, f = (
|
|
596
596
|
/*$_*/
|
|
597
597
|
i[15]("seegames") + ""
|
|
598
|
-
),
|
|
598
|
+
), j, N, M, I = (
|
|
599
599
|
/*$_*/
|
|
600
600
|
i[15]("here") + ""
|
|
601
|
-
), w, W,
|
|
601
|
+
), w, W, z, x;
|
|
602
602
|
return {
|
|
603
603
|
c() {
|
|
604
604
|
e = C("div"), t = C("p"), a = J(r), s = J(`:
|
|
@@ -610,7 +610,7 @@ function ae(i) {
|
|
|
610
610
|
(`), h = J(c), F = D(), T = J(
|
|
611
611
|
/*minbetcount*/
|
|
612
612
|
i[5]
|
|
613
|
-
), v = J(")"), p = D(), b = C("div"), o = C("p"),
|
|
613
|
+
), v = J(")"), p = D(), b = C("div"), o = C("p"), j = J(f), N = D(), M = C("a"), w = J(I), m(u, "part", "ScoreCriteriaSpan"), m(t, "part", "ScoreCriteriaP"), m(e, "class", "ScoreCriteria"), m(e, "part", "ScoreCriteria"), m(M, "part", "GamesAnchor"), m(
|
|
614
614
|
M,
|
|
615
615
|
"href",
|
|
616
616
|
/*gameurl*/
|
|
@@ -619,7 +619,7 @@ function ae(i) {
|
|
|
619
619
|
i[8] === "true" ? "_self" : "_blank"), m(o, "part", "GamesP"), m(b, "class", "Games"), m(b, "part", "Games");
|
|
620
620
|
},
|
|
621
621
|
m(k, y) {
|
|
622
|
-
|
|
622
|
+
_(k, e, y), g(e, t), g(t, a), g(t, s), g(t, u), g(u, d), g(t, l), g(t, h), g(t, F), g(t, T), g(t, v), _(k, p, y), _(k, b, y), g(b, o), g(o, j), g(o, N), g(o, M), g(M, w), z || (x = [
|
|
623
623
|
E(
|
|
624
624
|
/*matchScoreCriteria*/
|
|
625
625
|
i[18].call(null, u)
|
|
@@ -630,7 +630,7 @@ function ae(i) {
|
|
|
630
630
|
/*tournamentGamesClicked*/
|
|
631
631
|
i[19]
|
|
632
632
|
)
|
|
633
|
-
],
|
|
633
|
+
], z = !0);
|
|
634
634
|
},
|
|
635
635
|
p(k, y) {
|
|
636
636
|
y[0] & /*$_*/
|
|
@@ -649,7 +649,7 @@ function ae(i) {
|
|
|
649
649
|
k[5]
|
|
650
650
|
), y[0] & /*$_*/
|
|
651
651
|
32768 && f !== (f = /*$_*/
|
|
652
|
-
k[15]("seegames") + "") && R(
|
|
652
|
+
k[15]("seegames") + "") && R(j, f), y[0] & /*$_*/
|
|
653
653
|
32768 && I !== (I = /*$_*/
|
|
654
654
|
k[15]("here") + "") && R(w, I), y[0] & /*gameurl*/
|
|
655
655
|
128 && m(
|
|
@@ -662,7 +662,7 @@ function ae(i) {
|
|
|
662
662
|
k[8] === "true" ? "_self" : "_blank") && m(M, "target", W);
|
|
663
663
|
},
|
|
664
664
|
d(k) {
|
|
665
|
-
k && (
|
|
665
|
+
k && (A(e), A(p), A(b)), z = !1, Te(x);
|
|
666
666
|
}
|
|
667
667
|
};
|
|
668
668
|
}
|
|
@@ -680,7 +680,7 @@ function Ne(i) {
|
|
|
680
680
|
i[1] === "undefined" ? "Loading" : ""}`), m(e, "part", "Thumbnail");
|
|
681
681
|
},
|
|
682
682
|
m(u, d) {
|
|
683
|
-
|
|
683
|
+
_(u, e, d), a && a.m(e, null), g(e, t), s && s.m(e, null), i[29](e);
|
|
684
684
|
},
|
|
685
685
|
p(u, d) {
|
|
686
686
|
/*title*/
|
|
@@ -692,14 +692,14 @@ function Ne(i) {
|
|
|
692
692
|
i: q,
|
|
693
693
|
o: q,
|
|
694
694
|
d(u) {
|
|
695
|
-
u &&
|
|
695
|
+
u && A(e), a && a.d(), s && s.d(), i[29](null);
|
|
696
696
|
}
|
|
697
697
|
};
|
|
698
698
|
}
|
|
699
699
|
function We(i, e, t) {
|
|
700
700
|
let r;
|
|
701
|
-
|
|
702
|
-
let { session: a = "" } = e, { userid: s = "" } = e, { title: u = "" } = e, { startdate: d = "" } = e, { status: l = "" } = e, { tourid: c = "" } = e, { thumbnail: h = "" } = e, { userenrolled: F = "" } = e, { scorecriteria: T = "" } = e, { minbetcount: v = "" } = e, { showenrolled: p = "false" } = e, { gameurl: b = "" } = e, { lang: o = "en" } = e, { keepbrowsercontext: f = "false" } = e, { clientstyling:
|
|
701
|
+
ye(i, Re, (n) => t(15, r = n));
|
|
702
|
+
let { session: a = "" } = e, { userid: s = "" } = e, { title: u = "" } = e, { startdate: d = "" } = e, { status: l = "" } = e, { tourid: c = "" } = e, { thumbnail: h = "" } = e, { userenrolled: F = "" } = e, { scorecriteria: T = "" } = e, { minbetcount: v = "" } = e, { showenrolled: p = "false" } = e, { gameurl: b = "" } = e, { lang: o = "en" } = e, { keepbrowsercontext: f = "false" } = e, { clientstyling: j = "" } = e, { clientstylingurl: N = "" } = e, { translationurl: M = "" } = e, { mbsource: I } = e, w, W = "", z = !1, x = "", k = "", y = "";
|
|
703
703
|
De({ withLocale: "en", translations: {} });
|
|
704
704
|
const re = () => {
|
|
705
705
|
fetch(M).then((n) => n.json()).then((n) => {
|
|
@@ -714,7 +714,7 @@ function We(i, e, t) {
|
|
|
714
714
|
Y(n, Z[n]);
|
|
715
715
|
});
|
|
716
716
|
const V = (n) => {
|
|
717
|
-
n.data && (n.data && n.data.type == "SessionID" && t(11,
|
|
717
|
+
n.data && (n.data && n.data.type == "SessionID" && t(11, z = !0), n.data.type == `TournamentStatus_${c}` && t(0, l = n.data.status));
|
|
718
718
|
}, B = () => {
|
|
719
719
|
const n = { month: "long" };
|
|
720
720
|
let O = new Date(d), oe = new Intl.DateTimeFormat("en", n).format(O), ue = O.getDate(), me = O.toLocaleString("en-GB", {
|
|
@@ -731,26 +731,26 @@ function We(i, e, t) {
|
|
|
731
731
|
}, ne = () => {
|
|
732
732
|
window.postMessage({ type: "tournamentGamesClicked", tourid: c }, window.location.href);
|
|
733
733
|
}, se = () => {
|
|
734
|
-
a.length > 0 && a != "false" ? t(11,
|
|
734
|
+
a.length > 0 && a != "false" ? t(11, z = !0) : t(11, z = !1);
|
|
735
735
|
};
|
|
736
|
-
|
|
736
|
+
Se(() => (setTimeout(() => U(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", V, !1), () => {
|
|
737
737
|
window.removeEventListener("message", V);
|
|
738
738
|
}));
|
|
739
739
|
const U = () => {
|
|
740
740
|
Ie(o), G(), P(), d && B();
|
|
741
741
|
};
|
|
742
742
|
function le(n) {
|
|
743
|
-
|
|
743
|
+
ve[n ? "unshift" : "push"](() => {
|
|
744
744
|
w = n, t(9, w);
|
|
745
745
|
});
|
|
746
746
|
}
|
|
747
747
|
return i.$$set = (n) => {
|
|
748
|
-
"session" in n && t(20, a = n.session), "userid" in n && t(21, s = n.userid), "title" in n && t(1, u = n.title), "startdate" in n && t(2, d = n.startdate), "status" in n && t(0, l = n.status), "tourid" in n && t(22, c = n.tourid), "thumbnail" in n && t(3, h = n.thumbnail), "userenrolled" in n && t(4, F = n.userenrolled), "scorecriteria" in n && t(23, T = n.scorecriteria), "minbetcount" in n && t(5, v = n.minbetcount), "showenrolled" in n && t(6, p = n.showenrolled), "gameurl" in n && t(7, b = n.gameurl), "lang" in n && t(24, o = n.lang), "keepbrowsercontext" in n && t(8, f = n.keepbrowsercontext), "clientstyling" in n && t(25,
|
|
748
|
+
"session" in n && t(20, a = n.session), "userid" in n && t(21, s = n.userid), "title" in n && t(1, u = n.title), "startdate" in n && t(2, d = n.startdate), "status" in n && t(0, l = n.status), "tourid" in n && t(22, c = n.tourid), "thumbnail" in n && t(3, h = n.thumbnail), "userenrolled" in n && t(4, F = n.userenrolled), "scorecriteria" in n && t(23, T = n.scorecriteria), "minbetcount" in n && t(5, v = n.minbetcount), "showenrolled" in n && t(6, p = n.showenrolled), "gameurl" in n && t(7, b = n.gameurl), "lang" in n && t(24, o = n.lang), "keepbrowsercontext" in n && t(8, f = n.keepbrowsercontext), "clientstyling" in n && t(25, j = n.clientstyling), "clientstylingurl" in n && t(26, N = n.clientstylingurl), "translationurl" in n && t(27, M = n.translationurl), "mbsource" in n && t(28, I = n.mbsource);
|
|
749
749
|
}, i.$$.update = () => {
|
|
750
750
|
i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
751
|
-
33554944 &&
|
|
752
|
-
67109376 && N && w &&
|
|
753
|
-
268435968 && I && w &&
|
|
751
|
+
33554944 && j && w && Me(w, j), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
752
|
+
67109376 && N && w && we(w, N), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
753
|
+
268435968 && I && w && Je(w, `${I}.Style`), i.$$.dirty[0] & /*translationurl*/
|
|
754
754
|
134217728 && M && re(), i.$$.dirty[0] & /*session*/
|
|
755
755
|
1048576 && a && se(), i.$$.dirty[0] & /*status*/
|
|
756
756
|
1 && l && P(), i.$$.dirty[0] & /*title, lang*/
|
|
@@ -769,7 +769,7 @@ function We(i, e, t) {
|
|
|
769
769
|
f,
|
|
770
770
|
w,
|
|
771
771
|
W,
|
|
772
|
-
|
|
772
|
+
z,
|
|
773
773
|
x,
|
|
774
774
|
k,
|
|
775
775
|
y,
|
|
@@ -783,7 +783,7 @@ function We(i, e, t) {
|
|
|
783
783
|
c,
|
|
784
784
|
T,
|
|
785
785
|
o,
|
|
786
|
-
|
|
786
|
+
j,
|
|
787
787
|
N,
|
|
788
788
|
M,
|
|
789
789
|
I,
|
|
@@ -797,7 +797,7 @@ class xe extends be {
|
|
|
797
797
|
e,
|
|
798
798
|
We,
|
|
799
799
|
Ne,
|
|
800
|
-
|
|
800
|
+
pe,
|
|
801
801
|
{
|
|
802
802
|
session: 20,
|
|
803
803
|
userid: 21,
|
|
@@ -931,7 +931,7 @@ class xe extends be {
|
|
|
931
931
|
this.$$set({ mbsource: e }), S();
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
|
-
|
|
934
|
+
he(xe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
935
935
|
export {
|
|
936
936
|
xe as default
|
|
937
937
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-CbfFinFG.cjs");require("../stencil/ui-skeleton-B0BB970e.cjs");require("../stencil/ui-image-Bk8cIvcH.cjs");function ee({withLocale:a,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function N(a,t){e.addMessages(a,t)}function te(a){e.$locale.set(a)}const O={en:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hr:{enrolled:"Sudjeluje",scoreCriteria:"Kriterij bodovanja",minbet:"Minimalni ulog",seegames:"Vidi igre",here:"ovdje",scheduled:"Zakazano",ongoing:"U tijeku",finished:"Završeno",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj uloga",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Dobitak po ulogu",stake:"Ulog",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"},"zh-hk":{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",stake:"Turnover",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},fr:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},ro:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În curs",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",stake:"Turnover",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"},tr:{enrolled:"Kayıtlı",scoreCriteria:"Puan Kriterleri",minbet:"minimum bahis sayısı",seegames:"Oyunları görebilirsiniz",here:"Burada",scheduled:"planlanmış",ongoing:"devam ediyor",finished:"Bitti",startingAt:"Buradan başlayarak:",startedAt:"Başlangıç:",mostRounds:"En Çok Tur",betCount:"Bahis Sayısı",maxWinStakeRatio:"Bahis Başına Maksimum Kazanç",winStakeRatio:"Bahis Başına Toplam Kazanç",stake:"Devir",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık",startingAtWithTime:"{startTime} başlar",startedAtWithTime:"{startTime} başlatıldı"},el:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",stake:"Turnover",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"},es:{enrolled:"Participando",scoreCriteria:"Regla de puntos",minbet:"Apuesta mínima",seegames:"Puede ver los juegos aquí",here:"aquí",scheduled:"Programado",ongoing:"En Vivo",finished:"Finalizado",startingAt:"Iniciando en:",startedAt:"Inicio:",mostRounds:"Más rondas",betCount:"Número de Apuestas",maxWinStakeRatio:"Máxima Ganancia por Apuesta",winStakeRatio:"Total Ganancia por Apuestas",stake:"Turnover",January:"Enero",February:"Febrero",March:"Marzo",April:"April",May:"Mayo",June:"Junio",July:"Julio",August:"Agosto",September:"Septiembre",October:"Octubre",November:"Noviembre",December:"Diciembre"},pt:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hu:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},"en-us":{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}};function ie(a){e.append_styles(a,"svelte-1bncdcr",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}')}function W(a){let t,i,r;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>',i=e.space(),r=e.element("div"),r.innerHTML='<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>',e.attr(t,"class","Skeleton CardImg"),e.attr(r,"class","Details"),e.attr(r,"part","Details")},m(n,l){e.insert(n,t,l),e.insert(n,i,l),e.insert(n,r,l)},d(n){n&&(e.detach(t),e.detach(i),e.detach(r))}}}function L(a){let t,i,r,n,l,d,m,o,c=a[0]&&E(a),h=a[6]=="true"&&P(a);function T(u,f){return u[3]?ne:ae}let k=T(a),y=k(a),b=a[2]&&G(a),g=a[11]&&U(a);return{c(){c&&c.c(),t=e.space(),h&&h.c(),i=e.space(),y.c(),r=e.space(),n=e.element("div"),l=e.element("div"),d=e.text(a[1]),m=e.space(),b&&b.c(),o=e.space(),g&&g.c(),e.attr(l,"class","Title"),e.attr(l,"part","Title"),e.attr(n,"class","Details"),e.attr(n,"part","Details")},m(u,f){c&&c.m(u,f),e.insert(u,t,f),h&&h.m(u,f),e.insert(u,i,f),y.m(u,f),e.insert(u,r,f),e.insert(u,n,f),e.append(n,l),e.append(l,d),e.append(n,m),b&&b.m(n,null),e.append(n,o),g&&g.m(n,null)},p(u,f){u[0]?c?c.p(u,f):(c=E(u),c.c(),c.m(t.parentNode,t)):c&&(c.d(1),c=null),u[6]=="true"?h?h.p(u,f):(h=P(u),h.c(),h.m(i.parentNode,i)):h&&(h.d(1),h=null),k===(k=T(u))&&y?y.p(u,f):(y.d(1),y=k(u),y&&(y.c(),y.m(r.parentNode,r))),f[0]&2&&e.set_data(d,u[1]),u[2]?b?b.p(u,f):(b=G(u),b.c(),b.m(n,o)):b&&(b.d(1),b=null),u[11]?g?g.p(u,f):(g=U(u),g.c(),g.m(n,null)):g&&(g.d(1),g=null)},d(u){u&&(e.detach(t),e.detach(i),e.detach(r),e.detach(n)),c&&c.d(u),h&&h.d(u),y.d(u),b&&b.d(),g&&g.d()}}}function E(a){let t,i,r,n,l,d;return{c(){t=e.element("div"),i=e.text(a[12]),e.attr(t,"class",r="Status "+a[14]),e.attr(t,"part",n="Status "+a[14])},m(m,o){e.insert(m,t,o),e.append(t,i),l||(d=e.action_destroyer(a[17].call(null,t)),l=!0)},p(m,o){o[0]&4096&&e.set_data(i,m[12]),o[0]&16384&&r!==(r="Status "+m[14])&&e.attr(t,"class",r),o[0]&16384&&n!==(n="Status "+m[14])&&e.attr(t,"part",n)},d(m){m&&e.detach(t),l=!1,d()}}}function P(a){let t,i=a[4]&&B(a);return{c(){i&&i.c(),t=e.empty()},m(r,n){i&&i.m(r,n),e.insert(r,t,n)},p(r,n){r[4]?i?i.p(r,n):(i=B(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(r){r&&e.detach(t),i&&i.d(r)}}}function B(a){let t,i=a[15]("enrolled")+"",r;return{c(){t=e.element("div"),r=e.text(i),e.attr(t,"class","Enrolled"),e.attr(t,"part","Enrolled")},m(n,l){e.insert(n,t,l),e.append(t,r)},p(n,l){l[0]&32768&&i!==(i=n[15]("enrolled")+"")&&e.set_data(r,i)},d(n){n&&e.detach(t)}}}function ae(a){let t,i,r,n,l,d,m;return{c(){t=e.element("div"),i=e.element("ui-image"),e.src_url_equal(i.src,r="https://i.stack.imgur.com/y9DpT.jpg")||e.set_custom_element_data(i,"src",r),e.set_custom_element_data(i,"alt","icon"),e.attr(t,"class",n="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",l="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":""))},m(o,c){e.insert(o,t,c),e.append(t,i),d||(m=e.action_destroyer(a[17].call(null,t)),d=!0)},p(o,c){c[0]&1&&n!==(n="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",n),c[0]&1&&l!==(l="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",l)},d(o){o&&e.detach(t),d=!1,m()}}}function ne(a){let t,i,r,n,l,d,m;return{c(){t=e.element("div"),i=e.element("ui-image"),e.set_custom_element_data(i,"class","UIImage"),e.src_url_equal(i.src,r=a[3])||e.set_custom_element_data(i,"src",r),e.set_custom_element_data(i,"alt","icon"),e.attr(t,"class",n="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",l="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":""))},m(o,c){e.insert(o,t,c),e.append(t,i),d||(m=e.action_destroyer(a[17].call(null,t)),d=!0)},p(o,c){c[0]&8&&!e.src_url_equal(i.src,r=o[3])&&e.set_custom_element_data(i,"src",r),c[0]&1&&n!==(n="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",n),c[0]&1&&l!==(l="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",l)},d(o){o&&e.detach(t),d=!1,m()}}}function G(a){let t,i,r,n,l;return{c(){t=e.element("div"),i=e.text(a[10]),e.attr(t,"class","Date"),e.attr(t,"part","Date")},m(d,m){e.insert(d,t,m),e.append(t,i),n||(l=e.action_destroyer(r=a[16].call(null,t,a[2])),n=!0)},p(d,m){m[0]&1024&&e.set_data(i,d[10]),r&&e.is_function(r.update)&&m[0]&4&&r.update.call(null,d[2])},d(d){d&&e.detach(t),n=!1,l()}}}function U(a){let t,i,r=a[15]("scoreCriteria")+"",n,l,d,m,o,c=a[15]("minbet")+"",h,T,k,y,b,g,u,f=a[15]("seegames")+"",v,w,S,A=a[15]("here")+"",C,J,M,R;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(r),l=e.text(`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-BA7Lb1Ac.cjs");require("../stencil/ui-skeleton-CKaouoPt.cjs");require("../stencil/ui-image-DBXtq7Sy.cjs");function ee({withLocale:a,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function N(a,t){e.addMessages(a,t)}function te(a){e.$locale.set(a)}const O={en:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hr:{enrolled:"Sudjeluje",scoreCriteria:"Kriterij bodovanja",minbet:"Minimalni ulog",seegames:"Vidi igre",here:"ovdje",scheduled:"Zakazano",ongoing:"U tijeku",finished:"Završeno",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj uloga",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Dobitak po ulogu",stake:"Ulog",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"},"zh-hk":{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",stake:"Turnover",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},fr:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},ro:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În curs",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",stake:"Turnover",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"},tr:{enrolled:"Kayıtlı",scoreCriteria:"Puan Kriterleri",minbet:"minimum bahis sayısı",seegames:"Oyunları görebilirsiniz",here:"Burada",scheduled:"planlanmış",ongoing:"devam ediyor",finished:"Bitti",startingAt:"Buradan başlayarak:",startedAt:"Başlangıç:",mostRounds:"En Çok Tur",betCount:"Bahis Sayısı",maxWinStakeRatio:"Bahis Başına Maksimum Kazanç",winStakeRatio:"Bahis Başına Toplam Kazanç",stake:"Devir",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık",startingAtWithTime:"{startTime} başlar",startedAtWithTime:"{startTime} başlatıldı"},el:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",stake:"Turnover",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"},es:{enrolled:"Participando",scoreCriteria:"Regla de puntos",minbet:"Apuesta mínima",seegames:"Puede ver los juegos aquí",here:"aquí",scheduled:"Programado",ongoing:"En Vivo",finished:"Finalizado",startingAt:"Iniciando en:",startedAt:"Inicio:",mostRounds:"Más rondas",betCount:"Número de Apuestas",maxWinStakeRatio:"Máxima Ganancia por Apuesta",winStakeRatio:"Total Ganancia por Apuestas",stake:"Turnover",January:"Enero",February:"Febrero",March:"Marzo",April:"April",May:"Mayo",June:"Junio",July:"Julio",August:"Agosto",September:"Septiembre",October:"Octubre",November:"Noviembre",December:"Diciembre"},pt:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hu:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},"en-us":{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}};function ie(a){e.append_styles(a,"svelte-1bncdcr",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}')}function W(a){let t,i,r;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>',i=e.space(),r=e.element("div"),r.innerHTML='<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>',e.attr(t,"class","Skeleton CardImg"),e.attr(r,"class","Details"),e.attr(r,"part","Details")},m(n,l){e.insert(n,t,l),e.insert(n,i,l),e.insert(n,r,l)},d(n){n&&(e.detach(t),e.detach(i),e.detach(r))}}}function L(a){let t,i,r,n,l,d,m,o,c=a[0]&&E(a),h=a[6]=="true"&&P(a);function T(u,f){return u[3]?ne:ae}let k=T(a),y=k(a),b=a[2]&&G(a),g=a[11]&&U(a);return{c(){c&&c.c(),t=e.space(),h&&h.c(),i=e.space(),y.c(),r=e.space(),n=e.element("div"),l=e.element("div"),d=e.text(a[1]),m=e.space(),b&&b.c(),o=e.space(),g&&g.c(),e.attr(l,"class","Title"),e.attr(l,"part","Title"),e.attr(n,"class","Details"),e.attr(n,"part","Details")},m(u,f){c&&c.m(u,f),e.insert(u,t,f),h&&h.m(u,f),e.insert(u,i,f),y.m(u,f),e.insert(u,r,f),e.insert(u,n,f),e.append(n,l),e.append(l,d),e.append(n,m),b&&b.m(n,null),e.append(n,o),g&&g.m(n,null)},p(u,f){u[0]?c?c.p(u,f):(c=E(u),c.c(),c.m(t.parentNode,t)):c&&(c.d(1),c=null),u[6]=="true"?h?h.p(u,f):(h=P(u),h.c(),h.m(i.parentNode,i)):h&&(h.d(1),h=null),k===(k=T(u))&&y?y.p(u,f):(y.d(1),y=k(u),y&&(y.c(),y.m(r.parentNode,r))),f[0]&2&&e.set_data(d,u[1]),u[2]?b?b.p(u,f):(b=G(u),b.c(),b.m(n,o)):b&&(b.d(1),b=null),u[11]?g?g.p(u,f):(g=U(u),g.c(),g.m(n,null)):g&&(g.d(1),g=null)},d(u){u&&(e.detach(t),e.detach(i),e.detach(r),e.detach(n)),c&&c.d(u),h&&h.d(u),y.d(u),b&&b.d(),g&&g.d()}}}function E(a){let t,i,r,n,l,d;return{c(){t=e.element("div"),i=e.text(a[12]),e.attr(t,"class",r="Status "+a[14]),e.attr(t,"part",n="Status "+a[14])},m(m,o){e.insert(m,t,o),e.append(t,i),l||(d=e.action_destroyer(a[17].call(null,t)),l=!0)},p(m,o){o[0]&4096&&e.set_data(i,m[12]),o[0]&16384&&r!==(r="Status "+m[14])&&e.attr(t,"class",r),o[0]&16384&&n!==(n="Status "+m[14])&&e.attr(t,"part",n)},d(m){m&&e.detach(t),l=!1,d()}}}function P(a){let t,i=a[4]&&B(a);return{c(){i&&i.c(),t=e.empty()},m(r,n){i&&i.m(r,n),e.insert(r,t,n)},p(r,n){r[4]?i?i.p(r,n):(i=B(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(r){r&&e.detach(t),i&&i.d(r)}}}function B(a){let t,i=a[15]("enrolled")+"",r;return{c(){t=e.element("div"),r=e.text(i),e.attr(t,"class","Enrolled"),e.attr(t,"part","Enrolled")},m(n,l){e.insert(n,t,l),e.append(t,r)},p(n,l){l[0]&32768&&i!==(i=n[15]("enrolled")+"")&&e.set_data(r,i)},d(n){n&&e.detach(t)}}}function ae(a){let t,i,r,n,l,d,m;return{c(){t=e.element("div"),i=e.element("ui-image"),e.src_url_equal(i.src,r="https://i.stack.imgur.com/y9DpT.jpg")||e.set_custom_element_data(i,"src",r),e.set_custom_element_data(i,"alt","icon"),e.attr(t,"class",n="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",l="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":""))},m(o,c){e.insert(o,t,c),e.append(t,i),d||(m=e.action_destroyer(a[17].call(null,t)),d=!0)},p(o,c){c[0]&1&&n!==(n="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",n),c[0]&1&&l!==(l="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",l)},d(o){o&&e.detach(t),d=!1,m()}}}function ne(a){let t,i,r,n,l,d,m;return{c(){t=e.element("div"),i=e.element("ui-image"),e.set_custom_element_data(i,"class","UIImage"),e.src_url_equal(i.src,r=a[3])||e.set_custom_element_data(i,"src",r),e.set_custom_element_data(i,"alt","icon"),e.attr(t,"class",n="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":"")),e.attr(t,"part",l="CardImg "+(a[0]=="Closing"||a[0]=="Closed"?"CardImgFinished":""))},m(o,c){e.insert(o,t,c),e.append(t,i),d||(m=e.action_destroyer(a[17].call(null,t)),d=!0)},p(o,c){c[0]&8&&!e.src_url_equal(i.src,r=o[3])&&e.set_custom_element_data(i,"src",r),c[0]&1&&n!==(n="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"class",n),c[0]&1&&l!==(l="CardImg "+(o[0]=="Closing"||o[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",l)},d(o){o&&e.detach(t),d=!1,m()}}}function G(a){let t,i,r,n,l;return{c(){t=e.element("div"),i=e.text(a[10]),e.attr(t,"class","Date"),e.attr(t,"part","Date")},m(d,m){e.insert(d,t,m),e.append(t,i),n||(l=e.action_destroyer(r=a[16].call(null,t,a[2])),n=!0)},p(d,m){m[0]&1024&&e.set_data(i,d[10]),r&&e.is_function(r.update)&&m[0]&4&&r.update.call(null,d[2])},d(d){d&&e.detach(t),n=!1,l()}}}function U(a){let t,i,r=a[15]("scoreCriteria")+"",n,l,d,m,o,c=a[15]("minbet")+"",h,T,k,y,b,g,u,f=a[15]("seegames")+"",v,w,S,A=a[15]("here")+"",C,J,M,R;return{c(){t=e.element("div"),i=e.element("p"),n=e.text(r),l=e.text(`:
|
|
2
2
|
|
|
3
3
|
`),d=e.element("span"),m=e.text(a[13]),o=e.text(`
|
|
4
4
|
(`),h=e.text(c),T=e.space(),k=e.text(a[5]),y=e.text(")"),b=e.space(),g=e.element("div"),u=e.element("p"),v=e.text(f),w=e.space(),S=e.element("a"),C=e.text(A),e.attr(d,"part","ScoreCriteriaSpan"),e.attr(i,"part","ScoreCriteriaP"),e.attr(t,"class","ScoreCriteria"),e.attr(t,"part","ScoreCriteria"),e.attr(S,"part","GamesAnchor"),e.attr(S,"href",a[7]),e.attr(S,"target",J=a[8]==="true"?"_self":"_blank"),e.attr(u,"part","GamesP"),e.attr(g,"class","Games"),e.attr(g,"part","Games")},m(p,_){e.insert(p,t,_),e.append(t,i),e.append(i,n),e.append(i,l),e.append(i,d),e.append(d,m),e.append(i,o),e.append(i,h),e.append(i,T),e.append(i,k),e.append(i,y),e.insert(p,b,_),e.insert(p,g,_),e.append(g,u),e.append(u,v),e.append(u,w),e.append(u,S),e.append(S,C),M||(R=[e.action_destroyer(a[18].call(null,d)),e.listen(S,"click",a[19])],M=!0)},p(p,_){_[0]&32768&&r!==(r=p[15]("scoreCriteria")+"")&&e.set_data(n,r),_[0]&8192&&e.set_data(m,p[13]),_[0]&32768&&c!==(c=p[15]("minbet")+"")&&e.set_data(h,c),_[0]&32&&e.set_data(k,p[5]),_[0]&32768&&f!==(f=p[15]("seegames")+"")&&e.set_data(v,f),_[0]&32768&&A!==(A=p[15]("here")+"")&&e.set_data(C,A),_[0]&128&&e.attr(S,"href",p[7]),_[0]&256&&J!==(J=p[8]==="true"?"_self":"_blank")&&e.attr(S,"target",J)},d(p){p&&(e.detach(t),e.detach(b),e.detach(g)),M=!1,e.run_all(R)}}}function re(a){let t,i,r,n=a[1]==="undefined"&&W(),l=a[1]!=="undefined"&&L(a);return{c(){t=e.element("div"),n&&n.c(),i=e.space(),l&&l.c(),e.attr(t,"class",r=`Thumbnail ${a[1]==="undefined"?"Loading":""}`),e.attr(t,"part","Thumbnail")},m(d,m){e.insert(d,t,m),n&&n.m(t,null),e.append(t,i),l&&l.m(t,null),a[29](t)},p(d,m){d[1]==="undefined"?n||(n=W(),n.c(),n.m(t,i)):n&&(n.d(1),n=null),d[1]!=="undefined"?l?l.p(d,m):(l=L(d),l.c(),l.m(t,null)):l&&(l.d(1),l=null),m[0]&2&&r!==(r=`Thumbnail ${d[1]==="undefined"?"Loading":""}`)&&e.attr(t,"class",r)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),n&&n.d(),l&&l.d(),a[29](null)}}}function se(a,t,i){let r;e.component_subscribe(a,e.$format,s=>i(15,r=s));let{session:n=""}=t,{userid:l=""}=t,{title:d=""}=t,{startdate:m=""}=t,{status:o=""}=t,{tourid:c=""}=t,{thumbnail:h=""}=t,{userenrolled:T=""}=t,{scorecriteria:k=""}=t,{minbetcount:y=""}=t,{showenrolled:b="false"}=t,{gameurl:g=""}=t,{lang:u="en"}=t,{keepbrowsercontext:f="false"}=t,{clientstyling:v=""}=t,{clientstylingurl:w=""}=t,{translationurl:S=""}=t,{mbsource:A}=t,C,J="",M=!1,R="",p="",_="";ee({withLocale:"en",translations:{}});const K=()=>{fetch(S).then(s=>s.json()).then(s=>{Object.keys(s).forEach(D=>{N(D,s[D])}),m&&j()}).catch(s=>{console.log(s)})};Object.keys(O).forEach(s=>{N(s,O[s])});const z=s=>{s.data&&(s.data&&s.data.type=="SessionID"&&i(11,M=!0),s.data.type==`TournamentStatus_${c}`&&i(0,o=s.data.status))},I=()=>{const s={month:"long"};let D=new Date(m),Z=new Intl.DateTimeFormat("en",s).format(D),Q=D.getDate(),X=D.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});const $=()=>r(o==="Running"?"startedAt":"startingAt");i(10,J=`${Q} `+r(`${Z}`)+", "+$()+` ${X}`)},x=()=>{o=="Unstarted"&&(i(12,R=r("scheduled")),i(14,_="StatusUnstarted")),o=="Running"&&(i(12,R=r("ongoing")),i(14,_="StatusRunning")),(o=="Closed"||o=="Closing")&&i(12,R=r("finished")),o=="Closed"&&i(14,_="StatusClosed"),o=="Closing"&&i(14,_="StatusClosing")},F=()=>{k=="BetCount"&&i(13,p=r("betCount")),k=="MaxWinStakeRatio"&&i(13,p=r("maxWinStakeRatio")),k=="WinStakeRatio"&&i(13,p=r("winStakeRatio")),k=="Stake"&&i(13,p=r("stake"))},V=()=>{window.postMessage({type:"tournamentGamesClicked",tourid:c},window.location.href)},H=()=>{n.length>0&&n!="false"?i(11,M=!0):i(11,M=!1)};e.onMount(()=>(setTimeout(()=>j(),1),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));const j=()=>{te(u),F(),x(),m&&I()};function Y(s){e.binding_callbacks[s?"unshift":"push"](()=>{C=s,i(9,C)})}return a.$$set=s=>{"session"in s&&i(20,n=s.session),"userid"in s&&i(21,l=s.userid),"title"in s&&i(1,d=s.title),"startdate"in s&&i(2,m=s.startdate),"status"in s&&i(0,o=s.status),"tourid"in s&&i(22,c=s.tourid),"thumbnail"in s&&i(3,h=s.thumbnail),"userenrolled"in s&&i(4,T=s.userenrolled),"scorecriteria"in s&&i(23,k=s.scorecriteria),"minbetcount"in s&&i(5,y=s.minbetcount),"showenrolled"in s&&i(6,b=s.showenrolled),"gameurl"in s&&i(7,g=s.gameurl),"lang"in s&&i(24,u=s.lang),"keepbrowsercontext"in s&&i(8,f=s.keepbrowsercontext),"clientstyling"in s&&i(25,v=s.clientstyling),"clientstylingurl"in s&&i(26,w=s.clientstylingurl),"translationurl"in s&&i(27,S=s.translationurl),"mbsource"in s&&i(28,A=s.mbsource)},a.$$.update=()=>{a.$$.dirty[0]&33554944&&v&&C&&e.setClientStyling(C,v),a.$$.dirty[0]&67109376&&w&&C&&e.setClientStylingURL(C,w),a.$$.dirty[0]&268435968&&A&&C&&e.setStreamStyling(C,`${A}.Style`),a.$$.dirty[0]&134217728&&S&&K(),a.$$.dirty[0]&1048576&&n&&H(),a.$$.dirty[0]&1&&o&&x(),a.$$.dirty[0]&16777218&&d&&u&&j(),a.$$.dirty[0]&4&&m&&I(),a.$$.dirty[0]&8388608&&k&&F()},[o,d,m,h,T,y,b,g,f,C,J,M,R,p,_,r,I,x,F,V,n,l,c,k,u,v,w,S,A,Y]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,se,re,e.safe_not_equal,{session:20,userid:21,title:1,startdate:2,status:0,tourid:22,thumbnail:3,userenrolled:4,scorecriteria:23,minbetcount:5,showenrolled:6,gameurl:7,lang:24,keepbrowsercontext:8,clientstyling:25,clientstylingurl:26,translationurl:27,mbsource:28},ie,[-1,-1])}get session(){return this.$$.ctx[20]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[21]}set userid(t){this.$$set({userid:t}),e.flush()}get title(){return this.$$.ctx[1]}set title(t){this.$$set({title:t}),e.flush()}get startdate(){return this.$$.ctx[2]}set startdate(t){this.$$set({startdate:t}),e.flush()}get status(){return this.$$.ctx[0]}set status(t){this.$$set({status:t}),e.flush()}get tourid(){return this.$$.ctx[22]}set tourid(t){this.$$set({tourid:t}),e.flush()}get thumbnail(){return this.$$.ctx[3]}set thumbnail(t){this.$$set({thumbnail:t}),e.flush()}get userenrolled(){return this.$$.ctx[4]}set userenrolled(t){this.$$set({userenrolled:t}),e.flush()}get scorecriteria(){return this.$$.ctx[23]}set scorecriteria(t){this.$$set({scorecriteria:t}),e.flush()}get minbetcount(){return this.$$.ctx[5]}set minbetcount(t){this.$$set({minbetcount:t}),e.flush()}get showenrolled(){return this.$$.ctx[6]}set showenrolled(t){this.$$set({showenrolled:t}),e.flush()}get gameurl(){return this.$$.ctx[7]}set gameurl(t){this.$$set({gameurl:t}),e.flush()}get lang(){return this.$$.ctx[24]}set lang(t){this.$$set({lang:t}),e.flush()}get keepbrowsercontext(){return this.$$.ctx[8]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),e.flush()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[28]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(q,{session:{},userid:{},title:{},startdate:{},status:{},tourid:{},thumbnail:{},userenrolled:{},scorecriteria:{},minbetcount:{},showenrolled:{},gameurl:{},lang:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=q;
|