@everymatrix/casino-page-nd 1.77.31 → 1.80.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/{CasinoFavoritesSectionNd-j_x4BbVA.js → CasinoFavoritesSectionNd-BeYjIdgo.js} +1 -1
- package/components/{CasinoFavoritesSectionNd-ItqNIJiO.js → CasinoFavoritesSectionNd-DMCD4UJE.js} +1 -1
- package/components/{CasinoFavoritesSectionNd-DYqPUw83.cjs → CasinoFavoritesSectionNd-Xkx253r_.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-BCSPbWos.cjs → CasinoGamesCategorySectionNd-D2tTvxGL.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-DDxD9nUf.js → CasinoGamesCategorySectionNd-sjzedIIl.js} +44 -40
- package/components/{CasinoGamesCategorySectionNd-DMwVq9fp.js → CasinoGamesCategorySectionNd-vj5e_xF7.js} +58 -54
- package/components/{CasinoLastPlayedSectionNd-CeZMPmWd.cjs → CasinoLastPlayedSectionNd-DETedKd6.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-C3GzrdJm.js → CasinoLastPlayedSectionNd-DleJRFgh.js} +1 -1
- package/components/{CasinoLastPlayedSectionNd-BHODuapK.js → CasinoLastPlayedSectionNd-EbdmtRQD.js} +1 -1
- package/components/{CasinoMostPlayedSectionNd-D4e0bYIb.cjs → CasinoMostPlayedSectionNd-BTm1S4qi.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-D-baP__d.js → CasinoMostPlayedSectionNd-DJnTw9tl.js} +1 -1
- package/components/{CasinoMostPlayedSectionNd-Dd_xRXHP.js → CasinoMostPlayedSectionNd-DtfFL-VZ.js} +1 -1
- package/components/{CasinoMyGamesNd-Cx16hjrw.js → CasinoMyGamesNd-B-Vl66Xz.js} +3 -3
- package/components/{CasinoMyGamesNd-DP1Glj8A.cjs → CasinoMyGamesNd-Bo0kGy4t.cjs} +1 -1
- package/components/{CasinoMyGamesNd-DtO8BLgo.js → CasinoMyGamesNd-CNxlYMH-.js} +3 -3
- package/components/{CasinoPageNd-CV_1eRGT.js → CasinoPageNd-Be1tDO5T.js} +310 -315
- package/components/CasinoPageNd-CEp7-4xr.cjs +1 -0
- package/components/{CasinoPageNd-BzxpWBlJ.js → CasinoPageNd-YA2WZlbA.js} +311 -316
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/{casino-favorites-section-nd-rZSCGLz9.cjs → casino-favorites-section-nd-Ah93zoNj.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-G1k_nAvZ.js → casino-favorites-section-nd-NknLbzYG.js} +1 -1
- package/lazy/{casino-favorites-section-nd-B0h-6KZs.js → casino-favorites-section-nd-SEYIu67i.js} +1 -1
- package/lazy/{casino-games-category-section-nd-BVdBFwwD.js → casino-games-category-section-nd-DAskRFxD.js} +1 -1
- package/lazy/{casino-games-category-section-nd-BUgUwG4O.js → casino-games-category-section-nd-DbalynUi.js} +1 -1
- package/lazy/{casino-games-category-section-nd-Cp7zYNK8.cjs → casino-games-category-section-nd-DuGfcN3H.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-yCd6eEHJ.cjs → casino-last-played-section-nd-ByAXTHTv.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-CjK9WO3Y.js → casino-last-played-section-nd-CiFgD9YY.js} +1 -1
- package/lazy/{casino-last-played-section-nd-CqwSv5ck.js → casino-last-played-section-nd-Das3d1ud.js} +1 -1
- package/lazy/{casino-most-played-section-nd-BJW9_1tW.cjs → casino-most-played-section-nd-2QTUCdJP.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-DBUtrDqy.js → casino-most-played-section-nd-BSsPZpOH.js} +1 -1
- package/lazy/{casino-most-played-section-nd-C94lFpEP.js → casino-most-played-section-nd-ChvhwjNj.js} +1 -1
- package/lazy/{casino-my-games-nd-D2yactb5.js → casino-my-games-nd-C2FCEW3M.js} +1 -1
- package/lazy/{casino-my-games-nd-CKKAEy87.js → casino-my-games-nd-CK-YsYxB.js} +1 -1
- package/lazy/{casino-my-games-nd-CweGRZVj.cjs → casino-my-games-nd-Cuw7q0kM.cjs} +1 -1
- package/package.json +1 -1
- package/components/CasinoPageNd-2SGVZI5l.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Oa, $ as Ba, S as
|
|
1
|
+
import { a as Oa, $ as Ba, S as Ha, i as Va, s as qa, f as z, b as Wa, n as pe, d as k, h as G, j as S, u as h, k as Ya, l as Ja, W as Ka, o as Xa, X as Re, D as te, T as K, q as w, C as V, m as ve, P as Za, p as D, r as T, w as se, Y as _a, Z as pa, F as n, x as Qa, B as xa, G as $, I as $a, J as ei, K as ai, L as ii } from "./CasinoCalendar-CVV5rh8D.js";
|
|
2
2
|
import "../lazy/casino-game-thumbnail-nd-W3ayXj8t.js";
|
|
3
3
|
import "../lazy/casino-filter-M72JDTfo.js";
|
|
4
4
|
import "../lazy/casino-sort-CA7YDNNV.js";
|
|
@@ -274,7 +274,7 @@ function ri(i) {
|
|
|
274
274
|
let c = m(i), u = c(i);
|
|
275
275
|
return {
|
|
276
276
|
c() {
|
|
277
|
-
e = S("div"), a = S("div"), r.c(), o =
|
|
277
|
+
e = S("div"), a = S("div"), r.c(), o = V(), u.c(), h(a, "class", "CasinoGamesHeader Searched " + (ve(
|
|
278
278
|
/*userAgent*/
|
|
279
279
|
i[44]
|
|
280
280
|
) ? "CasinoGamesHeaderMobile" : "")), h(e, "class", "CasinoGamesContainer");
|
|
@@ -332,7 +332,7 @@ function ci(i) {
|
|
|
332
332
|
let m = r(i), c = m(i);
|
|
333
333
|
return {
|
|
334
334
|
c() {
|
|
335
|
-
e = S("div"), s && s.c(), a =
|
|
335
|
+
e = S("div"), s && s.c(), a = V(), o = S("ul"), c.c(), h(o, "class", t = /*favoriteGamesData*/
|
|
336
336
|
(i[42].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}"), h(e, "class", "CasinoGamesContainer");
|
|
337
337
|
},
|
|
338
338
|
m(u, f) {
|
|
@@ -367,7 +367,7 @@ function gi(i) {
|
|
|
367
367
|
let s = t(i), r = s(i);
|
|
368
368
|
return {
|
|
369
369
|
c() {
|
|
370
|
-
e = S("div"), o && o.c(), a =
|
|
370
|
+
e = S("div"), o && o.c(), a = V(), r.c(), h(e, "class", "CasinoGamesContainer");
|
|
371
371
|
},
|
|
372
372
|
m(m, c) {
|
|
373
373
|
G(m, e, c), o && o.m(e, null), w(e, a), r.m(e, null);
|
|
@@ -391,7 +391,7 @@ function oa(i) {
|
|
|
391
391
|
), u, f;
|
|
392
392
|
return {
|
|
393
393
|
c() {
|
|
394
|
-
e = S("div"), a = S("h3"), t =
|
|
394
|
+
e = S("div"), a = S("h3"), t = T(o), s = V(), r = S("span"), m = T("("), u = T(c), f = T(")"), h(r, "class", "CategoryFavName"), h(a, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
|
|
395
395
|
},
|
|
396
396
|
m(p, b) {
|
|
397
397
|
G(p, e, b), w(e, a), w(a, t), w(a, s), w(a, r), w(r, m), w(r, u), w(r, f), i[59](a);
|
|
@@ -415,7 +415,7 @@ function di(i) {
|
|
|
415
415
|
), o;
|
|
416
416
|
return {
|
|
417
417
|
c() {
|
|
418
|
-
e = S("p"), o =
|
|
418
|
+
e = S("p"), o = T(a);
|
|
419
419
|
},
|
|
420
420
|
m(t, s) {
|
|
421
421
|
G(t, e, s), w(e, o);
|
|
@@ -501,7 +501,7 @@ function ta(i) {
|
|
|
501
501
|
let U = d(i)(i);
|
|
502
502
|
return {
|
|
503
503
|
c() {
|
|
504
|
-
e = S("p"), a = $("svg"), o = $("rect"), t = $("rect"), s = $("circle"), r = $("path"), m = $("path"), c = $("path"), u = $("path"), f =
|
|
504
|
+
e = S("p"), a = $("svg"), o = $("rect"), t = $("rect"), s = $("circle"), r = $("path"), m = $("path"), c = $("path"), u = $("path"), f = V(), p = S("span"), M = T(b), I = V(), U.c(), g = V(), h(o, "x", "1"), h(o, "y", "18.053"), h(o, "width", "90.263"), h(o, "height", "90.263"), h(o, "rx", "12"), h(o, "stroke", "var(--emw--color-gray-150, #828282)"), h(o, "stroke-width", "1.5"), h(t, "x", "106.737"), h(t, "y", "56.737"), h(t, "width", "90.263"), h(t, "height", "90.263"), h(t, "rx", "12"), h(t, "stroke", "var(--emw--color-gray-150, #828282)"), h(t, "stroke-width", "1.5"), h(s, "cx", "70.5"), h(s, "cy", "32.237"), h(s, "r", "31.487"), h(s, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(s, "stroke-width", "1.5"), h(s, "stroke-dasharray", "5 0"), h(r, "d", "M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"), h(r, "fill", "var(--emw--color-gray-150, #828282)"), h(m, "d", "M78 43h11v13H78V43z"), h(m, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(c, "d", "m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"), h(c, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(c, "stroke-linecap", "round"), h(c, "stroke-linejoin", "round"), h(u, "d", "m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"), h(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"), h(u, "stroke-width", "1.5"), h(u, "stroke-linecap", "round"), h(u, "stroke-linejoin", "round"), h(a, "width", "198"), h(a, "height", "148"), h(a, "viewBox", "0 0 198 148"), h(a, "fill", "none"), h(a, "xmlns", "http://www.w3.org/2000/svg"), h(p, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(e, "class", "NoFavoriteGames " + (ve(
|
|
505
505
|
/*userAgent*/
|
|
506
506
|
i[44]
|
|
507
507
|
) ? "NoFavoriteGamesMobile" : ""));
|
|
@@ -526,7 +526,7 @@ function hi(i) {
|
|
|
526
526
|
), o;
|
|
527
527
|
return {
|
|
528
528
|
c() {
|
|
529
|
-
e = S("span"), o =
|
|
529
|
+
e = S("span"), o = T(a), h(e, "class", "NoFavoriteText");
|
|
530
530
|
},
|
|
531
531
|
m(t, s) {
|
|
532
532
|
G(t, e, s), w(e, o);
|
|
@@ -548,7 +548,7 @@ function _i(i) {
|
|
|
548
548
|
), o;
|
|
549
549
|
return {
|
|
550
550
|
c() {
|
|
551
|
-
e = S("span"), o =
|
|
551
|
+
e = S("span"), o = T(a), h(e, "class", "NoFavoriteText");
|
|
552
552
|
},
|
|
553
553
|
m(t, s) {
|
|
554
554
|
G(t, e, s), w(e, o);
|
|
@@ -1248,7 +1248,7 @@ function ca(i) {
|
|
|
1248
1248
|
let u = c(i), f = u(i);
|
|
1249
1249
|
return {
|
|
1250
1250
|
c() {
|
|
1251
|
-
e = S("div"), a = S("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>', o =
|
|
1251
|
+
e = S("div"), a = S("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>', o = V(), t = S("h3"), r = T(s), m = V(), f.c(), h(a, "class", "CategoryIcon"), h(t, "class", "CategoryName"), h(e, "class", "CasinoGamesHeader");
|
|
1252
1252
|
},
|
|
1253
1253
|
m(p, b) {
|
|
1254
1254
|
G(p, e, b), w(e, a), w(e, o), w(e, t), w(t, r), i[55](t), w(e, m), f.m(e, null);
|
|
@@ -1274,7 +1274,7 @@ function wi(i) {
|
|
|
1274
1274
|
);
|
|
1275
1275
|
return {
|
|
1276
1276
|
c() {
|
|
1277
|
-
e = S("div"), t && t.c(), a =
|
|
1277
|
+
e = S("div"), t && t.c(), a = V(), s && s.c(), h(e, "class", o = /*addfilterselector*/
|
|
1278
1278
|
i[1] == "true" && /*usesinglevendorfilter*/
|
|
1279
1279
|
i[22] === "false" && /*addsortingselector*/
|
|
1280
1280
|
i[2] == "true" ? "CategoryFilterContainer" : "SingleOrEmptyCategoryFilterContainer");
|
|
@@ -1307,7 +1307,7 @@ function yi(i) {
|
|
|
1307
1307
|
), m, c, u, f;
|
|
1308
1308
|
return {
|
|
1309
1309
|
c() {
|
|
1310
|
-
e = S("a"), a = S("span"), t =
|
|
1310
|
+
e = S("a"), a = S("span"), t = T(o), s = T(" ("), m = T(r), c = T(")"), h(a, "class", "CategoryLoadMore"), h(e, "class", "CategoryNameLink");
|
|
1311
1311
|
},
|
|
1312
1312
|
m(p, b) {
|
|
1313
1313
|
G(p, e, b), w(e, a), w(a, t), w(a, s), w(a, m), w(a, c), u || (f = xa(
|
|
@@ -1546,7 +1546,7 @@ function ki(i) {
|
|
|
1546
1546
|
), o;
|
|
1547
1547
|
return {
|
|
1548
1548
|
c() {
|
|
1549
|
-
e = S("p"), o =
|
|
1549
|
+
e = S("p"), o = T(a), h(e, "class", "NoSearchResults");
|
|
1550
1550
|
},
|
|
1551
1551
|
m(t, s) {
|
|
1552
1552
|
G(t, e, s), w(e, o);
|
|
@@ -1945,7 +1945,7 @@ function Fi(i) {
|
|
|
1945
1945
|
), o;
|
|
1946
1946
|
return {
|
|
1947
1947
|
c() {
|
|
1948
|
-
e = S("h3"), o =
|
|
1948
|
+
e = S("h3"), o = T(a), h(e, "class", "StatusText");
|
|
1949
1949
|
},
|
|
1950
1950
|
m(t, s) {
|
|
1951
1951
|
G(t, e, s), w(e, o);
|
|
@@ -1967,7 +1967,7 @@ function zi(i) {
|
|
|
1967
1967
|
), o;
|
|
1968
1968
|
return {
|
|
1969
1969
|
c() {
|
|
1970
|
-
e = S("h3"), o =
|
|
1970
|
+
e = S("h3"), o = T(a), h(e, "class", "StatusText");
|
|
1971
1971
|
},
|
|
1972
1972
|
m(t, s) {
|
|
1973
1973
|
G(t, e, s), w(e, o);
|
|
@@ -1989,7 +1989,7 @@ function Mi(i) {
|
|
|
1989
1989
|
), o;
|
|
1990
1990
|
return {
|
|
1991
1991
|
c() {
|
|
1992
|
-
e = S("h3"), o =
|
|
1992
|
+
e = S("h3"), o = T(a), h(e, "class", "StatusText");
|
|
1993
1993
|
},
|
|
1994
1994
|
m(t, s) {
|
|
1995
1995
|
G(t, e, s), w(e, o);
|
|
@@ -2035,7 +2035,7 @@ function Ri(i) {
|
|
|
2035
2035
|
}
|
|
2036
2036
|
return {
|
|
2037
2037
|
c() {
|
|
2038
|
-
s && s.c(), e =
|
|
2038
|
+
s && s.c(), e = V(), a = S("ul");
|
|
2039
2039
|
for (let c = 0; c < o.length; c += 1)
|
|
2040
2040
|
o[c].c();
|
|
2041
2041
|
h(a, "class", "CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap");
|
|
@@ -2068,7 +2068,7 @@ function fa(i) {
|
|
|
2068
2068
|
), o;
|
|
2069
2069
|
return {
|
|
2070
2070
|
c() {
|
|
2071
|
-
e = S("p"), o =
|
|
2071
|
+
e = S("p"), o = T(a), h(e, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (ve(
|
|
2072
2072
|
/*userAgent*/
|
|
2073
2073
|
i[44]
|
|
2074
2074
|
) ? "NoRecentSearchesMobile" : ""));
|
|
@@ -2408,7 +2408,7 @@ let Li = 0;
|
|
|
2408
2408
|
function ji(i, e, a) {
|
|
2409
2409
|
let o;
|
|
2410
2410
|
Ya(i, Ja, (l) => a(43, o = l));
|
|
2411
|
-
let { endpoint: t = "" } = 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: Ee = "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, Se, Ce, W = !0, Ye = window.navigator.userAgent,
|
|
2411
|
+
let { endpoint: t = "" } = 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: Ee = "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, Se, Ce, W = !0, Ye = window.navigator.userAgent, P, 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(), oe = { items: [], count: 0, name: "" };
|
|
2412
2412
|
const va = () => {
|
|
2413
2413
|
fetch(M).then((_) => _.json()).then((_) => {
|
|
2414
2414
|
Object.keys(_).forEach((y) => {
|
|
@@ -2445,7 +2445,7 @@ function ji(i, e, a) {
|
|
|
2445
2445
|
});
|
|
2446
2446
|
} else
|
|
2447
2447
|
N = [];
|
|
2448
|
-
g === "FAVORITES" &&
|
|
2448
|
+
g === "FAVORITES" && Ve(N), y(N);
|
|
2449
2449
|
}).catch((C) => {
|
|
2450
2450
|
console.error(C), E(C);
|
|
2451
2451
|
});
|
|
@@ -2461,8 +2461,8 @@ function ji(i, e, a) {
|
|
|
2461
2461
|
return new Promise((A, R) => {
|
|
2462
2462
|
fetch(y, E).then((C) => C.json()).then((C) => {
|
|
2463
2463
|
if (a(25, Z = !1), N = [], C) {
|
|
2464
|
-
C.items?.forEach((
|
|
2465
|
-
|
|
2464
|
+
C.items?.forEach((H) => {
|
|
2465
|
+
H.gameModel && (N.push(H), O.includes(H.id) || O.push(H.id));
|
|
2466
2466
|
});
|
|
2467
2467
|
const L = Re(N)?.length;
|
|
2468
2468
|
window.postMessage({
|
|
@@ -2471,7 +2471,7 @@ function ji(i, e, a) {
|
|
|
2471
2471
|
});
|
|
2472
2472
|
} else
|
|
2473
2473
|
N = [];
|
|
2474
|
-
g === "FAVORITES" &&
|
|
2474
|
+
g === "FAVORITES" && Ve(N), F.forEach((L) => {
|
|
2475
2475
|
L.isFavorite = B(L.id);
|
|
2476
2476
|
});
|
|
2477
2477
|
let J = F;
|
|
@@ -2485,25 +2485,29 @@ function ji(i, e, a) {
|
|
|
2485
2485
|
const A = Ie.signal;
|
|
2486
2486
|
a(25, Z = !0);
|
|
2487
2487
|
let R = "", C = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), L = JSON.parse(localStorage.getItem("vendorSortingBy"));
|
|
2488
|
-
const
|
|
2488
|
+
const H = Ge === "true" ? "*" : l;
|
|
2489
2489
|
return (l.match(/\$/g) || []).length > 1 ? (R = l.split("$").slice(0, 2).join("$"), C = new URL(`${t}/v1/casino/groups/${s}/${R}/subGroups`)) : C = new URL(`${t}/v1/casino/groups/${s}/${l}`), new Promise((Da, Ua) => {
|
|
2490
|
-
if (C.searchParams.delete("pagination"), C.searchParams.append("expand", "games(vendor)"), C.searchParams.append("fields", "id,name,games"), C.searchParams.append("platform", Za(Ye)), C.searchParams.append("pagination", `games(offset=${_},limit=${y})`), C.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && J[
|
|
2490
|
+
if (C.searchParams.delete("pagination"), C.searchParams.append("expand", "games(vendor)"), C.searchParams.append("fields", "id,name,games"), C.searchParams.append("platform", Za(Ye)), C.searchParams.append("pagination", `games(offset=${_},limit=${y})`), C.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && J[H]?.length)
|
|
2491
2491
|
if (Ge === "true" || W === !1 && ue === !1) {
|
|
2492
|
-
let
|
|
2493
|
-
a(34, Te = !0), J[
|
|
2494
|
-
|
|
2495
|
-
}), C.searchParams.append("filter", `${
|
|
2492
|
+
let j = "";
|
|
2493
|
+
a(34, Te = !0), J[H].forEach((x) => {
|
|
2494
|
+
j = j + (j ? `,games(vendor(id=${x}))` : `games(vendor(id=${x}))`);
|
|
2495
|
+
}), C.searchParams.append("filter", `${j}`);
|
|
2496
2496
|
} else
|
|
2497
2497
|
a(34, Te = !1);
|
|
2498
|
-
L && (L[l] ? L[l] && L[l] != "All" && (L[l] == "isNew" || L[l] == "advancedTags(name(hot))" ? (C.searchParams.append("sortedField", `games(${L[l]})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${L[l]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (C.searchParams.append("sortedField", `games(${ie})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${ie})`))), fetch(C, { signal: A }).then((
|
|
2499
|
-
|
|
2498
|
+
L && (L[l] ? L[l] && L[l] != "All" && (L[l] == "isNew" || L[l] == "advancedTags(name(hot))" ? (C.searchParams.append("sortedField", `games(${L[l]})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${L[l]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (C.searchParams.append("sortedField", `games(${ie})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${ie})`))), fetch(C, { signal: A }).then((j) => {
|
|
2499
|
+
if (!j.ok)
|
|
2500
|
+
throw j.status === 404 && window.postMessage({ type: "NonExistentCategory" }, window.location.origin), new Error(`HTTP ${j.status}`);
|
|
2501
|
+
return j.json();
|
|
2502
|
+
}).then((j) => {
|
|
2503
|
+
A.aborted || (a(25, Z = !1), (l.match(/\$/g) || []).length > 1 && (j = j.items.filter((x) => {
|
|
2500
2504
|
if (x.id == l)
|
|
2501
2505
|
return x;
|
|
2502
|
-
})[0]), a(54, Oe = !0), a(26, je = !1), De =
|
|
2506
|
+
})[0]), a(54, Oe = !0), a(26, je = !1), De = j.games.total, E && j.games.items.forEach((x) => {
|
|
2503
2507
|
x.isFavorite = B(x.id);
|
|
2504
|
-
}), a(36, ce = !0), Da(
|
|
2505
|
-
}).catch((
|
|
2506
|
-
|
|
2508
|
+
}), a(36, ce = !0), Da(j));
|
|
2509
|
+
}).catch((j) => {
|
|
2510
|
+
j.name !== "AbortError" && (a(26, je = !0), console.error(j), Ua(j));
|
|
2507
2511
|
}).finally(() => {
|
|
2508
2512
|
wa();
|
|
2509
2513
|
});
|
|
@@ -2521,15 +2525,15 @@ function ji(i, e, a) {
|
|
|
2521
2525
|
l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
|
|
2522
2526
|
}, ya = (l, _, y) => {
|
|
2523
2527
|
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((E) => {
|
|
2524
|
-
a(28,
|
|
2528
|
+
a(28, P = E), a(29, F = P.games.items), F && F.forEach((A) => {
|
|
2525
2529
|
A.isFavorite = B(A.id);
|
|
2526
2530
|
});
|
|
2527
2531
|
}));
|
|
2528
|
-
},
|
|
2532
|
+
}, He = (l) => {
|
|
2529
2533
|
if (l.data)
|
|
2530
2534
|
switch (l.data.type) {
|
|
2531
2535
|
case "MostPlayedData":
|
|
2532
|
-
g == "MOSTPLAYED" && (a(31, Y = !1), a(27, W = !1), a(30, Q = !1), a(29, F = l.data.mostPlayedGames), a(28,
|
|
2536
|
+
g == "MOSTPLAYED" && (a(31, Y = !1), a(27, W = !1), a(30, Q = !1), a(29, F = l.data.mostPlayedGames), a(28, P = {
|
|
2533
2537
|
id: "MOSTPLAYED",
|
|
2534
2538
|
name: "Most Played Games",
|
|
2535
2539
|
games: {
|
|
@@ -2542,7 +2546,7 @@ function ji(i, e, a) {
|
|
|
2542
2546
|
})), a(25, Z = !1);
|
|
2543
2547
|
break;
|
|
2544
2548
|
case "LastPlayedData":
|
|
2545
|
-
g == "LASTPLAYED" && (a(31, Y = !1), a(27, W = !1), a(30, Q = !1), a(29, F = l.data.lastPlayedGames), a(28,
|
|
2549
|
+
g == "LASTPLAYED" && (a(31, Y = !1), a(27, W = !1), a(30, Q = !1), a(29, F = l.data.lastPlayedGames), a(28, P = {
|
|
2546
2550
|
id: "LASTPLAYED",
|
|
2547
2551
|
name: "Last Played Games",
|
|
2548
2552
|
games: {
|
|
@@ -2569,7 +2573,7 @@ function ji(i, e, a) {
|
|
|
2569
2573
|
break;
|
|
2570
2574
|
case `CategoryData_${g}`:
|
|
2571
2575
|
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((_) => {
|
|
2572
|
-
a(28,
|
|
2576
|
+
a(28, P = _), a(29, F = P.games.items), a(30, Q = !!(De <= l.data.visiblegames && W)), F && F.forEach((y) => {
|
|
2573
2577
|
y.isFavorite = B(y.id);
|
|
2574
2578
|
});
|
|
2575
2579
|
});
|
|
@@ -2579,7 +2583,7 @@ function ji(i, e, a) {
|
|
|
2579
2583
|
break;
|
|
2580
2584
|
case "ApplySorter":
|
|
2581
2585
|
a(0, g = l.data.itemId), ie = l.data.sortBy, _e(g, 0, ae).then((_) => {
|
|
2582
|
-
a(28,
|
|
2586
|
+
a(28, P = _), a(29, F = P.games.items), a(30, Q = !1);
|
|
2583
2587
|
});
|
|
2584
2588
|
break;
|
|
2585
2589
|
case "CategoryUpdate":
|
|
@@ -2600,7 +2604,7 @@ function ji(i, e, a) {
|
|
|
2600
2604
|
}
|
|
2601
2605
|
}, Xe = (l, _ = !1) => {
|
|
2602
2606
|
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) => {
|
|
2603
|
-
a(28,
|
|
2607
|
+
a(28, P = y), a(29, F = P.games.items);
|
|
2604
2608
|
}).finally(
|
|
2605
2609
|
/*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
|
|
2606
2610
|
if (shownCategoryData.length < 10 && e.data.origin ==! 'filters') {
|
|
@@ -2621,7 +2625,7 @@ function ji(i, e, a) {
|
|
|
2621
2625
|
}
|
|
2622
2626
|
));
|
|
2623
2627
|
}, ka = () => {
|
|
2624
|
-
|
|
2628
|
+
P && (a(29, F = P.games.items), F.forEach((l) => {
|
|
2625
2629
|
l.isFavorite = B(l.id);
|
|
2626
2630
|
}));
|
|
2627
2631
|
}, B = (l) => N?.some((_) => _.id === l) ?? !1;
|
|
@@ -2676,10 +2680,10 @@ function ji(i, e, a) {
|
|
|
2676
2680
|
g === "FAVORITES" && (window.postMessage({
|
|
2677
2681
|
type: "UpdateFavoritesCount",
|
|
2678
2682
|
favoriteGamesLength: A
|
|
2679
|
-
}),
|
|
2683
|
+
}), Ve(N));
|
|
2680
2684
|
}).catch((E) => {
|
|
2681
2685
|
console.error(E);
|
|
2682
|
-
}),
|
|
2686
|
+
}), Ve = (l) => {
|
|
2683
2687
|
if (!l)
|
|
2684
2688
|
return;
|
|
2685
2689
|
let _;
|
|
@@ -2688,7 +2692,7 @@ function ji(i, e, a) {
|
|
|
2688
2692
|
}), a(42, oe.items = Re(_, oe.items), oe), a(42, oe.name = "Favorites", oe), a(25, Z = !1);
|
|
2689
2693
|
}, Ca = (l) => {
|
|
2690
2694
|
ae += 1, a(36, ce = !0), ae <= De && _e(l, Li, ae).then((_) => {
|
|
2691
|
-
a(28,
|
|
2695
|
+
a(28, P = _), P.games.items.length > F.length && (a(29, F = P.games.items), F.forEach((y) => {
|
|
2692
2696
|
y.isFavorite = B(y.id);
|
|
2693
2697
|
})), a(36, ce = !1);
|
|
2694
2698
|
});
|
|
@@ -2699,8 +2703,8 @@ function ji(i, e, a) {
|
|
|
2699
2703
|
let y = "", E = 999999999999, A;
|
|
2700
2704
|
const R = new Date(Date.now());
|
|
2701
2705
|
return _.forEach((C, J) => {
|
|
2702
|
-
const L = new Date(C.schedules[0].startTime),
|
|
2703
|
-
xe(new Date(
|
|
2706
|
+
const L = new Date(C.schedules[0].startTime), H = new Date(C.schedules[0].endTime);
|
|
2707
|
+
xe(new Date(H), new Date(R)) < E && (E = xe(new Date(H), new Date(R)), A = J), ni(new Date(R), new Date(L)) && oi(new Date(R), new Date(H)) && (y = _[A].name);
|
|
2704
2708
|
}), y;
|
|
2705
2709
|
}, Qe = (l) => {
|
|
2706
2710
|
a(30, Q = !1), window.postMessage(
|
|
@@ -2737,15 +2741,15 @@ function ji(i, e, a) {
|
|
|
2737
2741
|
};
|
|
2738
2742
|
Ka(() => {
|
|
2739
2743
|
Je?.disconnect();
|
|
2740
|
-
}), Xa(() => (window.addEventListener("visibilitychange", (l) => Ma()), window.addEventListener("message",
|
|
2741
|
-
window.removeEventListener("message",
|
|
2744
|
+
}), Xa(() => (window.addEventListener("visibilitychange", (l) => Ma()), window.addEventListener("message", He, !1), () => {
|
|
2745
|
+
window.removeEventListener("message", He), window.removeEventListener("visibilitychange", He);
|
|
2742
2746
|
}));
|
|
2743
2747
|
function Ea(l) {
|
|
2744
2748
|
te[l ? "unshift" : "push"](() => {
|
|
2745
2749
|
de = l, a(38, de);
|
|
2746
2750
|
});
|
|
2747
2751
|
}
|
|
2748
|
-
const Aa = (l) => Qe(
|
|
2752
|
+
const Aa = (l) => Qe(P.id);
|
|
2749
2753
|
function Na(l, _) {
|
|
2750
2754
|
te[l ? "unshift" : "push"](() => {
|
|
2751
2755
|
fe[_] = l, a(24, fe);
|
|
@@ -2815,7 +2819,7 @@ function ji(i, e, a) {
|
|
|
2815
2819
|
Z,
|
|
2816
2820
|
je,
|
|
2817
2821
|
W,
|
|
2818
|
-
|
|
2822
|
+
P,
|
|
2819
2823
|
F,
|
|
2820
2824
|
Q,
|
|
2821
2825
|
Y,
|
|
@@ -2851,9 +2855,9 @@ function ji(i, e, a) {
|
|
|
2851
2855
|
Pa
|
|
2852
2856
|
];
|
|
2853
2857
|
}
|
|
2854
|
-
class Ti extends
|
|
2858
|
+
class Ti extends Ha {
|
|
2855
2859
|
constructor(e) {
|
|
2856
|
-
super(),
|
|
2860
|
+
super(), Va(
|
|
2857
2861
|
this,
|
|
2858
2862
|
e,
|
|
2859
2863
|
ji,
|
package/components/{CasinoLastPlayedSectionNd-CeZMPmWd.cjs → CasinoLastPlayedSectionNd-DETedKd6.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CMBPy1pJ.cjs");require("../lazy/casino-games-category-section-nd-Cp7zYNK8.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{mbsource:h}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:P=""}=e,{favorites:N=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent,F=!1,k=[],O,g;const J=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",q),m.searchParams.append("limit",S),m.searchParams.append("order",C),m.searchParams.append("period",L),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=w?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{k=m.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(k=k.slice(0,JSON.parse(P))),window.postMessage({type:"LastPlayedData",lastPlayedGames:k},window.location.href)})}else a(20,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"mbsource"in s&&a(6,h=s.mbsource),"clientstyling"in s&&a(7,y=s.clientstyling),"clientstylingurl"in s&&a(8,b=s.clientstylingurl),"translationurl"in s&&a(9,v=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,D=s.showgamename),"visiblegames"in s&&a(15,P=s.visiblegames),"favorites"in s&&a(16,N=s.favorites),"lastplayedperiod"in s&&a(22,L=s.lastplayedperiod),"lastplayedorder"in s&&a(23,C=s.lastplayedorder),"lastplayedlimit"in s&&a(24,S=s.lastplayedlimit),"casinomygames"in s&&a(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&512&&v&&J(),n.$$.dirty[0]&524416&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&524544&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&524352&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,w,R,A,M,D,P,N,j,E,g,F,i,L,C,S,q,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=Y;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CMBPy1pJ.cjs");require("../lazy/casino-games-category-section-nd-DuGfcN3H.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{mbsource:h}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:P=""}=e,{favorites:N=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent,F=!1,k=[],O,g;const J=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",q),m.searchParams.append("limit",S),m.searchParams.append("order",C),m.searchParams.append("period",L),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=w?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{k=m.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(k=k.slice(0,JSON.parse(P))),window.postMessage({type:"LastPlayedData",lastPlayedGames:k},window.location.href)})}else a(20,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"mbsource"in s&&a(6,h=s.mbsource),"clientstyling"in s&&a(7,y=s.clientstyling),"clientstylingurl"in s&&a(8,b=s.clientstylingurl),"translationurl"in s&&a(9,v=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,D=s.showgamename),"visiblegames"in s&&a(15,P=s.visiblegames),"favorites"in s&&a(16,N=s.favorites),"lastplayedperiod"in s&&a(22,L=s.lastplayedperiod),"lastplayedorder"in s&&a(23,C=s.lastplayedorder),"lastplayedlimit"in s&&a(24,S=s.lastplayedlimit),"casinomygames"in s&&a(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&512&&v&&J(),n.$$.dirty[0]&524416&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&524544&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&524352&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,w,R,A,M,D,P,N,j,E,g,F,i,L,C,S,q,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=Y;
|
package/components/{CasinoLastPlayedSectionNd-C3GzrdJm.js → CasinoLastPlayedSectionNd-DleJRFgh.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as D, h as M, q as Z, j as P, u as A, k as le, l as re, o as oe, D as ue, p as ce, r as me, F as i, P as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-CVV5rh8D.js";
|
|
2
|
-
import "../lazy/casino-games-category-section-nd-
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-DbalynUi.js";
|
|
3
3
|
function K(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
package/components/{CasinoLastPlayedSectionNd-BHODuapK.js → CasinoLastPlayedSectionNd-EbdmtRQD.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as P, r as A, k as le, o as re, C as oe, m as ue, q as ce, E as i, P as me, H as ge, I as de, J as fe, K as he, L as ye } from "./CasinoCalendar-Dvq0s7Wu.js";
|
|
2
|
-
import "../lazy/casino-games-category-section-nd-
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-DAskRFxD.js";
|
|
3
3
|
function K(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
package/components/{CasinoMostPlayedSectionNd-D4e0bYIb.cjs → CasinoMostPlayedSectionNd-BTm1S4qi.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CMBPy1pJ.cjs");require("../lazy/casino-games-category-section-nd-Cp7zYNK8.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CMBPy1pJ.cjs");require("../lazy/casino-games-category-section-nd-DuGfcN3H.cjs");function U(n,e){t.addMessages(n,e)}function V(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function W(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function Z(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function p(n){let e,a;function i(r,u){return r[20]?Z:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){o===(o=i(r))&&l?l.p(r,u):(l.d(1),l=o(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:L="false"}=e,{gamepagemodalurl:A="false"}=e,{showgamename:O=""}=e,{visiblegames:N}=e,{favorites:E=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],D,T=!1,c;const Y=s=>{let m=new URL(`${o}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),D=w?m:m.href,new Promise((g,f)=>{fetch(D).then(_=>_.json()).then(_=>{_.items=_.items.filter(Q=>{let R=!0;return Q.gameCode=="OddsMatrix2"&&(_.count--,R=!1),R}),g(_)}).catch(_=>{console.error(_),f(_)})})},B=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${o}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",l),w?m.push(fetch(g.href).then(f=>f.json())):m.push(fetch(g.href).then(f=>f.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},H=()=>{V(u)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,L=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,A=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&u&&B(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&H()},[o,l,r,u,j,h,y,b,v,w,M,L,A,O,N,E,G,P,F,c,T,i,C,S,K]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,p,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
|
package/components/{CasinoMostPlayedSectionNd-D-baP__d.js → CasinoMostPlayedSectionNd-DJnTw9tl.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as H, d as A, h as E, p as B, j as P, r as M, k as ie, o as oe, P as le, C as re, m as me, q as ge, E as n, H as ce, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-Dvq0s7Wu.js";
|
|
2
|
-
import "../lazy/casino-games-category-section-nd-
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-DAskRFxD.js";
|
|
3
3
|
function K(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
package/components/{CasinoMostPlayedSectionNd-Dd_xRXHP.js → CasinoMostPlayedSectionNd-DtfFL-VZ.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as $, $ as ee, S as te, i as se, s as ae, f as l, b as ne, n as K, d as A, h as F, q as H, j as P, u as M, k as ie, l as oe, o as le, P as re, D as me, p as ge, r as ce, F as n, I as ue, J as de, K as fe, L as he } from "./CasinoCalendar-CVV5rh8D.js";
|
|
2
|
-
import "../lazy/casino-games-category-section-nd-
|
|
2
|
+
import "../lazy/casino-games-category-section-nd-DbalynUi.js";
|
|
3
3
|
function Y(a, e) {
|
|
4
4
|
$(a, e);
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { $ as R, O as ce, a as ve, S as he, i as be, s as pe, f as g, b as Pe, n as $, d as F, h as G, j as _, k as _e, o as Me, l as we, C as ke, v as ee, w as Fe, E as a, R as A, r as M, p as b, B as C, T as Ge, m as H, A as U, q as B, H as Le, I as Ce, J as Ae, K as Be, L as je } from "./CasinoCalendar-Dvq0s7Wu.js";
|
|
2
|
-
import "../lazy/casino-favorites-section-nd-
|
|
3
|
-
import "../lazy/casino-last-played-section-nd-
|
|
4
|
-
import "../lazy/casino-most-played-section-nd-
|
|
2
|
+
import "../lazy/casino-favorites-section-nd-SEYIu67i.js";
|
|
3
|
+
import "../lazy/casino-last-played-section-nd-CiFgD9YY.js";
|
|
4
|
+
import "../lazy/casino-most-played-section-nd-BSsPZpOH.js";
|
|
5
5
|
function Oe({ withLocale: s, translations: e }) {
|
|
6
6
|
R.subscribe((r) => {
|
|
7
7
|
r == null && (ce.set(e), R.set(s));
|