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