@everymatrix/casino-tournaments-controller 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoTournamentsController-C1dCP4c5.cjs +14 -0
- package/components/{CasinoTournamentsController-B87iHebe.js → CasinoTournamentsController-CD_5uyUc.js} +813 -835
- package/components/{CasinoTournamentsController-D4fqxCja.js → CasinoTournamentsController-UUtBZIFh.js} +659 -681
- package/components/{CasinoTournamentsFilterController-D9Tidq8w.js → CasinoTournamentsFilterController-C6PNRuAN.js} +20 -20
- package/components/{CasinoTournamentsFilterController-Dxau0WQ7.js → CasinoTournamentsFilterController-C8EhVpC4.js} +22 -22
- package/components/{CasinoTournamentsFilterController-D0T7rVhL.cjs → CasinoTournamentsFilterController-CDD660uA.cjs} +1 -1
- package/components/{CasinoTournamentsListController-CWi9-FPc.cjs → CasinoTournamentsListController-fm8TCneo.cjs} +2 -2
- package/components/{CasinoTournamentsListController-e7qQuaaY.js → CasinoTournamentsListController-l8AH-AQy.js} +21 -21
- package/components/{CasinoTournamentsListController-Bj5LNl9h.js → CasinoTournamentsListController-wgytIhYX.js} +21 -21
- package/components/{CasinoTournamentsThumbnail-CXUAscGP.cjs → CasinoTournamentsThumbnail-BVAQJY4f.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-C51R2INs.js → CasinoTournamentsThumbnail-C1PdhLiD.js} +36 -36
- package/components/{CasinoTournamentsThumbnail-Dq4yRdNG.js → CasinoTournamentsThumbnail-CfBfOQ6y.js} +41 -41
- package/components/{CasinoTournamentsThumbnailController-BHFgnbwb.cjs → CasinoTournamentsThumbnailController-B5QfYW6Q.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-cb4JbcxA.js → CasinoTournamentsThumbnailController-DBjAq9-k.js} +43 -43
- package/components/{CasinoTournamentsThumbnailController-BQ6_5mnS.js → CasinoTournamentsThumbnailController-neX5M-sd.js} +73 -73
- package/components/{CasinoTournamentsThumbnailDuration-COqsPwJj.js → CasinoTournamentsThumbnailDuration-CGgR5XoL.js} +40 -40
- package/components/{CasinoTournamentsThumbnailDuration-CQkAFLBa.cjs → CasinoTournamentsThumbnailDuration-DFP9BWRc.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-DSbhjj1f.js → CasinoTournamentsThumbnailDuration-sMRWK6Da.js} +46 -46
- package/components/{CasinoTournamentsThumbnailGamesSlider--YAPEoXl.js → CasinoTournamentsThumbnailGamesSlider-BUainTMh.js} +37 -37
- package/components/{CasinoTournamentsThumbnailGamesSlider-B1lnmQeN.js → CasinoTournamentsThumbnailGamesSlider-Bcgbm6UZ.js} +54 -54
- package/components/{CasinoTournamentsThumbnailGamesSlider-LY1F0kxk.cjs → CasinoTournamentsThumbnailGamesSlider-CU3QiSRS.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-BbCxQeLs.js → CasinoTournamentsThumbnailPrizes-Cb6ucU30.js} +15 -15
- package/components/{CasinoTournamentsThumbnailPrizes-CY5bdmwv.cjs → CasinoTournamentsThumbnailPrizes-D5o6hcAd.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CcMFztse.js → CasinoTournamentsThumbnailPrizes-pB7CeUbv.js} +15 -15
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsController-WRSyK2QY.cjs +0 -14
package/components/{CasinoTournamentsThumbnail-C51R2INs.js → CasinoTournamentsThumbnail-C1PdhLiD.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as me, z as de, S as ce, i as ge,
|
|
1
|
+
import { a as me, z as de, S as ce, i as ge, s as be, f as S, b as fe, n as q, d as F, o as D, e as z, p as c, g as M, q as O, t as v, h as u, k as he, w as pe, A as L, x as ye, B as ke, u as Se, r as Ce, C as K, D as Ae, c as _e, $ as Te } from "./CasinoTournamentsController-CD_5uyUc.js";
|
|
2
2
|
function Y(i, e) {
|
|
3
3
|
me(i, e);
|
|
4
4
|
}
|
|
@@ -338,7 +338,7 @@ const Z = {
|
|
|
338
338
|
}
|
|
339
339
|
};
|
|
340
340
|
function ve(i) {
|
|
341
|
-
|
|
341
|
+
fe(i, "svelte-1gxooas", ':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"}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.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}.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}');
|
|
342
342
|
}
|
|
343
343
|
function Q(i) {
|
|
344
344
|
let e, t, r, s, l, n;
|
|
@@ -352,7 +352,7 @@ function Q(i) {
|
|
|
352
352
|
i[15]);
|
|
353
353
|
},
|
|
354
354
|
m(o, b) {
|
|
355
|
-
|
|
355
|
+
z(o, e, b), c(e, t), l || (n = L(
|
|
356
356
|
/*matchStatus*/
|
|
357
357
|
i[18].call(null, e)
|
|
358
358
|
), l = !0);
|
|
@@ -370,7 +370,7 @@ function Q(i) {
|
|
|
370
370
|
o[15]) && u(e, "part", s);
|
|
371
371
|
},
|
|
372
372
|
d(o) {
|
|
373
|
-
o &&
|
|
373
|
+
o && F(e), l = !1, n();
|
|
374
374
|
}
|
|
375
375
|
};
|
|
376
376
|
}
|
|
@@ -381,17 +381,17 @@ function X(i) {
|
|
|
381
381
|
);
|
|
382
382
|
return {
|
|
383
383
|
c() {
|
|
384
|
-
t && t.c(), e =
|
|
384
|
+
t && t.c(), e = ye();
|
|
385
385
|
},
|
|
386
386
|
m(r, s) {
|
|
387
|
-
t && t.m(r, s),
|
|
387
|
+
t && t.m(r, s), z(r, e, s);
|
|
388
388
|
},
|
|
389
389
|
p(r, s) {
|
|
390
390
|
/*userenrolled*/
|
|
391
391
|
r[5] ? t ? t.p(r, s) : (t = $(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
392
392
|
},
|
|
393
393
|
d(r) {
|
|
394
|
-
r &&
|
|
394
|
+
r && F(e), t && t.d(r);
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
}
|
|
@@ -405,7 +405,7 @@ function $(i) {
|
|
|
405
405
|
e = M("div"), r = v(t), u(e, "class", "Enrolled"), u(e, "part", "Enrolled");
|
|
406
406
|
},
|
|
407
407
|
m(s, l) {
|
|
408
|
-
|
|
408
|
+
z(s, e, l), c(e, r);
|
|
409
409
|
},
|
|
410
410
|
p(s, l) {
|
|
411
411
|
l[0] & /*$_*/
|
|
@@ -413,7 +413,7 @@ function $(i) {
|
|
|
413
413
|
s[16]("enrolled") + "") && D(r, t);
|
|
414
414
|
},
|
|
415
415
|
d(s) {
|
|
416
|
-
s &&
|
|
416
|
+
s && F(e);
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
419
|
}
|
|
@@ -428,7 +428,7 @@ function we(i) {
|
|
|
428
428
|
i[0] == "Closed" ? "CardImgFinished" : "")), K(e, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
|
|
429
429
|
},
|
|
430
430
|
m(n, o) {
|
|
431
|
-
|
|
431
|
+
z(n, e, o), s || (l = L(
|
|
432
432
|
/*matchStatus*/
|
|
433
433
|
i[18].call(null, e)
|
|
434
434
|
), s = !0);
|
|
@@ -443,7 +443,7 @@ function we(i) {
|
|
|
443
443
|
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r);
|
|
444
444
|
},
|
|
445
445
|
d(n) {
|
|
446
|
-
n &&
|
|
446
|
+
n && F(e), s = !1, l();
|
|
447
447
|
}
|
|
448
448
|
};
|
|
449
449
|
}
|
|
@@ -459,7 +459,7 @@ function Re(i) {
|
|
|
459
459
|
i[4] + "')");
|
|
460
460
|
},
|
|
461
461
|
m(n, o) {
|
|
462
|
-
|
|
462
|
+
z(n, e, o), s || (l = L(
|
|
463
463
|
/*matchStatus*/
|
|
464
464
|
i[18].call(null, e)
|
|
465
465
|
), s = !0);
|
|
@@ -476,7 +476,7 @@ function Re(i) {
|
|
|
476
476
|
n[4] + "')");
|
|
477
477
|
},
|
|
478
478
|
d(n) {
|
|
479
|
-
n &&
|
|
479
|
+
n && F(e), s = !1, l();
|
|
480
480
|
}
|
|
481
481
|
};
|
|
482
482
|
}
|
|
@@ -490,7 +490,7 @@ function ee(i) {
|
|
|
490
490
|
), u(e, "class", "Date"), u(e, "part", "Date");
|
|
491
491
|
},
|
|
492
492
|
m(n, o) {
|
|
493
|
-
|
|
493
|
+
z(n, e, o), c(e, t), s || (l = L(r = /*formatDate*/
|
|
494
494
|
i[17].call(
|
|
495
495
|
null,
|
|
496
496
|
e,
|
|
@@ -504,7 +504,7 @@ function ee(i) {
|
|
|
504
504
|
t,
|
|
505
505
|
/*shownDate*/
|
|
506
506
|
n[11]
|
|
507
|
-
), r &&
|
|
507
|
+
), r && Ae(r.update) && o[0] & /*startdate*/
|
|
508
508
|
4 && r.update.call(
|
|
509
509
|
null,
|
|
510
510
|
/*startdate*/
|
|
@@ -512,7 +512,7 @@ function ee(i) {
|
|
|
512
512
|
);
|
|
513
513
|
},
|
|
514
514
|
d(n) {
|
|
515
|
-
n &&
|
|
515
|
+
n && F(e), s = !1, l();
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
518
|
}
|
|
@@ -529,7 +529,7 @@ function te(i) {
|
|
|
529
529
|
), y, E, _, R = (
|
|
530
530
|
/*$_*/
|
|
531
531
|
i[16]("here") + ""
|
|
532
|
-
), B,
|
|
532
|
+
), B, I, j, N;
|
|
533
533
|
return {
|
|
534
534
|
c() {
|
|
535
535
|
e = M("div"), t = M("p"), s = v(r), l = v(`:
|
|
@@ -546,22 +546,22 @@ function te(i) {
|
|
|
546
546
|
"href",
|
|
547
547
|
/*gameurl*/
|
|
548
548
|
i[8]
|
|
549
|
-
), u(_, "target",
|
|
549
|
+
), u(_, "target", I = /*keepbrowsercontext*/
|
|
550
550
|
i[9] === "true" ? "_self" : "_blank"), u(d, "part", "GamesP"), u(g, "class", "Games"), u(g, "part", "Games");
|
|
551
551
|
},
|
|
552
552
|
m(p, T) {
|
|
553
|
-
|
|
553
|
+
z(p, e, T), c(e, t), c(t, s), c(t, l), c(t, n), c(n, o), c(t, b), c(t, f), c(t, h), c(t, A), c(t, J), z(p, k, T), z(p, g, T), c(g, d), c(d, y), c(d, E), c(d, _), c(_, B), j || (N = [
|
|
554
554
|
L(
|
|
555
555
|
/*matchScoreCriteria*/
|
|
556
556
|
i[19].call(null, n)
|
|
557
557
|
),
|
|
558
|
-
|
|
558
|
+
Se(
|
|
559
559
|
_,
|
|
560
560
|
"click",
|
|
561
561
|
/*click_handler*/
|
|
562
562
|
i[28]
|
|
563
563
|
)
|
|
564
|
-
],
|
|
564
|
+
], j = !0);
|
|
565
565
|
},
|
|
566
566
|
p(p, T) {
|
|
567
567
|
T[0] & /*$_*/
|
|
@@ -589,11 +589,11 @@ function te(i) {
|
|
|
589
589
|
/*gameurl*/
|
|
590
590
|
p[8]
|
|
591
591
|
), T[0] & /*keepbrowsercontext*/
|
|
592
|
-
512 &&
|
|
593
|
-
p[9] === "true" ? "_self" : "_blank") && u(_, "target",
|
|
592
|
+
512 && I !== (I = /*keepbrowsercontext*/
|
|
593
|
+
p[9] === "true" ? "_self" : "_blank") && u(_, "target", I);
|
|
594
594
|
},
|
|
595
595
|
d(p) {
|
|
596
|
-
p && (
|
|
596
|
+
p && (F(e), F(k), F(g)), j = !1, ke(N);
|
|
597
597
|
}
|
|
598
598
|
};
|
|
599
599
|
}
|
|
@@ -626,7 +626,7 @@ function Je(i) {
|
|
|
626
626
|
), b = O(), g && g.c(), w = O(), d && d.c(), u(n, "class", "Title"), u(n, "part", "Title"), u(l, "class", "Details"), u(l, "part", "Details"), u(e, "class", "Thumbnail"), u(e, "part", "Thumbnail");
|
|
627
627
|
},
|
|
628
628
|
m(m, y) {
|
|
629
|
-
|
|
629
|
+
z(m, e, y), f && f.m(e, null), c(e, t), h && h.m(e, null), c(e, r), k.m(e, null), c(e, s), c(e, l), c(l, n), c(n, o), c(l, b), g && g.m(l, null), c(l, w), d && d.m(l, null), i[29](e);
|
|
630
630
|
},
|
|
631
631
|
p(m, y) {
|
|
632
632
|
/*status*/
|
|
@@ -643,14 +643,14 @@ function Je(i) {
|
|
|
643
643
|
i: q,
|
|
644
644
|
o: q,
|
|
645
645
|
d(m) {
|
|
646
|
-
m &&
|
|
646
|
+
m && F(e), f && f.d(), h && h.d(), k.d(), g && g.d(), d && d.d(), i[29](null);
|
|
647
647
|
}
|
|
648
648
|
};
|
|
649
649
|
}
|
|
650
650
|
function De(i, e, t) {
|
|
651
651
|
let r;
|
|
652
|
-
|
|
653
|
-
let { session: s = "" } = e, { userid: l = "" } = e, { title: n = "" } = e, { startdate: o = "" } = e, { status: b = "" } = e, { tourid: w = "" } = e, { thumbnail: f = "" } = e, { userenrolled: h = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: J = "" } = e, { showenrolled: k = "false" } = e, { gameurl: g = "" } = e, { lang: d = "en" } = e, { keepbrowsercontext: m = "false" } = e, { clientstyling: y = "" } = e, { clientstylingurl: E = "" } = e, { translationurl: _ = "" } = e, R, B = "",
|
|
652
|
+
he(i, Te, (a) => t(16, r = a));
|
|
653
|
+
let { session: s = "" } = e, { userid: l = "" } = e, { title: n = "" } = e, { startdate: o = "" } = e, { status: b = "" } = e, { tourid: w = "" } = e, { thumbnail: f = "" } = e, { userenrolled: h = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: J = "" } = e, { showenrolled: k = "false" } = e, { gameurl: g = "" } = e, { lang: d = "en" } = e, { keepbrowsercontext: m = "false" } = e, { clientstyling: y = "" } = e, { clientstylingurl: E = "" } = e, { translationurl: _ = "" } = e, R, B = "", I = !1, j = "", N = "", p = "";
|
|
654
654
|
const T = () => {
|
|
655
655
|
fetch(_).then((C) => C.json()).then((C) => {
|
|
656
656
|
Object.keys(C).forEach((W) => {
|
|
@@ -664,7 +664,7 @@ function De(i, e, t) {
|
|
|
664
664
|
Y(a, Z[a]);
|
|
665
665
|
});
|
|
666
666
|
const U = (a) => {
|
|
667
|
-
a.data && (a.data && a.data.type == "SessionID" && t(12,
|
|
667
|
+
a.data && (a.data && a.data.type == "SessionID" && t(12, I = !0), a.data.type == `TournamentStatus_${w}` && t(0, b = a.data.status));
|
|
668
668
|
}, P = () => {
|
|
669
669
|
const a = { month: "long" };
|
|
670
670
|
let C = new Date(o), W = new Intl.DateTimeFormat("en", a).format(C), oe = C.getDate(), le = C.toLocaleString("en-GB", {
|
|
@@ -675,13 +675,13 @@ function De(i, e, t) {
|
|
|
675
675
|
const ue = () => r(b === "Running" ? "startedAt" : "startingAt");
|
|
676
676
|
t(11, B = `${oe} ` + r(`${W}`) + ", " + ue() + ` ${le}`);
|
|
677
677
|
}, x = () => {
|
|
678
|
-
b == "Unstarted" && (t(13,
|
|
678
|
+
b == "Unstarted" && (t(13, j = r("scheduled")), t(15, p = "StatusUnstarted")), b == "Running" && (t(13, j = r("ongoing")), t(15, p = "StatusRunning")), (b == "Closed" || b == "Closing") && t(13, j = r("finished")), b == "Closed" && t(15, p = "StatusClosed"), b == "Closing" && t(15, p = "StatusClosing");
|
|
679
679
|
}, G = () => {
|
|
680
680
|
A == "BetCount" && t(14, N = r("betCount")), A == "MaxWinStakeRatio" && t(14, N = r("maxWinStakeRatio")), A == "WinStakeRatio" && t(14, N = r("winStakeRatio")), A == "Stake" && t(14, N = r("stake"));
|
|
681
681
|
}, V = (a, C) => {
|
|
682
682
|
window.postMessage({ type: "tournamentGamesClicked", tourId: C }, window.location.href);
|
|
683
683
|
}, ie = () => {
|
|
684
|
-
s.length > 0 && s != "false" ? t(12,
|
|
684
|
+
s.length > 0 && s != "false" ? t(12, I = !0) : t(12, I = !1);
|
|
685
685
|
}, ae = () => {
|
|
686
686
|
let a = document.createElement("style");
|
|
687
687
|
a.innerHTML = y, R.appendChild(a);
|
|
@@ -700,14 +700,14 @@ function De(i, e, t) {
|
|
|
700
700
|
);
|
|
701
701
|
});
|
|
702
702
|
};
|
|
703
|
-
|
|
703
|
+
pe(() => (setTimeout(() => H(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", U, !1), () => {
|
|
704
704
|
window.removeEventListener("message", U);
|
|
705
705
|
}));
|
|
706
706
|
const H = () => {
|
|
707
707
|
Me(d), G(), x(), o && P();
|
|
708
708
|
}, ne = () => V();
|
|
709
709
|
function se(a) {
|
|
710
|
-
|
|
710
|
+
Ce[a ? "unshift" : "push"](() => {
|
|
711
711
|
R = a, t(10, R);
|
|
712
712
|
});
|
|
713
713
|
}
|
|
@@ -736,8 +736,8 @@ function De(i, e, t) {
|
|
|
736
736
|
m,
|
|
737
737
|
R,
|
|
738
738
|
B,
|
|
739
|
-
j,
|
|
740
739
|
I,
|
|
740
|
+
j,
|
|
741
741
|
N,
|
|
742
742
|
p,
|
|
743
743
|
r,
|
|
@@ -763,7 +763,7 @@ class Fe extends ce {
|
|
|
763
763
|
e,
|
|
764
764
|
De,
|
|
765
765
|
Je,
|
|
766
|
-
|
|
766
|
+
be,
|
|
767
767
|
{
|
|
768
768
|
session: 21,
|
|
769
769
|
userid: 22,
|
|
@@ -890,7 +890,7 @@ class Fe extends ce {
|
|
|
890
890
|
this.$$set({ translationurl: e }), S();
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
|
-
|
|
893
|
+
_e(Fe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
894
894
|
export {
|
|
895
895
|
Fe as default
|
|
896
896
|
};
|
package/components/{CasinoTournamentsThumbnail-Dq4yRdNG.js → CasinoTournamentsThumbnail-CfBfOQ6y.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as me, z as de, S as ce, i as ge,
|
|
1
|
+
import { a as me, z as de, S as ce, i as ge, s as be, f as S, b as fe, n as q, d as F, m as D, c as z, o as c, e as v, p as O, t as M, g as u, j as he, w as pe, A as L, x as ye, B as ke, r as Se, q as Ce, C as K, D as Ae, v as _e, $ as Te } from "./CasinoTournamentsController-UUtBZIFh.js";
|
|
2
2
|
function Y(i, e) {
|
|
3
3
|
me(i, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function ve(i) {
|
|
6
6
|
de.set(i);
|
|
7
7
|
}
|
|
8
8
|
const Z = {
|
|
@@ -337,14 +337,14 @@ const Z = {
|
|
|
337
337
|
December: "December"
|
|
338
338
|
}
|
|
339
339
|
};
|
|
340
|
-
function
|
|
341
|
-
|
|
340
|
+
function Me(i) {
|
|
341
|
+
fe(i, "svelte-1gxooas", ':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"}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.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}.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}');
|
|
342
342
|
}
|
|
343
343
|
function Q(i) {
|
|
344
344
|
let e, t, r, s, l, n;
|
|
345
345
|
return {
|
|
346
346
|
c() {
|
|
347
|
-
e =
|
|
347
|
+
e = v("div"), t = M(
|
|
348
348
|
/*shownStatus*/
|
|
349
349
|
i[13]
|
|
350
350
|
), u(e, "class", r = "Status " + /*statusClass*/
|
|
@@ -352,7 +352,7 @@ function Q(i) {
|
|
|
352
352
|
i[15]);
|
|
353
353
|
},
|
|
354
354
|
m(o, b) {
|
|
355
|
-
|
|
355
|
+
z(o, e, b), c(e, t), l || (n = L(
|
|
356
356
|
/*matchStatus*/
|
|
357
357
|
i[18].call(null, e)
|
|
358
358
|
), l = !0);
|
|
@@ -370,7 +370,7 @@ function Q(i) {
|
|
|
370
370
|
o[15]) && u(e, "part", s);
|
|
371
371
|
},
|
|
372
372
|
d(o) {
|
|
373
|
-
o &&
|
|
373
|
+
o && F(e), l = !1, n();
|
|
374
374
|
}
|
|
375
375
|
};
|
|
376
376
|
}
|
|
@@ -381,17 +381,17 @@ function X(i) {
|
|
|
381
381
|
);
|
|
382
382
|
return {
|
|
383
383
|
c() {
|
|
384
|
-
t && t.c(), e =
|
|
384
|
+
t && t.c(), e = ye();
|
|
385
385
|
},
|
|
386
386
|
m(r, s) {
|
|
387
|
-
t && t.m(r, s),
|
|
387
|
+
t && t.m(r, s), z(r, e, s);
|
|
388
388
|
},
|
|
389
389
|
p(r, s) {
|
|
390
390
|
/*userenrolled*/
|
|
391
391
|
r[5] ? t ? t.p(r, s) : (t = $(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
392
392
|
},
|
|
393
393
|
d(r) {
|
|
394
|
-
r &&
|
|
394
|
+
r && F(e), t && t.d(r);
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
}
|
|
@@ -402,10 +402,10 @@ function $(i) {
|
|
|
402
402
|
), r;
|
|
403
403
|
return {
|
|
404
404
|
c() {
|
|
405
|
-
e =
|
|
405
|
+
e = v("div"), r = M(t), u(e, "class", "Enrolled"), u(e, "part", "Enrolled");
|
|
406
406
|
},
|
|
407
407
|
m(s, l) {
|
|
408
|
-
|
|
408
|
+
z(s, e, l), c(e, r);
|
|
409
409
|
},
|
|
410
410
|
p(s, l) {
|
|
411
411
|
l[0] & /*$_*/
|
|
@@ -413,7 +413,7 @@ function $(i) {
|
|
|
413
413
|
s[16]("enrolled") + "") && D(r, t);
|
|
414
414
|
},
|
|
415
415
|
d(s) {
|
|
416
|
-
s &&
|
|
416
|
+
s && F(e);
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
419
|
}
|
|
@@ -421,14 +421,14 @@ function we(i) {
|
|
|
421
421
|
let e, t, r, s, l;
|
|
422
422
|
return {
|
|
423
423
|
c() {
|
|
424
|
-
e =
|
|
424
|
+
e = v("div"), u(e, "class", t = "CardImg " + /*status*/
|
|
425
425
|
(i[0] == "Closing" || /*status*/
|
|
426
426
|
i[0] == "Closed" ? "CardImgFinished" : "")), u(e, "part", r = "CardImg " + /*status*/
|
|
427
427
|
(i[0] == "Closing" || /*status*/
|
|
428
428
|
i[0] == "Closed" ? "CardImgFinished" : "")), K(e, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
|
|
429
429
|
},
|
|
430
430
|
m(n, o) {
|
|
431
|
-
|
|
431
|
+
z(n, e, o), s || (l = L(
|
|
432
432
|
/*matchStatus*/
|
|
433
433
|
i[18].call(null, e)
|
|
434
434
|
), s = !0);
|
|
@@ -443,7 +443,7 @@ function we(i) {
|
|
|
443
443
|
n[0] == "Closed" ? "CardImgFinished" : "")) && u(e, "part", r);
|
|
444
444
|
},
|
|
445
445
|
d(n) {
|
|
446
|
-
n &&
|
|
446
|
+
n && F(e), s = !1, l();
|
|
447
447
|
}
|
|
448
448
|
};
|
|
449
449
|
}
|
|
@@ -451,7 +451,7 @@ function Re(i) {
|
|
|
451
451
|
let e, t, r, s, l;
|
|
452
452
|
return {
|
|
453
453
|
c() {
|
|
454
|
-
e =
|
|
454
|
+
e = v("div"), u(e, "class", t = "CardImg " + /*status*/
|
|
455
455
|
(i[0] == "Closing" || /*status*/
|
|
456
456
|
i[0] == "Closed" ? "CardImgFinished" : "")), u(e, "part", r = "CardImg " + /*status*/
|
|
457
457
|
(i[0] == "Closing" || /*status*/
|
|
@@ -459,7 +459,7 @@ function Re(i) {
|
|
|
459
459
|
i[4] + "')");
|
|
460
460
|
},
|
|
461
461
|
m(n, o) {
|
|
462
|
-
|
|
462
|
+
z(n, e, o), s || (l = L(
|
|
463
463
|
/*matchStatus*/
|
|
464
464
|
i[18].call(null, e)
|
|
465
465
|
), s = !0);
|
|
@@ -476,7 +476,7 @@ function Re(i) {
|
|
|
476
476
|
n[4] + "')");
|
|
477
477
|
},
|
|
478
478
|
d(n) {
|
|
479
|
-
n &&
|
|
479
|
+
n && F(e), s = !1, l();
|
|
480
480
|
}
|
|
481
481
|
};
|
|
482
482
|
}
|
|
@@ -484,13 +484,13 @@ function ee(i) {
|
|
|
484
484
|
let e, t, r, s, l;
|
|
485
485
|
return {
|
|
486
486
|
c() {
|
|
487
|
-
e =
|
|
487
|
+
e = v("div"), t = M(
|
|
488
488
|
/*shownDate*/
|
|
489
489
|
i[11]
|
|
490
490
|
), u(e, "class", "Date"), u(e, "part", "Date");
|
|
491
491
|
},
|
|
492
492
|
m(n, o) {
|
|
493
|
-
|
|
493
|
+
z(n, e, o), c(e, t), s || (l = L(r = /*formatDate*/
|
|
494
494
|
i[17].call(
|
|
495
495
|
null,
|
|
496
496
|
e,
|
|
@@ -504,7 +504,7 @@ function ee(i) {
|
|
|
504
504
|
t,
|
|
505
505
|
/*shownDate*/
|
|
506
506
|
n[11]
|
|
507
|
-
), r &&
|
|
507
|
+
), r && Ae(r.update) && o[0] & /*startdate*/
|
|
508
508
|
4 && r.update.call(
|
|
509
509
|
null,
|
|
510
510
|
/*startdate*/
|
|
@@ -512,7 +512,7 @@ function ee(i) {
|
|
|
512
512
|
);
|
|
513
513
|
},
|
|
514
514
|
d(n) {
|
|
515
|
-
n &&
|
|
515
|
+
n && F(e), s = !1, l();
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
518
|
}
|
|
@@ -532,16 +532,16 @@ function te(i) {
|
|
|
532
532
|
), B, j, I, N;
|
|
533
533
|
return {
|
|
534
534
|
c() {
|
|
535
|
-
e =
|
|
535
|
+
e = v("div"), t = v("p"), s = M(r), l = M(`:
|
|
536
536
|
|
|
537
|
-
`), n =
|
|
537
|
+
`), n = v("span"), o = M(
|
|
538
538
|
/*showScoreCriteria*/
|
|
539
539
|
i[14]
|
|
540
|
-
), b =
|
|
541
|
-
(`), f =
|
|
540
|
+
), b = M(`
|
|
541
|
+
(`), f = M(w), h = O(), A = M(
|
|
542
542
|
/*minbetcount*/
|
|
543
543
|
i[6]
|
|
544
|
-
), J =
|
|
544
|
+
), J = M(")"), k = O(), g = v("div"), d = v("p"), y = M(m), E = O(), _ = v("a"), B = M(R), u(n, "part", "ScoreCriteriaSpan"), u(t, "part", "ScoreCriteriaP"), u(e, "class", "ScoreCriteria"), u(e, "part", "ScoreCriteria"), u(_, "part", "GamesAnchor"), u(
|
|
545
545
|
_,
|
|
546
546
|
"href",
|
|
547
547
|
/*gameurl*/
|
|
@@ -550,12 +550,12 @@ function te(i) {
|
|
|
550
550
|
i[9] === "true" ? "_self" : "_blank"), u(d, "part", "GamesP"), u(g, "class", "Games"), u(g, "part", "Games");
|
|
551
551
|
},
|
|
552
552
|
m(p, T) {
|
|
553
|
-
|
|
553
|
+
z(p, e, T), c(e, t), c(t, s), c(t, l), c(t, n), c(n, o), c(t, b), c(t, f), c(t, h), c(t, A), c(t, J), z(p, k, T), z(p, g, T), c(g, d), c(d, y), c(d, E), c(d, _), c(_, B), I || (N = [
|
|
554
554
|
L(
|
|
555
555
|
/*matchScoreCriteria*/
|
|
556
556
|
i[19].call(null, n)
|
|
557
557
|
),
|
|
558
|
-
|
|
558
|
+
Se(
|
|
559
559
|
_,
|
|
560
560
|
"click",
|
|
561
561
|
/*click_handler*/
|
|
@@ -593,7 +593,7 @@ function te(i) {
|
|
|
593
593
|
p[9] === "true" ? "_self" : "_blank") && u(_, "target", j);
|
|
594
594
|
},
|
|
595
595
|
d(p) {
|
|
596
|
-
p && (
|
|
596
|
+
p && (F(e), F(k), F(g)), I = !1, ke(N);
|
|
597
597
|
}
|
|
598
598
|
};
|
|
599
599
|
}
|
|
@@ -620,13 +620,13 @@ function Je(i) {
|
|
|
620
620
|
);
|
|
621
621
|
return {
|
|
622
622
|
c() {
|
|
623
|
-
e =
|
|
623
|
+
e = v("div"), f && f.c(), t = O(), h && h.c(), r = O(), k.c(), s = O(), l = v("div"), n = v("div"), o = M(
|
|
624
624
|
/*title*/
|
|
625
625
|
i[1]
|
|
626
626
|
), b = O(), g && g.c(), w = O(), d && d.c(), u(n, "class", "Title"), u(n, "part", "Title"), u(l, "class", "Details"), u(l, "part", "Details"), u(e, "class", "Thumbnail"), u(e, "part", "Thumbnail");
|
|
627
627
|
},
|
|
628
628
|
m(m, y) {
|
|
629
|
-
|
|
629
|
+
z(m, e, y), f && f.m(e, null), c(e, t), h && h.m(e, null), c(e, r), k.m(e, null), c(e, s), c(e, l), c(l, n), c(n, o), c(l, b), g && g.m(l, null), c(l, w), d && d.m(l, null), i[29](e);
|
|
630
630
|
},
|
|
631
631
|
p(m, y) {
|
|
632
632
|
/*status*/
|
|
@@ -643,13 +643,13 @@ function Je(i) {
|
|
|
643
643
|
i: q,
|
|
644
644
|
o: q,
|
|
645
645
|
d(m) {
|
|
646
|
-
m &&
|
|
646
|
+
m && F(e), f && f.d(), h && h.d(), k.d(), g && g.d(), d && d.d(), i[29](null);
|
|
647
647
|
}
|
|
648
648
|
};
|
|
649
649
|
}
|
|
650
650
|
function De(i, e, t) {
|
|
651
651
|
let r;
|
|
652
|
-
|
|
652
|
+
he(i, Te, (a) => t(16, r = a));
|
|
653
653
|
let { session: s = "" } = e, { userid: l = "" } = e, { title: n = "" } = e, { startdate: o = "" } = e, { status: b = "" } = e, { tourid: w = "" } = e, { thumbnail: f = "" } = e, { userenrolled: h = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: J = "" } = e, { showenrolled: k = "false" } = e, { gameurl: g = "" } = e, { lang: d = "en" } = e, { keepbrowsercontext: m = "false" } = e, { clientstyling: y = "" } = e, { clientstylingurl: E = "" } = e, { translationurl: _ = "" } = e, R, B = "", j = !1, I = "", N = "", p = "";
|
|
654
654
|
const T = () => {
|
|
655
655
|
fetch(_).then((C) => C.json()).then((C) => {
|
|
@@ -700,14 +700,14 @@ function De(i, e, t) {
|
|
|
700
700
|
);
|
|
701
701
|
});
|
|
702
702
|
};
|
|
703
|
-
|
|
703
|
+
pe(() => (setTimeout(() => H(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", U, !1), () => {
|
|
704
704
|
window.removeEventListener("message", U);
|
|
705
705
|
}));
|
|
706
706
|
const H = () => {
|
|
707
|
-
|
|
707
|
+
ve(d), G(), x(), o && P();
|
|
708
708
|
}, ne = () => V();
|
|
709
709
|
function se(a) {
|
|
710
|
-
|
|
710
|
+
Ce[a ? "unshift" : "push"](() => {
|
|
711
711
|
R = a, t(10, R);
|
|
712
712
|
});
|
|
713
713
|
}
|
|
@@ -763,7 +763,7 @@ class Fe extends ce {
|
|
|
763
763
|
e,
|
|
764
764
|
De,
|
|
765
765
|
Je,
|
|
766
|
-
|
|
766
|
+
be,
|
|
767
767
|
{
|
|
768
768
|
session: 21,
|
|
769
769
|
userid: 22,
|
|
@@ -783,7 +783,7 @@ class Fe extends ce {
|
|
|
783
783
|
clientstylingurl: 26,
|
|
784
784
|
translationurl: 27
|
|
785
785
|
},
|
|
786
|
-
|
|
786
|
+
Me,
|
|
787
787
|
[-1, -1]
|
|
788
788
|
);
|
|
789
789
|
}
|
|
@@ -890,7 +890,7 @@ class Fe extends ce {
|
|
|
890
890
|
this.$$set({ translationurl: e }), S();
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
|
-
|
|
893
|
+
_e(Fe, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
894
894
|
export {
|
|
895
895
|
Fe as default
|
|
896
896
|
};
|