@everymatrix/casino-tournaments-list-controller 1.77.26 → 1.77.28

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 (51) hide show
  1. package/components/{CasinoTournamentsListController-vvccDI52.js → CasinoTournamentsListController-9GpvN-cU.js} +1631 -1663
  2. package/components/{CasinoTournamentsListController-DZAc0uOz.js → CasinoTournamentsListController-CmPRdMx4.js} +1020 -1052
  3. package/components/CasinoTournamentsListController-DXzweeLN.cjs +15 -0
  4. package/components/{CasinoTournamentsThumbnail-Bd1WL1Ql.cjs → CasinoTournamentsThumbnail-CfmPohld.cjs} +1 -1
  5. package/components/{CasinoTournamentsThumbnail-DAFZpsNw.js → CasinoTournamentsThumbnail-DDkT22lO.js} +32 -32
  6. package/components/{CasinoTournamentsThumbnail-BYxgQMEi.js → CasinoTournamentsThumbnail-DHcrIxd-.js} +32 -32
  7. package/components/CasinoTournamentsThumbnailController-C-jtQzUd.cjs +16 -0
  8. package/components/{CasinoTournamentsThumbnailController-uo3Outd2.js → CasinoTournamentsThumbnailController-DRnB-3-H.js} +573 -524
  9. package/components/{CasinoTournamentsThumbnailController-72npRr-8.js → CasinoTournamentsThumbnailController-MlvOLFWR.js} +572 -523
  10. package/components/{CasinoTournamentsThumbnailDuration-BWMHF1XI.js → CasinoTournamentsThumbnailDuration-8CaygNeP.js} +55 -55
  11. package/components/{CasinoTournamentsThumbnailDuration-OoTuQjDX.cjs → CasinoTournamentsThumbnailDuration-DEWie4Bz.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnailDuration-BzQInvxy.js → CasinoTournamentsThumbnailDuration-DI72Vb2q.js} +55 -55
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-qcYHnHlR.js → CasinoTournamentsThumbnailGamesSlider-Bp2jb-5i.js} +49 -49
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-CEqgtkPL.cjs → CasinoTournamentsThumbnailGamesSlider-Bvi3agBk.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-CA4Q1zR4.js → CasinoTournamentsThumbnailGamesSlider-DoVfyQTt.js} +49 -49
  16. package/components/{CasinoTournamentsThumbnailPrizes-BBSgSmDz.js → CasinoTournamentsThumbnailPrizes-BR4fIGJb.js} +21 -21
  17. package/components/{CasinoTournamentsThumbnailPrizes-DHQXP_pt.cjs → CasinoTournamentsThumbnailPrizes-CnSTDH80.cjs} +1 -1
  18. package/components/{CasinoTournamentsThumbnailPrizes-BHGuMrxn.js → CasinoTournamentsThumbnailPrizes-DYV37yVW.js} +21 -21
  19. package/es2015/casino-tournaments-list-controller.cjs +1 -1
  20. package/es2015/casino-tournaments-list-controller.js +1 -1
  21. package/esnext/casino-tournaments-list-controller.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  24. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  25. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  26. package/stencil/index-b2193545-BS7xFIk4.js +503 -0
  27. package/stencil/index-b2193545-BTdVi7--.cjs +1 -0
  28. package/stencil/index-b2193545-rfNAj6ri.js +519 -0
  29. package/stencil/{ui-image-CDCn_LHy.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
  30. package/stencil/{ui-image-CNrnXPP3.js → ui-image-CXqPvnQ2.js} +1 -1
  31. package/stencil/{ui-image-CDGN3Ekj.js → ui-image-DgbODkuX.js} +1 -1
  32. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  33. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  34. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  35. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-Bm97-wkj.js} +2 -2
  36. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  37. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-qO3reSlr.js} +2 -2
  38. package/stencil/{ui-skeleton-Caiy-FEL.cjs → ui-skeleton-B0BB970e.cjs} +1 -1
  39. package/stencil/{ui-skeleton-CzV3R1-p.js → ui-skeleton-D8L-WY77.js} +2 -2
  40. package/stencil/{ui-skeleton-C73UqtBQ.js → ui-skeleton-DSebcnN1.js} +2 -2
  41. package/stencil/{ui-skeleton-ae35c6f2-CLOd38Ia.js → ui-skeleton-ae35c6f2-BH4D8vHD.js} +1 -1
  42. package/stencil/{ui-skeleton-ae35c6f2-SCby2j53.js → ui-skeleton-ae35c6f2-CcPx4a2P.js} +1 -1
  43. package/stencil/{ui-skeleton-ae35c6f2-C9l5j8aK.cjs → ui-skeleton-ae35c6f2-DDiK5zGt.cjs} +1 -1
  44. package/components/CasinoTournamentsListController-BG85CFxD.cjs +0 -28
  45. package/components/CasinoTournamentsThumbnailController-LTUqWmyy.cjs +0 -3
  46. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  47. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  48. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  49. package/stencil/index-b2193545-CF9C6kiu.cjs +0 -1
  50. package/stencil/index-b2193545-OH6E7v51.js +0 -519
  51. package/stencil/index-b2193545-eoIiLcDl.js +0 -503
