@everymatrix/casino-most-played-section 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.
@@ -1,5 +1,5 @@
1
- import { a as Oa, $ as Ba, S as Ha, i as Va, f as M, s as qa, F as Wa, b as Ya, n as _e, d as y, j as S, l as G, h as d, p as Ja, I as Ka, q as Xa, J as Ne, x as oe, u as X, k, m as W, v as pe, w as Za, g as D, o as T, y as se, K as _a, e as t, L as pa, z as Qa, r as xa, B as $, G as $a, C as ei, D as ai, E as ii } from "./CasinoFilter-CZl1cztJ.js";
2
- import { h as Ie } from "./CasinoGameThumbnail-BS8fymkb.js";
1
+ import { a as Oa, $ as Ba, S as Ha, i as Va, f as M, s as qa, F as Wa, b as Ya, n as _e, d as y, j as S, l as G, h as d, p as Ja, I as Ka, q as Xa, J as Ee, x as oe, u as X, k, m as W, v as pe, w as Za, g as D, o as T, y as se, K as _a, e as t, L as pa, z as Qa, r as xa, B as $, G as $a, C as ei, D as ai, E as ii } from "./CasinoFilter-CZl1cztJ.js";
2
+ import { h as Ne } from "./CasinoGameThumbnail-BS8fymkb.js";
3
3
  function $e(i, e) {
4
4
  Oa(i, e);
5
5
  }
@@ -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: B = "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: Le } = e, { lobbyscreen: ye = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: Ae = "10" } = e, Z = !0, Te = !1, Fe, Ge, Y = !0, Ke = window.navigator.userAgent, A, 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, Be, 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: B = "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: Le = "true" } = e, { usesinglevendorfilter: ye = "false" } = e, { visiblegames: Ae = "10" } = e, Z = !0, Te = !1, Se, Fe, Y = !0, Ke = window.navigator.userAgent, A, 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, Be, 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((H) => {
2538
2538
  H.gameModel && (R.push(H), O.includes(H.id) || O.push(H.id));
2539
2539
  });
