@everymatrix/casino-tournaments-page-controller 1.94.20 → 1.94.21

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 (27) hide show
  1. package/components/{CasinoTournamentsDetails-C93ESoLW.js → CasinoTournamentsDetails-BR4Lw1_e.js} +20 -20
  2. package/components/{CasinoTournamentsDetails-B3eezSw9.js → CasinoTournamentsDetails-PFnJ_OdE.js} +20 -20
  3. package/components/{CasinoTournamentsPageController-BEoxppZY.js → CasinoTournamentsPageController-BaLiSneC.js} +50 -50
  4. package/components/{CasinoTournamentsPageController-BkeYysYH.js → CasinoTournamentsPageController-DpQc24NO.js} +50 -50
  5. package/components/{CasinoTournamentsRank-BwROkRzo.js → CasinoTournamentsRank-Cnt0bXtG.js} +37 -37
  6. package/components/{CasinoTournamentsRank-DlNqXtgb.js → CasinoTournamentsRank-DNYbLNzE.js} +42 -42
  7. package/components/{CasinoTournamentsTab-C4v_nyLi.js → CasinoTournamentsTab-Cd3M_jtS.js} +27 -27
  8. package/components/{CasinoTournamentsTab-Bh1ztbzS.js → CasinoTournamentsTab-Ce6HOaFR.js} +35 -35
  9. package/components/{CasinoTournamentsTable-BZEGLZKU.js → CasinoTournamentsTable-BZcvhH96.js} +22 -22
  10. package/components/{CasinoTournamentsTable-BgTfrZ2t.js → CasinoTournamentsTable-CxR42Ea4.js} +22 -22
  11. package/components/{CasinoTournamentsThumbnail-yHEAdNZf.js → CasinoTournamentsThumbnail-AMu-mAA5.js} +24 -24
  12. package/components/{CasinoTournamentsThumbnail-D99txAC8.js → CasinoTournamentsThumbnail-APr-Vv-a.js} +29 -29
  13. package/components/{CasinoTournamentsThumbnailController-Cl115kQZ.js → CasinoTournamentsThumbnailController-BJw8XdmQ.js} +40 -40
  14. package/components/{CasinoTournamentsThumbnailController-DifMHtOP.js → CasinoTournamentsThumbnailController-C8OHBkEV.js} +41 -41
  15. package/components/{CasinoTournamentsThumbnailDuration-abUbEVWP.js → CasinoTournamentsThumbnailDuration-Csc9NvUB.js} +28 -28
  16. package/components/{CasinoTournamentsThumbnailDuration-wvtd8mff.js → CasinoTournamentsThumbnailDuration-DBcYG30e.js} +33 -33
  17. package/components/{CasinoTournamentsThumbnailGames-B2GsgYmM.js → CasinoTournamentsThumbnailGames-Bo0RfRKf.js} +31 -31
  18. package/components/{CasinoTournamentsThumbnailGames-Coq0eSw2.js → CasinoTournamentsThumbnailGames-DEnpWA5U.js} +51 -51
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-DM0StDVK.js → CasinoTournamentsThumbnailGamesSlider-BGcSN7aa.js} +46 -46
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-BHZ2ZM8D.js → CasinoTournamentsThumbnailGamesSlider-BlwqKAP6.js} +61 -61
  21. package/components/{CasinoTournamentsThumbnailPrizes-Dfm8hYbg.js → CasinoTournamentsThumbnailPrizes-BMfnYSZO.js} +78 -78
  22. package/components/{CasinoTournamentsThumbnailPrizes-CUmxyz9i.js → CasinoTournamentsThumbnailPrizes-BrzBc2fg.js} +100 -100
  23. package/components/{CasinoTournamentsThumbnailRule-TybIx7pC.js → CasinoTournamentsThumbnailRule-fwP9WVC9.js} +10 -10
  24. package/components/{CasinoTournamentsThumbnailRule-B----bW3.js → CasinoTournamentsThumbnailRule-iEMZ-j7T.js} +10 -10
  25. package/es2015/casino-tournaments-page-controller.js +1 -1
  26. package/esnext/casino-tournaments-page-controller.js +1 -1
  27. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { b as ee, $ as ge, d as be, S as fe, t as he, D as pe, r as h, h as ke, y as ae, n as _, i as m, u as A, g as c, o as p, L as R, k as ye, A as Se, B as ie, J as D, x as $, c as Z, O as T, j as Ce, p as _e, M as te, I as q, w as Ae, E as ve, F as Te, G as we, l as Me, a as Je } from "./CasinoTournamentsPageController-BkeYysYH.js";
