@everymatrix/casino-page-nd 1.85.21 → 1.85.22
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/{CasinoFavoritesSectionNd-CdQ3fLwT.js → CasinoFavoritesSectionNd-BG6pm2Zc.js} +1 -1
- package/components/{CasinoFavoritesSectionNd-C_MI3OzV.cjs → CasinoFavoritesSectionNd-BLXqyURj.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-DGVHkXZG.js → CasinoFavoritesSectionNd-BSBUjl98.js} +1 -1
- package/components/{CasinoGameThumbnailNd-BbXXVZTj.js → CasinoGameThumbnailNd-BJOwb878.js} +682 -710
- package/components/{CasinoGameThumbnailNd-t_P0DlOE.js → CasinoGameThumbnailNd-BhMXUEuY.js} +517 -536
- package/components/CasinoGameThumbnailNd-C7-a2gFP.cjs +30 -0
- package/components/{CasinoGamesCategorySectionNd-CqhMaxDs.js → CasinoGamesCategorySectionNd-4Y9j2CTp.js} +515 -567
- package/components/{CasinoGamesCategorySectionNd-X5VTJMrS.js → CasinoGamesCategorySectionNd-CcIA7A2_.js} +733 -785
- package/components/CasinoGamesCategorySectionNd-DFjizJHZ.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-DF1S3XPY.js → CasinoLastPlayedSectionNd-B-qpM121.js} +1 -1
- package/components/{CasinoLastPlayedSectionNd-CtEdE2cy.js → CasinoLastPlayedSectionNd-C2_p1XnX.js} +1 -1
- package/components/{CasinoLastPlayedSectionNd-DhkX1ZI6.cjs → CasinoLastPlayedSectionNd-vCZFhZlA.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-gglzqL6T.js → CasinoMostPlayedSectionNd-BPgmDns2.js} +1 -1
- package/components/{CasinoMostPlayedSectionNd-DmrDQQ7m.js → CasinoMostPlayedSectionNd-CzImrQ3h.js} +1 -1
- package/components/{CasinoMostPlayedSectionNd-Dp2x0yW4.cjs → CasinoMostPlayedSectionNd-uB4-C_na.cjs} +1 -1
- package/components/{CasinoMyGamesNd-CBtEwTf_.js → CasinoMyGamesNd-Bop6WAH3.js} +191 -190
- package/components/CasinoMyGamesNd-C-1cL3yu.cjs +1 -0
- package/components/{CasinoMyGamesNd-Bs3mGR1p.js → CasinoMyGamesNd-CKRn9fvF.js} +206 -203
- package/components/CasinoPageNd-AVCfA1IM.cjs +1 -0
- package/components/{CasinoPageNd-CjrxsCq6.js → CasinoPageNd-C6N29yee.js} +545 -543
- package/components/{CasinoPageNd-G4pRO4no.js → CasinoPageNd-DwyUEhz5.js} +206 -204
- package/components/{CasinoSearchNd-Bhmpq1GZ.js → CasinoSearchNd-Bkbd55Uy.js} +225 -223
- package/components/{CasinoSearchNd-DUYxZ6-B.js → CasinoSearchNd-KS2rbEcX.js} +221 -219
- package/components/{CasinoSearchNd-CmYrhX5G.cjs → CasinoSearchNd-ik5X5b1Y.cjs} +1 -1
- package/components/{CasinoWinners-CtJGIZpT.js → CasinoWinners--Sn5RpG3.js} +181 -178
- package/components/{CasinoWinners-Ck1T1TfT.js → CasinoWinners-BXqKa3QL.js} +279 -276
- package/components/CasinoWinners-DGEdj61G.cjs +1 -0
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/{casino-favorites-section-nd-CevH4fK5.cjs → casino-favorites-section-nd-BhI8Zirm.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-B-1RMBLm.js → casino-favorites-section-nd-CA-sShLT.js} +1 -1
- package/lazy/{casino-favorites-section-nd-_typwKZ1.js → casino-favorites-section-nd-DgsE3inV.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-DoOJu9R7.js → casino-game-thumbnail-nd-BRX8CtFL.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-CKVLon-j.cjs → casino-game-thumbnail-nd-BxXa51lv.cjs} +1 -1
- package/lazy/{casino-game-thumbnail-nd-dFbVs_2u.js → casino-game-thumbnail-nd-N5nWpTDy.js} +1 -1
- package/lazy/{casino-games-category-section-nd-C_ncobUK.cjs → casino-games-category-section-nd-BmDDmO6k.cjs} +1 -1
- package/lazy/{casino-games-category-section-nd-BY8uevwS.js → casino-games-category-section-nd-CbFAe4SQ.js} +1 -1
- package/lazy/{casino-games-category-section-nd-fYOh5LHt.js → casino-games-category-section-nd-CoFLpfgi.js} +1 -1
- package/lazy/{casino-last-played-section-nd-B5ndbQzM.js → casino-last-played-section-nd-C8Muv-kQ.js} +1 -1
- package/lazy/{casino-last-played-section-nd-DbZTADJN.js → casino-last-played-section-nd-DRDk-3RU.js} +1 -1
- package/lazy/{casino-last-played-section-nd-zuVW35-E.cjs → casino-last-played-section-nd-s6pPWeNP.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-DecDOWVk.cjs → casino-most-played-section-nd-B5XtMtEZ.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-D_eTY5lQ.js → casino-most-played-section-nd-CDI47ytS.js} +1 -1
- package/lazy/{casino-most-played-section-nd-lPxEY5hn.js → casino-most-played-section-nd-CFFQjWF1.js} +1 -1
- package/lazy/{casino-my-games-nd-D-8jZF2r.cjs → casino-my-games-nd-2gWCduhh.cjs} +1 -1
- package/lazy/{casino-my-games-nd-D-mbXiY1.js → casino-my-games-nd-C38wNBeh.js} +1 -1
- package/lazy/{casino-my-games-nd-DjtL18L_.js → casino-my-games-nd-DA1cUHJd.js} +1 -1
- package/lazy/{casino-search-nd-BEpC-U-4.js → casino-search-nd-1gebmJnT.js} +1 -1
- package/lazy/{casino-search-nd-C3y3c6pI.js → casino-search-nd-D2pb2tim.js} +1 -1
- package/lazy/{casino-search-nd-C-AkKlS2.cjs → casino-search-nd-D8GPyMVJ.cjs} +1 -1
- package/lazy/{casino-winners-BEkC1nlL.js → casino-winners-CDoQxoRf.js} +1 -1
- package/lazy/{casino-winners-DGkIqi7j.cjs → casino-winners-DwTj0vSa.cjs} +1 -1
- package/lazy/{casino-winners-BuBN4hdI.js → casino-winners-qCV1DXuS.js} +1 -1
- package/package.json +1 -1
- package/components/CasinoGameThumbnailNd-fBv7VBUI.cjs +0 -30
- package/components/CasinoGamesCategorySectionNd-BmZsIuGe.cjs +0 -1
- package/components/CasinoMyGamesNd-mlkg-cR2.cjs +0 -1
- package/components/CasinoPageNd-ei50Ymi8.cjs +0 -1
- package/components/CasinoWinners-D5jx9aZ9.cjs +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as $e, $ as et, S as tt, i as at, s as nt, f as C, b as rt, n as
|
|
2
|
-
import "../lazy/casino-game-thumbnail-nd-
|
|
3
|
-
import { d as
|
|
4
|
-
function
|
|
1
|
+
import { a as $e, $ as et, S as tt, i as at, s as nt, f as C, b as rt, n as pe, d as I, M as ot, u as p, Q as Se, h as j, q as w, B as Y, j as k, C as P, G as _e, P as ie, k as st, l as lt, o as it, p as x, r as H, D as we, w as be, x as ct, T as Ge, F as u, I as ut, J as ht, K as dt, L as gt } from "./CasinoCalendar-BELrT2lA.js";
|
|
2
|
+
import "../lazy/casino-game-thumbnail-nd-BRX8CtFL.js";
|
|
3
|
+
import { g as mt, d as ve, i as ft, a as pt } from "./CasinoGameThumbnailNd-BhMXUEuY.js";
|
|
4
|
+
function St(a, e) {
|
|
5
5
|
$e(a, e);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _t(a) {
|
|
8
8
|
et.set(a);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const wt = {
|
|
11
11
|
en: {
|
|
12
12
|
recentSearch: "Recent search",
|
|
13
13
|
placeHolderSearchGames: "Search for Games",
|
|
@@ -189,26 +189,26 @@ const ke = {
|
|
|
189
189
|
notFoundText: "Please type the correct name of the game to start to play.",
|
|
190
190
|
noRecentSearches: "No recent searches yet. Search for any of our games."
|
|
191
191
|
}
|
|
192
|
-
},
|
|
192
|
+
}, bt = (a, e) => function(...t) {
|
|
193
193
|
clearTimeout(this.debounceTimer), this.debounceTimer = setTimeout(() => {
|
|
194
194
|
a.apply(this, t);
|
|
195
195
|
}, e);
|
|
196
196
|
};
|
|
197
|
-
function
|
|
197
|
+
function vt(a) {
|
|
198
198
|
rt(a, "svelte-1vt65d9", "*,*::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 10px;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;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.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{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 .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}");
|
|
199
199
|
}
|
|
200
200
|
function ye(a, e, t) {
|
|
201
201
|
const r = a.slice();
|
|
202
|
-
return r[
|
|
202
|
+
return r[67] = e[t], r;
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function ke(a) {
|
|
205
205
|
let e, t = (
|
|
206
206
|
/*$_*/
|
|
207
207
|
a[21]("cancel") + ""
|
|
208
208
|
), r, o, l, s;
|
|
209
209
|
return {
|
|
210
210
|
c() {
|
|
211
|
-
e =
|
|
211
|
+
e = k("small"), r = H(t), p(e, "class", o = "SearchCancelButton " + /*searchCancelled*/
|
|
212
212
|
(a[16] ? "NotVisible" : ""));
|
|
213
213
|
},
|
|
214
214
|
m(i, c) {
|
|
@@ -224,65 +224,65 @@ function Re(a) {
|
|
|
224
224
|
2097152 && t !== (t = /*$_*/
|
|
225
225
|
i[21]("cancel") + "") && x(r, t), c[0] & /*searchCancelled*/
|
|
226
226
|
65536 && o !== (o = "SearchCancelButton " + /*searchCancelled*/
|
|
227
|
-
(i[16] ? "NotVisible" : "")) &&
|
|
227
|
+
(i[16] ? "NotVisible" : "")) && p(e, "class", o);
|
|
228
228
|
},
|
|
229
229
|
d(i) {
|
|
230
230
|
i && I(e), l = !1, s();
|
|
231
231
|
}
|
|
232
232
|
};
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function yt(a) {
|
|
235
235
|
let e, t, r, o;
|
|
236
|
-
function l(h,
|
|
236
|
+
function l(h, g) {
|
|
237
237
|
if (
|
|
238
238
|
/*searchActive*/
|
|
239
239
|
h[17] == !0 && /*searchValue*/
|
|
240
240
|
h[14].length < 2
|
|
241
241
|
)
|
|
242
|
-
return
|
|
242
|
+
return Ct;
|
|
243
243
|
if (
|
|
244
244
|
/*searchArray*/
|
|
245
245
|
h[13].length != 0
|
|
246
246
|
)
|
|
247
|
-
return
|
|
247
|
+
return Rt;
|
|
248
248
|
}
|
|
249
249
|
let s = l(a), i = s && s(a), c = (
|
|
250
250
|
/*searchCancelled*/
|
|
251
|
-
a[16] === !1 &&
|
|
252
|
-
),
|
|
251
|
+
a[16] === !1 && Le(a)
|
|
252
|
+
), d = (
|
|
253
253
|
/*searchValue*/
|
|
254
254
|
a[14].length >= 2 && /*searchArray*/
|
|
255
|
-
a[13].length == 0 &&
|
|
255
|
+
a[13].length == 0 && Ie(a)
|
|
256
256
|
);
|
|
257
257
|
return {
|
|
258
258
|
c() {
|
|
259
|
-
i && i.c(), e =
|
|
259
|
+
i && i.c(), e = P(), t = k("div"), c && c.c(), r = P(), d && d.c(), p(t, "class", o = "SearchResultsContainer " + /*searchActive*/
|
|
260
260
|
(a[17] == !0 ? "" : "NotVisible"));
|
|
261
261
|
},
|
|
262
|
-
m(h,
|
|
263
|
-
i && i.m(h,
|
|
262
|
+
m(h, g) {
|
|
263
|
+
i && i.m(h, g), j(h, e, g), j(h, t, g), c && c.m(t, null), w(t, r), d && d.m(t, null);
|
|
264
264
|
},
|
|
265
|
-
p(h,
|
|
266
|
-
s === (s = l(h)) && i ? i.p(h,
|
|
267
|
-
h[16] === !1 ? c ? c.p(h,
|
|
265
|
+
p(h, g) {
|
|
266
|
+
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*/
|
|
267
|
+
h[16] === !1 ? c ? c.p(h, g) : (c = Le(h), c.c(), c.m(t, r)) : c && (c.d(1), c = null), /*searchValue*/
|
|
268
268
|
h[14].length >= 2 && /*searchArray*/
|
|
269
|
-
h[13].length == 0 ?
|
|
269
|
+
h[13].length == 0 ? d ? d.p(h, g) : (d = Ie(h), d.c(), d.m(t, null)) : d && (d.d(1), d = null), g[0] & /*searchActive*/
|
|
270
270
|
131072 && o !== (o = "SearchResultsContainer " + /*searchActive*/
|
|
271
|
-
(h[17] == !0 ? "" : "NotVisible")) &&
|
|
271
|
+
(h[17] == !0 ? "" : "NotVisible")) && p(t, "class", o);
|
|
272
272
|
},
|
|
273
273
|
d(h) {
|
|
274
|
-
h && (I(e), I(t)), i && i.d(h), c && c.d(),
|
|
274
|
+
h && (I(e), I(t)), i && i.d(h), c && c.d(), d && d.d();
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function kt(a) {
|
|
279
279
|
let e, t = (
|
|
280
280
|
/*$_*/
|
|
281
281
|
a[21]("loading") + ""
|
|
282
282
|
), r;
|
|
283
283
|
return {
|
|
284
284
|
c() {
|
|
285
|
-
e =
|
|
285
|
+
e = k("p"), r = H(t), p(e, "class", "LoadingContent");
|
|
286
286
|
},
|
|
287
287
|
m(o, l) {
|
|
288
288
|
j(o, e, l), w(e, r);
|
|
@@ -297,14 +297,14 @@ function bt(a) {
|
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Rt(a) {
|
|
301
301
|
let e, t = (
|
|
302
302
|
/*$_*/
|
|
303
303
|
a[21]("searchResult") + ""
|
|
304
304
|
), r;
|
|
305
305
|
return {
|
|
306
306
|
c() {
|
|
307
|
-
e =
|
|
307
|
+
e = k("p"), r = H(t), p(e, "class", "SearchMessage");
|
|
308
308
|
},
|
|
309
309
|
m(o, l) {
|
|
310
310
|
j(o, e, l), w(e, r);
|
|
@@ -319,39 +319,39 @@ function vt(a) {
|
|
|
319
319
|
}
|
|
320
320
|
};
|
|
321
321
|
}
|
|
322
|
-
function
|
|
322
|
+
function Ct(a) {
|
|
323
323
|
let e, t, r = (
|
|
324
324
|
/*searchArray*/
|
|
325
|
-
a[13].length !== 0 &&
|
|
325
|
+
a[13].length !== 0 && Re(a)
|
|
326
326
|
), o = (
|
|
327
327
|
/*searchArray*/
|
|
328
|
-
a[13].length == 0 &&
|
|
328
|
+
a[13].length == 0 && Ce(a)
|
|
329
329
|
);
|
|
330
330
|
return {
|
|
331
331
|
c() {
|
|
332
|
-
r && r.c(), e =
|
|
332
|
+
r && r.c(), e = P(), o && o.c(), t = Ge();
|
|
333
333
|
},
|
|
334
334
|
m(l, s) {
|
|
335
335
|
r && r.m(l, s), j(l, e, s), o && o.m(l, s), j(l, t, s);
|
|
336
336
|
},
|
|
337
337
|
p(l, s) {
|
|
338
338
|
/*searchArray*/
|
|
339
|
-
l[13].length !== 0 ? r ? r.p(l, s) : (r =
|
|
340
|
-
l[13].length == 0 ? o ? o.p(l, s) : (o =
|
|
339
|
+
l[13].length !== 0 ? r ? r.p(l, s) : (r = Re(l), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), /*searchArray*/
|
|
340
|
+
l[13].length == 0 ? o ? o.p(l, s) : (o = Ce(l), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
|
|
341
341
|
},
|
|
342
342
|
d(l) {
|
|
343
343
|
l && (I(e), I(t)), r && r.d(l), o && o.d(l);
|
|
344
344
|
}
|
|
345
345
|
};
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Re(a) {
|
|
348
348
|
let e, t = (
|
|
349
349
|
/*$_*/
|
|
350
350
|
a[21]("recentSearch") + ""
|
|
351
351
|
), r;
|
|
352
352
|
return {
|
|
353
353
|
c() {
|
|
354
|
-
e =
|
|
354
|
+
e = k("p"), r = H(t), p(e, "class", "SearchMessage");
|
|
355
355
|
},
|
|
356
356
|
m(o, l) {
|
|
357
357
|
j(o, e, l), w(e, r);
|
|
@@ -366,40 +366,40 @@ function Ce(a) {
|
|
|
366
366
|
}
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Ce(a) {
|
|
370
370
|
let e, t, r, o = (
|
|
371
371
|
/*$_*/
|
|
372
372
|
a[21]("noRecentSearches") + ""
|
|
373
373
|
), l, s, i = (
|
|
374
374
|
/*notfoundicon*/
|
|
375
|
-
a[11] === "true" &&
|
|
375
|
+
a[11] === "true" && Fe()
|
|
376
376
|
);
|
|
377
377
|
return {
|
|
378
378
|
c() {
|
|
379
|
-
e =
|
|
379
|
+
e = k("div"), i && i.c(), t = P(), r = k("p"), l = H(o), p(r, "class", "SearchMessage"), p(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
380
380
|
(a[11] == "true" ? "WithIcon" : ""));
|
|
381
381
|
},
|
|
382
|
-
m(c,
|
|
383
|
-
j(c, e,
|
|
382
|
+
m(c, d) {
|
|
383
|
+
j(c, e, d), i && i.m(e, null), w(e, t), w(e, r), w(r, l);
|
|
384
384
|
},
|
|
385
|
-
p(c,
|
|
385
|
+
p(c, d) {
|
|
386
386
|
/*notfoundicon*/
|
|
387
|
-
c[11] === "true" ? i || (i =
|
|
387
|
+
c[11] === "true" ? i || (i = Fe(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), d[0] & /*$_*/
|
|
388
388
|
2097152 && o !== (o = /*$_*/
|
|
389
|
-
c[21]("noRecentSearches") + "") && x(l, o),
|
|
389
|
+
c[21]("noRecentSearches") + "") && x(l, o), d[0] & /*notfoundicon*/
|
|
390
390
|
2048 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
|
|
391
|
-
(c[11] == "true" ? "WithIcon" : "")) &&
|
|
391
|
+
(c[11] == "true" ? "WithIcon" : "")) && p(e, "class", s);
|
|
392
392
|
},
|
|
393
393
|
d(c) {
|
|
394
394
|
c && I(e), i && i.d();
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function Fe(a) {
|
|
399
399
|
let e;
|
|
400
400
|
return {
|
|
401
401
|
c() {
|
|
402
|
-
e =
|
|
402
|
+
e = k("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>', p(e, "class", "SearchErrorIcon");
|
|
403
403
|
},
|
|
404
404
|
m(t, r) {
|
|
405
405
|
j(t, e, r);
|
|
@@ -409,18 +409,18 @@ function Le(a) {
|
|
|
409
409
|
}
|
|
410
410
|
};
|
|
411
411
|
}
|
|
412
|
-
function
|
|
413
|
-
let e, t =
|
|
412
|
+
function Le(a) {
|
|
413
|
+
let e, t = be(
|
|
414
414
|
/*searchArray*/
|
|
415
415
|
a[13]
|
|
416
416
|
), r = [];
|
|
417
417
|
for (let o = 0; o < t.length; o += 1)
|
|
418
|
-
r[o] =
|
|
418
|
+
r[o] = Te(ye(a, t, o));
|
|
419
419
|
return {
|
|
420
420
|
c() {
|
|
421
421
|
for (let o = 0; o < r.length; o += 1)
|
|
422
422
|
r[o].c();
|
|
423
|
-
e =
|
|
423
|
+
e = Ge();
|
|
424
424
|
},
|
|
425
425
|
m(o, l) {
|
|
426
426
|
for (let s = 0; s < r.length; s += 1)
|
|
@@ -430,14 +430,14 @@ function Te(a) {
|
|
|
430
430
|
p(o, l) {
|
|
431
431
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, getRequiredIcon, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl, mbsource*/
|
|
432
432
|
77079551) {
|
|
433
|
-
t =
|
|
433
|
+
t = be(
|
|
434
434
|
/*searchArray*/
|
|
435
435
|
o[13]
|
|
436
436
|
);
|
|
437
437
|
let s;
|
|
438
438
|
for (s = 0; s < t.length; s += 1) {
|
|
439
439
|
const i = ye(o, t, s);
|
|
440
|
-
r[s] ? r[s].p(i, l) : (r[s] =
|
|
440
|
+
r[s] ? r[s].p(i, l) : (r[s] = Te(i), r[s].c(), r[s].m(e.parentNode, e));
|
|
441
441
|
}
|
|
442
442
|
for (; s < r.length; s += 1)
|
|
443
443
|
r[s].d(1);
|
|
@@ -449,11 +449,11 @@ function Te(a) {
|
|
|
449
449
|
}
|
|
450
450
|
};
|
|
451
451
|
}
|
|
452
|
-
function
|
|
453
|
-
let e, t, r, o, l, s, i, c,
|
|
452
|
+
function Te(a) {
|
|
453
|
+
let e, t, r, o, l, s, i, c, d, h, g, v, T;
|
|
454
454
|
return {
|
|
455
455
|
c() {
|
|
456
|
-
e =
|
|
456
|
+
e = k("casino-game-thumbnail-nd"), u(
|
|
457
457
|
e,
|
|
458
458
|
"endpoint",
|
|
459
459
|
/*endpoint*/
|
|
@@ -479,32 +479,32 @@ function Ie(a) {
|
|
|
479
479
|
/*lang*/
|
|
480
480
|
a[1]
|
|
481
481
|
), u(e, "gamethumbnail", t = /*game*/
|
|
482
|
-
a[
|
|
482
|
+
a[67].thumbnail), u(e, "icon", r = /*getRequiredIcon*/
|
|
483
483
|
a[23](
|
|
484
484
|
/*game*/
|
|
485
|
-
a[
|
|
485
|
+
a[67]?.icons
|
|
486
486
|
)), u(e, "gamename", o = /*game*/
|
|
487
|
-
a[
|
|
488
|
-
a[
|
|
489
|
-
a[
|
|
490
|
-
a[
|
|
491
|
-
a[
|
|
487
|
+
a[67].name), u(e, "gamevendor", l = /*game*/
|
|
488
|
+
a[67].vendor.name), u(e, "gameLaunchUrl", s = /*game*/
|
|
489
|
+
a[67].launchUrl), u(e, "gameisnew", i = /*game*/
|
|
490
|
+
a[67].isNew), u(e, "gametag", c = /*game*/
|
|
491
|
+
a[67].advancedTags?.length > 0 && /*addGameTag*/
|
|
492
492
|
a[26](
|
|
493
493
|
/*game*/
|
|
494
|
-
a[
|
|
495
|
-
)), u(e, "gamecellsize",
|
|
496
|
-
a[
|
|
497
|
-
a[
|
|
494
|
+
a[67].advancedTags
|
|
495
|
+
)), u(e, "gamecellsize", d = /*game*/
|
|
496
|
+
a[67].cellSize), u(e, "gameid", h = /*game*/
|
|
497
|
+
a[67].id), u(
|
|
498
498
|
e,
|
|
499
499
|
"showgamename",
|
|
500
500
|
/*showgamename*/
|
|
501
501
|
a[7]
|
|
502
|
-
), u(e, "gamefunmode",
|
|
503
|
-
a[
|
|
504
|
-
a[
|
|
505
|
-
a[
|
|
502
|
+
), u(e, "gamefunmode", g = /*game*/
|
|
503
|
+
a[67].hasFunMode), u(e, "gamefavorite", v = /*game*/
|
|
504
|
+
a[67].isFavorite), u(e, "livelobbyendpoint", T = /*game*/
|
|
505
|
+
a[67].details ? (
|
|
506
506
|
/*game*/
|
|
507
|
-
a[
|
|
507
|
+
a[67].launchUrl
|
|
508
508
|
) : ""), u(
|
|
509
509
|
e,
|
|
510
510
|
"integratedgameframedesktop",
|
|
@@ -573,44 +573,44 @@ function Ie(a) {
|
|
|
573
573
|
m[1]
|
|
574
574
|
), S[0] & /*searchArray*/
|
|
575
575
|
8192 && t !== (t = /*game*/
|
|
576
|
-
m[
|
|
576
|
+
m[67].thumbnail) && u(e, "gamethumbnail", t), S[0] & /*searchArray*/
|
|
577
577
|
8192 && r !== (r = /*getRequiredIcon*/
|
|
578
578
|
m[23](
|
|
579
579
|
/*game*/
|
|
580
|
-
m[
|
|
580
|
+
m[67]?.icons
|
|
581
581
|
)) && u(e, "icon", r), S[0] & /*searchArray*/
|
|
582
582
|
8192 && o !== (o = /*game*/
|
|
583
|
-
m[
|
|
583
|
+
m[67].name) && u(e, "gamename", o), S[0] & /*searchArray*/
|
|
584
584
|
8192 && l !== (l = /*game*/
|
|
585
|
-
m[
|
|
585
|
+
m[67].vendor.name) && u(e, "gamevendor", l), S[0] & /*searchArray*/
|
|
586
586
|
8192 && s !== (s = /*game*/
|
|
587
|
-
m[
|
|
587
|
+
m[67].launchUrl) && u(e, "gameLaunchUrl", s), S[0] & /*searchArray*/
|
|
588
588
|
8192 && i !== (i = /*game*/
|
|
589
|
-
m[
|
|
589
|
+
m[67].isNew) && u(e, "gameisnew", i), S[0] & /*searchArray*/
|
|
590
590
|
8192 && c !== (c = /*game*/
|
|
591
|
-
m[
|
|
591
|
+
m[67].advancedTags?.length > 0 && /*addGameTag*/
|
|
592
592
|
m[26](
|
|
593
593
|
/*game*/
|
|
594
|
-
m[
|
|
594
|
+
m[67].advancedTags
|
|
595
595
|
)) && u(e, "gametag", c), S[0] & /*searchArray*/
|
|
596
|
-
8192 &&
|
|
597
|
-
m[
|
|
596
|
+
8192 && d !== (d = /*game*/
|
|
597
|
+
m[67].cellSize) && u(e, "gamecellsize", d), S[0] & /*searchArray*/
|
|
598
598
|
8192 && h !== (h = /*game*/
|
|
599
|
-
m[
|
|
599
|
+
m[67].id) && u(e, "gameid", h), S[0] & /*showgamename*/
|
|
600
600
|
128 && u(
|
|
601
601
|
e,
|
|
602
602
|
"showgamename",
|
|
603
603
|
/*showgamename*/
|
|
604
604
|
m[7]
|
|
605
605
|
), S[0] & /*searchArray*/
|
|
606
|
-
8192 &&
|
|
607
|
-
m[
|
|
606
|
+
8192 && g !== (g = /*game*/
|
|
607
|
+
m[67].hasFunMode) && u(e, "gamefunmode", g), S[0] & /*searchArray*/
|
|
608
608
|
8192 && v !== (v = /*game*/
|
|
609
|
-
m[
|
|
609
|
+
m[67].isFavorite) && u(e, "gamefavorite", v), S[0] & /*searchArray*/
|
|
610
610
|
8192 && T !== (T = /*game*/
|
|
611
|
-
m[
|
|
611
|
+
m[67].details ? (
|
|
612
612
|
/*game*/
|
|
613
|
-
m[
|
|
613
|
+
m[67].launchUrl
|
|
614
614
|
) : "") && u(e, "livelobbyendpoint", T), S[0] & /*integratedgameframedesktop*/
|
|
615
615
|
32 && u(
|
|
616
616
|
e,
|
|
@@ -654,45 +654,45 @@ function Ie(a) {
|
|
|
654
654
|
}
|
|
655
655
|
};
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function Ie(a) {
|
|
658
658
|
let e, t, r, o = (
|
|
659
659
|
/*$_*/
|
|
660
660
|
a[21]("notFound") + ""
|
|
661
661
|
), l, s, i, c = (
|
|
662
662
|
/*$_*/
|
|
663
663
|
a[21]("notFoundText") + ""
|
|
664
|
-
),
|
|
664
|
+
), d, h, g = (
|
|
665
665
|
/*notfoundicon*/
|
|
666
|
-
a[11] === "true" &&
|
|
666
|
+
a[11] === "true" && je()
|
|
667
667
|
);
|
|
668
668
|
return {
|
|
669
669
|
c() {
|
|
670
|
-
e =
|
|
670
|
+
e = k("div"), g && g.c(), t = P(), r = k("p"), l = H(o), s = P(), i = k("p"), d = H(c), p(r, "class", "SearchMessage"), p(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
671
671
|
(a[11] == "true" ? "WithIcon" : ""));
|
|
672
672
|
},
|
|
673
673
|
m(v, T) {
|
|
674
|
-
j(v, e, T),
|
|
674
|
+
j(v, e, T), g && g.m(e, null), w(e, t), w(e, r), w(r, l), w(e, s), w(e, i), w(i, d);
|
|
675
675
|
},
|
|
676
676
|
p(v, T) {
|
|
677
677
|
/*notfoundicon*/
|
|
678
|
-
v[11] === "true" ?
|
|
678
|
+
v[11] === "true" ? g || (g = je(), g.c(), g.m(e, t)) : g && (g.d(1), g = null), T[0] & /*$_*/
|
|
679
679
|
2097152 && o !== (o = /*$_*/
|
|
680
680
|
v[21]("notFound") + "") && x(l, o), T[0] & /*$_*/
|
|
681
681
|
2097152 && c !== (c = /*$_*/
|
|
682
|
-
v[21]("notFoundText") + "") && x(
|
|
682
|
+
v[21]("notFoundText") + "") && x(d, c), T[0] & /*notfoundicon*/
|
|
683
683
|
2048 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
|
|
684
|
-
(v[11] == "true" ? "WithIcon" : "")) &&
|
|
684
|
+
(v[11] == "true" ? "WithIcon" : "")) && p(e, "class", h);
|
|
685
685
|
},
|
|
686
686
|
d(v) {
|
|
687
|
-
v && I(e),
|
|
687
|
+
v && I(e), g && g.d();
|
|
688
688
|
}
|
|
689
689
|
};
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function je(a) {
|
|
692
692
|
let e;
|
|
693
693
|
return {
|
|
694
694
|
c() {
|
|
695
|
-
e =
|
|
695
|
+
e = k("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>', p(e, "class", "SearchErrorIcon");
|
|
696
696
|
},
|
|
697
697
|
m(t, r) {
|
|
698
698
|
j(t, e, r);
|
|
@@ -702,36 +702,36 @@ function Ge(a) {
|
|
|
702
702
|
}
|
|
703
703
|
};
|
|
704
704
|
}
|
|
705
|
-
function
|
|
706
|
-
let e, t, r, o, l, s, i, c,
|
|
705
|
+
function Ft(a) {
|
|
706
|
+
let e, t, r, o, l, s, i, c, d, h, g, v, T, m, S, z, B, W, U, A, F = (
|
|
707
707
|
/*cancelbutton*/
|
|
708
|
-
a[10] === "true" &&
|
|
708
|
+
a[10] === "true" && ke(a)
|
|
709
709
|
);
|
|
710
710
|
function V(_, R) {
|
|
711
711
|
return (
|
|
712
712
|
/*isLoading*/
|
|
713
|
-
_[18] ?
|
|
713
|
+
_[18] ? kt : yt
|
|
714
714
|
);
|
|
715
715
|
}
|
|
716
716
|
let J = V(a), G = J(a);
|
|
717
717
|
return {
|
|
718
718
|
c() {
|
|
719
|
-
e =
|
|
720
|
-
a[21]("placeHolderSearchGames")),
|
|
719
|
+
e = k("div"), t = k("div"), r = k("div"), o = k("div"), o.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" 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="#FFF" stroke-width="1.5"></circle></svg>', l = P(), s = k("input"), c = P(), d = k("span"), h = _e("svg"), g = _e("path"), T = P(), F && F.c(), S = P(), z = k("div"), W = P(), G.c(), p(o, "class", "SearchIcon"), p(s, "class", "SearchInput"), p(s, "type", "search"), p(s, "placeholder", i = /*$_*/
|
|
720
|
+
a[21]("placeHolderSearchGames")), p(s, "maxlength", Ee), p(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), p(g, "stroke", "#717171"), p(g, "stroke-width", "2"), p(g, "stroke-linecap", "round"), p(g, "stroke-linejoin", "round"), p(h, "width", "11"), p(h, "height", "11"), p(h, "fill", "none"), p(h, "xmlns", "http://www.w3.org/2000/svg"), p(d, "class", v = "SearchClearButton " + /*cancelbutton*/
|
|
721
721
|
(a[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
722
|
-
(a[14].length != 0 ? "" : "NotVisible")),
|
|
723
|
-
(a[16] ? "" : "SearchAnimation")),
|
|
724
|
-
a[10] != "true" ? "OverlayCancel" : ""),
|
|
722
|
+
(a[14].length != 0 ? "" : "NotVisible")), p(r, "class", m = "Search " + /*searchCancelled*/
|
|
723
|
+
(a[16] ? "" : "SearchAnimation")), p(t, "class", "SearchWrap"), p(z, "class", B = /*cancelbutton*/
|
|
724
|
+
a[10] != "true" ? "OverlayCancel" : ""), p(e, "class", (ie(
|
|
725
725
|
/*userAgent*/
|
|
726
726
|
a[22]
|
|
727
727
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
728
728
|
},
|
|
729
729
|
m(_, R) {
|
|
730
|
-
j(_, e, R), w(e, t), w(t, r), w(r, o), w(r, l), w(r, s),
|
|
730
|
+
j(_, e, R), w(e, t), w(t, r), w(r, o), w(r, l), w(r, s), Se(
|
|
731
731
|
s,
|
|
732
732
|
/*searchValue*/
|
|
733
733
|
a[14]
|
|
734
|
-
), a[39](s), w(r, c), w(r,
|
|
734
|
+
), a[39](s), w(r, c), w(r, d), w(d, h), w(h, g), w(r, T), F && F.m(r, null), w(e, S), w(e, z), w(e, W), G.m(e, null), a[42](e), U || (A = [
|
|
735
735
|
Y(
|
|
736
736
|
s,
|
|
737
737
|
"input",
|
|
@@ -751,13 +751,13 @@ function yt(a) {
|
|
|
751
751
|
a[29]
|
|
752
752
|
),
|
|
753
753
|
Y(
|
|
754
|
-
|
|
754
|
+
d,
|
|
755
755
|
"click",
|
|
756
756
|
/*click_handler*/
|
|
757
757
|
a[40]
|
|
758
758
|
),
|
|
759
759
|
Y(
|
|
760
|
-
|
|
760
|
+
z,
|
|
761
761
|
"click",
|
|
762
762
|
/*handleOverlay*/
|
|
763
763
|
a[25]
|
|
@@ -767,60 +767,60 @@ function yt(a) {
|
|
|
767
767
|
p(_, R) {
|
|
768
768
|
R[0] & /*$_*/
|
|
769
769
|
2097152 && i !== (i = /*$_*/
|
|
770
|
-
_[21]("placeHolderSearchGames")) &&
|
|
770
|
+
_[21]("placeHolderSearchGames")) && p(s, "placeholder", i), R[0] & /*searchValue*/
|
|
771
771
|
16384 && s.value !== /*searchValue*/
|
|
772
|
-
_[14] &&
|
|
772
|
+
_[14] && Se(
|
|
773
773
|
s,
|
|
774
774
|
/*searchValue*/
|
|
775
775
|
_[14]
|
|
776
776
|
), R[0] & /*cancelbutton, searchValue*/
|
|
777
777
|
17408 && v !== (v = "SearchClearButton " + /*cancelbutton*/
|
|
778
778
|
(_[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
779
|
-
(_[14].length != 0 ? "" : "NotVisible")) &&
|
|
780
|
-
_[10] === "true" ? F ? F.p(_, R) : (F =
|
|
779
|
+
(_[14].length != 0 ? "" : "NotVisible")) && p(d, "class", v), /*cancelbutton*/
|
|
780
|
+
_[10] === "true" ? F ? F.p(_, R) : (F = ke(_), F.c(), F.m(r, null)) : F && (F.d(1), F = null), R[0] & /*searchCancelled*/
|
|
781
781
|
65536 && m !== (m = "Search " + /*searchCancelled*/
|
|
782
|
-
(_[16] ? "" : "SearchAnimation")) &&
|
|
783
|
-
1024 &&
|
|
784
|
-
_[10] != "true" ? "OverlayCancel" : "") &&
|
|
782
|
+
(_[16] ? "" : "SearchAnimation")) && p(r, "class", m), R[0] & /*cancelbutton*/
|
|
783
|
+
1024 && B !== (B = /*cancelbutton*/
|
|
784
|
+
_[10] != "true" ? "OverlayCancel" : "") && p(z, "class", B), J === (J = V(_)) && G ? G.p(_, R) : (G.d(1), G = J(_), G && (G.c(), G.m(e, null)));
|
|
785
785
|
},
|
|
786
|
-
i:
|
|
787
|
-
o:
|
|
786
|
+
i: pe,
|
|
787
|
+
o: pe,
|
|
788
788
|
d(_) {
|
|
789
|
-
_ && I(e), a[39](null), F && F.d(), G.d(), a[42](null), U = !1, ot(
|
|
789
|
+
_ && I(e), a[39](null), F && F.d(), G.d(), a[42](null), U = !1, ot(A);
|
|
790
790
|
}
|
|
791
791
|
};
|
|
792
792
|
}
|
|
793
|
-
let
|
|
794
|
-
function
|
|
793
|
+
let Ee = 50;
|
|
794
|
+
function Lt(a, e, t) {
|
|
795
795
|
let r;
|
|
796
796
|
st(a, lt, (n) => t(21, r = n));
|
|
797
|
-
let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource:
|
|
797
|
+
let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: d } = e, { clientstyling: h = "" } = e, { clientstylingurl: g = "" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: T = "false" } = e, { showgamename: m = "" } = e, { gamepagemodalurl: S = "true" } = e, { translationurl: z = "" } = e, { showfavorites: B = "" } = e, { cancelbutton: W = "true" } = e, { notfoundicon: U = "false" } = e, { controlchannel: A = "casino-search" } = e, { allowedorigins: F = window.location.origin } = e, { requiredicon: V = "false" } = e;
|
|
798
798
|
const J = () => (F || "").split(",").map((n) => n.trim()).filter(Boolean);
|
|
799
|
-
let G = window.navigator.userAgent, _ = [], R = [], ne = {}, D = "", K, $ = !0, q = !1,
|
|
800
|
-
const
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
799
|
+
let G = window.navigator.userAgent, _ = [], R = [], ne = {}, D = "", K, $ = !0, q = !1, N = !1, M, ze, ee = !1, te, ae, ce = [];
|
|
800
|
+
const re = (n) => {
|
|
801
|
+
Object.keys(n).forEach((f) => {
|
|
802
|
+
St(f, n[f]);
|
|
803
|
+
});
|
|
804
|
+
}, Ne = () => {
|
|
805
|
+
fetch(z).then((f) => f.json()).then((f) => {
|
|
806
|
+
re(f);
|
|
807
|
+
}).catch((f) => {
|
|
808
|
+
console.log(f);
|
|
807
809
|
});
|
|
808
810
|
};
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
});
|
|
812
|
-
const ce = (n) => {
|
|
811
|
+
re(wt);
|
|
812
|
+
const ue = (n) => {
|
|
813
813
|
n.data && n.data.type == "SearchedItemClicked" && We(n.data.gameId), n.data.type == "UserSessionID" && (t(19, te = n.data.session), t(20, ae = n.data.userid), t(37, ee = !0)), n.data.type == "CategoryChange" && X();
|
|
814
814
|
try {
|
|
815
|
-
const
|
|
816
|
-
if (!(
|
|
815
|
+
const f = n.origin === window.location.origin, b = J();
|
|
816
|
+
if (!(f || b.length > 0 && b.includes(n.origin)) || !n.data || n.data.channel !== A)
|
|
817
817
|
return;
|
|
818
818
|
switch (n.data.type) {
|
|
819
819
|
case "OpenSearch":
|
|
820
|
-
|
|
820
|
+
se();
|
|
821
821
|
break;
|
|
822
822
|
case "CloseSearch":
|
|
823
|
-
|
|
823
|
+
he();
|
|
824
824
|
break;
|
|
825
825
|
case "ToggleSearch":
|
|
826
826
|
De();
|
|
@@ -831,63 +831,63 @@ function Rt(a, e, t) {
|
|
|
831
831
|
}
|
|
832
832
|
} catch {
|
|
833
833
|
}
|
|
834
|
-
}, Pe = (n) => V !== "true" ? void 0 : Object.values(n ?? {}).pop(),
|
|
834
|
+
}, Pe = (n) => V !== "true" ? void 0 : Object.values(n ?? {}).pop(), oe = () => {
|
|
835
835
|
if (t(16, $ = !1), t(17, q = !0), o && l && c && D.length < 2) {
|
|
836
836
|
t(13, _ = []);
|
|
837
|
-
let n = localStorage.getItem("searchedGamesWds_casino"),
|
|
838
|
-
n && (
|
|
839
|
-
let b = [],
|
|
837
|
+
let n = localStorage.getItem("searchedGamesWds_casino"), f = [];
|
|
838
|
+
n && (f = n.split(","));
|
|
839
|
+
let b = [], y = 0, L = f.length;
|
|
840
840
|
if (L > 0) {
|
|
841
|
-
for (
|
|
842
|
-
let E = new URL(`${o}/v1/casino/games/${
|
|
843
|
-
E.searchParams.append("language", c), E.searchParams.append("datasource", l), E.searchParams.append("platform",
|
|
841
|
+
for (y = 0; y < L; y++) {
|
|
842
|
+
let E = new URL(`${o}/v1/casino/games/${f[y]}`);
|
|
843
|
+
E.searchParams.append("language", c), E.searchParams.append("datasource", l), E.searchParams.append("platform", ie(G)), b.push(Ae(E, f[y]));
|
|
844
844
|
}
|
|
845
845
|
Promise.all(b).then((E) => {
|
|
846
846
|
E = E.filter(function(O) {
|
|
847
847
|
return !!O;
|
|
848
|
-
}), t(13, _ = E.map((O) => (O.isFavorite =
|
|
848
|
+
}), t(13, _ = E.map((O) => (O.isFavorite = de(O.id), O))), _.length ? Q("searchSuccess", "SearchWidget") : Q("searchFail", "SearchWidget");
|
|
849
849
|
}).catch((E) => {
|
|
850
850
|
Q("searchError", "SearchWidget");
|
|
851
851
|
});
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
|
-
|
|
854
|
+
me(q), Q("searchAttempt", "SearchWidget"), Q("SearchInitialized", "SearchWidget");
|
|
855
855
|
};
|
|
856
|
-
function
|
|
857
|
-
q || (
|
|
856
|
+
function se() {
|
|
857
|
+
q || (oe(), requestAnimationFrame(() => K?.focus()), Z({ type: "SearchOpen" }));
|
|
858
858
|
}
|
|
859
|
-
function
|
|
859
|
+
function he() {
|
|
860
860
|
q && (X(), Z({ type: "SearchClose" }));
|
|
861
861
|
}
|
|
862
862
|
function De() {
|
|
863
|
-
q ?
|
|
863
|
+
q ? he() : se();
|
|
864
864
|
}
|
|
865
865
|
function qe(n) {
|
|
866
|
-
t(14, D = (n ?? "").slice(0,
|
|
866
|
+
t(14, D = (n ?? "").slice(0, Ee)), q || se(), fe();
|
|
867
867
|
}
|
|
868
|
-
const Q = (n,
|
|
869
|
-
typeof gtag == "function" && gtag("event", n, { context:
|
|
868
|
+
const Q = (n, f) => {
|
|
869
|
+
typeof gtag == "function" && gtag("event", n, { context: f });
|
|
870
870
|
}, Me = () => {
|
|
871
871
|
W != "true" && X();
|
|
872
|
-
},
|
|
873
|
-
t(18,
|
|
874
|
-
t(18,
|
|
875
|
-
}).catch((
|
|
876
|
-
t(18,
|
|
872
|
+
}, Be = (n) => new Promise((f, b) => {
|
|
873
|
+
t(18, N = !0), fetch(n.href).then((y) => y.json()).then((y) => {
|
|
874
|
+
t(18, N = !1), f(y);
|
|
875
|
+
}).catch((y) => {
|
|
876
|
+
t(18, N = !1), console.error(y);
|
|
877
877
|
try {
|
|
878
878
|
Z({
|
|
879
879
|
type: "SearchError",
|
|
880
|
-
message: String(
|
|
880
|
+
message: String(y)
|
|
881
881
|
});
|
|
882
882
|
} catch {
|
|
883
883
|
}
|
|
884
|
-
b(
|
|
884
|
+
b(y);
|
|
885
885
|
});
|
|
886
|
-
}),
|
|
887
|
-
t(18,
|
|
888
|
-
t(18,
|
|
886
|
+
}), Ae = (n, f) => new Promise((b, y) => {
|
|
887
|
+
t(18, N = !0), f && Object.keys(ne).indexOf(f) >= 0 ? (t(18, N = !1), b(ne[f])) : fetch(n).then((L) => L.json()).then((L) => {
|
|
888
|
+
t(18, N = !1), L.error || (ne[L[0].gameId] = L[0]), b(L[0]);
|
|
889
889
|
}).catch((L) => {
|
|
890
|
-
t(18,
|
|
890
|
+
t(18, N = !1), console.error(L);
|
|
891
891
|
try {
|
|
892
892
|
Z({
|
|
893
893
|
type: "SearchError",
|
|
@@ -895,39 +895,39 @@ function Rt(a, e, t) {
|
|
|
895
895
|
});
|
|
896
896
|
} catch {
|
|
897
897
|
}
|
|
898
|
-
|
|
898
|
+
y(L);
|
|
899
899
|
});
|
|
900
900
|
}), Oe = () => {
|
|
901
901
|
const n = new URL(`${o}/v1/player/${ae}/favorites/`);
|
|
902
|
-
t(18,
|
|
903
|
-
let
|
|
902
|
+
t(18, N = !0);
|
|
903
|
+
let f = {
|
|
904
904
|
method: "GET",
|
|
905
905
|
headers: { "X-SessionID": te }
|
|
906
906
|
};
|
|
907
|
-
fetch(n.href,
|
|
908
|
-
t(18,
|
|
907
|
+
fetch(n.href, f).then((b) => b.json()).then((b) => {
|
|
908
|
+
t(18, N = !1), ce = b.items.map((y) => y.id);
|
|
909
909
|
});
|
|
910
910
|
}, xe = () => {
|
|
911
911
|
t(37, ee = !0), t(19, te = s), t(20, ae = i);
|
|
912
|
-
},
|
|
912
|
+
}, de = (n) => ce.findIndex((f) => f == n) !== -1, He = (n) => {
|
|
913
913
|
if (n?.length === 0)
|
|
914
914
|
return "";
|
|
915
|
-
let
|
|
915
|
+
let f, b = 99999999999, y;
|
|
916
916
|
const L = new Date(Date.now());
|
|
917
917
|
return n.forEach((E, O) => {
|
|
918
|
-
const Xe = new Date(E.schedules[0].startTime),
|
|
919
|
-
|
|
920
|
-
}),
|
|
918
|
+
const Xe = new Date(E.schedules[0].startTime), le = new Date(E.schedules[0].endTime);
|
|
919
|
+
ve(new Date(le), new Date(L)) < b && (b = ve(new Date(le), new Date(L)), y = O), ft(new Date(L), new Date(Xe)) && pt(new Date(L), new Date(le)) && (f = n[y].name);
|
|
920
|
+
}), f;
|
|
921
921
|
}, We = (n) => {
|
|
922
922
|
if (R = localStorage.getItem("searchedGamesWds_casino"), R ? R = R.split(",") : R = [], R.indexOf(n) === -1) {
|
|
923
|
-
let
|
|
924
|
-
R.unshift(n),
|
|
923
|
+
let f;
|
|
924
|
+
R.unshift(n), f = R.join(","), localStorage.setItem("searchedGamesWds_casino", f);
|
|
925
925
|
}
|
|
926
926
|
}, X = () => {
|
|
927
|
-
t(14, D = ""), t(16, $ = !0), t(18,
|
|
928
|
-
},
|
|
927
|
+
t(14, D = ""), t(16, $ = !0), t(18, N = !1), t(13, _ = []), t(17, q = !1), me(q);
|
|
928
|
+
}, ge = () => {
|
|
929
929
|
t(14, D = ""), K.focus();
|
|
930
|
-
},
|
|
930
|
+
}, me = (n) => {
|
|
931
931
|
window.postMessage(
|
|
932
932
|
{
|
|
933
933
|
type: n === !0 ? "searchActive" : "searchCancelled",
|
|
@@ -940,18 +940,18 @@ function Rt(a, e, t) {
|
|
|
940
940
|
};
|
|
941
941
|
function Z(n) {
|
|
942
942
|
try {
|
|
943
|
-
const
|
|
944
|
-
window.postMessage(
|
|
943
|
+
const f = { channel: A, ...n };
|
|
944
|
+
window.postMessage(f, window.location.href);
|
|
945
945
|
} catch {
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
948
|
const Ue = () => {
|
|
949
|
-
|
|
950
|
-
},
|
|
949
|
+
_t(c);
|
|
950
|
+
}, fe = async () => {
|
|
951
951
|
if (D.length >= 2) {
|
|
952
952
|
const n = new URL(`${o}/v1/casino/games`);
|
|
953
|
-
n.searchParams.append("datasource", l), n.searchParams.append("expand", "vendor"), n.searchParams.append("platform",
|
|
954
|
-
t(13, _ =
|
|
953
|
+
n.searchParams.append("datasource", l), n.searchParams.append("expand", "vendor"), n.searchParams.append("platform", ie(G)), n.searchParams.append("language", c), n.searchParams.append("pagination", "offset=0,limit=30"), n.searchParams.append("filter", `name=${D}`), Be(n).then((f) => {
|
|
954
|
+
t(13, _ = f.items.map((b) => (b.isFavorite = de(b.id), b)));
|
|
955
955
|
try {
|
|
956
956
|
Z({
|
|
957
957
|
type: "SearchResults",
|
|
@@ -961,48 +961,50 @@ function Rt(a, e, t) {
|
|
|
961
961
|
}
|
|
962
962
|
});
|
|
963
963
|
} else
|
|
964
|
-
$ ||
|
|
965
|
-
}, Ve =
|
|
966
|
-
it(() => (window.addEventListener("message",
|
|
967
|
-
window.removeEventListener("message",
|
|
964
|
+
$ || oe();
|
|
965
|
+
}, Ve = bt(fe, 500);
|
|
966
|
+
it(() => (window.addEventListener("message", ue, !1), () => {
|
|
967
|
+
window.removeEventListener("message", ue);
|
|
968
968
|
}));
|
|
969
969
|
function Je() {
|
|
970
970
|
D = this.value, t(14, D);
|
|
971
971
|
}
|
|
972
972
|
function Ze(n) {
|
|
973
|
-
|
|
973
|
+
we[n ? "unshift" : "push"](() => {
|
|
974
974
|
K = n, t(15, K);
|
|
975
975
|
});
|
|
976
976
|
}
|
|
977
|
-
const Ye = () =>
|
|
977
|
+
const Ye = () => ge(), Ke = () => X();
|
|
978
978
|
function Qe(n) {
|
|
979
|
-
|
|
979
|
+
we[n ? "unshift" : "push"](() => {
|
|
980
980
|
M = n, t(12, M);
|
|
981
981
|
});
|
|
982
982
|
}
|
|
983
983
|
return a.$$set = (n) => {
|
|
984
|
-
"endpoint" in n && t(0, o = n.endpoint), "datasource" in n && t(30, l = n.datasource), "session" in n && t(31, s = n.session), "userid" in n && t(32, i = n.userid), "lang" in n && t(1, c = n.lang), "mbsource" in n && t(2,
|
|
984
|
+
"endpoint" in n && t(0, o = n.endpoint), "datasource" in n && t(30, l = n.datasource), "session" in n && t(31, s = n.session), "userid" in n && t(32, i = n.userid), "lang" in n && t(1, c = n.lang), "mbsource" in n && t(2, d = n.mbsource), "clientstyling" in n && t(3, h = n.clientstyling), "clientstylingurl" in n && t(4, g = n.clientstylingurl), "integratedgameframedesktop" in n && t(5, v = n.integratedgameframedesktop), "integratedgameframemobile" in n && t(6, T = n.integratedgameframemobile), "showgamename" in n && t(7, m = n.showgamename), "gamepagemodalurl" in n && t(8, S = n.gamepagemodalurl), "translationurl" in n && t(33, z = n.translationurl), "showfavorites" in n && t(9, B = n.showfavorites), "cancelbutton" in n && t(10, W = n.cancelbutton), "notfoundicon" in n && t(11, U = n.notfoundicon), "controlchannel" in n && t(34, A = n.controlchannel), "allowedorigins" in n && t(35, F = n.allowedorigins), "requiredicon" in n && t(36, V = n.requiredicon);
|
|
985
985
|
}, a.$$.update = () => {
|
|
986
986
|
a.$$.dirty[0] & /*lang*/
|
|
987
987
|
2 && c && Ue(), a.$$.dirty[1] & /*translationurl*/
|
|
988
|
-
4 &&
|
|
988
|
+
4 && z && Ne(), a.$$.dirty[1] & /*session, userid*/
|
|
989
989
|
3 && s && i && xe(), a.$$.dirty[0] & /*showfavorites*/
|
|
990
990
|
512 | a.$$.dirty[1] & /*isLoggedIn*/
|
|
991
|
-
64 &&
|
|
991
|
+
64 && B && ee && Oe(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
992
992
|
4104 && h && M && ut(M, h), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
993
|
-
4112 &&
|
|
994
|
-
4100 &&
|
|
993
|
+
4112 && g && M && ht(M, g), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
994
|
+
4100 && d && M && dt(M, `${d}.Style`), a.$$.dirty[0] & /*mbsource*/
|
|
995
|
+
4 | a.$$.dirty[1] & /*translationurl*/
|
|
996
|
+
4 && d && !z && mt(`${d}.Translation`, ze, re);
|
|
995
997
|
}, [
|
|
996
998
|
o,
|
|
997
999
|
c,
|
|
998
|
-
g,
|
|
999
|
-
h,
|
|
1000
1000
|
d,
|
|
1001
|
+
h,
|
|
1002
|
+
g,
|
|
1001
1003
|
v,
|
|
1002
1004
|
T,
|
|
1003
1005
|
m,
|
|
1004
1006
|
S,
|
|
1005
|
-
|
|
1007
|
+
B,
|
|
1006
1008
|
W,
|
|
1007
1009
|
U,
|
|
1008
1010
|
M,
|
|
@@ -1011,23 +1013,23 @@ function Rt(a, e, t) {
|
|
|
1011
1013
|
K,
|
|
1012
1014
|
$,
|
|
1013
1015
|
q,
|
|
1014
|
-
|
|
1016
|
+
N,
|
|
1015
1017
|
te,
|
|
1016
1018
|
ae,
|
|
1017
1019
|
r,
|
|
1018
1020
|
G,
|
|
1019
1021
|
Pe,
|
|
1020
|
-
|
|
1022
|
+
oe,
|
|
1021
1023
|
Me,
|
|
1022
1024
|
He,
|
|
1023
1025
|
X,
|
|
1024
|
-
|
|
1026
|
+
ge,
|
|
1025
1027
|
Ve,
|
|
1026
1028
|
l,
|
|
1027
1029
|
s,
|
|
1028
1030
|
i,
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
+
z,
|
|
1032
|
+
A,
|
|
1031
1033
|
F,
|
|
1032
1034
|
V,
|
|
1033
1035
|
ee,
|
|
@@ -1038,13 +1040,13 @@ function Rt(a, e, t) {
|
|
|
1038
1040
|
Qe
|
|
1039
1041
|
];
|
|
1040
1042
|
}
|
|
1041
|
-
class
|
|
1043
|
+
class Tt extends tt {
|
|
1042
1044
|
constructor(e) {
|
|
1043
1045
|
super(), at(
|
|
1044
1046
|
this,
|
|
1045
1047
|
e,
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
+
Lt,
|
|
1049
|
+
Ft,
|
|
1048
1050
|
nt,
|
|
1049
1051
|
{
|
|
1050
1052
|
endpoint: 0,
|
|
@@ -1067,7 +1069,7 @@ class Ct extends tt {
|
|
|
1067
1069
|
allowedorigins: 35,
|
|
1068
1070
|
requiredicon: 36
|
|
1069
1071
|
},
|
|
1070
|
-
|
|
1072
|
+
vt,
|
|
1071
1073
|
[-1, -1, -1]
|
|
1072
1074
|
);
|
|
1073
1075
|
}
|
|
@@ -1186,7 +1188,7 @@ class Ct extends tt {
|
|
|
1186
1188
|
this.$$set({ requiredicon: e }), C();
|
|
1187
1189
|
}
|
|
1188
1190
|
}
|
|
1189
|
-
gt(
|
|
1191
|
+
gt(Tt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, controlchannel: {}, allowedorigins: {}, requiredicon: {} }, [], [], !0);
|
|
1190
1192
|
export {
|
|
1191
|
-
|
|
1193
|
+
Tt as default
|
|
1192
1194
|
};
|