@everymatrix/casino-tournaments-page-controller 1.86.2 → 1.86.3

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 (68) hide show
  1. package/components/CasinoTournamentsDetails-Bk-HK9De.cjs +18 -0
  2. package/components/{CasinoTournamentsDetails-BELEieLi.js → CasinoTournamentsDetails-C2LTANIY.js} +759 -780
  3. package/components/{CasinoTournamentsDetails-C1mJ95qJ.js → CasinoTournamentsDetails-CQlezq8d.js} +816 -837
  4. package/components/{CasinoTournamentsPageController-D1g0mab2.js → CasinoTournamentsPageController-9eYKzvDe.js} +58 -58
  5. package/components/{CasinoTournamentsPageController-DUmcDBpB.cjs → CasinoTournamentsPageController-BtkrGihT.cjs} +2 -2
  6. package/components/{CasinoTournamentsPageController-BfNclBY_.js → CasinoTournamentsPageController-DMb7kOVu.js} +60 -60
  7. package/components/{CasinoTournamentsRank-bXoi8aik.cjs → CasinoTournamentsRank-B3Okw3YK.cjs} +1 -1
  8. package/components/{CasinoTournamentsRank-BJ63QMaa.js → CasinoTournamentsRank-Dek_2v3z.js} +40 -40
  9. package/components/{CasinoTournamentsRank-Cf05-cpz.js → CasinoTournamentsRank-oFS8bDLm.js} +40 -40
  10. package/components/{CasinoTournamentsTab-DZVmJO5J.cjs → CasinoTournamentsTab-CNL0U_cp.cjs} +1 -1
  11. package/components/{CasinoTournamentsTab-C-XcPB35.js → CasinoTournamentsTab-CUbXI5IY.js} +38 -38
  12. package/components/{CasinoTournamentsTab-9JlKFCKB.js → CasinoTournamentsTab-DcXG01hv.js} +49 -49
  13. package/components/{CasinoTournamentsTable-C62x5wOm.js → CasinoTournamentsTable-BBR8vgjz.js} +83 -83
  14. package/components/{CasinoTournamentsTable-BA5gC46u.js → CasinoTournamentsTable-BamStdd_.js} +83 -83
  15. package/components/{CasinoTournamentsTable-DKQ-XAvr.cjs → CasinoTournamentsTable-DN7IW1yx.cjs} +1 -1
  16. package/components/{CasinoTournamentsThumbnail-DHrDUmw1.js → CasinoTournamentsThumbnail-Bd_83RLj.js} +45 -45
  17. package/components/{CasinoTournamentsThumbnail-BvXXTVr9.cjs → CasinoTournamentsThumbnail-CUfdu8B0.cjs} +1 -1
  18. package/components/{CasinoTournamentsThumbnail-QWJVB8tk.js → CasinoTournamentsThumbnail-Cu0p-nCO.js} +45 -45
  19. package/components/{CasinoTournamentsThumbnailController-CV2EfJEw.js → CasinoTournamentsThumbnailController-BwCeBdiL.js} +65 -65
  20. package/components/{CasinoTournamentsThumbnailController-DwAlQfYP.cjs → CasinoTournamentsThumbnailController-CM9Usghn.cjs} +1 -1
  21. package/components/{CasinoTournamentsThumbnailController-CThmO-Bx.js → CasinoTournamentsThumbnailController-DYbX8M1J.js} +69 -69
  22. package/components/{CasinoTournamentsThumbnailDuration-5sYtm5JK.cjs → CasinoTournamentsThumbnailDuration-BSDwkcPV.cjs} +1 -1
  23. package/components/{CasinoTournamentsThumbnailDuration-D0BdrqpO.js → CasinoTournamentsThumbnailDuration-D6Trdz2K.js} +47 -47
  24. package/components/{CasinoTournamentsThumbnailDuration-BJX9VKEC.js → CasinoTournamentsThumbnailDuration-DC19bzq_.js} +47 -47
  25. package/components/{CasinoTournamentsThumbnailGames-x995pz7K.js → CasinoTournamentsThumbnailGames-9Td25J-4.js} +71 -71
  26. package/components/{CasinoTournamentsThumbnailGames-BUOHTXRf.cjs → CasinoTournamentsThumbnailGames-ClHu8UBL.cjs} +1 -1
  27. package/components/{CasinoTournamentsThumbnailGames-CXASx5Ku.js → CasinoTournamentsThumbnailGames-D833QKNf.js} +70 -70
  28. package/components/{CasinoTournamentsThumbnailGamesSlider-uutWdr0H.js → CasinoTournamentsThumbnailGamesSlider-BJ7Q-_PG.js} +40 -40
  29. package/components/{CasinoTournamentsThumbnailGamesSlider-BdYIFRE8.cjs → CasinoTournamentsThumbnailGamesSlider-D_XYesgc.cjs} +1 -1
  30. package/components/{CasinoTournamentsThumbnailGamesSlider-4jeDjKo1.js → CasinoTournamentsThumbnailGamesSlider-txAcPfg_.js} +40 -40
  31. package/components/{CasinoTournamentsThumbnailPrizes-cll7LaLQ.js → CasinoTournamentsThumbnailPrizes-BOf6hthx.js} +100 -100
  32. package/components/{CasinoTournamentsThumbnailPrizes-Cs8aKxYf.cjs → CasinoTournamentsThumbnailPrizes-BxuByuPX.cjs} +1 -1
  33. package/components/{CasinoTournamentsThumbnailPrizes-pQaIEcOf.js → CasinoTournamentsThumbnailPrizes-DkA8kghZ.js} +100 -100
  34. package/components/{CasinoTournamentsThumbnailRule-CoqLZiLu.js → CasinoTournamentsThumbnailRule-1pM2AUc4.js} +28 -28
  35. package/components/{CasinoTournamentsThumbnailRule-KW1W8S8C.js → CasinoTournamentsThumbnailRule-CfrH9BHT.js} +28 -28
  36. package/components/{CasinoTournamentsThumbnailRule-PY49rJr4.cjs → CasinoTournamentsThumbnailRule-IzvzYvQ1.cjs} +1 -1
  37. package/es2015/casino-tournaments-page-controller.cjs +1 -1
  38. package/es2015/casino-tournaments-page-controller.js +1 -1
  39. package/esnext/casino-tournaments-page-controller.js +1 -1
  40. package/package.json +1 -1
  41. package/stencil/index-97d17652-DvplcHtm.js +558 -0
  42. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  43. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  44. package/stencil/index-b2193545-RI3PckwN.js +503 -0
  45. package/stencil/index-b2193545-qC7jkIQW.cjs +1 -0
  46. package/stencil/index-b2193545-w9rTFozR.js +519 -0
  47. package/stencil/{ui-image-O0NdjWCu.js → ui-image-2Wo8bNh1.js} +1 -1
  48. package/stencil/{ui-image-DUHLTRXs.cjs → ui-image-83gG286t.cjs} +1 -1
  49. package/stencil/{ui-image-Cs_BBOYl.js → ui-image-DLoBAw4w.js} +1 -1
  50. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  51. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  52. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  53. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BESQEo1l.js} +2 -2
  54. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BfZmduAK.js} +2 -2
  55. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  56. package/stencil/{ui-skeleton-i9jZ615T.js → ui-skeleton-BOZjVV7m.js} +2 -2
  57. package/stencil/{ui-skeleton-Yn79cPkz.js → ui-skeleton-Czz99elh.js} +2 -2
  58. package/stencil/{ui-skeleton-ed169f8f-UdVwF_E9.js → ui-skeleton-ed169f8f-DTd-f9E3.js} +1 -1
  59. package/stencil/{ui-skeleton-ed169f8f-BRUG1h6n.cjs → ui-skeleton-ed169f8f-DiR5y84l.cjs} +1 -1
  60. package/stencil/{ui-skeleton-ed169f8f-B-SERL0D.js → ui-skeleton-ed169f8f-F5Pn7BxE.js} +1 -1
  61. package/stencil/{ui-skeleton-B0E7XBJC.cjs → ui-skeleton-hbyf6ZV-.cjs} +1 -1
  62. package/components/CasinoTournamentsDetails-BKF6dVBp.cjs +0 -18
  63. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  64. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  65. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
  66. package/stencil/index-b2193545-BpG2toSK.js +0 -503
  67. package/stencil/index-b2193545-DfeVnolx.cjs +0 -1
  68. package/stencil/index-b2193545-DuA2iMSm.js +0 -519
@@ -1,5 +1,5 @@
1
- import { $ as In, a as xr, b as Er, c as Fr, d as Nr, S as Lr, i as Ir, s as Wr, f as Z, e as Ur, n as ma, g as ce, h as Xt, j as l, k as p, l as he, m as F, o as qn, p as De, q as A, r as ga, t as Qt, u as qe, v as Ar, w as Hr, x as dn, y as Ia, z as Wa, A as Rn, B as Gr, C as Wn, D as Ua, E as zr, F as jr, G as Vr, H as Br } from "./CasinoTournamentsDetails-BELEieLi.js";
2
- import "../stencil/ui-skeleton-i9jZ615T.js";
1
+ import { $ as In, a as xr, b as Er, c as Fr, d as Nr, S as Lr, i as Ir, s as Wr, f as Z, e as Ur, g as De, h as A, j as ma, t as Xt, k as p, l, m as qe, n as ce, o as F, p as qn, q as Qt, r as ga, u as he, v as Ar, w as Hr, x as Gr, y as dn, z as Ia, A as Wa, B as Rn, C as zr, D as jr, E as Vr, F as Br, G as Wn, H as Ua } from "./CasinoTournamentsDetails-C2LTANIY.js";
2
+ import "../stencil/ui-skeleton-BOZjVV7m.js";
3
3
  function qr(e) {
4
4
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
5
5
  }
@@ -3195,7 +3195,7 @@ if (typeof window < "u") {
3195
3195
  }
3196
3196
  };
3197
3197
  };
3198
- customElements.define = e(customElements.define), import("./CasinoTournamentsDetails-BELEieLi.js").then((t) => t.Q).then(({ default: t }) => {
3198
+ customElements.define = e(customElements.define), import("./CasinoTournamentsDetails-C2LTANIY.js").then((t) => t.Q).then(({ default: t }) => {
3199
3199
  !customElements.get("casino-tournaments-details") && customElements.define("casino-tournaments-details", t.element);
3200
3200
  });
3201
3201
  }
@@ -3211,7 +3211,7 @@ if (typeof window < "u") {
3211
3211
  }
3212
3212
  };
3213
3213
  };
3214
- customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailController-CV2EfJEw.js").then(
3214
+ customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailController-BwCeBdiL.js").then(
3215
3215
  ({ default: t }) => {
3216
3216
  !customElements.get("casino-tournaments-thumbnail-controller") && customElements.define(
3217
3217
  "casino-tournaments-thumbnail-controller",
@@ -3232,7 +3232,7 @@ if (typeof window < "u") {
3232
3232
  }
3233
3233
  };
3234
3234
  };
3235
- customElements.define = e(customElements.define), import("./CasinoTournamentsTable-BA5gC46u.js").then(({ default: t }) => {
3235
+ customElements.define = e(customElements.define), import("./CasinoTournamentsTable-BamStdd_.js").then(({ default: t }) => {
3236
3236
  !customElements.get("casino-tournaments-table") && customElements.define("casino-tournaments-table", t.element);
3237
3237
  });
3238
3238
  }
@@ -3248,7 +3248,7 @@ if (typeof window < "u") {
3248
3248
  }
3249
3249
  };
3250
3250
  };
3251
- customElements.define = e(customElements.define), import("./CasinoTournamentsTab-C-XcPB35.js").then(({ default: t }) => {
3251
+ customElements.define = e(customElements.define), import("./CasinoTournamentsTab-CUbXI5IY.js").then(({ default: t }) => {
3252
3252
  !customElements.get("casino-tournaments-tab") && customElements.define("casino-tournaments-tab", t.element);
3253
3253
  });
3254
3254
  }
@@ -3264,7 +3264,7 @@ if (typeof window < "u") {
3264
3264
  }
3265
3265
  };
3266
3266
  };
3267
- customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailRule-KW1W8S8C.js").then(({ default: t }) => {
3267
+ customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailRule-CfrH9BHT.js").then(({ default: t }) => {
3268
3268
  !customElements.get("casino-tournaments-thumbnail-rule") && customElements.define("casino-tournaments-thumbnail-rule", t.element);
3269
3269
  });
3270
3270
  }
@@ -3280,7 +3280,7 @@ if (typeof window < "u") {
3280
3280
  }
3281
3281
  };
3282
3282
  };
