@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
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { $ as H,
|
|
2
|
-
function
|
|
1
|
+
import { $ as H, I as we, a as _e, S as Ge, i as Re, s as xe, f as v, b as ke, d as x, J as E, K as P, L as ve, e as k, q as h, C as J, g as w, r as C, h as u, j as Me, k as Fe, M as Ce, N as Le, O as Se, P as Te, u as We, l as V, n as je, D as Y, v as L, w as S, Q as Ne, x as K, B as Be, R as Q, T as Ie, U as ze, F as Pe, G as Je, H as Ae, c as De, E as He } from "./CasinoPage-CEwUBRwz.js";
|
|
2
|
+
function Ee({ withLocale: a, translations: e }) {
|
|
3
3
|
H.subscribe((t) => {
|
|
4
|
-
t == null && (
|
|
4
|
+
t == null && (we.set(e), H.set(a));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
7
|
+
function X(a, e) {
|
|
8
|
+
_e(a, e);
|
|
9
9
|
}
|
|
10
10
|
function Oe(a) {
|
|
11
11
|
H.set(a);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const Z = {
|
|
14
14
|
en: {
|
|
15
15
|
playRandomGame: "Play a random game",
|
|
16
16
|
randomGameLoading: "Selecting ...",
|
|
@@ -84,20 +84,20 @@ const Q = {
|
|
|
84
84
|
noGames: "There are no random games to play"
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
|
-
function
|
|
88
|
-
|
|
87
|
+
function Ue(a) {
|
|
88
|
+
ke(a, "svelte-kfgfhx", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
|
|
89
89
|
}
|
|
90
90
|
function $(a, e, t) {
|
|
91
91
|
const n = a.slice();
|
|
92
92
|
return n[41] = e[t], n;
|
|
93
93
|
}
|
|
94
|
-
const
|
|
94
|
+
const qe = (a) => ({}), ee = (a) => ({});
|
|
95
95
|
function te(a) {
|
|
96
|
-
let e, t, n, l, s,
|
|
96
|
+
let e, t, n, l, s, d, f;
|
|
97
97
|
const p = (
|
|
98
98
|
/*#slots*/
|
|
99
99
|
a[23].close
|
|
100
|
-
), g =
|
|
100
|
+
), g = Ce(
|
|
101
101
|
p,
|
|
102
102
|
a,
|
|
103
103
|
/*$$scope*/
|
|
@@ -107,51 +107,51 @@ function te(a) {
|
|
|
107
107
|
function _(r, b) {
|
|
108
108
|
return (
|
|
109
109
|
/*hasRandomGames*/
|
|
110
|
-
r[7] ?
|
|
110
|
+
r[7] ? Ke : Ye
|
|
111
111
|
);
|
|
112
112
|
}
|
|
113
|
-
let m = _(a),
|
|
113
|
+
let m = _(a), c = m(a);
|
|
114
114
|
return {
|
|
115
115
|
c() {
|
|
116
|
-
e = w("div"), t = w("div"), n = w("span"), o && o.c(), l = C(),
|
|
116
|
+
e = w("div"), t = w("div"), n = w("span"), o && o.c(), l = C(), c.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
|
|
117
117
|
},
|
|
118
118
|
m(r, b) {
|
|
119
|
-
k(r, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l),
|
|
119
|
+
k(r, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), c.m(t, null), s = !0, d || (f = J(
|
|
120
120
|
n,
|
|
121
121
|
"click",
|
|
122
122
|
/*closeModal*/
|
|
123
123
|
a[12]
|
|
124
|
-
),
|
|
124
|
+
), d = !0);
|
|
125
125
|
},
|
|
126
126
|
p(r, b) {
|
|
127
127
|
g && g.p && (!s || b[0] & /*$$scope*/
|
|
128
|
-
4194304) &&
|
|
128
|
+
4194304) && Le(
|
|
129
129
|
g,
|
|
130
130
|
p,
|
|
131
131
|
r,
|
|
132
132
|
/*$$scope*/
|
|
133
133
|
r[22],
|
|
134
|
-
s ?
|
|
134
|
+
s ? Te(
|
|
135
135
|
p,
|
|
136
136
|
/*$$scope*/
|
|
137
137
|
r[22],
|
|
138
138
|
b,
|
|
139
|
-
|
|
140
|
-
) :
|
|
139
|
+
qe
|
|
140
|
+
) : Se(
|
|
141
141
|
/*$$scope*/
|
|
142
142
|
r[22]
|
|
143
143
|
),
|
|
144
144
|
ee
|
|
145
|
-
), m === (m = _(r)) &&
|
|
145
|
+
), m === (m = _(r)) && c ? c.p(r, b) : (c.d(1), c = m(r), c && (c.c(), c.m(t, null)));
|
|
146
146
|
},
|
|
147
147
|
i(r) {
|
|
148
148
|
s || (P(o, r), s = !0);
|
|
149
149
|
},
|
|
150
150
|
o(r) {
|
|
151
|
-
|
|
151
|
+
E(o, r), s = !1;
|
|
152
152
|
},
|
|
153
153
|
d(r) {
|
|
154
|
-
r && x(e), o && o.d(r),
|
|
154
|
+
r && x(e), o && o.d(r), c.d(), d = !1, f();
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
}
|
|
@@ -164,13 +164,13 @@ function Ve(a) {
|
|
|
164
164
|
m(n, l) {
|
|
165
165
|
k(n, e, l), h(e, t);
|
|
166
166
|
},
|
|
167
|
-
p:
|
|
167
|
+
p: je,
|
|
168
168
|
d(n) {
|
|
169
169
|
n && x(e);
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Ye(a) {
|
|
174
174
|
let e, t = (
|
|
175
175
|
/*$_*/
|
|
176
176
|
a[9]("noGames") + ""
|
|
@@ -192,31 +192,31 @@ function qe(a) {
|
|
|
192
192
|
}
|
|
193
193
|
};
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function Ke(a) {
|
|
196
196
|
let e, t, n, l, s = K(
|
|
197
197
|
/*gamesToShow*/
|
|
198
198
|
a[4]
|
|
199
|
-
),
|
|
199
|
+
), d = [];
|
|
200
200
|
for (let o = 0; o < s.length; o += 1)
|
|
201
|
-
|
|
201
|
+
d[o] = ae($(a, s, o));
|
|
202
202
|
function f(o, _) {
|
|
203
203
|
return (
|
|
204
204
|
/*animationDone*/
|
|
205
|
-
o[6] ? Xe :
|
|
205
|
+
o[6] ? Xe : Qe
|
|
206
206
|
);
|
|
207
207
|
}
|
|
208
208
|
let p = f(a), g = p(a);
|
|
209
209
|
return {
|
|
210
210
|
c() {
|
|
211
211
|
e = w("div"), t = w("main"), n = w("div");
|
|
212
|
-
for (let o = 0; o <
|
|
213
|
-
|
|
212
|
+
for (let o = 0; o < d.length; o += 1)
|
|
213
|
+
d[o].c();
|
|
214
214
|
l = C(), g.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
|
|
215
215
|
},
|
|
216
216
|
m(o, _) {
|
|
217
217
|
k(o, e, _), h(e, t), h(t, n);
|
|
218
|
-
for (let m = 0; m <
|
|
219
|
-
|
|
218
|
+
for (let m = 0; m < d.length; m += 1)
|
|
219
|
+
d[m] && d[m].m(n, null);
|
|
220
220
|
a[24](n), h(e, l), g.m(e, null);
|
|
221
221
|
},
|
|
222
222
|
p(o, _) {
|
|
@@ -228,35 +228,35 @@ function Ye(a) {
|
|
|
228
228
|
);
|
|
229
229
|
let m;
|
|
230
230
|
for (m = 0; m < s.length; m += 1) {
|
|
231
|
-
const
|
|
232
|
-
|
|
231
|
+
const c = $(o, s, m);
|
|
232
|
+
d[m] ? d[m].p(c, _) : (d[m] = ae(c), d[m].c(), d[m].m(n, null));
|
|
233
233
|
}
|
|
234
|
-
for (; m <
|
|
235
|
-
|
|
236
|
-
|
|
234
|
+
for (; m < d.length; m += 1)
|
|
235
|
+
d[m].d(1);
|
|
236
|
+
d.length = s.length;
|
|
237
237
|
}
|
|
238
238
|
p === (p = f(o)) && g ? g.p(o, _) : (g.d(1), g = p(o), g && (g.c(), g.m(e, null)));
|
|
239
239
|
},
|
|
240
240
|
d(o) {
|
|
241
|
-
o && x(e),
|
|
241
|
+
o && x(e), Be(d, o), a[24](null), g.d();
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
244
|
}
|
|
245
245
|
function ae(a) {
|
|
246
|
-
let e, t, n, l, s,
|
|
246
|
+
let e, t, n, l, s, d;
|
|
247
247
|
return {
|
|
248
248
|
c() {
|
|
249
|
-
e = w("div"), t = w("img"),
|
|
249
|
+
e = w("div"), t = w("img"), d = C(), u(t, "class", "RandomGameImage"), Q(t.src, n = /*game*/
|
|
250
250
|
a[41].thumbnail) || u(t, "src", n), u(t, "alt", l = /*game*/
|
|
251
251
|
a[41].name), u(t, "title", s = /*game*/
|
|
252
252
|
a[41].name), u(e, "class", "item");
|
|
253
253
|
},
|
|
254
254
|
m(f, p) {
|
|
255
|
-
k(f, e, p), h(e, t), h(e,
|
|
255
|
+
k(f, e, p), h(e, t), h(e, d);
|
|
256
256
|
},
|
|
257
257
|
p(f, p) {
|
|
258
258
|
p[0] & /*gamesToShow*/
|
|
259
|
-
16 && !
|
|
259
|
+
16 && !Q(t.src, n = /*game*/
|
|
260
260
|
f[41].thumbnail) && u(t, "src", n), p[0] & /*gamesToShow*/
|
|
261
261
|
16 && l !== (l = /*game*/
|
|
262
262
|
f[41].name) && u(t, "alt", l), p[0] & /*gamesToShow*/
|
|
@@ -268,7 +268,7 @@ function ae(a) {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function Qe(a) {
|
|
272
272
|
let e, t = (
|
|
273
273
|
/*$_*/
|
|
274
274
|
a[9]("randomGameLoading") + ""
|
|
@@ -294,20 +294,20 @@ function Xe(a) {
|
|
|
294
294
|
let e, t, n, l, s = (
|
|
295
295
|
/*randomGame*/
|
|
296
296
|
a[3].name + ""
|
|
297
|
-
),
|
|
297
|
+
), d, f, p, g = (
|
|
298
298
|
/*randomGame*/
|
|
299
299
|
a[3].vendor.name + ""
|
|
300
|
-
), o, _, m,
|
|
300
|
+
), o, _, m, c = (
|
|
301
301
|
/*$_*/
|
|
302
302
|
a[9]("playNowRandomGame") + ""
|
|
303
|
-
), r, b,
|
|
303
|
+
), r, b, T;
|
|
304
304
|
return {
|
|
305
305
|
c() {
|
|
306
306
|
e = w("button"), e.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
|
|
307
|
-
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = C(), n = w("div"), l = w("p"),
|
|
307
|
+
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = C(), n = w("div"), l = w("p"), d = S(s), f = C(), p = w("p"), o = S(g), _ = C(), m = w("button"), r = S(c), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(p, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
|
|
308
308
|
},
|
|
309
309
|
m(R, G) {
|
|
310
|
-
k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l,
|
|
310
|
+
k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l, d), h(n, f), h(n, p), h(p, o), h(n, _), h(n, m), h(m, r), b || (T = [
|
|
311
311
|
J(
|
|
312
312
|
e,
|
|
313
313
|
"click",
|
|
@@ -325,14 +325,14 @@ function Xe(a) {
|
|
|
325
325
|
p(R, G) {
|
|
326
326
|
G[0] & /*randomGame*/
|
|
327
327
|
8 && s !== (s = /*randomGame*/
|
|
328
|
-
R[3].name + "") && L(
|
|
328
|
+
R[3].name + "") && L(d, s), G[0] & /*randomGame*/
|
|
329
329
|
8 && g !== (g = /*randomGame*/
|
|
330
330
|
R[3].vendor.name + "") && L(o, g), G[0] & /*$_*/
|
|
331
|
-
512 &&
|
|
332
|
-
R[9]("playNowRandomGame") + "") && L(r,
|
|
331
|
+
512 && c !== (c = /*$_*/
|
|
332
|
+
R[9]("playNowRandomGame") + "") && L(r, c);
|
|
333
333
|
},
|
|
334
334
|
d(R) {
|
|
335
|
-
R && (x(e), x(t), x(n)), b = !1,
|
|
335
|
+
R && (x(e), x(t), x(n)), b = !1, Ie(T);
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
}
|
|
@@ -358,7 +358,7 @@ function Ze(a) {
|
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function $e(a) {
|
|
362
362
|
let e, t;
|
|
363
363
|
return {
|
|
364
364
|
c() {
|
|
@@ -383,8 +383,8 @@ function Qe(a) {
|
|
|
383
383
|
}
|
|
384
384
|
};
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
let e, t, n, l, s,
|
|
386
|
+
function et(a) {
|
|
387
|
+
let e, t, n, l, s, d, f, p, g, o = (
|
|
388
388
|
/*show*/
|
|
389
389
|
a[5] && te(a)
|
|
390
390
|
);
|
|
@@ -393,18 +393,18 @@ function $e(a) {
|
|
|
393
393
|
/*buttontext*/
|
|
394
394
|
r[1]
|
|
395
395
|
)
|
|
396
|
-
return
|
|
396
|
+
return $e;
|
|
397
397
|
if (!/*buttontext*/
|
|
398
398
|
r[1])
|
|
399
399
|
return Ze;
|
|
400
400
|
}
|
|
401
|
-
let m = _(a),
|
|
401
|
+
let m = _(a), c = m && m(a);
|
|
402
402
|
return {
|
|
403
403
|
c() {
|
|
404
|
-
e = w("div"), o && o.c(), t = C(), n = w("div"), l = w("button"),
|
|
404
|
+
e = w("div"), o && o.c(), t = C(), n = w("div"), l = w("button"), c && c.c(), s = C(), d = w("span"), u(d, "class", "RandomButtonIcon"), u(l, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper");
|
|
405
405
|
},
|
|
406
406
|
m(r, b) {
|
|
407
|
-
k(r, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l),
|
|
407
|
+
k(r, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), c && c.m(l, null), h(l, s), h(l, d), d.innerHTML = /*randombuttonicon*/
|
|
408
408
|
a[0], a[28](e), f = !0, p || (g = J(
|
|
409
409
|
l,
|
|
410
410
|
"click",
|
|
@@ -415,75 +415,75 @@ function $e(a) {
|
|
|
415
415
|
p(r, b) {
|
|
416
416
|
/*show*/
|
|
417
417
|
r[5] ? o ? (o.p(r, b), b[0] & /*show*/
|
|
418
|
-
32 && P(o, 1)) : (o = te(r), o.c(), P(o, 1), o.m(e, t)) : o && (ze(),
|
|
418
|
+
32 && P(o, 1)) : (o = te(r), o.c(), P(o, 1), o.m(e, t)) : o && (ze(), E(o, 1, 1, () => {
|
|
419
419
|
o = null;
|
|
420
|
-
}),
|
|
421
|
-
1) && (
|
|
420
|
+
}), ve()), m === (m = _(r)) && c ? c.p(r, b) : (c && c.d(1), c = m && m(r), c && (c.c(), c.m(l, s))), (!f || b[0] & /*randombuttonicon*/
|
|
421
|
+
1) && (d.innerHTML = /*randombuttonicon*/
|
|
422
422
|
r[0]);
|
|
423
423
|
},
|
|
424
424
|
i(r) {
|
|
425
425
|
f || (P(o), f = !0);
|
|
426
426
|
},
|
|
427
427
|
o(r) {
|
|
428
|
-
|
|
428
|
+
E(o), f = !1;
|
|
429
429
|
},
|
|
430
430
|
d(r) {
|
|
431
|
-
r && x(e), o && o.d(),
|
|
431
|
+
r && x(e), o && o.d(), c && c.d(), a[28](null), p = !1, g();
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function tt(a, e, t) {
|
|
436
436
|
let n;
|
|
437
|
-
|
|
438
|
-
let { $$slots: l = {}, $$scope: s } = e, { endpoint:
|
|
439
|
-
|
|
440
|
-
const
|
|
437
|
+
Me(a, He, (i) => t(9, n = i));
|
|
438
|
+
let { $$slots: l = {}, $$scope: s } = e, { endpoint: d = "" } = e, { datasource: f = "" } = e, { gameevent: p = "" } = e, { lang: g = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: r = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: T } = e, R = [], G = "", W, N = !1, A = !1, I = !1, ne = window.navigator.userAgent, M, j, O, z, oe, U = null;
|
|
439
|
+
Ee({ withLocale: "en", translations: {} });
|
|
440
|
+
const le = () => {
|
|
441
441
|
fetch(m).then((y) => y.json()).then((y) => {
|
|
442
442
|
Object.keys(y).forEach((F) => {
|
|
443
|
-
|
|
443
|
+
X(F, y[F]);
|
|
444
444
|
});
|
|
445
445
|
}).catch((y) => {
|
|
446
446
|
console.log(y);
|
|
447
447
|
});
|
|
448
448
|
};
|
|
449
|
-
Object.keys(
|
|
450
|
-
|
|
449
|
+
Object.keys(Z).forEach((i) => {
|
|
450
|
+
X(i, Z[i]);
|
|
451
451
|
});
|
|
452
|
-
const
|
|
453
|
-
let i = new URL(`${
|
|
452
|
+
const ie = () => {
|
|
453
|
+
let i = new URL(`${d}/v1/casino/games`);
|
|
454
454
|
i.searchParams.append("platform", We(ne)), i.searchParams.append("datasource", f), i.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), b && i.searchParams.append("filter", `groups=${b}`), i.searchParams.append("expand", "categories,vendor"), i.searchParams.append("pagination", "offset=0,limit=1000"), fetch(i.href).then((y) => y.json()).then((y) => {
|
|
455
|
-
R = y.items, R.length ? (t(4,
|
|
455
|
+
R = y.items, R.length ? (t(4, W = re(R.slice(0, 19))), t(7, I = !0)) : (t(4, W = []), t(7, I = !1));
|
|
456
456
|
}).catch((y) => {
|
|
457
|
-
console.log(y), t(7,
|
|
457
|
+
console.log(y), t(7, I = !1);
|
|
458
458
|
});
|
|
459
|
-
},
|
|
460
|
-
const y =
|
|
459
|
+
}, re = (i) => {
|
|
460
|
+
const y = me(i);
|
|
461
461
|
return y.concat(y);
|
|
462
|
-
},
|
|
463
|
-
await
|
|
462
|
+
}, se = async () => {
|
|
463
|
+
await Ne(), z = Math.floor(Math.random() * (W.length / 2)) + W.length / 2, t(3, G = W[z]), O = j.children[z];
|
|
464
464
|
}, D = async () => {
|
|
465
|
-
t(6, A = !1), t(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await
|
|
466
|
-
const i = window.getComputedStyle(j).getPropertyValue("gap"), y = parseInt(i, 10) || 0, B = (
|
|
465
|
+
t(6, A = !1), t(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await se();
|
|
466
|
+
const i = window.getComputedStyle(j).getPropertyValue("gap"), y = parseInt(i, 10) || 0, B = (O.offsetHeight + y) * z, ye = [
|
|
467
467
|
{ transform: "translateX(0px)" },
|
|
468
468
|
{ filter: "blur(5px)" },
|
|
469
469
|
{
|
|
470
470
|
transform: `translateY(-${B}px)`
|
|
471
471
|
}
|
|
472
|
-
],
|
|
472
|
+
], be = {
|
|
473
473
|
duration: 2e3,
|
|
474
474
|
easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
|
|
475
475
|
fill: "forwards"
|
|
476
476
|
};
|
|
477
|
-
U = j.animate(
|
|
477
|
+
U = j.animate(ye, be), U.onfinish = () => {
|
|
478
478
|
t(6, A = !0);
|
|
479
479
|
};
|
|
480
|
-
},
|
|
480
|
+
}, me = (i) => {
|
|
481
481
|
const y = structuredClone(i);
|
|
482
482
|
let F = y.length, B;
|
|
483
483
|
for (; F != 0; )
|
|
484
484
|
B = Math.floor(Math.random() * F), F--, [y[F], y[B]] = [y[B], y[F]];
|
|
485
485
|
return y;
|
|
486
|
-
},
|
|
486
|
+
}, q = () => {
|
|
487
487
|
window.postMessage(
|
|
488
488
|
{
|
|
489
489
|
type: p,
|
|
@@ -494,74 +494,74 @@ function et(a, e, t) {
|
|
|
494
494
|
context: "RandomGameWidget",
|
|
495
495
|
gameId: `${G.gId || G.id}`
|
|
496
496
|
});
|
|
497
|
-
},
|
|
497
|
+
}, ce = () => {
|
|
498
498
|
t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
|
|
499
499
|
}, de = () => {
|
|
500
500
|
Oe(g);
|
|
501
501
|
};
|
|
502
|
-
|
|
502
|
+
Fe(() => () => {
|
|
503
503
|
});
|
|
504
|
-
function
|
|
505
|
-
|
|
504
|
+
function ue(i) {
|
|
505
|
+
V[i ? "unshift" : "push"](() => {
|
|
506
506
|
j = i, t(8, j);
|
|
507
507
|
});
|
|
508
508
|
}
|
|
509
|
-
const
|
|
510
|
-
function
|
|
511
|
-
|
|
509
|
+
const ge = () => D(), fe = () => q(), pe = () => D();
|
|
510
|
+
function he(i) {
|
|
511
|
+
V[i ? "unshift" : "push"](() => {
|
|
512
512
|
M = i, t(2, M);
|
|
513
513
|
});
|
|
514
514
|
}
|
|
515
515
|
return a.$$set = (i) => {
|
|
516
|
-
"endpoint" in i && t(13,
|
|
516
|
+
"endpoint" in i && t(13, d = i.endpoint), "datasource" in i && t(14, f = i.datasource), "gameevent" in i && t(15, p = i.gameevent), "lang" in i && t(16, g = i.lang), "randombuttonicon" in i && t(0, o = i.randombuttonicon), "buttontext" in i && t(1, _ = i.buttontext), "translationurl" in i && t(17, m = i.translationurl), "clientstyling" in i && t(18, c = i.clientstyling), "clientstylingurl" in i && t(19, r = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, b = i.filteredrandomgamecategories), "mbsource" in i && t(21, T = i.mbsource), "$$scope" in i && t(22, s = i.$$scope);
|
|
517
517
|
}, a.$$.update = () => {
|
|
518
518
|
a.$$.dirty[0] & /*lang*/
|
|
519
519
|
65536 && g && de(), a.$$.dirty[0] & /*translationurl*/
|
|
520
|
-
131072 && m &&
|
|
521
|
-
24576 &&
|
|
522
|
-
262148 &&
|
|
523
|
-
524292 && r && M &&
|
|
524
|
-
2097156 && M &&
|
|
520
|
+
131072 && m && le(), a.$$.dirty[0] & /*endpoint, datasource*/
|
|
521
|
+
24576 && d && f && ie(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
522
|
+
262148 && c && M && Pe(M, c), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
523
|
+
524292 && r && M && Je(M, r), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
524
|
+
2097156 && M && Ae(M, `${T}.Style`, oe);
|
|
525
525
|
}, [
|
|
526
526
|
o,
|
|
527
527
|
_,
|
|
528
528
|
M,
|
|
529
529
|
G,
|
|
530
|
-
|
|
530
|
+
W,
|
|
531
531
|
N,
|
|
532
532
|
A,
|
|
533
|
-
|
|
533
|
+
I,
|
|
534
534
|
j,
|
|
535
535
|
n,
|
|
536
536
|
D,
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
537
|
+
q,
|
|
538
|
+
ce,
|
|
539
|
+
d,
|
|
540
540
|
f,
|
|
541
541
|
p,
|
|
542
542
|
g,
|
|
543
543
|
m,
|
|
544
|
-
|
|
544
|
+
c,
|
|
545
545
|
r,
|
|
546
546
|
b,
|
|
547
|
-
|
|
547
|
+
T,
|
|
548
548
|
s,
|
|
549
549
|
l,
|
|
550
|
-
ce,
|
|
551
550
|
ue,
|
|
552
551
|
ge,
|
|
553
552
|
fe,
|
|
554
|
-
pe
|
|
553
|
+
pe,
|
|
554
|
+
he
|
|
555
555
|
];
|
|
556
556
|
}
|
|
557
|
-
class
|
|
557
|
+
class at extends Ge {
|
|
558
558
|
constructor(e) {
|
|
559
|
-
super(),
|
|
559
|
+
super(), Re(
|
|
560
560
|
this,
|
|
561
561
|
e,
|
|
562
|
+
tt,
|
|
562
563
|
et,
|
|
563
|
-
|
|
564
|
-
Re,
|
|
564
|
+
xe,
|
|
565
565
|
{
|
|
566
566
|
endpoint: 13,
|
|
567
567
|
datasource: 14,
|
|
@@ -575,7 +575,7 @@ class tt extends _e {
|
|
|
575
575
|
filteredrandomgamecategories: 20,
|
|
576
576
|
mbsource: 21
|
|
577
577
|
},
|
|
578
|
-
|
|
578
|
+
Ue,
|
|
579
579
|
[-1, -1]
|
|
580
580
|
);
|
|
581
581
|
}
|
|
@@ -646,7 +646,7 @@ class tt extends _e {
|
|
|
646
646
|
this.$$set({ mbsource: e }), v();
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
|
-
|
|
649
|
+
De(at, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
|
|
650
650
|
export {
|
|
651
|
-
|
|
651
|
+
at as default
|
|
652
652
|
};
|