@everymatrix/casino-lobby 1.74.2 → 1.74.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/components/{CasinoCalendar-wYGJExu0.cjs → CasinoCalendar-BGhJ1cEV.cjs} +5 -5
  2. package/components/{CasinoCalendar-D4jWXhPt.js → CasinoCalendar-BMDbprh6.js} +42 -31
  3. package/components/{CasinoCalendar-W89MyM3R.js → CasinoCalendar-FUyH3So6.js} +42 -31
  4. package/components/{CasinoCalendarDailyDetails-CIDfmzEU.cjs → CasinoCalendarDailyDetails-DyNw1uMX.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-B7a0AWc5.js → CasinoCalendarDailyDetails-PT-ciuLj.js} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-ZqdthZ8T.js → CasinoCalendarDailyDetails-qb4mpvz6.js} +1 -1
  7. package/components/{CasinoCalendarDailyItem-BofIs4hH.cjs → CasinoCalendarDailyItem-BJAYmacx.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-C_KcFF9v.js → CasinoCalendarDailyItem-Ddvjsin9.js} +1 -1
  9. package/components/{CasinoCalendarDailyItem-B4VNj6qm.js → CasinoCalendarDailyItem-E_UK8J-P.js} +1 -1
  10. package/components/{CasinoCategoriesSlider-DXG58TlK.cjs → CasinoCategoriesSlider-CMchkLFc.cjs} +1 -1
  11. package/components/{CasinoCategoriesSlider-ByWiiCre.js → CasinoCategoriesSlider-CyY1HQ0P.js} +2 -2
  12. package/components/{CasinoCategoriesSlider-BNtVy9dZ.js → CasinoCategoriesSlider-DTKia-BC.js} +2 -2
  13. package/components/{CasinoCollectionsProviders-sp73chER.js → CasinoCollectionsProviders-C66vF5px.js} +1 -1
  14. package/components/{CasinoCollectionsProviders-Iwvjux90.cjs → CasinoCollectionsProviders-DnxgcymV.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-BWHjNJ7D.js → CasinoCollectionsProviders-G6IEHMff.js} +1 -1
  16. package/components/{CasinoFavoritesSection-DL9l3rme.js → CasinoFavoritesSection-BrDVkqoo.js} +2 -2
  17. package/components/{CasinoFavoritesSection-DCveWnxo.cjs → CasinoFavoritesSection-D5WvqjAF.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-CNJE8CmR.js → CasinoFavoritesSection-TIV1czkm.js} +2 -2
  19. package/components/{CasinoFilter-Bwx_m9X7.cjs → CasinoFilter-BKrzmU_V.cjs} +1 -1
  20. package/components/{CasinoFilter-BJ9RAH6X.js → CasinoFilter-BW0CkIQU.js} +1 -1
  21. package/components/{CasinoFilter-CEPRTXcd.js → CasinoFilter-CFd1r73g.js} +1 -1
  22. package/components/{CasinoGameThumbnail-ByNzt_lj.js → CasinoGameThumbnail-CP707TN8.js} +1 -1
  23. package/components/{CasinoGameThumbnail-BLX7B2C9.js → CasinoGameThumbnail-Cl2nd2Ao.js} +1 -1
  24. package/components/{CasinoGameThumbnail-DAYBIv1-.cjs → CasinoGameThumbnail-xpkz1cUi.cjs} +1 -1
  25. package/components/{CasinoGamesCategorySection-DLtyXL4y.js → CasinoGamesCategorySection-BexCIH6G.js} +102 -94
  26. package/components/{CasinoGamesCategorySection-Bcy4b4v7.cjs → CasinoGamesCategorySection-DkolOoEE.cjs} +1 -1
  27. package/components/{CasinoGamesCategorySection-CkaPpe4H.js → CasinoGamesCategorySection-_5PoZwz5.js} +130 -122
  28. package/components/{CasinoJackpotBanner-D1FBank_.cjs → CasinoJackpotBanner-0uMNuf8D.cjs} +1 -1
  29. package/components/{CasinoJackpotBanner-suOjEdKK.js → CasinoJackpotBanner-DdPrmZDs.js} +1 -1
  30. package/components/{CasinoJackpotBanner-0_7xAHq_.js → CasinoJackpotBanner-nsvJTIO2.js} +1 -1
  31. package/components/{CasinoLastPlayedSection-iNRVps0U.js → CasinoLastPlayedSection-05WcjInA.js} +2 -2
  32. package/components/{CasinoLastPlayedSection-EIkfMv8e.js → CasinoLastPlayedSection-2dzzLJg7.js} +2 -2
  33. package/components/{CasinoLastPlayedSection-DeRqmDvT.cjs → CasinoLastPlayedSection-B4FQNNgv.cjs} +1 -1
  34. package/components/{CasinoLobby-B66cbcSf.js → CasinoLobby-BRfuQSO0.js} +3 -3
  35. package/components/{CasinoLobby-C_n2KRef.js → CasinoLobby-ClPDUIJt.js} +3 -3
  36. package/components/{CasinoLobby-CdXuoMWk.cjs → CasinoLobby-JSJInF6U.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-CFC20GVB.cjs → CasinoMostPlayedSection-CZrQrXCB.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSection-D8RGYKns.js → CasinoMostPlayedSection-DxBSgyMT.js} +2 -2
  39. package/components/{CasinoMostPlayedSection-QkJYVQSD.js → CasinoMostPlayedSection-uF4ETOcE.js} +2 -2
  40. package/components/CasinoMyGames-B6ln9L94.js +1315 -0
  41. package/components/CasinoMyGames-BNEMfelm.cjs +1 -0
  42. package/components/CasinoMyGames-DGnMt9aq.js +1316 -0
  43. package/components/{CasinoPage-zqbBeRpH.js → CasinoPage-DbgjV5io.js} +10 -10
  44. package/components/{CasinoPage-CaJ_4wEu.js → CasinoPage-Dj1alLLK.js} +10 -10
  45. package/components/{CasinoPage-DxnqqgsK.cjs → CasinoPage-v8AoEQF6.cjs} +1 -1
  46. package/components/{CasinoRandomGame-DxRM8_Bw.js → CasinoRandomGame-CytI5GjM.js} +1 -1
  47. package/components/{CasinoRandomGame-CP2us9wQ.cjs → CasinoRandomGame-D6dNIU7H.cjs} +1 -1
  48. package/components/{CasinoRandomGame-BP_u-dZo.js → CasinoRandomGame-R-0QqjwX.js} +1 -1
  49. package/components/{CasinoSearch-E6byHH4y.cjs → CasinoSearch-CgNC2d7t.cjs} +1 -1
  50. package/components/{CasinoSearch-DYLKBkXz.js → CasinoSearch-DMIFjlPK.js} +3 -3
  51. package/components/{CasinoSearch-DUVU8u9P.js → CasinoSearch-PQxlpdIr.js} +3 -3
  52. package/components/{CasinoSlider-D4GSh0Rr.js → CasinoSlider-BUdXNBUn.js} +385 -335
  53. package/components/CasinoSlider-B_4OKAXx.cjs +1 -0
  54. package/components/{CasinoSlider-DIeqeNfV.js → CasinoSlider-CgGTFca7.js} +379 -330
  55. package/components/{CasinoSort-zYMJUN8W.js → CasinoSort-CFRGv5Ze.js} +1 -1
  56. package/components/{CasinoSort-DnffDijG.cjs → CasinoSort-_My6LmSq.cjs} +1 -1
  57. package/components/{CasinoSort-CWqOWBmI.js → CasinoSort-d_O_44vv.js} +1 -1
  58. package/components/{CasinoWinners-CgGvis-Q.cjs → CasinoWinners-BX9jBJGA.cjs} +1 -1
  59. package/components/{CasinoWinners-BD8HtIIt.js → CasinoWinners-Co-G3_VH.js} +2 -2
  60. package/components/{CasinoWinners-vOM5e-zn.js → CasinoWinners-DBM7TeCL.js} +2 -2
  61. package/components/{GeneralAnimationLoading-B9fWkZ6F.js → GeneralAnimationLoading-CfouZ-sx.js} +1 -1
  62. package/components/{GeneralAnimationLoading-CB353I6v.cjs → GeneralAnimationLoading-D47HGjTy.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-SN6B4e8D.js → GeneralAnimationLoading-eg8O-l55.js} +1 -1
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/components/CasinoMyGames-C5h1cvdX.js +0 -1351
  69. package/components/CasinoMyGames-DGNRAJan.cjs +0 -1
  70. package/components/CasinoMyGames-XuPrviRw.js +0 -1352
  71. package/components/CasinoSlider-CKrkEFp2.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { a as Ha, $ as Ba, S as Va, i as qa, f as z, c as Wa, s as Ya, b as Ja, e as G, y as d, d as y, G as _e, j as S, k as Ka, W as Xa, o as Za, l as Qa, X as Ee, q as oe, r as xa, m as $a, w as W, p as pe, z as k, U as X, J as ei, N as ai, x as T, E as D, v as se, Y as pa, Z as va, H as t, F as ii, K as $, A as ni } from "./CasinoCalendar-W89MyM3R.js";