3283
- customElements.define = e(customElements.define), import("./CasinoTournamentsRank-BJ63QMaa.js").then(({ default: t }) => {
3283
+ customElements.define = e(customElements.define), import("./CasinoTournamentsRank-Dek_2v3z.js").then(({ default: t }) => {
3284
3284
  !customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
3285
3285
  });
3286
3286
  }
@@ -3296,7 +3296,7 @@ if (typeof window < "u") {
3296
3296
  }
3297
3297
  };
3298
3298
  };
3299
- customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailGames-x995pz7K.js").then(({ default: t }) => {
3299
+ customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailGames-9Td25J-4.js").then(({ default: t }) => {
3300
3300
  !customElements.get("casino-tournaments-thumbnail-games") && customElements.define("casino-tournaments-thumbnail-games", t.element);
3301
3301
  });
3302
3302
  }
@@ -3318,18 +3318,18 @@ function Da(e) {
3318
3318
  ), a;
3319
3319
  return {
3320
3320
  c() {
3321
- t = A("p"), a = Qt(n), p(t, "class", "LoadingMessage"), p(t, "part", "LoadingMessage");
3321
+ t = A("p"), a = Xt(n), p(t, "class", "LoadingMessage"), p(t, "part", "LoadingMessage");
3322
3322
  },
3323
3323
  m(r, i) {
3324
- he(r, t, i), F(t, a);
3324
+ ce(r, t, i), F(t, a);
3325
3325
  },
3326
3326
  p(r, i) {
3327
3327
  i[0] & /*$_*/
3328
3328
  262144 && n !== (n = /*$_*/
3329
- r[18]("loading") + "") && Xt(a, n);
3329
+ r[18]("loading") + "") && Qt(a, n);
3330
3330
  },
3331
3331
  d(r) {
3332
- r && ce(t);
3332
+ r && he(t);
3333
3333
  }
3334
3334
  };
3335
3335
  }
@@ -3348,7 +3348,7 @@ function Ql(e) {
3348
3348
  (e[4] == "true" ? " TournamentCardDetails" : " FullSize")), p(t, "part", "MobileTournamentCardDetails");
3349
3349
  },
3350
3350
  m(s, d) {
3351
- he(s, t, d), r && r.m(t, null), F(t, n), i && i.m(t, null);
3351
+ ce(s, t, d), r && r.m(t, null), F(t, n), i && i.m(t, null);
3352
3352
  },
3353
3353
  p(s, d) {
3354
3354
  /*tournamentDetails*/
@@ -3361,7 +3361,7 @@ function Ql(e) {
3361
3361
  (s[4] == "true" ? " TournamentCardDetails" : " FullSize")) && p(t, "class", a);
3362
3362
  },
3363
3363
  d(s) {
3364
- s && ce(t), r && r.d(), i && i.d();
3364
+ s && he(t), r && r.d(), i && i.d();
3365
3365
  }
3366
3366
  };
3367
3367
  }
@@ -3458,7 +3458,7 @@ function Kl(e) {
3458
3458
  (e[4] == "true" ? "TournamentCardDetails" : "FullSize"));
3459
3459
  },
3460
3460
  m(f, y) {
3461
- he(f, t, y), F(t, n), F(t, i), c && c.m(t, null);
3461
+ ce(f, t, y), F(t, n), F(t, i), c && c.m(t, null);
3462
3462
  },
3463
3463
  p(f, y) {
3464
3464
  y[0] & /*session*/
@@ -3563,7 +3563,7 @@ function Kl(e) {
3563
3563
  (f[4] == "true" ? "TournamentCardDetails" : "FullSize")) && p(t, "part", d);
3564
3564
  },
3565
3565
  d(f) {
3566
- f && ce(t), c && c.d();
3566
+ f && he(t), c && c.d();
3567
3567
  }
3568
3568
  };
3569
3569
  }
@@ -3574,10 +3574,10 @@ function Ca(e) {
3574
3574
  t = A("div"), t.innerHTML = '<ui-skeleton class="Mobile CardImg" structure="rectangle" width="65px" height="40px"></ui-skeleton> <div class="MobileRight" part="ThumbnailRight"><ui-skeleton structure="text" width="100%" height="18px"></ui-skeleton> <ui-skeleton structure="text" width="100%" height="12px" margin-top="5px"></ui-skeleton></div>', n = De(), a = A("div"), a.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="26px"></ui-skeleton>', p(t, "class", "Thumbnail MiniMode"), p(t, "part", "MiniThumbnail"), p(a, "class", "TournamentsRank"), p(a, "part", "TournamentsRank");
3575
3575
  },
3576
3576
  m(r, i) {
3577
- he(r, t, i), he(r, n, i), he(r, a, i);
3577
+ ce(r, t, i), ce(r, n, i), ce(r, a, i);
3578
3578
  },
3579
3579
  d(r) {
3580
- r && (ce(t), ce(n), ce(a));
3580
+ r && (he(t), he(n), he(a));
3581
3581
  }
3582
3582
  };
3583
3583
  }
@@ -3598,7 +3598,7 @@ function Oa(e) {
3598
3598
  );
3599
3599
  return {
3600
3600
  c() {
3601
- t = A("div"), j.c(), n = De(), a = A("div"), r = A("div"), s = Qt(i), d = De(), c = A("div"), W && W.c(), f = De(), y = A("div"), y.textContent = "X", Q = De(), O = A("casino-tournaments-rank"), p(r, "class", "Title"), p(r, "part", "ThumbnailRight_Title"), p(c, "part", "ThumbnailRight_Period"), p(a, "class", "MobileRight"), p(a, "part", "ThumbnailRight"), p(y, "class", "CloseButton"), p(y, "part", "CloseButton"), p(t, "class", "Thumbnail MiniMode"), p(t, "part", "MiniThumbnail"), l(O, "part", "ThumbnailRank"), l(O, "userrank", oe = /*currentUserInPage*/
3601
+ t = A("div"), j.c(), n = De(), a = A("div"), r = A("div"), s = Xt(i), d = De(), c = A("div"), W && W.c(), f = De(), y = A("div"), y.textContent = "X", Q = De(), O = A("casino-tournaments-rank"), p(r, "class", "Title"), p(r, "part", "ThumbnailRight_Title"), p(c, "part", "ThumbnailRight_Period"), p(a, "class", "MobileRight"), p(a, "part", "ThumbnailRight"), p(y, "class", "CloseButton"), p(y, "part", "CloseButton"), p(t, "class", "Thumbnail MiniMode"), p(t, "part", "MiniThumbnail"), l(O, "part", "ThumbnailRank"), l(O, "userrank", oe = /*currentUserInPage*/
3602
3602
  e[24] ? (
3603
3603
  /*currentUserData*/
3604
3604
  e[23].Rank
@@ -3645,7 +3645,7 @@ function Oa(e) {
3645
3645
  );
3646
3646
  },
3647
3647
  m(D, V) {
3648
- he(D, t, V), j.m(t, null), F(t, n), F(t, a), F(a, r), F(r, s), F(a, d), F(a, c), W && W.m(c, null), F(t, f), F(t, y), he(D, Q, V), he(D, O, V), ye || (K = qn(
3648
+ ce(D, t, V), j.m(t, null), F(t, n), F(t, a), F(a, r), F(r, s), F(a, d), F(a, c), W && W.m(c, null), F(t, f), F(t, y), ce(D, Q, V), ce(D, O, V), ye || (K = qn(
3649
3649
  y,
3650
3650
  "click",
3651
3651
  /*closeThumbnail*/
@@ -3655,7 +3655,7 @@ function Oa(e) {
3655
3655
  p(D, V) {
3656
3656
  ie === (ie = Pe(D)) && j ? j.p(D, V) : (j.d(1), j = ie(D), j && (j.c(), j.m(t, n))), V[0] & /*tournamentDetails*/
3657
3657
  65536 && i !== (i = /*tournamentDetails*/
3658
- D[16].nameOrTitle + "") && Xt(s, i), /*tournamentDetails*/
3658
+ D[16].nameOrTitle + "") && Qt(s, i), /*tournamentDetails*/
3659
3659
  D[16].startTime ? W ? W.p(D, V) : (W = Ya(D), W.c(), W.m(c, null)) : W && (W.d(1), W = null), V[0] & /*currentUserInPage, currentUserData, firstRowData*/
3660
3660
  29360128 && oe !== (oe = /*currentUserInPage*/
3661
3661
  D[24] ? (
@@ -3711,7 +3711,7 @@ function Oa(e) {
3711
3711
  );
3712
3712
  },
3713
3713
  d(D) {
3714
- D && (ce(t), ce(Q), ce(O)), j.d(), W && W.d(), ye = !1, K();
3714
+ D && (he(t), he(Q), he(O)), j.d(), W && W.d(), ye = !1, K();
3715
3715
  }
3716
3716
  };
3717
3717
  }
@@ -3725,7 +3725,7 @@ function $l(e) {
3725
3725
  e[16].nameOrTitle);
3726
3726
  },
3727
3727
  m(d, c) {
3728
- he(d, t, c), i || (s = Ua(
3728
+ ce(d, t, c), i || (s = Ua(
3729
3729
  /*matchStatus*/
3730
3730
  e[30].call(null, t)
3731
3731
  ), i = !0);
@@ -3739,7 +3739,7 @@ function $l(e) {
3739
3739
  d[16].nameOrTitle) && p(t, "title", r);
3740
3740
  },
3741
3741
  d(d) {
3742
- d && ce(t), i = !1, s();
3742
+ d && he(t), i = !1, s();
3743
3743
  }
3744
3744
  };
3745
3745
  }
@@ -3754,7 +3754,7 @@ function eu(e) {
3754
3754
  e[16].nameOrTitle);
3755
3755
  },
3756
3756
  m(d, c) {
3757
- he(d, t, c), i || (s = Ua(
3757
+ ce(d, t, c), i || (s = Ua(
3758
3758
  /*matchStatus*/
3759
3759
  e[30].call(null, t)
3760
3760
  ), i = !0);
@@ -3770,7 +3770,7 @@ function eu(e) {
3770
3770
  d[16].nameOrTitle) && p(t, "title", r);
3771
3771
  },
3772
3772
  d(d) {
3773
- d && ce(t), i = !1, s();
3773
+ d && he(t), i = !1, s();
3774
3774
  }
3775
3775
  };
3776
3776
  }
@@ -3792,10 +3792,10 @@ function Ya(e) {
3792
3792
  ), n;
3793
3793
  return {
3794
3794
  c() {
3795
- n = Qt(t);
3795
+ n = Xt(t);
3796
3796
  },
3797
3797
  m(a, r) {
3798
- he(a, n, r);
3798
+ ce(a, n, r);
3799
3799
  },
3800
3800
  p(a, r) {
3801
3801
  r[0] & /*$_, tournamentDetails*/
@@ -3811,10 +3811,10 @@ function Ya(e) {
3811
3811
  a[16].endTime
3812
3812
  ).format("DD/MM/YYYY HH:mm")
3813
3813
  }
3814
- }) + "") && Xt(n, t);
3814
+ }) + "") && Qt(n, t);
3815
3815
  },
3816
3816
  d(a) {
3817
- a && ce(n);
3817
+ a && he(n);
3818
3818
  }
3819
3819
  };
3820
3820
  }
@@ -3829,12 +3829,12 @@ function Pa(e) {
3829
3829
  c() {
3830
3830
  for (let r = 0; r < a.length; r += 1)
3831
3831
  a[r].c();
3832
- t = Wa();
3832
+ t = Ia();
3833
3833
  },
3834
3834
  m(r, i) {
3835
3835
  for (let s = 0; s < a.length; s += 1)
3836
3836
  a[s] && a[s].m(r, i);
3837
- he(r, t, i);
3837
+ ce(r, t, i);
3838
3838
  },
3839
3839
  p(r, i) {
3840
3840
  if (i[0] & /*tournamentDescription, clientstyling, clientstylingurl, mbsource*/
@@ -3854,7 +3854,7 @@ function Pa(e) {
3854
3854
  }
3855
3855
  },
3856
3856
  d(r) {
3857
- r && ce(t), Ia(a, r);
3857
+ r && he(t), Wa(a, r);
3858
3858
  }
3859
3859
  };
3860
3860
  }
@@ -3882,7 +3882,7 @@ function Ra(e) {
3882
3882
  );
3883
3883
  },
3884
3884
  m(r, i) {
3885
- he(r, t, i);
3885
+ ce(r, t, i);
3886
3886
  },
3887
3887
  p(r, i) {
3888
3888
  i[0] & /*tournamentDescription*/
@@ -3910,7 +3910,7 @@ function Ra(e) {
3910
3910
  );
3911
3911
  },
3912
3912
  d(r) {
3913
- r && ce(t);
3913
+ r && he(t);
3914
3914
  }
3915
3915
  };
3916
3916
  }
@@ -3962,7 +3962,7 @@ function xa(e) {
3962
3962
  );
3963
3963
  },
3964
3964
  m(f, y) {
3965
- he(f, t, y);
3965
+ ce(f, t, y);
3966
3966
  },
