@everymatrix/casino-games-category-section-nd 1.77.7 → 1.77.9
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/{CasinoGamesCategorySectionNd-BXb8hOME.js → CasinoGamesCategorySectionNd-BHqIT70G.js} +115 -115
- package/components/{CasinoGamesCategorySectionNd-C9llHRrl.js → CasinoGamesCategorySectionNd-CmKayyxt.js} +57 -57
- package/components/{CasinoGamesCategorySectionNd-D_GRl0AK.cjs → CasinoGamesCategorySectionNd-tcL7pNgs.cjs} +1 -1
- package/es2015/casino-games-category-section-nd.cjs +1 -1
- package/es2015/casino-games-category-section-nd.js +1 -1
- package/esnext/casino-games-category-section-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Oa, $ as Ba, c as Va, S as Ha, i as qa, s as Wa, f as z, b as Ya, n as pe, d as
|
|
1
|
+
import { a as Oa, $ as Ba, c as Va, S as Ha, i as qa, s as Wa, f as z, b as Ya, n as pe, d as k, j as G, l as C, h, o as Ja, J as Ka, p as Xa, K as Ee, z as oe, x as K, k as w, m as H, r as ve, y as Za, u as D, w as j, C as se, L as _a, g as n, M as pa, D as Qa, v as xa, A as $, F as $a, G as ei, q as ai, I as ii } from "./CasinoFilter-C5ur89pX.js";
|
|
2
2
|
import { d as xe, i as ni, a as ti } from "./CasinoGameThumbnailNd-BLfPtQiU.js";
|
|
3
3
|
function $e(i, e) {
|
|
4
4
|
Oa(i, e);
|
|
@@ -288,13 +288,13 @@ function li(i) {
|
|
|
288
288
|
e = C("div"), o && o.c();
|
|
289
289
|
},
|
|
290
290
|
m(s, r) {
|
|
291
|
-
|
|
291
|
+
G(s, e, r), o && o.m(e, null);
|
|
292
292
|
},
|
|
293
293
|
p(s, r) {
|
|
294
294
|
t === (t = a(s)) && o ? o.p(s, r) : (o && o.d(1), o = t && t(s), o && (o.c(), o.m(e, null)));
|
|
295
295
|
},
|
|
296
296
|
d(s) {
|
|
297
|
-
s &&
|
|
297
|
+
s && k(e), o && o.d();
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
}
|
|
@@ -325,13 +325,13 @@ function ri(i) {
|
|
|
325
325
|
) ? "CasinoGamesHeaderMobile" : "")), h(e, "class", "CasinoGamesContainer");
|
|
326
326
|
},
|
|
327
327
|
m(f, p) {
|
|
328
|
-
|
|
328
|
+
G(f, e, p), w(e, a), r.m(a, null), w(e, t), u.m(e, null);
|
|
329
329
|
},
|
|
330
330
|
p(f, p) {
|
|
331
331
|
s === (s = o(f)) && r ? r.p(f, p) : (r.d(1), r = s(f), r && (r.c(), r.m(a, null))), c === (c = m(f)) && u ? u.p(f, p) : (u.d(1), u = c(f), u && (u.c(), u.m(e, null)));
|
|
332
332
|
},
|
|
333
333
|
d(f) {
|
|
334
|
-
f &&
|
|
334
|
+
f && k(e), r.d(), u.d();
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
}
|
|
@@ -349,13 +349,13 @@ function mi(i) {
|
|
|
349
349
|
o.c(), e = K();
|
|
350
350
|
},
|
|
351
351
|
m(s, r) {
|
|
352
|
-
o.m(s, r),
|
|
352
|
+
o.m(s, r), G(s, e, r);
|
|
353
353
|
},
|
|
354
354
|
p(s, r) {
|
|
355
355
|
t !== (t = a(s)) && (o.d(1), o = t(s), o && (o.c(), o.m(e.parentNode, e)));
|
|
356
356
|
},
|
|
357
357
|
d(s) {
|
|
358
|
-
s &&
|
|
358
|
+
s && k(e), o.d(s);
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
}
|
|
@@ -381,7 +381,7 @@ function ci(i) {
|
|
|
381
381
|
(i[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}"), h(e, "class", "CasinoGamesContainer");
|
|
382
382
|
},
|
|
383
383
|
m(u, f) {
|
|
384
|
-
|
|
384
|
+
G(u, e, f), s && s.m(e, null), w(e, a), w(e, t), c.m(t, null), i[60](t);
|
|
385
385
|
},
|
|
386
386
|
p(u, f) {
|
|
387
387
|
/*casinomygames*/
|
|
@@ -390,7 +390,7 @@ function ci(i) {
|
|
|
390
390
|
(u[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}") && h(t, "class", o);
|
|
391
391
|
},
|
|
392
392
|
d(u) {
|
|
393
|
-
u &&
|
|
393
|
+
u && k(e), s && s.d(), c.d(), i[60](null);
|
|
394
394
|
}
|
|
395
395
|
};
|
|
396
396
|
}
|
|
@@ -415,14 +415,14 @@ function gi(i) {
|
|
|
415
415
|
e = C("div"), t && t.c(), a = H(), r.c(), h(e, "class", "CasinoGamesContainer");
|
|
416
416
|
},
|
|
417
417
|
m(m, c) {
|
|
418
|
-
|
|
418
|
+
G(m, e, c), t && t.m(e, null), w(e, a), r.m(e, null);
|
|
419
419
|
},
|
|
420
420
|
p(m, c) {
|
|
421
421
|
/*casinomygames*/
|
|
422
422
|
m[19] !== "true" ? t ? t.p(m, c) : (t = ca(m), t.c(), t.m(e, a)) : t && (t.d(1), t = null), s === (s = o(m)) && r ? r.p(m, c) : (r.d(1), r = s(m), r && (r.c(), r.m(e, null)));
|
|
423
423
|
},
|
|
424
424
|
d(m) {
|
|
425
|
-
m &&
|
|
425
|
+
m && k(e), t && t.d(), r.d();
|
|
426
426
|
}
|
|
427
427
|
};
|
|
428
428
|
}
|
|
@@ -439,7 +439,7 @@ function ta(i) {
|
|
|
439
439
|
e = C("div"), a = C("h3"), o = j(t), s = H(), r = C("span"), m = j("("), u = j(c), f = j(")"), h(r, "class", "CategoryFavName"), h(a, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
|
|
440
440
|
},
|
|
441
441
|
m(p, b) {
|
|
442
|
-
|
|
442
|
+
G(p, e, b), w(e, a), w(a, o), w(a, s), w(a, r), w(r, m), w(r, u), w(r, f), i[59](a);
|
|
443
443
|
},
|
|
444
444
|
p(p, b) {
|
|
445
445
|
b[1] & /*$_*/
|
|
@@ -449,7 +449,7 @@ function ta(i) {
|
|
|
449
449
|
p[42].items.length + "") && D(u, c);
|
|
450
450
|
},
|
|
451
451
|
d(p) {
|
|
452
|
-
p &&
|
|
452
|
+
p && k(e), i[59](null);
|
|
453
453
|
}
|
|
454
454
|
};
|
|
455
455
|
}
|
|
@@ -463,7 +463,7 @@ function di(i) {
|
|
|
463
463
|
e = C("p"), t = j(a);
|
|
464
464
|
},
|
|
465
465
|
m(o, s) {
|
|
466
|
-
|
|
466
|
+
G(o, e, s), w(e, t);
|
|
467
467
|
},
|
|
468
468
|
p(o, s) {
|
|
469
469
|
s[1] & /*$_*/
|
|
@@ -471,7 +471,7 @@ function di(i) {
|
|
|
471
471
|
o[43]("waiting") + "") && D(t, a);
|
|
472
472
|
},
|
|
473
473
|
d(o) {
|
|
474
|
-
o &&
|
|
474
|
+
o && k(e);
|
|
475
475
|
}
|
|
476
476
|
};
|
|
477
477
|
}
|
|
@@ -492,7 +492,7 @@ function ui(i) {
|
|
|
492
492
|
m(s, r) {
|
|
493
493
|
for (let m = 0; m < t.length; m += 1)
|
|
494
494
|
t[m] && t[m].m(s, r);
|
|
495
|
-
|
|
495
|
+
G(s, e, r), o && o.m(s, r);
|
|
496
496
|
},
|
|
497
497
|
p(s, r) {
|
|
498
498
|
if (r[0] & /*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, mbsource*/
|
|
@@ -513,7 +513,7 @@ function ui(i) {
|
|
|
513
513
|
}
|
|
514
514
|
},
|
|
515
515
|
d(s) {
|
|
516
|
-
s &&
|
|
516
|
+
s && k(e), Qa(t, s), o && o.d(s);
|
|
517
517
|
}
|
|
518
518
|
};
|
|
519
519
|
}
|
|
@@ -524,11 +524,11 @@ function fi(i) {
|
|
|
524
524
|
e = C("div"), h(e, "class", "lds-dual-ring");
|
|
525
525
|
},
|
|
526
526
|
m(a, t) {
|
|
527
|
-
|
|
527
|
+
G(a, e, t);
|
|
528
528
|
},
|
|
529
529
|
p: pe,
|
|
530
530
|
d(a) {
|
|
531
|
-
a &&
|
|
531
|
+
a && k(e);
|
|
532
532
|
}
|
|
533
533
|
};
|
|
534
534
|
}
|
|
@@ -552,7 +552,7 @@ function oa(i) {
|
|
|
552
552
|
) ? "NoFavoriteGamesMobile" : ""));
|
|
553
553
|
},
|
|
554
554
|
m(v, X) {
|
|
555
|
-
|
|
555
|
+
G(v, e, X), w(e, a), w(a, t), w(a, o), w(a, s), w(a, r), w(a, m), w(a, c), w(a, u), w(e, f), w(e, p), w(p, M), w(e, I), U.m(e, null), w(e, g);
|
|
556
556
|
},
|
|
557
557
|
p(v, X) {
|
|
558
558
|
X[1] & /*$_*/
|
|
@@ -560,7 +560,7 @@ function oa(i) {
|
|
|
560
560
|
v[43]("noFavoritesTitle") + "") && D(M, b), U.p(v, X);
|
|
561
561
|
},
|
|
562
562
|
d(v) {
|
|
563
|
-
v &&
|
|
563
|
+
v && k(e), U.d();
|
|
564
564
|
}
|
|
565
565
|
};
|
|
566
566
|
}
|
|
@@ -574,7 +574,7 @@ function hi(i) {
|
|
|
574
574
|
e = C("span"), t = j(a), h(e, "class", "NoFavoriteText");
|
|
575
575
|
},
|
|
576
576
|
m(o, s) {
|
|
577
|
-
|
|
577
|
+
G(o, e, s), w(e, t);
|
|
578
578
|
},
|
|
579
579
|
p(o, s) {
|
|
580
580
|
s[1] & /*$_*/
|
|
@@ -582,7 +582,7 @@ function hi(i) {
|
|
|
582
582
|
o[43]("noFavorites") + "") && D(t, a);
|
|
583
583
|
},
|
|
584
584
|
d(o) {
|
|
585
|
-
o &&
|
|
585
|
+
o && k(e);
|
|
586
586
|
}
|
|
587
587
|
};
|
|
588
588
|
}
|
|
@@ -596,7 +596,7 @@ function _i(i) {
|
|
|
596
596
|
e = C("span"), t = j(a), h(e, "class", "NoFavoriteText");
|
|
597
597
|
},
|
|
598
598
|
m(o, s) {
|
|
599
|
-
|
|
599
|
+
G(o, e, s), w(e, t);
|
|
600
600
|
},
|
|
601
601
|
p(o, s) {
|
|
602
602
|
s[1] & /*$_*/
|
|
@@ -604,7 +604,7 @@ function _i(i) {
|
|
|
604
604
|
o[43]("noFavoritesMobile") + "") && D(t, a);
|
|
605
605
|
},
|
|
606
606
|
d(o) {
|
|
607
|
-
o &&
|
|
607
|
+
o && k(e);
|
|
608
608
|
}
|
|
609
609
|
};
|
|
610
610
|
}
|
|
@@ -618,14 +618,14 @@ function sa(i) {
|
|
|
618
618
|
a && a.c(), e = K();
|
|
619
619
|
},
|
|
620
620
|
m(t, o) {
|
|
621
|
-
a && a.m(t, o),
|
|
621
|
+
a && a.m(t, o), G(t, e, o);
|
|
622
622
|
},
|
|
623
623
|
p(t, o) {
|
|
624
624
|
/*gameprops*/
|
|
625
625
|
t[95].gameModel.isFavorite ? a ? a.p(t, o) : (a = la(t), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null);
|
|
626
626
|
},
|
|
627
627
|
d(t) {
|
|
628
|
-
t &&
|
|
628
|
+
t && k(e), a && a.d(t);
|
|
629
629
|
}
|
|
630
630
|
};
|
|
631
631
|
}
|
|
@@ -636,13 +636,13 @@ function la(i) {
|
|
|
636
636
|
a && a.c(), e = K();
|
|
637
637
|
},
|
|
638
638
|
m(t, o) {
|
|
639
|
-
a && a.m(t, o),
|
|
639
|
+
a && a.m(t, o), G(t, e, o);
|
|
640
640
|
},
|
|
641
641
|
p(t, o) {
|
|
642
642
|
a.p(t, o);
|
|
643
643
|
},
|
|
644
644
|
d(t) {
|
|
645
|
-
t &&
|
|
645
|
+
t && k(e), a && a.d(t);
|
|
646
646
|
}
|
|
647
647
|
};
|
|
648
648
|
}
|
|
@@ -665,13 +665,13 @@ function pi(i) {
|
|
|
665
665
|
r && r.c(), t = K();
|
|
666
666
|
},
|
|
667
667
|
m(m, c) {
|
|
668
|
-
r && r.m(m, c),
|
|
668
|
+
r && r.m(m, c), G(m, t, c);
|
|
669
669
|
},
|
|
670
670
|
p(m, c) {
|
|
671
671
|
s === (s = o(m, c)) && r ? r.p(m, c) : (r && r.d(1), r = s && s(m), r && (r.c(), r.m(t.parentNode, t)));
|
|
672
672
|
},
|
|
673
673
|
d(m) {
|
|
674
|
-
m &&
|
|
674
|
+
m && k(t), r && r.d(m);
|
|
675
675
|
}
|
|
676
676
|
};
|
|
677
677
|
}
|
|
@@ -797,7 +797,7 @@ function vi(i) {
|
|
|
797
797
|
);
|
|
798
798
|
},
|
|
799
799
|
m(g, d) {
|
|
800
|
-
|
|
800
|
+
G(g, e, d);
|
|
801
801
|
},
|
|
802
802
|
p(g, d) {
|
|
803
803
|
d[1] & /*favoriteGamesData*/
|
|
@@ -949,7 +949,7 @@ function vi(i) {
|
|
|
949
949
|
);
|
|
950
950
|
},
|
|
951
951
|
d(g) {
|
|
952
|
-
g &&
|
|
952
|
+
g && k(e);
|
|
953
953
|
}
|
|
954
954
|
};
|
|
955
955
|
}
|
|
@@ -965,7 +965,7 @@ function bi(i) {
|
|
|
965
965
|
t && t.c(), a = K();
|
|
966
966
|
},
|
|
967
967
|
m(o, s) {
|
|
968
|
-
t && t.m(o, s),
|
|
968
|
+
t && t.m(o, s), G(o, a, s);
|
|
969
969
|
},
|
|
970
970
|
p(o, s) {
|
|
971
971
|
s[1] & /*favoriteGamesData*/
|
|
@@ -975,7 +975,7 @@ function bi(i) {
|
|
|
975
975
|
o[95].gameModel.platform.includes("Android")), e ? t ? t.p(o, s) : (t = ra(o), t.c(), t.m(a.parentNode, a)) : t && (t.d(1), t = null);
|
|
976
976
|
},
|
|
977
977
|
d(o) {
|
|
978
|
-
o &&
|
|
978
|
+
o && k(a), t && t.d(o);
|
|
979
979
|
}
|
|
980
980
|
};
|
|
981
981
|
}
|
|
@@ -1101,7 +1101,7 @@ function ra(i) {
|
|
|
1101
1101
|
);
|
|
1102
1102
|
},
|
|
1103
1103
|
m(g, d) {
|
|
1104
|
-
|
|
1104
|
+
G(g, e, d);
|
|
1105
1105
|
},
|
|
1106
1106
|
p(g, d) {
|
|
1107
1107
|
d[1] & /*favoriteGamesData*/
|
|
@@ -1253,7 +1253,7 @@ function ra(i) {
|
|
|
1253
1253
|
);
|
|
1254
1254
|
},
|
|
1255
1255
|
d(g) {
|
|
1256
|
-
g &&
|
|
1256
|
+
g && k(e);
|
|
1257
1257
|
}
|
|
1258
1258
|
};
|
|
1259
1259
|
}
|
|
@@ -1267,14 +1267,14 @@ function ma(i) {
|
|
|
1267
1267
|
a && a.c(), e = K();
|
|
1268
1268
|
},
|
|
1269
1269
|
m(t, o) {
|
|
1270
|
-
a && a.m(t, o),
|
|
1270
|
+
a && a.m(t, o), G(t, e, o);
|
|
1271
1271
|
},
|
|
1272
1272
|
p(t, o) {
|
|
1273
1273
|
/*gameprops*/
|
|
1274
1274
|
t[95].gameModel ? a ? a.p(t, o) : (a = sa(t), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null);
|
|
1275
1275
|
},
|
|
1276
1276
|
d(t) {
|
|
1277
|
-
t &&
|
|
1277
|
+
t && k(e), a && a.d(t);
|
|
1278
1278
|
}
|
|
1279
1279
|
};
|
|
1280
1280
|
}
|
|
@@ -1296,7 +1296,7 @@ function ca(i) {
|
|
|
1296
1296
|
e = C("div"), a = C("span"), a.innerHTML = '<div class="CategoryIconAnimation"></div> <svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 28 28"><g id="Group_5260" data-name="Group 5260" transform="translate(-26 -13)"><g id="Ellipse_664_copy" data-name="Ellipse 664 copy" transform="translate(26 13)" fill="rgba(249,165,2,0)"><path d="M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z" stroke="none"></path><path d="M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z" stroke="none" fill="#fff"></path></g><path id="Rounded_Rectangle_683" data-name="Rounded Rectangle 683" d="M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z" transform="translate(-1102 -885)" fill="#fff"></path></g></svg>', t = H(), o = C("h3"), r = j(s), m = H(), f.c(), h(a, "class", "CategoryIcon"), h(o, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
|
|
1297
1297
|
},
|
|
1298
1298
|
m(p, b) {
|
|
1299
|
-
|
|
1299
|
+
G(p, e, b), w(e, a), w(e, t), w(e, o), w(o, r), i[55](o), w(e, m), f.m(e, null);
|
|
1300
1300
|
},
|
|
1301
1301
|
p(p, b) {
|
|
1302
1302
|
b[0] & /*categoryData*/
|
|
@@ -1304,7 +1304,7 @@ function ca(i) {
|
|
|
1304
1304
|
p[28].name + "") && D(r, s), u === (u = c(p)) && f ? f.p(p, b) : (f.d(1), f = u(p), f && (f.c(), f.m(e, null)));
|
|
1305
1305
|
},
|
|
1306
1306
|
d(p) {
|
|
1307
|
-
p &&
|
|
1307
|
+
p && k(e), i[55](null), f.d();
|
|
1308
1308
|
}
|
|
1309
1309
|
};
|
|
1310
1310
|
}
|
|
@@ -1325,7 +1325,7 @@ function wi(i) {
|
|
|
1325
1325
|
i[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer");
|
|
1326
1326
|
},
|
|
1327
1327
|
m(r, m) {
|
|
1328
|
-
|
|
1328
|
+
G(r, e, m), o && o.m(e, null), w(e, a), s && s.m(e, null);
|
|
1329
1329
|
},
|
|
1330
1330
|
p(r, m) {
|
|
1331
1331
|
/*addfilterselector*/
|
|
@@ -1338,7 +1338,7 @@ function wi(i) {
|
|
|
1338
1338
|
r[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer") && h(e, "class", t);
|
|
1339
1339
|
},
|
|
1340
1340
|
d(r) {
|
|
1341
|
-
r &&
|
|
1341
|
+
r && k(e), o && o.d(), s && s.d();
|
|
1342
1342
|
}
|
|
1343
1343
|
};
|
|
1344
1344
|
}
|
|
@@ -1355,7 +1355,7 @@ function yi(i) {
|
|
|
1355
1355
|
e = C("a"), a = C("span"), o = j(t), s = j(" ("), m = j(r), c = j(")"), h(a, "class", "CategoryLoadMore"), h(e, "class", "CategoryNameLink");
|
|
1356
1356
|
},
|
|
1357
1357
|
m(p, b) {
|
|
1358
|
-
|
|
1358
|
+
G(p, e, b), w(e, a), w(a, o), w(a, s), w(a, m), w(a, c), u || (f = xa(
|
|
1359
1359
|
e,
|
|
1360
1360
|
"click",
|
|
1361
1361
|
/*click_handler*/
|
|
@@ -1370,7 +1370,7 @@ function yi(i) {
|
|
|
1370
1370
|
p[28].games.total + "") && D(m, r);
|
|
1371
1371
|
},
|
|
1372
1372
|
d(p) {
|
|
1373
|
-
p &&
|
|
1373
|
+
p && k(e), u = !1, f();
|
|
1374
1374
|
}
|
|
1375
1375
|
};
|
|
1376
1376
|
}
|
|
@@ -1431,7 +1431,7 @@ function ga(i) {
|
|
|
1431
1431
|
);
|
|
1432
1432
|
},
|
|
1433
1433
|
m(a, t) {
|
|
1434
|
-
|
|
1434
|
+
G(a, e, t);
|
|
1435
1435
|
},
|
|
1436
1436
|
p(a, t) {
|
|
1437
1437
|
t[0] & /*clientstylingurl*/
|
|
@@ -1497,7 +1497,7 @@ function ga(i) {
|
|
|
1497
1497
|
);
|
|
1498
1498
|
},
|
|
1499
1499
|
d(a) {
|
|
1500
|
-
a &&
|
|
1500
|
+
a && k(e);
|
|
1501
1501
|
}
|
|
1502
1502
|
};
|
|
1503
1503
|
}
|
|
@@ -1538,7 +1538,7 @@ function da(i) {
|
|
|
1538
1538
|
);
|
|
1539
1539
|
},
|
|
1540
1540
|
m(a, t) {
|
|
1541
|
-
|
|
1541
|
+
G(a, e, t);
|
|
1542
1542
|
},
|
|
1543
1543
|
p(a, t) {
|
|
1544
1544
|
t[0] & /*clientstylingurl*/
|
|
@@ -1580,7 +1580,7 @@ function da(i) {
|
|
|
1580
1580
|
);
|
|
1581
1581
|
},
|
|
1582
1582
|
d(a) {
|
|
1583
|
-
a &&
|
|
1583
|
+
a && k(e);
|
|
1584
1584
|
}
|
|
1585
1585
|
};
|
|
1586
1586
|
}
|
|
@@ -1594,7 +1594,7 @@ function ki(i) {
|
|
|
1594
1594
|
e = C("p"), t = j(a), h(e, "class", "NoSearchResults");
|
|
1595
1595
|
},
|
|
1596
1596
|
m(o, s) {
|
|
1597
|
-
|
|
1597
|
+
G(o, e, s), w(e, t);
|
|
1598
1598
|
},
|
|
1599
1599
|
p(o, s) {
|
|
1600
1600
|
s[1] & /*$_*/
|
|
@@ -1602,7 +1602,7 @@ function ki(i) {
|
|
|
1602
1602
|
o[43]("noResults") + "") && D(t, a);
|
|
1603
1603
|
},
|
|
1604
1604
|
d(o) {
|
|
1605
|
-
o &&
|
|
1605
|
+
o && k(e);
|
|
1606
1606
|
}
|
|
1607
1607
|
};
|
|
1608
1608
|
}
|
|
@@ -1631,7 +1631,7 @@ function Gi(i) {
|
|
|
1631
1631
|
i[21] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap");
|
|
1632
1632
|
},
|
|
1633
1633
|
m(m, c) {
|
|
1634
|
-
|
|
1634
|
+
G(m, e, c);
|
|
1635
1635
|
for (let u = 0; u < a.length; u += 1)
|
|
1636
1636
|
a[u] && a[u].m(e, null);
|
|
1637
1637
|
i[58](e);
|
|
@@ -1651,7 +1651,7 @@ function Gi(i) {
|
|
|
1651
1651
|
m[21] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap") && h(e, "class", o);
|
|
1652
1652
|
},
|
|
1653
1653
|
d(m) {
|
|
1654
|
-
m &&
|
|
1654
|
+
m && k(e);
|
|
1655
1655
|
for (let c = 0; c < a.length; c += 1)
|
|
1656
1656
|
a[c].d();
|
|
1657
1657
|
i[58](null);
|
|
@@ -1665,11 +1665,11 @@ function Ci(i) {
|
|
|
1665
1665
|
e = C("div"), h(e, "class", "DualRing");
|
|
1666
1666
|
},
|
|
1667
1667
|
m(a, t) {
|
|
1668
|
-
|
|
1668
|
+
G(a, e, t);
|
|
1669
1669
|
},
|
|
1670
1670
|
p: pe,
|
|
1671
1671
|
d(a) {
|
|
1672
|
-
a &&
|
|
1672
|
+
a && k(e);
|
|
1673
1673
|
}
|
|
1674
1674
|
};
|
|
1675
1675
|
}
|
|
@@ -1805,7 +1805,7 @@ function Si(i) {
|
|
|
1805
1805
|
);
|
|
1806
1806
|
},
|
|
1807
1807
|
m(U, v) {
|
|
1808
|
-
|
|
1808
|
+
G(U, e, v), d();
|
|
1809
1809
|
},
|
|
1810
1810
|
p(U, v) {
|
|
1811
1811
|
i = U, v[0] & /*session*/
|
|
@@ -1960,7 +1960,7 @@ function Si(i) {
|
|
|
1960
1960
|
i[97], d());
|
|
1961
1961
|
},
|
|
1962
1962
|
d(U) {
|
|
1963
|
-
U &&
|
|
1963
|
+
U && k(e), ne();
|
|
1964
1964
|
}
|
|
1965
1965
|
};
|
|
1966
1966
|
}
|
|
@@ -1973,13 +1973,13 @@ function ua(i, e) {
|
|
|
1973
1973
|
a = K(), o && o.c(), t = K(), this.first = a;
|
|
1974
1974
|
},
|
|
1975
1975
|
m(s, r) {
|
|
1976
|
-
|
|
1976
|
+
G(s, a, r), o && o.m(s, r), G(s, t, r);
|
|
1977
1977
|
},
|
|
1978
1978
|
p(s, r) {
|
|
1979
1979
|
e = s, o.p(e, r);
|
|
1980
1980
|
},
|
|
1981
1981
|
d(s) {
|
|
1982
|
-
s && (
|
|
1982
|
+
s && (k(a), k(t)), o && o.d(s);
|
|
1983
1983
|
}
|
|
1984
1984
|
};
|
|
1985
1985
|
}
|
|
@@ -1993,7 +1993,7 @@ function Fi(i) {
|
|
|
1993
1993
|
e = C("h3"), t = j(a), h(e, "class", "StatusText");
|
|
1994
1994
|
},
|
|
1995
1995
|
m(o, s) {
|
|
1996
|
-
|
|
1996
|
+
G(o, e, s), w(e, t);
|
|
1997
1997
|
},
|
|
1998
1998
|
p(o, s) {
|
|
1999
1999
|
s[1] & /*$_*/
|
|
@@ -2001,7 +2001,7 @@ function Fi(i) {
|
|
|
2001
2001
|
o[43]("searchedItems") + "") && D(t, a);
|
|
2002
2002
|
},
|
|
2003
2003
|
d(o) {
|
|
2004
|
-
o &&
|
|
2004
|
+
o && k(e);
|
|
2005
2005
|
}
|
|
2006
2006
|
};
|
|
2007
2007
|
}
|
|
@@ -2015,7 +2015,7 @@ function zi(i) {
|
|
|
2015
2015
|
e = C("h3"), t = j(a), h(e, "class", "StatusText");
|
|
2016
2016
|
},
|
|
2017
2017
|
m(o, s) {
|
|
2018
|
-
|
|
2018
|
+
G(o, e, s), w(e, t);
|
|
2019
2019
|
},
|
|
2020
2020
|
p(o, s) {
|
|
2021
2021
|
s[1] & /*$_*/
|
|
@@ -2023,7 +2023,7 @@ function zi(i) {
|
|
|
2023
2023
|
o[43]("noResults") + "") && D(t, a);
|
|
2024
2024
|
},
|
|
2025
2025
|
d(o) {
|
|
2026
|
-
o &&
|
|
2026
|
+
o && k(e);
|
|
2027
2027
|
}
|
|
2028
2028
|
};
|
|
2029
2029
|
}
|
|
@@ -2037,7 +2037,7 @@ function Mi(i) {
|
|
|
2037
2037
|
e = C("h3"), t = j(a), h(e, "class", "StatusText");
|
|
2038
2038
|
},
|
|
2039
2039
|
m(o, s) {
|
|
2040
|
-
|
|
2040
|
+
G(o, e, s), w(e, t);
|
|
2041
2041
|
},
|
|
2042
2042
|
p(o, s) {
|
|
2043
2043
|
s[1] & /*$_*/
|
|
@@ -2045,7 +2045,7 @@ function Mi(i) {
|
|
|
2045
2045
|
o[43]("recentSearchedItems") + "") && D(t, a);
|
|
2046
2046
|
},
|
|
2047
2047
|
d(o) {
|
|
2048
|
-
o &&
|
|
2048
|
+
o && k(e);
|
|
2049
2049
|
}
|
|
2050
2050
|
};
|
|
2051
2051
|
}
|
|
@@ -2056,11 +2056,11 @@ function Ii(i) {
|
|
|
2056
2056
|
e = C("p"), e.textContent = "Waiting", h(e, "class", "SearchWaiting");
|
|
2057
2057
|
},
|
|
2058
2058
|
m(a, t) {
|
|
2059
|
-
|
|
2059
|
+
G(a, e, t);
|
|
2060
2060
|
},
|
|
2061
2061
|
p: pe,
|
|
2062
2062
|
d(a) {
|
|
2063
|
-
a &&
|
|
2063
|
+
a && k(e);
|
|
2064
2064
|
}
|
|
2065
2065
|
};
|
|
2066
2066
|
}
|
|
@@ -2086,7 +2086,7 @@ function Ei(i) {
|
|
|
2086
2086
|
h(a, "class", "CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap");
|
|
2087
2087
|
},
|
|
2088
2088
|
m(c, u) {
|
|
2089
|
-
s && s.m(c, u),
|
|
2089
|
+
s && s.m(c, u), G(c, e, u), G(c, a, u);
|
|
2090
2090
|
for (let f = 0; f < t.length; f += 1)
|
|
2091
2091
|
t[f] && t[f].m(a, null);
|
|
2092
2092
|
},
|
|
@@ -2100,7 +2100,7 @@ function Ei(i) {
|
|
|
2100
2100
|
), t = _a(t, u, m, 1, c, r, o, a, pa, ha, null, na));
|
|
2101
2101
|
},
|
|
2102
2102
|
d(c) {
|
|
2103
|
-
c && (
|
|
2103
|
+
c && (k(e), k(a)), s && s.d(c);
|
|
2104
2104
|
for (let u = 0; u < t.length; u += 1)
|
|
2105
2105
|
t[u].d();
|
|
2106
2106
|
}
|
|
@@ -2119,7 +2119,7 @@ function fa(i) {
|
|
|
2119
2119
|
) ? "NoRecentSearchesMobile" : ""));
|
|
2120
2120
|
},
|
|
2121
2121
|
m(o, s) {
|
|
2122
|
-
|
|
2122
|
+
G(o, e, s), w(e, t);
|
|
2123
2123
|
},
|
|
2124
2124
|
p(o, s) {
|
|
2125
2125
|
s[1] & /*$_*/
|
|
@@ -2127,7 +2127,7 @@ function fa(i) {
|
|
|
2127
2127
|
o[43]("noRecentSearch") + "") && D(t, a);
|
|
2128
2128
|
},
|
|
2129
2129
|
d(o) {
|
|
2130
|
-
o &&
|
|
2130
|
+
o && k(e);
|
|
2131
2131
|
}
|
|
2132
2132
|
};
|
|
2133
2133
|
}
|
|
@@ -2246,7 +2246,7 @@ function ha(i, e) {
|
|
|
2246
2246
|
), this.first = a;
|
|
2247
2247
|
},
|
|
2248
2248
|
m(g, d) {
|
|
2249
|
-
|
|
2249
|
+
G(g, a, d);
|
|
2250
2250
|
},
|
|
2251
2251
|
p(g, d) {
|
|
2252
2252
|
e = g, d[0] & /*shownCategoryData*/
|
|
@@ -2387,7 +2387,7 @@ function ha(i, e) {
|
|
|
2387
2387
|
);
|
|
2388
2388
|
},
|
|
2389
2389
|
d(g) {
|
|
2390
|
-
g &&
|
|
2390
|
+
g && k(a);
|
|
2391
2391
|
}
|
|
2392
2392
|
};
|
|
2393
2393
|
}
|
|
@@ -2398,10 +2398,10 @@ function Ri(i) {
|
|
|
2398
2398
|
e = C("p"), e.textContent = "500 Error - Internal Server Error.", h(e, "class", "SearchLoading");
|
|
2399
2399
|
},
|
|
2400
2400
|
m(a, t) {
|
|
2401
|
-
|
|
2401
|
+
G(a, e, t);
|
|
2402
2402
|
},
|
|
2403
2403
|
d(a) {
|
|
2404
|
-
a &&
|
|
2404
|
+
a && k(e);
|
|
2405
2405
|
}
|
|
2406
2406
|
};
|
|
2407
2407
|
}
|
|
@@ -2412,10 +2412,10 @@ function Ai(i) {
|
|
|
2412
2412
|
e = C("p"), e.textContent = "404 Error - No result found.", h(e, "class", "SearchLoading");
|
|
2413
2413
|
},
|
|
2414
2414
|
m(a, t) {
|
|
2415
|
-
|
|
2415
|
+
G(a, e, t);
|
|
2416
2416
|
},
|
|
2417
2417
|
d(a) {
|
|
2418
|
-
a &&
|
|
2418
|
+
a && k(e);
|
|
2419
2419
|
}
|
|
2420
2420
|
};
|
|
2421
2421
|
}
|
|
@@ -2436,7 +2436,7 @@ function Ni(i) {
|
|
|
2436
2436
|
e = C("div"), o.c(), h(e, "class", "CasinoGamesCategorySectionContainer");
|
|
2437
2437
|
},
|
|
2438
2438
|
m(s, r) {
|
|
2439
|
-
|
|
2439
|
+
G(s, e, r), o.m(e, null), i[61](e);
|
|
2440
2440
|
},
|
|
2441
2441
|
p(s, r) {
|
|
2442
2442
|
t === (t = a(s)) && o ? o.p(s, r) : (o.d(1), o = t(s), o && (o.c(), o.m(e, null)));
|
|
@@ -2444,7 +2444,7 @@ function Ni(i) {
|
|
|
2444
2444
|
i: pe,
|
|
2445
2445
|
o: pe,
|
|
2446
2446
|
d(s) {
|
|
2447
|
-
s &&
|
|
2447
|
+
s && k(e), o.d(), i[61](null);
|
|
2448
2448
|
}
|
|
2449
2449
|
};
|
|
2450
2450
|
}
|
|
@@ -2456,8 +2456,8 @@ function ji(i, e, a) {
|
|
|
2456
2456
|
let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: c = "" } = e, { favorites: u = "" } = e, { mbsource: f } = e, { clientstyling: p = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: M = "" } = e, { currency: I = "" } = e, { categoryid: g = "" } = e, { showgamename: d = "" } = e, { livecasino: ne = "false" } = e, { gamepagemodalurl: U = "true" } = e, { integratedgameframedesktop: v = "false" } = e, { integratedgameframemobile: X = "false" } = e, { casinomygames: le = "false" } = e, { addfilterselector: be = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: qe = "" } = e, { casinogamesgridslider: We = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Re = "casino" } = e, { actionevent: Ae = "CategoryChange" } = e, { displayedgamecount: ye = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { lobbyscreen: Ne = "true" } = e, { usesinglevendorfilter: Ge = "false" } = e, { visiblegames: Le = "10" } = e, Z = !0, je = !1, Ce, Se, W = !0, Ye = window.navigator.userAgent, T, F = [], Q = !0, ae = 40, Y = !1, Fe = !1, me = !1, Te = !1, Pe = !0, ce = !1, ge, De, de, ue = !1, q, ze = !1, fe = new Array(1e4), he = {}, Ue = "", ie = "", Me, Oe, N, O = [], Ie = new AbortController(), te = { items: [], count: 0, name: "" };
|
|
2457
2457
|
const va = () => {
|
|
2458
2458
|
fetch(M).then((_) => _.json()).then((_) => {
|
|
2459
|
-
Object.keys(_).forEach((
|
|
2460
|
-
$e(
|
|
2459
|
+
Object.keys(_).forEach((y) => {
|
|
2460
|
+
$e(y, _[y]);
|
|
2461
2461
|
});
|
|
2462
2462
|
}).catch((_) => {
|
|
2463
2463
|
console.log(_);
|
|
@@ -2468,11 +2468,11 @@ function ji(i, e, a) {
|
|
|
2468
2468
|
}), typeof document.hidden < "u" ? Me = "hidden" : typeof document.msHidden < "u" ? Me = "msHidden" : typeof document.webkitHidden < "u" && (Me = "webkitHidden");
|
|
2469
2469
|
let Je = new IntersectionObserver((l) => {
|
|
2470
2470
|
l.forEach(async (_) => {
|
|
2471
|
-
let
|
|
2472
|
-
_.isIntersecting ? (R * 1.2 > ae && Sa(g), a(40, he[
|
|
2471
|
+
let y = _.target.gameid, R = _.target.elems_index;
|
|
2472
|
+
_.isIntersecting ? (R * 1.2 > ae && Sa(g), a(40, he[y] = 1, he)) : a(40, he[y] = 0, he);
|
|
2473
2473
|
});
|
|
2474
2474
|
});
|
|
2475
|
-
const ba = (l, _) => new Promise((
|
|
2475
|
+
const ba = (l, _) => new Promise((y, R) => {
|
|
2476
2476
|
if (l && _) {
|
|
2477
2477
|
let A = `${o}/v1/player/${_}/favorites/`;
|
|
2478
2478
|
fetch(A, {
|
|
@@ -2490,21 +2490,21 @@ function ji(i, e, a) {
|
|
|
2490
2490
|
});
|
|
2491
2491
|
} else
|
|
2492
2492
|
N = [];
|
|
2493
|
-
g === "FAVORITES" && He(N),
|
|
2493
|
+
g === "FAVORITES" && He(N), y(N);
|
|
2494
2494
|
}).catch((S) => {
|
|
2495
2495
|
console.error(S), R(S);
|
|
2496
2496
|
});
|
|
2497
2497
|
} else
|
|
2498
|
-
|
|
2498
|
+
y([]);
|
|
2499
2499
|
}), Be = (l, _) => {
|
|
2500
|
-
let
|
|
2500
|
+
let y = `${o}/v1/player/${_}/favorites/`;
|
|
2501
2501
|
a(25, Z = !0);
|
|
2502
2502
|
let R = {
|
|
2503
2503
|
method: "GET",
|
|
2504
2504
|
headers: { "X-SessionID": l }
|
|
2505
2505
|
};
|
|
2506
2506
|
return new Promise((A, E) => {
|
|
2507
|
-
fetch(
|
|
2507
|
+
fetch(y, R).then((S) => S.json()).then((S) => {
|
|
2508
2508
|
if (a(25, Z = !1), N = [], S) {
|
|
2509
2509
|
S.items?.forEach((V) => {
|
|
2510
2510
|
V.gameModel && (N.push(V), O.includes(V.id) || O.push(V.id));
|
|
@@ -2525,14 +2525,14 @@ function ji(i, e, a) {
|
|
|
2525
2525
|
console.error(S), E(S);
|
|
2526
2526
|
});
|
|
2527
2527
|
});
|
|
2528
|
-
}, Ke = (l, _,
|
|
2528
|
+
}, Ke = (l, _, y, R) => {
|
|
2529
2529
|
Ie && Ie.abort(), Ie = new AbortController();
|
|
2530
2530
|
const A = Ie.signal;
|
|
2531
2531
|
a(25, Z = !0);
|
|
2532
2532
|
let E = "", S = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), L = JSON.parse(localStorage.getItem("vendorSortingBy"));
|
|
2533
2533
|
const V = Ge === "true" ? "*" : l;
|
|
2534
2534
|
return (l.match(/\$/g) || []).length > 1 ? (E = l.split("$").slice(0, 2).join("$"), S = new URL(`${o}/v1/casino/groups/${s}/${E}/subGroups`)) : S = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((Da, Ua) => {
|
|
2535
|
-
if (S.searchParams.delete("pagination"), S.searchParams.append("expand", "games(vendor)"), S.searchParams.append("fields", "id,name,games"), S.searchParams.append("platform", Za(Ye)), S.searchParams.append("pagination", `games(offset=${_},limit=${
|
|
2535
|
+
if (S.searchParams.delete("pagination"), S.searchParams.append("expand", "games(vendor)"), S.searchParams.append("fields", "id,name,games"), S.searchParams.append("platform", Za(Ye)), S.searchParams.append("pagination", `games(offset=${_},limit=${y})`), S.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && J[V]?.length)
|
|
2536
2536
|
if (Ge === "true" || W === !1 && ue === !1) {
|
|
2537
2537
|
let P = "";
|
|
2538
2538
|
a(34, Te = !0), J[V].forEach((x) => {
|
|
@@ -2553,19 +2553,19 @@ function ji(i, e, a) {
|
|
|
2553
2553
|
wa();
|
|
2554
2554
|
});
|
|
2555
2555
|
});
|
|
2556
|
-
}, _e = (l, _,
|
|
2556
|
+
}, _e = (l, _, y) => new Promise((R, A) => {
|
|
2557
2557
|
u == "true" ? ba(m, c).then((E) => {
|
|
2558
|
-
Ke(l, _,
|
|
2558
|
+
Ke(l, _, y, E).then((S) => {
|
|
2559
2559
|
R(S);
|
|
2560
2560
|
});
|
|
2561
|
-
}) : Ke(l, _,
|
|
2561
|
+
}) : Ke(l, _, y, null).then((E) => {
|
|
2562
2562
|
R(E);
|
|
2563
2563
|
});
|
|
2564
2564
|
}), wa = () => {
|
|
2565
2565
|
const l = q.getRootNode().host;
|
|
2566
2566
|
l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
|
|
2567
|
-
}, ya = (l, _,
|
|
2568
|
-
l !== "" && (a(31, Y = !1), a(27, W = !0), a(1, be = "false"), a(2, we = "false"), a(33, me = !1), ze = !1, a(30, Q = +_ > +
|
|
2567
|
+
}, ya = (l, _, y) => {
|
|
2568
|
+
l !== "" && (a(31, Y = !1), a(27, W = !0), a(1, be = "false"), a(2, we = "false"), a(33, me = !1), ze = !1, a(30, Q = +_ > +y), _e(l, 0, +_).then((R) => {
|
|
2569
2569
|
a(28, T = R), a(29, F = T.games.items), F && F.forEach((A) => {
|
|
2570
2570
|
A.isFavorite = B(A.id);
|
|
2571
2571
|
});
|
|
@@ -2614,8 +2614,8 @@ function ji(i, e, a) {
|
|
|
2614
2614
|
break;
|
|
2615
2615
|
case `CategoryData_${g}`:
|
|
2616
2616
|
a(31, Y = !1), a(27, W = !0), a(1, be = "false"), a(2, we = "false"), a(33, me = !1), ze = !1, _e(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
|
|
2617
|
-
a(28, T = _), a(29, F = T.games.items), a(30, Q = !!(De <= l.data.visiblegames && W)), F && F.forEach((
|
|
2618
|
-
|
|
2617
|
+
a(28, T = _), a(29, F = T.games.items), a(30, Q = !!(De <= l.data.visiblegames && W)), F && F.forEach((y) => {
|
|
2618
|
+
y.isFavorite = B(y.id);
|
|
2619
2619
|
});
|
|
2620
2620
|
});
|
|
2621
2621
|
break;
|
|
@@ -2643,9 +2643,9 @@ function ji(i, e, a) {
|
|
|
2643
2643
|
g === "FAVORITES" && Ze(l.data.url, l.data.sessionID);
|
|
2644
2644
|
break;
|
|
2645
2645
|
}
|
|
2646
|
-
}, Xe = (l) => {
|
|
2647
|
-
a(31, Y = !1), a(27, W = Ne === "true"), a(33, me = !1), ze = !0, a(36, ce = !1), a(0, g = l), g !== "MOSTPLAYED" && a(30, Q = !1), le !== "true" && (!N && m && Be(m, c), _e(g, 0, ae).then((
|
|
2648
|
-
a(28, T =
|
|
2646
|
+
}, Xe = (l, _ = !1) => {
|
|
2647
|
+
a(31, Y = !1), a(27, W = Ne === "true"), a(33, me = !1), ze = !0, a(36, ce = !1), a(0, g = l), g !== "MOSTPLAYED" && !_ && a(30, Q = !1), le !== "true" && (!N && m && Be(m, c), _e(g, 0, ae).then((y) => {
|
|
2648
|
+
a(28, T = y), a(29, F = T.games.items);
|
|
2649
2649
|
}).finally(
|
|
2650
2650
|
/*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
|
|
2651
2651
|
if (shownCategoryData.length < 10 && e.data.origin ==! 'filters') {
|
|
@@ -2670,8 +2670,8 @@ function ji(i, e, a) {
|
|
|
2670
2670
|
l.isFavorite = B(l.id);
|
|
2671
2671
|
}));
|
|
2672
2672
|
}, B = (l) => N?.some((_) => _.id === l) ?? !1;
|
|
2673
|
-
let Ga = async (l, _,
|
|
2674
|
-
await Ze(l, _), O.includes(
|
|
2673
|
+
let Ga = async (l, _, y) => {
|
|
2674
|
+
await Ze(l, _), O.includes(y) || O.push(y);
|
|
2675
2675
|
let A = {
|
|
2676
2676
|
method: "POST",
|
|
2677
2677
|
headers: {
|
|
@@ -2682,7 +2682,7 @@ function ji(i, e, a) {
|
|
|
2682
2682
|
body: JSON.stringify({ items: O })
|
|
2683
2683
|
};
|
|
2684
2684
|
fetch(l, A).then((E) => E.json()).then((E) => {
|
|
2685
|
-
window.postMessage({ type: `AddFavoriteThumbnail_${
|
|
2685
|
+
window.postMessage({ type: `AddFavoriteThumbnail_${y}` }, window.location.href), window.postMessage({
|
|
2686
2686
|
type: "UpdateFavoredList",
|
|
2687
2687
|
url: l,
|
|
2688
2688
|
sessionID: _
|
|
@@ -2691,15 +2691,15 @@ function ji(i, e, a) {
|
|
|
2691
2691
|
console.error("Err", E);
|
|
2692
2692
|
});
|
|
2693
2693
|
};
|
|
2694
|
-
const Ca = (l, _,
|
|
2694
|
+
const Ca = (l, _, y) => {
|
|
2695
2695
|
let R = {
|
|
2696
2696
|
method: "DELETE",
|
|
2697
2697
|
headers: { "X-SessionID": _ }
|
|
2698
2698
|
};
|
|
2699
|
-
fetch(`${l}/${
|
|
2699
|
+
fetch(`${l}/${y}`, R).then((A) => A.json()).then(() => {
|
|
2700
2700
|
window.postMessage(
|
|
2701
2701
|
{
|
|
2702
|
-
type: `RemoveFavoriteThumbnail_${
|
|
2702
|
+
type: `RemoveFavoriteThumbnail_${y}`
|
|
2703
2703
|
},
|
|
2704
2704
|
window.location.href
|
|
2705
2705
|
), window.postMessage({
|
|
@@ -2707,7 +2707,7 @@ function ji(i, e, a) {
|
|
|
2707
2707
|
url: l,
|
|
2708
2708
|
sessionID: _
|
|
2709
2709
|
});
|
|
2710
|
-
}), O.includes(
|
|
2710
|
+
}), O.includes(y) && (O = O.filter((A) => A != y));
|
|
2711
2711
|
}, Ze = async (l, _) => fetch(l, {
|
|
2712
2712
|
method: "GET",
|
|
2713
2713
|
headers: { "X-SessionID": _ }
|
|
@@ -2728,25 +2728,25 @@ function ji(i, e, a) {
|
|
|
2728
2728
|
if (!l)
|
|
2729
2729
|
return;
|
|
2730
2730
|
let _;
|
|
2731
|
-
_ = l?.items || l || [], _.length > 0 && _.forEach((
|
|
2732
|
-
|
|
2731
|
+
_ = l?.items || l || [], _.length > 0 && _.forEach((y) => {
|
|
2732
|
+
y.gameModel && (y.gameModel.isFavorite = !0);
|
|
2733
2733
|
}), a(42, te.items = Ee(_, te.items), te), a(42, te.name = "Favorites", te), a(25, Z = !1);
|
|
2734
2734
|
}, Sa = (l) => {
|
|
2735
2735
|
ae += 1, a(36, ce = !0), ae <= De && _e(l, Li, ae).then((_) => {
|
|
2736
|
-
a(28, T = _), T.games.items.length > F.length && (a(29, F = T.games.items), F.forEach((
|
|
2737
|
-
|
|
2736
|
+
a(28, T = _), T.games.items.length > F.length && (a(29, F = T.games.items), F.forEach((y) => {
|
|
2737
|
+
y.isFavorite = B(y.id);
|
|
2738
2738
|
})), a(36, ce = !1);
|
|
2739
2739
|
});
|
|
2740
2740
|
}, Fa = (l) => {
|
|
2741
2741
|
const _ = l ?? [];
|
|
2742
2742
|
if (_?.length === 0)
|
|
2743
2743
|
return "";
|
|
2744
|
-
let
|
|
2744
|
+
let y = "", R = 999999999999, A;
|
|
2745
2745
|
const E = new Date(Date.now());
|
|
2746
2746
|
return _.forEach((S, J) => {
|
|
2747
2747
|
const L = new Date(S.schedules[0].startTime), V = new Date(S.schedules[0].endTime);
|
|
2748
|
-
xe(new Date(V), new Date(E)) < R && (R = xe(new Date(V), new Date(E)), A = J), ni(new Date(E), new Date(L)) && ti(new Date(E), new Date(V)) && (
|
|
2749
|
-
}),
|
|
2748
|
+
xe(new Date(V), new Date(E)) < R && (R = xe(new Date(V), new Date(E)), A = J), ni(new Date(E), new Date(L)) && ti(new Date(E), new Date(V)) && (y = _[A].name);
|
|
2749
|
+
}), y;
|
|
2750
2750
|
}, Qe = (l) => {
|
|
2751
2751
|
a(30, Q = !1), window.postMessage(
|
|
2752
2752
|
{
|
|
@@ -2768,7 +2768,7 @@ function ji(i, e, a) {
|
|
|
2768
2768
|
le === "false" && c && m && a(39, ue = !1);
|
|
2769
2769
|
break;
|
|
2770
2770
|
default:
|
|
2771
|
-
Xe(g);
|
|
2771
|
+
Xe(g, !0);
|
|
2772
2772
|
break;
|
|
2773
2773
|
}
|
|
2774
2774
|
}, Ma = () => {
|