@everymatrix/casino-page-nd 1.74.3 → 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 (95) hide show
  1. package/components/CasinoCalendar-B4OJuO_L.cjs +19 -0
  2. package/components/{CasinoCalendar-DdMvhCOA.js → CasinoCalendar-BVD-g7V2.js} +1063 -1049
  3. package/components/{CasinoCalendar-BuZNkBai.js → CasinoCalendar-CDNIjQ8T.js} +1001 -987
  4. package/components/CasinoCalendarDailyDetails-BEUNC6Xh.cjs +1 -0
  5. package/components/{CasinoCalendarDailyDetails-ClfGxbko.js → CasinoCalendarDailyDetails-D_IsmUxa.js} +75 -75
  6. package/components/{CasinoCalendarDailyDetails-BCVIut1W.js → CasinoCalendarDailyDetails-Dun4o4bY.js} +75 -75
  7. package/components/{CasinoCalendarDailyItem-CYfiDQkf.js → CasinoCalendarDailyItem-SgYp_4Zc.js} +6 -6
  8. package/components/{CasinoCalendarDailyItem-C1ADnaTt.js → CasinoCalendarDailyItem-lgiTsDmQ.js} +6 -6
  9. package/components/{CasinoCalendarDailyItem-BdDom59r.cjs → CasinoCalendarDailyItem-r4x7VnIJ.cjs} +1 -1
  10. package/components/{CasinoCollectionsProviders-4kHMGeo6.js → CasinoCollectionsProviders-Cfp1fpOk.js} +4 -4
  11. package/components/{CasinoCollectionsProviders-CM25qKz7.cjs → CasinoCollectionsProviders-DI8Ie4pa.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-Br5ZzIwL.js → CasinoCollectionsProviders-GH5hTDgu.js} +4 -4
  13. package/components/{CasinoFavoritesSectionNd-DtMLhJwE.cjs → CasinoFavoritesSectionNd-4vIlan3H.cjs} +1 -1
  14. package/components/{CasinoFavoritesSectionNd-BpQfUsRD.js → CasinoFavoritesSectionNd-Dzg8AjIh.js} +74 -74
  15. package/components/{CasinoFavoritesSectionNd-BpKau9du.js → CasinoFavoritesSectionNd-_cQ5xRiv.js} +74 -74
  16. package/components/CasinoFilter-BX1QlpN6.cjs +1 -0
  17. package/components/{CasinoFilter-1-YLqdq0.js → CasinoFilter-DUp1Zmmm.js} +224 -225
  18. package/components/{CasinoFilter-akdowSz4.js → CasinoFilter-idsuQa6E.js} +254 -253
  19. package/components/{CasinoGameThumbnailNd-4vkDFOTQ.js → CasinoGameThumbnailNd-C33yCVXc.js} +653 -653
  20. package/components/{CasinoGameThumbnailNd-027TQl9L.js → CasinoGameThumbnailNd-CxAL5LP2.js} +651 -651
  21. package/components/{CasinoGameThumbnailNd-Ca2b8Stl.cjs → CasinoGameThumbnailNd-DbHe7zqB.cjs} +6 -6
  22. package/components/{CasinoGamesCategorySectionNd-FSqr3CSC.js → CasinoGamesCategorySectionNd-DB97IVzG.js} +77 -69
  23. package/components/{CasinoGamesCategorySectionNd-CGOJc4eo.js → CasinoGamesCategorySectionNd-iW8xVo8B.js} +350 -342
  24. package/components/CasinoGamesCategorySectionNd-wkSdhFLy.cjs +1 -0
  25. package/components/{CasinoJackpotBanner-Bdzek1XC.js → CasinoJackpotBanner-BAVC4_Yz.js} +8 -8
  26. package/components/{CasinoJackpotBanner-CyyNiIY2.cjs → CasinoJackpotBanner-ClvtHhmd.cjs} +1 -1
  27. package/components/{CasinoJackpotBanner--90-l4pm.js → CasinoJackpotBanner-Da0QCFOu.js} +8 -8
  28. package/components/{CasinoLastPlayedSectionNd-DSncRKaO.js → CasinoLastPlayedSectionNd-B0SywtOD.js} +10 -10
  29. package/components/{CasinoLastPlayedSectionNd-6oMHidCr.cjs → CasinoLastPlayedSectionNd-Bqsq8N1n.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSectionNd-DilDkELD.js → CasinoLastPlayedSectionNd-DPsD96pl.js} +10 -10
  31. package/components/{CasinoMostPlayedSectionNd-BrdGaj7a.js → CasinoMostPlayedSectionNd-BLdrRJN3.js} +7 -7
  32. package/components/{CasinoMostPlayedSectionNd-B1xoI2QM.cjs → CasinoMostPlayedSectionNd-Bfmipga7.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSectionNd-S6ts_CYh.js → CasinoMostPlayedSectionNd-RDJQtjfP.js} +7 -7
  34. package/components/CasinoMyGamesNd-B6Y-CQn4.js +1315 -0
  35. package/components/CasinoMyGamesNd-DRW6wUxl.js +1314 -0
  36. package/components/CasinoMyGamesNd-EsRtwVbW.cjs +1 -0
  37. package/components/{CasinoPageNd-DqENu2Tu.cjs → CasinoPageNd-BXM3LqAa.cjs} +1 -1
  38. package/components/{CasinoPageNd-BRWbTx8q.js → CasinoPageNd-C_8U853c.js} +15 -15
  39. package/components/{CasinoPageNd-mPiA5_16.js → CasinoPageNd-Cpz1P4Jg.js} +15 -15
  40. package/components/{CasinoRandomGame-CdQVMLbd.cjs → CasinoRandomGame-3uoEGw78.cjs} +2 -2
  41. package/components/{CasinoRandomGame-CtAOJXnF.js → CasinoRandomGame-9Yw_xC5j.js} +83 -83
  42. package/components/{CasinoRandomGame-D7RweU9Y.js → CasinoRandomGame-DpKfvMwV.js} +12 -12
  43. package/components/{CasinoSearchNd-DCZ8s3vo.js → CasinoSearchNd-BZFZIldj.js} +6 -6
  44. package/components/{CasinoSearchNd-CtwL1Nv0.js → CasinoSearchNd-DhC_9kHZ.js} +6 -6
  45. package/components/{CasinoSearchNd-DFcbrjhC.cjs → CasinoSearchNd-sbnm8-s3.cjs} +1 -1
  46. package/components/{CasinoSort-5WNP_G3S.js → CasinoSort-BYQvNOsF.js} +93 -94
  47. package/components/{CasinoSort-BawqALZV.js → CasinoSort-CUCsGytJ.js} +103 -102
  48. package/components/{CasinoSort-Du3lmlNe.cjs → CasinoSort-DEzzINXT.cjs} +1 -1
  49. package/components/{CasinoWinners-XkR8Kmij.cjs → CasinoWinners-COmepRdG.cjs} +1 -1
  50. package/components/{CasinoWinners-DCiuykjq.js → CasinoWinners-CQf5gEvU.js} +116 -116
  51. package/components/{CasinoWinners-BE029Vxq.js → CasinoWinners-Dr5wYAG5.js} +116 -116
  52. package/components/{GeneralAnimationLoading-BETs-Kib.js → GeneralAnimationLoading-CBPC5I1a.js} +7 -7
  53. package/components/{GeneralAnimationLoading-BlN4kA08.js → GeneralAnimationLoading-CKgGhHlf.js} +7 -7
  54. package/components/{GeneralAnimationLoading-lIyg2-0l.cjs → GeneralAnimationLoading-DTUTIYre.cjs} +1 -1
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-wi94nFPy.cjs → casino-play-random-game-C3hhQjhn.cjs} +2 -2
  60. package/stencil/{casino-play-random-game-Bc2XLGRl.js → casino-play-random-game-qroM0e64.js} +2 -2
  61. package/stencil/{casino-play-random-game-d1PoE_Vf.js → casino-play-random-game-uBjWXXLi.js} +2 -2
  62. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
  63. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
  64. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  65. package/stencil/{index-ab3202d6-Cowbr6qN.js → index-ab3202d6-CSUArOSv.js} +209 -209
  66. package/stencil/{index-ab3202d6-CiI9jxo9.js → index-ab3202d6-CoRS04SH.js} +214 -214
  67. package/stencil/index-ab3202d6-DitihRZv.cjs +1 -0
  68. package/stencil/index-b2193545-3zPNeE9v.cjs +1 -0
  69. package/stencil/{index-b2193545-DdqB2rk5.js → index-b2193545-D_cUvAA-.js} +176 -176
  70. package/stencil/{index-b2193545-BL364Gzq.js → index-b2193545-kN0z2MLt.js} +169 -169
  71. package/stencil/{ui-image-CzGNxx73.js → ui-image-BAqS-hS6.js} +1 -1
  72. package/stencil/{ui-image-wubI3fkK.cjs → ui-image-CH2Jdp7k.cjs} +1 -1
  73. package/stencil/{ui-image-B_HWMBI-.js → ui-image-I_uR7pAI.js} +1 -1
  74. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  75. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  76. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  77. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  78. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  79. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-_K8Pt3w9.js} +2 -2
  80. package/stencil/{ui-skeleton-DTQ__6LQ.cjs → ui-skeleton-5mt1L8pA.cjs} +1 -1
  81. package/stencil/{ui-skeleton-CsmgJUYN.js → ui-skeleton-C0GZ2ncD.js} +2 -2
  82. package/stencil/{ui-skeleton-yRWBmyfK.js → ui-skeleton-CYeeBz0Q.js} +2 -2
  83. package/stencil/{ui-skeleton-ae35c6f2-CxSezPtG.js → ui-skeleton-ae35c6f2-BSwiS43c.js} +1 -1
  84. package/stencil/{ui-skeleton-ae35c6f2-BRNiEwlg.js → ui-skeleton-ae35c6f2-BmKf7IvD.js} +1 -1
  85. package/stencil/{ui-skeleton-ae35c6f2-CZuWo9GO.cjs → ui-skeleton-ae35c6f2-CQ3pH6qH.cjs} +1 -1
  86. package/components/CasinoCalendar-CFUoQxq0.cjs +0 -19
  87. package/components/CasinoCalendarDailyDetails-Dqb6yp--.cjs +0 -1
  88. package/components/CasinoFilter-Cc3Yv48X.cjs +0 -1
  89. package/components/CasinoGamesCategorySectionNd-BAynLaaR.cjs +0 -1
  90. package/components/CasinoMyGamesNd-BS2PoJ2a.cjs +0 -1
  91. package/components/CasinoMyGamesNd-C2FLMGUe.js +0 -1350
  92. package/components/CasinoMyGamesNd-CkEhzUen.js +0 -1351
  93. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
  94. package/stencil/index-ab3202d6-BwBGn0Oj.cjs +0 -1
  95. package/stencil/index-b2193545-DmjUkkS8.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { a as Oa, $ as Ba, S as Ha, i as Va, f as z, c as qa, s as Wa, b as Ya, e as S, y as h, d as y, G as pe, j as k, k as Ja, W as Ka, o as Xa, X as Ee, n as oe, p as Za, q as Qa, r as xa, w as V, m as ve, z as w, T as K, J as $a, P as ei, x as L, E as D, v as se, Y as _a, H as n, F as ai, K as $, A as ii, Z as pa } from "./CasinoCalendar-BuZNkBai.js";