2
- import { h as Ne } from "./CasinoGameThumbnail-BLX7B2C9.js";
1
+ import { a as Ha, $ as Ba, S as Va, i as qa, f as z, c as Wa, s as Ya, b as Ja, e as G, y as d, d as y, G as _e, j as S, k as Ka, W as Xa, o as Za, l as Qa, X as Ee, q as oe, r as xa, m as $a, w as W, p as pe, z as k, U as X, J as ei, N as ai, x as T, E as D, v as se, Y as pa, Z as va, H as t, F as ii, K as $, A as ni } from "./CasinoCalendar-FUyH3So6.js";
2
+ import { h as Ne } from "./CasinoGameThumbnail-Cl2nd2Ao.js";
3
3
  if (typeof window < "u") {
4
4
  let i = function(e) {
5
5
  return function(...a) {
@@ -12,7 +12,7 @@ if (typeof window < "u") {
12
12
  }
13
13
  };
14
14
  };
15
- customElements.define = i(customElements.define), import("./CasinoFilter-CEPRTXcd.js").then(({ default: e }) => {
15
+ customElements.define = i(customElements.define), import("./CasinoFilter-CFd1r73g.js").then(({ default: e }) => {
16
16
  !customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
17
17
  });
18
18
  }
@@ -269,7 +269,7 @@ if (typeof window < "u") {
269
269
  }
270
270
  };
271
271
  };
