@everymatrix/casino-favorites-section 1.54.2 → 1.54.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.
@@ -3840,7 +3840,7 @@ if (typeof window < "u") {
3840
3840
  }
3841
3841
  };
3842
3842
  };
3843
- customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-CRGnnH0s.js").then(({ default: t }) => {
3843
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-Oe3ezz80.js").then(({ default: t }) => {
3844
3844
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
3845
3845
  });
3846
3846
  }
@@ -1,4 +1,4 @@
1
- import { _ as ae, a as ce, b as ue, c as Q, $ as pe, d as Be, e as We, S as ze, i as Ue, f as L, g as Ve, s as Ne, h as Re, j as y, k as z, n as he, l as U, m as He, o as Je, p as Ye, q as me, r as re, t as O, u as T, v as u, w as d, x as le, y as W, z as qe, A as Ie, B as be, C as Ze, D as ge } from "./CasinoFavoritesSection-DwGJcYOi.js";
1
+ import { _ as ae, a as ce, b as ue, c as Q, $ as pe, d as Be, e as We, S as ze, i as Ue, f as L, g as Ve, s as Ne, h as Re, j as y, k as z, n as he, l as U, m as He, o as Je, p as Ye, q as me, r as re, t as O, u as T, v as u, w as d, x as le, y as W, z as qe, A as Ie, B as be, C as Ze, D as ge } from "./CasinoFavoritesSection-CvlJ3E8A.js";
2
2
  function M(r) {
3
3
  return typeof r == "function";
4
4
  }
@@ -1,5 +1,5 @@
1
- import { e as qr, $ as Xr, S as Qr, i as $r, f as C, g as ei, s as ti, h as ai, j as T, t as j, u as Ce, D as fn, v as b, E as cn, k as U, w as k, y as Ie, n as mt, l as H, m as ni, o as ri, x as Ma, F as wt, p as fa, H as Ye, q as Rt, z as Rn, C as ii, G as dt, r as ca } from "./CasinoFavoritesSection-DwGJcYOi.js";
2
- import { i as le, g as si } from "./CasinoFilter-V-4cpRrs.js";
1
+ import { e as qr, $ as Xr, S as Qr, i as $r, f as C, g as ei, s as ti, h as ai, j as T, t as j, u as Ce, D as fn, v as b, E as cn, k as U, w as k, y as Ie, n as mt, l as H, m as ni, o as ri, x as Ma, F as wt, p as fa, H as Ye, q as Rt, z as Rn, C as ii, G as dt, r as ca } from "./CasinoFavoritesSection-CvlJ3E8A.js";
2
+ import { i as le, g as si } from "./CasinoFilter-DkdOF3Co.js";
3
3
  function oi(e) {
4
4
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
5
5
  }
@@ -3654,7 +3654,7 @@ function vu(e) {
3654
3654
  e[1] && Sn(e)
3655
3655
  ), A = (
3656
3656
  /*gameisnew*/
3657
- e[7] && Gn(e)
3657
+ e[7] !== "false" && Gn(e)
3658
3658
  ), B = (
3659
3659
  /*gametag*/
3660
3660
  e[8] && Dn(e)
@@ -3745,7 +3745,7 @@ function vu(e) {
3745
3745
  /*gamevendor*/
3746
3746
  g[5]
3747
3747
  ) : "-") + "") && Ie(Y, K), /*gameisnew*/
3748
- g[7] ? A ? A.p(g, D) : (A = Gn(g), A.c(), A.m(q, ke)) : A && (A.d(1), A = null), /*gametag*/
3748
+ g[7] !== "false" ? A ? A.p(g, D) : (A = Gn(g), A.c(), A.m(q, ke)) : A && (A.d(1), A = null), /*gametag*/
3749
3749
  g[8] ? B ? B.p(g, D) : (B = Dn(g), B.c(), B.m(q, He)) : B && (B.d(1), B = null), /*livegamedata*/
3750
3750
  g[13] ? z ? z.p(g, D) : (z = Mn(g), z.c(), z.m(q, null)) : z && (z.d(1), z = null), pe === (pe = st(g, D)) && V ? V.p(g, D) : (V && V.d(1), V = pe && pe(g), V && (V.c(), V.m(he, null))), D[0] & /*livegamedata, isopen, openhours*/
3751
3751
  12591104 | D[1] & /*istablefull*/
@@ -1,11 +1,11 @@
1
- import { e as Aa, $ as La, S as Pa, i as Da, f as N, g as Ua, s as Oa, h as Ha, j as C, v as h, k as y, n as _e, l as S, m as Va, o as qa, p as oe, t as Y, w as k, F as Z, C as Wa, u as A, y as H, q as le, I as fa, J as n, z as Ba, r as x, x as Ya, K as ga } from "./CasinoFavoritesSection-DwGJcYOi.js";
2
- import { p as Oe, g as Ja, i as ve } from "./CasinoFilter-V-4cpRrs.js";
3
- import { h as Ie } from "./CasinoGameThumbnail-D1Bq0OJp.js";
1
+ import { e as La, $ as Ta, S as Pa, i as Da, f as N, g as Ua, s as Oa, h as Ha, j as C, v as h, k as y, n as _e, l as S, m as Va, o as qa, p as oe, t as Y, w as k, F as Z, C as Wa, u as L, y as H, q as le, I as fa, J as n, z as Ba, r as x, x as Ya, K as ga } from "./CasinoFavoritesSection-CvlJ3E8A.js";
2
+ import { p as Oe, g as Ja, i as ve } from "./CasinoFilter-DkdOF3Co.js";
3
+ import { h as Ie } from "./CasinoGameThumbnail-Bwt3CC00.js";
4
4
  function Xe(t, a) {
5
- Aa(t, a);
5
+ La(t, a);
6
6
  }
7
7
  function Ka(t) {
8
- La.set(t);
8
+ Ta.set(t);
9
9
  }
10
10
  const Ze = {
11
11
  en: {
@@ -218,7 +218,7 @@ if (typeof window < "u") {
218
218
  }
219
219
  };
220
220
  };
221
- customElements.define = t(customElements.define), import("./CasinoGameThumbnail-D1Bq0OJp.js").then((a) => a.C).then(({ default: a }) => {
221
+ customElements.define = t(customElements.define), import("./CasinoGameThumbnail-Bwt3CC00.js").then((a) => a.C).then(({ default: a }) => {
222
222
  !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", a.element);
223
223
  });
224
224
  }
@@ -234,7 +234,7 @@ if (typeof window < "u") {
234
234
  }
235
235
  };
236
236
  };
237
- customElements.define = t(customElements.define), import("./CasinoFilter-V-4cpRrs.js").then((a) => a.C).then(({ default: a }) => {
237
+ customElements.define = t(customElements.define), import("./CasinoFilter-DkdOF3Co.js").then((a) => a.C).then(({ default: a }) => {
238
238
  !customElements.get("casino-filter") && customElements.define("casino-filter", a.element);
239
239
  });
240
240
  }
@@ -250,7 +250,7 @@ if (typeof window < "u") {
250
250
  }
251
251
  };
252
252
  };