2540
- const L = Ne(R)?.length;
2540
+ const L = Ee(R)?.length;
2541
2541
  window.postMessage({
2542
2542
  type: "UpdateFavoritesCount",
2543
2543
  favoriteGamesLength: L
@@ -2564,7 +2564,7 @@ function Ri(i, e, a) {
2564
2564
  C.items?.forEach((L) => {
2565
2565
  L.gameModel && (R.push(L), O.includes(L.id) || O.push(L.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")), L = JSON.parse(localStorage.getItem("vendorSortingBy"));
2585
- const H = Se === "true" ? "*" : l;
2585
+ const H = 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[H]?.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[H].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, A = N), a(29, z = A.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, A = _), a(29, z = A.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 && He(Fe, Ge);
2688
+ Se = l.data.session, Fe = l.data.userID, f == "true" && Fe && Fe.length && Se && Se.length > 0 && He(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), B !== "true" && (!R && m && He(m, u), he(v, 0, ae).then((_) => {
2695
+ a(31, J = !1), a(27, Y = Le === "true"), a(33, re = !1), Ce = !0, a(36, me = !1), a(0, v = l), v !== "MOSTPLAYED" && a(30, Q = !1), B !== "true" && (!R && m && He(m, u), he(v, 0, ae).then((_) => {
2696
2696
  a(28, A = _), A?.games?.items.forEach((w) => {
2697
2697
  w.isFavorite = q(w.id);
2698
2698
  }), a(29, z = A?.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, A = _), A.games.items.length > z.length && (a(29, z = A.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 L = new Date(C.schedules[0].startTime), H = new Date(C.schedules[0].endTime);
2790
- Ie(H).diff(I) < N && (N = Ie(H).diff(I), j = K), Ie(I).isAfter(L) && Ie(I).isBefore(H) && (w = _[j].name);
2790
+ Ne(H).diff(I) < N && (N = Ne(H).diff(I), j = K), Ne(I).isAfter(L) && Ne(I).isBefore(H) && (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, B = 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, Le = l.mbsource), "lobbyscreen" in l && a(52, ye = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Se = l.usesinglevendorfilter), "visiblegames" in l && a(53, Ae = 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, B = 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, Le = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, ye = l.usesinglevendorfilter), "visiblegames" in l && a(53, Ae = 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 && He(m, u), i.$$.dirty[0] & /*thumbnailContainer*/
2869
2869
  16777216 | i.$$.dirty[1] & /*dataloaded*/
2870
2870
  8388608 && Be && 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, `${Le}.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
  B,
2897
2896
  Ye,
2898
2897
  Je,
2899
- Le,
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
+ Le,
2931
2930
  Ae,
2932
2931
  Be,
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 Ha, $ as Va, S as qa, i as Wa, s as Ya, f as M, b as Ja, n as pe, d as S, j as F, l as C, h as d, p as Ka, I as Xa, q as Za, J as Le, x as se, u as Q, k as y, m as K, v as be, w as Qa, g as O, o as P, y as le, K as va, e as t, L as wa, z as xa, r as $a, B as ae, C as ei, D as ai, E as ii, F as ni, G as ti } from "./CasinoFilter-fITDy2f1.js";
18
- import { h as Ae } from "./CasinoGameThumbnail-BaX6mLdw.js";
17
+ import { a as Ha, $ as Va, S as qa, i as Wa, s as Ya, f as M, b as Ja, n as pe, d as S, j as F, l as C, h as d, p as Ka, I as Xa, q as Za, J as je, x as se, u as Q, k as y, m as K, v as be, w as Qa, g as O, o as P, y as le, K as va, e as t, L as wa, z as xa, r as $a, B as ae, C as ei, D as ai, E as ii, F as ni, G as ti } from "./CasinoFilter-fITDy2f1.js";
18
+ import { h as Le } from "./CasinoGameThumbnail-BaX6mLdw.js";
19
19
  function ia(i, e) {
20
20
  Ha(i, e);
21
21
  }
@@ -2527,7 +2527,7 @@ let Ai = 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, Be = !0, ue = !1, ce, He, fe, ge = !1, W, ze = !1, de = new Array(1e4), he = {}, Ve = "", te = "", Ee, qe, j, H = [], 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: Ae = "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, Be = !0, ue = !1, ce, He, fe, ge = !1, W, Me = !1, de = new Array(1e4), he = {}, Ve = "", te = "", ze, qe, j, H = [], 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), H.includes(q.id) || H.push(q.id));
2562
2562
  });
2563
- const B = (D = Le(j)) == null ? void 0 : D.length;
2563
+ const B = (D = je(j)) == null ? void 0 : D.length;
2564
2564
  window.postMessage({
2565
2565
  type: "UpdateFavoritesCount",
2566
2566
  favoriteGamesLength: B
@@ -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), H.includes(q.id) || H.push(q.id));
2590
2590
  });
2591
- const B = (D = Le(j)) == null ? void 0 : D.length;
2591
+ const B = (D = je(j)) == null ? void 0 : D.length;
2592
2592
  window.postMessage({
2593
2593
  type: "UpdateFavoritesCount",
2594
2594
  favoriteGamesLength: B
@@ -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 L = Ne.signal;
2605
+ Ee && Ee.abort(), Ee = new AbortController();
2606
+ const L = Ee.signal;
2607
2607
  a(25, x = !0);
2608
2608
  let A = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), D = JSON.parse(localStorage.getItem("vendorSortingBy"));
2609
- const B = Fe === "true" ? "*" : l;
2609
+ const B = Se === "true" ? "*" : l;
2610
2610
  return (l.match(/\$/g) || []).length > 1 ? (A = l.split("$").slice(0, 2).join("$"), k = new URL(`${o}/v1/casino/groups/${s}/${A}/subGroups`)) : k = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((q, Ba) => {
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[B]) != 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[B].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((L) => {
2647
2647
  L.isFavorite = Y(L.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, Be = !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, Be = !0), z && z.forEach((_) => {
2677
2677
  _.isFavorite = Y(_.id);
2678
2678
  })) : (a(29, z = []), a(35, Be = !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, $ = !!(He <= 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, _), H.includes(w) || H.push(w);
2754
2754
  let L = {
2755
2755
  method: "POST",
@@ -2779,7 +2779,7 @@ function Ri(i, e, a) {
2779
2779
  window.location.href
2780
2780
  ), Je(l, _);
2781
2781
  }), H.includes(w) && (H = H.filter((L) => L != 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 L = (A = Le(j)) == null ? void 0 : A.length;
2793
+ const L = (A = je(j)) == null ? void 0 : A.length;
2794
2794
  v === "FAVORITES" && (window.postMessage({
2795
2795
  type: "UpdateFavoritesCount",
2796
2796
  favoriteGamesLength: L
@@ -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 = Le(_, 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 <= He && _e(l, Ai, 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 A = new Date(Date.now());
2820
2820
  return _.forEach((k, J) => {
2821
2821
  const D = new Date(k.schedules[0].startTime), B = new Date(k.schedules[0].endTime);
2822
- Ae(B).diff(A) < E && (E = Ae(B).diff(A), L = J), Ae(A).isAfter(D) && Ae(A).isBefore(B) && (w = _[L].name);
2822
+ Le(B).diff(A) < E && (E = Le(B).diff(A), L = J), Le(A).isAfter(D) && Le(A).isBefore(B) && (w = _[L].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: Ae
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
  }, La = () => {
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, Ae = 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 && La(), 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
  Be,
@@ -2955,11 +2954,11 @@ function Ri(i, e, a) {
2955
2954
  Ea,
2956
2955
  ea,
2957
2956
  re,
2957
+ Ae,
2958
2958
  Re,
2959
- Te,
2960
2959
  ke,
2961
2960
  ye,
2962
- Se,
2961
+ Pe,
2963
2962
  De,
2964
2963
  qe,
2965
2964
  Aa,
@@ -1 +1 @@
1
- "use strict";var pe=(s,t,a)=>new Promise((n,o)=>{var l=u=>{try{m(a.next(u))}catch(_){o(_)}},r=u=>{try{m(a.throw(u))}catch(_){o(_)}},m=u=>u.done?n(u.value):Promise.resolve(u.value).then(l,r);m((a=a.apply(s,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFilter-WNFrQkQJ.cjs"),be=require("./CasinoGameThumbnail-CYDuVrC6.cjs");function Oe(s,t){e.addMessages(s,t)}function Gt(s){e.$locale.set(s)}const He={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",500:"500 Error - Internal Server Error.",404:"404 Error - No result found."},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待",500:"500 錯誤 - 內部伺服器錯誤。",404:"404 錯誤 - 找不到結果。"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",500:"500 Fehler - Interner Serverfehler.",404:"404 Fehler - Kein Ergebnis gefunden."},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare.",500:"Errore 500 - Errore interno del server.",404:"Errore 404 - Nessun risultato trovato."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente",500:"Erreur 500 - Erreur interne du serveur.",404:"Erreur 404 - Aucun résultat trouvé."},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando",500:"Error 500 - Error interno del servidor.",404:"Error 404 - No se encontró ningún resultado."},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor",500:"500 Hatası - Dahili Sunucu Hatası.",404:"404 Hatası - Sonuç bulunamadı."},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз",500:"Ошибка 500 - Внутренняя ошибка сервера.",404:"Ошибка 404 - Результат не найден."},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare",500:"Eroare 500 - Eroare internă de server.",404:"Eroare 404 - Nu a fost găsit niciun rezultat."},hr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje",500:"Došlo je do pogreške. Molimo kontaktirajte korisničku podršku za više pomoći",404:"Pogreška 404 - Rezultat nije pronađen."},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra.",500:"500-as hiba - Belső szerverhiba.",404:"404-es hiba - Nem található eredmény."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie.",500:"Błąd 500 - Wewnętrzny błąd serwera.",404:"Błąd 404 - Nie znaleziono wyniku."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando",500:"Erro 500 - Erro interno do servidor.",404:"Erro 404 - Nenhum resultado encontrado."},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno.",500:"Napaka 500 - Notranja napaka strežnika.",404:"Napaka 404 - Rezultat ni bil najden."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo.",500:"Грешка 500 - Интерна грешка сервера.",404:"Грешка 404 - Резултат није пронађен."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando",500:"Erro 500 - Erro interno do servidor.",404:"Erro 404 - Nenhum resultado encontrado."},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando",500:"Error 500 - Error interno del servidor.",404:"Error 404 - No se encontró ningún resultado."},"en-us":{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",500:"500 Error - Internal Server Error.",404:"404 Error - No result found."}};if(typeof window!="undefined"){let s=function(t){return function(...a){try{return t.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnail-CYDuVrC6.cjs")).then(t=>t.CasinoGameThumbnail_ce).then(({default:t})=>{!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...a){try{return t.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFilter-WNFrQkQJ.cjs")).then(t=>t.CasinoFilter_ce).then(({default:t})=>{!customElements.get("casino-filter")&&customElements.define("casino-filter",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...a){try{return t.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoSort-C_DOIYQz.cjs")).then(({default:t})=>{!customElements.get("casino-sort")&&customElements.define("casino-sort",t.element)})}function Ct(s){e.append_styles(s,"svelte-gwk3ko",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}.SingleOrEmptyCategoryFilterContainer{margin-left:auto}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}')}function Be(s,t,a){const n=s.slice();return n[95]=t[a],n[97]=a,n}function qe(s,t,a){const n=s.slice();return n[95]=t[a],n[98]=t,n[97]=a,n}function Ve(s,t,a){const n=s.slice();return n[95]=t[a],n[97]=a,n}function Mt(s){let t;function a(l,r){if(l[28])return It;if(l[39])return Nt}let n=a(s),o=n&&n(s);return{c(){t=e.element("div"),o&&o.c()},m(l,r){e.insert(l,t,r),o&&o.m(t,null)},p(l,r){n===(n=a(l))&&o?o.p(l,r):(o&&o.d(1),o=n&&n(l),o&&(o.c(),o.m(t,null)))},d(l){l&&e.detach(t),o&&o.d()}}}function zt(s){let t,a,n;function o(f,h){return f[32]?Kt:f[29].length?Yt:Jt}let l=o(s),r=l(s);function m(f,h){return f[29]?Zt:Xt}let u=m(s),_=u(s);return{c(){t=e.element("div"),a=e.element("div"),r.c(),n=e.space(),_.c(),e.attr(a,"class","CasinoGamesHeader Searched "+(e.isMobile(s[44])?"CasinoGamesHeaderMobile":"")),e.attr(t,"class","CasinoGamesContainer")},m(f,h){e.insert(f,t,h),e.append(t,a),r.m(a,null),e.append(t,n),_.m(t,null)},p(f,h){l===(l=o(f))&&r?r.p(f,h):(r.d(1),r=l(f),r&&(r.c(),r.m(a,null))),u===(u=m(f))&&_?_.p(f,h):(_.d(1),_=u(f),_&&(_.c(),_.m(t,null)))},d(f){f&&e.detach(t),r.d(),_.d()}}}function Et(s){let t;function a(l,r){return l[34]?xt:Qt}let n=a(s),o=n(s);return{c(){o.c(),t=e.empty()},m(l,r){o.m(l,r),e.insert(l,t,r)},p(l,r){n===(n=a(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(t.parentNode,t)))},d(l){l&&e.detach(t),o.d(l)}}}function Nt(s){let t,a,n,o,l=s[18]!=="true"&&We(s);function r(_,f){return _[25]&&!_[36]?Lt:_[42]?At:jt}let m=r(s),u=m(s);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),n=e.element("ul"),u.c(),e.attr(n,"class",o=(s[42].items.length!=0?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),e.attr(t,"class","CasinoGamesContainer")},m(_,f){e.insert(_,t,f),l&&l.m(t,null),e.append(t,a),e.append(t,n),u.m(n,null),s[60](n)},p(_,f){_[18]!=="true"?l?l.p(_,f):(l=We(_),l.c(),l.m(t,a)):l&&(l.d(1),l=null),m===(m=r(_))&&u?u.p(_,f):(u.d(1),u=m(_),u&&(u.c(),u.m(n,null))),f[1]&2048&&o!==(o=(_[42].items.length!=0?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&e.attr(n,"class",o)},d(_){_&&e.detach(t),l&&l.d(),u.d(),s[60](null)}}}function It(s){let t,a,n=s[18]!=="true"&&Qe(s);function o(m,u){return m[25]&&!m[36]?Vt:m[29].length!==0?qt:Bt}let l=o(s),r=l(s);return{c(){t=e.element("div"),n&&n.c(),a=e.space(),r.c(),e.attr(t,"class","CasinoGamesContainer")},m(m,u){e.insert(m,t,u),n&&n.m(t,null),e.append(t,a),r.m(t,null)},p(m,u){m[18]!=="true"?n?n.p(m,u):(n=Qe(m),n.c(),n.m(t,a)):n&&(n.d(1),n=null),l===(l=o(m))&&r?r.p(m,u):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},d(m){m&&e.detach(t),n&&n.d(),r.d()}}}function We(s){let t,a,n=s[43]("favorites")+"",o,l,r,m,u=s[42].items.length+"",_,f;return{c(){t=e.element("div"),a=e.element("h3"),o=e.text(n),l=e.space(),r=e.element("span"),m=e.text("("),_=e.text(u),f=e.text(")"),e.attr(r,"class","CategoryFavName"),e.attr(a,"class","CategoryName"),e.attr(t,"class","CasinoGamesHeader")},m(h,k){e.insert(h,t,k),e.append(t,a),e.append(a,o),e.append(a,l),e.append(a,r),e.append(r,m),e.append(r,_),e.append(r,f),s[59](a)},p(h,k){k[1]&4096&&n!==(n=h[43]("favorites")+"")&&e.set_data(o,n),k[1]&2048&&u!==(u=h[42].items.length+"")&&e.set_data(_,u)},d(h){h&&e.detach(t),s[59](null)}}}function jt(s){let t,a=s[43]("waiting")+"",n;return{c(){t=e.element("p"),n=e.text(a)},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("waiting")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function At(s){let t,a=e.ensure_array_like(s[42].items),n=[];for(let l=0;l<a.length;l+=1)n[l]=Ze(Be(s,a,l));let o=null;return a.length||(o=Ye(s)),{c(){for(let l=0;l<n.length;l+=1)n[l].c();t=e.empty(),o&&o.c()},m(l,r){for(let m=0;m<n.length;m+=1)n[m]&&n[m].m(l,r);e.insert(l,t,r),o&&o.m(l,r)},p(l,r){if(r[0]&2359273|r[1]&32512){a=e.ensure_array_like(l[42].items);let m;for(m=0;m<a.length;m+=1){const u=Be(l,a,m);n[m]?n[m].p(u,r):(n[m]=Ze(u),n[m].c(),n[m].m(t.parentNode,t))}for(;m<n.length;m+=1)n[m].d(1);n.length=a.length,!a.length&&o?o.p(l,r):a.length?o&&(o.d(1),o=null):(o=Ye(l),o.c(),o.m(t.parentNode,t))}},d(l){l&&e.detach(t),e.destroy_each(n,l),o&&o.d(l)}}}function Lt(s){let t;return{c(){t=e.element("div"),e.attr(t,"class","lds-dual-ring")},m(a,n){e.insert(a,t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function Ye(s){let t,a,n,o,l,r,m,u,_,f,h,k=s[43]("noFavoritesTitle")+"",F,b,d;function c(p,R){return e.isMobile(p[44])?Tt:Rt}let E=c(s)(s);return{c(){t=e.element("p"),a=e.svg_element("svg"),n=e.svg_element("rect"),o=e.svg_element("rect"),l=e.svg_element("circle"),r=e.svg_element("path"),m=e.svg_element("path"),u=e.svg_element("path"),_=e.svg_element("path"),f=e.space(),h=e.element("span"),F=e.text(k),b=e.space(),E.c(),d=e.space(),e.attr(n,"x","1"),e.attr(n,"y","18.053"),e.attr(n,"width","90.263"),e.attr(n,"height","90.263"),e.attr(n,"rx","12"),e.attr(n,"stroke","var(--emw--color-gray-150, #828282)"),e.attr(n,"stroke-width","1.5"),e.attr(o,"x","106.737"),e.attr(o,"y","56.737"),e.attr(o,"width","90.263"),e.attr(o,"height","90.263"),e.attr(o,"rx","12"),e.attr(o,"stroke","var(--emw--color-gray-150, #828282)"),e.attr(o,"stroke-width","1.5"),e.attr(l,"cx","70.5"),e.attr(l,"cy","32.237"),e.attr(l,"r","31.487"),e.attr(l,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(l,"stroke-width","1.5"),e.attr(l,"stroke-dasharray","5 0"),e.attr(r,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),e.attr(r,"fill","var(--emw--color-gray-150, #828282)"),e.attr(m,"d","M78 43h11v13H78V43z"),e.attr(m,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(u,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),e.attr(u,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(u,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(u,"stroke-linecap","round"),e.attr(u,"stroke-linejoin","round"),e.attr(_,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),e.attr(_,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(_,"stroke-width","1.5"),e.attr(_,"stroke-linecap","round"),e.attr(_,"stroke-linejoin","round"),e.attr(a,"width","198"),e.attr(a,"height","148"),e.attr(a,"viewBox","0 0 198 148"),e.attr(a,"fill","none"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(h,"class","NoFavoriteText NoFavoriteTextHighlight"),e.attr(t,"class","NoFavoriteGames "+(e.isMobile(s[44])?"NoFavoriteGamesMobile":""))},m(p,R){e.insert(p,t,R),e.append(t,a),e.append(a,n),e.append(a,o),e.append(a,l),e.append(a,r),e.append(a,m),e.append(a,u),e.append(a,_),e.append(t,f),e.append(t,h),e.append(h,F),e.append(t,b),E.m(t,null),e.append(t,d)},p(p,R){R[1]&4096&&k!==(k=p[43]("noFavoritesTitle")+"")&&e.set_data(F,k),E.p(p,R)},d(p){p&&e.detach(t),E.d()}}}function Rt(s){let t,a=s[43]("noFavorites")+"",n;return{c(){t=e.element("span"),n=e.text(a),e.attr(t,"class","NoFavoriteText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noFavorites")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Tt(s){let t,a=s[43]("noFavoritesMobile")+"",n;return{c(){t=e.element("span"),n=e.text(a),e.attr(t,"class","NoFavoriteText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noFavoritesMobile")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Je(s){let t,a=s[95].gameModel.isFavorite&&Ke(s);return{c(){a&&a.c(),t=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,t,o)},p(n,o){n[95].gameModel.isFavorite?a?a.p(n,o):(a=Ke(n),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d(n)}}}function Ke(s){let t,a=Pt(s);return{c(){a&&a.c(),t=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,t,o)},p(n,o){a.p(n,o)},d(n){n&&e.detach(t),a&&a.d(n)}}}function Pt(s){let t,a,n;function o(m,u){if(u[1]&2048&&(a=null),t==null&&(t=!!e.isMobile(m[44])),t)return Ut;if(a==null&&(a=!!m[95].gameModel.platform.includes("PC")),a)return Dt}let l=o(s,[-1,-1,-1,-1]),r=l&&l(s);return{c(){r&&r.c(),n=e.empty()},m(m,u){r&&r.m(m,u),e.insert(m,n,u)},p(m,u){l===(l=o(m,u))&&r?r.p(m,u):(r&&r.d(1),r=l&&l(m),r&&(r.c(),r.m(n.parentNode,n)))},d(m){m&&e.detach(n),r&&r.d(m)}}}function Dt(s){let t,a,n,o,l,r,m,u,_,f,h,k,F,b;return{c(){var d,c,N;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"class",a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1"))),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"translationurl",s[11]),e.set_custom_element_data(t,"favorites",s[8]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"gamethumbnail",n=s[95].gameModel.thumbnail),e.set_custom_element_data(t,"gamename",o=s[95].gameModel.name),e.set_custom_element_data(t,"gamevendor",l=s[95].gameModel.vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",r=s[95].launchUrl),e.set_custom_element_data(t,"gameisnew",m=(c=(d=s[95])==null?void 0:d.gameModel)==null?void 0:c.isNew),e.set_custom_element_data(t,"gametag",u=s[45]((N=s[95].gameModel)==null?void 0:N.advancedTags)),e.set_custom_element_data(t,"gamecellsize",_=s[95].cellSize),e.set_custom_element_data(t,"gameid",f=s[95].gameModel.id),e.set_custom_element_data(t,"gamefunmode",h=s[95].gameModel.hasFunMode),e.set_custom_element_data(t,"showgamename",s[13]),e.set_custom_element_data(t,"gamefavorite",k=s[95].gameModel.isFavorite),e.set_custom_element_data(t,"showfavoredcategory",s[39]),e.set_custom_element_data(t,"connectlive",F=s[40][s[95].id]==1?"connect":"disconnect"),e.set_custom_element_data(t,"visibilityconnect",s[41]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"currency",s[12]),e.set_custom_element_data(t,"livelobbyendpoint",b=s[95].gameModel.details?s[95].gameModel.launchUrl:""),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"livecasino",s[14]),e.set_custom_element_data(t,"gamepagemodalurl",s[15]),e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),e.set_custom_element_data(t,"integratedgameframemobile",s[17])},m(d,c){e.insert(d,t,c)},p(d,c){var N,E,p;c[1]&2048&&a!==(a=""+(W+(d[95].cellSize?d[95].cellSize:"1x1")))&&e.set_custom_element_data(t,"class",a),c[0]&64&&e.set_custom_element_data(t,"session",d[6]),c[0]&128&&e.set_custom_element_data(t,"userid",d[7]),c[0]&32&&e.set_custom_element_data(t,"lang",d[5]),c[0]&2048&&e.set_custom_element_data(t,"translationurl",d[11]),c[0]&256&&e.set_custom_element_data(t,"favorites",d[8]),c[0]&1&&e.set_custom_element_data(t,"categoryid",d[0]),c[1]&2048&&n!==(n=d[95].gameModel.thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),c[1]&2048&&o!==(o=d[95].gameModel.name)&&e.set_custom_element_data(t,"gamename",o),c[1]&2048&&l!==(l=d[95].gameModel.vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",l),c[1]&2048&&r!==(r=d[95].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",r),c[1]&2048&&m!==(m=(E=(N=d[95])==null?void 0:N.gameModel)==null?void 0:E.isNew)&&e.set_custom_element_data(t,"gameisnew",m),c[1]&2048&&u!==(u=d[45]((p=d[95].gameModel)==null?void 0:p.advancedTags))&&e.set_custom_element_data(t,"gametag",u),c[1]&2048&&_!==(_=d[95].cellSize)&&e.set_custom_element_data(t,"gamecellsize",_),c[1]&2048&&f!==(f=d[95].gameModel.id)&&e.set_custom_element_data(t,"gameid",f),c[1]&2048&&h!==(h=d[95].gameModel.hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),c[0]&8192&&e.set_custom_element_data(t,"showgamename",d[13]),c[1]&2048&&k!==(k=d[95].gameModel.isFavorite)&&e.set_custom_element_data(t,"gamefavorite",k),c[1]&256&&e.set_custom_element_data(t,"showfavoredcategory",d[39]),c[1]&2560&&F!==(F=d[40][d[95].id]==1?"connect":"disconnect")&&e.set_custom_element_data(t,"connectlive",F),c[1]&1024&&e.set_custom_element_data(t,"visibilityconnect",d[41]),c[0]&2097152&&e.set_custom_element_data(t,"mbsource",d[21]),c[0]&4096&&e.set_custom_element_data(t,"currency",d[12]),c[1]&2048&&b!==(b=d[95].gameModel.details?d[95].gameModel.launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),c[0]&512&&e.set_custom_element_data(t,"clientstyling",d[9]),c[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",d[10]),c[0]&8&&e.set_custom_element_data(t,"endpoint",d[3]),c[0]&16384&&e.set_custom_element_data(t,"livecasino",d[14]),c[0]&32768&&e.set_custom_element_data(t,"gamepagemodalurl",d[15]),c[0]&65536&&e.set_custom_element_data(t,"integratedgameframedesktop",d[16]),c[0]&131072&&e.set_custom_element_data(t,"integratedgameframemobile",d[17])},d(d){d&&e.detach(t)}}}function Ut(s){let t=s[95].gameModel.platform.includes("iPad")||s[95].gameModel.platform.includes("iPhone")||s[95].gameModel.platform.includes("Android"),a,n=t&&Xe(s);return{c(){n&&n.c(),a=e.empty()},m(o,l){n&&n.m(o,l),e.insert(o,a,l)},p(o,l){l[1]&2048&&(t=o[95].gameModel.platform.includes("iPad")||o[95].gameModel.platform.includes("iPhone")||o[95].gameModel.platform.includes("Android")),t?n?n.p(o,l):(n=Xe(o),n.c(),n.m(a.parentNode,a)):n&&(n.d(1),n=null)},d(o){o&&e.detach(a),n&&n.d(o)}}}function Xe(s){let t,a,n,o,l,r,m,u,_,f,h,k,F,b;return{c(){var d,c;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"class",a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1"))),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"favorites",s[8]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"gamethumbnail",n=s[95].gameModel.thumbnail),e.set_custom_element_data(t,"gamename",o=s[95].gameModel.name),e.set_custom_element_data(t,"gamevendor",l=s[95].gameModel.vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",r=s[95].launchUrl),e.set_custom_element_data(t,"gameisnew",m=(d=s[95].gameModel)==null?void 0:d.isNew),e.set_custom_element_data(t,"gametag",u=s[45]((c=s[95].gameModel)==null?void 0:c.advancedTags)),e.set_custom_element_data(t,"gamecellsize",_=s[95].cellSize),e.set_custom_element_data(t,"gameid",f=s[95].gameModel.id),e.set_custom_element_data(t,"gamefunmode",h=s[95].gameModel.hasFunMode),e.set_custom_element_data(t,"showgamename",s[13]),e.set_custom_element_data(t,"gamefavorite",k=s[95].gameModel.isFavorite),e.set_custom_element_data(t,"showfavoredcategory",s[39]),e.set_custom_element_data(t,"connectlive",F=s[40][s[95].id]==1?"connect":"disconnect"),e.set_custom_element_data(t,"visibilityconnect",s[41]),e.set_custom_element_data(t,"translationurl",s[11]),e.set_custom_element_data(t,"currency",s[12]),e.set_custom_element_data(t,"livelobbyendpoint",b=s[95].gameModel.details?s[95].gameModel.launchUrl:""),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"livecasino",s[14]),e.set_custom_element_data(t,"gamepagemodalurl",s[15]),e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),e.set_custom_element_data(t,"integratedgameframemobile",s[17])},m(d,c){e.insert(d,t,c)},p(d,c){var N,E;c[1]&2048&&a!==(a=""+(W+(d[95].cellSize?d[95].cellSize:"1x1")))&&e.set_custom_element_data(t,"class",a),c[0]&64&&e.set_custom_element_data(t,"session",d[6]),c[0]&128&&e.set_custom_element_data(t,"userid",d[7]),c[0]&32&&e.set_custom_element_data(t,"lang",d[5]),c[0]&2097152&&e.set_custom_element_data(t,"mbsource",d[21]),c[0]&256&&e.set_custom_element_data(t,"favorites",d[8]),c[0]&1&&e.set_custom_element_data(t,"categoryid",d[0]),c[1]&2048&&n!==(n=d[95].gameModel.thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),c[1]&2048&&o!==(o=d[95].gameModel.name)&&e.set_custom_element_data(t,"gamename",o),c[1]&2048&&l!==(l=d[95].gameModel.vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",l),c[1]&2048&&r!==(r=d[95].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",r),c[1]&2048&&m!==(m=(N=d[95].gameModel)==null?void 0:N.isNew)&&e.set_custom_element_data(t,"gameisnew",m),c[1]&2048&&u!==(u=d[45]((E=d[95].gameModel)==null?void 0:E.advancedTags))&&e.set_custom_element_data(t,"gametag",u),c[1]&2048&&_!==(_=d[95].cellSize)&&e.set_custom_element_data(t,"gamecellsize",_),c[1]&2048&&f!==(f=d[95].gameModel.id)&&e.set_custom_element_data(t,"gameid",f),c[1]&2048&&h!==(h=d[95].gameModel.hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),c[0]&8192&&e.set_custom_element_data(t,"showgamename",d[13]),c[1]&2048&&k!==(k=d[95].gameModel.isFavorite)&&e.set_custom_element_data(t,"gamefavorite",k),c[1]&256&&e.set_custom_element_data(t,"showfavoredcategory",d[39]),c[1]&2560&&F!==(F=d[40][d[95].id]==1?"connect":"disconnect")&&e.set_custom_element_data(t,"connectlive",F),c[1]&1024&&e.set_custom_element_data(t,"visibilityconnect",d[41]),c[0]&2048&&e.set_custom_element_data(t,"translationurl",d[11]),c[0]&4096&&e.set_custom_element_data(t,"currency",d[12]),c[1]&2048&&b!==(b=d[95].gameModel.details?d[95].gameModel.launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),c[0]&512&&e.set_custom_element_data(t,"clientstyling",d[9]),c[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",d[10]),c[0]&8&&e.set_custom_element_data(t,"endpoint",d[3]),c[0]&16384&&e.set_custom_element_data(t,"livecasino",d[14]),c[0]&32768&&e.set_custom_element_data(t,"gamepagemodalurl",d[15]),c[0]&65536&&e.set_custom_element_data(t,"integratedgameframedesktop",d[16]),c[0]&131072&&e.set_custom_element_data(t,"integratedgameframemobile",d[17])},d(d){d&&e.detach(t)}}}function Ze(s){let t,a=s[95].gameModel&&Je(s);return{c(){a&&a.c(),t=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,t,o)},p(n,o){n[95].gameModel?a?a.p(n,o):(a=Je(n),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d(n)}}}function Qe(s){let t,a,n=s[28].name+"",o,l;function r(_,f){return _[27]&&!_[30]?Ht:Ot}let m=r(s),u=m(s);return{c(){t=e.element("div"),a=e.element("h3"),o=e.text(n),l=e.space(),u.c(),e.attr(a,"class","CategoryName"),e.attr(t,"class","CasinoGamesHeader")},m(_,f){e.insert(_,t,f),e.append(t,a),e.append(a,o),s[55](a),e.append(t,l),u.m(t,null)},p(_,f){f[0]&268435456&&n!==(n=_[28].name+"")&&e.set_data(o,n),m===(m=r(_))&&u?u.p(_,f):(u.d(1),u=m(_),u&&(u.c(),u.m(t,null)))},d(_){_&&e.detach(t),s[55](null),u.d()}}}function Ot(s){let t,a,n,o=s[1]=="true"&&s[22]==="false"&&xe(s),l=s[2]=="true"&&$e(s);return{c(){t=e.element("div"),o&&o.c(),a=e.space(),l&&l.c(),e.attr(t,"class",n=s[1]=="true"&&s[22]==="false"&&s[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")},m(r,m){e.insert(r,t,m),o&&o.m(t,null),e.append(t,a),l&&l.m(t,null)},p(r,m){r[1]=="true"&&r[22]==="false"?o?o.p(r,m):(o=xe(r),o.c(),o.m(t,a)):o&&(o.d(1),o=null),r[2]=="true"?l?l.p(r,m):(l=$e(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),m[0]&4194310&&n!==(n=r[1]=="true"&&r[22]==="false"&&r[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")&&e.attr(t,"class",n)},d(r){r&&e.detach(t),o&&o.d(),l&&l.d()}}}function Ht(s){let t,a,n=s[43]("viewAll")+"",o,l,r=s[28].games.total+"",m,u,_,f;return{c(){t=e.element("a"),a=e.element("span"),o=e.text(n),l=e.text(" ("),m=e.text(r),u=e.text(")"),e.attr(a,"class","CategoryLoadMore"),e.attr(t,"class","CategoryNameLink")},m(h,k){e.insert(h,t,k),e.append(t,a),e.append(a,o),e.append(a,l),e.append(a,m),e.append(a,u),_||(f=e.listen(t,"click",s[56]),_=!0)},p(h,k){k[1]&4096&&n!==(n=h[43]("viewAll")+"")&&e.set_data(o,n),k[0]&268435456&&r!==(r=h[28].games.total+"")&&e.set_data(m,r)},d(h){h&&e.detach(t),_=!1,f()}}}function xe(s){let t;return{c(){t=e.element("casino-filter"),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"datasource",s[4]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"addfilterselector",s[1]),e.set_custom_element_data(t,"addsortingselector",s[2]),e.set_custom_element_data(t,"filterbylogo",s[19])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),n[0]&512&&e.set_custom_element_data(t,"clientstyling",a[9]),n[0]&8&&e.set_custom_element_data(t,"endpoint",a[3]),n[0]&16&&e.set_custom_element_data(t,"datasource",a[4]),n[0]&32&&e.set_custom_element_data(t,"lang",a[5]),n[0]&1&&e.set_custom_element_data(t,"categoryid",a[0]),n[0]&2097152&&e.set_custom_element_data(t,"mbsource",a[21]),n[0]&2&&e.set_custom_element_data(t,"addfilterselector",a[1]),n[0]&4&&e.set_custom_element_data(t,"addsortingselector",a[2]),n[0]&524288&&e.set_custom_element_data(t,"filterbylogo",a[19])},d(a){a&&e.detach(t)}}}function $e(s){let t;return{c(){t=e.element("casino-sort"),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"addsortingselector",s[2])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),n[0]&512&&e.set_custom_element_data(t,"clientstyling",a[9]),n[0]&32&&e.set_custom_element_data(t,"lang",a[5]),n[0]&2097152&&e.set_custom_element_data(t,"mbsource",a[21]),n[0]&1&&e.set_custom_element_data(t,"categoryid",a[0]),n[0]&4&&e.set_custom_element_data(t,"addsortingselector",a[2])},d(a){a&&e.detach(t)}}}function Bt(s){let t,a=s[43]("noResults")+"",n;return{c(){t=e.element("p"),n=e.text(a),e.attr(t,"class","NoSearchResults")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noResults")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function qt(s){let t,a=[],n=new Map,o,l=e.ensure_array_like(s[29]);const r=m=>m[95].id;for(let m=0;m<l.length;m+=1){let u=qe(s,l,m),_=r(u);n.set(_,a[m]=et(_,u))}return{c(){t=e.element("ul");for(let m=0;m<a.length;m+=1)a[m].c();e.attr(t,"class",o=(s[42].items.length===0&&s[39]?"":"CasinoGamesGrid")+" "+(s[27]&&s[20]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(m,u){e.insert(m,t,u);for(let _=0;_<a.length;_+=1)a[_]&&a[_].m(t,null);s[58](t)},p(m,u){u[0]&557055977|u[1]&17920&&(l=e.ensure_array_like(m[29]),a=e.update_keyed_each(a,u,r,1,m,l,n,t,e.destroy_block,et,null,qe)),u[0]&135266304|u[1]&2304&&o!==(o=(m[42].items.length===0&&m[39]?"":"CasinoGamesGrid")+" "+(m[27]&&m[20]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&e.attr(t,"class",o)},d(m){m&&e.detach(t);for(let u=0;u<a.length;u+=1)a[u].d();s[58](null)}}}function Vt(s){let t;return{c(){t=e.element("div"),e.attr(t,"class","lds-dual-ring")},m(a,n){e.insert(a,t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function Wt(s){let t,a,n,o,l,r,m,u,_,f,h,k,F,b,d=s[97];const c=()=>s[57](t,d),N=()=>s[57](null,d);return{c(){t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"class",a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1"))),e.set_custom_element_data(t,"favorites",s[8]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"gamethumbnail",n=s[95].thumbnail),e.set_custom_element_data(t,"gamename",o=s[95].name),e.set_custom_element_data(t,"gamevendor",l=s[95].vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",r=s[95].launchUrl),e.set_custom_element_data(t,"gameisnew",m=s[95].isNew),e.set_custom_element_data(t,"gametag",u=s[45](s[95].advancedTags)),e.set_custom_element_data(t,"gamecellsize",_=s[95].cellSize),e.set_custom_element_data(t,"gameid",f=s[95].id),e.set_custom_element_data(t,"gamefunmode",h=s[95].hasFunMode),e.set_custom_element_data(t,"gamefavorite",k=s[95].isFavorite),e.set_custom_element_data(t,"translationurl",s[11]),e.set_custom_element_data(t,"showgamename",s[13]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"connectlive",F=s[40][s[95].id]==1?"connect":"disconnect"),e.set_custom_element_data(t,"visibilityconnect",s[41]),e.set_custom_element_data(t,"currency",s[12]),e.set_custom_element_data(t,"livelobbyendpoint",b=s[95].details?s[95].href:""),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"livecasino",s[14]),e.set_custom_element_data(t,"gamepagemodalurl",s[15]),e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),e.set_custom_element_data(t,"integratedgameframemobile",s[17]),e.set_custom_element_data(t,"casinogamesgridslider",s[20])},m(E,p){e.insert(E,t,p),c()},p(E,p){s=E,p[0]&64&&e.set_custom_element_data(t,"session",s[6]),p[0]&128&&e.set_custom_element_data(t,"userid",s[7]),p[0]&32&&e.set_custom_element_data(t,"lang",s[5]),p[0]&536870912&&a!==(a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1")))&&e.set_custom_element_data(t,"class",a),p[0]&256&&e.set_custom_element_data(t,"favorites",s[8]),p[0]&1&&e.set_custom_element_data(t,"categoryid",s[0]),p[0]&536870912&&n!==(n=s[95].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),p[0]&536870912&&o!==(o=s[95].name)&&e.set_custom_element_data(t,"gamename",o),p[0]&536870912&&l!==(l=s[95].vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",l),p[0]&536870912&&r!==(r=s[95].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",r),p[0]&536870912&&m!==(m=s[95].isNew)&&e.set_custom_element_data(t,"gameisnew",m),p[0]&536870912&&u!==(u=s[45](s[95].advancedTags))&&e.set_custom_element_data(t,"gametag",u),p[0]&536870912&&_!==(_=s[95].cellSize)&&e.set_custom_element_data(t,"gamecellsize",_),p[0]&536870912&&f!==(f=s[95].id)&&e.set_custom_element_data(t,"gameid",f),p[0]&536870912&&h!==(h=s[95].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),p[0]&536870912&&k!==(k=s[95].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",k),p[0]&2048&&e.set_custom_element_data(t,"translationurl",s[11]),p[0]&8192&&e.set_custom_element_data(t,"showgamename",s[13]),p[0]&2097152&&e.set_custom_element_data(t,"mbsource",s[21]),p[0]&536870912|p[1]&512&&F!==(F=s[40][s[95].id]==1?"connect":"disconnect")&&e.set_custom_element_data(t,"connectlive",F),p[1]&1024&&e.set_custom_element_data(t,"visibilityconnect",s[41]),p[0]&4096&&e.set_custom_element_data(t,"currency",s[12]),p[0]&536870912&&b!==(b=s[95].details?s[95].href:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),p[0]&512&&e.set_custom_element_data(t,"clientstyling",s[9]),p[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10]),p[0]&8&&e.set_custom_element_data(t,"endpoint",s[3]),p[0]&16384&&e.set_custom_element_data(t,"livecasino",s[14]),p[0]&32768&&e.set_custom_element_data(t,"gamepagemodalurl",s[15]),p[0]&65536&&e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),p[0]&131072&&e.set_custom_element_data(t,"integratedgameframemobile",s[17]),p[0]&1048576&&e.set_custom_element_data(t,"casinogamesgridslider",s[20]),d!==s[97]&&(N(),d=s[97],c())},d(E){E&&e.detach(t),N()}}}function et(s,t){let a,n,o=Wt(t);return{key:s,first:null,c(){a=e.empty(),o&&o.c(),n=e.empty(),this.first=a},m(l,r){e.insert(l,a,r),o&&o.m(l,r),e.insert(l,n,r)},p(l,r){t=l,o.p(t,r)},d(l){l&&(e.detach(a),e.detach(n)),o&&o.d(l)}}}function Yt(s){let t,a=s[43]("searchedItems")+"",n;return{c(){t=e.element("h3"),n=e.text(a),e.attr(t,"class","StatusText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("searchedItems")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Jt(s){let t,a=s[43]("noResults")+"",n;return{c(){t=e.element("h3"),n=e.text(a),e.attr(t,"class","StatusText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noResults")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Kt(s){let t,a=s[43]("recentSearchedItems")+"",n;return{c(){t=e.element("h3"),n=e.text(a),e.attr(t,"class","StatusText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("recentSearchedItems")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Xt(s){let t;return{c(){t=e.element("p"),t.textContent="Waiting",e.attr(t,"class","SearchWaiting")},m(a,n){e.insert(a,t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function Zt(s){let t,a,n=[],o=new Map,l=!s[35]&&tt(s),r=e.ensure_array_like(s[29]);const m=u=>u[95].id;for(let u=0;u<r.length;u+=1){let _=Ve(s,r,u),f=m(_);o.set(f,n[u]=at(f,_))}return{c(){l&&l.c(),t=e.space(),a=e.element("ul");for(let u=0;u<n.length;u+=1)n[u].c();e.attr(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(u,_){l&&l.m(u,_),e.insert(u,t,_),e.insert(u,a,_);for(let f=0;f<n.length;f+=1)n[f]&&n[f].m(a,null)},p(u,_){u[35]?l&&(l.d(1),l=null):l?l.p(u,_):(l=tt(u),l.c(),l.m(t.parentNode,t)),_[0]&539230185|_[1]&16388&&(r=e.ensure_array_like(u[29]),n=e.update_keyed_each(n,_,m,1,u,r,o,a,e.destroy_block,at,null,Ve))},d(u){u&&(e.detach(t),e.detach(a)),l&&l.d(u);for(let _=0;_<n.length;_+=1)n[_].d()}}}function tt(s){let t,a=s[43]("noRecentSearch")+"",n;return{c(){t=e.element("p"),n=e.text(a),e.attr(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(e.isMobile(s[44])?"NoRecentSearchesMobile":""))},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noRecentSearch")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function at(s,t){let a,n,o,l,r,m,u,_,f,h,k,F,b;return{key:s,first:null,c(){var d;a=e.element("casino-game-thumbnail"),e.set_custom_element_data(a,"class",n=""+(W+(t[95].cellSize?t[95].cellSize:"1x1"))),e.set_custom_element_data(a,"session",t[6]),e.set_custom_element_data(a,"userid",t[7]),e.set_custom_element_data(a,"lang",t[5]),e.set_custom_element_data(a,"searchitem",t[33]),e.set_custom_element_data(a,"favorites",t[8]),e.set_custom_element_data(a,"categoryid",t[0]),e.set_custom_element_data(a,"gamethumbnail",o=t[95].thumbnail),e.set_custom_element_data(a,"gamename",l=t[95].name),e.set_custom_element_data(a,"gamevendor",r=t[95].vendor.displayName),e.set_custom_element_data(a,"gameLaunchUrl",m=t[95].launchUrl),e.set_custom_element_data(a,"gameisnew",u=(d=t[95])==null?void 0:d.isNew),e.set_custom_element_data(a,"gametag",_=t[45](t[95].advancedTags)),e.set_custom_element_data(a,"gamecellsize",f=t[95].cellSize),e.set_custom_element_data(a,"gameid",h=t[95].id),e.set_custom_element_data(a,"gamefunmode",k=t[95].hasFunMode),e.set_custom_element_data(a,"mbsource",t[21]),e.set_custom_element_data(a,"showgamename",t[13]),e.set_custom_element_data(a,"translationurl",t[11]),e.set_custom_element_data(a,"gamefavorite",F=t[95].isFavorite),e.set_custom_element_data(a,"currency",t[12]),e.set_custom_element_data(a,"livelobbyendpoint",b=t[95].details?t[95].href:""),e.set_custom_element_data(a,"clientstyling",t[9]),e.set_custom_element_data(a,"clientstylingurl",t[10]),e.set_custom_element_data(a,"endpoint",t[3]),e.set_custom_element_data(a,"livecasino",t[14]),e.set_custom_element_data(a,"gamepagemodalurl",t[15]),e.set_custom_element_data(a,"integratedgameframedesktop",t[16]),e.set_custom_element_data(a,"integratedgameframemobile",t[17]),this.first=a},m(d,c){e.insert(d,a,c)},p(d,c){var N;t=d,c[0]&536870912&&n!==(n=""+(W+(t[95].cellSize?t[95].cellSize:"1x1")))&&e.set_custom_element_data(a,"class",n),c[0]&64&&e.set_custom_element_data(a,"session",t[6]),c[0]&128&&e.set_custom_element_data(a,"userid",t[7]),c[0]&32&&e.set_custom_element_data(a,"lang",t[5]),c[1]&4&&e.set_custom_element_data(a,"searchitem",t[33]),c[0]&256&&e.set_custom_element_data(a,"favorites",t[8]),c[0]&1&&e.set_custom_element_data(a,"categoryid",t[0]),c[0]&536870912&&o!==(o=t[95].thumbnail)&&e.set_custom_element_data(a,"gamethumbnail",o),c[0]&536870912&&l!==(l=t[95].name)&&e.set_custom_element_data(a,"gamename",l),c[0]&536870912&&r!==(r=t[95].vendor.displayName)&&e.set_custom_element_data(a,"gamevendor",r),c[0]&536870912&&m!==(m=t[95].launchUrl)&&e.set_custom_element_data(a,"gameLaunchUrl",m),c[0]&536870912&&u!==(u=(N=t[95])==null?void 0:N.isNew)&&e.set_custom_element_data(a,"gameisnew",u),c[0]&536870912&&_!==(_=t[45](t[95].advancedTags))&&e.set_custom_element_data(a,"gametag",_),c[0]&536870912&&f!==(f=t[95].cellSize)&&e.set_custom_element_data(a,"gamecellsize",f),c[0]&536870912&&h!==(h=t[95].id)&&e.set_custom_element_data(a,"gameid",h),c[0]&536870912&&k!==(k=t[95].hasFunMode)&&e.set_custom_element_data(a,"gamefunmode",k),c[0]&2097152&&e.set_custom_element_data(a,"mbsource",t[21]),c[0]&8192&&e.set_custom_element_data(a,"showgamename",t[13]),c[0]&2048&&e.set_custom_element_data(a,"translationurl",t[11]),c[0]&536870912&&F!==(F=t[95].isFavorite)&&e.set_custom_element_data(a,"gamefavorite",F),c[0]&4096&&e.set_custom_element_data(a,"currency",t[12]),c[0]&536870912&&b!==(b=t[95].details?t[95].href:"")&&e.set_custom_element_data(a,"livelobbyendpoint",b),c[0]&512&&e.set_custom_element_data(a,"clientstyling",t[9]),c[0]&1024&&e.set_custom_element_data(a,"clientstylingurl",t[10]),c[0]&8&&e.set_custom_element_data(a,"endpoint",t[3]),c[0]&16384&&e.set_custom_element_data(a,"livecasino",t[14]),c[0]&32768&&e.set_custom_element_data(a,"gamepagemodalurl",t[15]),c[0]&65536&&e.set_custom_element_data(a,"integratedgameframedesktop",t[16]),c[0]&131072&&e.set_custom_element_data(a,"integratedgameframemobile",t[17])},d(d){d&&e.detach(a)}}}function Qt(s){let t,a=s[43]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(n,o){e.insert(n,t,o),t.innerHTML=a},p(n,o){o[1]&4096&&a!==(a=n[43]("500")+"")&&(t.innerHTML=a)},d(n){n&&e.detach(t)}}}function xt(s){let t,a=s[43]("404")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(n,o){e.insert(n,t,o),t.innerHTML=a},p(n,o){o[1]&4096&&a!==(a=n[43]("404")+"")&&(t.innerHTML=a)},d(n){n&&e.detach(t)}}}function $t(s){let t;function a(l,r){return l[26]?Et:l[31]?zt:Mt}let n=a(s),o=n(s);return{c(){t=e.element("div"),o.c(),e.attr(t,"class","CasinoGamesCategorySectionContainer")},m(l,r){e.insert(l,t,r),o.m(t,null),s[61](t)},p(l,r){n===(n=a(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),o.d(),s[61](null)}}}const W="game-tile-";let ea=0;function ta(s,t,a){let n;e.component_subscribe(s,e.$format,i=>a(43,n=i));let{endpoint:o=""}=t,{datasource:l=""}=t,{lang:r=""}=t,{session:m=""}=t,{userid:u=""}=t,{favorites:_=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:k=""}=t,{currency:F=""}=t,{categoryid:b=""}=t,{showgamename:d=""}=t,{livecasino:c="false"}=t,{gamepagemodalurl:N="true"}=t,{integratedgameframedesktop:E="false"}=t,{integratedgameframemobile:p="false"}=t,{casinomygames:R="false"}=t,{addfilterselector:ne="false"}=t,{addsortingselector:oe="false"}=t,{filterbylogo:Ae=""}=t,{casinogamesgridslider:Le="false"}=t,{fetchviaevent:X="false"}=t,{showallpage:ve="casino"}=t,{actionevent:we="CategoryChange"}=t,{displayedgamecount:le="10"}=t,{showallbuttongamescount:ie="10"}=t,{mbsource:ke}=t,{lobbyscreen:re="true"}=t,{usesinglevendorfilter:me="false"}=t,{visiblegames:ye="10"}=t,B=!0,Se=!1,ue,ce,O=!0,Re=window.navigator.userAgent,G,y=[],q=!0,Y=40,H=!1,_e=!1,Z=!1,Fe=!1,Ge=!0,Q=!1,x,Ce,$,ee=!1,P,de=!1,te=new Array(1e4),ae={},Me="",J="",fe,ze,C,L=[],ge=new AbortController,K={items:[],count:0,name:""};const nt=()=>{fetch(k).then(g=>g.json()).then(g=>{Object.keys(g).forEach(v=>{Oe(v,g[v])})}).catch(g=>{console.log(g)})};Object.keys(He).forEach(i=>{Oe(i,He[i])}),typeof document.hidden!="undefined"?fe="hidden":typeof document.msHidden!="undefined"?fe="msHidden":typeof document.webkitHidden!="undefined"&&(fe="webkitHidden");let he=new IntersectionObserver(i=>{i.forEach(g=>pe(this,null,function*(){let v=g.target.gameid,S=g.target.elems_index;g.isIntersecting?(S*1.2>Y&&ct(b),a(40,ae[v]=1,ae)):a(40,ae[v]=0,ae)}))});const Ee=(i,g)=>{let v=`${o}/v1/player/${g}/favorites/`;a(25,B=!0);let S={method:"GET",headers:{"X-SessionID":i}};return new Promise((M,z)=>{fetch(v,S).then(w=>w.json()).then(w=>{var I;if(a(25,B=!1),C=[],w){w.items.forEach(T=>{T.gameModel&&(C.push(T),L.includes(T.id)||L.push(T.id))});const A=(I=e.platformFavorite(C))==null?void 0:I.length;window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:A})}else C=[];b==="FAVORITES"&&je(C),y.forEach(A=>{A.isFavorite=D(A.id)});let U=y;a(29,y=void 0),a(29,y=U),M(C)}).catch(w=>{console.error(w),z(w)})})},ot=(i,g)=>new Promise((v,S)=>{if(i&&g){let M=`${o}/v1/player/${g}/favorites/`;fetch(M,{method:"GET",headers:{"X-SessionID":i}}).then(w=>w.json()).then(w=>{var U,I;if(C=[],w){(U=w.items)==null||U.forEach(T=>{T.gameModel&&(C.push(T),L.includes(T.id)||L.push(T.id))});const A=(I=e.platformFavorite(C))==null?void 0:I.length;window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:A})}else C=[];b==="FAVORITES"&&je(C),v(C)}).catch(w=>{console.error(w),S(w)})}else v([])}),Te=(i,g,v,S)=>{ge&&ge.abort(),ge=new AbortController;const M=ge.signal;a(25,B=!0);let z="",w="",U=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),I=JSON.parse(localStorage.getItem("vendorSortingBy"));const A=me==="true"?"*":i;return(i.match(/\$/g)||[]).length>1?(z=i.split("$").slice(0,2).join("$"),w=new URL(`${o}/v1/casino/groups/${l}/${z}/subGroups`)):w=new URL(`${o}/v1/casino/groups/${l}/${i}`),new Promise((T,Ft)=>{var Ue;if(w.searchParams.delete("pagination"),w.searchParams.append("expand","games(vendor)"),w.searchParams.append("fields","id,name,games"),w.searchParams.append("platform",e.getDevice(Re)),w.searchParams.append("pagination",`games(offset=${g},limit=${v})`),w.searchParams.append("language",r),window.postMessage({type:"CategoryVendors",categoryid:i},window.location.href),U&&((Ue=U[A])!=null&&Ue.length))if(me==="true"||O===!1&&ee===!1){let j="";a(34,Fe=!0),U[A].forEach(V=>{j=j+(j?`,games(vendor(id=${V}))`:`games(vendor(id=${V}))`)}),w.searchParams.append("filter",`${j}`)}else a(34,Fe=!1);I&&(I[i]?I[i]&&I[i]!="All"&&(I[i]=="isNew"||I[i]=="advancedTags(name(hot))"?(w.searchParams.append("sortedField",`games(${I[i]})`),w.searchParams.append("orderBy","DES")):w.searchParams.append("sortedField",`games(${I[i]})`)):J&&J!="All"&&(J=="advancedTags(name(hot))"||J=="isNew"?(w.searchParams.append("sortedField",`games(${J})`),w.searchParams.append("orderBy","DES")):w.searchParams.append("sortedField",`games(${J})`))),fetch(w,{signal:M}).then(j=>j.json()).then(j=>{M.aborted||(a(25,B=!1),(i.match(/\$/g)||[]).length>1&&(j=j.items.filter(V=>{if(V.id==i)return V})[0]),a(54,ze=!0),a(26,Se=!1),Ce=j.games.total,S&&j.games.items.forEach(V=>{V.isFavorite=D(V.id)}),a(36,Q=!0),T(j))}).catch(j=>{j.name!=="AbortError"&&(a(26,Se=!0),console.error(j),Ft(j))}).finally(()=>{lt()})})},se=(i,g,v)=>new Promise((S,M)=>{_=="true"?ot(m,u).then(z=>{Te(i,g,v,z).then(w=>{S(w)})}):Te(i,g,v,null).then(z=>{S(z)})}),lt=()=>{const i=P.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},it=(i,g,v)=>{i!==""&&(a(31,H=!1),a(27,O=!0),a(1,ne="false"),a(2,oe="false"),a(33,Z=!1),de=!1,a(30,q=+g>+v),se(i,0,+g).then(S=>{a(28,G=S),a(29,y=G.games.items),y&&y.forEach(M=>{M.isFavorite=D(M.id)})}))},Ne=i=>{if(i.data)switch(i.data.type){case"MostPlayedData":b=="MOSTPLAYED"&&(a(31,H=!1),a(27,O=!1),a(30,q=!1),a(29,y=i.data.mostPlayedGames),a(28,G={id:"MOSTPLAYED",name:"Most Played Games",games:{count:i.data.mostPlayedGames.length,total:i.data.mostPlayedGames.length,items:i.data.mostPlayedGames}})),a(25,B=!1);break;case"LastPlayedData":b=="LASTPLAYED"&&(a(31,H=!1),a(27,O=!1),a(30,q=!1),a(29,y=i.data.lastPlayedGames),a(28,G={id:"LASTPLAYED",name:"Last Played Games",games:{count:i.data.lastPlayedGames.length,total:i.data.lastPlayedGames.length,items:i.data.lastPlayedGames}})),a(25,B=!1);break;case"RecentSearchData":a(31,H=!0),a(32,_e=!0),i.data.searchData.length>0?(a(29,y=i.data.searchData),a(35,Ge=!0),y&&y.forEach(g=>{g.isFavorite=D(g.id)})):(a(29,y=[]),a(35,Ge=!1));break;case"OutOfRecentSearches":a(31,H=!1),a(32,_e=!1);break;case"SearchData":a(31,H=!0),a(32,_e=!1),a(29,y=i.data.searchData.items||[]),a(33,Z=!0),i.data.receivedFavoriteResults&&(C=i.data.receivedFavoriteResults.items),y&&y.forEach(g=>{g.isFavorite=D(g.id)});break;case`CategoryData_${b}`:a(31,H=!1),a(27,O=!0),a(1,ne="false"),a(2,oe="false"),a(33,Z=!1),de=!1,se(i.data.categoryId,0,i.data.visiblegames).then(g=>{a(28,G=g),a(29,y=G.games.items),a(30,q=!!(Ce<=i.data.visiblegames&&O)),y&&y.forEach(v=>{v.isFavorite=D(v.id)})});break;case"CategoryChange":Y=20;break;case"ApplySorter":a(0,b=i.data.itemId),J=i.data.sortBy,se(b,0,Y).then(g=>{a(28,G=g),a(29,y=G.games.items),a(30,q=!1)});break;case"CategoryUpdate":Pe(i.data.itemId);break;case`SetUnfavoredGame${b}`:ut(`${o}/v1/player/${u}/favorites`,m,i.data.id);break;case`SetFavoredGame${b}`:mt(`${o}/v1/player/${u}/favorites`,m,i.data.id);break;case"UserSessionID":ue=i.data.session,ce=i.data.userID,_=="true"&&ce&&ce.length&&ue&&ue.length>0&&Ee(ue,ce);break;case"UpdateFavoredList":b==="FAVORITES"&&Ie(i.data.url,i.data.sessionID);break}},Pe=i=>{a(31,H=!1),a(27,O=re==="true"),a(33,Z=!1),de=!0,a(36,Q=!1),a(0,b=i),b!=="MOSTPLAYED"&&a(30,q=!1),R!=="true"&&(!C&&m&&Ee(m,u),se(b,0,Y).then(g=>{var v;a(28,G=g),(v=G==null?void 0:G.games)==null||v.items.forEach(S=>{S.isFavorite=D(S.id)}),a(29,y=G==null?void 0:G.games.items)}).finally(()=>{O&&window.postMessage({type:`CategoryData_${b}`,categoryId:b,visiblegames:ye},window.location.href)}))},rt=()=>{G&&(a(29,y=G.games.items),y.forEach(i=>{i.isFavorite=D(i.id)}))},D=i=>{var g;return(g=C==null?void 0:C.some(v=>v.id===i))!=null?g:!1};let mt=(i,g,v)=>pe(this,null,function*(){yield Ie(i,g),L.includes(v)||L.push(v);let M={method:"POST",headers:{"X-SessionID":g,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:L})};fetch(i,M).then(z=>z.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${v}`},window.location.href)}).catch(z=>{console.error("Err",z)})});const ut=(i,g,v)=>{let S={method:"DELETE",headers:{"X-SessionID":g}};fetch(`${i}/${v}`,S).then(M=>M.json()).then(()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${v}`},window.location.href),Ie(i,g)}),L.includes(v)&&(L=L.filter(M=>M!=v))},Ie=(i,g)=>pe(this,null,function*(){return fetch(i,{method:"GET",headers:{"X-SessionID":g}}).then(S=>S.json()).then(S=>{var z;C=S.items,X?(C.forEach(w=>{L.includes(w.id)||L.push(w.id)}),rt()):C.forEach(w=>{w.isFavorite=D(w.id)});const M=(z=e.platformFavorite(C))==null?void 0:z.length;b==="FAVORITES"&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:M}),je(C))}).catch(S=>{console.error(S)})}),je=i=>{if(!i)return;let g;g=(i==null?void 0:i.items)||i||[],g.length>0&&g.forEach(v=>{v.gameModel&&(v.gameModel.isFavorite=!0)}),a(42,K.items=e.platformFavorite(g,K.items),K),a(42,K.name="Favorites",K),a(25,B=!1)},ct=i=>{Y+=1,a(36,Q=!0),Y<=Ce&&se(i,ea,Y).then(g=>{a(28,G=g),G.games.items.length>y.length&&(a(29,y=G.games.items),y.forEach(v=>{v.isFavorite=D(v.id)})),a(36,Q=!1)})},_t=i=>{const g=i!=null?i:[];if((g==null?void 0:g.length)===0)return"";let v="",S=999999999999,M;const z=new Date(Date.now());return g.forEach((w,U)=>{const I=new Date(w.schedules[0].startTime),A=new Date(w.schedules[0].endTime);be.hooks(A).diff(z)<S&&(S=be.hooks(A).diff(z),M=U),be.hooks(z).isAfter(I)&&be.hooks(z).isBefore(A)&&(v=g[M].name)}),v},De=i=>{a(30,q=!1),window.postMessage({type:`${we}`,itemId:i,showallpage:ve},window.location.href)},dt=()=>{switch(b){case"FAVORITES":u&&m&&a(39,ee=!0);break;case"MOSTPLAYED":R==="false"&&u&&m&&a(39,ee=!1);break;case"LASTPLAYED":R==="false"&&u&&m&&a(39,ee=!1);break;default:Pe(b);break}},ft=()=>{document[fe]?a(41,Me="disconnect"):a(41,Me="connect")},gt=()=>{de&&te.forEach((i,g)=>{i&&(i.elems_index=g,he.observe(i))})},ht=()=>{Gt(r)};e.onDestroy(()=>{he==null||he.disconnect()}),e.onMount(()=>(window.addEventListener("visibilitychange",i=>ft()),window.addEventListener("message",Ne,!1),()=>{window.removeEventListener("message",Ne),window.removeEventListener("visibilitychange",Ne)}));function pt(i){e.binding_callbacks[i?"unshift":"push"](()=>{$=i,a(38,$)})}const bt=i=>De(G.id);function vt(i,g){e.binding_callbacks[i?"unshift":"push"](()=>{te[g]=i,a(24,te)})}function wt(i){e.binding_callbacks[i?"unshift":"push"](()=>{x=i,a(37,x)})}function kt(i){e.binding_callbacks[i?"unshift":"push"](()=>{$=i,a(38,$)})}function yt(i){e.binding_callbacks[i?"unshift":"push"](()=>{x=i,a(37,x)})}function St(i){e.binding_callbacks[i?"unshift":"push"](()=>{P=i,a(23,P)})}return s.$$set=i=>{"endpoint"in i&&a(3,o=i.endpoint),"datasource"in i&&a(4,l=i.datasource),"lang"in i&&a(5,r=i.lang),"session"in i&&a(6,m=i.session),"userid"in i&&a(7,u=i.userid),"favorites"in i&&a(8,_=i.favorites),"clientstyling"in i&&a(9,f=i.clientstyling),"clientstylingurl"in i&&a(10,h=i.clientstylingurl),"translationurl"in i&&a(11,k=i.translationurl),"currency"in i&&a(12,F=i.currency),"categoryid"in i&&a(0,b=i.categoryid),"showgamename"in i&&a(13,d=i.showgamename),"livecasino"in i&&a(14,c=i.livecasino),"gamepagemodalurl"in i&&a(15,N=i.gamepagemodalurl),"integratedgameframedesktop"in i&&a(16,E=i.integratedgameframedesktop),"integratedgameframemobile"in i&&a(17,p=i.integratedgameframemobile),"casinomygames"in i&&a(18,R=i.casinomygames),"addfilterselector"in i&&a(1,ne=i.addfilterselector),"addsortingselector"in i&&a(2,oe=i.addsortingselector),"filterbylogo"in i&&a(19,Ae=i.filterbylogo),"casinogamesgridslider"in i&&a(20,Le=i.casinogamesgridslider),"fetchviaevent"in i&&a(47,X=i.fetchviaevent),"showallpage"in i&&a(48,ve=i.showallpage),"actionevent"in i&&a(49,we=i.actionevent),"displayedgamecount"in i&&a(50,le=i.displayedgamecount),"showallbuttongamescount"in i&&a(51,ie=i.showallbuttongamescount),"mbsource"in i&&a(21,ke=i.mbsource),"lobbyscreen"in i&&a(52,re=i.lobbyscreen),"usesinglevendorfilter"in i&&a(22,me=i.usesinglevendorfilter),"visiblegames"in i&&a(53,ye=i.visiblegames)},s.$$.update=()=>{s.$$.dirty[0]&32&&r&&ht(),s.$$.dirty[0]&57|s.$$.dirty[1]&1638400&&(X==="false"||X==="")&&o&&r&&b&&l&&le&&ie&&it(b,le,ie),s.$$.dirty[0]&456&&_==="true"&&o&&m&&u&&Ee(m,u),s.$$.dirty[0]&16777216|s.$$.dirty[1]&8388608&&ze&&te&&gt(),s.$$.dirty[0]&33|s.$$.dirty[1]&2097152&&re&&r&&b&&dt(),s.$$.dirty[0]&2048&&k&&nt(),s.$$.dirty[0]&8389120&&f&&P&&e.setClientStyling(P,f),s.$$.dirty[0]&8389632&&h&&P&&e.setClientStylingURL(P,h),s.$$.dirty[0]&10485760&&P&&e.setStreamStyling(P,`${ke}.Style`)},[b,ne,oe,o,l,r,m,u,_,f,h,k,F,d,c,N,E,p,R,Ae,Le,ke,me,P,te,B,Se,O,G,y,q,H,_e,Z,Fe,Ge,Q,x,$,ee,ae,Me,K,n,Re,_t,De,X,ve,we,le,ie,re,ye,ze,pt,bt,vt,wt,kt,yt,St]}class st extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ta,$t,e.safe_not_equal,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:47,showallpage:48,actionevent:49,displayedgamecount:50,showallbuttongamescount:51,mbsource:21,lobbyscreen:52,usesinglevendorfilter:22,visiblegames:53},Ct,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[4]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[6]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[7]}set userid(t){this.$$set({userid:t}),e.flush()}get favorites(){return this.$$.ctx[8]}set favorites(t){this.$$set({favorites:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[12]}set currency(t){this.$$set({currency:t}),e.flush()}get categoryid(){return this.$$.ctx[0]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get livecasino(){return this.$$.ctx[14]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get fetchviaevent(){return this.$$.ctx[47]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),e.flush()}get showallpage(){return this.$$.ctx[48]}set showallpage(t){this.$$set({showallpage:t}),e.flush()}get actionevent(){return this.$$.ctx[49]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get displayedgamecount(){return this.$$.ctx[50]}set displayedgamecount(t){this.$$set({displayedgamecount:t}),e.flush()}get showallbuttongamescount(){return this.$$.ctx[51]}set showallbuttongamescount(t){this.$$set({showallbuttongamescount:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get lobbyscreen(){return this.$$.ctx[52]}set lobbyscreen(t){this.$$set({lobbyscreen:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[22]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}get visiblegames(){return this.$$.ctx[53]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}}e.create_custom_element(st,{endpoint:{},datasource:{},lang:{},session:{},userid:{},favorites:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},categoryid:{},showgamename:{},livecasino:{},gamepagemodalurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinomygames:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},casinogamesgridslider:{},fetchviaevent:{},showallpage:{},actionevent:{},displayedgamecount:{},showallbuttongamescount:{},mbsource:{},lobbyscreen:{},usesinglevendorfilter:{},visiblegames:{}},[],[],!0);exports.default=st;
1
+ "use strict";var he=(s,t,a)=>new Promise((n,o)=>{var l=u=>{try{m(a.next(u))}catch(_){o(_)}},r=u=>{try{m(a.throw(u))}catch(_){o(_)}},m=u=>u.done?n(u.value):Promise.resolve(u.value).then(l,r);m((a=a.apply(s,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFilter-WNFrQkQJ.cjs"),pe=require("./CasinoGameThumbnail-CYDuVrC6.cjs");function Oe(s,t){e.addMessages(s,t)}function Gt(s){e.$locale.set(s)}const He={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",500:"500 Error - Internal Server Error.",404:"404 Error - No result found."},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待",500:"500 錯誤 - 內部伺服器錯誤。",404:"404 錯誤 - 找不到結果。"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",500:"500 Fehler - Interner Serverfehler.",404:"404 Fehler - Kein Ergebnis gefunden."},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare.",500:"Errore 500 - Errore interno del server.",404:"Errore 404 - Nessun risultato trovato."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente",500:"Erreur 500 - Erreur interne du serveur.",404:"Erreur 404 - Aucun résultat trouvé."},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando",500:"Error 500 - Error interno del servidor.",404:"Error 404 - No se encontró ningún resultado."},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor",500:"500 Hatası - Dahili Sunucu Hatası.",404:"404 Hatası - Sonuç bulunamadı."},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз",500:"Ошибка 500 - Внутренняя ошибка сервера.",404:"Ошибка 404 - Результат не найден."},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare",500:"Eroare 500 - Eroare internă de server.",404:"Eroare 404 - Nu a fost găsit niciun rezultat."},hr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje",500:"Došlo je do pogreške. Molimo kontaktirajte korisničku podršku za više pomoći",404:"Pogreška 404 - Rezultat nije pronađen."},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra.",500:"500-as hiba - Belső szerverhiba.",404:"404-es hiba - Nem található eredmény."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie.",500:"Błąd 500 - Wewnętrzny błąd serwera.",404:"Błąd 404 - Nie znaleziono wyniku."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando",500:"Erro 500 - Erro interno do servidor.",404:"Erro 404 - Nenhum resultado encontrado."},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno.",500:"Napaka 500 - Notranja napaka strežnika.",404:"Napaka 404 - Rezultat ni bil najden."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo.",500:"Грешка 500 - Интерна грешка сервера.",404:"Грешка 404 - Резултат није пронађен."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando",500:"Erro 500 - Erro interno do servidor.",404:"Erro 404 - Nenhum resultado encontrado."},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando",500:"Error 500 - Error interno del servidor.",404:"Error 404 - No se encontró ningún resultado."},"en-us":{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",500:"500 Error - Internal Server Error.",404:"404 Error - No result found."}};if(typeof window!="undefined"){let s=function(t){return function(...a){try{return t.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnail-CYDuVrC6.cjs")).then(t=>t.CasinoGameThumbnail_ce).then(({default:t})=>{!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...a){try{return t.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFilter-WNFrQkQJ.cjs")).then(t=>t.CasinoFilter_ce).then(({default:t})=>{!customElements.get("casino-filter")&&customElements.define("casino-filter",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...a){try{return t.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoSort-C_DOIYQz.cjs")).then(({default:t})=>{!customElements.get("casino-sort")&&customElements.define("casino-sort",t.element)})}function Ct(s){e.append_styles(s,"svelte-gwk3ko",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}.SingleOrEmptyCategoryFilterContainer{margin-left:auto}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}')}function Be(s,t,a){const n=s.slice();return n[95]=t[a],n[97]=a,n}function qe(s,t,a){const n=s.slice();return n[95]=t[a],n[98]=t,n[97]=a,n}function Ve(s,t,a){const n=s.slice();return n[95]=t[a],n[97]=a,n}function Mt(s){let t;function a(l,r){if(l[28])return It;if(l[39])return Nt}let n=a(s),o=n&&n(s);return{c(){t=e.element("div"),o&&o.c()},m(l,r){e.insert(l,t,r),o&&o.m(t,null)},p(l,r){n===(n=a(l))&&o?o.p(l,r):(o&&o.d(1),o=n&&n(l),o&&(o.c(),o.m(t,null)))},d(l){l&&e.detach(t),o&&o.d()}}}function zt(s){let t,a,n;function o(f,h){return f[32]?Kt:f[29].length?Yt:Jt}let l=o(s),r=l(s);function m(f,h){return f[29]?Zt:Xt}let u=m(s),_=u(s);return{c(){t=e.element("div"),a=e.element("div"),r.c(),n=e.space(),_.c(),e.attr(a,"class","CasinoGamesHeader Searched "+(e.isMobile(s[44])?"CasinoGamesHeaderMobile":"")),e.attr(t,"class","CasinoGamesContainer")},m(f,h){e.insert(f,t,h),e.append(t,a),r.m(a,null),e.append(t,n),_.m(t,null)},p(f,h){l===(l=o(f))&&r?r.p(f,h):(r.d(1),r=l(f),r&&(r.c(),r.m(a,null))),u===(u=m(f))&&_?_.p(f,h):(_.d(1),_=u(f),_&&(_.c(),_.m(t,null)))},d(f){f&&e.detach(t),r.d(),_.d()}}}function Et(s){let t;function a(l,r){return l[34]?xt:Qt}let n=a(s),o=n(s);return{c(){o.c(),t=e.empty()},m(l,r){o.m(l,r),e.insert(l,t,r)},p(l,r){n===(n=a(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(t.parentNode,t)))},d(l){l&&e.detach(t),o.d(l)}}}function Nt(s){let t,a,n,o,l=s[18]!=="true"&&We(s);function r(_,f){return _[25]&&!_[36]?Lt:_[42]?At:jt}let m=r(s),u=m(s);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),n=e.element("ul"),u.c(),e.attr(n,"class",o=(s[42].items.length!=0?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),e.attr(t,"class","CasinoGamesContainer")},m(_,f){e.insert(_,t,f),l&&l.m(t,null),e.append(t,a),e.append(t,n),u.m(n,null),s[60](n)},p(_,f){_[18]!=="true"?l?l.p(_,f):(l=We(_),l.c(),l.m(t,a)):l&&(l.d(1),l=null),m===(m=r(_))&&u?u.p(_,f):(u.d(1),u=m(_),u&&(u.c(),u.m(n,null))),f[1]&2048&&o!==(o=(_[42].items.length!=0?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&e.attr(n,"class",o)},d(_){_&&e.detach(t),l&&l.d(),u.d(),s[60](null)}}}function It(s){let t,a,n=s[18]!=="true"&&Qe(s);function o(m,u){return m[25]&&!m[36]?Vt:m[29].length!==0?qt:Bt}let l=o(s),r=l(s);return{c(){t=e.element("div"),n&&n.c(),a=e.space(),r.c(),e.attr(t,"class","CasinoGamesContainer")},m(m,u){e.insert(m,t,u),n&&n.m(t,null),e.append(t,a),r.m(t,null)},p(m,u){m[18]!=="true"?n?n.p(m,u):(n=Qe(m),n.c(),n.m(t,a)):n&&(n.d(1),n=null),l===(l=o(m))&&r?r.p(m,u):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},d(m){m&&e.detach(t),n&&n.d(),r.d()}}}function We(s){let t,a,n=s[43]("favorites")+"",o,l,r,m,u=s[42].items.length+"",_,f;return{c(){t=e.element("div"),a=e.element("h3"),o=e.text(n),l=e.space(),r=e.element("span"),m=e.text("("),_=e.text(u),f=e.text(")"),e.attr(r,"class","CategoryFavName"),e.attr(a,"class","CategoryName"),e.attr(t,"class","CasinoGamesHeader")},m(h,k){e.insert(h,t,k),e.append(t,a),e.append(a,o),e.append(a,l),e.append(a,r),e.append(r,m),e.append(r,_),e.append(r,f),s[59](a)},p(h,k){k[1]&4096&&n!==(n=h[43]("favorites")+"")&&e.set_data(o,n),k[1]&2048&&u!==(u=h[42].items.length+"")&&e.set_data(_,u)},d(h){h&&e.detach(t),s[59](null)}}}function jt(s){let t,a=s[43]("waiting")+"",n;return{c(){t=e.element("p"),n=e.text(a)},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("waiting")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function At(s){let t,a=e.ensure_array_like(s[42].items),n=[];for(let l=0;l<a.length;l+=1)n[l]=Ze(Be(s,a,l));let o=null;return a.length||(o=Ye(s)),{c(){for(let l=0;l<n.length;l+=1)n[l].c();t=e.empty(),o&&o.c()},m(l,r){for(let m=0;m<n.length;m+=1)n[m]&&n[m].m(l,r);e.insert(l,t,r),o&&o.m(l,r)},p(l,r){if(r[0]&2359273|r[1]&32512){a=e.ensure_array_like(l[42].items);let m;for(m=0;m<a.length;m+=1){const u=Be(l,a,m);n[m]?n[m].p(u,r):(n[m]=Ze(u),n[m].c(),n[m].m(t.parentNode,t))}for(;m<n.length;m+=1)n[m].d(1);n.length=a.length,!a.length&&o?o.p(l,r):a.length?o&&(o.d(1),o=null):(o=Ye(l),o.c(),o.m(t.parentNode,t))}},d(l){l&&e.detach(t),e.destroy_each(n,l),o&&o.d(l)}}}function Lt(s){let t;return{c(){t=e.element("div"),e.attr(t,"class","lds-dual-ring")},m(a,n){e.insert(a,t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function Ye(s){let t,a,n,o,l,r,m,u,_,f,h,k=s[43]("noFavoritesTitle")+"",F,b,d;function c(p,R){return e.isMobile(p[44])?Tt:Rt}let E=c(s)(s);return{c(){t=e.element("p"),a=e.svg_element("svg"),n=e.svg_element("rect"),o=e.svg_element("rect"),l=e.svg_element("circle"),r=e.svg_element("path"),m=e.svg_element("path"),u=e.svg_element("path"),_=e.svg_element("path"),f=e.space(),h=e.element("span"),F=e.text(k),b=e.space(),E.c(),d=e.space(),e.attr(n,"x","1"),e.attr(n,"y","18.053"),e.attr(n,"width","90.263"),e.attr(n,"height","90.263"),e.attr(n,"rx","12"),e.attr(n,"stroke","var(--emw--color-gray-150, #828282)"),e.attr(n,"stroke-width","1.5"),e.attr(o,"x","106.737"),e.attr(o,"y","56.737"),e.attr(o,"width","90.263"),e.attr(o,"height","90.263"),e.attr(o,"rx","12"),e.attr(o,"stroke","var(--emw--color-gray-150, #828282)"),e.attr(o,"stroke-width","1.5"),e.attr(l,"cx","70.5"),e.attr(l,"cy","32.237"),e.attr(l,"r","31.487"),e.attr(l,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(l,"stroke-width","1.5"),e.attr(l,"stroke-dasharray","5 0"),e.attr(r,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),e.attr(r,"fill","var(--emw--color-gray-150, #828282)"),e.attr(m,"d","M78 43h11v13H78V43z"),e.attr(m,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(u,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),e.attr(u,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(u,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(u,"stroke-linecap","round"),e.attr(u,"stroke-linejoin","round"),e.attr(_,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),e.attr(_,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(_,"stroke-width","1.5"),e.attr(_,"stroke-linecap","round"),e.attr(_,"stroke-linejoin","round"),e.attr(a,"width","198"),e.attr(a,"height","148"),e.attr(a,"viewBox","0 0 198 148"),e.attr(a,"fill","none"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(h,"class","NoFavoriteText NoFavoriteTextHighlight"),e.attr(t,"class","NoFavoriteGames "+(e.isMobile(s[44])?"NoFavoriteGamesMobile":""))},m(p,R){e.insert(p,t,R),e.append(t,a),e.append(a,n),e.append(a,o),e.append(a,l),e.append(a,r),e.append(a,m),e.append(a,u),e.append(a,_),e.append(t,f),e.append(t,h),e.append(h,F),e.append(t,b),E.m(t,null),e.append(t,d)},p(p,R){R[1]&4096&&k!==(k=p[43]("noFavoritesTitle")+"")&&e.set_data(F,k),E.p(p,R)},d(p){p&&e.detach(t),E.d()}}}function Rt(s){let t,a=s[43]("noFavorites")+"",n;return{c(){t=e.element("span"),n=e.text(a),e.attr(t,"class","NoFavoriteText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noFavorites")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Tt(s){let t,a=s[43]("noFavoritesMobile")+"",n;return{c(){t=e.element("span"),n=e.text(a),e.attr(t,"class","NoFavoriteText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noFavoritesMobile")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Je(s){let t,a=s[95].gameModel.isFavorite&&Ke(s);return{c(){a&&a.c(),t=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,t,o)},p(n,o){n[95].gameModel.isFavorite?a?a.p(n,o):(a=Ke(n),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d(n)}}}function Ke(s){let t,a=Pt(s);return{c(){a&&a.c(),t=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,t,o)},p(n,o){a.p(n,o)},d(n){n&&e.detach(t),a&&a.d(n)}}}function Pt(s){let t,a,n;function o(m,u){if(u[1]&2048&&(a=null),t==null&&(t=!!e.isMobile(m[44])),t)return Ut;if(a==null&&(a=!!m[95].gameModel.platform.includes("PC")),a)return Dt}let l=o(s,[-1,-1,-1,-1]),r=l&&l(s);return{c(){r&&r.c(),n=e.empty()},m(m,u){r&&r.m(m,u),e.insert(m,n,u)},p(m,u){l===(l=o(m,u))&&r?r.p(m,u):(r&&r.d(1),r=l&&l(m),r&&(r.c(),r.m(n.parentNode,n)))},d(m){m&&e.detach(n),r&&r.d(m)}}}function Dt(s){let t,a,n,o,l,r,m,u,_,f,h,k,F,b;return{c(){var d,c,N;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"class",a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1"))),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"translationurl",s[11]),e.set_custom_element_data(t,"favorites",s[8]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"gamethumbnail",n=s[95].gameModel.thumbnail),e.set_custom_element_data(t,"gamename",o=s[95].gameModel.name),e.set_custom_element_data(t,"gamevendor",l=s[95].gameModel.vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",r=s[95].launchUrl),e.set_custom_element_data(t,"gameisnew",m=(c=(d=s[95])==null?void 0:d.gameModel)==null?void 0:c.isNew),e.set_custom_element_data(t,"gametag",u=s[45]((N=s[95].gameModel)==null?void 0:N.advancedTags)),e.set_custom_element_data(t,"gamecellsize",_=s[95].cellSize),e.set_custom_element_data(t,"gameid",f=s[95].gameModel.id),e.set_custom_element_data(t,"gamefunmode",h=s[95].gameModel.hasFunMode),e.set_custom_element_data(t,"showgamename",s[13]),e.set_custom_element_data(t,"gamefavorite",k=s[95].gameModel.isFavorite),e.set_custom_element_data(t,"showfavoredcategory",s[39]),e.set_custom_element_data(t,"connectlive",F=s[40][s[95].id]==1?"connect":"disconnect"),e.set_custom_element_data(t,"visibilityconnect",s[41]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"currency",s[12]),e.set_custom_element_data(t,"livelobbyendpoint",b=s[95].gameModel.details?s[95].gameModel.launchUrl:""),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"livecasino",s[14]),e.set_custom_element_data(t,"gamepagemodalurl",s[15]),e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),e.set_custom_element_data(t,"integratedgameframemobile",s[17])},m(d,c){e.insert(d,t,c)},p(d,c){var N,E,p;c[1]&2048&&a!==(a=""+(W+(d[95].cellSize?d[95].cellSize:"1x1")))&&e.set_custom_element_data(t,"class",a),c[0]&64&&e.set_custom_element_data(t,"session",d[6]),c[0]&128&&e.set_custom_element_data(t,"userid",d[7]),c[0]&32&&e.set_custom_element_data(t,"lang",d[5]),c[0]&2048&&e.set_custom_element_data(t,"translationurl",d[11]),c[0]&256&&e.set_custom_element_data(t,"favorites",d[8]),c[0]&1&&e.set_custom_element_data(t,"categoryid",d[0]),c[1]&2048&&n!==(n=d[95].gameModel.thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),c[1]&2048&&o!==(o=d[95].gameModel.name)&&e.set_custom_element_data(t,"gamename",o),c[1]&2048&&l!==(l=d[95].gameModel.vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",l),c[1]&2048&&r!==(r=d[95].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",r),c[1]&2048&&m!==(m=(E=(N=d[95])==null?void 0:N.gameModel)==null?void 0:E.isNew)&&e.set_custom_element_data(t,"gameisnew",m),c[1]&2048&&u!==(u=d[45]((p=d[95].gameModel)==null?void 0:p.advancedTags))&&e.set_custom_element_data(t,"gametag",u),c[1]&2048&&_!==(_=d[95].cellSize)&&e.set_custom_element_data(t,"gamecellsize",_),c[1]&2048&&f!==(f=d[95].gameModel.id)&&e.set_custom_element_data(t,"gameid",f),c[1]&2048&&h!==(h=d[95].gameModel.hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),c[0]&8192&&e.set_custom_element_data(t,"showgamename",d[13]),c[1]&2048&&k!==(k=d[95].gameModel.isFavorite)&&e.set_custom_element_data(t,"gamefavorite",k),c[1]&256&&e.set_custom_element_data(t,"showfavoredcategory",d[39]),c[1]&2560&&F!==(F=d[40][d[95].id]==1?"connect":"disconnect")&&e.set_custom_element_data(t,"connectlive",F),c[1]&1024&&e.set_custom_element_data(t,"visibilityconnect",d[41]),c[0]&2097152&&e.set_custom_element_data(t,"mbsource",d[21]),c[0]&4096&&e.set_custom_element_data(t,"currency",d[12]),c[1]&2048&&b!==(b=d[95].gameModel.details?d[95].gameModel.launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),c[0]&512&&e.set_custom_element_data(t,"clientstyling",d[9]),c[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",d[10]),c[0]&8&&e.set_custom_element_data(t,"endpoint",d[3]),c[0]&16384&&e.set_custom_element_data(t,"livecasino",d[14]),c[0]&32768&&e.set_custom_element_data(t,"gamepagemodalurl",d[15]),c[0]&65536&&e.set_custom_element_data(t,"integratedgameframedesktop",d[16]),c[0]&131072&&e.set_custom_element_data(t,"integratedgameframemobile",d[17])},d(d){d&&e.detach(t)}}}function Ut(s){let t=s[95].gameModel.platform.includes("iPad")||s[95].gameModel.platform.includes("iPhone")||s[95].gameModel.platform.includes("Android"),a,n=t&&Xe(s);return{c(){n&&n.c(),a=e.empty()},m(o,l){n&&n.m(o,l),e.insert(o,a,l)},p(o,l){l[1]&2048&&(t=o[95].gameModel.platform.includes("iPad")||o[95].gameModel.platform.includes("iPhone")||o[95].gameModel.platform.includes("Android")),t?n?n.p(o,l):(n=Xe(o),n.c(),n.m(a.parentNode,a)):n&&(n.d(1),n=null)},d(o){o&&e.detach(a),n&&n.d(o)}}}function Xe(s){let t,a,n,o,l,r,m,u,_,f,h,k,F,b;return{c(){var d,c;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"class",a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1"))),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"favorites",s[8]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"gamethumbnail",n=s[95].gameModel.thumbnail),e.set_custom_element_data(t,"gamename",o=s[95].gameModel.name),e.set_custom_element_data(t,"gamevendor",l=s[95].gameModel.vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",r=s[95].launchUrl),e.set_custom_element_data(t,"gameisnew",m=(d=s[95].gameModel)==null?void 0:d.isNew),e.set_custom_element_data(t,"gametag",u=s[45]((c=s[95].gameModel)==null?void 0:c.advancedTags)),e.set_custom_element_data(t,"gamecellsize",_=s[95].cellSize),e.set_custom_element_data(t,"gameid",f=s[95].gameModel.id),e.set_custom_element_data(t,"gamefunmode",h=s[95].gameModel.hasFunMode),e.set_custom_element_data(t,"showgamename",s[13]),e.set_custom_element_data(t,"gamefavorite",k=s[95].gameModel.isFavorite),e.set_custom_element_data(t,"showfavoredcategory",s[39]),e.set_custom_element_data(t,"connectlive",F=s[40][s[95].id]==1?"connect":"disconnect"),e.set_custom_element_data(t,"visibilityconnect",s[41]),e.set_custom_element_data(t,"translationurl",s[11]),e.set_custom_element_data(t,"currency",s[12]),e.set_custom_element_data(t,"livelobbyendpoint",b=s[95].gameModel.details?s[95].gameModel.launchUrl:""),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"livecasino",s[14]),e.set_custom_element_data(t,"gamepagemodalurl",s[15]),e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),e.set_custom_element_data(t,"integratedgameframemobile",s[17])},m(d,c){e.insert(d,t,c)},p(d,c){var N,E;c[1]&2048&&a!==(a=""+(W+(d[95].cellSize?d[95].cellSize:"1x1")))&&e.set_custom_element_data(t,"class",a),c[0]&64&&e.set_custom_element_data(t,"session",d[6]),c[0]&128&&e.set_custom_element_data(t,"userid",d[7]),c[0]&32&&e.set_custom_element_data(t,"lang",d[5]),c[0]&2097152&&e.set_custom_element_data(t,"mbsource",d[21]),c[0]&256&&e.set_custom_element_data(t,"favorites",d[8]),c[0]&1&&e.set_custom_element_data(t,"categoryid",d[0]),c[1]&2048&&n!==(n=d[95].gameModel.thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),c[1]&2048&&o!==(o=d[95].gameModel.name)&&e.set_custom_element_data(t,"gamename",o),c[1]&2048&&l!==(l=d[95].gameModel.vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",l),c[1]&2048&&r!==(r=d[95].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",r),c[1]&2048&&m!==(m=(N=d[95].gameModel)==null?void 0:N.isNew)&&e.set_custom_element_data(t,"gameisnew",m),c[1]&2048&&u!==(u=d[45]((E=d[95].gameModel)==null?void 0:E.advancedTags))&&e.set_custom_element_data(t,"gametag",u),c[1]&2048&&_!==(_=d[95].cellSize)&&e.set_custom_element_data(t,"gamecellsize",_),c[1]&2048&&f!==(f=d[95].gameModel.id)&&e.set_custom_element_data(t,"gameid",f),c[1]&2048&&h!==(h=d[95].gameModel.hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),c[0]&8192&&e.set_custom_element_data(t,"showgamename",d[13]),c[1]&2048&&k!==(k=d[95].gameModel.isFavorite)&&e.set_custom_element_data(t,"gamefavorite",k),c[1]&256&&e.set_custom_element_data(t,"showfavoredcategory",d[39]),c[1]&2560&&F!==(F=d[40][d[95].id]==1?"connect":"disconnect")&&e.set_custom_element_data(t,"connectlive",F),c[1]&1024&&e.set_custom_element_data(t,"visibilityconnect",d[41]),c[0]&2048&&e.set_custom_element_data(t,"translationurl",d[11]),c[0]&4096&&e.set_custom_element_data(t,"currency",d[12]),c[1]&2048&&b!==(b=d[95].gameModel.details?d[95].gameModel.launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),c[0]&512&&e.set_custom_element_data(t,"clientstyling",d[9]),c[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",d[10]),c[0]&8&&e.set_custom_element_data(t,"endpoint",d[3]),c[0]&16384&&e.set_custom_element_data(t,"livecasino",d[14]),c[0]&32768&&e.set_custom_element_data(t,"gamepagemodalurl",d[15]),c[0]&65536&&e.set_custom_element_data(t,"integratedgameframedesktop",d[16]),c[0]&131072&&e.set_custom_element_data(t,"integratedgameframemobile",d[17])},d(d){d&&e.detach(t)}}}function Ze(s){let t,a=s[95].gameModel&&Je(s);return{c(){a&&a.c(),t=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,t,o)},p(n,o){n[95].gameModel?a?a.p(n,o):(a=Je(n),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d(n)}}}function Qe(s){let t,a,n=s[28].name+"",o,l;function r(_,f){return _[27]&&!_[30]?Ht:Ot}let m=r(s),u=m(s);return{c(){t=e.element("div"),a=e.element("h3"),o=e.text(n),l=e.space(),u.c(),e.attr(a,"class","CategoryName"),e.attr(t,"class","CasinoGamesHeader")},m(_,f){e.insert(_,t,f),e.append(t,a),e.append(a,o),s[55](a),e.append(t,l),u.m(t,null)},p(_,f){f[0]&268435456&&n!==(n=_[28].name+"")&&e.set_data(o,n),m===(m=r(_))&&u?u.p(_,f):(u.d(1),u=m(_),u&&(u.c(),u.m(t,null)))},d(_){_&&e.detach(t),s[55](null),u.d()}}}function Ot(s){let t,a,n,o=s[1]=="true"&&s[22]==="false"&&xe(s),l=s[2]=="true"&&$e(s);return{c(){t=e.element("div"),o&&o.c(),a=e.space(),l&&l.c(),e.attr(t,"class",n=s[1]=="true"&&s[22]==="false"&&s[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")},m(r,m){e.insert(r,t,m),o&&o.m(t,null),e.append(t,a),l&&l.m(t,null)},p(r,m){r[1]=="true"&&r[22]==="false"?o?o.p(r,m):(o=xe(r),o.c(),o.m(t,a)):o&&(o.d(1),o=null),r[2]=="true"?l?l.p(r,m):(l=$e(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),m[0]&4194310&&n!==(n=r[1]=="true"&&r[22]==="false"&&r[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")&&e.attr(t,"class",n)},d(r){r&&e.detach(t),o&&o.d(),l&&l.d()}}}function Ht(s){let t,a,n=s[43]("viewAll")+"",o,l,r=s[28].games.total+"",m,u,_,f;return{c(){t=e.element("a"),a=e.element("span"),o=e.text(n),l=e.text(" ("),m=e.text(r),u=e.text(")"),e.attr(a,"class","CategoryLoadMore"),e.attr(t,"class","CategoryNameLink")},m(h,k){e.insert(h,t,k),e.append(t,a),e.append(a,o),e.append(a,l),e.append(a,m),e.append(a,u),_||(f=e.listen(t,"click",s[56]),_=!0)},p(h,k){k[1]&4096&&n!==(n=h[43]("viewAll")+"")&&e.set_data(o,n),k[0]&268435456&&r!==(r=h[28].games.total+"")&&e.set_data(m,r)},d(h){h&&e.detach(t),_=!1,f()}}}function xe(s){let t;return{c(){t=e.element("casino-filter"),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"datasource",s[4]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"addfilterselector",s[1]),e.set_custom_element_data(t,"addsortingselector",s[2]),e.set_custom_element_data(t,"filterbylogo",s[19])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),n[0]&512&&e.set_custom_element_data(t,"clientstyling",a[9]),n[0]&8&&e.set_custom_element_data(t,"endpoint",a[3]),n[0]&16&&e.set_custom_element_data(t,"datasource",a[4]),n[0]&32&&e.set_custom_element_data(t,"lang",a[5]),n[0]&1&&e.set_custom_element_data(t,"categoryid",a[0]),n[0]&2097152&&e.set_custom_element_data(t,"mbsource",a[21]),n[0]&2&&e.set_custom_element_data(t,"addfilterselector",a[1]),n[0]&4&&e.set_custom_element_data(t,"addsortingselector",a[2]),n[0]&524288&&e.set_custom_element_data(t,"filterbylogo",a[19])},d(a){a&&e.detach(t)}}}function $e(s){let t;return{c(){t=e.element("casino-sort"),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"addsortingselector",s[2])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),n[0]&512&&e.set_custom_element_data(t,"clientstyling",a[9]),n[0]&32&&e.set_custom_element_data(t,"lang",a[5]),n[0]&2097152&&e.set_custom_element_data(t,"mbsource",a[21]),n[0]&1&&e.set_custom_element_data(t,"categoryid",a[0]),n[0]&4&&e.set_custom_element_data(t,"addsortingselector",a[2])},d(a){a&&e.detach(t)}}}function Bt(s){let t,a=s[43]("noResults")+"",n;return{c(){t=e.element("p"),n=e.text(a),e.attr(t,"class","NoSearchResults")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noResults")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function qt(s){let t,a=[],n=new Map,o,l=e.ensure_array_like(s[29]);const r=m=>m[95].id;for(let m=0;m<l.length;m+=1){let u=qe(s,l,m),_=r(u);n.set(_,a[m]=et(_,u))}return{c(){t=e.element("ul");for(let m=0;m<a.length;m+=1)a[m].c();e.attr(t,"class",o=(s[42].items.length===0&&s[39]?"":"CasinoGamesGrid")+" "+(s[27]&&s[20]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(m,u){e.insert(m,t,u);for(let _=0;_<a.length;_+=1)a[_]&&a[_].m(t,null);s[58](t)},p(m,u){u[0]&557055977|u[1]&17920&&(l=e.ensure_array_like(m[29]),a=e.update_keyed_each(a,u,r,1,m,l,n,t,e.destroy_block,et,null,qe)),u[0]&135266304|u[1]&2304&&o!==(o=(m[42].items.length===0&&m[39]?"":"CasinoGamesGrid")+" "+(m[27]&&m[20]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&e.attr(t,"class",o)},d(m){m&&e.detach(t);for(let u=0;u<a.length;u+=1)a[u].d();s[58](null)}}}function Vt(s){let t;return{c(){t=e.element("div"),e.attr(t,"class","lds-dual-ring")},m(a,n){e.insert(a,t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function Wt(s){let t,a,n,o,l,r,m,u,_,f,h,k,F,b,d=s[97];const c=()=>s[57](t,d),N=()=>s[57](null,d);return{c(){t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"class",a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1"))),e.set_custom_element_data(t,"favorites",s[8]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"gamethumbnail",n=s[95].thumbnail),e.set_custom_element_data(t,"gamename",o=s[95].name),e.set_custom_element_data(t,"gamevendor",l=s[95].vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",r=s[95].launchUrl),e.set_custom_element_data(t,"gameisnew",m=s[95].isNew),e.set_custom_element_data(t,"gametag",u=s[45](s[95].advancedTags)),e.set_custom_element_data(t,"gamecellsize",_=s[95].cellSize),e.set_custom_element_data(t,"gameid",f=s[95].id),e.set_custom_element_data(t,"gamefunmode",h=s[95].hasFunMode),e.set_custom_element_data(t,"gamefavorite",k=s[95].isFavorite),e.set_custom_element_data(t,"translationurl",s[11]),e.set_custom_element_data(t,"showgamename",s[13]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"connectlive",F=s[40][s[95].id]==1?"connect":"disconnect"),e.set_custom_element_data(t,"visibilityconnect",s[41]),e.set_custom_element_data(t,"currency",s[12]),e.set_custom_element_data(t,"livelobbyendpoint",b=s[95].details?s[95].href:""),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"livecasino",s[14]),e.set_custom_element_data(t,"gamepagemodalurl",s[15]),e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),e.set_custom_element_data(t,"integratedgameframemobile",s[17]),e.set_custom_element_data(t,"casinogamesgridslider",s[20])},m(E,p){e.insert(E,t,p),c()},p(E,p){s=E,p[0]&64&&e.set_custom_element_data(t,"session",s[6]),p[0]&128&&e.set_custom_element_data(t,"userid",s[7]),p[0]&32&&e.set_custom_element_data(t,"lang",s[5]),p[0]&536870912&&a!==(a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1")))&&e.set_custom_element_data(t,"class",a),p[0]&256&&e.set_custom_element_data(t,"favorites",s[8]),p[0]&1&&e.set_custom_element_data(t,"categoryid",s[0]),p[0]&536870912&&n!==(n=s[95].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),p[0]&536870912&&o!==(o=s[95].name)&&e.set_custom_element_data(t,"gamename",o),p[0]&536870912&&l!==(l=s[95].vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",l),p[0]&536870912&&r!==(r=s[95].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",r),p[0]&536870912&&m!==(m=s[95].isNew)&&e.set_custom_element_data(t,"gameisnew",m),p[0]&536870912&&u!==(u=s[45](s[95].advancedTags))&&e.set_custom_element_data(t,"gametag",u),p[0]&536870912&&_!==(_=s[95].cellSize)&&e.set_custom_element_data(t,"gamecellsize",_),p[0]&536870912&&f!==(f=s[95].id)&&e.set_custom_element_data(t,"gameid",f),p[0]&536870912&&h!==(h=s[95].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),p[0]&536870912&&k!==(k=s[95].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",k),p[0]&2048&&e.set_custom_element_data(t,"translationurl",s[11]),p[0]&8192&&e.set_custom_element_data(t,"showgamename",s[13]),p[0]&2097152&&e.set_custom_element_data(t,"mbsource",s[21]),p[0]&536870912|p[1]&512&&F!==(F=s[40][s[95].id]==1?"connect":"disconnect")&&e.set_custom_element_data(t,"connectlive",F),p[1]&1024&&e.set_custom_element_data(t,"visibilityconnect",s[41]),p[0]&4096&&e.set_custom_element_data(t,"currency",s[12]),p[0]&536870912&&b!==(b=s[95].details?s[95].href:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),p[0]&512&&e.set_custom_element_data(t,"clientstyling",s[9]),p[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10]),p[0]&8&&e.set_custom_element_data(t,"endpoint",s[3]),p[0]&16384&&e.set_custom_element_data(t,"livecasino",s[14]),p[0]&32768&&e.set_custom_element_data(t,"gamepagemodalurl",s[15]),p[0]&65536&&e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),p[0]&131072&&e.set_custom_element_data(t,"integratedgameframemobile",s[17]),p[0]&1048576&&e.set_custom_element_data(t,"casinogamesgridslider",s[20]),d!==s[97]&&(N(),d=s[97],c())},d(E){E&&e.detach(t),N()}}}function et(s,t){let a,n,o=Wt(t);return{key:s,first:null,c(){a=e.empty(),o&&o.c(),n=e.empty(),this.first=a},m(l,r){e.insert(l,a,r),o&&o.m(l,r),e.insert(l,n,r)},p(l,r){t=l,o.p(t,r)},d(l){l&&(e.detach(a),e.detach(n)),o&&o.d(l)}}}function Yt(s){let t,a=s[43]("searchedItems")+"",n;return{c(){t=e.element("h3"),n=e.text(a),e.attr(t,"class","StatusText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("searchedItems")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Jt(s){let t,a=s[43]("noResults")+"",n;return{c(){t=e.element("h3"),n=e.text(a),e.attr(t,"class","StatusText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noResults")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Kt(s){let t,a=s[43]("recentSearchedItems")+"",n;return{c(){t=e.element("h3"),n=e.text(a),e.attr(t,"class","StatusText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("recentSearchedItems")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Xt(s){let t;return{c(){t=e.element("p"),t.textContent="Waiting",e.attr(t,"class","SearchWaiting")},m(a,n){e.insert(a,t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function Zt(s){let t,a,n=[],o=new Map,l=!s[35]&&tt(s),r=e.ensure_array_like(s[29]);const m=u=>u[95].id;for(let u=0;u<r.length;u+=1){let _=Ve(s,r,u),f=m(_);o.set(f,n[u]=at(f,_))}return{c(){l&&l.c(),t=e.space(),a=e.element("ul");for(let u=0;u<n.length;u+=1)n[u].c();e.attr(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(u,_){l&&l.m(u,_),e.insert(u,t,_),e.insert(u,a,_);for(let f=0;f<n.length;f+=1)n[f]&&n[f].m(a,null)},p(u,_){u[35]?l&&(l.d(1),l=null):l?l.p(u,_):(l=tt(u),l.c(),l.m(t.parentNode,t)),_[0]&539230185|_[1]&16388&&(r=e.ensure_array_like(u[29]),n=e.update_keyed_each(n,_,m,1,u,r,o,a,e.destroy_block,at,null,Ve))},d(u){u&&(e.detach(t),e.detach(a)),l&&l.d(u);for(let _=0;_<n.length;_+=1)n[_].d()}}}function tt(s){let t,a=s[43]("noRecentSearch")+"",n;return{c(){t=e.element("p"),n=e.text(a),e.attr(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(e.isMobile(s[44])?"NoRecentSearchesMobile":""))},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noRecentSearch")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function at(s,t){let a,n,o,l,r,m,u,_,f,h,k,F,b;return{key:s,first:null,c(){var d;a=e.element("casino-game-thumbnail"),e.set_custom_element_data(a,"class",n=""+(W+(t[95].cellSize?t[95].cellSize:"1x1"))),e.set_custom_element_data(a,"session",t[6]),e.set_custom_element_data(a,"userid",t[7]),e.set_custom_element_data(a,"lang",t[5]),e.set_custom_element_data(a,"searchitem",t[33]),e.set_custom_element_data(a,"favorites",t[8]),e.set_custom_element_data(a,"categoryid",t[0]),e.set_custom_element_data(a,"gamethumbnail",o=t[95].thumbnail),e.set_custom_element_data(a,"gamename",l=t[95].name),e.set_custom_element_data(a,"gamevendor",r=t[95].vendor.displayName),e.set_custom_element_data(a,"gameLaunchUrl",m=t[95].launchUrl),e.set_custom_element_data(a,"gameisnew",u=(d=t[95])==null?void 0:d.isNew),e.set_custom_element_data(a,"gametag",_=t[45](t[95].advancedTags)),e.set_custom_element_data(a,"gamecellsize",f=t[95].cellSize),e.set_custom_element_data(a,"gameid",h=t[95].id),e.set_custom_element_data(a,"gamefunmode",k=t[95].hasFunMode),e.set_custom_element_data(a,"mbsource",t[21]),e.set_custom_element_data(a,"showgamename",t[13]),e.set_custom_element_data(a,"translationurl",t[11]),e.set_custom_element_data(a,"gamefavorite",F=t[95].isFavorite),e.set_custom_element_data(a,"currency",t[12]),e.set_custom_element_data(a,"livelobbyendpoint",b=t[95].details?t[95].href:""),e.set_custom_element_data(a,"clientstyling",t[9]),e.set_custom_element_data(a,"clientstylingurl",t[10]),e.set_custom_element_data(a,"endpoint",t[3]),e.set_custom_element_data(a,"livecasino",t[14]),e.set_custom_element_data(a,"gamepagemodalurl",t[15]),e.set_custom_element_data(a,"integratedgameframedesktop",t[16]),e.set_custom_element_data(a,"integratedgameframemobile",t[17]),this.first=a},m(d,c){e.insert(d,a,c)},p(d,c){var N;t=d,c[0]&536870912&&n!==(n=""+(W+(t[95].cellSize?t[95].cellSize:"1x1")))&&e.set_custom_element_data(a,"class",n),c[0]&64&&e.set_custom_element_data(a,"session",t[6]),c[0]&128&&e.set_custom_element_data(a,"userid",t[7]),c[0]&32&&e.set_custom_element_data(a,"lang",t[5]),c[1]&4&&e.set_custom_element_data(a,"searchitem",t[33]),c[0]&256&&e.set_custom_element_data(a,"favorites",t[8]),c[0]&1&&e.set_custom_element_data(a,"categoryid",t[0]),c[0]&536870912&&o!==(o=t[95].thumbnail)&&e.set_custom_element_data(a,"gamethumbnail",o),c[0]&536870912&&l!==(l=t[95].name)&&e.set_custom_element_data(a,"gamename",l),c[0]&536870912&&r!==(r=t[95].vendor.displayName)&&e.set_custom_element_data(a,"gamevendor",r),c[0]&536870912&&m!==(m=t[95].launchUrl)&&e.set_custom_element_data(a,"gameLaunchUrl",m),c[0]&536870912&&u!==(u=(N=t[95])==null?void 0:N.isNew)&&e.set_custom_element_data(a,"gameisnew",u),c[0]&536870912&&_!==(_=t[45](t[95].advancedTags))&&e.set_custom_element_data(a,"gametag",_),c[0]&536870912&&f!==(f=t[95].cellSize)&&e.set_custom_element_data(a,"gamecellsize",f),c[0]&536870912&&h!==(h=t[95].id)&&e.set_custom_element_data(a,"gameid",h),c[0]&536870912&&k!==(k=t[95].hasFunMode)&&e.set_custom_element_data(a,"gamefunmode",k),c[0]&2097152&&e.set_custom_element_data(a,"mbsource",t[21]),c[0]&8192&&e.set_custom_element_data(a,"showgamename",t[13]),c[0]&2048&&e.set_custom_element_data(a,"translationurl",t[11]),c[0]&536870912&&F!==(F=t[95].isFavorite)&&e.set_custom_element_data(a,"gamefavorite",F),c[0]&4096&&e.set_custom_element_data(a,"currency",t[12]),c[0]&536870912&&b!==(b=t[95].details?t[95].href:"")&&e.set_custom_element_data(a,"livelobbyendpoint",b),c[0]&512&&e.set_custom_element_data(a,"clientstyling",t[9]),c[0]&1024&&e.set_custom_element_data(a,"clientstylingurl",t[10]),c[0]&8&&e.set_custom_element_data(a,"endpoint",t[3]),c[0]&16384&&e.set_custom_element_data(a,"livecasino",t[14]),c[0]&32768&&e.set_custom_element_data(a,"gamepagemodalurl",t[15]),c[0]&65536&&e.set_custom_element_data(a,"integratedgameframedesktop",t[16]),c[0]&131072&&e.set_custom_element_data(a,"integratedgameframemobile",t[17])},d(d){d&&e.detach(a)}}}function Qt(s){let t,a=s[43]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(n,o){e.insert(n,t,o),t.innerHTML=a},p(n,o){o[1]&4096&&a!==(a=n[43]("500")+"")&&(t.innerHTML=a)},d(n){n&&e.detach(t)}}}function xt(s){let t,a=s[43]("404")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(n,o){e.insert(n,t,o),t.innerHTML=a},p(n,o){o[1]&4096&&a!==(a=n[43]("404")+"")&&(t.innerHTML=a)},d(n){n&&e.detach(t)}}}function $t(s){let t;function a(l,r){return l[26]?Et:l[31]?zt:Mt}let n=a(s),o=n(s);return{c(){t=e.element("div"),o.c(),e.attr(t,"class","CasinoGamesCategorySectionContainer")},m(l,r){e.insert(l,t,r),o.m(t,null),s[61](t)},p(l,r){n===(n=a(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),o.d(),s[61](null)}}}const W="game-tile-";let ea=0;function ta(s,t,a){let n;e.component_subscribe(s,e.$format,i=>a(43,n=i));let{endpoint:o=""}=t,{datasource:l=""}=t,{lang:r=""}=t,{session:m=""}=t,{userid:u=""}=t,{favorites:_=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:k=""}=t,{currency:F=""}=t,{categoryid:b=""}=t,{showgamename:d=""}=t,{livecasino:c="false"}=t,{gamepagemodalurl:N="true"}=t,{integratedgameframedesktop:E="false"}=t,{integratedgameframemobile:p="false"}=t,{casinomygames:R="false"}=t,{addfilterselector:ne="false"}=t,{addsortingselector:oe="false"}=t,{filterbylogo:Ae=""}=t,{casinogamesgridslider:Le="false"}=t,{fetchviaevent:X="false"}=t,{showallpage:be="casino"}=t,{actionevent:ve="CategoryChange"}=t,{displayedgamecount:le="10"}=t,{showallbuttongamescount:ie="10"}=t,{mbsource:we}=t,{lobbyscreen:ke="true"}=t,{usesinglevendorfilter:re="false"}=t,{visiblegames:ye="10"}=t,B=!0,Se=!1,me,ue,O=!0,Re=window.navigator.userAgent,G,y=[],q=!0,Y=40,H=!1,ce=!1,Z=!1,Fe=!1,Ge=!0,Q=!1,x,Ce,$,ee=!1,P,_e=!1,te=new Array(1e4),ae={},Me="",J="",de,ze,C,L=[],fe=new AbortController,K={items:[],count:0,name:""};const nt=()=>{fetch(k).then(g=>g.json()).then(g=>{Object.keys(g).forEach(v=>{Oe(v,g[v])})}).catch(g=>{console.log(g)})};Object.keys(He).forEach(i=>{Oe(i,He[i])}),typeof document.hidden!="undefined"?de="hidden":typeof document.msHidden!="undefined"?de="msHidden":typeof document.webkitHidden!="undefined"&&(de="webkitHidden");let ge=new IntersectionObserver(i=>{i.forEach(g=>he(this,null,function*(){let v=g.target.gameid,S=g.target.elems_index;g.isIntersecting?(S*1.2>Y&&ct(b),a(40,ae[v]=1,ae)):a(40,ae[v]=0,ae)}))});const Ee=(i,g)=>{let v=`${o}/v1/player/${g}/favorites/`;a(25,B=!0);let S={method:"GET",headers:{"X-SessionID":i}};return new Promise((M,z)=>{fetch(v,S).then(w=>w.json()).then(w=>{var I;if(a(25,B=!1),C=[],w){w.items.forEach(T=>{T.gameModel&&(C.push(T),L.includes(T.id)||L.push(T.id))});const A=(I=e.platformFavorite(C))==null?void 0:I.length;window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:A})}else C=[];b==="FAVORITES"&&je(C),y.forEach(A=>{A.isFavorite=D(A.id)});let U=y;a(29,y=void 0),a(29,y=U),M(C)}).catch(w=>{console.error(w),z(w)})})},ot=(i,g)=>new Promise((v,S)=>{if(i&&g){let M=`${o}/v1/player/${g}/favorites/`;fetch(M,{method:"GET",headers:{"X-SessionID":i}}).then(w=>w.json()).then(w=>{var U,I;if(C=[],w){(U=w.items)==null||U.forEach(T=>{T.gameModel&&(C.push(T),L.includes(T.id)||L.push(T.id))});const A=(I=e.platformFavorite(C))==null?void 0:I.length;window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:A})}else C=[];b==="FAVORITES"&&je(C),v(C)}).catch(w=>{console.error(w),S(w)})}else v([])}),Te=(i,g,v,S)=>{fe&&fe.abort(),fe=new AbortController;const M=fe.signal;a(25,B=!0);let z="",w="",U=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),I=JSON.parse(localStorage.getItem("vendorSortingBy"));const A=re==="true"?"*":i;return(i.match(/\$/g)||[]).length>1?(z=i.split("$").slice(0,2).join("$"),w=new URL(`${o}/v1/casino/groups/${l}/${z}/subGroups`)):w=new URL(`${o}/v1/casino/groups/${l}/${i}`),new Promise((T,Ft)=>{var Ue;if(w.searchParams.delete("pagination"),w.searchParams.append("expand","games(vendor)"),w.searchParams.append("fields","id,name,games"),w.searchParams.append("platform",e.getDevice(Re)),w.searchParams.append("pagination",`games(offset=${g},limit=${v})`),w.searchParams.append("language",r),window.postMessage({type:"CategoryVendors",categoryid:i},window.location.href),U&&((Ue=U[A])!=null&&Ue.length))if(re==="true"||O===!1&&ee===!1){let j="";a(34,Fe=!0),U[A].forEach(V=>{j=j+(j?`,games(vendor(id=${V}))`:`games(vendor(id=${V}))`)}),w.searchParams.append("filter",`${j}`)}else a(34,Fe=!1);I&&(I[i]?I[i]&&I[i]!="All"&&(I[i]=="isNew"||I[i]=="advancedTags(name(hot))"?(w.searchParams.append("sortedField",`games(${I[i]})`),w.searchParams.append("orderBy","DES")):w.searchParams.append("sortedField",`games(${I[i]})`)):J&&J!="All"&&(J=="advancedTags(name(hot))"||J=="isNew"?(w.searchParams.append("sortedField",`games(${J})`),w.searchParams.append("orderBy","DES")):w.searchParams.append("sortedField",`games(${J})`))),fetch(w,{signal:M}).then(j=>j.json()).then(j=>{M.aborted||(a(25,B=!1),(i.match(/\$/g)||[]).length>1&&(j=j.items.filter(V=>{if(V.id==i)return V})[0]),a(54,ze=!0),a(26,Se=!1),Ce=j.games.total,S&&j.games.items.forEach(V=>{V.isFavorite=D(V.id)}),a(36,Q=!0),T(j))}).catch(j=>{j.name!=="AbortError"&&(a(26,Se=!0),console.error(j),Ft(j))}).finally(()=>{lt()})})},se=(i,g,v)=>new Promise((S,M)=>{_=="true"?ot(m,u).then(z=>{Te(i,g,v,z).then(w=>{S(w)})}):Te(i,g,v,null).then(z=>{S(z)})}),lt=()=>{const i=P.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},it=(i,g,v)=>{i!==""&&(a(31,H=!1),a(27,O=!0),a(1,ne="false"),a(2,oe="false"),a(33,Z=!1),_e=!1,a(30,q=+g>+v),se(i,0,+g).then(S=>{a(28,G=S),a(29,y=G.games.items),y&&y.forEach(M=>{M.isFavorite=D(M.id)})}))},Ne=i=>{if(i.data)switch(i.data.type){case"MostPlayedData":b=="MOSTPLAYED"&&(a(31,H=!1),a(27,O=!1),a(30,q=!1),a(29,y=i.data.mostPlayedGames),a(28,G={id:"MOSTPLAYED",name:"Most Played Games",games:{count:i.data.mostPlayedGames.length,total:i.data.mostPlayedGames.length,items:i.data.mostPlayedGames}})),a(25,B=!1);break;case"LastPlayedData":b=="LASTPLAYED"&&(a(31,H=!1),a(27,O=!1),a(30,q=!1),a(29,y=i.data.lastPlayedGames),a(28,G={id:"LASTPLAYED",name:"Last Played Games",games:{count:i.data.lastPlayedGames.length,total:i.data.lastPlayedGames.length,items:i.data.lastPlayedGames}})),a(25,B=!1);break;case"RecentSearchData":a(31,H=!0),a(32,ce=!0),i.data.searchData.length>0?(a(29,y=i.data.searchData),a(35,Ge=!0),y&&y.forEach(g=>{g.isFavorite=D(g.id)})):(a(29,y=[]),a(35,Ge=!1));break;case"OutOfRecentSearches":a(31,H=!1),a(32,ce=!1);break;case"SearchData":a(31,H=!0),a(32,ce=!1),a(29,y=i.data.searchData.items||[]),a(33,Z=!0),i.data.receivedFavoriteResults&&(C=i.data.receivedFavoriteResults.items),y&&y.forEach(g=>{g.isFavorite=D(g.id)});break;case`CategoryData_${b}`:a(31,H=!1),a(27,O=!0),a(1,ne="false"),a(2,oe="false"),a(33,Z=!1),_e=!1,se(i.data.categoryId,0,i.data.visiblegames).then(g=>{a(28,G=g),a(29,y=G.games.items),a(30,q=!!(Ce<=i.data.visiblegames&&O)),y&&y.forEach(v=>{v.isFavorite=D(v.id)})});break;case"CategoryChange":Y=20;break;case"ApplySorter":a(0,b=i.data.itemId),J=i.data.sortBy,se(b,0,Y).then(g=>{a(28,G=g),a(29,y=G.games.items),a(30,q=!1)});break;case"CategoryUpdate":Pe(i.data.itemId);break;case`SetUnfavoredGame${b}`:ut(`${o}/v1/player/${u}/favorites`,m,i.data.id);break;case`SetFavoredGame${b}`:mt(`${o}/v1/player/${u}/favorites`,m,i.data.id);break;case"UserSessionID":me=i.data.session,ue=i.data.userID,_=="true"&&ue&&ue.length&&me&&me.length>0&&Ee(me,ue);break;case"UpdateFavoredList":b==="FAVORITES"&&Ie(i.data.url,i.data.sessionID);break}},Pe=i=>{a(31,H=!1),a(27,O=ke==="true"),a(33,Z=!1),_e=!0,a(36,Q=!1),a(0,b=i),b!=="MOSTPLAYED"&&a(30,q=!1),R!=="true"&&(!C&&m&&Ee(m,u),se(b,0,Y).then(g=>{var v;a(28,G=g),(v=G==null?void 0:G.games)==null||v.items.forEach(S=>{S.isFavorite=D(S.id)}),a(29,y=G==null?void 0:G.games.items)}).finally(()=>{O&&window.postMessage({type:`CategoryData_${b}`,categoryId:b,visiblegames:ye},window.location.href)}))},rt=()=>{G&&(a(29,y=G.games.items),y.forEach(i=>{i.isFavorite=D(i.id)}))},D=i=>{var g;return(g=C==null?void 0:C.some(v=>v.id===i))!=null?g:!1};let mt=(i,g,v)=>he(this,null,function*(){yield Ie(i,g),L.includes(v)||L.push(v);let M={method:"POST",headers:{"X-SessionID":g,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:L})};fetch(i,M).then(z=>z.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${v}`},window.location.href)}).catch(z=>{console.error("Err",z)})});const ut=(i,g,v)=>{let S={method:"DELETE",headers:{"X-SessionID":g}};fetch(`${i}/${v}`,S).then(M=>M.json()).then(()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${v}`},window.location.href),Ie(i,g)}),L.includes(v)&&(L=L.filter(M=>M!=v))},Ie=(i,g)=>he(this,null,function*(){return fetch(i,{method:"GET",headers:{"X-SessionID":g}}).then(S=>S.json()).then(S=>{var z;C=S.items,X?(C.forEach(w=>{L.includes(w.id)||L.push(w.id)}),rt()):C.forEach(w=>{w.isFavorite=D(w.id)});const M=(z=e.platformFavorite(C))==null?void 0:z.length;b==="FAVORITES"&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:M}),je(C))}).catch(S=>{console.error(S)})}),je=i=>{if(!i)return;let g;g=(i==null?void 0:i.items)||i||[],g.length>0&&g.forEach(v=>{v.gameModel&&(v.gameModel.isFavorite=!0)}),a(42,K.items=e.platformFavorite(g,K.items),K),a(42,K.name="Favorites",K),a(25,B=!1)},ct=i=>{Y+=1,a(36,Q=!0),Y<=Ce&&se(i,ea,Y).then(g=>{a(28,G=g),G.games.items.length>y.length&&(a(29,y=G.games.items),y.forEach(v=>{v.isFavorite=D(v.id)})),a(36,Q=!1)})},_t=i=>{const g=i!=null?i:[];if((g==null?void 0:g.length)===0)return"";let v="",S=999999999999,M;const z=new Date(Date.now());return g.forEach((w,U)=>{const I=new Date(w.schedules[0].startTime),A=new Date(w.schedules[0].endTime);pe.hooks(A).diff(z)<S&&(S=pe.hooks(A).diff(z),M=U),pe.hooks(z).isAfter(I)&&pe.hooks(z).isBefore(A)&&(v=g[M].name)}),v},De=i=>{a(30,q=!1),window.postMessage({type:`${ve}`,itemId:i,showallpage:be},window.location.href)},dt=()=>{switch(b){case"FAVORITES":u&&m&&a(39,ee=!0);break;case"MOSTPLAYED":R==="false"&&u&&m&&a(39,ee=!1);break;case"LASTPLAYED":R==="false"&&u&&m&&a(39,ee=!1);break;default:Pe(b);break}},ft=()=>{document[de]?a(41,Me="disconnect"):a(41,Me="connect")},gt=()=>{_e&&te.forEach((i,g)=>{i&&(i.elems_index=g,ge.observe(i))})},ht=()=>{Gt(r)};e.onDestroy(()=>{ge==null||ge.disconnect()}),e.onMount(()=>(window.addEventListener("visibilitychange",i=>ft()),window.addEventListener("message",Ne,!1),()=>{window.removeEventListener("message",Ne),window.removeEventListener("visibilitychange",Ne)}));function pt(i){e.binding_callbacks[i?"unshift":"push"](()=>{$=i,a(38,$)})}const bt=i=>De(G.id);function vt(i,g){e.binding_callbacks[i?"unshift":"push"](()=>{te[g]=i,a(24,te)})}function wt(i){e.binding_callbacks[i?"unshift":"push"](()=>{x=i,a(37,x)})}function kt(i){e.binding_callbacks[i?"unshift":"push"](()=>{$=i,a(38,$)})}function yt(i){e.binding_callbacks[i?"unshift":"push"](()=>{x=i,a(37,x)})}function St(i){e.binding_callbacks[i?"unshift":"push"](()=>{P=i,a(23,P)})}return s.$$set=i=>{"endpoint"in i&&a(3,o=i.endpoint),"datasource"in i&&a(4,l=i.datasource),"lang"in i&&a(5,r=i.lang),"session"in i&&a(6,m=i.session),"userid"in i&&a(7,u=i.userid),"favorites"in i&&a(8,_=i.favorites),"clientstyling"in i&&a(9,f=i.clientstyling),"clientstylingurl"in i&&a(10,h=i.clientstylingurl),"translationurl"in i&&a(11,k=i.translationurl),"currency"in i&&a(12,F=i.currency),"categoryid"in i&&a(0,b=i.categoryid),"showgamename"in i&&a(13,d=i.showgamename),"livecasino"in i&&a(14,c=i.livecasino),"gamepagemodalurl"in i&&a(15,N=i.gamepagemodalurl),"integratedgameframedesktop"in i&&a(16,E=i.integratedgameframedesktop),"integratedgameframemobile"in i&&a(17,p=i.integratedgameframemobile),"casinomygames"in i&&a(18,R=i.casinomygames),"addfilterselector"in i&&a(1,ne=i.addfilterselector),"addsortingselector"in i&&a(2,oe=i.addsortingselector),"filterbylogo"in i&&a(19,Ae=i.filterbylogo),"casinogamesgridslider"in i&&a(20,Le=i.casinogamesgridslider),"fetchviaevent"in i&&a(47,X=i.fetchviaevent),"showallpage"in i&&a(48,be=i.showallpage),"actionevent"in i&&a(49,ve=i.actionevent),"displayedgamecount"in i&&a(50,le=i.displayedgamecount),"showallbuttongamescount"in i&&a(51,ie=i.showallbuttongamescount),"mbsource"in i&&a(21,we=i.mbsource),"lobbyscreen"in i&&a(52,ke=i.lobbyscreen),"usesinglevendorfilter"in i&&a(22,re=i.usesinglevendorfilter),"visiblegames"in i&&a(53,ye=i.visiblegames)},s.$$.update=()=>{s.$$.dirty[0]&32&&r&&ht(),s.$$.dirty[0]&57|s.$$.dirty[1]&1638400&&(X==="false"||X==="")&&o&&r&&b&&l&&le&&ie&&it(b,le,ie),s.$$.dirty[0]&456&&_==="true"&&o&&m&&u&&Ee(m,u),s.$$.dirty[0]&16777216|s.$$.dirty[1]&8388608&&ze&&te&&gt(),s.$$.dirty[0]&33&&r&&b&&dt(),s.$$.dirty[0]&2048&&k&&nt(),s.$$.dirty[0]&8389120&&f&&P&&e.setClientStyling(P,f),s.$$.dirty[0]&8389632&&h&&P&&e.setClientStylingURL(P,h),s.$$.dirty[0]&10485760&&P&&e.setStreamStyling(P,`${we}.Style`)},[b,ne,oe,o,l,r,m,u,_,f,h,k,F,d,c,N,E,p,R,Ae,Le,we,re,P,te,B,Se,O,G,y,q,H,ce,Z,Fe,Ge,Q,x,$,ee,ae,Me,K,n,Re,_t,De,X,be,ve,le,ie,ke,ye,ze,pt,bt,vt,wt,kt,yt,St]}class st extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ta,$t,e.safe_not_equal,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:47,showallpage:48,actionevent:49,displayedgamecount:50,showallbuttongamescount:51,mbsource:21,lobbyscreen:52,usesinglevendorfilter:22,visiblegames:53},Ct,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[4]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[6]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[7]}set userid(t){this.$$set({userid:t}),e.flush()}get favorites(){return this.$$.ctx[8]}set favorites(t){this.$$set({favorites:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[12]}set currency(t){this.$$set({currency:t}),e.flush()}get categoryid(){return this.$$.ctx[0]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get livecasino(){return this.$$.ctx[14]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get fetchviaevent(){return this.$$.ctx[47]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),e.flush()}get showallpage(){return this.$$.ctx[48]}set showallpage(t){this.$$set({showallpage:t}),e.flush()}get actionevent(){return this.$$.ctx[49]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get displayedgamecount(){return this.$$.ctx[50]}set displayedgamecount(t){this.$$set({displayedgamecount:t}),e.flush()}get showallbuttongamescount(){return this.$$.ctx[51]}set showallbuttongamescount(t){this.$$set({showallbuttongamescount:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get lobbyscreen(){return this.$$.ctx[52]}set lobbyscreen(t){this.$$set({lobbyscreen:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[22]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}get visiblegames(){return this.$$.ctx[53]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}}e.create_custom_element(st,{endpoint:{},datasource:{},lang:{},session:{},userid:{},favorites:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},categoryid:{},showgamename:{},livecasino:{},gamepagemodalurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinomygames:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},casinogamesgridslider:{},fetchviaevent:{},showallpage:{},actionevent:{},displayedgamecount:{},showallbuttongamescount:{},mbsource:{},lobbyscreen:{},usesinglevendorfilter:{},visiblegames:{}},[],[],!0);exports.default=st;
@@ -73,7 +73,7 @@ if (typeof window < "u") {
73
73
  }
74
74
  };
75
75
  };
76
- customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-CpdlukEH.js").then(({ default: e }) => {
76
+ customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-1AF6bS-v.js").then(({ default: e }) => {
77
77
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
78
78
  });
79
79
  }
@@ -73,7 +73,7 @@ if (typeof window != "undefined") {
73
73
  }
74
74
  };
75
75
  };
76
- customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-BDUHWpRS.js").then(({ default: e }) => {
76
+ customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-C0WDmDjO.js").then(({ default: e }) => {
77
77
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
78
78
  });
79
79
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-WNFrQkQJ.cjs");function U(n,e){t.addMessages(n,e)}function Q(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"}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-DBm-ji0G.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function V(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 W(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 X(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&1048576&&a!==(a=l[20]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function Z(n){let e,a;function i(r,c){return r[19]?X:W}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,c){t.insert(r,e,c),t.append(e,a),o.m(a,null),n[24](e)},p(r,c){l===(l=i(r))&&o?o.p(r,c):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:c=""}=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:E="false"}=e,{gamepagemodalurl:L="false"}=e,{showgamename:A=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:D="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=[],F,T=!1,u;const Y=s=>{let m=new URL(`${l}/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),F=w?m:m.href,new Promise((g,_)=>{fetch(F).then(f=>f.json()).then(f=>{f.items=f.items.filter(K=>{let R=!0;return K.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},p=()=>{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(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),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)})},B=()=>{Q(c)};t.onMount(()=>()=>{});function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{u=s,a(18,u)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,c=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,E=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,L=s.gamepagemodalurl),"showgamename"in s&&a(13,A=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=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,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&c&&p(),n.$$.dirty[0]&262272&&b&&u&&t.setClientStyling(u,b),n.$$.dirty[0]&262400&&v&&u&&t.setClientStylingURL(u,v),n.$$.dirty[0]&262208&&y&&u&&t.setStreamStyling(u,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&c&&B()},[l,o,r,c,j,h,y,b,v,w,M,E,L,A,N,O,P,D,u,T,i,G,C,S,H]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,Z,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},V,[-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("./CasinoFilter-WNFrQkQJ.cjs");function U(n,e){t.addMessages(n,e)}function Q(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"}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-DzlgMDxz.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function V(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 W(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 X(n){let e,a=n[20]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&1048576&&a!==(a=l[20]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function Z(n){let e,a;function i(r,c){return r[19]?X:W}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,c){t.insert(r,e,c),t.append(e,a),o.m(a,null),n[24](e)},p(r,c){l===(l=i(r))&&o?o.p(r,c):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:c=""}=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:E="false"}=e,{gamepagemodalurl:L="false"}=e,{showgamename:A=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:D="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=[],F,T=!1,u;const Y=s=>{let m=new URL(`${l}/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),F=w?m:m.href,new Promise((g,_)=>{fetch(F).then(f=>f.json()).then(f=>{f.items=f.items.filter(K=>{let R=!0;return K.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},p=()=>{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(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),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)})},B=()=>{Q(c)};t.onMount(()=>()=>{});function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{u=s,a(18,u)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,c=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,E=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,L=s.gamepagemodalurl),"showgamename"in s&&a(13,A=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=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,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&c&&p(),n.$$.dirty[0]&262272&&b&&u&&t.setClientStyling(u,b),n.$$.dirty[0]&262400&&v&&u&&t.setClientStylingURL(u,v),n.$$.dirty[0]&262208&&y&&u&&t.setStreamStyling(u,`${y}.Style`),n.$$.dirty[0]&2097152&&G&&J(),n.$$.dirty[0]&8&&c&&B()},[l,o,r,c,j,h,y,b,v,w,M,E,L,A,N,O,P,D,u,T,i,G,C,S,H]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,Z,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},V,[-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 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMostPlayedSection-cdDHGqS9.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMostPlayedSection-D-5n1d4y.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSection-D6rDt08U.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSection-CdcxLKU9.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CasinoMostPlayedSection-8q-NPg0k.js";
1
+ import { C as n } from "../components/CasinoMostPlayedSection-2J65I1-u.js";
2
2
  function o(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-most-played-section",
3
- "version": "1.65.2",
3
+ "version": "1.66.0",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-most-played-section.cjs",
6
6
  "module": "esnext/casino-most-played-section.js",