2
- import { d as xe, i as ni, a as ti } from "./CasinoGameThumbnailNd-027TQl9L.js";
1
+ import { a as Oa, $ as Ba, S as Ha, i as Va, f as z, c as qa, s as Wa, b as Ya, e as S, y as h, d as y, G as pe, j as k, k as Ja, W as Ka, o as Xa, l as Za, m as Qa, X as Ee, q as oe, r as xa, w as V, p as ve, z as w, T as K, J as $a, P as ei, x as L, E as D, v as se, Y as _a, H as n, F as ai, K as $, A as ii, Z as pa } from "./CasinoCalendar-CDNIjQ8T.js";
2
+ import { d as xe, i as ni, a as ti } from "./CasinoGameThumbnailNd-CxAL5LP2.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-akdowSz4.js").then(({ default: e }) => {
15
+ customElements.define = i(customElements.define), import("./CasinoFilter-DUp1Zmmm.js").then(({ default: e }) => {
16
16
  !customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
17
17
  });
18
18
  }
@@ -233,7 +233,7 @@ if (typeof window < "u") {
233
233
  }
234
234
  };
235
235
  };
236
- customElements.define = i(customElements.define), import("./CasinoGameThumbnailNd-027TQl9L.js").then((e) => e.C).then(({ default: e }) => {
236
+ customElements.define = i(customElements.define), import("./CasinoGameThumbnailNd-CxAL5LP2.js").then((e) => e.C).then(({ default: e }) => {
237
237
  !customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
238
238
  });
239
239
  }
@@ -249,7 +249,7 @@ if (typeof window < "u") {
249
249
  }
250
250
  };
