@everymatrix/casino-most-played-section 1.77.32 → 1.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import { a as Oa, $ as Ba, S as Ha, i as Va, f as z, s as qa, F as Wa, b as Ya, n as _e, d as y, j as S, l as G, h as d, p as Ja, I as Ka, q as Xa, J as Ee, x as se, u as X, k as w, m as W, v as pe, w as Za, g as D, o as T, y as le, K as _a, e as t, L as pa, z as Qa, r as xa, B as $, G as $a, C as ei, D as ai, E as ii } from "./CasinoFilter-CI9Hpq8Q.js";
1
+ import { a as Oa, $ as Ha, S as Ba, i as Va, f as z, s as qa, F as Wa, b as Ya, n as pe, d as y, j as S, l as G, h as d, p as Ja, I as Ka, q as Xa, J as Ee, x as se, u as X, k as w, m as W, v as _e, w as Za, g as D, o as P, y as le, K as pa, e as t, L as _a, z as Qa, r as xa, B as $, G as $a, C as ei, D as ai, E as ii } from "./CasinoFilter-CI9Hpq8Q.js";
2
2
  import { h as Ne } from "./CasinoGameThumbnail-BgCQYWCJ.js";
3
3
  function $e(i, e) {
4
4
  Oa(i, e);
5
5
  }
6
6
  function ni(i) {
7
- Ba.set(i);
7
+ Ha.set(i);
8
8
  }
