@everymatrix/casino-tournaments-page-controller 1.94.19 → 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 q, $ as me, d as ce, S as ge, t as fe, D as de, r as I, h as pe, q as U, y as Q, n as S, m as le, i as o, u as A, g as m, o as w, L as B, k as he, v as be, z as _e, A as we, I as C, B as ve, J as F, x as J, N as R, O as W, j as V, p as ye, M as Y, w as Te, E as Ge, F as Ce, G as Pe, l as ke, a as Ee } from "./CasinoTournamentsPageController-BEoxppZY.js";
1
+ import { $ as q, y as me, z as ce, S as ge, i as fe, s as de, f as I, a as pe, G as U, n as Q, d as S, H as le, j as o, b as A, e as m, g as w, h as M, B as he, k as be, K as _e, o as we, A as C, E as ve, l as F, m as H, r as R, t as W, q as V, D as ye, I as Y, u as Te, v as Ge, w as Ce, x as Pe, c as ke, F as Ee } from "./CasinoTournamentsPageController-BaLiSneC.js";
2
2
  import "../stencil/ui-image-DyN7Fe9v.js";
3
3
  function Le({ withLocale: a, translations: e }) {
4
4
  q.subscribe((t) => {
@@ -22,7 +22,7 @@ const $ = {
22
22
  noMoreGames: "No more games"
23
23
  }
24
24
  };
25
- function Me(a) {
25
+ function Be(a) {
26
26
  pe(a, "svelte-h1f7fe", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControlsArea.SinglePage{display:none}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
27
27
  }
28
28
  function ee(a, e, t) {
@@ -37,7 +37,7 @@ function ae(a) {
37
37
  let e, t;
38
38
  return {
39
39
  c() {
40
- e = w("div"), t = w("casino-tournaments-tab"), C(t, "part", "TournamentGames"), C(t, "tabs", "casino,sports"), C(t, "defaulttab", "casino"), C(t, "tid", Z), C(
40
+ e = w("div"), t = w("casino-tournaments-tab"), C(t, "part", "TournamentGames"), C(t, "tabs", "casino,sports"), C(t, "defaulttab", "casino"), C(t, "tid", K), C(
41
41
  t,
42
42
  "clientstyling",
43
43
  /*clientstyling*/
@@ -83,7 +83,7 @@ function ae(a) {
83
83
  }
84
84
  };
85
85
  }
86
- function Be(a) {
86
+ function Me(a) {
87
87
  let e, t = (
88
88
  /*$_*/
89
89
  a[13]("noGamesAvailable") + ""
@@ -196,14 +196,14 @@ function ne(a) {
196
196
  ), s, u, i, g, h, v, E, b, c;
197
197
  return {
198
198
  c() {
199
- e = w("div"), t = w("span"), s = W(n), u = B(), i = w("ui-image"), E = B(), o(t, "class", "PlayNowButton"), Y(i.src, g = /*item*/
199
+ e = w("div"), t = w("span"), s = W(n), u = M(), i = w("ui-image"), E = M(), o(t, "class", "PlayNowButton"), Y(i.src, g = /*item*/
200
200
  a[32].thumbnail) || C(i, "src", g), C(i, "width", "132px"), C(i, "height", "100px"), C(i, "alt", h = /*item*/
201
201
  a[32].name), C(i, "title", v = /*item*/
202
202
  a[32].name), o(e, "class", "item"), o(e, "id", "g_" + /*idx*/
203
203
  a[36]), o(e, "role", "button"), o(e, "tabindex", "0");
204
204
  },
205
205
  m(_, d) {
206
- A(_, e, d), m(e, t), m(t, s), m(e, u), m(e, i), m(e, E), b || (c = J(e, "click", function() {
206
+ A(_, e, d), m(e, t), m(t, s), m(e, u), m(e, i), m(e, E), b || (c = H(e, "click", function() {
207
207
  Te(
208
208
  /*gameClicked*/
209
209
  a[15](
@@ -239,28 +239,28 @@ function Fe(a) {
239
239
  ), v, E, b, c, _, d, P = (
240
240
  /*$_*/
241
241
  a[13]("next") + ""
242
- ), y, T, f, r, k, p, M, D, z, O;
242
+ ), y, T, f, r, k, p, B, D, z, O;
243
243
  return {
244
244
  c() {
245
- e = w("div"), t = w("button"), n = R("svg"), s = R("path"), i = B(), g = w("span"), v = W(h), c = B(), _ = w("button"), d = w("span"), y = W(P), T = B(), f = R("svg"), r = R("path"), o(s, "fill", u = /*hasPreviousPage*/
245
+ e = w("div"), t = w("button"), n = R("svg"), s = R("path"), i = M(), g = w("span"), v = W(h), c = M(), _ = w("button"), d = w("span"), y = W(P), T = M(), f = R("svg"), r = R("path"), o(s, "fill", u = /*hasPreviousPage*/
246
246
  a[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(s, "class", "a"), o(s, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(s, "transform", "translate(19.246 -6.188) rotate(90)"), o(n, "xmlns", "http://www.w3.org/2000/svg"), o(n, "width", "8"), o(n, "height", "13.992"), o(n, "viewBox", "0 0 8 13.992"), o(g, "class", "TournamentsPaginationControlsText"), o(t, "class", E = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
247
247
  a[10] ? "" : "Disabled")), t.disabled = b = /*hasPreviousPage*/
248
248
  !a[10], o(d, "class", "TournamentsPaginationControlsText"), o(r, "fill", k = /*hasNextPage*/
249
249
  a[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(r, "class", "a"), o(r, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(r, "transform", "translate(-11.246 20.179) rotate(-90)"), o(f, "xmlns", "http://www.w3.org/2000/svg"), o(f, "width", "8"), o(f, "height", "13.992"), o(f, "viewBox", "0 0 8 13.992"), o(_, "class", p = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
250
- a[11] ? "" : "Disabled")), _.disabled = M = /*hasNextPage*/
250
+ a[11] ? "" : "Disabled")), _.disabled = B = /*hasNextPage*/
251
251
  !a[11], o(e, "class", D = "TournamentsPaginationControlsArea " + (!/*hasPreviousPage*/
252
252
  a[10] && !/*hasNextPage*/
253
253
  a[11] ? "SinglePage" : ""));
254
254
  },
255
255
  m(G, L) {
256
256
  A(G, e, L), m(e, t), m(t, n), m(n, s), m(t, i), m(t, g), m(g, v), m(e, c), m(e, _), m(_, d), m(d, y), m(_, T), m(_, f), m(f, r), z || (O = [
257
- J(
257
+ H(
258
258
  t,
259
259
  "click",
260
260
  /*gotoPage*/
261
261
  a[16].bind(this, -1)
262
262
  ),
263
- J(
263
+ H(
264
264
  _,
265
265
  "click",
266
266
  /*gotoPage*/
@@ -284,8 +284,8 @@ function Fe(a) {
284
284
  G[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && o(r, "fill", k), L[0] & /*hasNextPage*/
285
285
  2048 && p !== (p = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
286
286
  G[11] ? "" : "Disabled")) && o(_, "class", p), L[0] & /*hasNextPage*/
287
- 2048 && M !== (M = /*hasNextPage*/
288
- !G[11]) && (_.disabled = M), L[0] & /*hasPreviousPage, hasNextPage*/
287
+ 2048 && B !== (B = /*hasNextPage*/
288
+ !G[11]) && (_.disabled = B), L[0] & /*hasPreviousPage, hasNextPage*/
289
289
  3072 && D !== (D = "TournamentsPaginationControlsArea " + (!/*hasPreviousPage*/
290
290
  G[10] && !/*hasNextPage*/
291
291
  G[11] ? "SinglePage" : "")) && o(e, "class", D);
@@ -305,7 +305,7 @@ function se(a) {
305
305
  ), i;
306
306
  return {
307
307
  c() {
308
- e = w("li"), n = W(t), s = B(), i = W(u), o(e, "part", "li"), o(e, "class", "Market");
308
+ e = w("li"), n = W(t), s = M(), i = W(u), o(e, "part", "li"), o(e, "class", "Market");
309
309
  },
310
310
  m(g, h) {
311
311
  A(g, e, h), m(e, n), m(e, s), m(e, i);
@@ -336,7 +336,7 @@ function We(a) {
336
336
  /*isLoadingGames*/
337
337
  r[12] ? Ae : (
338
338
  /*noMoreGamesWhenPagination*/
339
- r[9] ? Se : Be
339
+ r[9] ? Se : Me
340
340
  )
341
341
  )
342
342
  );
@@ -350,7 +350,7 @@ function We(a) {
350
350
  f[r] = se(ee(a, T, r));
351
351
  return {
352
352
  c() {
353
- e = w("div"), c && c.c(), t = B(), n = w("div"), s = w("div"), u = w("div"), P.c(), i = B(), y && y.c(), h = B(), v = w("div"), E = w("ul");
353
+ e = w("div"), c && c.c(), t = M(), n = w("div"), s = w("div"), u = w("div"), P.c(), i = M(), y && y.c(), h = M(), v = w("div"), E = w("ul");
354
354
  for (let r = 0; r < f.length; r += 1)
355
355
  f[r].c();
356
356
  o(u, "class", "GameList items"), o(s, "class", g = "TabContent GamesContent " + /*activeTab*/
@@ -383,8 +383,8 @@ function We(a) {
383
383
  );
384
384
  let p;
385
385
  for (p = 0; p < T.length; p += 1) {
386
- const M = ee(r, T, p);
387
- f[p] ? f[p].p(M, k) : (f[p] = se(M), f[p].c(), f[p].m(E, null));
386
+ const B = ee(r, T, p);
387
+ f[p] ? f[p].p(B, k) : (f[p] = se(B), f[p].c(), f[p].m(E, null));
388
388
  }
389
389
  for (; p < f.length; p += 1)
390
390
  f[p].d(1);
@@ -401,7 +401,7 @@ function We(a) {
401
401
  }
402
402
  };
403
403
  }
404
- let Z = "gameTab";
404
+ let K = "gameTab";
405
405
  function Oe(a, e, t) {
406
406
  let n;
407
407
  he(a, Ee, (l) => t(13, n = l));
@@ -422,11 +422,11 @@ function Oe(a, e, t) {
422
422
  const p = () => {
423
423
  Ne(h), setTimeout(
424
424
  () => {
425
- M();
425
+ B();
426
426
  },
427
427
  10
428
428
  );
429
- }, M = () => {
429
+ }, B = () => {
430
430
  window.postMessage(
431
431
  {
432
432
  type: "TournamentsTabsLocalize",
@@ -458,7 +458,7 @@ function Oe(a, e, t) {
458
458
  },
459
459
  window.location.href
460
460
  ));
461
- }, H = () => {
461
+ }, Z = () => {
462
462
  t(8, b = c.games?.items || []), t(9, r = !1), t(10, z = !1), t(11, O = c.games?.total > c.games?.items.length), X();
463
463
  const l = c.metadata?.sports?.rules;
464
464
  if (l) {
@@ -470,19 +470,19 @@ function Oe(a, e, t) {
470
470
  console.error("Error parsing tournament rules", N);
471
471
  }
472
472
  }
473
- }, K = (l) => {
473
+ }, J = (l) => {
474
474
  if (!l.data || !l.data.type)
475
475
  return;
476
476
  const N = l.data.tid || "";
477
477
  switch (l.data.type) {
478
478
  case "TournamentsTabSwitch":
479
- N === Z && t(6, v = l.data.tab);
479
+ N === K && t(6, v = l.data.tab);
480
480
  break;
481
481
  case "TournamentsTabListenerLoaded":
482
- M();
482
+ B();
483
483
  break;
484
484
  case "TournamentsGamesUpdate":
485
- t(3, c = l.data.details), H();
485
+ t(3, c = l.data.details), Z();
486
486
  break;
487
487
  case "TournamentsLoadedMoreGames":
488
488
  f ? l.data.games?.items.length && (t(8, b = [...b, ...l.data.games.items]), X()) : (t(12, G = !1), t(8, b = [...l.data.games.items]), t(11, O = l.data.hasNextPage), t(10, z = l.data.hasPreviousPage), t(9, r = !b.length));
@@ -512,11 +512,11 @@ function Oe(a, e, t) {
512
512
  _e(() => f && T && T.disconnect()), we(() => (window.postMessage(
513
513
  {
514
514
  type: "TournamentsGamesListenerLoaded",
515
- gamesTabTid: Z
515
+ gamesTabTid: K
516
516
  },
517
517
  window.location.href
518
- ), window.addEventListener("message", K, !1), () => {
519
- window.removeEventListener("message", K);
518
+ ), window.addEventListener("message", J, !1), () => {
519
+ window.removeEventListener("message", J);
520
520
  }));
521
521
  function oe(l) {
522
522
  V[l ? "unshift" : "push"](() => {
@@ -532,7 +532,7 @@ function Oe(a, e, t) {
532
532
  "clientstyling" in l && t(0, s = l.clientstyling), "clientstylingurl" in l && t(1, u = l.clientstylingurl), "mbsource" in l && t(2, i = l.mbsource), "translationurl" in l && t(17, g = l.translationurl), "lang" in l && t(18, h = l.lang);
533
533
  }, a.$$.update = () => {
534
534
  a.$$.dirty[0] & /*tournamentdetails*/
535
- 8 && c && H(), a.$$.dirty[0] & /*lang*/
535
+ 8 && c && Z(), a.$$.dirty[0] & /*lang*/
536
536
  262144 && h && p(), a.$$.dirty[0] & /*translationurl*/
537
537
  131072 && g && k(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
538
538
  17 && s && d && Ge(d, s), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
@@ -578,7 +578,7 @@ class je extends ge {
578
578
  translationurl: 17,
579
579
  lang: 18
580
580
  },
581
- Me,
581
+ Be,
582
582
  [-1, -1]
583
583
  );
584
584
  }
@@ -1,15 +1,15 @@
1
- import { b as Z, $ as de, d as pe, S as he, t as be, D as _e, r as R, h as we, q as J, y as ee, n as F, m as me, i as o, u as W, g as m, o as v, L as z, k as ve, v as ye, z as Te, A as Ge, I as P, B as Ce, J as j, x as H, N as q, O as D, j as te, p as Pe, M as ae, w as ke, E as Ee, F as Le, G as Ne, l as Me, a as Be } from "./CasinoTournamentsPageController-BkeYysYH.js";
1
+ import { $ as K, y as de, z as pe, S as he, i as be, s as _e, f as R, a as we, G as H, n as ee, d as F, H as me, h as o, b as W, c as m, e as v, g as z, B as ve, j as ye, K as Te, o as Ge, A as P, E as Ce, k as j, l as Z, q, t as D, p as te, D as Pe, I as ae, r as ke, u as Ee, v as Le, w as Ne, x as Be, F as Me } from "./CasinoTournamentsPageController-DpQc24NO.js";
2
2
  import "../stencil/ui-image-BiEqrTjD.js";
3
3
  function Se({ withLocale: a, translations: e }) {
4
- Z.subscribe((t) => {
5
- t == null && (de.set(e), Z.set(a));
4
+ K.subscribe((t) => {
5
+ t == null && (de.set(e), K.set(a));
6
6
  });
7
7
  }
8
8
  function ne(a, e) {
9
9
  pe(a, e);
10
10
  }
11
11
  function Ae(a) {
12
- Z.set(a);
12
+ K.set(a);
13
13
  }
14
14
  const se = {
15
15
  en: {
@@ -37,7 +37,7 @@ function oe(a) {
37
37
  let e, t;
38
38
  return {
39
39
  c() {
40
- e = v("div"), t = v("casino-tournaments-tab"), P(t, "part", "TournamentGames"), P(t, "tabs", "casino,sports"), P(t, "defaulttab", "casino"), P(t, "tid", K), P(
40
+ e = v("div"), t = v("casino-tournaments-tab"), P(t, "part", "TournamentGames"), P(t, "tabs", "casino,sports"), P(t, "defaulttab", "casino"), P(t, "tid", J), P(
41
41
  t,
42
42
  "clientstyling",
43
43
  /*clientstyling*/
@@ -150,7 +150,7 @@ function je(a) {
150
150
  };
151
151
  }
152
152
  function De(a) {
153
- let e, t = J(
153
+ let e, t = H(
154
154
  /*casinoGames*/
155
155
  a[8]
156
156
  ), n = [];
@@ -170,7 +170,7 @@ function De(a) {
170
170
  p(s, r) {
171
171
  if (r[0] & /*gameClicked, casinoGames, $_*/
172
172
  41216) {
173
- t = J(
173
+ t = H(
174
174
  /*casinoGames*/
175
175
  s[8]
176
176
  );
@@ -203,7 +203,7 @@ function re(a) {
203
203
  a[36]), o(e, "role", "button"), o(e, "tabindex", "0");
204
204
  },
205
205
  m(b, d) {
206
- W(b, e, d), m(e, t), m(t, s), m(e, r), m(e, i), m(e, L), h || (c = H(e, "click", function() {
206
+ W(b, e, d), m(e, t), m(t, s), m(e, r), m(e, i), m(e, L), h || (c = Z(e, "click", function() {
207
207
  ke(
208
208
  /*gameClicked*/
209
209
  a[15](
@@ -232,14 +232,14 @@ function re(a) {
232
232
  }
233
233
  };
234
234
  }
235
- function Oe(a) {
235
+ function Ie(a) {
236
236
  let e, t, n, s, r, i, g, p = (
237
237
  /*$_*/
238
238
  a[13]("previous") + ""
239
239
  ), y, L, h, c, b, d, k = (
240
240
  /*$_*/
241
241
  a[13]("next") + ""
242
- ), T, G, f, N, S, u, C, E, B, w;
242
+ ), T, G, f, N, S, u, C, E, M, w;
243
243
  return {
244
244
  c() {
245
245
  e = v("div"), t = v("button"), n = q("svg"), s = q("path"), i = z(), g = v("span"), y = D(p), c = z(), b = v("button"), d = v("span"), T = D(k), G = z(), f = q("svg"), N = q("path"), o(s, "fill", r = /*hasPreviousPage*/
@@ -252,46 +252,46 @@ function Oe(a) {
252
252
  a[10] && !/*hasNextPage*/
253
253
  a[11] ? "SinglePage" : ""));
254
254
  },
255
- m(_, M) {
256
- W(_, e, M), m(e, t), m(t, n), m(n, s), m(t, i), m(t, g), m(g, y), m(e, c), m(e, b), m(b, d), m(d, T), m(b, G), m(b, f), m(f, N), B || (w = [
257
- H(
255
+ m(_, B) {
256
+ W(_, e, B), m(e, t), m(t, n), m(n, s), m(t, i), m(t, g), m(g, y), m(e, c), m(e, b), m(b, d), m(d, T), m(b, G), m(b, f), m(f, N), M || (w = [
257
+ Z(
258
258
  t,
259
259
  "click",
260
260
  /*gotoPage*/
261
261
  a[16].bind(this, -1)
262
262
  ),
263
- H(
263
+ Z(
264
264
  b,
265
265
  "click",
266
266
  /*gotoPage*/
267
267
  a[16].bind(this, 1)
268
268
  )
269
- ], B = !0);
269
+ ], M = !0);
270
270
  },
271
- p(_, M) {
272
- M[0] & /*hasPreviousPage*/
271
+ p(_, B) {
272
+ B[0] & /*hasPreviousPage*/
273
273
  1024 && r !== (r = /*hasPreviousPage*/
274
- _[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && o(s, "fill", r), M[0] & /*$_*/
274
+ _[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && o(s, "fill", r), B[0] & /*$_*/
275
275
  8192 && p !== (p = /*$_*/
276
- _[13]("previous") + "") && j(y, p), M[0] & /*hasPreviousPage*/
276
+ _[13]("previous") + "") && j(y, p), B[0] & /*hasPreviousPage*/
277
277
  1024 && L !== (L = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
278
- _[10] ? "" : "Disabled")) && o(t, "class", L), M[0] & /*hasPreviousPage*/
278
+ _[10] ? "" : "Disabled")) && o(t, "class", L), B[0] & /*hasPreviousPage*/
279
279
  1024 && h !== (h = /*hasPreviousPage*/
280
- !_[10]) && (t.disabled = h), M[0] & /*$_*/
280
+ !_[10]) && (t.disabled = h), B[0] & /*$_*/
281
281
  8192 && k !== (k = /*$_*/
282
- _[13]("next") + "") && j(T, k), M[0] & /*hasNextPage*/
282
+ _[13]("next") + "") && j(T, k), B[0] & /*hasNextPage*/
283
283
  2048 && S !== (S = /*hasNextPage*/
284
- _[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && o(N, "fill", S), M[0] & /*hasNextPage*/
284
+ _[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && o(N, "fill", S), B[0] & /*hasNextPage*/
285
285
  2048 && u !== (u = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
286
- _[11] ? "" : "Disabled")) && o(b, "class", u), M[0] & /*hasNextPage*/
286
+ _[11] ? "" : "Disabled")) && o(b, "class", u), B[0] & /*hasNextPage*/
287
287
  2048 && C !== (C = /*hasNextPage*/
288
- !_[11]) && (b.disabled = C), M[0] & /*hasPreviousPage, hasNextPage*/
288
+ !_[11]) && (b.disabled = C), B[0] & /*hasPreviousPage, hasNextPage*/
289
289
  3072 && E !== (E = "TournamentsPaginationControlsArea " + (!/*hasPreviousPage*/
290
290
  _[10] && !/*hasNextPage*/
291
291
  _[11] ? "SinglePage" : "")) && o(e, "class", E);
292
292
  },
293
293
  d(_) {
294
- _ && F(e), B = !1, Ce(w);
294
+ _ && F(e), M = !1, Ce(w);
295
295
  }
296
296
  };
297
297
  }
@@ -322,7 +322,7 @@ function ue(a) {
322
322
  }
323
323
  };
324
324
  }
325
- function Ie(a) {
325
+ function Oe(a) {
326
326
  var N, S;
327
327
  let e, t, n, s, r, i, g, p, y, L, h, c = (
328
328
  /*tournamentdetails*/
@@ -344,7 +344,7 @@ function Ie(a) {
344
344
  );
345
345
  }
346
346
  let d = b(a), k = d(a), T = !/*isMobileDevice*/
347
- a[14] && Oe(a), G = J(
347
+ a[14] && Ie(a), G = H(
348
348
  /*sportsRules*/
349
349
  a[7]
350
350
  ), f = [];
@@ -371,16 +371,16 @@ function Ie(a) {
371
371
  a[20](e);
372
372
  },
373
373
  p(u, C) {
374
- var E, B;
374
+ var E, M;
375
375
  if (/*tournamentdetails*/
376
376
  u[3] && /*tournamentdetails*/
377
377
  ((E = u[3].wallet) != null && E.sports) && /*tournamentdetails*/
378
- ((B = u[3].wallet) != null && B.casino) ? c ? c.p(u, C) : (c = oe(u), c.c(), c.m(e, t)) : c && (c.d(1), c = null), d === (d = b(u)) && k ? k.p(u, C) : (k.d(1), k = d(u), k && (k.c(), k.m(r, null))), /*isMobileDevice*/
378
+ ((M = u[3].wallet) != null && M.casino) ? c ? c.p(u, C) : (c = oe(u), c.c(), c.m(e, t)) : c && (c.d(1), c = null), d === (d = b(u)) && k ? k.p(u, C) : (k.d(1), k = d(u), k && (k.c(), k.m(r, null))), /*isMobileDevice*/
379
379
  u[14] || T.p(u, C), C[0] & /*activeTab*/
380
380
  64 && g !== (g = "TabContent GamesContent " + /*activeTab*/
381
381
  (u[6] != "casino" ? "hidden" : "")) && o(s, "class", g), C[0] & /*$_, sportsRules*/
382
382
  8320) {
383
- G = J(
383
+ G = H(
384
384
  /*sportsRules*/
385
385
  u[7]
386
386
  );
@@ -404,10 +404,10 @@ function Ie(a) {
404
404
  }
405
405
  };
406
406
  }
407
- let K = "gameTab";
407
+ let J = "gameTab";
408
408
  function Re(a, e, t) {
409
409
  let n;
410
- ve(a, Be, (l) => t(13, n = l));
410
+ ve(a, Me, (l) => t(13, n = l));
411
411
  let { clientstyling: s = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: i } = e, { translationurl: g } = e, { lang: p = "en" } = e, y = "casino", L = [], h = [], c, b = window.navigator.userAgent, d, k, T, G, f = ye(b), N = !1;
412
412
  Se({ withLocale: "en", translations: {} });
413
413
  const S = () => {
@@ -451,9 +451,9 @@ function Re(a, e, t) {
451
451
  window.location.href
452
452
  );
453
453
  };
454
- let B = !1, w = !1, _ = !1;
455
- const M = (l) => {
456
- !B && l === -1 || !w && l === 1 || (t(12, _ = !0), t(8, h = []), window.postMessage(
454
+ let M = !1, w = !1, _ = !1;
455
+ const B = (l) => {
456
+ !M && l === -1 || !w && l === 1 || (t(12, _ = !0), t(8, h = []), window.postMessage(
457
457
  {
458
458
  type: "TournamentsLoadMoreGames",
459
459
  id: c.id,
@@ -462,8 +462,8 @@ function Re(a, e, t) {
462
462
  window.location.href
463
463
  ));
464
464
  }, X = () => {
465
- var A, I, Y, x, $;
466
- t(8, h = ((A = c.games) == null ? void 0 : A.items) || []), t(9, N = !1), t(10, B = !1), t(11, w = ((I = c.games) == null ? void 0 : I.total) > ((Y = c.games) == null ? void 0 : Y.items.length)), V();
465
+ var A, O, Y, x, $;
466
+ t(8, h = ((A = c.games) == null ? void 0 : A.items) || []), t(9, N = !1), t(10, M = !1), t(11, w = ((O = c.games) == null ? void 0 : O.total) > ((Y = c.games) == null ? void 0 : Y.items.length)), V();
467
467
  const l = ($ = (x = c.metadata) == null ? void 0 : x.sports) == null ? void 0 : $.rules;
468
468
  if (l) {
469
469
  t(6, y = c.wallet.casino ? "casino" : "sports");
@@ -475,13 +475,13 @@ function Re(a, e, t) {
475
475
  }
476
476
  }
477
477
  }, Q = (l) => {
478
- var I;
478
+ var O;
479
479
  if (!l.data || !l.data.type)
480
480
  return;
481
481
  const A = l.data.tid || "";
482
482
  switch (l.data.type) {
483
483
  case "TournamentsTabSwitch":
484
- A === K && t(6, y = l.data.tab);
484
+ A === J && t(6, y = l.data.tab);
485
485
  break;
486
486
  case "TournamentsTabListenerLoaded":
487
487
  C();
@@ -490,18 +490,18 @@ function Re(a, e, t) {
490
490
  t(3, c = l.data.details), X();
491
491
  break;
492
492
  case "TournamentsLoadedMoreGames":
493
- f ? (I = l.data.games) != null && I.items.length && (t(8, h = [...h, ...l.data.games.items]), V()) : (t(12, _ = !1), t(8, h = [...l.data.games.items]), t(11, w = l.data.hasNextPage), t(10, B = l.data.hasPreviousPage), t(9, N = !h.length));
493
+ f ? (O = l.data.games) != null && O.items.length && (t(8, h = [...h, ...l.data.games.items]), V()) : (t(12, _ = !1), t(8, h = [...l.data.games.items]), t(11, w = l.data.hasNextPage), t(10, M = l.data.hasPreviousPage), t(9, N = !h.length));
494
494
  break;
495
495
  default:
496
496
  console.warn(`Unhandled message type: ${l.data.type}`);
497
497
  break;
498
498
  }
499
499
  };
500
- let O;
500
+ let I;
501
501
  const ce = (l) => {
502
- O = l == null ? void 0 : l.lastElementChild, !(!f || G || !l || !O) && (G = new IntersectionObserver((A) => {
503
- A.forEach((I) => {
504
- I.isIntersecting && (G.unobserve(O), window.postMessage(
502
+ I = l == null ? void 0 : l.lastElementChild, !(!f || G || !l || !I) && (G = new IntersectionObserver((A) => {
503
+ A.forEach((O) => {
504
+ O.isIntersecting && (G.unobserve(I), window.postMessage(
505
505
  {
506
506
  type: "TournamentsLoadMoreGames",
507
507
  id: c.id,
@@ -512,12 +512,12 @@ function Re(a, e, t) {
512
512
  });
513
513
  }));
514
514
  }, V = () => {
515
- !f || !O || !G || !h.length || (G.unobserve(O), O = T.lastElementChild, G.observe(O));
515
+ !f || !I || !G || !h.length || (G.unobserve(I), I = T.lastElementChild, G.observe(I));
516
516
  };
517
517
  Te(() => f && G && G.disconnect()), Ge(() => (window.postMessage(
518
518
  {
519
519
  type: "TournamentsGamesListenerLoaded",
520
- gamesTabTid: K
520
+ gamesTabTid: J
521
521
  },
522
522
  window.location.href
523
523
  ), window.addEventListener("message", Q, !1), () => {
@@ -555,13 +555,13 @@ function Re(a, e, t) {
555
555
  L,
556
556
  h,
557
557
  N,
558
- B,
558
+ M,
559
559
  w,
560
560
  _,
561
561
  n,
562
562
  f,
563
563
  E,
564
- M,
564
+ B,
565
565
  g,
566
566
  p,
567
567
  ge,
@@ -574,7 +574,7 @@ class Ue extends he {
574
574
  this,
575
575
  e,
576
576
  Re,
577
- Ie,
577
+ Oe,
578
578
  _e,
579
579
  {
580
580
  clientstyling: 0,
@@ -618,7 +618,7 @@ class Ue extends he {
618
618
  this.$$set({ lang: e }), R();
619
619
  }
620
620
  }
621
- Me(Ue, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
621
+ Be(Ue, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
622
622
  export {
623
623
  Ue as default
624
624
  };