@everymatrix/casino-page-nd 1.61.1 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoCalendar-BM2cfNWQ.cjs +19 -0
- package/components/{CasinoCalendar-DEQsjGYf.js → CasinoCalendar-Be-xusSS.js} +669 -647
- package/components/{CasinoCalendar-CActgJfo.js → CasinoCalendar-DQHS0B0K.js} +868 -846
- package/components/{CasinoCalendarDailyDetails-CNvOUDQF.js → CasinoCalendarDailyDetails-BFpQ0I4D.js} +49 -49
- package/components/{CasinoCalendarDailyDetails-CC6TR9nQ.js → CasinoCalendarDailyDetails-GoqK5q9I.js} +49 -49
- package/components/{CasinoCalendarDailyDetails-IPdibvfl.cjs → CasinoCalendarDailyDetails-TN7vze6P.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-ChqfPKS5.js → CasinoCalendarDailyItem-9ufQqGRg.js} +33 -33
- package/components/{CasinoCalendarDailyItem-C8h665gX.cjs → CasinoCalendarDailyItem-BH106ywM.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BhZaE5Na.js → CasinoCalendarDailyItem-DNZvHu6n.js} +33 -33
- package/components/{CasinoCollectionsProviders-BjsqtCyq.js → CasinoCollectionsProviders-81GFOBGT.js} +59 -59
- package/components/{CasinoCollectionsProviders-u4eeC1UZ.cjs → CasinoCollectionsProviders-DInK-hae.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-Ch8nNgV3.js → CasinoCollectionsProviders-DTsJJjiX.js} +54 -54
- package/components/{CasinoFavoritesSectionNd-BOdBDWfO.js → CasinoFavoritesSectionNd-Cmip1e7e.js} +86 -86
- package/components/{CasinoFavoritesSectionNd-kDkqdg8u.js → CasinoFavoritesSectionNd-Djc9Jfy-.js} +86 -86
- package/components/{CasinoFavoritesSectionNd-CU52aCqN.cjs → CasinoFavoritesSectionNd-DvpTb9JX.cjs} +1 -1
- package/components/CasinoFilter-B0zQfy_e.js +645 -0
- package/components/CasinoFilter-C-FeoGQV.js +646 -0
- package/components/CasinoFilter-oW7IOS3i.cjs +1 -0
- package/components/{CasinoGameThumbnailNd-EAXyywew.js → CasinoGameThumbnailNd-6k0GfTQu.js} +68 -68
- package/components/{CasinoGameThumbnailNd-D2J-44u8.js → CasinoGameThumbnailNd-D3ijZsE2.js} +68 -68
- package/components/{CasinoGameThumbnailNd-v0f-g55t.cjs → CasinoGameThumbnailNd-DeKtbaTV.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-CKGdrnsq.js → CasinoGamesCategorySectionNd-CCgnwk4P.js} +765 -752
- package/components/{CasinoGamesCategorySectionNd-B22uq9iz.js → CasinoGamesCategorySectionNd-cm7ioLP2.js} +814 -800
- package/components/CasinoGamesCategorySectionNd-gvh5oJJk.cjs +1 -0
- package/components/{CasinoJackpotBanner-Cw2f34zI.js → CasinoJackpotBanner--540Lcyx.js} +103 -103
- package/components/{CasinoJackpotBanner-Bpr0u9EJ.cjs → CasinoJackpotBanner-By_usFOs.cjs} +1 -1
- package/components/{CasinoJackpotBanner-D9xUtwg7.js → CasinoJackpotBanner-PW8Ag0rs.js} +103 -103
- package/components/{CasinoLastPlayedSectionNd-B9wnOT_-.cjs → CasinoLastPlayedSectionNd-DHYEnMUl.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-C2KVsKB8.js → CasinoLastPlayedSectionNd-DqLmor6c.js} +42 -42
- package/components/{CasinoLastPlayedSectionNd-BnQqvnRg.js → CasinoLastPlayedSectionNd-KkMXs6PO.js} +42 -42
- package/components/{CasinoMostPlayedSectionNd-Dhg_Mhhn.js → CasinoMostPlayedSectionNd-CboPOobd.js} +42 -42
- package/components/{CasinoMostPlayedSectionNd-E4Rt0XLc.cjs → CasinoMostPlayedSectionNd-CstSsNnG.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-KAUSjntF.js → CasinoMostPlayedSectionNd-DuOEz5fS.js} +42 -42
- package/components/{CasinoMyGamesNd-B8HugjzK.js → CasinoMyGamesNd-B1J4Xf8j.js} +43 -43
- package/components/{CasinoMyGamesNd-B-2vthJ9.js → CasinoMyGamesNd-B9iZ14cx.js} +44 -44
- package/components/{CasinoMyGamesNd-h2Xe27Rp.cjs → CasinoMyGamesNd-Bzx6q-vo.cjs} +1 -1
- package/components/CasinoPageNd-BV4DkqeA.cjs +1 -0
- package/components/CasinoPageNd-C5N4-cKv.js +4091 -0
- package/components/CasinoPageNd-Duy8feLZ.js +4110 -0
- package/components/{CasinoRandomGame-DRZn6Pg6.js → CasinoRandomGame-B8qayhJz.js} +51 -51
- package/components/{CasinoRandomGame-CT5OhEAx.js → CasinoRandomGame-F2rx-R6u.js} +51 -51
- package/components/{CasinoRandomGame-CSI8B4dX.cjs → CasinoRandomGame-uW70Dcr-.cjs} +1 -1
- package/components/{CasinoSearchNd-BY39yzwt.cjs → CasinoSearchNd-81TDsq5h.cjs} +1 -1
- package/components/{CasinoSearchNd-Ct3Vb_Ak.js → CasinoSearchNd-B7gq7UvX.js} +53 -53
- package/components/{CasinoSearchNd-CHDdx0Wz.js → CasinoSearchNd-BxCASx4N.js} +53 -53
- package/components/{CasinoSort-BlhgMyWl.js → CasinoSort-BT1JsBJA.js} +111 -110
- package/components/{CasinoSort-CzpvwvLX.js → CasinoSort-D9_L_Fuf.js} +103 -104
- package/components/{CasinoSort-DS3nszcz.cjs → CasinoSort-DQBLicad.cjs} +1 -1
- package/components/{CasinoWinners--IAJcisz.cjs → CasinoWinners-B0adSSsc.cjs} +1 -1
- package/components/{CasinoWinners-CylytjaN.js → CasinoWinners-C3LpZCtD.js} +151 -151
- package/components/{CasinoWinners-DyXEB2s9.js → CasinoWinners-CIT6cbm3.js} +137 -137
- package/components/{GeneralAnimationLoading-Bges0e48.js → GeneralAnimationLoading-BJuUzBc8.js} +18 -18
- package/components/{GeneralAnimationLoading-jv8-NmS3.js → GeneralAnimationLoading-DeW-gcPc.js} +18 -18
- package/components/{GeneralAnimationLoading-nHUDiPDj.cjs → GeneralAnimationLoading-OGACKm1O.cjs} +1 -1
- 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/package.json +1 -1
- package/stencil/{casino-play-random-game-BUvMKyaw.js → casino-play-random-game-BXqbLgi6.js} +2 -2
- package/stencil/{casino-play-random-game-6EpPs13y.js → casino-play-random-game-C7EJAFXg.js} +2 -2
- package/stencil/{casino-play-random-game-IjQER553.cjs → casino-play-random-game-DjzHFI4S.cjs} +2 -2
- package/stencil/index-ab3202d6-CMLJROQf.cjs +1 -0
- package/stencil/index-ab3202d6-CqQYxn8J.js +575 -0
- package/stencil/index-ab3202d6-D5caeC50.js +559 -0
- package/stencil/index-b2193545-CJX9lIo2.js +519 -0
- package/stencil/index-b2193545-CbB5TWd2.js +503 -0
- package/stencil/index-b2193545-DQd_Uk3t.cjs +1 -0
- package/stencil/index-b7bbd57e-BO976FKE.js +534 -0
- package/stencil/index-b7bbd57e-CRts68dn.cjs +1 -0
- package/stencil/index-b7bbd57e-ChiHMF5W.js +550 -0
- package/stencil/{ui-image-38c3c15f--IPbitii.js → ui-image-38c3c15f-C4x7O9FA.js} +1 -1
- package/stencil/{ui-image-38c3c15f-Dv8v2u8d.cjs → ui-image-38c3c15f-DQqFo7p2.cjs} +1 -1
- package/stencil/{ui-image-38c3c15f-CQXMTl7T.js → ui-image-38c3c15f-DY2A0QkK.js} +1 -1
- package/stencil/{ui-image-DG3xEaHN.js → ui-image-CzWACXX6.js} +2 -2
- package/stencil/{ui-image-LuWVcxjH.cjs → ui-image-c5YAxRRi.cjs} +1 -1
- package/stencil/{ui-image-CV8AJ9cY.js → ui-image-shmNN3yX.js} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-6d1c12ae-C2t65ZQ6.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-6d1c12ae-CrQ3Yom_.js} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-6d1c12ae-D9cBvSa8.js} +1 -1
- package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-BEBLuDwu.js} +2 -2
- package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-D595e_7Y.cjs} +1 -1
- package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-Z7IcB7dJ.js} +2 -2
- package/components/CasinoCalendar-BEwHkg9Z.cjs +0 -19
- package/components/CasinoFilter-BNn_67vk.cjs +0 -1
- package/components/CasinoFilter-C8Pt8Aoj.js +0 -633
- package/components/CasinoFilter-mKJD6Kdm.js +0 -632
- package/components/CasinoGamesCategorySectionNd-D-dd4gkg.cjs +0 -1
- package/components/CasinoPageNd-BytAYVFB.js +0 -3955
- package/components/CasinoPageNd-QVOrpNeF.cjs +0 -1
- package/components/CasinoPageNd-ra1F2u5E.js +0 -3936
- package/stencil/index-ab3202d6-9zuW-dLG.js +0 -575
- package/stencil/index-ab3202d6-CGVciVSL.js +0 -559
- package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +0 -1
- package/stencil/index-b2193545-CGYrx6SV.js +0 -503
- package/stencil/index-b2193545-DU7jU8hT.cjs +0 -1
- package/stencil/index-b2193545-k_uiu1dU.js +0 -519
- package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
- package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
- package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { a as Te, $ as We, S as Ae, i as Ie, f as w, c as Ve, s as Je, b as Ee, e as r, d as q, G as _e, j as F, o as De, X as ze, l as Ue, m as Ne, p as Re, q as Be, r as Me, w as M, y as c, M as be, I as J, H as b, z as n, A as Oe, x as A, E as I, v as we, L as He, F as Pe } from "./CasinoCalendar-Be-xusSS.js";
|
|
2
|
+
import "../stencil/ui-image-CzWACXX6.js";
|
|
3
3
|
function Le(t, e) {
|
|
4
|
-
|
|
4
|
+
Te(t, e);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function qe(t) {
|
|
7
7
|
We.set(t);
|
|
8
8
|
}
|
|
9
9
|
const je = {
|
|
@@ -45,25 +45,25 @@ const je = {
|
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
function Fe(t) {
|
|
48
|
-
|
|
48
|
+
Ee(t, "svelte-hxpfl0", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
49
49
|
}
|
|
50
50
|
function Se(t, e, a) {
|
|
51
51
|
const l = t.slice();
|
|
52
52
|
return l[53] = e[a], l[55] = a, l;
|
|
53
53
|
}
|
|
54
54
|
function Ge(t) {
|
|
55
|
-
let e, a, l, s, d, o, L, C, h, j, _, W,
|
|
55
|
+
let e, a, l, s, d, o, L, C, h, j, _, W, V;
|
|
56
56
|
function k(f, y) {
|
|
57
57
|
return (
|
|
58
58
|
/*tabletView*/
|
|
59
|
-
f[6] ?
|
|
59
|
+
f[6] ? Ke : Qe
|
|
60
60
|
);
|
|
61
61
|
}
|
|
62
62
|
let g = k(t), m = g(t);
|
|
63
63
|
return {
|
|
64
64
|
c() {
|
|
65
65
|
e = r("div"), a = r("div"), l = r("div"), s = r("div"), d = M(), o = r("div"), m.c(), L = M(), C = r("div"), h = r("ui-image"), c(s, "class", "vendorLogo"), be(s, "background-image", "url(" + /*vendorIcon*/
|
|
66
|
-
t[7] + ")"), c(o, "class", "displayContainer"),
|
|
66
|
+
t[7] + ")"), c(o, "class", "displayContainer"), J(h.src, j = /*titleLogoImg*/
|
|
67
67
|
t[12]) || b(h, "src", j), b(h, "alt", ""), c(C, "class", "title"), c(l, "class", _ = "mainWrapper " + /*visualstructure*/
|
|
68
68
|
t[0] + " " + /*mobileView*/
|
|
69
69
|
(t[5] && !/*tabletView*/
|
|
@@ -74,7 +74,7 @@ function Ge(t) {
|
|
|
74
74
|
t[11] + ")"), c(a, "class", "jackpotBanner"), c(e, "class", "");
|
|
75
75
|
},
|
|
76
76
|
m(f, y) {
|
|
77
|
-
|
|
77
|
+
q(f, e, y), n(e, a), n(a, l), n(l, s), n(l, d), n(l, o), m.m(o, null), n(l, L), n(l, C), n(C, h), W || (V = Oe(
|
|
78
78
|
a,
|
|
79
79
|
"click",
|
|
80
80
|
/*click_handler*/
|
|
@@ -85,7 +85,7 @@ function Ge(t) {
|
|
|
85
85
|
y[0] & /*vendorIcon*/
|
|
86
86
|
128 && be(s, "background-image", "url(" + /*vendorIcon*/
|
|
87
87
|
f[7] + ")"), g === (g = k(f)) && m ? m.p(f, y) : (m.d(1), m = g(f), m && (m.c(), m.m(o, null))), y[0] & /*titleLogoImg*/
|
|
88
|
-
4096 && !
|
|
88
|
+
4096 && !J(h.src, j = /*titleLogoImg*/
|
|
89
89
|
f[12]) && b(h, "src", j), y[0] & /*visualstructure, mobileView, tabletView*/
|
|
90
90
|
97 && _ !== (_ = "mainWrapper " + /*visualstructure*/
|
|
91
91
|
f[0] + " " + /*mobileView*/
|
|
@@ -98,41 +98,41 @@ function Ge(t) {
|
|
|
98
98
|
f[11] + ")");
|
|
99
99
|
},
|
|
100
100
|
d(f) {
|
|
101
|
-
f &&
|
|
101
|
+
f && F(e), m.d(), W = !1, V();
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Xe(t) {
|
|
106
106
|
let e;
|
|
107
107
|
return {
|
|
108
108
|
c() {
|
|
109
109
|
e = r("div"), c(e, "class", "LoadingSpinner");
|
|
110
110
|
},
|
|
111
111
|
m(a, l) {
|
|
112
|
-
|
|
112
|
+
q(a, e, l);
|
|
113
113
|
},
|
|
114
114
|
p: _e,
|
|
115
115
|
d(a) {
|
|
116
|
-
a &&
|
|
116
|
+
a && F(e);
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Ye(t) {
|
|
121
121
|
let e;
|
|
122
122
|
return {
|
|
123
123
|
c() {
|
|
124
124
|
e = r("p"), e.textContent = "500 Server error";
|
|
125
125
|
},
|
|
126
126
|
m(a, l) {
|
|
127
|
-
|
|
127
|
+
q(a, e, l);
|
|
128
128
|
},
|
|
129
129
|
p: _e,
|
|
130
130
|
d(a) {
|
|
131
|
-
a &&
|
|
131
|
+
a && F(e);
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Ke(t) {
|
|
136
136
|
let e, a, l, s, d, o, L = (
|
|
137
137
|
/*formattedLabels*/
|
|
138
138
|
t[9][0] + ""
|
|
@@ -145,7 +145,7 @@ function Ye(t) {
|
|
|
145
145
|
/*formattedJackpotValues*/
|
|
146
146
|
t[8][0]
|
|
147
147
|
)) + ""
|
|
148
|
-
), W,
|
|
148
|
+
), W, V, k, g, m, f, y, x, O, H, ae = (
|
|
149
149
|
/*formattedLabels*/
|
|
150
150
|
t[9][1] + ""
|
|
151
151
|
), Q, z, Z, G = (
|
|
@@ -157,7 +157,7 @@ function Ye(t) {
|
|
|
157
157
|
/*formattedJackpotValues*/
|
|
158
158
|
t[8][1]
|
|
159
159
|
)) + ""
|
|
160
|
-
),
|
|
160
|
+
), X, ue, $, ie, ne, U, T, N, E, Y, D, P = (
|
|
161
161
|
/*formattedLabels*/
|
|
162
162
|
t[9][2] + ""
|
|
163
163
|
), ge, R, le, se = (
|
|
@@ -169,7 +169,7 @@ function Ye(t) {
|
|
|
169
169
|
/*formattedJackpotValues*/
|
|
170
170
|
t[8][2]
|
|
171
171
|
)) + ""
|
|
172
|
-
), pe, me, re, oe, he, ee,
|
|
172
|
+
), pe, me, re, oe, he, ee, K, B, te, ce, de = (
|
|
173
173
|
/*formattedLabels*/
|
|
174
174
|
t[9][3] + ""
|
|
175
175
|
), fe, i, p, S = (
|
|
@@ -184,33 +184,33 @@ function Ye(t) {
|
|
|
184
184
|
), ke, Ce, ye, ve;
|
|
185
185
|
return {
|
|
186
186
|
c() {
|
|
187
|
-
e = r("div"), a = r("div"), l = r("div"), s = r("ui-image"), o = r("span"), C =
|
|
187
|
+
e = r("div"), a = r("div"), l = r("div"), s = r("ui-image"), o = r("span"), C = A(L), h = r("span"), j = r("span"), W = A(_), V = M(), k = r("span"), g = A(
|
|
188
188
|
/*currency*/
|
|
189
189
|
t[1]
|
|
190
|
-
), m = M(), f = r("div"), y = r("div"),
|
|
190
|
+
), m = M(), f = r("div"), y = r("div"), x = r("ui-image"), H = r("span"), Q = A(ae), z = r("span"), Z = r("span"), X = A(G), ue = M(), $ = r("span"), ie = A(
|
|
191
191
|
/*currency*/
|
|
192
192
|
t[1]
|
|
193
|
-
), ne = M(), U = r("div"),
|
|
193
|
+
), ne = M(), U = r("div"), T = r("div"), N = r("div"), E = r("ui-image"), D = r("span"), ge = A(P), R = r("span"), le = r("span"), pe = A(se), me = M(), re = r("span"), oe = A(
|
|
194
194
|
/*currency*/
|
|
195
195
|
t[1]
|
|
196
|
-
), he = M(), ee = r("div"),
|
|
196
|
+
), he = M(), ee = r("div"), K = r("div"), B = r("ui-image"), ce = r("span"), fe = A(de), i = r("span"), p = r("span"), ke = A(S), Ce = M(), ye = r("span"), ve = A(
|
|
197
197
|
/*currency*/
|
|
198
198
|
t[1]
|
|
199
|
-
), b(s, "imgClass", "displayCardIcon"),
|
|
200
|
-
t[10][0]) || b(s, "src", d), b(s, "alt", ""), c(o, "class", "cardLabel"), c(l, "class", "iconWrapper"), c(j, "class", "jackpotValue"), c(k, "class", "jackpot-currency"), c(h, "class", "cardTextWrapper"), c(a, "class", "displayCard"), b(
|
|
201
|
-
t[10][1]) || b(
|
|
202
|
-
t[10][2]) || b(E, "src",
|
|
203
|
-
t[10][3]) || b(B, "src", te), b(B, "alt", ""), c(ce, "class", "cardLabel"), c(
|
|
199
|
+
), b(s, "imgClass", "displayCardIcon"), J(s.src, d = /*caticons*/
|
|
200
|
+
t[10][0]) || b(s, "src", d), b(s, "alt", ""), c(o, "class", "cardLabel"), c(l, "class", "iconWrapper"), c(j, "class", "jackpotValue"), c(k, "class", "jackpot-currency"), c(h, "class", "cardTextWrapper"), c(a, "class", "displayCard"), b(x, "imgClass", "displayCardIcon"), J(x.src, O = /*caticons*/
|
|
201
|
+
t[10][1]) || b(x, "src", O), b(x, "alt", ""), c(H, "class", "cardLabel"), c(y, "class", "iconWrapper"), c(Z, "class", "jackpotValue"), c($, "class", "jackpot-currency"), c(z, "class", "cardTextWrapper"), c(f, "class", "displayCard"), c(e, "class", "pairWrapper"), b(E, "imgClass", "displayCardIcon"), J(E.src, Y = /*caticons*/
|
|
202
|
+
t[10][2]) || b(E, "src", Y), b(E, "alt", ""), c(D, "class", "cardLabel"), c(N, "class", "iconWrapper"), c(le, "class", "jackpotValue"), c(re, "class", "jackpot-currency"), c(R, "class", "cardTextWrapper"), c(T, "class", "displayCard"), b(B, "imgClass", "displayCardIcon"), J(B.src, te = /*caticons*/
|
|
203
|
+
t[10][3]) || b(B, "src", te), b(B, "alt", ""), c(ce, "class", "cardLabel"), c(K, "class", "iconWrapper"), c(p, "class", "jackpotValue"), c(ye, "class", "jackpot-currency"), c(i, "class", "cardTextWrapper"), c(ee, "class", "displayCard"), c(U, "class", "pairWrapper");
|
|
204
204
|
},
|
|
205
205
|
m(u, v) {
|
|
206
|
-
|
|
206
|
+
q(u, e, v), n(e, a), n(a, l), n(l, s), n(l, o), n(o, C), n(a, h), n(h, j), n(j, W), n(h, V), n(h, k), n(k, g), n(e, m), n(e, f), n(f, y), n(y, x), n(y, H), n(H, Q), n(f, z), n(z, Z), n(Z, X), n(z, ue), n(z, $), n($, ie), q(u, ne, v), q(u, U, v), n(U, T), n(T, N), n(N, E), n(N, D), n(D, ge), n(T, R), n(R, le), n(le, pe), n(R, me), n(R, re), n(re, oe), n(U, he), n(U, ee), n(ee, K), n(K, B), n(K, ce), n(ce, fe), n(ee, i), n(i, p), n(p, ke), n(i, Ce), n(i, ye), n(ye, ve);
|
|
207
207
|
},
|
|
208
208
|
p(u, v) {
|
|
209
209
|
v[0] & /*caticons*/
|
|
210
|
-
1024 && !
|
|
210
|
+
1024 && !J(s.src, d = /*caticons*/
|
|
211
211
|
u[10][0]) && b(s, "src", d), v[0] & /*formattedLabels*/
|
|
212
212
|
512 && L !== (L = /*formattedLabels*/
|
|
213
|
-
u[9][0] + "") &&
|
|
213
|
+
u[9][0] + "") && I(C, L), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
214
214
|
16644 && _ !== (_ = /*realtimeupdate*/
|
|
215
215
|
(u[2] === "true" ? (
|
|
216
216
|
/*updatedJackpotValues*/
|
|
@@ -218,16 +218,16 @@ function Ye(t) {
|
|
|
218
218
|
) : (
|
|
219
219
|
/*formattedJackpotValues*/
|
|
220
220
|
u[8][0]
|
|
221
|
-
)) + "") &&
|
|
222
|
-
2 &&
|
|
221
|
+
)) + "") && I(W, _), v[0] & /*currency*/
|
|
222
|
+
2 && I(
|
|
223
223
|
g,
|
|
224
224
|
/*currency*/
|
|
225
225
|
u[1]
|
|
226
226
|
), v[0] & /*caticons*/
|
|
227
|
-
1024 && !
|
|
228
|
-
u[10][1]) && b(
|
|
227
|
+
1024 && !J(x.src, O = /*caticons*/
|
|
228
|
+
u[10][1]) && b(x, "src", O), v[0] & /*formattedLabels*/
|
|
229
229
|
512 && ae !== (ae = /*formattedLabels*/
|
|
230
|
-
u[9][1] + "") &&
|
|
230
|
+
u[9][1] + "") && I(Q, ae), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
231
231
|
16644 && G !== (G = /*realtimeupdate*/
|
|
232
232
|
(u[2] === "true" ? (
|
|
233
233
|
/*updatedJackpotValues*/
|
|
@@ -235,16 +235,16 @@ function Ye(t) {
|
|
|
235
235
|
) : (
|
|
236
236
|
/*formattedJackpotValues*/
|
|
237
237
|
u[8][1]
|
|
238
|
-
)) + "") &&
|
|
239
|
-
2 &&
|
|
238
|
+
)) + "") && I(X, G), v[0] & /*currency*/
|
|
239
|
+
2 && I(
|
|
240
240
|
ie,
|
|
241
241
|
/*currency*/
|
|
242
242
|
u[1]
|
|
243
243
|
), v[0] & /*caticons*/
|
|
244
|
-
1024 && !
|
|
245
|
-
u[10][2]) && b(E, "src",
|
|
246
|
-
512 &&
|
|
247
|
-
u[9][2] + "") &&
|
|
244
|
+
1024 && !J(E.src, Y = /*caticons*/
|
|
245
|
+
u[10][2]) && b(E, "src", Y), v[0] & /*formattedLabels*/
|
|
246
|
+
512 && P !== (P = /*formattedLabels*/
|
|
247
|
+
u[9][2] + "") && I(ge, P), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
248
248
|
16644 && se !== (se = /*realtimeupdate*/
|
|
249
249
|
(u[2] === "true" ? (
|
|
250
250
|
/*updatedJackpotValues*/
|
|
@@ -252,16 +252,16 @@ function Ye(t) {
|
|
|
252
252
|
) : (
|
|
253
253
|
/*formattedJackpotValues*/
|
|
254
254
|
u[8][2]
|
|
255
|
-
)) + "") &&
|
|
256
|
-
2 &&
|
|
255
|
+
)) + "") && I(pe, se), v[0] & /*currency*/
|
|
256
|
+
2 && I(
|
|
257
257
|
oe,
|
|
258
258
|
/*currency*/
|
|
259
259
|
u[1]
|
|
260
260
|
), v[0] & /*caticons*/
|
|
261
|
-
1024 && !
|
|
261
|
+
1024 && !J(B.src, te = /*caticons*/
|
|
262
262
|
u[10][3]) && b(B, "src", te), v[0] & /*formattedLabels*/
|
|
263
263
|
512 && de !== (de = /*formattedLabels*/
|
|
264
|
-
u[9][3] + "") &&
|
|
264
|
+
u[9][3] + "") && I(fe, de), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
265
265
|
16644 && S !== (S = /*realtimeupdate*/
|
|
266
266
|
(u[2] === "true" ? (
|
|
267
267
|
/*updatedJackpotValues*/
|
|
@@ -269,32 +269,32 @@ function Ye(t) {
|
|
|
269
269
|
) : (
|
|
270
270
|
/*formattedJackpotValues*/
|
|
271
271
|
u[8][3]
|
|
272
|
-
)) + "") &&
|
|
273
|
-
2 &&
|
|
272
|
+
)) + "") && I(ke, S), v[0] & /*currency*/
|
|
273
|
+
2 && I(
|
|
274
274
|
ve,
|
|
275
275
|
/*currency*/
|
|
276
276
|
u[1]
|
|
277
277
|
);
|
|
278
278
|
},
|
|
279
279
|
d(u) {
|
|
280
|
-
u && (
|
|
280
|
+
u && (F(e), F(ne), F(U));
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
284
|
function Qe(t) {
|
|
285
285
|
let e, a = we(Array(4)), l = [];
|
|
286
286
|
for (let s = 0; s < a.length; s += 1)
|
|
287
|
-
l[s] =
|
|
287
|
+
l[s] = xe(Se(t, a, s));
|
|
288
288
|
return {
|
|
289
289
|
c() {
|
|
290
290
|
for (let s = 0; s < l.length; s += 1)
|
|
291
291
|
l[s].c();
|
|
292
|
-
e =
|
|
292
|
+
e = He();
|
|
293
293
|
},
|
|
294
294
|
m(s, d) {
|
|
295
295
|
for (let o = 0; o < l.length; o += 1)
|
|
296
296
|
l[o] && l[o].m(s, d);
|
|
297
|
-
|
|
297
|
+
q(s, e, d);
|
|
298
298
|
},
|
|
299
299
|
p(s, d) {
|
|
300
300
|
if (d[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
@@ -303,7 +303,7 @@ function Qe(t) {
|
|
|
303
303
|
let o;
|
|
304
304
|
for (o = 0; o < a.length; o += 1) {
|
|
305
305
|
const L = Se(s, a, o);
|
|
306
|
-
l[o] ? l[o].p(L, d) : (l[o] =
|
|
306
|
+
l[o] ? l[o].p(L, d) : (l[o] = xe(L), l[o].c(), l[o].m(e.parentNode, e));
|
|
307
307
|
}
|
|
308
308
|
for (; o < l.length; o += 1)
|
|
309
309
|
l[o].d(1);
|
|
@@ -311,11 +311,11 @@ function Qe(t) {
|
|
|
311
311
|
}
|
|
312
312
|
},
|
|
313
313
|
d(s) {
|
|
314
|
-
s &&
|
|
314
|
+
s && F(e), Pe(l, s);
|
|
315
315
|
}
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function xe(t) {
|
|
319
319
|
let e, a, l, s, d, o = (
|
|
320
320
|
/*formattedLabels*/
|
|
321
321
|
t[9][
|
|
@@ -337,24 +337,24 @@ function Te(t) {
|
|
|
337
337
|
t[55]
|
|
338
338
|
] ?? ""
|
|
339
339
|
)) + ""
|
|
340
|
-
), _, W,
|
|
340
|
+
), _, W, V, k;
|
|
341
341
|
return {
|
|
342
342
|
c() {
|
|
343
|
-
e = r("div"), a = r("div"), l = r("ui-image"), d = r("span"), L =
|
|
343
|
+
e = r("div"), a = r("div"), l = r("ui-image"), d = r("span"), L = A(o), C = r("span"), h = r("span"), _ = A(j), W = M(), V = r("span"), k = A(
|
|
344
344
|
/*currency*/
|
|
345
345
|
t[1]
|
|
346
|
-
), b(l, "imgClass", "displayCardIcon"),
|
|
346
|
+
), b(l, "imgClass", "displayCardIcon"), J(l.src, s = /*caticons*/
|
|
347
347
|
t[10][
|
|
348
348
|
/*i*/
|
|
349
349
|
t[55]
|
|
350
|
-
]) || b(l, "src", s), b(l, "alt", ""), c(d, "class", "cardLabel"), c(a, "class", "iconWrapper"), c(h, "class", "jackpotValue"), c(
|
|
350
|
+
]) || b(l, "src", s), b(l, "alt", ""), c(d, "class", "cardLabel"), c(a, "class", "iconWrapper"), c(h, "class", "jackpotValue"), c(V, "class", "jackpot-currency"), c(C, "class", "cardTextWrapper"), c(e, "class", "displayCard");
|
|
351
351
|
},
|
|
352
352
|
m(g, m) {
|
|
353
|
-
|
|
353
|
+
q(g, e, m), n(e, a), n(a, l), n(a, d), n(d, L), n(e, C), n(C, h), n(h, _), n(C, W), n(C, V), n(V, k);
|
|
354
354
|
},
|
|
355
355
|
p(g, m) {
|
|
356
356
|
m[0] & /*caticons*/
|
|
357
|
-
1024 && !
|
|
357
|
+
1024 && !J(l.src, s = /*caticons*/
|
|
358
358
|
g[10][
|
|
359
359
|
/*i*/
|
|
360
360
|
g[55]
|
|
@@ -363,7 +363,7 @@ function Te(t) {
|
|
|
363
363
|
g[9][
|
|
364
364
|
/*i*/
|
|
365
365
|
g[55]
|
|
366
|
-
] + "") &&
|
|
366
|
+
] + "") && I(L, o), m[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
367
367
|
16644 && j !== (j = /*realtimeupdate*/
|
|
368
368
|
(g[2] === "true" ? (
|
|
369
369
|
/*updatedJackpotValues*/
|
|
@@ -377,15 +377,15 @@ function Te(t) {
|
|
|
377
377
|
/*i*/
|
|
378
378
|
g[55]
|
|
379
379
|
] ?? ""
|
|
380
|
-
)) + "") &&
|
|
381
|
-
2 &&
|
|
380
|
+
)) + "") && I(_, j), m[0] & /*currency*/
|
|
381
|
+
2 && I(
|
|
382
382
|
k,
|
|
383
383
|
/*currency*/
|
|
384
384
|
g[1]
|
|
385
385
|
);
|
|
386
386
|
},
|
|
387
387
|
d(g) {
|
|
388
|
-
g &&
|
|
388
|
+
g && F(e);
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
}
|
|
@@ -394,9 +394,9 @@ function Ze(t) {
|
|
|
394
394
|
function a(d, o) {
|
|
395
395
|
return (
|
|
396
396
|
/*hasErrors*/
|
|
397
|
-
d[13] ?
|
|
397
|
+
d[13] ? Ye : (
|
|
398
398
|
/*isLoading*/
|
|
399
|
-
d[4] ?
|
|
399
|
+
d[4] ? Xe : Ge
|
|
400
400
|
)
|
|
401
401
|
);
|
|
402
402
|
}
|
|
@@ -406,7 +406,7 @@ function Ze(t) {
|
|
|
406
406
|
e = r("div"), s.c();
|
|
407
407
|
},
|
|
408
408
|
m(d, o) {
|
|
409
|
-
|
|
409
|
+
q(d, e, o), s.m(e, null), t[34](e);
|
|
410
410
|
},
|
|
411
411
|
p(d, o) {
|
|
412
412
|
l === (l = a(d)) && s ? s.p(d, o) : (s.d(1), s = l(d), s && (s.c(), s.m(e, null)));
|
|
@@ -414,12 +414,12 @@ function Ze(t) {
|
|
|
414
414
|
i: _e,
|
|
415
415
|
o: _e,
|
|
416
416
|
d(d) {
|
|
417
|
-
d &&
|
|
417
|
+
d && F(e), s.d(), t[34](null);
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
420
|
}
|
|
421
421
|
function $e(t, e, a) {
|
|
422
|
-
let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: o = "" } = e, { caticon2: L = "" } = e, { caticon3: C = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: j = "" } = e, { currency: _ = "" } = e, { backgroundsrcmobile: W = "" } = e, { titlelogopath:
|
|
422
|
+
let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: o = "" } = e, { caticon2: L = "" } = e, { caticon3: C = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: j = "" } = e, { currency: _ = "" } = e, { backgroundsrcmobile: W = "" } = e, { titlelogopath: V = "" } = e, { lang: k = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: f = "" } = e, { endpoint: y = "" } = e, { gameid: x = "" } = e, { mbsource: O } = e, { realtimeupdate: H = "false" } = e, ae = window.navigator.userAgent, Q = !1, z = !1, Z = "", G = [], X = [], ue = [], $ = [], ie = [], ne = "", U = "", T, N = !0, E = !1, Y, D = null, P = [];
|
|
423
423
|
const ge = () => {
|
|
424
424
|
fetch(f).then((p) => p.json()).then((p) => {
|
|
425
425
|
Object.keys(p).forEach((S) => {
|
|
@@ -440,8 +440,8 @@ function $e(t, e, a) {
|
|
|
440
440
|
}, pe = () => {
|
|
441
441
|
if (y && k && _) {
|
|
442
442
|
let i = new URL(`${y}/v1/casino/jackpots`);
|
|
443
|
-
i.searchParams.append("filter", `id=${
|
|
444
|
-
a(4, N = !1),
|
|
443
|
+
i.searchParams.append("filter", `id=${x}`), i.searchParams.append("language", k), i.searchParams.append("additionalDataCurrency", _), fetch(i.href).then((p) => p.json().then((S) => {
|
|
444
|
+
a(4, N = !1), Y = S, X.includes(x) && (le(Y), se(Y));
|
|
445
445
|
}).catch((S) => {
|
|
446
446
|
a(13, E = !0), a(4, N = !1), console.error(S);
|
|
447
447
|
}).finally(() => {
|
|
@@ -449,64 +449,64 @@ function $e(t, e, a) {
|
|
|
449
449
|
}));
|
|
450
450
|
}
|
|
451
451
|
}, me = () => {
|
|
452
|
-
const i =
|
|
452
|
+
const i = T.getRootNode().host;
|
|
453
453
|
i.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: i } }));
|
|
454
454
|
}, re = () => {
|
|
455
455
|
let i = new URL(`${y}/v1/casino/jackpots/config`);
|
|
456
456
|
fetch(i.href).then((p) => p.json()).then((p) => {
|
|
457
|
-
a(32,
|
|
457
|
+
a(32, X = p.egtJackpotIds.map((S) => S));
|
|
458
458
|
});
|
|
459
459
|
}, oe = () => {
|
|
460
|
-
a(5, Q =
|
|
460
|
+
a(5, Q = Re(ae) && window.innerHeight / window.innerWidth > 1), a(6, z = ee()), G.length !== 0 && a(8, ue = he(G)), a(9, $ = h ? h.split(",").map((i) => i.trim().toUpperCase()) : new Array(4).fill("")), R.includes(l.trim()) ? a(0, l = l.trim()) : (console.warn(`Invalid Attribute Value: "${l}" is not a valid value for the "visualstructure" attribute. Defaulting to "${R[0]}"`), a(0, l = R[0])), a(11, ne = W && Q && !z ? W : j), a(12, U = V), a(10, ie = [d, o, L, C]);
|
|
461
461
|
}, he = (i) => i.map((p) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(p)), ee = () => {
|
|
462
462
|
const i = window.innerHeight / window.innerWidth;
|
|
463
463
|
return 0.75 < i && i < 1.6;
|
|
464
|
-
},
|
|
465
|
-
window.postMessage({ type: "JackpotBannerClicked", gameid:
|
|
464
|
+
}, K = () => {
|
|
465
|
+
window.postMessage({ type: "JackpotBannerClicked", gameid: x }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
466
466
|
context: "JackpotBanner",
|
|
467
|
-
gameId: `${
|
|
467
|
+
gameId: `${x}`
|
|
468
468
|
});
|
|
469
469
|
}, B = () => {
|
|
470
|
-
|
|
470
|
+
qe(k);
|
|
471
471
|
}, te = (i) => {
|
|
472
472
|
const p = JSON.parse(i.data);
|
|
473
|
-
if (p.success && p.data.messageType === "UpdateEgtJackpotBalance" && p.data.jackpotAlias.split("_")[0] ===
|
|
473
|
+
if (p.success && p.data.messageType === "UpdateEgtJackpotBalance" && p.data.jackpotAlias.split("_")[0] === x) {
|
|
474
474
|
const S = Number(p.data.jackpotAlias.split("_")[1]) - 1;
|
|
475
|
-
a(14,
|
|
475
|
+
a(14, P[S] = p.data.data[`${_}`].balance.toString(), P);
|
|
476
476
|
}
|
|
477
477
|
}, ce = () => {
|
|
478
|
-
|
|
478
|
+
H === "true" && (oe(), a(14, P = ["", "", "", ""]), D = new EventSource(`${y}/v1/encoder/jackpot/*/update`), D.addEventListener("message", te));
|
|
479
479
|
};
|
|
480
|
-
|
|
481
|
-
}),
|
|
480
|
+
De(() => () => {
|
|
481
|
+
}), ze(() => {
|
|
482
482
|
D && (D.removeEventListener("message", te), D.close(), D = null);
|
|
483
483
|
});
|
|
484
|
-
const de = () =>
|
|
484
|
+
const de = () => K();
|
|
485
485
|
function fe(i) {
|
|
486
|
-
|
|
487
|
-
|
|
486
|
+
Be[i ? "unshift" : "push"](() => {
|
|
487
|
+
T = i, a(3, T);
|
|
488
488
|
});
|
|
489
489
|
}
|
|
490
490
|
return t.$$set = (i) => {
|
|
491
|
-
"visualstructure" in i && a(0, l = i.visualstructure), "title" in i && a(16, s = i.title), "caticon0" in i && a(17, d = i.caticon0), "caticon1" in i && a(18, o = i.caticon1), "caticon2" in i && a(19, L = i.caticon2), "caticon3" in i && a(20, C = i.caticon3), "iconlabels" in i && a(21, h = i.iconlabels), "backgroundsrc" in i && a(22, j = i.backgroundsrc), "currency" in i && a(1, _ = i.currency), "backgroundsrcmobile" in i && a(23, W = i.backgroundsrcmobile), "titlelogopath" in i && a(24,
|
|
491
|
+
"visualstructure" in i && a(0, l = i.visualstructure), "title" in i && a(16, s = i.title), "caticon0" in i && a(17, d = i.caticon0), "caticon1" in i && a(18, o = i.caticon1), "caticon2" in i && a(19, L = i.caticon2), "caticon3" in i && a(20, C = i.caticon3), "iconlabels" in i && a(21, h = i.iconlabels), "backgroundsrc" in i && a(22, j = i.backgroundsrc), "currency" in i && a(1, _ = i.currency), "backgroundsrcmobile" in i && a(23, W = i.backgroundsrcmobile), "titlelogopath" in i && a(24, V = i.titlelogopath), "lang" in i && a(25, k = i.lang), "clientstyling" in i && a(26, g = i.clientstyling), "clientstylingurl" in i && a(27, m = i.clientstylingurl), "translationurl" in i && a(28, f = i.translationurl), "endpoint" in i && a(29, y = i.endpoint), "gameid" in i && a(30, x = i.gameid), "mbsource" in i && a(31, O = i.mbsource), "realtimeupdate" in i && a(2, H = i.realtimeupdate);
|
|
492
492
|
}, t.$$.update = () => {
|
|
493
493
|
t.$$.dirty[0] & /*endpoint*/
|
|
494
494
|
536870912 && y && re(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
495
|
-
67108872 && g &&
|
|
496
|
-
134217736 && m &&
|
|
495
|
+
67108872 && g && T && Me(T, g), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
496
|
+
134217736 && m && T && Ue(T, m), t.$$.dirty[0] & /*customStylingContainer*/
|
|
497
497
|
8 | t.$$.dirty[1] & /*mbsource*/
|
|
498
|
-
1 && O &&
|
|
498
|
+
1 && O && T && Ne(T, `${O}.Style`), t.$$.dirty[0] & /*endpoint, lang, currency*/
|
|
499
499
|
570425346 | t.$$.dirty[1] & /*validGameIds*/
|
|
500
|
-
2 && y && k && _ &&
|
|
500
|
+
2 && y && k && _ && X.length > 0 && pe(), t.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
501
501
|
33554450 && _ && k && !N && oe(), t.$$.dirty[0] & /*lang*/
|
|
502
502
|
33554432 && k && B(), t.$$.dirty[0] & /*translationurl*/
|
|
503
503
|
268435456 && f && ge(), t.$$.dirty[0] & /*realtimeupdate*/
|
|
504
|
-
4 &&
|
|
504
|
+
4 && H && ce();
|
|
505
505
|
}, [
|
|
506
506
|
l,
|
|
507
507
|
_,
|
|
508
|
-
|
|
509
|
-
|
|
508
|
+
H,
|
|
509
|
+
T,
|
|
510
510
|
N,
|
|
511
511
|
Q,
|
|
512
512
|
z,
|
|
@@ -517,8 +517,8 @@ function $e(t, e, a) {
|
|
|
517
517
|
ne,
|
|
518
518
|
U,
|
|
519
519
|
E,
|
|
520
|
-
|
|
521
|
-
|
|
520
|
+
P,
|
|
521
|
+
K,
|
|
522
522
|
s,
|
|
523
523
|
d,
|
|
524
524
|
o,
|
|
@@ -527,15 +527,15 @@ function $e(t, e, a) {
|
|
|
527
527
|
h,
|
|
528
528
|
j,
|
|
529
529
|
W,
|
|
530
|
-
|
|
530
|
+
V,
|
|
531
531
|
k,
|
|
532
532
|
g,
|
|
533
533
|
m,
|
|
534
534
|
f,
|
|
535
535
|
y,
|
|
536
|
-
|
|
536
|
+
x,
|
|
537
537
|
O,
|
|
538
|
-
|
|
538
|
+
X,
|
|
539
539
|
de,
|
|
540
540
|
fe
|
|
541
541
|
];
|
|
@@ -688,7 +688,7 @@ class et extends Ae {
|
|
|
688
688
|
this.$$set({ realtimeupdate: e }), w();
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
|
-
|
|
691
|
+
Ve(et, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
|
|
692
692
|
export {
|
|
693
693
|
et as default
|
|
694
694
|
};
|
package/components/{CasinoLastPlayedSectionNd-B9wnOT_-.cjs → CasinoLastPlayedSectionNd-DHYEnMUl.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BEwHkg9Z.cjs");require("./CasinoFavoritesSectionNd-CU52aCqN.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[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),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[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,"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[16]),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]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),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]&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]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),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[20]("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]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?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(20,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(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",q),r.searchParams.append("limit",S),r.searchParams.append("order",C),r.searchParams.append("period",L),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=w?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{k=r.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(19,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,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(21,v=s.translationurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,M=s.gamepagemodalurl),"showgamename"in s&&a(13,D=s.showgamename),"visiblegames"in s&&a(14,P=s.visiblegames),"favorites"in s&&a(15,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(16,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(17,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&v&&J(),n.$$.dirty[0]&262272&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&262400&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&262208&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,w,R,A,M,D,P,N,j,E,g,F,i,v,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:21,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:16,lastplayedunique:25,fetchviaevent:17},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[21]}set translationurl(e){this.$$set({translationurl: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 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[16]}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[17]}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-BM2cfNWQ.cjs");require("./CasinoFavoritesSectionNd-DvpTb9JX.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[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),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[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,"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[16]),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]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),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]&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]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),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[20]("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]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?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(20,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(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",q),r.searchParams.append("limit",S),r.searchParams.append("order",C),r.searchParams.append("period",L),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=w?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{k=r.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(19,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,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(21,v=s.translationurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,M=s.gamepagemodalurl),"showgamename"in s&&a(13,D=s.showgamename),"visiblegames"in s&&a(14,P=s.visiblegames),"favorites"in s&&a(15,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(16,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(17,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&v&&J(),n.$$.dirty[0]&262272&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&262400&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&262208&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,w,R,A,M,D,P,N,j,E,g,F,i,v,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:21,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:16,lastplayedunique:25,fetchviaevent:17},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[21]}set translationurl(e){this.$$set({translationurl: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 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[16]}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[17]}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;
|