@everymatrix/casino-page 1.87.25 → 1.87.27
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-Bk2VWsYP.js +572 -0
- package/components/CasinoCalendar-CuMdPVUL.js +574 -0
- package/components/CasinoCalendar-NysJ_MQc.cjs +2 -0
- package/components/{CasinoCalendarDailyDetails-C9QkDeeW.js → CasinoCalendarDailyDetails-BMRyShgB.js} +84 -84
- package/components/CasinoCalendarDailyDetails-Ctd7GG23.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-DG8jTkOb.js → CasinoCalendarDailyDetails-DpRL4rZD.js} +84 -84
- package/components/CasinoCalendarDailyItem-Bwv-TV7n.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-H9bFOk6V.js → CasinoCalendarDailyItem-O-m4LUQU.js} +118 -118
- package/components/{CasinoCalendarDailyItem-77QxCgOg.js → CasinoCalendarDailyItem-kbMnL8LX.js} +118 -118
- package/components/CasinoCollectionsProviders-DxCAKrxO.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BRaAIVvV.js → CasinoCollectionsProviders-I8uaw4CX.js} +65 -65
- package/components/{CasinoCollectionsProviders-DOGIidgs.js → CasinoCollectionsProviders-bBtLlyhP.js} +93 -93
- package/components/CasinoFavoritesSection-BKpylL-E.cjs +1 -0
- package/components/{CasinoFavoritesSection-C-WTpxpq.js → CasinoFavoritesSection-D1NR_VbM.js} +47 -63
- package/components/{CasinoFavoritesSection-CZ-q50oD.js → CasinoFavoritesSection-DVEeqd8t.js} +44 -60
- package/components/CasinoFilter-BuCRML3F.cjs +1 -0
- package/components/{CasinoFilter-Dd_ByQUb.js → CasinoFilter-C-8LktQ9.js} +223 -224
- package/components/{CasinoFilter-BqfBTs3X.js → CasinoFilter-JysfGnIT.js} +251 -250
- package/components/CasinoGameThumbnail-CTIJhcZN.js +1847 -0
- package/components/CasinoGameThumbnail-MpCIIvr2.cjs +38 -0
- package/components/CasinoGameThumbnail-vCdzZgSQ.js +1831 -0
- package/components/CasinoGamesCategorySection-CQTfYAer.cjs +10 -0
- package/components/CasinoGamesCategorySection-C_uyd_r_.js +5729 -0
- package/components/CasinoGamesCategorySection-Cavp2XcF.js +5697 -0
- package/components/{CasinoJackpotBanner-BuCeq-FN.js → CasinoJackpotBanner-C6568dXk.js} +176 -176
- package/components/{CasinoJackpotBanner-Ba0HSy7J.js → CasinoJackpotBanner-CLADRgxD.js} +154 -154
- package/components/CasinoJackpotBanner-C_Gf1vLe.cjs +1 -0
- package/components/{CasinoLastPlayedSection-DJ9HO253.js → CasinoLastPlayedSection-Daix__De.js} +71 -72
- package/components/{CasinoLastPlayedSection-C5vsXbz8.js → CasinoLastPlayedSection-fA_Nko5c.js} +68 -69
- package/components/CasinoLastPlayedSection-i9eM46ud.cjs +1 -0
- package/components/CasinoMostPlayedSection-7F-BgAlY.cjs +1 -0
- package/components/{CasinoMostPlayedSection-_rcZwydD.js → CasinoMostPlayedSection-BG98a19d.js} +64 -65
- package/components/{CasinoMostPlayedSection-Cj9P1O_g.js → CasinoMostPlayedSection-DjDWyNmN.js} +66 -67
- package/components/{CasinoMyGames-BCWaO0Ph.js → CasinoMyGames-DbWMDQDz.js} +46 -46
- package/components/CasinoMyGames-FxQZFPn1.cjs +1 -0
- package/components/{CasinoMyGames-DA-mPnwJ.js → CasinoMyGames-fh1A5kRZ.js} +46 -46
- package/components/CasinoPage-CEwUBRwz.js +8914 -0
- package/components/CasinoPage-D1gCtQ9f.cjs +18 -0
- package/components/CasinoPage-DuLO92lO.js +8959 -0
- package/components/CasinoRandomGame-B6nMcOFW.cjs +2 -0
- package/components/{CasinoRandomGame-Dicpdv5N.js → CasinoRandomGame-BXeDL44i.js} +118 -118
- package/components/{CasinoRandomGame-Mzhi_geU.js → CasinoRandomGame-fp8-6pxV.js} +116 -116
- package/components/{CasinoSearch-BkcRkT-Z.js → CasinoSearch-CT_Q7Eg2.js} +75 -75
- package/components/{CasinoSearch-CFh1KpPL.js → CasinoSearch-D25EUsHS.js} +75 -75
- package/components/CasinoSearch-DSNlggOc.cjs +1 -0
- package/components/CasinoSort-5sOVz1es.cjs +1 -0
- package/components/{CasinoSort-DuvD0KkH.js → CasinoSort-CoBXSITn.js} +102 -102
- package/components/{CasinoSort-DHqu-YG-.js → CasinoSort-l3IilL10.js} +116 -116
- package/components/{CasinoWinners-C0aKkeDL.js → CasinoWinners-BeLObVW8.js} +105 -105
- package/components/{CasinoWinners-DdSjlEaj.js → CasinoWinners-mCHa7x4u.js} +108 -108
- package/components/CasinoWinners-pE3a77v3.cjs +1 -0
- package/components/GeneralAnimationLoading-BJ87LnuC.cjs +1 -0
- package/components/{GeneralAnimationLoading-DhrziAD2.js → GeneralAnimationLoading-BaLCQhkc.js} +23 -23
- package/components/{GeneralAnimationLoading-B00sPlMG.js → GeneralAnimationLoading-SLNmfkn9.js} +22 -22
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +7 -7
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{app-globals-0f993ce5-4b17CI_n.cjs → app-globals-0f993ce5-3HCMFTIi.cjs} +1 -1
- package/stencil/{app-globals-0f993ce5-DfNOCk8l.js → app-globals-0f993ce5-DYjuqKIH.js} +2 -2
- package/stencil/{casino-play-random-game-rhXCh2EW.js → casino-play-random-game-BnjM-0qi.js} +2 -2
- package/stencil/{casino-play-random-game-CSy8nXT0.js → casino-play-random-game-DRQxeH3W.js} +2 -2
- package/stencil/{casino-play-random-game-PuRF3mXV.cjs → casino-play-random-game-dt2t2wAq.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-CZQxP9GA.js → casino-play-random-game_2-BvZbjHRJ.js} +92 -64
- package/stencil/{casino-play-random-game_2-CBAgufN5.cjs → casino-play-random-game_2-ZYQBmsCp.cjs} +3 -3
- package/stencil/{casino-play-random-game_2-BBgMV3ws.js → casino-play-random-game_2-aWmRrJVX.js} +91 -64
- package/stencil/{index-328e660d-BLQrzwBv.cjs → index-328e660d-BN7c7sEP.cjs} +1 -1
- package/stencil/{index-328e660d-Belout2l.js → index-328e660d-CJOt0Yr_.js} +1 -1
- package/stencil/{index-328e660d-BqUO7ccV.js → index-328e660d-CZwFIIV5.js} +1 -1
- package/stencil/{index-b2193545-DuCTLpV-.cjs → index-b2193545-BYDm8FOU.cjs} +1 -1
- package/stencil/{index-b2193545-DG7pnr-7.js → index-b2193545-CVvOSay7.js} +1 -1
- package/stencil/{index-b2193545-BZAG_Jnw.js → index-b2193545-DkSkdO8p.js} +1 -1
- package/stencil/{ui-image-BmLAbwvr.cjs → ui-image-BNLichPz.cjs} +1 -1
- package/stencil/{ui-image-DDulMZDF.js → ui-image-D8_P6p7o.js} +1 -1
- package/stencil/{ui-image-DwWgscwP.js → ui-image-KAOdlRk_.js} +1 -1
- package/stencil/{ui-skeleton-DgZQnowa.js → ui-skeleton-CbcQXFpx.js} +3 -3
- package/stencil/{ui-skeleton-D_tu1FGi.js → ui-skeleton-DgkQtSrH.js} +3 -3
- package/stencil/{ui-skeleton-BWEKzqTN.cjs → ui-skeleton-TOJItxHv.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-D2rWx_KU.js → ui-skeleton-ed169f8f-BD9hI4Jz.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Ti6Ksz7V.cjs → ui-skeleton-ed169f8f-CGu6WFdq.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Bs1q2JQr.js → ui-skeleton-ed169f8f-CaxkPCnR.js} +1 -1
- package/components/CasinoCalendar-4k288rHh.cjs +0 -19
- package/components/CasinoCalendar-BNbVJJdG.js +0 -5140
- package/components/CasinoCalendar-DAKxxPPx.js +0 -5101
- package/components/CasinoCalendarDailyDetails-CerVlpW4.cjs +0 -1
- package/components/CasinoCalendarDailyItem-B7YANGR4.cjs +0 -1
- package/components/CasinoCollectionsProviders-OZw09qnR.cjs +0 -1
- package/components/CasinoFavoritesSection-DYzKNVZJ.cjs +0 -1
- package/components/CasinoFilter-BP97bmoQ.cjs +0 -1
- package/components/CasinoGameThumbnail-CySg8Qzs.js +0 -4359
- package/components/CasinoGameThumbnail-W0nETKCH.cjs +0 -47
- package/components/CasinoGameThumbnail-ge_yVb-v.js +0 -4375
- package/components/CasinoGamesCategorySection-B2CXUJ-V.js +0 -3217
- package/components/CasinoGamesCategorySection-B8IjpDwj.js +0 -3185
- package/components/CasinoGamesCategorySection-DCjn0aiz.cjs +0 -1
- package/components/CasinoJackpotBanner-DRtiH_Mn.cjs +0 -1
- package/components/CasinoLastPlayedSection-CP4YzhAu.cjs +0 -1
- package/components/CasinoMostPlayedSection-DPG3YsM6.cjs +0 -1
- package/components/CasinoMyGames-Bqyyy2Me.cjs +0 -1
- package/components/CasinoPage-BNU69s1m.js +0 -4353
- package/components/CasinoPage-BRSRsp5F.js +0 -4334
- package/components/CasinoPage-D-FENg4m.cjs +0 -1
- package/components/CasinoRandomGame-DRGWOXO6.cjs +0 -2
- package/components/CasinoSearch-D14Ak2E9.cjs +0 -1
- package/components/CasinoSort-BVyHskml.cjs +0 -1
- package/components/CasinoWinners-5S4Rqt23.cjs +0 -1
- package/components/GeneralAnimationLoading-wnzFPEVd.cjs +0 -1
|
@@ -14,13 +14,13 @@ 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 { a as
|
|
18
|
-
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-DuLO92lO.js";
|
|
18
|
+
import "./CasinoGamesCategorySection-C_uyd_r_.js";
|
|
19
19
|
function pe(t, e) {
|
|
20
|
-
|
|
20
|
+
Ve(t, e);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
|
|
22
|
+
function lt(t) {
|
|
23
|
+
Je.set(t);
|
|
24
24
|
}
|
|
25
25
|
const Se = {
|
|
26
26
|
en: {
|
|
@@ -204,7 +204,7 @@ const Se = {
|
|
|
204
204
|
notFoundText: "Please type the correct name of the game to start to play.",
|
|
205
205
|
noRecentSearches: "No recent searches yet. Search for any of our games."
|
|
206
206
|
}
|
|
207
|
-
},
|
|
207
|
+
}, it = (t, e) => function(...a) {
|
|
208
208
|
clearTimeout(this.debounceTimer), this.debounceTimer = setTimeout(() => {
|
|
209
209
|
t.apply(this, a);
|
|
210
210
|
}, e);
|
|
@@ -229,17 +229,17 @@ function V(t) {
|
|
|
229
229
|
function be(t, e) {
|
|
230
230
|
return ee(2, arguments), V(t).getTime() - V(e).getTime();
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function ct(t, e) {
|
|
233
233
|
ee(2, arguments);
|
|
234
234
|
var a = V(t), n = V(e);
|
|
235
235
|
return a.getTime() > n.getTime();
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function ut(t, e) {
|
|
238
238
|
ee(2, arguments);
|
|
239
239
|
var a = V(t), n = V(e);
|
|
240
240
|
return a.getTime() < n.getTime();
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function ht(t) {
|
|
243
243
|
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}");
|
|
244
244
|
}
|
|
245
245
|
function _e(t, e, a) {
|
|
@@ -276,7 +276,7 @@ function we(t) {
|
|
|
276
276
|
}
|
|
277
277
|
};
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function dt(t) {
|
|
280
280
|
let e, a, n, r;
|
|
281
281
|
function l(h, f) {
|
|
282
282
|
if (
|
|
@@ -284,12 +284,12 @@ function ht(t) {
|
|
|
284
284
|
h[17] == !0 && /*searchValue*/
|
|
285
285
|
h[14].length < 2
|
|
286
286
|
)
|
|
287
|
-
return
|
|
287
|
+
return gt;
|
|
288
288
|
if (
|
|
289
289
|
/*searchArray*/
|
|
290
290
|
h[13].length != 0
|
|
291
291
|
)
|
|
292
|
-
return
|
|
292
|
+
return ft;
|
|
293
293
|
}
|
|
294
294
|
let s = l(t), i = s && s(t), c = (
|
|
295
295
|
/*searchCancelled*/
|
|
@@ -320,7 +320,7 @@ function ht(t) {
|
|
|
320
320
|
}
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function mt(t) {
|
|
324
324
|
let e, a = (
|
|
325
325
|
/*$_*/
|
|
326
326
|
t[21]("loading") + ""
|
|
@@ -342,7 +342,7 @@ function dt(t) {
|
|
|
342
342
|
}
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function ft(t) {
|
|
346
346
|
let e, a = (
|
|
347
347
|
/*$_*/
|
|
348
348
|
t[21]("searchResult") + ""
|
|
@@ -364,7 +364,7 @@ function mt(t) {
|
|
|
364
364
|
}
|
|
365
365
|
};
|
|
366
366
|
}
|
|
367
|
-
function
|
|
367
|
+
function gt(t) {
|
|
368
368
|
let e, a, n = (
|
|
369
369
|
/*searchArray*/
|
|
370
370
|
t[13].length !== 0 && ve(t)
|
|
@@ -490,7 +490,7 @@ function Re(t) {
|
|
|
490
490
|
}
|
|
491
491
|
},
|
|
492
492
|
d(r) {
|
|
493
|
-
r && j(e),
|
|
493
|
+
r && j(e), tt(n, r);
|
|
494
494
|
}
|
|
495
495
|
};
|
|
496
496
|
}
|
|
@@ -740,7 +740,7 @@ function Le(t) {
|
|
|
740
740
|
}
|
|
741
741
|
};
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function pt(t) {
|
|
744
744
|
let e, a, n, r, l, s, i, c, m, h, f, w, d, p, N, P, M, J, A, W, v = (
|
|
745
745
|
/*cancelbutton*/
|
|
746
746
|
t[9] === "true" && we(t)
|
|
@@ -748,14 +748,14 @@ function gt(t) {
|
|
|
748
748
|
function D(_, T) {
|
|
749
749
|
return (
|
|
750
750
|
/*isLoading*/
|
|
751
|
-
_[18] ?
|
|
751
|
+
_[18] ? mt : dt
|
|
752
752
|
);
|
|
753
753
|
}
|
|
754
754
|
let B = D(t), R = B(t);
|
|
755
755
|
return {
|
|
756
756
|
c() {
|
|
757
757
|
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 = /*$_*/
|
|
758
|
-
t[21]("placeHolderSearchGames")), g(s, "maxlength",
|
|
758
|
+
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*/
|
|
759
759
|
(t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
760
760
|
(t[14].length != 0 ? "" : "NotVisible")), g(n, "class", p = "Search " + /*searchCancelled*/
|
|
761
761
|
(t[16] ? "" : "SearchAnimation")), g(a, "class", "SearchWrap"), g(P, "class", M = /*cancelbutton*/
|
|
@@ -824,16 +824,16 @@ function gt(t) {
|
|
|
824
824
|
i: he,
|
|
825
825
|
o: he,
|
|
826
826
|
d(_) {
|
|
827
|
-
_ && j(e), t[35](null), v && v.d(), R.d(), t[38](null), A = !1,
|
|
827
|
+
_ && j(e), t[35](null), v && v.d(), R.d(), t[38](null), A = !1, Qe(W);
|
|
828
828
|
}
|
|
829
829
|
};
|
|
830
830
|
}
|
|
831
|
-
let
|
|
832
|
-
function
|
|
831
|
+
let St = 50;
|
|
832
|
+
function bt(t, e, a) {
|
|
833
833
|
let n;
|
|
834
|
-
|
|
835
|
-
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,
|
|
836
|
-
const
|
|
834
|
+
$e(t, st, (o) => a(21, n = o));
|
|
835
|
+
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;
|
|
836
|
+
const Ie = () => {
|
|
837
837
|
fetch(N).then((S) => S.json()).then((S) => {
|
|
838
838
|
Object.keys(S).forEach((y) => {
|
|
839
839
|
pe(y, S[y]);
|
|
@@ -846,9 +846,9 @@ function St(t, e, a) {
|
|
|
846
846
|
pe(o, Se[o]);
|
|
847
847
|
});
|
|
848
848
|
const oe = (o) => {
|
|
849
|
-
o.data && o.data.type == "SearchedItemClicked" &&
|
|
849
|
+
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" && $();
|
|
850
850
|
}, se = () => {
|
|
851
|
-
if (a(16, T = !1), a(17,
|
|
851
|
+
if (a(16, T = !1), a(17, Y = !0), r && l && c && R.length < 2) {
|
|
852
852
|
a(13, v = []);
|
|
853
853
|
let o = localStorage.getItem("searchedGamesWds_casino"), S = [];
|
|
854
854
|
o && (S = o.split(","));
|
|
@@ -856,62 +856,62 @@ function St(t, e, a) {
|
|
|
856
856
|
if (F > 0) {
|
|
857
857
|
for (C = 0; C < F; C++) {
|
|
858
858
|
let G = new URL(`${r}/v1/casino/games/${S[C]}`);
|
|
859
|
-
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ae(W)), y.push(
|
|
859
|
+
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ae(W)), y.push(Ee(G, S[C]));
|
|
860
860
|
}
|
|
861
861
|
Promise.all(y).then((G) => {
|
|
862
862
|
G = G.filter(function(O) {
|
|
863
863
|
return !!O;
|
|
864
|
-
}), a(13, v = G.map((O) => (O.isFavorite = le(O.id), O))), v.length ?
|
|
864
|
+
}), a(13, v = G.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Z("searchSuccess", "SearchWidget") : Z("searchFail", "SearchWidget");
|
|
865
865
|
}).catch((G) => {
|
|
866
|
-
|
|
866
|
+
Z("searchError", "SearchWidget");
|
|
867
867
|
});
|
|
868
868
|
}
|
|
869
869
|
}
|
|
870
|
-
ce(
|
|
871
|
-
},
|
|
870
|
+
ce(Y), Z("searchAttempt", "SearchWidget"), Z("SearchInitialized", "SearchWidget");
|
|
871
|
+
}, Z = (o, S) => {
|
|
872
872
|
typeof gtag == "function" && gtag("event", o, { context: S });
|
|
873
|
-
},
|
|
873
|
+
}, Ge = () => {
|
|
874
874
|
M != "true" && $();
|
|
875
|
-
},
|
|
875
|
+
}, De = (o) => new Promise((S, y) => {
|
|
876
876
|
a(18, E = !0), fetch(o.href).then((C) => C.json()).then((C) => {
|
|
877
877
|
a(18, E = !1), S(C);
|
|
878
878
|
}).catch((C) => {
|
|
879
879
|
a(18, E = !1), console.error(C), y(C);
|
|
880
880
|
});
|
|
881
|
-
}),
|
|
881
|
+
}), Ee = (o, S) => new Promise((y, C) => {
|
|
882
882
|
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) => {
|
|
883
883
|
a(18, E = !1), F.error || (B[F[0].gameId] = F[0]), y(F[0]);
|
|
884
884
|
}).catch((F) => {
|
|
885
885
|
a(18, E = !1), console.error(F), C(F);
|
|
886
886
|
});
|
|
887
|
-
}),
|
|
887
|
+
}), ze = () => {
|
|
888
888
|
const o = new URL(`${r}/v1/player/${Q}/favorites/`);
|
|
889
889
|
a(18, E = !0);
|
|
890
890
|
let S = {
|
|
891
891
|
method: "GET",
|
|
892
|
-
headers: { "X-SessionID":
|
|
892
|
+
headers: { "X-SessionID": K }
|
|
893
893
|
};
|
|
894
894
|
fetch(o.href, S).then((y) => y.json()).then((y) => {
|
|
895
895
|
a(18, E = !1), re = y.items.map((C) => C.id);
|
|
896
896
|
});
|
|
897
|
-
},
|
|
898
|
-
a(33,
|
|
899
|
-
}, le = (o) => re.findIndex((S) => S == o) !== -1,
|
|
897
|
+
}, Ne = () => {
|
|
898
|
+
a(33, X = !0), a(19, K = s), a(20, Q = i);
|
|
899
|
+
}, le = (o) => re.findIndex((S) => S == o) !== -1, Pe = (o) => {
|
|
900
900
|
if ((o == null ? void 0 : o.length) === 0)
|
|
901
901
|
return "";
|
|
902
902
|
let S, y = 99999999999, C;
|
|
903
903
|
const F = new Date(Date.now());
|
|
904
904
|
return o.forEach((G, O) => {
|
|
905
|
-
const
|
|
906
|
-
be(new Date(te), new Date(F)) < y && (y = be(new Date(te), new Date(F)), C = O),
|
|
905
|
+
const Ue = new Date(G.schedules[0].startTime), te = new Date(G.schedules[0].endTime);
|
|
906
|
+
be(new Date(te), new Date(F)) < y && (y = be(new Date(te), new Date(F)), C = O), ct(new Date(F), new Date(Ue)) && ut(new Date(F), new Date(te)) && (S = o[C].name);
|
|
907
907
|
}), S;
|
|
908
|
-
},
|
|
908
|
+
}, xe = (o) => {
|
|
909
909
|
if (D = localStorage.getItem("searchedGamesWds_casino"), D ? D = D.split(",") : D = [], D.indexOf(o) === -1) {
|
|
910
910
|
let S;
|
|
911
911
|
D.unshift(o), S = D.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
912
912
|
}
|
|
913
913
|
}, $ = () => {
|
|
914
|
-
a(14, R = ""), a(16, T = !0), a(18, E = !1), a(13, v = []), a(17,
|
|
914
|
+
a(14, R = ""), a(16, T = !0), a(18, E = !1), a(13, v = []), a(17, Y = !1), ce(Y);
|
|
915
915
|
}, ie = () => {
|
|
916
916
|
a(14, R = ""), _.focus();
|
|
917
917
|
}, ce = (o) => {
|
|
@@ -922,30 +922,30 @@ function St(t, e, a) {
|
|
|
922
922
|
},
|
|
923
923
|
window.location.href
|
|
924
924
|
);
|
|
925
|
-
},
|
|
926
|
-
|
|
927
|
-
},
|
|
925
|
+
}, Me = () => {
|
|
926
|
+
lt(c);
|
|
927
|
+
}, Be = it(() => ue(this, null, function* () {
|
|
928
928
|
if (R.length >= 2) {
|
|
929
929
|
const o = new URL(`${r}/v1/casino/games`);
|
|
930
|
-
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}`),
|
|
930
|
+
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) => {
|
|
931
931
|
a(13, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
|
|
932
932
|
});
|
|
933
933
|
} else
|
|
934
934
|
T || se();
|
|
935
935
|
}), 500);
|
|
936
|
-
|
|
936
|
+
et(() => (window.addEventListener("message", oe, !1), () => {
|
|
937
937
|
window.removeEventListener("message", oe);
|
|
938
938
|
}));
|
|
939
|
-
function
|
|
939
|
+
function Ae() {
|
|
940
940
|
R = this.value, a(14, R);
|
|
941
941
|
}
|
|
942
|
-
function
|
|
942
|
+
function Oe(o) {
|
|
943
943
|
fe[o ? "unshift" : "push"](() => {
|
|
944
944
|
_ = o, a(15, _);
|
|
945
945
|
});
|
|
946
946
|
}
|
|
947
|
-
const
|
|
948
|
-
function
|
|
947
|
+
const qe = () => ie(), He = () => $();
|
|
948
|
+
function We(o) {
|
|
949
949
|
fe[o ? "unshift" : "push"](() => {
|
|
950
950
|
x = o, a(12, x);
|
|
951
951
|
});
|
|
@@ -954,15 +954,15 @@ function St(t, e, a) {
|
|
|
954
954
|
"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);
|
|
955
955
|
}, t.$$.update = () => {
|
|
956
956
|
t.$$.dirty[0] & /*lang*/
|
|
957
|
-
2 && c &&
|
|
958
|
-
2 && N &&
|
|
957
|
+
2 && c && Me(), t.$$.dirty[1] & /*translationurl*/
|
|
958
|
+
2 && N && Ie(), t.$$.dirty[0] & /*session*/
|
|
959
959
|
1073741824 | t.$$.dirty[1] & /*userid*/
|
|
960
|
-
1 && s && i &&
|
|
960
|
+
1 && s && i && Ne(), t.$$.dirty[0] & /*showfavorites*/
|
|
961
961
|
256 | t.$$.dirty[1] & /*isLoggedIn*/
|
|
962
|
-
4 && P &&
|
|
963
|
-
4100 && m && x &&
|
|
964
|
-
4104 && h && x &&
|
|
965
|
-
6144 && x &&
|
|
962
|
+
4 && P && X && ze(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
963
|
+
4100 && m && x && at(x, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
964
|
+
4104 && h && x && nt(x, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
965
|
+
6144 && x && rt(x, `${A}.Style`, je);
|
|
966
966
|
}, [
|
|
967
967
|
r,
|
|
968
968
|
c,
|
|
@@ -981,38 +981,38 @@ function St(t, e, a) {
|
|
|
981
981
|
R,
|
|
982
982
|
_,
|
|
983
983
|
T,
|
|
984
|
-
|
|
984
|
+
Y,
|
|
985
985
|
E,
|
|
986
|
-
|
|
986
|
+
K,
|
|
987
987
|
Q,
|
|
988
988
|
n,
|
|
989
989
|
W,
|
|
990
990
|
se,
|
|
991
|
-
|
|
992
|
-
|
|
991
|
+
Ge,
|
|
992
|
+
Pe,
|
|
993
993
|
$,
|
|
994
994
|
ie,
|
|
995
|
-
|
|
995
|
+
Be,
|
|
996
996
|
l,
|
|
997
997
|
s,
|
|
998
998
|
i,
|
|
999
999
|
N,
|
|
1000
|
-
|
|
1001
|
-
Be,
|
|
1000
|
+
X,
|
|
1002
1001
|
Ae,
|
|
1003
1002
|
Oe,
|
|
1004
1003
|
qe,
|
|
1005
|
-
He
|
|
1004
|
+
He,
|
|
1005
|
+
We
|
|
1006
1006
|
];
|
|
1007
1007
|
}
|
|
1008
|
-
class
|
|
1008
|
+
class _t extends Ye {
|
|
1009
1009
|
constructor(e) {
|
|
1010
1010
|
super(), Ze(
|
|
1011
1011
|
this,
|
|
1012
1012
|
e,
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1013
|
+
bt,
|
|
1014
|
+
pt,
|
|
1015
|
+
Xe,
|
|
1016
1016
|
{
|
|
1017
1017
|
endpoint: 0,
|
|
1018
1018
|
datasource: 29,
|
|
@@ -1031,7 +1031,7 @@ class bt extends Je {
|
|
|
1031
1031
|
notfoundicon: 10,
|
|
1032
1032
|
mbsource: 11
|
|
1033
1033
|
},
|
|
1034
|
-
|
|
1034
|
+
ht,
|
|
1035
1035
|
[-1, -1]
|
|
1036
1036
|
);
|
|
1037
1037
|
}
|
|
@@ -1132,7 +1132,7 @@ class bt extends Je {
|
|
|
1132
1132
|
this.$$set({ mbsource: e }), L();
|
|
1133
1133
|
}
|
|
1134
1134
|
}
|
|
1135
|
-
|
|
1135
|
+
ot(_t, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
|
|
1136
1136
|
export {
|
|
1137
|
-
|
|
1137
|
+
_t as default
|
|
1138
1138
|
};
|