@everymatrix/casino-most-played-section-nd 1.77.31 → 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.
@@ -14,13 +14,13 @@ var Ne = (i, e, a) => new Promise((t, o) => {
14
14
  }, m = (c) => c.done ? t(c.value) : Promise.resolve(c.value).then(s, r);
15
15
  m((a = a.apply(i, e)).next());
16
16
  });
17
- import { a as Va, $ as Ha, S as qa, i as Wa, s as Ya, f as z, b as Ja, n as be, d as G, h as C, k as S, g as h, m as Ka, J as Xa, o as Za, K as Le, y as le, w as Z, j as w, l as W, q as we, x as Qa, r as D, v as L, B as re, L as wa, e as n, M as ya, C as xa, u as $a, z as ae, E as ei, p as ai, F as ii, G as ni, I as ti } from "./CasinoFilter-DrXgrXKK.js";
17
+ import { a as Ha, $ as Va, S as qa, i as Wa, s as Ya, f as z, b as Ja, n as be, d as G, h as C, k as S, g as h, m as Ka, J as Xa, o as Za, K as Le, y as le, w as Z, j as w, l as W, q as we, x as Qa, r as D, v as j, B as re, L as wa, e as n, M as ya, C as xa, u as $a, z as ae, E as ei, p as ai, F as ii, G as ni, I as ti } from "./CasinoFilter-DrXgrXKK.js";
18
18
  import { d as ia, i as oi, a as si } from "./CasinoGameThumbnailNd-Bots1GgV.js";
19
19
  function na(i, e) {
20
- Va(i, e);
20
+ Ha(i, e);
21
21
  }
22
22
  function li(i) {
23
- Ha.set(i);
23
+ Va.set(i);
24
24
  }
