@everymatrix/casino-page 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 (25) hide show
  1. package/components/{CasinoFavoritesSection-CcsvkrzG.js → CasinoFavoritesSection-15WfSHcI.js} +1 -1
  2. package/components/{CasinoFavoritesSection-Bxc02QvN.js → CasinoFavoritesSection-BIPzIdJK.js} +1 -1
  3. package/components/{CasinoFavoritesSection-W3TMRpsu.cjs → CasinoFavoritesSection-C6XGIN7R.cjs} +1 -1
  4. package/components/{CasinoGamesCategorySection-D-NYfWaO.cjs → CasinoGamesCategorySection-C6L9fU4G.cjs} +1 -1
  5. package/components/{CasinoGamesCategorySection-C71lsvsg.js → CasinoGamesCategorySection-CZ_sXb6J.js} +32 -33
  6. package/components/{CasinoGamesCategorySection-DqEYl0Es.js → CasinoGamesCategorySection-_qtWYAxJ.js} +39 -40
  7. package/components/{CasinoLastPlayedSection-BeOw-UDm.js → CasinoLastPlayedSection-BOb0UoxP.js} +1 -1
  8. package/components/{CasinoLastPlayedSection-ESrwXqVH.cjs → CasinoLastPlayedSection-D5Y8ymbu.cjs} +1 -1
  9. package/components/{CasinoLastPlayedSection-HNf5v3xk.js → CasinoLastPlayedSection-D8IOkWQQ.js} +1 -1
  10. package/components/{CasinoMostPlayedSection-DnCmD7jr.cjs → CasinoMostPlayedSection-4hXjYh2B.cjs} +1 -1
  11. package/components/{CasinoMostPlayedSection-ZxeqcEG3.js → CasinoMostPlayedSection-C00jH3qV.js} +1 -1
  12. package/components/{CasinoMostPlayedSection-Cv7_gNa_.js → CasinoMostPlayedSection-QhH_7oJp.js} +1 -1
  13. package/components/{CasinoMyGames-Ds1zAHP9.cjs → CasinoMyGames-BXmKcQmh.cjs} +1 -1
  14. package/components/{CasinoMyGames-q-Hw-yUp.js → CasinoMyGames-P7nn8sl8.js} +3 -3
  15. package/components/{CasinoMyGames-B3n4oh-A.js → CasinoMyGames-cvBJyvlk.js} +3 -3
  16. package/components/{CasinoPage-CoS68iHm.js → CasinoPage-CMbd-bKC.js} +29 -29
  17. package/components/{CasinoPage-Cb9IWIAt.cjs → CasinoPage-N6WrQw0i.cjs} +1 -1
  18. package/components/{CasinoPage-aiERH-v5.js → CasinoPage-ijaBq607.js} +29 -29
  19. package/components/{CasinoSearch-CBVEB2Fu.js → CasinoSearch-BfLH14tM.js} +1 -1
  20. package/components/{CasinoSearch-JYJ0TOYC.js → CasinoSearch-D0B7vBKF.js} +1 -1
  21. package/components/{CasinoSearch-CPSvAdm9.cjs → CasinoSearch-DZuZ7rfA.cjs} +1 -1
  22. package/es2015/casino-page.cjs +1 -1
  23. package/es2015/casino-page.js +1 -1
  24. package/esnext/casino-page.js +1 -1
  25. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { a as Oa, $ as Ha, S as Ba, i as Va, f as M, s as qa, K as Wa, b as Ya, n as _e, d as y, h as S, j as G, r as d, k as Ja, W as Ka, o as Xa, X as Ne, C as oe, T as X, p as k, B as W, l as pe, P as Za, m as D, q as T, v as se, Y as _a, Z as pa, E as t, w as Qa, A as xa, F as $, L as $a, H as ei, I as ai, J as ii } from "./CasinoCalendar-CL5PkzEO.js";