1
+ import { $ as ee, y as ge, z as be, S as fe, i as he, s as pe, f as h, a as ke, n as ae, d as _, h as m, b as A, c, e as p, g as R, B as ye, o as Se, E as ie, k as D, l as $, m as Z, t as T, p as Ce, D as _e, I as te, A as q, r as Ae, u as ve, v as Te, w as we, x as Me, F as Je } from "./CasinoTournamentsPageController-DpQc24NO.js";
2
2
  import "../stencil/ui-skeleton-DGlqF493.js";
3
3
  import "../stencil/ui-image-BiEqrTjD.js";
4
4
  function Re({ withLocale: i, translations: e }) {
@@ -370,13 +370,13 @@ function le(i) {
370
370
  ), V, Y, J, H, W, x = (
371
371
  /*$_*/
372
372
  i[14]("minbet") + ""
373
- ), j, L, z, E, w, B, I, F = (
373
+ ), z, L, j, E, w, B, I, F = (
374
374
  /*$_*/
375
375
  i[14]("seegames") + ""
376
- ), P, N, M, G = (
376
+ ), P, N, M, U = (
377
377
  /*$_*/
378
378
  i[14]("here") + ""
379
- ), U, O, K, Q, y = (
379
+ ), G, O, K, Q, y = (
380
380
  /*status*/
381
381
  i[0] && oe(i)
382
382
  ), f = (
@@ -386,7 +386,7 @@ function le(i) {
386
386
  function X(u, g) {
387
387
  return (
388
388
  /*thumbnail*/
389
- u[3] ? je : Fe
389
+ u[3] ? ze : Fe
390
390
  );
391
391
  }
392
392
  let r = X(i), k = r(i), S = (
@@ -403,10 +403,10 @@ function le(i) {
403
403
  /*showScoreCriteria*/
404
404
  i[12]
405
405
  ), W = T(`
406
- (`), j = T(x), L = R(), z = T(
406
+ (`), z = T(x), L = R(), j = T(
407
407
  /*minbetcount*/
408
408
  i[5]
409
- ), E = T(")"), w = R(), B = p("div"), I = p("p"), P = T(F), N = R(), M = p("a"), U = T(G), m(s, "class", "Title"), m(s, "part", "Title"), m(J, "part", "ScoreCriteriaSpan"), m(C, "part", "ScoreCriteriaP"), m(b, "class", "ScoreCriteria"), m(b, "part", "ScoreCriteria"), m(M, "part", "GamesAnchor"), m(
409
+ ), E = T(")"), w = R(), B = p("div"), I = p("p"), P = T(F), N = R(), M = p("a"), G = T(U), m(s, "class", "Title"), m(s, "part", "Title"), m(J, "part", "ScoreCriteriaSpan"), m(C, "part", "ScoreCriteriaP"), m(b, "class", "ScoreCriteria"), m(b, "part", "ScoreCriteria"), m(M, "part", "GamesAnchor"), m(
410
410
  M,
411
411
  "href",
412
412
  /*gameurl*/
@@ -415,7 +415,7 @@ function le(i) {
415
415
  i[8] === "true" ? "_self" : "_blank"), m(I, "part", "GamesP"), m(B, "class", "Games"), m(B, "part", "Games"), m(a, "class", "Details"), m(a, "part", "Details");
416
416
  },
417
417
  m(u, g) {
418
- y && y.m(u, g), A(u, e, g), f && f.m(u, g), A(u, t, g), k.m(u, g), A(u, n, g), A(u, a, g), c(a, s), c(s, l), c(a, o), S && S.m(a, null), c(a, d), c(a, b), c(b, C), c(C, V), c(C, Y), c(C, J), c(J, H), c(C, W), c(C, j), c(C, L), c(C, z), c(C, E), c(a, w), c(a, B), c(B, I), c(I, P), c(I, N), c(I, M), c(M, U), K || (Q = [
418
+ y && y.m(u, g), A(u, e, g), f && f.m(u, g), A(u, t, g), k.m(u, g), A(u, n, g), A(u, a, g), c(a, s), c(s, l), c(a, o), S && S.m(a, null), c(a, d), c(a, b), c(b, C), c(C, V), c(C, Y), c(C, J), c(J, H), c(C, W), c(C, z), c(C, L), c(C, j), c(C, E), c(a, w), c(a, B), c(B, I), c(I, P), c(I, N), c(I, M), c(M, G), K || (Q = [
419
419
  $(
420
420
  s,
421
421
  "click",
@@ -452,16 +452,16 @@ function le(i) {
452
452
  u[12]
453
453
  ), g[0] & /*$_*/
454
454
  16384 && x !== (x = /*$_*/
455
- u[14]("minbet") + "") && D(j, x), g[0] & /*minbetcount*/
455
+ u[14]("minbet") + "") && D(z, x), g[0] & /*minbetcount*/
456
456
  32 && D(
457
- z,
457
+ j,
458
458
  /*minbetcount*/
459
459
  u[5]
460
460
  ), g[0] & /*$_*/
461
461
  16384 && F !== (F = /*$_*/
462
462
  u[14]("seegames") + "") && D(P, F), g[0] & /*$_*/
463
- 16384 && G !== (G = /*$_*/
464
- u[14]("here") + "") && D(U, G), g[0] & /*gameurl*/
463
+ 16384 && U !== (U = /*$_*/
464
+ u[14]("here") + "") && D(G, U), g[0] & /*gameurl*/
465
465
  128 && m(
466
466
  M,
467
467
  "href",
@@ -591,7 +591,7 @@ function Fe(i) {
591
591
  }
592
592
  };
593
593
  }
594
- function je(i) {
594
+ function ze(i) {
595
595
  let e, t, n, a, s, l, o;
596
596
  return {
597
597
  c() {
@@ -668,7 +668,7 @@ function de(i) {
668
668
  }
669
669
  };
670
670
  }
671
- function ze(i) {
671
+ function je(i) {
672
672
  let e, t, n, a = (
673
673
  /*title*/
674
674
  i[1] === "undefined" && se()
@@ -701,10 +701,10 @@ function ze(i) {
701
701
  function Ne(i, e, t) {
702
702
  let n;
703
703
  ye(i, Je, (r) => t(14, n = r));
704
- let { userid: a = "" } = e, { title: s = "" } = e, { startdate: l = "" } = e, { status: o = "" } = e, { tourid: d = "" } = e, { thumbnail: b = "" } = e, { userenrolled: C = "" } = e, { scorecriteria: v = "" } = e, { minbetcount: V = "" } = e, { showenrolled: Y = "false" } = e, { detailsevent: J = "" } = e, { gameurl: H = "" } = e, { lang: W = "en" } = e, { keepbrowsercontext: x = "false" } = e, { clientstyling: j = "" } = e, { clientstylingurl: L = "" } = e, { translationurl: z = "" } = e, { mbsource: E } = e, w, B, I = "", F = "", P = "", N = "";
704
+ let { userid: a = "" } = e, { title: s = "" } = e, { startdate: l = "" } = e, { status: o = "" } = e, { tourid: d = "" } = e, { thumbnail: b = "" } = e, { userenrolled: C = "" } = e, { scorecriteria: v = "" } = e, { minbetcount: V = "" } = e, { showenrolled: Y = "false" } = e, { detailsevent: J = "" } = e, { gameurl: H = "" } = e, { lang: W = "en" } = e, { keepbrowsercontext: x = "false" } = e, { clientstyling: z = "" } = e, { clientstylingurl: L = "" } = e, { translationurl: j = "" } = e, { mbsource: E } = e, w, B, I = "", F = "", P = "", N = "";
705
705
  Re({ withLocale: "en", translations: {} });
706
706
  const M = () => {
707
- fetch(z).then((r) => r.json()).then((r) => {
707
+ fetch(j).then((r) => r.json()).then((r) => {
708
708
  Object.keys(r).forEach((k) => {
709
709
  re(k, r[k]);
710
710
  }), l && f();
@@ -715,9 +715,9 @@ function Ne(i, e, t) {
715
715
  Object.keys(ne).forEach((r) => {
716
716
  re(r, ne[r]);
717
717
  });
718
- const G = (r) => {
718
+ const U = (r) => {
719
719
  r.data && r.data.type == `TournamentStatus_${d}` && t(0, o = r.data.status);
720
- }, U = () => {
720
+ }, G = () => {
721
721
  const r = { month: "long" };
722
722
  let k = new Date(l), S = new Intl.DateTimeFormat("en", r).format(k), u = k.getDate(), g = k.toLocaleString("en-GB", {
723
723
  hour: "numeric",
@@ -746,11 +746,11 @@ function Ne(i, e, t) {
746
746
  window.location.href
747
747
  );
748
748
  };
749
- Se(() => (setTimeout(() => f(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", G, !1), () => {
750
- window.removeEventListener("message", G);
749
+ Se(() => (setTimeout(() => f(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", U, !1), () => {
750
+ window.removeEventListener("message", U);
751
751
  }));
752
752
  const f = () => {
753
- De(W), K(), O(), l && U();
753
+ De(W), K(), O(), l && G();
754
754
  };
755
755
  function X(r) {
756
756
  Ce[r ? "unshift" : "push"](() => {
@@ -758,16 +758,16 @@ function Ne(i, e, t) {
758
758
  });
759
759
  }
760
760
  return i.$$set = (r) => {
761
- "userid" in r && t(20, a = r.userid), "title" in r && t(1, s = r.title), "startdate" in r && t(2, l = r.startdate), "status" in r && t(0, o = r.status), "tourid" in r && t(21, d = r.tourid), "thumbnail" in r && t(3, b = r.thumbnail), "userenrolled" in r && t(4, C = r.userenrolled), "scorecriteria" in r && t(22, v = r.scorecriteria), "minbetcount" in r && t(5, V = r.minbetcount), "showenrolled" in r && t(6, Y = r.showenrolled), "detailsevent" in r && t(23, J = r.detailsevent), "gameurl" in r && t(7, H = r.gameurl), "lang" in r && t(24, W = r.lang), "keepbrowsercontext" in r && t(8, x = r.keepbrowsercontext), "clientstyling" in r && t(25, j = r.clientstyling), "clientstylingurl" in r && t(26, L = r.clientstylingurl), "translationurl" in r && t(27, z = r.translationurl), "mbsource" in r && t(28, E = r.mbsource);
761
+ "userid" in r && t(20, a = r.userid), "title" in r && t(1, s = r.title), "startdate" in r && t(2, l = r.startdate), "status" in r && t(0, o = r.status), "tourid" in r && t(21, d = r.tourid), "thumbnail" in r && t(3, b = r.thumbnail), "userenrolled" in r && t(4, C = r.userenrolled), "scorecriteria" in r && t(22, v = r.scorecriteria), "minbetcount" in r && t(5, V = r.minbetcount), "showenrolled" in r && t(6, Y = r.showenrolled), "detailsevent" in r && t(23, J = r.detailsevent), "gameurl" in r && t(7, H = r.gameurl), "lang" in r && t(24, W = r.lang), "keepbrowsercontext" in r && t(8, x = r.keepbrowsercontext), "clientstyling" in r && t(25, z = r.clientstyling), "clientstylingurl" in r && t(26, L = r.clientstylingurl), "translationurl" in r && t(27, j = r.translationurl), "mbsource" in r && t(28, E = r.mbsource);
762
762
  }, i.$$.update = () => {
763
763
  i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
764
- 33554944 && j && w && ve(w, j), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
764
+ 33554944 && z && w && ve(w, z), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
765
765
  67109376 && L && w && Te(w, L), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
766
766
  268435968 && E && w && we(w, `${E}.Style`, B), i.$$.dirty[0] & /*translationurl*/
767
- 134217728 && z && M(), i.$$.dirty[0] & /*status*/
767
+ 134217728 && j && M(), i.$$.dirty[0] & /*status*/
768
768
  1 && o && O(), i.$$.dirty[0] & /*title, lang*/
769
769
  16777218 && s && W && f(), i.$$.dirty[0] & /*startdate*/
770
- 4 && l && U(), i.$$.dirty[0] & /*scorecriteria*/
770
+ 4 && l && G(), i.$$.dirty[0] & /*scorecriteria*/
771
771
  4194304 && v && K();
772
772
  }, [
773
773
  o,
@@ -785,7 +785,7 @@ function Ne(i, e, t) {
785
785
  P,
786
786
  N,
787
787
  n,
788
- U,
788
+ G,
789
789
  O,
790
790
  K,
791
791
  Q,
@@ -795,9 +795,9 @@ function Ne(i, e, t) {
795
795
  v,
796
796
  J,
797
797
  W,
798
- j,
799
- L,
800
798
  z,
799
+ L,
800
+ j,
801
801
  E,
802
802
  X
803
803
  ];
@@ -808,7 +808,7 @@ class Oe extends fe {
808
808
  this,
809
809
  e,
810
810
  Ne,
811
- ze,
811
+ je,
812
812
  pe,
813
813
  {
814
814
  userid: 20,
@@ -1,4 +1,4 @@
1
- import { b as ae, $ as Ke, d as Xe, S as Ve, t as Ze, D as Qe, r as _, h as Ye, y as Y, n as w, I as s, i as g, u as b, g as T, o as F, L as B, k as $e, A as et, s as Ee, j as tt, p as ue, c as nt, J as D, O as C, B as rt, x as R, w as fe, N as L, E as it, F as ot, G as st, l as lt, a as at } from "./CasinoTournamentsPageController-BEoxppZY.js";
1
+ import { $ as ae, y as Ke, z as Xe, S as Ve, i as Ze, s as Qe, f as _, a as Ye, n as Y, d as w, A as s, j as g, b, e as T, g as F, h as B, B as $e, o as et, C as Ee, q as tt, D as ue, p as nt, l as D, t as C, E as rt, m as x, u as fe, r as L, v as it, w as ot, x as st, c as lt, F as at } from "./CasinoTournamentsPageController-BaLiSneC.js";
2
2
  function ut({ withLocale: r, translations: e }) {
3
3
  ae.subscribe((t) => {
4
4
  t == null && (Ke.set(e), ae.set(r));
@@ -112,7 +112,7 @@ if (typeof window < "u") {
112
112
  }
113
113
  };
114
114
  };
115
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-yHEAdNZf.js").then(({ default: e }) => {
115
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-AMu-mAA5.js").then(({ default: e }) => {
116
116
  !customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", e.element);
117
117
  });
118
118
  }
@@ -128,7 +128,7 @@ if (typeof window < "u") {
128
128
  }
129
129
  };
130
130
  };
131
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-abUbEVWP.js").then(({ default: e }) => {
131
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-Csc9NvUB.js").then(({ default: e }) => {
132
132
  !customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
133
133
  "casino-tournaments-thumbnail-duration",
134
134
  e.element
@@ -147,7 +147,7 @@ if (typeof window < "u") {
147
147
  }
148
148
  };
149
149
  };
150
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-CUmxyz9i.js").then(({ default: e }) => {
150
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-BMfnYSZO.js").then(({ default: e }) => {
151
151
  !customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", e.element);
152
152
  });
153
153
  }
@@ -163,7 +163,7 @@ if (typeof window < "u") {
163
163
  }
164
164
  };
165
165
  };
166
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-DM0StDVK.js").then(
166
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-BGcSN7aa.js").then(
167
167
  ({ default: e }) => {
168
168
  !customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
169
169
  "casino-tournaments-thumbnail-games-slider",
@@ -419,7 +419,7 @@ function gt(r) {
419
419
  e = F("button"), n = C(t), g(e, "class", "DetailsLargeButton"), g(e, "part", "DetailsLargeButton");
420
420
  },
421
421
  m(u, f) {
422
- b(u, e, f), T(e, n), o || (l = R(e, "click", function() {
422
+ b(u, e, f), T(e, n), o || (l = x(e, "click", function() {
423
423
  fe(
424
424
  /*detailsAction*/
425
425
  r[36].bind(
@@ -486,13 +486,13 @@ function pt(r) {
486
486
  },
487
487
  m(h, a) {
488
488
  b(h, e, a), T(e, n), b(h, o, a), b(h, l, a), T(l, f), m || (p = [
489
- R(
489
+ x(
490
490
  e,
491
491
  "click",
492
492
  /*loginAction*/
493
493
  r[34]
494
494
  ),
495
- R(
495
+ x(
496
496
  l,
497
497
  "click",
498
498
  /*registerAction*/
@@ -522,7 +522,7 @@ function Le(r) {
522
522
  e = F("button"), n = C(t), g(e, "class", "DetailsButton"), g(e, "part", "DetailsButton");
523
523
  },
524
524
  m(u, f) {
525
- b(u, e, f), T(e, n), o || (l = R(e, "click", function() {
525
+ b(u, e, f), T(e, n), o || (l = x(e, "click", function() {
526
526
  fe(
527
527
  /*detailsAction*/
528
528
  r[36].bind(
@@ -564,7 +564,7 @@ function wt(r) {
564
564
  r[18];
565
565
  },
566
566
  m(p, h) {
567
- b(p, e, h), m.m(e, null), o || (l = R(
567
+ b(p, e, h), m.m(e, null), o || (l = x(
568
568
  e,
569
569
  "click",
570
570
  /*click_handler*/
@@ -1044,10 +1044,10 @@ function yt(r) {
1044
1044
  function Tt(r, e, t) {
1045
1045
  let n;
1046
1046
  $e(r, at, (i) => t(33, n = i));
1047
- let { session: o = "" } = e, { userid: l = "" } = e, { tournamenturl: u = "" } = e, { touridx: f } = e, { endpoint: m = "" } = e, { showdetails: p = "" } = e, { showslider: h = "" } = e, { showenrolled: a = "" } = e, { maxwidth: d = "" } = e, { fullsize: v = "" } = e, { lang: c = "" } = e, { loginevent: k = "" } = e, { registerevent: x = "" } = e, { detailsevent: me = "" } = e, { loginurl: N = "" } = e, { registerurl: U = "" } = e, { currency: $ = "" } = e, { keepbrowsercontext: de = "false" } = e, { clientstyling: H = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: q = "" } = e, { tournamentinfo: W } = e, { mbsource: K } = e, { tournamentid: ee } = e, E, Oe, A = !1, X = "", M = !0, ce = window.navigator.userAgent, V = !1, Z = !1, ge = "There was an error while trying to join the tournament", te = !1, ne, he, pe, I, j, we, re, be, ke, _e = [], ie = [], ye = "#", Q = !1;
1047
+ let { session: o = "" } = e, { userid: l = "" } = e, { tournamenturl: u = "" } = e, { touridx: f } = e, { endpoint: m = "" } = e, { showdetails: p = "" } = e, { showslider: h = "" } = e, { showenrolled: a = "" } = e, { maxwidth: d = "" } = e, { fullsize: v = "" } = e, { lang: c = "" } = e, { loginevent: k = "" } = e, { registerevent: J = "" } = e, { detailsevent: me = "" } = e, { loginurl: U = "" } = e, { registerurl: N = "" } = e, { currency: $ = "" } = e, { keepbrowsercontext: de = "false" } = e, { clientstyling: H = "" } = e, { clientstylingurl: q = "" } = e, { translationurl: G = "" } = e, { tournamentinfo: W } = e, { mbsource: K } = e, { tournamentid: ee } = e, E, Oe, A = !1, X = "", M = !0, ce = window.navigator.userAgent, V = !1, Z = !1, ge = "There was an error while trying to join the tournament", te = !1, ne, he, pe, I, j, we, re, be, ke, _e = [], ie = [], ye = "#", Q = !1;
1048
1048
  ut({ withLocale: "en", translations: {} });
1049
- const Je = () => {
1050
- fetch(q).then((y) => y.json()).then((y) => {
1049
+ const Re = () => {
1050
+ fetch(G).then((y) => y.json()).then((y) => {
1051
1051
  Object.keys(y).forEach((z) => {
1052
1052
  je(z, y[z]);
1053
1053
  });
@@ -1059,7 +1059,7 @@ function Tt(r, e, t) {
1059
1059
  je(i, Ce[i]);
1060
1060
  });
1061
1061
  const Te = (i) => {
1062
- Re(i), oe(i), ze(this, j);
1062
+ xe(i), oe(i), ze(this, j);
1063
1063
  }, Fe = (i) => {
1064
1064
  if (i.data && i.data.type == "UserSessionID" && (t(15, A = !0), X = i.data.session, Se(m)), i.data.type == "UpdateTournamentView") {
1065
1065
  let y = i.data.tournamentData;
@@ -1081,7 +1081,7 @@ function Tt(r, e, t) {
1081
1081
  z + 200
1082
1082
  );
1083
1083
  }
1084
- }, Re = (i) => {
1084
+ }, xe = (i) => {
1085
1085
  i.state != I && (t(24, I = i.state), window.postMessage(
1086
1086
  {
1087
1087
  type: `TournamentStatus_${j}`,
@@ -1089,21 +1089,21 @@ function Tt(r, e, t) {
1089
1089
  },
1090
1090
  window.location.href
1091
1091
  ));
1092
- }, xe = () => {
1092
+ }, Je = () => {
1093
1093
  k && (window.postMessage({ type: k, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
1094
1094
  context: "TournamentsThumbnailController"
1095
- })), N && (window.location = N);
1096
- }, Ne = () => {
1097
- x && (window.postMessage(
1095
+ })), U && (window.location = U);
1096
+ }, Ue = () => {
1097
+ J && (window.postMessage(
1098
1098
  {
1099
- type: x,
1099
+ type: J,
1100
1100
  transition: "Register"
1101
1101
  },
1102
1102
  window.location.href
1103
1103
  ), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
1104
1104
  context: "TournamentsThumbnailController"
1105
- })), U && (window.location = U);
1106
- }, Ue = (i) => {
1105
+ })), N && (window.location = N);
1106
+ }, Ne = (i) => {
1107
1107
  window.postMessage(
1108
1108
  {
1109
1109
  type: "TournamentDetailsClicked",
@@ -1136,7 +1136,7 @@ function Tt(r, e, t) {
1136
1136
  t(17, V = !1), t(27, re = !0);
1137
1137
  }, le = (S) => {
1138
1138
  t(17, V = !1), S && t(19, ge = S), t(18, Z = !0);
1139
- }, J = await (async () => {
1139
+ }, R = await (async () => {
1140
1140
  let S;
1141
1141
  try {
1142
1142
  S = await fetch(z, O), S = await S.json();
@@ -1145,14 +1145,14 @@ function Tt(r, e, t) {
1145
1145
  }
1146
1146
  return S;
1147
1147
  })();
1148
- if (J)
1149
- if (J.success == !0)
1148
+ if (R)
1149
+ if (R.success == !0)
1150
1150
  Be();
1151
- else if (J.errorMessage.match("VersionMismatchException")) {
1151
+ else if (R.errorMessage.match("VersionMismatchException")) {
1152
1152
  let S;
1153
- S = await fetch(`${m}/tournaments/${j}`, { headers: { "X-SessionID": o } }), S = await S.json(), S?.item?.playerEnrolled ? Be() : (le(J.errorMessage), t(20, te = !0), t(18, Z = !1));
1153
+ S = await fetch(`${m}/tournaments/${j}`, { headers: { "X-SessionID": o } }), S = await S.json(), S?.item?.playerEnrolled ? Be() : (le(R.errorMessage), t(20, te = !0), t(18, Z = !1));
1154
1154
  } else
1155
- le(J.errorMessage);
1155
+ le(R.errorMessage);
1156
1156
  }, ze = (i, y) => {
1157
1157
  window.postMessage(
1158
1158
  {
@@ -1173,7 +1173,7 @@ function Tt(r, e, t) {
1173
1173
  });
1174
1174
  }, He = () => {
1175
1175
  t(15, A = o?.length > 10), A && (X = o);
1176
- }, Ge = () => {
1176
+ }, qe = () => {
1177
1177
  if (W) {
1178
1178
  oe(W);
1179
1179
  return;
@@ -1183,22 +1183,22 @@ function Tt(r, e, t) {
1183
1183
  et(() => (t(16, M = !ne), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Fe, !1), () => {
1184
1184
  window.removeEventListener("message", Fe);
1185
1185
  }));
1186
- const qe = () => ve(j, ie);
1186
+ const Ge = () => ve(j, ie);
1187
1187
  function We(i) {
1188
1188
  tt[i ? "unshift" : "push"](() => {
1189
1189
  E = i, t(14, E);
1190
1190
  });
1191
1191
  }
1192
1192
  return r.$$set = (i) => {
1193
- "session" in i && t(39, o = i.session), "userid" in i && t(0, l = i.userid), "tournamenturl" in i && t(1, u = i.tournamenturl), "touridx" in i && t(40, f = i.touridx), "endpoint" in i && t(41, m = i.endpoint), "showdetails" in i && t(2, p = i.showdetails), "showslider" in i && t(3, h = i.showslider), "showenrolled" in i && t(4, a = i.showenrolled), "maxwidth" in i && t(5, d = i.maxwidth), "fullsize" in i && t(6, v = i.fullsize), "lang" in i && t(7, c = i.lang), "loginevent" in i && t(42, k = i.loginevent), "registerevent" in i && t(43, x = i.registerevent), "detailsevent" in i && t(8, me = i.detailsevent), "loginurl" in i && t(44, N = i.loginurl), "registerurl" in i && t(45, U = i.registerurl), "currency" in i && t(46, $ = i.currency), "keepbrowsercontext" in i && t(9, de = i.keepbrowsercontext), "clientstyling" in i && t(10, H = i.clientstyling), "clientstylingurl" in i && t(11, G = i.clientstylingurl), "translationurl" in i && t(12, q = i.translationurl), "tournamentinfo" in i && t(47, W = i.tournamentinfo), "mbsource" in i && t(13, K = i.mbsource), "tournamentid" in i && t(48, ee = i.tournamentid);
1193
+ "session" in i && t(39, o = i.session), "userid" in i && t(0, l = i.userid), "tournamenturl" in i && t(1, u = i.tournamenturl), "touridx" in i && t(40, f = i.touridx), "endpoint" in i && t(41, m = i.endpoint), "showdetails" in i && t(2, p = i.showdetails), "showslider" in i && t(3, h = i.showslider), "showenrolled" in i && t(4, a = i.showenrolled), "maxwidth" in i && t(5, d = i.maxwidth), "fullsize" in i && t(6, v = i.fullsize), "lang" in i && t(7, c = i.lang), "loginevent" in i && t(42, k = i.loginevent), "registerevent" in i && t(43, J = i.registerevent), "detailsevent" in i && t(8, me = i.detailsevent), "loginurl" in i && t(44, U = i.loginurl), "registerurl" in i && t(45, N = i.registerurl), "currency" in i && t(46, $ = i.currency), "keepbrowsercontext" in i && t(9, de = i.keepbrowsercontext), "clientstyling" in i && t(10, H = i.clientstyling), "clientstylingurl" in i && t(11, q = i.clientstylingurl), "translationurl" in i && t(12, G = i.translationurl), "tournamentinfo" in i && t(47, W = i.tournamentinfo), "mbsource" in i && t(13, K = i.mbsource), "tournamentid" in i && t(48, ee = i.tournamentid);
1194
1194
  }, r.$$.update = () => {
1195
1195
  r.$$.dirty[0] & /*lang*/
1196
1196
  128 && c && ft(c), r.$$.dirty[0] & /*translationurl*/
1197
- 4096 && q && Je(), r.$$.dirty[1] & /*session*/
1197
+ 4096 && G && Re(), r.$$.dirty[1] & /*session*/
1198
1198
  256 && o && He(), r.$$.dirty[0] & /*tournamenturl, lang*/
1199
- 130 && u && c && Ge(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1199
+ 130 && u && c && qe(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1200
1200
  17408 && H && E && it(E, H), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1201
- 18432 && G && E && ot(E, G), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
1201
+ 18432 && q && E && ot(E, q), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
1202
1202
  24576 && K && E && st(E, `${K}.Style`, Oe);
1203
1203
  }, [
1204
1204
  l,
@@ -1212,8 +1212,8 @@ function Tt(r, e, t) {
1212
1212
  me,
1213
1213
  de,
1214
1214
  H,
1215
- G,
1216
1215
  q,
1216
+ G,
1217
1217
  K,
1218
1218
  E,
1219
1219
  A,
@@ -1235,22 +1235,22 @@ function Tt(r, e, t) {
1235
1235
  ye,
1236
1236
  Q,
1237
1237
  n,
1238
- xe,
1239
- Ne,
1238
+ Je,
1240
1239
  Ue,
1240
+ Ne,
1241
1241
  ve,
1242
1242
  ze,
1243
1243
  o,
1244
1244
  f,
1245
1245
  m,
1246
1246
  k,
1247
- x,
1248
- N,
1247
+ J,
1249
1248
  U,
1249
+ N,
1250
1250
  $,
1251
1251
  W,
1252
1252
  ee,
1253
- qe,
1253
+ Ge,
1254
1254
  We
1255
1255
  ];
1256
1256
  }