@everymatrix/casino-games-category-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.
- package/components/{CasinoGamesCategorySectionNd-D0VaOjqH.cjs → CasinoGamesCategorySectionNd-BOT3FuPS.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-BRVgRxU9.js → CasinoGamesCategorySectionNd-C6MdvEPp.js} +58 -54
- package/components/{CasinoGamesCategorySectionNd-Bqqbhlto.js → CasinoGamesCategorySectionNd-CygXg7ff.js} +66 -62
- package/es2015/casino-games-category-section-nd.cjs +1 -1
- package/es2015/casino-games-category-section-nd.js +1 -1
- package/esnext/casino-games-category-section-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Oa, $ as Ba, c as
|
|
1
|
+
import { a as Oa, $ as Ba, c as Ha, S as Va, i as qa, s as Wa, f as z, b as Ya, n as pe, d as k, j as G, l as C, h, o as Ja, J as Ka, p as Xa, K as Ee, z as oe, x as K, k as w, m as V, r as ve, y as Za, u as D, w as T, C as se, L as _a, g as n, M as pa, D as Qa, v as xa, A as $, F as $a, G as ei, q as ai, I as ii } from "./CasinoFilter-C5ur89pX.js";
|
|
2
2
|
import { d as xe, i as ni, a as ti } from "./CasinoGameThumbnailNd-DInhr_A0.js";
|
|
3
3
|
function $e(i, e) {
|
|
4
4
|
Oa(i, e);
|
|
@@ -319,7 +319,7 @@ function ri(i) {
|
|
|
319
319
|
let c = m(i), u = c(i);
|
|
320
320
|
return {
|
|
321
321
|
c() {
|
|
322
|
-
e = C("div"), a = C("div"), r.c(), t =
|
|
322
|
+
e = C("div"), a = C("div"), r.c(), t = V(), u.c(), h(a, "class", "CasinoGamesHeader Searched " + (ve(
|
|
323
323
|
/*userAgent*/
|
|
324
324
|
i[44]
|
|
325
325
|
) ? "CasinoGamesHeaderMobile" : "")), h(e, "class", "CasinoGamesContainer");
|
|
@@ -377,7 +377,7 @@ function ci(i) {
|
|
|
377
377
|
let m = r(i), c = m(i);
|
|
378
378
|
return {
|
|
379
379
|
c() {
|
|
380
|
-
e = C("div"), s && s.c(), a =
|
|
380
|
+
e = C("div"), s && s.c(), a = V(), t = C("ul"), c.c(), h(t, "class", o = /*favoriteGamesData*/
|
|
381
381
|
(i[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}"), h(e, "class", "CasinoGamesContainer");
|
|
382
382
|
},
|
|
383
383
|
m(u, f) {
|
|
@@ -412,7 +412,7 @@ function gi(i) {
|
|
|
412
412
|
let s = o(i), r = s(i);
|
|
413
413
|
return {
|
|
414
414
|
c() {
|
|
415
|
-
e = C("div"), t && t.c(), a =
|
|
415
|
+
e = C("div"), t && t.c(), a = V(), r.c(), h(e, "class", "CasinoGamesContainer");
|
|
416
416
|
},
|
|
417
417
|
m(m, c) {
|
|
418
418
|
G(m, e, c), t && t.m(e, null), w(e, a), r.m(e, null);
|
|
@@ -436,7 +436,7 @@ function ta(i) {
|
|
|
436
436
|
), u, f;
|
|
437
437
|
return {
|
|
438
438
|
c() {
|
|
439
|
-
e = C("div"), a = C("h3"), o =
|
|
439
|
+
e = C("div"), a = C("h3"), o = T(t), s = V(), r = C("span"), m = T("("), u = T(c), f = T(")"), h(r, "class", "CategoryFavName"), h(a, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
|
|
440
440
|
},
|
|
441
441
|
m(p, b) {
|
|
442
442
|
G(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);
|
|
@@ -460,7 +460,7 @@ function di(i) {
|
|
|
460
460
|
), t;
|
|
461
461
|
return {
|
|
462
462
|
c() {
|
|
463
|
-
e = C("p"), t =
|
|
463
|
+
e = C("p"), t = T(a);
|
|
464
464
|
},
|
|
465
465
|
m(o, s) {
|
|
466
466
|
G(o, e, s), w(e, t);
|
|
@@ -546,7 +546,7 @@ function oa(i) {
|
|
|
546
546
|
let U = d(i)(i);
|
|
547
547
|
return {
|
|
548
548
|
c() {
|
|
549
|
-
e = C("p"), a = $("svg"), t = $("rect"), o = $("rect"), s = $("circle"), r = $("path"), m = $("path"), c = $("path"), u = $("path"), f =
|
|
549
|
+
e = C("p"), a = $("svg"), t = $("rect"), o = $("rect"), s = $("circle"), r = $("path"), m = $("path"), c = $("path"), u = $("path"), f = V(), p = C("span"), M = T(b), I = V(), U.c(), g = V(), 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 " + (ve(
|
|
550
550
|
/*userAgent*/
|
|
551
551
|
i[44]
|
|
552
552
|
) ? "NoFavoriteGamesMobile" : ""));
|
|
@@ -571,7 +571,7 @@ function hi(i) {
|
|
|
571
571
|
), t;
|
|
572
572
|
return {
|
|
573
573
|
c() {
|
|
574
|
-
e = C("span"), t =
|
|
574
|
+
e = C("span"), t = T(a), h(e, "class", "NoFavoriteText");
|
|
575
575
|
},
|
|
576
576
|
m(o, s) {
|
|
577
577
|
G(o, e, s), w(e, t);
|
|
@@ -593,7 +593,7 @@ function _i(i) {
|
|
|
593
593
|
), t;
|
|
594
594
|
return {
|
|
595
595
|
c() {
|
|
596
|
-
e = C("span"), t =
|
|
596
|
+
e = C("span"), t = T(a), h(e, "class", "NoFavoriteText");
|
|
597
597
|
},
|
|
598
598
|
m(o, s) {
|
|
599
599
|
G(o, e, s), w(e, t);
|
|
@@ -1293,7 +1293,7 @@ function ca(i) {
|
|
|
1293
1293
|
let u = c(i), f = u(i);
|
|
1294
1294
|
return {
|
|
1295
1295
|
c() {
|
|
1296
|
-
e = C("div"), a = C("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 =
|
|
1296
|
+
e = C("div"), a = C("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 = V(), o = C("h3"), r = T(s), m = V(), f.c(), h(a, "class", "CategoryIcon"), h(o, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
|
|
1297
1297
|
},
|
|
1298
1298
|
m(p, b) {
|
|
1299
1299
|
G(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);
|
|
@@ -1319,7 +1319,7 @@ function wi(i) {
|
|
|
1319
1319
|
);
|
|
1320
1320
|
return {
|
|
1321
1321
|
c() {
|
|
1322
|
-
e = C("div"), o && o.c(), a =
|
|
1322
|
+
e = C("div"), o && o.c(), a = V(), s && s.c(), h(e, "class", t = /*addfilterselector*/
|
|
1323
1323
|
i[1] == "true" && /*usesinglevendorfilter*/
|
|
1324
1324
|
i[22] === "false" && /*addsortingselector*/
|
|
1325
1325
|
i[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer");
|
|
@@ -1352,7 +1352,7 @@ function yi(i) {
|
|
|
1352
1352
|
), m, c, u, f;
|
|
1353
1353
|
return {
|
|
1354
1354
|
c() {
|
|
1355
|
-
e = C("a"), a = C("span"), o =
|
|
1355
|
+
e = C("a"), a = C("span"), o = T(t), s = T(" ("), m = T(r), c = T(")"), h(a, "class", "CategoryLoadMore"), h(e, "class", "CategoryNameLink");
|
|
1356
1356
|
},
|
|
1357
1357
|
m(p, b) {
|
|
1358
1358
|
G(p, e, b), w(e, a), w(a, o), w(a, s), w(a, m), w(a, c), u || (f = xa(
|
|
@@ -1591,7 +1591,7 @@ function ki(i) {
|
|
|
1591
1591
|
), t;
|
|
1592
1592
|
return {
|
|
1593
1593
|
c() {
|
|
1594
|
-
e = C("p"), t =
|
|
1594
|
+
e = C("p"), t = T(a), h(e, "class", "NoSearchResults");
|
|
1595
1595
|
},
|
|
1596
1596
|
m(o, s) {
|
|
1597
1597
|
G(o, e, s), w(e, t);
|
|
@@ -1990,7 +1990,7 @@ function Fi(i) {
|
|
|
1990
1990
|
), t;
|
|
1991
1991
|
return {
|
|
1992
1992
|
c() {
|
|
1993
|
-
e = C("h3"), t =
|
|
1993
|
+
e = C("h3"), t = T(a), h(e, "class", "StatusText");
|
|
1994
1994
|
},
|
|
1995
1995
|
m(o, s) {
|
|
1996
1996
|
G(o, e, s), w(e, t);
|
|
@@ -2012,7 +2012,7 @@ function zi(i) {
|
|
|
2012
2012
|
), t;
|
|
2013
2013
|
return {
|
|
2014
2014
|
c() {
|
|
2015
|
-
e = C("h3"), t =
|
|
2015
|
+
e = C("h3"), t = T(a), h(e, "class", "StatusText");
|
|
2016
2016
|
},
|
|
2017
2017
|
m(o, s) {
|
|
2018
2018
|
G(o, e, s), w(e, t);
|
|
@@ -2034,7 +2034,7 @@ function Mi(i) {
|
|
|
2034
2034
|
), t;
|
|
2035
2035
|
return {
|
|
2036
2036
|
c() {
|
|
2037
|
-
e = C("h3"), t =
|
|
2037
|
+
e = C("h3"), t = T(a), h(e, "class", "StatusText");
|
|
2038
2038
|
},
|
|
2039
2039
|
m(o, s) {
|
|
2040
2040
|
G(o, e, s), w(e, t);
|
|
@@ -2080,7 +2080,7 @@ function Ei(i) {
|
|
|
2080
2080
|
}
|
|
2081
2081
|
return {
|
|
2082
2082
|
c() {
|
|
2083
|
-
s && s.c(), e =
|
|
2083
|
+
s && s.c(), e = V(), a = C("ul");
|
|
2084
2084
|
for (let c = 0; c < t.length; c += 1)
|
|
2085
2085
|
t[c].c();
|
|
2086
2086
|
h(a, "class", "CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap");
|
|
@@ -2113,7 +2113,7 @@ function fa(i) {
|
|
|
2113
2113
|
), t;
|
|
2114
2114
|
return {
|
|
2115
2115
|
c() {
|
|
2116
|
-
e = C("p"), t =
|
|
2116
|
+
e = C("p"), t = T(a), h(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (ve(
|
|
2117
2117
|
/*userAgent*/
|
|
2118
2118
|
i[44]
|
|
2119
2119
|
) ? "NoRecentSearchesMobile" : ""));
|
|
@@ -2453,7 +2453,7 @@ let Li = 0;
|
|
|
2453
2453
|
function ji(i, e, a) {
|
|
2454
2454
|
let t;
|
|
2455
2455
|
Ja(i, $a, (l) => a(43, t = l));
|
|
2456
|
-
let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: c = "" } = e, { favorites: u = "" } = e, { mbsource: f } = e, { clientstyling: p = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: M = "" } = e, { currency: I = "" } = e, { categoryid: g = "" } = e, { showgamename: d = "" } = e, { livecasino: ne = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: X = "false" } = e, { casinomygames: le = "false" } = e, { addfilterselector: be = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: qe = "" } = e, { casinogamesgridslider: We = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Re = "casino" } = e, { actionevent: Ae = "CategoryChange" } = e, { displayedgamecount: ye = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { lobbyscreen: Ne = "true" } = e, { usesinglevendorfilter: Ge = "false" } = e, { visiblegames: Le = "10" } = e, Z = !0, je = !1, Ce, Se, W = !0, Ye = window.navigator.userAgent,
|
|
2456
|
+
let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: c = "" } = e, { favorites: u = "" } = e, { mbsource: f } = e, { clientstyling: p = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: M = "" } = e, { currency: I = "" } = e, { categoryid: g = "" } = e, { showgamename: d = "" } = e, { livecasino: ne = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: X = "false" } = e, { casinomygames: le = "false" } = e, { addfilterselector: be = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: qe = "" } = e, { casinogamesgridslider: We = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Re = "casino" } = e, { actionevent: Ae = "CategoryChange" } = e, { displayedgamecount: ye = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { lobbyscreen: Ne = "true" } = e, { usesinglevendorfilter: Ge = "false" } = e, { visiblegames: Le = "10" } = e, Z = !0, je = !1, Ce, Se, W = !0, Ye = window.navigator.userAgent, P, F = [], Q = !0, ae = 40, Y = !1, Fe = !1, me = !1, Te = !1, Pe = !0, ce = !1, ge, De, de, ue = !1, q, ze = !1, fe = new Array(1e4), he = {}, Ue = "", ie = "", Me, Oe, N, O = [], Ie = new AbortController(), te = { items: [], count: 0, name: "" };
|
|
2457
2457
|
const va = () => {
|
|
2458
2458
|
fetch(M).then((_) => _.json()).then((_) => {
|
|
2459
2459
|
Object.keys(_).forEach((y) => {
|
|
@@ -2490,7 +2490,7 @@ function ji(i, e, a) {
|
|
|
2490
2490
|
});
|
|
2491
2491
|
} else
|
|
2492
2492
|
N = [];
|
|
2493
|
-
g === "FAVORITES" &&
|
|
2493
|
+
g === "FAVORITES" && Ve(N), y(N);
|
|
2494
2494
|
}).catch((S) => {
|
|
2495
2495
|
console.error(S), R(S);
|
|
2496
2496
|
});
|
|
@@ -2506,8 +2506,8 @@ function ji(i, e, a) {
|
|
|
2506
2506
|
return new Promise((A, E) => {
|
|
2507
2507
|
fetch(y, R).then((S) => S.json()).then((S) => {
|
|
2508
2508
|
if (a(25, Z = !1), N = [], S) {
|
|
2509
|
-
S.items?.forEach((
|
|
2510
|
-
|
|
2509
|
+
S.items?.forEach((H) => {
|
|
2510
|
+
H.gameModel && (N.push(H), O.includes(H.id) || O.push(H.id));
|
|
2511
2511
|
});
|
|
2512
2512
|
const L = Ee(N)?.length;
|
|
2513
2513
|
window.postMessage({
|
|
@@ -2516,7 +2516,7 @@ function ji(i, e, a) {
|
|
|
2516
2516
|
});
|
|
2517
2517
|
} else
|
|
2518
2518
|
N = [];
|
|
2519
|
-
g === "FAVORITES" &&
|
|
2519
|
+
g === "FAVORITES" && Ve(N), F.forEach((L) => {
|
|
2520
2520
|
L.isFavorite = B(L.id);
|
|
2521
2521
|
});
|
|
2522
2522
|
let J = F;
|
|
@@ -2530,25 +2530,29 @@ function ji(i, e, a) {
|
|
|
2530
2530
|
const A = Ie.signal;
|
|
2531
2531
|
a(25, Z = !0);
|
|
2532
2532
|
let E = "", S = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), L = JSON.parse(localStorage.getItem("vendorSortingBy"));
|
|
2533
|
-
const
|
|
2533
|
+
const H = Ge === "true" ? "*" : l;
|
|
2534
2534
|
return (l.match(/\$/g) || []).length > 1 ? (E = l.split("$").slice(0, 2).join("$"), S = new URL(`${o}/v1/casino/groups/${s}/${E}/subGroups`)) : S = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((Da, Ua) => {
|
|
2535
|
-
if (S.searchParams.delete("pagination"), S.searchParams.append("expand", "games(vendor)"), S.searchParams.append("fields", "id,name,games"), S.searchParams.append("platform", Za(Ye)), S.searchParams.append("pagination", `games(offset=${_},limit=${y})`), S.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && J[
|
|
2535
|
+
if (S.searchParams.delete("pagination"), S.searchParams.append("expand", "games(vendor)"), S.searchParams.append("fields", "id,name,games"), S.searchParams.append("platform", Za(Ye)), S.searchParams.append("pagination", `games(offset=${_},limit=${y})`), S.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && J[H]?.length)
|
|
2536
2536
|
if (Ge === "true" || W === !1 && ue === !1) {
|
|
2537
|
-
let
|
|
2538
|
-
a(34, Te = !0), J[
|
|
2539
|
-
|
|
2540
|
-
}), S.searchParams.append("filter", `${
|
|
2537
|
+
let j = "";
|
|
2538
|
+
a(34, Te = !0), J[H].forEach((x) => {
|
|
2539
|
+
j = j + (j ? `,games(vendor(id=${x}))` : `games(vendor(id=${x}))`);
|
|
2540
|
+
}), S.searchParams.append("filter", `${j}`);
|
|
2541
2541
|
} else
|
|
2542
2542
|
a(34, Te = !1);
|
|
2543
|
-
L && (L[l] ? L[l] && L[l] != "All" && (L[l] == "isNew" || L[l] == "advancedTags(name(hot))" ? (S.searchParams.append("sortedField", `games(${L[l]})`), S.searchParams.append("orderBy", "DES")) : S.searchParams.append("sortedField", `games(${L[l]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (S.searchParams.append("sortedField", `games(${ie})`), S.searchParams.append("orderBy", "DES")) : S.searchParams.append("sortedField", `games(${ie})`))), fetch(S, { signal: A }).then((
|
|
2544
|
-
|
|
2543
|
+
L && (L[l] ? L[l] && L[l] != "All" && (L[l] == "isNew" || L[l] == "advancedTags(name(hot))" ? (S.searchParams.append("sortedField", `games(${L[l]})`), S.searchParams.append("orderBy", "DES")) : S.searchParams.append("sortedField", `games(${L[l]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (S.searchParams.append("sortedField", `games(${ie})`), S.searchParams.append("orderBy", "DES")) : S.searchParams.append("sortedField", `games(${ie})`))), fetch(S, { signal: A }).then((j) => {
|
|
2544
|
+
if (!j.ok)
|
|
2545
|
+
throw j.status === 404 && window.postMessage({ type: "NonExistentCategory" }, window.location.origin), new Error(`HTTP ${j.status}`);
|
|
2546
|
+
return j.json();
|
|
2547
|
+
}).then((j) => {
|
|
2548
|
+
A.aborted || (a(25, Z = !1), (l.match(/\$/g) || []).length > 1 && (j = j.items.filter((x) => {
|
|
2545
2549
|
if (x.id == l)
|
|
2546
2550
|
return x;
|
|
2547
|
-
})[0]), a(54, Oe = !0), a(26, je = !1), De =
|
|
2551
|
+
})[0]), a(54, Oe = !0), a(26, je = !1), De = j.games.total, R && j.games.items.forEach((x) => {
|
|
2548
2552
|
x.isFavorite = B(x.id);
|
|
2549
|
-
}), a(36, ce = !0), Da(
|
|
2550
|
-
}).catch((
|
|
2551
|
-
|
|
2553
|
+
}), a(36, ce = !0), Da(j));
|
|
2554
|
+
}).catch((j) => {
|
|
2555
|
+
j.name !== "AbortError" && (a(26, je = !0), console.error(j), Ua(j));
|
|
2552
2556
|
}).finally(() => {
|
|
2553
2557
|
wa();
|
|
2554
2558
|
});
|
|
@@ -2566,15 +2570,15 @@ function ji(i, e, a) {
|
|
|
2566
2570
|
l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
|
|
2567
2571
|
}, ya = (l, _, y) => {
|
|
2568
2572
|
l !== "" && (a(31, Y = !1), a(27, W = !0), a(1, be = "false"), a(2, we = "false"), a(33, me = !1), ze = !1, a(30, Q = +_ > +y), _e(l, 0, +_).then((R) => {
|
|
2569
|
-
a(28,
|
|
2573
|
+
a(28, P = R), a(29, F = P.games.items), F && F.forEach((A) => {
|
|
2570
2574
|
A.isFavorite = B(A.id);
|
|
2571
2575
|
});
|
|
2572
2576
|
}));
|
|
2573
|
-
},
|
|
2577
|
+
}, He = (l) => {
|
|
2574
2578
|
if (l.data)
|
|
2575
2579
|
switch (l.data.type) {
|
|
2576
2580
|
case "MostPlayedData":
|
|
2577
|
-
g == "MOSTPLAYED" && (a(31, Y = !1), a(27, W = !1), a(30, Q = !1), a(29, F = l.data.mostPlayedGames), a(28,
|
|
2581
|
+
g == "MOSTPLAYED" && (a(31, Y = !1), a(27, W = !1), a(30, Q = !1), a(29, F = l.data.mostPlayedGames), a(28, P = {
|
|
2578
2582
|
id: "MOSTPLAYED",
|
|
2579
2583
|
name: "Most Played Games",
|
|
2580
2584
|
games: {
|
|
@@ -2587,7 +2591,7 @@ function ji(i, e, a) {
|
|
|
2587
2591
|
})), a(25, Z = !1);
|
|
2588
2592
|
break;
|
|
2589
2593
|
case "LastPlayedData":
|
|
2590
|
-
g == "LASTPLAYED" && (a(31, Y = !1), a(27, W = !1), a(30, Q = !1), a(29, F = l.data.lastPlayedGames), a(28,
|
|
2594
|
+
g == "LASTPLAYED" && (a(31, Y = !1), a(27, W = !1), a(30, Q = !1), a(29, F = l.data.lastPlayedGames), a(28, P = {
|
|
2591
2595
|
id: "LASTPLAYED",
|
|
2592
2596
|
name: "Last Played Games",
|
|
2593
2597
|
games: {
|
|
@@ -2614,7 +2618,7 @@ function ji(i, e, a) {
|
|
|
2614
2618
|
break;
|
|
2615
2619
|
case `CategoryData_${g}`:
|
|
2616
2620
|
a(31, Y = !1), a(27, W = !0), a(1, be = "false"), a(2, we = "false"), a(33, me = !1), ze = !1, _e(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
|
|
2617
|
-
a(28,
|
|
2621
|
+
a(28, P = _), a(29, F = P.games.items), a(30, Q = !!(De <= l.data.visiblegames && W)), F && F.forEach((y) => {
|
|
2618
2622
|
y.isFavorite = B(y.id);
|
|
2619
2623
|
});
|
|
2620
2624
|
});
|
|
@@ -2624,7 +2628,7 @@ function ji(i, e, a) {
|
|
|
2624
2628
|
break;
|
|
2625
2629
|
case "ApplySorter":
|
|
2626
2630
|
a(0, g = l.data.itemId), ie = l.data.sortBy, _e(g, 0, ae).then((_) => {
|
|
2627
|
-
a(28,
|
|
2631
|
+
a(28, P = _), a(29, F = P.games.items), a(30, Q = !1);
|
|
2628
2632
|
});
|
|
2629
2633
|
break;
|
|
2630
2634
|
case "CategoryUpdate":
|
|
@@ -2645,7 +2649,7 @@ function ji(i, e, a) {
|
|
|
2645
2649
|
}
|
|
2646
2650
|
}, Xe = (l, _ = !1) => {
|
|
2647
2651
|
a(31, Y = !1), a(27, W = Ne === "true"), a(33, me = !1), ze = !0, a(36, ce = !1), a(0, g = l), g !== "MOSTPLAYED" && !_ && a(30, Q = !1), le !== "true" && (!N && m && Be(m, c), _e(g, 0, ae).then((y) => {
|
|
2648
|
-
a(28,
|
|
2652
|
+
a(28, P = y), a(29, F = P.games.items);
|
|
2649
2653
|
}).finally(
|
|
2650
2654
|
/*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
|
|
2651
2655
|
if (shownCategoryData.length < 10 && e.data.origin ==! 'filters') {
|
|
@@ -2666,7 +2670,7 @@ function ji(i, e, a) {
|
|
|
2666
2670
|
}
|
|
2667
2671
|
));
|
|
2668
2672
|
}, ka = () => {
|
|
2669
|
-
|
|
2673
|
+
P && (a(29, F = P.games.items), F.forEach((l) => {
|
|
2670
2674
|
l.isFavorite = B(l.id);
|
|
2671
2675
|
}));
|
|
2672
2676
|
}, B = (l) => N?.some((_) => _.id === l) ?? !1;
|
|
@@ -2721,10 +2725,10 @@ function ji(i, e, a) {
|
|
|
2721
2725
|
g === "FAVORITES" && (window.postMessage({
|
|
2722
2726
|
type: "UpdateFavoritesCount",
|
|
2723
2727
|
favoriteGamesLength: A
|
|
2724
|
-
}),
|
|
2728
|
+
}), Ve(N));
|
|
2725
2729
|
}).catch((R) => {
|
|
2726
2730
|
console.error(R);
|
|
2727
|
-
}),
|
|
2731
|
+
}), Ve = (l) => {
|
|
2728
2732
|
if (!l)
|
|
2729
2733
|
return;
|
|
2730
2734
|
let _;
|
|
@@ -2733,7 +2737,7 @@ function ji(i, e, a) {
|
|
|
2733
2737
|
}), a(42, te.items = Ee(_, te.items), te), a(42, te.name = "Favorites", te), a(25, Z = !1);
|
|
2734
2738
|
}, Sa = (l) => {
|
|
2735
2739
|
ae += 1, a(36, ce = !0), ae <= De && _e(l, Li, ae).then((_) => {
|
|
2736
|
-
a(28,
|
|
2740
|
+
a(28, P = _), P.games.items.length > F.length && (a(29, F = P.games.items), F.forEach((y) => {
|
|
2737
2741
|
y.isFavorite = B(y.id);
|
|
2738
2742
|
})), a(36, ce = !1);
|
|
2739
2743
|
});
|
|
@@ -2744,8 +2748,8 @@ function ji(i, e, a) {
|
|
|
2744
2748
|
let y = "", R = 999999999999, A;
|
|
2745
2749
|
const E = new Date(Date.now());
|
|
2746
2750
|
return _.forEach((S, J) => {
|
|
2747
|
-
const L = new Date(S.schedules[0].startTime),
|
|
2748
|
-
xe(new Date(
|
|
2751
|
+
const L = new Date(S.schedules[0].startTime), H = new Date(S.schedules[0].endTime);
|
|
2752
|
+
xe(new Date(H), new Date(E)) < R && (R = xe(new Date(H), new Date(E)), A = J), ni(new Date(E), new Date(L)) && ti(new Date(E), new Date(H)) && (y = _[A].name);
|
|
2749
2753
|
}), y;
|
|
2750
2754
|
}, Qe = (l) => {
|
|
2751
2755
|
a(30, Q = !1), window.postMessage(
|
|
@@ -2782,15 +2786,15 @@ function ji(i, e, a) {
|
|
|
2782
2786
|
};
|
|
2783
2787
|
Ka(() => {
|
|
2784
2788
|
Je?.disconnect();
|
|
2785
|
-
}), Xa(() => (window.addEventListener("visibilitychange", (l) => Ma()), window.addEventListener("message",
|
|
2786
|
-
window.removeEventListener("message",
|
|
2789
|
+
}), Xa(() => (window.addEventListener("visibilitychange", (l) => Ma()), window.addEventListener("message", He, !1), () => {
|
|
2790
|
+
window.removeEventListener("message", He), window.removeEventListener("visibilitychange", He);
|
|
2787
2791
|
}));
|
|
2788
2792
|
function Ra(l) {
|
|
2789
2793
|
oe[l ? "unshift" : "push"](() => {
|
|
2790
2794
|
de = l, a(38, de);
|
|
2791
2795
|
});
|
|
2792
2796
|
}
|
|
2793
|
-
const Aa = (l) => Qe(
|
|
2797
|
+
const Aa = (l) => Qe(P.id);
|
|
2794
2798
|
function Na(l, _) {
|
|
2795
2799
|
oe[l ? "unshift" : "push"](() => {
|
|
2796
2800
|
fe[_] = l, a(24, fe);
|
|
@@ -2860,7 +2864,7 @@ function ji(i, e, a) {
|
|
|
2860
2864
|
Z,
|
|
2861
2865
|
je,
|
|
2862
2866
|
W,
|
|
2863
|
-
|
|
2867
|
+
P,
|
|
2864
2868
|
F,
|
|
2865
2869
|
Q,
|
|
2866
2870
|
Y,
|
|
@@ -2896,7 +2900,7 @@ function ji(i, e, a) {
|
|
|
2896
2900
|
Pa
|
|
2897
2901
|
];
|
|
2898
2902
|
}
|
|
2899
|
-
class Ti extends
|
|
2903
|
+
class Ti extends Va {
|
|
2900
2904
|
constructor(e) {
|
|
2901
2905
|
super(), qa(
|
|
2902
2906
|
this,
|
|
@@ -3121,7 +3125,7 @@ class Ti extends Ha {
|
|
|
3121
3125
|
this.$$set({ visiblegames: e }), z();
|
|
3122
3126
|
}
|
|
3123
3127
|
}
|
|
3124
|
-
|
|
3128
|
+
Ha(Ti, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {}, lobbyscreen: {}, usesinglevendorfilter: {}, visiblegames: {} }, [], [], !0);
|
|
3125
3129
|
export {
|
|
3126
3130
|
Ti as C
|
|
3127
3131
|
};
|