@everymatrix/casino-lobby 1.65.2 → 1.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/components/{CasinoFavoritesSection-CKG08mvP.js → CasinoFavoritesSection-B3x9NiUP.js} +1 -1
  2. package/components/{CasinoFavoritesSection-D-UkXryn.cjs → CasinoFavoritesSection-BziW8UfM.cjs} +1 -1
  3. package/components/{CasinoFavoritesSection-DNhx0TCJ.js → CasinoFavoritesSection-Cz22fnDy.js} +1 -1
  4. package/components/{CasinoGamesCategorySection-rpR_Dlk6.js → CasinoGamesCategorySection-BF02FQVN.js} +39 -40
  5. package/components/{CasinoGamesCategorySection-CKD6dg5N.cjs → CasinoGamesCategorySection-C1dipLOo.cjs} +1 -1
  6. package/components/{CasinoGamesCategorySection-2zBxYA-B.js → CasinoGamesCategorySection-DHSIkl3p.js} +32 -33
  7. package/components/{CasinoLastPlayedSection-nLvu1XOl.js → CasinoLastPlayedSection-CKjgv62a.js} +1 -1
  8. package/components/{CasinoLastPlayedSection-r9eIV0bz.cjs → CasinoLastPlayedSection-D8_x6fml.cjs} +1 -1
  9. package/components/{CasinoLastPlayedSection-B8TsQxh7.js → CasinoLastPlayedSection-DXmPZo2N.js} +1 -1
  10. package/components/{CasinoLobby-Dq0Zd_zo.js → CasinoLobby-CR0w9HF5.js} +1 -1
  11. package/components/{CasinoLobby-CUTlLNLq.cjs → CasinoLobby-D6ri5iKR.cjs} +1 -1
  12. package/components/{CasinoLobby-em3qGb9e.js → CasinoLobby-DLeoqzyL.js} +1 -1
  13. package/components/{CasinoMostPlayedSection-B3_v0VjE.js → CasinoMostPlayedSection-3qYIetBN.js} +1 -1
  14. package/components/{CasinoMostPlayedSection-DHJlSbiK.js → CasinoMostPlayedSection-KqAzSNLv.js} +1 -1
  15. package/components/{CasinoMostPlayedSection-CYbsPd70.cjs → CasinoMostPlayedSection-ZarCDT3w.cjs} +1 -1
  16. package/components/{CasinoMyGames-BYorv67w.cjs → CasinoMyGames-Cga8BG6f.cjs} +1 -1
  17. package/components/{CasinoMyGames-eMDesVa1.js → CasinoMyGames-DYlnifZX.js} +3 -3
  18. package/components/{CasinoMyGames-Q6tW8LIZ.js → CasinoMyGames-Dg2LCngZ.js} +3 -3
  19. package/components/{CasinoPage-KQBGS5al.cjs → CasinoPage-BSujpR0c.cjs} +1 -1
  20. package/components/{CasinoPage-CW3QiTN3.js → CasinoPage-BTIq9Kbn.js} +29 -29
  21. package/components/{CasinoPage-EZ6VIuIu.js → CasinoPage-Dl3mfl3Y.js} +29 -29
  22. package/components/{CasinoSearch-8z57Xz_K.js → CasinoSearch-CI57P0Ir.js} +1 -1
  23. package/components/{CasinoSearch-DUQJhn3X.cjs → CasinoSearch-DEPsOgQ7.cjs} +1 -1
  24. package/components/{CasinoSearch-CPihxFbt.js → CasinoSearch-DgjdsVsw.js} +1 -1
  25. package/es2015/casino-lobby.cjs +1 -1
  26. package/es2015/casino-lobby.js +1 -1
  27. package/esnext/casino-lobby.js +1 -1
  28. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { a as Oa, $ as Ha, S as Ba, i as Va, s as qa, f as M, b as Wa, n as _e, d as y, h as S, j as G, r as d, k as Ya, W as Ja, o as Ka, X as Ne, C as oe, U as X, p as k, B as W, l as pe, M as Xa, m as D, q as T, v as se, Y as _a, Z as pa, E as t, w as Za, A as Qa, F as $, H as xa, I as $a, J as ei, K as ai, L as ii } from "./CasinoCalendar-D4LpPl-1.js";