2
- import { h as Ie } from "./CasinoGameThumbnail-CBE1pMbX.js";
1
+ import { a as Oa, $ as Ha, S as Ba, i as Va, f as M, s as qa, K as Wa, b as Ya, n as _e, d as y, h as S, j as G, r as d, k as Ja, W as Ka, o as Xa, X as Ee, C as oe, T as X, p as k, B as W, l as pe, P as Za, m as D, q as T, v as se, Y as _a, Z as pa, E as t, w as Qa, A as xa, F as $, L as $a, H as ei, I as ai, J as ii } from "./CasinoCalendar-CL5PkzEO.js";
2
+ import { h as Ne } from "./CasinoGameThumbnail-CBE1pMbX.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
  Ja(i, $a, (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", Za(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 && ei(V, h), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2875
2874
  8389632 && p && V && ai(V, p), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
2876
- 10485760 && V && ii(V, `${Ae}.Style`);
2875
+ 10485760 && V && ii(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,4 +1,4 @@
1
- var je = (i, e, a) => new Promise((n, o) => {
1
+ var Ie = (i, e, a) => new Promise((n, o) => {
2
2
  var s = (u) => {
3
3
  try {
4
4
  m(a.next(u));
@@ -14,8 +14,8 @@ var je = (i, e, a) => new Promise((n, o) => {
14
14
  }, m = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, r);
15
15
  m((a = a.apply(i, e)).next());
16
16
  });
17
- import { a as Ba, $ as Va, S as qa, i as Wa, s as Ya, f as M, b as Ja, n as pe, d as S, h as F, j as C, r as d, k as Ka, W as Xa, o as Za, X as Ae, C as se, T as Q, p as y, B as K, l as be, P as Qa, m as O, q as P, v as le, Y as va, E as t, Z as wa, w as xa, A as $a, F as ae, H as ei, I as ai, J as ii, K as ni, L as ti } from "./CasinoCalendar-Vkb-R-ZX.js";
18
- import { h as Le } from "./CasinoGameThumbnail-DXQLodRv.js";
17
+ import { a as Ba, $ as Va, S as qa, i as Wa, s as Ya, f as M, b as Ja, n as pe, d as S, h as F, j as C, r as d, k as Ka, W as Xa, o as Za, X as je, C as se, T as Q, p as y, B as K, l as be, P as Qa, m as O, q as P, v as le, Y as va, E as t, Z as wa, w as xa, A as $a, F as ae, H as ei, I as ai, J as ii, K as ni, L as ti } from "./CasinoCalendar-Vkb-R-ZX.js";
18
+ import { h as Ae } from "./CasinoGameThumbnail-DXQLodRv.js";
19
19
  if (typeof window != "undefined") {
20
20
  let i = function(e) {
21
21
  return function(...a) {
@@ -2527,7 +2527,7 @@ let Li = 0;
2527
2527
  function Ri(i, e, a) {
2528
2528
  let n;
2529
2529
  Ka(i, ti, (l) => a(43, n = l));
2530
- 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: G = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: T = "true" } = e, { integratedgameframedesktop: R = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: V = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: Xe = "" } = e, { casinogamesgridslider: Ze = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Re = "casino" } = e, { actionevent: Te = "CategoryChange" } = e, { displayedgamecount: ke = "10" } = e, { showallbuttongamescount: ye = "10" } = e, { mbsource: Pe } = e, { lobbyscreen: Se = "true" } = e, { usesinglevendorfilter: Fe = "false" } = e, { visiblegames: De = "10" } = e, x = !0, Ue = !1, Ge, Ce, X = !0, Qe = window.navigator.userAgent, I, z = [], $ = !0, ne = 40, Z = !1, Me = !1, me = !1, Oe = !1, He = !0, ue = !1, ce, Be, fe, ge = !1, W, ze = !1, de = new Array(1e4), he = {}, Ve = "", te = "", Ee, qe, j, B = [], Ne = new AbortController(), oe = { items: [], count: 0, name: "" };
2530
+ 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: G = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: T = "true" } = e, { integratedgameframedesktop: R = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: V = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: Xe = "" } = e, { casinogamesgridslider: Ze = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Le = "casino" } = e, { actionevent: Re = "CategoryChange" } = e, { displayedgamecount: ke = "10" } = e, { showallbuttongamescount: ye = "10" } = e, { mbsource: Te } = e, { lobbyscreen: Pe = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: De = "10" } = e, x = !0, Ue = !1, Fe, Ge, X = !0, Qe = window.navigator.userAgent, I, z = [], $ = !0, ne = 40, Z = !1, Ce = !1, me = !1, Oe = !1, He = !0, ue = !1, ce, Be, fe, ge = !1, W, Me = !1, de = new Array(1e4), he = {}, Ve = "", te = "", ze, qe, j, B = [], Ee = new AbortController(), oe = { items: [], count: 0, name: "" };
2531
2531
  const ka = () => {
2532
2532
  fetch(G).then((_) => _.json()).then((_) => {
2533
2533
  Object.keys(_).forEach((w) => {
@@ -2539,9 +2539,9 @@ function Ri(i, e, a) {
2539
2539
  };
2540
2540
  Object.keys(na).forEach((l) => {
2541
2541
  ia(l, na[l]);
2542
- }), typeof document.hidden != "undefined" ? Ee = "hidden" : typeof document.msHidden != "undefined" ? Ee = "msHidden" : typeof document.webkitHidden != "undefined" && (Ee = "webkitHidden");
2543
- let Ie = new IntersectionObserver((l) => {
2544
- l.forEach((_) => je(this, null, function* () {
2542
+ }), typeof document.hidden != "undefined" ? ze = "hidden" : typeof document.msHidden != "undefined" ? ze = "msHidden" : typeof document.webkitHidden != "undefined" && (ze = "webkitHidden");
2543
+ let Ne = new IntersectionObserver((l) => {
2544
+ l.forEach((_) => Ie(this, null, function* () {
2545
2545
  let w = _.target.gameid, E = _.target.elems_index;
2546
2546
  _.isIntersecting ? (E * 1.2 > ne && za(v), a(40, he[w] = 1, he)) : a(40, he[w] = 0, he);
2547
2547
  }));
@@ -2560,7 +2560,7 @@ function Ri(i, e, a) {
2560
2560
  k.items.forEach((q) => {
2561
2561
  q.gameModel && (j.push(q), B.includes(q.id) || B.push(q.id));
2562
2562
  });
2563
- const H = (D = Ae(j)) == null ? void 0 : D.length;
2563
+ const H = (D = je(j)) == null ? void 0 : D.length;
2564
2564
  window.postMessage({
2565
2565
  type: "UpdateFavoritesCount",
2566
2566
  favoriteGamesLength: H
@@ -2588,7 +2588,7 @@ function Ri(i, e, a) {
2588
2588
  (J = k.items) == null || J.forEach((q) => {
2589
2589
  q.gameModel && (j.push(q), B.includes(q.id) || B.push(q.id));
2590
2590
  });
2591
- const H = (D = Ae(j)) == null ? void 0 : D.length;
2591
+ const H = (D = je(j)) == null ? void 0 : D.length;
2592
2592
  window.postMessage({
2593
2593
  type: "UpdateFavoritesCount",
2594
2594
  favoriteGamesLength: H
@@ -2602,15 +2602,15 @@ function Ri(i, e, a) {
2602
2602
  } else
2603
2603
  w([]);
2604
2604
  }), xe = (l, _, w, E) => {
2605
- Ne && Ne.abort(), Ne = new AbortController();
2606
- const A = Ne.signal;
2605
+ Ee && Ee.abort(), Ee = new AbortController();
2606
+ const A = Ee.signal;
2607
2607
  a(25, x = !0);
2608
2608
  let L = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), D = JSON.parse(localStorage.getItem("vendorSortingBy"));
2609
- const H = Fe === "true" ? "*" : l;
2609
+ const H = Se === "true" ? "*" : l;
2610
2610
  return (l.match(/\$/g) || []).length > 1 ? (L = l.split("$").slice(0, 2).join("$"), k = new URL(`${o}/v1/casino/groups/${s}/${L}/subGroups`)) : k = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((q, Ha) => {
2611
2611
  var aa;
2612
2612
  if (k.searchParams.delete("pagination"), k.searchParams.append("expand", "games(vendor)"), k.searchParams.append("fields", "id,name,games"), k.searchParams.append("platform", Qa(Qe)), k.searchParams.append("pagination", `games(offset=${_},limit=${w})`), k.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((aa = J[H]) != null && aa.length))
2613
- if (Fe === "true" || X === !1 && ge === !1) {
2613
+ if (Se === "true" || X === !1 && ge === !1) {
2614
2614
  let U = "";
2615
2615
  a(34, Oe = !0), J[H].forEach((ee) => {
2616
2616
  U = U + (U ? `,games(vendor(id=${ee}))` : `games(vendor(id=${ee}))`);
@@ -2642,7 +2642,7 @@ function Ri(i, e, a) {
2642
2642
  const l = W.getRootNode().host;
2643
2643
  l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
2644
2644
  }, Fa = (l, _, w) => {
2645
- l !== "" && (a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, me = !1), ze = !1, a(30, $ = +_ > +w), _e(l, 0, +_).then((E) => {
2645
+ l !== "" && (a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, me = !1), Me = !1, a(30, $ = +_ > +w), _e(l, 0, +_).then((E) => {
2646
2646
  a(28, I = E), a(29, z = I.games.items), z && z.forEach((A) => {
2647
2647
  A.isFavorite = Y(A.id);
2648
2648
  });
@@ -2673,20 +2673,20 @@ function Ri(i, e, a) {
2673
2673
  })), a(25, x = !1);
2674
2674
  break;
2675
2675
  case "RecentSearchData":
2676
- a(31, Z = !0), a(32, Me = !0), l.data.searchData.length > 0 ? (a(29, z = l.data.searchData), a(35, He = !0), z && z.forEach((_) => {
2676
+ a(31, Z = !0), a(32, Ce = !0), l.data.searchData.length > 0 ? (a(29, z = l.data.searchData), a(35, He = !0), z && z.forEach((_) => {
2677
2677
  _.isFavorite = Y(_.id);
2678
2678
  })) : (a(29, z = []), a(35, He = !1));
2679
2679
  break;
2680
2680
  case "OutOfRecentSearches":
2681
- a(31, Z = !1), a(32, Me = !1);
2681
+ a(31, Z = !1), a(32, Ce = !1);
2682
2682
  break;
2683
2683
  case "SearchData":
2684
- a(31, Z = !0), a(32, Me = !1), a(29, z = l.data.searchData.items || []), a(33, me = !0), l.data.receivedFavoriteResults && (j = l.data.receivedFavoriteResults.items), z && z.forEach((_) => {
2684
+ a(31, Z = !0), a(32, Ce = !1), a(29, z = l.data.searchData.items || []), a(33, me = !0), l.data.receivedFavoriteResults && (j = l.data.receivedFavoriteResults.items), z && z.forEach((_) => {
2685
2685
  _.isFavorite = Y(_.id);
2686
2686
  });
2687
2687
  break;
2688
2688
  case `CategoryData_${v}`:
2689
- a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, me = !1), ze = !1, _e(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
2689
+ a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, me = !1), Me = !1, _e(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
2690
2690
  a(28, I = _), a(29, z = I.games.items), a(30, $ = !!(Be <= l.data.visiblegames && X)), z && z.forEach((w) => {
2691
2691
  w.isFavorite = Y(w.id);
2692
2692
  });
@@ -2710,14 +2710,14 @@ function Ri(i, e, a) {
2710
2710
  Ca(`${o}/v1/player/${u}/favorites`, m, l.data.id);
2711
2711
  break;
2712
2712
  case "UserSessionID":
2713
- Ge = l.data.session, Ce = l.data.userID, f == "true" && Ce && Ce.length && Ge && Ge.length > 0 && We(Ge, Ce);
2713
+ Fe = l.data.session, Ge = l.data.userID, f == "true" && Ge && Ge.length && Fe && Fe.length > 0 && We(Fe, Ge);
2714
2714
  break;
2715
2715
  case "UpdateFavoredList":
2716
2716
  v === "FAVORITES" && Je(l.data.url, l.data.sessionID);
2717
2717
  break;
2718
2718
  }
2719
2719
  }, $e = (l) => {
2720
- a(31, Z = !1), a(27, X = Se === "true"), a(33, me = !1), ze = !0, a(36, ue = !1), a(0, v = l), v !== "MOSTPLAYED" && a(30, $ = !1), V !== "true" && (!j && m && We(m, u), _e(v, 0, ne).then((_) => {
2720
+ a(31, Z = !1), a(27, X = Pe === "true"), a(33, me = !1), Me = !0, a(36, ue = !1), a(0, v = l), v !== "MOSTPLAYED" && a(30, $ = !1), V !== "true" && (!j && m && We(m, u), _e(v, 0, ne).then((_) => {
2721
2721
  var w;
2722
2722
  a(28, I = _), (w = I == null ? void 0 : I.games) == null || w.items.forEach((E) => {
2723
2723
  E.isFavorite = Y(E.id);
@@ -2749,7 +2749,7 @@ function Ri(i, e, a) {
2749
2749
  var _;
2750
2750
  return (_ = j == null ? void 0 : j.some((w) => w.id === l)) != null ? _ : !1;
2751
2751
  };
2752
- let Ca = (l, _, w) => je(this, null, function* () {
2752
+ let Ca = (l, _, w) => Ie(this, null, function* () {
2753
2753
  yield Je(l, _), B.includes(w) || B.push(w);
2754
2754
  let A = {
2755
2755
  method: "POST",
@@ -2779,7 +2779,7 @@ function Ri(i, e, a) {
2779
2779
  window.location.href
2780
2780
  ), Je(l, _);
2781
2781
  }), B.includes(w) && (B = B.filter((A) => A != w));
2782
- }, Je = (l, _) => je(this, null, function* () {
2782
+ }, Je = (l, _) => Ie(this, null, function* () {
2783
2783
  return fetch(l, {
2784
2784
  method: "GET",
2785
2785
  headers: { "X-SessionID": _ }
@@ -2790,7 +2790,7 @@ function Ri(i, e, a) {
2790
2790
  }), Ga()) : j.forEach((k) => {
2791
2791
  k.isFavorite = Y(k.id);
2792
2792
  });
2793
- const A = (L = Ae(j)) == null ? void 0 : L.length;
2793
+ const A = (L = je(j)) == null ? void 0 : L.length;
2794
2794
  v === "FAVORITES" && (window.postMessage({
2795
2795
  type: "UpdateFavoritesCount",
2796
2796
  favoriteGamesLength: A
@@ -2804,7 +2804,7 @@ function Ri(i, e, a) {
2804
2804
  let _;
2805
2805
  _ = (l == null ? void 0 : l.items) || l || [], _.length > 0 && _.forEach((w) => {
2806
2806
  w.gameModel && (w.gameModel.isFavorite = !0);
2807
- }), a(42, oe.items = Ae(_, oe.items), oe), a(42, oe.name = "Favorites", oe), a(25, x = !1);
2807
+ }), a(42, oe.items = je(_, oe.items), oe), a(42, oe.name = "Favorites", oe), a(25, x = !1);
2808
2808
  }, za = (l) => {
2809
2809
  ne += 1, a(36, ue = !0), ne <= Be && _e(l, Li, ne).then((_) => {
2810
2810
  a(28, I = _), I.games.items.length > z.length && (a(29, z = I.games.items), z.forEach((w) => {
@@ -2819,14 +2819,14 @@ function Ri(i, e, a) {
2819
2819
  const L = new Date(Date.now());
2820
2820
  return _.forEach((k, J) => {
2821
2821
  const D = new Date(k.schedules[0].startTime), H = new Date(k.schedules[0].endTime);
2822
- Le(H).diff(L) < E && (E = Le(H).diff(L), A = J), Le(L).isAfter(D) && Le(L).isBefore(H) && (w = _[A].name);
2822
+ Ae(H).diff(L) < E && (E = Ae(H).diff(L), A = J), Ae(L).isAfter(D) && Ae(L).isBefore(H) && (w = _[A].name);
2823
2823
  }), w;
2824
2824
  }, ea = (l) => {
2825
2825
  a(30, $ = !1), window.postMessage(
2826
2826
  {
2827
- type: `${Te}`,
2827
+ type: `${Re}`,
2828
2828
  itemId: l,
2829
- showallpage: Re
2829
+ showallpage: Le
2830
2830
  },
2831
2831
  window.location.href
2832
2832
  );
@@ -2846,16 +2846,16 @@ function Ri(i, e, a) {
2846
2846
  break;
2847
2847
  }
2848
2848
  }, Ia = () => {
2849
- document[Ee] ? a(41, Ve = "disconnect") : a(41, Ve = "connect");
2849
+ document[ze] ? a(41, Ve = "disconnect") : a(41, Ve = "connect");
2850
2850
  }, ja = () => {
2851
- ze && de.forEach((l, _) => {
2852
- l && (l.elems_index = _, Ie.observe(l));
2851
+ Me && de.forEach((l, _) => {
2852
+ l && (l.elems_index = _, Ne.observe(l));
2853
2853
  });
2854
2854
  }, Aa = () => {
2855
2855
  oi(r);
2856
2856
  };
2857
2857
  Xa(() => {
2858
- Ie == null || Ie.disconnect();
2858
+ Ne == null || Ne.disconnect();
2859
2859
  }), Za(() => (window.addEventListener("visibilitychange", (l) => Ia()), window.addEventListener("message", Ye, !1), () => {
2860
2860
  window.removeEventListener("message", Ye), window.removeEventListener("visibilitychange", Ye);
2861
2861
  }));
@@ -2891,7 +2891,7 @@ function Ri(i, e, a) {
2891
2891
  });
2892
2892
  }
2893
2893
  return i.$$set = (l) => {
2894
- "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, G = l.translationurl), "currency" in l && a(12, N = 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, T = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, R = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, V = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, we = l.addsortingselector), "filterbylogo" in l && a(19, Xe = l.filterbylogo), "casinogamesgridslider" in l && a(20, Ze = l.casinogamesgridslider), "fetchviaevent" in l && a(47, re = l.fetchviaevent), "showallpage" in l && a(48, Re = l.showallpage), "actionevent" in l && a(49, Te = l.actionevent), "displayedgamecount" in l && a(50, ke = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ye = l.showallbuttongamescount), "mbsource" in l && a(21, Pe = l.mbsource), "lobbyscreen" in l && a(52, Se = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Fe = l.usesinglevendorfilter), "visiblegames" in l && a(53, De = l.visiblegames);
2894
+ "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, G = l.translationurl), "currency" in l && a(12, N = 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, T = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, R = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, V = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, we = l.addsortingselector), "filterbylogo" in l && a(19, Xe = l.filterbylogo), "casinogamesgridslider" in l && a(20, Ze = l.casinogamesgridslider), "fetchviaevent" in l && a(47, re = l.fetchviaevent), "showallpage" in l && a(48, Le = l.showallpage), "actionevent" in l && a(49, Re = l.actionevent), "displayedgamecount" in l && a(50, ke = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ye = l.showallbuttongamescount), "mbsource" in l && a(21, Te = l.mbsource), "lobbyscreen" in l && a(52, Pe = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Se = l.usesinglevendorfilter), "visiblegames" in l && a(53, De = l.visiblegames);
2895
2895
  }, i.$$.update = () => {
2896
2896
  i.$$.dirty[0] & /*lang*/
2897
2897
  32 && r && Aa(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
@@ -2900,12 +2900,11 @@ function Ri(i, e, a) {
2900
2900
  456 && f === "true" && o && m && u && We(m, u), i.$$.dirty[0] & /*thumbnailContainer*/
2901
2901
  16777216 | i.$$.dirty[1] & /*dataloaded*/
2902
2902
  8388608 && qe && de && ja(), i.$$.dirty[0] & /*lang, categoryid*/
2903
- 33 | i.$$.dirty[1] & /*lobbyscreen*/
2904
- 2097152 && Se && r && v && Na(), i.$$.dirty[0] & /*translationurl*/
2903
+ 33 && r && v && Na(), i.$$.dirty[0] & /*translationurl*/
2905
2904
  2048 && G && ka(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2906
2905
  8389120 && h && W && ei(W, h), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2907
2906
  8389632 && p && W && ai(W, p), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
2908
- 10485760 && W && ii(W, `${Pe}.Style`);
2907
+ 10485760 && W && ii(W, `${Te}.Style`);
2909
2908
  }, [
2910
2909
  v,
2911
2910
  ve,
@@ -2928,8 +2927,8 @@ function Ri(i, e, a) {
2928
2927
  V,
2929
2928
  Xe,
2930
2929
  Ze,
2931
- Pe,
2932
- Fe,
2930
+ Te,
2931
+ Se,
2933
2932
  W,
2934
2933
  de,
2935
2934
  x,
@@ -2939,7 +2938,7 @@ function Ri(i, e, a) {
2939
2938
  z,
2940
2939
  $,
2941
2940
  Z,
2942
- Me,
2941
+ Ce,
2943
2942
  me,
2944
2943
  Oe,
2945
2944
  He,
@@ -2955,11 +2954,11 @@ function Ri(i, e, a) {
2955
2954
  Ea,
2956
2955
  ea,
2957
2956
  re,
2957
+ Le,
2958
2958
  Re,
2959
- Te,
2960
2959
  ke,
2961
2960
  ye,
2962
- Se,
2961
+ Pe,
2963
2962
  De,
2964
2963
  qe,
2965
2964
  La,
@@ -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, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-CL5PkzEO.js";
2
- import "./CasinoFavoritesSection-Bxc02QvN.js";
2
+ import "./CasinoFavoritesSection-BIPzIdJK.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-B7HDzCMK.cjs");require("./CasinoFavoritesSection-W3TMRpsu.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-B7HDzCMK.cjs");require("./CasinoFavoritesSection-C6XGIN7R.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, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-Vkb-R-ZX.js";
2
- import "./CasinoFavoritesSection-CcsvkrzG.js";
2
+ import "./CasinoFavoritesSection-15WfSHcI.js";
3
3
  function K(s, e) {
4
4
  ee(s, e);
5
5
  }