@everymatrix/casino-page 1.94.20 → 1.94.21
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/{CasinoCalendar-sa2ebq9U.js → CasinoCalendar-5wSd7nU4.js} +19 -19
- package/components/{CasinoCalendar-DgpsCreY.js → CasinoCalendar-B5KrVU4V.js} +19 -19
- package/components/{CasinoCalendarDailyDetails-CvfYANKS.js → CasinoCalendarDailyDetails-BtuAPyXn.js} +45 -45
- package/components/{CasinoCalendarDailyDetails-BKau7q09.js → CasinoCalendarDailyDetails-x7UTMrrl.js} +45 -45
- package/components/{CasinoCalendarDailyItem-CTta1Xqt.js → CasinoCalendarDailyItem-BfDAU5ep.js} +35 -35
- package/components/{CasinoCalendarDailyItem-BbB9UBvi.js → CasinoCalendarDailyItem-ft4nT1z8.js} +35 -35
- package/components/{CasinoCollectionsProviders-BHsJ169Z.js → CasinoCollectionsProviders-DpSNRHYC.js} +84 -84
- package/components/{CasinoCollectionsProviders-Dk4ROQjl.js → CasinoCollectionsProviders-T5drORUk.js} +81 -81
- package/components/{CasinoFavoritesSection-BsXoQzw1.js → CasinoFavoritesSection-BtqCLgmB.js} +23 -23
- package/components/{CasinoFavoritesSection-DdwG1L2F.js → CasinoFavoritesSection-C3edDNFT.js} +28 -28
- package/components/{CasinoFilter-BqcAG9f9.js → CasinoFilter-CG40qs-t.js} +54 -54
- package/components/{CasinoFilter-CzCI4Na7.js → CasinoFilter-JbbM51vm.js} +54 -54
- package/components/{CasinoGameThumbnail-Bue7VfXn.js → CasinoGameThumbnail-D93NZ8NM.js} +43 -43
- package/components/{CasinoGameThumbnail-BbFEEuW2.js → CasinoGameThumbnail-fR9EPU5R.js} +43 -43
- package/components/{CasinoGamesCategorySection-DPPdfb_P.js → CasinoGamesCategorySection-C-hyg8q7.js} +82 -82
- package/components/{CasinoGamesCategorySection-DkLXRdWN.js → CasinoGamesCategorySection-x483AEiL.js} +82 -82
- package/components/{CasinoJackpotBanner-CjLHqgvH.js → CasinoJackpotBanner-CUy25XEU.js} +134 -134
- package/components/{CasinoJackpotBanner-BRqk1Pk5.js → CasinoJackpotBanner-DyiDXwyn.js} +102 -102
- package/components/{CasinoLastPlayedSection-CGHV6vcz.js → CasinoLastPlayedSection-BZrM_UNR.js} +19 -19
- package/components/{CasinoLastPlayedSection-CvxIKybL.js → CasinoLastPlayedSection-CUAAhow_.js} +23 -23
- package/components/{CasinoMostPlayedSection-D6tstOEt.js → CasinoMostPlayedSection-BnToIr8-.js} +31 -31
- package/components/{CasinoMostPlayedSection-CC_Tg4df.js → CasinoMostPlayedSection-Bud1phIC.js} +18 -18
- package/components/{CasinoMyGames-CYxg2dGr.js → CasinoMyGames-CzK5JyT2.js} +29 -29
- package/components/{CasinoMyGames-RxiTWlXT.js → CasinoMyGames-DdDu9RrL.js} +28 -28
- package/components/{CasinoPage-DIOj5RhT.js → CasinoPage-D_LgcMWE.js} +62 -62
- package/components/{CasinoPage-CL_m3xF1.js → CasinoPage-lhLJyvKO.js} +62 -62
- package/components/{CasinoRandomGame-Bfi87svz.js → CasinoRandomGame-CkmpqSR6.js} +32 -32
- package/components/{CasinoRandomGame-CG4x2FAS.js → CasinoRandomGame-Dnh7yHc7.js} +31 -31
- package/components/{CasinoSearch-CxQs_p_i.js → CasinoSearch-CsiKfMb7.js} +56 -56
- package/components/{CasinoSearch-BgB6R31k.js → CasinoSearch-mlQQk1v4.js} +58 -58
- package/components/{CasinoSort-CdZeVs_i.js → CasinoSort-jMF4ZMEh.js} +60 -60
- package/components/{CasinoSort-E9nq4-oD.js → CasinoSort-soXa4LoU.js} +44 -44
- package/components/{CasinoWinners-BsyRHPOD.js → CasinoWinners-CQvuIviG.js} +150 -150
- package/components/{CasinoWinners-DhNgh1T2.js → CasinoWinners-QtxD5PZL.js} +144 -144
- package/components/{GeneralAnimationLoading-JjZmFhVY.js → GeneralAnimationLoading-BAfn1FVp.js} +7 -7
- package/components/{GeneralAnimationLoading-C1HfttvN.js → GeneralAnimationLoading-VtmaQHFz.js} +6 -6
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
|
@@ -14,9 +14,9 @@ var ue = (t, e, a) => new Promise((n, r) => {
|
|
|
14
14
|
}, i = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(l, s);
|
|
15
15
|
i((a = a.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import {
|
|
18
|
-
import { d as lt } from "./CasinoWinners-
|
|
19
|
-
import "./CasinoGamesCategorySection-
|
|
17
|
+
import { a as Ve, $ as Je, S as Ye, i as Ze, s as Xe, f as L, b as Ke, n as he, d as j, T as Qe, g, Y as de, c as I, m as b, B as U, e as k, q as z, C as me, t as ae, h as $e, j as et, u as q, v as H, k as fe, w as ge, A as tt, l as Te, y as u, D as at, E as nt, F as rt, G as ot, H as st } from "./CasinoPage-lhLJyvKO.js";
|
|
18
|
+
import { d as lt } from "./CasinoWinners-CQvuIviG.js";
|
|
19
|
+
import "./CasinoGamesCategorySection-C-hyg8q7.js";
|
|
20
20
|
function pe(t, e) {
|
|
21
21
|
Ve(t, e);
|
|
22
22
|
}
|
|
@@ -237,7 +237,7 @@ function ut(t, e) {
|
|
|
237
237
|
return a.getTime() < n.getTime();
|
|
238
238
|
}
|
|
239
239
|
function ht(t) {
|
|
240
|
-
|
|
240
|
+
Ke(t, "svelte-nijkoq", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
|
|
241
241
|
}
|
|
242
242
|
function _e(t, e, a) {
|
|
243
243
|
const n = t.slice();
|
|
@@ -298,7 +298,7 @@ function dt(t) {
|
|
|
298
298
|
);
|
|
299
299
|
return {
|
|
300
300
|
c() {
|
|
301
|
-
i && i.c(), e =
|
|
301
|
+
i && i.c(), e = z(), a = k("div"), c && c.c(), n = z(), m && m.c(), g(a, "class", r = "SearchResultsContainer " + /*searchActive*/
|
|
302
302
|
(t[17] == !0 ? "" : "NotVisible"));
|
|
303
303
|
},
|
|
304
304
|
m(h, f) {
|
|
@@ -371,7 +371,7 @@ function gt(t) {
|
|
|
371
371
|
);
|
|
372
372
|
return {
|
|
373
373
|
c() {
|
|
374
|
-
n && n.c(), e =
|
|
374
|
+
n && n.c(), e = z(), r && r.c(), a = Te();
|
|
375
375
|
},
|
|
376
376
|
m(l, s) {
|
|
377
377
|
n && n.m(l, s), I(l, e, s), r && r.m(l, s), I(l, a, s);
|
|
@@ -418,7 +418,7 @@ function ye(t) {
|
|
|
418
418
|
);
|
|
419
419
|
return {
|
|
420
420
|
c() {
|
|
421
|
-
e = k("div"), i && i.c(), a =
|
|
421
|
+
e = k("div"), i && i.c(), a = z(), n = k("p"), l = H(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
422
422
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
423
423
|
},
|
|
424
424
|
m(c, m) {
|
|
@@ -580,7 +580,7 @@ function Ce(t) {
|
|
|
580
580
|
I(d, e, p);
|
|
581
581
|
},
|
|
582
582
|
p(d, p) {
|
|
583
|
-
var
|
|
583
|
+
var N;
|
|
584
584
|
p[0] & /*endpoint*/
|
|
585
585
|
1 && u(
|
|
586
586
|
e,
|
|
@@ -623,7 +623,7 @@ function Ce(t) {
|
|
|
623
623
|
8192 && s !== (s = /*game*/
|
|
624
624
|
d[55].isNew) && u(e, "gameisnew", s), p[0] & /*searchArray*/
|
|
625
625
|
8192 && i !== (i = /*game*/
|
|
626
|
-
((
|
|
626
|
+
((N = d[55].advancedTags) == null ? void 0 : N.length) > 0 && /*addGameTag*/
|
|
627
627
|
d[25](
|
|
628
628
|
/*game*/
|
|
629
629
|
d[55].advancedTags
|
|
@@ -702,7 +702,7 @@ function Fe(t) {
|
|
|
702
702
|
);
|
|
703
703
|
return {
|
|
704
704
|
c() {
|
|
705
|
-
e = k("div"), f && f.c(), a =
|
|
705
|
+
e = k("div"), f && f.c(), a = z(), n = k("p"), l = H(r), s = z(), i = k("p"), m = H(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
706
706
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
707
707
|
},
|
|
708
708
|
m(w, d) {
|
|
@@ -738,7 +738,7 @@ function Le(t) {
|
|
|
738
738
|
};
|
|
739
739
|
}
|
|
740
740
|
function pt(t) {
|
|
741
|
-
let e, a, n, r, l, s, i, c, m, h, f, w, d, p,
|
|
741
|
+
let e, a, n, r, l, s, i, c, m, h, f, w, d, p, N, P, M, J, A, W, v = (
|
|
742
742
|
/*cancelbutton*/
|
|
743
743
|
t[9] === "true" && we(t)
|
|
744
744
|
);
|
|
@@ -748,10 +748,10 @@ function pt(t) {
|
|
|
748
748
|
_[18] ? mt : dt
|
|
749
749
|
);
|
|
750
750
|
}
|
|
751
|
-
let
|
|
751
|
+
let B = D(t), R = B(t);
|
|
752
752
|
return {
|
|
753
753
|
c() {
|
|
754
|
-
e = k("div"), a = k("div"), n = k("div"), r = k("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l =
|
|
754
|
+
e = k("div"), a = k("div"), n = k("div"), r = k("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = z(), s = k("input"), c = z(), m = k("span"), h = me("svg"), f = me("path"), d = z(), v && v.c(), N = z(), P = k("div"), J = z(), R.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
|
|
755
755
|
t[21]("placeHolderSearchGames")), g(s, "maxlength", St), g(f, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), g(f, "stroke", "#717171"), g(f, "stroke-width", "2"), g(f, "stroke-linecap", "round"), g(f, "stroke-linejoin", "round"), g(h, "width", "11"), g(h, "height", "11"), g(h, "fill", "none"), g(h, "xmlns", "http://www.w3.org/2000/svg"), g(m, "class", w = "SearchClearButton " + /*cancelbutton*/
|
|
756
756
|
(t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
757
757
|
(t[14].length != 0 ? "" : "NotVisible")), g(n, "class", p = "Search " + /*searchCancelled*/
|
|
@@ -766,7 +766,7 @@ function pt(t) {
|
|
|
766
766
|
s,
|
|
767
767
|
/*searchValue*/
|
|
768
768
|
t[14]
|
|
769
|
-
), t[35](s), b(n, c), b(n, m), b(m, h), b(h, f), b(n, d), v && v.m(n, null), b(e,
|
|
769
|
+
), t[35](s), b(n, c), b(n, m), b(m, h), b(h, f), b(n, d), v && v.m(n, null), b(e, N), b(e, P), b(e, J), R.m(e, null), t[38](e), A || (W = [
|
|
770
770
|
U(
|
|
771
771
|
s,
|
|
772
772
|
"input",
|
|
@@ -797,7 +797,7 @@ function pt(t) {
|
|
|
797
797
|
/*handleOverlay*/
|
|
798
798
|
t[24]
|
|
799
799
|
)
|
|
800
|
-
],
|
|
800
|
+
], A = !0);
|
|
801
801
|
},
|
|
802
802
|
p(_, T) {
|
|
803
803
|
T[0] & /*$_*/
|
|
@@ -816,12 +816,12 @@ function pt(t) {
|
|
|
816
816
|
65536 && p !== (p = "Search " + /*searchCancelled*/
|
|
817
817
|
(_[16] ? "" : "SearchAnimation")) && g(n, "class", p), T[0] & /*cancelbutton*/
|
|
818
818
|
512 && M !== (M = /*cancelbutton*/
|
|
819
|
-
_[9] != "true" ? "OverlayCancel" : "") && g(P, "class", M),
|
|
819
|
+
_[9] != "true" ? "OverlayCancel" : "") && g(P, "class", M), B === (B = D(_)) && R ? R.p(_, T) : (R.d(1), R = B(_), R && (R.c(), R.m(e, null)));
|
|
820
820
|
},
|
|
821
821
|
i: he,
|
|
822
822
|
o: he,
|
|
823
823
|
d(_) {
|
|
824
|
-
_ && j(e), t[35](null), v && v.d(), R.d(), t[38](null),
|
|
824
|
+
_ && j(e), t[35](null), v && v.d(), R.d(), t[38](null), A = !1, Qe(W);
|
|
825
825
|
}
|
|
826
826
|
};
|
|
827
827
|
}
|
|
@@ -829,9 +829,9 @@ let St = 50;
|
|
|
829
829
|
function bt(t, e, a) {
|
|
830
830
|
let n;
|
|
831
831
|
$e(t, st, (o) => a(21, n = o));
|
|
832
|
-
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: f = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl:
|
|
832
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: f = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: N = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: J = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], D = [], B = {}, R = "", _, T = !0, Y = !1, E = !1, x, X = !1, K, Q, re = [], je;
|
|
833
833
|
const Ie = () => {
|
|
834
|
-
fetch(
|
|
834
|
+
fetch(N).then((S) => S.json()).then((S) => {
|
|
835
835
|
Object.keys(S).forEach((y) => {
|
|
836
836
|
pe(y, S[y]);
|
|
837
837
|
});
|
|
@@ -843,9 +843,9 @@ function bt(t, e, a) {
|
|
|
843
843
|
pe(o, Se[o]);
|
|
844
844
|
});
|
|
845
845
|
const oe = (o) => {
|
|
846
|
-
o.data && o.data.type == "SearchedItemClicked" && xe(o.data.gameId), o.data.type == "UserSessionID" && (a(19,
|
|
846
|
+
o.data && o.data.type == "SearchedItemClicked" && xe(o.data.gameId), o.data.type == "UserSessionID" && (a(19, K = o.data.session), a(20, Q = o.data.userid), a(33, X = !0)), o.data.type == "CategoryChange" && $();
|
|
847
847
|
}, se = () => {
|
|
848
|
-
if (a(16, T = !1), a(17,
|
|
848
|
+
if (a(16, T = !1), a(17, Y = !0), r && l && c && R.length < 2) {
|
|
849
849
|
a(13, v = []);
|
|
850
850
|
let o = localStorage.getItem("searchedGamesWds_casino"), S = [];
|
|
851
851
|
o && (S = o.split(","));
|
|
@@ -853,46 +853,46 @@ function bt(t, e, a) {
|
|
|
853
853
|
if (F > 0) {
|
|
854
854
|
for (C = 0; C < F; C++) {
|
|
855
855
|
let G = new URL(`${r}/v1/casino/games/${S[C]}`);
|
|
856
|
-
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ae(W)), y.push(
|
|
856
|
+
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ae(W)), y.push(Ee(G, S[C]));
|
|
857
857
|
}
|
|
858
858
|
Promise.all(y).then((G) => {
|
|
859
859
|
G = G.filter(function(O) {
|
|
860
860
|
return !!O;
|
|
861
|
-
}), a(13, v = G.map((O) => (O.isFavorite = le(O.id), O))), v.length ?
|
|
861
|
+
}), a(13, v = G.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Z("searchSuccess", "SearchWidget") : Z("searchFail", "SearchWidget");
|
|
862
862
|
}).catch((G) => {
|
|
863
|
-
|
|
863
|
+
Z("searchError", "SearchWidget");
|
|
864
864
|
});
|
|
865
865
|
}
|
|
866
866
|
}
|
|
867
|
-
ce(
|
|
868
|
-
},
|
|
867
|
+
ce(Y), Z("searchAttempt", "SearchWidget"), Z("SearchInitialized", "SearchWidget");
|
|
868
|
+
}, Z = (o, S) => {
|
|
869
869
|
typeof gtag == "function" && gtag("event", o, { context: S });
|
|
870
870
|
}, Ge = () => {
|
|
871
871
|
M != "true" && $();
|
|
872
872
|
}, De = (o) => new Promise((S, y) => {
|
|
873
|
-
a(18,
|
|
874
|
-
a(18,
|
|
873
|
+
a(18, E = !0), fetch(o.href).then((C) => C.json()).then((C) => {
|
|
874
|
+
a(18, E = !1), S(C);
|
|
875
875
|
}).catch((C) => {
|
|
876
|
-
a(18,
|
|
876
|
+
a(18, E = !1), console.error(C), y(C);
|
|
877
877
|
});
|
|
878
|
-
}),
|
|
879
|
-
a(18,
|
|
880
|
-
a(18,
|
|
878
|
+
}), Ee = (o, S) => new Promise((y, C) => {
|
|
879
|
+
a(18, E = !0), S && Object.keys(B).indexOf(S) >= 0 ? (a(18, E = !1), y(B[S])) : fetch(o).then((F) => F.json()).then((F) => {
|
|
880
|
+
a(18, E = !1), F.error || (B[F[0].gameId] = F[0]), y(F[0]);
|
|
881
881
|
}).catch((F) => {
|
|
882
|
-
a(18,
|
|
882
|
+
a(18, E = !1), console.error(F), C(F);
|
|
883
883
|
});
|
|
884
|
-
}),
|
|
884
|
+
}), ze = () => {
|
|
885
885
|
const o = new URL(`${r}/v1/player/${Q}/favorites/`);
|
|
886
|
-
a(18,
|
|
886
|
+
a(18, E = !0);
|
|
887
887
|
let S = {
|
|
888
888
|
method: "GET",
|
|
889
|
-
headers: { "X-SessionID":
|
|
889
|
+
headers: { "X-SessionID": K }
|
|
890
890
|
};
|
|
891
891
|
fetch(o.href, S).then((y) => y.json()).then((y) => {
|
|
892
|
-
a(18,
|
|
892
|
+
a(18, E = !1), re = y.items.map((C) => C.id);
|
|
893
893
|
});
|
|
894
|
-
},
|
|
895
|
-
a(33,
|
|
894
|
+
}, Ne = () => {
|
|
895
|
+
a(33, X = !0), a(19, K = s), a(20, Q = i);
|
|
896
896
|
}, le = (o) => re.findIndex((S) => S == o) !== -1, Pe = (o) => {
|
|
897
897
|
if ((o == null ? void 0 : o.length) === 0)
|
|
898
898
|
return "";
|
|
@@ -908,7 +908,7 @@ function bt(t, e, a) {
|
|
|
908
908
|
D.unshift(o), S = D.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
909
909
|
}
|
|
910
910
|
}, $ = () => {
|
|
911
|
-
a(14, R = ""), a(16, T = !0), a(18,
|
|
911
|
+
a(14, R = ""), a(16, T = !0), a(18, E = !1), a(13, v = []), a(17, Y = !1), ce(Y);
|
|
912
912
|
}, ie = () => {
|
|
913
913
|
a(14, R = ""), _.focus();
|
|
914
914
|
}, ce = (o) => {
|
|
@@ -921,7 +921,7 @@ function bt(t, e, a) {
|
|
|
921
921
|
);
|
|
922
922
|
}, Me = () => {
|
|
923
923
|
it(c);
|
|
924
|
-
},
|
|
924
|
+
}, Be = lt(() => ue(this, null, function* () {
|
|
925
925
|
if (R.length >= 2) {
|
|
926
926
|
const o = new URL(`${r}/v1/casino/games`);
|
|
927
927
|
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), De(o).then((S) => {
|
|
@@ -933,7 +933,7 @@ function bt(t, e, a) {
|
|
|
933
933
|
et(() => (window.addEventListener("message", oe, !1), () => {
|
|
934
934
|
window.removeEventListener("message", oe);
|
|
935
935
|
}));
|
|
936
|
-
function
|
|
936
|
+
function Ae() {
|
|
937
937
|
R = this.value, a(14, R);
|
|
938
938
|
}
|
|
939
939
|
function Oe(o) {
|
|
@@ -948,18 +948,18 @@ function bt(t, e, a) {
|
|
|
948
948
|
});
|
|
949
949
|
}
|
|
950
950
|
return t.$$set = (o) => {
|
|
951
|
-
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(29, l = o.datasource), "session" in o && a(30, s = o.session), "userid" in o && a(31, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, f = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, w = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(32,
|
|
951
|
+
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(29, l = o.datasource), "session" in o && a(30, s = o.session), "userid" in o && a(31, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, f = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, w = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(32, N = o.translationurl), "showfavorites" in o && a(8, P = o.showfavorites), "cancelbutton" in o && a(9, M = o.cancelbutton), "notfoundicon" in o && a(10, J = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
|
|
952
952
|
}, t.$$.update = () => {
|
|
953
953
|
t.$$.dirty[0] & /*lang*/
|
|
954
954
|
2 && c && Me(), t.$$.dirty[1] & /*translationurl*/
|
|
955
|
-
2 &&
|
|
955
|
+
2 && N && Ie(), t.$$.dirty[0] & /*session*/
|
|
956
956
|
1073741824 | t.$$.dirty[1] & /*userid*/
|
|
957
|
-
1 && s && i &&
|
|
957
|
+
1 && s && i && Ne(), t.$$.dirty[0] & /*showfavorites*/
|
|
958
958
|
256 | t.$$.dirty[1] & /*isLoggedIn*/
|
|
959
|
-
4 && P &&
|
|
959
|
+
4 && P && X && ze(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
960
960
|
4100 && m && x && at(x, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
961
961
|
4104 && h && x && nt(x, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
962
|
-
6144 && x && rt(x, `${
|
|
962
|
+
6144 && x && rt(x, `${A}.Style`, je);
|
|
963
963
|
}, [
|
|
964
964
|
r,
|
|
965
965
|
c,
|
|
@@ -972,15 +972,15 @@ function bt(t, e, a) {
|
|
|
972
972
|
P,
|
|
973
973
|
M,
|
|
974
974
|
J,
|
|
975
|
-
|
|
975
|
+
A,
|
|
976
976
|
x,
|
|
977
977
|
v,
|
|
978
978
|
R,
|
|
979
979
|
_,
|
|
980
980
|
T,
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
981
|
+
Y,
|
|
982
|
+
E,
|
|
983
|
+
K,
|
|
984
984
|
Q,
|
|
985
985
|
n,
|
|
986
986
|
W,
|
|
@@ -989,27 +989,27 @@ function bt(t, e, a) {
|
|
|
989
989
|
Pe,
|
|
990
990
|
$,
|
|
991
991
|
ie,
|
|
992
|
-
|
|
992
|
+
Be,
|
|
993
993
|
l,
|
|
994
994
|
s,
|
|
995
995
|
i,
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
996
|
+
N,
|
|
997
|
+
X,
|
|
998
|
+
Ae,
|
|
999
999
|
Oe,
|
|
1000
1000
|
qe,
|
|
1001
1001
|
He,
|
|
1002
1002
|
We
|
|
1003
1003
|
];
|
|
1004
1004
|
}
|
|
1005
|
-
class _t extends
|
|
1005
|
+
class _t extends Ye {
|
|
1006
1006
|
constructor(e) {
|
|
1007
|
-
super(),
|
|
1007
|
+
super(), Ze(
|
|
1008
1008
|
this,
|
|
1009
1009
|
e,
|
|
1010
1010
|
bt,
|
|
1011
1011
|
pt,
|
|
1012
|
-
|
|
1012
|
+
Xe,
|
|
1013
1013
|
{
|
|
1014
1014
|
endpoint: 0,
|
|
1015
1015
|
datasource: 29,
|