251
251
  };
252
- customElements.define = i(customElements.define), import("./CasinoSort-BawqALZV.js").then(({ default: e }) => {
252
+ customElements.define = i(customElements.define), import("./CasinoSort-BYQvNOsF.js").then(({ default: e }) => {
253
253
  !customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
254
254
  });
255
255
  }
@@ -633,16 +633,16 @@ function la(i) {
633
633
  let e, a = pi(i);
634
634
  return {
635
635
  c() {
636
- a.c(), e = K();
636
+ a && a.c(), e = K();
637
637
  },
638
638
  m(t, o) {
639
- a.m(t, o), y(t, e, o);
639
+ a && a.m(t, o), y(t, e, o);
640
640
  },
641
641
  p(t, o) {
642
642
  a.p(t, o);
643
643
  },
644
644
  d(t) {
645
- t && k(e), a.d(t);
645
+ t && k(e), a && a.d(t);
646
646
  }
647
647
  };
648
648
  }
@@ -1970,16 +1970,16 @@ function ua(i, e) {
1970
1970
  key: i,
1971
1971
  first: null,
1972
1972
  c() {
1973
- a = K(), o.c(), t = K(), this.first = a;
1973
+ a = K(), o && o.c(), t = K(), this.first = a;
1974
1974
  },
1975
1975
  m(s, r) {
1976
- y(s, a, r), o.m(s, r), y(s, t, r);
1976
+ y(s, a, r), o && o.m(s, r), y(s, t, r);
1977
1977
  },
1978
1978
  p(s, r) {
1979
1979
  e = s, o.p(e, r);
1980
1980
  },
1981
1981
  d(s) {
1982
- s && (k(a), k(t)), o.d(s);
1982
+ s && (k(a), k(t)), o && o.d(s);
1983
1983
  }
1984
1984
  };
1985
1985
  }