253
- customElements.define = t(customElements.define), import("./CasinoSort-CMAJyssL.js").then(({ default: a }) => {
253
+ customElements.define = t(customElements.define), import("./CasinoSort-BVoCmG-r.js").then(({ default: a }) => {
254
254
  !customElements.get("casino-sort") && customElements.define("casino-sort", a.element);
255
255
  });
256
256
  }
@@ -435,7 +435,7 @@ function ea(t) {
435
435
  ), g, p;
436
436
  return {
437
437
  c() {
438
- a = C("div"), i = C("h3"), l = A(o), s = Y(), m = C("span"), u = A("("), g = A(c), p = A(")"), h(m, "class", "CategoryFavName"), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
438
+ a = C("div"), i = C("h3"), l = L(o), s = Y(), m = C("span"), u = L("("), g = L(c), p = L(")"), h(m, "class", "CategoryFavName"), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
439
439
  },
440
440
  m(v, G) {
441
441
  y(v, a, G), k(a, i), k(i, l), k(i, s), k(i, m), k(m, u), k(m, g), k(m, p), t[55](i);
@@ -459,7 +459,7 @@ function ai(t) {
459
459
  ), o;
460
460
  return {
461
461
  c() {
462
- a = C("p"), o = A(i);
462
+ a = C("p"), o = L(i);
463
463
  },
464
464
  m(l, s) {
465
465
  y(l, a, s), k(a, o);
@@ -535,31 +535,31 @@ function aa(t) {
535
535
  let a, i, o, l, s, m, u, c, g, p, v, G = (
536
536
  /*$_*/
537
537
  t[41]("noFavoritesTitle") + ""
538
- ), I, w, T;
539
- function d(L, b) {
538
+ ), I, w, R;
539
+ function d(T, b) {
540
540
  return ve(
541
541
  /*userAgent*/
542
- L[42]
542
+ T[42]
543
543
  ) ? oi : ni;
544
544
  }
545
545
  let q = d(t)(t);
546
546
  return {
547
547
  c() {
548
- a = C("p"), i = x("svg"), o = x("rect"), l = x("rect"), s = x("circle"), m = x("path"), u = x("path"), c = x("path"), g = x("path"), p = Y(), v = C("span"), I = A(G), w = Y(), q.c(), T = Y(), h(o, "x", "1"), h(o, "y", "18.053"), h(o, "width", "90.263"), h(o, "height", "90.263"), h(o, "rx", "12"), h(o, "stroke", "var(--emw--color-gray-150, #828282)"), h(o, "stroke-width", "1.5"), h(l, "x", "106.737"), h(l, "y", "56.737"), h(l, "width", "90.263"), h(l, "height", "90.263"), h(l, "rx", "12"), h(l, "stroke", "var(--emw--color-gray-150, #828282)"), h(l, "stroke-width", "1.5"), h(s, "cx", "70.5"), h(s, "cy", "32.237"), h(s, "r", "31.487"), h(s, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(s, "stroke-width", "1.5"), h(s, "stroke-dasharray", "5 0"), h(m, "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"), h(m, "fill", "var(--emw--color-gray-150, #828282)"), h(u, "d", "M78 43h11v13H78V43z"), h(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "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"), h(c, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "stroke-linecap", "round"), h(c, "stroke-linejoin", "round"), h(g, "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"), h(g, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(g, "stroke-width", "1.5"), h(g, "stroke-linecap", "round"), h(g, "stroke-linejoin", "round"), h(i, "width", "198"), h(i, "height", "148"), h(i, "viewBox", "0 0 198 148"), h(i, "fill", "none"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(v, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(a, "class", "NoFavoriteGames " + (ve(
548
+ a = C("p"), i = x("svg"), o = x("rect"), l = x("rect"), s = x("circle"), m = x("path"), u = x("path"), c = x("path"), g = x("path"), p = Y(), v = C("span"), I = L(G), w = Y(), q.c(), R = Y(), h(o, "x", "1"), h(o, "y", "18.053"), h(o, "width", "90.263"), h(o, "height", "90.263"), h(o, "rx", "12"), h(o, "stroke", "var(--emw--color-gray-150, #828282)"), h(o, "stroke-width", "1.5"), h(l, "x", "106.737"), h(l, "y", "56.737"), h(l, "width", "90.263"), h(l, "height", "90.263"), h(l, "rx", "12"), h(l, "stroke", "var(--emw--color-gray-150, #828282)"), h(l, "stroke-width", "1.5"), h(s, "cx", "70.5"), h(s, "cy", "32.237"), h(s, "r", "31.487"), h(s, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(s, "stroke-width", "1.5"), h(s, "stroke-dasharray", "5 0"), h(m, "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"), h(m, "fill", "var(--emw--color-gray-150, #828282)"), h(u, "d", "M78 43h11v13H78V43z"), h(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "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"), h(c, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(c, "stroke-linecap", "round"), h(c, "stroke-linejoin", "round"), h(g, "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"), h(g, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(g, "stroke-width", "1.5"), h(g, "stroke-linecap", "round"), h(g, "stroke-linejoin", "round"), h(i, "width", "198"), h(i, "height", "148"), h(i, "viewBox", "0 0 198 148"), h(i, "fill", "none"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(v, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(a, "class", "NoFavoriteGames " + (ve(
549
549
  /*userAgent*/
550
550
  t[42]
551
551
  ) ? "NoFavoriteGamesMobile" : ""));
552
552
  },
553
- m(L, b) {
554
- y(L, a, b), k(a, i), k(i, o), k(i, l), k(i, s), k(i, m), k(i, u), k(i, c), k(i, g), k(a, p), k(a, v), k(v, I), k(a, w), q.m(a, null), k(a, T);
553
+ m(T, b) {
554
+ y(T, a, b), k(a, i), k(i, o), k(i, l), k(i, s), k(i, m), k(i, u), k(i, c), k(i, g), k(a, p), k(a, v), k(v, I), k(a, w), q.m(a, null), k(a, R);
555
555
  },
556
- p(L, b) {
556
+ p(T, b) {
557
557
  b[1] & /*$_*/
558
558
  1024 && G !== (G = /*$_*/
559
- L[41]("noFavoritesTitle") + "") && H(I, G), q.p(L, b);
559
+ T[41]("noFavoritesTitle") + "") && H(I, G), q.p(T, b);
560
560
  },
561
- d(L) {
562
- L && S(a), q.d();
561
+ d(T) {
562
+ T && S(a), q.d();
563
563
  }
564
564
  };
565
565
  }
@@ -570,7 +570,7 @@ function ni(t) {
570
570
  ), o;
571
571
  return {
572
572
  c() {
573
- a = C("span"), o = A(i), h(a, "class", "NoFavoriteText");
573
+ a = C("span"), o = L(i), h(a, "class", "NoFavoriteText");
574
574
  },
575
575
  m(l, s) {
576
576
  y(l, a, s), k(a, o);
@@ -592,7 +592,7 @@ function oi(t) {
592
592
  ), o;
593
593
  return {
594
594
  c() {
595
- a = C("span"), o = A(i), h(a, "class", "NoFavoriteText");
595
+ a = C("span"), o = L(i), h(a, "class", "NoFavoriteText");
596
596
  },
597
597
  m(l, s) {
598
598
  y(l, a, s), k(a, o);
@@ -673,7 +673,7 @@ function li(t) {
673
673
  };
674
674
  }
675
675
  function si(t) {
676
- let a, i, o, l, s, m, u, c, g, p, v, G, I, w, T;
676
+ let a, i, o, l, s, m, u, c, g, p, v, G, I, w, R;
677
677
  return {
678
678
  c() {
679
679
  a = C("casino-game-thumbnail"), n(a, "class", i = "" + (P + /*gameprops*/
@@ -719,11 +719,10 @@ function si(t) {
719
719
  t[91].gameModel.name), n(a, "gamevendor", m = /*gameprops*/
720
720
  t[91].gameModel.vendor.displayName), n(a, "gameLaunchUrl", u = /*gameprops*/
721
721
  t[91].launchUrl), n(a, "gameisnew", c = /*gameprops*/
722
- t[91].gameModel.isNew), n(a, "gametag", g = /*gameprops*/
723
- t[91].gameModel.advancedTags?.length > 0 && /*addGameTag*/
722
+ t[91]?.gameModel?.isNew), n(a, "gametag", g = /*addGameTag*/
724
723
  t[43](
725
724
  /*gameprops*/
726
- t[91].gameModel.advancedTags
725
+ t[91].gameModel?.advancedTags
727
726
  )), n(a, "gamecellsize", p = /*gameprops*/
728
727
  t[91].cellSize), n(a, "gameid", v = /*gameprops*/
729
728
  t[91].gameModel.id), n(a, "gamefunmode", G = /*gameprops*/
@@ -752,7 +751,7 @@ function si(t) {
752
751
  "currency",
753
752
  /*currency*/
754
753
  t[12]
755
- ), n(a, "livelobbyendpoint", T = /*gameprops*/
754
+ ), n(a, "livelobbyendpoint", R = /*gameprops*/
756
755
  t[91].gameModel.details ? (
757
756
  /*gameprops*/
758
757
  t[91].gameModel.launchUrl
@@ -853,12 +852,11 @@ function si(t) {
853
852
  512 && u !== (u = /*gameprops*/
854
853
  d[91].launchUrl) && n(a, "gameLaunchUrl", u), f[1] & /*favoriteGamesData*/
855
854
  512 && c !== (c = /*gameprops*/
856
- d[91].gameModel.isNew) && n(a, "gameisnew", c), f[1] & /*favoriteGamesData*/
857
- 512 && g !== (g = /*gameprops*/
858
- d[91].gameModel.advancedTags?.length > 0 && /*addGameTag*/
855
+ d[91]?.gameModel?.isNew) && n(a, "gameisnew", c), f[1] & /*favoriteGamesData*/
856
+ 512 && g !== (g = /*addGameTag*/
859
857
  d[43](
860
858
  /*gameprops*/
861
- d[91].gameModel.advancedTags
859
+ d[91].gameModel?.advancedTags
862
860
  )) && n(a, "gametag", g), f[1] & /*favoriteGamesData*/
863
861
  512 && p !== (p = /*gameprops*/
864
862
  d[91].cellSize) && n(a, "gamecellsize", p), f[1] & /*favoriteGamesData*/
@@ -897,11 +895,11 @@ function si(t) {
897
895
  /*currency*/
898
896
  d[12]
899
897
  ), f[1] & /*favoriteGamesData*/
900
- 512 && T !== (T = /*gameprops*/
898
+ 512 && R !== (R = /*gameprops*/
901
899
  d[91].gameModel.details ? (
902
900
  /*gameprops*/
903
901
  d[91].gameModel.launchUrl
904
- ) : "") && n(a, "livelobbyendpoint", T), f[0] & /*clientstyling*/
902
+ ) : "") && n(a, "livelobbyendpoint", R), f[0] & /*clientstyling*/
905
903
  512 && n(
906
904
  a,
907
905
  "clientstyling",
@@ -977,7 +975,7 @@ function ri(t) {
977
975
  };
978
976
  }
979
977
  function na(t) {
980
- let a, i, o, l, s, m, u, c, g, p, v, G, I, w, T;
978
+ let a, i, o, l, s, m, u, c, g, p, v, G, I, w, R;
981
979
  return {
982
980
  c() {
983
981
  a = C("casino-game-thumbnail"), n(a, "class", i = "" + (P + /*gameprops*/
@@ -1018,11 +1016,10 @@ function na(t) {
1018
1016
  t[91].gameModel.name), n(a, "gamevendor", m = /*gameprops*/
1019
1017
  t[91].gameModel.vendor.displayName), n(a, "gameLaunchUrl", u = /*gameprops*/
1020
1018
  t[91].launchUrl), n(a, "gameisnew", c = /*gameprops*/
1021
- t[91].gameModel.isNew), n(a, "gametag", g = /*gameprops*/
1022
- t[91].gameModel.advancedTags?.length > 0 && /*addGameTag*/
1019
+ t[91].gameModel?.isNew), n(a, "gametag", g = /*addGameTag*/
1023
1020
  t[43](
1024
1021
  /*gameprops*/
1025
- t[91].gameModel.advancedTags
1022
+ t[91].gameModel?.advancedTags
1026
1023
  )), n(a, "gamecellsize", p = /*gameprops*/
1027
1024
  t[91].cellSize), n(a, "gameid", v = /*gameprops*/
1028
1025
  t[91].gameModel.id), n(a, "gamefunmode", G = /*gameprops*/
@@ -1056,7 +1053,7 @@ function na(t) {
1056
1053
  "currency",
1057
1054
  /*currency*/
1058
1055
  t[12]
1059
- ), n(a, "livelobbyendpoint", T = /*gameprops*/
1056
+ ), n(a, "livelobbyendpoint", R = /*gameprops*/
1060
1057
  t[91].gameModel.details ? (
1061
1058
  /*gameprops*/
1062
1059
  t[91].gameModel.launchUrl
@@ -1151,12 +1148,11 @@ function na(t) {
1151
1148
  512 && u !== (u = /*gameprops*/
1152
1149
  d[91].launchUrl) && n(a, "gameLaunchUrl", u), f[1] & /*favoriteGamesData*/
1153
1150
  512 && c !== (c = /*gameprops*/
1154
- d[91].gameModel.isNew) && n(a, "gameisnew", c), f[1] & /*favoriteGamesData*/
1155
- 512 && g !== (g = /*gameprops*/
1156
- d[91].gameModel.advancedTags?.length > 0 && /*addGameTag*/
1151
+ d[91].gameModel?.isNew) && n(a, "gameisnew", c), f[1] & /*favoriteGamesData*/
1152
+ 512 && g !== (g = /*addGameTag*/
1157
1153
  d[43](
1158
1154
  /*gameprops*/
1159
- d[91].gameModel.advancedTags
1155
+ d[91].gameModel?.advancedTags
1160
1156
  )) && n(a, "gametag", g), f[1] & /*favoriteGamesData*/
1161
1157
  512 && p !== (p = /*gameprops*/
1162
1158
  d[91].cellSize) && n(a, "gamecellsize", p), f[1] & /*favoriteGamesData*/
@@ -1201,11 +1197,11 @@ function na(t) {
1201
1197
  /*currency*/
1202
1198
  d[12]
1203
1199
  ), f[1] & /*favoriteGamesData*/
1204
- 512 && T !== (T = /*gameprops*/
1200
+ 512 && R !== (R = /*gameprops*/
1205
1201
  d[91].gameModel.details ? (
1206
1202
  /*gameprops*/
1207
1203
  d[91].gameModel.launchUrl
1208
- ) : "") && n(a, "livelobbyendpoint", T), f[0] & /*clientstyling*/
1204
+ ) : "") && n(a, "livelobbyendpoint", R), f[0] & /*clientstyling*/
1209
1205
  512 && n(
1210
1206
  a,
1211
1207
  "clientstyling",
@@ -1289,7 +1285,7 @@ function la(t) {
1289
1285
  let u = m(t), c = u(t);
1290
1286
  return {
1291
1287
  c() {
1292
- a = C("div"), i = C("h3"), l = A(o), s = Y(), c.c(), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
1288
+ a = C("div"), i = C("h3"), l = L(o), s = Y(), c.c(), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
1293
1289
  },
1294
1290
  m(g, p) {
1295
1291
  y(g, a, p), k(a, i), k(i, l), t[51](i), k(a, s), c.m(a, null);
@@ -1344,7 +1340,7 @@ function ui(t) {
1344
1340
  ), u, c, g, p;
1345
1341
  return {
1346
1342
  c() {
1347
- a = C("a"), i = C("span"), l = A(o), s = A(" ("), u = A(m), c = A(")"), h(i, "class", "CategoryLoadMore"), h(a, "class", "CategoryNameLink");
1343
+ a = C("a"), i = C("span"), l = L(o), s = L(" ("), u = L(m), c = L(")"), h(i, "class", "CategoryLoadMore"), h(a, "class", "CategoryNameLink");
1348
1344
  },
1349
1345
  m(v, G) {
1350
1346
  y(v, a, G), k(a, i), k(i, l), k(i, s), k(i, u), k(i, c), g || (p = Ya(
@@ -1561,7 +1557,7 @@ function ci(t) {
1561
1557
  ), o;
1562
1558
  return {
1563
1559
  c() {
1564
- a = C("p"), o = A(i), h(a, "class", "NoSearchResults");
1560
+ a = C("p"), o = L(i), h(a, "class", "NoSearchResults");
1565
1561
  },
1566
1562
  m(l, s) {
1567
1563
  y(l, a, s), k(a, o);
@@ -1644,7 +1640,7 @@ function gi(t) {
1644
1640
  };
1645
1641
  }
1646
1642
  function di(t) {
1647
- let a, i, o, l, s, m, u, c, g, p, v, G, I, w, T, d = (
1643
+ let a, i, o, l, s, m, u, c, g, p, v, G, I, w, R, d = (
1648
1644
  /*index*/
1649
1645
  t[93]
1650
1646
  );
@@ -1695,8 +1691,7 @@ function di(t) {
1695
1691
  t[91].name), n(a, "gamevendor", m = /*gameprops*/
1696
1692
  t[91].vendor.displayName), n(a, "gameLaunchUrl", u = /*gameprops*/
1697
1693
  t[91].launchUrl), n(a, "gameisnew", c = /*gameprops*/
1698
- t[91].isNew), n(a, "gametag", g = /*gameprops*/
1699
- t[91].advancedTags?.length > 0 && /*addGameTag*/
1694
+ t[91].isNew), n(a, "gametag", g = /*addGameTag*/
1700
1695
  t[43](
1701
1696
  /*gameprops*/
1702
1697
  t[91].advancedTags
@@ -1728,7 +1723,7 @@ function di(t) {
1728
1723
  "currency",
1729
1724
  /*currency*/
1730
1725
  t[12]
1731
- ), n(a, "livelobbyendpoint", T = /*gameprops*/
1726
+ ), n(a, "livelobbyendpoint", R = /*gameprops*/
1732
1727
  t[91].details ? (
1733
1728
  /*gameprops*/
1734
1729
  t[91].href
@@ -1774,11 +1769,11 @@ function di(t) {
1774
1769
  t[20]
1775
1770
  );
1776
1771
  },
1777
- m(L, b) {
1778
- y(L, a, b), f();
1772
+ m(T, b) {
1773
+ y(T, a, b), f();
1779
1774
  },
1780
- p(L, b) {
1781
- t = L, b[0] & /*session*/
1775
+ p(T, b) {
1776
+ t = T, b[0] & /*session*/
1782
1777
  64 && n(
1783
1778
  a,
1784
1779
  "session",
@@ -1829,8 +1824,7 @@ function di(t) {
1829
1824
  t[91].launchUrl) && n(a, "gameLaunchUrl", u), b[0] & /*shownCategoryData*/
1830
1825
  134217728 && c !== (c = /*gameprops*/
1831
1826
  t[91].isNew) && n(a, "gameisnew", c), b[0] & /*shownCategoryData*/
1832
- 134217728 && g !== (g = /*gameprops*/
1833
- t[91].advancedTags?.length > 0 && /*addGameTag*/
1827
+ 134217728 && g !== (g = /*addGameTag*/
1834
1828
  t[43](
1835
1829
  /*gameprops*/
1836
1830
  t[91].advancedTags
@@ -1873,11 +1867,11 @@ function di(t) {
1873
1867
  /*currency*/
1874
1868
  t[12]
1875
1869
  ), b[0] & /*shownCategoryData*/
1876
- 134217728 && T !== (T = /*gameprops*/
1870
+ 134217728 && R !== (R = /*gameprops*/
1877
1871
  t[91].details ? (
1878
1872
  /*gameprops*/
1879
1873
  t[91].href
1880
- ) : "") && n(a, "livelobbyendpoint", T), b[0] & /*clientstyling*/
1874
+ ) : "") && n(a, "livelobbyendpoint", R), b[0] & /*clientstyling*/
1881
1875
  512 && n(
1882
1876
  a,
1883
1877
  "clientstyling",
@@ -1929,8 +1923,8 @@ function di(t) {
1929
1923
  t[93] && (q(), d = /*index*/
1930
1924
  t[93], f());
1931
1925
  },
1932
- d(L) {
1933
- L && S(a), q();
1926
+ d(T) {
1927
+ T && S(a), q();
1934
1928
  }
1935
1929
  };
1936
1930
  }
@@ -1960,7 +1954,7 @@ function hi(t) {
1960
1954
  ), o;
1961
1955
  return {
1962
1956
  c() {
1963
- a = C("h3"), o = A(i), h(a, "class", "StatusText");
1957
+ a = C("h3"), o = L(i), h(a, "class", "StatusText");
1964
1958
  },
1965
1959
  m(l, s) {
1966
1960
  y(l, a, s), k(a, o);
@@ -1982,7 +1976,7 @@ function pi(t) {
1982
1976
  ), o;
1983
1977
  return {
1984
1978
  c() {
1985
- a = C("h3"), o = A(i), h(a, "class", "StatusText");
1979
+ a = C("h3"), o = L(i), h(a, "class", "StatusText");
1986
1980
  },
1987
1981
  m(l, s) {
1988
1982
  y(l, a, s), k(a, o);
@@ -2004,7 +1998,7 @@ function _i(t) {
2004
1998
  ), o;
2005
1999
  return {
2006
2000
  c() {
2007
- a = C("h3"), o = A(i), h(a, "class", "StatusText");
2001
+ a = C("h3"), o = L(i), h(a, "class", "StatusText");
2008
2002
  },
2009
2003
  m(l, s) {
2010
2004
  y(l, a, s), k(a, o);
@@ -2083,7 +2077,7 @@ function ua(t) {
2083
2077
  ), o;
2084
2078
  return {
2085
2079
  c() {
2086
- a = C("p"), o = A(i), h(a, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (ve(
2080
+ a = C("p"), o = L(i), h(a, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (ve(
2087
2081
  /*userAgent*/
2088
2082
  t[42]
2089
2083
  ) ? "NoRecentSearchesMobile" : ""));
@@ -2102,7 +2096,7 @@ function ua(t) {
2102
2096
  };
2103
2097
  }
2104
2098
  function ca(t, a) {
2105
- let i, o, l, s, m, u, c, g, p, v, G, I, w, T;
2099
+ let i, o, l, s, m, u, c, g, p, v, G, I, w, R;
2106
2100
  return {
2107
2101
  key: t,
2108
2102
  first: null,
@@ -2150,8 +2144,7 @@ function ca(t, a) {
2150
2144
  a[91].name), n(i, "gamevendor", u = /*gameprops*/
2151
2145
  a[91].vendor.displayName), n(i, "gameLaunchUrl", c = /*gameprops*/
2152
2146
  a[91].launchUrl), n(i, "gameisnew", g = /*gameprops*/
2153
- a[91].isNew), n(i, "gametag", p = /*gameprops*/
2154
- a[91].advancedTags?.length > 0 && /*addGameTag*/
2147
+ a[91]?.isNew), n(i, "gametag", p = /*addGameTag*/
2155
2148
  a[43](
2156
2149
  /*gameprops*/
2157
2150
  a[91].advancedTags
@@ -2174,7 +2167,7 @@ function ca(t, a) {
2174
2167
  "currency",
2175
2168
  /*currency*/
2176
2169
  a[12]
2177
- ), n(i, "livelobbyendpoint", T = /*gameprops*/
2170
+ ), n(i, "livelobbyendpoint", R = /*gameprops*/
2178
2171
  a[91].details ? (
2179
2172
  /*gameprops*/
2180
2173
  a[91].href
@@ -2275,9 +2268,8 @@ function ca(t, a) {
2275
2268
  134217728 && c !== (c = /*gameprops*/
2276
2269
  a[91].launchUrl) && n(i, "gameLaunchUrl", c), f[0] & /*shownCategoryData*/
2277
2270
  134217728 && g !== (g = /*gameprops*/
2278
- a[91].isNew) && n(i, "gameisnew", g), f[0] & /*shownCategoryData*/
2279
- 134217728 && p !== (p = /*gameprops*/
2280
- a[91].advancedTags?.length > 0 && /*addGameTag*/
2271
+ a[91]?.isNew) && n(i, "gameisnew", g), f[0] & /*shownCategoryData*/
2272
+ 134217728 && p !== (p = /*addGameTag*/
2281
2273
  a[43](
2282
2274
  /*gameprops*/
2283
2275
  a[91].advancedTags
@@ -2308,11 +2300,11 @@ function ca(t, a) {
2308
2300
  /*currency*/
2309
2301
  a[12]
2310
2302
  ), f[0] & /*shownCategoryData*/
2311
- 134217728 && T !== (T = /*gameprops*/
2303
+ 134217728 && R !== (R = /*gameprops*/
2312
2304
  a[91].details ? (
2313
2305
  /*gameprops*/
2314
2306
  a[91].href
2315
- ) : "") && n(i, "livelobbyendpoint", T), f[0] & /*clientstyling*/
2307
+ ) : "") && n(i, "livelobbyendpoint", R), f[0] & /*clientstyling*/
2316
2308
  512 && n(
2317
2309
  i,
2318
2310
  "clientstyling",
@@ -2423,7 +2415,7 @@ let Si = 0;
2423
2415
  function Fi(t, a, i) {
2424
2416
  let o;
2425
2417
  Va(t, Wa, (r) => i(41, o = r));
2426
- let { endpoint: l = "" } = a, { datasource: s = "" } = a, { lang: m = "" } = a, { session: u = "" } = a, { userid: c = "" } = a, { favorites: g = "" } = a, { clientstyling: p = "" } = a, { clientstylingurl: v = "" } = a, { translationurl: G = "" } = a, { currency: I = "" } = a, { categoryid: w = "" } = a, { showgamename: T = "" } = a, { livecasino: d = "false" } = a, { gamepagemodalurl: f = "true" } = a, { integratedgameframedesktop: q = "false" } = a, { integratedgameframemobile: L = "false" } = a, { casinomygames: b = "false" } = a, { addfilterselector: be = "false" } = a, { addsortingselector: we = "false" } = a, { filterbylogo: He = "" } = a, { casinogamesgridslider: Ve = "false" } = a, { fetchviaevent: se = "false" } = a, { showallpage: Ne = "casino" } = a, { actionevent: Te = "CategoryChange" } = a, { displayedgamecount: ke = "10" } = a, { showallbuttongamescount: ye = "10" } = a, Q = !0, Re = !1, Se, Fe, $ = !0, qe = window.navigator.userAgent, j, z = [], J = !0, ee = 40, K = !1, Ge = !1, We = !1, re = !1, Ee = !1, je = !0, me = !1, ue, Ae, ce, fe = !1, ae, Ce = !1, ge = new Array(1e4), de = {}, Le = "", ie = "", Me, Pe, U, W = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
2418
+ let { endpoint: l = "" } = a, { datasource: s = "" } = a, { lang: m = "" } = a, { session: u = "" } = a, { userid: c = "" } = a, { favorites: g = "" } = a, { clientstyling: p = "" } = a, { clientstylingurl: v = "" } = a, { translationurl: G = "" } = a, { currency: I = "" } = a, { categoryid: w = "" } = a, { showgamename: R = "" } = a, { livecasino: d = "false" } = a, { gamepagemodalurl: f = "true" } = a, { integratedgameframedesktop: q = "false" } = a, { integratedgameframemobile: T = "false" } = a, { casinomygames: b = "false" } = a, { addfilterselector: be = "false" } = a, { addsortingselector: we = "false" } = a, { filterbylogo: He = "" } = a, { casinogamesgridslider: Ve = "false" } = a, { fetchviaevent: se = "false" } = a, { showallpage: Ne = "casino" } = a, { actionevent: Re = "CategoryChange" } = a, { displayedgamecount: ke = "10" } = a, { showallbuttongamescount: ye = "10" } = a, Q = !0, Ee = !1, Se, Fe, $ = !0, qe = window.navigator.userAgent, A, z = [], J = !0, ee = 40, K = !1, Ge = !1, We = !1, re = !1, je = !1, Ae = !0, me = !1, ue, Le, ce, fe = !1, ae, Ce = !1, ge = new Array(1e4), de = {}, Te = "", ie = "", Me, Pe, U, W = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
2427
2419
  const da = () => {
2428
2420
  fetch(G).then((_) => _.json()).then((_) => {
2429
2421
  Object.keys(_).forEach((F) => {
@@ -2438,19 +2430,19 @@ function Fi(t, a, i) {
2438
2430
  }), typeof document.hidden < "u" ? Me = "hidden" : typeof document.msHidden < "u" ? Me = "msHidden" : typeof document.webkitHidden < "u" && (Me = "webkitHidden");
2439
2431
  let ha = new IntersectionObserver((r) => {
2440
2432
  r.forEach(async (_) => {
2441
- let F = _.target.gameid, R = _.target.elems_index;
2442
- _.isIntersecting ? (R * 1.2 > ee && wa(w), i(38, de[F] = 1, de)) : i(38, de[F] = 0, de);
2433
+ let F = _.target.gameid, E = _.target.elems_index;
2434
+ _.isIntersecting ? (E * 1.2 > ee && wa(w), i(38, de[F] = 1, de)) : i(38, de[F] = 0, de);
2443
2435
  });
2444
2436
  });
2445
2437
  const Be = (r, _) => {
2446
2438
  let F = `${l}/v1/player/${_}/favorites/`;
2447
2439
  i(23, Q = !0);
2448
- let R = {
2440
+ let E = {
2449
2441
  method: "GET",
2450
2442
  headers: { "X-SessionID": r }
2451
2443
  };
2452
- return new Promise((E, M) => {
2453
- fetch(F, R).then((O) => O.json()).then((O) => {
2444
+ return new Promise((j, M) => {
2445
+ fetch(F, E).then((O) => O.json()).then((O) => {
2454
2446
  if (i(23, Q = !1), U = [], O) {
2455
2447
  O.items.forEach((ne) => {
2456
2448
  ne.gameModel && (U.push(ne), W.includes(ne.id) || W.push(ne.id));
@@ -2466,44 +2458,44 @@ function Fi(t, a, i) {
2466
2458
  B.isFavorite = X(B.id);
2467
2459
  });
2468
2460
  let V = z;
2469
- i(27, z = void 0), i(27, z = V), E(U);
2461
+ i(27, z = void 0), i(27, z = V), j(U);
2470
2462
  }).catch((O) => {
2471
2463
  console.error(O), M(O);
2472
2464
  });
2473
2465
  });
2474
2466
  }, he = (r, _, F) => {
2475
2467
  ze && ze.abort(), ze = new AbortController();
2476
- const R = ze.signal;
2468
+ const E = ze.signal;
2477
2469
  i(23, Q = !0);
2478
- let E = "", M = "", O = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), V = JSON.parse(localStorage.getItem("vendorSortingBy"));
2479
- return (r.match(/\$/g) || []).length > 1 ? (E = r.split("$").slice(0, 2).join("$"), M = new URL(`${l}/v1/casino/groups/${s}/${E}/subGroups`)) : M = new URL(`${l}/v1/casino/groups/${s}/${r}`), new Promise((B, ne) => {
2470
+ let j = "", M = "", O = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), V = JSON.parse(localStorage.getItem("vendorSortingBy"));
2471
+ return (r.match(/\$/g) || []).length > 1 ? (j = r.split("$").slice(0, 2).join("$"), M = new URL(`${l}/v1/casino/groups/${s}/${j}/subGroups`)) : M = new URL(`${l}/v1/casino/groups/${s}/${r}`), new Promise((B, ne) => {
2480
2472
  if (M.searchParams.delete("pagination"), M.searchParams.append("expand", "games(vendor)"), M.searchParams.append("fields", "id,name,games"), M.searchParams.append("platform", Ja(qe)), M.searchParams.append("pagination", `games(offset=${_},limit=${F})`), M.searchParams.append("language", m), window.postMessage({ type: "CategoryVendors", categoryid: r }, window.location.href), O && O[r])
2481
2473
  if (O[r].length && $ === !1 && fe === !1) {
2482
2474
  let D = "";
2483
- i(32, Ee = !0), O[r].forEach((pe) => {
2475
+ i(32, je = !0), O[r].forEach((pe) => {
2484
2476
  D = D + (D ? `,games(vendor(id=${pe}))` : `games(vendor(id=${pe}))`);
2485
2477
  }), M.searchParams.append("filter", `${D}`);
2486
2478
  } else
2487
- i(32, Ee = !1);
2488
- V && (V[r] ? V[r] && V[r] != "All" && (V[r] == "isNew" || V[r] == "advancedTags(name(hot))" ? (M.searchParams.append("sortedField", `games(${V[r]})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${V[r]})`)) : 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: R }).then((D) => D.json()).then((D) => {
2489
- R.aborted || (i(23, Q = !1), (r.match(/\$/g) || []).length > 1 && (D = D.items.filter((pe) => {
2479
+ i(32, je = !1);
2480
+ V && (V[r] ? V[r] && V[r] != "All" && (V[r] == "isNew" || V[r] == "advancedTags(name(hot))" ? (M.searchParams.append("sortedField", `games(${V[r]})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${V[r]})`)) : 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: E }).then((D) => D.json()).then((D) => {
2481
+ E.aborted || (i(23, Q = !1), (r.match(/\$/g) || []).length > 1 && (D = D.items.filter((pe) => {
2490
2482
  if (pe.id == r) return pe;
2491
- })[0]), i(50, Pe = !0), i(24, Re = !1), Ae = D.games.total, i(34, me = !0), B(D));
2483
+ })[0]), i(50, Pe = !0), i(24, Ee = !1), Le = D.games.total, i(34, me = !0), B(D));
2492
2484
  }).catch((D) => {
2493
- D.name !== "AbortError" && (i(24, Re = !0), console.error(D), ne(D));
2485
+ D.name !== "AbortError" && (i(24, Ee = !0), console.error(D), ne(D));
2494
2486
  });
2495
2487
  });
2496
2488
  }, pa = (r, _, F) => {
2497
- r !== "" && (i(29, K = !1), i(25, $ = !0), i(1, be = "false"), i(2, we = "false"), i(31, re = !1), Ce = !1, i(28, J = +_ > +F), he(r, 0, +_).then((R) => {
2498
- i(26, j = R), i(27, z = j.games.items), z && z.forEach((E) => {
2499
- E.isFavorite = X(E.id);
2489
+ r !== "" && (i(29, K = !1), i(25, $ = !0), i(1, be = "false"), i(2, we = "false"), i(31, re = !1), Ce = !1, i(28, J = +_ > +F), he(r, 0, +_).then((E) => {
2490
+ i(26, A = E), i(27, z = A.games.items), z && z.forEach((j) => {
2491
+ j.isFavorite = X(j.id);
2500
2492
  });
2501
2493
  }));
2502
2494
  }, De = (r) => {
2503
2495
  if (r.data)
2504
2496
  switch (r.data.type) {
2505
2497
  case "MostPlayedData":
2506
- w == "MOSTPLAYED" && (i(29, K = !1), i(25, $ = !1), i(28, J = !1), i(27, z = r.data.mostPlayedGames), i(26, j = {
2498
+ w == "MOSTPLAYED" && (i(29, K = !1), i(25, $ = !1), i(28, J = !1), i(27, z = r.data.mostPlayedGames), i(26, A = {
2507
2499
  id: "MOSTPLAYED",
2508
2500
  name: "Most Played Games",
2509
2501
  games: {
@@ -2514,7 +2506,7 @@ function Fi(t, a, i) {
2514
2506
  })), i(23, Q = !1);
2515
2507
  break;
2516
2508
  case "LastPlayedData":
2517
- w == "LASTPLAYED" && (i(29, K = !1), i(25, $ = !1), i(28, J = !1), i(27, z = r.data.lastPlayedGames), i(26, j = {
2509
+ w == "LASTPLAYED" && (i(29, K = !1), i(25, $ = !1), i(28, J = !1), i(27, z = r.data.lastPlayedGames), i(26, A = {
2518
2510
  id: "LASTPLAYED",
2519
2511
  name: "Last Played Games",
2520
2512
  games: {
@@ -2528,9 +2520,9 @@ function Fi(t, a, i) {
2528
2520
  r.data.operatordetail;
2529
2521
  break;
2530
2522
  case "RecentSearchData":
2531
- i(29, K = !0), i(30, Ge = !0), r.data.searchData.length > 0 ? (i(27, z = r.data.searchData), i(33, je = !0), z && z.forEach((_) => {
2523
+ i(29, K = !0), i(30, Ge = !0), r.data.searchData.length > 0 ? (i(27, z = r.data.searchData), i(33, Ae = !0), z && z.forEach((_) => {
2532
2524
  _.isFavorite = X(_.id);
2533
- })) : (i(27, z = []), i(33, je = !1));
2525
+ })) : (i(27, z = []), i(33, Ae = !1));
2534
2526
  break;
2535
2527
  case "OutOfRecentSearches":
2536
2528
  i(29, K = !1), i(30, Ge = !1);
@@ -2542,7 +2534,7 @@ function Fi(t, a, i) {
2542
2534
  break;
2543
2535
  case `CategoryData_${w}`:
2544
2536
  i(29, K = !1), i(25, $ = !0), i(1, be = "false"), i(2, we = "false"), i(31, re = !1), Ce = !1, r.data.receivedFavoriteResults && (U = r.data.receivedFavoriteResults.items), he(r.data.categoryId, 0, r.data.visiblegames).then((_) => {
2545
- i(26, j = _), i(27, z = j.games.items), Ae <= r.data.visiblegames ? i(28, J = !1) : i(28, J = !0), z && z.forEach((F) => {
2537
+ i(26, A = _), i(27, z = A.games.items), Le <= r.data.visiblegames ? i(28, J = !1) : i(28, J = !0), z && z.forEach((F) => {
2546
2538
  F.isFavorite = X(F.id);
2547
2539
  });
2548
2540
  });
@@ -2552,7 +2544,7 @@ function Fi(t, a, i) {
2552
2544
  break;
2553
2545
  case "ApplySorter":
2554
2546
  i(0, w = r.data.itemId), ie = r.data.sortBy, he(w, 0, ee).then((_) => {
2555
- i(26, j = _), i(27, z = j.games.items), i(28, J = !1);
2547
+ i(26, A = _), i(27, z = A.games.items), i(28, J = !1);
2556
2548
  });
2557
2549
  break;
2558
2550
  case "CategoryUpdate":
@@ -2573,9 +2565,9 @@ function Fi(t, a, i) {
2573
2565
  }
2574
2566
  }, Ye = (r) => {
2575
2567
  i(29, K = !1), i(25, $ = !1), i(31, re = !1), Ce = !0, i(34, me = !1), i(0, w = r), w !== "MOSTPLAYED" && i(28, J = !1), b !== "true" && he(w, 0, ee).then((_) => {
2576
- i(26, j = _), j.games.items.forEach((F) => {
2568
+ i(26, A = _), A.games.items.forEach((F) => {
2577
2569
  F.isFavorite = X(F.id);
2578
- }), i(27, z = j.games.items), i(28, J = !1), z.length < 10 && e.data.origin == !1 && (We = !0, setTimeout(
2570
+ }), i(27, z = A.games.items), i(28, J = !1), z.length < 10 && e.data.origin == !1 && (We = !0, setTimeout(
2579
2571
  () => {
2580
2572
  window.postMessage({ type: "WidgetTopReference", scrollTop: We }, window.location.href);
2581
2573
  },
@@ -2583,13 +2575,13 @@ function Fi(t, a, i) {
2583
2575
  ));
2584
2576
  });
2585
2577
  }, _a = () => {
2586
- j && (i(27, z = j.games.items), z.forEach((r) => {
2578
+ A && (i(27, z = A.games.items), z.forEach((r) => {
2587
2579
  r.isFavorite = X(r.id);
2588
2580
  }));
2589
2581
  }, X = (r) => U?.some((_) => _.id === r) ?? !1;
2590
2582
  let va = async (r, _, F) => {
2591
2583
  await Ue(r, _), W.includes(F) || W.push(F);
2592
- let E = {
2584
+ let j = {
2593
2585
  method: "POST",
2594
2586
  headers: {
2595
2587
  "X-SessionID": _,
@@ -2598,41 +2590,41 @@ function Fi(t, a, i) {
2598
2590
  },
2599
2591
  body: JSON.stringify({ items: W })
2600
2592
  };
2601
- fetch(r, E).then((M) => M.json()).then(() => {
2593
+ fetch(r, j).then((M) => M.json()).then(() => {
2602
2594
  window.postMessage({ type: `AddFavoriteThumbnail_${F}` }, window.location.href);
2603
2595
  }).catch((M) => {
2604
2596
  console.error("Err", M);
2605
2597
  });
2606
2598
  };
2607
2599
  const ba = (r, _, F) => {
2608
- let R = {
2600
+ let E = {
2609
2601
  method: "DELETE",
2610
2602
  headers: { "X-SessionID": _ }
2611
2603
  };
2612
- fetch(`${r}/${F}`, R).then((E) => E.json()).then(() => {
2604
+ fetch(`${r}/${F}`, E).then((j) => j.json()).then(() => {
2613
2605
  window.postMessage(
2614
2606
  {
2615
2607
  type: `RemoveFavoriteThumbnail_${F}`
2616
2608
  },
2617
2609
  window.location.href
2618
2610
  ), Ue(r, _);
2619
- }), W.includes(F) && (W = W.filter((E) => E != F));
2611
+ }), W.includes(F) && (W = W.filter((j) => j != F));
2620
2612
  }, Ue = async (r, _) => fetch(r, {
2621
2613
  method: "GET",
2622
2614
  headers: { "X-SessionID": _ }
2623
- }).then((R) => R.json()).then((R) => {
2624
- U = R.items, se ? (U.forEach((M) => {
2615
+ }).then((E) => E.json()).then((E) => {
2616
+ U = E.items, se ? (U.forEach((M) => {
2625
2617
  W.includes(M.id) || W.push(M.id);
2626
2618
  }), _a()) : U.forEach((M) => {
2627
2619
  M.isFavorite = X(M.id);
2628
2620
  });
2629
- const E = Oe(U)?.length;
2621
+ const j = Oe(U)?.length;
2630
2622
  w === "FAVORITES" && (window.postMessage({
2631
2623
  type: "UpdateFavoritesCount",
2632
- favoriteGamesLength: E
2624
+ favoriteGamesLength: j
2633
2625
  }), Je(U));
2634
- }).catch((R) => {
2635
- console.error(R);
2626
+ }).catch((E) => {
2627
+ console.error(E);
2636
2628
  }), Je = (r) => {
2637
2629
  if (!r) return;
2638
2630
  let _;
@@ -2640,23 +2632,24 @@ function Fi(t, a, i) {
2640
2632
  F.gameModel && (F.gameModel.isFavorite = !0);
2641
2633
  }), i(40, te.items = Oe(_, te.items), te), i(40, te.name = "Favorites", te), i(23, Q = !1);
2642
2634
  }, wa = (r) => {
2643
- ee += 1, i(34, me = !0), ee <= Ae && he(r, Si, ee).then((_) => {
2644
- i(26, j = _), j.games.items.length > z.length && (i(27, z = j.games.items), z.forEach((F) => {
2635
+ ee += 1, i(34, me = !0), ee <= Le && he(r, Si, ee).then((_) => {
2636
+ i(26, A = _), A.games.items.length > z.length && (i(27, z = A.games.items), z.forEach((F) => {
2645
2637
  F.isFavorite = X(F.id);
2646
2638
  })), i(34, me = !1);
2647
2639
  });
2648
2640
  }, ka = (r) => {
2641
+ if (!(r?.length > 0)) return;
2649
2642
  if (r?.length === 0) return "";
2650
- let _ = "", F = 999999999999, R;
2651
- const E = new Date(Date.now());
2643
+ let _ = "", F = 999999999999, E;
2644
+ const j = new Date(Date.now());
2652
2645
  return r.forEach((M, O) => {
2653
2646
  const V = new Date(M.schedules[0].startTime), B = new Date(M.schedules[0].endTime);
2654
- Ie(B).diff(E) < F && (F = Ie(B).diff(E), R = O), Ie(E).isAfter(V) && Ie(E).isBefore(B) && (_ = r[R].name);
2647
+ Ie(B).diff(j) < F && (F = Ie(B).diff(j), E = O), Ie(j).isAfter(V) && Ie(j).isBefore(B) && (_ = r[E].name);
2655
2648
  }), _;
2656
2649
  }, Ke = (r) => {
2657
2650
  window.postMessage(
2658
2651
  {
2659
- type: `${Te}`,
2652
+ type: `${Re}`,
2660
2653
  itemId: r,
2661
2654
  showallpage: Ne
2662
2655
  },
@@ -2678,7 +2671,7 @@ function Fi(t, a, i) {
2678
2671
  break;
2679
2672
  }
2680
2673
  }, Sa = () => {
2681
- document[Me] ? i(39, Le = "disconnect") : i(39, Le = "connect");
2674
+ document[Me] ? i(39, Te = "disconnect") : i(39, Te = "connect");
2682
2675
  }, Fa = () => {
2683
2676
  Ce && ge.forEach((r, _) => {
2684
2677
  r && (r.elems_index = _, ha.observe(r));
@@ -2707,34 +2700,34 @@ function Fi(t, a, i) {
2707
2700
  ce = r, i(36, ce);
2708
2701
  });
2709
2702
  }
2710
- const Ia = (r) => Ke(j.id);
2703
+ const Ia = (r) => Ke(A.id);
2711
2704
  function Na(r, _) {
2712
2705
  oe[r ? "unshift" : "push"](() => {
2713
2706
  ge[_] = r, i(22, ge);
2714
2707
  });
2715
2708
  }
2716
- function Ta(r) {
2709
+ function Ra(r) {
2717
2710
  oe[r ? "unshift" : "push"](() => {
2718
2711
  ue = r, i(35, ue);
2719
2712
  });
2720
2713
  }
2721
- function Ra(r) {
2714
+ function Ea(r) {
2722
2715
  oe[r ? "unshift" : "push"](() => {
2723
2716
  ce = r, i(36, ce);
2724
2717
  });
2725
2718
  }
2726
- function Ea(r) {
2719
+ function ja(r) {
2727
2720
  oe[r ? "unshift" : "push"](() => {
2728
2721
  ue = r, i(35, ue);
2729
2722
  });
2730
2723
  }
2731
- function ja(r) {
2724
+ function Aa(r) {
2732
2725
  oe[r ? "unshift" : "push"](() => {
2733
2726
  ae = r, i(21, ae);
2734
2727
  });
2735
2728
  }
2736
2729
  return t.$$set = (r) => {
2737
- "endpoint" in r && i(3, l = r.endpoint), "datasource" in r && i(4, s = r.datasource), "lang" in r && i(5, m = r.lang), "session" in r && i(6, u = r.session), "userid" in r && i(7, c = r.userid), "favorites" in r && i(8, g = r.favorites), "clientstyling" in r && i(9, p = r.clientstyling), "clientstylingurl" in r && i(10, v = r.clientstylingurl), "translationurl" in r && i(11, G = r.translationurl), "currency" in r && i(12, I = r.currency), "categoryid" in r && i(0, w = r.categoryid), "showgamename" in r && i(13, T = r.showgamename), "livecasino" in r && i(14, d = r.livecasino), "gamepagemodalurl" in r && i(15, f = r.gamepagemodalurl), "integratedgameframedesktop" in r && i(16, q = r.integratedgameframedesktop), "integratedgameframemobile" in r && i(17, L = r.integratedgameframemobile), "casinomygames" in r && i(18, b = r.casinomygames), "addfilterselector" in r && i(1, be = r.addfilterselector), "addsortingselector" in r && i(2, we = r.addsortingselector), "filterbylogo" in r && i(19, He = r.filterbylogo), "casinogamesgridslider" in r && i(20, Ve = r.casinogamesgridslider), "fetchviaevent" in r && i(45, se = r.fetchviaevent), "showallpage" in r && i(46, Ne = r.showallpage), "actionevent" in r && i(47, Te = r.actionevent), "displayedgamecount" in r && i(48, ke = r.displayedgamecount), "showallbuttongamescount" in r && i(49, ye = r.showallbuttongamescount);
2730
+ "endpoint" in r && i(3, l = r.endpoint), "datasource" in r && i(4, s = r.datasource), "lang" in r && i(5, m = r.lang), "session" in r && i(6, u = r.session), "userid" in r && i(7, c = r.userid), "favorites" in r && i(8, g = r.favorites), "clientstyling" in r && i(9, p = r.clientstyling), "clientstylingurl" in r && i(10, v = r.clientstylingurl), "translationurl" in r && i(11, G = r.translationurl), "currency" in r && i(12, I = r.currency), "categoryid" in r && i(0, w = r.categoryid), "showgamename" in r && i(13, R = r.showgamename), "livecasino" in r && i(14, d = r.livecasino), "gamepagemodalurl" in r && i(15, f = r.gamepagemodalurl), "integratedgameframedesktop" in r && i(16, q = r.integratedgameframedesktop), "integratedgameframemobile" in r && i(17, T = r.integratedgameframemobile), "casinomygames" in r && i(18, b = r.casinomygames), "addfilterselector" in r && i(1, be = r.addfilterselector), "addsortingselector" in r && i(2, we = r.addsortingselector), "filterbylogo" in r && i(19, He = r.filterbylogo), "casinogamesgridslider" in r && i(20, Ve = r.casinogamesgridslider), "fetchviaevent" in r && i(45, se = r.fetchviaevent), "showallpage" in r && i(46, Ne = r.showallpage), "actionevent" in r && i(47, Re = r.actionevent), "displayedgamecount" in r && i(48, ke = r.displayedgamecount), "showallbuttongamescount" in r && i(49, ye = r.showallbuttongamescount);
2738
2731
  }, t.$$.update = () => {
2739
2732
  t.$$.dirty[0] & /*lang*/
2740
2733
  32 && m && Ga(), t.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
@@ -2761,33 +2754,33 @@ function Fi(t, a, i) {
2761
2754
  v,
2762
2755
  G,
2763
2756
  I,
2764
- T,
2757
+ R,
2765
2758
  d,
2766
2759
  f,
2767
2760
  q,
2768
- L,
2761
+ T,
2769
2762
  b,
2770
2763
  He,
2771
2764
  Ve,
2772
2765
  ae,
2773
2766
  ge,
2774
2767
  Q,
2775
- Re,
2768
+ Ee,
2776
2769
  $,
2777
- j,
2770
+ A,
2778
2771
  z,
2779
2772
  J,
2780
2773
  K,
2781
2774
  Ge,
2782
2775
  re,
2783
- Ee,
2784
2776
  je,
2777
+ Ae,
2785
2778
  me,
2786
2779
  ue,
2787
2780
  ce,
2788
2781
  fe,
2789
2782
  de,
2790
- Le,
2783
+ Te,
2791
2784
  te,
2792
2785
  o,
2793
2786
  qe,
@@ -2795,17 +2788,17 @@ function Fi(t, a, i) {
2795
2788
  Ke,
2796
2789
  se,
2797
2790
  Ne,
2798
- Te,
2791
+ Re,
2799
2792
  ke,
2800
2793
  ye,
2801
2794
  Pe,
2802
2795
  za,
2803
2796
  Ia,
2804
2797
  Na,
2805
- Ta,
2806
2798
  Ra,
2807
2799
  Ea,
2808
- ja
2800
+ ja,
2801
+ Aa
2809
2802
  ];
2810
2803
  }
2811
2804
  class Gi extends Pa {
@@ -1,4 +1,4 @@
1
- import { $ as q, d as te, e as re, S as oe, i as ne, f as D, g as ae, s as le, h as se, j as f, k as R, n as U, l as P, m as ie, o as ce, p as de, q as G, r as N, t as Z, u as K, v as r, w as s, x as ee, y as Q, z as pe, C as ge } from "./CasinoFavoritesSection-DwGJcYOi.js";
1
+ import { $ as q, d as te, e as re, S as oe, i as ne, f as D, g as ae, s as le, h as se, j as f, k as R, n as U, l as P, m as ie, o as ce, p as de, q as G, r as N, t as Z, u as K, v as r, w as s, x as ee, y as Q, z as pe, C as ge } from "./CasinoFavoritesSection-CvlJ3E8A.js";
2
2
  function ue({ withLocale: e, translations: t }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (te.set(t), q.set(e));
@@ -1,4 +1,4 @@
1
- import { L as n } from "../components/CasinoFavoritesSection-DwGJcYOi.js";
1
+ import { L as n } from "../components/CasinoFavoritesSection-CvlJ3E8A.js";
2
2
  function i(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-favorites-section",
3
- "version": "1.54.2",
3
+ "version": "1.54.4",
4
4
  "type": "module",
5
5
  "main": "esnext/casino-favorites-section.js",
6
6
  "module": "esnext/casino-favorites-section.js",