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