9
9
  const ea = {
10
10
  en: {
@@ -336,7 +336,7 @@ function oi(i) {
336
336
  }
337
337
  function si(i) {
338
338
  let e, a, n;
339
- function o(h, p) {
339
+ function o(h, _) {
340
340
  return (
341
341
  /*recentSearched*/
342
342
  h[32] ? Ci : (
@@ -346,7 +346,7 @@ function si(i) {
346
346
  );
347
347
  }
348
348
  let s = o(i), r = s(i);
349
- function m(h, p) {
349
+ function m(h, _) {
350
350
  return (
351
351
  /*shownCategoryData*/
352
352
  h[29] ? zi : Mi
@@ -355,16 +355,16 @@ function si(i) {
355
355
  let u = m(i), f = u(i);
356
356
  return {
357
357
  c() {
358
- e = G("div"), a = G("div"), r.c(), n = W(), f.c(), d(a, "class", "CasinoGamesHeader Searched " + (pe(
358
+ e = G("div"), a = G("div"), r.c(), n = W(), f.c(), d(a, "class", "CasinoGamesHeader Searched " + (_e(
359
359
  /*userAgent*/
360
360
  i[44]
361
361
  ) ? "CasinoGamesHeaderMobile" : "")), d(e, "class", "CasinoGamesContainer");
362
362
  },
363
- m(h, p) {
364
- S(h, e, p), w(e, a), r.m(a, null), w(e, n), f.m(e, null);
363
+ m(h, _) {
364
+ S(h, e, _), w(e, a), r.m(a, null), w(e, n), f.m(e, null);
365
365
  },
366
- p(h, p) {
367
- s === (s = o(h)) && r ? r.p(h, p) : (r.d(1), r = s(h), r && (r.c(), r.m(a, null))), u === (u = m(h)) && f ? f.p(h, p) : (f.d(1), f = u(h), f && (f.c(), f.m(e, null)));
366
+ p(h, _) {
367
+ s === (s = o(h)) && r ? r.p(h, _) : (r.d(1), r = s(h), r && (r.c(), r.m(a, null))), u === (u = m(h)) && f ? f.p(h, _) : (f.d(1), f = u(h), f && (f.c(), f.m(e, null)));
368
368
  },
369
369
  d(h) {
370
370
  h && y(e), r.d(), f.d();
@@ -472,20 +472,20 @@ function ta(i) {
472
472
  ), f, h;
473
473
  return {
474
474
  c() {
475
- e = G("div"), a = G("h3"), o = T(n), s = W(), r = G("span"), m = T("("), f = T(u), h = T(")"), d(r, "class", "CategoryFavName"), d(a, "class", "CategoryName"), d(e, "class", "CasinoGamesHeader");
475
+ e = G("div"), a = G("h3"), o = P(n), s = W(), r = G("span"), m = P("("), f = P(u), h = P(")"), d(r, "class", "CategoryFavName"), d(a, "class", "CategoryName"), d(e, "class", "CasinoGamesHeader");
476
476
  },
477
- m(p, F) {
478
- S(p, e, F), w(e, a), w(a, o), w(a, s), w(a, r), w(r, m), w(r, f), w(r, h), i[59](a);
477
+ m(_, F) {
478
+ S(_, e, F), w(e, a), w(a, o), w(a, s), w(a, r), w(r, m), w(r, f), w(r, h), i[59](a);
479
479
  },
480
- p(p, F) {
480
+ p(_, F) {
481
481
  F[1] & /*$_*/
482
482
  4096 && n !== (n = /*$_*/
483
- p[43]("favorites") + "") && D(o, n), F[1] & /*favoriteGamesData*/
483
+ _[43]("favorites") + "") && D(o, n), F[1] & /*favoriteGamesData*/
484
484
  2048 && u !== (u = /*favoriteGamesData*/
485
- p[42].items.length + "") && D(f, u);
485
+ _[42].items.length + "") && D(f, u);
486
486
  },
487
- d(p) {
488
- p && y(e), i[59](null);
487
+ d(_) {
488
+ _ && y(e), i[59](null);
489
489
  }
490
490
  };
491
491
  }
@@ -496,7 +496,7 @@ function ui(i) {
496
496
  ), n;
497
497
  return {
498
498
  c() {
499
- e = G("p"), n = T(a);
499
+ e = G("p"), n = P(a);
500
500
  },
501
501
  m(o, s) {
502
502
  S(o, e, s), w(e, n);
@@ -562,19 +562,19 @@ function fi(i) {
562
562
  m(a, n) {
563
563
  S(a, e, n);
564
564
  },
565
- p: _e,
565
+ p: pe,
566
566
  d(a) {
567
567
  a && y(e);
568
568
  }
569
569
  };
570
570
  }
571
571
  function oa(i) {
572
- let e, a, n, o, s, r, m, u, f, h, p, F = (
572
+ let e, a, n, o, s, r, m, u, f, h, _, F = (
573
573
  /*$_*/
574
574
  i[43]("noFavoritesTitle") + ""
575
575
  ), N, v, g;
576
- function c(b, H) {
577
- return pe(
576
+ function c(b, B) {
577
+ return _e(
578
578
  /*userAgent*/
579
579
  b[44]
580
580
  ) ? di : gi;
@@ -582,18 +582,18 @@ function oa(i) {
582
582
  let U = c(i)(i);
583
583
  return {
584
584
  c() {
585
- e = G("p"), a = $("svg"), n = $("rect"), o = $("rect"), s = $("circle"), r = $("path"), m = $("path"), u = $("path"), f = $("path"), h = W(), p = G("span"), N = T(F), v = W(), U.c(), g = W(), d(n, "x", "1"), d(n, "y", "18.053"), d(n, "width", "90.263"), d(n, "height", "90.263"), d(n, "rx", "12"), d(n, "stroke", "var(--emw--color-gray-150, #828282)"), d(n, "stroke-width", "1.5"), d(o, "x", "106.737"), d(o, "y", "56.737"), d(o, "width", "90.263"), d(o, "height", "90.263"), d(o, "rx", "12"), d(o, "stroke", "var(--emw--color-gray-150, #828282)"), d(o, "stroke-width", "1.5"), d(s, "cx", "70.5"), d(s, "cy", "32.237"), d(s, "r", "31.487"), d(s, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(s, "stroke-width", "1.5"), d(s, "stroke-dasharray", "5 0"), d(r, "d", "M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"), d(r, "fill", "var(--emw--color-gray-150, #828282)"), d(m, "d", "M78 43h11v13H78V43z"), d(m, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(u, "d", "m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"), d(u, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(u, "stroke-linecap", "round"), d(u, "stroke-linejoin", "round"), d(f, "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"), d(f, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(f, "stroke-width", "1.5"), d(f, "stroke-linecap", "round"), d(f, "stroke-linejoin", "round"), d(a, "width", "198"), d(a, "height", "148"), d(a, "viewBox", "0 0 198 148"), d(a, "fill", "none"), d(a, "xmlns", "http://www.w3.org/2000/svg"), d(p, "class", "NoFavoriteText NoFavoriteTextHighlight"), d(e, "class", "NoFavoriteGames " + (pe(
585
+ e = G("p"), a = $("svg"), n = $("rect"), o = $("rect"), s = $("circle"), r = $("path"), m = $("path"), u = $("path"), f = $("path"), h = W(), _ = G("span"), N = P(F), v = W(), U.c(), g = W(), d(n, "x", "1"), d(n, "y", "18.053"), d(n, "width", "90.263"), d(n, "height", "90.263"), d(n, "rx", "12"), d(n, "stroke", "var(--emw--color-gray-150, #828282)"), d(n, "stroke-width", "1.5"), d(o, "x", "106.737"), d(o, "y", "56.737"), d(o, "width", "90.263"), d(o, "height", "90.263"), d(o, "rx", "12"), d(o, "stroke", "var(--emw--color-gray-150, #828282)"), d(o, "stroke-width", "1.5"), d(s, "cx", "70.5"), d(s, "cy", "32.237"), d(s, "r", "31.487"), d(s, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(s, "stroke-width", "1.5"), d(s, "stroke-dasharray", "5 0"), d(r, "d", "M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"), d(r, "fill", "var(--emw--color-gray-150, #828282)"), d(m, "d", "M78 43h11v13H78V43z"), d(m, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(u, "d", "m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"), d(u, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(u, "stroke-linecap", "round"), d(u, "stroke-linejoin", "round"), d(f, "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"), d(f, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), d(f, "stroke-width", "1.5"), d(f, "stroke-linecap", "round"), d(f, "stroke-linejoin", "round"), d(a, "width", "198"), d(a, "height", "148"), d(a, "viewBox", "0 0 198 148"), d(a, "fill", "none"), d(a, "xmlns", "http://www.w3.org/2000/svg"), d(_, "class", "NoFavoriteText NoFavoriteTextHighlight"), d(e, "class", "NoFavoriteGames " + (_e(
586
586
  /*userAgent*/
587
587
  i[44]
588
588
  ) ? "NoFavoriteGamesMobile" : ""));
589
589
  },
590
- m(b, H) {
591
- S(b, e, H), w(e, a), w(a, n), w(a, o), w(a, s), w(a, r), w(a, m), w(a, u), w(a, f), w(e, h), w(e, p), w(p, N), w(e, v), U.m(e, null), w(e, g);
590
+ m(b, B) {
591
+ S(b, e, B), w(e, a), w(a, n), w(a, o), w(a, s), w(a, r), w(a, m), w(a, u), w(a, f), w(e, h), w(e, _), w(_, N), w(e, v), U.m(e, null), w(e, g);
592
592
  },
593
- p(b, H) {
594
- H[1] & /*$_*/
593
+ p(b, B) {
594
+ B[1] & /*$_*/
595
595
  4096 && F !== (F = /*$_*/
596
- b[43]("noFavoritesTitle") + "") && D(N, F), U.p(b, H);
596
+ b[43]("noFavoritesTitle") + "") && D(N, F), U.p(b, B);
597
597
  },
598
598
  d(b) {
599
599
  b && y(e), U.d();
@@ -607,7 +607,7 @@ function gi(i) {
607
607
  ), n;
608
608
  return {
609
609
  c() {
610
- e = G("span"), n = T(a), d(e, "class", "NoFavoriteText");
610
+ e = G("span"), n = P(a), d(e, "class", "NoFavoriteText");
611
611
  },
612
612
  m(o, s) {
613
613
  S(o, e, s), w(e, n);
@@ -629,7 +629,7 @@ function di(i) {
629
629
  ), n;
630
630
  return {
631
631
  c() {
632
- e = G("span"), n = T(a), d(e, "class", "NoFavoriteText");
632
+ e = G("span"), n = P(a), d(e, "class", "NoFavoriteText");
633
633
  },
634
634
  m(o, s) {
635
635
  S(o, e, s), w(e, n);
@@ -686,14 +686,14 @@ function hi(i) {
686
686
  let e, a, n;
687
687
  function o(m, u) {
688
688
  if (u[1] & /*favoriteGamesData*/
689
- 2048 && (a = null), e == null && (e = !!pe(
689
+ 2048 && (a = null), e == null && (e = !!_e(
690
690
  /*userAgent*/
691
691
  m[44]
692
692
  )), e)
693
- return pi;
693
+ return _i;
694
694
  if (a == null && (a = !!/*gameprops*/
695
695
  m[95].gameModel.platform.includes("PC")), a)
696
- return _i;
696
+ return pi;
697
697
  }
698
698
  let s = o(i, [-1, -1, -1, -1]), r = s && s(i);
699
699
  return {
@@ -711,8 +711,8 @@ function hi(i) {
711
711
  }
712
712
  };
713
713
  }
714
- function _i(i) {
715
- let e, a, n, o, s, r, m, u, f, h, p, F, N, v;
714
+ function pi(i) {
715
+ let e, a, n, o, s, r, m, u, f, h, _, F, N, v;
716
716
  return {
717
717
  c() {
718
718
  e = G("casino-game-thumbnail"), t(e, "class", a = "" + (ee + /*gameprops*/
@@ -760,7 +760,7 @@ function _i(i) {
760
760
  i[95].gameModel?.advancedTags
761
761
  )), t(e, "gamecellsize", f = /*gameprops*/
762
762
  i[95].cellSize), t(e, "gameid", h = /*gameprops*/
763
- i[95].gameModel.id), t(e, "gamefunmode", p = /*gameprops*/
763
+ i[95].gameModel.id), t(e, "gamefunmode", _ = /*gameprops*/
764
764
  i[95].gameModel.hasFunMode), t(
765
765
  e,
766
766
  "showgamename",
@@ -897,8 +897,8 @@ function _i(i) {
897
897
  g[95].cellSize) && t(e, "gamecellsize", f), c[1] & /*favoriteGamesData*/
898
898
  2048 && h !== (h = /*gameprops*/
899
899
  g[95].gameModel.id) && t(e, "gameid", h), c[1] & /*favoriteGamesData*/
900
- 2048 && p !== (p = /*gameprops*/
901
- g[95].gameModel.hasFunMode) && t(e, "gamefunmode", p), c[0] & /*showgamename*/
900
+ 2048 && _ !== (_ = /*gameprops*/
901
+ g[95].gameModel.hasFunMode) && t(e, "gamefunmode", _), c[0] & /*showgamename*/
902
902
  8192 && t(
903
903
  e,
904
904
  "showgamename",
@@ -989,7 +989,7 @@ function _i(i) {
989
989
  }
990
990
  };
991
991
  }
992
- function pi(i) {
992
+ function _i(i) {
993
993
  let e = (
994
994
  /*gameprops*/
995
995
  i[95].gameModel.platform.includes("iPad") || /*gameprops*/
@@ -1016,7 +1016,7 @@ function pi(i) {
1016
1016
  };
1017
1017
  }
1018
1018
  function ra(i) {
1019
- let e, a, n, o, s, r, m, u, f, h, p, F, N, v;
1019
+ let e, a, n, o, s, r, m, u, f, h, _, F, N, v;
1020
1020
  return {
1021
1021
  c() {
1022
1022
  e = G("casino-game-thumbnail"), t(e, "class", a = "" + (ee + /*gameprops*/
@@ -1064,7 +1064,7 @@ function ra(i) {
1064
1064
  i[95].gameModel?.advancedTags
1065
1065
  )), t(e, "gamecellsize", f = /*gameprops*/
1066
1066
  i[95].cellSize), t(e, "gameid", h = /*gameprops*/
1067
- i[95].gameModel.id), t(e, "gamefunmode", p = /*gameprops*/
1067
+ i[95].gameModel.id), t(e, "gamefunmode", _ = /*gameprops*/
1068
1068
  i[95].gameModel.hasFunMode), t(
1069
1069
  e,
1070
1070
  "showgamename",
@@ -1201,8 +1201,8 @@ function ra(i) {
1201
1201
  g[95].cellSize) && t(e, "gamecellsize", f), c[1] & /*favoriteGamesData*/
1202
1202
  2048 && h !== (h = /*gameprops*/
1203
1203
  g[95].gameModel.id) && t(e, "gameid", h), c[1] & /*favoriteGamesData*/
1204
- 2048 && p !== (p = /*gameprops*/
1205
- g[95].gameModel.hasFunMode) && t(e, "gamefunmode", p), c[0] & /*showgamename*/
1204
+ 2048 && _ !== (_ = /*gameprops*/
1205
+ g[95].gameModel.hasFunMode) && t(e, "gamefunmode", _), c[0] & /*showgamename*/
1206
1206
  8192 && t(
1207
1207
  e,
1208
1208
  "showgamename",
@@ -1329,7 +1329,7 @@ function ua(i) {
1329
1329
  let m = r(i), u = m(i);
1330
1330
  return {
1331
1331
  c() {
1332
- e = G("div"), a = G("h3"), o = T(n), s = W(), u.c(), d(a, "class", "CategoryName"), d(e, "class", "CasinoGamesHeader");
1332
+ e = G("div"), a = G("h3"), o = P(n), s = W(), u.c(), d(a, "class", "CategoryName"), d(e, "class", "CasinoGamesHeader");
1333
1333
  },
1334
1334
  m(f, h) {
1335
1335
  S(f, e, h), w(e, a), w(a, o), i[55](a), w(e, s), u.m(e, null);
@@ -1388,25 +1388,25 @@ function bi(i) {
1388
1388
  ), m, u, f, h;
1389
1389
  return {
1390
1390
  c() {
1391
- e = G("a"), a = G("span"), o = T(n), s = T(" ("), m = T(r), u = T(")"), d(a, "class", "CategoryLoadMore"), d(e, "class", "CategoryNameLink");
1391
+ e = G("a"), a = G("span"), o = P(n), s = P(" ("), m = P(r), u = P(")"), d(a, "class", "CategoryLoadMore"), d(e, "class", "CategoryNameLink");
1392
1392
  },
1393
- m(p, F) {
1394
- S(p, e, F), w(e, a), w(a, o), w(a, s), w(a, m), w(a, u), f || (h = xa(
1393
+ m(_, F) {
1394
+ S(_, e, F), w(e, a), w(a, o), w(a, s), w(a, m), w(a, u), f || (h = xa(
1395
1395
  e,
1396
1396
  "click",
1397
1397
  /*click_handler*/
1398
1398
  i[56]
1399
1399
  ), f = !0);
1400
1400
  },
1401
- p(p, F) {
1401
+ p(_, F) {
1402
1402
  F[1] & /*$_*/
1403
1403
  4096 && n !== (n = /*$_*/
1404
- p[43]("viewAll") + "") && D(o, n), F[0] & /*categoryData*/
1404
+ _[43]("viewAll") + "") && D(o, n), F[0] & /*categoryData*/
1405
1405
  268435456 && r !== (r = /*categoryData*/
1406
- p[28].games.total + "") && D(m, r);
1406
+ _[28].games.total + "") && D(m, r);
1407
1407
  },
1408
- d(p) {
1409
- p && y(e), f = !1, h();
1408
+ d(_) {
1409
+ _ && y(e), f = !1, h();
1410
1410
  }
1411
1411
  };
1412
1412
  }
@@ -1627,7 +1627,7 @@ function wi(i) {
1627
1627
  ), n;
1628
1628
  return {
1629
1629
  c() {
1630
- e = G("p"), n = T(a), d(e, "class", "NoSearchResults");
1630
+ e = G("p"), n = P(a), d(e, "class", "NoSearchResults");
1631
1631
  },
1632
1632
  m(o, s) {
1633
1633
  S(o, e, s), w(e, n);
@@ -1678,7 +1678,7 @@ function ki(i) {
1678
1678
  17920 && (s = le(
1679
1679
  /*shownCategoryData*/
1680
1680
  m[29]
1681
- ), a = _a(a, u, r, 1, m, s, n, e, pa, ga, null, ia)), u[0] & /*lobbyView, casinogamesgridslider*/
1681
+ ), a = pa(a, u, r, 1, m, s, n, e, _a, ga, null, ia)), u[0] & /*lobbyView, casinogamesgridslider*/
1682
1682
  135266304 | u[1] & /*favoriteGamesData, showFavGamesCategory*/
1683
1683
  2304 && o !== (o = /*favoriteGamesData*/
1684
1684
  (m[42].items.length === 0 && /*showFavGamesCategory*/
@@ -1703,14 +1703,14 @@ function yi(i) {
1703
1703
  m(a, n) {
1704
1704
  S(a, e, n);
1705
1705
  },
1706
- p: _e,
1706
+ p: pe,
1707
1707
  d(a) {
1708
1708
  a && y(e);
1709
1709
  }
1710
1710
  };
1711
1711
  }
1712
1712
  function Si(i) {
1713
- let e, a, n, o, s, r, m, u, f, h, p, F, N, v, g = (
1713
+ let e, a, n, o, s, r, m, u, f, h, _, F, N, v, g = (
1714
1714
  /*index*/
1715
1715
  i[97]
1716
1716
  );
@@ -1763,7 +1763,7 @@ function Si(i) {
1763
1763
  i[95].advancedTags
1764
1764
  )), t(e, "gamecellsize", f = /*gameprops*/
1765
1765
  i[95].cellSize), t(e, "gameid", h = /*gameprops*/
1766
- i[95].id), t(e, "gamefunmode", p = /*gameprops*/
1766
+ i[95].id), t(e, "gamefunmode", _ = /*gameprops*/
1767
1767
  i[95].hasFunMode), t(e, "gamefavorite", F = /*gameprops*/
1768
1768
  i[95].isFavorite), t(
1769
1769
  e,
@@ -1899,8 +1899,8 @@ function Si(i) {
1899
1899
  i[95].cellSize) && t(e, "gamecellsize", f), b[0] & /*shownCategoryData*/
1900
1900
  536870912 && h !== (h = /*gameprops*/
1901
1901
  i[95].id) && t(e, "gameid", h), b[0] & /*shownCategoryData*/
1902
- 536870912 && p !== (p = /*gameprops*/
1903
- i[95].hasFunMode) && t(e, "gamefunmode", p), b[0] & /*shownCategoryData*/
1902
+ 536870912 && _ !== (_ = /*gameprops*/
1903
+ i[95].hasFunMode) && t(e, "gamefunmode", _), b[0] & /*shownCategoryData*/
1904
1904
  536870912 && F !== (F = /*gameprops*/
1905
1905
  i[95].isFavorite) && t(e, "gamefavorite", F), b[0] & /*translationurl*/
1906
1906
  2048 && t(
@@ -2026,7 +2026,7 @@ function Fi(i) {
2026
2026
  ), n;
2027
2027
  return {
2028
2028
  c() {
2029
- e = G("h3"), n = T(a), d(e, "class", "StatusText");
2029
+ e = G("h3"), n = P(a), d(e, "class", "StatusText");
2030
2030
  },
2031
2031
  m(o, s) {
2032
2032
  S(o, e, s), w(e, n);
@@ -2048,7 +2048,7 @@ function Gi(i) {
2048
2048
  ), n;
2049
2049
  return {
2050
2050
  c() {
2051
- e = G("h3"), n = T(a), d(e, "class", "StatusText");
2051
+ e = G("h3"), n = P(a), d(e, "class", "StatusText");
2052
2052
  },
2053
2053
  m(o, s) {
2054
2054
  S(o, e, s), w(e, n);
@@ -2070,7 +2070,7 @@ function Ci(i) {
2070
2070
  ), n;
2071
2071
  return {
2072
2072
  c() {
2073
- e = G("h3"), n = T(a), d(e, "class", "StatusText");
2073
+ e = G("h3"), n = P(a), d(e, "class", "StatusText");
2074
2074
  },
2075
2075
  m(o, s) {
2076
2076
  S(o, e, s), w(e, n);
@@ -2094,7 +2094,7 @@ function Mi(i) {
2094
2094
  m(a, n) {
2095
2095
  S(a, e, n);
2096
2096
  },
2097
- p: _e,
2097
+ p: pe,
2098
2098
  d(a) {
2099
2099
  a && y(e);
2100
2100
  }
@@ -2133,7 +2133,7 @@ function zi(i) {
2133
2133
  16388 && (r = le(
2134
2134
  /*shownCategoryData*/
2135
2135
  u[29]
2136
- ), n = _a(n, f, m, 1, u, r, o, a, pa, ha, null, na));
2136
+ ), n = pa(n, f, m, 1, u, r, o, a, _a, ha, null, na));
2137
2137
  },
2138
2138
  d(u) {
2139
2139
  u && (y(e), y(a)), s && s.d(u);
@@ -2149,7 +2149,7 @@ function da(i) {
2149
2149
  ), n;
2150
2150
  return {
2151
2151
  c() {
2152
- e = G("p"), n = T(a), d(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (pe(
2152
+ e = G("p"), n = P(a), d(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (_e(
2153
2153
  /*userAgent*/
2154
2154
  i[44]
2155
2155
  ) ? "NoRecentSearchesMobile" : ""));
@@ -2168,7 +2168,7 @@ function da(i) {
2168
2168
  };
2169
2169
  }
2170
2170
  function ha(i, e) {
2171
- let a, n, o, s, r, m, u, f, h, p, F, N, v;
2171
+ let a, n, o, s, r, m, u, f, h, _, F, N, v;
2172
2172
  return {
2173
2173
  key: i,
2174
2174
  first: null,
@@ -2217,7 +2217,7 @@ function ha(i, e) {
2217
2217
  /*gameprops*/
2218
2218
  e[95].advancedTags
2219
2219
  )), t(a, "gamecellsize", h = /*gameprops*/
2220
- e[95].cellSize), t(a, "gameid", p = /*gameprops*/
2220
+ e[95].cellSize), t(a, "gameid", _ = /*gameprops*/
2221
2221
  e[95].id), t(a, "gamefunmode", F = /*gameprops*/
2222
2222
  e[95].hasFunMode), t(
2223
2223
  a,
@@ -2344,8 +2344,8 @@ function ha(i, e) {
2344
2344
  )) && t(a, "gametag", f), c[0] & /*shownCategoryData*/
2345
2345
  536870912 && h !== (h = /*gameprops*/
2346
2346
  e[95].cellSize) && t(a, "gamecellsize", h), c[0] & /*shownCategoryData*/
2347
- 536870912 && p !== (p = /*gameprops*/
2348
- e[95].id) && t(a, "gameid", p), c[0] & /*shownCategoryData*/
2347
+ 536870912 && _ !== (_ = /*gameprops*/
2348
+ e[95].id) && t(a, "gameid", _), c[0] & /*shownCategoryData*/
2349
2349
  536870912 && F !== (F = /*gameprops*/
2350
2350
  e[95].hasFunMode) && t(a, "gamefunmode", F), c[0] & /*mbsource*/
2351
2351
  2097152 && t(
@@ -2493,8 +2493,8 @@ function Ii(i) {
2493
2493
  p(s, r) {
2494
2494
  n === (n = a(s)) && o ? o.p(s, r) : (o.d(1), o = n(s), o && (o.c(), o.m(e, null)));
2495
2495
  },
2496
- i: _e,
2497
- o: _e,
2496
+ i: pe,
2497
+ o: pe,
2498
2498
  d(s) {
2499
2499
  s && y(e), o.d(), i[61](null);
2500
2500
  }
@@ -2505,27 +2505,27 @@ let ji = 0;
2505
2505
  function Li(i, e, a) {
2506
2506
  let n;
2507
2507
  Ja(i, $a, (l) => a(43, n = l));
2508
- let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: F = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: ne = "true" } = e, { integratedgameframedesktop: U = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: H = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: be = "false" } = e, { filterbylogo: We = "" } = e, { casinogamesgridslider: Ye = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Ie = "casino" } = e, { actionevent: je = "CategoryChange" } = e, { displayedgamecount: we = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { mbsource: Le } = e, { lobbyscreen: Re = "true" } = e, { usesinglevendorfilter: ye = "false" } = e, { visiblegames: Ae = "10" } = e, Z = !0, Te = !1, Se, Fe, Y = !0, Je = window.navigator.userAgent, A, M = [], Q = !0, ae = 40, J = !1, Ge = !1, me = !1, Pe = !1, De = !0, te = !1, ue, Ue, ce, fe = !1, q, Ce = !1, ge = new Array(1e4), de = {}, Oe = "", ie = "", Me, Be, L, O = [], ze = new AbortController(), oe = { items: [], count: 0, name: "" };
2508
+ let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: F = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: ne = "true" } = e, { integratedgameframedesktop: U = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: B = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: be = "false" } = e, { filterbylogo: We = "" } = e, { casinogamesgridslider: Ye = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Ie = "casino" } = e, { actionevent: je = "CategoryChange" } = e, { displayedgamecount: we = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { mbsource: Le } = e, { lobbyscreen: Re = "true" } = e, { usesinglevendorfilter: ye = "false" } = e, { visiblegames: Ae = "10" } = e, Z = !0, Te = !1, Se, Fe, Y = !0, Je = window.navigator.userAgent, T, M = [], Q = !0, ae = 40, J = !1, Ge = !1, me = !1, Pe = !1, De = !0, te = !1, ue, Ue, ce, fe = !1, q, Ce = !1, ge = new Array(1e4), de = {}, Oe = "", ie = "", Me, He, L, O = [], ze = new AbortController(), oe = { items: [], count: 0, name: "" };
2509
2509
  const va = () => {
2510
- fetch(F).then((_) => _.json()).then((_) => {
2511
- Object.keys(_).forEach((k) => {
2512
- $e(k, _[k]);
2510
+ fetch(F).then((p) => p.json()).then((p) => {
2511
+ Object.keys(p).forEach((k) => {
2512
+ $e(k, p[k]);
2513
2513
  });
2514
- }).catch((_) => {
2515
- console.log(_);
2514
+ }).catch((p) => {
2515
+ console.log(p);
2516
2516
  });
2517
2517
  };
2518
2518
  Object.keys(ea).forEach((l) => {
2519
2519
  $e(l, ea[l]);
2520
2520
  }), typeof document.hidden < "u" ? Me = "hidden" : typeof document.msHidden < "u" ? Me = "msHidden" : typeof document.webkitHidden < "u" && (Me = "webkitHidden");
2521
2521
  let Ke = new IntersectionObserver((l) => {
2522
- l.forEach(async (_) => {
2523
- let k = _.target.gameid, E = _.target.elems_index;
2524
- _.isIntersecting ? (E * 1.2 > ae && Ga(v), a(40, de[k] = 1, de)) : a(40, de[k] = 0, de);
2522
+ l.forEach(async (p) => {
2523
+ let k = p.target.gameid, E = p.target.elems_index;
2524
+ p.isIntersecting ? (E * 1.2 > ae && Ga(v), a(40, de[k] = 1, de)) : a(40, de[k] = 0, de);
2525
2525
  });
2526
2526
  });
2527
- const He = (l, _) => {
2528
- let k = `${o}/v1/player/${_}/favorites/`;
2527
+ const Be = (l, p) => {
2528
+ let k = `${o}/v1/player/${p}/favorites/`;
2529
2529
  a(25, Z = !0);
2530
2530
  let E = {
2531
2531
  method: "GET",
@@ -2545,7 +2545,7 @@ function Li(i, e, a) {
2545
2545
  } else
2546
2546
  L = [];
2547
2547
  v === "FAVORITES" && qe(L), M.forEach((R) => {
2548
- R.isFavorite = B(R.id);
2548
+ R.isFavorite = H(R.id);
2549
2549
  });
2550
2550
  let K = M;
2551
2551
  a(29, M = void 0), a(29, M = K), j(L);
@@ -2553,9 +2553,9 @@ function Li(i, e, a) {
2553
2553
  console.error(C), I(C);
2554
2554
  });
2555
2555
  });
2556
- }, ba = (l, _) => new Promise((k, E) => {
2557
- if (l && _) {
2558
- let j = `${o}/v1/player/${_}/favorites/`;
2556
+ }, ba = (l, p) => new Promise((k, E) => {
2557
+ if (l && p) {
2558
+ let j = `${o}/v1/player/${p}/favorites/`;
2559
2559
  fetch(j, {
2560
2560
  method: "GET",
2561
2561
  headers: { "X-SessionID": l }
@@ -2577,56 +2577,60 @@ function Li(i, e, a) {
2577
2577
  });
2578
2578
  } else
2579
2579
  k([]);
2580
- }), Xe = (l, _, k, E) => {
2580
+ }), Xe = (l, p, k, E) => {
2581
2581
  ze && ze.abort(), ze = new AbortController();
2582
2582
  const j = ze.signal;
2583
2583
  te && a(25, Z = !0);
2584
2584
  let I = "", C = "", K = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), R = JSON.parse(localStorage.getItem("vendorSortingBy"));
2585
2585
  const V = ye === "true" ? "*" : l;
2586
2586
  return (l.match(/\$/g) || []).length > 1 ? (I = l.split("$").slice(0, 2).join("$"), C = new URL(`${o}/v1/casino/groups/${s}/${I}/subGroups`)) : C = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((Da, Ua) => {
2587
- if (C.searchParams.delete("pagination"), C.searchParams.append("expand", "games(vendor)"), C.searchParams.append("fields", "id,name,games"), C.searchParams.append("platform", Za(Je)), C.searchParams.append("pagination", `games(offset=${_},limit=${k})`), C.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), K && K[V]?.length)
2587
+ if (C.searchParams.delete("pagination"), C.searchParams.append("expand", "games(vendor)"), C.searchParams.append("fields", "id,name,games"), C.searchParams.append("platform", Za(Je)), C.searchParams.append("pagination", `games(offset=${p},limit=${k})`), C.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), K && K[V]?.length)
2588
2588
  if (ye === "true" || Y === !1 && fe === !1) {
2589
- let P = "";
2589
+ let A = "";
2590
2590
  a(34, Pe = !0), K[V].forEach((x) => {
2591
- P = P + (P ? `,games(vendor(id=${x}))` : `games(vendor(id=${x}))`);
2592
- }), C.searchParams.append("filter", `${P}`);
2591
+ A = A + (A ? `,games(vendor(id=${x}))` : `games(vendor(id=${x}))`);
2592
+ }), C.searchParams.append("filter", `${A}`);
2593
2593
  } else
2594
2594
  a(34, Pe = !1);
2595
- R && (R[l] ? R[l] && R[l] != "All" && (R[l] == "isNew" || R[l] == "advancedTags(name(hot))" ? (C.searchParams.append("sortedField", `games(${R[l]})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${R[l]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (C.searchParams.append("sortedField", `games(${ie})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${ie})`))), fetch(C, { signal: j }).then((P) => P.json()).then((P) => {
2596
- j.aborted || (a(25, Z = !1), (l.match(/\$/g) || []).length > 1 && (P = P.items.filter((x) => {
2595
+ R && (R[l] ? R[l] && R[l] != "All" && (R[l] == "isNew" || R[l] == "advancedTags(name(hot))" ? (C.searchParams.append("sortedField", `games(${R[l]})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${R[l]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (C.searchParams.append("sortedField", `games(${ie})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${ie})`))), fetch(C, { signal: j }).then((A) => {
2596
+ if (!A.ok)
2597
+ throw A.status === 404 && window.postMessage({ type: "NonExistentCategory" }, window.location.origin), new Error(`HTTP ${A.status}`);
2598
+ return A.json();
2599
+ }).then((A) => {
2600
+ j.aborted || (a(25, Z = !1), (l.match(/\$/g) || []).length > 1 && (A = A.items.filter((x) => {
2597
2601
  if (x.id == l)
2598
2602
  return x;
2599
- })[0]), a(54, Be = !0), a(26, Te = !1), Ue = P.games.total, E && P.games.items.forEach((x) => {
2600
- x.isFavorite = B(x.id);
2601
- }), a(36, te = !0), Da(P));
2602
- }).catch((P) => {
2603
- P.name !== "AbortError" && (a(26, Te = !0), console.error(P), Ua(P));
2603
+ })[0]), a(54, He = !0), a(26, Te = !1), Ue = A.games.total, E && A.games.items.forEach((x) => {
2604
+ x.isFavorite = H(x.id);
2605
+ }), a(36, te = !0), Da(A));
2606
+ }).catch((A) => {
2607
+ A.name !== "AbortError" && (a(26, Te = !0), console.error(A), Ua(A));
2604
2608
  }).finally(() => {
2605
2609
  wa();
2606
2610
  });
2607
2611
  });
2608
- }, he = (l, _, k) => new Promise((E, j) => {
2612
+ }, he = (l, p, k) => new Promise((E, j) => {
2609
2613
  f == "true" ? ba(m, u).then((I) => {
2610
- Xe(l, _, k, I).then((C) => {
2614
+ Xe(l, p, k, I).then((C) => {
2611
2615
  E(C);
2612
2616
  });
2613
- }) : Xe(l, _, k, null).then((I) => {
2617
+ }) : Xe(l, p, k, null).then((I) => {
2614
2618
  E(I);
2615
2619
  });
2616
2620
  }), wa = () => {
2617
2621
  const l = q.getRootNode().host;
2618
2622
  l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
2619
- }, ka = (l, _, k) => {
2620
- l !== "" && (a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, me = !1), Ce = !1, a(30, Q = +_ > +k), he(l, 0, +_).then((E) => {
2621
- a(28, A = E), a(29, M = A.games.items), M && M.forEach((j) => {
2622
- j.isFavorite = B(j.id);
2623
+ }, ka = (l, p, k) => {
2624
+ l !== "" && (a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, me = !1), Ce = !1, a(30, Q = +p > +k), he(l, 0, +p).then((E) => {
2625
+ a(28, T = E), a(29, M = T.games.items), M && M.forEach((j) => {
2626
+ j.isFavorite = H(j.id);
2623
2627
  });
2624
2628
  }));
2625
2629
  }, Ve = (l) => {
2626
2630
  if (l.data)
2627
2631
  switch (l.data.type) {
2628
2632
  case "MostPlayedData":
2629
- v == "MOSTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.mostPlayedGames), a(28, A = {
2633
+ v == "MOSTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.mostPlayedGames), a(28, T = {
2630
2634
  id: "MOSTPLAYED",
2631
2635
  name: "Most Played Games",
2632
2636
  games: {
@@ -2634,12 +2638,12 @@ function Li(i, e, a) {
2634
2638
  total: l.data.mostPlayedGames.length,
2635
2639
  items: l.data.mostPlayedGames
2636
2640
  }
2637
- }), M && M.forEach((_) => {
2638
- _.isFavorite = B(_.id);
2641
+ }), M && M.forEach((p) => {
2642
+ p.isFavorite = H(p.id);
2639
2643
  })), a(25, Z = !1);
2640
2644
  break;
2641
2645
  case "LastPlayedData":
2642
- v == "LASTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.lastPlayedGames), a(28, A = {
2646
+ v == "LASTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.lastPlayedGames), a(28, T = {
2643
2647
  id: "LASTPLAYED",
2644
2648
  name: "Last Played Games",
2645
2649
  games: {
@@ -2647,27 +2651,27 @@ function Li(i, e, a) {
2647
2651
  total: l.data.lastPlayedGames.length,
2648
2652
  items: l.data.lastPlayedGames
2649
2653
  }
2650
- }), M && M.forEach((_) => {
2651
- _.isFavorite = B(_.id);
2654
+ }), M && M.forEach((p) => {
2655
+ p.isFavorite = H(p.id);
2652
2656
  })), a(25, Z = !1);
2653
2657
  break;
2654
2658
  case "RecentSearchData":
2655
- a(31, J = !0), a(32, Ge = !0), l.data.searchData.length > 0 ? (a(29, M = l.data.searchData), a(35, De = !0), M && M.forEach((_) => {
2656
- _.isFavorite = B(_.id);
2659
+ a(31, J = !0), a(32, Ge = !0), l.data.searchData.length > 0 ? (a(29, M = l.data.searchData), a(35, De = !0), M && M.forEach((p) => {
2660
+ p.isFavorite = H(p.id);
2657
2661
  })) : (a(29, M = []), a(35, De = !1));
2658
2662
  break;
2659
2663
  case "OutOfRecentSearches":
2660
2664
  a(31, J = !1), a(32, Ge = !1);
2661
2665
  break;
2662
2666
  case "SearchData":
2663
- a(31, J = !0), a(32, Ge = !1), a(29, M = l.data.searchData.items || []), a(33, me = !0), l.data.receivedFavoriteResults && (L = l.data.receivedFavoriteResults.items), M && M.forEach((_) => {
2664
- _.isFavorite = B(_.id);
2667
+ a(31, J = !0), a(32, Ge = !1), a(29, M = l.data.searchData.items || []), a(33, me = !0), l.data.receivedFavoriteResults && (L = l.data.receivedFavoriteResults.items), M && M.forEach((p) => {
2668
+ p.isFavorite = H(p.id);
2665
2669
  });
2666
2670
  break;
2667
2671
  case `CategoryData_${v}`:
2668
- a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, me = !1), Ce = !1, he(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
2669
- a(28, A = _), a(29, M = A.games.items), a(30, Q = !!(Ue <= l.data.visiblegames && Y)), M && M.forEach((k) => {
2670
- k.isFavorite = B(k.id);
2672
+ a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, me = !1), Ce = !1, he(l.data.categoryId, 0, l.data.visiblegames).then((p) => {
2673
+ a(28, T = p), a(29, M = T.games.items), a(30, Q = !!(Ue <= l.data.visiblegames && Y)), M && M.forEach((k) => {
2674
+ k.isFavorite = H(k.id);
2671
2675
  });
2672
2676
  });
2673
2677
  break;
@@ -2675,8 +2679,8 @@ function Li(i, e, a) {
2675
2679
  ae = 20;
2676
2680
  break;
2677
2681
  case "ApplySorter":
2678
- a(0, v = l.data.itemId), ie = l.data.sortBy, he(v, 0, ae).then((_) => {
2679
- a(28, A = _), a(29, M = A.games.items), a(30, Q = !1);
2682
+ a(0, v = l.data.itemId), ie = l.data.sortBy, he(v, 0, ae).then((p) => {
2683
+ a(28, T = p), a(29, M = T.games.items), a(30, Q = !1);
2680
2684
  });
2681
2685
  break;
2682
2686
  case "CategoryUpdate":
@@ -2689,17 +2693,17 @@ function Li(i, e, a) {
2689
2693
  Sa(`${o}/v1/player/${u}/favorites`, m, l.data.id);
2690
2694
  break;
2691
2695
  case "UserSessionID":
2692
- Se = l.data.session, Fe = l.data.userID, f == "true" && Fe && Fe.length && Se && Se.length > 0 && He(Se, Fe);
2696
+ Se = l.data.session, Fe = l.data.userID, f == "true" && Fe && Fe.length && Se && Se.length > 0 && Be(Se, Fe);
2693
2697
  break;
2694
2698
  case "UpdateFavoredList":
2695
2699
  v === "FAVORITES" && Qe(l.data.url, l.data.sessionID);
2696
2700
  break;
2697
2701
  }
2698
- }, Ze = (l, _ = !1) => {
2699
- a(31, J = !1), a(27, Y = Re === "true"), a(33, me = !1), Ce = !0, a(36, te = !1), a(0, v = l), v !== "MOSTPLAYED" && !_ && a(30, Q = !1), H !== "true" && (!L && m && He(m, u), he(v, 0, ae).then((k) => {
2700
- a(28, A = k), A?.games?.items.forEach((E) => {
2701
- E.isFavorite = B(E.id);
2702
- }), a(29, M = A?.games.items);
2702
+ }, Ze = (l, p = !1) => {
2703
+ a(31, J = !1), a(27, Y = Re === "true"), a(33, me = !1), Ce = !0, a(36, te = !1), a(0, v = l), v !== "MOSTPLAYED" && !p && a(30, Q = !1), B !== "true" && (!L && m && Be(m, u), he(v, 0, ae).then((k) => {
2704
+ a(28, T = k), T?.games?.items.forEach((E) => {
2705
+ E.isFavorite = H(E.id);
2706
+ }), a(29, M = T?.games.items);
2703
2707
  }).finally(
2704
2708
  /*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
2705
2709
  if (shownCategoryData?.length < 10 && e.data.origin ==! 'filters') {
@@ -2720,16 +2724,16 @@ function Li(i, e, a) {
2720
2724
  }
2721
2725
  ));
2722
2726
  }, ya = () => {
2723
- A && (a(29, M = A.games.items), M.forEach((l) => {
2724
- l.isFavorite = B(l.id);
2727
+ T && (a(29, M = T.games.items), M.forEach((l) => {
2728
+ l.isFavorite = H(l.id);
2725
2729
  }));
2726
- }, B = (l) => L?.some((_) => _.id === l) ?? !1;
2727
- let Sa = async (l, _, k) => {
2728
- await Qe(l, _), O.includes(k) || O.push(k);
2730
+ }, H = (l) => L?.some((p) => p.id === l) ?? !1;
2731
+ let Sa = async (l, p, k) => {
2732
+ await Qe(l, p), O.includes(k) || O.push(k);
2729
2733
  let j = {
2730
2734
  method: "POST",
2731
2735
  headers: {
2732
- "X-SessionID": _,
2736
+ "X-SessionID": p,
2733
2737
  "Content-Type": "application/json",
2734
2738
  Accept: "application/json"
2735
2739
  },
@@ -2739,16 +2743,16 @@ function Li(i, e, a) {
2739
2743
  window.postMessage({ type: `AddFavoriteThumbnail_${k}` }, window.location.href), window.postMessage({
2740
2744
  type: "UpdateFavoredList",
2741
2745
  url: l,
2742
- sessionID: _
2746
+ sessionID: p
2743
2747
  });
2744
2748
  }).catch((I) => {
2745
2749
  console.error("Err", I);
2746
2750
  });
2747
2751
  };
2748
- const Fa = (l, _, k) => {
2752
+ const Fa = (l, p, k) => {
2749
2753
  let E = {
2750
2754
  method: "DELETE",
2751
- headers: { "X-SessionID": _ }
2755
+ headers: { "X-SessionID": p }
2752
2756
  };
2753
2757
  fetch(`${l}/${k}`, E).then((j) => j.json()).then(() => {
2754
2758
  window.postMessage(
@@ -2759,17 +2763,17 @@ function Li(i, e, a) {
2759
2763
  ), window.postMessage({
2760
2764
  type: "UpdateFavoredList",
2761
2765
  url: l,
2762
- sessionID: _
2766
+ sessionID: p
2763
2767
  });
2764
2768
  }), O.includes(k) && (O = O.filter((j) => j != k));
2765
- }, Qe = async (l, _) => fetch(l, {
2769
+ }, Qe = async (l, p) => fetch(l, {
2766
2770
  method: "GET",
2767
- headers: { "X-SessionID": _ }
2771
+ headers: { "X-SessionID": p }
2768
2772
  }).then((E) => E.json()).then((E) => {
2769
2773
  L = E.items, re ? (L.forEach((I) => {
2770
2774
  O.includes(I.id) || O.push(I.id);
2771
2775
  }), ya()) : L.forEach((I) => {
2772
- I.isFavorite = B(I.id);
2776
+ I.isFavorite = H(I.id);
2773
2777
  });
2774
2778
  const j = Ee(L)?.length;
2775
2779
  v === "FAVORITES" && (window.postMessage({
@@ -2781,25 +2785,25 @@ function Li(i, e, a) {
2781
2785
  }), qe = (l) => {
2782
2786
  if (!l)
2783
2787
  return;
2784
- let _;
2785
- _ = l?.items || l || [], _.length > 0 && _.forEach((k) => {
2788
+ let p;
2789
+ p = l?.items || l || [], p.length > 0 && p.forEach((k) => {
2786
2790
  k.gameModel && (k.gameModel.isFavorite = !0);
2787
- }), a(42, oe.items = Ee(_, oe.items), oe), a(42, oe.name = "Favorites", oe), a(25, Z = !1);
2791
+ }), a(42, oe.items = Ee(p, oe.items), oe), a(42, oe.name = "Favorites", oe), a(25, Z = !1);
2788
2792
  }, Ga = (l) => {
2789
- ae += 1, a(36, te = !0), ae <= Ue && he(l, ji, ae).then((_) => {
2790
- a(28, A = _), A.games.items.length > M.length && (a(29, M = A.games.items), M.forEach((k) => {
2791
- k.isFavorite = B(k.id);
2793
+ ae += 1, a(36, te = !0), ae <= Ue && he(l, ji, ae).then((p) => {
2794
+ a(28, T = p), T.games.items.length > M.length && (a(29, M = T.games.items), M.forEach((k) => {
2795
+ k.isFavorite = H(k.id);
2792
2796
  })), a(36, te = !1);
2793
2797
  });
2794
2798
  }, Ca = (l) => {
2795
- const _ = l ?? [];
2796
- if (_?.length === 0)
2799
+ const p = l ?? [];
2800
+ if (p?.length === 0)
2797
2801
  return "";
2798
2802
  let k = "", E = 999999999999, j;
2799
2803
  const I = new Date(Date.now());
2800
- return _.forEach((C, K) => {
2804
+ return p.forEach((C, K) => {
2801
2805
  const R = new Date(C.schedules[0].startTime), V = new Date(C.schedules[0].endTime);
2802
- Ne(V).diff(I) < E && (E = Ne(V).diff(I), j = K), Ne(I).isAfter(R) && Ne(I).isBefore(V) && (k = _[j].name);
2806
+ Ne(V).diff(I) < E && (E = Ne(V).diff(I), j = K), Ne(I).isAfter(R) && Ne(I).isBefore(V) && (k = p[j].name);
2803
2807
  }), k;
2804
2808
  }, xe = (l) => {
2805
2809
  a(30, Q = !1), window.postMessage(
@@ -2816,10 +2820,10 @@ function Li(i, e, a) {
2816
2820
  u && m && a(39, fe = !0);
2817
2821
  break;
2818
2822
  case "MOSTPLAYED":
2819
- H === "false" && u && m && a(39, fe = !1);
2823
+ B === "false" && u && m && a(39, fe = !1);
2820
2824
  break;
2821
2825
  case "LASTPLAYED":
2822
- H === "false" && u && m && a(39, fe = !1);
2826
+ B === "false" && u && m && a(39, fe = !1);
2823
2827
  break;
2824
2828
  default:
2825
2829
  Ze(v, !0);
@@ -2828,8 +2832,8 @@ function Li(i, e, a) {
2828
2832
  }, za = () => {
2829
2833
  document[Me] ? a(41, Oe = "disconnect") : a(41, Oe = "connect");
2830
2834
  }, Ea = () => {
2831
- Ce && ge.forEach((l, _) => {
2832
- l && (l.elems_index = _, Ke.observe(l));
2835
+ Ce && ge.forEach((l, p) => {
2836
+ l && (l.elems_index = p, Ke.observe(l));
2833
2837
  });
2834
2838
  }, Na = () => {
2835
2839
  ni(r);
@@ -2844,10 +2848,10 @@ function Li(i, e, a) {
2844
2848
  ce = l, a(38, ce);
2845
2849
  });
2846
2850
  }
2847
- const ja = (l) => xe(A.id);
2848
- function La(l, _) {
2851
+ const ja = (l) => xe(T.id);
2852
+ function La(l, p) {
2849
2853
  se[l ? "unshift" : "push"](() => {
2850
- ge[_] = l, a(24, ge);
2854
+ ge[p] = l, a(24, ge);
2851
2855
  });
2852
2856
  }
2853
2857
  function Ra(l) {
@@ -2871,19 +2875,19 @@ function Li(i, e, a) {
2871
2875
  });
2872
2876
  }
2873
2877
  return i.$$set = (l) => {
2874
- "endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, u = l.userid), "favorites" in l && a(8, f = l.favorites), "clientstyling" in l && a(9, h = l.clientstyling), "clientstylingurl" in l && a(10, p = l.clientstylingurl), "translationurl" in l && a(11, F = l.translationurl), "currency" in l && a(12, N = l.currency), "categoryid" in l && a(0, v = l.categoryid), "showgamename" in l && a(13, g = l.showgamename), "livecasino" in l && a(14, c = l.livecasino), "gamepagemodalurl" in l && a(15, ne = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, U = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, H = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, be = l.addsortingselector), "filterbylogo" in l && a(19, We = l.filterbylogo), "casinogamesgridslider" in l && a(20, Ye = l.casinogamesgridslider), "fetchviaevent" in l && a(47, re = l.fetchviaevent), "showallpage" in l && a(48, Ie = l.showallpage), "actionevent" in l && a(49, je = l.actionevent), "displayedgamecount" in l && a(50, we = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ke = l.showallbuttongamescount), "mbsource" in l && a(21, Le = l.mbsource), "lobbyscreen" in l && a(52, Re = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, ye = l.usesinglevendorfilter), "visiblegames" in l && a(53, Ae = l.visiblegames);
2878
+ "endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, u = l.userid), "favorites" in l && a(8, f = l.favorites), "clientstyling" in l && a(9, h = l.clientstyling), "clientstylingurl" in l && a(10, _ = l.clientstylingurl), "translationurl" in l && a(11, F = l.translationurl), "currency" in l && a(12, N = l.currency), "categoryid" in l && a(0, v = l.categoryid), "showgamename" in l && a(13, g = l.showgamename), "livecasino" in l && a(14, c = l.livecasino), "gamepagemodalurl" in l && a(15, ne = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, U = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, B = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, be = l.addsortingselector), "filterbylogo" in l && a(19, We = l.filterbylogo), "casinogamesgridslider" in l && a(20, Ye = l.casinogamesgridslider), "fetchviaevent" in l && a(47, re = l.fetchviaevent), "showallpage" in l && a(48, Ie = l.showallpage), "actionevent" in l && a(49, je = l.actionevent), "displayedgamecount" in l && a(50, we = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ke = l.showallbuttongamescount), "mbsource" in l && a(21, Le = l.mbsource), "lobbyscreen" in l && a(52, Re = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, ye = l.usesinglevendorfilter), "visiblegames" in l && a(53, Ae = l.visiblegames);
2875
2879
  }, i.$$.update = () => {
2876
2880
  i.$$.dirty[0] & /*lang*/
2877
2881
  32 && r && Na(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
2878
2882
  57 | i.$$.dirty[1] & /*fetchviaevent, displayedgamecount, showallbuttongamescount*/
2879
2883
  1638400 && (re === "false" || re === "") && o && r && v && s && we && ke && ka(v, we, ke), i.$$.dirty[0] & /*favorites, endpoint, session, userid*/
2880
- 456 && f === "true" && o && m && u && He(m, u), i.$$.dirty[0] & /*thumbnailContainer*/
2884
+ 456 && f === "true" && o && m && u && Be(m, u), i.$$.dirty[0] & /*thumbnailContainer*/
2881
2885
  16777216 | i.$$.dirty[1] & /*dataloaded*/
2882
- 8388608 && Be && ge && Ea(), i.$$.dirty[0] & /*lang, categoryid*/
2886
+ 8388608 && He && ge && Ea(), i.$$.dirty[0] & /*lang, categoryid*/
2883
2887
  33 && r && v && Ma(), i.$$.dirty[0] & /*translationurl*/
2884
2888
  2048 && F && va(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2885
2889
  8389120 && h && q && ei(q, h), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2886
- 8389632 && p && q && ai(q, p), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
2890
+ 8389632 && _ && q && ai(q, _), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
2887
2891
  10485760 && q && ii(q, `${Le}.Style`);
2888
2892
  }, [
2889
2893
  v,
@@ -2896,7 +2900,7 @@ function Li(i, e, a) {
2896
2900
  u,
2897
2901
  f,
2898
2902
  h,
2899
- p,
2903
+ _,
2900
2904
  F,
2901
2905
  N,
2902
2906
  g,
@@ -2904,7 +2908,7 @@ function Li(i, e, a) {
2904
2908
  ne,
2905
2909
  U,
2906
2910
  b,
2907
- H,
2911
+ B,
2908
2912
  We,
2909
2913
  Ye,
2910
2914
  Le,
@@ -2914,7 +2918,7 @@ function Li(i, e, a) {
2914
2918
  Z,
2915
2919
  Te,
2916
2920
  Y,
2917
- A,
2921
+ T,
2918
2922
  M,
2919
2923
  Q,
2920
2924
  J,
@@ -2940,7 +2944,7 @@ function Li(i, e, a) {
2940
2944
  ke,
2941
2945
  Re,
2942
2946
  Ae,
2943
- Be,
2947
+ He,
2944
2948
  Ia,
2945
2949
  ja,
2946
2950
  La,
@@ -2950,7 +2954,7 @@ function Li(i, e, a) {
2950
2954
  Pa
2951
2955
  ];
2952
2956
  }
2953
- class Ri extends Ha {
2957
+ class Ri extends Ba {
2954
2958
  constructor(e) {
2955
2959
  super(), Va(
2956
2960
  this,