2
- import { h as Ie } from "./CasinoGameThumbnail-DOvhLlXz.js";
1
+ import { a as Oa, $ as Ha, S as Ba, i as Va, s as qa, f as M, b as Wa, n as _e, d as y, h as S, j as G, r as d, k as Ya, W as Ja, o as Ka, X as Ee, C as oe, U as X, p as k, B as W, l as pe, M as Xa, m as D, q as T, v as se, Y as _a, Z as pa, E as t, w as Za, A as Qa, F as $, H as xa, I as $a, J as ei, K as ai, L as ii } from "./CasinoCalendar-D4LpPl-1.js";
2
+ import { h as Ne } from "./CasinoGameThumbnail-DOvhLlXz.js";
3
3
  if (typeof window < "u") {
4
4
  let i = function(e) {
5
5
  return function(...a) {
@@ -2505,7 +2505,7 @@ let ji = 0;
2505
2505
  function Ri(i, e, a) {
2506
2506
  let n;
2507
2507
  Ya(i, ii, (l) => a(43, n = l));
2508
- let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: F = "" } = e, { currency: E = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: ne = "true" } = e, { integratedgameframedesktop: U = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: H = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: be = "false" } = e, { filterbylogo: Ye = "" } = e, { casinogamesgridslider: Je = "false" } = e, { fetchviaevent: le = "false" } = e, { showallpage: je = "casino" } = e, { actionevent: Re = "CategoryChange" } = e, { displayedgamecount: we = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { mbsource: Ae } = e, { lobbyscreen: ye = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: Le = "10" } = e, Z = !0, Te = !1, Fe, Ge, Y = !0, Ke = window.navigator.userAgent, L, z = [], Q = !0, ae = 40, J = !1, Ce = !1, re = !1, Pe = !1, De = !0, me = !1, ue, Ue, ce, fe = !1, V, Me = !1, ge = new Array(1e4), de = {}, Oe = "", ie = "", ze, He, R, O = [], Ee = new AbortController(), te = { items: [], count: 0, name: "" };
2508
+ let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: F = "" } = e, { currency: E = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: ne = "true" } = e, { integratedgameframedesktop: U = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: H = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: be = "false" } = e, { filterbylogo: Ye = "" } = e, { casinogamesgridslider: Je = "false" } = e, { fetchviaevent: le = "false" } = e, { showallpage: Ie = "casino" } = e, { actionevent: je = "CategoryChange" } = e, { displayedgamecount: we = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { mbsource: Re } = e, { lobbyscreen: Ae = "true" } = e, { usesinglevendorfilter: ye = "false" } = e, { visiblegames: Le = "10" } = e, Z = !0, Te = !1, Se, Fe, Y = !0, Ke = window.navigator.userAgent, L, z = [], Q = !0, ae = 40, J = !1, Ge = !1, re = !1, Pe = !1, De = !0, me = !1, ue, Ue, ce, fe = !1, V, Ce = !1, ge = new Array(1e4), de = {}, Oe = "", ie = "", Me, He, R, O = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
2509
2509
  const va = () => {
2510
2510
  fetch(F).then((_) => _.json()).then((_) => {
2511
2511
  Object.keys(_).forEach((w) => {
@@ -2517,7 +2517,7 @@ function Ri(i, e, a) {
2517
2517
  };
2518
2518
  Object.keys(ea).forEach((l) => {
2519
2519
  $e(l, ea[l]);
2520
- }), typeof document.hidden < "u" ? ze = "hidden" : typeof document.msHidden < "u" ? ze = "msHidden" : typeof document.webkitHidden < "u" && (ze = "webkitHidden");
2520
+ }), typeof document.hidden < "u" ? Me = "hidden" : typeof document.msHidden < "u" ? Me = "msHidden" : typeof document.webkitHidden < "u" && (Me = "webkitHidden");
2521
2521
  let Xe = new IntersectionObserver((l) => {
2522
2522
  l.forEach(async (_) => {
2523
2523
  let w = _.target.gameid, N = _.target.elems_index;
@@ -2537,7 +2537,7 @@ function Ri(i, e, a) {
2537
2537
  C.items.forEach((B) => {
2538
2538
  B.gameModel && (R.push(B), O.includes(B.id) || O.push(B.id));
2539
2539
  });
2540
- const A = Ne(R)?.length;
2540
+ const A = Ee(R)?.length;
2541
2541
  window.postMessage({
2542
2542
  type: "UpdateFavoritesCount",
2543
2543
  favoriteGamesLength: A
@@ -2564,7 +2564,7 @@ function Ri(i, e, a) {
2564
2564
  C.items?.forEach((A) => {
2565
2565
  A.gameModel && (R.push(A), O.includes(A.id) || O.push(A.id));
2566
2566
  });
2567
- const K = Ne(R)?.length;
2567
+ const K = Ee(R)?.length;
2568
2568
  window.postMessage({
2569
2569
  type: "UpdateFavoritesCount",
2570
2570
  favoriteGamesLength: K
@@ -2578,14 +2578,14 @@ function Ri(i, e, a) {
2578
2578
  } else
2579
2579
  w([]);
2580
2580
  }), Ze = (l, _, w, N) => {
2581
- Ee && Ee.abort(), Ee = new AbortController();
2582
- const j = Ee.signal;
2581
+ ze && ze.abort(), ze = new AbortController();
2582
+ const j = ze.signal;
2583
2583
  a(25, Z = !0);
2584
2584
  let I = "", C = "", K = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), A = JSON.parse(localStorage.getItem("vendorSortingBy"));
2585
- const B = Se === "true" ? "*" : l;
2585
+ const B = ye === "true" ? "*" : l;
2586
2586
  return (l.match(/\$/g) || []).length > 1 ? (I = l.split("$").slice(0, 2).join("$"), C = new URL(`${o}/v1/casino/groups/${s}/${I}/subGroups`)) : C = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((Da, Ua) => {
2587
2587
  if (C.searchParams.delete("pagination"), C.searchParams.append("expand", "games(vendor)"), C.searchParams.append("fields", "id,name,games"), C.searchParams.append("platform", Xa(Ke)), C.searchParams.append("pagination", `games(offset=${_},limit=${w})`), C.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), K && K[B]?.length)
2588
- if (Se === "true" || Y === !1 && fe === !1) {
2588
+ if (ye === "true" || Y === !1 && fe === !1) {
2589
2589
  let P = "";
2590
2590
  a(34, Pe = !0), K[B].forEach((x) => {
2591
2591
  P = P + (P ? `,games(vendor(id=${x}))` : `games(vendor(id=${x}))`);
@@ -2617,7 +2617,7 @@ function Ri(i, e, a) {
2617
2617
  const l = V.getRootNode().host;
2618
2618
  l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
2619
2619
  }, ka = (l, _, w) => {
2620
- l !== "" && (a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, re = !1), Me = !1, a(30, Q = +_ > +w), he(l, 0, +_).then((N) => {
2620
+ l !== "" && (a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, re = !1), Ce = !1, a(30, Q = +_ > +w), he(l, 0, +_).then((N) => {
2621
2621
  a(28, L = N), a(29, z = L.games.items), z && z.forEach((j) => {
2622
2622
  j.isFavorite = q(j.id);
2623
2623
  });
@@ -2648,20 +2648,20 @@ function Ri(i, e, a) {
2648
2648
  })), a(25, Z = !1);
2649
2649
  break;
2650
2650
  case "RecentSearchData":
2651
- a(31, J = !0), a(32, Ce = !0), l.data.searchData.length > 0 ? (a(29, z = l.data.searchData), a(35, De = !0), z && z.forEach((_) => {
2651
+ a(31, J = !0), a(32, Ge = !0), l.data.searchData.length > 0 ? (a(29, z = l.data.searchData), a(35, De = !0), z && z.forEach((_) => {
2652
2652
  _.isFavorite = q(_.id);
2653
2653
  })) : (a(29, z = []), a(35, De = !1));
2654
2654
  break;
2655
2655
  case "OutOfRecentSearches":
2656
- a(31, J = !1), a(32, Ce = !1);
2656
+ a(31, J = !1), a(32, Ge = !1);
2657
2657
  break;
2658
2658
  case "SearchData":
2659
- a(31, J = !0), a(32, Ce = !1), a(29, z = l.data.searchData.items || []), a(33, re = !0), l.data.receivedFavoriteResults && (R = l.data.receivedFavoriteResults.items), z && z.forEach((_) => {
2659
+ a(31, J = !0), a(32, Ge = !1), a(29, z = l.data.searchData.items || []), a(33, re = !0), l.data.receivedFavoriteResults && (R = l.data.receivedFavoriteResults.items), z && z.forEach((_) => {
2660
2660
  _.isFavorite = q(_.id);
2661
2661
  });
2662
2662
  break;
2663
2663
  case `CategoryData_${v}`:
2664
- a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, re = !1), Me = !1, he(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
2664
+ a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, re = !1), Ce = !1, he(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
2665
2665
  a(28, L = _), a(29, z = L.games.items), a(30, Q = !!(Ue <= l.data.visiblegames && Y)), z && z.forEach((w) => {
2666
2666
  w.isFavorite = q(w.id);
2667
2667
  });
@@ -2685,14 +2685,14 @@ function Ri(i, e, a) {
2685
2685
  Sa(`${o}/v1/player/${u}/favorites`, m, l.data.id);
2686
2686
  break;
2687
2687
  case "UserSessionID":
2688
- Fe = l.data.session, Ge = l.data.userID, f == "true" && Ge && Ge.length && Fe && Fe.length > 0 && Be(Fe, Ge);
2688
+ Se = l.data.session, Fe = l.data.userID, f == "true" && Fe && Fe.length && Se && Se.length > 0 && Be(Se, Fe);
2689
2689
  break;
2690
2690
  case "UpdateFavoredList":
2691
2691
  v === "FAVORITES" && qe(l.data.url, l.data.sessionID);
2692
2692
  break;
2693
2693
  }
2694
2694
  }, Qe = (l) => {
2695
- a(31, J = !1), a(27, Y = ye === "true"), a(33, re = !1), Me = !0, a(36, me = !1), a(0, v = l), v !== "MOSTPLAYED" && a(30, Q = !1), H !== "true" && (!R && m && Be(m, u), he(v, 0, ae).then((_) => {
2695
+ a(31, J = !1), a(27, Y = Ae === "true"), a(33, re = !1), Ce = !0, a(36, me = !1), a(0, v = l), v !== "MOSTPLAYED" && a(30, Q = !1), H !== "true" && (!R && m && Be(m, u), he(v, 0, ae).then((_) => {
2696
2696
  a(28, L = _), L?.games?.items.forEach((w) => {
2697
2697
  w.isFavorite = q(w.id);
2698
2698
  }), a(29, z = L?.games.items);
@@ -2759,7 +2759,7 @@ function Ri(i, e, a) {
2759
2759
  }), ya()) : R.forEach((I) => {
2760
2760
  I.isFavorite = q(I.id);
2761
2761
  });
2762
- const j = Ne(R)?.length;
2762
+ const j = Ee(R)?.length;
2763
2763
  v === "FAVORITES" && (window.postMessage({
2764
2764
  type: "UpdateFavoritesCount",
2765
2765
  favoriteGamesLength: j
@@ -2772,7 +2772,7 @@ function Ri(i, e, a) {
2772
2772
  let _;
2773
2773
  _ = l?.items || l || [], _.length > 0 && _.forEach((w) => {
2774
2774
  w.gameModel && (w.gameModel.isFavorite = !0);
2775
- }), a(42, te.items = Ne(_, te.items), te), a(42, te.name = "Favorites", te), a(25, Z = !1);
2775
+ }), a(42, te.items = Ee(_, te.items), te), a(42, te.name = "Favorites", te), a(25, Z = !1);
2776
2776
  }, Ga = (l) => {
2777
2777
  ae += 1, a(36, me = !0), ae <= Ue && he(l, ji, ae).then((_) => {
2778
2778
  a(28, L = _), L.games.items.length > z.length && (a(29, z = L.games.items), z.forEach((w) => {
@@ -2787,14 +2787,14 @@ function Ri(i, e, a) {
2787
2787
  const I = new Date(Date.now());
2788
2788
  return _.forEach((C, K) => {
2789
2789
  const A = new Date(C.schedules[0].startTime), B = new Date(C.schedules[0].endTime);
2790
- Ie(B).diff(I) < N && (N = Ie(B).diff(I), j = K), Ie(I).isAfter(A) && Ie(I).isBefore(B) && (w = _[j].name);
2790
+ Ne(B).diff(I) < N && (N = Ne(B).diff(I), j = K), Ne(I).isAfter(A) && Ne(I).isBefore(B) && (w = _[j].name);
2791
2791
  }), w;
2792
2792
  }, xe = (l) => {
2793
2793
  a(30, Q = !1), window.postMessage(
2794
2794
  {
2795
- type: `${Re}`,
2795
+ type: `${je}`,
2796
2796
  itemId: l,
2797
- showallpage: je
2797
+ showallpage: Ie
2798
2798
  },
2799
2799
  window.location.href
2800
2800
  );
@@ -2814,9 +2814,9 @@ function Ri(i, e, a) {
2814
2814
  break;
2815
2815
  }
2816
2816
  }, za = () => {
2817
- document[ze] ? a(41, Oe = "disconnect") : a(41, Oe = "connect");
2817
+ document[Me] ? a(41, Oe = "disconnect") : a(41, Oe = "connect");
2818
2818
  }, Ea = () => {
2819
- Me && ge.forEach((l, _) => {
2819
+ Ce && ge.forEach((l, _) => {
2820
2820
  l && (l.elems_index = _, Xe.observe(l));
2821
2821
  });
2822
2822
  }, Na = () => {
@@ -2859,7 +2859,7 @@ function Ri(i, e, a) {
2859
2859
  });
2860
2860
  }
2861
2861
  return i.$$set = (l) => {
2862
- "endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, u = l.userid), "favorites" in l && a(8, f = l.favorites), "clientstyling" in l && a(9, h = l.clientstyling), "clientstylingurl" in l && a(10, p = l.clientstylingurl), "translationurl" in l && a(11, F = l.translationurl), "currency" in l && a(12, E = l.currency), "categoryid" in l && a(0, v = l.categoryid), "showgamename" in l && a(13, g = l.showgamename), "livecasino" in l && a(14, c = l.livecasino), "gamepagemodalurl" in l && a(15, ne = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, U = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, H = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, be = l.addsortingselector), "filterbylogo" in l && a(19, Ye = l.filterbylogo), "casinogamesgridslider" in l && a(20, Je = l.casinogamesgridslider), "fetchviaevent" in l && a(47, le = l.fetchviaevent), "showallpage" in l && a(48, je = l.showallpage), "actionevent" in l && a(49, Re = l.actionevent), "displayedgamecount" in l && a(50, we = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ke = l.showallbuttongamescount), "mbsource" in l && a(21, Ae = l.mbsource), "lobbyscreen" in l && a(52, ye = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Se = l.usesinglevendorfilter), "visiblegames" in l && a(53, Le = l.visiblegames);
2862
+ "endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, u = l.userid), "favorites" in l && a(8, f = l.favorites), "clientstyling" in l && a(9, h = l.clientstyling), "clientstylingurl" in l && a(10, p = l.clientstylingurl), "translationurl" in l && a(11, F = l.translationurl), "currency" in l && a(12, E = l.currency), "categoryid" in l && a(0, v = l.categoryid), "showgamename" in l && a(13, g = l.showgamename), "livecasino" in l && a(14, c = l.livecasino), "gamepagemodalurl" in l && a(15, ne = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, U = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, H = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, be = l.addsortingselector), "filterbylogo" in l && a(19, Ye = l.filterbylogo), "casinogamesgridslider" in l && a(20, Je = l.casinogamesgridslider), "fetchviaevent" in l && a(47, le = l.fetchviaevent), "showallpage" in l && a(48, Ie = l.showallpage), "actionevent" in l && a(49, je = l.actionevent), "displayedgamecount" in l && a(50, we = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ke = l.showallbuttongamescount), "mbsource" in l && a(21, Re = l.mbsource), "lobbyscreen" in l && a(52, Ae = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, ye = l.usesinglevendorfilter), "visiblegames" in l && a(53, Le = l.visiblegames);
2863
2863
  }, i.$$.update = () => {
2864
2864
  i.$$.dirty[0] & /*lang*/
2865
2865
  32 && r && Na(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
@@ -2868,12 +2868,11 @@ function Ri(i, e, a) {
2868
2868
  456 && f === "true" && o && m && u && Be(m, u), i.$$.dirty[0] & /*thumbnailContainer*/
2869
2869
  16777216 | i.$$.dirty[1] & /*dataloaded*/
2870
2870
  8388608 && He && ge && Ea(), i.$$.dirty[0] & /*lang, categoryid*/
2871
- 33 | i.$$.dirty[1] & /*lobbyscreen*/
2872
- 2097152 && ye && r && v && Ma(), i.$$.dirty[0] & /*translationurl*/
2871
+ 33 && r && v && Ma(), i.$$.dirty[0] & /*translationurl*/
2873
2872
  2048 && F && va(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2874
2873
  8389120 && h && V && xa(V, h), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2875
2874
  8389632 && p && V && $a(V, p), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
2876
- 10485760 && V && ei(V, `${Ae}.Style`);
2875
+ 10485760 && V && ei(V, `${Re}.Style`);
2877
2876
  }, [
2878
2877
  v,
2879
2878
  ve,
@@ -2896,8 +2895,8 @@ function Ri(i, e, a) {
2896
2895
  H,
2897
2896
  Ye,
2898
2897
  Je,
2899
- Ae,
2900
- Se,
2898
+ Re,
2899
+ ye,
2901
2900
  V,
2902
2901
  ge,
2903
2902
  Z,
@@ -2907,7 +2906,7 @@ function Ri(i, e, a) {
2907
2906
  z,
2908
2907
  Q,
2909
2908
  J,
2910
- Ce,
2909
+ Ge,
2911
2910
  re,
2912
2911
  Pe,
2913
2912
  De,
@@ -2923,11 +2922,11 @@ function Ri(i, e, a) {
2923
2922
  Ca,
2924
2923
  xe,
2925
2924
  le,
2925
+ Ie,
2926
2926
  je,
2927
- Re,
2928
2927
  we,
2929
2928
  ke,
2930
- ye,
2929
+ Ae,
2931
2930
  Le,
2932
2931
  He,
2933
2932
  Ia,
@@ -1,5 +1,5 @@
1
1
  import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, M as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-BF8mewVC.js";
2
- import "./CasinoFavoritesSection-CKG08mvP.js";
2
+ import "./CasinoFavoritesSection-B3x9NiUP.js";
3
3
  function K(s, e) {
4
4
  ee(s, e);
5
5
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DglR4hXB.cjs");require("./CasinoFavoritesSection-D-UkXryn.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DglR4hXB.cjs");require("./CasinoFavoritesSection-BziW8UfM.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[14]),t.set_custom_element_data(e,"fetchviaevent",n[16]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[17]),t.set_custom_element_data(e,"showgamename",n[12]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"livecasino",n[8]),t.set_custom_element_data(e,"visiblegames",n[13]),t.set_custom_element_data(e,"gamepagemodalurl",n[11]),t.set_custom_element_data(e,"integratedgameframedesktop",n[10]),t.set_custom_element_data(e,"integratedgameframemobile",n[9]),t.set_custom_element_data(e,"casinomygames",n[15])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),i[0]&65536&&t.set_custom_element_data(e,"fetchviaevent",a[16]),i[0]&131072&&t.set_custom_element_data(e,"mbsource",a[17]),i[0]&4096&&t.set_custom_element_data(e,"showgamename",a[12]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),i[0]&8192&&t.set_custom_element_data(e,"visiblegames",a[13]),i[0]&2048&&t.set_custom_element_data(e,"gamepagemodalurl",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",a[10]),i[0]&512&&t.set_custom_element_data(e,"integratedgameframemobile",a[9]),i[0]&32768&&t.set_custom_element_data(e,"casinomygames",a[15])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",j),r.searchParams.append("limit",C),r.searchParams.append("order",L),r.searchParams.append("period",P),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=v?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{w=r.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(19,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(21,b=s.translationurl),"livecasino"in s&&a(8,v=s.livecasino),"integratedgameframemobile"in s&&a(9,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(10,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(11,M=s.gamepagemodalurl),"showgamename"in s&&a(12,D=s.showgamename),"visiblegames"in s&&a(13,k=s.visiblegames),"favorites"in s&&a(14,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(15,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(16,F=s.fetchviaevent),"mbsource"in s&&a(17,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&b&&J(),n.$$.dirty[0]&262208&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&262272&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&393216&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,v,R,A,M,D,k,E,S,F,q,g,N,i,b,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:21,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:15,lastplayedunique:25,fetchviaevent:16,mbsource:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
@@ -1,5 +1,5 @@
1
1
  import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as L, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, M as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-D4LpPl-1.js";
2
- import "./CasinoFavoritesSection-DNhx0TCJ.js";
2
+ import "./CasinoFavoritesSection-Cz22fnDy.js";
3
3
  function K(s, e) {
4
4
  ee(s, e);
5
5
  }
@@ -35,7 +35,7 @@ if (typeof window != "undefined") {
35
35
  }
36
36
  };
37
37
  };
38
- customElements.define = a(customElements.define), import("./CasinoPage-EZ6VIuIu.js").then(({ default: e }) => {
38
+ customElements.define = a(customElements.define), import("./CasinoPage-Dl3mfl3Y.js").then(({ default: e }) => {
39
39
  !customElements.get("casino-page") && customElements.define("casino-page", e.element);
40
40
  });
41
41
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DglR4hXB.cjs");function lt({withLocale:n,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function Ze(n){e.$locale.set(n)}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(u){if(u instanceof DOMException&&u.message.includes("has already been used with this registry")||u.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw u}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoCategoriesSlider--HeFAg7z.cjs")).then(({default:t})=>{!customElements.get("casino-categories-slider")&&customElements.define("casino-categories-slider",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(u){if(u instanceof DOMException&&u.message.includes("has already been used with this registry")||u.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw u}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoPage-KQBGS5al.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",t.element)})}function ot(n){e.append_styles(n,"svelte-slcdf8","*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}")}const mt=n=>({}),pe=n=>({});function ct(n){let t,i,u,d,g,f,c,r,a,h,o;const y=n[94].content,_=e.create_slot(y,n,n[93],pe);return{c(){t=e.element("div"),i=e.element("div"),u=e.element("div"),d=e.space(),g=e.element("div"),f=e.space(),c=e.element("casino-categories-slider"),r=e.space(),a=e.element("casino-page"),h=e.element("div"),_&&_.c(),e.attr(u,"class","HeaderPlaceholder"),e.set_style(u,"height",n[85]+"px"),e.attr(g,"class","ScrollTop"),e.set_custom_element_data(c,"endpoint",n[78]),e.set_custom_element_data(c,"datasource",n[79]),e.set_custom_element_data(c,"lang",n[80]),e.set_custom_element_data(c,"session",n[83]),e.set_custom_element_data(c,"userid",n[4]),e.set_custom_element_data(c,"sessioncheck","false"),e.set_custom_element_data(c,"actionevent",n[13]),e.set_custom_element_data(c,"filteredcategories",n[8]),e.set_custom_element_data(c,"mostplayed",n[58]),e.set_custom_element_data(c,"lastplayed",n[60]),e.set_custom_element_data(c,"favorites",n[11]),e.set_custom_element_data(c,"activecategory",n[1]),e.set_custom_element_data(c,"translationurl",n[10]),e.set_custom_element_data(c,"clientstyling",n[5]),e.set_custom_element_data(c,"clientstylingurl",n[6]),e.set_custom_element_data(c,"location","secondaryMenu"),e.set_custom_element_data(c,"showsubgroups",n[46]),e.set_custom_element_data(c,"categoriesicon",n[23]),e.set_custom_element_data(c,"lobbyiconimage",n[24]),e.set_custom_element_data(c,"mygamesiconimage",n[25]),e.set_custom_element_data(c,"mbsource",n[72]),e.attr(h,"slot","je-jackpots-widget"),e.set_custom_element_data(a,"session",n[83]),e.set_custom_element_data(a,"userid",n[4]),e.set_custom_element_data(a,"endpoint",n[78]),e.set_custom_element_data(a,"datasource",n[79]),e.set_custom_element_data(a,"lang",n[80]),e.set_custom_element_data(a,"mbsource",n[72]),e.set_custom_element_data(a,"showgamename",n[15]),e.set_custom_element_data(a,"cmsendpoint",n[2]),e.set_custom_element_data(a,"env",n[3]),e.set_custom_element_data(a,"translationurl",n[10]),e.set_custom_element_data(a,"visiblegames",n[18]),e.set_custom_element_data(a,"playrandomgame",n[16]),e.set_custom_element_data(a,"randomgameslider",n[17]),e.set_custom_element_data(a,"specificcategory",n[61]),e.set_custom_element_data(a,"launchbygamecard",n[62]),e.set_custom_element_data(a,"iconvisible",n[63]),e.set_custom_element_data(a,"iconvisibleonanim",n[64]),e.set_custom_element_data(a,"activecategory",n[1]),e.set_custom_element_data(a,"favorites",n[11]),e.set_custom_element_data(a,"clientstyling",n[5]),e.set_custom_element_data(a,"clientstylingurl",n[6]),e.set_custom_element_data(a,"lobbyid",n[7]),e.set_custom_element_data(a,"haspanicbutton",n[12]),e.set_custom_element_data(a,"livecasino",n[14]),e.set_custom_element_data(a,"currency",n[0]),e.set_custom_element_data(a,"filteredcategories",n[8]),e.set_custom_element_data(a,"gamepagemodalurl",n[21]),e.set_custom_element_data(a,"randombuttonicon",n[66]),e.set_custom_element_data(a,"positioncasinocalendar",n[52]),e.set_custom_element_data(a,"filteredrandomgamecategories",n[67]),e.set_custom_element_data(a,"positionwinnerswidget",n[26]),e.set_custom_element_data(a,"periodrecent",n[31]),e.set_custom_element_data(a,"periodtop",n[32]),e.set_custom_element_data(a,"userroles",n[9]),e.set_custom_element_data(a,"numberusersrecent",n[33]),e.set_custom_element_data(a,"numberuserstop",n[34]),e.set_custom_element_data(a,"amountlimit",n[35]),e.set_custom_element_data(a,"isrecentavailable",n[30]),e.set_custom_element_data(a,"istopavailable",n[29]),e.set_custom_element_data(a,"integratedgameframedesktop",n[19]),e.set_custom_element_data(a,"integratedgameframemobile",n[20]),e.set_custom_element_data(a,"defaultcurrency",n[36]),e.set_custom_element_data(a,"enableautoscroll",n[28]),e.set_custom_element_data(a,"collectionprovidersgamenames",n[51]),e.set_custom_element_data(a,"tabsorder",n[27]),e.set_custom_element_data(a,"positionjackpotbanners",n[37]),e.set_custom_element_data(a,"backgroundsrc",n[42]),e.set_custom_element_data(a,"backgroundsrcmobile",n[43]),e.set_custom_element_data(a,"titlelogopath",n[44]),e.set_custom_element_data(a,"caticon0",n[38]),e.set_custom_element_data(a,"caticon1",n[39]),e.set_custom_element_data(a,"caticon2",n[40]),e.set_custom_element_data(a,"caticon3",n[41]),e.set_custom_element_data(a,"iconlabels",n[45]),e.set_custom_element_data(a,"positioncollections",n[48]),e.set_custom_element_data(a,"type",n[49]),e.set_custom_element_data(a,"titletype",n[50]),e.set_custom_element_data(a,"casinomygames",_t),e.set_custom_element_data(a,"filterbylogo",n[70]),e.set_custom_element_data(a,"addfilterselector",n[68]),e.set_custom_element_data(a,"addsortingselector",n[69]),e.set_custom_element_data(a,"lastplayedunique",n[57]),e.set_custom_element_data(a,"lastplayedlimit",n[56]),e.set_custom_element_data(a,"lastplayedorder",n[55]),e.set_custom_element_data(a,"mostplayedrounds",n[59]),e.set_custom_element_data(a,"mostplayed",n[58]),e.set_custom_element_data(a,"lastplayed",n[60]),e.set_custom_element_data(a,"lastplayedperiod",n[53]),e.set_custom_element_data(a,"mostplayedperiod",n[54]),e.set_custom_element_data(a,"showsubgroups",n[46]),e.set_custom_element_data(a,"winnersdatasources",n[71]),e.set_custom_element_data(a,"casinogamesgridslider",n[22]),e.set_custom_element_data(a,"positionjelobbywidget",n[65]),e.set_custom_element_data(a,"realtimeupdate",n[47]),e.set_custom_element_data(a,"showmoresections",n[73]),e.set_custom_element_data(a,"categorieslimit",n[74]),e.set_custom_element_data(a,"usesinglevendorfilter",n[75]),e.set_custom_element_data(a,"currencylocale",n[76]),e.attr(i,"class","WidgetsSection"),e.attr(t,"class","CasinoLobby")},m(l,m){e.insert(l,t,m),e.append(t,i),e.append(i,u),e.append(i,d),e.append(i,g),e.append(i,f),e.append(i,c),n[95](c),e.append(i,r),e.append(i,a),e.append(a,h),_&&_.m(h,null),o=!0},p(l,m){(!o||m[2]&8388608)&&e.set_style(u,"height",l[85]+"px"),(!o||m[2]&65536)&&e.set_custom_element_data(c,"endpoint",l[78]),(!o||m[2]&131072)&&e.set_custom_element_data(c,"datasource",l[79]),(!o||m[2]&262144)&&e.set_custom_element_data(c,"lang",l[80]),(!o||m[2]&2097152)&&e.set_custom_element_data(c,"session",l[83]),(!o||m[0]&16)&&e.set_custom_element_data(c,"userid",l[4]),(!o||m[0]&8192)&&e.set_custom_element_data(c,"actionevent",l[13]),(!o||m[0]&256)&&e.set_custom_element_data(c,"filteredcategories",l[8]),(!o||m[1]&134217728)&&e.set_custom_element_data(c,"mostplayed",l[58]),(!o||m[1]&536870912)&&e.set_custom_element_data(c,"lastplayed",l[60]),(!o||m[0]&2048)&&e.set_custom_element_data(c,"favorites",l[11]),(!o||m[0]&2)&&e.set_custom_element_data(c,"activecategory",l[1]),(!o||m[0]&1024)&&e.set_custom_element_data(c,"translationurl",l[10]),(!o||m[0]&32)&&e.set_custom_element_data(c,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(c,"clientstylingurl",l[6]),(!o||m[1]&32768)&&e.set_custom_element_data(c,"showsubgroups",l[46]),(!o||m[0]&8388608)&&e.set_custom_element_data(c,"categoriesicon",l[23]),(!o||m[0]&16777216)&&e.set_custom_element_data(c,"lobbyiconimage",l[24]),(!o||m[0]&33554432)&&e.set_custom_element_data(c,"mygamesiconimage",l[25]),(!o||m[2]&1024)&&e.set_custom_element_data(c,"mbsource",l[72]),_&&_.p&&(!o||m[3]&1)&&e.update_slot_base(_,y,l,l[93],o?e.get_slot_changes(y,l[93],m,mt):e.get_all_dirty_from_scope(l[93]),pe),(!o||m[2]&2097152)&&e.set_custom_element_data(a,"session",l[83]),(!o||m[0]&16)&&e.set_custom_element_data(a,"userid",l[4]),(!o||m[2]&65536)&&e.set_custom_element_data(a,"endpoint",l[78]),(!o||m[2]&131072)&&e.set_custom_element_data(a,"datasource",l[79]),(!o||m[2]&262144)&&e.set_custom_element_data(a,"lang",l[80]),(!o||m[2]&1024)&&e.set_custom_element_data(a,"mbsource",l[72]),(!o||m[0]&32768)&&e.set_custom_element_data(a,"showgamename",l[15]),(!o||m[0]&4)&&e.set_custom_element_data(a,"cmsendpoint",l[2]),(!o||m[0]&8)&&e.set_custom_element_data(a,"env",l[3]),(!o||m[0]&1024)&&e.set_custom_element_data(a,"translationurl",l[10]),(!o||m[0]&262144)&&e.set_custom_element_data(a,"visiblegames",l[18]),(!o||m[0]&65536)&&e.set_custom_element_data(a,"playrandomgame",l[16]),(!o||m[0]&131072)&&e.set_custom_element_data(a,"randomgameslider",l[17]),(!o||m[1]&1073741824)&&e.set_custom_element_data(a,"specificcategory",l[61]),(!o||m[2]&1)&&e.set_custom_element_data(a,"launchbygamecard",l[62]),(!o||m[2]&2)&&e.set_custom_element_data(a,"iconvisible",l[63]),(!o||m[2]&4)&&e.set_custom_element_data(a,"iconvisibleonanim",l[64]),(!o||m[0]&2)&&e.set_custom_element_data(a,"activecategory",l[1]),(!o||m[0]&2048)&&e.set_custom_element_data(a,"favorites",l[11]),(!o||m[0]&32)&&e.set_custom_element_data(a,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(a,"clientstylingurl",l[6]),(!o||m[0]&128)&&e.set_custom_element_data(a,"lobbyid",l[7]),(!o||m[0]&4096)&&e.set_custom_element_data(a,"haspanicbutton",l[12]),(!o||m[0]&16384)&&e.set_custom_element_data(a,"livecasino",l[14]),(!o||m[0]&1)&&e.set_custom_element_data(a,"currency",l[0]),(!o||m[0]&256)&&e.set_custom_element_data(a,"filteredcategories",l[8]),(!o||m[0]&2097152)&&e.set_custom_element_data(a,"gamepagemodalurl",l[21]),(!o||m[2]&16)&&e.set_custom_element_data(a,"randombuttonicon",l[66]),(!o||m[1]&2097152)&&e.set_custom_element_data(a,"positioncasinocalendar",l[52]),(!o||m[2]&32)&&e.set_custom_element_data(a,"filteredrandomgamecategories",l[67]),(!o||m[0]&67108864)&&e.set_custom_element_data(a,"positionwinnerswidget",l[26]),(!o||m[1]&1)&&e.set_custom_element_data(a,"periodrecent",l[31]),(!o||m[1]&2)&&e.set_custom_element_data(a,"periodtop",l[32]),(!o||m[0]&512)&&e.set_custom_element_data(a,"userroles",l[9]),(!o||m[1]&4)&&e.set_custom_element_data(a,"numberusersrecent",l[33]),(!o||m[1]&8)&&e.set_custom_element_data(a,"numberuserstop",l[34]),(!o||m[1]&16)&&e.set_custom_element_data(a,"amountlimit",l[35]),(!o||m[0]&1073741824)&&e.set_custom_element_data(a,"isrecentavailable",l[30]),(!o||m[0]&536870912)&&e.set_custom_element_data(a,"istopavailable",l[29]),(!o||m[0]&524288)&&e.set_custom_element_data(a,"integratedgameframedesktop",l[19]),(!o||m[0]&1048576)&&e.set_custom_element_data(a,"integratedgameframemobile",l[20]),(!o||m[1]&32)&&e.set_custom_element_data(a,"defaultcurrency",l[36]),(!o||m[0]&268435456)&&e.set_custom_element_data(a,"enableautoscroll",l[28]),(!o||m[1]&1048576)&&e.set_custom_element_data(a,"collectionprovidersgamenames",l[51]),(!o||m[0]&134217728)&&e.set_custom_element_data(a,"tabsorder",l[27]),(!o||m[1]&64)&&e.set_custom_element_data(a,"positionjackpotbanners",l[37]),(!o||m[1]&2048)&&e.set_custom_element_data(a,"backgroundsrc",l[42]),(!o||m[1]&4096)&&e.set_custom_element_data(a,"backgroundsrcmobile",l[43]),(!o||m[1]&8192)&&e.set_custom_element_data(a,"titlelogopath",l[44]),(!o||m[1]&128)&&e.set_custom_element_data(a,"caticon0",l[38]),(!o||m[1]&256)&&e.set_custom_element_data(a,"caticon1",l[39]),(!o||m[1]&512)&&e.set_custom_element_data(a,"caticon2",l[40]),(!o||m[1]&1024)&&e.set_custom_element_data(a,"caticon3",l[41]),(!o||m[1]&16384)&&e.set_custom_element_data(a,"iconlabels",l[45]),(!o||m[1]&131072)&&e.set_custom_element_data(a,"positioncollections",l[48]),(!o||m[1]&262144)&&e.set_custom_element_data(a,"type",l[49]),(!o||m[1]&524288)&&e.set_custom_element_data(a,"titletype",l[50]),(!o||m[2]&256)&&e.set_custom_element_data(a,"filterbylogo",l[70]),(!o||m[2]&64)&&e.set_custom_element_data(a,"addfilterselector",l[68]),(!o||m[2]&128)&&e.set_custom_element_data(a,"addsortingselector",l[69]),(!o||m[1]&67108864)&&e.set_custom_element_data(a,"lastplayedunique",l[57]),(!o||m[1]&33554432)&&e.set_custom_element_data(a,"lastplayedlimit",l[56]),(!o||m[1]&16777216)&&e.set_custom_element_data(a,"lastplayedorder",l[55]),(!o||m[1]&268435456)&&e.set_custom_element_data(a,"mostplayedrounds",l[59]),(!o||m[1]&134217728)&&e.set_custom_element_data(a,"mostplayed",l[58]),(!o||m[1]&536870912)&&e.set_custom_element_data(a,"lastplayed",l[60]),(!o||m[1]&4194304)&&e.set_custom_element_data(a,"lastplayedperiod",l[53]),(!o||m[1]&8388608)&&e.set_custom_element_data(a,"mostplayedperiod",l[54]),(!o||m[1]&32768)&&e.set_custom_element_data(a,"showsubgroups",l[46]),(!o||m[2]&512)&&e.set_custom_element_data(a,"winnersdatasources",l[71]),(!o||m[0]&4194304)&&e.set_custom_element_data(a,"casinogamesgridslider",l[22]),(!o||m[2]&8)&&e.set_custom_element_data(a,"positionjelobbywidget",l[65]),(!o||m[1]&65536)&&e.set_custom_element_data(a,"realtimeupdate",l[47]),(!o||m[2]&2048)&&e.set_custom_element_data(a,"showmoresections",l[73]),(!o||m[2]&4096)&&e.set_custom_element_data(a,"categorieslimit",l[74]),(!o||m[2]&8192)&&e.set_custom_element_data(a,"usesinglevendorfilter",l[75]),(!o||m[2]&16384)&&e.set_custom_element_data(a,"currencylocale",l[76])},i(l){o||(e.transition_in(_,l),o=!0)},o(l){e.transition_out(_,l),o=!1},d(l){l&&e.detach(t),n[95](null),_&&_.d(l)}}}function ut(n){let t,i;return{c(){t=e.element("p"),i=e.text(n[82]),e.set_style(t,"color","var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))")},m(u,d){e.insert(u,t,d),e.append(t,i)},p(u,d){d[2]&1048576&&e.set_data(i,u[82])},i:e.noop,o:e.noop,d(u){u&&e.detach(t)}}}function rt(n){let t,i,u,d;const g=[ut,ct],f=[];function c(r,a){return r[81]?0:1}return i=c(n),u=f[i]=g[i](n),{c(){t=e.element("div"),u.c(),e.attr(t,"class","")},m(r,a){e.insert(r,t,a),f[i].m(t,null),n[96](t),d=!0},p(r,a){let h=i;i=c(r),i===h?f[i].p(r,a):(e.group_outros(),e.transition_out(f[h],1,1,()=>{f[h]=null}),e.check_outros(),u=f[i],u?u.p(r,a):(u=f[i]=g[i](r),u.c()),e.transition_in(u,1),u.m(t,null))},i(r){d||(e.transition_in(u),d=!0)},o(r){e.transition_out(u),d=!1},d(r){r&&e.detach(t),f[i].d(),n[96](null)}}}let _t="false";function dt(n,t,i){let{$$slots:u={},$$scope:d}=t,{endpoint:g=""}=t,{cmsendpoint:f="https://wt1-stage.everymatrix.com/apijson"}=t,{env:c=""}=t,{datasource:r=""}=t,{lang:a=""}=t,{session:h=""}=t,{userid:o=""}=t,{opsession:y=""}=t,{clientstyling:_=""}=t,{clientstylingurl:l=""}=t,{lobbyid:m=""}=t,{currency:E=""}=t,{filteredcategories:O=""}=t,{userroles:A=""}=t,{translationurl:U=""}=t,{favorites:q=""}=t,{desktopoffset:j="0"}=t,{mobileoffset:C="0"}=t,{haspanicbutton:W="false"}=t,{activecategory:I="LOBBY"}=t,{actionevent:G="CategoryChange"}=t,{livecasino:z="false"}=t,{showgamename:B="false"}=t,{playrandomgame:H="false"}=t,{randomgameslider:N="false"}=t,{visiblegames:V="10"}=t,{integratedgameframedesktop:Y="false"}=t,{integratedgameframemobile:J="false"}=t,{gamepagemodalurl:K="false"}=t,{casinogamesgridslider:Q="false"}=t,{categoriesicon:X="false"}=t,{lobbyiconimage:Z=""}=t,{mygamesiconimage:p=""}=t,{positionwinnerswidget:x=""}=t,{tabsorder:$=""}=t,{enableautoscroll:ee=""}=t,{istopavailable:te=""}=t,{isrecentavailable:se=""}=t,{periodrecent:ae=""}=t,{periodtop:ie=""}=t,{numberusersrecent:ne=""}=t,{numberuserstop:le=""}=t,{amountlimit:oe=""}=t,{defaultcurrency:me=""}=t,{positionjackpotbanners:ce=""}=t,{caticon0:ue=""}=t,{caticon1:re=""}=t,{caticon2:_e=""}=t,{caticon3:de=""}=t,{backgroundsrc:ge=""}=t,{backgroundsrcmobile:fe=""}=t,{titlelogopath:he=""}=t,{iconlabels:be=""}=t,{showsubgroups:ye="false"}=t,{realtimeupdate:we="false"}=t,{positioncollections:ke=""}=t,{type:ve=""}=t,{titletype:je=""}=t,{collectionprovidersgamenames:Ce=""}=t,{positioncasinocalendar:Se=""}=t,{lastplayedperiod:Le="Last30Days"}=t,{mostplayedperiod:De="Last30Days"}=t,{lastplayedorder:Ee=""}=t,{lastplayedlimit:qe=""}=t,{lastplayedunique:Ie="true"}=t,{mostplayed:P=""}=t,{mostplayedrounds:Pe=""}=t,{lastplayed:M="false"}=t,{specificcategory:Me=""}=t,{launchbygamecard:Te=""}=t,{iconvisible:Fe=""}=t,{iconvisibleonanim:Re=""}=t,{positionjelobbywidget:Oe=""}=t,{randombuttonicon:Ae=""}=t,{filteredrandomgamecategories:Ue=""}=t,{addfilterselector:We="false"}=t,{addsortingselector:Ge="false"}=t,{filterbylogo:ze="false"}=t,{winnersdatasources:Be=""}=t,{mbsource:T}=t,{showmoresections:He="false"}=t,{categorieslimit:Ne="4"}=t,{usesinglevendorfilter:Ve="false"}=t,{currencylocale:Ye=""}=t,Je,Ke,Qe,k=!1,w="Loading, please wait ...",S="",L=window.navigator.userAgent,F=!1,D,v=0,R=!1,b;lt({withLocale:"en",translations:{}});const Xe=s=>{if(s.data)switch(s.data.type){case"searchCancelled":F=!0;break;case"WidgetTopReference":R=s.data.scrollTop,R&&(v||i(85,v=e.getDevice(L)==="PC"?parseInt(j):parseInt(C)),!F&&window.scrollTo({top:v}),F=!1);break;case"CasinoTopReference":e.getDevice(L)==="PC"?window.postMessage({type:"WidgetTopReference",scrollTop:R},window.location.href):setTimeout(()=>{D.scrollIntoView({behavior:"smooth",block:"start"})},500);break;case"OpenGameFrame":window.postMessage({type:"ShowGameModal",gameId:s.data.gameId,isMobile:e.isMobile(L),gamefunmode:s.data.gamefunmode,gamepagemodalurl:s.data.gamepagemodalurl,identifier:"Lobby"},window.location.href);break;case"UserSessionID":i(83,S=s.data.session),s.data.userID;break;case"CategoryChange":i(1,I=s.data.itemId);break}},$e=()=>(g||(i(82,w="Endpoint is missing! Please provide a valid endpointURL."),i(81,k=!0),console.error(w)),r||(i(82,w="Datasource is missing! Please provide a valid datasource."),i(81,k=!0),console.error(w)),(!a||a.length<2)&&(i(82,w="Language is missing! Please provide a valid language (alpha2code)"),i(81,k=!0),console.error(w)),k),et=()=>{Ze(a)},tt=()=>{$e(),Ze(a),i(78,Je=g),i(79,Ke=r),i(80,Qe=a),i(81,k=!1)},st=()=>{e.checkSession(g,h).then(s=>{i(83,S=s.Guid),s.UserID,i(0,E=s.Currency)},s=>{console.error("Error while checking the session - ",s)})},at=()=>{i(83,S=y)};e.onMount(()=>(window.addEventListener("message",Xe,!1),i(85,v=e.getDevice(L)==="PC"?parseInt(j):parseInt(C)),()=>{window.removeEventListener("message",Xe)}));function it(s){e.binding_callbacks[s?"unshift":"push"](()=>{D=s,i(84,D)})}function nt(s){e.binding_callbacks[s?"unshift":"push"](()=>{b=s,i(77,b)})}return n.$$set=s=>{"endpoint"in s&&i(86,g=s.endpoint),"cmsendpoint"in s&&i(2,f=s.cmsendpoint),"env"in s&&i(3,c=s.env),"datasource"in s&&i(87,r=s.datasource),"lang"in s&&i(88,a=s.lang),"session"in s&&i(89,h=s.session),"userid"in s&&i(4,o=s.userid),"opsession"in s&&i(90,y=s.opsession),"clientstyling"in s&&i(5,_=s.clientstyling),"clientstylingurl"in s&&i(6,l=s.clientstylingurl),"lobbyid"in s&&i(7,m=s.lobbyid),"currency"in s&&i(0,E=s.currency),"filteredcategories"in s&&i(8,O=s.filteredcategories),"userroles"in s&&i(9,A=s.userroles),"translationurl"in s&&i(10,U=s.translationurl),"favorites"in s&&i(11,q=s.favorites),"desktopoffset"in s&&i(91,j=s.desktopoffset),"mobileoffset"in s&&i(92,C=s.mobileoffset),"haspanicbutton"in s&&i(12,W=s.haspanicbutton),"activecategory"in s&&i(1,I=s.activecategory),"actionevent"in s&&i(13,G=s.actionevent),"livecasino"in s&&i(14,z=s.livecasino),"showgamename"in s&&i(15,B=s.showgamename),"playrandomgame"in s&&i(16,H=s.playrandomgame),"randomgameslider"in s&&i(17,N=s.randomgameslider),"visiblegames"in s&&i(18,V=s.visiblegames),"integratedgameframedesktop"in s&&i(19,Y=s.integratedgameframedesktop),"integratedgameframemobile"in s&&i(20,J=s.integratedgameframemobile),"gamepagemodalurl"in s&&i(21,K=s.gamepagemodalurl),"casinogamesgridslider"in s&&i(22,Q=s.casinogamesgridslider),"categoriesicon"in s&&i(23,X=s.categoriesicon),"lobbyiconimage"in s&&i(24,Z=s.lobbyiconimage),"mygamesiconimage"in s&&i(25,p=s.mygamesiconimage),"positionwinnerswidget"in s&&i(26,x=s.positionwinnerswidget),"tabsorder"in s&&i(27,$=s.tabsorder),"enableautoscroll"in s&&i(28,ee=s.enableautoscroll),"istopavailable"in s&&i(29,te=s.istopavailable),"isrecentavailable"in s&&i(30,se=s.isrecentavailable),"periodrecent"in s&&i(31,ae=s.periodrecent),"periodtop"in s&&i(32,ie=s.periodtop),"numberusersrecent"in s&&i(33,ne=s.numberusersrecent),"numberuserstop"in s&&i(34,le=s.numberuserstop),"amountlimit"in s&&i(35,oe=s.amountlimit),"defaultcurrency"in s&&i(36,me=s.defaultcurrency),"positionjackpotbanners"in s&&i(37,ce=s.positionjackpotbanners),"caticon0"in s&&i(38,ue=s.caticon0),"caticon1"in s&&i(39,re=s.caticon1),"caticon2"in s&&i(40,_e=s.caticon2),"caticon3"in s&&i(41,de=s.caticon3),"backgroundsrc"in s&&i(42,ge=s.backgroundsrc),"backgroundsrcmobile"in s&&i(43,fe=s.backgroundsrcmobile),"titlelogopath"in s&&i(44,he=s.titlelogopath),"iconlabels"in s&&i(45,be=s.iconlabels),"showsubgroups"in s&&i(46,ye=s.showsubgroups),"realtimeupdate"in s&&i(47,we=s.realtimeupdate),"positioncollections"in s&&i(48,ke=s.positioncollections),"type"in s&&i(49,ve=s.type),"titletype"in s&&i(50,je=s.titletype),"collectionprovidersgamenames"in s&&i(51,Ce=s.collectionprovidersgamenames),"positioncasinocalendar"in s&&i(52,Se=s.positioncasinocalendar),"lastplayedperiod"in s&&i(53,Le=s.lastplayedperiod),"mostplayedperiod"in s&&i(54,De=s.mostplayedperiod),"lastplayedorder"in s&&i(55,Ee=s.lastplayedorder),"lastplayedlimit"in s&&i(56,qe=s.lastplayedlimit),"lastplayedunique"in s&&i(57,Ie=s.lastplayedunique),"mostplayed"in s&&i(58,P=s.mostplayed),"mostplayedrounds"in s&&i(59,Pe=s.mostplayedrounds),"lastplayed"in s&&i(60,M=s.lastplayed),"specificcategory"in s&&i(61,Me=s.specificcategory),"launchbygamecard"in s&&i(62,Te=s.launchbygamecard),"iconvisible"in s&&i(63,Fe=s.iconvisible),"iconvisibleonanim"in s&&i(64,Re=s.iconvisibleonanim),"positionjelobbywidget"in s&&i(65,Oe=s.positionjelobbywidget),"randombuttonicon"in s&&i(66,Ae=s.randombuttonicon),"filteredrandomgamecategories"in s&&i(67,Ue=s.filteredrandomgamecategories),"addfilterselector"in s&&i(68,We=s.addfilterselector),"addsortingselector"in s&&i(69,Ge=s.addsortingselector),"filterbylogo"in s&&i(70,ze=s.filterbylogo),"winnersdatasources"in s&&i(71,Be=s.winnersdatasources),"mbsource"in s&&i(72,T=s.mbsource),"showmoresections"in s&&i(73,He=s.showmoresections),"categorieslimit"in s&&i(74,Ne=s.categorieslimit),"usesinglevendorfilter"in s&&i(75,Ve=s.usesinglevendorfilter),"currencylocale"in s&&i(76,Ye=s.currencylocale),"$$scope"in s&&i(93,d=s.$$scope)},n.$$.update=()=>{n.$$.dirty[2]&67108864&&a&&et(),n.$$.dirty[0]&16|n.$$.dirty[2]&150994944&&h&&o&&g&&st(),n.$$.dirty[0]&2048|n.$$.dirty[1]&671088640|n.$$.dirty[2]&117440512&&g&&r&&a&&P&&M&&q&&tt(),n.$$.dirty[2]&268435456&&y&&at(),n.$$.dirty[0]&32|n.$$.dirty[2]&32768&&_&&b&&e.setClientStyling(b,_),n.$$.dirty[0]&64|n.$$.dirty[2]&32768&&l&&b&&e.setClientStylingURL(b,l),n.$$.dirty[2]&33792&&b&&e.setStreamStyling(b,`${T}.Style`)},[E,I,f,c,o,_,l,m,O,A,U,q,W,G,z,B,H,N,V,Y,J,K,Q,X,Z,p,x,$,ee,te,se,ae,ie,ne,le,oe,me,ce,ue,re,_e,de,ge,fe,he,be,ye,we,ke,ve,je,Ce,Se,Le,De,Ee,qe,Ie,P,Pe,M,Me,Te,Fe,Re,Oe,Ae,Ue,We,Ge,ze,Be,T,He,Ne,Ve,Ye,b,Je,Ke,Qe,k,w,S,D,v,g,r,a,h,y,j,C,d,u,it,nt]}class xe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,dt,rt,e.safe_not_equal,{endpoint:86,cmsendpoint:2,env:3,datasource:87,lang:88,session:89,userid:4,opsession:90,clientstyling:5,clientstylingurl:6,lobbyid:7,currency:0,filteredcategories:8,userroles:9,translationurl:10,favorites:11,desktopoffset:91,mobileoffset:92,haspanicbutton:12,activecategory:1,actionevent:13,livecasino:14,showgamename:15,playrandomgame:16,randomgameslider:17,visiblegames:18,integratedgameframedesktop:19,integratedgameframemobile:20,gamepagemodalurl:21,casinogamesgridslider:22,categoriesicon:23,lobbyiconimage:24,mygamesiconimage:25,positionwinnerswidget:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,periodrecent:31,periodtop:32,numberusersrecent:33,numberuserstop:34,amountlimit:35,defaultcurrency:36,positionjackpotbanners:37,caticon0:38,caticon1:39,caticon2:40,caticon3:41,backgroundsrc:42,backgroundsrcmobile:43,titlelogopath:44,iconlabels:45,showsubgroups:46,realtimeupdate:47,positioncollections:48,type:49,titletype:50,collectionprovidersgamenames:51,positioncasinocalendar:52,lastplayedperiod:53,mostplayedperiod:54,lastplayedorder:55,lastplayedlimit:56,lastplayedunique:57,mostplayed:58,mostplayedrounds:59,lastplayed:60,specificcategory:61,launchbygamecard:62,iconvisible:63,iconvisibleonanim:64,positionjelobbywidget:65,randombuttonicon:66,filteredrandomgamecategories:67,addfilterselector:68,addsortingselector:69,filterbylogo:70,winnersdatasources:71,mbsource:72,showmoresections:73,categorieslimit:74,usesinglevendorfilter:75,currencylocale:76},ot,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[86]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[3]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[87]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[88]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[89]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[4]}set userid(t){this.$$set({userid:t}),e.flush()}get opsession(){return this.$$.ctx[90]}set opsession(t){this.$$set({opsession:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get lobbyid(){return this.$$.ctx[7]}set lobbyid(t){this.$$set({lobbyid:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get filteredcategories(){return this.$$.ctx[8]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get userroles(){return this.$$.ctx[9]}set userroles(t){this.$$set({userroles:t}),e.flush()}get translationurl(){return this.$$.ctx[10]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[11]}set favorites(t){this.$$set({favorites:t}),e.flush()}get desktopoffset(){return this.$$.ctx[91]}set desktopoffset(t){this.$$set({desktopoffset:t}),e.flush()}get mobileoffset(){return this.$$.ctx[92]}set mobileoffset(t){this.$$set({mobileoffset:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[12]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get activecategory(){return this.$$.ctx[1]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get actionevent(){return this.$$.ctx[13]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get livecasino(){return this.$$.ctx[14]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get showgamename(){return this.$$.ctx[15]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get playrandomgame(){return this.$$.ctx[16]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[17]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get visiblegames(){return this.$$.ctx[18]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[19]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[20]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[21]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[22]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get categoriesicon(){return this.$$.ctx[23]}set categoriesicon(t){this.$$set({categoriesicon:t}),e.flush()}get lobbyiconimage(){return this.$$.ctx[24]}set lobbyiconimage(t){this.$$set({lobbyiconimage:t}),e.flush()}get mygamesiconimage(){return this.$$.ctx[25]}set mygamesiconimage(t){this.$$set({mygamesiconimage:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[26]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get periodrecent(){return this.$$.ctx[31]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[32]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[33]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[34]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[35]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[36]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[37]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[38]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[39]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[40]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[41]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[42]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[43]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[44]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[45]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get showsubgroups(){return this.$$.ctx[46]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[47]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get positioncollections(){return this.$$.ctx[48]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[49]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[50]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[51]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[52]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[53]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[54]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[55]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[56]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[57]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayed(){return this.$$.ctx[58]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[59]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get lastplayed(){return this.$$.ctx[60]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get specificcategory(){return this.$$.ctx[61]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[62]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[63]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[64]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[65]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[66]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[67]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get addfilterselector(){return this.$$.ctx[68]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[69]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[70]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[71]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get mbsource(){return this.$$.ctx[72]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get showmoresections(){return this.$$.ctx[73]}set showmoresections(t){this.$$set({showmoresections:t}),e.flush()}get categorieslimit(){return this.$$.ctx[74]}set categorieslimit(t){this.$$set({categorieslimit:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[75]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}get currencylocale(){return this.$$.ctx[76]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(xe,{endpoint:{},cmsendpoint:{},env:{},datasource:{},lang:{},session:{},userid:{},opsession:{},clientstyling:{},clientstylingurl:{},lobbyid:{},currency:{},filteredcategories:{},userroles:{},translationurl:{},favorites:{},desktopoffset:{},mobileoffset:{},haspanicbutton:{},activecategory:{},actionevent:{},livecasino:{},showgamename:{},playrandomgame:{},randomgameslider:{},visiblegames:{},integratedgameframedesktop:{},integratedgameframemobile:{},gamepagemodalurl:{},casinogamesgridslider:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},showsubgroups:{},realtimeupdate:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},positioncasinocalendar:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayed:{},mostplayedrounds:{},lastplayed:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},positionjelobbywidget:{},randombuttonicon:{},filteredrandomgamecategories:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},winnersdatasources:{},mbsource:{},showmoresections:{},categorieslimit:{},usesinglevendorfilter:{},currencylocale:{}},["content"],[],!0);exports.default=xe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DglR4hXB.cjs");function lt({withLocale:n,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function Ze(n){e.$locale.set(n)}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(u){if(u instanceof DOMException&&u.message.includes("has already been used with this registry")||u.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw u}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoCategoriesSlider--HeFAg7z.cjs")).then(({default:t})=>{!customElements.get("casino-categories-slider")&&customElements.define("casino-categories-slider",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(u){if(u instanceof DOMException&&u.message.includes("has already been used with this registry")||u.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw u}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoPage-BSujpR0c.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",t.element)})}function ot(n){e.append_styles(n,"svelte-slcdf8","*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}")}const mt=n=>({}),pe=n=>({});function ct(n){let t,i,u,d,g,f,c,r,a,h,o;const y=n[94].content,_=e.create_slot(y,n,n[93],pe);return{c(){t=e.element("div"),i=e.element("div"),u=e.element("div"),d=e.space(),g=e.element("div"),f=e.space(),c=e.element("casino-categories-slider"),r=e.space(),a=e.element("casino-page"),h=e.element("div"),_&&_.c(),e.attr(u,"class","HeaderPlaceholder"),e.set_style(u,"height",n[85]+"px"),e.attr(g,"class","ScrollTop"),e.set_custom_element_data(c,"endpoint",n[78]),e.set_custom_element_data(c,"datasource",n[79]),e.set_custom_element_data(c,"lang",n[80]),e.set_custom_element_data(c,"session",n[83]),e.set_custom_element_data(c,"userid",n[4]),e.set_custom_element_data(c,"sessioncheck","false"),e.set_custom_element_data(c,"actionevent",n[13]),e.set_custom_element_data(c,"filteredcategories",n[8]),e.set_custom_element_data(c,"mostplayed",n[58]),e.set_custom_element_data(c,"lastplayed",n[60]),e.set_custom_element_data(c,"favorites",n[11]),e.set_custom_element_data(c,"activecategory",n[1]),e.set_custom_element_data(c,"translationurl",n[10]),e.set_custom_element_data(c,"clientstyling",n[5]),e.set_custom_element_data(c,"clientstylingurl",n[6]),e.set_custom_element_data(c,"location","secondaryMenu"),e.set_custom_element_data(c,"showsubgroups",n[46]),e.set_custom_element_data(c,"categoriesicon",n[23]),e.set_custom_element_data(c,"lobbyiconimage",n[24]),e.set_custom_element_data(c,"mygamesiconimage",n[25]),e.set_custom_element_data(c,"mbsource",n[72]),e.attr(h,"slot","je-jackpots-widget"),e.set_custom_element_data(a,"session",n[83]),e.set_custom_element_data(a,"userid",n[4]),e.set_custom_element_data(a,"endpoint",n[78]),e.set_custom_element_data(a,"datasource",n[79]),e.set_custom_element_data(a,"lang",n[80]),e.set_custom_element_data(a,"mbsource",n[72]),e.set_custom_element_data(a,"showgamename",n[15]),e.set_custom_element_data(a,"cmsendpoint",n[2]),e.set_custom_element_data(a,"env",n[3]),e.set_custom_element_data(a,"translationurl",n[10]),e.set_custom_element_data(a,"visiblegames",n[18]),e.set_custom_element_data(a,"playrandomgame",n[16]),e.set_custom_element_data(a,"randomgameslider",n[17]),e.set_custom_element_data(a,"specificcategory",n[61]),e.set_custom_element_data(a,"launchbygamecard",n[62]),e.set_custom_element_data(a,"iconvisible",n[63]),e.set_custom_element_data(a,"iconvisibleonanim",n[64]),e.set_custom_element_data(a,"activecategory",n[1]),e.set_custom_element_data(a,"favorites",n[11]),e.set_custom_element_data(a,"clientstyling",n[5]),e.set_custom_element_data(a,"clientstylingurl",n[6]),e.set_custom_element_data(a,"lobbyid",n[7]),e.set_custom_element_data(a,"haspanicbutton",n[12]),e.set_custom_element_data(a,"livecasino",n[14]),e.set_custom_element_data(a,"currency",n[0]),e.set_custom_element_data(a,"filteredcategories",n[8]),e.set_custom_element_data(a,"gamepagemodalurl",n[21]),e.set_custom_element_data(a,"randombuttonicon",n[66]),e.set_custom_element_data(a,"positioncasinocalendar",n[52]),e.set_custom_element_data(a,"filteredrandomgamecategories",n[67]),e.set_custom_element_data(a,"positionwinnerswidget",n[26]),e.set_custom_element_data(a,"periodrecent",n[31]),e.set_custom_element_data(a,"periodtop",n[32]),e.set_custom_element_data(a,"userroles",n[9]),e.set_custom_element_data(a,"numberusersrecent",n[33]),e.set_custom_element_data(a,"numberuserstop",n[34]),e.set_custom_element_data(a,"amountlimit",n[35]),e.set_custom_element_data(a,"isrecentavailable",n[30]),e.set_custom_element_data(a,"istopavailable",n[29]),e.set_custom_element_data(a,"integratedgameframedesktop",n[19]),e.set_custom_element_data(a,"integratedgameframemobile",n[20]),e.set_custom_element_data(a,"defaultcurrency",n[36]),e.set_custom_element_data(a,"enableautoscroll",n[28]),e.set_custom_element_data(a,"collectionprovidersgamenames",n[51]),e.set_custom_element_data(a,"tabsorder",n[27]),e.set_custom_element_data(a,"positionjackpotbanners",n[37]),e.set_custom_element_data(a,"backgroundsrc",n[42]),e.set_custom_element_data(a,"backgroundsrcmobile",n[43]),e.set_custom_element_data(a,"titlelogopath",n[44]),e.set_custom_element_data(a,"caticon0",n[38]),e.set_custom_element_data(a,"caticon1",n[39]),e.set_custom_element_data(a,"caticon2",n[40]),e.set_custom_element_data(a,"caticon3",n[41]),e.set_custom_element_data(a,"iconlabels",n[45]),e.set_custom_element_data(a,"positioncollections",n[48]),e.set_custom_element_data(a,"type",n[49]),e.set_custom_element_data(a,"titletype",n[50]),e.set_custom_element_data(a,"casinomygames",_t),e.set_custom_element_data(a,"filterbylogo",n[70]),e.set_custom_element_data(a,"addfilterselector",n[68]),e.set_custom_element_data(a,"addsortingselector",n[69]),e.set_custom_element_data(a,"lastplayedunique",n[57]),e.set_custom_element_data(a,"lastplayedlimit",n[56]),e.set_custom_element_data(a,"lastplayedorder",n[55]),e.set_custom_element_data(a,"mostplayedrounds",n[59]),e.set_custom_element_data(a,"mostplayed",n[58]),e.set_custom_element_data(a,"lastplayed",n[60]),e.set_custom_element_data(a,"lastplayedperiod",n[53]),e.set_custom_element_data(a,"mostplayedperiod",n[54]),e.set_custom_element_data(a,"showsubgroups",n[46]),e.set_custom_element_data(a,"winnersdatasources",n[71]),e.set_custom_element_data(a,"casinogamesgridslider",n[22]),e.set_custom_element_data(a,"positionjelobbywidget",n[65]),e.set_custom_element_data(a,"realtimeupdate",n[47]),e.set_custom_element_data(a,"showmoresections",n[73]),e.set_custom_element_data(a,"categorieslimit",n[74]),e.set_custom_element_data(a,"usesinglevendorfilter",n[75]),e.set_custom_element_data(a,"currencylocale",n[76]),e.attr(i,"class","WidgetsSection"),e.attr(t,"class","CasinoLobby")},m(l,m){e.insert(l,t,m),e.append(t,i),e.append(i,u),e.append(i,d),e.append(i,g),e.append(i,f),e.append(i,c),n[95](c),e.append(i,r),e.append(i,a),e.append(a,h),_&&_.m(h,null),o=!0},p(l,m){(!o||m[2]&8388608)&&e.set_style(u,"height",l[85]+"px"),(!o||m[2]&65536)&&e.set_custom_element_data(c,"endpoint",l[78]),(!o||m[2]&131072)&&e.set_custom_element_data(c,"datasource",l[79]),(!o||m[2]&262144)&&e.set_custom_element_data(c,"lang",l[80]),(!o||m[2]&2097152)&&e.set_custom_element_data(c,"session",l[83]),(!o||m[0]&16)&&e.set_custom_element_data(c,"userid",l[4]),(!o||m[0]&8192)&&e.set_custom_element_data(c,"actionevent",l[13]),(!o||m[0]&256)&&e.set_custom_element_data(c,"filteredcategories",l[8]),(!o||m[1]&134217728)&&e.set_custom_element_data(c,"mostplayed",l[58]),(!o||m[1]&536870912)&&e.set_custom_element_data(c,"lastplayed",l[60]),(!o||m[0]&2048)&&e.set_custom_element_data(c,"favorites",l[11]),(!o||m[0]&2)&&e.set_custom_element_data(c,"activecategory",l[1]),(!o||m[0]&1024)&&e.set_custom_element_data(c,"translationurl",l[10]),(!o||m[0]&32)&&e.set_custom_element_data(c,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(c,"clientstylingurl",l[6]),(!o||m[1]&32768)&&e.set_custom_element_data(c,"showsubgroups",l[46]),(!o||m[0]&8388608)&&e.set_custom_element_data(c,"categoriesicon",l[23]),(!o||m[0]&16777216)&&e.set_custom_element_data(c,"lobbyiconimage",l[24]),(!o||m[0]&33554432)&&e.set_custom_element_data(c,"mygamesiconimage",l[25]),(!o||m[2]&1024)&&e.set_custom_element_data(c,"mbsource",l[72]),_&&_.p&&(!o||m[3]&1)&&e.update_slot_base(_,y,l,l[93],o?e.get_slot_changes(y,l[93],m,mt):e.get_all_dirty_from_scope(l[93]),pe),(!o||m[2]&2097152)&&e.set_custom_element_data(a,"session",l[83]),(!o||m[0]&16)&&e.set_custom_element_data(a,"userid",l[4]),(!o||m[2]&65536)&&e.set_custom_element_data(a,"endpoint",l[78]),(!o||m[2]&131072)&&e.set_custom_element_data(a,"datasource",l[79]),(!o||m[2]&262144)&&e.set_custom_element_data(a,"lang",l[80]),(!o||m[2]&1024)&&e.set_custom_element_data(a,"mbsource",l[72]),(!o||m[0]&32768)&&e.set_custom_element_data(a,"showgamename",l[15]),(!o||m[0]&4)&&e.set_custom_element_data(a,"cmsendpoint",l[2]),(!o||m[0]&8)&&e.set_custom_element_data(a,"env",l[3]),(!o||m[0]&1024)&&e.set_custom_element_data(a,"translationurl",l[10]),(!o||m[0]&262144)&&e.set_custom_element_data(a,"visiblegames",l[18]),(!o||m[0]&65536)&&e.set_custom_element_data(a,"playrandomgame",l[16]),(!o||m[0]&131072)&&e.set_custom_element_data(a,"randomgameslider",l[17]),(!o||m[1]&1073741824)&&e.set_custom_element_data(a,"specificcategory",l[61]),(!o||m[2]&1)&&e.set_custom_element_data(a,"launchbygamecard",l[62]),(!o||m[2]&2)&&e.set_custom_element_data(a,"iconvisible",l[63]),(!o||m[2]&4)&&e.set_custom_element_data(a,"iconvisibleonanim",l[64]),(!o||m[0]&2)&&e.set_custom_element_data(a,"activecategory",l[1]),(!o||m[0]&2048)&&e.set_custom_element_data(a,"favorites",l[11]),(!o||m[0]&32)&&e.set_custom_element_data(a,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(a,"clientstylingurl",l[6]),(!o||m[0]&128)&&e.set_custom_element_data(a,"lobbyid",l[7]),(!o||m[0]&4096)&&e.set_custom_element_data(a,"haspanicbutton",l[12]),(!o||m[0]&16384)&&e.set_custom_element_data(a,"livecasino",l[14]),(!o||m[0]&1)&&e.set_custom_element_data(a,"currency",l[0]),(!o||m[0]&256)&&e.set_custom_element_data(a,"filteredcategories",l[8]),(!o||m[0]&2097152)&&e.set_custom_element_data(a,"gamepagemodalurl",l[21]),(!o||m[2]&16)&&e.set_custom_element_data(a,"randombuttonicon",l[66]),(!o||m[1]&2097152)&&e.set_custom_element_data(a,"positioncasinocalendar",l[52]),(!o||m[2]&32)&&e.set_custom_element_data(a,"filteredrandomgamecategories",l[67]),(!o||m[0]&67108864)&&e.set_custom_element_data(a,"positionwinnerswidget",l[26]),(!o||m[1]&1)&&e.set_custom_element_data(a,"periodrecent",l[31]),(!o||m[1]&2)&&e.set_custom_element_data(a,"periodtop",l[32]),(!o||m[0]&512)&&e.set_custom_element_data(a,"userroles",l[9]),(!o||m[1]&4)&&e.set_custom_element_data(a,"numberusersrecent",l[33]),(!o||m[1]&8)&&e.set_custom_element_data(a,"numberuserstop",l[34]),(!o||m[1]&16)&&e.set_custom_element_data(a,"amountlimit",l[35]),(!o||m[0]&1073741824)&&e.set_custom_element_data(a,"isrecentavailable",l[30]),(!o||m[0]&536870912)&&e.set_custom_element_data(a,"istopavailable",l[29]),(!o||m[0]&524288)&&e.set_custom_element_data(a,"integratedgameframedesktop",l[19]),(!o||m[0]&1048576)&&e.set_custom_element_data(a,"integratedgameframemobile",l[20]),(!o||m[1]&32)&&e.set_custom_element_data(a,"defaultcurrency",l[36]),(!o||m[0]&268435456)&&e.set_custom_element_data(a,"enableautoscroll",l[28]),(!o||m[1]&1048576)&&e.set_custom_element_data(a,"collectionprovidersgamenames",l[51]),(!o||m[0]&134217728)&&e.set_custom_element_data(a,"tabsorder",l[27]),(!o||m[1]&64)&&e.set_custom_element_data(a,"positionjackpotbanners",l[37]),(!o||m[1]&2048)&&e.set_custom_element_data(a,"backgroundsrc",l[42]),(!o||m[1]&4096)&&e.set_custom_element_data(a,"backgroundsrcmobile",l[43]),(!o||m[1]&8192)&&e.set_custom_element_data(a,"titlelogopath",l[44]),(!o||m[1]&128)&&e.set_custom_element_data(a,"caticon0",l[38]),(!o||m[1]&256)&&e.set_custom_element_data(a,"caticon1",l[39]),(!o||m[1]&512)&&e.set_custom_element_data(a,"caticon2",l[40]),(!o||m[1]&1024)&&e.set_custom_element_data(a,"caticon3",l[41]),(!o||m[1]&16384)&&e.set_custom_element_data(a,"iconlabels",l[45]),(!o||m[1]&131072)&&e.set_custom_element_data(a,"positioncollections",l[48]),(!o||m[1]&262144)&&e.set_custom_element_data(a,"type",l[49]),(!o||m[1]&524288)&&e.set_custom_element_data(a,"titletype",l[50]),(!o||m[2]&256)&&e.set_custom_element_data(a,"filterbylogo",l[70]),(!o||m[2]&64)&&e.set_custom_element_data(a,"addfilterselector",l[68]),(!o||m[2]&128)&&e.set_custom_element_data(a,"addsortingselector",l[69]),(!o||m[1]&67108864)&&e.set_custom_element_data(a,"lastplayedunique",l[57]),(!o||m[1]&33554432)&&e.set_custom_element_data(a,"lastplayedlimit",l[56]),(!o||m[1]&16777216)&&e.set_custom_element_data(a,"lastplayedorder",l[55]),(!o||m[1]&268435456)&&e.set_custom_element_data(a,"mostplayedrounds",l[59]),(!o||m[1]&134217728)&&e.set_custom_element_data(a,"mostplayed",l[58]),(!o||m[1]&536870912)&&e.set_custom_element_data(a,"lastplayed",l[60]),(!o||m[1]&4194304)&&e.set_custom_element_data(a,"lastplayedperiod",l[53]),(!o||m[1]&8388608)&&e.set_custom_element_data(a,"mostplayedperiod",l[54]),(!o||m[1]&32768)&&e.set_custom_element_data(a,"showsubgroups",l[46]),(!o||m[2]&512)&&e.set_custom_element_data(a,"winnersdatasources",l[71]),(!o||m[0]&4194304)&&e.set_custom_element_data(a,"casinogamesgridslider",l[22]),(!o||m[2]&8)&&e.set_custom_element_data(a,"positionjelobbywidget",l[65]),(!o||m[1]&65536)&&e.set_custom_element_data(a,"realtimeupdate",l[47]),(!o||m[2]&2048)&&e.set_custom_element_data(a,"showmoresections",l[73]),(!o||m[2]&4096)&&e.set_custom_element_data(a,"categorieslimit",l[74]),(!o||m[2]&8192)&&e.set_custom_element_data(a,"usesinglevendorfilter",l[75]),(!o||m[2]&16384)&&e.set_custom_element_data(a,"currencylocale",l[76])},i(l){o||(e.transition_in(_,l),o=!0)},o(l){e.transition_out(_,l),o=!1},d(l){l&&e.detach(t),n[95](null),_&&_.d(l)}}}function ut(n){let t,i;return{c(){t=e.element("p"),i=e.text(n[82]),e.set_style(t,"color","var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))")},m(u,d){e.insert(u,t,d),e.append(t,i)},p(u,d){d[2]&1048576&&e.set_data(i,u[82])},i:e.noop,o:e.noop,d(u){u&&e.detach(t)}}}function rt(n){let t,i,u,d;const g=[ut,ct],f=[];function c(r,a){return r[81]?0:1}return i=c(n),u=f[i]=g[i](n),{c(){t=e.element("div"),u.c(),e.attr(t,"class","")},m(r,a){e.insert(r,t,a),f[i].m(t,null),n[96](t),d=!0},p(r,a){let h=i;i=c(r),i===h?f[i].p(r,a):(e.group_outros(),e.transition_out(f[h],1,1,()=>{f[h]=null}),e.check_outros(),u=f[i],u?u.p(r,a):(u=f[i]=g[i](r),u.c()),e.transition_in(u,1),u.m(t,null))},i(r){d||(e.transition_in(u),d=!0)},o(r){e.transition_out(u),d=!1},d(r){r&&e.detach(t),f[i].d(),n[96](null)}}}let _t="false";function dt(n,t,i){let{$$slots:u={},$$scope:d}=t,{endpoint:g=""}=t,{cmsendpoint:f="https://wt1-stage.everymatrix.com/apijson"}=t,{env:c=""}=t,{datasource:r=""}=t,{lang:a=""}=t,{session:h=""}=t,{userid:o=""}=t,{opsession:y=""}=t,{clientstyling:_=""}=t,{clientstylingurl:l=""}=t,{lobbyid:m=""}=t,{currency:E=""}=t,{filteredcategories:O=""}=t,{userroles:A=""}=t,{translationurl:U=""}=t,{favorites:q=""}=t,{desktopoffset:j="0"}=t,{mobileoffset:C="0"}=t,{haspanicbutton:W="false"}=t,{activecategory:I="LOBBY"}=t,{actionevent:G="CategoryChange"}=t,{livecasino:z="false"}=t,{showgamename:B="false"}=t,{playrandomgame:H="false"}=t,{randomgameslider:N="false"}=t,{visiblegames:V="10"}=t,{integratedgameframedesktop:Y="false"}=t,{integratedgameframemobile:J="false"}=t,{gamepagemodalurl:K="false"}=t,{casinogamesgridslider:Q="false"}=t,{categoriesicon:X="false"}=t,{lobbyiconimage:Z=""}=t,{mygamesiconimage:p=""}=t,{positionwinnerswidget:x=""}=t,{tabsorder:$=""}=t,{enableautoscroll:ee=""}=t,{istopavailable:te=""}=t,{isrecentavailable:se=""}=t,{periodrecent:ae=""}=t,{periodtop:ie=""}=t,{numberusersrecent:ne=""}=t,{numberuserstop:le=""}=t,{amountlimit:oe=""}=t,{defaultcurrency:me=""}=t,{positionjackpotbanners:ce=""}=t,{caticon0:ue=""}=t,{caticon1:re=""}=t,{caticon2:_e=""}=t,{caticon3:de=""}=t,{backgroundsrc:ge=""}=t,{backgroundsrcmobile:fe=""}=t,{titlelogopath:he=""}=t,{iconlabels:be=""}=t,{showsubgroups:ye="false"}=t,{realtimeupdate:we="false"}=t,{positioncollections:ke=""}=t,{type:ve=""}=t,{titletype:je=""}=t,{collectionprovidersgamenames:Ce=""}=t,{positioncasinocalendar:Se=""}=t,{lastplayedperiod:Le="Last30Days"}=t,{mostplayedperiod:De="Last30Days"}=t,{lastplayedorder:Ee=""}=t,{lastplayedlimit:qe=""}=t,{lastplayedunique:Ie="true"}=t,{mostplayed:P=""}=t,{mostplayedrounds:Pe=""}=t,{lastplayed:M="false"}=t,{specificcategory:Me=""}=t,{launchbygamecard:Te=""}=t,{iconvisible:Fe=""}=t,{iconvisibleonanim:Re=""}=t,{positionjelobbywidget:Oe=""}=t,{randombuttonicon:Ae=""}=t,{filteredrandomgamecategories:Ue=""}=t,{addfilterselector:We="false"}=t,{addsortingselector:Ge="false"}=t,{filterbylogo:ze="false"}=t,{winnersdatasources:Be=""}=t,{mbsource:T}=t,{showmoresections:He="false"}=t,{categorieslimit:Ne="4"}=t,{usesinglevendorfilter:Ve="false"}=t,{currencylocale:Ye=""}=t,Je,Ke,Qe,k=!1,w="Loading, please wait ...",S="",L=window.navigator.userAgent,F=!1,D,v=0,R=!1,b;lt({withLocale:"en",translations:{}});const Xe=s=>{if(s.data)switch(s.data.type){case"searchCancelled":F=!0;break;case"WidgetTopReference":R=s.data.scrollTop,R&&(v||i(85,v=e.getDevice(L)==="PC"?parseInt(j):parseInt(C)),!F&&window.scrollTo({top:v}),F=!1);break;case"CasinoTopReference":e.getDevice(L)==="PC"?window.postMessage({type:"WidgetTopReference",scrollTop:R},window.location.href):setTimeout(()=>{D.scrollIntoView({behavior:"smooth",block:"start"})},500);break;case"OpenGameFrame":window.postMessage({type:"ShowGameModal",gameId:s.data.gameId,isMobile:e.isMobile(L),gamefunmode:s.data.gamefunmode,gamepagemodalurl:s.data.gamepagemodalurl,identifier:"Lobby"},window.location.href);break;case"UserSessionID":i(83,S=s.data.session),s.data.userID;break;case"CategoryChange":i(1,I=s.data.itemId);break}},$e=()=>(g||(i(82,w="Endpoint is missing! Please provide a valid endpointURL."),i(81,k=!0),console.error(w)),r||(i(82,w="Datasource is missing! Please provide a valid datasource."),i(81,k=!0),console.error(w)),(!a||a.length<2)&&(i(82,w="Language is missing! Please provide a valid language (alpha2code)"),i(81,k=!0),console.error(w)),k),et=()=>{Ze(a)},tt=()=>{$e(),Ze(a),i(78,Je=g),i(79,Ke=r),i(80,Qe=a),i(81,k=!1)},st=()=>{e.checkSession(g,h).then(s=>{i(83,S=s.Guid),s.UserID,i(0,E=s.Currency)},s=>{console.error("Error while checking the session - ",s)})},at=()=>{i(83,S=y)};e.onMount(()=>(window.addEventListener("message",Xe,!1),i(85,v=e.getDevice(L)==="PC"?parseInt(j):parseInt(C)),()=>{window.removeEventListener("message",Xe)}));function it(s){e.binding_callbacks[s?"unshift":"push"](()=>{D=s,i(84,D)})}function nt(s){e.binding_callbacks[s?"unshift":"push"](()=>{b=s,i(77,b)})}return n.$$set=s=>{"endpoint"in s&&i(86,g=s.endpoint),"cmsendpoint"in s&&i(2,f=s.cmsendpoint),"env"in s&&i(3,c=s.env),"datasource"in s&&i(87,r=s.datasource),"lang"in s&&i(88,a=s.lang),"session"in s&&i(89,h=s.session),"userid"in s&&i(4,o=s.userid),"opsession"in s&&i(90,y=s.opsession),"clientstyling"in s&&i(5,_=s.clientstyling),"clientstylingurl"in s&&i(6,l=s.clientstylingurl),"lobbyid"in s&&i(7,m=s.lobbyid),"currency"in s&&i(0,E=s.currency),"filteredcategories"in s&&i(8,O=s.filteredcategories),"userroles"in s&&i(9,A=s.userroles),"translationurl"in s&&i(10,U=s.translationurl),"favorites"in s&&i(11,q=s.favorites),"desktopoffset"in s&&i(91,j=s.desktopoffset),"mobileoffset"in s&&i(92,C=s.mobileoffset),"haspanicbutton"in s&&i(12,W=s.haspanicbutton),"activecategory"in s&&i(1,I=s.activecategory),"actionevent"in s&&i(13,G=s.actionevent),"livecasino"in s&&i(14,z=s.livecasino),"showgamename"in s&&i(15,B=s.showgamename),"playrandomgame"in s&&i(16,H=s.playrandomgame),"randomgameslider"in s&&i(17,N=s.randomgameslider),"visiblegames"in s&&i(18,V=s.visiblegames),"integratedgameframedesktop"in s&&i(19,Y=s.integratedgameframedesktop),"integratedgameframemobile"in s&&i(20,J=s.integratedgameframemobile),"gamepagemodalurl"in s&&i(21,K=s.gamepagemodalurl),"casinogamesgridslider"in s&&i(22,Q=s.casinogamesgridslider),"categoriesicon"in s&&i(23,X=s.categoriesicon),"lobbyiconimage"in s&&i(24,Z=s.lobbyiconimage),"mygamesiconimage"in s&&i(25,p=s.mygamesiconimage),"positionwinnerswidget"in s&&i(26,x=s.positionwinnerswidget),"tabsorder"in s&&i(27,$=s.tabsorder),"enableautoscroll"in s&&i(28,ee=s.enableautoscroll),"istopavailable"in s&&i(29,te=s.istopavailable),"isrecentavailable"in s&&i(30,se=s.isrecentavailable),"periodrecent"in s&&i(31,ae=s.periodrecent),"periodtop"in s&&i(32,ie=s.periodtop),"numberusersrecent"in s&&i(33,ne=s.numberusersrecent),"numberuserstop"in s&&i(34,le=s.numberuserstop),"amountlimit"in s&&i(35,oe=s.amountlimit),"defaultcurrency"in s&&i(36,me=s.defaultcurrency),"positionjackpotbanners"in s&&i(37,ce=s.positionjackpotbanners),"caticon0"in s&&i(38,ue=s.caticon0),"caticon1"in s&&i(39,re=s.caticon1),"caticon2"in s&&i(40,_e=s.caticon2),"caticon3"in s&&i(41,de=s.caticon3),"backgroundsrc"in s&&i(42,ge=s.backgroundsrc),"backgroundsrcmobile"in s&&i(43,fe=s.backgroundsrcmobile),"titlelogopath"in s&&i(44,he=s.titlelogopath),"iconlabels"in s&&i(45,be=s.iconlabels),"showsubgroups"in s&&i(46,ye=s.showsubgroups),"realtimeupdate"in s&&i(47,we=s.realtimeupdate),"positioncollections"in s&&i(48,ke=s.positioncollections),"type"in s&&i(49,ve=s.type),"titletype"in s&&i(50,je=s.titletype),"collectionprovidersgamenames"in s&&i(51,Ce=s.collectionprovidersgamenames),"positioncasinocalendar"in s&&i(52,Se=s.positioncasinocalendar),"lastplayedperiod"in s&&i(53,Le=s.lastplayedperiod),"mostplayedperiod"in s&&i(54,De=s.mostplayedperiod),"lastplayedorder"in s&&i(55,Ee=s.lastplayedorder),"lastplayedlimit"in s&&i(56,qe=s.lastplayedlimit),"lastplayedunique"in s&&i(57,Ie=s.lastplayedunique),"mostplayed"in s&&i(58,P=s.mostplayed),"mostplayedrounds"in s&&i(59,Pe=s.mostplayedrounds),"lastplayed"in s&&i(60,M=s.lastplayed),"specificcategory"in s&&i(61,Me=s.specificcategory),"launchbygamecard"in s&&i(62,Te=s.launchbygamecard),"iconvisible"in s&&i(63,Fe=s.iconvisible),"iconvisibleonanim"in s&&i(64,Re=s.iconvisibleonanim),"positionjelobbywidget"in s&&i(65,Oe=s.positionjelobbywidget),"randombuttonicon"in s&&i(66,Ae=s.randombuttonicon),"filteredrandomgamecategories"in s&&i(67,Ue=s.filteredrandomgamecategories),"addfilterselector"in s&&i(68,We=s.addfilterselector),"addsortingselector"in s&&i(69,Ge=s.addsortingselector),"filterbylogo"in s&&i(70,ze=s.filterbylogo),"winnersdatasources"in s&&i(71,Be=s.winnersdatasources),"mbsource"in s&&i(72,T=s.mbsource),"showmoresections"in s&&i(73,He=s.showmoresections),"categorieslimit"in s&&i(74,Ne=s.categorieslimit),"usesinglevendorfilter"in s&&i(75,Ve=s.usesinglevendorfilter),"currencylocale"in s&&i(76,Ye=s.currencylocale),"$$scope"in s&&i(93,d=s.$$scope)},n.$$.update=()=>{n.$$.dirty[2]&67108864&&a&&et(),n.$$.dirty[0]&16|n.$$.dirty[2]&150994944&&h&&o&&g&&st(),n.$$.dirty[0]&2048|n.$$.dirty[1]&671088640|n.$$.dirty[2]&117440512&&g&&r&&a&&P&&M&&q&&tt(),n.$$.dirty[2]&268435456&&y&&at(),n.$$.dirty[0]&32|n.$$.dirty[2]&32768&&_&&b&&e.setClientStyling(b,_),n.$$.dirty[0]&64|n.$$.dirty[2]&32768&&l&&b&&e.setClientStylingURL(b,l),n.$$.dirty[2]&33792&&b&&e.setStreamStyling(b,`${T}.Style`)},[E,I,f,c,o,_,l,m,O,A,U,q,W,G,z,B,H,N,V,Y,J,K,Q,X,Z,p,x,$,ee,te,se,ae,ie,ne,le,oe,me,ce,ue,re,_e,de,ge,fe,he,be,ye,we,ke,ve,je,Ce,Se,Le,De,Ee,qe,Ie,P,Pe,M,Me,Te,Fe,Re,Oe,Ae,Ue,We,Ge,ze,Be,T,He,Ne,Ve,Ye,b,Je,Ke,Qe,k,w,S,D,v,g,r,a,h,y,j,C,d,u,it,nt]}class xe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,dt,rt,e.safe_not_equal,{endpoint:86,cmsendpoint:2,env:3,datasource:87,lang:88,session:89,userid:4,opsession:90,clientstyling:5,clientstylingurl:6,lobbyid:7,currency:0,filteredcategories:8,userroles:9,translationurl:10,favorites:11,desktopoffset:91,mobileoffset:92,haspanicbutton:12,activecategory:1,actionevent:13,livecasino:14,showgamename:15,playrandomgame:16,randomgameslider:17,visiblegames:18,integratedgameframedesktop:19,integratedgameframemobile:20,gamepagemodalurl:21,casinogamesgridslider:22,categoriesicon:23,lobbyiconimage:24,mygamesiconimage:25,positionwinnerswidget:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,periodrecent:31,periodtop:32,numberusersrecent:33,numberuserstop:34,amountlimit:35,defaultcurrency:36,positionjackpotbanners:37,caticon0:38,caticon1:39,caticon2:40,caticon3:41,backgroundsrc:42,backgroundsrcmobile:43,titlelogopath:44,iconlabels:45,showsubgroups:46,realtimeupdate:47,positioncollections:48,type:49,titletype:50,collectionprovidersgamenames:51,positioncasinocalendar:52,lastplayedperiod:53,mostplayedperiod:54,lastplayedorder:55,lastplayedlimit:56,lastplayedunique:57,mostplayed:58,mostplayedrounds:59,lastplayed:60,specificcategory:61,launchbygamecard:62,iconvisible:63,iconvisibleonanim:64,positionjelobbywidget:65,randombuttonicon:66,filteredrandomgamecategories:67,addfilterselector:68,addsortingselector:69,filterbylogo:70,winnersdatasources:71,mbsource:72,showmoresections:73,categorieslimit:74,usesinglevendorfilter:75,currencylocale:76},ot,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[86]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[3]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[87]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[88]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[89]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[4]}set userid(t){this.$$set({userid:t}),e.flush()}get opsession(){return this.$$.ctx[90]}set opsession(t){this.$$set({opsession:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get lobbyid(){return this.$$.ctx[7]}set lobbyid(t){this.$$set({lobbyid:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get filteredcategories(){return this.$$.ctx[8]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get userroles(){return this.$$.ctx[9]}set userroles(t){this.$$set({userroles:t}),e.flush()}get translationurl(){return this.$$.ctx[10]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[11]}set favorites(t){this.$$set({favorites:t}),e.flush()}get desktopoffset(){return this.$$.ctx[91]}set desktopoffset(t){this.$$set({desktopoffset:t}),e.flush()}get mobileoffset(){return this.$$.ctx[92]}set mobileoffset(t){this.$$set({mobileoffset:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[12]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get activecategory(){return this.$$.ctx[1]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get actionevent(){return this.$$.ctx[13]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get livecasino(){return this.$$.ctx[14]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get showgamename(){return this.$$.ctx[15]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get playrandomgame(){return this.$$.ctx[16]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[17]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get visiblegames(){return this.$$.ctx[18]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[19]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[20]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[21]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[22]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get categoriesicon(){return this.$$.ctx[23]}set categoriesicon(t){this.$$set({categoriesicon:t}),e.flush()}get lobbyiconimage(){return this.$$.ctx[24]}set lobbyiconimage(t){this.$$set({lobbyiconimage:t}),e.flush()}get mygamesiconimage(){return this.$$.ctx[25]}set mygamesiconimage(t){this.$$set({mygamesiconimage:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[26]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get periodrecent(){return this.$$.ctx[31]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[32]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[33]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[34]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[35]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[36]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[37]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[38]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[39]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[40]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[41]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[42]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[43]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[44]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[45]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get showsubgroups(){return this.$$.ctx[46]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[47]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get positioncollections(){return this.$$.ctx[48]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[49]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[50]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[51]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[52]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[53]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[54]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[55]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[56]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[57]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayed(){return this.$$.ctx[58]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[59]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get lastplayed(){return this.$$.ctx[60]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get specificcategory(){return this.$$.ctx[61]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[62]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[63]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[64]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[65]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[66]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[67]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get addfilterselector(){return this.$$.ctx[68]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[69]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[70]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[71]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get mbsource(){return this.$$.ctx[72]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get showmoresections(){return this.$$.ctx[73]}set showmoresections(t){this.$$set({showmoresections:t}),e.flush()}get categorieslimit(){return this.$$.ctx[74]}set categorieslimit(t){this.$$set({categorieslimit:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[75]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}get currencylocale(){return this.$$.ctx[76]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(xe,{endpoint:{},cmsendpoint:{},env:{},datasource:{},lang:{},session:{},userid:{},opsession:{},clientstyling:{},clientstylingurl:{},lobbyid:{},currency:{},filteredcategories:{},userroles:{},translationurl:{},favorites:{},desktopoffset:{},mobileoffset:{},haspanicbutton:{},activecategory:{},actionevent:{},livecasino:{},showgamename:{},playrandomgame:{},randomgameslider:{},visiblegames:{},integratedgameframedesktop:{},integratedgameframemobile:{},gamepagemodalurl:{},casinogamesgridslider:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},showsubgroups:{},realtimeupdate:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},positioncasinocalendar:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayed:{},mostplayedrounds:{},lastplayed:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},positionjelobbywidget:{},randombuttonicon:{},filteredrandomgamecategories:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},winnersdatasources:{},mbsource:{},showmoresections:{},categorieslimit:{},usesinglevendorfilter:{},currencylocale:{}},["content"],[],!0);exports.default=xe;
@@ -35,7 +35,7 @@ if (typeof window < "u") {
35
35
  }
36
36
  };
37
37
  };
38
- customElements.define = a(customElements.define), import("./CasinoPage-CW3QiTN3.js").then(({ default: e }) => {
38
+ customElements.define = a(customElements.define), import("./CasinoPage-BTIq9Kbn.js").then(({ default: e }) => {
39
39
  !customElements.get("casino-page") && customElements.define("casino-page", e.element);
40
40
  });
41
41
  }
@@ -1,5 +1,5 @@
1
1
  import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, M as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-D4LpPl-1.js";
2
- import "./CasinoFavoritesSection-DNhx0TCJ.js";
2
+ import "./CasinoFavoritesSection-Cz22fnDy.js";
3
3
  function K(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, M as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-BF8mewVC.js";
2
- import "./CasinoFavoritesSection-CKG08mvP.js";
2
+ import "./CasinoFavoritesSection-B3x9NiUP.js";
3
3
  function K(a, e) {
4
4
  $(a, e);
5
5
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DglR4hXB.cjs");require("./CasinoFavoritesSection-D-UkXryn.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DglR4hXB.cjs");require("./CasinoFavoritesSection-BziW8UfM.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[19]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,_)=>{fetch(D).then(f=>f.json()).then(f=>{f.items=f.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(19,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(18,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(21,G=s.translationurl),"casinomygames"in s&&a(16,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&262272&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&262400&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&262208&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,P,F,c,T,i,G,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:21,casinomygames:16,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;