@everymatrix/casino-lobby 1.54.0 → 1.54.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--_TG0VEV.js → CasinoCalendar-Ic3lq1UY.js} +1039 -1078
- package/components/{CasinoCalendarDailyDetails-BXGq5a2T.js → CasinoCalendarDailyDetails-buDoufAV.js} +1 -1
- package/components/{CasinoCalendarDailyItem-D2aX3lqV.js → CasinoCalendarDailyItem-koPRd703.js} +1 -1
- package/components/{CasinoCategoriesSlider-J5nWaz3g.js → CasinoCategoriesSlider-Bp9JHeM_.js} +3 -3
- package/components/{CasinoCollectionsProviders-CuCFosXw.js → CasinoCollectionsProviders-CrpNb22N.js} +237 -242
- package/components/{CasinoFavoritesSection-y1wno4sj.js → CasinoFavoritesSection-D_VjX8kh.js} +3 -3
- package/components/{CasinoFilter-Dzg88RIE.js → CasinoFilter-CYZHW74M.js} +53 -54
- package/components/{CasinoGamePage-D6-QXHCi.js → CasinoGamePage-CCqWDOmI.js} +1280 -1301
- package/components/{CasinoGameThumbnail-D0H15Csw.js → CasinoGameThumbnail-DuQXK0BS.js} +305 -321
- package/components/{CasinoGamesCategorySection-Cl_p9So4.js → CasinoGamesCategorySection-B7unf50a.js} +1107 -1145
- package/components/{CasinoJackpotBanner-BD8WK4Rz.js → CasinoJackpotBanner-CL7SMQDH.js} +153 -157
- package/components/{CasinoLastPlayedSection-ctqze_4r.js → CasinoLastPlayedSection-DtUKV7qS.js} +2 -2
- package/components/{CasinoLobby-CXaWKeNB.js → CasinoLobby-Bhufm6di.js} +13 -13
- package/components/{CasinoModal-BBqGUhwr.js → CasinoModal-z0xixUlG.js} +1 -1
- package/components/{CasinoMostPlayedSection-BeiZTG1A.js → CasinoMostPlayedSection-DATKT5NZ.js} +2 -2
- package/components/{CasinoMyGames-D_Eo_aAx.js → CasinoMyGames-CT8sf3p5.js} +71 -72
- package/components/{CasinoPage-DcCY3qwb.js → CasinoPage-CLrMZJtx.js} +803 -793
- package/components/{CasinoRandomGame-Cv4OhwGN.js → CasinoRandomGame-efA8CEqy.js} +231 -247
- package/components/{CasinoSearch-BXhg9VMw.js → CasinoSearch-DuPhm9II.js} +192 -194
- package/components/{CasinoSlider-CWFiUGzM.js → CasinoSlider-BPqJIB5d.js} +209 -215
- package/components/{CasinoSort-PDbvW-vI.js → CasinoSort-CBtcK7i0.js} +2 -3
- package/components/{CasinoWinners-D-uK3YLU.js → CasinoWinners-Db2ivy-R.js} +146 -148
- package/components/{GeneralAnimationLoading-oX4fYtDr.js → GeneralAnimationLoading-DiwFEyef.js} +1 -1
- package/esnext/casino-lobby.js +14 -0
- package/package.json +10 -14
- package/stencil/{casino-play-random-game-CdK9RTmU.js → casino-play-random-game-BrayzMrR.js} +44 -62
- package/stencil/{index-47910d1c-BJIxkb-p.js → index-47910d1c-CWwDm8i3.js} +222 -238
- package/components/CasinoCalendar-Bzrlnxmc.cjs +0 -9
- package/components/CasinoCalendarDailyDetails-H5yaxv9P.cjs +0 -1
- package/components/CasinoCalendarDailyItem-BvYs7mGd.cjs +0 -1
- package/components/CasinoCategoriesSlider-Dj810VWn.cjs +0 -1
- package/components/CasinoCollectionsProviders-CGAhYp6h.cjs +0 -1
- package/components/CasinoFavoritesSection-DSMFNuL7.cjs +0 -1
- package/components/CasinoFilter-DSWjEuYT.cjs +0 -1
- package/components/CasinoGamePage-DR56fBWR.cjs +0 -18
- package/components/CasinoGameThumbnail-Dtr9U58k.cjs +0 -38
- package/components/CasinoGamesCategorySection-BhY8_Szi.cjs +0 -1
- package/components/CasinoJackpotBanner-CNAYdfAP.cjs +0 -1
- package/components/CasinoLastPlayedSection-D4Y31NgL.cjs +0 -1
- package/components/CasinoLobby-DJkqmh-Q.cjs +0 -1
- package/components/CasinoModal-DqY-wVQ9.cjs +0 -1
- package/components/CasinoMostPlayedSection-Dj0QI5j_.cjs +0 -1
- package/components/CasinoMyGames-CHpklmlj.cjs +0 -1
- package/components/CasinoPage-SM6shSGz.cjs +0 -1
- package/components/CasinoRandomGame-Dldt___P.cjs +0 -2
- package/components/CasinoSearch-B4flIPra.cjs +0 -1
- package/components/CasinoSlider-UZ_dMYzs.cjs +0 -1
- package/components/CasinoSort-Cg-ANbV3.cjs +0 -1
- package/components/CasinoWinners-CSBr561I.cjs +0 -1
- package/components/GeneralAnimationLoading-CzSDAjam.cjs +0 -1
- package/es2015/casino-lobby.cjs +0 -1
- package/es2015/casino-lobby.js +0 -16
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/casino-play-random-game-D5-NhS5J.cjs +0 -371
- package/stencil/index-47910d1c-CDXxJ6XN.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Ae, $ as qe, S as Oe, i as We, f as T, c as Ue, s as Ve, b as Je, e as y, r as N, G as le, v as f, K as ee, d as j, w as _, U as ie, x as J, D as ce, j as G, Q as Ze, k as Ye, o as Ke, u as q, B as O, n as ue, q as he, H as ye, C as Xe, L as
|
|
2
|
-
import "./CasinoGamesCategorySection-
|
|
3
|
-
import { h as Q } from "./CasinoGamePage-
|
|
1
|
+
import { a as Ae, $ as qe, S as Oe, i as We, f as T, c as Ue, s as Ve, b as Je, e as y, r as N, G as le, v as f, K as ee, d as j, w as _, U as ie, x as J, D as ce, j as G, Q as Ze, k as Ye, o as Ke, u as q, B as O, n as ue, q as he, H as ye, C as Xe, L as h, F as Qe } from "./CasinoCalendar-Ic3lq1UY.js";
|
|
2
|
+
import "./CasinoGamesCategorySection-B7unf50a.js";
|
|
3
|
+
import { h as Q } from "./CasinoGamePage-CCqWDOmI.js";
|
|
4
4
|
function de(a, e) {
|
|
5
5
|
Ae(a, e);
|
|
6
6
|
}
|
|
@@ -201,10 +201,10 @@ function fe(a) {
|
|
|
201
201
|
let e, t = (
|
|
202
202
|
/*$_*/
|
|
203
203
|
a[20]("cancel") + ""
|
|
204
|
-
), n,
|
|
204
|
+
), n, r, l, s;
|
|
205
205
|
return {
|
|
206
206
|
c() {
|
|
207
|
-
e = y("small"), n = q(t), f(e, "class",
|
|
207
|
+
e = y("small"), n = q(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
|
|
208
208
|
(a[12] ? "NotVisible" : ""));
|
|
209
209
|
},
|
|
210
210
|
m(i, c) {
|
|
@@ -219,8 +219,8 @@ function fe(a) {
|
|
|
219
219
|
c[0] & /*$_*/
|
|
220
220
|
1048576 && t !== (t = /*$_*/
|
|
221
221
|
i[20]("cancel") + "") && O(n, t), c[0] & /*searchCancelled*/
|
|
222
|
-
4096 &&
|
|
223
|
-
(i[12] ? "NotVisible" : "")) && f(e, "class",
|
|
222
|
+
4096 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
|
|
223
|
+
(i[12] ? "NotVisible" : "")) && f(e, "class", r);
|
|
224
224
|
},
|
|
225
225
|
d(i) {
|
|
226
226
|
i && G(e), l = !1, s();
|
|
@@ -228,7 +228,7 @@ function fe(a) {
|
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
230
|
function tt(a) {
|
|
231
|
-
let e, t, n,
|
|
231
|
+
let e, t, n, r;
|
|
232
232
|
function l(u, g) {
|
|
233
233
|
if (
|
|
234
234
|
/*searchActive*/
|
|
@@ -250,7 +250,7 @@ function tt(a) {
|
|
|
250
250
|
);
|
|
251
251
|
return {
|
|
252
252
|
c() {
|
|
253
|
-
i && i.c(), e = N(), t = y("div"), c && c.c(), n = N(), m && m.c(), f(t, "class",
|
|
253
|
+
i && i.c(), e = N(), t = y("div"), c && c.c(), n = N(), m && m.c(), f(t, "class", r = "SearchResultsContainer " + /*searchActive*/
|
|
254
254
|
(a[16] == !0 ? "" : "NotVisible"));
|
|
255
255
|
},
|
|
256
256
|
m(u, g) {
|
|
@@ -261,8 +261,8 @@ function tt(a) {
|
|
|
261
261
|
u[12] === !1 ? c ? c.p(u, g) : (c = we(u), c.c(), c.m(t, n)) : c && (c.d(1), c = null), /*searchValue*/
|
|
262
262
|
u[11].length >= 2 && /*searchArray*/
|
|
263
263
|
u[14].length == 0 ? m ? m.p(u, g) : (m = ve(u), m.c(), m.m(t, null)) : m && (m.d(1), m = null), g[0] & /*searchActive*/
|
|
264
|
-
65536 &&
|
|
265
|
-
(u[16] == !0 ? "" : "NotVisible")) && f(t, "class",
|
|
264
|
+
65536 && r !== (r = "SearchResultsContainer " + /*searchActive*/
|
|
265
|
+
(u[16] == !0 ? "" : "NotVisible")) && f(t, "class", r);
|
|
266
266
|
},
|
|
267
267
|
d(u) {
|
|
268
268
|
u && (G(e), G(t)), i && i.d(u), c && c.d(), m && m.d();
|
|
@@ -278,16 +278,16 @@ function at(a) {
|
|
|
278
278
|
c() {
|
|
279
279
|
e = y("p"), n = q(t), f(e, "class", "LoadingContent");
|
|
280
280
|
},
|
|
281
|
-
m(
|
|
282
|
-
j(
|
|
281
|
+
m(r, l) {
|
|
282
|
+
j(r, e, l), _(e, n);
|
|
283
283
|
},
|
|
284
|
-
p(
|
|
284
|
+
p(r, l) {
|
|
285
285
|
l[0] & /*$_*/
|
|
286
286
|
1048576 && t !== (t = /*$_*/
|
|
287
|
-
|
|
287
|
+
r[20]("loading") + "") && O(n, t);
|
|
288
288
|
},
|
|
289
|
-
d(
|
|
290
|
-
|
|
289
|
+
d(r) {
|
|
290
|
+
r && G(e);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
}
|
|
@@ -300,16 +300,16 @@ function nt(a) {
|
|
|
300
300
|
c() {
|
|
301
301
|
e = y("p"), n = q(t), f(e, "class", "SearchMessage");
|
|
302
302
|
},
|
|
303
|
-
m(
|
|
304
|
-
j(
|
|
303
|
+
m(r, l) {
|
|
304
|
+
j(r, e, l), _(e, n);
|
|
305
305
|
},
|
|
306
|
-
p(
|
|
306
|
+
p(r, l) {
|
|
307
307
|
l[0] & /*$_*/
|
|
308
308
|
1048576 && t !== (t = /*$_*/
|
|
309
|
-
|
|
309
|
+
r[20]("searchResult") + "") && O(n, t);
|
|
310
310
|
},
|
|
311
|
-
d(
|
|
312
|
-
|
|
311
|
+
d(r) {
|
|
312
|
+
r && G(e);
|
|
313
313
|
}
|
|
314
314
|
};
|
|
315
315
|
}
|
|
@@ -317,24 +317,24 @@ function rt(a) {
|
|
|
317
317
|
let e, t, n = (
|
|
318
318
|
/*searchArray*/
|
|
319
319
|
a[14].length !== 0 && pe(a)
|
|
320
|
-
),
|
|
320
|
+
), r = (
|
|
321
321
|
/*searchArray*/
|
|
322
322
|
a[14].length == 0 && Se(a)
|
|
323
323
|
);
|
|
324
324
|
return {
|
|
325
325
|
c() {
|
|
326
|
-
n && n.c(), e = N(),
|
|
326
|
+
n && n.c(), e = N(), r && r.c(), t = ye();
|
|
327
327
|
},
|
|
328
328
|
m(l, s) {
|
|
329
|
-
n && n.m(l, s), j(l, e, s),
|
|
329
|
+
n && n.m(l, s), j(l, e, s), r && r.m(l, s), j(l, t, s);
|
|
330
330
|
},
|
|
331
331
|
p(l, s) {
|
|
332
332
|
/*searchArray*/
|
|
333
333
|
l[14].length !== 0 ? n ? n.p(l, s) : (n = pe(l), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*searchArray*/
|
|
334
|
-
l[14].length == 0 ?
|
|
334
|
+
l[14].length == 0 ? r ? r.p(l, s) : (r = Se(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
335
335
|
},
|
|
336
336
|
d(l) {
|
|
337
|
-
l && (G(e), G(t)), n && n.d(l),
|
|
337
|
+
l && (G(e), G(t)), n && n.d(l), r && r.d(l);
|
|
338
338
|
}
|
|
339
339
|
};
|
|
340
340
|
}
|
|
@@ -347,21 +347,21 @@ function pe(a) {
|
|
|
347
347
|
c() {
|
|
348
348
|
e = y("p"), n = q(t), f(e, "class", "SearchMessage");
|
|
349
349
|
},
|
|
350
|
-
m(
|
|
351
|
-
j(
|
|
350
|
+
m(r, l) {
|
|
351
|
+
j(r, e, l), _(e, n);
|
|
352
352
|
},
|
|
353
|
-
p(
|
|
353
|
+
p(r, l) {
|
|
354
354
|
l[0] & /*$_*/
|
|
355
355
|
1048576 && t !== (t = /*$_*/
|
|
356
|
-
|
|
356
|
+
r[20]("recentSearch") + "") && O(n, t);
|
|
357
357
|
},
|
|
358
|
-
d(
|
|
359
|
-
|
|
358
|
+
d(r) {
|
|
359
|
+
r && G(e);
|
|
360
360
|
}
|
|
361
361
|
};
|
|
362
362
|
}
|
|
363
363
|
function Se(a) {
|
|
364
|
-
let e, t, n,
|
|
364
|
+
let e, t, n, r = (
|
|
365
365
|
/*$_*/
|
|
366
366
|
a[20]("noRecentSearches") + ""
|
|
367
367
|
), l, s, i = (
|
|
@@ -370,7 +370,7 @@ function Se(a) {
|
|
|
370
370
|
);
|
|
371
371
|
return {
|
|
372
372
|
c() {
|
|
373
|
-
e = y("div"), i && i.c(), t = N(), n = y("p"), l = q(
|
|
373
|
+
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
374
|
(a[10] == "true" ? "WithIcon" : ""));
|
|
375
375
|
},
|
|
376
376
|
m(c, m) {
|
|
@@ -379,8 +379,8 @@ function Se(a) {
|
|
|
379
379
|
p(c, m) {
|
|
380
380
|
/*notfoundicon*/
|
|
381
381
|
c[10] === "true" ? i || (i = _e(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), m[0] & /*$_*/
|
|
382
|
-
1048576 &&
|
|
383
|
-
c[20]("noRecentSearches") + "") && O(l,
|
|
382
|
+
1048576 && r !== (r = /*$_*/
|
|
383
|
+
c[20]("noRecentSearches") + "") && O(l, r), m[0] & /*notfoundicon*/
|
|
384
384
|
1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
|
|
385
385
|
(c[10] == "true" ? "WithIcon" : "")) && f(e, "class", s);
|
|
386
386
|
},
|
|
@@ -408,29 +408,29 @@ function we(a) {
|
|
|
408
408
|
/*searchArray*/
|
|
409
409
|
a[14]
|
|
410
410
|
), n = [];
|
|
411
|
-
for (let
|
|
412
|
-
n[
|
|
411
|
+
for (let r = 0; r < t.length; r += 1)
|
|
412
|
+
n[r] = be(ge(a, t, r));
|
|
413
413
|
return {
|
|
414
414
|
c() {
|
|
415
|
-
for (let
|
|
416
|
-
n[
|
|
415
|
+
for (let r = 0; r < n.length; r += 1)
|
|
416
|
+
n[r].c();
|
|
417
417
|
e = ye();
|
|
418
418
|
},
|
|
419
|
-
m(
|
|
419
|
+
m(r, l) {
|
|
420
420
|
for (let s = 0; s < n.length; s += 1)
|
|
421
|
-
n[s] && n[s].m(
|
|
422
|
-
j(
|
|
421
|
+
n[s] && n[s].m(r, l);
|
|
422
|
+
j(r, e, l);
|
|
423
423
|
},
|
|
424
|
-
p(
|
|
424
|
+
p(r, l) {
|
|
425
425
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
426
426
|
17580543) {
|
|
427
427
|
t = he(
|
|
428
428
|
/*searchArray*/
|
|
429
|
-
|
|
429
|
+
r[14]
|
|
430
430
|
);
|
|
431
431
|
let s;
|
|
432
432
|
for (s = 0; s < t.length; s += 1) {
|
|
433
|
-
const i = ge(
|
|
433
|
+
const i = ge(r, t, s);
|
|
434
434
|
n[s] ? n[s].p(i, l) : (n[s] = be(i), n[s].c(), n[s].m(e.parentNode, e));
|
|
435
435
|
}
|
|
436
436
|
for (; s < n.length; s += 1)
|
|
@@ -438,200 +438,198 @@ function we(a) {
|
|
|
438
438
|
n.length = t.length;
|
|
439
439
|
}
|
|
440
440
|
},
|
|
441
|
-
d(
|
|
442
|
-
|
|
441
|
+
d(r) {
|
|
442
|
+
r && G(e), Xe(n, r);
|
|
443
443
|
}
|
|
444
444
|
};
|
|
445
445
|
}
|
|
446
446
|
function be(a) {
|
|
447
|
-
let e, t, n,
|
|
447
|
+
let e, t, n, r, l, s, i, c, m, u, g, k;
|
|
448
448
|
return {
|
|
449
449
|
c() {
|
|
450
|
-
|
|
451
|
-
e = y("casino-game-thumbnail"), d(
|
|
450
|
+
e = y("casino-game-thumbnail"), h(
|
|
452
451
|
e,
|
|
453
452
|
"endpoint",
|
|
454
453
|
/*endpoint*/
|
|
455
454
|
a[0]
|
|
456
|
-
),
|
|
455
|
+
), h(
|
|
457
456
|
e,
|
|
458
457
|
"session",
|
|
459
458
|
/*sessionID*/
|
|
460
459
|
a[18]
|
|
461
|
-
),
|
|
460
|
+
), h(
|
|
462
461
|
e,
|
|
463
462
|
"userid",
|
|
464
463
|
/*playerID*/
|
|
465
464
|
a[19]
|
|
466
|
-
),
|
|
465
|
+
), h(
|
|
467
466
|
e,
|
|
468
467
|
"favorites",
|
|
469
468
|
/*showfavorites*/
|
|
470
469
|
a[8]
|
|
471
|
-
),
|
|
470
|
+
), h(
|
|
472
471
|
e,
|
|
473
472
|
"lang",
|
|
474
473
|
/*lang*/
|
|
475
474
|
a[1]
|
|
476
|
-
),
|
|
477
|
-
a[53].thumbnail),
|
|
478
|
-
a[53].name),
|
|
479
|
-
a[53].vendor.displayName),
|
|
480
|
-
a[53].launchUrl),
|
|
481
|
-
a[53].isNew),
|
|
482
|
-
|
|
475
|
+
), h(e, "gamethumbnail", t = /*game*/
|
|
476
|
+
a[53].thumbnail), h(e, "gamename", n = /*game*/
|
|
477
|
+
a[53].name), h(e, "gamevendor", r = /*game*/
|
|
478
|
+
a[53].vendor.displayName), h(e, "gameLaunchUrl", l = /*game*/
|
|
479
|
+
a[53].launchUrl), h(e, "gameisnew", s = /*game*/
|
|
480
|
+
a[53].isNew), h(e, "gametag", i = /*game*/
|
|
481
|
+
a[53].advancedTags?.length > 0 && /*addGameTag*/
|
|
483
482
|
a[24](
|
|
484
483
|
/*game*/
|
|
485
484
|
a[53].advancedTags
|
|
486
|
-
)),
|
|
487
|
-
a[53].cellSize),
|
|
488
|
-
a[53].id),
|
|
485
|
+
)), h(e, "gamecellsize", c = /*game*/
|
|
486
|
+
a[53].cellSize), h(e, "gameid", m = /*game*/
|
|
487
|
+
a[53].id), h(
|
|
489
488
|
e,
|
|
490
489
|
"showgamename",
|
|
491
490
|
/*showgamename*/
|
|
492
491
|
a[6]
|
|
493
|
-
),
|
|
494
|
-
a[53].hasFunMode),
|
|
495
|
-
a[53].isFavorite),
|
|
492
|
+
), h(e, "gamefunmode", u = /*game*/
|
|
493
|
+
a[53].hasFunMode), h(e, "gamefavorite", g = /*game*/
|
|
494
|
+
a[53].isFavorite), h(e, "livelobbyendpoint", k = /*game*/
|
|
496
495
|
a[53].details ? (
|
|
497
496
|
/*game*/
|
|
498
497
|
a[53].launchUrl
|
|
499
|
-
) : ""),
|
|
498
|
+
) : ""), h(
|
|
500
499
|
e,
|
|
501
500
|
"integratedgameframedesktop",
|
|
502
501
|
/*integratedgameframedesktop*/
|
|
503
502
|
a[4]
|
|
504
|
-
),
|
|
503
|
+
), h(
|
|
505
504
|
e,
|
|
506
505
|
"integratedgameframemobile",
|
|
507
506
|
/*integratedgameframemobile*/
|
|
508
507
|
a[5]
|
|
509
|
-
),
|
|
508
|
+
), h(
|
|
510
509
|
e,
|
|
511
510
|
"clientstyling",
|
|
512
511
|
/*clientstyling*/
|
|
513
512
|
a[2]
|
|
514
|
-
),
|
|
513
|
+
), h(
|
|
515
514
|
e,
|
|
516
515
|
"clientstylingurl",
|
|
517
516
|
/*clientstylingurl*/
|
|
518
517
|
a[3]
|
|
519
|
-
),
|
|
518
|
+
), h(
|
|
520
519
|
e,
|
|
521
520
|
"gamepagemodalurl",
|
|
522
521
|
/*gamepagemodalurl*/
|
|
523
522
|
a[7]
|
|
524
523
|
);
|
|
525
524
|
},
|
|
526
|
-
m(
|
|
527
|
-
j(
|
|
525
|
+
m(d, S) {
|
|
526
|
+
j(d, e, S);
|
|
528
527
|
},
|
|
529
|
-
p(
|
|
530
|
-
var x;
|
|
528
|
+
p(d, S) {
|
|
531
529
|
S[0] & /*endpoint*/
|
|
532
|
-
1 &&
|
|
530
|
+
1 && h(
|
|
533
531
|
e,
|
|
534
532
|
"endpoint",
|
|
535
533
|
/*endpoint*/
|
|
536
|
-
|
|
534
|
+
d[0]
|
|
537
535
|
), S[0] & /*sessionID*/
|
|
538
|
-
262144 &&
|
|
536
|
+
262144 && h(
|
|
539
537
|
e,
|
|
540
538
|
"session",
|
|
541
539
|
/*sessionID*/
|
|
542
|
-
|
|
540
|
+
d[18]
|
|
543
541
|
), S[0] & /*playerID*/
|
|
544
|
-
524288 &&
|
|
542
|
+
524288 && h(
|
|
545
543
|
e,
|
|
546
544
|
"userid",
|
|
547
545
|
/*playerID*/
|
|
548
|
-
|
|
546
|
+
d[19]
|
|
549
547
|
), S[0] & /*showfavorites*/
|
|
550
|
-
256 &&
|
|
548
|
+
256 && h(
|
|
551
549
|
e,
|
|
552
550
|
"favorites",
|
|
553
551
|
/*showfavorites*/
|
|
554
|
-
|
|
552
|
+
d[8]
|
|
555
553
|
), S[0] & /*lang*/
|
|
556
|
-
2 &&
|
|
554
|
+
2 && h(
|
|
557
555
|
e,
|
|
558
556
|
"lang",
|
|
559
557
|
/*lang*/
|
|
560
|
-
|
|
558
|
+
d[1]
|
|
561
559
|
), S[0] & /*searchArray*/
|
|
562
560
|
16384 && t !== (t = /*game*/
|
|
563
|
-
|
|
561
|
+
d[53].thumbnail) && h(e, "gamethumbnail", t), S[0] & /*searchArray*/
|
|
564
562
|
16384 && n !== (n = /*game*/
|
|
565
|
-
|
|
566
|
-
16384 &&
|
|
567
|
-
|
|
563
|
+
d[53].name) && h(e, "gamename", n), S[0] & /*searchArray*/
|
|
564
|
+
16384 && r !== (r = /*game*/
|
|
565
|
+
d[53].vendor.displayName) && h(e, "gamevendor", r), S[0] & /*searchArray*/
|
|
568
566
|
16384 && l !== (l = /*game*/
|
|
569
|
-
|
|
567
|
+
d[53].launchUrl) && h(e, "gameLaunchUrl", l), S[0] & /*searchArray*/
|
|
570
568
|
16384 && s !== (s = /*game*/
|
|
571
|
-
|
|
569
|
+
d[53].isNew) && h(e, "gameisnew", s), S[0] & /*searchArray*/
|
|
572
570
|
16384 && i !== (i = /*game*/
|
|
573
|
-
|
|
574
|
-
|
|
571
|
+
d[53].advancedTags?.length > 0 && /*addGameTag*/
|
|
572
|
+
d[24](
|
|
575
573
|
/*game*/
|
|
576
|
-
|
|
577
|
-
)) &&
|
|
574
|
+
d[53].advancedTags
|
|
575
|
+
)) && h(e, "gametag", i), S[0] & /*searchArray*/
|
|
578
576
|
16384 && c !== (c = /*game*/
|
|
579
|
-
|
|
577
|
+
d[53].cellSize) && h(e, "gamecellsize", c), S[0] & /*searchArray*/
|
|
580
578
|
16384 && m !== (m = /*game*/
|
|
581
|
-
|
|
582
|
-
64 &&
|
|
579
|
+
d[53].id) && h(e, "gameid", m), S[0] & /*showgamename*/
|
|
580
|
+
64 && h(
|
|
583
581
|
e,
|
|
584
582
|
"showgamename",
|
|
585
583
|
/*showgamename*/
|
|
586
|
-
|
|
584
|
+
d[6]
|
|
587
585
|
), S[0] & /*searchArray*/
|
|
588
586
|
16384 && u !== (u = /*game*/
|
|
589
|
-
|
|
587
|
+
d[53].hasFunMode) && h(e, "gamefunmode", u), S[0] & /*searchArray*/
|
|
590
588
|
16384 && g !== (g = /*game*/
|
|
591
|
-
|
|
589
|
+
d[53].isFavorite) && h(e, "gamefavorite", g), S[0] & /*searchArray*/
|
|
592
590
|
16384 && k !== (k = /*game*/
|
|
593
|
-
|
|
591
|
+
d[53].details ? (
|
|
594
592
|
/*game*/
|
|
595
|
-
|
|
596
|
-
) : "") &&
|
|
597
|
-
16 &&
|
|
593
|
+
d[53].launchUrl
|
|
594
|
+
) : "") && h(e, "livelobbyendpoint", k), S[0] & /*integratedgameframedesktop*/
|
|
595
|
+
16 && h(
|
|
598
596
|
e,
|
|
599
597
|
"integratedgameframedesktop",
|
|
600
598
|
/*integratedgameframedesktop*/
|
|
601
|
-
|
|
599
|
+
d[4]
|
|
602
600
|
), S[0] & /*integratedgameframemobile*/
|
|
603
|
-
32 &&
|
|
601
|
+
32 && h(
|
|
604
602
|
e,
|
|
605
603
|
"integratedgameframemobile",
|
|
606
604
|
/*integratedgameframemobile*/
|
|
607
|
-
|
|
605
|
+
d[5]
|
|
608
606
|
), S[0] & /*clientstyling*/
|
|
609
|
-
4 &&
|
|
607
|
+
4 && h(
|
|
610
608
|
e,
|
|
611
609
|
"clientstyling",
|
|
612
610
|
/*clientstyling*/
|
|
613
|
-
|
|
611
|
+
d[2]
|
|
614
612
|
), S[0] & /*clientstylingurl*/
|
|
615
|
-
8 &&
|
|
613
|
+
8 && h(
|
|
616
614
|
e,
|
|
617
615
|
"clientstylingurl",
|
|
618
616
|
/*clientstylingurl*/
|
|
619
|
-
|
|
617
|
+
d[3]
|
|
620
618
|
), S[0] & /*gamepagemodalurl*/
|
|
621
|
-
128 &&
|
|
619
|
+
128 && h(
|
|
622
620
|
e,
|
|
623
621
|
"gamepagemodalurl",
|
|
624
622
|
/*gamepagemodalurl*/
|
|
625
|
-
|
|
623
|
+
d[7]
|
|
626
624
|
);
|
|
627
625
|
},
|
|
628
|
-
d(
|
|
629
|
-
|
|
626
|
+
d(d) {
|
|
627
|
+
d && G(e);
|
|
630
628
|
}
|
|
631
629
|
};
|
|
632
630
|
}
|
|
633
631
|
function ve(a) {
|
|
634
|
-
let e, t, n,
|
|
632
|
+
let e, t, n, r = (
|
|
635
633
|
/*$_*/
|
|
636
634
|
a[20]("notFound") + ""
|
|
637
635
|
), l, s, i, c = (
|
|
@@ -643,19 +641,19 @@ function ve(a) {
|
|
|
643
641
|
);
|
|
644
642
|
return {
|
|
645
643
|
c() {
|
|
646
|
-
e = y("div"), g && g.c(), t = N(), n = y("p"), l = q(
|
|
644
|
+
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", u = "ResultsContainerError " + /*notfoundicon*/
|
|
647
645
|
(a[10] == "true" ? "WithIcon" : ""));
|
|
648
646
|
},
|
|
649
|
-
m(k,
|
|
650
|
-
j(k, e,
|
|
647
|
+
m(k, d) {
|
|
648
|
+
j(k, e, d), g && g.m(e, null), _(e, t), _(e, n), _(n, l), _(e, s), _(e, i), _(i, m);
|
|
651
649
|
},
|
|
652
|
-
p(k,
|
|
650
|
+
p(k, d) {
|
|
653
651
|
/*notfoundicon*/
|
|
654
|
-
k[10] === "true" ? g || (g = ke(), g.c(), g.m(e, t)) : g && (g.d(1), g = null),
|
|
655
|
-
1048576 &&
|
|
656
|
-
k[20]("notFound") + "") && O(l,
|
|
652
|
+
k[10] === "true" ? g || (g = ke(), g.c(), g.m(e, t)) : g && (g.d(1), g = null), d[0] & /*$_*/
|
|
653
|
+
1048576 && r !== (r = /*$_*/
|
|
654
|
+
k[20]("notFound") + "") && O(l, r), d[0] & /*$_*/
|
|
657
655
|
1048576 && c !== (c = /*$_*/
|
|
658
|
-
k[20]("notFoundText") + "") && O(m, c),
|
|
656
|
+
k[20]("notFoundText") + "") && O(m, c), d[0] & /*notfoundicon*/
|
|
659
657
|
1024 && u !== (u = "ResultsContainerError " + /*notfoundicon*/
|
|
660
658
|
(k[10] == "true" ? "WithIcon" : "")) && f(e, "class", u);
|
|
661
659
|
},
|
|
@@ -679,7 +677,7 @@ function ke(a) {
|
|
|
679
677
|
};
|
|
680
678
|
}
|
|
681
679
|
function ot(a) {
|
|
682
|
-
let e, t, n,
|
|
680
|
+
let e, t, n, r, l, s, i, c, m, u, g, k, d, S, B, x, M, U, D, P, v = (
|
|
683
681
|
/*cancelbutton*/
|
|
684
682
|
a[9] === "true" && fe(a)
|
|
685
683
|
);
|
|
@@ -692,22 +690,22 @@ function ot(a) {
|
|
|
692
690
|
let z = W(a), F = z(a);
|
|
693
691
|
return {
|
|
694
692
|
c() {
|
|
695
|
-
e = y("div"), t = y("div"), n = y("div"),
|
|
693
|
+
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"), u = le("svg"), g = le("path"), d = N(), v && v.c(), B = N(), x = y("div"), U = N(), F.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
|
|
696
694
|
a[20]("placeHolderSearchGames")), f(s, "maxlength", st), 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(u, "width", "11"), f(u, "height", "11"), f(u, "fill", "none"), f(u, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", k = "SearchClearButton " + /*cancelbutton*/
|
|
697
695
|
(a[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
698
696
|
(a[11].length != 0 ? "" : "NotVisible")), f(n, "class", S = "Search " + /*searchCancelled*/
|
|
699
|
-
(a[12] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(
|
|
697
|
+
(a[12] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(x, "class", M = /*cancelbutton*/
|
|
700
698
|
a[9] != "true" ? "OverlayCancel" : ""), f(e, "class", (ee(
|
|
701
699
|
/*userAgent*/
|
|
702
700
|
a[21]
|
|
703
701
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
704
702
|
},
|
|
705
703
|
m(b, L) {
|
|
706
|
-
j(b, e, L), _(e, t), _(t, n), _(n,
|
|
704
|
+
j(b, e, L), _(e, t), _(t, n), _(n, r), _(n, l), _(n, s), ie(
|
|
707
705
|
s,
|
|
708
706
|
/*searchValue*/
|
|
709
707
|
a[11]
|
|
710
|
-
), a[33](s), _(n, c), _(n, m), _(m, u), _(u, g), _(n,
|
|
708
|
+
), a[33](s), _(n, c), _(n, m), _(m, u), _(u, g), _(n, d), v && v.m(n, null), _(e, B), _(e, x), _(e, U), F.m(e, null), a[36](e), D || (P = [
|
|
711
709
|
J(
|
|
712
710
|
s,
|
|
713
711
|
"input",
|
|
@@ -727,7 +725,7 @@ function ot(a) {
|
|
|
727
725
|
a[34]
|
|
728
726
|
),
|
|
729
727
|
J(
|
|
730
|
-
|
|
728
|
+
x,
|
|
731
729
|
"click",
|
|
732
730
|
/*handleOverlay*/
|
|
733
731
|
a[23]
|
|
@@ -750,23 +748,23 @@ function ot(a) {
|
|
|
750
748
|
b[9] === "true" ? v ? v.p(b, L) : (v = fe(b), v.c(), v.m(n, null)) : v && (v.d(1), v = null), L[0] & /*searchCancelled*/
|
|
751
749
|
4096 && S !== (S = "Search " + /*searchCancelled*/
|
|
752
750
|
(b[12] ? "" : "SearchAnimation")) && f(n, "class", S), L[0] & /*cancelbutton*/
|
|
753
|
-
512 &&
|
|
754
|
-
b[9] != "true" ? "OverlayCancel" : "") && f(
|
|
751
|
+
512 && M !== (M = /*cancelbutton*/
|
|
752
|
+
b[9] != "true" ? "OverlayCancel" : "") && f(x, "class", M), z === (z = W(b)) && F ? F.p(b, L) : (F.d(1), F = z(b), F && (F.c(), F.m(e, null)));
|
|
755
753
|
},
|
|
756
754
|
i: ce,
|
|
757
755
|
o: ce,
|
|
758
756
|
d(b) {
|
|
759
|
-
b && G(e), a[33](null), v && v.d(), F.d(), a[36](null), D = !1, Ze(
|
|
757
|
+
b && G(e), a[33](null), v && v.d(), F.d(), a[36](null), D = !1, Ze(P);
|
|
760
758
|
}
|
|
761
759
|
};
|
|
762
760
|
}
|
|
763
761
|
let st = 50;
|
|
764
762
|
function lt(a, e, t) {
|
|
765
763
|
let n;
|
|
766
|
-
Ye(a, Qe, (
|
|
767
|
-
let { endpoint:
|
|
764
|
+
Ye(a, Qe, (o) => t(20, n = o));
|
|
765
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: u = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: k = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: S = "true" } = e, { translationurl: B = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: U = "false" } = e, D = window.navigator.userAgent, P = [], v = [], W = {}, z = "", F, b = !0, L = !1, E = !1, H, Z = !1, Y, K, te = [];
|
|
768
766
|
const Re = () => {
|
|
769
|
-
fetch(
|
|
767
|
+
fetch(B).then((p) => p.json()).then((p) => {
|
|
770
768
|
Object.keys(p).forEach((w) => {
|
|
771
769
|
de(w, p[w]);
|
|
772
770
|
});
|
|
@@ -774,93 +772,93 @@ function lt(a, e, t) {
|
|
|
774
772
|
console.log(p);
|
|
775
773
|
});
|
|
776
774
|
};
|
|
777
|
-
Object.keys(me).forEach((
|
|
778
|
-
de(
|
|
775
|
+
Object.keys(me).forEach((o) => {
|
|
776
|
+
de(o, me[o]);
|
|
779
777
|
});
|
|
780
|
-
const ae = (
|
|
781
|
-
|
|
778
|
+
const ae = (o) => {
|
|
779
|
+
o.data && o.data.type == "SearchedItemClicked" && ze(o.data.gameId), o.data.type == "UserSessionID" && (t(18, Y = o.data.session), t(19, K = o.data.userid), t(31, Z = !0)), o.data.type == "CategoryChange" && X();
|
|
782
780
|
}, ne = () => {
|
|
783
|
-
if (t(12, b = !1), t(16, L = !0),
|
|
784
|
-
t(14,
|
|
785
|
-
let
|
|
786
|
-
|
|
781
|
+
if (t(12, b = !1), t(16, L = !0), r && l && c && z.length < 2) {
|
|
782
|
+
t(14, P = []);
|
|
783
|
+
let o = localStorage.getItem("searchedGamesWds_casino"), p = [];
|
|
784
|
+
o && (p = o.split(","));
|
|
787
785
|
let w = [], R = 0, C = p.length;
|
|
788
786
|
if (C > 0) {
|
|
789
787
|
for (R = 0; R < C; R++) {
|
|
790
|
-
let I = new URL(`${
|
|
788
|
+
let I = new URL(`${r}/v1/casino/games/${p[R]}`);
|
|
791
789
|
I.searchParams.append("language", c), I.searchParams.append("datasource", l), I.searchParams.append("platform", ee(D)), w.push(Fe(I, p[R]));
|
|
792
790
|
}
|
|
793
791
|
Promise.all(w).then((I) => {
|
|
794
792
|
I = I.filter(function(A) {
|
|
795
793
|
return !!A;
|
|
796
|
-
}), t(14,
|
|
794
|
+
}), t(14, P = I.map((A) => (A.isFavorite = re(A.id), A))), P.length ? V("searchSuccess", "SearchWidget") : V("searchFail", "SearchWidget");
|
|
797
795
|
}).catch((I) => {
|
|
798
796
|
V("searchError", "SearchWidget");
|
|
799
797
|
});
|
|
800
798
|
}
|
|
801
799
|
}
|
|
802
800
|
se(L), V("searchAttempt", "SearchWidget"), V("SearchInitialized", "SearchWidget");
|
|
803
|
-
}, V = (
|
|
804
|
-
typeof gtag == "function" && gtag("event",
|
|
801
|
+
}, V = (o, p) => {
|
|
802
|
+
typeof gtag == "function" && gtag("event", o, { context: p });
|
|
805
803
|
}, Ce = () => {
|
|
806
|
-
|
|
807
|
-
}, Le = (
|
|
808
|
-
t(17, E = !0), fetch(
|
|
804
|
+
M != "true" && X();
|
|
805
|
+
}, Le = (o) => new Promise((p, w) => {
|
|
806
|
+
t(17, E = !0), fetch(o.href).then((R) => R.json()).then((R) => {
|
|
809
807
|
t(17, E = !1), p(R);
|
|
810
808
|
}).catch((R) => {
|
|
811
809
|
t(17, E = !1), console.error(R), w(R);
|
|
812
810
|
});
|
|
813
|
-
}), Fe = (
|
|
814
|
-
t(17, E = !0), p && Object.keys(W).indexOf(p) >= 0 ? (t(17, E = !1), w(W[p])) : fetch(
|
|
811
|
+
}), Fe = (o, p) => new Promise((w, R) => {
|
|
812
|
+
t(17, E = !0), p && Object.keys(W).indexOf(p) >= 0 ? (t(17, E = !1), w(W[p])) : fetch(o).then((C) => C.json()).then((C) => {
|
|
815
813
|
t(17, E = !1), C.error || (W[C[0].gameId] = C[0]), w(C[0]);
|
|
816
814
|
}).catch((C) => {
|
|
817
815
|
t(17, E = !1), console.error(C), R(C);
|
|
818
816
|
});
|
|
819
817
|
}), Te = () => {
|
|
820
|
-
const
|
|
818
|
+
const o = new URL(`${r}/v1/player/${K}/favorites/`);
|
|
821
819
|
t(17, E = !0);
|
|
822
820
|
let p = {
|
|
823
821
|
method: "GET",
|
|
824
822
|
headers: { "X-SessionID": Y }
|
|
825
823
|
};
|
|
826
|
-
fetch(
|
|
824
|
+
fetch(o.href, p).then((w) => w.json()).then((w) => {
|
|
827
825
|
t(17, E = !1), te = w.items.map((R) => R.id);
|
|
828
826
|
});
|
|
829
827
|
}, je = () => {
|
|
830
828
|
t(31, Z = !0), t(18, Y = s), t(19, K = i);
|
|
831
|
-
}, re = (
|
|
832
|
-
if (
|
|
829
|
+
}, re = (o) => te.findIndex((p) => p == o) !== -1, Ge = (o) => {
|
|
830
|
+
if (o?.length === 0) return "";
|
|
833
831
|
let p, w = 99999999999, R;
|
|
834
832
|
const C = new Date(Date.now());
|
|
835
|
-
return
|
|
833
|
+
return o.forEach((I, A) => {
|
|
836
834
|
const He = new Date(I.schedules[0].startTime), $ = new Date(I.schedules[0].endTime);
|
|
837
|
-
Q($).diff(C) < w && (w = Q($).diff(C), R = A), Q(C).isAfter(He) && Q(C).isBefore($) && (p =
|
|
835
|
+
Q($).diff(C) < w && (w = Q($).diff(C), R = A), Q(C).isAfter(He) && Q(C).isBefore($) && (p = o[R].name);
|
|
838
836
|
}), p;
|
|
839
|
-
}, ze = (
|
|
840
|
-
if (v = localStorage.getItem("searchedGamesWds_casino"), v ? v = v.split(",") : v = [], v.indexOf(
|
|
837
|
+
}, ze = (o) => {
|
|
838
|
+
if (v = localStorage.getItem("searchedGamesWds_casino"), v ? v = v.split(",") : v = [], v.indexOf(o) === -1) {
|
|
841
839
|
let p;
|
|
842
|
-
v.unshift(
|
|
840
|
+
v.unshift(o), p = v.join(","), localStorage.setItem("searchedGamesWds_casino", p);
|
|
843
841
|
}
|
|
844
842
|
}, X = () => {
|
|
845
|
-
t(11, z = ""), t(12, b = !0), t(17, E = !1), t(14,
|
|
843
|
+
t(11, z = ""), t(12, b = !0), t(17, E = !1), t(14, P = []), t(16, L = !1), se(L);
|
|
846
844
|
}, oe = () => {
|
|
847
845
|
t(11, z = ""), F.focus();
|
|
848
|
-
}, se = (
|
|
846
|
+
}, se = (o) => {
|
|
849
847
|
window.postMessage(
|
|
850
848
|
{
|
|
851
|
-
type:
|
|
852
|
-
searchStatus:
|
|
849
|
+
type: o === !0 ? "searchActive" : "searchCancelled",
|
|
850
|
+
searchStatus: o
|
|
853
851
|
},
|
|
854
852
|
window.location.href
|
|
855
853
|
);
|
|
856
854
|
}, Ie = () => {
|
|
857
855
|
$e(c);
|
|
858
856
|
}, Ee = () => {
|
|
859
|
-
let
|
|
860
|
-
|
|
857
|
+
let o = document.createElement("style");
|
|
858
|
+
o.innerHTML = m, H.appendChild(o);
|
|
861
859
|
}, Ne = () => {
|
|
862
|
-
let
|
|
863
|
-
fetch(
|
|
860
|
+
let o = new URL(u), p = document.createElement("style");
|
|
861
|
+
fetch(o.href).then((w) => w.text()).then((w) => {
|
|
864
862
|
p.innerHTML = w, setTimeout(
|
|
865
863
|
() => {
|
|
866
864
|
H.appendChild(p);
|
|
@@ -875,53 +873,53 @@ function lt(a, e, t) {
|
|
|
875
873
|
function xe() {
|
|
876
874
|
z = this.value, t(11, z);
|
|
877
875
|
}
|
|
878
|
-
function Pe(
|
|
879
|
-
ue[
|
|
880
|
-
F =
|
|
876
|
+
function Pe(o) {
|
|
877
|
+
ue[o ? "unshift" : "push"](() => {
|
|
878
|
+
F = o, t(15, F);
|
|
881
879
|
});
|
|
882
880
|
}
|
|
883
881
|
const Me = () => oe(), Be = () => X();
|
|
884
|
-
function De(
|
|
885
|
-
ue[
|
|
886
|
-
H =
|
|
882
|
+
function De(o) {
|
|
883
|
+
ue[o ? "unshift" : "push"](() => {
|
|
884
|
+
H = o, t(13, H);
|
|
887
885
|
});
|
|
888
886
|
}
|
|
889
|
-
return a.$$set = (
|
|
890
|
-
"endpoint" in
|
|
887
|
+
return a.$$set = (o) => {
|
|
888
|
+
"endpoint" in o && t(0, r = o.endpoint), "datasource" in o && t(27, l = o.datasource), "session" in o && t(28, s = o.session), "userid" in o && t(29, i = o.userid), "lang" in o && t(1, c = o.lang), "clientstyling" in o && t(2, m = o.clientstyling), "clientstylingurl" in o && t(3, u = o.clientstylingurl), "integratedgameframedesktop" in o && t(4, g = o.integratedgameframedesktop), "integratedgameframemobile" in o && t(5, k = o.integratedgameframemobile), "showgamename" in o && t(6, d = o.showgamename), "gamepagemodalurl" in o && t(7, S = o.gamepagemodalurl), "translationurl" in o && t(30, B = o.translationurl), "showfavorites" in o && t(8, x = o.showfavorites), "cancelbutton" in o && t(9, M = o.cancelbutton), "notfoundicon" in o && t(10, U = o.notfoundicon);
|
|
891
889
|
}, a.$$.update = () => {
|
|
892
890
|
if (a.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
893
891
|
134223875)
|
|
894
892
|
if (z.length >= 2) {
|
|
895
|
-
const
|
|
896
|
-
|
|
897
|
-
t(14,
|
|
893
|
+
const o = new URL(`${r}/v1/casino/games`);
|
|
894
|
+
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ee(D)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${z}`), Le(o).then((p) => {
|
|
895
|
+
t(14, P = p.items.map((w) => (w.isFavorite = re(w.id), w)));
|
|
898
896
|
});
|
|
899
897
|
} else
|
|
900
898
|
b || ne();
|
|
901
899
|
a.$$.dirty[0] & /*lang*/
|
|
902
900
|
2 && c && Ie(), a.$$.dirty[0] & /*translationurl*/
|
|
903
|
-
1073741824 &&
|
|
901
|
+
1073741824 && B && Re(), a.$$.dirty[0] & /*session, userid*/
|
|
904
902
|
805306368 && s && i && je(), a.$$.dirty[0] & /*showfavorites*/
|
|
905
903
|
256 | a.$$.dirty[1] & /*isLoggedIn*/
|
|
906
|
-
1 &&
|
|
904
|
+
1 && x && Z && Te(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
907
905
|
8196 && m && H && Ee(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
908
906
|
8200 && u && H && Ne();
|
|
909
907
|
}, [
|
|
910
|
-
|
|
908
|
+
r,
|
|
911
909
|
c,
|
|
912
910
|
m,
|
|
913
911
|
u,
|
|
914
912
|
g,
|
|
915
913
|
k,
|
|
916
|
-
|
|
914
|
+
d,
|
|
917
915
|
S,
|
|
918
|
-
|
|
919
|
-
|
|
916
|
+
x,
|
|
917
|
+
M,
|
|
920
918
|
U,
|
|
921
919
|
z,
|
|
922
920
|
b,
|
|
923
921
|
H,
|
|
924
|
-
|
|
922
|
+
P,
|
|
925
923
|
F,
|
|
926
924
|
L,
|
|
927
925
|
E,
|
|
@@ -937,7 +935,7 @@ function lt(a, e, t) {
|
|
|
937
935
|
l,
|
|
938
936
|
s,
|
|
939
937
|
i,
|
|
940
|
-
|
|
938
|
+
B,
|
|
941
939
|
Z,
|
|
942
940
|
xe,
|
|
943
941
|
Pe,
|