@everymatrix/casino-most-played-section 1.77.32 → 1.80.1
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/{CasinoGamesCategorySection-ALBm4PVl.cjs → CasinoGamesCategorySection-DM1hehUh.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-DE5lOQB0.js → CasinoGamesCategorySection-DZ_1wz_S.js} +67 -63
- package/components/{CasinoGamesCategorySection-BeP5JtUd.js → CasinoGamesCategorySection-Dm4URhKJ.js} +169 -165
- package/components/{CasinoMostPlayedSection-CNEUB2n4.js → CasinoMostPlayedSection-DE1a3-gI.js} +1 -1
- package/components/{CasinoMostPlayedSection-DyXaKgjX.js → CasinoMostPlayedSection-mvc14akb.js} +1 -1
- package/components/{CasinoMostPlayedSection-DExGWOob.cjs → CasinoMostPlayedSection-vpakqNZg.cjs} +1 -1
- package/es2015/casino-most-played-section.cjs +1 -1
- package/es2015/casino-most-played-section.js +1 -1
- package/esnext/casino-most-played-section.js +1 -1
- package/package.json +1 -1
package/components/{CasinoGamesCategorySection-DE5lOQB0.js → CasinoGamesCategorySection-DZ_1wz_S.js}
RENAMED
@@ -14,10 +14,10 @@ var Ie = (i, e, a) => new Promise((n, o) => {
|
|
14
14
|
}, m = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, r);
|
15
15
|
m((a = a.apply(i, e)).next());
|
16
16
|
});
|
17
|
-
import { a as
|
17
|
+
import { a as Ba, $ as Va, S as qa, i as Wa, s as Ya, f as z, b as Ja, n as pe, d as S, j as F, l as C, h as d, p as Ka, I as Xa, q as Za, J as je, x as le, u as Q, k as y, m as K, v as be, w as Qa, g as O, o as D, y as re, K as va, e as t, L as wa, z as xa, r as $a, B as ae, C as ei, D as ai, E as ii, F as ni, G as ti } from "./CasinoFilter-B298XSri.js";
|
18
18
|
import { h as Le } from "./CasinoGameThumbnail-DE-9Pj_w.js";
|
19
19
|
function ia(i, e) {
|
20
|
-
|
20
|
+
Ba(i, e);
|
21
21
|
}
|
22
22
|
function oi(i) {
|
23
23
|
Va.set(i);
|
@@ -488,7 +488,7 @@ function la(i) {
|
|
488
488
|
), f, h;
|
489
489
|
return {
|
490
490
|
c() {
|
491
|
-
e = C("div"), a = C("h3"), o =
|
491
|
+
e = C("div"), a = C("h3"), o = D(n), s = K(), r = C("span"), m = D("("), f = D(u), h = D(")"), d(r, "class", "CategoryFavName"), d(a, "class", "CategoryName"), d(e, "class", "CasinoGamesHeader");
|
492
492
|
},
|
493
493
|
m(p, G) {
|
494
494
|
F(p, e, G), y(e, a), y(a, o), y(a, s), y(a, r), y(r, m), y(r, f), y(r, h), i[59](a);
|
@@ -512,7 +512,7 @@ function fi(i) {
|
|
512
512
|
), n;
|
513
513
|
return {
|
514
514
|
c() {
|
515
|
-
e = C("p"), n =
|
515
|
+
e = C("p"), n = D(a);
|
516
516
|
},
|
517
517
|
m(o, s) {
|
518
518
|
F(o, e, s), y(e, n);
|
@@ -598,7 +598,7 @@ function ra(i) {
|
|
598
598
|
let R = c(i)(i);
|
599
599
|
return {
|
600
600
|
c() {
|
601
|
-
e = C("p"), a = ae("svg"), n = ae("rect"), o = ae("rect"), s = ae("circle"), r = ae("path"), m = ae("path"), u = ae("path"), f = ae("path"), h = K(), p = C("span"), N =
|
601
|
+
e = C("p"), a = ae("svg"), n = ae("rect"), o = ae("rect"), s = ae("circle"), r = ae("path"), m = ae("path"), u = ae("path"), f = ae("path"), h = K(), p = C("span"), N = D(G), v = K(), R.c(), g = K(), 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 " + (be(
|
602
602
|
/*userAgent*/
|
603
603
|
i[44]
|
604
604
|
) ? "NoFavoriteGamesMobile" : ""));
|
@@ -623,7 +623,7 @@ function hi(i) {
|
|
623
623
|
), n;
|
624
624
|
return {
|
625
625
|
c() {
|
626
|
-
e = C("span"), n =
|
626
|
+
e = C("span"), n = D(a), d(e, "class", "NoFavoriteText");
|
627
627
|
},
|
628
628
|
m(o, s) {
|
629
629
|
F(o, e, s), y(e, n);
|
@@ -645,7 +645,7 @@ function _i(i) {
|
|
645
645
|
), n;
|
646
646
|
return {
|
647
647
|
c() {
|
648
|
-
e = C("span"), n =
|
648
|
+
e = C("span"), n = D(a), d(e, "class", "NoFavoriteText");
|
649
649
|
},
|
650
650
|
m(o, s) {
|
651
651
|
F(o, e, s), y(e, n);
|
@@ -731,7 +731,7 @@ function bi(i) {
|
|
731
731
|
let e, a, n, o, s, r, m, u, f, h, p, G, N, v;
|
732
732
|
return {
|
733
733
|
c() {
|
734
|
-
var g, c,
|
734
|
+
var g, c, P;
|
735
735
|
e = C("casino-game-thumbnail"), t(e, "class", a = "" + (ie + /*gameprops*/
|
736
736
|
(i[95].cellSize ? (
|
737
737
|
/*gameprops*/
|
@@ -774,7 +774,7 @@ function bi(i) {
|
|
774
774
|
(c = (g = i[95]) == null ? void 0 : g.gameModel) == null ? void 0 : c.isNew), t(e, "gametag", u = /*addGameTag*/
|
775
775
|
i[45](
|
776
776
|
/*gameprops*/
|
777
|
-
(
|
777
|
+
(P = i[95].gameModel) == null ? void 0 : P.advancedTags
|
778
778
|
)), t(e, "gamecellsize", f = /*gameprops*/
|
779
779
|
i[95].cellSize), t(e, "gameid", h = /*gameprops*/
|
780
780
|
i[95].gameModel.id), t(e, "gamefunmode", p = /*gameprops*/
|
@@ -853,7 +853,7 @@ function bi(i) {
|
|
853
853
|
F(g, e, c);
|
854
854
|
},
|
855
855
|
p(g, c) {
|
856
|
-
var
|
856
|
+
var P, R, b;
|
857
857
|
c[1] & /*favoriteGamesData*/
|
858
858
|
2048 && a !== (a = "" + (ie + /*gameprops*/
|
859
859
|
(g[95].cellSize ? (
|
@@ -905,7 +905,7 @@ function bi(i) {
|
|
905
905
|
2048 && r !== (r = /*gameprops*/
|
906
906
|
g[95].launchUrl) && t(e, "gameLaunchUrl", r), c[1] & /*favoriteGamesData*/
|
907
907
|
2048 && m !== (m = /*gameprops*/
|
908
|
-
(R = (
|
908
|
+
(R = (P = g[95]) == null ? void 0 : P.gameModel) == null ? void 0 : R.isNew) && t(e, "gameisnew", m), c[1] & /*favoriteGamesData*/
|
909
909
|
2048 && u !== (u = /*addGameTag*/
|
910
910
|
g[45](
|
911
911
|
/*gameprops*/
|
@@ -1159,7 +1159,7 @@ function ca(i) {
|
|
1159
1159
|
F(g, e, c);
|
1160
1160
|
},
|
1161
1161
|
p(g, c) {
|
1162
|
-
var
|
1162
|
+
var P, R;
|
1163
1163
|
c[1] & /*favoriteGamesData*/
|
1164
1164
|
2048 && a !== (a = "" + (ie + /*gameprops*/
|
1165
1165
|
(g[95].cellSize ? (
|
@@ -1211,7 +1211,7 @@ function ca(i) {
|
|
1211
1211
|
2048 && r !== (r = /*gameprops*/
|
1212
1212
|
g[95].launchUrl) && t(e, "gameLaunchUrl", r), c[1] & /*favoriteGamesData*/
|
1213
1213
|
2048 && m !== (m = /*gameprops*/
|
1214
|
-
(
|
1214
|
+
(P = g[95].gameModel) == null ? void 0 : P.isNew) && t(e, "gameisnew", m), c[1] & /*favoriteGamesData*/
|
1215
1215
|
2048 && u !== (u = /*addGameTag*/
|
1216
1216
|
g[45](
|
1217
1217
|
/*gameprops*/
|
@@ -1349,7 +1349,7 @@ function ga(i) {
|
|
1349
1349
|
let m = r(i), u = m(i);
|
1350
1350
|
return {
|
1351
1351
|
c() {
|
1352
|
-
e = C("div"), a = C("h3"), o =
|
1352
|
+
e = C("div"), a = C("h3"), o = D(n), s = K(), u.c(), d(a, "class", "CategoryName"), d(e, "class", "CasinoGamesHeader");
|
1353
1353
|
},
|
1354
1354
|
m(f, h) {
|
1355
1355
|
F(f, e, h), y(e, a), y(a, o), i[55](a), y(e, s), u.m(e, null);
|
@@ -1408,7 +1408,7 @@ function ki(i) {
|
|
1408
1408
|
), m, u, f, h;
|
1409
1409
|
return {
|
1410
1410
|
c() {
|
1411
|
-
e = C("a"), a = C("span"), o =
|
1411
|
+
e = C("a"), a = C("span"), o = D(n), s = D(" ("), m = D(r), u = D(")"), d(a, "class", "CategoryLoadMore"), d(e, "class", "CategoryNameLink");
|
1412
1412
|
},
|
1413
1413
|
m(p, G) {
|
1414
1414
|
F(p, e, G), y(e, a), y(a, o), y(a, s), y(a, m), y(a, u), f || (h = $a(
|
@@ -1647,7 +1647,7 @@ function yi(i) {
|
|
1647
1647
|
), n;
|
1648
1648
|
return {
|
1649
1649
|
c() {
|
1650
|
-
e = C("p"), n =
|
1650
|
+
e = C("p"), n = D(a), d(e, "class", "NoSearchResults");
|
1651
1651
|
},
|
1652
1652
|
m(o, s) {
|
1653
1653
|
F(o, e, s), y(e, n);
|
@@ -1737,7 +1737,7 @@ function Gi(i) {
|
|
1737
1737
|
const c = () => (
|
1738
1738
|
/*casino_game_thumbnail_binding*/
|
1739
1739
|
i[57](e, g)
|
1740
|
-
),
|
1740
|
+
), P = () => (
|
1741
1741
|
/*casino_game_thumbnail_binding*/
|
1742
1742
|
i[57](null, g)
|
1743
1743
|
);
|
@@ -2012,11 +2012,11 @@ function Gi(i) {
|
|
2012
2012
|
/*casinogamesgridslider*/
|
2013
2013
|
i[20]
|
2014
2014
|
), g !== /*index*/
|
2015
|
-
i[97] && (
|
2015
|
+
i[97] && (P(), g = /*index*/
|
2016
2016
|
i[97], c());
|
2017
2017
|
},
|
2018
2018
|
d(R) {
|
2019
|
-
R && S(e),
|
2019
|
+
R && S(e), P();
|
2020
2020
|
}
|
2021
2021
|
};
|
2022
2022
|
}
|
@@ -2046,7 +2046,7 @@ function Ci(i) {
|
|
2046
2046
|
), n;
|
2047
2047
|
return {
|
2048
2048
|
c() {
|
2049
|
-
e = C("h3"), n =
|
2049
|
+
e = C("h3"), n = D(a), d(e, "class", "StatusText");
|
2050
2050
|
},
|
2051
2051
|
m(o, s) {
|
2052
2052
|
F(o, e, s), y(e, n);
|
@@ -2068,7 +2068,7 @@ function Mi(i) {
|
|
2068
2068
|
), n;
|
2069
2069
|
return {
|
2070
2070
|
c() {
|
2071
|
-
e = C("h3"), n =
|
2071
|
+
e = C("h3"), n = D(a), d(e, "class", "StatusText");
|
2072
2072
|
},
|
2073
2073
|
m(o, s) {
|
2074
2074
|
F(o, e, s), y(e, n);
|
@@ -2090,7 +2090,7 @@ function zi(i) {
|
|
2090
2090
|
), n;
|
2091
2091
|
return {
|
2092
2092
|
c() {
|
2093
|
-
e = C("h3"), n =
|
2093
|
+
e = C("h3"), n = D(a), d(e, "class", "StatusText");
|
2094
2094
|
},
|
2095
2095
|
m(o, s) {
|
2096
2096
|
F(o, e, s), y(e, n);
|
@@ -2169,7 +2169,7 @@ function pa(i) {
|
|
2169
2169
|
), n;
|
2170
2170
|
return {
|
2171
2171
|
c() {
|
2172
|
-
e = C("p"), n =
|
2172
|
+
e = C("p"), n = D(a), d(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (be(
|
2173
2173
|
/*userAgent*/
|
2174
2174
|
i[44]
|
2175
2175
|
) ? "NoRecentSearchesMobile" : ""));
|
@@ -2306,7 +2306,7 @@ function ba(i, e) {
|
|
2306
2306
|
F(g, a, c);
|
2307
2307
|
},
|
2308
2308
|
p(g, c) {
|
2309
|
-
var
|
2309
|
+
var P;
|
2310
2310
|
e = g, c[0] & /*shownCategoryData*/
|
2311
2311
|
536870912 && n !== (n = "" + (ie + /*gameprops*/
|
2312
2312
|
(e[95].cellSize ? (
|
@@ -2358,7 +2358,7 @@ function ba(i, e) {
|
|
2358
2358
|
536870912 && m !== (m = /*gameprops*/
|
2359
2359
|
e[95].launchUrl) && t(a, "gameLaunchUrl", m), c[0] & /*shownCategoryData*/
|
2360
2360
|
536870912 && u !== (u = /*gameprops*/
|
2361
|
-
(
|
2361
|
+
(P = e[95]) == null ? void 0 : P.isNew) && t(a, "gameisnew", u), c[0] & /*shownCategoryData*/
|
2362
2362
|
536870912 && f !== (f = /*addGameTag*/
|
2363
2363
|
e[45](
|
2364
2364
|
/*gameprops*/
|
@@ -2527,7 +2527,7 @@ let Ai = 0;
|
|
2527
2527
|
function Ri(i, e, a) {
|
2528
2528
|
let n;
|
2529
2529
|
Ka(i, ti, (l) => a(43, n = l));
|
2530
|
-
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: G = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl:
|
2530
|
+
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: G = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: P = "true" } = e, { integratedgameframedesktop: R = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: q = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: Ke = "" } = e, { casinogamesgridslider: Xe = "false" } = e, { fetchviaevent: me = "false" } = e, { showallpage: Ae = "casino" } = e, { actionevent: Re = "CategoryChange" } = e, { displayedgamecount: ke = "10" } = e, { showallbuttongamescount: ye = "10" } = e, { mbsource: Te } = e, { lobbyscreen: Pe = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: De = "10" } = e, x = !0, Ue = !1, Fe, Ge, X = !0, Ze = window.navigator.userAgent, j, M = [], $ = !0, ne = 40, Z = !1, Ce = !1, ue = !1, Oe = !1, He = !0, oe = !1, ce, Be, fe, ge = !1, Y, Me = !1, de = new Array(1e4), he = {}, Ve = "", te = "", ze, qe, L, B = [], Ee = new AbortController(), se = { items: [], count: 0, name: "" };
|
2531
2531
|
const ka = () => {
|
2532
2532
|
fetch(G).then((_) => _.json()).then((_) => {
|
2533
2533
|
Object.keys(_).forEach((w) => {
|
@@ -2555,20 +2555,20 @@ function Ri(i, e, a) {
|
|
2555
2555
|
};
|
2556
2556
|
return new Promise((I, A) => {
|
2557
2557
|
fetch(w, E).then((k) => k.json()).then((k) => {
|
2558
|
-
var
|
2558
|
+
var U;
|
2559
2559
|
if (a(25, x = !1), L = [], k) {
|
2560
2560
|
k.items.forEach((W) => {
|
2561
|
-
W.gameModel && (L.push(W),
|
2561
|
+
W.gameModel && (L.push(W), B.includes(W.id) || B.push(W.id));
|
2562
2562
|
});
|
2563
|
-
const
|
2563
|
+
const H = (U = je(L)) == null ? void 0 : U.length;
|
2564
2564
|
window.postMessage({
|
2565
2565
|
type: "UpdateFavoritesCount",
|
2566
|
-
favoriteGamesLength:
|
2566
|
+
favoriteGamesLength: H
|
2567
2567
|
});
|
2568
2568
|
} else
|
2569
2569
|
L = [];
|
2570
|
-
v === "FAVORITES" && Je(L), M.forEach((
|
2571
|
-
|
2570
|
+
v === "FAVORITES" && Je(L), M.forEach((H) => {
|
2571
|
+
H.isFavorite = V(H.id);
|
2572
2572
|
});
|
2573
2573
|
let J = M;
|
2574
2574
|
a(29, M = void 0), a(29, M = J), I(L);
|
@@ -2583,15 +2583,15 @@ function Ri(i, e, a) {
|
|
2583
2583
|
method: "GET",
|
2584
2584
|
headers: { "X-SessionID": l }
|
2585
2585
|
}).then((k) => k.json()).then((k) => {
|
2586
|
-
var J,
|
2586
|
+
var J, U;
|
2587
2587
|
if (L = [], k) {
|
2588
2588
|
(J = k.items) == null || J.forEach((W) => {
|
2589
|
-
W.gameModel && (L.push(W),
|
2589
|
+
W.gameModel && (L.push(W), B.includes(W.id) || B.push(W.id));
|
2590
2590
|
});
|
2591
|
-
const
|
2591
|
+
const H = (U = je(L)) == null ? void 0 : U.length;
|
2592
2592
|
window.postMessage({
|
2593
2593
|
type: "UpdateFavoritesCount",
|
2594
|
-
favoriteGamesLength:
|
2594
|
+
favoriteGamesLength: H
|
2595
2595
|
});
|
2596
2596
|
} else
|
2597
2597
|
L = [];
|
@@ -2605,27 +2605,31 @@ function Ri(i, e, a) {
|
|
2605
2605
|
Ee && Ee.abort(), Ee = new AbortController();
|
2606
2606
|
const I = Ee.signal;
|
2607
2607
|
oe && a(25, x = !0);
|
2608
|
-
let A = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")),
|
2609
|
-
const
|
2610
|
-
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((W,
|
2608
|
+
let A = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), U = JSON.parse(localStorage.getItem("vendorSortingBy"));
|
2609
|
+
const H = Se === "true" ? "*" : l;
|
2610
|
+
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((W, Ha) => {
|
2611
2611
|
var aa;
|
2612
|
-
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=${w})`), k.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((aa = J[
|
2612
|
+
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=${w})`), k.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((aa = J[H]) != null && aa.length))
|
2613
2613
|
if (Se === "true" || X === !1 && ge === !1) {
|
2614
|
-
let
|
2615
|
-
a(34, Oe = !0), J[
|
2616
|
-
|
2617
|
-
}), k.searchParams.append("filter", `${
|
2614
|
+
let T = "";
|
2615
|
+
a(34, Oe = !0), J[H].forEach((ee) => {
|
2616
|
+
T = T + (T ? `,games(vendor(id=${ee}))` : `games(vendor(id=${ee}))`);
|
2617
|
+
}), k.searchParams.append("filter", `${T}`);
|
2618
2618
|
} else
|
2619
2619
|
a(34, Oe = !1);
|
2620
|
-
|
2621
|
-
|
2620
|
+
U && (U[l] ? U[l] && U[l] != "All" && (U[l] == "isNew" || U[l] == "advancedTags(name(hot))" ? (k.searchParams.append("sortedField", `games(${U[l]})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${U[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: I }).then((T) => {
|
2621
|
+
if (!T.ok)
|
2622
|
+
throw T.status === 404 && window.postMessage({ type: "NonExistentCategory" }, window.location.origin), new Error(`HTTP ${T.status}`);
|
2623
|
+
return T.json();
|
2624
|
+
}).then((T) => {
|
2625
|
+
I.aborted || (a(25, x = !1), (l.match(/\$/g) || []).length > 1 && (T = T.items.filter((ee) => {
|
2622
2626
|
if (ee.id == l)
|
2623
2627
|
return ee;
|
2624
|
-
})[0]), a(54, qe = !0), a(26, Ue = !1),
|
2628
|
+
})[0]), a(54, qe = !0), a(26, Ue = !1), Be = T.games.total, E && T.games.items.forEach((ee) => {
|
2625
2629
|
ee.isFavorite = V(ee.id);
|
2626
|
-
}), a(36, oe = !0), W(
|
2627
|
-
}).catch((
|
2628
|
-
|
2630
|
+
}), a(36, oe = !0), W(T));
|
2631
|
+
}).catch((T) => {
|
2632
|
+
T.name !== "AbortError" && (a(26, Ue = !0), console.error(T), Ha(T));
|
2629
2633
|
}).finally(() => {
|
2630
2634
|
Sa();
|
2631
2635
|
});
|
@@ -2677,9 +2681,9 @@ function Ri(i, e, a) {
|
|
2677
2681
|
})), a(25, x = !1);
|
2678
2682
|
break;
|
2679
2683
|
case "RecentSearchData":
|
2680
|
-
a(31, Z = !0), a(32, Ce = !0), l.data.searchData.length > 0 ? (a(29, M = l.data.searchData), a(35,
|
2684
|
+
a(31, Z = !0), a(32, Ce = !0), l.data.searchData.length > 0 ? (a(29, M = l.data.searchData), a(35, He = !0), M && M.forEach((_) => {
|
2681
2685
|
_.isFavorite = V(_.id);
|
2682
|
-
})) : (a(29, M = []), a(35,
|
2686
|
+
})) : (a(29, M = []), a(35, He = !1));
|
2683
2687
|
break;
|
2684
2688
|
case "OutOfRecentSearches":
|
2685
2689
|
a(31, Z = !1), a(32, Ce = !1);
|
@@ -2691,7 +2695,7 @@ function Ri(i, e, a) {
|
|
2691
2695
|
break;
|
2692
2696
|
case `CategoryData_${v}`:
|
2693
2697
|
a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, ue = !1), Me = !1, _e(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
|
2694
|
-
a(28, j = _), a(29, M = j.games.items), a(30, $ = !!(
|
2698
|
+
a(28, j = _), a(29, M = j.games.items), a(30, $ = !!(Be <= l.data.visiblegames && X)), M && M.forEach((w) => {
|
2695
2699
|
w.isFavorite = V(w.id);
|
2696
2700
|
});
|
2697
2701
|
});
|
@@ -2754,7 +2758,7 @@ function Ri(i, e, a) {
|
|
2754
2758
|
return (_ = L == null ? void 0 : L.some((w) => w.id === l)) != null ? _ : !1;
|
2755
2759
|
};
|
2756
2760
|
let Ca = (l, _, w) => Ie(this, null, function* () {
|
2757
|
-
yield $e(l, _),
|
2761
|
+
yield $e(l, _), B.includes(w) || B.push(w);
|
2758
2762
|
let I = {
|
2759
2763
|
method: "POST",
|
2760
2764
|
headers: {
|
@@ -2762,7 +2766,7 @@ function Ri(i, e, a) {
|
|
2762
2766
|
"Content-Type": "application/json",
|
2763
2767
|
Accept: "application/json"
|
2764
2768
|
},
|
2765
|
-
body: JSON.stringify({ items:
|
2769
|
+
body: JSON.stringify({ items: B })
|
2766
2770
|
};
|
2767
2771
|
fetch(l, I).then((A) => A.json()).then(() => {
|
2768
2772
|
window.postMessage({ type: `AddFavoriteThumbnail_${w}` }, window.location.href), window.postMessage({
|
@@ -2790,7 +2794,7 @@ function Ri(i, e, a) {
|
|
2790
2794
|
url: l,
|
2791
2795
|
sessionID: _
|
2792
2796
|
});
|
2793
|
-
}),
|
2797
|
+
}), B.includes(w) && (B = B.filter((I) => I != w));
|
2794
2798
|
}, $e = (l, _) => Ie(this, null, function* () {
|
2795
2799
|
return fetch(l, {
|
2796
2800
|
method: "GET",
|
@@ -2798,7 +2802,7 @@ function Ri(i, e, a) {
|
|
2798
2802
|
}).then((E) => E.json()).then((E) => {
|
2799
2803
|
var A;
|
2800
2804
|
L = E.items, me ? (L.forEach((k) => {
|
2801
|
-
|
2805
|
+
B.includes(k.id) || B.push(k.id);
|
2802
2806
|
}), Ga()) : L.forEach((k) => {
|
2803
2807
|
k.isFavorite = V(k.id);
|
2804
2808
|
});
|
@@ -2818,7 +2822,7 @@ function Ri(i, e, a) {
|
|
2818
2822
|
w.gameModel && (w.gameModel.isFavorite = !0);
|
2819
2823
|
}), a(42, se.items = je(_, se.items), se), a(42, se.name = "Favorites", se), a(25, x = !1);
|
2820
2824
|
}, za = (l) => {
|
2821
|
-
ne += 1, a(36, oe = !0), ne <=
|
2825
|
+
ne += 1, a(36, oe = !0), ne <= Be && _e(l, Ai, ne).then((_) => {
|
2822
2826
|
a(28, j = _), j.games.items.length > M.length && (a(29, M = j.games.items), M.forEach((w) => {
|
2823
2827
|
w.isFavorite = V(w.id);
|
2824
2828
|
})), a(36, oe = !1);
|
@@ -2830,8 +2834,8 @@ function Ri(i, e, a) {
|
|
2830
2834
|
let w = "", E = 999999999999, I;
|
2831
2835
|
const A = new Date(Date.now());
|
2832
2836
|
return _.forEach((k, J) => {
|
2833
|
-
const
|
2834
|
-
Le(
|
2837
|
+
const U = new Date(k.schedules[0].startTime), H = new Date(k.schedules[0].endTime);
|
2838
|
+
Le(H).diff(A) < E && (E = Le(H).diff(A), I = J), Le(A).isAfter(U) && Le(A).isBefore(H) && (w = _[I].name);
|
2835
2839
|
}), w;
|
2836
2840
|
}, ea = (l) => {
|
2837
2841
|
a(30, $ = !1), window.postMessage(
|
@@ -2903,7 +2907,7 @@ function Ri(i, e, a) {
|
|
2903
2907
|
});
|
2904
2908
|
}
|
2905
2909
|
return i.$$set = (l) => {
|
2906
|
-
"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, G = 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,
|
2910
|
+
"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, G = 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, P = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, R = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, q = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, we = l.addsortingselector), "filterbylogo" in l && a(19, Ke = l.filterbylogo), "casinogamesgridslider" in l && a(20, Xe = l.casinogamesgridslider), "fetchviaevent" in l && a(47, me = l.fetchviaevent), "showallpage" in l && a(48, Ae = l.showallpage), "actionevent" in l && a(49, Re = l.actionevent), "displayedgamecount" in l && a(50, ke = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ye = l.showallbuttongamescount), "mbsource" in l && a(21, Te = l.mbsource), "lobbyscreen" in l && a(52, Pe = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Se = l.usesinglevendorfilter), "visiblegames" in l && a(53, De = l.visiblegames);
|
2907
2911
|
}, i.$$.update = () => {
|
2908
2912
|
i.$$.dirty[0] & /*lang*/
|
2909
2913
|
32 && r && La(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
|
@@ -2933,7 +2937,7 @@ function Ri(i, e, a) {
|
|
2933
2937
|
N,
|
2934
2938
|
g,
|
2935
2939
|
c,
|
2936
|
-
|
2940
|
+
P,
|
2937
2941
|
R,
|
2938
2942
|
b,
|
2939
2943
|
q,
|
@@ -2953,7 +2957,7 @@ function Ri(i, e, a) {
|
|
2953
2957
|
Ce,
|
2954
2958
|
ue,
|
2955
2959
|
Oe,
|
2956
|
-
|
2960
|
+
He,
|
2957
2961
|
oe,
|
2958
2962
|
ce,
|
2959
2963
|
fe,
|