@@ -1,6 +1,6 @@
1
- import { $ as ee, a as ce, b as ge, S as be, i as fe, f as h, c as he, s as pe, d as ke, e as p, g as F, h as m, j as C, k as c, n as ae, l as _, m as ye, o as Se, p as Ce, q as _e, t as A, r as $, u as Z, v as z, w as ie, x as Ae, y as ve, z as Te, A as we, B as te, C as q, D as Me } from "./CasinoTournamentsListController-DZAc0uOz.js";
2
- import "../stencil/ui-skeleton-CzV3R1-p.js";
3
- import "../stencil/ui-image-CDGN3Ekj.js";
1
+ import { $ as ee, a as ce, b as ge, S as be, i as fe, s as he, f as h, c as pe, n as ae, d as C, e as m, g as _, h as c, j as p, k as F, l as ke, o as ye, r as ie, m as z, p as $, q as Z, t as A, u as Se, v as Ce, w as te, x as q, y as _e, z as Ae, A as ve, B as Te, C as we, D as Me } from "./CasinoTournamentsListController-9GpvN-cU.js";
2
+ import "../stencil/ui-skeleton-DSebcnN1.js";
3
+ import "../stencil/ui-image-CXqPvnQ2.js";
4
4
  function Je({ withLocale: i, translations: e }) {
5
5
  ee.subscribe((t) => {
6
6
  t == null && (ce.set(e), ee.set(i));
@@ -345,7 +345,7 @@ const ne = {
345
345
  }
346
346
  };
347
347
  function De(i) {
348
- ke(i, "svelte-52u9sp", ':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{cursor:pointer;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{cursor:pointer;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
+ pe(i, "svelte-52u9sp", ':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{cursor:pointer;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{cursor:pointer;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 se(i) {
351
351
  let e, t, r;
@@ -354,10 +354,10 @@ function se(i) {
354
354
  e = p("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', t = F(), r = p("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
- C(a, e, s), C(a, t, s), C(a, r, s);
357
+ _(a, e, s), _(a, t, s), _(a, r, s);
358
358
  },
359
359
  d(a) {
360
- a && (_(e), _(t), _(r));
360
+ a && (C(e), C(t), C(r));
361
361
  }
362
362
  };
363
363
  }
@@ -413,7 +413,7 @@ function le(i) {
413
413
  i[8] === "true" ? "_self" : "_blank"), m(J, "part", "GamesP"), m(x, "class", "Games"), m(x, "part", "Games"), m(a, "class", "Details"), m(a, "part", "Details");
414
414
  },
415
415
  m(u, g) {
416
- f && f.m(u, g), C(u, e, g), k && k.m(u, g), C(u, t, g), M.m(u, g), C(u, r, g), C(u, a, g), c(a, s), c(s, l), c(a, o), y && y.m(a, null), c(a, d), c(a, b), c(b, S), c(S, K), c(S, H), c(S, D), c(D, V), c(S, E), c(S, N), c(S, P), c(S, W), c(S, G), c(a, T), c(a, x), c(x, J), c(J, j), c(J, Q), c(J, w), c(w, U), Y || (X = [
416
+ f && f.m(u, g), _(u, e, g), k && k.m(u, g), _(u, t, g), M.m(u, g), _(u, r, g), _(u, a, g), c(a, s), c(s, l), c(a, o), y && y.m(a, null), c(a, d), c(a, b), c(b, S), c(S, K), c(S, H), c(S, D), c(D, V), c(S, E), c(S, N), c(S, P), c(S, W), c(S, G), c(a, T), c(a, x), c(x, J), c(J, j), c(J, Q), c(J, w), c(w, U), Y || (X = [
417
417
  $(
418
418
  s,
419
419
  "click",
@@ -470,7 +470,7 @@ function le(i) {
470
470
  u[8] === "true" ? "_self" : "_blank") && m(w, "target", L);
471
471
  },
472
472
  d(u) {
473
- u && (_(e), _(t), _(r), _(a)), f && f.d(u), k && k.d(u), M.d(u), y && y.d(), Y = !1, ie(X);
473
+ u && (C(e), C(t), C(r), C(a)), f && f.d(u), k && k.d(u), M.d(u), y && y.d(), Y = !1, ie(X);
474
474
  }
475
475
  };
476
476
  }
@@ -486,7 +486,7 @@ function oe(i) {
486
486
  i[13]);
487
487
  },
488
488
  m(o, d) {
489
- C(o, e, d), c(e, t), s || (l = Z(
489
+ _(o, e, d), c(e, t), s || (l = Z(
490
490
  /*matchStatus*/
491
491
  i[16].call(null, e)
492
492
  ), s = !0);
@@ -504,7 +504,7 @@ function oe(i) {
504
504
  o[13]) && m(e, "part", a);
505
505
  },
506
506
  d(o) {
507
- o && _(e), s = !1, l();
507
+ o && C(e), s = !1, l();
508
508
  }
509
509
  };
510
510
  }
@@ -515,17 +515,17 @@ function ue(i) {
515
515
  );
516
516
  return {
517
517
  c() {
518
- t && t.c(), e = Ae();
518
+ t && t.c(), e = Ce();
519
519
  },
520
520
  m(r, a) {
521
- t && t.m(r, a), C(r, e, a);
521
+ t && t.m(r, a), _(r, e, a);
522
522
  },
523
523
  p(r, a) {
524
524
  /*userenrolled*/
525
525
  r[4] ? t ? t.p(r, a) : (t = me(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
526
526
  },
527
527
  d(r) {
528
- r && _(e), t && t.d(r);
528
+ r && C(e), t && t.d(r);
529
529
  }
530
530
  };
531
531
  }
@@ -539,7 +539,7 @@ function me(i) {
539
539
  e = p("div"), r = A(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
540
540
  },
541
541
  m(a, s) {
542
- C(a, e, s), c(e, r);
542
+ _(a, e, s), c(e, r);
543
543
  },
544
544
  p(a, s) {
545
545
  s[0] & /*$_*/
@@ -547,7 +547,7 @@ function me(i) {
547
547
  a[14]("enrolled") + "") && z(r, t);
548
548
  },
549
549
  d(a) {
550
- a && _(e);
550
+ a && C(e);
551
551
  }
552
552
  };
553
553
  }
@@ -562,7 +562,7 @@ function Ie(i) {
562
562
  i[0] == "Closed" ? "CardImgFinished" : ""));
563
563
  },
564
564
  m(d, b) {
565
- C(d, e, b), c(e, t), l || (o = [
565
+ _(d, e, b), c(e, t), l || (o = [
566
566
  Z(
567
567
  /*matchStatus*/
568
568
  i[16].call(null, e)
@@ -585,7 +585,7 @@ function Ie(i) {
585
585
  d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
586
586
  },
587
587
  d(d) {
588
- d && _(e), l = !1, ie(o);
588
+ d && C(e), l = !1, ie(o);
589
589
  }
590
590
  };
591
591
  }
@@ -601,7 +601,7 @@ function Fe(i) {
601
601
  i[0] == "Closed" ? "CardImgFinished" : ""));
602
602
  },
603
603
  m(d, b) {
604
- C(d, e, b), c(e, t), l || (o = [
604
+ _(d, e, b), c(e, t), l || (o = [
605
605
  Z(
606
606
  /*matchStatus*/
607
607
  i[16].call(null, e)
@@ -626,7 +626,7 @@ function Fe(i) {
626
626
  d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
627
627
  },
628
628
  d(d) {
629
- d && _(e), l = !1, ie(o);
629
+ d && C(e), l = !1, ie(o);
630
630
  }
631
631
  };
632
632
  }
@@ -640,7 +640,7 @@ function de(i) {
640
640
  ), m(e, "class", "Date"), m(e, "part", "Date");
641
641
  },
642
642
  m(l, o) {
643
- C(l, e, o), c(e, t), a || (s = Z(r = /*formatDate*/
643
+ _(l, e, o), c(e, t), a || (s = Z(r = /*formatDate*/
644
644
  i[15].call(
645
645
  null,
646
646
  e,
@@ -654,7 +654,7 @@ function de(i) {
654
654
  t,
655
655
  /*shownDate*/
656
656
  l[10]
657
- ), r && ve(r.update) && o[0] & /*startdate*/
657
+ ), r && _e(r.update) && o[0] & /*startdate*/
658
658
  4 && r.update.call(
659
659
  null,
660
660
  /*startdate*/
@@ -662,7 +662,7 @@ function de(i) {
662
662
  );
663
663
  },
664
664
  d(l) {
665
- l && _(e), a = !1, s();
665
+ l && C(e), a = !1, s();
666
666
  }
667
667
  };
668
668
  }
@@ -680,7 +680,7 @@ function ze(i) {
680
680
  i[1] === "undefined" ? "Loading" : ""}`), m(e, "part", "Thumbnail");
681
681
  },
682
682
  m(l, o) {
683
- C(l, e, o), a && a.m(e, null), c(e, t), s && s.m(e, null), i[29](e);
683
+ _(l, e, o), a && a.m(e, null), c(e, t), s && s.m(e, null), i[29](e);
684
684
  },
685
685
  p(l, o) {
686
686
  /*title*/
@@ -692,13 +692,13 @@ function ze(i) {
692
692
  i: ae,
693
693
  o: ae,
694
694
  d(l) {
695
- l && _(e), a && a.d(), s && s.d(), i[29](null);
695
+ l && C(e), a && a.d(), s && s.d(), i[29](null);
696
696
  }
697
697
  };
698
698
  }
699
699
  function je(i, e, t) {
700
700
  let r;
701
- ye(i, Me, (n) => t(14, r = n));
701
+ ke(i, Me, (n) => t(14, r = n));
702
702
  let { userid: a = "" } = e, { title: s = "" } = e, { startdate: l = "" } = e, { status: o = "" } = e, { tourid: d = "" } = e, { thumbnail: b = "" } = e, { userenrolled: S = "" } = e, { scorecriteria: v = "" } = e, { minbetcount: K = "" } = e, { showenrolled: H = "false" } = e, { detailsevent: D = "" } = e, { gameurl: V = "" } = e, { lang: E = "en" } = e, { keepbrowsercontext: B = "false" } = e, { clientstyling: N = "" } = e, { clientstylingurl: P = "" } = e, { translationurl: W = "" } = e, { mbsource: G } = e, T, x = "", J = "", I = "", j = "";
703
703
  Je({ withLocale: "en", translations: {} });
704
704
  const Q = () => {
@@ -740,14 +740,14 @@ function je(i, e, t) {
740
740
  window.location.href
741
741
  );
742
742
  };
743
- Se(() => (setTimeout(() => f(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", w, !1), () => {
743
+ ye(() => (setTimeout(() => f(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", w, !1), () => {
744
744
  window.removeEventListener("message", w);
745
745
  }));
746
746
  const f = () => {
747
747
  Re(E), L(), U(), l && O();
748
748
  };
749
749
  function k(n) {
750
- Te[n ? "unshift" : "push"](() => {
750
+ Se[n ? "unshift" : "push"](() => {
751
751
  T = n, t(9, T);
752
752
  });
753
753
  }
@@ -755,9 +755,9 @@ function je(i, e, t) {
755
755
  "userid" in n && t(20, a = n.userid), "title" in n && t(1, s = n.title), "startdate" in n && t(2, l = n.startdate), "status" in n && t(0, o = n.status), "tourid" in n && t(21, d = n.tourid), "thumbnail" in n && t(3, b = n.thumbnail), "userenrolled" in n && t(4, S = n.userenrolled), "scorecriteria" in n && t(22, v = n.scorecriteria), "minbetcount" in n && t(5, K = n.minbetcount), "showenrolled" in n && t(6, H = n.showenrolled), "detailsevent" in n && t(23, D = n.detailsevent), "gameurl" in n && t(7, V = n.gameurl), "lang" in n && t(24, E = n.lang), "keepbrowsercontext" in n && t(8, B = n.keepbrowsercontext), "clientstyling" in n && t(25, N = n.clientstyling), "clientstylingurl" in n && t(26, P = n.clientstylingurl), "translationurl" in n && t(27, W = n.translationurl), "mbsource" in n && t(28, G = n.mbsource);
756
756
  }, i.$$.update = () => {
757
757
  i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
758
- 33554944 && N && T && we(T, N), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
759
- 67109376 && P && T && Ce(T, P), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
760
- 268435968 && G && T && _e(T, `${G}.Style`), i.$$.dirty[0] & /*translationurl*/
758
+ 33554944 && N && T && Ae(T, N), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
759
+ 67109376 && P && T && ve(T, P), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
760
+ 268435968 && G && T && Te(T, `${G}.Style`), i.$$.dirty[0] & /*translationurl*/
761
761
  134217728 && W && Q(), i.$$.dirty[0] & /*status*/
762
762
  1 && o && U(), i.$$.dirty[0] & /*title, lang*/
763
763
  16777218 && s && E && f(), i.$$.dirty[0] & /*startdate*/
@@ -803,7 +803,7 @@ class Ne extends be {
803
803
  e,
804
804
  je,
805
805
  ze,
806
- pe,
806
+ he,
807
807
  {
808
808
  userid: 20,
809
809
  title: 1,
@@ -937,7 +937,7 @@ class Ne extends be {
937
937
  this.$$set({ mbsource: e }), h();
938
938
  }
939
939
  }
940
- he(Ne, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
940
+ we(Ne, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
941
941
  export {
942
942
  Ne as default
943
943
  };
@@ -1,6 +1,6 @@
1
- import { $ as ee, a as ce, b as ge, S as be, i as fe, f as h, c as he, s as pe, d as ke, e as p, g as F, h as m, j as C, k as c, n as ae, l as _, m as ye, o as Se, p as Ce, q as _e, t as A, r as $, u as Z, v as z, w as ie, x as Ae, y as ve, z as Te, A as we, B as te, C as q, D as Me } from "./CasinoTournamentsListController-vvccDI52.js";
2
- import "../stencil/ui-skeleton-C73UqtBQ.js";
3
- import "../stencil/ui-image-CNrnXPP3.js";
1
+ import { $ as ee, a as ce, b as ge, S as be, i as fe, s as he, f as h, c as pe, n as ae, d as C, e as m, g as _, h as c, j as p, k as F, l as ke, o as ye, r as ie, m as z, p as $, q as Z, t as A, u as Se, v as Ce, w as te, x as q, y as _e, z as Ae, A as ve, B as Te, C as we, D as Me } from "./CasinoTournamentsListController-CmPRdMx4.js";
2
+ import "../stencil/ui-skeleton-D8L-WY77.js";
3
+ import "../stencil/ui-image-DgbODkuX.js";
4
4
  function Je({ withLocale: i, translations: e }) {
5
5
  ee.subscribe((t) => {
6
6
  t == null && (ce.set(e), ee.set(i));
@@ -345,7 +345,7 @@ const ne = {
345
345
  }
346
346
  };
347
347
  function De(i) {
348
- ke(i, "svelte-52u9sp", ':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{cursor:pointer;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{cursor:pointer;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
+ pe(i, "svelte-52u9sp", ':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{cursor:pointer;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{cursor:pointer;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 se(i) {
351
351
  let e, t, r;
@@ -354,10 +354,10 @@ function se(i) {
354
354
  e = p("div"), e.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', t = F(), r = p("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
- C(a, e, s), C(a, t, s), C(a, r, s);
357
+ _(a, e, s), _(a, t, s), _(a, r, s);
358
358
  },
359
359
  d(a) {
360
- a && (_(e), _(t), _(r));
360
+ a && (C(e), C(t), C(r));
361
361
  }
362
362
  };
363
363
  }
@@ -413,7 +413,7 @@ function le(i) {
413
413
  i[8] === "true" ? "_self" : "_blank"), m(J, "part", "GamesP"), m(x, "class", "Games"), m(x, "part", "Games"), m(a, "class", "Details"), m(a, "part", "Details");
414
414
  },
415
415
  m(u, g) {
416
- f && f.m(u, g), C(u, e, g), k && k.m(u, g), C(u, t, g), M.m(u, g), C(u, r, g), C(u, a, g), c(a, s), c(s, l), c(a, o), y && y.m(a, null), c(a, d), c(a, b), c(b, S), c(S, K), c(S, H), c(S, D), c(D, V), c(S, E), c(S, N), c(S, P), c(S, W), c(S, G), c(a, T), c(a, x), c(x, J), c(J, j), c(J, Q), c(J, w), c(w, U), Y || (X = [
416
+ f && f.m(u, g), _(u, e, g), k && k.m(u, g), _(u, t, g), M.m(u, g), _(u, r, g), _(u, a, g), c(a, s), c(s, l), c(a, o), y && y.m(a, null), c(a, d), c(a, b), c(b, S), c(S, K), c(S, H), c(S, D), c(D, V), c(S, E), c(S, N), c(S, P), c(S, W), c(S, G), c(a, T), c(a, x), c(x, J), c(J, j), c(J, Q), c(J, w), c(w, U), Y || (X = [
417
417
  $(
418
418
  s,
419
419
  "click",
@@ -470,7 +470,7 @@ function le(i) {
470
470
  u[8] === "true" ? "_self" : "_blank") && m(w, "target", L);
471
471
  },
472
472
  d(u) {
473
- u && (_(e), _(t), _(r), _(a)), f && f.d(u), k && k.d(u), M.d(u), y && y.d(), Y = !1, ie(X);
473
+ u && (C(e), C(t), C(r), C(a)), f && f.d(u), k && k.d(u), M.d(u), y && y.d(), Y = !1, ie(X);
474
474
  }
475
475
  };
476
476
  }
@@ -486,7 +486,7 @@ function oe(i) {
486
486
  i[13]);
487
487
  },
488
488
  m(o, d) {
489
- C(o, e, d), c(e, t), s || (l = Z(
489
+ _(o, e, d), c(e, t), s || (l = Z(
490
490
  /*matchStatus*/
491
491
  i[16].call(null, e)
492
492
  ), s = !0);
@@ -504,7 +504,7 @@ function oe(i) {
504
504
  o[13]) && m(e, "part", a);
505
505
  },
506
506
  d(o) {
507
- o && _(e), s = !1, l();
507
+ o && C(e), s = !1, l();
508
508
  }
509
509
  };
510
510
  }
@@ -515,17 +515,17 @@ function ue(i) {
515
515
  );
516
516
  return {
517
517
  c() {
518
- t && t.c(), e = Ae();
518
+ t && t.c(), e = Ce();
519
519
  },
520
520
  m(r, a) {
521
- t && t.m(r, a), C(r, e, a);
521
+ t && t.m(r, a), _(r, e, a);
522
522
  },
523
523
  p(r, a) {
524
524
  /*userenrolled*/
525
525
  r[4] ? t ? t.p(r, a) : (t = me(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
526
526
  },
527
527
  d(r) {
528
- r && _(e), t && t.d(r);
528
+ r && C(e), t && t.d(r);
529
529
  }
530
530
  };
531
531
  }
@@ -539,7 +539,7 @@ function me(i) {
539
539
  e = p("div"), r = A(t), m(e, "class", "Enrolled"), m(e, "part", "Enrolled");
540
540
  },
541
541
  m(a, s) {
542
- C(a, e, s), c(e, r);
542
+ _(a, e, s), c(e, r);
543
543
  },
544
544
  p(a, s) {
545
545
  s[0] & /*$_*/
@@ -547,7 +547,7 @@ function me(i) {
547
547
  a[14]("enrolled") + "") && z(r, t);
548
548
  },
549
549
  d(a) {
550
- a && _(e);
550
+ a && C(e);
551
551
  }
552
552
  };
553
553
  }
@@ -562,7 +562,7 @@ function Ie(i) {
562
562
  i[0] == "Closed" ? "CardImgFinished" : ""));
563
563
  },
564
564
  m(d, b) {
565
- C(d, e, b), c(e, t), l || (o = [
565
+ _(d, e, b), c(e, t), l || (o = [
566
566
  Z(
567
567
  /*matchStatus*/
568
568
  i[16].call(null, e)
@@ -585,7 +585,7 @@ function Ie(i) {
585
585
  d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
586
586
  },
587
587
  d(d) {
588
- d && _(e), l = !1, ie(o);
588
+ d && C(e), l = !1, ie(o);
589
589
  }
590
590
  };
591
591
  }
@@ -601,7 +601,7 @@ function Fe(i) {
601
601
  i[0] == "Closed" ? "CardImgFinished" : ""));
602
602
  },
603
603
  m(d, b) {
604
- C(d, e, b), c(e, t), l || (o = [
604
+ _(d, e, b), c(e, t), l || (o = [
605
605
  Z(
606
606
  /*matchStatus*/
607
607
  i[16].call(null, e)
@@ -626,7 +626,7 @@ function Fe(i) {
626
626
  d[0] == "Closed" ? "CardImgFinished" : "")) && m(e, "part", s);
627
627
  },
628
628
  d(d) {
629
- d && _(e), l = !1, ie(o);
629
+ d && C(e), l = !1, ie(o);
630
630
  }
631
631
  };
632
632
  }
@@ -640,7 +640,7 @@ function de(i) {
640
640
  ), m(e, "class", "Date"), m(e, "part", "Date");
641
641
  },
642
642
  m(l, o) {
643
- C(l, e, o), c(e, t), a || (s = Z(r = /*formatDate*/
643
+ _(l, e, o), c(e, t), a || (s = Z(r = /*formatDate*/
644
644
  i[15].call(
645
645
  null,
646
646
  e,
@@ -654,7 +654,7 @@ function de(i) {
654
654
  t,
655
655
  /*shownDate*/
656
656
  l[10]
657
- ), r && ve(r.update) && o[0] & /*startdate*/
657
+ ), r && _e(r.update) && o[0] & /*startdate*/
658
658
  4 && r.update.call(
659
659
  null,
660
660
  /*startdate*/
@@ -662,7 +662,7 @@ function de(i) {
662
662
  );
663
663
  },
664
664
  d(l) {
665
- l && _(e), a = !1, s();
665
+ l && C(e), a = !1, s();
666
666
  }
667
667
  };
668
668
  }
@@ -680,7 +680,7 @@ function ze(i) {
680
680
  i[1] === "undefined" ? "Loading" : ""}`), m(e, "part", "Thumbnail");
681
681
  },
682
682
  m(l, o) {
683
- C(l, e, o), a && a.m(e, null), c(e, t), s && s.m(e, null), i[29](e);
683
+ _(l, e, o), a && a.m(e, null), c(e, t), s && s.m(e, null), i[29](e);
684
684
  },
685
685
  p(l, o) {
686
686
  /*title*/
@@ -692,13 +692,13 @@ function ze(i) {
692
692
  i: ae,
693
693
  o: ae,
694
694
  d(l) {
695
- l && _(e), a && a.d(), s && s.d(), i[29](null);
695
+ l && C(e), a && a.d(), s && s.d(), i[29](null);
696
696
  }
697
697
  };
698
698
  }
699
699
  function je(i, e, t) {
700
700
  let r;
701
- ye(i, Me, (n) => t(14, r = n));
701
+ ke(i, Me, (n) => t(14, r = n));
702
702
  let { userid: a = "" } = e, { title: s = "" } = e, { startdate: l = "" } = e, { status: o = "" } = e, { tourid: d = "" } = e, { thumbnail: b = "" } = e, { userenrolled: S = "" } = e, { scorecriteria: v = "" } = e, { minbetcount: K = "" } = e, { showenrolled: H = "false" } = e, { detailsevent: D = "" } = e, { gameurl: V = "" } = e, { lang: E = "en" } = e, { keepbrowsercontext: B = "false" } = e, { clientstyling: N = "" } = e, { clientstylingurl: P = "" } = e, { translationurl: W = "" } = e, { mbsource: G } = e, T, x = "", J = "", I = "", j = "";
703
703
  Je({ withLocale: "en", translations: {} });
704
704
  const Q = () => {
@@ -740,14 +740,14 @@ function je(i, e, t) {
740
740
  window.location.href
741
741
  );
742
742
  };
743
- Se(() => (setTimeout(() => f(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", w, !1), () => {
743
+ ye(() => (setTimeout(() => f(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", w, !1), () => {
744
744
  window.removeEventListener("message", w);
745
745
  }));
746
746
  const f = () => {
747
747
  Re(E), L(), U(), l && O();
748
748
  };
749
749
  function k(n) {
750
- Te[n ? "unshift" : "push"](() => {
750
+ Se[n ? "unshift" : "push"](() => {
751
751
  T = n, t(9, T);
752
752
  });
753
753
  }
@@ -755,9 +755,9 @@ function je(i, e, t) {
755
755
  "userid" in n && t(20, a = n.userid), "title" in n && t(1, s = n.title), "startdate" in n && t(2, l = n.startdate), "status" in n && t(0, o = n.status), "tourid" in n && t(21, d = n.tourid), "thumbnail" in n && t(3, b = n.thumbnail), "userenrolled" in n && t(4, S = n.userenrolled), "scorecriteria" in n && t(22, v = n.scorecriteria), "minbetcount" in n && t(5, K = n.minbetcount), "showenrolled" in n && t(6, H = n.showenrolled), "detailsevent" in n && t(23, D = n.detailsevent), "gameurl" in n && t(7, V = n.gameurl), "lang" in n && t(24, E = n.lang), "keepbrowsercontext" in n && t(8, B = n.keepbrowsercontext), "clientstyling" in n && t(25, N = n.clientstyling), "clientstylingurl" in n && t(26, P = n.clientstylingurl), "translationurl" in n && t(27, W = n.translationurl), "mbsource" in n && t(28, G = n.mbsource);
756
756
  }, i.$$.update = () => {
757
757
  i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
758
- 33554944 && N && T && we(T, N), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
759
- 67109376 && P && T && Ce(T, P), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
760
- 268435968 && G && T && _e(T, `${G}.Style`), i.$$.dirty[0] & /*translationurl*/
758
+ 33554944 && N && T && Ae(T, N), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
759
+ 67109376 && P && T && ve(T, P), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
760
+ 268435968 && G && T && Te(T, `${G}.Style`), i.$$.dirty[0] & /*translationurl*/
761
761
  134217728 && W && Q(), i.$$.dirty[0] & /*status*/
762
762
  1 && o && U(), i.$$.dirty[0] & /*title, lang*/
763
763
  16777218 && s && E && f(), i.$$.dirty[0] & /*startdate*/
@@ -803,7 +803,7 @@ class Ne extends be {
803
803
  e,
804
804
  je,
805
805
  ze,
806
- pe,
806
+ he,
807
807
  {
808
808
  userid: 20,
809
809
  title: 1,
@@ -937,7 +937,7 @@ class Ne extends be {
937
937
  this.$$set({ mbsource: e }), h();
938
938
  }
939
939
  }
940
- he(Ne, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
940
+ we(Ne, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
941
941
  export {
942
942
  Ne as default
943
943
  };
@@ -0,0 +1,16 @@
1
+ "use strict";var $=(r,t,e)=>new Promise((i,o)=>{var s=c=>{try{l(e.next(c))}catch(p){o(p)}},a=c=>{try{l(e.throw(c))}catch(p){o(p)}},l=c=>c.done?i(c.value):Promise.resolve(c.value).then(s,a);l((e=e.apply(r,t)).next())});const n=require("./CasinoTournamentsListController-DXzweeLN.cjs");/*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation.
3
+
4
+ Permission to use, copy, modify, and/or distribute this software for any
5
+ purpose with or without fee is hereby granted.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.
14
+ ***************************************************************************** */var te=function(r,t){return te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])},te(r,t)};function P(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");te(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function ne(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],i=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function re(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var i=e.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(a)throw a.error}}return s}function ie(r,t,e){if(arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||t)}function S(r){return typeof r=="function"}function Ue(r){var t=function(i){Error.call(i),i.stack=new Error().stack},e=r(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var ee=Ue(function(r){return function(e){r(this),this.message=e?e.length+` errors occurred during unsubscription:
15
+ `+e.map(function(i,o){return o+1+") "+i.toString()}).join(`
16
+ `):"",this.name="UnsubscriptionError",this.errors=e}});function oe(r,t){if(r){var e=r.indexOf(t);0<=e&&r.splice(e,1)}}var G=function(){function r(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var t,e,i,o,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=ne(a),c=l.next();!c.done;c=l.next()){var p=c.value;p.remove(this)}}catch(_){t={error:_}}finally{try{c&&!c.done&&(e=l.return)&&e.call(l)}finally{if(t)throw t.error}}else a.remove(this);var h=this.initialTeardown;if(S(h))try{h()}catch(_){s=_ instanceof ee?_.errors:[_]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var d=ne(f),g=d.next();!g.done;g=d.next()){var m=g.value;try{Fe(m)}catch(_){s=s!=null?s:[],_ instanceof ee?s=ie(ie([],re(s)),re(_.errors)):s.push(_)}}}catch(_){i={error:_}}finally{try{g&&!g.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}if(s)throw new ee(s)}},r.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)Fe(t);else{if(t instanceof r){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},r.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},r.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},r.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&oe(e,t)},r.prototype.remove=function(t){var e=this._finalizers;e&&oe(e,t),t instanceof r&&t._removeParent(this)},r.EMPTY=function(){var t=new r;return t.closed=!0,t}(),r}(),Je=G.EMPTY;function We(r){return r instanceof G||r&&"closed"in r&&S(r.remove)&&S(r.add)&&S(r.unsubscribe)}function Fe(r){S(r)?r():r.unsubscribe()}var it={Promise:void 0},ot={setTimeout:function(r,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return setTimeout.apply(void 0,ie([r,t],re(e)))},clearTimeout:function(r){return clearTimeout(r)},delegate:void 0};function st(r){ot.setTimeout(function(){throw r})}function Ee(){}function q(r){r()}var He=function(r){P(t,r);function t(e){var i=r.call(this)||this;return i.isStopped=!1,e?(i.destination=e,We(e)&&e.add(i)):i.destination=ut,i}return t.create=function(e,i,o){return new se(e,i,o)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(G),at=function(){function r(t){this.partialObserver=t}return r.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(i){H(i)}},r.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(i){H(i)}else H(t)},r.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){H(e)}},r}(),se=function(r){P(t,r);function t(e,i,o){var s=r.call(this)||this,a;return S(e)||!e?a={next:e!=null?e:void 0,error:i!=null?i:void 0,complete:o!=null?o:void 0}:a=e,s.destination=new at(a),s}return t}(He);function H(r){st(r)}function lt(r){throw r}var ut={closed:!0,next:Ee,error:lt,complete:Ee},ct=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ft(r){return r}function dt(r){return r.length===0?ft:r.length===1?r[0]:function(e){return r.reduce(function(i,o){return o(i)},e)}}var je=function(){function r(t){t&&(this._subscribe=t)}return r.prototype.lift=function(t){var e=new r;return e.source=this,e.operator=t,e},r.prototype.subscribe=function(t,e,i){var o=this,s=ht(t)?t:new se(t,e,i);return q(function(){var a=o,l=a.operator,c=a.source;s.add(l?l.call(s,c):c?o._subscribe(s):o._trySubscribe(s))}),s},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(t,e){var i=this;return e=ze(e),new e(function(o,s){var a=new se({next:function(l){try{t(l)}catch(c){s(c),a.unsubscribe()}},error:s,complete:o});i.subscribe(a)})},r.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},r.prototype[ct]=function(){return this},r.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return dt(t)(this)},r.prototype.toPromise=function(t){var e=this;return t=ze(t),new t(function(i,o){var s;e.subscribe(function(a){return s=a},function(a){return o(a)},function(){return i(s)})})},r.create=function(t){return new r(t)},r}();function ze(r){var t;return(t=r!=null?r:it.Promise)!==null&&t!==void 0?t:Promise}function mt(r){return r&&S(r.next)&&S(r.error)&&S(r.complete)}function ht(r){return r&&r instanceof He||mt(r)&&We(r)}var pt=Ue(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),qe=function(r){P(t,r);function t(){var e=r.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var i=new Pe(this,this);return i.operator=e,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new pt},t.prototype.next=function(e){var i=this;q(function(){var o,s;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var a=ne(i.currentObservers),l=a.next();!l.done;l=a.next()){var c=l.value;c.next(e)}}catch(p){o={error:p}}finally{try{l&&!l.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}}})},t.prototype.error=function(e){var i=this;q(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var o=i.observers;o.length;)o.shift().error(e)}})},t.prototype.complete=function(){var e=this;q(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var i=e.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var i=this,o=this,s=o.hasError,a=o.isStopped,l=o.observers;return s||a?Je:(this.currentObservers=null,l.push(e),new G(function(){i.currentObservers=null,oe(l,e)}))},t.prototype._checkFinalizedStatuses=function(e){var i=this,o=i.hasError,s=i.thrownError,a=i.isStopped;o?e.error(s):a&&e.complete()},t.prototype.asObservable=function(){var e=new je;return e.source=this,e},t.create=function(e,i){return new Pe(e,i)},t}(je),Pe=function(r){P(t,r);function t(e,i){var o=r.call(this)||this;return o.destination=e,o.source=i,o}return t.prototype.next=function(e){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.next)===null||o===void 0||o.call(i,e)},t.prototype.error=function(e){var i,o;(o=(i=this.destination)===null||i===void 0?void 0:i.error)===null||o===void 0||o.call(i,e)},t.prototype.complete=function(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)},t.prototype._subscribe=function(e){var i,o;return(o=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&o!==void 0?o:Je},t}(qe),Ge={now:function(){return(Ge.delegate||Date).now()},delegate:void 0},_t=function(r){P(t,r);function t(e,i,o){e===void 0&&(e=1/0),i===void 0&&(i=1/0),o===void 0&&(o=Ge);var s=r.call(this)||this;return s._bufferSize=e,s._windowTime=i,s._timestampProvider=o,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=i===1/0,s._bufferSize=Math.max(1,e),s._windowTime=Math.max(1,i),s}return t.prototype.next=function(e){var i=this,o=i.isStopped,s=i._buffer,a=i._infiniteTimeWindow,l=i._timestampProvider,c=i._windowTime;o||(s.push(e),!a&&s.push(l.now()+c)),this._trimBuffer(),r.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(e),o=this,s=o._infiniteTimeWindow,a=o._buffer,l=a.slice(),c=0;c<l.length&&!e.closed;c+=s?1:2)e.next(l[c]);return this._checkFinalizedStatuses(e),i},t.prototype._trimBuffer=function(){var e=this,i=e._bufferSize,o=e._timestampProvider,s=e._buffer,a=e._infiniteTimeWindow,l=(a?1:2)*i;if(i<1/0&&l<s.length&&s.splice(0,s.length-l),!a){for(var c=o.now(),p=0,h=1;h<s.length&&s[h]<=c;h+=2)p=h;p&&s.splice(0,p+1)}},t}(qe);const Ce=[],Be={},gt=(r,t=0)=>{if(Ce.indexOf(r)==-1){const e=new _t(t);Be[r]=e,Ce.push(r)}return Be[r]};window.emWidgets={topic:gt};const ae=r=>r.toLowerCase().match(/android/i)?"Android":r.toLowerCase().match(/iphone/i)?"iPhone":r.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function bt({withLocale:r,translations:t}){n.$locale.subscribe(e=>{e==null&&(n.$dictionary.set(t),n.$locale.set(r))})}function xe(r,t){n.addMessages(r,t)}function wt(r){n.$locale.set(r)}const Oe={en:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."},hr:{login:"Prijava",register:"Registracija",details:"Detalji",enrolled:"Upisan",join:"Pridruži se",joinerror:"Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."},"zh-hk":{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"},fr:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi"},ro:{login:"Autentificare",register:"Înregistrare",details:"Detalii",enrolled:"Înscris",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."},tr:{login:"Giriş yapmak",register:"Kayıt olmak",details:"Detaylar",enrolled:"Katıldın",join:"Katılmak",joinerror:"Turnuvaya kayıt olurken bir hata oluştu, lütfen tekrar deneyin."},el:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."},es:{login:"Iniciar sesión",register:"Regístrate",details:"Detalles",enrolled:"Participando",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo"},hu:{login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",enrolled:"Feliratkozott",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."},pt:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio"},"en-us":{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."}};if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnail-CfmPohld.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail")&&customElements.define("casino-tournaments-thumbnail",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailDuration-DEWie4Bz.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-duration")&&customElements.define("casino-tournaments-thumbnail-duration",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailPrizes-CnSTDH80.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-prizes")&&customElements.define("casino-tournaments-thumbnail-prizes",t.element)})}if(typeof window!="undefined"){let r=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGamesSlider-Bvi3agBk.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games-slider")&&customElements.define("casino-tournaments-thumbnail-games-slider",t.element)})}function yt(r){n.append_styles(r,"svelte-chi6uq",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loading .TournamentCard{background-color:transparent}.Loading .TournamentButtons,.Loading .TournamentPrizes,.Loading .TournamentsGamesSlider{width:100%;display:block;margin:0}.Loading .TournamentButtons .Rectangle.Skeleton,.Loading .TournamentPrizes .Rectangle.Skeleton,.Loading .TournamentsGamesSlider .Rectangle.Skeleton{width:100%}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}')}function vt(r){let t,e,i,o,s,a,l,c=r[25]&&De(r);function p(m,_){if(!m[15])return Ft;if(m[24]!="Closed"&&m[24]!="Closing")return Tt;if(m[2]=="true")return St}let h=p(r),f=h&&h(r),d=(r[18]||r[20])&&Ie(r),g=r[3]=="true"&&Me(r);return{c(){c&&c.c(),t=n.space(),e=n.element("casino-tournaments-thumbnail-duration"),i=n.space(),o=n.element("div"),f&&f.c(),s=n.space(),d&&d.c(),a=n.space(),g&&g.c(),l=n.empty(),n.set_custom_element_data(e,"clientstyling",r[10]),n.set_custom_element_data(e,"clientstylingurl",r[11]),n.set_custom_element_data(e,"translationurl",r[12]),n.set_custom_element_data(e,"status",r[24]),n.set_custom_element_data(e,"startdate",r[22]),n.set_custom_element_data(e,"lang",r[7]),n.set_custom_element_data(e,"mbsource",r[13]),n.set_custom_element_data(e,"enddate",r[23]),n.set_custom_element_data(e,"exportparts","TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill"),n.attr(o,"class","TournamentButtons"),n.attr(o,"part","TournamentButtons")},m(m,_){c&&c.m(m,_),n.insert(m,t,_),n.insert(m,e,_),n.insert(m,i,_),n.insert(m,o,_),f&&f.m(o,null),n.insert(m,s,_),d&&d.m(m,_),n.insert(m,a,_),g&&g.m(m,_),n.insert(m,l,_)},p(m,_){m[25]?c?c.p(m,_):(c=De(m),c.c(),c.m(t.parentNode,t)):c&&(c.d(1),c=null),_[0]&1024&&n.set_custom_element_data(e,"clientstyling",m[10]),_[0]&2048&&n.set_custom_element_data(e,"clientstylingurl",m[11]),_[0]&4096&&n.set_custom_element_data(e,"translationurl",m[12]),_[0]&16777216&&n.set_custom_element_data(e,"status",m[24]),_[0]&4194304&&n.set_custom_element_data(e,"startdate",m[22]),_[0]&128&&n.set_custom_element_data(e,"lang",m[7]),_[0]&8192&&n.set_custom_element_data(e,"mbsource",m[13]),_[0]&8388608&&n.set_custom_element_data(e,"enddate",m[23]),h===(h=p(m))&&f?f.p(m,_):(f&&f.d(1),f=h&&h(m),f&&(f.c(),f.m(o,null))),m[18]||m[20]?d?d.p(m,_):(d=Ie(m),d.c(),d.m(a.parentNode,a)):d&&(d.d(1),d=null),m[3]=="true"?g?g.p(m,_):(g=Me(m),g.c(),g.m(l.parentNode,l)):g&&(g.d(1),g=null)},d(m){m&&(n.detach(t),n.detach(e),n.detach(i),n.detach(o),n.detach(s),n.detach(a),n.detach(l)),c&&c.d(m),f&&f.d(),d&&d.d(m),g&&g.d(m)}}}function kt(r){let t,e,i;return{c(){t=n.element("div"),t.innerHTML='<div class="TournamentPrizesIconSection" part="TournamentPrizesIconSection"><ui-skeleton structure="rectangle" width="200px" height="80px"></ui-skeleton></div>',e=n.space(),i=n.element("div"),i.innerHTML='<ui-skeleton structure="rectangle" width="200px" height="80px"></ui-skeleton>',n.attr(t,"class","TournamentPrizes"),n.attr(t,"part","TournamentPrizes"),n.attr(i,"class","TournamentButtons"),n.attr(i,"part","TournamentButtons")},m(o,s){n.insert(o,t,s),n.insert(o,e,s),n.insert(o,i,s)},p:n.noop,d(o){o&&(n.detach(t),n.detach(e),n.detach(i))}}}function De(r){let t,e,i,o;return{c(){t=n.element("casino-tournaments-thumbnail-prizes"),n.set_custom_element_data(t,"tourid",r[25]),n.set_custom_element_data(t,"clientstyling",r[10]),n.set_custom_element_data(t,"clientstylingurl",r[11]),n.set_custom_element_data(t,"mbsource",r[13]),n.set_custom_element_data(t,"translationurl",r[12]),n.set_custom_element_data(t,"exportparts","TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper")},m(s,a){n.insert(s,t,a),i||(o=n.action_destroyer(e=r[38].call(null,t,r[25])),i=!0)},p(s,a){a[0]&33554432&&n.set_custom_element_data(t,"tourid",s[25]),a[0]&1024&&n.set_custom_element_data(t,"clientstyling",s[10]),a[0]&2048&&n.set_custom_element_data(t,"clientstylingurl",s[11]),a[0]&8192&&n.set_custom_element_data(t,"mbsource",s[13]),a[0]&4096&&n.set_custom_element_data(t,"translationurl",s[12]),e&&n.is_function(e.update)&&a[0]&33554432&&e.update.call(null,s[25])},d(s){s&&n.detach(t),i=!1,o()}}}function St(r){let t,e=r[33]("details")+"",i,o,s;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","DetailsLargeButton"),n.attr(t,"part","DetailsLargeButton")},m(a,l){n.insert(a,t,l),n.append(t,i),o||(s=n.listen(t,"click",function(){n.is_function(r[36].bind(this,r[25]))&&r[36].bind(this,r[25]).apply(this,arguments)}),o=!0)},p(a,l){r=a,l[1]&4&&e!==(e=r[33]("details")+"")&&n.set_data(i,e)},d(a){a&&n.detach(t),o=!1,s()}}}function Tt(r){let t,e,i=r[2]=="true"&&Ae(r);function o(l,c){return l[27]?jt:Et}let s=o(r),a=s(r);return{c(){i&&i.c(),t=n.space(),a.c(),e=n.empty()},m(l,c){i&&i.m(l,c),n.insert(l,t,c),a.m(l,c),n.insert(l,e,c)},p(l,c){l[2]=="true"?i?i.p(l,c):(i=Ae(l),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),s===(s=o(l))&&a?a.p(l,c):(a.d(1),a=s(l),a&&(a.c(),a.m(e.parentNode,e)))},d(l){l&&(n.detach(t),n.detach(e)),i&&i.d(l),a.d(l)}}}function Ft(r){let t,e=r[33]("login")+"",i,o,s,a=r[33]("register")+"",l,c,p;return{c(){t=n.element("button"),i=n.text(e),o=n.space(),s=n.element("button"),l=n.text(a),n.attr(t,"class","LoginButton"),n.attr(t,"part","LoginButton"),n.attr(s,"class","RegisterButton"),n.attr(s,"part","RegisterButton")},m(h,f){n.insert(h,t,f),n.append(t,i),n.insert(h,o,f),n.insert(h,s,f),n.append(s,l),c||(p=[n.listen(t,"click",r[34]),n.listen(s,"click",r[35])],c=!0)},p(h,f){f[1]&4&&e!==(e=h[33]("login")+"")&&n.set_data(i,e),f[1]&4&&a!==(a=h[33]("register")+"")&&n.set_data(l,a)},d(h){h&&(n.detach(t),n.detach(o),n.detach(s)),c=!1,n.run_all(p)}}}function Ae(r){let t,e=r[33]("details")+"",i,o,s;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","DetailsButton"),n.attr(t,"part","DetailsButton")},m(a,l){n.insert(a,t,l),n.append(t,i),o||(s=n.listen(t,"click",function(){n.is_function(r[36].bind(this,r[25]))&&r[36].bind(this,r[25]).apply(this,arguments)}),o=!0)},p(a,l){r=a,l[1]&4&&e!==(e=r[33]("details")+"")&&n.set_data(i,e)},d(a){a&&n.detach(t),o=!1,s()}}}function Et(r){let t,e,i,o,s;function a(p,h){return p[17]==!0?Pt:zt}let l=a(r),c=l(r);return{c(){t=n.element("button"),c.c(),n.attr(t,"class",e="JoinButton "+(r[6]?"JoinButtonFullSize":"")),n.attr(t,"part",i="JoinButton "+(r[6]?"JoinButtonFullSize":"")),t.disabled=r[18]},m(p,h){n.insert(p,t,h),c.m(t,null),o||(s=n.listen(t,"click",r[48]),o=!0)},p(p,h){l===(l=a(p))&&c?c.p(p,h):(c.d(1),c=l(p),c&&(c.c(),c.m(t,null))),h[0]&64&&e!==(e="JoinButton "+(p[6]?"JoinButtonFullSize":""))&&n.attr(t,"class",e),h[0]&64&&i!==(i="JoinButton "+(p[6]?"JoinButtonFullSize":""))&&n.attr(t,"part",i),h[0]&262144&&(t.disabled=p[18])},d(p){p&&n.detach(t),c.d(),o=!1,s()}}}function jt(r){let t,e=r[2]=="true"&&Le(r);return{c(){e&&e.c(),t=n.empty()},m(i,o){e&&e.m(i,o),n.insert(i,t,o)},p(i,o){i[2]=="true"?e?e.p(i,o):(e=Le(i),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(i){i&&n.detach(t),e&&e.d(i)}}}function zt(r){let t,e=r[33]("join")+"",i,o,s,a,l,c,p,h;return{c(){t=n.element("span"),i=n.text(e),o=n.space(),s=n.svg_element("svg"),a=n.svg_element("defs"),l=n.svg_element("style"),c=n.text(".a{fill:var(--emw--color-white, #FFFFFF);}"),p=n.svg_element("g"),h=n.svg_element("path"),n.attr(t,"part","JoinButtonSpan"),n.attr(h,"class","a"),n.attr(h,"part","a JoinButtonSvgA"),n.attr(h,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),n.attr(h,"transform","translate(26 26) rotate(180)"),n.attr(p,"transform","translate(26 26) rotate(180)"),n.attr(s,"part","JoinButtonSvg"),n.attr(s,"xmlns","http://www.w3.org/2000/svg"),n.attr(s,"width","26"),n.attr(s,"height","26"),n.attr(s,"viewBox","0 0 26 26")},m(f,d){n.insert(f,t,d),n.append(t,i),n.insert(f,o,d),n.insert(f,s,d),n.append(s,a),n.append(a,l),n.append(l,c),n.append(s,p),n.append(p,h)},p(f,d){d[1]&4&&e!==(e=f[33]("join")+"")&&n.set_data(i,e)},d(f){f&&(n.detach(t),n.detach(o),n.detach(s))}}}function Pt(r){let t,e;return{c(){t=n.svg_element("svg"),e=n.svg_element("circle"),n.attr(e,"cx","20"),n.attr(e,"cy","20"),n.attr(e,"r","18"),n.attr(t,"class","spinner"),n.attr(t,"part","spinner")},m(i,o){n.insert(i,t,o),n.append(t,e)},p:n.noop,d(i){i&&n.detach(t)}}}function Le(r){let t,e=r[33]("enrolled")+"",i;return{c(){t=n.element("button"),i=n.text(e),n.attr(t,"class","EnrolledButton"),n.attr(t,"part","EnrolledButton"),t.disabled=!0},m(o,s){n.insert(o,t,s),n.append(t,i)},p(o,s){s[1]&4&&e!==(e=o[33]("enrolled")+"")&&n.set_data(i,e)},d(o){o&&n.detach(t)}}}function Ie(r){let t,e=r[33]("joinerror")+"",i,o,s;return{c(){t=n.element("span"),i=n.text(e),o=n.space(),s=n.text(r[19]),n.attr(t,"class","ErrorText"),n.attr(t,"part","ErrorText")},m(a,l){n.insert(a,t,l),n.append(t,i),n.append(t,o),n.append(t,s)},p(a,l){l[1]&4&&e!==(e=a[33]("joinerror")+"")&&n.set_data(i,e),l[0]&524288&&n.set_data(s,a[19])},d(a){a&&n.detach(t)}}}function Me(r){let t,e,i=r[16]&&Re();return{c(){i&&i.c(),t=n.space(),e=n.element("casino-tournaments-thumbnail-games-slider"),n.set_custom_element_data(e,"clientstyling",r[10]),n.set_custom_element_data(e,"clientstylingurl",r[11]),n.set_custom_element_data(e,"translationurl",r[12]),n.set_custom_element_data(e,"tournamenturl",r[1]),n.set_custom_element_data(e,"mbsource",r[13]),n.set_custom_element_data(e,"lang",r[7]),n.set_custom_element_data(e,"scrollby","2"),n.set_custom_element_data(e,"exportparts","TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton")},m(o,s){i&&i.m(o,s),n.insert(o,t,s),n.insert(o,e,s)},p(o,s){o[16]?i||(i=Re(),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),s[0]&1024&&n.set_custom_element_data(e,"clientstyling",o[10]),s[0]&2048&&n.set_custom_element_data(e,"clientstylingurl",o[11]),s[0]&4096&&n.set_custom_element_data(e,"translationurl",o[12]),s[0]&2&&n.set_custom_element_data(e,"tournamenturl",o[1]),s[0]&8192&&n.set_custom_element_data(e,"mbsource",o[13]),s[0]&128&&n.set_custom_element_data(e,"lang",o[7])},d(o){o&&(n.detach(t),n.detach(e)),i&&i.d(o)}}}function Re(r){let t;return{c(){t=n.element("div"),t.innerHTML='<ui-skeleton structure="rectangle" width="290px" height="80px"></ui-skeleton>',n.attr(t,"class","TournamentsGamesSlider")},m(e,i){n.insert(e,t,i)},d(e){e&&n.detach(t)}}}function Ct(r){let t,e,i,o,s,a,l;function c(f,d){return f[16]?kt:vt}let p=c(r),h=p(r);return{c(){t=n.element("div"),e=n.element("div"),i=n.element("casino-tournaments-thumbnail"),o=n.space(),h.c(),n.set_custom_element_data(i,"detailsevent",r[8]),n.set_custom_element_data(i,"userid",r[0]),n.set_custom_element_data(i,"title",r[21]),n.set_custom_element_data(i,"status",r[24]),n.set_custom_element_data(i,"startdate",r[22]),n.set_custom_element_data(i,"tourid",r[25]),n.set_custom_element_data(i,"scorecriteria",r[28]),n.set_custom_element_data(i,"minbetcount",r[29]),n.set_custom_element_data(i,"thumbnail",r[26]),n.set_custom_element_data(i,"showenrolled",r[4]),n.set_custom_element_data(i,"gameurl",r[31]),n.set_custom_element_data(i,"mbsource",r[13]),n.set_custom_element_data(i,"userenrolled",r[27]),n.set_custom_element_data(i,"clientstyling",r[10]),n.set_custom_element_data(i,"clientstylingurl",r[11]),n.set_custom_element_data(i,"translationurl",r[12]),n.set_custom_element_data(i,"lang",r[7]),n.set_custom_element_data(i,"keepbrowsercontext",r[9]),n.set_custom_element_data(i,"exportparts","Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"),n.attr(e,"class",s="TournamentCard "+(r[5]?"CardMaxWidth":"")+(r[6]?"CardFullSize":"")+" "+(r[32]?"elementToFadeOut":"elementToFadeIn")),n.attr(e,"part",a="TournamentCard "+(r[5]?"CardMaxWidth":"")+(r[6]?"CardFullSize":"")+" "+(r[32]?"elementToFadeOut":"elementToFadeIn")+" "+(r[32]?"elementToFadeOut":"elementToFadeIn")),n.attr(t,"class",l=`${r[16]?"Loading":""}`)},m(f,d){n.insert(f,t,d),n.append(t,e),n.append(e,i),n.append(e,o),h.m(e,null),r[49](t)},p(f,d){d[0]&256&&n.set_custom_element_data(i,"detailsevent",f[8]),d[0]&1&&n.set_custom_element_data(i,"userid",f[0]),d[0]&2097152&&n.set_custom_element_data(i,"title",f[21]),d[0]&16777216&&n.set_custom_element_data(i,"status",f[24]),d[0]&4194304&&n.set_custom_element_data(i,"startdate",f[22]),d[0]&33554432&&n.set_custom_element_data(i,"tourid",f[25]),d[0]&268435456&&n.set_custom_element_data(i,"scorecriteria",f[28]),d[0]&536870912&&n.set_custom_element_data(i,"minbetcount",f[29]),d[0]&67108864&&n.set_custom_element_data(i,"thumbnail",f[26]),d[0]&16&&n.set_custom_element_data(i,"showenrolled",f[4]),d[1]&1&&n.set_custom_element_data(i,"gameurl",f[31]),d[0]&8192&&n.set_custom_element_data(i,"mbsource",f[13]),d[0]&134217728&&n.set_custom_element_data(i,"userenrolled",f[27]),d[0]&1024&&n.set_custom_element_data(i,"clientstyling",f[10]),d[0]&2048&&n.set_custom_element_data(i,"clientstylingurl",f[11]),d[0]&4096&&n.set_custom_element_data(i,"translationurl",f[12]),d[0]&128&&n.set_custom_element_data(i,"lang",f[7]),d[0]&512&&n.set_custom_element_data(i,"keepbrowsercontext",f[9]),p===(p=c(f))&&h?h.p(f,d):(h.d(1),h=p(f),h&&(h.c(),h.m(e,null))),d[0]&96|d[1]&2&&s!==(s="TournamentCard "+(f[5]?"CardMaxWidth":"")+(f[6]?"CardFullSize":"")+" "+(f[32]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(e,"class",s),d[0]&96|d[1]&2&&a!==(a="TournamentCard "+(f[5]?"CardMaxWidth":"")+(f[6]?"CardFullSize":"")+" "+(f[32]?"elementToFadeOut":"elementToFadeIn")+" "+(f[32]?"elementToFadeOut":"elementToFadeIn"))&&n.attr(e,"part",a),d[0]&65536&&l!==(l=`${f[16]?"Loading":""}`)&&n.attr(t,"class",l)},i:n.noop,o:n.noop,d(f){f&&n.detach(t),h.d(),r[49](null)}}}function Bt(r,t,e){let i;n.component_subscribe(r,n.$format,u=>e(33,i=u));let{session:o=""}=t,{userid:s=""}=t,{tournamenturl:a=""}=t,{touridx:l}=t,{endpoint:c=""}=t,{showdetails:p=""}=t,{showslider:h=""}=t,{showenrolled:f=""}=t,{maxwidth:d=""}=t,{fullsize:g=""}=t,{lang:m=""}=t,{loginevent:_=""}=t,{registerevent:C=""}=t,{detailsevent:le=""}=t,{loginurl:B=""}=t,{registerurl:x=""}=t,{currency:N=""}=t,{keepbrowsercontext:ue="false"}=t,{clientstyling:O=""}=t,{clientstylingurl:D=""}=t,{translationurl:A=""}=t,{tournamentinfo:L}=t,{mbsource:I}=t,v,F=!1,M="",E=!0,ce=window.navigator.userAgent,R=!1,U=!1,fe="There was an error while trying to join the tournament",Y=!1,K,de,me,j,k,he,V,pe,_e,ge=[],X=[],be="#",J=!1;bt({withLocale:"en",translations:{}});const Ye=()=>{fetch(A).then(b=>b.json()).then(b=>{Object.keys(b).forEach(y=>{xe(y,b[y])})}).catch(b=>{console.log(b)})};Object.keys(Oe).forEach(u=>{xe(u,Oe[u])});const we=u=>{Ke(u),Z(u),ke(this,k)},ye=u=>{if(u.data&&u.data.type=="UserSessionID"&&(e(15,F=!0),M=u.data.session),u.data.type=="UpdateTournamentView"){let b=u.data.tournamentData;if(k&&k!=b.id)return;we(b)}if(u.data&&u.data.type==`UpdateSingleTournament_${l}`){let b=u.data.tournamentData,y=l<4?l*100:Math.random()*300+300;e(32,J=l==1),setTimeout(()=>{e(32,J=!0),e(25,k=b.id),we(b)},y),setTimeout(()=>{e(32,J=!1)},y+200)}},Ke=u=>{u.state!=j&&(e(24,j=u.state),window.postMessage({type:`TournamentStatus_${k}`,status:j},window.location.href))},Ve=()=>{_&&(window.postMessage({type:_,transition:"Login"},window.location.href),typeof gtag=="function"&&gtag("event","OpenLoginModal",{context:"TournamentsThumbnailController"})),B&&(window.location=B)},Xe=()=>{C&&(window.postMessage({type:C,transition:"Register"},window.location.href),typeof gtag=="function"&&gtag("event","OpenRegisterModal",{context:"TournamentsThumbnailController"})),x&&(window.location=x)},Ze=u=>{window.postMessage({type:"TournamentDetailsClicked",tournamentId:u,showLeaderboard:!0},window.location.href)},ve=(u,b)=>$(this,null,function*(){var Te;e(18,U=!1),e(20,Y=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:u},window.location.href),e(17,R=!0);let y=new URL(`${c}/v1/bonus/claim`),W=new Headers,T={};y.searchParams.append("language",m),y.searchParams.append("platform",ae(ce)),W.append("Content-Type","application/json"),W.append("X-SessionID",M),b&&b.length>=1&&(T={language:m,bonusCode:b[0].code,currency:N,type:"tournament"});let rt={method:"PUT",headers:W,body:JSON.stringify(T)};const Se=()=>{e(17,R=!1),e(27,V=!0)},Q=w=>{e(17,R=!1),w&&e(19,fe=w),e(18,U=!0)},z=yield $(this,null,function*(){let w;try{w=yield fetch(y,rt),w=yield w.json()}catch(Dt){Q()}return w});if(z)if(z.success==!0)Se();else if(z.errorMessage.match("VersionMismatchException")){let w;w=yield fetch(`${c}/tournaments/${k}`,{headers:{"X-SessionID":o}}),w=yield w.json(),(Te=w==null?void 0:w.item)!=null&&Te.playerEnrolled?Se():(Q(z.errorMessage),e(20,Y=!0),e(18,U=!1))}else Q(z.errorMessage)}),ke=(u,b)=>{window.postMessage({type:`TournamentPrizes_${b}`,prizes:ge},window.location.href)},Z=u=>{u&&(e(21,K=u.nameOrTitle||""),e(22,de=u.startTime),e(23,me=u.endTime),e(24,j=u.state),e(25,k=u.id),e(26,he=u.thumbnail),e(27,V=u.playerEnrolled==="true"||u.playerEnrolled==!0||!1),e(28,pe=u.scoreCriteria),e(29,_e=u.minBetCount),ge=u.prizes,e(30,X=u.wallets||[]),e(31,be=u.termsUrl||"#"))},Qe=u=>{e(16,E=!0);let b=new URL(u),y=new Headers;b.searchParams.append("language",m),b.searchParams.append("platform",ae(ce)),F&&y.append("X-SessionID",M),fetch(b,{method:"GET",headers:y}).then(T=>T.json()).then(T=>{Z(T.item)}).finally(()=>{e(16,E=!1)})},$e=()=>{e(15,F=(o==null?void 0:o.length)>10),F&&(M=o)},et=()=>{if(L){Z(L);return}e(16,E=!0),Qe(a)};n.onMount(()=>(e(16,E=!K),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",ye,!1),()=>{window.removeEventListener("message",ye)}));const tt=()=>ve(k,X);function nt(u){n.binding_callbacks[u?"unshift":"push"](()=>{v=u,e(14,v)})}return r.$$set=u=>{"session"in u&&e(39,o=u.session),"userid"in u&&e(0,s=u.userid),"tournamenturl"in u&&e(1,a=u.tournamenturl),"touridx"in u&&e(40,l=u.touridx),"endpoint"in u&&e(41,c=u.endpoint),"showdetails"in u&&e(2,p=u.showdetails),"showslider"in u&&e(3,h=u.showslider),"showenrolled"in u&&e(4,f=u.showenrolled),"maxwidth"in u&&e(5,d=u.maxwidth),"fullsize"in u&&e(6,g=u.fullsize),"lang"in u&&e(7,m=u.lang),"loginevent"in u&&e(42,_=u.loginevent),"registerevent"in u&&e(43,C=u.registerevent),"detailsevent"in u&&e(8,le=u.detailsevent),"loginurl"in u&&e(44,B=u.loginurl),"registerurl"in u&&e(45,x=u.registerurl),"currency"in u&&e(46,N=u.currency),"keepbrowsercontext"in u&&e(9,ue=u.keepbrowsercontext),"clientstyling"in u&&e(10,O=u.clientstyling),"clientstylingurl"in u&&e(11,D=u.clientstylingurl),"translationurl"in u&&e(12,A=u.translationurl),"tournamentinfo"in u&&e(47,L=u.tournamentinfo),"mbsource"in u&&e(13,I=u.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&128&&m&&wt(m),r.$$.dirty[0]&4096&&A&&Ye(),r.$$.dirty[1]&256&&o&&$e(),r.$$.dirty[0]&130&&a&&m&&et(),r.$$.dirty[0]&17408&&O&&v&&n.setClientStyling(v,O),r.$$.dirty[0]&18432&&D&&v&&n.setClientStylingURL(v,D),r.$$.dirty[0]&24576&&I&&v&&n.setStreamStyling(v,`${I}.Style`)},[s,a,p,h,f,d,g,m,le,ue,O,D,A,I,v,F,E,R,U,fe,Y,K,de,me,j,k,he,V,pe,_e,X,be,J,i,Ve,Xe,Ze,ve,ke,o,l,c,_,C,B,x,N,L,tt,nt]}class Ne extends n.SvelteComponent{constructor(t){super(),n.init(this,t,Bt,Ct,n.safe_not_equal,{session:39,userid:0,tournamenturl:1,touridx:40,endpoint:41,showdetails:2,showslider:3,showenrolled:4,maxwidth:5,fullsize:6,lang:7,loginevent:42,registerevent:43,detailsevent:8,loginurl:44,registerurl:45,currency:46,keepbrowsercontext:9,clientstyling:10,clientstylingurl:11,translationurl:12,tournamentinfo:47,mbsource:13},yt,[-1,-1,-1])}get session(){return this.$$.ctx[39]}set session(t){this.$$set({session:t}),n.flush()}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),n.flush()}get tournamenturl(){return this.$$.ctx[1]}set tournamenturl(t){this.$$set({tournamenturl:t}),n.flush()}get touridx(){return this.$$.ctx[40]}set touridx(t){this.$$set({touridx:t}),n.flush()}get endpoint(){return this.$$.ctx[41]}set endpoint(t){this.$$set({endpoint:t}),n.flush()}get showdetails(){return this.$$.ctx[2]}set showdetails(t){this.$$set({showdetails:t}),n.flush()}get showslider(){return this.$$.ctx[3]}set showslider(t){this.$$set({showslider:t}),n.flush()}get showenrolled(){return this.$$.ctx[4]}set showenrolled(t){this.$$set({showenrolled:t}),n.flush()}get maxwidth(){return this.$$.ctx[5]}set maxwidth(t){this.$$set({maxwidth:t}),n.flush()}get fullsize(){return this.$$.ctx[6]}set fullsize(t){this.$$set({fullsize:t}),n.flush()}get lang(){return this.$$.ctx[7]}set lang(t){this.$$set({lang:t}),n.flush()}get loginevent(){return this.$$.ctx[42]}set loginevent(t){this.$$set({loginevent:t}),n.flush()}get registerevent(){return this.$$.ctx[43]}set registerevent(t){this.$$set({registerevent:t}),n.flush()}get detailsevent(){return this.$$.ctx[8]}set detailsevent(t){this.$$set({detailsevent:t}),n.flush()}get loginurl(){return this.$$.ctx[44]}set loginurl(t){this.$$set({loginurl:t}),n.flush()}get registerurl(){return this.$$.ctx[45]}set registerurl(t){this.$$set({registerurl:t}),n.flush()}get currency(){return this.$$.ctx[46]}set currency(t){this.$$set({currency:t}),n.flush()}get keepbrowsercontext(){return this.$$.ctx[9]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),n.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get tournamentinfo(){return this.$$.ctx[47]}set tournamentinfo(t){this.$$set({tournamentinfo:t}),n.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(t){this.$$set({mbsource:t}),n.flush()}}n.create_custom_element(Ne,{session:{},userid:{},tournamenturl:{},touridx:{},endpoint:{},showdetails:{},showslider:{},showenrolled:{},maxwidth:{},fullsize:{},lang:{},loginevent:{},registerevent:{},detailsevent:{},loginurl:{},registerurl:{},currency:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},tournamentinfo:{},mbsource:{}},[],[],!0);const xt=Object.freeze(Object.defineProperty({__proto__:null,default:Ne},Symbol.toStringTag,{value:"Module"}));exports.CasinoTournamentsThumbnailController_ce=xt;exports.getDevice=ae;