@everymatrix/casino-page 1.87.25 → 1.87.27
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-Bk2VWsYP.js +572 -0
- package/components/CasinoCalendar-CuMdPVUL.js +574 -0
- package/components/CasinoCalendar-NysJ_MQc.cjs +2 -0
- package/components/{CasinoCalendarDailyDetails-C9QkDeeW.js → CasinoCalendarDailyDetails-BMRyShgB.js} +84 -84
- package/components/CasinoCalendarDailyDetails-Ctd7GG23.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-DG8jTkOb.js → CasinoCalendarDailyDetails-DpRL4rZD.js} +84 -84
- package/components/CasinoCalendarDailyItem-Bwv-TV7n.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-H9bFOk6V.js → CasinoCalendarDailyItem-O-m4LUQU.js} +118 -118
- package/components/{CasinoCalendarDailyItem-77QxCgOg.js → CasinoCalendarDailyItem-kbMnL8LX.js} +118 -118
- package/components/CasinoCollectionsProviders-DxCAKrxO.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BRaAIVvV.js → CasinoCollectionsProviders-I8uaw4CX.js} +65 -65
- package/components/{CasinoCollectionsProviders-DOGIidgs.js → CasinoCollectionsProviders-bBtLlyhP.js} +93 -93
- package/components/CasinoFavoritesSection-BKpylL-E.cjs +1 -0
- package/components/{CasinoFavoritesSection-C-WTpxpq.js → CasinoFavoritesSection-D1NR_VbM.js} +47 -63
- package/components/{CasinoFavoritesSection-CZ-q50oD.js → CasinoFavoritesSection-DVEeqd8t.js} +44 -60
- package/components/CasinoFilter-BuCRML3F.cjs +1 -0
- package/components/{CasinoFilter-Dd_ByQUb.js → CasinoFilter-C-8LktQ9.js} +223 -224
- package/components/{CasinoFilter-BqfBTs3X.js → CasinoFilter-JysfGnIT.js} +251 -250
- package/components/CasinoGameThumbnail-CTIJhcZN.js +1847 -0
- package/components/CasinoGameThumbnail-MpCIIvr2.cjs +38 -0
- package/components/CasinoGameThumbnail-vCdzZgSQ.js +1831 -0
- package/components/CasinoGamesCategorySection-CQTfYAer.cjs +10 -0
- package/components/CasinoGamesCategorySection-C_uyd_r_.js +5729 -0
- package/components/CasinoGamesCategorySection-Cavp2XcF.js +5697 -0
- package/components/{CasinoJackpotBanner-BuCeq-FN.js → CasinoJackpotBanner-C6568dXk.js} +176 -176
- package/components/{CasinoJackpotBanner-Ba0HSy7J.js → CasinoJackpotBanner-CLADRgxD.js} +154 -154
- package/components/CasinoJackpotBanner-C_Gf1vLe.cjs +1 -0
- package/components/{CasinoLastPlayedSection-DJ9HO253.js → CasinoLastPlayedSection-Daix__De.js} +71 -72
- package/components/{CasinoLastPlayedSection-C5vsXbz8.js → CasinoLastPlayedSection-fA_Nko5c.js} +68 -69
- package/components/CasinoLastPlayedSection-i9eM46ud.cjs +1 -0
- package/components/CasinoMostPlayedSection-7F-BgAlY.cjs +1 -0
- package/components/{CasinoMostPlayedSection-_rcZwydD.js → CasinoMostPlayedSection-BG98a19d.js} +64 -65
- package/components/{CasinoMostPlayedSection-Cj9P1O_g.js → CasinoMostPlayedSection-DjDWyNmN.js} +66 -67
- package/components/{CasinoMyGames-BCWaO0Ph.js → CasinoMyGames-DbWMDQDz.js} +46 -46
- package/components/CasinoMyGames-FxQZFPn1.cjs +1 -0
- package/components/{CasinoMyGames-DA-mPnwJ.js → CasinoMyGames-fh1A5kRZ.js} +46 -46
- package/components/CasinoPage-CEwUBRwz.js +8914 -0
- package/components/CasinoPage-D1gCtQ9f.cjs +18 -0
- package/components/CasinoPage-DuLO92lO.js +8959 -0
- package/components/CasinoRandomGame-B6nMcOFW.cjs +2 -0
- package/components/{CasinoRandomGame-Dicpdv5N.js → CasinoRandomGame-BXeDL44i.js} +118 -118
- package/components/{CasinoRandomGame-Mzhi_geU.js → CasinoRandomGame-fp8-6pxV.js} +116 -116
- package/components/{CasinoSearch-BkcRkT-Z.js → CasinoSearch-CT_Q7Eg2.js} +75 -75
- package/components/{CasinoSearch-CFh1KpPL.js → CasinoSearch-D25EUsHS.js} +75 -75
- package/components/CasinoSearch-DSNlggOc.cjs +1 -0
- package/components/CasinoSort-5sOVz1es.cjs +1 -0
- package/components/{CasinoSort-DuvD0KkH.js → CasinoSort-CoBXSITn.js} +102 -102
- package/components/{CasinoSort-DHqu-YG-.js → CasinoSort-l3IilL10.js} +116 -116
- package/components/{CasinoWinners-C0aKkeDL.js → CasinoWinners-BeLObVW8.js} +105 -105
- package/components/{CasinoWinners-DdSjlEaj.js → CasinoWinners-mCHa7x4u.js} +108 -108
- package/components/CasinoWinners-pE3a77v3.cjs +1 -0
- package/components/GeneralAnimationLoading-BJ87LnuC.cjs +1 -0
- package/components/{GeneralAnimationLoading-DhrziAD2.js → GeneralAnimationLoading-BaLCQhkc.js} +23 -23
- package/components/{GeneralAnimationLoading-B00sPlMG.js → GeneralAnimationLoading-SLNmfkn9.js} +22 -22
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +7 -7
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{app-globals-0f993ce5-4b17CI_n.cjs → app-globals-0f993ce5-3HCMFTIi.cjs} +1 -1
- package/stencil/{app-globals-0f993ce5-DfNOCk8l.js → app-globals-0f993ce5-DYjuqKIH.js} +2 -2
- package/stencil/{casino-play-random-game-rhXCh2EW.js → casino-play-random-game-BnjM-0qi.js} +2 -2
- package/stencil/{casino-play-random-game-CSy8nXT0.js → casino-play-random-game-DRQxeH3W.js} +2 -2
- package/stencil/{casino-play-random-game-PuRF3mXV.cjs → casino-play-random-game-dt2t2wAq.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-CZQxP9GA.js → casino-play-random-game_2-BvZbjHRJ.js} +92 -64
- package/stencil/{casino-play-random-game_2-CBAgufN5.cjs → casino-play-random-game_2-ZYQBmsCp.cjs} +3 -3
- package/stencil/{casino-play-random-game_2-BBgMV3ws.js → casino-play-random-game_2-aWmRrJVX.js} +91 -64
- package/stencil/{index-328e660d-BLQrzwBv.cjs → index-328e660d-BN7c7sEP.cjs} +1 -1
- package/stencil/{index-328e660d-Belout2l.js → index-328e660d-CJOt0Yr_.js} +1 -1
- package/stencil/{index-328e660d-BqUO7ccV.js → index-328e660d-CZwFIIV5.js} +1 -1
- package/stencil/{index-b2193545-DuCTLpV-.cjs → index-b2193545-BYDm8FOU.cjs} +1 -1
- package/stencil/{index-b2193545-DG7pnr-7.js → index-b2193545-CVvOSay7.js} +1 -1
- package/stencil/{index-b2193545-BZAG_Jnw.js → index-b2193545-DkSkdO8p.js} +1 -1
- package/stencil/{ui-image-BmLAbwvr.cjs → ui-image-BNLichPz.cjs} +1 -1
- package/stencil/{ui-image-DDulMZDF.js → ui-image-D8_P6p7o.js} +1 -1
- package/stencil/{ui-image-DwWgscwP.js → ui-image-KAOdlRk_.js} +1 -1
- package/stencil/{ui-skeleton-DgZQnowa.js → ui-skeleton-CbcQXFpx.js} +3 -3
- package/stencil/{ui-skeleton-D_tu1FGi.js → ui-skeleton-DgkQtSrH.js} +3 -3
- package/stencil/{ui-skeleton-BWEKzqTN.cjs → ui-skeleton-TOJItxHv.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-D2rWx_KU.js → ui-skeleton-ed169f8f-BD9hI4Jz.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Ti6Ksz7V.cjs → ui-skeleton-ed169f8f-CGu6WFdq.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-Bs1q2JQr.js → ui-skeleton-ed169f8f-CaxkPCnR.js} +1 -1
- package/components/CasinoCalendar-4k288rHh.cjs +0 -19
- package/components/CasinoCalendar-BNbVJJdG.js +0 -5140
- package/components/CasinoCalendar-DAKxxPPx.js +0 -5101
- package/components/CasinoCalendarDailyDetails-CerVlpW4.cjs +0 -1
- package/components/CasinoCalendarDailyItem-B7YANGR4.cjs +0 -1
- package/components/CasinoCollectionsProviders-OZw09qnR.cjs +0 -1
- package/components/CasinoFavoritesSection-DYzKNVZJ.cjs +0 -1
- package/components/CasinoFilter-BP97bmoQ.cjs +0 -1
- package/components/CasinoGameThumbnail-CySg8Qzs.js +0 -4359
- package/components/CasinoGameThumbnail-W0nETKCH.cjs +0 -47
- package/components/CasinoGameThumbnail-ge_yVb-v.js +0 -4375
- package/components/CasinoGamesCategorySection-B2CXUJ-V.js +0 -3217
- package/components/CasinoGamesCategorySection-B8IjpDwj.js +0 -3185
- package/components/CasinoGamesCategorySection-DCjn0aiz.cjs +0 -1
- package/components/CasinoJackpotBanner-DRtiH_Mn.cjs +0 -1
- package/components/CasinoLastPlayedSection-CP4YzhAu.cjs +0 -1
- package/components/CasinoMostPlayedSection-DPG3YsM6.cjs +0 -1
- package/components/CasinoMyGames-Bqyyy2Me.cjs +0 -1
- package/components/CasinoPage-BNU69s1m.js +0 -4353
- package/components/CasinoPage-BRSRsp5F.js +0 -4334
- package/components/CasinoPage-D-FENg4m.cjs +0 -1
- package/components/CasinoRandomGame-DRGWOXO6.cjs +0 -2
- package/components/CasinoSearch-D14Ak2E9.cjs +0 -1
- package/components/CasinoSort-BVyHskml.cjs +0 -1
- package/components/CasinoWinners-5S4Rqt23.cjs +0 -1
- package/components/GeneralAnimationLoading-wnzFPEVd.cjs +0 -1
|
@@ -14,14 +14,14 @@ var ae = (t, e, n) => new Promise((r, s) => {
|
|
|
14
14
|
}, u = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, l);
|
|
15
15
|
u((n = n.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { a as
|
|
18
|
-
function
|
|
19
|
-
|
|
17
|
+
import { a as en, $ as nn, S as tn, i as rn, s as sn, f as b, b as on, n as ve, d as E, c as z, e as W, h as ln, j as an, r as cn, Q as Ce, k as ce, y as U, w as $, A as Ne, T as un, g as a, m as f, B as Q, q as H, C as Y, l as ue, u as V, v as K, R as ke, D as dn, E as mn, F as fn, G as gn, H as hn } from "./CasinoPage-DuLO92lO.js";
|
|
18
|
+
function bn(t, e) {
|
|
19
|
+
en(t, e);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
|
|
21
|
+
function pn(t) {
|
|
22
|
+
nn.set(t);
|
|
23
23
|
}
|
|
24
|
-
const
|
|
24
|
+
const yn = {
|
|
25
25
|
en: {
|
|
26
26
|
recentWinners: "Recent Winners",
|
|
27
27
|
topWinners: "Top Winners",
|
|
@@ -137,7 +137,7 @@ const pn = {
|
|
|
137
137
|
noWinnersMessage: "Currently there are no winners."
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
|
-
function
|
|
140
|
+
function wn(t, e, n) {
|
|
141
141
|
return window.emMessageBus && (e = window.emMessageBus.subscribe(t, n)), e;
|
|
142
142
|
}
|
|
143
143
|
if (typeof window != "undefined") {
|
|
@@ -152,12 +152,12 @@ if (typeof window != "undefined") {
|
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
};
|
|
155
|
-
customElements.define = t(customElements.define), import("./GeneralAnimationLoading-
|
|
155
|
+
customElements.define = t(customElements.define), import("./GeneralAnimationLoading-SLNmfkn9.js").then(({ default: e }) => {
|
|
156
156
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", e.element);
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
|
-
function
|
|
160
|
-
|
|
159
|
+
function Wn(t) {
|
|
160
|
+
on(t, "svelte-d1flp7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
|
|
161
161
|
}
|
|
162
162
|
function Me(t, e, n) {
|
|
163
163
|
const r = t.slice();
|
|
@@ -167,26 +167,26 @@ function Fe(t, e, n) {
|
|
|
167
167
|
const r = t.slice();
|
|
168
168
|
return r[77] = e[n], r;
|
|
169
169
|
}
|
|
170
|
-
function
|
|
171
|
-
let e, n, r, s, o, l, u, c, y, P, B, _, w, R, A, N, x,
|
|
170
|
+
function _n(t) {
|
|
171
|
+
let e, n, r, s, o, l, u, c, y, P, B, _, w, R, A, N, x, j, M, v = $(
|
|
172
172
|
/*tabs*/
|
|
173
173
|
t[16]
|
|
174
174
|
), h = [];
|
|
175
175
|
for (let m = 0; m < v.length; m += 1)
|
|
176
176
|
h[m] = Te(Fe(t, v, m));
|
|
177
|
-
function
|
|
177
|
+
function L(m, g) {
|
|
178
178
|
return (
|
|
179
179
|
/*isLoadingDelayed*/
|
|
180
|
-
m[17] ?
|
|
180
|
+
m[17] ? kn : Cn
|
|
181
181
|
);
|
|
182
182
|
}
|
|
183
|
-
let T =
|
|
183
|
+
let T = L(t), C = T(t);
|
|
184
184
|
return {
|
|
185
185
|
c() {
|
|
186
186
|
e = W("div"), n = W("div"), r = W("div");
|
|
187
187
|
for (let m = 0; m < h.length; m += 1)
|
|
188
188
|
h[m].c();
|
|
189
|
-
s = H(), o = W("div"), l = W("button"), u =
|
|
189
|
+
s = H(), o = W("div"), l = W("button"), u = Y("svg"), c = Y("path"), P = H(), B = W("button"), _ = Y("svg"), w = Y("path"), N = H(), C.c(), a(r, "class", "WinnerButtonsContainer"), a(c, "style", y = /*numberOfVisibleSlides*/
|
|
190
190
|
t[11] >= /*winners*/
|
|
191
191
|
t[10].length ? "fill:#F6F6F62E" : ""), a(c, "id", "Path_36"), a(c, "data-name", "Path 36"), a(c, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(c, "transform", "translate(14.656 0) rotate(90)"), a(c, "fill", "#fff"), a(u, "id", "Component_46_2"), a(u, "data-name", "Component 46 – 2"), a(u, "xmlns", "http://www.w3.org/2000/svg"), a(u, "width", "15"), a(u, "height", "15"), a(u, "viewBox", "0 0 16 24.656"), a(l, "class", "SliderButton"), a(w, "style", R = /*numberOfVisibleSlides*/
|
|
192
192
|
t[11] >= /*winners*/
|
|
@@ -198,20 +198,20 @@ function Wn(t) {
|
|
|
198
198
|
z(m, e, g), f(e, n), f(n, r);
|
|
199
199
|
for (let d = 0; d < h.length; d += 1)
|
|
200
200
|
h[d] && h[d].m(r, null);
|
|
201
|
-
f(n, s), f(n, o), f(o, l), f(l, u), f(u, c), f(o, P), f(o, B), f(B, _), f(_, w), f(e, N), C.m(e, null),
|
|
202
|
-
|
|
201
|
+
f(n, s), f(n, o), f(o, l), f(l, u), f(u, c), f(o, P), f(o, B), f(B, _), f(_, w), f(e, N), C.m(e, null), j || (M = [
|
|
202
|
+
Q(
|
|
203
203
|
l,
|
|
204
204
|
"click",
|
|
205
205
|
/*click_handler_2*/
|
|
206
206
|
t[47]
|
|
207
207
|
),
|
|
208
|
-
|
|
208
|
+
Q(
|
|
209
209
|
B,
|
|
210
210
|
"click",
|
|
211
211
|
/*click_handler_3*/
|
|
212
212
|
t[48]
|
|
213
213
|
)
|
|
214
|
-
],
|
|
214
|
+
], j = !0);
|
|
215
215
|
},
|
|
216
216
|
p(m, g) {
|
|
217
217
|
if (g[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
|
|
@@ -237,16 +237,16 @@ function Wn(t) {
|
|
|
237
237
|
m[11] >= /*winners*/
|
|
238
238
|
m[10].length ? "fill:#F6F6F62E" : "") && a(w, "style", R), g[0] & /*enableautoscroll*/
|
|
239
239
|
16 && A !== (A = "ButtonsContainer " + /*enableautoscroll*/
|
|
240
|
-
(m[4] == "true" ? "ButtonsContainerNone" : "")) && a(o, "class", A), T === (T =
|
|
240
|
+
(m[4] == "true" ? "ButtonsContainerNone" : "")) && a(o, "class", A), T === (T = L(m)) && C ? C.p(m, g) : (C.d(1), C = T(m), C && (C.c(), C.m(e, null))), g[0] & /*mobile*/
|
|
241
241
|
4096 && x !== (x = "CasinoWinners " + /*mobile*/
|
|
242
242
|
(m[12] ? "Mobile" : "")) && a(e, "class", x);
|
|
243
243
|
},
|
|
244
244
|
d(m) {
|
|
245
|
-
m && E(e), Ne(h, m), C.d(),
|
|
245
|
+
m && E(e), Ne(h, m), C.d(), j = !1, un(M);
|
|
246
246
|
}
|
|
247
247
|
};
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function vn(t) {
|
|
250
250
|
let e;
|
|
251
251
|
return {
|
|
252
252
|
c() {
|
|
@@ -317,7 +317,7 @@ function Be(t) {
|
|
|
317
317
|
(t[9] == "recent" ? "Active" : ""));
|
|
318
318
|
},
|
|
319
319
|
m(u, c) {
|
|
320
|
-
z(u, e, c), f(e, r), o || (l =
|
|
320
|
+
z(u, e, c), f(e, r), o || (l = Q(
|
|
321
321
|
e,
|
|
322
322
|
"click",
|
|
323
323
|
/*click_handler*/
|
|
@@ -327,7 +327,7 @@ function Be(t) {
|
|
|
327
327
|
p(u, c) {
|
|
328
328
|
c[0] & /*$_*/
|
|
329
329
|
262144 && n !== (n = /*$_*/
|
|
330
|
-
u[18]("recentWinners") + "") &&
|
|
330
|
+
u[18]("recentWinners") + "") && V(r, n), c[0] & /*winnersType*/
|
|
331
331
|
512 && s !== (s = "WinnersButton " + /*winnersType*/
|
|
332
332
|
(u[9] == "recent" ? "Active" : "")) && a(e, "class", s);
|
|
333
333
|
},
|
|
@@ -348,7 +348,7 @@ function xe(t) {
|
|
|
348
348
|
(t[1] == "false" ? "Off" : ""));
|
|
349
349
|
},
|
|
350
350
|
m(c, y) {
|
|
351
|
-
z(c, e, y), f(e, r), f(e, s), l || (u =
|
|
351
|
+
z(c, e, y), f(e, r), f(e, s), l || (u = Q(
|
|
352
352
|
e,
|
|
353
353
|
"click",
|
|
354
354
|
/*click_handler_1*/
|
|
@@ -358,7 +358,7 @@ function xe(t) {
|
|
|
358
358
|
p(c, y) {
|
|
359
359
|
y[0] & /*$_*/
|
|
360
360
|
262144 && n !== (n = /*$_*/
|
|
361
|
-
c[18]("topWinners") + "") &&
|
|
361
|
+
c[18]("topWinners") + "") && V(r, n), y[0] & /*winnersType, istopavailable*/
|
|
362
362
|
514 && o !== (o = "WinnersButton " + /*winnersType*/
|
|
363
363
|
(c[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
|
|
364
364
|
(c[1] == "false" ? "Off" : "")) && a(e, "class", o);
|
|
@@ -393,12 +393,12 @@ function Te(t) {
|
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function Cn(t) {
|
|
397
397
|
let e;
|
|
398
398
|
function n(o, l) {
|
|
399
399
|
return (
|
|
400
400
|
/*winners*/
|
|
401
|
-
o[10].length !== 0 ?
|
|
401
|
+
o[10].length !== 0 ? Fn : Mn
|
|
402
402
|
);
|
|
403
403
|
}
|
|
404
404
|
let r = n(t), s = r(t);
|
|
@@ -417,7 +417,7 @@ function vn(t) {
|
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
419
|
}
|
|
420
|
-
function
|
|
420
|
+
function kn(t) {
|
|
421
421
|
let e;
|
|
422
422
|
return {
|
|
423
423
|
c() {
|
|
@@ -467,7 +467,7 @@ function Cn(t) {
|
|
|
467
467
|
}
|
|
468
468
|
};
|
|
469
469
|
}
|
|
470
|
-
function
|
|
470
|
+
function Mn(t) {
|
|
471
471
|
let e, n = (
|
|
472
472
|
/*$_*/
|
|
473
473
|
t[18]("noWinnersMessage") + ""
|
|
@@ -482,14 +482,14 @@ function kn(t) {
|
|
|
482
482
|
p(s, o) {
|
|
483
483
|
o[0] & /*$_*/
|
|
484
484
|
262144 && n !== (n = /*$_*/
|
|
485
|
-
s[18]("noWinnersMessage") + "") &&
|
|
485
|
+
s[18]("noWinnersMessage") + "") && V(r, n);
|
|
486
486
|
},
|
|
487
487
|
d(s) {
|
|
488
488
|
s && E(e);
|
|
489
489
|
}
|
|
490
490
|
};
|
|
491
491
|
}
|
|
492
|
-
function
|
|
492
|
+
function Fn(t) {
|
|
493
493
|
let e, n = $(
|
|
494
494
|
/*winners*/
|
|
495
495
|
t[10]
|
|
@@ -542,13 +542,13 @@ function Ae(t) {
|
|
|
542
542
|
), w, R, A, N = (
|
|
543
543
|
/*$_*/
|
|
544
544
|
t[18]("won") + ""
|
|
545
|
-
), x,
|
|
545
|
+
), x, j, M, v = (
|
|
546
546
|
/*getAmount*/
|
|
547
547
|
t[24](
|
|
548
548
|
/*winner*/
|
|
549
549
|
t[74].specifiedCurrencyAmount
|
|
550
550
|
) + ""
|
|
551
|
-
), h,
|
|
551
|
+
), h, L, T, C;
|
|
552
552
|
function m() {
|
|
553
553
|
return (
|
|
554
554
|
/*click_handler_4*/
|
|
@@ -560,51 +560,51 @@ function Ae(t) {
|
|
|
560
560
|
}
|
|
561
561
|
return {
|
|
562
562
|
c() {
|
|
563
|
-
var g, d, F,
|
|
564
|
-
e = W("div"), n = W("div"), r = W("img"), l = H(), u = W("p"), y = K(c), P = H(), B = W("p"), w = K(_), R = H(), A = W("p"), x = K(N),
|
|
563
|
+
var g, d, F, O;
|
|
564
|
+
e = W("div"), n = W("div"), r = W("img"), l = H(), u = W("p"), y = K(c), P = H(), B = W("p"), w = K(_), R = H(), A = W("p"), x = K(N), j = H(), M = W("p"), h = H(), ke(r.src, s = /*winner*/
|
|
565
565
|
(d = (g = t[74]) == null ? void 0 : g.gameModel) == null ? void 0 : d.thumbnail) || a(r, "src", s), a(r, "alt", o = /*winner*/
|
|
566
|
-
(
|
|
566
|
+
(O = (F = t[74]) == null ? void 0 : F.gameModel) == null ? void 0 : O.thumbnail), a(r, "class", "WinnersImage"), a(A, "class", "WinnerUsername"), a(M, "class", "WinnerAmount"), a(n, "class", "WinnerCard"), a(e, "class", L = "CardWrapper " + /*addAnimation*/
|
|
567
567
|
(t[15] ? "CardWrapperAnimation" : ""));
|
|
568
568
|
},
|
|
569
569
|
m(g, d) {
|
|
570
|
-
z(g, e, d), f(e, n), f(n, r), f(n, l), f(n, u), f(u, y), f(n, P), f(n, B), f(B, w), f(n, R), f(n, A), f(A, x), f(n,
|
|
570
|
+
z(g, e, d), f(e, n), f(n, r), f(n, l), f(n, u), f(u, y), f(n, P), f(n, B), f(B, w), f(n, R), f(n, A), f(A, x), f(n, j), f(n, M), M.innerHTML = v, t[50](n), f(e, h), T || (C = Q(r, "click", m), T = !0);
|
|
571
571
|
},
|
|
572
572
|
p(g, d) {
|
|
573
|
-
var F,
|
|
573
|
+
var F, O, D, G;
|
|
574
574
|
t = g, d[0] & /*winners*/
|
|
575
575
|
1024 && !ke(r.src, s = /*winner*/
|
|
576
|
-
(
|
|
576
|
+
(O = (F = t[74]) == null ? void 0 : F.gameModel) == null ? void 0 : O.thumbnail) && a(r, "src", s), d[0] & /*winners*/
|
|
577
577
|
1024 && o !== (o = /*winner*/
|
|
578
|
-
(
|
|
578
|
+
(G = (D = t[74]) == null ? void 0 : D.gameModel) == null ? void 0 : G.thumbnail) && a(r, "alt", o), d[0] & /*winners*/
|
|
579
579
|
1024 && c !== (c = /*winner*/
|
|
580
|
-
t[74].gameName + "") &&
|
|
580
|
+
t[74].gameName + "") && V(y, c), d[0] & /*winners*/
|
|
581
581
|
1024 && _ !== (_ = /*maskUsername*/
|
|
582
582
|
t[20](
|
|
583
583
|
/*winner*/
|
|
584
584
|
t[74].username
|
|
585
|
-
) + "") &&
|
|
585
|
+
) + "") && V(w, _), d[0] & /*$_*/
|
|
586
586
|
262144 && N !== (N = /*$_*/
|
|
587
|
-
t[18]("won") + "") &&
|
|
587
|
+
t[18]("won") + "") && V(x, N), d[0] & /*winners*/
|
|
588
588
|
1024 && v !== (v = /*getAmount*/
|
|
589
589
|
t[24](
|
|
590
590
|
/*winner*/
|
|
591
591
|
t[74].specifiedCurrencyAmount
|
|
592
592
|
) + "") && (M.innerHTML = v), d[0] & /*addAnimation*/
|
|
593
|
-
32768 &&
|
|
594
|
-
(t[15] ? "CardWrapperAnimation" : "")) && a(e, "class",
|
|
593
|
+
32768 && L !== (L = "CardWrapper " + /*addAnimation*/
|
|
594
|
+
(t[15] ? "CardWrapperAnimation" : "")) && a(e, "class", L);
|
|
595
595
|
},
|
|
596
596
|
d(g) {
|
|
597
597
|
g && E(e), t[50](null), T = !1, C();
|
|
598
598
|
}
|
|
599
599
|
};
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function Sn(t) {
|
|
602
602
|
let e;
|
|
603
603
|
function n(o, l) {
|
|
604
604
|
return (
|
|
605
605
|
/*isLoading*/
|
|
606
606
|
o[13] || /*isLoadingCustomStyling*/
|
|
607
|
-
o[14] ?
|
|
607
|
+
o[14] ? vn : _n
|
|
608
608
|
);
|
|
609
609
|
}
|
|
610
610
|
let r = n(t), s = r(t);
|
|
@@ -625,13 +625,13 @@ function Fn(t) {
|
|
|
625
625
|
}
|
|
626
626
|
};
|
|
627
627
|
}
|
|
628
|
-
function
|
|
628
|
+
function Bn(t, e, n) {
|
|
629
629
|
let r;
|
|
630
|
-
|
|
631
|
-
let { endpoint: s = "" } = e, { session: o = "" } = e, { userid: l = "" } = e, { periodrecent: u = "Today" } = e, { periodtop: c = "Last7Days" } = e, { numberusersrecent: y = "20" } = e, { numberuserstop: P = "20" } = e, { amountlimit: B = "1" } = e, { vendorCategory: _ = "All" } = e, { lang: w = "en" } = e, { isrecentavailable: R = "true" } = e, { istopavailable: A = "true" } = e, { defaultcurrency: N = "" } = e, { usercurrency: x = "" } = e, { customcurrencysymbol:
|
|
630
|
+
ln(t, hn, (i) => n(18, r = i));
|
|
631
|
+
let { endpoint: s = "" } = e, { session: o = "" } = e, { userid: l = "" } = e, { periodrecent: u = "Today" } = e, { periodtop: c = "Last7Days" } = e, { numberusersrecent: y = "20" } = e, { numberuserstop: P = "20" } = e, { amountlimit: B = "1" } = e, { vendorCategory: _ = "All" } = e, { lang: w = "en" } = e, { isrecentavailable: R = "true" } = e, { istopavailable: A = "true" } = e, { defaultcurrency: N = "" } = e, { usercurrency: x = "" } = e, { customcurrencysymbol: j } = e, { clientstyling: M = "" } = e, { clientstylingurl: v = "" } = e, { enableautoscroll: h = "" } = e, { tabsorder: L = "" } = e, { translationurl: T = "" } = e, { winnersdatasources: C = "" } = e, { hascustomstyling: m = "false" } = e, { mbsource: g } = e, { currencylocale: d = "" } = e, F, O, D, G = [], k = 0, S = 0, Ee = window.navigator.userAgent, de, Z, ee, I, ne = !0, me = !1, fe = !1, ge, X, te, J, he = [], re = !1, ze, je;
|
|
632
632
|
const ie = (i) => {
|
|
633
633
|
Object.keys(i).forEach((p) => {
|
|
634
|
-
|
|
634
|
+
bn(p, i[p]);
|
|
635
635
|
});
|
|
636
636
|
}, Le = () => {
|
|
637
637
|
let i = new URL(T);
|
|
@@ -641,7 +641,7 @@ function Sn(t, e, n) {
|
|
|
641
641
|
console.log(p);
|
|
642
642
|
});
|
|
643
643
|
};
|
|
644
|
-
ie(
|
|
644
|
+
ie(yn);
|
|
645
645
|
const be = () => {
|
|
646
646
|
he = C.split(",").map(function(p) {
|
|
647
647
|
return p.trim();
|
|
@@ -652,23 +652,23 @@ function Sn(t, e, n) {
|
|
|
652
652
|
}), setTimeout(
|
|
653
653
|
() => {
|
|
654
654
|
fetch(i.href).then((p) => p.json()).then((p) => ae(this, null, function* () {
|
|
655
|
-
n(10,
|
|
655
|
+
n(10, G = []), n(10, G = p.items.map((q) => q)), n(17, re = !1), yield Ce(), Ie(), ye(), h == "true" && (clearInterval(X), Ge()), n(13, ne = !1), Re();
|
|
656
656
|
}));
|
|
657
657
|
},
|
|
658
658
|
1e3
|
|
659
659
|
);
|
|
660
|
-
},
|
|
661
|
-
const i =
|
|
660
|
+
}, Re = () => {
|
|
661
|
+
const i = I.getRootNode().host;
|
|
662
662
|
i.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: i } }));
|
|
663
663
|
}, se = (i) => {
|
|
664
|
-
D !== i && (n(10,
|
|
665
|
-
},
|
|
664
|
+
D !== i && (n(10, G = []), n(9, D = i), be());
|
|
665
|
+
}, Oe = (i) => i.slice(0, 2) + i.slice(2, -2).replace(/./g, "*") + i.slice(-2), pe = (i, p, q, le) => {
|
|
666
666
|
window.postMessage(
|
|
667
667
|
{
|
|
668
668
|
type: "OpenCasinoWinnersGame",
|
|
669
669
|
gameId: i,
|
|
670
670
|
launchUrl: p,
|
|
671
|
-
gameName:
|
|
671
|
+
gameName: q,
|
|
672
672
|
subVendor: le
|
|
673
673
|
},
|
|
674
674
|
window.location.href
|
|
@@ -679,64 +679,64 @@ function Sn(t, e, n) {
|
|
|
679
679
|
});
|
|
680
680
|
}, ye = (i = 0) => {
|
|
681
681
|
const p = [...F.children];
|
|
682
|
-
ge = p.length, p.forEach((
|
|
683
|
-
|
|
682
|
+
ge = p.length, p.forEach((q, le) => {
|
|
683
|
+
q.style.transform = `translateX(${100 * (le - i)}%)`;
|
|
684
684
|
}), setTimeout(
|
|
685
685
|
() => {
|
|
686
686
|
n(15, fe = !0);
|
|
687
687
|
},
|
|
688
688
|
10
|
|
689
689
|
);
|
|
690
|
-
},
|
|
691
|
-
k = 0, S < ge ?
|
|
690
|
+
}, Ge = () => {
|
|
691
|
+
k = 0, S < ge ? X = setInterval(
|
|
692
692
|
() => {
|
|
693
693
|
oe();
|
|
694
694
|
},
|
|
695
695
|
3e3
|
|
696
|
-
) : clearInterval(
|
|
696
|
+
) : clearInterval(X);
|
|
697
697
|
}, we = () => {
|
|
698
698
|
ye(k);
|
|
699
|
-
},
|
|
699
|
+
}, Ie = () => ae(this, null, function* () {
|
|
700
700
|
yield Ce(), requestAnimationFrame(() => {
|
|
701
|
-
const i =
|
|
701
|
+
const i = O ? O.offsetWidth : 0;
|
|
702
702
|
F.offsetWidth && i ? n(11, S = Math.round(F.offsetWidth / i)) : n(11, S = 0);
|
|
703
703
|
});
|
|
704
704
|
}), We = () => {
|
|
705
|
-
if (S >=
|
|
705
|
+
if (S >= G.length)
|
|
706
706
|
return;
|
|
707
|
-
const i =
|
|
707
|
+
const i = G.length;
|
|
708
708
|
k === 0 ? k = i - S : k - S < 0 ? k = 0 : k = k - S, we();
|
|
709
709
|
}, oe = () => {
|
|
710
|
-
if (S >=
|
|
710
|
+
if (S >= G.length)
|
|
711
711
|
return;
|
|
712
|
-
const i =
|
|
712
|
+
const i = G.length;
|
|
713
713
|
h == "true" && (k === i - S ? k = 0 : k++), h == "false" && (k === i - S ? k = 0 : i - S < k + S ? k = i - S : k += S), we();
|
|
714
|
-
}, Ge = () => {
|
|
715
|
-
bn(w);
|
|
716
714
|
}, Pe = () => {
|
|
715
|
+
pn(w);
|
|
716
|
+
}, De = () => {
|
|
717
717
|
n(43, Z = !0), ee = l;
|
|
718
718
|
}, _e = () => {
|
|
719
719
|
n(44, J = Z ? x : N);
|
|
720
|
-
},
|
|
721
|
-
const p =
|
|
720
|
+
}, Ue = (i) => {
|
|
721
|
+
const p = j != null ? j : Z ? x : N;
|
|
722
722
|
return `${d ? Intl.NumberFormat(d, {
|
|
723
723
|
minimumFractionDigits: 2,
|
|
724
724
|
maximumFractionDigits: 2,
|
|
725
725
|
style: "currency",
|
|
726
726
|
currency: J
|
|
727
727
|
}).format(i).replace(/\s/g, "") : i.toFixed(2)}<span class="CurrencySymbol">${p}</span>`;
|
|
728
|
-
}, Ue = () => {
|
|
729
|
-
m === "true" && (!M && !v && G && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !M && v && n(14, me = !0));
|
|
730
728
|
}, He = () => {
|
|
731
|
-
|
|
729
|
+
m === "true" && (!M && !v && I && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !M && v && n(14, me = !0));
|
|
730
|
+
}, qe = () => {
|
|
731
|
+
n(16, te = L.split(",")), n(9, D = te[0]), _e(), n(13, ne = !1);
|
|
732
732
|
};
|
|
733
|
-
|
|
734
|
-
clearInterval(
|
|
733
|
+
an(() => (n(12, de = cn(Ee)), () => {
|
|
734
|
+
clearInterval(X);
|
|
735
735
|
}));
|
|
736
|
-
const Ve = () => se("recent"),
|
|
736
|
+
const Ve = () => se("recent"), Ke = () => se("top"), Ze = () => We(), Je = () => oe(), Qe = (i) => pe(i.gameId, i.gameModel.launchUrl, i.gameModel.name, i.gameModel.subVendor);
|
|
737
737
|
function Xe(i) {
|
|
738
738
|
ce[i ? "unshift" : "push"](() => {
|
|
739
|
-
|
|
739
|
+
O = i, n(8, O);
|
|
740
740
|
});
|
|
741
741
|
}
|
|
742
742
|
function Ye(i) {
|
|
@@ -744,29 +744,29 @@ function Sn(t, e, n) {
|
|
|
744
744
|
F = i, n(7, F);
|
|
745
745
|
});
|
|
746
746
|
}
|
|
747
|
-
function
|
|
747
|
+
function $e(i) {
|
|
748
748
|
ce[i ? "unshift" : "push"](() => {
|
|
749
|
-
|
|
749
|
+
I = i, n(6, I);
|
|
750
750
|
});
|
|
751
751
|
}
|
|
752
752
|
return t.$$set = (i) => {
|
|
753
|
-
"endpoint" in i && n(25, s = i.endpoint), "session" in i && n(26, o = i.session), "userid" in i && n(27, l = i.userid), "periodrecent" in i && n(28, u = i.periodrecent), "periodtop" in i && n(29, c = i.periodtop), "numberusersrecent" in i && n(30, y = i.numberusersrecent), "numberuserstop" in i && n(31, P = i.numberuserstop), "amountlimit" in i && n(32, B = i.amountlimit), "vendorCategory" in i && n(33, _ = i.vendorCategory), "lang" in i && n(34, w = i.lang), "isrecentavailable" in i && n(0, R = i.isrecentavailable), "istopavailable" in i && n(1, A = i.istopavailable), "defaultcurrency" in i && n(35, N = i.defaultcurrency), "usercurrency" in i && n(36, x = i.usercurrency), "customcurrencysymbol" in i && n(37,
|
|
753
|
+
"endpoint" in i && n(25, s = i.endpoint), "session" in i && n(26, o = i.session), "userid" in i && n(27, l = i.userid), "periodrecent" in i && n(28, u = i.periodrecent), "periodtop" in i && n(29, c = i.periodtop), "numberusersrecent" in i && n(30, y = i.numberusersrecent), "numberuserstop" in i && n(31, P = i.numberuserstop), "amountlimit" in i && n(32, B = i.amountlimit), "vendorCategory" in i && n(33, _ = i.vendorCategory), "lang" in i && n(34, w = i.lang), "isrecentavailable" in i && n(0, R = i.isrecentavailable), "istopavailable" in i && n(1, A = i.istopavailable), "defaultcurrency" in i && n(35, N = i.defaultcurrency), "usercurrency" in i && n(36, x = i.usercurrency), "customcurrencysymbol" in i && n(37, j = i.customcurrencysymbol), "clientstyling" in i && n(2, M = i.clientstyling), "clientstylingurl" in i && n(3, v = i.clientstylingurl), "enableautoscroll" in i && n(4, h = i.enableautoscroll), "tabsorder" in i && n(38, L = i.tabsorder), "translationurl" in i && n(39, T = i.translationurl), "winnersdatasources" in i && n(40, C = i.winnersdatasources), "hascustomstyling" in i && n(41, m = i.hascustomstyling), "mbsource" in i && n(5, g = i.mbsource), "currencylocale" in i && n(42, d = i.currencylocale);
|
|
754
754
|
}, t.$$.update = () => {
|
|
755
755
|
t.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop, numberusersrecent*/
|
|
756
756
|
1879048195 | t.$$.dirty[1] & /*numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
|
|
757
|
-
143 && R && A && u && c && y && P && B && _ && w &&
|
|
758
|
-
67108864 && o &&
|
|
757
|
+
143 && R && A && u && c && y && P && B && _ && w && L && qe(), t.$$.dirty[0] & /*session*/
|
|
758
|
+
67108864 && o && De(), t.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
|
|
759
759
|
4144 && Z && (x || N) && _e(), t.$$.dirty[0] & /*endpoint*/
|
|
760
760
|
33554432 | t.$$.dirty[1] & /*winnersdatasources, currency*/
|
|
761
761
|
8704 && s && C && J && be(), t.$$.dirty[1] & /*lang*/
|
|
762
|
-
8 && w &&
|
|
762
|
+
8 && w && Pe(), t.$$.dirty[1] & /*translationurl*/
|
|
763
763
|
256 && T && Le(), t.$$.dirty[0] & /*mbsource*/
|
|
764
764
|
32 | t.$$.dirty[1] & /*translationurl*/
|
|
765
|
-
256 && g && !T &&
|
|
766
|
-
1024 && m &&
|
|
767
|
-
68 && M &&
|
|
768
|
-
72 && v &&
|
|
769
|
-
96 &&
|
|
765
|
+
256 && g && !T && wn(`${g}.Translation`, je, ie), t.$$.dirty[1] & /*hascustomstyling*/
|
|
766
|
+
1024 && m && He(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
767
|
+
68 && M && I && dn(I, M), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
768
|
+
72 && v && I && mn(I, v), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
769
|
+
96 && I && fn(I, `${g}.Style`, ze);
|
|
770
770
|
}, [
|
|
771
771
|
R,
|
|
772
772
|
A,
|
|
@@ -774,11 +774,11 @@ function Sn(t, e, n) {
|
|
|
774
774
|
v,
|
|
775
775
|
h,
|
|
776
776
|
g,
|
|
777
|
-
G,
|
|
778
|
-
F,
|
|
779
777
|
I,
|
|
780
|
-
|
|
778
|
+
F,
|
|
781
779
|
O,
|
|
780
|
+
D,
|
|
781
|
+
G,
|
|
782
782
|
S,
|
|
783
783
|
de,
|
|
784
784
|
ne,
|
|
@@ -788,11 +788,11 @@ function Sn(t, e, n) {
|
|
|
788
788
|
re,
|
|
789
789
|
r,
|
|
790
790
|
se,
|
|
791
|
-
|
|
791
|
+
Oe,
|
|
792
792
|
pe,
|
|
793
793
|
We,
|
|
794
794
|
oe,
|
|
795
|
-
|
|
795
|
+
Ue,
|
|
796
796
|
s,
|
|
797
797
|
o,
|
|
798
798
|
l,
|
|
@@ -805,8 +805,8 @@ function Sn(t, e, n) {
|
|
|
805
805
|
w,
|
|
806
806
|
N,
|
|
807
807
|
x,
|
|
808
|
-
L,
|
|
809
808
|
j,
|
|
809
|
+
L,
|
|
810
810
|
T,
|
|
811
811
|
C,
|
|
812
812
|
m,
|
|
@@ -814,23 +814,23 @@ function Sn(t, e, n) {
|
|
|
814
814
|
Z,
|
|
815
815
|
J,
|
|
816
816
|
Ve,
|
|
817
|
-
qe,
|
|
818
817
|
Ke,
|
|
819
818
|
Ze,
|
|
820
819
|
Je,
|
|
820
|
+
Qe,
|
|
821
821
|
Xe,
|
|
822
822
|
Ye,
|
|
823
|
-
|
|
823
|
+
$e
|
|
824
824
|
];
|
|
825
825
|
}
|
|
826
|
-
class
|
|
826
|
+
class xn extends tn {
|
|
827
827
|
constructor(e) {
|
|
828
|
-
super(),
|
|
828
|
+
super(), rn(
|
|
829
829
|
this,
|
|
830
830
|
e,
|
|
831
|
+
Bn,
|
|
831
832
|
Sn,
|
|
832
|
-
|
|
833
|
-
rn,
|
|
833
|
+
sn,
|
|
834
834
|
{
|
|
835
835
|
endpoint: 25,
|
|
836
836
|
session: 26,
|
|
@@ -857,7 +857,7 @@ class Bn extends nn {
|
|
|
857
857
|
mbsource: 5,
|
|
858
858
|
currencylocale: 42
|
|
859
859
|
},
|
|
860
|
-
|
|
860
|
+
Wn,
|
|
861
861
|
[-1, -1, -1]
|
|
862
862
|
);
|
|
863
863
|
}
|
|
@@ -1006,7 +1006,7 @@ class Bn extends nn {
|
|
|
1006
1006
|
this.$$set({ currencylocale: e }), b();
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
1009
|
-
|
|
1009
|
+
gn(xn, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, customcurrencysymbol: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
|
|
1010
1010
|
export {
|
|
1011
|
-
|
|
1011
|
+
xn as default
|
|
1012
1012
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var X=(r,t,n)=>new Promise((i,l)=>{var o=c=>{try{u(n.next(c))}catch(p){l(p)}},a=c=>{try{u(n.throw(c))}catch(p){l(p)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(o,a);u((n=n.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoPage-D1gCtQ9f.cjs");function Oe(r,t){e.addMessages(r,t)}function Pe(r){e.$locale.set(r)}const Re={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}};function Ie(r,t,n){return window.emMessageBus&&(t=window.emMessageBus.subscribe(r,n)),t}if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}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=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-BJ87LnuC.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Ge(r){e.append_styles(r,"svelte-d1flp7","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function ae(r,t,n){const i=r.slice();return i[74]=t[n],i}function ce(r,t,n){const i=r.slice();return i[77]=t[n],i}function Ue(r){let t,n,i,l,o,a,u,c,p,L,M,_,b,A,x,B,S,T,v,y=e.ensure_array_like(r[16]),g=[];for(let m=0;m<y.length;m+=1)g[m]=fe(ce(r,y,m));function N(m,f){return m[17]?He:qe}let F=N(r),w=F(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let m=0;m<g.length;m+=1)g[m].c();l=e.space(),o=e.element("div"),a=e.element("button"),u=e.svg_element("svg"),c=e.svg_element("path"),L=e.space(),M=e.element("button"),_=e.svg_element("svg"),b=e.svg_element("path"),B=e.space(),w.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(c,"style",p=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(c,"id","Path_36"),e.attr(c,"data-name","Path 36"),e.attr(c,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(c,"transform","translate(14.656 0) rotate(90)"),e.attr(c,"fill","#fff"),e.attr(u,"id","Component_46_2"),e.attr(u,"data-name","Component 46 – 2"),e.attr(u,"xmlns","http://www.w3.org/2000/svg"),e.attr(u,"width","15"),e.attr(u,"height","15"),e.attr(u,"viewBox","0 0 16 24.656"),e.attr(a,"class","SliderButton"),e.attr(b,"style",A=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(b,"id","Path_36"),e.attr(b,"data-name","Path 36"),e.attr(b,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(b,"transform","translate(0 24.656) rotate(-90)"),e.attr(b,"fill","#fff"),e.attr(_,"id","Component_46_2"),e.attr(_,"data-name","Component 46 – 2"),e.attr(_,"xmlns","http://www.w3.org/2000/svg"),e.attr(_,"width","15"),e.attr(_,"height","15"),e.attr(_,"viewBox","0 0 16 24.656"),e.attr(M,"class","SliderButton"),e.attr(o,"class",x="ButtonsContainer "+(r[4]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",S="CasinoWinners "+(r[12]?"Mobile":""))},m(m,f){e.insert(m,t,f),e.append(t,n),e.append(n,i);for(let d=0;d<g.length;d+=1)g[d]&&g[d].m(i,null);e.append(n,l),e.append(n,o),e.append(o,a),e.append(a,u),e.append(u,c),e.append(o,L),e.append(o,M),e.append(M,_),e.append(_,b),e.append(t,B),w.m(t,null),T||(v=[e.listen(a,"click",r[47]),e.listen(M,"click",r[48])],T=!0)},p(m,f){if(f[0]&852483){y=e.ensure_array_like(m[16]);let d;for(d=0;d<y.length;d+=1){const k=ce(m,y,d);g[d]?g[d].p(k,f):(g[d]=fe(k),g[d].c(),g[d].m(i,null))}for(;d<g.length;d+=1)g[d].d(1);g.length=y.length}f[0]&3072&&p!==(p=m[11]>=m[10].length?"fill:#F6F6F62E":"")&&e.attr(c,"style",p),f[0]&3072&&A!==(A=m[11]>=m[10].length?"fill:#F6F6F62E":"")&&e.attr(b,"style",A),f[0]&16&&x!==(x="ButtonsContainer "+(m[4]=="true"?"ButtonsContainerNone":""))&&e.attr(o,"class",x),F===(F=N(m))&&w?w.p(m,f):(w.d(1),w=F(m),w&&(w.c(),w.m(t,null))),f[0]&4096&&S!==(S="CasinoWinners "+(m[12]?"Mobile":""))&&e.attr(t,"class",S)},d(m){m&&e.detach(t),e.destroy_each(g,m),w.d(),T=!1,e.run_all(v)}}}function De(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3])},d(n){n&&e.detach(t)}}}function ue(r){let t,n=r[0]==="true"&&de(r);return{c(){n&&n.c(),t=e.empty()},m(i,l){n&&n.m(i,l),e.insert(i,t,l)},p(i,l){i[0]==="true"?n?n.p(i,l):(n=de(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&e.detach(t),n&&n.d(i)}}}function de(r){let t,n=r[18]("recentWinners")+"",i,l,o,a;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[9]=="recent"?"Active":""))},m(u,c){e.insert(u,t,c),e.append(t,i),o||(a=e.listen(t,"click",r[45]),o=!0)},p(u,c){c[0]&262144&&n!==(n=u[18]("recentWinners")+"")&&e.set_data(i,n),c[0]&512&&l!==(l="WinnersButton "+(u[9]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),o=!1,a()}}}function me(r){let t,n=r[18]("topWinners")+"",i,l,o,a,u;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",o="WinnersButton "+(r[9]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(c,p){e.insert(c,t,p),e.append(t,i),e.append(t,l),a||(u=e.listen(t,"click",r[46]),a=!0)},p(c,p){p[0]&262144&&n!==(n=c[18]("topWinners")+"")&&e.set_data(i,n),p[0]&514&&o!==(o="WinnersButton "+(c[9]=="top"?"Active":"")+" "+(c[1]=="false"?"Off":""))&&e.attr(t,"class",o)},d(c){c&&e.detach(t),a=!1,u()}}}function fe(r){let t,n,i=r[77]=="recent"&&ue(r),l=r[77]=="top"&&me(r);return{c(){i&&i.c(),t=e.space(),l&&l.c(),n=e.empty()},m(o,a){i&&i.m(o,a),e.insert(o,t,a),l&&l.m(o,a),e.insert(o,n,a)},p(o,a){o[77]=="recent"?i?i.p(o,a):(i=ue(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),o[77]=="top"?l?l.p(o,a):(l=me(o),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(o){o&&(e.detach(t),e.detach(n)),i&&i.d(o),l&&l.d(o)}}}function qe(r){let t;function n(o,a){return o[10].length!==0?Ke:Ve}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(o,a){e.insert(o,t,a),l.m(t,null),r[51](t)},p(o,a){i===(i=n(o))&&l?l.p(o,a):(l.d(1),l=i(o),l&&(l.c(),l.m(t,null)))},d(o){o&&e.detach(t),l.d(),r[51](null)}}}function He(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3]),e.set_custom_element_data(t,"mbsource",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3]),i[0]&32&&e.set_custom_element_data(t,"mbsource",n[5])},d(n){n&&e.detach(t)}}}function Ve(r){let t,n=r[18]("noWinnersMessage")+"",i;return{c(){t=e.element("p"),i=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,o){e.insert(l,t,o),e.append(t,i)},p(l,o){o[0]&262144&&n!==(n=l[18]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function Ke(r){let t,n=e.ensure_array_like(r[10]),i=[];for(let l=0;l<n.length;l+=1)i[l]=ge(ae(r,n,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,o){for(let a=0;a<i.length;a+=1)i[a]&&i[a].m(l,o);e.insert(l,t,o)},p(l,o){if(o[0]&20219136){n=e.ensure_array_like(l[10]);let a;for(a=0;a<n.length;a+=1){const u=ae(l,n,a);i[a]?i[a].p(u,o):(i[a]=ge(u),i[a].c(),i[a].m(t.parentNode,t))}for(;a<i.length;a+=1)i[a].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function ge(r){let t,n,i,l,o,a,u,c=r[74].gameName+"",p,L,M,_=r[20](r[74].username)+"",b,A,x,B=r[18]("won")+"",S,T,v,y=r[24](r[74].specifiedCurrencyAmount)+"",g,N,F,w;function m(){return r[49](r[74])}return{c(){var f,d,k,E;t=e.element("div"),n=e.element("div"),i=e.element("img"),a=e.space(),u=e.element("p"),p=e.text(c),L=e.space(),M=e.element("p"),b=e.text(_),A=e.space(),x=e.element("p"),S=e.text(B),T=e.space(),v=e.element("p"),g=e.space(),e.src_url_equal(i.src,l=(d=(f=r[74])==null?void 0:f.gameModel)==null?void 0:d.thumbnail)||e.attr(i,"src",l),e.attr(i,"alt",o=(E=(k=r[74])==null?void 0:k.gameModel)==null?void 0:E.thumbnail),e.attr(i,"class","WinnersImage"),e.attr(x,"class","WinnerUsername"),e.attr(v,"class","WinnerAmount"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",N="CardWrapper "+(r[15]?"CardWrapperAnimation":""))},m(f,d){e.insert(f,t,d),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,u),e.append(u,p),e.append(n,L),e.append(n,M),e.append(M,b),e.append(n,A),e.append(n,x),e.append(x,S),e.append(n,T),e.append(n,v),v.innerHTML=y,r[50](n),e.append(t,g),F||(w=e.listen(i,"click",m),F=!0)},p(f,d){var k,E,O,z;r=f,d[0]&1024&&!e.src_url_equal(i.src,l=(E=(k=r[74])==null?void 0:k.gameModel)==null?void 0:E.thumbnail)&&e.attr(i,"src",l),d[0]&1024&&o!==(o=(z=(O=r[74])==null?void 0:O.gameModel)==null?void 0:z.thumbnail)&&e.attr(i,"alt",o),d[0]&1024&&c!==(c=r[74].gameName+"")&&e.set_data(p,c),d[0]&1024&&_!==(_=r[20](r[74].username)+"")&&e.set_data(b,_),d[0]&262144&&B!==(B=r[18]("won")+"")&&e.set_data(S,B),d[0]&1024&&y!==(y=r[24](r[74].specifiedCurrencyAmount)+"")&&(v.innerHTML=y),d[0]&32768&&N!==(N="CardWrapper "+(r[15]?"CardWrapperAnimation":""))&&e.attr(t,"class",N)},d(f){f&&e.detach(t),r[50](null),F=!1,w()}}}function Ze(r){let t;function n(o,a){return o[13]||o[14]?De:Ue}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c()},m(o,a){e.insert(o,t,a),l.m(t,null),r[52](t)},p(o,a){i===(i=n(o))&&l?l.p(o,a):(l.d(1),l=i(o),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),l.d(),r[52](null)}}}function Je(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(18,i=s));let{endpoint:l=""}=t,{session:o=""}=t,{userid:a=""}=t,{periodrecent:u="Today"}=t,{periodtop:c="Last7Days"}=t,{numberusersrecent:p="20"}=t,{numberuserstop:L="20"}=t,{amountlimit:M="1"}=t,{vendorCategory:_="All"}=t,{lang:b="en"}=t,{isrecentavailable:A="true"}=t,{istopavailable:x="true"}=t,{defaultcurrency:B=""}=t,{usercurrency:S=""}=t,{customcurrencysymbol:T}=t,{clientstyling:v=""}=t,{clientstylingurl:y=""}=t,{enableautoscroll:g=""}=t,{tabsorder:N=""}=t,{translationurl:F=""}=t,{winnersdatasources:w=""}=t,{hascustomstyling:m="false"}=t,{mbsource:f}=t,{currencylocale:d=""}=t,k,E,O,z=[],W=0,C=0,pe=window.navigator.userAgent,Y,R,U,j,D=!0,Q=!1,$=!1,ee,G,q,I,te=[],H=!1,be,_e;const V=s=>{Object.keys(s).forEach(h=>{Oe(h,s[h])})},ye=()=>{let s=new URL(F);fetch(s.href).then(h=>h.json()).then(h=>{V(h)}).catch(h=>{console.log(h)})};V(Re);const ne=()=>{te=w.split(",").map(function(h){return h.trim()});const s=new URL(`${l}/v1/casino/${O}-winners`);n(17,H=!0),s.searchParams.append("limit",O=="recent"?p:L),s.searchParams.append("specifiedCurrency",I),s.searchParams.append("period",O=="recent"?u:c),s.searchParams.append("language",b),s.searchParams.append("amountLimit",M),s.searchParams.append("vendorCategory",_),te.forEach(h=>{s.searchParams.append("dataSource",h)}),setTimeout(()=>{fetch(s.href).then(h=>h.json()).then(h=>X(this,null,function*(){n(10,z=[]),n(10,z=h.items.map(P=>P)),n(17,H=!1),yield e.tick(),ke(),ie(),g=="true"&&(clearInterval(G),ve()),n(13,D=!1),we()}))},1e3)},we=()=>{const s=j.getRootNode().host;s.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:s}}))},K=s=>{O!==s&&(n(10,z=[]),n(9,O=s),ne())},We=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),re=(s,h,P,J)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:h,gameName:P,subVendor:J},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${U||"Not logged in"}`})},ie=(s=0)=>{const h=[...k.children];ee=h.length,h.forEach((P,J)=>{P.style.transform=`translateX(${100*(J-s)}%)`}),setTimeout(()=>{n(15,$=!0)},10)},ve=()=>{W=0,C<ee?G=setInterval(()=>{Z()},3e3):clearInterval(G)},se=()=>{ie(W)},ke=()=>X(this,null,function*(){yield e.tick(),requestAnimationFrame(()=>{const s=E?E.offsetWidth:0;k.offsetWidth&&s?n(11,C=Math.round(k.offsetWidth/s)):n(11,C=0)})}),le=()=>{if(C>=z.length)return;const s=z.length;W===0?W=s-C:W-C<0?W=0:W=W-C,se()},Z=()=>{if(C>=z.length)return;const s=z.length;g=="true"&&(W===s-C?W=0:W++),g=="false"&&(W===s-C?W=0:s-C<W+C?W=s-C:W+=C),se()},Ce=()=>{Pe(b)},Me=()=>{n(43,R=!0),U=a},oe=()=>{n(44,I=R?S:B)},Se=s=>{const h=T!=null?T:R?S:B;return`${d?Intl.NumberFormat(d,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:I}).format(s).replace(/\s/g,""):s.toFixed(2)}<span class="CurrencySymbol">${h}</span>`},Fe=()=>{m==="true"&&(!v&&!y&&j&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!v&&y&&n(14,Q=!0))},xe=()=>{n(16,q=N.split(",")),n(9,O=q[0]),oe(),n(13,D=!1)};e.onMount(()=>(n(12,Y=e.isMobile(pe)),()=>{clearInterval(G)}));const Be=()=>K("recent"),Te=()=>K("top"),Ne=()=>le(),Ae=()=>Z(),Ee=s=>re(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{E=s,n(8,E)})}function je(s){e.binding_callbacks[s?"unshift":"push"](()=>{k=s,n(7,k)})}function Le(s){e.binding_callbacks[s?"unshift":"push"](()=>{j=s,n(6,j)})}return r.$$set=s=>{"endpoint"in s&&n(25,l=s.endpoint),"session"in s&&n(26,o=s.session),"userid"in s&&n(27,a=s.userid),"periodrecent"in s&&n(28,u=s.periodrecent),"periodtop"in s&&n(29,c=s.periodtop),"numberusersrecent"in s&&n(30,p=s.numberusersrecent),"numberuserstop"in s&&n(31,L=s.numberuserstop),"amountlimit"in s&&n(32,M=s.amountlimit),"vendorCategory"in s&&n(33,_=s.vendorCategory),"lang"in s&&n(34,b=s.lang),"isrecentavailable"in s&&n(0,A=s.isrecentavailable),"istopavailable"in s&&n(1,x=s.istopavailable),"defaultcurrency"in s&&n(35,B=s.defaultcurrency),"usercurrency"in s&&n(36,S=s.usercurrency),"customcurrencysymbol"in s&&n(37,T=s.customcurrencysymbol),"clientstyling"in s&&n(2,v=s.clientstyling),"clientstylingurl"in s&&n(3,y=s.clientstylingurl),"enableautoscroll"in s&&n(4,g=s.enableautoscroll),"tabsorder"in s&&n(38,N=s.tabsorder),"translationurl"in s&&n(39,F=s.translationurl),"winnersdatasources"in s&&n(40,w=s.winnersdatasources),"hascustomstyling"in s&&n(41,m=s.hascustomstyling),"mbsource"in s&&n(5,f=s.mbsource),"currencylocale"in s&&n(42,d=s.currencylocale)},r.$$.update=()=>{r.$$.dirty[0]&1879048195|r.$$.dirty[1]&143&&A&&x&&u&&c&&p&&L&&M&&_&&b&&N&&xe(),r.$$.dirty[0]&67108864&&o&&Me(),r.$$.dirty[1]&4144&&R&&(S||B)&&oe(),r.$$.dirty[0]&33554432|r.$$.dirty[1]&8704&&l&&w&&I&&ne(),r.$$.dirty[1]&8&&b&&Ce(),r.$$.dirty[1]&256&&F&&ye(),r.$$.dirty[0]&32|r.$$.dirty[1]&256&&f&&!F&&Ie(`${f}.Translation`,_e,V),r.$$.dirty[1]&1024&&m&&Fe(),r.$$.dirty[0]&68&&v&&j&&e.setClientStyling(j,v),r.$$.dirty[0]&72&&y&&j&&e.setClientStylingURL(j,y),r.$$.dirty[0]&96&&j&&e.setStreamStyling(j,`${f}.Style`,be)},[A,x,v,y,g,f,j,k,E,O,z,C,Y,D,Q,$,q,H,i,K,We,re,le,Z,Se,l,o,a,u,c,p,L,M,_,b,B,S,T,N,F,w,m,d,R,I,Be,Te,Ne,Ae,Ee,ze,je,Le]}class he extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ze,e.safe_not_equal,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:35,usercurrency:36,customcurrencysymbol:37,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:38,translationurl:39,winnersdatasources:40,hascustomstyling:41,mbsource:5,currencylocale:42},Ge,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[34]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[36]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get customcurrencysymbol(){return this.$$.ctx[37]}set customcurrencysymbol(t){this.$$set({customcurrencysymbol:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[38]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[39]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[40]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[41]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[5]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get currencylocale(){return this.$$.ctx[42]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(he,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},customcurrencysymbol:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{},currencylocale:{}},[],[],!0);exports.default=he;
|