@everymatrix/casino-my-games-nd 1.77.7 → 1.77.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/components/{CasinoFavoritesSectionNd-ceYHOglI.js → CasinoFavoritesSectionNd-CgymyphD.js} +1 -1
  2. package/components/{CasinoFavoritesSectionNd-BcQ-0TTm.cjs → CasinoFavoritesSectionNd-D_GLxr7o.cjs} +1 -1
  3. package/components/{CasinoFavoritesSectionNd-BMWS7pFj.js → CasinoFavoritesSectionNd-nZ7QLiXI.js} +1 -1
  4. package/components/{CasinoFilter-ew7DwJlL.cjs → CasinoFilter-2jV6Oqjl.cjs} +1 -1
  5. package/components/{CasinoFilter-DVnEMlKz.js → CasinoFilter-D0qihpYf.js} +1 -1
  6. package/components/{CasinoFilter-CBdZj0Ux.js → CasinoFilter-DJGAj5n1.js} +1 -1
  7. package/components/{CasinoGameThumbnailNd-C7XUnmgF.js → CasinoGameThumbnailNd-6t3lyWdV.js} +2 -2
  8. package/components/{CasinoGameThumbnailNd-COtNMQHO.cjs → CasinoGameThumbnailNd-BDlnZ7V3.cjs} +1 -1
  9. package/components/{CasinoGameThumbnailNd-B6I-iedC.js → CasinoGameThumbnailNd-BV_BNFC0.js} +2 -2
  10. package/components/{CasinoGamesCategorySectionNd-CRnutaG9.js → CasinoGamesCategorySectionNd-Bdb4XEuM.js} +63 -63
  11. package/components/{CasinoGamesCategorySectionNd-GP_TW-mq.js → CasinoGamesCategorySectionNd-C6GwDo94.js} +120 -120
  12. package/components/{CasinoGamesCategorySectionNd-B7YXgZAm.cjs → CasinoGamesCategorySectionNd-mL1sJEuC.cjs} +1 -1
  13. package/components/{CasinoLastPlayedSectionNd-B55snLHZ.js → CasinoLastPlayedSectionNd-Cg2exig_.js} +2 -2
  14. package/components/{CasinoLastPlayedSectionNd-DxAVARHY.cjs → CasinoLastPlayedSectionNd-DUZDx6BI.cjs} +1 -1
  15. package/components/{CasinoLastPlayedSectionNd-C8LBTErO.js → CasinoLastPlayedSectionNd-hnvQun9o.js} +2 -2
  16. package/components/{CasinoMostPlayedSectionNd-DbWaHmCZ.js → CasinoMostPlayedSectionNd-CxxUXFmX.js} +2 -2
  17. package/components/{CasinoMostPlayedSectionNd-HPoRKxuX.js → CasinoMostPlayedSectionNd-D8_Hmnhn.js} +2 -2
  18. package/components/{CasinoMostPlayedSectionNd-XZPFcbxI.cjs → CasinoMostPlayedSectionNd-DwYmsxgA.cjs} +1 -1
  19. package/components/{CasinoMyGamesNd-4uFNwhFr.cjs → CasinoMyGamesNd-DdJ9dahL.cjs} +1 -1
  20. package/components/{CasinoMyGamesNd-Bfg9IxOV.js → CasinoMyGamesNd-DwpwymnW.js} +5 -5
  21. package/components/{CasinoMyGamesNd-B_1Lg-d4.js → CasinoMyGamesNd-rBTiaCbb.js} +5 -5
  22. package/components/{CasinoSort-DKfS3Xuv.js → CasinoSort-DBNbPvAJ.js} +1 -1
  23. package/components/{CasinoSort-CIX0lhCK.js → CasinoSort-mXCWUMGT.js} +1 -1
  24. package/components/{CasinoSort-B6h5o0uj.cjs → CasinoSort-qi6i7Edo.cjs} +1 -1
  25. package/es2015/casino-my-games-nd.cjs +1 -1
  26. package/es2015/casino-my-games-nd.js +1 -1
  27. package/esnext/casino-my-games-nd.js +1 -1
  28. package/package.json +1 -1
@@ -14,9 +14,9 @@ var Ne = (i, e, a) => new Promise((t, o) => {
14
14
  }, m = (c) => c.done ? t(c.value) : Promise.resolve(c.value).then(s, r);
15
15
  m((a = a.apply(i, e)).next());
16
16
  });
