@everymatrix/casino-lobby 1.56.0 → 1.56.3
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-_T8fa3tA.js → CasinoCalendar-BU2gZgoA.js} +1019 -957
- package/components/{CasinoCalendar-CSMUhfCr.js → CasinoCalendar-BYhP1252.js} +989 -927
- package/components/CasinoCalendar-pDYRKcjG.cjs +22 -0
- package/components/{CasinoCalendarDailyDetails-DueCbaZn.js → CasinoCalendarDailyDetails-BvbgM2tY.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-DspcjY5l.cjs → CasinoCalendarDailyDetails-DkbuLEg5.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-CGRqVKFV.js → CasinoCalendarDailyDetails-zomrPGwC.js} +48 -48
- package/components/{CasinoCalendarDailyItem-DxYbPmky.js → CasinoCalendarDailyItem-BCuBW8Ar.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DpLOlYVI.js → CasinoCalendarDailyItem-DO4dUNpH.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DaSrAYwS.cjs → CasinoCalendarDailyItem-DX_5vyqn.cjs} +1 -1
- package/components/CasinoCategoriesSlider-3PL0POlf.cjs +1 -0
- package/components/{CasinoCategoriesSlider-B7jmX0uM.js → CasinoCategoriesSlider-BOJ1THEs.js} +65 -65
- package/components/{CasinoCategoriesSlider-DkmZ6uE9.js → CasinoCategoriesSlider-BXOmh9s8.js} +66 -66
- package/components/CasinoCollectionsProviders-BFNXK0mZ.cjs +1 -0
- package/components/{CasinoCollectionsProviders-CFJKyip5.js → CasinoCollectionsProviders-BX_dEzdy.js} +254 -264
- package/components/{CasinoCollectionsProviders-XHUKRCjH.js → CasinoCollectionsProviders-CRAmbMuu.js} +259 -269
- package/components/{CasinoFavoritesSection-BJKuORXc.js → CasinoFavoritesSection-B74AEiJU.js} +27 -27
- package/components/{CasinoFavoritesSection-DAfQZFKH.cjs → CasinoFavoritesSection-BSNrnBte.cjs} +1 -1
- package/components/{CasinoFavoritesSection-ui8ebJSk.js → CasinoFavoritesSection-CUsEA5HO.js} +27 -27
- package/components/{CasinoFilter-Cj6Ya1tA.js → CasinoFilter-BtQon8od.js} +252 -247
- package/components/CasinoFilter-D06f7IqM.cjs +1 -0
- package/components/{CasinoFilter-t6_A4K9e.js → CasinoFilter-Du7IqNdv.js} +241 -238
- package/components/CasinoGamePage-C8xrFvIL.cjs +18 -0
- package/components/{CasinoGamePage-DQ1Yd_-1.js → CasinoGamePage-CHQ3jlqS.js} +1715 -1761
- package/components/CasinoGamePage-Dn6JZ69a.js +4250 -0
- package/components/CasinoGameThumbnail-BrbFrK0r.cjs +38 -0
- package/components/{CasinoGameThumbnail-CmtUwom1.js → CasinoGameThumbnail-CYrNJU7D.js} +275 -286
- package/components/{CasinoGameThumbnail-B15M2LaO.js → CasinoGameThumbnail-ConJfCt9.js} +374 -353
- package/components/{CasinoGamesCategorySection-D9nxbG-c.js → CasinoGamesCategorySection-BZB6Hzxo.js} +255 -248
- package/components/{CasinoGamesCategorySection-Dw87pk8g.cjs → CasinoGamesCategorySection-Bt_a-XLq.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-lpoHUMLN.js → CasinoGamesCategorySection-C4dkhfxd.js} +255 -248
- package/components/{CasinoJackpotBanner-DcwCa-Hp.js → CasinoJackpotBanner-B6za0Zjf.js} +72 -72
- package/components/{CasinoJackpotBanner-vFHgMV4j.cjs → CasinoJackpotBanner-CRGjJl2y.cjs} +1 -1
- package/components/{CasinoJackpotBanner-COZRcenh.js → CasinoJackpotBanner-DVU6U9lr.js} +79 -79
- package/components/{CasinoLastPlayedSection-DUCFQv-7.cjs → CasinoLastPlayedSection-3_wA_Avg.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-yetII3tl.js → CasinoLastPlayedSection-F-ue8Czk.js} +43 -43
- package/components/{CasinoLastPlayedSection-IZ9mars2.js → CasinoLastPlayedSection-OIDJ7awN.js} +43 -43
- package/components/{CasinoLobby-DOvk4Q1L.js → CasinoLobby-BKNxdOkN.js} +61 -61
- package/components/{CasinoLobby-CZ0buhgH.cjs → CasinoLobby-BMoJpsqG.cjs} +1 -1
- package/components/{CasinoLobby-CoCRB4M8.js → CasinoLobby-fcvl9kle.js} +59 -59
- package/components/{CasinoModal-6keCUEEx.cjs → CasinoModal-35QTkTq-.cjs} +1 -1
- package/components/{CasinoModal-DDDhdR0c.js → CasinoModal-BEa4Ij-6.js} +55 -55
- package/components/{CasinoModal-Dzu3FQyi.js → CasinoModal-CFbQNGPR.js} +55 -55
- package/components/{CasinoMostPlayedSection-CGqU9ZQv.js → CasinoMostPlayedSection--tFE0qmd.js} +50 -50
- package/components/{CasinoMostPlayedSection-D0w6a_z2.js → CasinoMostPlayedSection-B-pH8QJC.js} +50 -50
- package/components/{CasinoMostPlayedSection-BNDdZOM6.cjs → CasinoMostPlayedSection-CdXD9mvv.cjs} +1 -1
- package/components/{CasinoMyGames-CX5HKRLY.cjs → CasinoMyGames-5m477zEd.cjs} +1 -1
- package/components/{CasinoMyGames-Dy3IMfzN.js → CasinoMyGames-C6SFrIqO.js} +58 -54
- package/components/{CasinoMyGames-BKqlNnO1.js → CasinoMyGames-ol3GWqow.js} +59 -55
- package/components/{CasinoPage--1tMufa9.cjs → CasinoPage-BRTqbLqB.cjs} +1 -1
- package/components/{CasinoPage-DYcUhqdZ.js → CasinoPage-B_xsttc_.js} +99 -95
- package/components/{CasinoPage-BnrghJel.js → CasinoPage-C-PL0HAg.js} +99 -95
- package/components/{CasinoRandomGame-Cup5oHY3.js → CasinoRandomGame-DcHbcmu8.js} +71 -69
- package/components/{CasinoRandomGame-B1qCGSlR.cjs → CasinoRandomGame-DnwNz2Jt.cjs} +1 -1
- package/components/{CasinoRandomGame-Dq7oLh0O.js → CasinoRandomGame-Njs6ODWp.js} +71 -69
- package/components/{CasinoSearch-B1D8nnr0.cjs → CasinoSearch-CYInCP4K.cjs} +1 -1
- package/components/{CasinoSearch-jV0H_1Yg.js → CasinoSearch-DQDz7QLo.js} +83 -80
- package/components/{CasinoSearch-DlUwO5L4.js → CasinoSearch-H1BPrBzU.js} +83 -80
- package/components/{CasinoSlider-ChnKJ8kH.js → CasinoSlider-BbRVIW35.js} +74 -74
- package/components/{CasinoSlider-4pDZHG6x.cjs → CasinoSlider-BiIS2-lS.cjs} +1 -1
- package/components/{CasinoSlider-Ot2uFDD8.js → CasinoSlider-BpVYjfEZ.js} +85 -85
- package/components/{CasinoSort-BnarJSWg.js → CasinoSort-BCZs_7vq.js} +107 -107
- package/components/{CasinoSort-DltZUpda.js → CasinoSort-BIiSCydQ.js} +115 -113
- package/components/{CasinoSort-jqMnIqLs.cjs → CasinoSort-ClDrkZcs.cjs} +1 -1
- package/components/{CasinoWinners-Bs7Oh-m-.cjs → CasinoWinners-CNAN8Ko7.cjs} +1 -1
- package/components/{CasinoWinners-CBgbYBfP.js → CasinoWinners-D9QEbcwQ.js} +161 -159
- package/components/{CasinoWinners-BkJBCXPe.js → CasinoWinners-fcmQdKZx.js} +152 -150
- package/components/{GeneralAnimationLoading-BUY2TGQr.js → GeneralAnimationLoading-BEyM9jr_.js} +16 -16
- package/components/{GeneralAnimationLoading-BLss2VP4.cjs → GeneralAnimationLoading-dlh-TGCV.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CRju5T01.js → GeneralAnimationLoading-uTgCxIjZ.js} +16 -16
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
- package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
- package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
- package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
- package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
- package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
- package/components/CasinoCalendar-CFPK0TM5.cjs +0 -9
- package/components/CasinoCategoriesSlider-Tm48k88y.cjs +0 -1
- package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +0 -1
- package/components/CasinoFilter-BZrHKXm3.cjs +0 -1
- package/components/CasinoGamePage-BCpBojD8.cjs +0 -18
- package/components/CasinoGamePage-DH-mxVYx.js +0 -4296
- package/components/CasinoGameThumbnail-CHGG4fWS.cjs +0 -38
- package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
- package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
- package/stencil/index-29915e18-MPiqo7vY.js +0 -646
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Ae, $ as Oe, S as qe, i as He,
|
|
2
|
-
import "./CasinoGamesCategorySection-
|
|
3
|
-
import { h as $ } from "./CasinoGamePage-
|
|
1
|
+
import { a as Ae, $ as Oe, S as qe, i as He, f as L, c as We, s as Ue, b as Ve, e as y, w as N, J as ie, y as f, O as te, d as j, z as _, V as ce, A as Z, G as ue, j as z, R as Je, k as Ze, o as Ye, l as Ke, x as q, E as H, q as he, r as Xe, m as Qe, v as de, K as Re, F as $e, P as u, I as et } from "./CasinoCalendar-BU2gZgoA.js";
|
|
2
|
+
import "./CasinoGamesCategorySection-C4dkhfxd.js";
|
|
3
|
+
import { h as $ } from "./CasinoGamePage-CHQ3jlqS.js";
|
|
4
4
|
function me(a, e) {
|
|
5
5
|
Ae(a, e);
|
|
6
6
|
}
|
|
@@ -191,7 +191,7 @@ const ge = {
|
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
function at(a) {
|
|
194
|
-
|
|
194
|
+
Ve(a, "svelte-8vixmz", "*,*::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:30px 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;margin-bottom:20px;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:30px 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}");
|
|
195
195
|
}
|
|
196
196
|
function fe(a, e, t) {
|
|
197
197
|
const n = a.slice();
|
|
@@ -204,11 +204,11 @@ function pe(a) {
|
|
|
204
204
|
), n, r, l, s;
|
|
205
205
|
return {
|
|
206
206
|
c() {
|
|
207
|
-
e = y("small"), n =
|
|
207
|
+
e = y("small"), n = q(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
|
|
208
208
|
(a[13] ? "NotVisible" : ""));
|
|
209
209
|
},
|
|
210
210
|
m(i, c) {
|
|
211
|
-
|
|
211
|
+
j(i, e, c), _(e, n), l || (s = Z(
|
|
212
212
|
e,
|
|
213
213
|
"click",
|
|
214
214
|
/*click_handler_1*/
|
|
@@ -218,12 +218,12 @@ function pe(a) {
|
|
|
218
218
|
p(i, c) {
|
|
219
219
|
c[0] & /*$_*/
|
|
220
220
|
2097152 && t !== (t = /*$_*/
|
|
221
|
-
i[21]("cancel") + "") &&
|
|
221
|
+
i[21]("cancel") + "") && H(n, t), c[0] & /*searchCancelled*/
|
|
222
222
|
8192 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
|
|
223
223
|
(i[13] ? "NotVisible" : "")) && f(e, "class", r);
|
|
224
224
|
},
|
|
225
225
|
d(i) {
|
|
226
|
-
i &&
|
|
226
|
+
i && z(e), l = !1, s();
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
}
|
|
@@ -234,11 +234,13 @@ function nt(a) {
|
|
|
234
234
|
/*searchActive*/
|
|
235
235
|
h[17] == !0 && /*searchValue*/
|
|
236
236
|
h[12].length < 2
|
|
237
|
-
)
|
|
237
|
+
)
|
|
238
|
+
return st;
|
|
238
239
|
if (
|
|
239
240
|
/*searchArray*/
|
|
240
241
|
h[15].length != 0
|
|
241
|
-
)
|
|
242
|
+
)
|
|
243
|
+
return ot;
|
|
242
244
|
}
|
|
243
245
|
let s = l(a), i = s && s(a), c = (
|
|
244
246
|
/*searchCancelled*/
|
|
@@ -254,7 +256,7 @@ function nt(a) {
|
|
|
254
256
|
(a[17] == !0 ? "" : "NotVisible"));
|
|
255
257
|
},
|
|
256
258
|
m(h, g) {
|
|
257
|
-
i && i.m(h, g),
|
|
259
|
+
i && i.m(h, g), j(h, e, g), j(h, t, g), c && c.m(t, null), _(t, n), m && m.m(t, null);
|
|
258
260
|
},
|
|
259
261
|
p(h, g) {
|
|
260
262
|
s === (s = l(h)) && i ? i.p(h, g) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
|
|
@@ -265,7 +267,7 @@ function nt(a) {
|
|
|
265
267
|
(h[17] == !0 ? "" : "NotVisible")) && f(t, "class", r);
|
|
266
268
|
},
|
|
267
269
|
d(h) {
|
|
268
|
-
h && (
|
|
270
|
+
h && (z(e), z(t)), i && i.d(h), c && c.d(), m && m.d();
|
|
269
271
|
}
|
|
270
272
|
};
|
|
271
273
|
}
|
|
@@ -276,18 +278,18 @@ function rt(a) {
|
|
|
276
278
|
), n;
|
|
277
279
|
return {
|
|
278
280
|
c() {
|
|
279
|
-
e = y("p"), n =
|
|
281
|
+
e = y("p"), n = q(t), f(e, "class", "LoadingContent");
|
|
280
282
|
},
|
|
281
283
|
m(r, l) {
|
|
282
|
-
|
|
284
|
+
j(r, e, l), _(e, n);
|
|
283
285
|
},
|
|
284
286
|
p(r, l) {
|
|
285
287
|
l[0] & /*$_*/
|
|
286
288
|
2097152 && t !== (t = /*$_*/
|
|
287
|
-
r[21]("loading") + "") &&
|
|
289
|
+
r[21]("loading") + "") && H(n, t);
|
|
288
290
|
},
|
|
289
291
|
d(r) {
|
|
290
|
-
r &&
|
|
292
|
+
r && z(e);
|
|
291
293
|
}
|
|
292
294
|
};
|
|
293
295
|
}
|
|
@@ -298,18 +300,18 @@ function ot(a) {
|
|
|
298
300
|
), n;
|
|
299
301
|
return {
|
|
300
302
|
c() {
|
|
301
|
-
e = y("p"), n =
|
|
303
|
+
e = y("p"), n = q(t), f(e, "class", "SearchMessage");
|
|
302
304
|
},
|
|
303
305
|
m(r, l) {
|
|
304
|
-
|
|
306
|
+
j(r, e, l), _(e, n);
|
|
305
307
|
},
|
|
306
308
|
p(r, l) {
|
|
307
309
|
l[0] & /*$_*/
|
|
308
310
|
2097152 && t !== (t = /*$_*/
|
|
309
|
-
r[21]("searchResult") + "") &&
|
|
311
|
+
r[21]("searchResult") + "") && H(n, t);
|
|
310
312
|
},
|
|
311
313
|
d(r) {
|
|
312
|
-
r &&
|
|
314
|
+
r && z(e);
|
|
313
315
|
}
|
|
314
316
|
};
|
|
315
317
|
}
|
|
@@ -326,7 +328,7 @@ function st(a) {
|
|
|
326
328
|
n && n.c(), e = N(), r && r.c(), t = Re();
|
|
327
329
|
},
|
|
328
330
|
m(l, s) {
|
|
329
|
-
n && n.m(l, s),
|
|
331
|
+
n && n.m(l, s), j(l, e, s), r && r.m(l, s), j(l, t, s);
|
|
330
332
|
},
|
|
331
333
|
p(l, s) {
|
|
332
334
|
/*searchArray*/
|
|
@@ -334,7 +336,7 @@ function st(a) {
|
|
|
334
336
|
l[15].length == 0 ? r ? r.p(l, s) : (r = _e(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
335
337
|
},
|
|
336
338
|
d(l) {
|
|
337
|
-
l && (
|
|
339
|
+
l && (z(e), z(t)), n && n.d(l), r && r.d(l);
|
|
338
340
|
}
|
|
339
341
|
};
|
|
340
342
|
}
|
|
@@ -345,18 +347,18 @@ function Se(a) {
|
|
|
345
347
|
), n;
|
|
346
348
|
return {
|
|
347
349
|
c() {
|
|
348
|
-
e = y("p"), n =
|
|
350
|
+
e = y("p"), n = q(t), f(e, "class", "SearchMessage");
|
|
349
351
|
},
|
|
350
352
|
m(r, l) {
|
|
351
|
-
|
|
353
|
+
j(r, e, l), _(e, n);
|
|
352
354
|
},
|
|
353
355
|
p(r, l) {
|
|
354
356
|
l[0] & /*$_*/
|
|
355
357
|
2097152 && t !== (t = /*$_*/
|
|
356
|
-
r[21]("recentSearch") + "") &&
|
|
358
|
+
r[21]("recentSearch") + "") && H(n, t);
|
|
357
359
|
},
|
|
358
360
|
d(r) {
|
|
359
|
-
r &&
|
|
361
|
+
r && z(e);
|
|
360
362
|
}
|
|
361
363
|
};
|
|
362
364
|
}
|
|
@@ -370,22 +372,22 @@ function _e(a) {
|
|
|
370
372
|
);
|
|
371
373
|
return {
|
|
372
374
|
c() {
|
|
373
|
-
e = y("div"), i && i.c(), t = N(), n = y("p"), l =
|
|
375
|
+
e = y("div"), i && i.c(), t = N(), n = y("p"), l = q(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
374
376
|
(a[10] == "true" ? "WithIcon" : ""));
|
|
375
377
|
},
|
|
376
378
|
m(c, m) {
|
|
377
|
-
|
|
379
|
+
j(c, e, m), i && i.m(e, null), _(e, t), _(e, n), _(n, l);
|
|
378
380
|
},
|
|
379
381
|
p(c, m) {
|
|
380
382
|
/*notfoundicon*/
|
|
381
383
|
c[10] === "true" ? i || (i = be(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), m[0] & /*$_*/
|
|
382
384
|
2097152 && r !== (r = /*$_*/
|
|
383
|
-
c[21]("noRecentSearches") + "") &&
|
|
385
|
+
c[21]("noRecentSearches") + "") && H(l, r), m[0] & /*notfoundicon*/
|
|
384
386
|
1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
|
|
385
387
|
(c[10] == "true" ? "WithIcon" : "")) && f(e, "class", s);
|
|
386
388
|
},
|
|
387
389
|
d(c) {
|
|
388
|
-
c &&
|
|
390
|
+
c && z(e), i && i.d();
|
|
389
391
|
}
|
|
390
392
|
};
|
|
391
393
|
}
|
|
@@ -396,10 +398,10 @@ function be(a) {
|
|
|
396
398
|
e = y("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
|
|
397
399
|
},
|
|
398
400
|
m(t, n) {
|
|
399
|
-
|
|
401
|
+
j(t, e, n);
|
|
400
402
|
},
|
|
401
403
|
d(t) {
|
|
402
|
-
t &&
|
|
404
|
+
t && z(e);
|
|
403
405
|
}
|
|
404
406
|
};
|
|
405
407
|
}
|
|
@@ -419,7 +421,7 @@ function we(a) {
|
|
|
419
421
|
m(r, l) {
|
|
420
422
|
for (let s = 0; s < n.length; s += 1)
|
|
421
423
|
n[s] && n[s].m(r, l);
|
|
422
|
-
|
|
424
|
+
j(r, e, l);
|
|
423
425
|
},
|
|
424
426
|
p(r, l) {
|
|
425
427
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, mbsource, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
@@ -439,7 +441,7 @@ function we(a) {
|
|
|
439
441
|
}
|
|
440
442
|
},
|
|
441
443
|
d(r) {
|
|
442
|
-
r &&
|
|
444
|
+
r && z(e), $e(n, r);
|
|
443
445
|
}
|
|
444
446
|
};
|
|
445
447
|
}
|
|
@@ -528,7 +530,7 @@ function ve(a) {
|
|
|
528
530
|
);
|
|
529
531
|
},
|
|
530
532
|
m(d, p) {
|
|
531
|
-
|
|
533
|
+
j(d, e, p);
|
|
532
534
|
},
|
|
533
535
|
p(d, p) {
|
|
534
536
|
p[0] & /*endpoint*/
|
|
@@ -635,7 +637,7 @@ function ve(a) {
|
|
|
635
637
|
);
|
|
636
638
|
},
|
|
637
639
|
d(d) {
|
|
638
|
-
d &&
|
|
640
|
+
d && z(e);
|
|
639
641
|
}
|
|
640
642
|
};
|
|
641
643
|
}
|
|
@@ -652,24 +654,24 @@ function ke(a) {
|
|
|
652
654
|
);
|
|
653
655
|
return {
|
|
654
656
|
c() {
|
|
655
|
-
e = y("div"), g && g.c(), t = N(), n = y("p"), l =
|
|
657
|
+
e = y("div"), g && g.c(), t = N(), n = y("p"), l = q(r), s = N(), i = y("p"), m = q(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
656
658
|
(a[10] == "true" ? "WithIcon" : ""));
|
|
657
659
|
},
|
|
658
660
|
m(w, d) {
|
|
659
|
-
|
|
661
|
+
j(w, e, d), g && g.m(e, null), _(e, t), _(e, n), _(n, l), _(e, s), _(e, i), _(i, m);
|
|
660
662
|
},
|
|
661
663
|
p(w, d) {
|
|
662
664
|
/*notfoundicon*/
|
|
663
665
|
w[10] === "true" ? g || (g = ye(), g.c(), g.m(e, t)) : g && (g.d(1), g = null), d[0] & /*$_*/
|
|
664
666
|
2097152 && r !== (r = /*$_*/
|
|
665
|
-
w[21]("notFound") + "") &&
|
|
667
|
+
w[21]("notFound") + "") && H(l, r), d[0] & /*$_*/
|
|
666
668
|
2097152 && c !== (c = /*$_*/
|
|
667
|
-
w[21]("notFoundText") + "") &&
|
|
669
|
+
w[21]("notFoundText") + "") && H(m, c), d[0] & /*notfoundicon*/
|
|
668
670
|
1024 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
|
|
669
671
|
(w[10] == "true" ? "WithIcon" : "")) && f(e, "class", h);
|
|
670
672
|
},
|
|
671
673
|
d(w) {
|
|
672
|
-
w &&
|
|
674
|
+
w && z(e), g && g.d();
|
|
673
675
|
}
|
|
674
676
|
};
|
|
675
677
|
}
|
|
@@ -680,10 +682,10 @@ function ye(a) {
|
|
|
680
682
|
e = y("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
|
|
681
683
|
},
|
|
682
684
|
m(t, n) {
|
|
683
|
-
|
|
685
|
+
j(t, e, n);
|
|
684
686
|
},
|
|
685
687
|
d(t) {
|
|
686
|
-
t &&
|
|
688
|
+
t && z(e);
|
|
687
689
|
}
|
|
688
690
|
};
|
|
689
691
|
}
|
|
@@ -692,16 +694,16 @@ function lt(a) {
|
|
|
692
694
|
/*cancelbutton*/
|
|
693
695
|
a[9] === "true" && pe(a)
|
|
694
696
|
);
|
|
695
|
-
function
|
|
697
|
+
function I(b, T) {
|
|
696
698
|
return (
|
|
697
699
|
/*isLoading*/
|
|
698
700
|
b[18] ? rt : nt
|
|
699
701
|
);
|
|
700
702
|
}
|
|
701
|
-
let B =
|
|
703
|
+
let B = I(a), R = B(a);
|
|
702
704
|
return {
|
|
703
705
|
c() {
|
|
704
|
-
e = y("div"), t = y("div"), n = y("div"), r = y("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 = N(), s = y("input"), c = N(), m = y("span"), h =
|
|
706
|
+
e = y("div"), t = y("div"), n = y("div"), r = y("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 = N(), s = y("input"), c = N(), m = y("span"), h = ie("svg"), g = ie("path"), d = N(), v && v.c(), D = N(), P = y("div"), U = N(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
|
|
705
707
|
a[21]("placeHolderSearchGames")), f(s, "maxlength", it), f(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(g, "stroke", "#717171"), f(g, "stroke-width", "2"), f(g, "stroke-linecap", "round"), f(g, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", w = "SearchClearButton " + /*cancelbutton*/
|
|
706
708
|
(a[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
707
709
|
(a[12].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
|
|
@@ -712,7 +714,7 @@ function lt(a) {
|
|
|
712
714
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
713
715
|
},
|
|
714
716
|
m(b, T) {
|
|
715
|
-
|
|
717
|
+
j(b, e, T), _(e, t), _(t, n), _(n, r), _(n, l), _(n, s), ce(
|
|
716
718
|
s,
|
|
717
719
|
/*searchValue*/
|
|
718
720
|
a[12]
|
|
@@ -760,20 +762,20 @@ function lt(a) {
|
|
|
760
762
|
8192 && p !== (p = "Search " + /*searchCancelled*/
|
|
761
763
|
(b[13] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
|
|
762
764
|
512 && M !== (M = /*cancelbutton*/
|
|
763
|
-
b[9] != "true" ? "OverlayCancel" : "") && f(P, "class", M), B === (B =
|
|
765
|
+
b[9] != "true" ? "OverlayCancel" : "") && f(P, "class", M), B === (B = I(b)) && R ? R.p(b, T) : (R.d(1), R = B(b), R && (R.c(), R.m(e, null)));
|
|
764
766
|
},
|
|
765
|
-
i:
|
|
766
|
-
o:
|
|
767
|
+
i: ue,
|
|
768
|
+
o: ue,
|
|
767
769
|
d(b) {
|
|
768
|
-
b &&
|
|
770
|
+
b && z(e), a[34](null), v && v.d(), R.d(), a[37](null), A = !1, Je(W);
|
|
769
771
|
}
|
|
770
772
|
};
|
|
771
773
|
}
|
|
772
774
|
let it = 50;
|
|
773
775
|
function ct(a, e, t) {
|
|
774
776
|
let n;
|
|
775
|
-
|
|
776
|
-
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: D = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [],
|
|
777
|
+
Ze(a, et, (o) => t(21, n = o));
|
|
778
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: D = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: U = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], I = [], B = {}, R = "", b, T = !0, V = !1, E = !1, x, Y = !1, K, X, ae = [];
|
|
777
779
|
const Ce = () => {
|
|
778
780
|
fetch(D).then((S) => S.json()).then((S) => {
|
|
779
781
|
Object.keys(S).forEach((k) => {
|
|
@@ -787,7 +789,7 @@ function ct(a, e, t) {
|
|
|
787
789
|
me(o, ge[o]);
|
|
788
790
|
});
|
|
789
791
|
const ne = (o) => {
|
|
790
|
-
o.data && o.data.type == "SearchedItemClicked" &&
|
|
792
|
+
o.data && o.data.type == "SearchedItemClicked" && Ie(o.data.gameId), o.data.type == "UserSessionID" && (t(19, K = o.data.session), t(20, X = o.data.userid), t(32, Y = !0)), o.data.type == "CategoryChange" && Q();
|
|
791
793
|
}, re = () => {
|
|
792
794
|
if (t(13, T = !1), t(17, V = !0), r && l && c && R.length < 2) {
|
|
793
795
|
t(15, v = []);
|
|
@@ -796,14 +798,14 @@ function ct(a, e, t) {
|
|
|
796
798
|
let k = [], C = 0, F = S.length;
|
|
797
799
|
if (F > 0) {
|
|
798
800
|
for (C = 0; C < F; C++) {
|
|
799
|
-
let
|
|
800
|
-
|
|
801
|
+
let G = new URL(`${r}/v1/casino/games/${S[C]}`);
|
|
802
|
+
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", te(W)), k.push(Te(G, S[C]));
|
|
801
803
|
}
|
|
802
|
-
Promise.all(k).then((
|
|
803
|
-
|
|
804
|
+
Promise.all(k).then((G) => {
|
|
805
|
+
G = G.filter(function(O) {
|
|
804
806
|
return !!O;
|
|
805
|
-
}), t(15, v =
|
|
806
|
-
}).catch((
|
|
807
|
+
}), t(15, v = G.map((O) => (O.isFavorite = oe(O.id), O))), v.length ? J("searchSuccess", "SearchWidget") : J("searchFail", "SearchWidget");
|
|
808
|
+
}).catch((G) => {
|
|
807
809
|
J("searchError", "SearchWidget");
|
|
808
810
|
});
|
|
809
811
|
}
|
|
@@ -826,29 +828,30 @@ function ct(a, e, t) {
|
|
|
826
828
|
t(18, E = !1), console.error(F), C(F);
|
|
827
829
|
});
|
|
828
830
|
}), je = () => {
|
|
829
|
-
const o = new URL(`${r}/v1/player/${
|
|
831
|
+
const o = new URL(`${r}/v1/player/${X}/favorites/`);
|
|
830
832
|
t(18, E = !0);
|
|
831
833
|
let S = {
|
|
832
834
|
method: "GET",
|
|
833
|
-
headers: { "X-SessionID":
|
|
835
|
+
headers: { "X-SessionID": K }
|
|
834
836
|
};
|
|
835
837
|
fetch(o.href, S).then((k) => k.json()).then((k) => {
|
|
836
838
|
t(18, E = !1), ae = k.items.map((C) => C.id);
|
|
837
839
|
});
|
|
838
|
-
},
|
|
839
|
-
t(32,
|
|
840
|
-
}, oe = (o) => ae.findIndex((S) => S == o) !== -1,
|
|
841
|
-
if (o?.length === 0)
|
|
840
|
+
}, ze = () => {
|
|
841
|
+
t(32, Y = !0), t(19, K = s), t(20, X = i);
|
|
842
|
+
}, oe = (o) => ae.findIndex((S) => S == o) !== -1, Ge = (o) => {
|
|
843
|
+
if (o?.length === 0)
|
|
844
|
+
return "";
|
|
842
845
|
let S, k = 99999999999, C;
|
|
843
846
|
const F = new Date(Date.now());
|
|
844
|
-
return o.forEach((
|
|
845
|
-
const De = new Date(
|
|
847
|
+
return o.forEach((G, O) => {
|
|
848
|
+
const De = new Date(G.schedules[0].startTime), ee = new Date(G.schedules[0].endTime);
|
|
846
849
|
$(ee).diff(F) < k && (k = $(ee).diff(F), C = O), $(F).isAfter(De) && $(F).isBefore(ee) && (S = o[C].name);
|
|
847
850
|
}), S;
|
|
848
|
-
},
|
|
849
|
-
if (
|
|
851
|
+
}, Ie = (o) => {
|
|
852
|
+
if (I = localStorage.getItem("searchedGamesWds_casino"), I ? I = I.split(",") : I = [], I.indexOf(o) === -1) {
|
|
850
853
|
let S;
|
|
851
|
-
|
|
854
|
+
I.unshift(o), S = I.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
852
855
|
}
|
|
853
856
|
}, Q = () => {
|
|
854
857
|
t(12, R = ""), t(13, T = !0), t(18, E = !1), t(15, v = []), t(17, V = !1), le(V);
|
|
@@ -865,7 +868,7 @@ function ct(a, e, t) {
|
|
|
865
868
|
}, Ee = () => {
|
|
866
869
|
tt(c);
|
|
867
870
|
};
|
|
868
|
-
|
|
871
|
+
Ye(() => (window.addEventListener("message", ne, !1), () => {
|
|
869
872
|
window.removeEventListener("message", ne);
|
|
870
873
|
}));
|
|
871
874
|
function Ne() {
|
|
@@ -897,10 +900,10 @@ function ct(a, e, t) {
|
|
|
897
900
|
a.$$.dirty[0] & /*lang*/
|
|
898
901
|
2 && c && Ee(), a.$$.dirty[1] & /*translationurl*/
|
|
899
902
|
1 && D && Ce(), a.$$.dirty[0] & /*session, userid*/
|
|
900
|
-
1610612736 && s && i &&
|
|
903
|
+
1610612736 && s && i && ze(), a.$$.dirty[0] & /*showfavorites*/
|
|
901
904
|
256 | a.$$.dirty[1] & /*isLoggedIn*/
|
|
902
|
-
2 && P &&
|
|
903
|
-
16388 && m && x &&
|
|
905
|
+
2 && P && Y && je(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
906
|
+
16388 && m && x && Xe(x, m), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
904
907
|
16392 && h && x && Ke(x, h), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
905
908
|
18432 && x && Qe(x, `${A}.Style`);
|
|
906
909
|
}, [
|
|
@@ -923,20 +926,20 @@ function ct(a, e, t) {
|
|
|
923
926
|
b,
|
|
924
927
|
V,
|
|
925
928
|
E,
|
|
926
|
-
Y,
|
|
927
929
|
K,
|
|
930
|
+
X,
|
|
928
931
|
n,
|
|
929
932
|
W,
|
|
930
933
|
re,
|
|
931
934
|
Fe,
|
|
932
|
-
|
|
935
|
+
Ge,
|
|
933
936
|
Q,
|
|
934
937
|
se,
|
|
935
938
|
l,
|
|
936
939
|
s,
|
|
937
940
|
i,
|
|
938
941
|
D,
|
|
939
|
-
|
|
942
|
+
Y,
|
|
940
943
|
Ne,
|
|
941
944
|
Pe,
|
|
942
945
|
xe,
|
|
@@ -951,7 +954,7 @@ class ut extends qe {
|
|
|
951
954
|
e,
|
|
952
955
|
ct,
|
|
953
956
|
lt,
|
|
954
|
-
|
|
957
|
+
Ue,
|
|
955
958
|
{
|
|
956
959
|
endpoint: 0,
|
|
957
960
|
datasource: 28,
|
|
@@ -1071,7 +1074,7 @@ class ut extends qe {
|
|
|
1071
1074
|
this.$$set({ mbsource: e }), L();
|
|
1072
1075
|
}
|
|
1073
1076
|
}
|
|
1074
|
-
|
|
1077
|
+
We(ut, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
|
|
1075
1078
|
export {
|
|
1076
1079
|
ut as default
|
|
1077
1080
|
};
|