@everymatrix/casino-most-played-section 1.77.6 → 1.77.8
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/{CasinoGamesCategorySection-Cc7hl5AI.cjs → CasinoGamesCategorySection-CQAnErlc.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-BOscWywQ.js → CasinoGamesCategorySection-xN84Ahmx.js} +87 -87
- package/components/{CasinoGamesCategorySection-DcseqNPT.js → CasinoGamesCategorySection-yAGTY2-u.js} +49 -49
- package/components/{CasinoMostPlayedSection-B2Ud_MfY.js → CasinoMostPlayedSection-BTiurshs.js} +1 -1
- package/components/{CasinoMostPlayedSection-F8WWR35n.cjs → CasinoMostPlayedSection-BuZmf47i.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-Ceik-Y1y.js → CasinoMostPlayedSection-xFO_UBEb.js} +1 -1
- package/es2015/casino-most-played-section.cjs +1 -1
- package/es2015/casino-most-played-section.js +1 -1
- package/esnext/casino-most-played-section.js +1 -1
- package/package.json +1 -1
package/components/{CasinoGamesCategorySection-DcseqNPT.js → CasinoGamesCategorySection-yAGTY2-u.js}
RENAMED
@@ -2527,7 +2527,7 @@ let Ai = 0;
|
|
2527
2527
|
function Ri(i, e, a) {
|
2528
2528
|
let n;
|
2529
2529
|
Ka(i, ti, (l) => a(43, n = l));
|
2530
|
-
let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: G = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: T = "true" } = e, { integratedgameframedesktop: R = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: q = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: Ke = "" } = e, { casinogamesgridslider: Xe = "false" } = e, { fetchviaevent: me = "false" } = e, { showallpage: Ae = "casino" } = e, { actionevent: Re = "CategoryChange" } = e, { displayedgamecount: ke = "10" } = e, { showallbuttongamescount: ye = "10" } = e, { mbsource: Te } = e, { lobbyscreen: Pe = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: De = "10" } = e, x = !0, Ue = !1, Fe, Ge, X = !0, Ze = window.navigator.userAgent,
|
2530
|
+
let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: G = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: T = "true" } = e, { integratedgameframedesktop: R = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: q = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: Ke = "" } = e, { casinogamesgridslider: Xe = "false" } = e, { fetchviaevent: me = "false" } = e, { showallpage: Ae = "casino" } = e, { actionevent: Re = "CategoryChange" } = e, { displayedgamecount: ke = "10" } = e, { showallbuttongamescount: ye = "10" } = e, { mbsource: Te } = e, { lobbyscreen: Pe = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: De = "10" } = e, x = !0, Ue = !1, Fe, Ge, X = !0, Ze = window.navigator.userAgent, j, M = [], $ = !0, ne = 40, Z = !1, Ce = !1, ue = !1, Oe = !1, Be = !0, oe = !1, ce, He, fe, ge = !1, Y, Me = !1, de = new Array(1e4), he = {}, Ve = "", te = "", ze, qe, L, H = [], Ee = new AbortController(), se = { items: [], count: 0, name: "" };
|
2531
2531
|
const ka = () => {
|
2532
2532
|
fetch(G).then((_) => _.json()).then((_) => {
|
2533
2533
|
Object.keys(_).forEach((w) => {
|
@@ -2553,49 +2553,49 @@ function Ri(i, e, a) {
|
|
2553
2553
|
method: "GET",
|
2554
2554
|
headers: { "X-SessionID": l }
|
2555
2555
|
};
|
2556
|
-
return new Promise((
|
2556
|
+
return new Promise((I, A) => {
|
2557
2557
|
fetch(w, E).then((k) => k.json()).then((k) => {
|
2558
2558
|
var D;
|
2559
|
-
if (a(25, x = !1),
|
2559
|
+
if (a(25, x = !1), L = [], k) {
|
2560
2560
|
k.items.forEach((W) => {
|
2561
|
-
W.gameModel && (
|
2561
|
+
W.gameModel && (L.push(W), H.includes(W.id) || H.push(W.id));
|
2562
2562
|
});
|
2563
|
-
const B = (D = je(
|
2563
|
+
const B = (D = je(L)) == null ? void 0 : D.length;
|
2564
2564
|
window.postMessage({
|
2565
2565
|
type: "UpdateFavoritesCount",
|
2566
2566
|
favoriteGamesLength: B
|
2567
2567
|
});
|
2568
2568
|
} else
|
2569
|
-
|
2570
|
-
v === "FAVORITES" && Je(
|
2569
|
+
L = [];
|
2570
|
+
v === "FAVORITES" && Je(L), M.forEach((B) => {
|
2571
2571
|
B.isFavorite = V(B.id);
|
2572
2572
|
});
|
2573
2573
|
let J = M;
|
2574
|
-
a(29, M = void 0), a(29, M = J), L
|
2574
|
+
a(29, M = void 0), a(29, M = J), I(L);
|
2575
2575
|
}).catch((k) => {
|
2576
2576
|
console.error(k), A(k);
|
2577
2577
|
});
|
2578
2578
|
});
|
2579
2579
|
}, ya = (l, _) => new Promise((w, E) => {
|
2580
2580
|
if (l && _) {
|
2581
|
-
let
|
2582
|
-
fetch(
|
2581
|
+
let I = `${o}/v1/player/${_}/favorites/`;
|
2582
|
+
fetch(I, {
|
2583
2583
|
method: "GET",
|
2584
2584
|
headers: { "X-SessionID": l }
|
2585
2585
|
}).then((k) => k.json()).then((k) => {
|
2586
2586
|
var J, D;
|
2587
|
-
if (
|
2587
|
+
if (L = [], k) {
|
2588
2588
|
(J = k.items) == null || J.forEach((W) => {
|
2589
|
-
W.gameModel && (
|
2589
|
+
W.gameModel && (L.push(W), H.includes(W.id) || H.push(W.id));
|
2590
2590
|
});
|
2591
|
-
const B = (D = je(
|
2591
|
+
const B = (D = je(L)) == null ? void 0 : D.length;
|
2592
2592
|
window.postMessage({
|
2593
2593
|
type: "UpdateFavoritesCount",
|
2594
2594
|
favoriteGamesLength: B
|
2595
2595
|
});
|
2596
2596
|
} else
|
2597
|
-
|
2598
|
-
v === "FAVORITES" && Je(
|
2597
|
+
L = [];
|
2598
|
+
v === "FAVORITES" && Je(L), w(L);
|
2599
2599
|
}).catch((k) => {
|
2600
2600
|
console.error(k), E(k);
|
2601
2601
|
});
|
@@ -2603,7 +2603,7 @@ function Ri(i, e, a) {
|
|
2603
2603
|
w([]);
|
2604
2604
|
}), Qe = (l, _, w, E) => {
|
2605
2605
|
Ee && Ee.abort(), Ee = new AbortController();
|
2606
|
-
const
|
2606
|
+
const I = Ee.signal;
|
2607
2607
|
oe && a(25, x = !0);
|
2608
2608
|
let A = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), D = JSON.parse(localStorage.getItem("vendorSortingBy"));
|
2609
2609
|
const B = Se === "true" ? "*" : l;
|
@@ -2617,8 +2617,8 @@ function Ri(i, e, a) {
|
|
2617
2617
|
}), k.searchParams.append("filter", `${U}`);
|
2618
2618
|
} else
|
2619
2619
|
a(34, Oe = !1);
|
2620
|
-
D && (D[l] ? D[l] && D[l] != "All" && (D[l] == "isNew" || D[l] == "advancedTags(name(hot))" ? (k.searchParams.append("sortedField", `games(${D[l]})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${D[l]})`)) : te && te != "All" && (te == "advancedTags(name(hot))" || te == "isNew" ? (k.searchParams.append("sortedField", `games(${te})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${te})`))), fetch(k, { signal:
|
2621
|
-
|
2620
|
+
D && (D[l] ? D[l] && D[l] != "All" && (D[l] == "isNew" || D[l] == "advancedTags(name(hot))" ? (k.searchParams.append("sortedField", `games(${D[l]})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${D[l]})`)) : te && te != "All" && (te == "advancedTags(name(hot))" || te == "isNew" ? (k.searchParams.append("sortedField", `games(${te})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${te})`))), fetch(k, { signal: I }).then((U) => U.json()).then((U) => {
|
2621
|
+
I.aborted || (a(25, x = !1), (l.match(/\$/g) || []).length > 1 && (U = U.items.filter((ee) => {
|
2622
2622
|
if (ee.id == l)
|
2623
2623
|
return ee;
|
2624
2624
|
})[0]), a(54, qe = !0), a(26, Ue = !1), He = U.games.total, E && U.games.items.forEach((ee) => {
|
@@ -2630,7 +2630,7 @@ function Ri(i, e, a) {
|
|
2630
2630
|
Sa();
|
2631
2631
|
});
|
2632
2632
|
});
|
2633
|
-
}, _e = (l, _, w) => new Promise((E,
|
2633
|
+
}, _e = (l, _, w) => new Promise((E, I) => {
|
2634
2634
|
f == "true" ? ya(m, u).then((A) => {
|
2635
2635
|
Qe(l, _, w, A).then((k) => {
|
2636
2636
|
E(k);
|
@@ -2643,15 +2643,15 @@ function Ri(i, e, a) {
|
|
2643
2643
|
l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
|
2644
2644
|
}, Fa = (l, _, w) => {
|
2645
2645
|
l !== "" && (a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, ue = !1), Me = !1, a(30, $ = +_ > +w), _e(l, 0, +_).then((E) => {
|
2646
|
-
a(28,
|
2647
|
-
|
2646
|
+
a(28, j = E), a(29, M = j.games.items), M && M.forEach((I) => {
|
2647
|
+
I.isFavorite = V(I.id);
|
2648
2648
|
});
|
2649
2649
|
}));
|
2650
2650
|
}, Ye = (l) => {
|
2651
2651
|
if (l.data)
|
2652
2652
|
switch (l.data.type) {
|
2653
2653
|
case "MostPlayedData":
|
2654
|
-
v == "MOSTPLAYED" && (a(31, Z = !1), a(27, X = !1), a(30, $ = !1), a(29, M = l.data.mostPlayedGames), a(28,
|
2654
|
+
v == "MOSTPLAYED" && (a(31, Z = !1), a(27, X = !1), a(30, $ = !1), a(29, M = l.data.mostPlayedGames), a(28, j = {
|
2655
2655
|
id: "MOSTPLAYED",
|
2656
2656
|
name: "Most Played Games",
|
2657
2657
|
games: {
|
@@ -2664,7 +2664,7 @@ function Ri(i, e, a) {
|
|
2664
2664
|
})), a(25, x = !1);
|
2665
2665
|
break;
|
2666
2666
|
case "LastPlayedData":
|
2667
|
-
v == "LASTPLAYED" && (a(31, Z = !1), a(27, X = !1), a(30, $ = !1), a(29, M = l.data.lastPlayedGames), a(28,
|
2667
|
+
v == "LASTPLAYED" && (a(31, Z = !1), a(27, X = !1), a(30, $ = !1), a(29, M = l.data.lastPlayedGames), a(28, j = {
|
2668
2668
|
id: "LASTPLAYED",
|
2669
2669
|
name: "Last Played Games",
|
2670
2670
|
games: {
|
@@ -2685,13 +2685,13 @@ function Ri(i, e, a) {
|
|
2685
2685
|
a(31, Z = !1), a(32, Ce = !1);
|
2686
2686
|
break;
|
2687
2687
|
case "SearchData":
|
2688
|
-
a(31, Z = !0), a(32, Ce = !1), a(29, M = l.data.searchData.items || []), a(33, ue = !0), l.data.receivedFavoriteResults && (
|
2688
|
+
a(31, Z = !0), a(32, Ce = !1), a(29, M = l.data.searchData.items || []), a(33, ue = !0), l.data.receivedFavoriteResults && (L = l.data.receivedFavoriteResults.items), M && M.forEach((_) => {
|
2689
2689
|
_.isFavorite = V(_.id);
|
2690
2690
|
});
|
2691
2691
|
break;
|
2692
2692
|
case `CategoryData_${v}`:
|
2693
2693
|
a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, ue = !1), Me = !1, _e(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
|
2694
|
-
a(28,
|
2694
|
+
a(28, j = _), a(29, M = j.games.items), a(30, $ = !!(He <= l.data.visiblegames && X)), M && M.forEach((w) => {
|
2695
2695
|
w.isFavorite = V(w.id);
|
2696
2696
|
});
|
2697
2697
|
});
|
@@ -2701,7 +2701,7 @@ function Ri(i, e, a) {
|
|
2701
2701
|
break;
|
2702
2702
|
case "ApplySorter":
|
2703
2703
|
a(0, v = l.data.itemId), te = l.data.sortBy, _e(v, 0, ne).then((_) => {
|
2704
|
-
a(28,
|
2704
|
+
a(28, j = _), a(29, M = j.games.items), a(30, $ = !1);
|
2705
2705
|
});
|
2706
2706
|
break;
|
2707
2707
|
case "CategoryUpdate":
|
@@ -2720,12 +2720,12 @@ function Ri(i, e, a) {
|
|
2720
2720
|
v === "FAVORITES" && $e(l.data.url, l.data.sessionID);
|
2721
2721
|
break;
|
2722
2722
|
}
|
2723
|
-
}, xe = (l) => {
|
2724
|
-
a(31, Z = !1), a(27, X = Pe === "true"), a(33, ue = !1), Me = !0, a(36, oe = !1), a(0, v = l), v !== "MOSTPLAYED" && a(30, $ = !1), q !== "true" && (!
|
2725
|
-
var
|
2726
|
-
a(28,
|
2727
|
-
|
2728
|
-
}), a(29, M =
|
2723
|
+
}, xe = (l, _ = !1) => {
|
2724
|
+
a(31, Z = !1), a(27, X = Pe === "true"), a(33, ue = !1), Me = !0, a(36, oe = !1), a(0, v = l), v !== "MOSTPLAYED" && !_ && a(30, $ = !1), q !== "true" && (!L && m && We(m, u), _e(v, 0, ne).then((w) => {
|
2725
|
+
var E;
|
2726
|
+
a(28, j = w), (E = j == null ? void 0 : j.games) == null || E.items.forEach((I) => {
|
2727
|
+
I.isFavorite = V(I.id);
|
2728
|
+
}), a(29, M = j == null ? void 0 : j.games.items);
|
2729
2729
|
}).finally(
|
2730
2730
|
/*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
|
2731
2731
|
if (shownCategoryData?.length < 10 && e.data.origin ==! 'filters') {
|
@@ -2746,16 +2746,16 @@ function Ri(i, e, a) {
|
|
2746
2746
|
}
|
2747
2747
|
));
|
2748
2748
|
}, Ga = () => {
|
2749
|
-
|
2749
|
+
j && (a(29, M = j.games.items), M.forEach((l) => {
|
2750
2750
|
l.isFavorite = V(l.id);
|
2751
2751
|
}));
|
2752
2752
|
}, V = (l) => {
|
2753
2753
|
var _;
|
2754
|
-
return (_ =
|
2754
|
+
return (_ = L == null ? void 0 : L.some((w) => w.id === l)) != null ? _ : !1;
|
2755
2755
|
};
|
2756
2756
|
let Ca = (l, _, w) => Ie(this, null, function* () {
|
2757
2757
|
yield $e(l, _), H.includes(w) || H.push(w);
|
2758
|
-
let
|
2758
|
+
let I = {
|
2759
2759
|
method: "POST",
|
2760
2760
|
headers: {
|
2761
2761
|
"X-SessionID": _,
|
@@ -2764,7 +2764,7 @@ function Ri(i, e, a) {
|
|
2764
2764
|
},
|
2765
2765
|
body: JSON.stringify({ items: H })
|
2766
2766
|
};
|
2767
|
-
fetch(l,
|
2767
|
+
fetch(l, I).then((A) => A.json()).then(() => {
|
2768
2768
|
window.postMessage({ type: `AddFavoriteThumbnail_${w}` }, window.location.href), window.postMessage({
|
2769
2769
|
type: "UpdateFavoredList",
|
2770
2770
|
url: l,
|
@@ -2779,7 +2779,7 @@ function Ri(i, e, a) {
|
|
2779
2779
|
method: "DELETE",
|
2780
2780
|
headers: { "X-SessionID": _ }
|
2781
2781
|
};
|
2782
|
-
fetch(`${l}/${w}`, E).then((
|
2782
|
+
fetch(`${l}/${w}`, E).then((I) => I.json()).then(() => {
|
2783
2783
|
window.postMessage(
|
2784
2784
|
{
|
2785
2785
|
type: `RemoveFavoriteThumbnail_${w}`
|
@@ -2790,23 +2790,23 @@ function Ri(i, e, a) {
|
|
2790
2790
|
url: l,
|
2791
2791
|
sessionID: _
|
2792
2792
|
});
|
2793
|
-
}), H.includes(w) && (H = H.filter((
|
2793
|
+
}), H.includes(w) && (H = H.filter((I) => I != w));
|
2794
2794
|
}, $e = (l, _) => Ie(this, null, function* () {
|
2795
2795
|
return fetch(l, {
|
2796
2796
|
method: "GET",
|
2797
2797
|
headers: { "X-SessionID": _ }
|
2798
2798
|
}).then((E) => E.json()).then((E) => {
|
2799
2799
|
var A;
|
2800
|
-
|
2800
|
+
L = E.items, me ? (L.forEach((k) => {
|
2801
2801
|
H.includes(k.id) || H.push(k.id);
|
2802
|
-
}), Ga()) :
|
2802
|
+
}), Ga()) : L.forEach((k) => {
|
2803
2803
|
k.isFavorite = V(k.id);
|
2804
2804
|
});
|
2805
|
-
const
|
2805
|
+
const I = (A = je(L)) == null ? void 0 : A.length;
|
2806
2806
|
v === "FAVORITES" && (window.postMessage({
|
2807
2807
|
type: "UpdateFavoritesCount",
|
2808
|
-
favoriteGamesLength:
|
2809
|
-
}), Je(
|
2808
|
+
favoriteGamesLength: I
|
2809
|
+
}), Je(L));
|
2810
2810
|
}).catch((E) => {
|
2811
2811
|
console.error(E);
|
2812
2812
|
});
|
@@ -2819,7 +2819,7 @@ function Ri(i, e, a) {
|
|
2819
2819
|
}), a(42, se.items = je(_, se.items), se), a(42, se.name = "Favorites", se), a(25, x = !1);
|
2820
2820
|
}, za = (l) => {
|
2821
2821
|
ne += 1, a(36, oe = !0), ne <= He && _e(l, Ai, ne).then((_) => {
|
2822
|
-
a(28,
|
2822
|
+
a(28, j = _), j.games.items.length > M.length && (a(29, M = j.games.items), M.forEach((w) => {
|
2823
2823
|
w.isFavorite = V(w.id);
|
2824
2824
|
})), a(36, oe = !1);
|
2825
2825
|
});
|
@@ -2827,11 +2827,11 @@ function Ri(i, e, a) {
|
|
2827
2827
|
const _ = l != null ? l : [];
|
2828
2828
|
if ((_ == null ? void 0 : _.length) === 0)
|
2829
2829
|
return "";
|
2830
|
-
let w = "", E = 999999999999,
|
2830
|
+
let w = "", E = 999999999999, I;
|
2831
2831
|
const A = new Date(Date.now());
|
2832
2832
|
return _.forEach((k, J) => {
|
2833
2833
|
const D = new Date(k.schedules[0].startTime), B = new Date(k.schedules[0].endTime);
|
2834
|
-
Le(B).diff(A) < E && (E = Le(B).diff(A),
|
2834
|
+
Le(B).diff(A) < E && (E = Le(B).diff(A), I = J), Le(A).isAfter(D) && Le(A).isBefore(B) && (w = _[I].name);
|
2835
2835
|
}), w;
|
2836
2836
|
}, ea = (l) => {
|
2837
2837
|
a(30, $ = !1), window.postMessage(
|
@@ -2854,7 +2854,7 @@ function Ri(i, e, a) {
|
|
2854
2854
|
q === "false" && u && m && a(39, ge = !1);
|
2855
2855
|
break;
|
2856
2856
|
default:
|
2857
|
-
xe(v);
|
2857
|
+
xe(v, !0);
|
2858
2858
|
break;
|
2859
2859
|
}
|
2860
2860
|
}, Ia = () => {
|
@@ -2876,7 +2876,7 @@ function Ri(i, e, a) {
|
|
2876
2876
|
fe = l, a(38, fe);
|
2877
2877
|
});
|
2878
2878
|
}
|
2879
|
-
const Ra = (l) => ea(
|
2879
|
+
const Ra = (l) => ea(j.id);
|
2880
2880
|
function Ta(l, _) {
|
2881
2881
|
le[l ? "unshift" : "push"](() => {
|
2882
2882
|
de[_] = l, a(24, de);
|
@@ -2946,7 +2946,7 @@ function Ri(i, e, a) {
|
|
2946
2946
|
x,
|
2947
2947
|
Ue,
|
2948
2948
|
X,
|
2949
|
-
|
2949
|
+
j,
|
2950
2950
|
M,
|
2951
2951
|
$,
|
2952
2952
|
Z,
|
package/components/{CasinoMostPlayedSection-B2Ud_MfY.js → CasinoMostPlayedSection-BTiurshs.js}
RENAMED
@@ -73,7 +73,7 @@ if (typeof window < "u") {
|
|
73
73
|
}
|
74
74
|
};
|
75
75
|
};
|
76
|
-
customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-
|
76
|
+
customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-xN84Ahmx.js").then(({ default: e }) => {
|
77
77
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
78
78
|
});
|
79
79
|
}
|
package/components/{CasinoMostPlayedSection-F8WWR35n.cjs → CasinoMostPlayedSection-BuZmf47i.cjs}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-Db45KoqP.cjs");function U(n,e){t.addMessages(n,e)}function Q(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"}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-Cc7hl5AI.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function V(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 W(n){let e;return{c(){e=t.element("casino-games-category-section"),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 X(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function Z(n){let e,a;function i(r,u){return r[20]?X:W}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.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),o.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&o?o.p(r,u):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:o=""}=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:E="false"}=e,{gamepagemodalurl:L="false"}=e,{showgamename:A=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:D="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=[],F,T=!1,c;const Y=s=>{let m=new URL(`${l}/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),F=w?m:m.href,new Promise((g,_)=>{fetch(F).then(f=>f.json()).then(f=>{f.items=f.items.filter(K=>{let R=!0;return K.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},p=()=>{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(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.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)})},B=()=>{Q(u)};t.onMount(()=>()=>{});function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=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,E=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,L=s.gamepagemodalurl),"showgamename"in s&&a(13,A=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=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,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&u&&p(),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&&B()},[l,o,r,u,j,h,y,b,v,w,M,E,L,A,N,O,G,P,D,c,T,i,C,S,H]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,Z,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},V,[-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("./CasinoFilter-Db45KoqP.cjs");function U(n,e){t.addMessages(n,e)}function Q(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"}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-CQAnErlc.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function V(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 W(n){let e;return{c(){e=t.element("casino-games-category-section"),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 X(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function Z(n){let e,a;function i(r,u){return r[20]?X:W}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.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),o.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&o?o.p(r,u):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:o=""}=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:E="false"}=e,{gamepagemodalurl:L="false"}=e,{showgamename:A=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:D="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=[],F,T=!1,c;const Y=s=>{let m=new URL(`${l}/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),F=w?m:m.href,new Promise((g,_)=>{fetch(F).then(f=>f.json()).then(f=>{f.items=f.items.filter(K=>{let R=!0;return K.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},p=()=>{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(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.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)})},B=()=>{Q(u)};t.onMount(()=>()=>{});function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=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,E=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,L=s.gamepagemodalurl),"showgamename"in s&&a(13,A=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=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,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&u&&p(),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&&B()},[l,o,r,u,j,h,y,b,v,w,M,E,L,A,N,O,G,P,D,c,T,i,C,S,H]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,Z,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},V,[-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/{CasinoMostPlayedSection-Ceik-Y1y.js → CasinoMostPlayedSection-xFO_UBEb.js}
RENAMED
@@ -73,7 +73,7 @@ if (typeof window != "undefined") {
|
|
73
73
|
}
|
74
74
|
};
|
75
75
|
};
|
76
|
-
customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-
|
76
|
+
customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-yAGTY2-u.js").then(({ default: e }) => {
|
77
77
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
|
78
78
|
});
|
79
79
|
}
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMostPlayedSection-
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMostPlayedSection-BuZmf47i.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
10
10
|
}
|
11
11
|
};
|
12
12
|
};
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSection-
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSection-xFO_UBEb.js").then(({ default: t }) => {
|
14
14
|
!customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", t.element);
|
15
15
|
});
|
16
16
|
}
|