17
- import { b as Va, $ as Ha, S as qa, i as Wa, s as Ya, f as z, c as Ja, n as be, d as G, e as C, g as S, k as h, h as Ka, K as Xa, o as Za, j as le, G as Z, q as w, v as W, p as D, w as L, l as re, L as wa, E as n, M as ya, m as Qa, t as xa, u as ae, z as $a, A as ei, B as ai, C as ii, D as ni } from "./CasinoFavoritesSectionNd-BMWS7pFj.js";
18
- import { p as Le, i as we, g as ti } from "./CasinoFilter-DVnEMlKz.js";
19
- import { d as ia, i as oi, a as si } from "./CasinoGameThumbnailNd-B6I-iedC.js";
17
+ import { b as Va, $ as Ha, S as qa, i as Wa, s as Ya, f as z, c as Ja, n as be, d as G, e as C, g as S, k as h, h as Ka, K as Xa, o as Za, j as le, G as Z, q as w, v as W, p as D, w as L, l as re, L as wa, E as n, M as ya, m as Qa, t as xa, u as ae, z as $a, A as ei, B as ai, C as ii, D as ni } from "./CasinoFavoritesSectionNd-nZ7QLiXI.js";
18
+ import { p as Le, i as we, g as ti } from "./CasinoFilter-D0qihpYf.js";
19
+ import { d as ia, i as oi, a as si } from "./CasinoGameThumbnailNd-BV_BNFC0.js";
20
20
  function na(i, e) {
21
21
  Va(i, e);
22
22
  }
@@ -234,7 +234,7 @@ if (typeof window != "undefined") {
234
234
  }
235
235
  };
236
236
  };
237
- customElements.define = i(customElements.define), import("./CasinoGameThumbnailNd-B6I-iedC.js").then((e) => e.C).then(({ default: e }) => {
237
+ customElements.define = i(customElements.define), import("./CasinoGameThumbnailNd-BV_BNFC0.js").then((e) => e.C).then(({ default: e }) => {
238
238
  !customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
239
239
  });
240
240
  }
@@ -250,7 +250,7 @@ if (typeof window != "undefined") {
250
250
  }
251
251
  };
252
252
  };
253
- customElements.define = i(customElements.define), import("./CasinoFilter-DVnEMlKz.js").then((e) => e.C).then(({ default: e }) => {
253
+ customElements.define = i(customElements.define), import("./CasinoFilter-D0qihpYf.js").then((e) => e.C).then(({ default: e }) => {
254
254
  !customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
255
255
  });
256
256
  }
@@ -266,7 +266,7 @@ if (typeof window != "undefined") {
266
266
  }
267
267
  };
268
268
  };