25
25
  const ta = {
26
26
  en: {
@@ -452,7 +452,7 @@ function ra(i) {
452
452
  ), u, f;
453
453
  return {
454
454
  c() {
455
- e = S("div"), a = S("h3"), o = L(t), s = W(), r = S("span"), m = L("("), u = L(c), f = L(")"), h(r, "class", "CategoryFavName"), h(a, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
455
+ e = S("div"), a = S("h3"), o = j(t), s = W(), r = S("span"), m = j("("), u = j(c), f = j(")"), h(r, "class", "CategoryFavName"), h(a, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
456
456
  },
457
457
  m(p, b) {
458
458
  C(p, e, b), w(e, a), w(a, o), w(a, s), w(a, r), w(r, m), w(r, u), w(r, f), i[59](a);
@@ -476,7 +476,7 @@ function fi(i) {
476
476
  ), t;
477
477
  return {
478
478
  c() {
479
- e = S("p"), t = L(a);
479
+ e = S("p"), t = j(a);
480
480
  },
481
481
  m(o, s) {
482
482
  C(o, e, s), w(e, t);
@@ -562,7 +562,7 @@ function ma(i) {
562
562
  let U = d(i)(i);
563
563
  return {
564
564
  c() {
565
- e = S("p"), a = ae("svg"), t = ae("rect"), o = ae("rect"), s = ae("circle"), r = ae("path"), m = ae("path"), c = ae("path"), u = ae("path"), f = W(), p = S("span"), M = L(b), I = W(), U.c(), g = W(), h(t, "x", "1"), h(t, "y", "18.053"), h(t, "width", "90.263"), h(t, "height", "90.263"), h(t, "rx", "12"), h(t, "stroke", "var(--emw--color-gray-150, #828282)"), h(t, "stroke-width", "1.5"), h(o, "x", "106.737"), h(o, "y", "56.737"), 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(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, #22B04E))"), h(s, "stroke-width", "1.5"), h(s, "stroke-dasharray", "5 0"), h(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"), h(r, "fill", "var(--emw--color-gray-150, #828282)"), h(m, "d", "M78 43h11v13H78V43z"), h(m, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), 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, #22B04E))"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(c, "stroke-linecap", "round"), h(c, "stroke-linejoin", "round"), h(u, "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(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(u, "stroke-width", "1.5"), h(u, "stroke-linecap", "round"), h(u, "stroke-linejoin", "round"), h(a, "width", "198"), h(a, "height", "148"), h(a, "viewBox", "0 0 198 148"), h(a, "fill", "none"), h(a, "xmlns", "http://www.w3.org/2000/svg"), h(p, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(e, "class", "NoFavoriteGames " + (we(
565
+ e = S("p"), a = ae("svg"), t = ae("rect"), o = ae("rect"), s = ae("circle"), r = ae("path"), m = ae("path"), c = ae("path"), u = ae("path"), f = W(), p = S("span"), M = j(b), I = W(), U.c(), g = W(), h(t, "x", "1"), h(t, "y", "18.053"), h(t, "width", "90.263"), h(t, "height", "90.263"), h(t, "rx", "12"), h(t, "stroke", "var(--emw--color-gray-150, #828282)"), h(t, "stroke-width", "1.5"), h(o, "x", "106.737"), h(o, "y", "56.737"), 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(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, #22B04E))"), h(s, "stroke-width", "1.5"), h(s, "stroke-dasharray", "5 0"), h(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"), h(r, "fill", "var(--emw--color-gray-150, #828282)"), h(m, "d", "M78 43h11v13H78V43z"), h(m, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), 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, #22B04E))"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(c, "stroke-linecap", "round"), h(c, "stroke-linejoin", "round"), h(u, "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(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(u, "stroke-width", "1.5"), h(u, "stroke-linecap", "round"), h(u, "stroke-linejoin", "round"), h(a, "width", "198"), h(a, "height", "148"), h(a, "viewBox", "0 0 198 148"), h(a, "fill", "none"), h(a, "xmlns", "http://www.w3.org/2000/svg"), h(p, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(e, "class", "NoFavoriteGames " + (we(
566
566
  /*userAgent*/
567
567
  i[44]
568
568
  ) ? "NoFavoriteGamesMobile" : ""));
@@ -587,7 +587,7 @@ function pi(i) {
587
587
  ), t;
588
588
  return {
589
589
  c() {
590
- e = S("span"), t = L(a), h(e, "class", "NoFavoriteText");
590
+ e = S("span"), t = j(a), h(e, "class", "NoFavoriteText");
591
591
  },
592
592
  m(o, s) {
593
593
  C(o, e, s), w(e, t);
@@ -609,7 +609,7 @@ function vi(i) {
609
609
  ), t;
610
610
  return {
611
611
  c() {
612
- e = S("span"), t = L(a), h(e, "class", "NoFavoriteText");
612
+ e = S("span"), t = j(a), h(e, "class", "NoFavoriteText");
613
613
  },
614
614
  m(o, s) {
615
615
  C(o, e, s), w(e, t);
@@ -1313,7 +1313,7 @@ function fa(i) {
1313
1313
  let u = c(i), f = u(i);
1314
1314
  return {
1315
1315
  c() {
1316
- e = S("div"), a = S("span"), a.innerHTML = '<div class="CategoryIconAnimation"></div> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>', t = W(), o = S("h3"), r = L(s), m = W(), f.c(), h(a, "class", "CategoryIcon"), h(o, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
1316
+ e = S("div"), a = S("span"), a.innerHTML = '<div class="CategoryIconAnimation"></div> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>', t = W(), o = S("h3"), r = j(s), m = W(), f.c(), h(a, "class", "CategoryIcon"), h(o, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
1317
1317
  },
1318
1318
  m(p, b) {
1319
1319
  C(p, e, b), w(e, a), w(e, t), w(e, o), w(o, r), i[55](o), w(e, m), f.m(e, null);
@@ -1372,7 +1372,7 @@ function Gi(i) {
1372
1372
  ), m, c, u, f;
1373
1373
  return {
1374
1374
  c() {
1375
- e = S("a"), a = S("span"), o = L(t), s = L(" ("), m = L(r), c = L(")"), h(a, "class", "CategoryLoadMore"), h(e, "class", "CategoryNameLink");
1375
+ e = S("a"), a = S("span"), o = j(t), s = j(" ("), m = j(r), c = j(")"), h(a, "class", "CategoryLoadMore"), h(e, "class", "CategoryNameLink");
1376
1376
  },
1377
1377
  m(p, b) {
1378
1378
  C(p, e, b), w(e, a), w(a, o), w(a, s), w(a, m), w(a, c), u || (f = $a(
@@ -1611,7 +1611,7 @@ function Ci(i) {
1611
1611
  ), t;
1612
1612
  return {
1613
1613
  c() {
1614
- e = S("p"), t = L(a), h(e, "class", "NoSearchResults");
1614
+ e = S("p"), t = j(a), h(e, "class", "NoSearchResults");
1615
1615
  },
1616
1616
  m(o, s) {
1617
1617
  C(o, e, s), w(e, t);
@@ -2010,7 +2010,7 @@ function Mi(i) {
2010
2010
  ), t;
2011
2011
  return {
2012
2012
  c() {
2013
- e = S("h3"), t = L(a), h(e, "class", "StatusText");
2013
+ e = S("h3"), t = j(a), h(e, "class", "StatusText");
2014
2014
  },
2015
2015
  m(o, s) {
2016
2016
  C(o, e, s), w(e, t);
@@ -2032,7 +2032,7 @@ function Ii(i) {
2032
2032
  ), t;
2033
2033
  return {
2034
2034
  c() {
2035
- e = S("h3"), t = L(a), h(e, "class", "StatusText");
2035
+ e = S("h3"), t = j(a), h(e, "class", "StatusText");
2036
2036
  },
2037
2037
  m(o, s) {
2038
2038
  C(o, e, s), w(e, t);
@@ -2054,7 +2054,7 @@ function Ei(i) {
2054
2054
  ), t;
2055
2055
  return {
2056
2056
  c() {
2057
- e = S("h3"), t = L(a), h(e, "class", "StatusText");
2057
+ e = S("h3"), t = j(a), h(e, "class", "StatusText");
2058
2058
  },
2059
2059
  m(o, s) {
2060
2060
  C(o, e, s), w(e, t);
@@ -2133,7 +2133,7 @@ function va(i) {
2133
2133
  ), t;
2134
2134
  return {
2135
2135
  c() {
2136
- e = S("p"), t = L(a), h(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (we(
2136
+ e = S("p"), t = j(a), h(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (we(
2137
2137
  /*userAgent*/
2138
2138
  i[44]
2139
2139
  ) ? "NoRecentSearchesMobile" : ""));
@@ -2473,7 +2473,7 @@ let Ti = 0;
2473
2473
  function Pi(i, e, a) {
2474
2474
  let t;
2475
2475
  Ka(i, ti, (l) => a(43, t = l));
2476
- let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: c = "" } = e, { favorites: u = "" } = e, { mbsource: f } = e, { clientstyling: p = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: M = "" } = e, { currency: I = "" } = e, { categoryid: g = "" } = e, { showgamename: d = "" } = e, { livecasino: O = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: Q = "false" } = e, { casinomygames: me = "false" } = e, { addfilterselector: ye = "false" } = e, { addsortingselector: ke = "false" } = e, { filterbylogo: Ke = "" } = e, { casinogamesgridslider: Xe = "false" } = e, { fetchviaevent: ce = "false" } = e, { showallpage: je = "casino" } = e, { actionevent: Te = "CategoryChange" } = e, { displayedgamecount: Ge = "10" } = e, { showallbuttongamescount: Ce = "10" } = e, { lobbyscreen: Pe = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: De = "10" } = e, x = !0, Ue = !1, Fe, ze, K = !0, Ze = window.navigator.userAgent, j, F = [], $ = !0, ne = 40, X = !1, Me = !1, ge = !1, Oe = !1, Be = !0, de = !1, ue, Ve, fe, he = !1, Y, Ie = !1, _e = new Array(1e4), pe = {}, He = "", te = "", Ee, qe, R, B = [], Re = new AbortController(), oe = { items: [], count: 0, name: "" };
2476
+ let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: c = "" } = e, { favorites: u = "" } = e, { mbsource: f } = e, { clientstyling: p = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: M = "" } = e, { currency: I = "" } = e, { categoryid: g = "" } = e, { showgamename: d = "" } = e, { livecasino: O = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: Q = "false" } = e, { casinomygames: me = "false" } = e, { addfilterselector: ye = "false" } = e, { addsortingselector: ke = "false" } = e, { filterbylogo: Ke = "" } = e, { casinogamesgridslider: Xe = "false" } = e, { fetchviaevent: ce = "false" } = e, { showallpage: je = "casino" } = e, { actionevent: Te = "CategoryChange" } = e, { displayedgamecount: Ge = "10" } = e, { showallbuttongamescount: Ce = "10" } = e, { lobbyscreen: Pe = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: De = "10" } = e, x = !0, Ue = !1, Fe, ze, K = !0, Ze = window.navigator.userAgent, T, F = [], $ = !0, ne = 40, X = !1, Me = !1, ge = !1, Oe = !1, Be = !0, de = !1, ue, He, fe, he = !1, Y, Ie = !1, _e = new Array(1e4), pe = {}, Ve = "", te = "", Ee, qe, R, B = [], Re = new AbortController(), oe = { items: [], count: 0, name: "" };
2477
2477
  const ka = () => {
2478
2478
  fetch(M).then((_) => _.json()).then((_) => {
2479
2479
  Object.keys(_).forEach((y) => {
@@ -2499,15 +2499,15 @@ function Pi(i, e, a) {
2499
2499
  method: "GET",
2500
2500
  headers: { "X-SessionID": l }
2501
2501
  }).then((k) => k.json()).then((k) => {
2502
- var J, T;
2502
+ var J, P;
2503
2503
  if (R = [], k) {
2504
2504
  (J = k.items) == null || J.forEach((q) => {
2505
2505
  q.gameModel && (R.push(q), B.includes(q.id) || B.push(q.id));
2506
2506
  });
2507
- const H = (T = Le(R)) == null ? void 0 : T.length;
2507
+ const V = (P = Le(R)) == null ? void 0 : P.length;
2508
2508
  window.postMessage({
2509
2509
  type: "UpdateFavoritesCount",
2510
- favoriteGamesLength: H
2510
+ favoriteGamesLength: V
2511
2511
  });
2512
2512
  } else
2513
2513
  R = [];
@@ -2526,12 +2526,12 @@ function Pi(i, e, a) {
2526
2526
  };
2527
2527
  return new Promise((N, A) => {
2528
2528
  fetch(y, E).then((k) => k.json()).then((k) => {
2529
- var T, H;
2529
+ var P, V;
2530
2530
  if (a(25, x = !1), R = [], k) {
2531
- (T = k.items) == null || T.forEach((se) => {
2531
+ (P = k.items) == null || P.forEach((se) => {
2532
2532
  se.gameModel && (R.push(se), B.includes(se.id) || B.push(se.id));
2533
2533
  });
2534
- const q = (H = Le(R)) == null ? void 0 : H.length;
2534
+ const q = (V = Le(R)) == null ? void 0 : V.length;
2535
2535
  window.postMessage({
2536
2536
  type: "UpdateFavoritesCount",
2537
2537
  favoriteGamesLength: q
@@ -2539,7 +2539,7 @@ function Pi(i, e, a) {
2539
2539
  } else
2540
2540
  R = [];
2541
2541
  g === "FAVORITES" && Je(R), F.forEach((q) => {
2542
- q.isFavorite = V(q.id);
2542
+ q.isFavorite = H(q.id);
2543
2543
  });
2544
2544
  let J = F;
2545
2545
  a(29, F = void 0), a(29, F = J), N(R);
@@ -2551,27 +2551,31 @@ function Pi(i, e, a) {
2551
2551
  Re && Re.abort(), Re = new AbortController();
2552
2552
  const N = Re.signal;
2553
2553
  a(25, x = !0);
2554
- let A = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), T = JSON.parse(localStorage.getItem("vendorSortingBy"));
2555
- const H = Se === "true" ? "*" : l;
2554
+ let A = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), P = JSON.parse(localStorage.getItem("vendorSortingBy"));
2555
+ const V = Se === "true" ? "*" : l;
2556
2556
  return (l.match(/\$/g) || []).length > 1 ? (A = l.split("$").slice(0, 2).join("$"), k = new URL(`${o}/v1/casino/groups/${s}/${A}/subGroups`)) : k = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((q, se) => {
2557
2557
  var aa;
2558
- if (k.searchParams.delete("pagination"), k.searchParams.append("expand", "games(vendor)"), k.searchParams.append("fields", "id,name,games"), k.searchParams.append("platform", Qa(Ze)), k.searchParams.append("pagination", `games(offset=${_},limit=${y})`), k.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((aa = J[H]) != null && aa.length))
2558
+ if (k.searchParams.delete("pagination"), k.searchParams.append("expand", "games(vendor)"), k.searchParams.append("fields", "id,name,games"), k.searchParams.append("platform", Qa(Ze)), k.searchParams.append("pagination", `games(offset=${_},limit=${y})`), k.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((aa = J[V]) != null && aa.length))
2559
2559
  if (Se === "true" || K === !1 && he === !1) {
2560
- let P = "";
2561
- a(34, Oe = !0), J[H].forEach((ee) => {
2562
- P = P + (P ? `,games(vendor(id=${ee}))` : `games(vendor(id=${ee}))`);
2563
- }), k.searchParams.append("filter", `${P}`);
2560
+ let L = "";
2561
+ a(34, Oe = !0), J[V].forEach((ee) => {
2562
+ L = L + (L ? `,games(vendor(id=${ee}))` : `games(vendor(id=${ee}))`);
2563
+ }), k.searchParams.append("filter", `${L}`);
2564
2564
  } else
2565
2565
  a(34, Oe = !1);
2566
- T && (T[l] ? T[l] && T[l] != "All" && (T[l] == "isNew" || T[l] == "advancedTags(name(hot))" ? (k.searchParams.append("sortedField", `games(${T[l]})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${T[l]})`)) : te && te != "All" && (te == "advancedTags(name(hot))" || te == "isNew" ? (k.searchParams.append("sortedField", `games(${te})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${te})`))), fetch(k, { signal: N }).then((P) => P.json()).then((P) => {
2567
- N.aborted || (a(25, x = !1), (l.match(/\$/g) || []).length > 1 && (P = P.items.filter((ee) => {
2566
+ P && (P[l] ? P[l] && P[l] != "All" && (P[l] == "isNew" || P[l] == "advancedTags(name(hot))" ? (k.searchParams.append("sortedField", `games(${P[l]})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${P[l]})`)) : te && te != "All" && (te == "advancedTags(name(hot))" || te == "isNew" ? (k.searchParams.append("sortedField", `games(${te})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${te})`))), fetch(k, { signal: N }).then((L) => {
2567
+ if (!L.ok)
2568
+ throw L.status === 404 && window.postMessage({ type: "NonExistentCategory" }, window.location.origin), new Error(`HTTP ${L.status}`);
2569
+ return L.json();
2570
+ }).then((L) => {
2571
+ N.aborted || (a(25, x = !1), (l.match(/\$/g) || []).length > 1 && (L = L.items.filter((ee) => {
2568
2572
  if (ee.id == l)
2569
2573
  return ee;
2570
- })[0]), a(54, qe = !0), a(26, Ue = !1), Ve = P.games.total, E && P.games.items.forEach((ee) => {
2571
- ee.isFavorite = V(ee.id);
2572
- }), a(36, de = !0), q(P));
2573
- }).catch((P) => {
2574
- P.name !== "AbortError" && (a(26, Ue = !0), console.error(P), se(P));
2574
+ })[0]), a(54, qe = !0), a(26, Ue = !1), He = L.games.total, E && L.games.items.forEach((ee) => {
2575
+ ee.isFavorite = H(ee.id);
2576
+ }), a(36, de = !0), q(L));
2577
+ }).catch((L) => {
2578
+ L.name !== "AbortError" && (a(26, Ue = !0), console.error(L), se(L));
2575
2579
  }).finally(() => {
2576
2580
  Ca();
2577
2581
  });
@@ -2589,15 +2593,15 @@ function Pi(i, e, a) {
2589
2593
  l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
2590
2594
  }, Sa = (l, _, y) => {
2591
2595
  l !== "" && (a(31, X = !1), a(27, K = !0), a(1, ye = "false"), a(2, ke = "false"), a(33, ge = !1), Ie = !1, a(30, $ = +_ > +y), ve(l, 0, +_).then((E) => {
2592
- a(28, j = E), a(29, F = j.games.items), F && F.forEach((N) => {
2593
- N.isFavorite = V(N.id);
2596
+ a(28, T = E), a(29, F = T.games.items), F && F.forEach((N) => {
2597
+ N.isFavorite = H(N.id);
2594
2598
  });
2595
2599
  }));
2596
2600
  }, Ye = (l) => {
2597
2601
  if (l.data)
2598
2602
  switch (l.data.type) {
2599
2603
  case "MostPlayedData":
2600
- g == "MOSTPLAYED" && (a(31, X = !1), a(27, K = !1), a(30, $ = !1), a(29, F = l.data.mostPlayedGames), a(28, j = {
2604
+ g == "MOSTPLAYED" && (a(31, X = !1), a(27, K = !1), a(30, $ = !1), a(29, F = l.data.mostPlayedGames), a(28, T = {
2601
2605
  id: "MOSTPLAYED",
2602
2606
  name: "Most Played Games",
2603
2607
  games: {
@@ -2606,11 +2610,11 @@ function Pi(i, e, a) {
2606
2610
  items: l.data.mostPlayedGames
2607
2611
  }
2608
2612
  }), F && F.forEach((_) => {
2609
- _.isFavorite = V(_.id);
2613
+ _.isFavorite = H(_.id);
2610
2614
  })), a(25, x = !1);
2611
2615
  break;
2612
2616
  case "LastPlayedData":
2613
- g == "LASTPLAYED" && (a(31, X = !1), a(27, K = !1), a(30, $ = !1), a(29, F = l.data.lastPlayedGames), a(28, j = {
2617
+ g == "LASTPLAYED" && (a(31, X = !1), a(27, K = !1), a(30, $ = !1), a(29, F = l.data.lastPlayedGames), a(28, T = {
2614
2618
  id: "LASTPLAYED",
2615
2619
  name: "Last Played Games",
2616
2620
  games: {
@@ -2619,12 +2623,12 @@ function Pi(i, e, a) {
2619
2623
  items: l.data.lastPlayedGames
2620
2624
  }
2621
2625
  }), F && F.forEach((_) => {
2622
- _.isFavorite = V(_.id);
2626
+ _.isFavorite = H(_.id);
2623
2627
  })), a(25, x = !1);
2624
2628
  break;
2625
2629
  case "RecentSearchData":
2626
2630
  a(31, X = !0), a(32, Me = !0), l.data.searchData.length > 0 ? (a(29, F = l.data.searchData), a(35, Be = !0), F && F.forEach((_) => {
2627
- _.isFavorite = V(_.id);
2631
+ _.isFavorite = H(_.id);
2628
2632
  })) : (a(29, F = []), a(35, Be = !1));
2629
2633
  break;
2630
2634
  case "OutOfRecentSearches":
@@ -2632,13 +2636,13 @@ function Pi(i, e, a) {
2632
2636
  break;
2633
2637
  case "SearchData":
2634
2638
  a(31, X = !0), a(32, Me = !1), a(29, F = l.data.searchData.items || []), a(33, ge = !0), l.data.receivedFavoriteResults && (R = l.data.receivedFavoriteResults.items), F && F.forEach((_) => {
2635
- _.isFavorite = V(_.id);
2639
+ _.isFavorite = H(_.id);
2636
2640
  });
2637
2641
  break;
2638
2642
  case `CategoryData_${g}`:
2639
2643
  a(31, X = !1), a(27, K = !0), a(1, ye = "false"), a(2, ke = "false"), a(33, ge = !1), Ie = !1, ve(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
2640
- a(28, j = _), a(29, F = j.games.items), a(30, $ = !!(Ve <= l.data.visiblegames && K)), F && F.forEach((y) => {
2641
- y.isFavorite = V(y.id);
2644
+ a(28, T = _), a(29, F = T.games.items), a(30, $ = !!(He <= l.data.visiblegames && K)), F && F.forEach((y) => {
2645
+ y.isFavorite = H(y.id);
2642
2646
  });
2643
2647
  });
2644
2648
  break;
@@ -2647,7 +2651,7 @@ function Pi(i, e, a) {
2647
2651
  break;
2648
2652
  case "ApplySorter":
2649
2653
  a(0, g = l.data.itemId), te = l.data.sortBy, ve(g, 0, ne).then((_) => {
2650
- a(28, j = _), a(29, F = j.games.items), a(30, $ = !1);
2654
+ a(28, T = _), a(29, F = T.games.items), a(30, $ = !1);
2651
2655
  });
2652
2656
  break;
2653
2657
  case "CategoryUpdate":
@@ -2668,7 +2672,7 @@ function Pi(i, e, a) {
2668
2672
  }
2669
2673
  }, xe = (l, _ = !1) => {
2670
2674
  a(31, X = !1), a(27, K = Pe === "true"), a(33, ge = !1), Ie = !0, a(36, de = !1), a(0, g = l), g !== "MOSTPLAYED" && !_ && a(30, $ = !1), me !== "true" && (!R && m && We(m, c), ve(g, 0, ne).then((y) => {
2671
- a(28, j = y), a(29, F = j.games.items);
2675
+ a(28, T = y), a(29, F = T.games.items);
2672
2676
  }).finally(
2673
2677
  /*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
2674
2678
  if (shownCategoryData.length < 10 && e.data.origin ==! 'filters') {
@@ -2689,10 +2693,10 @@ function Pi(i, e, a) {
2689
2693
  }
2690
2694
  ));
2691
2695
  }, Fa = () => {
2692
- j && (a(29, F = j.games.items), F.forEach((l) => {
2693
- l.isFavorite = V(l.id);
2696
+ T && (a(29, F = T.games.items), F.forEach((l) => {
2697
+ l.isFavorite = H(l.id);
2694
2698
  }));
2695
- }, V = (l) => {
2699
+ }, H = (l) => {
2696
2700
  var _;
2697
2701
  return (_ = R == null ? void 0 : R.some((y) => y.id === l)) != null ? _ : !1;
2698
2702
  };
@@ -2743,7 +2747,7 @@ function Pi(i, e, a) {
2743
2747
  R = E.items, ce ? (R.forEach((k) => {
2744
2748
  B.includes(k.id) || B.push(k.id);
2745
2749
  }), Fa()) : R.forEach((k) => {
2746
- k.isFavorite = V(k.id);
2750
+ k.isFavorite = H(k.id);
2747
2751
  });
2748
2752
  const N = (A = Le(R)) == null ? void 0 : A.length;
2749
2753
  g === "FAVORITES" && (window.postMessage({
@@ -2761,9 +2765,9 @@ function Pi(i, e, a) {
2761
2765
  y.gameModel && (y.gameModel.isFavorite = !0);
2762
2766
  }), a(42, oe.items = Le(_, oe.items), oe), a(42, oe.name = "Favorites", oe), a(25, x = !1);
2763
2767
  }, Ia = (l) => {
2764
- ne += 1, a(36, de = !0), ne <= Ve && ve(l, Ti, ne).then((_) => {
2765
- a(28, j = _), j.games.items.length > F.length && (a(29, F = j.games.items), F.forEach((y) => {
2766
- y.isFavorite = V(y.id);
2768
+ ne += 1, a(36, de = !0), ne <= He && ve(l, Ti, ne).then((_) => {
2769
+ a(28, T = _), T.games.items.length > F.length && (a(29, F = T.games.items), F.forEach((y) => {
2770
+ y.isFavorite = H(y.id);
2767
2771
  })), a(36, de = !1);
2768
2772
  });
2769
2773
  }, Ea = (l) => {
@@ -2773,8 +2777,8 @@ function Pi(i, e, a) {
2773
2777
  let y = "", E = 999999999999, N;
2774
2778
  const A = new Date(Date.now());
2775
2779
  return _.forEach((k, J) => {
2776
- const T = new Date(k.schedules[0].startTime), H = new Date(k.schedules[0].endTime);
2777
- ia(new Date(H), new Date(A)) < E && (E = ia(new Date(H), new Date(A)), N = J), oi(new Date(A), new Date(T)) && si(new Date(A), new Date(H)) && (y = _[N].name);
2780
+ const P = new Date(k.schedules[0].startTime), V = new Date(k.schedules[0].endTime);
2781
+ ia(new Date(V), new Date(A)) < E && (E = ia(new Date(V), new Date(A)), N = J), oi(new Date(A), new Date(P)) && si(new Date(A), new Date(V)) && (y = _[N].name);
2778
2782
  }), y;
2779
2783
  }, ea = (l) => {
2780
2784
  a(30, $ = !1), window.postMessage(
@@ -2801,7 +2805,7 @@ function Pi(i, e, a) {
2801
2805
  break;
2802
2806
  }
2803
2807
  }, Aa = () => {
2804
- document[Ee] ? a(41, He = "disconnect") : a(41, He = "connect");
2808
+ document[Ee] ? a(41, Ve = "disconnect") : a(41, Ve = "connect");
2805
2809
  }, Na = () => {
2806
2810
  Ie && _e.forEach((l, _) => {
2807
2811
  l && (l.elems_index = _, Ae.observe(l));
@@ -2819,7 +2823,7 @@ function Pi(i, e, a) {
2819
2823
  fe = l, a(38, fe);
2820
2824
  });
2821
2825
  }
2822
- const Ta = (l) => ea(j.id);
2826
+ const Ta = (l) => ea(T.id);
2823
2827
  function Pa(l, _) {
2824
2828
  le[l ? "unshift" : "push"](() => {
2825
2829
  _e[_] = l, a(24, _e);
@@ -2889,7 +2893,7 @@ function Pi(i, e, a) {
2889
2893
  x,
2890
2894
  Ue,
2891
2895
  K,
2892
- j,
2896
+ T,
2893
2897
  F,
2894
2898
  $,
2895
2899
  X,
@@ -2902,7 +2906,7 @@ function Pi(i, e, a) {
2902
2906
  fe,
2903
2907
  he,
2904
2908
  pe,
2905
- He,
2909
+ Ve,
2906
2910
  oe,
2907
2911
  t,
2908
2912
  Ze,