@everymatrix/casino-tournaments-controller 1.65.2 → 1.66.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-BXeJ6peR.js → CasinoTournamentsController-2bTwgvFF.js} +7 -7
- package/components/{CasinoTournamentsController-B0OzPCku.js → CasinoTournamentsController-BULZ_y4b.js} +7 -7
- package/components/{CasinoTournamentsController-BWrEQTp7.cjs → CasinoTournamentsController-CYyTUNIz.cjs} +1 -1
- package/components/{CasinoTournamentsFilterController-Cqy5NLeZ.js → CasinoTournamentsFilterController-CoqpuR3P.js} +1 -1
- package/components/{CasinoTournamentsFilterController-CRbcIdR8.js → CasinoTournamentsFilterController-DXDkdo0S.js} +1 -1
- package/components/{CasinoTournamentsFilterController-CwPoNf3E.cjs → CasinoTournamentsFilterController-DjLEXDTC.cjs} +1 -1
- package/components/{CasinoTournamentsListController-DSmX3w4z.js → CasinoTournamentsListController-DT6zQNpY.js} +2 -2
- package/components/{CasinoTournamentsListController-F1noSUOm.cjs → CasinoTournamentsListController-DWgmnfOc.cjs} +2 -2
- package/components/{CasinoTournamentsListController-BWO5gGZc.js → CasinoTournamentsListController-DuHpRjLq.js} +2 -2
- package/components/CasinoTournamentsThumbnail-BWfbNcYT.cjs +4 -0
- package/components/{CasinoTournamentsThumbnail-CtmmnGnQ.js → CasinoTournamentsThumbnail-CueG5cos.js} +132 -126
- package/components/{CasinoTournamentsThumbnail-DozFqlDO.js → CasinoTournamentsThumbnail-lBi843NX.js} +132 -126
- package/components/{CasinoTournamentsThumbnailController-DGnfCZVH.js → CasinoTournamentsThumbnailController-CBp3ylH6.js} +5 -5
- package/components/{CasinoTournamentsThumbnailController-BoCcPw0R.cjs → CasinoTournamentsThumbnailController-CE8cLaj5.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-CBplV0eU.js → CasinoTournamentsThumbnailController-eBnrMpwv.js} +5 -5
- package/components/{CasinoTournamentsThumbnailDuration-Bxwt9SDq.js → CasinoTournamentsThumbnailDuration-B87YJ1nA.js} +11 -11
- package/components/{CasinoTournamentsThumbnailDuration-CsDvrHv5.js → CasinoTournamentsThumbnailDuration-CEChJpk4.js} +11 -11
- package/components/{CasinoTournamentsThumbnailDuration-CVw8hY88.cjs → CasinoTournamentsThumbnailDuration-DYI4yj5n.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-DT65cqlv.js → CasinoTournamentsThumbnailGamesSlider-DODIM4Fk.js} +21 -21
- package/components/{CasinoTournamentsThumbnailGamesSlider-DZw8vFWh.cjs → CasinoTournamentsThumbnailGamesSlider-DWAgOpLA.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-CGTo4T10.js → CasinoTournamentsThumbnailGamesSlider-LtmE1Ho2.js} +21 -21
- package/components/{CasinoTournamentsThumbnailPrizes-DY5e6Uyd.cjs → CasinoTournamentsThumbnailPrizes-BpQPVoHy.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-Bsqu7QI0.js → CasinoTournamentsThumbnailPrizes-CWqeOB0q.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-KvarqmH6.js → CasinoTournamentsThumbnailPrizes-DBsFGpAH.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
- package/components/CasinoTournamentsThumbnail-Bsp-5WN-.cjs +0 -4
package/components/{CasinoTournamentsThumbnail-DozFqlDO.js → CasinoTournamentsThumbnail-lBi843NX.js}
RENAMED
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z as H, A as fe, a as be, S as he, i as pe, s as ke, f as S, b as ye, n as Z, d as C, g as m, c as _, o as g, e as y, p as I, j as Se, w as Ce, m as D, t as w, q as _e, B, x as Ae, C as Te, r as ve, D as V, y as L, E as Me, v as we, $ as Re } from "./CasinoTournamentsController-2bTwgvFF.js";
|
|
2
2
|
import "../stencil/ui-skeleton-CVBjRUvi.js";
|
|
3
3
|
import "../stencil/ui-image-3hy4ZvUC.js";
|
|
4
|
-
function
|
|
5
|
-
|
|
4
|
+
function Je({ withLocale: i, translations: e }) {
|
|
5
|
+
H.subscribe((t) => {
|
|
6
|
+
t == null && (fe.set(e), H.set(i));
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function Q(i, e) {
|
|
10
|
+
be(i, e);
|
|
6
11
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
12
|
+
function De(i) {
|
|
13
|
+
H.set(i);
|
|
9
14
|
}
|
|
10
|
-
const
|
|
15
|
+
const X = {
|
|
11
16
|
en: {
|
|
12
17
|
enrolled: "Enrolled",
|
|
13
18
|
scoreCriteria: "Score Criteria",
|
|
@@ -339,10 +344,10 @@ const Q = {
|
|
|
339
344
|
December: "December"
|
|
340
345
|
}
|
|
341
346
|
};
|
|
342
|
-
function
|
|
343
|
-
|
|
347
|
+
function Ie(i) {
|
|
348
|
+
ye(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}');
|
|
344
349
|
}
|
|
345
|
-
function
|
|
350
|
+
function $(i) {
|
|
346
351
|
let e, t, n;
|
|
347
352
|
return {
|
|
348
353
|
c() {
|
|
@@ -356,30 +361,30 @@ function X(i) {
|
|
|
356
361
|
}
|
|
357
362
|
};
|
|
358
363
|
}
|
|
359
|
-
function
|
|
364
|
+
function ee(i) {
|
|
360
365
|
let e, t, n, a, s, u, d, l, c = (
|
|
361
366
|
/*status*/
|
|
362
|
-
i[0] &&
|
|
367
|
+
i[0] && te(i)
|
|
363
368
|
), h = (
|
|
364
369
|
/*showenrolled*/
|
|
365
|
-
i[7] == "true" &&
|
|
370
|
+
i[7] == "true" && ie(i)
|
|
366
371
|
);
|
|
367
372
|
function z(o, b) {
|
|
368
373
|
return (
|
|
369
374
|
/*thumbnail*/
|
|
370
|
-
o[4] ?
|
|
375
|
+
o[4] ? ze : Fe
|
|
371
376
|
);
|
|
372
377
|
}
|
|
373
378
|
let A = z(i), T = A(i), p = (
|
|
374
379
|
/*startdate*/
|
|
375
|
-
i[2] &&
|
|
380
|
+
i[2] && ne(i)
|
|
376
381
|
), f = (
|
|
377
382
|
/*isLoggedIn*/
|
|
378
|
-
i[12] &&
|
|
383
|
+
i[12] && re(i)
|
|
379
384
|
);
|
|
380
385
|
return {
|
|
381
386
|
c() {
|
|
382
|
-
c && c.c(), e = I(), h && h.c(), t = I(), T.c(), n = I(), a = y("div"), s = y("div"), u =
|
|
387
|
+
c && c.c(), e = I(), h && h.c(), t = I(), T.c(), n = I(), a = y("div"), s = y("div"), u = w(
|
|
383
388
|
/*title*/
|
|
384
389
|
i[1]
|
|
385
390
|
), d = I(), p && p.c(), l = I(), f && f.c(), m(s, "class", "Title"), m(s, "part", "Title"), m(a, "class", "Details"), m(a, "part", "Details");
|
|
@@ -389,26 +394,26 @@ function $(i) {
|
|
|
389
394
|
},
|
|
390
395
|
p(o, b) {
|
|
391
396
|
/*status*/
|
|
392
|
-
o[0] ? c ? c.p(o, b) : (c =
|
|
393
|
-
o[7] == "true" ? h ? h.p(o, b) : (h =
|
|
397
|
+
o[0] ? c ? c.p(o, b) : (c = te(o), c.c(), c.m(e.parentNode, e)) : c && (c.d(1), c = null), /*showenrolled*/
|
|
398
|
+
o[7] == "true" ? h ? h.p(o, b) : (h = ie(o), h.c(), h.m(t.parentNode, t)) : h && (h.d(1), h = null), A === (A = z(o)) && T ? T.p(o, b) : (T.d(1), T = A(o), T && (T.c(), T.m(n.parentNode, n))), b[0] & /*title*/
|
|
394
399
|
2 && D(
|
|
395
400
|
u,
|
|
396
401
|
/*title*/
|
|
397
402
|
o[1]
|
|
398
403
|
), /*startdate*/
|
|
399
|
-
o[2] ? p ? p.p(o, b) : (p =
|
|
400
|
-
o[12] ? f ? f.p(o, b) : (f =
|
|
404
|
+
o[2] ? p ? p.p(o, b) : (p = ne(o), p.c(), p.m(a, l)) : p && (p.d(1), p = null), /*isLoggedIn*/
|
|
405
|
+
o[12] ? f ? f.p(o, b) : (f = re(o), f.c(), f.m(a, null)) : f && (f.d(1), f = null);
|
|
401
406
|
},
|
|
402
407
|
d(o) {
|
|
403
408
|
o && (C(e), C(t), C(n), C(a)), c && c.d(o), h && h.d(o), T.d(o), p && p.d(), f && f.d();
|
|
404
409
|
}
|
|
405
410
|
};
|
|
406
411
|
}
|
|
407
|
-
function
|
|
412
|
+
function te(i) {
|
|
408
413
|
let e, t, n, a, s, u;
|
|
409
414
|
return {
|
|
410
415
|
c() {
|
|
411
|
-
e = y("div"), t =
|
|
416
|
+
e = y("div"), t = w(
|
|
412
417
|
/*shownStatus*/
|
|
413
418
|
i[13]
|
|
414
419
|
), m(e, "class", n = "Status " + /*statusClass*/
|
|
@@ -438,35 +443,35 @@ function ee(i) {
|
|
|
438
443
|
}
|
|
439
444
|
};
|
|
440
445
|
}
|
|
441
|
-
function
|
|
446
|
+
function ie(i) {
|
|
442
447
|
let e, t = (
|
|
443
448
|
/*userenrolled*/
|
|
444
|
-
i[5] &&
|
|
449
|
+
i[5] && ae(i)
|
|
445
450
|
);
|
|
446
451
|
return {
|
|
447
452
|
c() {
|
|
448
|
-
t && t.c(), e =
|
|
453
|
+
t && t.c(), e = Ae();
|
|
449
454
|
},
|
|
450
455
|
m(n, a) {
|
|
451
456
|
t && t.m(n, a), _(n, e, a);
|
|
452
457
|
},
|
|
453
458
|
p(n, a) {
|
|
454
459
|
/*userenrolled*/
|
|
455
|
-
n[5] ? t ? t.p(n, a) : (t =
|
|
460
|
+
n[5] ? t ? t.p(n, a) : (t = ae(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
456
461
|
},
|
|
457
462
|
d(n) {
|
|
458
463
|
n && C(e), t && t.d(n);
|
|
459
464
|
}
|
|
460
465
|
};
|
|
461
466
|
}
|
|
462
|
-
function
|
|
467
|
+
function ae(i) {
|
|
463
468
|
let e, t = (
|
|
464
469
|
/*$_*/
|
|
465
470
|
i[16]("enrolled") + ""
|
|
466
471
|
), n;
|
|
467
472
|
return {
|
|
468
473
|
c() {
|
|
469
|
-
e = y("div"), n =
|
|
474
|
+
e = y("div"), n = w(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
|
|
470
475
|
},
|
|
471
476
|
m(a, s) {
|
|
472
477
|
_(a, e, s), g(e, n);
|
|
@@ -481,11 +486,11 @@ function ie(i) {
|
|
|
481
486
|
}
|
|
482
487
|
};
|
|
483
488
|
}
|
|
484
|
-
function
|
|
489
|
+
function Fe(i) {
|
|
485
490
|
let e, t, n, a, s, u, d;
|
|
486
491
|
return {
|
|
487
492
|
c() {
|
|
488
|
-
e = y("div"), t = y("ui-image"),
|
|
493
|
+
e = y("div"), t = y("ui-image"), V(t.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || L(t, "src", n), L(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
|
|
489
494
|
(i[0] == "Closing" || /*status*/
|
|
490
495
|
i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", s = "CardImg " + /*status*/
|
|
491
496
|
(i[0] == "Closing" || /*status*/
|
|
@@ -511,12 +516,12 @@ function De(i) {
|
|
|
511
516
|
}
|
|
512
517
|
};
|
|
513
518
|
}
|
|
514
|
-
function
|
|
519
|
+
function ze(i) {
|
|
515
520
|
let e, t, n, a, s, u, d;
|
|
516
521
|
return {
|
|
517
522
|
c() {
|
|
518
|
-
e = y("div"), t = y("ui-image"),
|
|
519
|
-
i[4]) ||
|
|
523
|
+
e = y("div"), t = y("ui-image"), L(t, "class", "UIImage"), V(t.src, n = /*thumbnail*/
|
|
524
|
+
i[4]) || L(t, "src", n), L(t, "alt", "icon"), m(e, "class", a = "CardImg " + /*status*/
|
|
520
525
|
(i[0] == "Closing" || /*status*/
|
|
521
526
|
i[0] == "Closed" ? "CardImgFinished" : "")), m(e, "part", s = "CardImg " + /*status*/
|
|
522
527
|
(i[0] == "Closing" || /*status*/
|
|
@@ -530,8 +535,8 @@ function Ie(i) {
|
|
|
530
535
|
},
|
|
531
536
|
p(l, c) {
|
|
532
537
|
c[0] & /*thumbnail*/
|
|
533
|
-
16 && !
|
|
534
|
-
l[4]) &&
|
|
538
|
+
16 && !V(t.src, n = /*thumbnail*/
|
|
539
|
+
l[4]) && L(t, "src", n), c[0] & /*status*/
|
|
535
540
|
1 && a !== (a = "CardImg " + /*status*/
|
|
536
541
|
(l[0] == "Closing" || /*status*/
|
|
537
542
|
l[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "class", a), c[0] & /*status*/
|
|
@@ -544,11 +549,11 @@ function Ie(i) {
|
|
|
544
549
|
}
|
|
545
550
|
};
|
|
546
551
|
}
|
|
547
|
-
function
|
|
552
|
+
function ne(i) {
|
|
548
553
|
let e, t, n, a, s;
|
|
549
554
|
return {
|
|
550
555
|
c() {
|
|
551
|
-
e = y("div"), t =
|
|
556
|
+
e = y("div"), t = w(
|
|
552
557
|
/*shownDate*/
|
|
553
558
|
i[11]
|
|
554
559
|
), m(e, "class", "Date"), m(e, "part", "Date");
|
|
@@ -568,7 +573,7 @@ function ae(i) {
|
|
|
568
573
|
t,
|
|
569
574
|
/*shownDate*/
|
|
570
575
|
u[11]
|
|
571
|
-
), n &&
|
|
576
|
+
), n && Me(n.update) && d[0] & /*startdate*/
|
|
572
577
|
4 && n.update.call(
|
|
573
578
|
null,
|
|
574
579
|
/*startdate*/
|
|
@@ -580,7 +585,7 @@ function ae(i) {
|
|
|
580
585
|
}
|
|
581
586
|
};
|
|
582
587
|
}
|
|
583
|
-
function
|
|
588
|
+
function re(i) {
|
|
584
589
|
let e, t, n = (
|
|
585
590
|
/*$_*/
|
|
586
591
|
i[16]("scoreCriteria") + ""
|
|
@@ -590,84 +595,84 @@ function ne(i) {
|
|
|
590
595
|
), h, z, A, T, p, f, o, b = (
|
|
591
596
|
/*$_*/
|
|
592
597
|
i[16]("seegames") + ""
|
|
593
|
-
), j, x,
|
|
598
|
+
), j, x, v, R = (
|
|
594
599
|
/*$_*/
|
|
595
600
|
i[16]("here") + ""
|
|
596
|
-
),
|
|
601
|
+
), O, F, N, W;
|
|
597
602
|
return {
|
|
598
603
|
c() {
|
|
599
|
-
e = y("div"), t = y("p"), a =
|
|
604
|
+
e = y("div"), t = y("p"), a = w(n), s = w(`:
|
|
600
605
|
|
|
601
|
-
`), u = y("span"), d =
|
|
606
|
+
`), u = y("span"), d = w(
|
|
602
607
|
/*showScoreCriteria*/
|
|
603
608
|
i[14]
|
|
604
|
-
), l =
|
|
605
|
-
(`), h =
|
|
609
|
+
), l = w(`
|
|
610
|
+
(`), h = w(c), z = I(), A = w(
|
|
606
611
|
/*minbetcount*/
|
|
607
612
|
i[6]
|
|
608
|
-
), T =
|
|
609
|
-
|
|
613
|
+
), T = w(")"), p = I(), f = y("div"), o = y("p"), j = w(b), x = I(), v = y("a"), O = w(R), m(u, "part", "ScoreCriteriaSpan"), m(t, "part", "ScoreCriteriaP"), m(e, "class", "ScoreCriteria"), m(e, "part", "ScoreCriteria"), m(v, "part", "GamesAnchor"), m(
|
|
614
|
+
v,
|
|
610
615
|
"href",
|
|
611
616
|
/*gameurl*/
|
|
612
617
|
i[8]
|
|
613
|
-
), m(
|
|
618
|
+
), m(v, "target", F = /*keepbrowsercontext*/
|
|
614
619
|
i[9] === "true" ? "_self" : "_blank"), m(o, "part", "GamesP"), m(f, "class", "Games"), m(f, "part", "Games");
|
|
615
620
|
},
|
|
616
|
-
m(k,
|
|
617
|
-
_(k, e,
|
|
621
|
+
m(k, M) {
|
|
622
|
+
_(k, e, M), g(e, t), g(t, a), g(t, s), g(t, u), g(u, d), g(t, l), g(t, h), g(t, z), g(t, A), g(t, T), _(k, p, M), _(k, f, M), g(f, o), g(o, j), g(o, x), g(o, v), g(v, O), N || (W = [
|
|
618
623
|
B(
|
|
619
624
|
/*matchScoreCriteria*/
|
|
620
625
|
i[19].call(null, u)
|
|
621
626
|
),
|
|
622
|
-
|
|
623
|
-
|
|
627
|
+
ve(
|
|
628
|
+
v,
|
|
624
629
|
"click",
|
|
625
630
|
/*click_handler*/
|
|
626
631
|
i[28]
|
|
627
632
|
)
|
|
628
633
|
], N = !0);
|
|
629
634
|
},
|
|
630
|
-
p(k,
|
|
631
|
-
|
|
635
|
+
p(k, M) {
|
|
636
|
+
M[0] & /*$_*/
|
|
632
637
|
65536 && n !== (n = /*$_*/
|
|
633
|
-
k[16]("scoreCriteria") + "") && D(a, n),
|
|
638
|
+
k[16]("scoreCriteria") + "") && D(a, n), M[0] & /*showScoreCriteria*/
|
|
634
639
|
16384 && D(
|
|
635
640
|
d,
|
|
636
641
|
/*showScoreCriteria*/
|
|
637
642
|
k[14]
|
|
638
|
-
),
|
|
643
|
+
), M[0] & /*$_*/
|
|
639
644
|
65536 && c !== (c = /*$_*/
|
|
640
|
-
k[16]("minbet") + "") && D(h, c),
|
|
645
|
+
k[16]("minbet") + "") && D(h, c), M[0] & /*minbetcount*/
|
|
641
646
|
64 && D(
|
|
642
647
|
A,
|
|
643
648
|
/*minbetcount*/
|
|
644
649
|
k[6]
|
|
645
|
-
),
|
|
650
|
+
), M[0] & /*$_*/
|
|
646
651
|
65536 && b !== (b = /*$_*/
|
|
647
|
-
k[16]("seegames") + "") && D(j, b),
|
|
648
|
-
65536 &&
|
|
649
|
-
k[16]("here") + "") && D(
|
|
652
|
+
k[16]("seegames") + "") && D(j, b), M[0] & /*$_*/
|
|
653
|
+
65536 && R !== (R = /*$_*/
|
|
654
|
+
k[16]("here") + "") && D(O, R), M[0] & /*gameurl*/
|
|
650
655
|
256 && m(
|
|
651
|
-
|
|
656
|
+
v,
|
|
652
657
|
"href",
|
|
653
658
|
/*gameurl*/
|
|
654
659
|
k[8]
|
|
655
|
-
),
|
|
660
|
+
), M[0] & /*keepbrowsercontext*/
|
|
656
661
|
512 && F !== (F = /*keepbrowsercontext*/
|
|
657
|
-
k[9] === "true" ? "_self" : "_blank") && m(
|
|
662
|
+
k[9] === "true" ? "_self" : "_blank") && m(v, "target", F);
|
|
658
663
|
},
|
|
659
664
|
d(k) {
|
|
660
|
-
k && (C(e), C(p), C(f)), N = !1,
|
|
665
|
+
k && (C(e), C(p), C(f)), N = !1, Te(W);
|
|
661
666
|
}
|
|
662
667
|
};
|
|
663
668
|
}
|
|
664
|
-
function
|
|
669
|
+
function je(i) {
|
|
665
670
|
let e, t, n, a = (
|
|
666
671
|
/*title*/
|
|
667
|
-
i[1] === "undefined" &&
|
|
672
|
+
i[1] === "undefined" && $()
|
|
668
673
|
), s = (
|
|
669
674
|
/*title*/
|
|
670
|
-
i[1] !== "undefined" &&
|
|
675
|
+
i[1] !== "undefined" && ee(i)
|
|
671
676
|
);
|
|
672
677
|
return {
|
|
673
678
|
c() {
|
|
@@ -679,62 +684,63 @@ function Fe(i) {
|
|
|
679
684
|
},
|
|
680
685
|
p(u, d) {
|
|
681
686
|
/*title*/
|
|
682
|
-
u[1] === "undefined" ? a || (a =
|
|
683
|
-
u[1] !== "undefined" ? s ? s.p(u, d) : (s =
|
|
687
|
+
u[1] === "undefined" ? a || (a = $(), a.c(), a.m(e, t)) : a && (a.d(1), a = null), /*title*/
|
|
688
|
+
u[1] !== "undefined" ? s ? s.p(u, d) : (s = ee(u), s.c(), s.m(e, null)) : s && (s.d(1), s = null), d[0] & /*title*/
|
|
684
689
|
2 && n !== (n = `Thumbnail ${/*title*/
|
|
685
690
|
u[1] === "undefined" ? "Loading" : ""}`) && m(e, "class", n);
|
|
686
691
|
},
|
|
687
|
-
i:
|
|
688
|
-
o:
|
|
692
|
+
i: Z,
|
|
693
|
+
o: Z,
|
|
689
694
|
d(u) {
|
|
690
695
|
u && C(e), a && a.d(), s && s.d(), i[29](null);
|
|
691
696
|
}
|
|
692
697
|
};
|
|
693
698
|
}
|
|
694
|
-
function
|
|
699
|
+
function Ne(i, e, t) {
|
|
695
700
|
let n;
|
|
696
|
-
|
|
697
|
-
let { session: a = "" } = e, { userid: s = "" } = e, { title: u = "" } = e, { startdate: d = "" } = e, { status: l = "" } = e, { tourid: c = "" } = e, { thumbnail: h = "" } = e, { userenrolled: z = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: T = "" } = e, { showenrolled: p = "false" } = e, { gameurl: f = "" } = e, { lang: o = "en" } = e, { keepbrowsercontext: b = "false" } = e, { clientstyling: j = "" } = e, { clientstylingurl: x = "" } = e, { translationurl:
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
701
|
+
Se(i, Re, (r) => t(16, n = r));
|
|
702
|
+
let { session: a = "" } = e, { userid: s = "" } = e, { title: u = "" } = e, { startdate: d = "" } = e, { status: l = "" } = e, { tourid: c = "" } = e, { thumbnail: h = "" } = e, { userenrolled: z = "" } = e, { scorecriteria: A = "" } = e, { minbetcount: T = "" } = e, { showenrolled: p = "false" } = e, { gameurl: f = "" } = e, { lang: o = "en" } = e, { keepbrowsercontext: b = "false" } = e, { clientstyling: j = "" } = e, { clientstylingurl: x = "" } = e, { translationurl: v = "" } = e, R, O = "", F = !1, N = "", W = "", k = "";
|
|
703
|
+
Je({ withLocale: "en", translations: {} });
|
|
704
|
+
const M = () => {
|
|
705
|
+
fetch(v).then((r) => r.json()).then((r) => {
|
|
706
|
+
Object.keys(r).forEach((J) => {
|
|
707
|
+
Q(J, r[J]);
|
|
708
|
+
}), d && K();
|
|
709
|
+
}).catch((r) => {
|
|
710
|
+
console.log(r);
|
|
705
711
|
});
|
|
706
712
|
};
|
|
707
|
-
Object.keys(
|
|
708
|
-
|
|
713
|
+
Object.keys(X).forEach((r) => {
|
|
714
|
+
Q(r, X[r]);
|
|
709
715
|
});
|
|
710
|
-
const
|
|
716
|
+
const q = (r) => {
|
|
711
717
|
r.data && (r.data && r.data.type == "SessionID" && t(12, F = !0), r.data.type == `TournamentStatus_${c}` && t(0, l = r.data.status));
|
|
712
718
|
}, P = () => {
|
|
713
719
|
const r = { month: "long" };
|
|
714
|
-
let
|
|
720
|
+
let J = new Date(d), E = new Intl.DateTimeFormat("en", r).format(J), de = J.getDate(), ce = J.toLocaleString("en-GB", {
|
|
715
721
|
hour: "numeric",
|
|
716
722
|
minute: "numeric",
|
|
717
723
|
hour12: !1
|
|
718
724
|
});
|
|
719
|
-
const
|
|
720
|
-
t(11,
|
|
725
|
+
const ge = () => n(l === "Running" ? "startedAt" : "startingAt");
|
|
726
|
+
t(11, O = `${de} ` + n(`${E}`) + ", " + ge() + ` ${ce}`);
|
|
721
727
|
}, U = () => {
|
|
722
728
|
l == "Unstarted" && (t(13, N = n("scheduled")), t(15, k = "StatusUnstarted")), l == "Running" && (t(13, N = n("ongoing")), t(15, k = "StatusRunning")), (l == "Closed" || l == "Closing") && t(13, N = n("finished")), l == "Closed" && t(15, k = "StatusClosed"), l == "Closing" && t(15, k = "StatusClosing");
|
|
723
729
|
}, G = () => {
|
|
724
730
|
A == "BetCount" && t(14, W = n("betCount")), A == "MaxWinStakeRatio" && t(14, W = n("maxWinStakeRatio")), A == "WinStakeRatio" && t(14, W = n("winStakeRatio")), A == "Stake" && t(14, W = n("stake"));
|
|
725
|
-
},
|
|
726
|
-
window.postMessage({ type: "tournamentGamesClicked", tourId:
|
|
727
|
-
}, re = () => {
|
|
728
|
-
a.length > 0 && a != "false" ? t(12, F = !0) : t(12, F = !1);
|
|
731
|
+
}, Y = (r, J) => {
|
|
732
|
+
window.postMessage({ type: "tournamentGamesClicked", tourId: J }, window.location.href);
|
|
729
733
|
}, se = () => {
|
|
730
|
-
|
|
731
|
-
r.innerHTML = j, J.appendChild(r);
|
|
734
|
+
a.length > 0 && a != "false" ? t(12, F = !0) : t(12, F = !1);
|
|
732
735
|
}, le = () => {
|
|
733
|
-
let r =
|
|
734
|
-
|
|
735
|
-
|
|
736
|
+
let r = document.createElement("style");
|
|
737
|
+
r.innerHTML = j, R.appendChild(r);
|
|
738
|
+
}, oe = () => {
|
|
739
|
+
let r = new URL(x), J = document.createElement("style");
|
|
740
|
+
fetch(r.href).then((E) => E.text()).then((E) => {
|
|
741
|
+
J.innerHTML = E, setTimeout(
|
|
736
742
|
() => {
|
|
737
|
-
|
|
743
|
+
R.appendChild(J);
|
|
738
744
|
},
|
|
739
745
|
1
|
|
740
746
|
), setTimeout(
|
|
@@ -744,27 +750,27 @@ function ze(i, e, t) {
|
|
|
744
750
|
);
|
|
745
751
|
});
|
|
746
752
|
};
|
|
747
|
-
|
|
748
|
-
window.removeEventListener("message",
|
|
753
|
+
Ce(() => (setTimeout(() => K(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", q, !1), () => {
|
|
754
|
+
window.removeEventListener("message", q);
|
|
749
755
|
}));
|
|
750
|
-
const
|
|
751
|
-
|
|
752
|
-
},
|
|
753
|
-
function
|
|
754
|
-
|
|
755
|
-
|
|
756
|
+
const K = () => {
|
|
757
|
+
De(o), G(), U(), d && P();
|
|
758
|
+
}, ue = () => Y();
|
|
759
|
+
function me(r) {
|
|
760
|
+
_e[r ? "unshift" : "push"](() => {
|
|
761
|
+
R = r, t(10, R);
|
|
756
762
|
});
|
|
757
763
|
}
|
|
758
764
|
return i.$$set = (r) => {
|
|
759
|
-
"session" in r && t(21, a = r.session), "userid" in r && t(22, s = r.userid), "title" in r && t(1, u = r.title), "startdate" in r && t(2, d = r.startdate), "status" in r && t(0, l = r.status), "tourid" in r && t(3, c = r.tourid), "thumbnail" in r && t(4, h = r.thumbnail), "userenrolled" in r && t(5, z = r.userenrolled), "scorecriteria" in r && t(23, A = r.scorecriteria), "minbetcount" in r && t(6, T = r.minbetcount), "showenrolled" in r && t(7, p = r.showenrolled), "gameurl" in r && t(8, f = r.gameurl), "lang" in r && t(24, o = r.lang), "keepbrowsercontext" in r && t(9, b = r.keepbrowsercontext), "clientstyling" in r && t(25, j = r.clientstyling), "clientstylingurl" in r && t(26, x = r.clientstylingurl), "translationurl" in r && t(27,
|
|
765
|
+
"session" in r && t(21, a = r.session), "userid" in r && t(22, s = r.userid), "title" in r && t(1, u = r.title), "startdate" in r && t(2, d = r.startdate), "status" in r && t(0, l = r.status), "tourid" in r && t(3, c = r.tourid), "thumbnail" in r && t(4, h = r.thumbnail), "userenrolled" in r && t(5, z = r.userenrolled), "scorecriteria" in r && t(23, A = r.scorecriteria), "minbetcount" in r && t(6, T = r.minbetcount), "showenrolled" in r && t(7, p = r.showenrolled), "gameurl" in r && t(8, f = r.gameurl), "lang" in r && t(24, o = r.lang), "keepbrowsercontext" in r && t(9, b = r.keepbrowsercontext), "clientstyling" in r && t(25, j = r.clientstyling), "clientstylingurl" in r && t(26, x = r.clientstylingurl), "translationurl" in r && t(27, v = r.translationurl);
|
|
760
766
|
}, i.$$.update = () => {
|
|
761
767
|
i.$$.dirty[0] & /*customStylingContainer, clientstyling*/
|
|
762
|
-
33555456 &&
|
|
763
|
-
67109888 &&
|
|
764
|
-
134217728 &&
|
|
765
|
-
2097152 && a &&
|
|
768
|
+
33555456 && R && j && le(), i.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
|
|
769
|
+
67109888 && R && x && oe(), i.$$.dirty[0] & /*translationurl*/
|
|
770
|
+
134217728 && v && M(), i.$$.dirty[0] & /*session*/
|
|
771
|
+
2097152 && a && se(), i.$$.dirty[0] & /*status*/
|
|
766
772
|
1 && l && U(), i.$$.dirty[0] & /*title, lang*/
|
|
767
|
-
16777218 && u && o &&
|
|
773
|
+
16777218 && u && o && K(), i.$$.dirty[0] & /*startdate*/
|
|
768
774
|
4 && d && P(), i.$$.dirty[0] & /*scorecriteria*/
|
|
769
775
|
8388608 && A && G();
|
|
770
776
|
}, [
|
|
@@ -778,8 +784,8 @@ function ze(i, e, t) {
|
|
|
778
784
|
p,
|
|
779
785
|
f,
|
|
780
786
|
b,
|
|
781
|
-
|
|
782
|
-
|
|
787
|
+
R,
|
|
788
|
+
O,
|
|
783
789
|
F,
|
|
784
790
|
N,
|
|
785
791
|
W,
|
|
@@ -788,26 +794,26 @@ function ze(i, e, t) {
|
|
|
788
794
|
P,
|
|
789
795
|
U,
|
|
790
796
|
G,
|
|
791
|
-
|
|
797
|
+
Y,
|
|
792
798
|
a,
|
|
793
799
|
s,
|
|
794
800
|
A,
|
|
795
801
|
o,
|
|
796
802
|
j,
|
|
797
803
|
x,
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
804
|
+
v,
|
|
805
|
+
ue,
|
|
806
|
+
me
|
|
801
807
|
];
|
|
802
808
|
}
|
|
803
|
-
class
|
|
809
|
+
class We extends he {
|
|
804
810
|
constructor(e) {
|
|
805
|
-
super(),
|
|
811
|
+
super(), pe(
|
|
806
812
|
this,
|
|
807
813
|
e,
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
814
|
+
Ne,
|
|
815
|
+
je,
|
|
816
|
+
ke,
|
|
811
817
|
{
|
|
812
818
|
session: 21,
|
|
813
819
|
userid: 22,
|
|
@@ -827,7 +833,7 @@ class je extends be {
|
|
|
827
833
|
clientstylingurl: 26,
|
|
828
834
|
translationurl: 27
|
|
829
835
|
},
|
|
830
|
-
|
|
836
|
+
Ie,
|
|
831
837
|
[-1, -1]
|
|
832
838
|
);
|
|
833
839
|
}
|
|
@@ -934,7 +940,7 @@ class je extends be {
|
|
|
934
940
|
this.$$set({ translationurl: e }), S();
|
|
935
941
|
}
|
|
936
942
|
}
|
|
937
|
-
|
|
943
|
+
we(We, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
938
944
|
export {
|
|
939
|
-
|
|
945
|
+
We as default
|
|
940
946
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z as le,
|
|
1
|
+
import { z as le, A as Qe, a as Ye, S as $e, i as et, s as tt, f as T, b as nt, n as ae, d as k, y as l, h as c, e as _, p as b, g as S, q as P, k as rt, w as it, o as M, t as x, F as ve, r as ot, B as st, C as lt, u as q, x as Ae, v as I, E as at, c as ut, $ as ft } from "./CasinoTournamentsController-BULZ_y4b.js";
|
|
2
2
|
function ct({ withLocale: r, translations: e }) {
|
|
3
3
|
le.subscribe((t) => {
|
|
4
4
|
t == null && (Qe.set(e), le.set(r));
|
|
@@ -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-CueG5cos.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-B87YJ1nA.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-CWqeOB0q.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-LtmE1Ho2.js").then(
|
|
167
167
|
({ default: e }) => {
|
|
168
168
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
169
169
|
"casino-tournaments-thumbnail-games-slider",
|