269
- customElements.define = i(customElements.define), import("./CasinoSort-DKfS3Xuv.js").then(({ default: e }) => {
269
+ customElements.define = i(customElements.define), import("./CasinoSort-DBNbPvAJ.js").then(({ default: e }) => {
270
270
  !customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
271
271
  });
272
272
  }
@@ -2477,8 +2477,8 @@ function Pi(i, e, a) {
2477
2477
  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: O = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: Q = "false" } = e, { casinomygames: me = "false" } = e, { addfilterselector: ye = "false" } = e, { addsortingselector: ke = "false" } = e, { filterbylogo: Ke = "" } = e, { casinogamesgridslider: Xe = "false" } = e, { fetchviaevent: ce = "false" } = e, { showallpage: je = "casino" } = e, { actionevent: Te = "CategoryChange" } = e, { displayedgamecount: Ge = "10" } = e, { showallbuttongamescount: Ce = "10" } = e, { lobbyscreen: Pe = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: De = "10" } = e, x = !0, Ue = !1, Fe, ze, K = !0, Ze = window.navigator.userAgent, j, F = [], $ = !0, ne = 40, X = !1, Me = !1, ge = !1, Oe = !1, Be = !0, de = !1, ue, Ve, fe, he = !1, Y, Ie = !1, _e = new Array(1e4), pe = {}, He = "", te = "", Ee, qe, A, B = [], Ae = new AbortController(), oe = { items: [], count: 0, name: "" };
2478
2478
  const ka = () => {
2479
2479
  fetch(M).then((_) => _.json()).then((_) => {
2480
- Object.keys(_).forEach((k) => {
2481
- na(k, _[k]);
2480
+ Object.keys(_).forEach((y) => {
2481
+ na(y, _[y]);
2482
2482
  });
2483
2483
  }).catch((_) => {
2484
2484
  console.log(_);
@@ -2489,20 +2489,20 @@ function Pi(i, e, a) {
2489
2489
  }), typeof document.hidden != "undefined" ? Ee = "hidden" : typeof document.msHidden != "undefined" ? Ee = "msHidden" : typeof document.webkitHidden != "undefined" && (Ee = "webkitHidden");
2490
2490
  let Re = new IntersectionObserver((l) => {
2491
2491
  l.forEach((_) => Ne(this, null, function* () {
2492
- let k = _.target.gameid, E = _.target.elems_index;
2493
- _.isIntersecting ? (E * 1.2 > ne && Ia(g), a(40, pe[k] = 1, pe)) : a(40, pe[k] = 0, pe);
2492
+ let y = _.target.gameid, E = _.target.elems_index;
2493
+ _.isIntersecting ? (E * 1.2 > ne && Ia(g), a(40, pe[y] = 1, pe)) : a(40, pe[y] = 0, pe);
2494
2494
  }));
2495
2495
  });
2496
- const Ga = (l, _) => new Promise((k, E) => {
2496
+ const Ga = (l, _) => new Promise((y, E) => {
2497
2497
  if (l && _) {
2498
2498
  let N = `${o}/v1/player/${_}/favorites/`;
2499
2499
  fetch(N, {
2500
2500
  method: "GET",
2501
2501
  headers: { "X-SessionID": l }
2502
- }).then((y) => y.json()).then((y) => {
2502
+ }).then((k) => k.json()).then((k) => {
2503
2503
  var J, T;
2504
- if (A = [], y) {
2505
- (J = y.items) == null || J.forEach((q) => {
2504
+ if (A = [], k) {
2505
+ (J = k.items) == null || J.forEach((q) => {
2506
2506
  q.gameModel && (A.push(q), B.includes(q.id) || B.push(q.id));
2507
2507
  });
2508
2508
  const H = (T = Le(A)) == null ? void 0 : T.length;
@@ -2512,24 +2512,24 @@ function Pi(i, e, a) {
2512
2512
  });
2513
2513
  } else
2514
2514
  A = [];
2515
- g === "FAVORITES" && Je(A), k(A);
2516
- }).catch((y) => {
2517
- console.error(y), E(y);
2515
+ g === "FAVORITES" && Je(A), y(A);
2516
+ }).catch((k) => {
2517
+ console.error(k), E(k);
2518
2518
  });
2519
2519
  } else
2520
- k([]);
2520
+ y([]);
2521
2521
  }), We = (l, _) => {
2522
- let k = `${o}/v1/player/${_}/favorites/`;
2522
+ let y = `${o}/v1/player/${_}/favorites/`;
2523
2523
  a(25, x = !0);
2524
2524
  let E = {
2525
2525
  method: "GET",
2526
2526
  headers: { "X-SessionID": l }
2527
2527
  };
2528
2528
  return new Promise((N, R) => {
2529
- fetch(k, E).then((y) => y.json()).then((y) => {
2529
+ fetch(y, E).then((k) => k.json()).then((k) => {
2530
2530
  var T, H;
2531
- if (a(25, x = !1), A = [], y) {
2532
- (T = y.items) == null || T.forEach((se) => {
2531
+ if (a(25, x = !1), A = [], k) {
2532
+ (T = k.items) == null || T.forEach((se) => {
2533
2533
  se.gameModel && (A.push(se), B.includes(se.id) || B.push(se.id));
2534
2534
  });
2535
2535
  const q = (H = Le(A)) == null ? void 0 : H.length;
@@ -2544,27 +2544,27 @@ function Pi(i, e, a) {
2544
2544
  });
2545
2545
  let J = F;
2546
2546
  a(29, F = void 0), a(29, F = J), N(A);
2547
- }).catch((y) => {
2548
- console.error(y), R(y);
2547
+ }).catch((k) => {
2548
+ console.error(k), R(k);
2549
2549
  });
2550
2550
  });
2551
- }, Qe = (l, _, k, E) => {
2551
+ }, Qe = (l, _, y, E) => {
2552
2552
  Ae && Ae.abort(), Ae = new AbortController();
2553
2553
  const N = Ae.signal;
2554
2554
  a(25, x = !0);
2555
- let R = "", y = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), T = JSON.parse(localStorage.getItem("vendorSortingBy"));
2555
+ let R = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), T = JSON.parse(localStorage.getItem("vendorSortingBy"));
2556
2556
  const H = Se === "true" ? "*" : l;
2557
- return (l.match(/\$/g) || []).length > 1 ? (R = l.split("$").slice(0, 2).join("$"), y = new URL(`${o}/v1/casino/groups/${s}/${R}/subGroups`)) : y = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((q, se) => {
2557
+ return (l.match(/\$/g) || []).length > 1 ? (R = l.split("$").slice(0, 2).join("$"), k = new URL(`${o}/v1/casino/groups/${s}/${R}/subGroups`)) : k = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((q, se) => {
2558
2558
  var aa;
2559
- if (y.searchParams.delete("pagination"), y.searchParams.append("expand", "games(vendor)"), y.searchParams.append("fields", "id,name,games"), y.searchParams.append("platform", ti(Ze)), y.searchParams.append("pagination", `games(offset=${_},limit=${k})`), y.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((aa = J[H]) != null && aa.length))
2559
+ if (k.searchParams.delete("pagination"), k.searchParams.append("expand", "games(vendor)"), k.searchParams.append("fields", "id,name,games"), k.searchParams.append("platform", ti(Ze)), k.searchParams.append("pagination", `games(offset=${_},limit=${y})`), k.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((aa = J[H]) != null && aa.length))
2560
2560
  if (Se === "true" || K === !1 && he === !1) {
2561
2561
  let P = "";
2562
2562
  a(34, Oe = !0), J[H].forEach((ee) => {
2563
2563
  P = P + (P ? `,games(vendor(id=${ee}))` : `games(vendor(id=${ee}))`);
2564
- }), y.searchParams.append("filter", `${P}`);
2564
+ }), k.searchParams.append("filter", `${P}`);
2565
2565
  } else
2566
2566
  a(34, Oe = !1);
2567
- T && (T[l] ? T[l] && T[l] != "All" && (T[l] == "isNew" || T[l] == "advancedTags(name(hot))" ? (y.searchParams.append("sortedField", `games(${T[l]})`), y.searchParams.append("orderBy", "DES")) : y.searchParams.append("sortedField", `games(${T[l]})`)) : te && te != "All" && (te == "advancedTags(name(hot))" || te == "isNew" ? (y.searchParams.append("sortedField", `games(${te})`), y.searchParams.append("orderBy", "DES")) : y.searchParams.append("sortedField", `games(${te})`))), fetch(y, { signal: N }).then((P) => P.json()).then((P) => {
2567
+ T && (T[l] ? T[l] && T[l] != "All" && (T[l] == "isNew" || T[l] == "advancedTags(name(hot))" ? (k.searchParams.append("sortedField", `games(${T[l]})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${T[l]})`)) : te && te != "All" && (te == "advancedTags(name(hot))" || te == "isNew" ? (k.searchParams.append("sortedField", `games(${te})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${te})`))), fetch(k, { signal: N }).then((P) => P.json()).then((P) => {
2568
2568
  N.aborted || (a(25, x = !1), (l.match(/\$/g) || []).length > 1 && (P = P.items.filter((ee) => {
2569
2569
  if (ee.id == l)
2570
2570
  return ee;
@@ -2577,19 +2577,19 @@ function Pi(i, e, a) {
2577
2577
  Ca();
2578
2578
  });
2579
2579
  });
2580
- }, ve = (l, _, k) => new Promise((E, N) => {
2580
+ }, ve = (l, _, y) => new Promise((E, N) => {
2581
2581
  u == "true" ? Ga(m, c).then((R) => {
2582
- Qe(l, _, k, R).then((y) => {
2583
- E(y);
2582
+ Qe(l, _, y, R).then((k) => {
2583
+ E(k);
2584
2584
  });
2585
- }) : Qe(l, _, k, null).then((R) => {
2585
+ }) : Qe(l, _, y, null).then((R) => {
2586
2586
  E(R);
2587
2587
  });
2588
2588
  }), Ca = () => {
2589
2589
  const l = Y.getRootNode().host;
2590
2590
  l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
2591
- }, Sa = (l, _, k) => {
2592
- l !== "" && (a(31, X = !1), a(27, K = !0), a(1, ye = "false"), a(2, ke = "false"), a(33, ge = !1), Ie = !1, a(30, $ = +_ > +k), ve(l, 0, +_).then((E) => {
2591
+ }, Sa = (l, _, y) => {
2592
+ l !== "" && (a(31, X = !1), a(27, K = !0), a(1, ye = "false"), a(2, ke = "false"), a(33, ge = !1), Ie = !1, a(30, $ = +_ > +y), ve(l, 0, +_).then((E) => {
2593
2593
  a(28, j = E), a(29, F = j.games.items), F && F.forEach((N) => {
2594
2594
  N.isFavorite = V(N.id);
2595
2595
  });
@@ -2638,8 +2638,8 @@ function Pi(i, e, a) {
2638
2638
  break;
2639
2639
  case `CategoryData_${g}`:
2640
2640
  a(31, X = !1), a(27, K = !0), a(1, ye = "false"), a(2, ke = "false"), a(33, ge = !1), Ie = !1, ve(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
2641
- a(28, j = _), a(29, F = j.games.items), a(30, $ = !!(Ve <= l.data.visiblegames && K)), F && F.forEach((k) => {
2642
- k.isFavorite = V(k.id);
2641
+ a(28, j = _), a(29, F = j.games.items), a(30, $ = !!(Ve <= l.data.visiblegames && K)), F && F.forEach((y) => {
2642
+ y.isFavorite = V(y.id);
2643
2643
  });
2644
2644
  });
2645
2645
  break;
@@ -2667,9 +2667,9 @@ function Pi(i, e, a) {
2667
2667
  g === "FAVORITES" && $e(l.data.url, l.data.sessionID);
2668
2668
  break;
2669
2669
  }
2670
- }, xe = (l) => {
2671
- a(31, X = !1), a(27, K = Pe === "true"), a(33, ge = !1), Ie = !0, a(36, de = !1), a(0, g = l), g !== "MOSTPLAYED" && a(30, $ = !1), me !== "true" && (!A && m && We(m, c), ve(g, 0, ne).then((_) => {
2672
- a(28, j = _), a(29, F = j.games.items);
2670
+ }, xe = (l, _ = !1) => {
2671
+ a(31, X = !1), a(27, K = Pe === "true"), a(33, ge = !1), Ie = !0, a(36, de = !1), a(0, g = l), g !== "MOSTPLAYED" && !_ && a(30, $ = !1), me !== "true" && (!A && m && We(m, c), ve(g, 0, ne).then((y) => {
2672
+ a(28, j = y), a(29, F = j.games.items);
2673
2673
  }).finally(
2674
2674
  /*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
2675
2675
  if (shownCategoryData.length < 10 && e.data.origin ==! 'filters') {
@@ -2695,10 +2695,10 @@ function Pi(i, e, a) {
2695
2695
  }));
2696
2696
  }, V = (l) => {
2697
2697
  var _;
2698
- return (_ = A == null ? void 0 : A.some((k) => k.id === l)) != null ? _ : !1;
2698
+ return (_ = A == null ? void 0 : A.some((y) => y.id === l)) != null ? _ : !1;
2699
2699
  };
2700
- let za = (l, _, k) => Ne(this, null, function* () {
2701
- yield $e(l, _), B.includes(k) || B.push(k);
2700
+ let za = (l, _, y) => Ne(this, null, function* () {
2701
+ yield $e(l, _), B.includes(y) || B.push(y);
2702
2702
  let N = {
2703
2703
  method: "POST",
2704
2704
  headers: {
@@ -2709,7 +2709,7 @@ function Pi(i, e, a) {
2709
2709
  body: JSON.stringify({ items: B })
2710
2710
  };
2711
2711
  fetch(l, N).then((R) => R.json()).then((R) => {
2712
- window.postMessage({ type: `AddFavoriteThumbnail_${k}` }, window.location.href), window.postMessage({
2712
+ window.postMessage({ type: `AddFavoriteThumbnail_${y}` }, window.location.href), window.postMessage({
2713
2713
  type: "UpdateFavoredList",
2714
2714
  url: l,
2715
2715
  sessionID: _
@@ -2718,15 +2718,15 @@ function Pi(i, e, a) {
2718
2718
  console.error("Err", R);
2719
2719
  });
2720
2720
  });
2721
- const Ma = (l, _, k) => {
2721
+ const Ma = (l, _, y) => {
2722
2722
  let E = {
2723
2723
  method: "DELETE",
2724
2724
  headers: { "X-SessionID": _ }
2725
2725
  };
2726
- fetch(`${l}/${k}`, E).then((N) => N.json()).then(() => {
2726
+ fetch(`${l}/${y}`, E).then((N) => N.json()).then(() => {
2727
2727
  window.postMessage(
2728
2728
  {
2729
- type: `RemoveFavoriteThumbnail_${k}`
2729
+ type: `RemoveFavoriteThumbnail_${y}`
2730
2730
  },
2731
2731
  window.location.href
2732
2732
  ), window.postMessage({
@@ -2734,17 +2734,17 @@ function Pi(i, e, a) {
2734
2734
  url: l,
2735
2735
  sessionID: _
2736
2736
  });
2737
- }), B.includes(k) && (B = B.filter((N) => N != k));
2737
+ }), B.includes(y) && (B = B.filter((N) => N != y));
2738
2738
  }, $e = (l, _) => Ne(this, null, function* () {
2739
2739
  return fetch(l, {
2740
2740
  method: "GET",
2741
2741
  headers: { "X-SessionID": _ }
2742
2742
  }).then((E) => E.json()).then((E) => {
2743
2743
  var R;
2744
- A = E.items, ce ? (A.forEach((y) => {
2745
- B.includes(y.id) || B.push(y.id);
2746
- }), Fa()) : A.forEach((y) => {
2747
- y.isFavorite = V(y.id);
2744
+ A = E.items, ce ? (A.forEach((k) => {
2745
+ B.includes(k.id) || B.push(k.id);
2746
+ }), Fa()) : A.forEach((k) => {
2747
+ k.isFavorite = V(k.id);
2748
2748
  });
2749
2749
  const N = (R = Le(A)) == null ? void 0 : R.length;
2750
2750
  g === "FAVORITES" && (window.postMessage({
@@ -2758,25 +2758,25 @@ function Pi(i, e, a) {
2758
2758
  if (!l)
2759
2759
  return;
2760
2760
  let _;
2761
- _ = (l == null ? void 0 : l.items) || l || [], _.length > 0 && _.forEach((k) => {
2762
- k.gameModel && (k.gameModel.isFavorite = !0);
2761
+ _ = (l == null ? void 0 : l.items) || l || [], _.length > 0 && _.forEach((y) => {
2762
+ y.gameModel && (y.gameModel.isFavorite = !0);
2763
2763
  }), a(42, oe.items = Le(_, oe.items), oe), a(42, oe.name = "Favorites", oe), a(25, x = !1);
2764
2764
  }, Ia = (l) => {
2765
2765
  ne += 1, a(36, de = !0), ne <= Ve && ve(l, Ti, ne).then((_) => {
2766
- a(28, j = _), j.games.items.length > F.length && (a(29, F = j.games.items), F.forEach((k) => {
2767
- k.isFavorite = V(k.id);
2766
+ a(28, j = _), j.games.items.length > F.length && (a(29, F = j.games.items), F.forEach((y) => {
2767
+ y.isFavorite = V(y.id);
2768
2768
  })), a(36, de = !1);
2769
2769
  });
2770
2770
  }, Ea = (l) => {
2771
2771
  const _ = l != null ? l : [];
2772
2772
  if ((_ == null ? void 0 : _.length) === 0)
2773
2773
  return "";
2774
- let k = "", E = 999999999999, N;
2774
+ let y = "", E = 999999999999, N;
2775
2775
  const R = new Date(Date.now());
2776
- return _.forEach((y, J) => {
2777
- const T = new Date(y.schedules[0].startTime), H = new Date(y.schedules[0].endTime);
2778
- ia(new Date(H), new Date(R)) < E && (E = ia(new Date(H), new Date(R)), N = J), oi(new Date(R), new Date(T)) && si(new Date(R), new Date(H)) && (k = _[N].name);
2779
- }), k;
2776
+ return _.forEach((k, J) => {
2777
+ const T = new Date(k.schedules[0].startTime), H = new Date(k.schedules[0].endTime);
2778
+ ia(new Date(H), new Date(R)) < E && (E = ia(new Date(H), new Date(R)), N = J), oi(new Date(R), new Date(T)) && si(new Date(R), new Date(H)) && (y = _[N].name);
2779
+ }), y;
2780
2780
  }, ea = (l) => {
2781
2781
  a(30, $ = !1), window.postMessage(
2782
2782
  {
@@ -2798,7 +2798,7 @@ function Pi(i, e, a) {
2798
2798
  me === "false" && c && m && a(39, he = !1);
2799
2799
  break;
2800
2800
  default:
2801
- xe(g);
2801
+ xe(g, !0);
2802
2802
  break;
2803
2803
  }
2804
2804
  }, Ra = () => {