3967
3967
  p(f, y) {
3968
3968
  y[0] & /*lang*/
@@ -4022,7 +4022,7 @@ function xa(e) {
4022
4022
  );
4023
4023
  },
4024
4024
  d(f) {
4025
- f && ce(t);
4025
+ f && he(t);
4026
4026
  }
4027
4027
  };
4028
4028
  }
@@ -4037,12 +4037,12 @@ function Ea(e) {
4037
4037
  c() {
4038
4038
  for (let r = 0; r < a.length; r += 1)
4039
4039
  a[r].c();
4040
- t = Wa();
4040
+ t = Ia();
4041
4041
  },
4042
4042
  m(r, i) {
4043
4043
  for (let s = 0; s < a.length; s += 1)
4044
4044
  a[s] && a[s].m(r, i);
4045
- he(r, t, i);
4045
+ ce(r, t, i);
4046
4046
  },
4047
4047
  p(r, i) {
4048
4048
  if (i[0] & /*tournamentDescription, clientstyling, clientstylingurl, mbsource*/
@@ -4062,7 +4062,7 @@ function Ea(e) {
4062
4062
  }
4063
4063
  },
4064
4064
  d(r) {
4065
- r && ce(t), Ia(a, r);
4065
+ r && he(t), Wa(a, r);
4066
4066
  }
4067
4067
  };
4068
4068
  }
@@ -4090,7 +4090,7 @@ function Fa(e) {
4090
4090
  );
4091
4091
  },
4092
4092
  m(r, i) {
4093
- he(r, t, i);
4093
+ ce(r, t, i);
4094
4094
  },
4095
4095
  p(r, i) {
4096
4096
  i[0] & /*tournamentDescription*/
@@ -4118,7 +4118,7 @@ function Fa(e) {
4118
4118
  );
4119
4119
  },
4120
4120
  d(r) {
4121
- r && ce(t);
4121
+ r && he(t);
4122
4122
  }
4123
4123
  };
4124
4124
  }
@@ -4154,7 +4154,7 @@ function Na(e) {
4154
4154
  );
4155
4155
  },
4156
4156
  m(n, a) {
4157
- he(n, t, a);
4157
+ ce(n, t, a);
4158
4158
  },
4159
4159
  p(n, a) {
4160
4160
  a[0] & /*lang*/
@@ -4190,7 +4190,7 @@ function Na(e) {
4190
4190
  );
4191
4191
  },
4192
4192
  d(n) {
4193
- n && ce(t);
4193
+ n && he(t);
4194
4194
  }
4195
4195
  };
4196
4196
  }
@@ -4201,10 +4201,10 @@ function La(e) {
4201
4201
  ), a, r, i;
