@everymatrix/casino-lobby 1.61.0 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-DoAbSivX.js → CasinoCalendar-Ds_auLbt.js} +772 -744
- package/components/{CasinoCalendar-m598e8c0.js → CasinoCalendar-DwNK-Krf.js} +725 -697
- package/components/CasinoCalendar-mfnJr7FR.cjs +22 -0
- package/components/{CasinoCalendarDailyDetails-DwcDf4x5.js → CasinoCalendarDailyDetails-Bsp_M9tm.js} +49 -49
- package/components/{CasinoCalendarDailyDetails-B-xYqIE0.js → CasinoCalendarDailyDetails-C_XI9wqh.js} +49 -49
- package/components/{CasinoCalendarDailyDetails-ihh2Fdl-.cjs → CasinoCalendarDailyDetails-CfPB55Pq.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-Jx2wAoY3.js → CasinoCalendarDailyItem-BZFRiT1-.js} +33 -33
- package/components/{CasinoCalendarDailyItem-CVcykkiO.cjs → CasinoCalendarDailyItem-DKNNV9h9.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-DD1zORXJ.js → CasinoCalendarDailyItem-DX4mmW--.js} +33 -33
- package/components/{CasinoCategoriesSlider-DE0uzQfF.js → CasinoCategoriesSlider-3nT06xt_.js} +70 -70
- package/components/CasinoCategoriesSlider-BcnId76H.cjs +1 -0
- package/components/{CasinoCategoriesSlider-DW81y1el.js → CasinoCategoriesSlider-BpGXCaMb.js} +71 -71
- package/components/{CasinoCollectionsProviders-CkxoIQMQ.js → CasinoCollectionsProviders-BGPURFbw.js} +44 -44
- package/components/{CasinoCollectionsProviders-tBs9i_s1.cjs → CasinoCollectionsProviders-By4Ga1uR.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-FTsSIZe7.js → CasinoCollectionsProviders-Dk4psn1e.js} +65 -65
- package/components/{CasinoFavoritesSection-CKWkFYb4.js → CasinoFavoritesSection-Bc0fMYjF.js} +23 -23
- package/components/{CasinoFavoritesSection-MnxoGd6P.js → CasinoFavoritesSection-C0CsEcw_.js} +23 -23
- package/components/{CasinoFavoritesSection-CtF6Vrcg.cjs → CasinoFavoritesSection-vRmZpBaX.cjs} +1 -1
- package/components/CasinoFilter-CAtpk4a4.js +645 -0
- package/components/CasinoFilter-CtjgbEie.js +646 -0
- package/components/CasinoFilter-dn8i37bN.cjs +1 -0
- package/components/{CasinoGamePage-BhfZPeFB.cjs → CasinoGamePage-ChuDdD-6.cjs} +6 -6
- package/components/{CasinoGamePage-B8-ifO-z.js → CasinoGamePage-DJvIg2Lf.js} +742 -742
- package/components/{CasinoGamePage-CLMVY2d0.js → CasinoGamePage-JBZLEvnG.js} +743 -743
- package/components/CasinoGameThumbnail-DjAdZZBA.js +1883 -0
- package/components/CasinoGameThumbnail-DrQpg0EE.js +1867 -0
- package/components/CasinoGameThumbnail-Ue2ReDmO.cjs +38 -0
- package/components/{CasinoGamesCategorySection-CIfBLzjC.js → CasinoGamesCategorySection-Ch0WIANe.js} +1241 -1159
- package/components/CasinoGamesCategorySection-GOjPf7-0.cjs +1 -0
- package/components/CasinoGamesCategorySection-foSq_Gr6.js +3154 -0
- package/components/{CasinoJackpotBanner-CdD_15mU.js → CasinoJackpotBanner-B2CksgLI.js} +110 -110
- package/components/{CasinoJackpotBanner-C8HGJTlE.cjs → CasinoJackpotBanner-B_eZxp_D.cjs} +1 -1
- package/components/{CasinoJackpotBanner-B3ZF9rcH.js → CasinoJackpotBanner-Iq9Ey3dk.js} +110 -110
- package/components/{CasinoLastPlayedSection-Dxbzb-4o.js → CasinoLastPlayedSection-Bp4Lsv3s.js} +46 -46
- package/components/{CasinoLastPlayedSection-BPD5poPp.js → CasinoLastPlayedSection-DbANdFuL.js} +46 -46
- package/components/{CasinoLastPlayedSection-BKNOgkbn.cjs → CasinoLastPlayedSection-cmf92qRb.cjs} +1 -1
- package/components/{CasinoLobby-Bntp7e5i.js → CasinoLobby-B8ucHOFp.js} +243 -184
- package/components/CasinoLobby-CAeLQ5BE.cjs +1 -0
- package/components/{CasinoLobby-6kkVRa0v.js → CasinoLobby-siRHhGuy.js} +243 -184
- package/components/{CasinoModal-CX70u0Ty.cjs → CasinoModal-DGa_AIvk.cjs} +1 -1
- package/components/{CasinoModal-QtSV_GhN.js → CasinoModal-Pt4nHM76.js} +43 -43
- package/components/{CasinoModal-bTxbu9d4.js → CasinoModal-e0s3ToYA.js} +43 -43
- package/components/{CasinoMostPlayedSection-mgY7J84H.cjs → CasinoMostPlayedSection-Cxmg0Bai.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-B9_yeLMk.js → CasinoMostPlayedSection-Dk8rng9q.js} +44 -44
- package/components/{CasinoMostPlayedSection-D-VpqDyh.js → CasinoMostPlayedSection-DuO2XrE8.js} +44 -44
- package/components/{CasinoMyGames-CoK6Wgxp.cjs → CasinoMyGames-BXV5DJsV.cjs} +1 -1
- package/components/{CasinoMyGames-BQtk1EEq.js → CasinoMyGames-DDhJiodD.js} +51 -51
- package/components/{CasinoMyGames-BEUz5puH.js → CasinoMyGames-ZgZazIms.js} +47 -47
- package/components/CasinoPage-BfG57-mo.js +4071 -0
- package/components/CasinoPage-DlenCL5e.js +4052 -0
- package/components/CasinoPage-QkYfyrIK.cjs +1 -0
- package/components/{CasinoRandomGame-C7o1QBcd.js → CasinoRandomGame-C-KByRhW.js} +64 -64
- package/components/{CasinoRandomGame-DQXmOLue.js → CasinoRandomGame-CFxey-Hj.js} +66 -66
- package/components/{CasinoRandomGame-CpRxEK7p.cjs → CasinoRandomGame-Cs9kjDxc.cjs} +1 -1
- package/components/{CasinoSearch-DTglx2jN.js → CasinoSearch-BjnGir-z.js} +69 -69
- package/components/{CasinoSearch-D8oEWBOH.cjs → CasinoSearch-Ci-NvpMW.cjs} +1 -1
- package/components/{CasinoSearch-CTxffz7Z.js → CasinoSearch-Cwi_srKc.js} +69 -69
- package/components/{CasinoSlider-pPfml1-U.js → CasinoSlider-39QtmWWi.js} +89 -89
- package/components/{CasinoSlider-CGpDul3G.js → CasinoSlider-C7tccz8y.js} +80 -80
- package/components/{CasinoSlider-BU163_5n.cjs → CasinoSlider-DrdLTNh9.cjs} +1 -1
- package/components/{CasinoSort-BVq-FyEW.cjs → CasinoSort-Big21575.cjs} +1 -1
- package/components/{CasinoSort-DGdM4QXv.js → CasinoSort-BvuV6OEx.js} +103 -104
- package/components/{CasinoSort-BSaxbC32.js → CasinoSort-DgtkEGDb.js} +111 -110
- package/components/{CasinoWinners-i5RqXY4N.js → CasinoWinners-CAaxaJlt.js} +151 -151
- package/components/{CasinoWinners-BwwKfUuN.js → CasinoWinners-CUHNrZzd.js} +137 -137
- package/components/{CasinoWinners-CtwqFnag.cjs → CasinoWinners-YGc-x05i.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CDwioZhT.cjs → GeneralAnimationLoading-DS00gkfg.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BszAoL3H.js → GeneralAnimationLoading-DgYbDns-.js} +18 -18
- package/components/{GeneralAnimationLoading-Xq-D41Fg.js → GeneralAnimationLoading-GRiNTyhV.js} +18 -18
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BUvMKyaw.js → casino-play-random-game-BXqbLgi6.js} +2 -2
- package/stencil/{casino-play-random-game-6EpPs13y.js → casino-play-random-game-C7EJAFXg.js} +2 -2
- package/stencil/{casino-play-random-game-IjQER553.cjs → casino-play-random-game-DjzHFI4S.cjs} +2 -2
- package/stencil/index-ab3202d6-CMLJROQf.cjs +1 -0
- package/stencil/index-ab3202d6-CqQYxn8J.js +575 -0
- package/stencil/index-ab3202d6-D5caeC50.js +559 -0
- package/stencil/index-b2193545-CJX9lIo2.js +519 -0
- package/stencil/index-b2193545-CbB5TWd2.js +503 -0
- package/stencil/index-b2193545-DQd_Uk3t.cjs +1 -0
- package/stencil/index-b7bbd57e-BO976FKE.js +534 -0
- package/stencil/index-b7bbd57e-CRts68dn.cjs +1 -0
- package/stencil/index-b7bbd57e-ChiHMF5W.js +550 -0
- package/stencil/{ui-image-38c3c15f--IPbitii.js → ui-image-38c3c15f-C4x7O9FA.js} +1 -1
- package/stencil/{ui-image-38c3c15f-Dv8v2u8d.cjs → ui-image-38c3c15f-DQqFo7p2.cjs} +1 -1
- package/stencil/{ui-image-38c3c15f-CQXMTl7T.js → ui-image-38c3c15f-DY2A0QkK.js} +1 -1
- package/stencil/{ui-image-DG3xEaHN.js → ui-image-CzWACXX6.js} +2 -2
- package/stencil/{ui-image-LuWVcxjH.cjs → ui-image-c5YAxRRi.cjs} +1 -1
- package/stencil/{ui-image-CV8AJ9cY.js → ui-image-shmNN3yX.js} +2 -2
- package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-6d1c12ae-C2t65ZQ6.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-6d1c12ae-CrQ3Yom_.js} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-6d1c12ae-D9cBvSa8.js} +1 -1
- package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-BEBLuDwu.js} +2 -2
- package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-D595e_7Y.cjs} +1 -1
- package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-Z7IcB7dJ.js} +2 -2
- package/components/CasinoCalendar-CR3NqEmo.cjs +0 -22
- package/components/CasinoCategoriesSlider-BqUXbvm-.cjs +0 -1
- package/components/CasinoFilter-C_1U3dc9.cjs +0 -1
- package/components/CasinoFilter-Cs9ZMDdP.js +0 -633
- package/components/CasinoFilter-D80YfaXW.js +0 -632
- package/components/CasinoGameThumbnail-C3GiNGVC.js +0 -1084
- package/components/CasinoGameThumbnail-D6vWUaB6.js +0 -1068
- package/components/CasinoGameThumbnail-p0ydxgWU.cjs +0 -30
- package/components/CasinoGamesCategorySection-BfmPSDQ9.cjs +0 -1
- package/components/CasinoGamesCategorySection-o-CZJ4iD.js +0 -3070
- package/components/CasinoLobby-BfVpgZO6.cjs +0 -1
- package/components/CasinoPage-CO6a5Btu.cjs +0 -1
- package/components/CasinoPage-CiONVvV8.js +0 -3758
- package/components/CasinoPage-DOSD686t.js +0 -3755
- package/stencil/index-ab3202d6-9zuW-dLG.js +0 -575
- package/stencil/index-ab3202d6-CGVciVSL.js +0 -559
- package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +0 -1
- package/stencil/index-b2193545-CGYrx6SV.js +0 -503
- package/stencil/index-b2193545-DU7jU8hT.cjs +0 -1
- package/stencil/index-b2193545-k_uiu1dU.js +0 -519
- package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
- package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
- package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as O, U as _e, a as we, S as Ge, i as Re,
|
|
2
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { $ as O, U as _e, a as we, S as Ge, i as Re, f as v, c as xe, s as ke, b as ve, e as _, w as F, y as u, d as x, z as h, A as D, h as P, t as U, g as Me, j as k, k as Ce, o as Fe, l as Le, u as Se, B as Te, C as We, D as je, n as Ne, P as ze, q as Y, r as Be, m as Ie, K, G as Je, x as S, E as T, v as X, F as Pe, H as L, I as Z, J as De, O as Ae, R as He } from "./CasinoCalendar-Ds_auLbt.js";
|
|
2
|
+
import "../stencil/ui-image-CzWACXX6.js";
|
|
3
3
|
function Oe({ withLocale: a, translations: e }) {
|
|
4
4
|
O.subscribe((t) => {
|
|
5
5
|
t == null && (_e.set(e), O.set(a));
|
|
6
6
|
});
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function Q(a, e) {
|
|
9
9
|
we(a, e);
|
|
10
10
|
}
|
|
11
11
|
function Ue(a) {
|
|
@@ -86,7 +86,7 @@ const $ = {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
function Ee(a) {
|
|
89
|
-
|
|
89
|
+
ve(a, "svelte-fd0a5p", "*,*::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}.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, #D0046C));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{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, #D0046C));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, #D0046C));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}");
|
|
90
90
|
}
|
|
91
91
|
function ee(a, e, t) {
|
|
92
92
|
const n = a.slice();
|
|
@@ -98,7 +98,7 @@ function ae(a) {
|
|
|
98
98
|
const p = (
|
|
99
99
|
/*#slots*/
|
|
100
100
|
a[23].close
|
|
101
|
-
), g =
|
|
101
|
+
), g = Se(
|
|
102
102
|
p,
|
|
103
103
|
a,
|
|
104
104
|
/*$$scope*/
|
|
@@ -117,7 +117,7 @@ function ae(a) {
|
|
|
117
117
|
e = _("div"), t = _("div"), n = _("span"), o && o.c(), l = F(), d.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
|
|
118
118
|
},
|
|
119
119
|
m(r, b) {
|
|
120
|
-
|
|
120
|
+
x(r, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), d.m(t, null), s = !0, c || (f = D(
|
|
121
121
|
n,
|
|
122
122
|
"click",
|
|
123
123
|
/*closeModal*/
|
|
@@ -126,19 +126,19 @@ function ae(a) {
|
|
|
126
126
|
},
|
|
127
127
|
p(r, b) {
|
|
128
128
|
g && g.p && (!s || b[0] & /*$$scope*/
|
|
129
|
-
4194304) &&
|
|
129
|
+
4194304) && Te(
|
|
130
130
|
g,
|
|
131
131
|
p,
|
|
132
132
|
r,
|
|
133
133
|
/*$$scope*/
|
|
134
134
|
r[22],
|
|
135
|
-
s ?
|
|
135
|
+
s ? je(
|
|
136
136
|
p,
|
|
137
137
|
/*$$scope*/
|
|
138
138
|
r[22],
|
|
139
139
|
b,
|
|
140
140
|
qe
|
|
141
|
-
) :
|
|
141
|
+
) : We(
|
|
142
142
|
/*$$scope*/
|
|
143
143
|
r[22]
|
|
144
144
|
),
|
|
@@ -146,13 +146,13 @@ function ae(a) {
|
|
|
146
146
|
), m === (m = w(r)) && d ? d.p(r, b) : (d.d(1), d = m(r), d && (d.c(), d.m(t, null)));
|
|
147
147
|
},
|
|
148
148
|
i(r) {
|
|
149
|
-
s || (
|
|
149
|
+
s || (P(o, r), s = !0);
|
|
150
150
|
},
|
|
151
151
|
o(r) {
|
|
152
152
|
U(o, r), s = !1;
|
|
153
153
|
},
|
|
154
154
|
d(r) {
|
|
155
|
-
r &&
|
|
155
|
+
r && k(e), o && o.d(r), d.d(), c = !1, f();
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
158
|
}
|
|
@@ -163,11 +163,11 @@ function Ve(a) {
|
|
|
163
163
|
e = K("svg"), t = K("path"), u(t, "stroke-linecap", "round"), u(t, "stroke-linejoin", "round"), u(t, "stroke-width", "2"), u(t, "d", "M6 18L18 6M6 6l12 12"), u(e, "class", "w-6 h-6"), u(e, "fill", "none"), u(e, "stroke", "currentColor"), u(e, "viewBox", "0 0 24 24"), u(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
164
164
|
},
|
|
165
165
|
m(n, l) {
|
|
166
|
-
|
|
166
|
+
x(n, e, l), h(e, t);
|
|
167
167
|
},
|
|
168
|
-
p:
|
|
168
|
+
p: Je,
|
|
169
169
|
d(n) {
|
|
170
|
-
n &&
|
|
170
|
+
n && k(e);
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
173
|
}
|
|
@@ -178,23 +178,23 @@ function Ye(a) {
|
|
|
178
178
|
), n;
|
|
179
179
|
return {
|
|
180
180
|
c() {
|
|
181
|
-
e = _("p"), n =
|
|
181
|
+
e = _("p"), n = S(t), u(e, "class", "RandomGameLoading");
|
|
182
182
|
},
|
|
183
183
|
m(l, s) {
|
|
184
|
-
|
|
184
|
+
x(l, e, s), h(e, n);
|
|
185
185
|
},
|
|
186
186
|
p(l, s) {
|
|
187
187
|
s[0] & /*$_*/
|
|
188
188
|
512 && t !== (t = /*$_*/
|
|
189
|
-
l[9]("noGames") + "") &&
|
|
189
|
+
l[9]("noGames") + "") && T(n, t);
|
|
190
190
|
},
|
|
191
191
|
d(l) {
|
|
192
|
-
l &&
|
|
192
|
+
l && k(e);
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
196
|
function Ke(a) {
|
|
197
|
-
let e, t, n, l, s =
|
|
197
|
+
let e, t, n, l, s = X(
|
|
198
198
|
/*gamesToShow*/
|
|
199
199
|
a[4]
|
|
200
200
|
), c = [];
|
|
@@ -203,7 +203,7 @@ function Ke(a) {
|
|
|
203
203
|
function f(o, w) {
|
|
204
204
|
return (
|
|
205
205
|
/*animationDone*/
|
|
206
|
-
o[6] ?
|
|
206
|
+
o[6] ? Ze : Xe
|
|
207
207
|
);
|
|
208
208
|
}
|
|
209
209
|
let p = f(a), g = p(a);
|
|
@@ -215,7 +215,7 @@ function Ke(a) {
|
|
|
215
215
|
l = F(), g.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
|
|
216
216
|
},
|
|
217
217
|
m(o, w) {
|
|
218
|
-
|
|
218
|
+
x(o, e, w), h(e, t), h(t, n);
|
|
219
219
|
for (let m = 0; m < c.length; m += 1)
|
|
220
220
|
c[m] && c[m].m(n, null);
|
|
221
221
|
a[24](n), h(e, l), g.m(e, null);
|
|
@@ -223,7 +223,7 @@ function Ke(a) {
|
|
|
223
223
|
p(o, w) {
|
|
224
224
|
if (w[0] & /*gamesToShow*/
|
|
225
225
|
16) {
|
|
226
|
-
s =
|
|
226
|
+
s = X(
|
|
227
227
|
/*gamesToShow*/
|
|
228
228
|
o[4]
|
|
229
229
|
);
|
|
@@ -239,7 +239,7 @@ function Ke(a) {
|
|
|
239
239
|
p === (p = f(o)) && g ? g.p(o, w) : (g.d(1), g = p(o), g && (g.c(), g.m(e, null)));
|
|
240
240
|
},
|
|
241
241
|
d(o) {
|
|
242
|
-
o &&
|
|
242
|
+
o && k(e), Pe(c, o), a[24](null), g.d();
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
245
|
}
|
|
@@ -247,17 +247,17 @@ function ne(a) {
|
|
|
247
247
|
let e, t, n, l, s, c;
|
|
248
248
|
return {
|
|
249
249
|
c() {
|
|
250
|
-
e = _("div"), t = _("ui-image"), c = F(), L(t, "imgClass", "RandomGameImage"),
|
|
250
|
+
e = _("div"), t = _("ui-image"), c = F(), L(t, "imgClass", "RandomGameImage"), Z(t.src, n = /*game*/
|
|
251
251
|
a[41].thumbnail) || L(t, "src", n), L(t, "alt", l = /*game*/
|
|
252
252
|
a[41].name), L(t, "title", s = /*game*/
|
|
253
253
|
a[41].name), u(e, "class", "item");
|
|
254
254
|
},
|
|
255
255
|
m(f, p) {
|
|
256
|
-
|
|
256
|
+
x(f, e, p), h(e, t), h(e, c);
|
|
257
257
|
},
|
|
258
258
|
p(f, p) {
|
|
259
259
|
p[0] & /*gamesToShow*/
|
|
260
|
-
16 && !
|
|
260
|
+
16 && !Z(t.src, n = /*game*/
|
|
261
261
|
f[41].thumbnail) && L(t, "src", n), p[0] & /*gamesToShow*/
|
|
262
262
|
16 && l !== (l = /*game*/
|
|
263
263
|
f[41].name) && L(t, "alt", l), p[0] & /*gamesToShow*/
|
|
@@ -265,33 +265,33 @@ function ne(a) {
|
|
|
265
265
|
f[41].name) && L(t, "title", s);
|
|
266
266
|
},
|
|
267
267
|
d(f) {
|
|
268
|
-
f &&
|
|
268
|
+
f && k(e);
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function Xe(a) {
|
|
273
273
|
let e, t = (
|
|
274
274
|
/*$_*/
|
|
275
275
|
a[9]("randomGameLoading") + ""
|
|
276
276
|
), n;
|
|
277
277
|
return {
|
|
278
278
|
c() {
|
|
279
|
-
e = _("p"), n =
|
|
279
|
+
e = _("p"), n = S(t), u(e, "class", "RandomGameLoading");
|
|
280
280
|
},
|
|
281
281
|
m(l, s) {
|
|
282
|
-
|
|
282
|
+
x(l, e, s), h(e, n);
|
|
283
283
|
},
|
|
284
284
|
p(l, s) {
|
|
285
285
|
s[0] & /*$_*/
|
|
286
286
|
512 && t !== (t = /*$_*/
|
|
287
|
-
l[9]("randomGameLoading") + "") &&
|
|
287
|
+
l[9]("randomGameLoading") + "") && T(n, t);
|
|
288
288
|
},
|
|
289
289
|
d(l) {
|
|
290
|
-
l &&
|
|
290
|
+
l && k(e);
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function Ze(a) {
|
|
295
295
|
let e, t, n, l, s = (
|
|
296
296
|
/*randomGame*/
|
|
297
297
|
a[3].name + ""
|
|
@@ -305,17 +305,17 @@ function Xe(a) {
|
|
|
305
305
|
return {
|
|
306
306
|
c() {
|
|
307
307
|
e = _("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));}
|
|
308
|
-
</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 = F(), n = _("div"), l = _("p"), c =
|
|
308
|
+
</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 = F(), n = _("div"), l = _("p"), c = S(s), f = F(), p = _("p"), o = S(g), w = F(), m = _("button"), r = S(d), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(p, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
|
|
309
309
|
},
|
|
310
310
|
m(R, G) {
|
|
311
|
-
|
|
312
|
-
|
|
311
|
+
x(R, e, G), x(R, t, G), x(R, n, G), h(n, l), h(l, c), h(n, f), h(n, p), h(p, o), h(n, w), h(n, m), h(m, r), b || (W = [
|
|
312
|
+
D(
|
|
313
313
|
e,
|
|
314
314
|
"click",
|
|
315
315
|
/*click_handler*/
|
|
316
316
|
a[25]
|
|
317
317
|
),
|
|
318
|
-
|
|
318
|
+
D(
|
|
319
319
|
m,
|
|
320
320
|
"click",
|
|
321
321
|
/*click_handler_1*/
|
|
@@ -326,36 +326,36 @@ function Xe(a) {
|
|
|
326
326
|
p(R, G) {
|
|
327
327
|
G[0] & /*randomGame*/
|
|
328
328
|
8 && s !== (s = /*randomGame*/
|
|
329
|
-
R[3].name + "") &&
|
|
329
|
+
R[3].name + "") && T(c, s), G[0] & /*randomGame*/
|
|
330
330
|
8 && g !== (g = /*randomGame*/
|
|
331
|
-
R[3].vendor.name + "") &&
|
|
331
|
+
R[3].vendor.name + "") && T(o, g), G[0] & /*$_*/
|
|
332
332
|
512 && d !== (d = /*$_*/
|
|
333
|
-
R[9]("playNowRandomGame") + "") &&
|
|
333
|
+
R[9]("playNowRandomGame") + "") && T(r, d);
|
|
334
334
|
},
|
|
335
335
|
d(R) {
|
|
336
|
-
R && (
|
|
336
|
+
R && (k(e), k(t), k(n)), b = !1, He(W);
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Qe(a) {
|
|
341
341
|
let e, t = (
|
|
342
342
|
/*$_*/
|
|
343
343
|
a[9]("playRandomGame") + ""
|
|
344
344
|
), n;
|
|
345
345
|
return {
|
|
346
346
|
c() {
|
|
347
|
-
e = _("span"), n =
|
|
347
|
+
e = _("span"), n = S(t), u(e, "class", "RandomButtonText");
|
|
348
348
|
},
|
|
349
349
|
m(l, s) {
|
|
350
|
-
|
|
350
|
+
x(l, e, s), h(e, n);
|
|
351
351
|
},
|
|
352
352
|
p(l, s) {
|
|
353
353
|
s[0] & /*$_*/
|
|
354
354
|
512 && t !== (t = /*$_*/
|
|
355
|
-
l[9]("playRandomGame") + "") &&
|
|
355
|
+
l[9]("playRandomGame") + "") && T(n, t);
|
|
356
356
|
},
|
|
357
357
|
d(l) {
|
|
358
|
-
l &&
|
|
358
|
+
l && k(e);
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
}
|
|
@@ -363,24 +363,24 @@ function $e(a) {
|
|
|
363
363
|
let e, t;
|
|
364
364
|
return {
|
|
365
365
|
c() {
|
|
366
|
-
e = _("span"), t =
|
|
366
|
+
e = _("span"), t = S(
|
|
367
367
|
/*buttontext*/
|
|
368
368
|
a[1]
|
|
369
369
|
), u(e, "class", "RandomButtonText");
|
|
370
370
|
},
|
|
371
371
|
m(n, l) {
|
|
372
|
-
|
|
372
|
+
x(n, e, l), h(e, t);
|
|
373
373
|
},
|
|
374
374
|
p(n, l) {
|
|
375
375
|
l[0] & /*buttontext*/
|
|
376
|
-
2 &&
|
|
376
|
+
2 && T(
|
|
377
377
|
t,
|
|
378
378
|
/*buttontext*/
|
|
379
379
|
n[1]
|
|
380
380
|
);
|
|
381
381
|
},
|
|
382
382
|
d(n) {
|
|
383
|
-
n &&
|
|
383
|
+
n && k(e);
|
|
384
384
|
}
|
|
385
385
|
};
|
|
386
386
|
}
|
|
@@ -397,7 +397,7 @@ function et(a) {
|
|
|
397
397
|
return $e;
|
|
398
398
|
if (!/*buttontext*/
|
|
399
399
|
r[1])
|
|
400
|
-
return
|
|
400
|
+
return Qe;
|
|
401
401
|
}
|
|
402
402
|
let m = w(a), d = m && m(a);
|
|
403
403
|
return {
|
|
@@ -405,8 +405,8 @@ function et(a) {
|
|
|
405
405
|
e = _("div"), o && o.c(), t = F(), n = _("div"), l = _("button"), d && d.c(), s = F(), c = _("span"), u(c, "class", "RandomButtonIcon"), u(l, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper");
|
|
406
406
|
},
|
|
407
407
|
m(r, b) {
|
|
408
|
-
|
|
409
|
-
a[0], a[28](e), f = !0, p || (g =
|
|
408
|
+
x(r, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), d && d.m(l, null), h(l, s), h(l, c), c.innerHTML = /*randombuttonicon*/
|
|
409
|
+
a[0], a[28](e), f = !0, p || (g = D(
|
|
410
410
|
l,
|
|
411
411
|
"click",
|
|
412
412
|
/*click_handler_2*/
|
|
@@ -416,43 +416,43 @@ function et(a) {
|
|
|
416
416
|
p(r, b) {
|
|
417
417
|
/*show*/
|
|
418
418
|
r[5] ? o ? (o.p(r, b), b[0] & /*show*/
|
|
419
|
-
32 &&
|
|
419
|
+
32 && P(o, 1)) : (o = ae(r), o.c(), P(o, 1), o.m(e, t)) : o && (Ne(), U(o, 1, 1, () => {
|
|
420
420
|
o = null;
|
|
421
421
|
}), Me()), m === (m = w(r)) && d ? d.p(r, b) : (d && d.d(1), d = m && m(r), d && (d.c(), d.m(l, s))), (!f || b[0] & /*randombuttonicon*/
|
|
422
422
|
1) && (c.innerHTML = /*randombuttonicon*/
|
|
423
423
|
r[0]);
|
|
424
424
|
},
|
|
425
425
|
i(r) {
|
|
426
|
-
f || (
|
|
426
|
+
f || (P(o), f = !0);
|
|
427
427
|
},
|
|
428
428
|
o(r) {
|
|
429
429
|
U(o), f = !1;
|
|
430
430
|
},
|
|
431
431
|
d(r) {
|
|
432
|
-
r &&
|
|
432
|
+
r && k(e), o && o.d(), d && d.d(), a[28](null), p = !1, g();
|
|
433
433
|
}
|
|
434
434
|
};
|
|
435
435
|
}
|
|
436
436
|
function tt(a, e, t) {
|
|
437
437
|
let n;
|
|
438
|
-
Ce(a,
|
|
438
|
+
Ce(a, De, (i) => t(9, n = i));
|
|
439
439
|
let { $$slots: l = {}, $$scope: s } = e, { endpoint: c = "" } = e, { datasource: f = "" } = e, { gameevent: p = "" } = e, { lang: g = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: w = "" } = e, { translationurl: m = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: r = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: W } = e, R = [], G = "", j, z = !1, A = !1, I = !1, oe = window.navigator.userAgent, M, N, E, J, q = null;
|
|
440
440
|
Oe({ withLocale: "en", translations: {} });
|
|
441
441
|
const le = () => {
|
|
442
442
|
fetch(m).then((y) => y.json()).then((y) => {
|
|
443
443
|
Object.keys(y).forEach((C) => {
|
|
444
|
-
|
|
444
|
+
Q(C, y[C]);
|
|
445
445
|
});
|
|
446
446
|
}).catch((y) => {
|
|
447
447
|
console.log(y);
|
|
448
448
|
});
|
|
449
449
|
};
|
|
450
450
|
Object.keys($).forEach((i) => {
|
|
451
|
-
|
|
451
|
+
Q(i, $[i]);
|
|
452
452
|
});
|
|
453
453
|
const ie = () => {
|
|
454
454
|
let i = new URL(`${c}/v1/casino/games`);
|
|
455
|
-
i.searchParams.append("platform",
|
|
455
|
+
i.searchParams.append("platform", ze(oe)), 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) => {
|
|
456
456
|
R = y.items, R.length ? (t(4, j = re(R.slice(0, 19))), t(7, I = !0)) : (t(4, j = []), t(7, I = !1));
|
|
457
457
|
}).catch((y) => {
|
|
458
458
|
console.log(y), t(7, I = !1);
|
|
@@ -461,7 +461,7 @@ function tt(a, e, t) {
|
|
|
461
461
|
const y = me(i);
|
|
462
462
|
return y.concat(y);
|
|
463
463
|
}, se = async () => {
|
|
464
|
-
await
|
|
464
|
+
await Ae(), J = Math.floor(Math.random() * (j.length / 2)) + j.length / 2, t(3, G = j[J]), E = N.children[J];
|
|
465
465
|
}, H = async () => {
|
|
466
466
|
t(6, A = !1), t(5, z = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await se();
|
|
467
467
|
const i = window.getComputedStyle(N).getPropertyValue("gap"), y = parseInt(i, 10) || 0, B = (E.offsetHeight + y) * J, ye = [
|
|
@@ -520,9 +520,9 @@ function tt(a, e, t) {
|
|
|
520
520
|
65536 && g && ce(), a.$$.dirty[0] & /*translationurl*/
|
|
521
521
|
131072 && m && le(), a.$$.dirty[0] & /*endpoint, datasource*/
|
|
522
522
|
24576 && c && f && ie(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
523
|
-
262148 && d && M &&
|
|
524
|
-
524292 && r && M &&
|
|
525
|
-
2097156 && M &&
|
|
523
|
+
262148 && d && M && Be(M, d), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
524
|
+
524292 && r && M && Le(M, r), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
525
|
+
2097156 && M && Ie(M, `${W}.Style`);
|
|
526
526
|
}, [
|
|
527
527
|
o,
|
|
528
528
|
w,
|
|
@@ -562,7 +562,7 @@ class at extends Ge {
|
|
|
562
562
|
e,
|
|
563
563
|
tt,
|
|
564
564
|
et,
|
|
565
|
-
|
|
565
|
+
ke,
|
|
566
566
|
{
|
|
567
567
|
endpoint: 13,
|
|
568
568
|
datasource: 14,
|
|
@@ -647,7 +647,7 @@ class at extends Ge {
|
|
|
647
647
|
this.$$set({ mbsource: e }), v();
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
|
|
650
|
+
xe(at, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
|
|
651
651
|
export {
|
|
652
652
|
at as default
|
|
653
653
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var W=(n,t,a)=>new Promise((o,r)=>{var s=p=>{try{f(a.next(p))}catch(g){r(g)}},c=p=>{try{f(a.throw(p))}catch(g){r(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-
|
|
1
|
+
"use strict";var W=(n,t,a)=>new Promise((o,r)=>{var s=p=>{try{f(a.next(p))}catch(g){r(g)}},c=p=>{try{f(a.throw(p))}catch(g){r(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-mfnJr7FR.cjs");require("../stencil/ui-image-c5YAxRRi.cjs");function oe({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function B(n,t){e.addMessages(n,t)}function le(n){e.$locale.set(n)}const I={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"},"en-us":{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"}};function re(n){e.append_styles(n,"svelte-fd0a5p","*,*::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}.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, #D0046C));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{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, #D0046C));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, #D0046C));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}")}function P(n,t,a){const o=n.slice();return o[41]=t[a],o}const ie=n=>({}),J=n=>({});function D(n){let t,a,o,r,s,c,f;const p=n[23].close,g=e.create_slot(p,n,n[22],J),l=g||se();function y(d,_){return d[7]?me:de}let m=y(n),u=m(n);return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),l&&l.c(),r=e.space(),u.c(),e.attr(o,"class","ModalCloseBtn"),e.attr(o,"role","button"),e.attr(a,"class","ModalContainer"),e.attr(t,"class","ModalWindow")},m(d,_){e.insert(d,t,_),e.append(t,a),e.append(a,o),l&&l.m(o,null),e.append(a,r),u.m(a,null),s=!0,c||(f=e.listen(o,"click",n[12]),c=!0)},p(d,_){g&&g.p&&(!s||_[0]&4194304)&&e.update_slot_base(g,p,d,d[22],s?e.get_slot_changes(p,d[22],_,ie):e.get_all_dirty_from_scope(d[22]),J),m===(m=y(d))&&u?u.p(d,_):(u.d(1),u=m(d),u&&(u.c(),u.m(a,null)))},i(d){s||(e.transition_in(l,d),s=!0)},o(d){e.transition_out(l,d),s=!1},d(d){d&&e.detach(t),l&&l.d(d),u.d(),c=!1,f()}}}function se(n){let t,a;return{c(){t=e.svg_element("svg"),a=e.svg_element("path"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(a,"stroke-width","2"),e.attr(a,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,r){e.insert(o,t,r),e.append(t,a)},p:e.noop,d(o){o&&e.detach(t)}}}function de(n){let t,a=n[9]("noGames")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("noGames")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function me(n){let t,a,o,r,s=e.ensure_array_like(n[4]),c=[];for(let l=0;l<s.length;l+=1)c[l]=A(P(n,s,l));function f(l,y){return l[6]?ue:ce}let p=f(n),g=p(n);return{c(){t=e.element("div"),a=e.element("main"),o=e.element("div");for(let l=0;l<c.length;l+=1)c[l].c();r=e.space(),g.c(),e.attr(o,"class","GamesContainer"),e.attr(a,"class","RandomGamesSliderWrapper"),e.attr(t,"class","RandomGameWrapper")},m(l,y){e.insert(l,t,y),e.append(t,a),e.append(a,o);for(let m=0;m<c.length;m+=1)c[m]&&c[m].m(o,null);n[24](o),e.append(t,r),g.m(t,null)},p(l,y){if(y[0]&16){s=e.ensure_array_like(l[4]);let m;for(m=0;m<s.length;m+=1){const u=P(l,s,m);c[m]?c[m].p(u,y):(c[m]=A(u),c[m].c(),c[m].m(o,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}p===(p=f(l))&&g?g.p(l,y):(g.d(1),g=p(l),g&&(g.c(),g.m(t,null)))},d(l){l&&e.detach(t),e.destroy_each(c,l),n[24](null),g.d()}}}function A(n){let t,a,o,r,s,c;return{c(){t=e.element("div"),a=e.element("ui-image"),c=e.space(),e.set_custom_element_data(a,"imgClass","RandomGameImage"),e.src_url_equal(a.src,o=n[41].thumbnail)||e.set_custom_element_data(a,"src",o),e.set_custom_element_data(a,"alt",r=n[41].name),e.set_custom_element_data(a,"title",s=n[41].name),e.attr(t,"class","item")},m(f,p){e.insert(f,t,p),e.append(t,a),e.append(t,c)},p(f,p){p[0]&16&&!e.src_url_equal(a.src,o=f[41].thumbnail)&&e.set_custom_element_data(a,"src",o),p[0]&16&&r!==(r=f[41].name)&&e.set_custom_element_data(a,"alt",r),p[0]&16&&s!==(s=f[41].name)&&e.set_custom_element_data(a,"title",s)},d(f){f&&e.detach(t)}}}function ce(n){let t,a=n[9]("randomGameLoading")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("randomGameLoading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ue(n){let t,a,o,r,s=n[3].name+"",c,f,p,g=n[3].vendor.name+"",l,y,m,u=n[9]("playNowRandomGame")+"",d,_,R;return{c(){t=e.element("button"),t.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));}
|
|
2
2
|
</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>`,a=e.space(),o=e.element("div"),r=e.element("p"),c=e.text(s),f=e.space(),p=e.element("p"),l=e.text(g),y=e.space(),m=e.element("button"),d=e.text(u),e.attr(t,"class","RandomTryAgain"),e.attr(r,"class","RandomGameTitle"),e.attr(p,"class","RandomGameVendor"),e.attr(m,"class","RandomGamePlay"),e.attr(o,"class","RandomGameDetails")},m(w,b){e.insert(w,t,b),e.insert(w,a,b),e.insert(w,o,b),e.append(o,r),e.append(r,c),e.append(o,f),e.append(o,p),e.append(p,l),e.append(o,y),e.append(o,m),e.append(m,d),_||(R=[e.listen(t,"click",n[25]),e.listen(m,"click",n[26])],_=!0)},p(w,b){b[0]&8&&s!==(s=w[3].name+"")&&e.set_data(c,s),b[0]&8&&g!==(g=w[3].vendor.name+"")&&e.set_data(l,g),b[0]&512&&u!==(u=w[9]("playNowRandomGame")+"")&&e.set_data(d,u)},d(w){w&&(e.detach(t),e.detach(a),e.detach(o)),_=!1,e.run_all(R)}}}function pe(n){let t,a=n[9]("playRandomGame")+"",o;return{c(){t=e.element("span"),o=e.text(a),e.attr(t,"class","RandomButtonText")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("playRandomGame")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ge(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","RandomButtonText")},m(o,r){e.insert(o,t,r),e.append(t,a)},p(o,r){r[0]&2&&e.set_data(a,o[1])},d(o){o&&e.detach(t)}}}function fe(n){let t,a,o,r,s,c,f,p,g,l=n[5]&&D(n);function y(d,_){if(d[1])return ge;if(!d[1])return pe}let m=y(n),u=m&&m(n);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),o=e.element("div"),r=e.element("button"),u&&u.c(),s=e.space(),c=e.element("span"),e.attr(c,"class","RandomButtonIcon"),e.attr(r,"class","RandomButton"),e.attr(o,"class","RandomButtonWrapper")},m(d,_){e.insert(d,t,_),l&&l.m(t,null),e.append(t,a),e.append(t,o),e.append(o,r),u&&u.m(r,null),e.append(r,s),e.append(r,c),c.innerHTML=n[0],n[28](t),f=!0,p||(g=e.listen(r,"click",n[27]),p=!0)},p(d,_){d[5]?l?(l.p(d,_),_[0]&32&&e.transition_in(l,1)):(l=D(d),l.c(),e.transition_in(l,1),l.m(t,a)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros()),m===(m=y(d))&&u?u.p(d,_):(u&&u.d(1),u=m&&m(d),u&&(u.c(),u.m(r,s))),(!f||_[0]&1)&&(c.innerHTML=d[0])},i(d){f||(e.transition_in(l),f=!0)},o(d){e.transition_out(l),f=!1},d(d){d&&e.detach(t),l&&l.d(),u&&u.d(),n[28](null),p=!1,g()}}}function he(n,t,a){let o;e.component_subscribe(n,e.$format,i=>a(9,o=i));let{$$slots:r={},$$scope:s}=t,{endpoint:c=""}=t,{datasource:f=""}=t,{gameevent:p=""}=t,{lang:g=""}=t,{randombuttonicon:l=""}=t,{buttontext:y=""}=t,{translationurl:m=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{filteredrandomgamecategories:_=""}=t,{mbsource:R}=t,w=[],b="",k,M=!1,S=!1,F=!1,O=window.navigator.userAgent,G,v,j,L,N=null;oe({withLocale:"en",translations:{}});const q=()=>{fetch(m).then(h=>h.json()).then(h=>{Object.keys(h).forEach(x=>{B(x,h[x])})}).catch(h=>{console.log(h)})};Object.keys(I).forEach(i=>{B(i,I[i])});const U=()=>{let i=new URL(`${c}/v1/casino/games`);i.searchParams.append("platform",e.getDevice(O)),i.searchParams.append("datasource",f),i.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),_&&i.searchParams.append("filter",`groups=${_}`),i.searchParams.append("expand","categories,vendor"),i.searchParams.append("pagination","offset=0,limit=1000"),fetch(i.href).then(h=>h.json()).then(h=>{w=h.items,w.length?(a(4,k=E(w.slice(0,19))),a(7,F=!0)):(a(4,k=[]),a(7,F=!1))}).catch(h=>{console.log(h),a(7,F=!1)})},E=i=>{const h=Y(i);return h.concat(h)},V=()=>W(this,null,function*(){yield e.tick(),L=Math.floor(Math.random()*(k.length/2))+k.length/2,a(3,b=k[L]),j=v.children[L]}),T=()=>W(this,null,function*(){a(6,S=!1),a(5,M=!0),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href),yield V();const i=window.getComputedStyle(v).getPropertyValue("gap"),h=parseInt(i,10)||0,C=(j.offsetHeight+h)*L,ae=[{transform:"translateX(0px)"},{filter:"blur(5px)"},{transform:`translateY(-${C}px)`}],ne={duration:2e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};N=v.animate(ae,ne),N.onfinish=()=>{a(6,S=!0)}}),Y=i=>{const h=structuredClone(i);let x=h.length,C;for(;x!=0;)C=Math.floor(Math.random()*x),x--,[h[x],h[C]]=[h[C],h[x]];return h},z=()=>{window.postMessage({type:p,gameId:b.gId||b.id},window.location.href),a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:`${b.gId||b.id}`})},X=()=>{a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:M},window.location.href)},Z=()=>{le(g)};e.onMount(()=>()=>{});function K(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(8,v)})}const Q=()=>T(),$=()=>z(),ee=()=>T();function te(i){e.binding_callbacks[i?"unshift":"push"](()=>{G=i,a(2,G)})}return n.$$set=i=>{"endpoint"in i&&a(13,c=i.endpoint),"datasource"in i&&a(14,f=i.datasource),"gameevent"in i&&a(15,p=i.gameevent),"lang"in i&&a(16,g=i.lang),"randombuttonicon"in i&&a(0,l=i.randombuttonicon),"buttontext"in i&&a(1,y=i.buttontext),"translationurl"in i&&a(17,m=i.translationurl),"clientstyling"in i&&a(18,u=i.clientstyling),"clientstylingurl"in i&&a(19,d=i.clientstylingurl),"filteredrandomgamecategories"in i&&a(20,_=i.filteredrandomgamecategories),"mbsource"in i&&a(21,R=i.mbsource),"$$scope"in i&&a(22,s=i.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&65536&&g&&Z(),n.$$.dirty[0]&131072&&m&&q(),n.$$.dirty[0]&24576&&c&&f&&U(),n.$$.dirty[0]&262148&&u&&G&&e.setClientStyling(G,u),n.$$.dirty[0]&524292&&d&&G&&e.setClientStylingURL(G,d),n.$$.dirty[0]&2097156&&G&&e.setStreamStyling(G,`${R}.Style`)},[l,y,G,b,k,M,S,F,v,o,T,z,X,c,f,p,g,m,u,d,_,R,s,r,K,Q,$,ee,te]}class H extends e.SvelteComponent{constructor(t){super(),e.init(this,t,he,fe,e.safe_not_equal,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20,mbsource:21},re,[-1,-1])}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[14]}set datasource(t){this.$$set({datasource:t}),e.flush()}get gameevent(){return this.$$.ctx[15]}set gameevent(t){this.$$set({gameevent:t}),e.flush()}get lang(){return this.$$.ctx[16]}set lang(t){this.$$set({lang:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get buttontext(){return this.$$.ctx[1]}set buttontext(t){this.$$set({buttontext:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(H,{endpoint:{},datasource:{},gameevent:{},lang:{},randombuttonicon:{},buttontext:{},translationurl:{},clientstyling:{},clientstylingurl:{},filteredrandomgamecategories:{},mbsource:{}},["close"],[],!0);exports.default=H;
|