272
- customElements.define = i(customElements.define), import("./CasinoGameThumbnail-BLX7B2C9.js").then((e) => e.C).then(({ default: e }) => {
272
+ customElements.define = i(customElements.define), import("./CasinoGameThumbnail-Cl2nd2Ao.js").then((e) => e.C).then(({ default: e }) => {
273
273
  !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", e.element);
274
274
  });
275
275
  }
@@ -285,7 +285,7 @@ if (typeof window < "u") {
285
285
  }
286
286
  };
287
287
  };
288
- customElements.define = i(customElements.define), import("./CasinoSort-zYMJUN8W.js").then(({ default: e }) => {
288
+ customElements.define = i(customElements.define), import("./CasinoSort-CFRGv5Ze.js").then(({ default: e }) => {
289
289
  !customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
290
290
  });
291
291
  }
@@ -339,9 +339,9 @@ function li(i) {
339
339
  function o(h, p) {
340
340
  return (
341
341
  /*recentSearched*/
342
- h[32] ? Mi : (
342
+ h[32] ? Ci : (
343
343
  /*shownCategoryData*/
344
- h[29].length ? Gi : Ci
344
+ h[29].length ? Gi : Mi
345
345
  )
346
346
  );
347
347
  }
@@ -2041,7 +2041,7 @@ function Gi(i) {
2041
2041
  }
2042
2042
  };
2043
2043
  }
2044
- function Ci(i) {
2044
+ function Mi(i) {
2045
2045
  let e, a = (
2046
2046
  /*$_*/
2047
2047
  i[43]("noResults") + ""
@@ -2063,7 +2063,7 @@ function Ci(i) {
2063
2063
  }
2064
2064
  };
2065
2065
  }
2066
- function Mi(i) {
2066
+ function Ci(i) {
2067
2067
  let e, a = (
2068
2068
  /*$_*/
2069
2069
  i[43]("recentSearchedItems") + ""
@@ -2502,10 +2502,10 @@ function ji(i) {
2502
2502
  }
2503
2503
  const ee = "game-tile-";
2504
2504
  let Ri = 0;
2505
- function Ai(i, e, a) {
2505
+ function Li(i, e, a) {
2506
2506
  let n;
2507
2507
  Ka(i, ei, (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: Ie = "casino" } = e, { actionevent: je = "CategoryChange" } = e, { displayedgamecount: we = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { mbsource: Re } = e, { lobbyscreen: Ae = "true" } = e, { usesinglevendorfilter: ye = "false" } = e, { visiblegames: Le = "10" } = e, Ke, Z = !0, Te = !1, Se, Fe, Y = !0, Xe = window.navigator.userAgent, L, M = [], Q = !0, ae = 40, J = !1, Ge = !1, re = !1, Pe = !1, De = !0, me = !1, ue, Ue, ce, fe = !1, q, Ce = !1, ge = new Array(1e4), de = {}, Oe = "", ie = "", Me, He, R, O = [], ze = 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: We = "" } = e, { casinogamesgridslider: Ye = "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, Je, Z = !0, Te = !1, Se, Fe, Y = !0, Ke = window.navigator.userAgent, A, C = [], Q = !0, ae = 40, J = !1, Ge = !1, re = !1, Pe = !1, De = !0, me = !1, ue, Ue, ce, fe = !1, q, Me = !1, ge = new Array(1e4), de = {}, Oe = "", ie = "", Ce, He, R, O = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
2509
2509
  const ba = () => {
2510
2510
  fetch(F).then((_) => _.json()).then((_) => {
2511
2511
  Object.keys(_).forEach((w) => {
@@ -2517,11 +2517,11 @@ function Ai(i, e, a) {
2517
2517
  };
2518
2518
  Object.keys(aa).forEach((l) => {
2519
2519
  ea(l, aa[l]);
2520
- }), typeof document.hidden < "u" ? Me = "hidden" : typeof document.msHidden < "u" ? Me = "msHidden" : typeof document.webkitHidden < "u" && (Me = "webkitHidden");
2521
- let Ze = new IntersectionObserver((l) => {
2520
+ }), typeof document.hidden < "u" ? Ce = "hidden" : typeof document.msHidden < "u" ? Ce = "msHidden" : typeof document.webkitHidden < "u" && (Ce = "webkitHidden");
2521
+ let Xe = new IntersectionObserver((l) => {
2522
2522
  l.forEach(async (_) => {
2523
2523
  let w = _.target.gameid, N = _.target.elems_index;
2524
- _.isIntersecting ? (N * 1.2 > ae && Ca(v), a(40, de[w] = 1, de)) : a(40, de[w] = 0, de);
2524
+ _.isIntersecting ? (N * 1.2 > ae && Ma(v), a(40, de[w] = 1, de)) : a(40, de[w] = 0, de);
2525
2525
  });
2526
2526
  });
2527
2527
  const Be = (l, _) => {
@@ -2532,25 +2532,25 @@ function Ai(i, e, a) {
2532
2532
  headers: { "X-SessionID": l }
2533
2533
  };
2534
2534
  return new Promise((j, I) => {
2535
- fetch(w, N).then((C) => C.json()).then((C) => {
2536
- if (a(25, Z = !1), R = [], C) {
2537
- C.items.forEach((V) => {
2535
+ fetch(w, N).then((M) => M.json()).then((M) => {
2536
+ if (a(25, Z = !1), R = [], M) {
2537
+ M.items.forEach((V) => {
2538
2538
  V.gameModel && (R.push(V), O.includes(V.id) || O.push(V.id));
2539
2539
  });
2540
- const A = Ee(R)?.length;
2540
+ const L = Ee(R)?.length;
2541
2541
  window.postMessage({
2542
2542
  type: "UpdateFavoritesCount",
2543
- favoriteGamesLength: A
2543
+ favoriteGamesLength: L
2544
2544
  });
2545
2545
  } else
2546
2546
  R = [];
2547
- v === "FAVORITES" && We(R), M.forEach((A) => {
2548
- A.isFavorite = H(A.id);
2547
+ v === "FAVORITES" && qe(R), C.forEach((L) => {
2548
+ L.isFavorite = H(L.id);
2549
2549
  });
2550
- let K = M;
2551
- a(29, M = void 0), a(29, M = K), j(R);
2552
- }).catch((C) => {
2553
- console.error(C), I(C);
2550
+ let K = C;
2551
+ a(29, C = void 0), a(29, C = K), j(R);
2552
+ }).catch((M) => {
2553
+ console.error(M), I(M);
2554
2554
  });
2555
2555
  });
2556
2556
  }, wa = (l, _) => new Promise((w, N) => {
@@ -2559,10 +2559,10 @@ function Ai(i, e, a) {
2559
2559
  fetch(j, {
2560
2560
  method: "GET",
2561
2561
  headers: { "X-SessionID": l }
2562
- }).then((C) => C.json()).then((C) => {
2563
- if (R = [], C) {
2564
- C.items?.forEach((A) => {
2565
- A.gameModel && (R.push(A), O.includes(A.id) || O.push(A.id));
2562
+ }).then((M) => M.json()).then((M) => {
2563
+ if (R = [], M) {
2564
+ M.items?.forEach((L) => {
2565
+ L.gameModel && (R.push(L), O.includes(L.id) || O.push(L.id));
2566
2566
  });
2567
2567
  const K = Ee(R)?.length;
2568
2568
  window.postMessage({
@@ -2571,28 +2571,28 @@ function Ai(i, e, a) {
2571
2571
  });
2572
2572
  } else
2573
2573
  R = [];
2574
- v === "FAVORITES" && We(R), w(R);
2575
- }).catch((C) => {
2576
- console.error(C), N(C);
2574
+ v === "FAVORITES" && qe(R), w(R);
2575
+ }).catch((M) => {
2576
+ console.error(M), N(M);
2577
2577
  });
2578
2578
  } else
2579
2579
  w([]);
2580
- }), Qe = (l, _, w, N) => {
2580
+ }), Ze = (l, _, w, N) => {
2581
2581
  ze && ze.abort(), ze = new AbortController();
2582
2582
  const j = ze.signal;
2583
2583
  a(25, Z = !0);
2584
- let I = "", C = "", K = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), A = JSON.parse(localStorage.getItem("vendorSortingBy"));
2584
+ let I = "", M = "", K = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), L = JSON.parse(localStorage.getItem("vendorSortingBy"));
2585
2585
  const V = ye === "true" ? "*" : l;
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((Ua, Oa) => {
2587
- if (C.searchParams.delete("pagination"), C.searchParams.append("expand", "games(vendor)"), C.searchParams.append("fields", "id,name,games"), C.searchParams.append("platform", ai(Xe)), C.searchParams.append("pagination", `games(offset=${_},limit=${w})`), C.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), K && K[V]?.length)
2586
+ return (l.match(/\$/g) || []).length > 1 ? (I = l.split("$").slice(0, 2).join("$"), M = new URL(`${o}/v1/casino/groups/${s}/${I}/subGroups`)) : M = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((Ua, Oa) => {
2587
+ if (M.searchParams.delete("pagination"), M.searchParams.append("expand", "games(vendor)"), M.searchParams.append("fields", "id,name,games"), M.searchParams.append("platform", ai(Ke)), M.searchParams.append("pagination", `games(offset=${_},limit=${w})`), M.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), K && K[V]?.length)
2588
2588
  if (ye === "true" || Y === !1 && fe === !1) {
2589
2589
  let P = "";
2590
2590
  a(34, Pe = !0), K[V].forEach((x) => {
2591
2591
  P = P + (P ? `,games(vendor(id=${x}))` : `games(vendor(id=${x}))`);
2592
- }), C.searchParams.append("filter", `${P}`);
2592
+ }), M.searchParams.append("filter", `${P}`);
2593
2593
  } else
2594
2594
  a(34, Pe = !1);
2595
- A && (A[l] ? A[l] && A[l] != "All" && (A[l] == "isNew" || A[l] == "advancedTags(name(hot))" ? (C.searchParams.append("sortedField", `games(${A[l]})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${A[l]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (C.searchParams.append("sortedField", `games(${ie})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${ie})`))), fetch(C, { signal: j }).then((P) => P.json()).then((P) => {
2595
+ L && (L[l] ? L[l] && L[l] != "All" && (L[l] == "isNew" || L[l] == "advancedTags(name(hot))" ? (M.searchParams.append("sortedField", `games(${L[l]})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${L[l]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (M.searchParams.append("sortedField", `games(${ie})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${ie})`))), fetch(M, { signal: j }).then((P) => P.json()).then((P) => {
2596
2596
  j.aborted || (a(25, Z = !1), (l.match(/\$/g) || []).length > 1 && (P = P.items.filter((x) => {
2597
2597
  if (x.id == l)
2598
2598
  return x;
@@ -2607,18 +2607,18 @@ function Ai(i, e, a) {
2607
2607
  });
2608
2608
  }, he = (l, _, w) => new Promise((N, j) => {
2609
2609
  f == "true" ? wa(m, u).then((I) => {
2610
- Qe(l, _, w, I).then((C) => {
2611
- N(C);
2610
+ Ze(l, _, w, I).then((M) => {
2611
+ N(M);
2612
2612
  });
2613
- }) : Qe(l, _, w, null).then((I) => {
2613
+ }) : Ze(l, _, w, null).then((I) => {
2614
2614
  N(I);
2615
2615
  });
2616
2616
  }), ka = () => {
2617
2617
  const l = q.getRootNode().host;
2618
2618
  l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
2619
2619
  }, ya = (l, _, w) => {
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
- a(28, L = N), a(29, M = L.games.items), M && M.forEach((j) => {
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) => {
2621
+ a(28, A = N), a(29, C = A.games.items), C && C.forEach((j) => {
2622
2622
  j.isFavorite = H(j.id);
2623
2623
  });
2624
2624
  }));
@@ -2626,7 +2626,7 @@ function Ai(i, e, a) {
2626
2626
  if (l.data)
2627
2627
  switch (l.data.type) {
2628
2628
  case "MostPlayedData":
2629
- v == "MOSTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.mostPlayedGames), a(28, L = {
2629
+ v == "MOSTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, C = l.data.mostPlayedGames), a(28, A = {
2630
2630
  id: "MOSTPLAYED",
2631
2631
  name: "Most Played Games",
2632
2632
  games: {
@@ -2634,12 +2634,12 @@ function Ai(i, e, a) {
2634
2634
  total: l.data.mostPlayedGames.length,
2635
2635
  items: l.data.mostPlayedGames
2636
2636
  }
2637
- }), M && M.forEach((_) => {
2637
+ }), C && C.forEach((_) => {
2638
2638
  _.isFavorite = H(_.id);
2639
2639
  })), a(25, Z = !1);
2640
2640
  break;
2641
2641
  case "LastPlayedData":
2642
- v == "LASTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.lastPlayedGames), a(28, L = {
2642
+ v == "LASTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, C = l.data.lastPlayedGames), a(28, A = {
2643
2643
  id: "LASTPLAYED",
2644
2644
  name: "Last Played Games",
2645
2645
  games: {
@@ -2647,26 +2647,26 @@ function Ai(i, e, a) {
2647
2647
  total: l.data.lastPlayedGames.length,
2648
2648
  items: l.data.lastPlayedGames
2649
2649
  }
2650
- }), M && M.forEach((_) => {
2650
+ }), C && C.forEach((_) => {
2651
2651
  _.isFavorite = H(_.id);
2652
2652
  })), a(25, Z = !1);
2653
2653
  break;
2654
2654
  case "RecentSearchData":
2655
- a(31, J = !0), a(32, Ge = !0), l.data.searchData.length > 0 ? (a(29, M = l.data.searchData), a(35, De = !0), M && M.forEach((_) => {
2655
+ a(31, J = !0), a(32, Ge = !0), l.data.searchData.length > 0 ? (a(29, C = l.data.searchData), a(35, De = !0), C && C.forEach((_) => {
2656
2656
  _.isFavorite = H(_.id);
2657
- })) : (a(29, M = []), a(35, De = !1));
2657
+ })) : (a(29, C = []), a(35, De = !1));
2658
2658
  break;
2659
2659
  case "OutOfRecentSearches":
2660
2660
  a(31, J = !1), a(32, Ge = !1);
2661
2661
  break;
2662
2662
  case "SearchData":
2663
- a(31, J = !0), a(32, Ge = !1), a(29, M = l.data.searchData.items || []), a(33, re = !0), l.data.receivedFavoriteResults && (R = l.data.receivedFavoriteResults.items), M && M.forEach((_) => {
2663
+ a(31, J = !0), a(32, Ge = !1), a(29, C = l.data.searchData.items || []), a(33, re = !0), l.data.receivedFavoriteResults && (R = l.data.receivedFavoriteResults.items), C && C.forEach((_) => {
2664
2664
  _.isFavorite = H(_.id);
2665
2665
  });
2666
2666
  break;
2667
2667
  case `CategoryData_${v}`:
2668
- 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((_) => {
2669
- a(28, L = _), a(29, M = L.games.items), a(30, Q = !!(Ue <= l.data.visiblegames && Y)), M && M.forEach((w) => {
2668
+ 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((_) => {
2669
+ a(28, A = _), a(29, C = A.games.items), a(30, Q = !!(Ue <= l.data.visiblegames && Y)), C && C.forEach((w) => {
2670
2670
  w.isFavorite = H(w.id);
2671
2671
  });
2672
2672
  });
@@ -2676,11 +2676,11 @@ function Ai(i, e, a) {
2676
2676
  break;
2677
2677
  case "ApplySorter":
2678
2678
  a(0, v = l.data.itemId), ie = l.data.sortBy, he(v, 0, ae).then((_) => {
2679
- a(28, L = _), a(29, M = L.games.items), a(30, Q = !1);
2679
+ a(28, A = _), a(29, C = A.games.items), a(30, Q = !1);
2680
2680
  });
2681
2681
  break;
2682
2682
  case "CategoryUpdate":
2683
- xe(l.data.itemId);
2683
+ Qe(l.data.itemId);
2684
2684
  break;
2685
2685
  case `SetUnfavoredGame${v}`:
2686
2686
  Ga(`${o}/v1/player/${u}/favorites`, m, l.data.id);
@@ -2692,14 +2692,14 @@ function Ai(i, e, a) {
2692
2692
  Se = l.data.session, Fe = l.data.userID, f == "true" && Fe && Fe.length && Se && Se.length > 0 && Be(Se, Fe);
2693
2693
  break;
2694
2694
  case "UpdateFavoredList":
2695
- v === "FAVORITES" && qe(l.data.url, l.data.sessionID);
2695
+ v === "FAVORITES" && xe(l.data.url, l.data.sessionID);
2696
2696
  break;
2697
2697
  }
2698
- }, xe = (l) => {
2699
- a(31, J = !1), a(27, Y = Ae === "true"), a(33, re = !1), Ce = !0, a(36, me = !1), a(0, v = l), v !== "MOSTPLAYED" && a(30, Q = !1), B !== "true" && (!R && m && Be(m, u), he(v, 0, ae).then((_) => {
2700
- a(28, L = _), L?.games?.items.forEach((w) => {
2698
+ }, Qe = (l) => {
2699
+ a(31, J = !1), a(27, Y = Le === "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 && Be(m, u), he(v, 0, ae).then((_) => {
2700
+ a(28, A = _), A?.games?.items.forEach((w) => {
2701
2701
  w.isFavorite = H(w.id);
2702
- }), a(29, M = L?.games.items);
2702
+ }), a(29, C = A?.games.items);
2703
2703
  }).finally(
2704
2704
  /*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
2705
2705
  if (shownCategoryData?.length < 10 && e.data.origin ==! 'filters') {
@@ -2713,19 +2713,19 @@ function Ai(i, e, a) {
2713
2713
  {
2714
2714
  type: `CategoryData_${v}`,
2715
2715
  categoryId: v,
2716
- visiblegames: Le
2716
+ visiblegames: Ae
2717
2717
  },
2718
2718
  window.location.href
2719
2719
  );
2720
2720
  }
2721
2721
  ));
2722
2722
  }, Sa = () => {
2723
- L && (a(29, M = L.games.items), M.forEach((l) => {
2723
+ A && (a(29, C = A.games.items), C.forEach((l) => {
2724
2724
  l.isFavorite = H(l.id);
2725
2725
  }));
2726
2726
  }, H = (l) => R?.some((_) => _.id === l) ?? !1;
2727
2727
  let Fa = async (l, _, w) => {
2728
- await qe(l, _), O.includes(w) || O.push(w);
2728
+ await xe(l, _), O.includes(w) || O.push(w);
2729
2729
  let j = {
2730
2730
  method: "POST",
2731
2731
  headers: {
@@ -2736,7 +2736,11 @@ function Ai(i, e, a) {
2736
2736
  body: JSON.stringify({ items: O })
2737
2737
  };
2738
2738
  fetch(l, j).then((I) => I.json()).then(() => {
2739
- window.postMessage({ type: `AddFavoriteThumbnail_${w}` }, window.location.href);
2739
+ window.postMessage({ type: `AddFavoriteThumbnail_${w}` }, window.location.href), window.postMessage({
2740
+ type: "UpdateFavoredList",
2741
+ url: l,
2742
+ sessionID: _
2743
+ });
2740
2744
  }).catch((I) => {
2741
2745
  console.error("Err", I);
2742
2746
  });
@@ -2752,9 +2756,13 @@ function Ai(i, e, a) {
2752
2756
  type: `RemoveFavoriteThumbnail_${w}`
2753
2757
  },
2754
2758
  window.location.href
2755
- ), qe(l, _);
2759
+ ), window.postMessage({
2760
+ type: "UpdateFavoredList",
2761
+ url: l,
2762
+ sessionID: _
2763
+ });
2756
2764
  }), O.includes(w) && (O = O.filter((j) => j != w));
2757
- }, qe = async (l, _) => fetch(l, {
2765
+ }, xe = async (l, _) => fetch(l, {
2758
2766
  method: "GET",
2759
2767
  headers: { "X-SessionID": _ }
2760
2768
  }).then((N) => N.json()).then((N) => {
@@ -2767,31 +2775,31 @@ function Ai(i, e, a) {
2767
2775
  v === "FAVORITES" && (window.postMessage({
2768
2776
  type: "UpdateFavoritesCount",
2769
2777
  favoriteGamesLength: j
2770
- }), We(R));
2778
+ }), qe(R));
2771
2779
  }).catch((N) => {
2772
2780
  console.error(N);
2773
- }), We = (l) => {
2781
+ }), qe = (l) => {
2774
2782
  if (!l)
2775
2783
  return;
2776
2784
  let _;
2777
2785
  _ = l?.items || l || [], _.length > 0 && _.forEach((w) => {
2778
2786
  w.gameModel && (w.gameModel.isFavorite = !0);
2779
2787
  }), a(42, te.items = Ee(_, te.items), te), a(42, te.name = "Favorites", te), a(25, Z = !1);
2780
- }, Ca = (l) => {
2788
+ }, Ma = (l) => {
2781
2789
  ae += 1, a(36, me = !0), ae <= Ue && he(l, Ri, ae).then((_) => {
2782
- a(28, L = _), L.games.items.length > M.length && (a(29, M = L.games.items), M.forEach((w) => {
2790
+ a(28, A = _), A.games.items.length > C.length && (a(29, C = A.games.items), C.forEach((w) => {
2783
2791
  w.isFavorite = H(w.id);
2784
2792
  })), a(36, me = !1);
2785
2793
  });
2786
- }, Ma = (l) => {
2794
+ }, Ca = (l) => {
2787
2795
  const _ = l ?? [];
2788
2796
  if (_?.length === 0)
2789
2797
  return "";
2790
2798
  let w = "", N = 999999999999, j;
2791
2799
  const I = new Date(Date.now());
2792
- return _.forEach((C, K) => {
2793
- const A = new Date(C.schedules[0].startTime), V = new Date(C.schedules[0].endTime);
2794
- Ne(V).diff(I) < N && (N = Ne(V).diff(I), j = K), Ne(I).isAfter(A) && Ne(I).isBefore(V) && (w = _[j].name);
2800
+ return _.forEach((M, K) => {
2801
+ const L = new Date(M.schedules[0].startTime), V = new Date(M.schedules[0].endTime);
2802
+ Ne(V).diff(I) < N && (N = Ne(V).diff(I), j = K), Ne(I).isAfter(L) && Ne(I).isBefore(V) && (w = _[j].name);
2795
2803
  }), w;
2796
2804
  }, $e = (l) => {
2797
2805
  a(30, Q = !1), window.postMessage(
@@ -2814,35 +2822,35 @@ function Ai(i, e, a) {
2814
2822
  B === "false" && u && m && a(39, fe = !1);
2815
2823
  break;
2816
2824
  default:
2817
- xe(v);
2825
+ Qe(v);
2818
2826
  break;
2819
2827
  }
2820
2828
  }, Ea = () => {
2821
- document[Me] ? a(41, Oe = "disconnect") : a(41, Oe = "connect");
2829
+ document[Ce] ? a(41, Oe = "disconnect") : a(41, Oe = "connect");
2822
2830
  }, Na = () => {
2823
- Ce && ge.forEach((l, _) => {
2824
- l && (l.elems_index = _, Ze.observe(l));
2831
+ Me && ge.forEach((l, _) => {
2832
+ l && (l.elems_index = _, Xe.observe(l));
2825
2833
  });
2826
2834
  }, Ia = () => {
2827
2835
  ti(r);
2828
2836
  };
2829
2837
  Xa(() => {
2830
- Ze?.disconnect();
2838
+ Xe?.disconnect();
2831
2839
  }), Za(() => (window.addEventListener("visibilitychange", (l) => Ea()), window.addEventListener("message", Ve, !1), () => {
2832
- window.emMessageBus && Ke && Ke.unsubscribe(), window.removeEventListener("message", Ve), window.removeEventListener("visibilitychange", Ve);
2840
+ window.emMessageBus && Je && Je.unsubscribe(), window.removeEventListener("message", Ve), window.removeEventListener("visibilitychange", Ve);
2833
2841
  }));
2834
2842
  function ja(l) {
2835
2843
  oe[l ? "unshift" : "push"](() => {
2836
2844
  ce = l, a(38, ce);
2837
2845
  });
2838
2846
  }
2839
- const Ra = (l) => $e(L.id);
2840
- function Aa(l, _) {
2847
+ const Ra = (l) => $e(A.id);
2848
+ function La(l, _) {
2841
2849
  oe[l ? "unshift" : "push"](() => {
2842
2850
  ge[_] = l, a(24, ge);
2843
2851
  });
2844
2852
  }
2845
- function La(l) {
2853
+ function Aa(l) {
2846
2854
  oe[l ? "unshift" : "push"](() => {
2847
2855
  ue = l, a(37, ue);
2848
2856
  });
@@ -2863,7 +2871,7 @@ function Ai(i, e, a) {
2863
2871
  });
2864
2872
  }
2865
2873
  return i.$$set = (l) => {
2866
- "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, Ae = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, ye = l.usesinglevendorfilter), "visiblegames" in l && a(53, Le = l.visiblegames);
2874
+ "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, We = l.filterbylogo), "casinogamesgridslider" in l && a(20, Ye = 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);
2867
2875
  }, i.$$.update = () => {
2868
2876
  i.$$.dirty[0] & /*lang*/
2869
2877
  32 && r && Ia(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
@@ -2897,8 +2905,8 @@ function Ai(i, e, a) {
2897
2905
  U,
2898
2906
  b,
2899
2907
  B,
2908
+ We,
2900
2909
  Ye,
2901
- Je,
2902
2910
  Re,
2903
2911
  ye,
2904
2912
  q,
@@ -2906,8 +2914,8 @@ function Ai(i, e, a) {
2906
2914
  Z,
2907
2915
  Te,
2908
2916
  Y,
2909
- L,
2910
- M,
2917
+ A,
2918
+ C,
2911
2919
  Q,
2912
2920
  J,
2913
2921
  Ge,
@@ -2922,32 +2930,32 @@ function Ai(i, e, a) {
2922
2930
  Oe,
2923
2931
  te,
2924
2932
  n,
2925
- Xe,
2926
- Ma,
2933
+ Ke,
2934
+ Ca,
2927
2935
  $e,
2928
2936
  le,
2929
2937
  Ie,
2930
2938
  je,
2931
2939
  we,
2932
2940
  ke,
2933
- Ae,
2934
2941
  Le,
2942
+ Ae,
2935
2943
  He,
2936
2944
  ja,
2937
2945
  Ra,
2938
- Aa,
2939
2946
  La,
2947
+ Aa,
2940
2948
  Ta,
2941
2949
  Pa,
2942
2950
  Da
2943
2951
  ];
2944
2952
  }
2945
- class Li extends Va {
2953
+ class Ai extends Va {
2946
2954
  constructor(e) {
2947
2955
  super(), qa(
2948
2956
  this,
2949
2957
  e,
2950
- Ai,
2958
+ Li,
2951
2959
  ji,
2952
2960
  Ya,
2953
2961
  {
@@ -3167,7 +3175,7 @@ class Li extends Va {
3167
3175
  this.$$set({ visiblegames: e }), z();
3168
3176
  }
3169
3177
  }
3170
- Wa(Li, { 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);
3178
+ Wa(Ai, { 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);
3171
3179
  export {
3172
- Li as default
3180
+ Ai as default
3173
3181
  };