4202
4202
  return {
4203
4203
  c() {
4204
- t = A("div"), a = Qt(n), p(t, "class", "BottomButton"), p(t, "part", "ThumbnailGotoTournamentsButton");
4204
+ t = A("div"), a = Xt(n), p(t, "class", "BottomButton"), p(t, "part", "ThumbnailGotoTournamentsButton");
4205
4205
  },
4206
4206
  m(s, d) {
4207
- he(s, t, d), F(t, a), r || (i = qn(
4207
+ ce(s, t, d), F(t, a), r || (i = qn(
4208
4208
  t,
4209
4209
  "click",
4210
4210
  /*gotoFromTournamentsPage*/
@@ -4214,10 +4214,10 @@ function La(e) {
4214
4214
  p(s, d) {
4215
4215
  d[0] & /*$_*/
4216
4216
  262144 && n !== (n = /*$_*/
4217
- s[18]("forwardMyTournaments") + "") && Xt(a, n);
4217
+ s[18]("forwardMyTournaments") + "") && Qt(a, n);
4218
4218
  },
4219
4219
  d(s) {
4220
- s && ce(t), r = !1, i();
4220
+ s && he(t), r = !1, i();
4221
4221
  }
4222
4222
  };
4223
4223
  }
@@ -4252,7 +4252,7 @@ function tu(e) {
4252
4252
  );
4253
4253
  return {
4254
4254
  c() {
4255
- ne && ne.c(), t = De(), n = A("div"), a = A("div"), r = A("div"), i = A("div"), s = ga("svg"), d = ga("path"), c = De(), f = A("p"), Q = Qt(y), O = De(), oe = A("div"), Te.c(), _e = De(), ye = A("div"), K = A("div"), Pe = A("div"), ie = A("casino-tournaments-tab"), j = De(), W = A("div"), D = A("casino-tournaments-table"), rt = De(), pe = A("div"), H && H.c(), Ve = De(), me && me.c(), pt = De(), we = A("div"), le && le.c(), it = De(), $ && $.c(), p(d, "stroke-linecap", "round"), p(d, "stroke-linejoin", "round"), p(d, "stroke-width", "2"), p(d, "d", "M15 19l-7-7 7-7"), p(s, "fill", "none"), p(s, "stroke", "currentColor"), p(s, "width", "24"), p(s, "height", "24"), p(s, "viewBox", "0 0 24 24"), p(s, "xmlns", "http://www.w3.org/2000/svg"), p(i, "class", "BackButton"), p(i, "part", "BackButton"), p(r, "class", "TopButtons"), p(r, "part", "TopButtons"), l(ie, "part", "ThumbnailTab"), l(ie, "tabs", "leaderboard,rules,games"), l(ie, "tab", "leaderboard"), l(ie, "tid", Rr), l(ie, "exportparts", "CustomStylingContainer, ul, li, LiText, sup, SupText, active"), l(
4255
+ ne && ne.c(), t = De(), n = A("div"), a = A("div"), r = A("div"), i = A("div"), s = ma("svg"), d = ma("path"), c = De(), f = A("p"), Q = Xt(y), O = De(), oe = A("div"), Te.c(), _e = De(), ye = A("div"), K = A("div"), Pe = A("div"), ie = A("casino-tournaments-tab"), j = De(), W = A("div"), D = A("casino-tournaments-table"), rt = De(), pe = A("div"), H && H.c(), Ve = De(), me && me.c(), pt = De(), we = A("div"), le && le.c(), it = De(), $ && $.c(), p(d, "stroke-linecap", "round"), p(d, "stroke-linejoin", "round"), p(d, "stroke-width", "2"), p(d, "d", "M15 19l-7-7 7-7"), p(s, "fill", "none"), p(s, "stroke", "currentColor"), p(s, "width", "24"), p(s, "height", "24"), p(s, "viewBox", "0 0 24 24"), p(s, "xmlns", "http://www.w3.org/2000/svg"), p(i, "class", "BackButton"), p(i, "part", "BackButton"), p(r, "class", "TopButtons"), p(r, "part", "TopButtons"), l(ie, "part", "ThumbnailTab"), l(ie, "tabs", "leaderboard,rules,games"), l(ie, "tab", "leaderboard"), l(ie, "tid", Rr), l(ie, "exportparts", "CustomStylingContainer, ul, li, LiText, sup, SupText, active"), l(
4256
4256
  ie,
4257
4257
  "clientstyling",
4258
4258
  /*clientstyling*/
@@ -4312,7 +4312,7 @@ function tu(e) {
4312
4312
  e[27] ? "MiniTournamentPage" : "TournamentsPage");
4313
4313
  },
4314
4314
  m(S, R) {
4315
- ne && ne.m(S, R), he(S, t, R), he(S, n, R), F(n, a), F(a, r), F(r, i), F(i, s), F(s, d), F(i, c), F(i, f), F(f, Q), F(a, O), F(a, oe), Te.m(oe, null), F(oe, _e), F(oe, ye), F(ye, K), F(K, Pe), F(Pe, ie), F(K, j), F(K, W), F(W, D), F(K, rt), F(K, pe), H && H.m(pe, null), F(pe, Ve), me && me.m(pe, null), F(K, pt), F(K, we), le && le.m(we, null), F(K, it), $ && $.m(K, null), e[48](n), be || (xe = qn(
4315
+ ne && ne.m(S, R), ce(S, t, R), ce(S, n, R), F(n, a), F(a, r), F(r, i), F(i, s), F(s, d), F(i, c), F(i, f), F(f, Q), F(a, O), F(a, oe), Te.m(oe, null), F(oe, _e), F(oe, ye), F(ye, K), F(K, Pe), F(Pe, ie), F(K, j), F(K, W), F(W, D), F(K, rt), F(K, pe), H && H.m(pe, null), F(pe, Ve), me && me.m(pe, null), F(K, pt), F(K, we), le && le.m(we, null), F(K, it), $ && $.m(K, null), e[48](n), be || (xe = qn(
4316
4316
  i,
4317
4317
  "click",
4318
4318
  /*goBack*/
@@ -4323,7 +4323,7 @@ function tu(e) {
4323
4323
  /*isLoading*/
4324
4324
  S[20] ? ne ? ne.p(S, R) : (ne = Da(S), ne.c(), ne.m(t.parentNode, t)) : ne && (ne.d(1), ne = null), R[0] & /*$_*/
4325
4325
  262144 && y !== (y = /*$_*/
4326
- S[18]("back") + "") && Xt(Q, y), ve === (ve = We(S)) && Te ? Te.p(S, R) : (Te.d(1), Te = ve(S), Te && (Te.c(), Te.m(oe, _e))), R[0] & /*clientstyling*/
4326
+ S[18]("back") + "") && Qt(Q, y), ve === (ve = We(S)) && Te ? Te.p(S, R) : (Te.d(1), Te = ve(S), Te && (Te.c(), Te.m(oe, _e))), R[0] & /*clientstyling*/
4327
4327
  16384 && l(
4328
4328
  ie,
4329
4329
  "clientstyling",
@@ -4391,17 +4391,17 @@ function tu(e) {
4391
4391
  134217728 && Be !== (Be = /*isMiniMode*/
4392
4392
  S[27] ? "MiniTournamentPage" : "TournamentsPage") && p(n, "part", Be);
4393
4393
  },
4394
- i: ma,
4395
- o: ma,
4394
+ i: ga,
4395
+ o: ga,
4396
4396
  d(S) {
4397
- S && (ce(t), ce(n)), ne && ne.d(S), Te.d(), H && H.d(), me && me.d(), le && le.d(), $ && $.d(), e[48](null), be = !1, xe();
4397
+ S && (he(t), he(n)), ne && ne.d(S), Te.d(), H && H.d(), me && me.d(), le && le.d(), $ && $.d(), e[48](null), be = !1, xe();
4398
4398
  }
4399
4399
  };
4400
4400
  }
4401
4401
  let Rr = "pageTab";
4402
4402
  function nu(e, t, n) {
4403
4403
  let a, r, i;
4404
- Ar(e, zr, (o) => n(18, i = o));
4404
+ Ar(e, Br, (o) => n(18, i = o));
4405
4405
  let { session: s = "" } = t, { userid: d = "" } = t, { tourid: c = "" } = t, { endpoint: f = "" } = t, { showleaderboard: y = "" } = t, { cmsendpoint: Q = "" } = t, { lang: O = "" } = t, { navigationbackbutton: oe = "Default" } = t, { currency: _e = "EUR" } = t, { tablelimit: ye = "30" } = t, { gamelimit: K = 50 } = t, { namemask: Pe = "" } = t, { showunqualifiedplayer: ie = "true" } = t, { mobiletablelimit: j = "15" } = t, { updatetableintime: W = "true" } = t, { viewmode: D = "" } = t, { minscore: V = "" } = t, { scorefractiondigit: rt = "2" } = t, { translationurl: pe = "" } = t, { mbsource: Ve } = t, { loginevent: Ne = "" } = t, { registerevent: pt = "" } = t, { loginurl: we = "" } = t, { registerurl: Ke = "" } = t, { leaderboardoffset: it = "0" } = t, { leaderboardlimit: $e = "15" } = t, { keepbrowsercontext: Be = "false" } = t, { clientstyling: be = "" } = t, { clientstylingurl: xe = "" } = t, ne = !1, We = "", ve = !0, Te = [], H, me, le = window.navigator.userAgent, $ = {}, S = !1, R, st, Ee = {}, ue = !1, nn = "leaderboard", vt, At, Ht, u, _;
4406
4406
  Jl({ withLocale: "en", translations: {} });
4407
4407
  const v = () => fetch(pe).then((w) => w.json()).then((w) => {
@@ -4675,7 +4675,7 @@ function nu(e, t, n) {
4675
4675
  window.removeEventListener("message", Mt), R && (R.removeEventListener("open", L), R.removeEventListener("message", L), R.removeEventListener("error", L)), st && st.removeEventListener("message", ee);
4676
4676
  }));
4677
4677
  function St(o) {
4678
- Gr[o ? "unshift" : "push"](() => {
4678
+ zr[o ? "unshift" : "push"](() => {
4679
4679
  u = o, n(17, u);
4680
4680
  });
4681
4681
  }
@@ -4694,7 +4694,7 @@ function nu(e, t, n) {
4694
4694
  2048 && n(27, Ht = D != "desktop" && qe(le)), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4695
4695
  147456 && be && u && jr(u, be), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4696
4696
  163840 && xe && u && Vr(u, xe), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4697
- 131328 && Ve && u && Br(u, `${Ve}.Style`), e.$$.dirty[0] & /*tournamentDetails, $_*/
4697
+ 131328 && Ve && u && Gr(u, `${Ve}.Style`), e.$$.dirty[0] & /*tournamentDetails, $_*/
4698
4698
  327680 && n(28, r = H?.minBetCount || i("unlimited"));
4699
4699
  }, [
4700
4700
  s,
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./CasinoTournamentsDetails-BKF6dVBp.cjs");require("../stencil/ui-skeleton-B0E7XBJC.cjs");function mr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./CasinoTournamentsDetails-Bk-HK9De.cjs");require("../stencil/ui-skeleton-hbyf6ZV-.cjs");function mr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
2
2
  //! version : 2.29.4
3
3
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
4
  //! license : MIT
@@ -13,7 +13,7 @@ h.version="2.29.4";hr(ee);h.fn=m;h.min=ti;h.max=ni;h.now=ai;h.utc=Ze;h.unix=xo;h
13
13
  * https://github.com/Yaffle/EventSource/
14
14
  */(function(e,t){(function(n){var a=n.setTimeout,r=n.clearTimeout,i=n.XMLHttpRequest,o=n.XDomainRequest,d=n.ActiveXObject,c=n.EventSource,f=n.document,p=n.Promise,U=n.fetch,D=n.Response,re=n.TextDecoder,ce=n.TextEncoder,me=n.AbortController;if(typeof window!="undefined"&&typeof f!="undefined"&&!("readyState"in f)&&f.body==null&&(f.readyState="loading",window.addEventListener("load",function(u){f.readyState="complete"},!1)),i==null&&d!=null&&(i=function(){return new d("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(u){function g(){}return g.prototype=u,new g}),Date.now||(Date.now=function(){return new Date().getTime()}),me==null){var Z=U;U=function(u,g){var b=g.signal;return Z(u,{headers:g.headers,credentials:g.credentials,cache:g.cache}).then(function(_){var O=_.body.getReader();return b._reader=O,b._aborted&&b._reader.cancel(),{status:_.status,statusText:_.statusText,headers:_.headers,body:{getReader:function(){return O}}}})},me=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function Se(){this.bitsNeeded=0,this.codePoint=0}Se.prototype.decode=function(u){function g(L,B,C){if(C===1)return L>=128>>B&&L<<B<=2047;if(C===2)return L>=2048>>B&&L<<B<=55295||L>=57344>>B&&L<<B<=65535;if(C===3)return L>=65536>>B&&L<<B<=1114111;throw new Error}function b(L,B){if(L===6*1)return B>>6>15?3:B>31?2:1;if(L===6*2)return B>15?3:2;if(L===6*3)return 3;throw new Error}for(var _=65533,O="",T=this.bitsNeeded,R=this.codePoint,X=0;X<u.length;X+=1){var N=u[X];T!==0&&(N<128||N>191||!g(R<<6|N&63,T-6,b(T,R)))&&(T=0,R=_,O+=String.fromCharCode(R)),T===0?(N>=0&&N<=127?(T=0,R=N):N>=192&&N<=223?(T=6*1,R=N&31):N>=224&&N<=239?(T=6*2,R=N&15):N>=240&&N<=247?(T=6*3,R=N&7):(T=0,R=_),T!==0&&!g(R,T,b(T,R))&&(T=0,R=_)):(T-=6,R=R<<6|N&63),T===0&&(R<=65535?O+=String.fromCharCode(R):(O+=String.fromCharCode(55296+(R-65535-1>>10)),O+=String.fromCharCode(56320+(R-65535-1&1023))))}return this.bitsNeeded=T,this.codePoint=R,O};var ne=function(){try{return new re().decode(new ce().encode("test"),{stream:!0})==="test"}catch(u){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+u)}return!1};(re==null||ce==null||!ne())&&(re=Se);var j=function(){};function A(u){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=j,this.onload=j,this.onerror=j,this.onreadystatechange=j,this._contentType="",this._xhr=u,this._sendTimeout=0,this._abort=j}A.prototype.open=function(u,g){this._abort(!0);var b=this,_=this._xhr,O=1,T=0;this._abort=function(C){b._sendTimeout!==0&&(r(b._sendTimeout),b._sendTimeout=0),(O===1||O===2||O===3)&&(O=4,_.onload=j,_.onerror=j,_.onabort=j,_.onprogress=j,_.onreadystatechange=j,_.abort(),T!==0&&(r(T),T=0),C||(b.readyState=4,b.onabort(null),b.onreadystatechange())),O=0};var R=function(){if(O===1){var C=0,Q="",Ee=void 0;if("contentType"in _)C=200,Q="OK",Ee=_.contentType;else try{C=_.status,Q=_.statusText,Ee=_.getResponseHeader("Content-Type")}catch(_t){C=0,Q="",Ee=void 0}C!==0&&(O=2,b.readyState=2,b.status=C,b.statusText=Q,b._contentType=Ee,b.onreadystatechange())}},X=function(){if(R(),O===2||O===3){O=3;var C="";try{C=_.responseText}catch(Q){}b.readyState=3,b.responseText=C,b.onprogress()}},N=function(C,Q){if((Q==null||Q.preventDefault==null)&&(Q={preventDefault:j}),X(),O===1||O===2||O===3){if(O=4,T!==0&&(r(T),T=0),b.readyState=4,C==="load")b.onload(Q);else if(C==="error")b.onerror(Q);else if(C==="abort")b.onabort(Q);else throw new TypeError;b.onreadystatechange()}},L=function(C){_!=null&&(_.readyState===4?(!("onload"in _)||!("onerror"in _)||!("onabort"in _))&&N(_.responseText===""?"error":"load",C):_.readyState===3?"onprogress"in _||X():_.readyState===2&&R())},B=function(){T=a(function(){B()},500),_.readyState===3&&X()};"onload"in _&&(_.onload=function(C){N("load",C)}),"onerror"in _&&(_.onerror=function(C){N("error",C)}),"onabort"in _&&(_.onabort=function(C){N("abort",C)}),"onprogress"in _&&(_.onprogress=X),"onreadystatechange"in _&&(_.onreadystatechange=function(C){L(C)}),("contentType"in _||!("ontimeout"in i.prototype))&&(g+=(g.indexOf("?")===-1?"?":"&")+"padding=true"),_.open(u,g,!0),"readyState"in _&&(T=a(function(){B()},0))},A.prototype.abort=function(){this._abort(!1)},A.prototype.getResponseHeader=function(u){return this._contentType},A.prototype.setRequestHeader=function(u,g){var b=this._xhr;"setRequestHeader"in b&&b.setRequestHeader(u,g)},A.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},A.prototype.send=function(){if((!("ontimeout"in i.prototype)||!("sendAsBinary"in i.prototype)&&!("mozAnon"in i.prototype))&&f!=null&&f.readyState!=null&&f.readyState!=="complete"){var u=this;u._sendTimeout=a(function(){u._sendTimeout=0,u.send()},4);return}var g=this._xhr;"withCredentials"in g&&(g.withCredentials=this.withCredentials);try{g.send(void 0)}catch(b){throw b}};function S(u){return u.replace(/[A-Z]/g,function(g){return String.fromCharCode(g.charCodeAt(0)+32)})}function V(u){for(var g=Object.create(null),b=u.split(`\r
15
15
  `),_=0;_<b.length;_+=1){var O=b[_],T=O.split(": "),R=T.shift(),X=T.join(": ");g[S(R)]=X}this._map=g}V.prototype.get=function(u){return this._map[S(u)]},i!=null&&i.HEADERS_RECEIVED==null&&(i.HEADERS_RECEIVED=2);function Xe(){}Xe.prototype.open=function(u,g,b,_,O,T,R){u.open("GET",O);var X=0;u.onprogress=function(){var L=u.responseText,B=L.slice(X);X+=B.length,b(B)},u.onerror=function(L){L.preventDefault(),_(new Error("NetworkError"))},u.onload=function(){_(null)},u.onabort=function(){_(null)},u.onreadystatechange=function(){if(u.readyState===i.HEADERS_RECEIVED){var L=u.status,B=u.statusText,C=u.getResponseHeader("Content-Type"),Q=u.getAllResponseHeaders();g(L,B,C,new V(Q))}},u.withCredentials=T;for(var N in R)Object.prototype.hasOwnProperty.call(R,N)&&u.setRequestHeader(N,R[N]);return u.send(),u};function de(u){this._headers=u}de.prototype.get=function(u){return this._headers.get(u)};function We(){}We.prototype.open=function(u,g,b,_,O,T,R){var X=null,N=new me,L=N.signal,B=new re;return U(O,{headers:R,credentials:T?"include":"same-origin",signal:L,cache:"no-store"}).then(function(C){return X=C.body.getReader(),g(C.status,C.statusText,C.headers.get("Content-Type"),new de(C.headers)),new p(function(Q,Ee){var _t=function(){X.read().then(function(be){if(be.done)Q(void 0);else{var ie=B.decode(be.value,{stream:!0});b(ie),_t()}}).catch(function(be){Ee(be)})};_t()})}).catch(function(C){if(C.name!=="AbortError")return C}).then(function(C){_(C)}),{abort:function(){X!=null&&X.cancel(),N.abort()}}};function Pe(){this._listeners=Object.create(null)}function ot(u){a(function(){throw u},0)}Pe.prototype.dispatchEvent=function(u){u.target=this;var g=this._listeners[u.type];if(g!=null)for(var b=g.length,_=0;_<b;_+=1){var O=g[_];try{typeof O.handleEvent=="function"?O.handleEvent(u):O.call(this,u)}catch(T){ot(T)}}},Pe.prototype.addEventListener=function(u,g){u=String(u);var b=this._listeners,_=b[u];_==null&&(_=[],b[u]=_);for(var O=!1,T=0;T<_.length;T+=1)_[T]===g&&(O=!0);O||_.push(g)},Pe.prototype.removeEventListener=function(u,g){u=String(u);var b=this._listeners,_=b[u];if(_!=null){for(var O=[],T=0;T<_.length;T+=1)_[T]!==g&&O.push(_[T]);O.length===0?delete b[u]:b[u]=O}};function he(u){this.type=u,this.target=void 0}function je(u,g){he.call(this,u),this.data=g.data,this.lastEventId=g.lastEventId}je.prototype=Object.create(he.prototype);function Qe(u,g){he.call(this,u),this.status=g.status,this.statusText=g.statusText,this.headers=g.headers}Qe.prototype=Object.create(he.prototype);function Ve(u,g){he.call(this,u),this.error=g.error}Ve.prototype=Object.create(he.prototype);var Ue=-1,_e=0,Ce=1,K=2,xe=-1,ge=0,pe=1,F=2,le=3,se=/^text\/event\-stream(;.*)?$/i,J=1e3,lt=18e6,ye=function(u,g){var b=u==null?g:parseInt(u,10);return b!==b&&(b=g),v(b)},v=function(u){return Math.min(Math.max(u,J),lt)},Y=function(u,g,b){try{typeof g=="function"&&g.call(u,b)}catch(_){ot(_)}};function $(u,g){Pe.call(this),g=g||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,Et(this,u,g)}function mt(){return i!=null&&"withCredentials"in i.prototype||o==null?new i:new o}var ht=U!=null&&D!=null&&"body"in D.prototype;function Et(u,g,b){g=String(g);var _=!!b.withCredentials,O=b.lastEventIdQueryParameterName||"lastEventId",T=v(1e3),R=ye(b.heartbeatTimeout,45e3),X="",N=T,L=!1,B=0,C=b.headers||{},Q=b.Transport,Ee=ht&&Q==null?void 0:new A(Q!=null?new Q:mt()),_t=Q!=null&&typeof Q!="string"?new Q:Ee==null?new We:new Xe,be=void 0,ie=0,De=Ue,ut="",gt="",Fe="",Mt="",we=ge,Nt=0,Ke=0,yn=function(l,y,k,H){if(De===_e)if(l===200&&k!=null&&se.test(k)){De=Ce,L=Date.now(),N=T,u.readyState=Ce;var x=new Qe("open",{status:l,statusText:y,headers:H});u.dispatchEvent(x),Y(u,u.onopen,x)}else{var I="";l!==200?(y&&(y=y.replace(/\s+/g," ")),I="EventSource's response has a status "+l+" "+y+" that is not 200. Aborting the connection."):I="EventSource's response has a Content-Type specifying an unsupported type: "+(k==null?"-":k.replace(/\s+/g," "))+". Aborting the connection.",pt();var x=new Qe("error",{status:l,statusText:y,headers:H});u.dispatchEvent(x),Y(u,u.onerror,x),console.error(I)}},wn=function(l){if(De===Ce){for(var y=-1,k=0;k<l.length;k+=1){var H=l.charCodeAt(k);(H===10||H===13)&&(y=k)}var x=(y!==-1?Mt:"")+l.slice(0,y+1);Mt=(y===-1?Mt:"")+l.slice(y+1),l!==""&&(L=Date.now(),B+=l.length);for(var I=0;I<x.length;I+=1){var H=x.charCodeAt(I);if(we===xe&&H===10)we=ge;else if(we===xe&&(we=ge),H===13||H===10){if(we!==ge){we===pe&&(Ke=I+1);var fe=x.slice(Nt,Ke-1),ve=x.slice(Ke+(Ke<I&&x.charCodeAt(Ke)===32?1:0),I);fe==="data"?(ut+=`
16
- `,ut+=ve):fe==="id"?gt=ve:fe==="event"?Fe=ve:fe==="retry"?(T=ye(ve,T),N=T):fe==="heartbeatTimeout"&&(R=ye(ve,R),ie!==0&&(r(ie),ie=a(function(){yt()},R)))}if(we===ge){if(ut!==""){X=gt,Fe===""&&(Fe="message");var kt=new je(Fe,{data:ut.slice(1),lastEventId:gt});if(u.dispatchEvent(kt),Fe==="open"?Y(u,u.onopen,kt):Fe==="message"?Y(u,u.onmessage,kt):Fe==="error"&&Y(u,u.onerror,kt),De===K)return}ut="",Fe=""}we=H===13?xe:ge}else we===ge&&(Nt=I,we=pe),we===pe?H===58&&(Ke=I+1,we=F):we===F&&(we=le)}}},qt=function(l){if(De===Ce||De===_e){De=Ue,ie!==0&&(r(ie),ie=0),ie=a(function(){yt()},N),N=v(Math.min(T*16,N*2)),u.readyState=_e;var y=new Ve("error",{error:l});u.dispatchEvent(y),Y(u,u.onerror,y),l!=null&&console.error(l)}},pt=function(){De=K,be!=null&&(be.abort(),be=void 0),ie!==0&&(r(ie),ie=0),u.readyState=K},yt=function(){if(ie=0,De!==Ue){if(!L&&be!=null)qt(new Error("No activity within "+R+" milliseconds. "+(De===_e?"No response received.":B+" chars received.")+" Reconnecting.")),be!=null&&(be.abort(),be=void 0);else{var l=Math.max((L||Date.now())+R-Date.now(),1);L=!1,ie=a(function(){yt()},l)}return}L=!1,B=0,ie=a(function(){yt()},R),De=_e,ut="",Fe="",gt=X,Mt="",Nt=0,Ke=0,we=ge;var y=g;if(g.slice(0,5)!=="data:"&&g.slice(0,5)!=="blob:"&&X!==""){var k=g.indexOf("?");y=k===-1?g:g.slice(0,k+1)+g.slice(k+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(ve,kt){return kt===O?"":ve}),y+=(g.indexOf("?")===-1?"?":"&")+O+"="+encodeURIComponent(X)}var H=u.withCredentials,x={};x.Accept="text/event-stream";var I=u.headers;if(I!=null)for(var fe in I)Object.prototype.hasOwnProperty.call(I,fe)&&(x[fe]=I[fe]);try{be=_t.open(Ee,yn,wn,qt,y,H,x)}catch(ve){throw pt(),ve}};u.url=g,u.readyState=_e,u.withCredentials=_,u.headers=C,u._close=pt,yt()}$.prototype=Object.create(Pe.prototype),$.prototype.CONNECTING=_e,$.prototype.OPEN=Ce,$.prototype.CLOSED=K,$.prototype.close=function(){this._close()},$.CONNECTING=_e,$.OPEN=Ce,$.CLOSED=K,$.prototype.withCredentials=void 0;var Ft=c;i!=null&&(c==null||!("withCredentials"in c.prototype))&&(Ft=$),function(u){{var g=u(t);g!==void 0&&(e.exports=g)}}(function(u){u.EventSourcePolyfill=$,u.NativeEventSource=c,u.EventSource=Ft})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:s.commonjsGlobal:globalThis)})(xn,xn.exports);var ia=xn.exports;if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsDetails-BKF6dVBp.cjs")).then(t=>t.CasinoTournamentsDetails_ce).then(({default:t})=>{!customElements.get("casino-tournaments-details")&&customElements.define("casino-tournaments-details",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailController-DwAlQfYP.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-controller")&&customElements.define("casino-tournaments-thumbnail-controller",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsTable-DKQ-XAvr.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-table")&&customElements.define("casino-tournaments-table",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsTab-DZVmJO5J.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-tab")&&customElements.define("casino-tournaments-tab",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailRule-PY49rJr4.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-rule")&&customElements.define("casino-tournaments-thumbnail-rule",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsRank-bXoi8aik.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-rank")&&customElements.define("casino-tournaments-rank",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGames-BUOHTXRf.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games")&&customElements.define("casino-tournaments-thumbnail-games",t.element)})}function gl(e){s.append_styles(e,"svelte-13zmxk7",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsPage{background:var(--emw--color-contrast, #07072A);width:100%;color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:row}.TournamentsPage .hidden{display:none}.TournamentsPage.MiniMode{flex-direction:column}.TournamentsSectionWrapper{padding:24px 0;width:100%}@media screen and (max-width: 1300px){.TournamentsSectionWrapper{padding:24px 2.4%}}.FullSize{width:100%}.DisplayNone{display:none}.TopButtons{display:inline-flex;flex-direction:column;padding-bottom:20px;font-size:10px}.BackButton{display:inline-flex;align-items:center;cursor:pointer}.BackButton p{font-size:24px}.NavButtons{margin-left:auto;gap:10px;display:flex}.PrevButton{display:flex;align-items:center;border:1px solid var(--emw--color-white, #FFFFFF);width:105px;height:36px;padding:10px;font-size:16px;cursor:pointer}.NextButton{display:flex;align-items:center;border:1px solid var(--emw--color-white, #FFFFFF);padding:10px;width:75px;height:36px;font-size:16px;cursor:pointer}.TournamentsPage.MiniMode .TournamentContentDetails.MobileClass .TabContent.Games .GamesTabNav{width:80%}.TournamentContentDetails{display:flex;gap:10px;width:100%}.TournamentContentDetails.MobileClass{flex-direction:column}.TournamentContentDetails .LeaderboardSectionWrapper{display:flex;flex-direction:column;width:100%}.TournamentContentDetails .LeaderboardSectionWrapper .PageTabNav{max-width:600px;min-height:38px}.TournamentContentDetails .LeaderboardSectionWrapper .GamesTabNav{max-width:300px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Rules{max-width:800px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games{padding-bottom:30px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems{text-align:center;margin:auto;margin-top:39px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems.OneGame{width:100%}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems.TwoGames{width:100%;display:flex}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems.TwoGames div{width:50%}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems span{color:#FF8364;font-size:12px;text-align:center;text-decoration-line:underline;cursor:pointer;margin-top:5px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems svg,.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems .svg{height:70px;display:block;margin:auto}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems svg.ball,.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems .svg.ball{width:98px}.TournamentCardDetails{width:var(--emw--tournament-thumbnail-width, 35%)}.TournamentCardDetails.MobileClass{width:100%}.TournamentTableDetails{flex:auto}.TournamentsPage.MiniMode{height:max-content}.TournamentsPage.MiniMode .MobileClass.TournamentCardDetails{padding:5px 5px 0px 5px;background-color:#333333;padding-bottom:12px}.TournamentsPage.MiniMode .MobileClass.TournamentCardDetails casino-tournaments-rank{display:block}.TournamentsPage.MiniMode .CloseButton{position:absolute;right:3px;top:3px;font-size:11px;cursor:pointer}.TournamentsPage.MiniMode casino-tournaments-rank::part(Rank),.TournamentsPage.MiniMode casino-tournaments-rank::part(Prize){color:#0a0c19;font-size:12px;margin:0px 0px 0px 5px;padding:2px}.TournamentsPage.MiniMode casino-tournaments-rank::part(Rank){margin-left:0px}.TournamentsPage.MiniMode casino-tournaments-rank::part(Prize){margin-right:0px}.TournamentsPage.MiniMode casino-tournaments-rank::part(RankText),.TournamentsPage.MiniMode casino-tournaments-rank::part(PrizeText){font-weight:400}.TournamentsPage.MiniMode casino-tournaments-thumbnail-controller::part(TournamentCard){padding:5px 5px 0px 5px;background-color:#333333}.TournamentsPage.MiniMode casino-tournaments-tab::part(LiText){height:22px;top:calc(50% - 11px);font-style:normal;font-weight:600;font-size:14px;line-height:22px;text-align:center;letter-spacing:-0.1px}.TournamentsPage.MiniMode casino-tournaments-tab::part(CustomStylingContainer){margin-top:0px;cursor:pointer}.TournamentsPage.MiniMode .TabContent,.TournamentsPage.MiniMode casino-tournaments-tab{padding:0 16px}.TournamentsPage.MiniMode .TabContent.Rules{padding-bottom:28px}.TournamentsPage.MiniMode .TabContent.Games{padding-bottom:30px}.TournamentsPage.MiniMode .TabContent.Games .GameItems{text-align:center;margin:auto;margin-top:39px}.TournamentsPage.MiniMode .TabContent.Games .GameItems.OneGame{width:100%}.TournamentsPage.MiniMode .TabContent.Games .GameItems.TwoGames{width:100%;display:flex}.TournamentsPage.MiniMode .TabContent.Games .GameItems.TwoGames div{width:50%}.TournamentsPage.MiniMode .TabContent.Games .GameItems span{color:#FF8364;font-size:12px;text-align:center;text-decoration-line:underline;cursor:pointer;margin-top:5px}.TournamentsPage.MiniMode .TabContent.Games .GameItems svg,.TournamentsPage.MiniMode .TabContent.Games .GameItems .svg{height:70px;display:block;margin:auto}.TournamentsPage.MiniMode .TabContent.Games .GameItems svg.ball,.TournamentsPage.MiniMode .TabContent.Games .GameItems .svg.ball{width:98px}.TournamentsPage.MiniMode .TabContent.Games .GamesTabNav{width:50%}.TournamentsPage.MiniMode .BottomButton{font-weight:600;font-size:15px;text-align:center;height:35px;width:60%;margin:20px auto;align-items:center;padding:8.72351px 12.6887px;background:#FF8364;box-shadow:0px 0.793047px 2.37914px rgba(0, 0, 0, 0.1), 0px 1.58609px 0.793047px rgba(0, 0, 0, 0.06), 0px 0.793047px 0.793047px rgba(0, 0, 0, 0.07);border-radius:4.75828px}.TournamentsPage.MiniMode .Thumbnail{position:relative}.TournamentsPage.MiniMode .Thumbnail.Mobile{border:0px none;padding:6px 5px 10px;background:#333333}.TournamentsPage.MiniMode .Thumbnail.MiniMode .CardImg{margin-bottom:5px;width:65px;height:40px}.TournamentsPage.MiniMode .Thumbnail .CardImg{height:300px;width:100%;background:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:auto}.TournamentsPage.MiniMode .Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.TournamentsPage.MiniMode .Thumbnail .CardImg.Mobile{width:65px;height:40px;display:inline-block}.TournamentsPage.MiniMode .Thumbnail .MobileRight{display:inline-block;line-height:20px;font-size:11px;padding:2px 3px;vertical-align:top;width:calc(100% - 70px)}.TournamentsPage.MiniMode .Thumbnail .MobileRight .Title{text-transform:capitalize;font-size:var(--emw--font-size-medium, 14px);font-weight:600;background-color:transparent;height:fit-content;margin-bottom:initial}.TournamentsPage.MiniMode .Thumbnail .MobileRight .Title.Skeleton{height:var(--emw-skeleton-title-height, 30px)}.TournamentsPage.MiniMode .Thumbnail .Status{background:#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}.TournamentsPage.MiniMode .Thumbnail .Enrolled{background:#2B2B5D;color:#aaaabe;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}')}function oa(e,t,n){const a=e.slice();return a[84]=t[n],a}function la(e,t,n){const a=e.slice();return a[84]=t[n],a}function ua(e){let t,n=e[18]("loading")+"",a;return{c(){t=s.element("p"),a=s.text(n),s.attr(t,"class","LoadingMessage"),s.attr(t,"part","LoadingMessage")},m(r,i){s.insert(r,t,i),s.append(t,a)},p(r,i){i[0]&262144&&n!==(n=r[18]("loading")+"")&&s.set_data(a,n)},d(r){r&&s.detach(t)}}}function pl(e){let t,n,a,r=!e[16]&&da(),i=e[16]&&fa(e);return{c(){t=s.element("div"),r&&r.c(),n=s.space(),i&&i.c(),s.attr(t,"class",a=(s.isMobile(e[29])?"MobileClass":"")+(e[4]=="true"?" TournamentCardDetails":" FullSize")),s.attr(t,"part","MobileTournamentCardDetails")},m(o,d){s.insert(o,t,d),r&&r.m(t,null),s.append(t,n),i&&i.m(t,null)},p(o,d){o[16]?r&&(r.d(1),r=null):r||(r=da(),r.c(),r.m(t,n)),o[16]?i?i.p(o,d):(i=fa(o),i.c(),i.m(t,null)):i&&(i.d(1),i=null),d[0]&16&&a!==(a=(s.isMobile(o[29])?"MobileClass":"")+(o[4]=="true"?" TournamentCardDetails":" FullSize"))&&s.attr(t,"class",a)},d(o){o&&s.detach(t),r&&r.d(),i&&i.d()}}}function yl(e){let t,n,a,r,i,o,d,c=e[21].length>0&&ma(e);return{c(){var f;t=s.element("div"),n=s.element("casino-tournaments-thumbnail-controller"),i=s.space(),c&&c.c(),s.set_custom_element_data(n,"session",e[0]),s.set_custom_element_data(n,"userid",e[1]),s.set_custom_element_data(n,"endpoint",e[3]),s.set_custom_element_data(n,"tournamenturl",a=(f=e[16])==null?void 0:f.href),s.set_custom_element_data(n,"showdetails","false"),s.set_custom_element_data(n,"showslider","false"),s.set_custom_element_data(n,"showenrolled","true"),s.set_custom_element_data(n,"fullsize",r=!!e[4]),s.set_custom_element_data(n,"loginurl",e[11]),s.set_custom_element_data(n,"loginevent",e[9]),s.set_custom_element_data(n,"registerurl",e[12]),s.set_custom_element_data(n,"registerevent",e[10]),s.set_custom_element_data(n,"clientstyling",e[14]),s.set_custom_element_data(n,"clientstylingurl",e[15]),s.set_custom_element_data(n,"translationurl",e[7]),s.set_custom_element_data(n,"lang",e[5]),s.set_custom_element_data(n,"currency",e[6]),s.set_custom_element_data(n,"mbsource",e[8]),s.set_custom_element_data(n,"keepbrowsercontext",e[13]),s.set_custom_element_data(n,"exportparts",`Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, Games, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
16
+ `,ut+=ve):fe==="id"?gt=ve:fe==="event"?Fe=ve:fe==="retry"?(T=ye(ve,T),N=T):fe==="heartbeatTimeout"&&(R=ye(ve,R),ie!==0&&(r(ie),ie=a(function(){yt()},R)))}if(we===ge){if(ut!==""){X=gt,Fe===""&&(Fe="message");var kt=new je(Fe,{data:ut.slice(1),lastEventId:gt});if(u.dispatchEvent(kt),Fe==="open"?Y(u,u.onopen,kt):Fe==="message"?Y(u,u.onmessage,kt):Fe==="error"&&Y(u,u.onerror,kt),De===K)return}ut="",Fe=""}we=H===13?xe:ge}else we===ge&&(Nt=I,we=pe),we===pe?H===58&&(Ke=I+1,we=F):we===F&&(we=le)}}},qt=function(l){if(De===Ce||De===_e){De=Ue,ie!==0&&(r(ie),ie=0),ie=a(function(){yt()},N),N=v(Math.min(T*16,N*2)),u.readyState=_e;var y=new Ve("error",{error:l});u.dispatchEvent(y),Y(u,u.onerror,y),l!=null&&console.error(l)}},pt=function(){De=K,be!=null&&(be.abort(),be=void 0),ie!==0&&(r(ie),ie=0),u.readyState=K},yt=function(){if(ie=0,De!==Ue){if(!L&&be!=null)qt(new Error("No activity within "+R+" milliseconds. "+(De===_e?"No response received.":B+" chars received.")+" Reconnecting.")),be!=null&&(be.abort(),be=void 0);else{var l=Math.max((L||Date.now())+R-Date.now(),1);L=!1,ie=a(function(){yt()},l)}return}L=!1,B=0,ie=a(function(){yt()},R),De=_e,ut="",Fe="",gt=X,Mt="",Nt=0,Ke=0,we=ge;var y=g;if(g.slice(0,5)!=="data:"&&g.slice(0,5)!=="blob:"&&X!==""){var k=g.indexOf("?");y=k===-1?g:g.slice(0,k+1)+g.slice(k+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(ve,kt){return kt===O?"":ve}),y+=(g.indexOf("?")===-1?"?":"&")+O+"="+encodeURIComponent(X)}var H=u.withCredentials,x={};x.Accept="text/event-stream";var I=u.headers;if(I!=null)for(var fe in I)Object.prototype.hasOwnProperty.call(I,fe)&&(x[fe]=I[fe]);try{be=_t.open(Ee,yn,wn,qt,y,H,x)}catch(ve){throw pt(),ve}};u.url=g,u.readyState=_e,u.withCredentials=_,u.headers=C,u._close=pt,yt()}$.prototype=Object.create(Pe.prototype),$.prototype.CONNECTING=_e,$.prototype.OPEN=Ce,$.prototype.CLOSED=K,$.prototype.close=function(){this._close()},$.CONNECTING=_e,$.OPEN=Ce,$.CLOSED=K,$.prototype.withCredentials=void 0;var Ft=c;i!=null&&(c==null||!("withCredentials"in c.prototype))&&(Ft=$),function(u){{var g=u(t);g!==void 0&&(e.exports=g)}}(function(u){u.EventSourcePolyfill=$,u.NativeEventSource=c,u.EventSource=Ft})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:s.commonjsGlobal:globalThis)})(xn,xn.exports);var ia=xn.exports;if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsDetails-Bk-HK9De.cjs")).then(t=>t.CasinoTournamentsDetails_ce).then(({default:t})=>{!customElements.get("casino-tournaments-details")&&customElements.define("casino-tournaments-details",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailController-CM9Usghn.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-controller")&&customElements.define("casino-tournaments-thumbnail-controller",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsTable-DN7IW1yx.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-table")&&customElements.define("casino-tournaments-table",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsTab-CNL0U_cp.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-tab")&&customElements.define("casino-tournaments-tab",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailRule-IzvzYvQ1.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-rule")&&customElements.define("casino-tournaments-thumbnail-rule",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsRank-B3Okw3YK.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-rank")&&customElements.define("casino-tournaments-rank",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGames-ClHu8UBL.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games")&&customElements.define("casino-tournaments-thumbnail-games",t.element)})}function gl(e){s.append_styles(e,"svelte-13zmxk7",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsPage{background:var(--emw--color-contrast, #07072A);width:100%;color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:row}.TournamentsPage .hidden{display:none}.TournamentsPage.MiniMode{flex-direction:column}.TournamentsSectionWrapper{padding:24px 0;width:100%}@media screen and (max-width: 1300px){.TournamentsSectionWrapper{padding:24px 2.4%}}.FullSize{width:100%}.DisplayNone{display:none}.TopButtons{display:inline-flex;flex-direction:column;padding-bottom:20px;font-size:10px}.BackButton{display:inline-flex;align-items:center;cursor:pointer}.BackButton p{font-size:24px}.NavButtons{margin-left:auto;gap:10px;display:flex}.PrevButton{display:flex;align-items:center;border:1px solid var(--emw--color-white, #FFFFFF);width:105px;height:36px;padding:10px;font-size:16px;cursor:pointer}.NextButton{display:flex;align-items:center;border:1px solid var(--emw--color-white, #FFFFFF);padding:10px;width:75px;height:36px;font-size:16px;cursor:pointer}.TournamentsPage.MiniMode .TournamentContentDetails.MobileClass .TabContent.Games .GamesTabNav{width:80%}.TournamentContentDetails{display:flex;gap:10px;width:100%}.TournamentContentDetails.MobileClass{flex-direction:column}.TournamentContentDetails .LeaderboardSectionWrapper{display:flex;flex-direction:column;width:100%}.TournamentContentDetails .LeaderboardSectionWrapper .PageTabNav{max-width:600px;min-height:38px}.TournamentContentDetails .LeaderboardSectionWrapper .GamesTabNav{max-width:300px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Rules{max-width:800px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games{padding-bottom:30px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems{text-align:center;margin:auto;margin-top:39px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems.OneGame{width:100%}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems.TwoGames{width:100%;display:flex}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems.TwoGames div{width:50%}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems span{color:#FF8364;font-size:12px;text-align:center;text-decoration-line:underline;cursor:pointer;margin-top:5px}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems svg,.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems .svg{height:70px;display:block;margin:auto}.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems svg.ball,.TournamentContentDetails .LeaderboardSectionWrapper .TabContent.Games .GameItems .svg.ball{width:98px}.TournamentCardDetails{width:var(--emw--tournament-thumbnail-width, 35%)}.TournamentCardDetails.MobileClass{width:100%}.TournamentTableDetails{flex:auto}.TournamentsPage.MiniMode{height:max-content}.TournamentsPage.MiniMode .MobileClass.TournamentCardDetails{padding:5px 5px 0px 5px;background-color:#333333;padding-bottom:12px}.TournamentsPage.MiniMode .MobileClass.TournamentCardDetails casino-tournaments-rank{display:block}.TournamentsPage.MiniMode .CloseButton{position:absolute;right:3px;top:3px;font-size:11px;cursor:pointer}.TournamentsPage.MiniMode casino-tournaments-rank::part(Rank),.TournamentsPage.MiniMode casino-tournaments-rank::part(Prize){color:#0a0c19;font-size:12px;margin:0px 0px 0px 5px;padding:2px}.TournamentsPage.MiniMode casino-tournaments-rank::part(Rank){margin-left:0px}.TournamentsPage.MiniMode casino-tournaments-rank::part(Prize){margin-right:0px}.TournamentsPage.MiniMode casino-tournaments-rank::part(RankText),.TournamentsPage.MiniMode casino-tournaments-rank::part(PrizeText){font-weight:400}.TournamentsPage.MiniMode casino-tournaments-thumbnail-controller::part(TournamentCard){padding:5px 5px 0px 5px;background-color:#333333}.TournamentsPage.MiniMode casino-tournaments-tab::part(LiText){height:22px;top:calc(50% - 11px);font-style:normal;font-weight:600;font-size:14px;line-height:22px;text-align:center;letter-spacing:-0.1px}.TournamentsPage.MiniMode casino-tournaments-tab::part(CustomStylingContainer){margin-top:0px;cursor:pointer}.TournamentsPage.MiniMode .TabContent,.TournamentsPage.MiniMode casino-tournaments-tab{padding:0 16px}.TournamentsPage.MiniMode .TabContent.Rules{padding-bottom:28px}.TournamentsPage.MiniMode .TabContent.Games{padding-bottom:30px}.TournamentsPage.MiniMode .TabContent.Games .GameItems{text-align:center;margin:auto;margin-top:39px}.TournamentsPage.MiniMode .TabContent.Games .GameItems.OneGame{width:100%}.TournamentsPage.MiniMode .TabContent.Games .GameItems.TwoGames{width:100%;display:flex}.TournamentsPage.MiniMode .TabContent.Games .GameItems.TwoGames div{width:50%}.TournamentsPage.MiniMode .TabContent.Games .GameItems span{color:#FF8364;font-size:12px;text-align:center;text-decoration-line:underline;cursor:pointer;margin-top:5px}.TournamentsPage.MiniMode .TabContent.Games .GameItems svg,.TournamentsPage.MiniMode .TabContent.Games .GameItems .svg{height:70px;display:block;margin:auto}.TournamentsPage.MiniMode .TabContent.Games .GameItems svg.ball,.TournamentsPage.MiniMode .TabContent.Games .GameItems .svg.ball{width:98px}.TournamentsPage.MiniMode .TabContent.Games .GamesTabNav{width:50%}.TournamentsPage.MiniMode .BottomButton{font-weight:600;font-size:15px;text-align:center;height:35px;width:60%;margin:20px auto;align-items:center;padding:8.72351px 12.6887px;background:#FF8364;box-shadow:0px 0.793047px 2.37914px rgba(0, 0, 0, 0.1), 0px 1.58609px 0.793047px rgba(0, 0, 0, 0.06), 0px 0.793047px 0.793047px rgba(0, 0, 0, 0.07);border-radius:4.75828px}.TournamentsPage.MiniMode .Thumbnail{position:relative}.TournamentsPage.MiniMode .Thumbnail.Mobile{border:0px none;padding:6px 5px 10px;background:#333333}.TournamentsPage.MiniMode .Thumbnail.MiniMode .CardImg{margin-bottom:5px;width:65px;height:40px}.TournamentsPage.MiniMode .Thumbnail .CardImg{height:300px;width:100%;background:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:auto}.TournamentsPage.MiniMode .Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.TournamentsPage.MiniMode .Thumbnail .CardImg.Mobile{width:65px;height:40px;display:inline-block}.TournamentsPage.MiniMode .Thumbnail .MobileRight{display:inline-block;line-height:20px;font-size:11px;padding:2px 3px;vertical-align:top;width:calc(100% - 70px)}.TournamentsPage.MiniMode .Thumbnail .MobileRight .Title{text-transform:capitalize;font-size:var(--emw--font-size-medium, 14px);font-weight:600;background-color:transparent;height:fit-content;margin-bottom:initial}.TournamentsPage.MiniMode .Thumbnail .MobileRight .Title.Skeleton{height:var(--emw-skeleton-title-height, 30px)}.TournamentsPage.MiniMode .Thumbnail .Status{background:#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}.TournamentsPage.MiniMode .Thumbnail .Enrolled{background:#2B2B5D;color:#aaaabe;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}')}function oa(e,t,n){const a=e.slice();return a[84]=t[n],a}function la(e,t,n){const a=e.slice();return a[84]=t[n],a}function ua(e){let t,n=e[18]("loading")+"",a;return{c(){t=s.element("p"),a=s.text(n),s.attr(t,"class","LoadingMessage"),s.attr(t,"part","LoadingMessage")},m(r,i){s.insert(r,t,i),s.append(t,a)},p(r,i){i[0]&262144&&n!==(n=r[18]("loading")+"")&&s.set_data(a,n)},d(r){r&&s.detach(t)}}}function pl(e){let t,n,a,r=!e[16]&&da(),i=e[16]&&fa(e);return{c(){t=s.element("div"),r&&r.c(),n=s.space(),i&&i.c(),s.attr(t,"class",a=(s.isMobile(e[29])?"MobileClass":"")+(e[4]=="true"?" TournamentCardDetails":" FullSize")),s.attr(t,"part","MobileTournamentCardDetails")},m(o,d){s.insert(o,t,d),r&&r.m(t,null),s.append(t,n),i&&i.m(t,null)},p(o,d){o[16]?r&&(r.d(1),r=null):r||(r=da(),r.c(),r.m(t,n)),o[16]?i?i.p(o,d):(i=fa(o),i.c(),i.m(t,null)):i&&(i.d(1),i=null),d[0]&16&&a!==(a=(s.isMobile(o[29])?"MobileClass":"")+(o[4]=="true"?" TournamentCardDetails":" FullSize"))&&s.attr(t,"class",a)},d(o){o&&s.detach(t),r&&r.d(),i&&i.d()}}}function yl(e){let t,n,a,r,i,o,d,c=e[21].length>0&&ma(e);return{c(){var f;t=s.element("div"),n=s.element("casino-tournaments-thumbnail-controller"),i=s.space(),c&&c.c(),s.set_custom_element_data(n,"session",e[0]),s.set_custom_element_data(n,"userid",e[1]),s.set_custom_element_data(n,"endpoint",e[3]),s.set_custom_element_data(n,"tournamenturl",a=(f=e[16])==null?void 0:f.href),s.set_custom_element_data(n,"showdetails","false"),s.set_custom_element_data(n,"showslider","false"),s.set_custom_element_data(n,"showenrolled","true"),s.set_custom_element_data(n,"fullsize",r=!!e[4]),s.set_custom_element_data(n,"loginurl",e[11]),s.set_custom_element_data(n,"loginevent",e[9]),s.set_custom_element_data(n,"registerurl",e[12]),s.set_custom_element_data(n,"registerevent",e[10]),s.set_custom_element_data(n,"clientstyling",e[14]),s.set_custom_element_data(n,"clientstylingurl",e[15]),s.set_custom_element_data(n,"translationurl",e[7]),s.set_custom_element_data(n,"lang",e[5]),s.set_custom_element_data(n,"currency",e[6]),s.set_custom_element_data(n,"mbsource",e[8]),s.set_custom_element_data(n,"keepbrowsercontext",e[13]),s.set_custom_element_data(n,"exportparts",`Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, Games, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
17
17
  TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill,
18
18
  TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton
19
19
  TournamentCard, CardMaxWidth, CardFullSize, elementToFadeOut, elementToFadeIn, ph-item, ph-col-12, ph-picture, ph-row, ph-col-6, big, ph-col-4, empty, ph-col-8, TournamentButtons, LoginButton, RegisterButton, DetailsButton, EnrolledButton, JoinButton, JoinButtonFullSize, spinner, DetailsLargeButton, ErrorText, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing, TournamentPrizesIconSection, TournamentPrizesIconWrapper`),s.attr(t,"class",o=(s.isMobile(e[29])?"MobileClass":"")+(e[4]=="true"?"TournamentCardDetails":"FullSize")),s.attr(t,"part",d=(s.isMobile(e[29])?"MobileClass":"")+(e[4]=="true"?"TournamentCardDetails":"FullSize"))},m(f,p){s.insert(f,t,p),s.append(t,n),s.append(t,i),c&&c.m(t,null)},p(f,p){var U;p[0]&1&&s.set_custom_element_data(n,"session",f[0]),p[0]&2&&s.set_custom_element_data(n,"userid",f[1]),p[0]&8&&s.set_custom_element_data(n,"endpoint",f[3]),p[0]&65536&&a!==(a=(U=f[16])==null?void 0:U.href)&&s.set_custom_element_data(n,"tournamenturl",a),p[0]&16&&r!==(r=!!f[4])&&s.set_custom_element_data(n,"fullsize",r),p[0]&2048&&s.set_custom_element_data(n,"loginurl",f[11]),p[0]&512&&s.set_custom_element_data(n,"loginevent",f[9]),p[0]&4096&&s.set_custom_element_data(n,"registerurl",f[12]),p[0]&1024&&s.set_custom_element_data(n,"registerevent",f[10]),p[0]&16384&&s.set_custom_element_data(n,"clientstyling",f[14]),p[0]&32768&&s.set_custom_element_data(n,"clientstylingurl",f[15]),p[0]&128&&s.set_custom_element_data(n,"translationurl",f[7]),p[0]&32&&s.set_custom_element_data(n,"lang",f[5]),p[0]&64&&s.set_custom_element_data(n,"currency",f[6]),p[0]&256&&s.set_custom_element_data(n,"mbsource",f[8]),p[0]&8192&&s.set_custom_element_data(n,"keepbrowsercontext",f[13]),f[21].length>0?c?c.p(f,p):(c=ma(f),c.c(),c.m(t,null)):c&&(c.d(1),c=null),p[0]&16&&o!==(o=(s.isMobile(f[29])?"MobileClass":"")+(f[4]=="true"?"TournamentCardDetails":"FullSize"))&&s.attr(t,"class",o),p[0]&16&&d!==(d=(s.isMobile(f[29])?"MobileClass":"")+(f[4]=="true"?"TournamentCardDetails":"FullSize"))&&s.attr(t,"part",d)},d(f){f&&s.detach(t),c&&c.d()}}}function da(e){let t,n,a;return{c(){t=s.element("div"),t.innerHTML='<ui-skeleton class="Mobile CardImg" structure="rectangle" width="65px" height="40px"></ui-skeleton> <div class="MobileRight" part="ThumbnailRight"><ui-skeleton structure="text" width="100%" height="18px"></ui-skeleton> <ui-skeleton structure="text" width="100%" height="12px" margin-top="5px"></ui-skeleton></div>',n=s.space(),a=s.element("div"),a.innerHTML='<ui-skeleton structure="rectangle" width="100%" height="26px"></ui-skeleton>',s.attr(t,"class","Thumbnail MiniMode"),s.attr(t,"part","MiniThumbnail"),s.attr(a,"class","TournamentsRank"),s.attr(a,"part","TournamentsRank")},m(r,i){s.insert(r,t,i),s.insert(r,n,i),s.insert(r,a,i)},d(r){r&&(s.detach(t),s.detach(n),s.detach(a))}}}function fa(e){let t,n,a,r,i=e[16].nameOrTitle+"",o,d,c,f,p,U,D,re,ce,me,Z;function Se(S,V){return S[16].thumbnail?bl:wl}let ne=Se(e),j=ne(e),A=e[16].startTime&&ca(e);return{c(){t=s.element("div"),j.c(),n=s.space(),a=s.element("div"),r=s.element("div"),o=s.text(i),d=s.space(),c=s.element("div"),A&&A.c(),f=s.space(),p=s.element("div"),p.textContent="X",U=s.space(),D=s.element("casino-tournaments-rank"),s.attr(r,"class","Title"),s.attr(r,"part","ThumbnailRight_Title"),s.attr(c,"part","ThumbnailRight_Period"),s.attr(a,"class","MobileRight"),s.attr(a,"part","ThumbnailRight"),s.attr(p,"class","CloseButton"),s.attr(p,"part","CloseButton"),s.attr(t,"class","Thumbnail MiniMode"),s.attr(t,"part","MiniThumbnail"),s.set_custom_element_data(D,"part","ThumbnailRank"),s.set_custom_element_data(D,"userrank",re=e[24]?e[23].Rank:e[22].Rank),s.set_custom_element_data(D,"overallrank",e[26]),s.set_custom_element_data(D,"prize",ce=e[24]?e[23].Prize||"-":e[22].Prize||"-"),s.set_custom_element_data(D,"tournamentid",e[2]),s.set_custom_element_data(D,"exportparts","casino-tournaments-rank, Rank, Icon, UserIcon, RankText, Rank_Arror_UP, Rank_Arror_Down, Prize, Icon, PrizeIcon, PrizeText"),s.set_custom_element_data(D,"clientstyling",e[14]),s.set_custom_element_data(D,"clientstylingurl",e[15]),s.set_custom_element_data(D,"translationurl",e[7]),s.set_custom_element_data(D,"mbsource",e[8])},m(S,V){s.insert(S,t,V),j.m(t,null),s.append(t,n),s.append(t,a),s.append(a,r),s.append(r,o),s.append(a,d),s.append(a,c),A&&A.m(c,null),s.append(t,f),s.append(t,p),s.insert(S,U,V),s.insert(S,D,V),me||(Z=s.listen(p,"click",e[32]),me=!0)},p(S,V){ne===(ne=Se(S))&&j?j.p(S,V):(j.d(1),j=ne(S),j&&(j.c(),j.m(t,n))),V[0]&65536&&i!==(i=S[16].nameOrTitle+"")&&s.set_data(o,i),S[16].startTime?A?A.p(S,V):(A=ca(S),A.c(),A.m(c,null)):A&&(A.d(1),A=null),V[0]&29360128&&re!==(re=S[24]?S[23].Rank:S[22].Rank)&&s.set_custom_element_data(D,"userrank",re),V[0]&67108864&&s.set_custom_element_data(D,"overallrank",S[26]),V[0]&29360128&&ce!==(ce=S[24]?S[23].Prize||"-":S[22].Prize||"-")&&s.set_custom_element_data(D,"prize",ce),V[0]&4&&s.set_custom_element_data(D,"tournamentid",S[2]),V[0]&16384&&s.set_custom_element_data(D,"clientstyling",S[14]),V[0]&32768&&s.set_custom_element_data(D,"clientstylingurl",S[15]),V[0]&128&&s.set_custom_element_data(D,"translationurl",S[7]),V[0]&256&&s.set_custom_element_data(D,"mbsource",S[8])},d(S){S&&(s.detach(t),s.detach(U),s.detach(D)),j.d(),A&&A.d(),me=!1,Z()}}}function wl(e){let t,n,a,r,i,o;return{c(){t=s.element("img"),s.attr(t,"part","CardImg"),s.attr(t,"class",n="CardImg "+(e[16].state=="Closing"||e[16].state=="Closed"?"CardImgFinished":"")),s.src_url_equal(t.src,a="https://i.stack.imgur.com/y9DpT.jpg")||s.attr(t,"src",a),s.attr(t,"width","65px"),s.attr(t,"height","40px"),s.attr(t,"title",r=e[16].nameOrTitle)},m(d,c){s.insert(d,t,c),i||(o=s.action_destroyer(e[30].call(null,t)),i=!0)},p(d,c){c[0]&65536&&n!==(n="CardImg "+(d[16].state=="Closing"||d[16].state=="Closed"?"CardImgFinished":""))&&s.attr(t,"class",n),c[0]&65536&&r!==(r=d[16].nameOrTitle)&&s.attr(t,"title",r)},d(d){d&&s.detach(t),i=!1,o()}}}function bl(e){let t,n,a,r,i,o;return{c(){t=s.element("img"),s.attr(t,"part","CardImg"),s.attr(t,"class",n="Mobile CardImg "+(e[16].state=="Closing"||e[16].state=="Closed"?"CardImgFinished":"")),s.src_url_equal(t.src,a=e[16].thumbnail)||s.attr(t,"src",a),s.attr(t,"width","65px"),s.attr(t,"height","40px"),s.attr(t,"title",r=e[16].nameOrTitle)},m(d,c){s.insert(d,t,c),i||(o=s.action_destroyer(e[30].call(null,t)),i=!0)},p(d,c){c[0]&65536&&n!==(n="Mobile CardImg "+(d[16].state=="Closing"||d[16].state=="Closed"?"CardImgFinished":""))&&s.attr(t,"class",n),c[0]&65536&&!s.src_url_equal(t.src,a=d[16].thumbnail)&&s.attr(t,"src",a),c[0]&65536&&r!==(r=d[16].nameOrTitle)&&s.attr(t,"title",r)},d(d){d&&s.detach(t),i=!1,o()}}}function ca(e){let t=e[18]("activePeriod",{values:{startdate:h(e[16].startTime).format("DD/MM/YYYY HH:mm"),enddate:h(e[16].endTime).format("DD/MM/YYYY HH:mm")}})+"",n;return{c(){n=s.text(t)},m(a,r){s.insert(a,n,r)},p(a,r){r[0]&327680&&t!==(t=a[18]("activePeriod",{values:{startdate:h(a[16].startTime).format("DD/MM/YYYY HH:mm"),enddate:h(a[16].endTime).format("DD/MM/YYYY HH:mm")}})+"")&&s.set_data(n,t)},d(a){a&&s.detach(n)}}}function ma(e){let t,n=s.ensure_array_like(e[21]),a=[];for(let r=0;r<n.length;r+=1)a[r]=ha(la(e,n,r));return{c(){for(let r=0;r<a.length;r+=1)a[r].c();t=s.empty()},m(r,i){for(let o=0;o<a.length;o+=1)a[o]&&a[o].m(r,i);s.insert(r,t,i)},p(r,i){if(i[0]&2146560){n=s.ensure_array_like(r[21]);let o;for(o=0;o<n.length;o+=1){const d=la(r,n,o);a[o]?a[o].p(d,i):(a[o]=ha(d),a[o].c(),a[o].m(t.parentNode,t))}for(;o<a.length;o+=1)a[o].d(1);a.length=n.length}},d(r){r&&s.detach(t),s.destroy_each(a,r)}}}function ha(e){let t,n,a;return{c(){t=s.element("casino-tournaments-details"),s.set_custom_element_data(t,"title",n=e[84].title),s.set_custom_element_data(t,"text",a=e[84].description),s.set_custom_element_data(t,"exportparts","DetailsCard, DetailsTitle, Title, CollapseButtonDetails, DetailsContent"),s.set_custom_element_data(t,"clientstyling",e[14]),s.set_custom_element_data(t,"clientstylingurl",e[15]),s.set_custom_element_data(t,"mbsource",e[8])},m(r,i){s.insert(r,t,i)},p(r,i){i[0]&2097152&&n!==(n=r[84].title)&&s.set_custom_element_data(t,"title",n),i[0]&2097152&&a!==(a=r[84].description)&&s.set_custom_element_data(t,"text",a),i[0]&16384&&s.set_custom_element_data(t,"clientstyling",r[14]),i[0]&32768&&s.set_custom_element_data(t,"clientstylingurl",r[15]),i[0]&256&&s.set_custom_element_data(t,"mbsource",r[8])},d(r){r&&s.detach(t)}}}function _a(e){let t,n,a,r,i,o,d,c;return{c(){var f,p;t=s.element("casino-tournaments-thumbnail-rule"),s.set_custom_element_data(t,"lang",e[5]),s.set_custom_element_data(t,"tcurl",n=e[16].termsUrl||"#"),s.set_custom_element_data(t,"scorecriterial",a=e[16].scoreCriteria),s.set_custom_element_data(t,"betcount",e[28]),s.set_custom_element_data(t,"starttime",r=h(e[16].startTime).format("DD/MM/YYYY HH:mm:ss")),s.set_custom_element_data(t,"endtime",i=h(e[16].endTime).format("DD/MM/YYYY HH:mm:ss")),s.set_custom_element_data(t,"sportswallet",o=(f=e[16].wallet)==null?void 0:f.sports),s.set_custom_element_data(t,"casinowallet",d=(p=e[16].wallet)==null?void 0:p.casino),s.set_custom_element_data(t,"exportparts","casino-tournaments-thumbnail-rule, rule, RuleIcon, RuleTxt"),s.set_custom_element_data(t,"clientstyling",e[14]),s.set_custom_element_data(t,"minscore",c=e[16].minimumScore),s.set_custom_element_data(t,"clientstylingurl",e[15]),s.set_custom_element_data(t,"translationurl",e[7]),s.set_custom_element_data(t,"mbsource",e[8])},m(f,p){s.insert(f,t,p)},p(f,p){var U,D;p[0]&32&&s.set_custom_element_data(t,"lang",f[5]),p[0]&65536&&n!==(n=f[16].termsUrl||"#")&&s.set_custom_element_data(t,"tcurl",n),p[0]&65536&&a!==(a=f[16].scoreCriteria)&&s.set_custom_element_data(t,"scorecriterial",a),p[0]&268435456&&s.set_custom_element_data(t,"betcount",f[28]),p[0]&65536&&r!==(r=h(f[16].startTime).format("DD/MM/YYYY HH:mm:ss"))&&s.set_custom_element_data(t,"starttime",r),p[0]&65536&&i!==(i=h(f[16].endTime).format("DD/MM/YYYY HH:mm:ss"))&&s.set_custom_element_data(t,"endtime",i),p[0]&65536&&o!==(o=(U=f[16].wallet)==null?void 0:U.sports)&&s.set_custom_element_data(t,"sportswallet",o),p[0]&65536&&d!==(d=(D=f[16].wallet)==null?void 0:D.casino)&&s.set_custom_element_data(t,"casinowallet",d),p[0]&16384&&s.set_custom_element_data(t,"clientstyling",f[14]),p[0]&65536&&c!==(c=f[16].minimumScore)&&s.set_custom_element_data(t,"minscore",c),p[0]&32768&&s.set_custom_element_data(t,"clientstylingurl",f[15]),p[0]&128&&s.set_custom_element_data(t,"translationurl",f[7]),p[0]&256&&s.set_custom_element_data(t,"mbsource",f[8])},d(f){f&&s.detach(t)}}}function ga(e){let t,n=s.ensure_array_like(e[21]),a=[];for(let r=0;r<n.length;r+=1)a[r]=pa(oa(e,n,r));return{c(){for(let r=0;r<a.length;r+=1)a[r].c();t=s.empty()},m(r,i){for(let o=0;o<a.length;o+=1)a[o]&&a[o].m(r,i);s.insert(r,t,i)},p(r,i){if(i[0]&2146560){n=s.ensure_array_like(r[21]);let o;for(o=0;o<n.length;o+=1){const d=oa(r,n,o);a[o]?a[o].p(d,i):(a[o]=pa(d),a[o].c(),a[o].m(t.parentNode,t))}for(;o<a.length;o+=1)a[o].d(1);a.length=n.length}},d(r){r&&s.detach(t),s.destroy_each(a,r)}}}function pa(e){let t,n,a;return{c(){t=s.element("casino-tournaments-details"),s.set_custom_element_data(t,"title",n=e[84].title),s.set_custom_element_data(t,"text",a=e[84].description),s.set_custom_element_data(t,"clientstyling",e[14]),s.set_custom_element_data(t,"clientstylingurl",e[15]),s.set_custom_element_data(t,"mbsource",e[8])},m(r,i){s.insert(r,t,i)},p(r,i){i[0]&2097152&&n!==(n=r[84].title)&&s.set_custom_element_data(t,"title",n),i[0]&2097152&&a!==(a=r[84].description)&&s.set_custom_element_data(t,"text",a),i[0]&16384&&s.set_custom_element_data(t,"clientstyling",r[14]),i[0]&32768&&s.set_custom_element_data(t,"clientstylingurl",r[15]),i[0]&256&&s.set_custom_element_data(t,"mbsource",r[8])},d(r){r&&s.detach(t)}}}function ya(e){let t;return{c(){t=s.element("casino-tournaments-thumbnail-games"),s.set_custom_element_data(t,"lang",e[5]),s.set_custom_element_data(t,"clientstyling",e[14]),s.set_custom_element_data(t,"clientstylingurl",e[15]),s.set_custom_element_data(t,"translationurl",e[7]),s.set_custom_element_data(t,"mbsource",e[8])},m(n,a){s.insert(n,t,a)},p(n,a){a[0]&32&&s.set_custom_element_data(t,"lang",n[5]),a[0]&16384&&s.set_custom_element_data(t,"clientstyling",n[14]),a[0]&32768&&s.set_custom_element_data(t,"clientstylingurl",n[15]),a[0]&128&&s.set_custom_element_data(t,"translationurl",n[7]),a[0]&256&&s.set_custom_element_data(t,"mbsource",n[8])},d(n){n&&s.detach(t)}}}function wa(e){let t,n=e[18]("forwardMyTournaments")+"",a,r,i;return{c(){t=s.element("div"),a=s.text(n),s.attr(t,"class","BottomButton"),s.attr(t,"part","ThumbnailGotoTournamentsButton")},m(o,d){s.insert(o,t,d),s.append(t,a),r||(i=s.listen(t,"click",e[33].bind(this,"MyTournaments")),r=!0)},p(o,d){d[0]&262144&&n!==(n=o[18]("forwardMyTournaments")+"")&&s.set_data(a,n)},d(o){o&&s.detach(t),r=!1,i()}}}function vl(e){var lt,ye;let t,n,a,r,i,o,d,c,f,p=e[18]("back")+"",U,D,re,ce,me,Z,Se,ne,j,A,S,V,Xe,de,We,Pe,ot,he,je,Qe,Ve,Ue,_e,Ce,K=e[20]&&ua(e);function xe(v,Y){return v[27]?pl:yl}let ge=xe(e),pe=ge(e),F=e[16]&&_a(e),le=e[27]&&((lt=e[21])==null?void 0:lt.length)>0&&ga(e),se=((ye=e[16])==null?void 0:ye.games)&&ya(e),J=e[27]&&e[19]&&wa(e);return{c(){K&&K.c(),t=s.space(),n=s.element("div"),a=s.element("div"),r=s.element("div"),i=s.element("div"),o=s.svg_element("svg"),d=s.svg_element("path"),c=s.space(),f=s.element("p"),U=s.text(p),D=s.space(),re=s.element("div"),pe.c(),ce=s.space(),me=s.element("div"),Z=s.element("div"),Se=s.element("div"),ne=s.element("casino-tournaments-tab"),j=s.space(),A=s.element("div"),S=s.element("casino-tournaments-table"),Xe=s.space(),de=s.element("div"),F&&F.c(),We=s.space(),le&&le.c(),ot=s.space(),he=s.element("div"),se&&se.c(),Qe=s.space(),J&&J.c(),s.attr(d,"stroke-linecap","round"),s.attr(d,"stroke-linejoin","round"),s.attr(d,"stroke-width","2"),s.attr(d,"d","M15 19l-7-7 7-7"),s.attr(o,"fill","none"),s.attr(o,"stroke","currentColor"),s.attr(o,"width","24"),s.attr(o,"height","24"),s.attr(o,"viewBox","0 0 24 24"),s.attr(o,"xmlns","http://www.w3.org/2000/svg"),s.attr(i,"class","BackButton"),s.attr(i,"part","BackButton"),s.attr(r,"class","TopButtons"),s.attr(r,"part","TopButtons"),s.set_custom_element_data(ne,"part","ThumbnailTab"),s.set_custom_element_data(ne,"tabs","leaderboard,rules,games"),s.set_custom_element_data(ne,"tab","leaderboard"),s.set_custom_element_data(ne,"tid",fr),s.set_custom_element_data(ne,"exportparts","CustomStylingContainer, ul, li, LiText, sup, SupText, active"),s.set_custom_element_data(ne,"clientstyling",e[14]),s.set_custom_element_data(ne,"clientstylingurl",e[15]),s.set_custom_element_data(ne,"mbsource",e[8]),s.attr(Se,"class","PageTabNav"),s.set_custom_element_data(S,"firstrow","true"),s.set_custom_element_data(S,"sortable","false"),s.set_custom_element_data(S,"lang",e[5]),s.set_custom_element_data(S,"clientstyling",e[14]),s.set_custom_element_data(S,"clientstylingurl",e[15]),s.set_custom_element_data(S,"translationurl",e[7]),s.set_custom_element_data(S,"mbsource",e[8]),s.set_custom_element_data(S,"exportparts",`TableContent, TableUser, TableHeadRow, TableCell, CurrentUserRow, UnqualifiedRow, TableRank, Rank-1, Rank-2, Rank-3, RankFirstRow, TablePlayer, TablePoints, TablePrize, Qualified, TableUserTooltips, TableUserTooltipsEm, ExclamationMark,