@@ -2453,7 +2453,7 @@ let ji = 0;
2453
2453
  function Li(i, e, a) {
2454
2454
  let t;
2455
2455
  Ja(i, $a, (l) => a(43, t = l));
2456
- let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: c = "" } = e, { favorites: u = "" } = e, { mbsource: f } = e, { clientstyling: p = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: M = "" } = e, { currency: I = "" } = e, { categoryid: g = "" } = e, { showgamename: d = "" } = e, { livecasino: ne = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: X = "false" } = e, { casinomygames: le = "false" } = e, { addfilterselector: be = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: We = "" } = e, { casinogamesgridslider: Ye = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Re = "casino" } = e, { actionevent: Ae = "CategoryChange" } = e, { displayedgamecount: ye = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { lobbyscreen: Ne = "true" } = e, { usesinglevendorfilter: Ge = "false" } = e, { visiblegames: je = "10" } = e, Z = !0, Le = !1, Se, Ce, W = !0, Je = window.navigator.userAgent, T, F = [], Q = !0, ae = 40, Y = !1, Fe = !1, me = !1, Te = !1, Pe = !0, ce = !1, ge, De, de, ue = !1, q, ze = !1, fe = new Array(1e4), he = {}, Ue = "", ie = "", Me, Oe, N, O = [], Ie = new AbortController(), te = { items: [], count: 0, name: "" };
2456
+ let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: c = "" } = e, { favorites: u = "" } = e, { mbsource: f } = e, { clientstyling: p = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: M = "" } = e, { currency: I = "" } = e, { categoryid: g = "" } = e, { showgamename: d = "" } = e, { livecasino: ne = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: X = "false" } = e, { casinomygames: le = "false" } = e, { addfilterselector: be = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: qe = "" } = e, { casinogamesgridslider: We = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Re = "casino" } = e, { actionevent: Ae = "CategoryChange" } = e, { displayedgamecount: ye = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { lobbyscreen: Ne = "true" } = e, { usesinglevendorfilter: Ge = "false" } = e, { visiblegames: je = "10" } = e, Z = !0, Le = !1, Se, Ce, W = !0, Ye = window.navigator.userAgent, T, F = [], Q = !0, ae = 40, Y = !1, Fe = !1, me = !1, Te = !1, Pe = !0, ce = !1, ge, De, de, ue = !1, q, ze = !1, fe = new Array(1e4), he = {}, Ue = "", ie = "", Me, Oe, N, O = [], Ie = new AbortController(), te = { items: [], count: 0, name: "" };
2457
2457
  const va = () => {
2458
2458
  fetch(M).then((_) => _.json()).then((_) => {
2459
2459
  Object.keys(_).forEach((G) => {
@@ -2466,13 +2466,13 @@ function Li(i, e, a) {
2466
2466
  Object.keys(ea).forEach((l) => {
2467
2467
  $e(l, ea[l]);
2468
2468
  }), typeof document.hidden < "u" ? Me = "hidden" : typeof document.msHidden < "u" ? Me = "msHidden" : typeof document.webkitHidden < "u" && (Me = "webkitHidden");
2469
- let Ke = new IntersectionObserver((l) => {
2469
+ let Je = new IntersectionObserver((l) => {
2470
2470
  l.forEach(async (_) => {
2471
- let G = _.target.gameid, E = _.target.elems_index;
2472
- _.isIntersecting ? (E * 1.2 > ae && Ca(g), a(40, he[G] = 1, he)) : a(40, he[G] = 0, he);
2471
+ let G = _.target.gameid, R = _.target.elems_index;
2472
+ _.isIntersecting ? (R * 1.2 > ae && Ca(g), a(40, he[G] = 1, he)) : a(40, he[G] = 0, he);
2473
2473
  });
2474
2474
  });
2475
- const ba = (l, _) => new Promise((G, E) => {
2475
+ const ba = (l, _) => new Promise((G, R) => {
2476
2476
  if (l && _) {
2477
2477
  let A = `${o}/v1/player/${_}/favorites/`;
2478
2478
  fetch(A, {
@@ -2490,21 +2490,21 @@ function Li(i, e, a) {
2490
2490
  });
2491
2491
  } else
2492
2492
  N = [];
2493
- g === "FAVORITES" && qe(N), G(N);
2493
+ g === "FAVORITES" && Ve(N), G(N);
2494
2494
  }).catch((C) => {
2495
- console.error(C), E(C);
2495
+ console.error(C), R(C);
2496
2496
  });
2497
2497
  } else
2498
2498
  G([]);
2499
2499
  }), Be = (l, _) => {
2500
2500
  let G = `${o}/v1/player/${_}/favorites/`;
2501
2501
  a(25, Z = !0);
2502
- let E = {
2502
+ let R = {
2503
2503
  method: "GET",
2504
2504
  headers: { "X-SessionID": l }
2505
2505
  };
2506
- return new Promise((A, R) => {
2507
- fetch(G, E).then((C) => C.json()).then((C) => {
2506
+ return new Promise((A, E) => {
2507
+ fetch(G, R).then((C) => C.json()).then((C) => {
2508
2508
  if (a(25, Z = !1), N = [], C) {
2509
2509
  C.items?.forEach((H) => {
2510
2510
  H.gameModel && (N.push(H), O.includes(H.id) || O.push(H.id));
@@ -2516,23 +2516,23 @@ function Li(i, e, a) {
2516
2516
  });
2517
2517
  } else
2518
2518
  N = [];
2519
- g === "FAVORITES" && qe(N), F.forEach((j) => {
2519
+ g === "FAVORITES" && Ve(N), F.forEach((j) => {
2520
2520
  j.isFavorite = B(j.id);
2521
2521
  });
2522
2522
  let J = F;
2523
2523
  a(29, F = void 0), a(29, F = J), A(N);
2524
2524
  }).catch((C) => {
2525
- console.error(C), R(C);
2525
+ console.error(C), E(C);
2526
2526
  });
2527
2527
  });
2528
- }, Xe = (l, _, G, E) => {
2528
+ }, Ke = (l, _, G, R) => {
2529
2529
  Ie && Ie.abort(), Ie = new AbortController();
2530
2530
  const A = Ie.signal;
2531
2531
  a(25, Z = !0);
2532
- let R = "", C = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), j = JSON.parse(localStorage.getItem("vendorSortingBy"));
2532
+ let E = "", C = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), j = JSON.parse(localStorage.getItem("vendorSortingBy"));
2533
2533
  const H = Ge === "true" ? "*" : l;
2534
- return (l.match(/\$/g) || []).length > 1 ? (R = l.split("$").slice(0, 2).join("$"), C = new URL(`${o}/v1/casino/groups/${s}/${R}/subGroups`)) : C = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((Da, Ua) => {
2535
- if (C.searchParams.delete("pagination"), C.searchParams.append("expand", "games(vendor)"), C.searchParams.append("fields", "id,name,games"), C.searchParams.append("platform", ei(Je)), C.searchParams.append("pagination", `games(offset=${_},limit=${G})`), C.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && J[H]?.length)
2534
+ return (l.match(/\$/g) || []).length > 1 ? (E = l.split("$").slice(0, 2).join("$"), C = new URL(`${o}/v1/casino/groups/${s}/${E}/subGroups`)) : C = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((Da, Ua) => {
2535
+ if (C.searchParams.delete("pagination"), C.searchParams.append("expand", "games(vendor)"), C.searchParams.append("fields", "id,name,games"), C.searchParams.append("platform", ei(Ye)), C.searchParams.append("pagination", `games(offset=${_},limit=${G})`), C.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && J[H]?.length)
2536
2536
  if (Ge === "true" || W === !1 && ue === !1) {
2537
2537
  let P = "";
2538
2538
  a(34, Te = !0), J[H].forEach((x) => {
@@ -2544,7 +2544,7 @@ function Li(i, e, a) {
2544
2544
  A.aborted || (a(25, Z = !1), (l.match(/\$/g) || []).length > 1 && (P = P.items.filter((x) => {
2545
2545
  if (x.id == l)
2546
2546
  return x;
2547
- })[0]), a(54, Oe = !0), a(26, Le = !1), De = P.games.total, E && P.games.items.forEach((x) => {
2547
+ })[0]), a(54, Oe = !0), a(26, Le = !1), De = P.games.total, R && P.games.items.forEach((x) => {
2548
2548
  x.isFavorite = B(x.id);
2549
2549
  }), a(36, ce = !0), Da(P));
2550
2550
  }).catch((P) => {
@@ -2553,20 +2553,20 @@ function Li(i, e, a) {
2553
2553
  wa();
2554
2554
  });
2555
2555
  });
2556
- }, _e = (l, _, G) => new Promise((E, A) => {
2557
- u == "true" ? ba(m, c).then((R) => {
2558
- Xe(l, _, G, R).then((C) => {
2559
- E(C);
2556
+ }, _e = (l, _, G) => new Promise((R, A) => {
2557
+ u == "true" ? ba(m, c).then((E) => {
2558
+ Ke(l, _, G, E).then((C) => {
2559
+ R(C);
2560
2560
  });
2561
- }) : Xe(l, _, G, null).then((R) => {
2562
- E(R);
2561
+ }) : Ke(l, _, G, null).then((E) => {
2562
+ R(E);
2563
2563
  });
2564
2564
  }), wa = () => {
2565
2565
  const l = q.getRootNode().host;
2566
2566
  l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
2567
2567
  }, ya = (l, _, G) => {
2568
- l !== "" && (a(31, Y = !1), a(27, W = !0), a(1, be = "false"), a(2, we = "false"), a(33, me = !1), ze = !1, a(30, Q = +_ > +G), _e(l, 0, +_).then((E) => {
2569
- a(28, T = E), a(29, F = T.games.items), F && F.forEach((A) => {
2568
+ l !== "" && (a(31, Y = !1), a(27, W = !0), a(1, be = "false"), a(2, we = "false"), a(33, me = !1), ze = !1, a(30, Q = +_ > +G), _e(l, 0, +_).then((R) => {
2569
+ a(28, T = R), a(29, F = T.games.items), F && F.forEach((A) => {
2570
2570
  A.isFavorite = B(A.id);
2571
2571
  });
2572
2572
  }));
@@ -2628,7 +2628,7 @@ function Li(i, e, a) {
2628
2628
  });
2629
2629
  break;
2630
2630
  case "CategoryUpdate":
2631
- Ze(l.data.itemId);
2631
+ Xe(l.data.itemId);
2632
2632
  break;
2633
2633
  case `SetUnfavoredGame${g}`:
2634
2634
  Sa(`${o}/v1/player/${c}/favorites`, m, l.data.id);
@@ -2640,10 +2640,10 @@ function Li(i, e, a) {
2640
2640
  Se = l.data.session, Ce = l.data.userID, u == "true" && Ce && Ce.length && Se && Se.length > 0 && Be(Se, Ce);
2641
2641
  break;
2642
2642
  case "UpdateFavoredList":
2643
- g === "FAVORITES" && Ve(l.data.url, l.data.sessionID);
2643
+ g === "FAVORITES" && Ze(l.data.url, l.data.sessionID);
2644
2644
  break;
2645
2645
  }
2646
- }, Ze = (l) => {
2646
+ }, Xe = (l) => {
2647
2647
  a(31, Y = !1), a(27, W = Ne === "true"), a(33, me = !1), ze = !0, a(36, ce = !1), a(0, g = l), g !== "MOSTPLAYED" && a(30, Q = !1), le !== "true" && (!N && m && Be(m, c), _e(g, 0, ae).then((_) => {
2648
2648
  a(28, T = _), a(29, F = T.games.items);
2649
2649
  }).finally(
@@ -2671,7 +2671,7 @@ function Li(i, e, a) {
2671
2671
  }));
2672
2672
  }, B = (l) => N?.some((_) => _.id === l) ?? !1;
2673
2673
  let Ga = async (l, _, G) => {
2674
- await Ve(l, _), O.includes(G) || O.push(G);
2674
+ await Ze(l, _), O.includes(G) || O.push(G);
2675
2675
  let A = {
2676
2676
  method: "POST",
2677
2677
  headers: {
@@ -2681,42 +2681,50 @@ function Li(i, e, a) {
2681
2681
  },
2682
2682
  body: JSON.stringify({ items: O })
2683
2683
  };
2684
- fetch(l, A).then((R) => R.json()).then(() => {
2685
- window.postMessage({ type: `AddFavoriteThumbnail_${G}` }, window.location.href);
2686
- }).catch((R) => {
2687
- console.error("Err", R);
2684
+ fetch(l, A).then((E) => E.json()).then((E) => {
2685
+ window.postMessage({ type: `AddFavoriteThumbnail_${G}` }, window.location.href), window.postMessage({
2686
+ type: "UpdateFavoredList",
2687
+ url: l,
2688
+ sessionID: _
2689
+ });
2690
+ }).catch((E) => {
2691
+ console.error("Err", E);
2688
2692
  });
2689
2693
  };
2690
2694
  const Sa = (l, _, G) => {
2691
- let E = {
2695
+ let R = {
2692
2696
  method: "DELETE",
2693
2697
  headers: { "X-SessionID": _ }
2694
2698
  };
2695
- fetch(`${l}/${G}`, E).then((A) => A.json()).then(() => {
2699
+ fetch(`${l}/${G}`, R).then((A) => A.json()).then(() => {
2696
2700
  window.postMessage(
2697
2701
  {
2698
2702
  type: `RemoveFavoriteThumbnail_${G}`
2699
2703
  },
2700
2704
  window.location.href
2701
- ), Ve(l, _);
2705
+ ), window.postMessage({
2706
+ type: "UpdateFavoredList",
2707
+ url: l,
2708
+ sessionID: _
2709
+ });
2702
2710
  }), O.includes(G) && (O = O.filter((A) => A != G));
2703
- }, Ve = async (l, _) => fetch(l, {
2711
+ }, Ze = async (l, _) => fetch(l, {
2704
2712
  method: "GET",
2705
2713
  headers: { "X-SessionID": _ }
2706
- }).then((E) => E.json()).then((E) => {
2707
- N = E.items, re ? (N.forEach((R) => {
2708
- O.includes(R.id) || O.push(R.id);
2709
- }), ka()) : N.forEach((R) => {
2710
- R.isFavorite = B(R.id);
2714
+ }).then((R) => R.json()).then((R) => {
2715
+ N = R.items, re ? (N.forEach((E) => {
2716
+ O.includes(E.id) || O.push(E.id);
2717
+ }), ka()) : N.forEach((E) => {
2718
+ E.isFavorite = B(E.id);
2711
2719
  });
2712
2720
  const A = Ee(N)?.length;
2713
2721
  g === "FAVORITES" && (window.postMessage({
2714
2722
  type: "UpdateFavoritesCount",
2715
2723
  favoriteGamesLength: A
2716
- }), qe(N));
2717
- }).catch((E) => {
2718
- console.error(E);
2719
- }), qe = (l) => {
2724
+ }), Ve(N));
2725
+ }).catch((R) => {
2726
+ console.error(R);
2727
+ }), Ve = (l) => {
2720
2728
  if (!l)
2721
2729
  return;
2722
2730
  let _;
@@ -2733,11 +2741,11 @@ function Li(i, e, a) {
2733
2741
  const _ = l ?? [];
2734
2742
  if (_?.length === 0)
2735
2743
  return "";
2736
- let G = "", E = 999999999999, A;
2737
- const R = new Date(Date.now());
2744
+ let G = "", R = 999999999999, A;
2745
+ const E = new Date(Date.now());
2738
2746
  return _.forEach((C, J) => {
2739
2747
  const j = new Date(C.schedules[0].startTime), H = new Date(C.schedules[0].endTime);
2740
- xe(new Date(H), new Date(R)) < E && (E = xe(new Date(H), new Date(R)), A = J), ni(new Date(R), new Date(j)) && ti(new Date(R), new Date(H)) && (G = _[A].name);
2748
+ xe(new Date(H), new Date(E)) < R && (R = xe(new Date(H), new Date(E)), A = J), ni(new Date(E), new Date(j)) && ti(new Date(E), new Date(H)) && (G = _[A].name);
2741
2749
  }), G;
2742
2750
  }, Qe = (l) => {
2743
2751
  a(30, Q = !1), window.postMessage(
@@ -2760,20 +2768,20 @@ function Li(i, e, a) {
2760
2768
  le === "false" && c && m && a(39, ue = !1);
2761
2769
  break;
2762
2770
  default:
2763
- Ze(g);
2771
+ Xe(g);
2764
2772
  break;
2765
2773
  }
2766
2774
  }, Ma = () => {
2767
2775
  document[Me] ? a(41, Ue = "disconnect") : a(41, Ue = "connect");
2768
2776
  }, Ia = () => {
2769
2777
  ze && fe.forEach((l, _) => {
2770
- l && (l.elems_index = _, Ke.observe(l));
2778
+ l && (l.elems_index = _, Je.observe(l));
2771
2779
  });
2772
2780
  }, Ea = () => {
2773
2781
  oi(r);
2774
2782
  };
2775
2783
  Ka(() => {
2776
- Ke?.disconnect();
2784
+ Je?.disconnect();
2777
2785
  }), Xa(() => (window.addEventListener("visibilitychange", (l) => Ma()), window.addEventListener("message", He, !1), () => {
2778
2786
  window.removeEventListener("message", He), window.removeEventListener("visibilitychange", He);
2779
2787
  }));
@@ -2809,7 +2817,7 @@ function Li(i, e, a) {
2809
2817
  });
2810
2818
  }
2811
2819
  return i.$$set = (l) => {
2812
- "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, c = l.userid), "favorites" in l && a(8, u = l.favorites), "mbsource" in l && a(9, f = l.mbsource), "clientstyling" in l && a(10, p = l.clientstyling), "clientstylingurl" in l && a(11, b = l.clientstylingurl), "translationurl" in l && a(12, M = l.translationurl), "currency" in l && a(13, I = l.currency), "categoryid" in l && a(0, g = l.categoryid), "showgamename" in l && a(14, d = l.showgamename), "livecasino" in l && a(15, ne = l.livecasino), "gamepagemodalurl" in l && a(16, U = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(17, v = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(18, X = l.integratedgameframemobile), "casinomygames" in l && a(19, le = l.casinomygames), "addfilterselector" in l && a(1, be = l.addfilterselector), "addsortingselector" in l && a(2, we = l.addsortingselector), "filterbylogo" in l && a(20, We = l.filterbylogo), "casinogamesgridslider" in l && a(21, Ye = l.casinogamesgridslider), "fetchviaevent" in l && a(47, re = l.fetchviaevent), "showallpage" in l && a(48, Re = l.showallpage), "actionevent" in l && a(49, Ae = l.actionevent), "displayedgamecount" in l && a(50, ye = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ke = l.showallbuttongamescount), "lobbyscreen" in l && a(52, Ne = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Ge = l.usesinglevendorfilter), "visiblegames" in l && a(53, je = l.visiblegames);
2820
+ "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, c = l.userid), "favorites" in l && a(8, u = l.favorites), "mbsource" in l && a(9, f = l.mbsource), "clientstyling" in l && a(10, p = l.clientstyling), "clientstylingurl" in l && a(11, b = l.clientstylingurl), "translationurl" in l && a(12, M = l.translationurl), "currency" in l && a(13, I = l.currency), "categoryid" in l && a(0, g = l.categoryid), "showgamename" in l && a(14, d = l.showgamename), "livecasino" in l && a(15, ne = l.livecasino), "gamepagemodalurl" in l && a(16, U = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(17, v = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(18, X = l.integratedgameframemobile), "casinomygames" in l && a(19, le = l.casinomygames), "addfilterselector" in l && a(1, be = l.addfilterselector), "addsortingselector" in l && a(2, we = l.addsortingselector), "filterbylogo" in l && a(20, qe = l.filterbylogo), "casinogamesgridslider" in l && a(21, We = l.casinogamesgridslider), "fetchviaevent" in l && a(47, re = l.fetchviaevent), "showallpage" in l && a(48, Re = l.showallpage), "actionevent" in l && a(49, Ae = l.actionevent), "displayedgamecount" in l && a(50, ye = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ke = l.showallbuttongamescount), "lobbyscreen" in l && a(52, Ne = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Ge = l.usesinglevendorfilter), "visiblegames" in l && a(53, je = l.visiblegames);
2813
2821
  }, i.$$.update = () => {
2814
2822
  i.$$.dirty[0] & /*lang*/
2815
2823
  32 && r && Ea(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
@@ -2820,9 +2828,9 @@ function Li(i, e, a) {
2820
2828
  8388608 && Oe && fe && Ia(), i.$$.dirty[0] & /*lang, categoryid*/
2821
2829
  33 && r && g && za(), i.$$.dirty[0] & /*translationurl*/
2822
2830
  4096 && M && va(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2823
- 8389632 && p && q && Za(q, p), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2824
- 8390656 && b && q && Qa(q, b), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
2825
- 8389120 && f && q && xa(q, `${f}.Style`);
2831
+ 8389632 && p && q && xa(q, p), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2832
+ 8390656 && b && q && Za(q, b), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
2833
+ 8389120 && f && q && Qa(q, `${f}.Style`);
2826
2834
  }, [
2827
2835
  g,
2828
2836
  be,
@@ -2844,8 +2852,8 @@ function Li(i, e, a) {
2844
2852
  v,
2845
2853
  X,
2846
2854
  le,
2855
+ qe,
2847
2856
  We,
2848
- Ye,
2849
2857
  Ge,
2850
2858
  q,
2851
2859
  fe,
@@ -2868,7 +2876,7 @@ function Li(i, e, a) {
2868
2876
  Ue,
2869
2877
  te,
2870
2878
  t,
2871
- Je,
2879
+ Ye,
2872
2880
  Fa,
2873
2881
  Qe,
2874
2882
  re,