@everymatrix/casino-my-games 1.74.2 → 1.74.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFavoritesSection-CRww1NN4.cjs → CasinoFavoritesSection-B6rI3zJo.cjs} +1 -1
- package/components/{CasinoFavoritesSection-DMkV8HyP.js → CasinoFavoritesSection-BGPdK-QD.js} +1 -1
- package/components/{CasinoFavoritesSection-DMcr3szm.js → CasinoFavoritesSection-CeUwLVP1.js} +1 -1
- package/components/{CasinoFilter-DFU4ir1Y.cjs → CasinoFilter-Beqf7q2z.cjs} +1 -1
- package/components/{CasinoFilter-CrOAYqjr.js → CasinoFilter-CF783AsG.js} +1 -1
- package/components/{CasinoFilter-BUdCzoW9.js → CasinoFilter-CX97a_JI.js} +1 -1
- package/components/{CasinoGameThumbnail--v814Ice.js → CasinoGameThumbnail-BajhDXuo.js} +2 -2
- package/components/{CasinoGameThumbnail-VIKHBbQz.js → CasinoGameThumbnail-BqvxpLlu.js} +2 -2
- package/components/{CasinoGameThumbnail-BbQBtEV0.cjs → CasinoGameThumbnail-DsYtaw8y.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-g3rKrGNH.js → CasinoGamesCategorySection-CXSZztQo.js} +168 -160
- package/components/{CasinoGamesCategorySection-Dbsqr7oG.js → CasinoGamesCategorySection-DVtf1Fs3.js} +72 -64
- package/components/{CasinoGamesCategorySection-CzbBgyIM.cjs → CasinoGamesCategorySection-oqVPS4F1.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-CgP1EpZ5.js → CasinoLastPlayedSection-CMqShY7P.js} +2 -2
- package/components/{CasinoLastPlayedSection-Bd-6uDXk.cjs → CasinoLastPlayedSection-CP26Vh_m.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-ChqZAUb2.js → CasinoLastPlayedSection-lNIDmZmt.js} +2 -2
- package/components/{CasinoMostPlayedSection-B7CNdPl9.js → CasinoMostPlayedSection-Bq-uKXMk.js} +2 -2
- package/components/{CasinoMostPlayedSection-BhQOjQ4Q.js → CasinoMostPlayedSection-DWguXf2v.js} +2 -2
- package/components/{CasinoMostPlayedSection-DrpVPyp1.cjs → CasinoMostPlayedSection-NcJxNYFy.cjs} +1 -1
- package/components/CasinoMyGames-C7gEB7tY.js +1316 -0
- package/components/CasinoMyGames-Dcf9WXJi.cjs +1 -0
- package/components/CasinoMyGames-y0C16M31.js +1317 -0
- package/components/{CasinoSort-uNkXBWss.cjs → CasinoSort-DnuK6toS.cjs} +1 -1
- package/components/{CasinoSort-D8OyOCu4.js → CasinoSort-DrB6HoZI.js} +1 -1
- package/components/{CasinoSort-B8Omjlx0.js → CasinoSort-S7XEvenE.js} +1 -1
- package/es2015/casino-my-games.cjs +1 -1
- package/es2015/casino-my-games.js +1 -1
- package/esnext/casino-my-games.js +1 -1
- package/package.json +1 -1
- package/components/CasinoMyGames-C6blrddx.cjs +0 -1
- package/components/CasinoMyGames-CCniTKPK.js +0 -1352
- package/components/CasinoMyGames-DonHCEUG.js +0 -1353
package/components/{CasinoGamesCategorySection-g3rKrGNH.js → CasinoGamesCategorySection-CXSZztQo.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as Ba, $ as Ha, S as Va, i as qa, f as z, g as Wa, s as Ya, h as Ja, j as G, y as d, k as y, n as
|
|
2
|
-
import { p as Ee, i as
|
|
3
|
-
import { h as Ne } from "./CasinoGameThumbnail
|
|
1
|
+
import { e as Ba, $ as Ha, S as Va, i as qa, f as z, g as Wa, s as Ya, h as Ja, j as G, y as d, k as y, n as pe, l as S, m as Ka, M as Xa, o as Za, p as Qa, q as oe, r as xa, t as $a, w as W, z as k, J as X, F as ei, x as T, B as D, u as se, N as _a, H as t, C as ai, v as $, A as ii, O as va } from "./CasinoFavoritesSection-CeUwLVP1.js";
|
|
2
|
+
import { p as Ee, i as _e, g as ni } from "./CasinoFilter-CF783AsG.js";
|
|
3
|
+
import { h as Ne } from "./CasinoGameThumbnail-BajhDXuo.js";
|
|
4
4
|
function ea(i, e) {
|
|
5
5
|
Ba(i, e);
|
|
6
6
|
}
|
|
@@ -254,7 +254,7 @@ if (typeof window < "u") {
|
|
|
254
254
|
}
|
|
255
255
|
};
|
|
256
256
|
};
|
|
257
|
-
customElements.define = i(customElements.define), import("./CasinoGameThumbnail
|
|
257
|
+
customElements.define = i(customElements.define), import("./CasinoGameThumbnail-BajhDXuo.js").then((e) => e.C).then(({ default: e }) => {
|
|
258
258
|
!customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", e.element);
|
|
259
259
|
});
|
|
260
260
|
}
|
|
@@ -270,7 +270,7 @@ if (typeof window < "u") {
|
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
};
|
|
273
|
-
customElements.define = i(customElements.define), import("./CasinoFilter-
|
|
273
|
+
customElements.define = i(customElements.define), import("./CasinoFilter-CF783AsG.js").then((e) => e.C).then(({ default: e }) => {
|
|
274
274
|
!customElements.get("casino-filter") && customElements.define("casino-filter", e.element);
|
|
275
275
|
});
|
|
276
276
|
}
|
|
@@ -286,7 +286,7 @@ if (typeof window < "u") {
|
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
288
|
};
|
|
289
|
-
customElements.define = i(customElements.define), import("./CasinoSort-
|
|
289
|
+
customElements.define = i(customElements.define), import("./CasinoSort-DrB6HoZI.js").then(({ default: e }) => {
|
|
290
290
|
!customElements.get("casino-sort") && customElements.define("casino-sort", e.element);
|
|
291
291
|
});
|
|
292
292
|
}
|
|
@@ -337,7 +337,7 @@ function si(i) {
|
|
|
337
337
|
}
|
|
338
338
|
function li(i) {
|
|
339
339
|
let e, a, n;
|
|
340
|
-
function o(h,
|
|
340
|
+
function o(h, _) {
|
|
341
341
|
return (
|
|
342
342
|
/*recentSearched*/
|
|
343
343
|
h[32] ? Mi : (
|
|
@@ -347,7 +347,7 @@ function li(i) {
|
|
|
347
347
|
);
|
|
348
348
|
}
|
|
349
349
|
let s = o(i), r = s(i);
|
|
350
|
-
function m(h,
|
|
350
|
+
function m(h, _) {
|
|
351
351
|
return (
|
|
352
352
|
/*shownCategoryData*/
|
|
353
353
|
h[29] ? Ei : zi
|
|
@@ -356,16 +356,16 @@ function li(i) {
|
|
|
356
356
|
let u = m(i), f = u(i);
|
|
357
357
|
return {
|
|
358
358
|
c() {
|
|
359
|
-
e = G("div"), a = G("div"), r.c(), n = W(), f.c(), d(a, "class", "CasinoGamesHeader Searched " + (
|
|
359
|
+
e = G("div"), a = G("div"), r.c(), n = W(), f.c(), d(a, "class", "CasinoGamesHeader Searched " + (_e(
|
|
360
360
|
/*userAgent*/
|
|
361
361
|
i[44]
|
|
362
362
|
) ? "CasinoGamesHeaderMobile" : "")), d(e, "class", "CasinoGamesContainer");
|
|
363
363
|
},
|
|
364
|
-
m(h,
|
|
365
|
-
y(h, e,
|
|
364
|
+
m(h, _) {
|
|
365
|
+
y(h, e, _), k(e, a), r.m(a, null), k(e, n), f.m(e, null);
|
|
366
366
|
},
|
|
367
|
-
p(h,
|
|
368
|
-
s === (s = o(h)) && r ? r.p(h,
|
|
367
|
+
p(h, _) {
|
|
368
|
+
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)));
|
|
369
369
|
},
|
|
370
370
|
d(h) {
|
|
371
371
|
h && S(e), r.d(), f.d();
|
|
@@ -475,18 +475,18 @@ function oa(i) {
|
|
|
475
475
|
c() {
|
|
476
476
|
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");
|
|
477
477
|
},
|
|
478
|
-
m(
|
|
479
|
-
y(
|
|
478
|
+
m(_, F) {
|
|
479
|
+
y(_, e, F), k(e, a), k(a, o), k(a, s), k(a, r), k(r, m), k(r, f), k(r, h), i[59](a);
|
|
480
480
|
},
|
|
481
|
-
p(
|
|
481
|
+
p(_, F) {
|
|
482
482
|
F[1] & /*$_*/
|
|
483
483
|
4096 && n !== (n = /*$_*/
|
|
484
|
-
|
|
484
|
+
_[43]("favorites") + "") && D(o, n), F[1] & /*favoriteGamesData*/
|
|
485
485
|
2048 && u !== (u = /*favoriteGamesData*/
|
|
486
|
-
|
|
486
|
+
_[42].items.length + "") && D(f, u);
|
|
487
487
|
},
|
|
488
|
-
d(
|
|
489
|
-
|
|
488
|
+
d(_) {
|
|
489
|
+
_ && S(e), i[59](null);
|
|
490
490
|
}
|
|
491
491
|
};
|
|
492
492
|
}
|
|
@@ -563,19 +563,19 @@ function gi(i) {
|
|
|
563
563
|
m(a, n) {
|
|
564
564
|
y(a, e, n);
|
|
565
565
|
},
|
|
566
|
-
p:
|
|
566
|
+
p: pe,
|
|
567
567
|
d(a) {
|
|
568
568
|
a && S(e);
|
|
569
569
|
}
|
|
570
570
|
};
|
|
571
571
|
}
|
|
572
572
|
function sa(i) {
|
|
573
|
-
let e, a, n, o, s, r, m, u, f, h,
|
|
573
|
+
let e, a, n, o, s, r, m, u, f, h, _, F = (
|
|
574
574
|
/*$_*/
|
|
575
575
|
i[43]("noFavoritesTitle") + ""
|
|
576
576
|
), E, v, g;
|
|
577
577
|
function c(b, H) {
|
|
578
|
-
return
|
|
578
|
+
return _e(
|
|
579
579
|
/*userAgent*/
|
|
580
580
|
b[44]
|
|
581
581
|
) ? hi : di;
|
|
@@ -583,13 +583,13 @@ function sa(i) {
|
|
|
583
583
|
let U = c(i)(i);
|
|
584
584
|
return {
|
|
585
585
|
c() {
|
|
586
|
-
e = G("p"), a = $("svg"), n = $("rect"), o = $("rect"), s = $("circle"), r = $("path"), m = $("path"), u = $("path"), f = $("path"), h = W(),
|
|
586
|
+
e = G("p"), a = $("svg"), n = $("rect"), o = $("rect"), s = $("circle"), r = $("path"), m = $("path"), u = $("path"), f = $("path"), h = W(), _ = G("span"), E = 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(_, "class", "NoFavoriteText NoFavoriteTextHighlight"), d(e, "class", "NoFavoriteGames " + (_e(
|
|
587
587
|
/*userAgent*/
|
|
588
588
|
i[44]
|
|
589
589
|
) ? "NoFavoriteGamesMobile" : ""));
|
|
590
590
|
},
|
|
591
591
|
m(b, H) {
|
|
592
|
-
y(b, e, H), k(e, a), k(a, n), k(a, o), k(a, s), k(a, r), k(a, m), k(a, u), k(a, f), k(e, h), k(e,
|
|
592
|
+
y(b, e, H), k(e, a), k(a, n), k(a, o), k(a, s), k(a, r), k(a, m), k(a, u), k(a, f), k(e, h), k(e, _), k(_, E), k(e, v), U.m(e, null), k(e, g);
|
|
593
593
|
},
|
|
594
594
|
p(b, H) {
|
|
595
595
|
H[1] & /*$_*/
|
|
@@ -667,7 +667,7 @@ function la(i) {
|
|
|
667
667
|
};
|
|
668
668
|
}
|
|
669
669
|
function ra(i) {
|
|
670
|
-
let e, a =
|
|
670
|
+
let e, a = pi(i);
|
|
671
671
|
return {
|
|
672
672
|
c() {
|
|
673
673
|
a && a.c(), e = X();
|
|
@@ -683,18 +683,18 @@ function ra(i) {
|
|
|
683
683
|
}
|
|
684
684
|
};
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function pi(i) {
|
|
687
687
|
let e, a, n;
|
|
688
688
|
function o(m, u) {
|
|
689
689
|
if (u[1] & /*favoriteGamesData*/
|
|
690
|
-
2048 && (a = null), e == null && (e = !!
|
|
690
|
+
2048 && (a = null), e == null && (e = !!_e(
|
|
691
691
|
/*userAgent*/
|
|
692
692
|
m[44]
|
|
693
693
|
)), e)
|
|
694
694
|
return vi;
|
|
695
695
|
if (a == null && (a = !!/*gameprops*/
|
|
696
696
|
m[95].gameModel.platform.includes("PC")), a)
|
|
697
|
-
return
|
|
697
|
+
return _i;
|
|
698
698
|
}
|
|
699
699
|
let s = o(i, [-1, -1, -1, -1]), r = s && s(i);
|
|
700
700
|
return {
|
|
@@ -712,8 +712,8 @@ function _i(i) {
|
|
|
712
712
|
}
|
|
713
713
|
};
|
|
714
714
|
}
|
|
715
|
-
function
|
|
716
|
-
let e, a, n, o, s, r, m, u, f, h,
|
|
715
|
+
function _i(i) {
|
|
716
|
+
let e, a, n, o, s, r, m, u, f, h, _, F, E, v;
|
|
717
717
|
return {
|
|
718
718
|
c() {
|
|
719
719
|
e = G("casino-game-thumbnail"), t(e, "class", a = "" + (ee + /*gameprops*/
|
|
@@ -761,7 +761,7 @@ function pi(i) {
|
|
|
761
761
|
i[95].gameModel?.advancedTags
|
|
762
762
|
)), t(e, "gamecellsize", f = /*gameprops*/
|
|
763
763
|
i[95].cellSize), t(e, "gameid", h = /*gameprops*/
|
|
764
|
-
i[95].gameModel.id), t(e, "gamefunmode",
|
|
764
|
+
i[95].gameModel.id), t(e, "gamefunmode", _ = /*gameprops*/
|
|
765
765
|
i[95].gameModel.hasFunMode), t(
|
|
766
766
|
e,
|
|
767
767
|
"showgamename",
|
|
@@ -898,8 +898,8 @@ function pi(i) {
|
|
|
898
898
|
g[95].cellSize) && t(e, "gamecellsize", f), c[1] & /*favoriteGamesData*/
|
|
899
899
|
2048 && h !== (h = /*gameprops*/
|
|
900
900
|
g[95].gameModel.id) && t(e, "gameid", h), c[1] & /*favoriteGamesData*/
|
|
901
|
-
2048 &&
|
|
902
|
-
g[95].gameModel.hasFunMode) && t(e, "gamefunmode",
|
|
901
|
+
2048 && _ !== (_ = /*gameprops*/
|
|
902
|
+
g[95].gameModel.hasFunMode) && t(e, "gamefunmode", _), c[0] & /*showgamename*/
|
|
903
903
|
8192 && t(
|
|
904
904
|
e,
|
|
905
905
|
"showgamename",
|
|
@@ -1017,7 +1017,7 @@ function vi(i) {
|
|
|
1017
1017
|
};
|
|
1018
1018
|
}
|
|
1019
1019
|
function ma(i) {
|
|
1020
|
-
let e, a, n, o, s, r, m, u, f, h,
|
|
1020
|
+
let e, a, n, o, s, r, m, u, f, h, _, F, E, v;
|
|
1021
1021
|
return {
|
|
1022
1022
|
c() {
|
|
1023
1023
|
e = G("casino-game-thumbnail"), t(e, "class", a = "" + (ee + /*gameprops*/
|
|
@@ -1065,7 +1065,7 @@ function ma(i) {
|
|
|
1065
1065
|
i[95].gameModel?.advancedTags
|
|
1066
1066
|
)), t(e, "gamecellsize", f = /*gameprops*/
|
|
1067
1067
|
i[95].cellSize), t(e, "gameid", h = /*gameprops*/
|
|
1068
|
-
i[95].gameModel.id), t(e, "gamefunmode",
|
|
1068
|
+
i[95].gameModel.id), t(e, "gamefunmode", _ = /*gameprops*/
|
|
1069
1069
|
i[95].gameModel.hasFunMode), t(
|
|
1070
1070
|
e,
|
|
1071
1071
|
"showgamename",
|
|
@@ -1202,8 +1202,8 @@ function ma(i) {
|
|
|
1202
1202
|
g[95].cellSize) && t(e, "gamecellsize", f), c[1] & /*favoriteGamesData*/
|
|
1203
1203
|
2048 && h !== (h = /*gameprops*/
|
|
1204
1204
|
g[95].gameModel.id) && t(e, "gameid", h), c[1] & /*favoriteGamesData*/
|
|
1205
|
-
2048 &&
|
|
1206
|
-
g[95].gameModel.hasFunMode) && t(e, "gamefunmode",
|
|
1205
|
+
2048 && _ !== (_ = /*gameprops*/
|
|
1206
|
+
g[95].gameModel.hasFunMode) && t(e, "gamefunmode", _), c[0] & /*showgamename*/
|
|
1207
1207
|
8192 && t(
|
|
1208
1208
|
e,
|
|
1209
1209
|
"showgamename",
|
|
@@ -1391,23 +1391,23 @@ function wi(i) {
|
|
|
1391
1391
|
c() {
|
|
1392
1392
|
e = G("a"), a = G("span"), o = T(n), s = T(" ("), m = T(r), u = T(")"), d(a, "class", "CategoryLoadMore"), d(e, "class", "CategoryNameLink");
|
|
1393
1393
|
},
|
|
1394
|
-
m(
|
|
1395
|
-
y(
|
|
1394
|
+
m(_, F) {
|
|
1395
|
+
y(_, e, F), k(e, a), k(a, o), k(a, s), k(a, m), k(a, u), f || (h = ii(
|
|
1396
1396
|
e,
|
|
1397
1397
|
"click",
|
|
1398
1398
|
/*click_handler*/
|
|
1399
1399
|
i[56]
|
|
1400
1400
|
), f = !0);
|
|
1401
1401
|
},
|
|
1402
|
-
p(
|
|
1402
|
+
p(_, F) {
|
|
1403
1403
|
F[1] & /*$_*/
|
|
1404
1404
|
4096 && n !== (n = /*$_*/
|
|
1405
|
-
|
|
1405
|
+
_[43]("viewAll") + "") && D(o, n), F[0] & /*categoryData*/
|
|
1406
1406
|
268435456 && r !== (r = /*categoryData*/
|
|
1407
|
-
|
|
1407
|
+
_[28].games.total + "") && D(m, r);
|
|
1408
1408
|
},
|
|
1409
|
-
d(
|
|
1410
|
-
|
|
1409
|
+
d(_) {
|
|
1410
|
+
_ && S(e), f = !1, h();
|
|
1411
1411
|
}
|
|
1412
1412
|
};
|
|
1413
1413
|
}
|
|
@@ -1679,7 +1679,7 @@ function yi(i) {
|
|
|
1679
1679
|
17920 && (s = se(
|
|
1680
1680
|
/*shownCategoryData*/
|
|
1681
1681
|
m[29]
|
|
1682
|
-
), a =
|
|
1682
|
+
), a = _a(a, u, r, 1, m, s, n, e, va, da, null, na)), u[0] & /*lobbyView, casinogamesgridslider*/
|
|
1683
1683
|
135266304 | u[1] & /*favoriteGamesData, showFavGamesCategory*/
|
|
1684
1684
|
2304 && o !== (o = /*favoriteGamesData*/
|
|
1685
1685
|
(m[42].items.length === 0 && /*showFavGamesCategory*/
|
|
@@ -1704,14 +1704,14 @@ function Si(i) {
|
|
|
1704
1704
|
m(a, n) {
|
|
1705
1705
|
y(a, e, n);
|
|
1706
1706
|
},
|
|
1707
|
-
p:
|
|
1707
|
+
p: pe,
|
|
1708
1708
|
d(a) {
|
|
1709
1709
|
a && S(e);
|
|
1710
1710
|
}
|
|
1711
1711
|
};
|
|
1712
1712
|
}
|
|
1713
1713
|
function Fi(i) {
|
|
1714
|
-
let e, a, n, o, s, r, m, u, f, h,
|
|
1714
|
+
let e, a, n, o, s, r, m, u, f, h, _, F, E, v, g = (
|
|
1715
1715
|
/*index*/
|
|
1716
1716
|
i[97]
|
|
1717
1717
|
);
|
|
@@ -1764,7 +1764,7 @@ function Fi(i) {
|
|
|
1764
1764
|
i[95].advancedTags
|
|
1765
1765
|
)), t(e, "gamecellsize", f = /*gameprops*/
|
|
1766
1766
|
i[95].cellSize), t(e, "gameid", h = /*gameprops*/
|
|
1767
|
-
i[95].id), t(e, "gamefunmode",
|
|
1767
|
+
i[95].id), t(e, "gamefunmode", _ = /*gameprops*/
|
|
1768
1768
|
i[95].hasFunMode), t(e, "gamefavorite", F = /*gameprops*/
|
|
1769
1769
|
i[95].isFavorite), t(
|
|
1770
1770
|
e,
|
|
@@ -1900,8 +1900,8 @@ function Fi(i) {
|
|
|
1900
1900
|
i[95].cellSize) && t(e, "gamecellsize", f), b[0] & /*shownCategoryData*/
|
|
1901
1901
|
536870912 && h !== (h = /*gameprops*/
|
|
1902
1902
|
i[95].id) && t(e, "gameid", h), b[0] & /*shownCategoryData*/
|
|
1903
|
-
536870912 &&
|
|
1904
|
-
i[95].hasFunMode) && t(e, "gamefunmode",
|
|
1903
|
+
536870912 && _ !== (_ = /*gameprops*/
|
|
1904
|
+
i[95].hasFunMode) && t(e, "gamefunmode", _), b[0] & /*shownCategoryData*/
|
|
1905
1905
|
536870912 && F !== (F = /*gameprops*/
|
|
1906
1906
|
i[95].isFavorite) && t(e, "gamefavorite", F), b[0] & /*translationurl*/
|
|
1907
1907
|
2048 && t(
|
|
@@ -2095,7 +2095,7 @@ function zi(i) {
|
|
|
2095
2095
|
m(a, n) {
|
|
2096
2096
|
y(a, e, n);
|
|
2097
2097
|
},
|
|
2098
|
-
p:
|
|
2098
|
+
p: pe,
|
|
2099
2099
|
d(a) {
|
|
2100
2100
|
a && S(e);
|
|
2101
2101
|
}
|
|
@@ -2113,7 +2113,7 @@ function Ei(i) {
|
|
|
2113
2113
|
);
|
|
2114
2114
|
for (let u = 0; u < r.length; u += 1) {
|
|
2115
2115
|
let f = ta(i, r, u), h = m(f);
|
|
2116
|
-
o.set(h, n[u] =
|
|
2116
|
+
o.set(h, n[u] = pa(h, f));
|
|
2117
2117
|
}
|
|
2118
2118
|
return {
|
|
2119
2119
|
c() {
|
|
@@ -2134,7 +2134,7 @@ function Ei(i) {
|
|
|
2134
2134
|
16388 && (r = se(
|
|
2135
2135
|
/*shownCategoryData*/
|
|
2136
2136
|
u[29]
|
|
2137
|
-
), n =
|
|
2137
|
+
), n = _a(n, f, m, 1, u, r, o, a, va, pa, null, ta));
|
|
2138
2138
|
},
|
|
2139
2139
|
d(u) {
|
|
2140
2140
|
u && (S(e), S(a)), s && s.d(u);
|
|
@@ -2150,7 +2150,7 @@ function ha(i) {
|
|
|
2150
2150
|
), n;
|
|
2151
2151
|
return {
|
|
2152
2152
|
c() {
|
|
2153
|
-
e = G("p"), n = T(a), d(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (
|
|
2153
|
+
e = G("p"), n = T(a), d(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (_e(
|
|
2154
2154
|
/*userAgent*/
|
|
2155
2155
|
i[44]
|
|
2156
2156
|
) ? "NoRecentSearchesMobile" : ""));
|
|
@@ -2168,8 +2168,8 @@ function ha(i) {
|
|
|
2168
2168
|
}
|
|
2169
2169
|
};
|
|
2170
2170
|
}
|
|
2171
|
-
function
|
|
2172
|
-
let a, n, o, s, r, m, u, f, h,
|
|
2171
|
+
function pa(i, e) {
|
|
2172
|
+
let a, n, o, s, r, m, u, f, h, _, F, E, v;
|
|
2173
2173
|
return {
|
|
2174
2174
|
key: i,
|
|
2175
2175
|
first: null,
|
|
@@ -2218,7 +2218,7 @@ function _a(i, e) {
|
|
|
2218
2218
|
/*gameprops*/
|
|
2219
2219
|
e[95].advancedTags
|
|
2220
2220
|
)), t(a, "gamecellsize", h = /*gameprops*/
|
|
2221
|
-
e[95].cellSize), t(a, "gameid",
|
|
2221
|
+
e[95].cellSize), t(a, "gameid", _ = /*gameprops*/
|
|
2222
2222
|
e[95].id), t(a, "gamefunmode", F = /*gameprops*/
|
|
2223
2223
|
e[95].hasFunMode), t(
|
|
2224
2224
|
a,
|
|
@@ -2345,8 +2345,8 @@ function _a(i, e) {
|
|
|
2345
2345
|
)) && t(a, "gametag", f), c[0] & /*shownCategoryData*/
|
|
2346
2346
|
536870912 && h !== (h = /*gameprops*/
|
|
2347
2347
|
e[95].cellSize) && t(a, "gamecellsize", h), c[0] & /*shownCategoryData*/
|
|
2348
|
-
536870912 &&
|
|
2349
|
-
e[95].id) && t(a, "gameid",
|
|
2348
|
+
536870912 && _ !== (_ = /*gameprops*/
|
|
2349
|
+
e[95].id) && t(a, "gameid", _), c[0] & /*shownCategoryData*/
|
|
2350
2350
|
536870912 && F !== (F = /*gameprops*/
|
|
2351
2351
|
e[95].hasFunMode) && t(a, "gamefunmode", F), c[0] & /*mbsource*/
|
|
2352
2352
|
2097152 && t(
|
|
@@ -2494,8 +2494,8 @@ function ji(i) {
|
|
|
2494
2494
|
p(s, r) {
|
|
2495
2495
|
n === (n = a(s)) && o ? o.p(s, r) : (o.d(1), o = n(s), o && (o.c(), o.m(e, null)));
|
|
2496
2496
|
},
|
|
2497
|
-
i:
|
|
2498
|
-
o:
|
|
2497
|
+
i: pe,
|
|
2498
|
+
o: pe,
|
|
2499
2499
|
d(s) {
|
|
2500
2500
|
s && S(e), o.d(), i[61](null);
|
|
2501
2501
|
}
|
|
@@ -2503,30 +2503,30 @@ function ji(i) {
|
|
|
2503
2503
|
}
|
|
2504
2504
|
const ee = "game-tile-";
|
|
2505
2505
|
let Ri = 0;
|
|
2506
|
-
function
|
|
2506
|
+
function Li(i, e, a) {
|
|
2507
2507
|
let n;
|
|
2508
2508
|
Ka(i, ei, (l) => a(43, n = l));
|
|
2509
|
-
let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl:
|
|
2509
|
+
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: E = "" } = 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: le = "false" } = e, { showallpage: Ie = "casino" } = e, { actionevent: je = "CategoryChange" } = e, { displayedgamecount: we = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { mbsource: Re } = e, { lobbyscreen: Le = "true" } = e, { usesinglevendorfilter: ye = "false" } = e, { visiblegames: Ae = "10" } = e, Je, Z = !0, Te = !1, Se, Fe, Y = !0, Ke = window.navigator.userAgent, A, M = [], Q = !0, ae = 40, J = !1, Ge = !1, re = !1, Pe = !1, De = !0, me = !1, ue, Ue, ce, fe = !1, q, Ce = !1, ge = new Array(1e4), de = {}, Oe = "", ie = "", Me, Be, R, O = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
|
|
2510
2510
|
const ba = () => {
|
|
2511
|
-
fetch(F).then((
|
|
2512
|
-
Object.keys(
|
|
2513
|
-
ea(w,
|
|
2511
|
+
fetch(F).then((p) => p.json()).then((p) => {
|
|
2512
|
+
Object.keys(p).forEach((w) => {
|
|
2513
|
+
ea(w, p[w]);
|
|
2514
2514
|
});
|
|
2515
|
-
}).catch((
|
|
2516
|
-
console.log(
|
|
2515
|
+
}).catch((p) => {
|
|
2516
|
+
console.log(p);
|
|
2517
2517
|
});
|
|
2518
2518
|
};
|
|
2519
2519
|
Object.keys(aa).forEach((l) => {
|
|
2520
2520
|
ea(l, aa[l]);
|
|
2521
2521
|
}), typeof document.hidden < "u" ? Me = "hidden" : typeof document.msHidden < "u" ? Me = "msHidden" : typeof document.webkitHidden < "u" && (Me = "webkitHidden");
|
|
2522
|
-
let
|
|
2523
|
-
l.forEach(async (
|
|
2524
|
-
let w =
|
|
2525
|
-
|
|
2522
|
+
let Xe = new IntersectionObserver((l) => {
|
|
2523
|
+
l.forEach(async (p) => {
|
|
2524
|
+
let w = p.target.gameid, N = p.target.elems_index;
|
|
2525
|
+
p.isIntersecting ? (N * 1.2 > ae && Ca(v), a(40, de[w] = 1, de)) : a(40, de[w] = 0, de);
|
|
2526
2526
|
});
|
|
2527
2527
|
});
|
|
2528
|
-
const He = (l,
|
|
2529
|
-
let w = `${o}/v1/player/${
|
|
2528
|
+
const He = (l, p) => {
|
|
2529
|
+
let w = `${o}/v1/player/${p}/favorites/`;
|
|
2530
2530
|
a(25, Z = !0);
|
|
2531
2531
|
let N = {
|
|
2532
2532
|
method: "GET",
|
|
@@ -2538,15 +2538,15 @@ function Ai(i, e, a) {
|
|
|
2538
2538
|
C.items.forEach((V) => {
|
|
2539
2539
|
V.gameModel && (R.push(V), O.includes(V.id) || O.push(V.id));
|
|
2540
2540
|
});
|
|
2541
|
-
const
|
|
2541
|
+
const L = Ee(R)?.length;
|
|
2542
2542
|
window.postMessage({
|
|
2543
2543
|
type: "UpdateFavoritesCount",
|
|
2544
|
-
favoriteGamesLength:
|
|
2544
|
+
favoriteGamesLength: L
|
|
2545
2545
|
});
|
|
2546
2546
|
} else
|
|
2547
2547
|
R = [];
|
|
2548
|
-
v === "FAVORITES" &&
|
|
2549
|
-
|
|
2548
|
+
v === "FAVORITES" && qe(R), M.forEach((L) => {
|
|
2549
|
+
L.isFavorite = B(L.id);
|
|
2550
2550
|
});
|
|
2551
2551
|
let K = M;
|
|
2552
2552
|
a(29, M = void 0), a(29, M = K), j(R);
|
|
@@ -2554,16 +2554,16 @@ function Ai(i, e, a) {
|
|
|
2554
2554
|
console.error(C), I(C);
|
|
2555
2555
|
});
|
|
2556
2556
|
});
|
|
2557
|
-
}, wa = (l,
|
|
2558
|
-
if (l &&
|
|
2559
|
-
let j = `${o}/v1/player/${
|
|
2557
|
+
}, wa = (l, p) => new Promise((w, N) => {
|
|
2558
|
+
if (l && p) {
|
|
2559
|
+
let j = `${o}/v1/player/${p}/favorites/`;
|
|
2560
2560
|
fetch(j, {
|
|
2561
2561
|
method: "GET",
|
|
2562
2562
|
headers: { "X-SessionID": l }
|
|
2563
2563
|
}).then((C) => C.json()).then((C) => {
|
|
2564
2564
|
if (R = [], C) {
|
|
2565
|
-
C.items?.forEach((
|
|
2566
|
-
|
|
2565
|
+
C.items?.forEach((L) => {
|
|
2566
|
+
L.gameModel && (R.push(L), O.includes(L.id) || O.push(L.id));
|
|
2567
2567
|
});
|
|
2568
2568
|
const K = Ee(R)?.length;
|
|
2569
2569
|
window.postMessage({
|
|
@@ -2572,20 +2572,20 @@ function Ai(i, e, a) {
|
|
|
2572
2572
|
});
|
|
2573
2573
|
} else
|
|
2574
2574
|
R = [];
|
|
2575
|
-
v === "FAVORITES" &&
|
|
2575
|
+
v === "FAVORITES" && qe(R), w(R);
|
|
2576
2576
|
}).catch((C) => {
|
|
2577
2577
|
console.error(C), N(C);
|
|
2578
2578
|
});
|
|
2579
2579
|
} else
|
|
2580
2580
|
w([]);
|
|
2581
|
-
}),
|
|
2581
|
+
}), Ze = (l, p, w, N) => {
|
|
2582
2582
|
ze && ze.abort(), ze = new AbortController();
|
|
2583
2583
|
const j = ze.signal;
|
|
2584
2584
|
a(25, Z = !0);
|
|
2585
|
-
let I = "", C = "", K = JSON.parse(localStorage.getItem("vendorFiltersByCategory")),
|
|
2585
|
+
let I = "", C = "", K = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), L = JSON.parse(localStorage.getItem("vendorSortingBy"));
|
|
2586
2586
|
const V = ye === "true" ? "*" : l;
|
|
2587
2587
|
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((Ua, Oa) => {
|
|
2588
|
-
if (C.searchParams.delete("pagination"), C.searchParams.append("expand", "games(vendor)"), C.searchParams.append("fields", "id,name,games"), C.searchParams.append("platform", ni(
|
|
2588
|
+
if (C.searchParams.delete("pagination"), C.searchParams.append("expand", "games(vendor)"), C.searchParams.append("fields", "id,name,games"), C.searchParams.append("platform", ni(Ke)), C.searchParams.append("pagination", `games(offset=${p},limit=${w})`), C.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), K && K[V]?.length)
|
|
2589
2589
|
if (ye === "true" || Y === !1 && fe === !1) {
|
|
2590
2590
|
let P = "";
|
|
2591
2591
|
a(34, Pe = !0), K[V].forEach((x) => {
|
|
@@ -2593,7 +2593,7 @@ function Ai(i, e, a) {
|
|
|
2593
2593
|
}), C.searchParams.append("filter", `${P}`);
|
|
2594
2594
|
} else
|
|
2595
2595
|
a(34, Pe = !1);
|
|
2596
|
-
|
|
2596
|
+
L && (L[l] ? L[l] && L[l] != "All" && (L[l] == "isNew" || L[l] == "advancedTags(name(hot))" ? (C.searchParams.append("sortedField", `games(${L[l]})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${L[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) => {
|
|
2597
2597
|
j.aborted || (a(25, Z = !1), (l.match(/\$/g) || []).length > 1 && (P = P.items.filter((x) => {
|
|
2598
2598
|
if (x.id == l)
|
|
2599
2599
|
return x;
|
|
@@ -2606,20 +2606,20 @@ function Ai(i, e, a) {
|
|
|
2606
2606
|
ka();
|
|
2607
2607
|
});
|
|
2608
2608
|
});
|
|
2609
|
-
}, he = (l,
|
|
2609
|
+
}, he = (l, p, w) => new Promise((N, j) => {
|
|
2610
2610
|
f == "true" ? wa(m, u).then((I) => {
|
|
2611
|
-
|
|
2611
|
+
Ze(l, p, w, I).then((C) => {
|
|
2612
2612
|
N(C);
|
|
2613
2613
|
});
|
|
2614
|
-
}) :
|
|
2614
|
+
}) : Ze(l, p, w, null).then((I) => {
|
|
2615
2615
|
N(I);
|
|
2616
2616
|
});
|
|
2617
2617
|
}), ka = () => {
|
|
2618
2618
|
const l = q.getRootNode().host;
|
|
2619
2619
|
l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
|
|
2620
|
-
}, ya = (l,
|
|
2621
|
-
l !== "" && (a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, re = !1), Ce = !1, a(30, Q = +
|
|
2622
|
-
a(28,
|
|
2620
|
+
}, ya = (l, p, w) => {
|
|
2621
|
+
l !== "" && (a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, re = !1), Ce = !1, a(30, Q = +p > +w), he(l, 0, +p).then((N) => {
|
|
2622
|
+
a(28, A = N), a(29, M = A.games.items), M && M.forEach((j) => {
|
|
2623
2623
|
j.isFavorite = B(j.id);
|
|
2624
2624
|
});
|
|
2625
2625
|
}));
|
|
@@ -2627,7 +2627,7 @@ function Ai(i, e, a) {
|
|
|
2627
2627
|
if (l.data)
|
|
2628
2628
|
switch (l.data.type) {
|
|
2629
2629
|
case "MostPlayedData":
|
|
2630
|
-
v == "MOSTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.mostPlayedGames), a(28,
|
|
2630
|
+
v == "MOSTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.mostPlayedGames), a(28, A = {
|
|
2631
2631
|
id: "MOSTPLAYED",
|
|
2632
2632
|
name: "Most Played Games",
|
|
2633
2633
|
games: {
|
|
@@ -2635,12 +2635,12 @@ function Ai(i, e, a) {
|
|
|
2635
2635
|
total: l.data.mostPlayedGames.length,
|
|
2636
2636
|
items: l.data.mostPlayedGames
|
|
2637
2637
|
}
|
|
2638
|
-
}), M && M.forEach((
|
|
2639
|
-
|
|
2638
|
+
}), M && M.forEach((p) => {
|
|
2639
|
+
p.isFavorite = B(p.id);
|
|
2640
2640
|
})), a(25, Z = !1);
|
|
2641
2641
|
break;
|
|
2642
2642
|
case "LastPlayedData":
|
|
2643
|
-
v == "LASTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.lastPlayedGames), a(28,
|
|
2643
|
+
v == "LASTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.lastPlayedGames), a(28, A = {
|
|
2644
2644
|
id: "LASTPLAYED",
|
|
2645
2645
|
name: "Last Played Games",
|
|
2646
2646
|
games: {
|
|
@@ -2648,26 +2648,26 @@ function Ai(i, e, a) {
|
|
|
2648
2648
|
total: l.data.lastPlayedGames.length,
|
|
2649
2649
|
items: l.data.lastPlayedGames
|
|
2650
2650
|
}
|
|
2651
|
-
}), M && M.forEach((
|
|
2652
|
-
|
|
2651
|
+
}), M && M.forEach((p) => {
|
|
2652
|
+
p.isFavorite = B(p.id);
|
|
2653
2653
|
})), a(25, Z = !1);
|
|
2654
2654
|
break;
|
|
2655
2655
|
case "RecentSearchData":
|
|
2656
|
-
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((
|
|
2657
|
-
|
|
2656
|
+
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) => {
|
|
2657
|
+
p.isFavorite = B(p.id);
|
|
2658
2658
|
})) : (a(29, M = []), a(35, De = !1));
|
|
2659
2659
|
break;
|
|
2660
2660
|
case "OutOfRecentSearches":
|
|
2661
2661
|
a(31, J = !1), a(32, Ge = !1);
|
|
2662
2662
|
break;
|
|
2663
2663
|
case "SearchData":
|
|
2664
|
-
a(31, J = !0), a(32, Ge = !1), a(29, M = l.data.searchData.items || []), a(33, re = !0), l.data.receivedFavoriteResults && (R = l.data.receivedFavoriteResults.items), M && M.forEach((
|
|
2665
|
-
|
|
2664
|
+
a(31, J = !0), a(32, Ge = !1), a(29, M = l.data.searchData.items || []), a(33, re = !0), l.data.receivedFavoriteResults && (R = l.data.receivedFavoriteResults.items), M && M.forEach((p) => {
|
|
2665
|
+
p.isFavorite = B(p.id);
|
|
2666
2666
|
});
|
|
2667
2667
|
break;
|
|
2668
2668
|
case `CategoryData_${v}`:
|
|
2669
|
-
a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, re = !1), Ce = !1, he(l.data.categoryId, 0, l.data.visiblegames).then((
|
|
2670
|
-
a(28,
|
|
2669
|
+
a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, re = !1), Ce = !1, he(l.data.categoryId, 0, l.data.visiblegames).then((p) => {
|
|
2670
|
+
a(28, A = p), a(29, M = A.games.items), a(30, Q = !!(Ue <= l.data.visiblegames && Y)), M && M.forEach((w) => {
|
|
2671
2671
|
w.isFavorite = B(w.id);
|
|
2672
2672
|
});
|
|
2673
2673
|
});
|
|
@@ -2676,12 +2676,12 @@ function Ai(i, e, a) {
|
|
|
2676
2676
|
ae = 20;
|
|
2677
2677
|
break;
|
|
2678
2678
|
case "ApplySorter":
|
|
2679
|
-
a(0, v = l.data.itemId), ie = l.data.sortBy, he(v, 0, ae).then((
|
|
2680
|
-
a(28,
|
|
2679
|
+
a(0, v = l.data.itemId), ie = l.data.sortBy, he(v, 0, ae).then((p) => {
|
|
2680
|
+
a(28, A = p), a(29, M = A.games.items), a(30, Q = !1);
|
|
2681
2681
|
});
|
|
2682
2682
|
break;
|
|
2683
2683
|
case "CategoryUpdate":
|
|
2684
|
-
|
|
2684
|
+
Qe(l.data.itemId);
|
|
2685
2685
|
break;
|
|
2686
2686
|
case `SetUnfavoredGame${v}`:
|
|
2687
2687
|
Ga(`${o}/v1/player/${u}/favorites`, m, l.data.id);
|
|
@@ -2693,14 +2693,14 @@ function Ai(i, e, a) {
|
|
|
2693
2693
|
Se = l.data.session, Fe = l.data.userID, f == "true" && Fe && Fe.length && Se && Se.length > 0 && He(Se, Fe);
|
|
2694
2694
|
break;
|
|
2695
2695
|
case "UpdateFavoredList":
|
|
2696
|
-
v === "FAVORITES" &&
|
|
2696
|
+
v === "FAVORITES" && xe(l.data.url, l.data.sessionID);
|
|
2697
2697
|
break;
|
|
2698
2698
|
}
|
|
2699
|
-
},
|
|
2700
|
-
a(31, J = !1), a(27, Y =
|
|
2701
|
-
a(28,
|
|
2699
|
+
}, Qe = (l) => {
|
|
2700
|
+
a(31, J = !1), a(27, Y = Le === "true"), a(33, re = !1), Ce = !0, a(36, me = !1), a(0, v = l), v !== "MOSTPLAYED" && a(30, Q = !1), H !== "true" && (!R && m && He(m, u), he(v, 0, ae).then((p) => {
|
|
2701
|
+
a(28, A = p), A?.games?.items.forEach((w) => {
|
|
2702
2702
|
w.isFavorite = B(w.id);
|
|
2703
|
-
}), a(29, M =
|
|
2703
|
+
}), a(29, M = A?.games.items);
|
|
2704
2704
|
}).finally(
|
|
2705
2705
|
/*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
|
|
2706
2706
|
if (shownCategoryData?.length < 10 && e.data.origin ==! 'filters') {
|
|
@@ -2714,38 +2714,42 @@ function Ai(i, e, a) {
|
|
|
2714
2714
|
{
|
|
2715
2715
|
type: `CategoryData_${v}`,
|
|
2716
2716
|
categoryId: v,
|
|
2717
|
-
visiblegames:
|
|
2717
|
+
visiblegames: Ae
|
|
2718
2718
|
},
|
|
2719
2719
|
window.location.href
|
|
2720
2720
|
);
|
|
2721
2721
|
}
|
|
2722
2722
|
));
|
|
2723
2723
|
}, Sa = () => {
|
|
2724
|
-
|
|
2724
|
+
A && (a(29, M = A.games.items), M.forEach((l) => {
|
|
2725
2725
|
l.isFavorite = B(l.id);
|
|
2726
2726
|
}));
|
|
2727
|
-
}, B = (l) => R?.some((
|
|
2728
|
-
let Fa = async (l,
|
|
2729
|
-
await
|
|
2727
|
+
}, B = (l) => R?.some((p) => p.id === l) ?? !1;
|
|
2728
|
+
let Fa = async (l, p, w) => {
|
|
2729
|
+
await xe(l, p), O.includes(w) || O.push(w);
|
|
2730
2730
|
let j = {
|
|
2731
2731
|
method: "POST",
|
|
2732
2732
|
headers: {
|
|
2733
|
-
"X-SessionID":
|
|
2733
|
+
"X-SessionID": p,
|
|
2734
2734
|
"Content-Type": "application/json",
|
|
2735
2735
|
Accept: "application/json"
|
|
2736
2736
|
},
|
|
2737
2737
|
body: JSON.stringify({ items: O })
|
|
2738
2738
|
};
|
|
2739
2739
|
fetch(l, j).then((I) => I.json()).then(() => {
|
|
2740
|
-
window.postMessage({ type: `AddFavoriteThumbnail_${w}` }, window.location.href)
|
|
2740
|
+
window.postMessage({ type: `AddFavoriteThumbnail_${w}` }, window.location.href), window.postMessage({
|
|
2741
|
+
type: "UpdateFavoredList",
|
|
2742
|
+
url: l,
|
|
2743
|
+
sessionID: p
|
|
2744
|
+
});
|
|
2741
2745
|
}).catch((I) => {
|
|
2742
2746
|
console.error("Err", I);
|
|
2743
2747
|
});
|
|
2744
2748
|
};
|
|
2745
|
-
const Ga = (l,
|
|
2749
|
+
const Ga = (l, p, w) => {
|
|
2746
2750
|
let N = {
|
|
2747
2751
|
method: "DELETE",
|
|
2748
|
-
headers: { "X-SessionID":
|
|
2752
|
+
headers: { "X-SessionID": p }
|
|
2749
2753
|
};
|
|
2750
2754
|
fetch(`${l}/${w}`, N).then((j) => j.json()).then(() => {
|
|
2751
2755
|
window.postMessage(
|
|
@@ -2753,11 +2757,15 @@ function Ai(i, e, a) {
|
|
|
2753
2757
|
type: `RemoveFavoriteThumbnail_${w}`
|
|
2754
2758
|
},
|
|
2755
2759
|
window.location.href
|
|
2756
|
-
),
|
|
2760
|
+
), window.postMessage({
|
|
2761
|
+
type: "UpdateFavoredList",
|
|
2762
|
+
url: l,
|
|
2763
|
+
sessionID: p
|
|
2764
|
+
});
|
|
2757
2765
|
}), O.includes(w) && (O = O.filter((j) => j != w));
|
|
2758
|
-
},
|
|
2766
|
+
}, xe = async (l, p) => fetch(l, {
|
|
2759
2767
|
method: "GET",
|
|
2760
|
-
headers: { "X-SessionID":
|
|
2768
|
+
headers: { "X-SessionID": p }
|
|
2761
2769
|
}).then((N) => N.json()).then((N) => {
|
|
2762
2770
|
R = N.items, le ? (R.forEach((I) => {
|
|
2763
2771
|
O.includes(I.id) || O.push(I.id);
|
|
@@ -2768,31 +2776,31 @@ function Ai(i, e, a) {
|
|
|
2768
2776
|
v === "FAVORITES" && (window.postMessage({
|
|
2769
2777
|
type: "UpdateFavoritesCount",
|
|
2770
2778
|
favoriteGamesLength: j
|
|
2771
|
-
}),
|
|
2779
|
+
}), qe(R));
|
|
2772
2780
|
}).catch((N) => {
|
|
2773
2781
|
console.error(N);
|
|
2774
|
-
}),
|
|
2782
|
+
}), qe = (l) => {
|
|
2775
2783
|
if (!l)
|
|
2776
2784
|
return;
|
|
2777
|
-
let
|
|
2778
|
-
|
|
2785
|
+
let p;
|
|
2786
|
+
p = l?.items || l || [], p.length > 0 && p.forEach((w) => {
|
|
2779
2787
|
w.gameModel && (w.gameModel.isFavorite = !0);
|
|
2780
|
-
}), a(42, te.items = Ee(
|
|
2788
|
+
}), a(42, te.items = Ee(p, te.items), te), a(42, te.name = "Favorites", te), a(25, Z = !1);
|
|
2781
2789
|
}, Ca = (l) => {
|
|
2782
|
-
ae += 1, a(36, me = !0), ae <= Ue && he(l, Ri, ae).then((
|
|
2783
|
-
a(28,
|
|
2790
|
+
ae += 1, a(36, me = !0), ae <= Ue && he(l, Ri, ae).then((p) => {
|
|
2791
|
+
a(28, A = p), A.games.items.length > M.length && (a(29, M = A.games.items), M.forEach((w) => {
|
|
2784
2792
|
w.isFavorite = B(w.id);
|
|
2785
2793
|
})), a(36, me = !1);
|
|
2786
2794
|
});
|
|
2787
2795
|
}, Ma = (l) => {
|
|
2788
|
-
const
|
|
2789
|
-
if (
|
|
2796
|
+
const p = l ?? [];
|
|
2797
|
+
if (p?.length === 0)
|
|
2790
2798
|
return "";
|
|
2791
2799
|
let w = "", N = 999999999999, j;
|
|
2792
2800
|
const I = new Date(Date.now());
|
|
2793
|
-
return
|
|
2794
|
-
const
|
|
2795
|
-
Ne(V).diff(I) < N && (N = Ne(V).diff(I), j = K), Ne(I).isAfter(
|
|
2801
|
+
return p.forEach((C, K) => {
|
|
2802
|
+
const L = new Date(C.schedules[0].startTime), V = new Date(C.schedules[0].endTime);
|
|
2803
|
+
Ne(V).diff(I) < N && (N = Ne(V).diff(I), j = K), Ne(I).isAfter(L) && Ne(I).isBefore(V) && (w = p[j].name);
|
|
2796
2804
|
}), w;
|
|
2797
2805
|
}, $e = (l) => {
|
|
2798
2806
|
a(30, Q = !1), window.postMessage(
|
|
@@ -2815,35 +2823,35 @@ function Ai(i, e, a) {
|
|
|
2815
2823
|
H === "false" && u && m && a(39, fe = !1);
|
|
2816
2824
|
break;
|
|
2817
2825
|
default:
|
|
2818
|
-
|
|
2826
|
+
Qe(v);
|
|
2819
2827
|
break;
|
|
2820
2828
|
}
|
|
2821
2829
|
}, Ea = () => {
|
|
2822
2830
|
document[Me] ? a(41, Oe = "disconnect") : a(41, Oe = "connect");
|
|
2823
2831
|
}, Na = () => {
|
|
2824
|
-
Ce && ge.forEach((l,
|
|
2825
|
-
l && (l.elems_index =
|
|
2832
|
+
Ce && ge.forEach((l, p) => {
|
|
2833
|
+
l && (l.elems_index = p, Xe.observe(l));
|
|
2826
2834
|
});
|
|
2827
2835
|
}, Ia = () => {
|
|
2828
2836
|
ti(r);
|
|
2829
2837
|
};
|
|
2830
2838
|
Xa(() => {
|
|
2831
|
-
|
|
2839
|
+
Xe?.disconnect();
|
|
2832
2840
|
}), Za(() => (window.addEventListener("visibilitychange", (l) => Ea()), window.addEventListener("message", Ve, !1), () => {
|
|
2833
|
-
window.emMessageBus &&
|
|
2841
|
+
window.emMessageBus && Je && Je.unsubscribe(), window.removeEventListener("message", Ve), window.removeEventListener("visibilitychange", Ve);
|
|
2834
2842
|
}));
|
|
2835
2843
|
function ja(l) {
|
|
2836
2844
|
oe[l ? "unshift" : "push"](() => {
|
|
2837
2845
|
ce = l, a(38, ce);
|
|
2838
2846
|
});
|
|
2839
2847
|
}
|
|
2840
|
-
const Ra = (l) => $e(
|
|
2841
|
-
function
|
|
2848
|
+
const Ra = (l) => $e(A.id);
|
|
2849
|
+
function La(l, p) {
|
|
2842
2850
|
oe[l ? "unshift" : "push"](() => {
|
|
2843
|
-
ge[
|
|
2851
|
+
ge[p] = l, a(24, ge);
|
|
2844
2852
|
});
|
|
2845
2853
|
}
|
|
2846
|
-
function
|
|
2854
|
+
function Aa(l) {
|
|
2847
2855
|
oe[l ? "unshift" : "push"](() => {
|
|
2848
2856
|
ue = l, a(37, ue);
|
|
2849
2857
|
});
|
|
@@ -2864,7 +2872,7 @@ function Ai(i, e, a) {
|
|
|
2864
2872
|
});
|
|
2865
2873
|
}
|
|
2866
2874
|
return i.$$set = (l) => {
|
|
2867
|
-
"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,
|
|
2875
|
+
"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, E = 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, le = 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, Re = l.mbsource), "lobbyscreen" in l && a(52, Le = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, ye = l.usesinglevendorfilter), "visiblegames" in l && a(53, Ae = l.visiblegames);
|
|
2868
2876
|
}, i.$$.update = () => {
|
|
2869
2877
|
i.$$.dirty[0] & /*lang*/
|
|
2870
2878
|
32 && r && Ia(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
|
|
@@ -2876,7 +2884,7 @@ function Ai(i, e, a) {
|
|
|
2876
2884
|
33 && r && v && za(), i.$$.dirty[0] & /*translationurl*/
|
|
2877
2885
|
2048 && F && ba(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
2878
2886
|
8389120 && h && q && xa(q, h), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
2879
|
-
8389632 &&
|
|
2887
|
+
8389632 && _ && q && Qa(q, _), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
2880
2888
|
10485760 && q && $a(q, `${Re}.Style`);
|
|
2881
2889
|
}, [
|
|
2882
2890
|
v,
|
|
@@ -2889,7 +2897,7 @@ function Ai(i, e, a) {
|
|
|
2889
2897
|
u,
|
|
2890
2898
|
f,
|
|
2891
2899
|
h,
|
|
2892
|
-
|
|
2900
|
+
_,
|
|
2893
2901
|
F,
|
|
2894
2902
|
E,
|
|
2895
2903
|
g,
|
|
@@ -2898,8 +2906,8 @@ function Ai(i, e, a) {
|
|
|
2898
2906
|
U,
|
|
2899
2907
|
b,
|
|
2900
2908
|
H,
|
|
2909
|
+
We,
|
|
2901
2910
|
Ye,
|
|
2902
|
-
Je,
|
|
2903
2911
|
Re,
|
|
2904
2912
|
ye,
|
|
2905
2913
|
q,
|
|
@@ -2907,7 +2915,7 @@ function Ai(i, e, a) {
|
|
|
2907
2915
|
Z,
|
|
2908
2916
|
Te,
|
|
2909
2917
|
Y,
|
|
2910
|
-
|
|
2918
|
+
A,
|
|
2911
2919
|
M,
|
|
2912
2920
|
Q,
|
|
2913
2921
|
J,
|
|
@@ -2923,7 +2931,7 @@ function Ai(i, e, a) {
|
|
|
2923
2931
|
Oe,
|
|
2924
2932
|
te,
|
|
2925
2933
|
n,
|
|
2926
|
-
|
|
2934
|
+
Ke,
|
|
2927
2935
|
Ma,
|
|
2928
2936
|
$e,
|
|
2929
2937
|
le,
|
|
@@ -2931,24 +2939,24 @@ function Ai(i, e, a) {
|
|
|
2931
2939
|
je,
|
|
2932
2940
|
we,
|
|
2933
2941
|
ke,
|
|
2934
|
-
Ae,
|
|
2935
2942
|
Le,
|
|
2943
|
+
Ae,
|
|
2936
2944
|
Be,
|
|
2937
2945
|
ja,
|
|
2938
2946
|
Ra,
|
|
2939
|
-
Aa,
|
|
2940
2947
|
La,
|
|
2948
|
+
Aa,
|
|
2941
2949
|
Ta,
|
|
2942
2950
|
Pa,
|
|
2943
2951
|
Da
|
|
2944
2952
|
];
|
|
2945
2953
|
}
|
|
2946
|
-
class
|
|
2954
|
+
class Ai extends Va {
|
|
2947
2955
|
constructor(e) {
|
|
2948
2956
|
super(), qa(
|
|
2949
2957
|
this,
|
|
2950
2958
|
e,
|
|
2951
|
-
|
|
2959
|
+
Li,
|
|
2952
2960
|
ji,
|
|
2953
2961
|
Ya,
|
|
2954
2962
|
{
|
|
@@ -3168,7 +3176,7 @@ class Li extends Va {
|
|
|
3168
3176
|
this.$$set({ visiblegames: e }), z();
|
|
3169
3177
|
}
|
|
3170
3178
|
}
|
|
3171
|
-
Wa(
|
|
3179
|
+
Wa(Ai, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {}, mbsource: {}, lobbyscreen: {}, usesinglevendorfilter: {}, visiblegames: {} }, [], [], !0);
|
|
3172
3180
|
export {
|
|
3173
|
-
|
|
3181
|
+
Ai as default
|
|
3174
3182
|
};
|