@everymatrix/casino-lobby 1.60.1 → 1.61.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-CR3NqEmo.cjs +22 -0
- package/components/{CasinoCalendar-Km8tdNHN.js → CasinoCalendar-DoAbSivX.js} +690 -712
- package/components/{CasinoCalendar-6ncpIgng.js → CasinoCalendar-m598e8c0.js} +696 -718
- package/components/CasinoCalendarDailyDetails-B-xYqIE0.js +694 -0
- package/components/CasinoCalendarDailyDetails-DwcDf4x5.js +694 -0
- package/components/CasinoCalendarDailyDetails-ihh2Fdl-.cjs +1 -0
- package/components/CasinoCalendarDailyItem-CVcykkiO.cjs +1 -0
- package/components/CasinoCalendarDailyItem-DD1zORXJ.js +307 -0
- package/components/CasinoCalendarDailyItem-Jx2wAoY3.js +307 -0
- package/components/CasinoCategoriesSlider-BqUXbvm-.cjs +1 -0
- package/components/{CasinoCategoriesSlider-DRIsr69C.js → CasinoCategoriesSlider-DE0uzQfF.js} +68 -68
- package/components/{CasinoCategoriesSlider-DYab11Z3.js → CasinoCategoriesSlider-DW81y1el.js} +69 -69
- package/components/{CasinoCollectionsProviders-pk8jpLQt.js → CasinoCollectionsProviders-CkxoIQMQ.js} +205 -203
- package/components/{CasinoCollectionsProviders-B7d5LuGP.js → CasinoCollectionsProviders-FTsSIZe7.js} +161 -160
- package/components/CasinoCollectionsProviders-tBs9i_s1.cjs +1 -0
- package/components/{CasinoFavoritesSection-a8e9F8Ga.js → CasinoFavoritesSection-CKWkFYb4.js} +26 -26
- package/components/{CasinoFavoritesSection-51a03OgV.cjs → CasinoFavoritesSection-CtF6Vrcg.cjs} +1 -1
- package/components/{CasinoFavoritesSection-uCNlSq84.js → CasinoFavoritesSection-MnxoGd6P.js} +26 -26
- package/components/CasinoFilter-C_1U3dc9.cjs +1 -0
- package/components/CasinoFilter-Cs9ZMDdP.js +633 -0
- package/components/CasinoFilter-D80YfaXW.js +632 -0
- package/components/{CasinoGamePage-ssKF-ZD1.js → CasinoGamePage-B8-ifO-z.js} +898 -897
- package/components/CasinoGamePage-BhfZPeFB.cjs +18 -0
- package/components/{CasinoGamePage-Cp2CKRka.js → CasinoGamePage-CLMVY2d0.js} +972 -971
- package/components/CasinoGameThumbnail-C3GiNGVC.js +1084 -0
- package/components/CasinoGameThumbnail-D6vWUaB6.js +1068 -0
- package/components/CasinoGameThumbnail-p0ydxgWU.cjs +30 -0
- package/components/{CasinoGamesCategorySection-CYKXSIYS.cjs → CasinoGamesCategorySection-BfmPSDQ9.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-BGemjnwH.js → CasinoGamesCategorySection-CIfBLzjC.js} +247 -247
- package/components/{CasinoGamesCategorySection-CHynVnZ8.js → CasinoGamesCategorySection-o-CZJ4iD.js} +247 -247
- package/components/CasinoJackpotBanner-B3ZF9rcH.js +698 -0
- package/components/CasinoJackpotBanner-C8HGJTlE.cjs +1 -0
- package/components/CasinoJackpotBanner-CdD_15mU.js +694 -0
- package/components/{CasinoLastPlayedSection-B64b2eJF.cjs → CasinoLastPlayedSection-BKNOgkbn.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-CyKppEbZ.js → CasinoLastPlayedSection-BPD5poPp.js} +44 -44
- package/components/{CasinoLastPlayedSection-BGk4k--h.js → CasinoLastPlayedSection-Dxbzb-4o.js} +44 -44
- package/components/{CasinoLobby-PcRgXAeR.js → CasinoLobby-6kkVRa0v.js} +54 -54
- package/components/{CasinoLobby-DddN7Gev.cjs → CasinoLobby-BfVpgZO6.cjs} +1 -1
- package/components/{CasinoLobby-CN5AmC5K.js → CasinoLobby-Bntp7e5i.js} +56 -56
- package/components/{CasinoModal-d1VUXUWj.cjs → CasinoModal-CX70u0Ty.cjs} +1 -1
- package/components/{CasinoModal-B9Gmdwc0.js → CasinoModal-QtSV_GhN.js} +37 -37
- package/components/{CasinoModal-DLgyWFbs.js → CasinoModal-bTxbu9d4.js} +37 -37
- package/components/{CasinoMostPlayedSection-C-D6CJKY.js → CasinoMostPlayedSection-B9_yeLMk.js} +49 -49
- package/components/{CasinoMostPlayedSection-qIiZdQQG.js → CasinoMostPlayedSection-D-VpqDyh.js} +49 -49
- package/components/{CasinoMostPlayedSection-QIdWMIjm.cjs → CasinoMostPlayedSection-mgY7J84H.cjs} +1 -1
- package/components/{CasinoMyGames-DjXz5K51.js → CasinoMyGames-BEUz5puH.js} +46 -46
- package/components/{CasinoMyGames-Wpdq0oL6.js → CasinoMyGames-BQtk1EEq.js} +49 -49
- package/components/{CasinoMyGames-Dy1sj15h.cjs → CasinoMyGames-CoK6Wgxp.cjs} +1 -1
- package/components/{CasinoPage-DhSkte5y.cjs → CasinoPage-CO6a5Btu.cjs} +1 -1
- package/components/{CasinoPage-DMCyJTE2.js → CasinoPage-CiONVvV8.js} +85 -85
- package/components/{CasinoPage-D1fSPDEj.js → CasinoPage-DOSD686t.js} +93 -93
- package/components/{CasinoRandomGame-CfOiAKHl.js → CasinoRandomGame-C7o1QBcd.js} +195 -194
- package/components/CasinoRandomGame-CpRxEK7p.cjs +2 -0
- package/components/{CasinoRandomGame-CqripZYr.js → CasinoRandomGame-DQXmOLue.js} +157 -156
- package/components/{CasinoSearch-BgD0xvTa.js → CasinoSearch-CTxffz7Z.js} +65 -65
- package/components/{CasinoSearch-CRhnd9Yq.cjs → CasinoSearch-D8oEWBOH.cjs} +1 -1
- package/components/{CasinoSearch-DOguc7Dt.js → CasinoSearch-DTglx2jN.js} +65 -65
- package/components/CasinoSlider-BU163_5n.cjs +1 -0
- package/components/{CasinoSlider---x4M_hm.js → CasinoSlider-CGpDul3G.js} +221 -220
- package/components/{CasinoSlider-PeKujgAE.js → CasinoSlider-pPfml1-U.js} +166 -165
- package/components/{CasinoSort-xZsxfLYC.js → CasinoSort-BSaxbC32.js} +110 -111
- package/components/{CasinoSort-C78a6veQ.cjs → CasinoSort-BVq-FyEW.cjs} +1 -1
- package/components/{CasinoSort-BRC8Jmi_.js → CasinoSort-DGdM4QXv.js} +104 -103
- package/components/{CasinoWinners-DD8ZyQkV.js → CasinoWinners-BwwKfUuN.js} +176 -175
- package/components/CasinoWinners-CtwqFnag.cjs +1 -0
- package/components/{CasinoWinners-BEOhs5WG.js → CasinoWinners-i5RqXY4N.js} +185 -184
- package/components/{GeneralAnimationLoading-CURVDkRT.js → GeneralAnimationLoading-BszAoL3H.js} +18 -18
- package/components/{GeneralAnimationLoading-Bl6_sP-d.cjs → GeneralAnimationLoading-CDwioZhT.cjs} +1 -1
- package/components/{GeneralAnimationLoading-uswxvfCW.js → GeneralAnimationLoading-Xq-D41Fg.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/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
- package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-6EpPs13y.js} +4 -9
- package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-BUvMKyaw.js} +7 -12
- package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
- package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
- package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
- package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
- package/stencil/index-b2193545-CGYrx6SV.js +503 -0
- package/stencil/index-b2193545-DU7jU8hT.cjs +1 -0
- package/stencil/index-b2193545-k_uiu1dU.js +519 -0
- package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
- package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
- package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
- package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
- package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
- package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
- package/stencil/ui-image-CV8AJ9cY.js +29 -0
- package/stencil/ui-image-DG3xEaHN.js +11 -0
- package/stencil/ui-image-LuWVcxjH.cjs +1 -0
- package/stencil/{ui-skeleton-sAoxznwb.js → ui-skeleton-22AocHRT.js} +8 -8
- package/stencil/{ui-skeleton-ea659b95-CaDtZrvR.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-CvOjl779.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
- package/stencil/{ui-skeleton-ea659b95-DmKUoob8.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
- package/stencil/{ui-skeleton-BpUWeWAr.js → ui-skeleton-CMD3xF0X.js} +5 -5
- package/stencil/{ui-skeleton-D2GYc4Vd.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
- package/components/CasinoCalendar-CkNAiTx8.cjs +0 -22
- package/components/CasinoCalendarDailyDetails-CAbwFBvZ.js +0 -693
- package/components/CasinoCalendarDailyDetails-CGaAU2gc.js +0 -693
- package/components/CasinoCalendarDailyDetails-CsEZhtVE.cjs +0 -1
- package/components/CasinoCalendarDailyItem-5aqnKIMr.js +0 -306
- package/components/CasinoCalendarDailyItem-DSlC0F3s.cjs +0 -1
- package/components/CasinoCalendarDailyItem-D_MTrKed.js +0 -306
- package/components/CasinoCategoriesSlider-_X531XfJ.cjs +0 -1
- package/components/CasinoCollectionsProviders-B6occ8TF.cjs +0 -1
- package/components/CasinoFilter-BTof425X.js +0 -632
- package/components/CasinoFilter-BWjq7W1e.js +0 -631
- package/components/CasinoFilter-C2Q93qQz.cjs +0 -1
- package/components/CasinoGamePage-D2huRBJX.cjs +0 -18
- package/components/CasinoGameThumbnail-CrrXNmw1.js +0 -1882
- package/components/CasinoGameThumbnail-Dq26TPSU.cjs +0 -38
- package/components/CasinoGameThumbnail-GBvTkmL8.js +0 -1866
- package/components/CasinoJackpotBanner-CuP8WP5Q.js +0 -697
- package/components/CasinoJackpotBanner-Dl2rX6vI.js +0 -693
- package/components/CasinoJackpotBanner-DredUN6K.cjs +0 -1
- package/components/CasinoRandomGame-CBcSHzZL.cjs +0 -2
- package/components/CasinoSlider-BsszznrS.cjs +0 -1
- package/components/CasinoWinners-Cp1yMlzb.cjs +0 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
- package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
- package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
- package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
- package/stencil/index-b2193545-BDVBrmNo.js +0 -503
- package/stencil/index-b2193545-CY979_sp.js +0 -519
- package/stencil/index-b2193545-DPplmtxO.cjs +0 -1
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
var
|
|
2
|
-
var r = (
|
|
1
|
+
var O = (a, e, t) => new Promise((n, l) => {
|
|
2
|
+
var r = (u) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
5
|
-
} catch (
|
|
6
|
-
l(
|
|
4
|
+
f(t.next(u));
|
|
5
|
+
} catch (g) {
|
|
6
|
+
l(g);
|
|
7
7
|
}
|
|
8
|
-
}, d = (
|
|
8
|
+
}, d = (u) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
11
|
-
} catch (
|
|
12
|
-
l(
|
|
10
|
+
f(t.throw(u));
|
|
11
|
+
} catch (g) {
|
|
12
|
+
l(g);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, f = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(r, d);
|
|
15
|
+
f((t = t.apply(a, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { $ as
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
import { $ as U, U as we, a as Ge, S as Re, i as xe, s as ke, f as v, b as ve, d as x, t as E, c as D, g as Me, e as Ce, h as k, p as h, A as P, j as _, B as F, r as p, k as Fe, o as Le, u as Se, x as Te, y as We, z as je, O as Ne, C as K, n as ze, F as Q, m as S, q as T, Q as Be, v as X, w as Ie, D as Z, E as L, R as Je, J as De, K as Pe, L as Ae, M as He, N as Oe } from "./CasinoCalendar-m598e8c0.js";
|
|
18
|
+
import "../stencil/ui-image-CV8AJ9cY.js";
|
|
19
|
+
function Ue({ withLocale: a, translations: e }) {
|
|
20
|
+
U.subscribe((t) => {
|
|
21
|
+
t == null && (we.set(e), U.set(a));
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
24
|
+
function $(a, e) {
|
|
25
|
+
Ge(a, e);
|
|
25
26
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
27
|
+
function Ee(a) {
|
|
28
|
+
U.set(a);
|
|
28
29
|
}
|
|
29
|
-
const
|
|
30
|
+
const ee = {
|
|
30
31
|
en: {
|
|
31
32
|
playRandomGame: "Play a random game",
|
|
32
33
|
randomGameLoading: "Selecting ...",
|
|
@@ -100,39 +101,39 @@ const $ = {
|
|
|
100
101
|
noGames: "There are no random games to play"
|
|
101
102
|
}
|
|
102
103
|
};
|
|
103
|
-
function
|
|
104
|
+
function qe(a) {
|
|
104
105
|
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}");
|
|
105
106
|
}
|
|
106
|
-
function
|
|
107
|
+
function te(a, e, t) {
|
|
107
108
|
const n = a.slice();
|
|
108
109
|
return n[41] = e[t], n;
|
|
109
110
|
}
|
|
110
|
-
const
|
|
111
|
-
function
|
|
112
|
-
let e, t, n, l, r, d,
|
|
113
|
-
const
|
|
111
|
+
const Ve = (a) => ({}), ae = (a) => ({});
|
|
112
|
+
function ne(a) {
|
|
113
|
+
let e, t, n, l, r, d, f;
|
|
114
|
+
const u = (
|
|
114
115
|
/*#slots*/
|
|
115
116
|
a[23].close
|
|
116
|
-
),
|
|
117
|
-
|
|
117
|
+
), g = Se(
|
|
118
|
+
u,
|
|
118
119
|
a,
|
|
119
120
|
/*$$scope*/
|
|
120
121
|
a[22],
|
|
121
|
-
|
|
122
|
-
), o =
|
|
123
|
-
function
|
|
122
|
+
ae
|
|
123
|
+
), o = g || Ye();
|
|
124
|
+
function w(s, b) {
|
|
124
125
|
return (
|
|
125
126
|
/*hasRandomGames*/
|
|
126
|
-
s[7] ?
|
|
127
|
+
s[7] ? Qe : Ke
|
|
127
128
|
);
|
|
128
129
|
}
|
|
129
|
-
let m =
|
|
130
|
+
let m = w(a), c = m(a);
|
|
130
131
|
return {
|
|
131
132
|
c() {
|
|
132
|
-
e =
|
|
133
|
+
e = _("div"), t = _("div"), n = _("span"), o && o.c(), l = F(), c.c(), p(n, "class", "ModalCloseBtn"), p(n, "role", "button"), p(t, "class", "ModalContainer"), p(e, "class", "ModalWindow");
|
|
133
134
|
},
|
|
134
135
|
m(s, b) {
|
|
135
|
-
|
|
136
|
+
k(s, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), c.m(t, null), r = !0, d || (f = P(
|
|
136
137
|
n,
|
|
137
138
|
"click",
|
|
138
139
|
/*closeModal*/
|
|
@@ -140,63 +141,63 @@ function ae(a) {
|
|
|
140
141
|
), d = !0);
|
|
141
142
|
},
|
|
142
143
|
p(s, b) {
|
|
143
|
-
|
|
144
|
+
g && g.p && (!r || b[0] & /*$$scope*/
|
|
144
145
|
4194304) && Te(
|
|
145
|
-
f,
|
|
146
146
|
g,
|
|
147
|
+
u,
|
|
147
148
|
s,
|
|
148
149
|
/*$$scope*/
|
|
149
150
|
s[22],
|
|
150
151
|
r ? je(
|
|
151
|
-
|
|
152
|
+
u,
|
|
152
153
|
/*$$scope*/
|
|
153
154
|
s[22],
|
|
154
155
|
b,
|
|
155
|
-
|
|
156
|
+
Ve
|
|
156
157
|
) : We(
|
|
157
158
|
/*$$scope*/
|
|
158
159
|
s[22]
|
|
159
160
|
),
|
|
160
|
-
|
|
161
|
-
), m === (m =
|
|
161
|
+
ae
|
|
162
|
+
), m === (m = w(s)) && c ? c.p(s, b) : (c.d(1), c = m(s), c && (c.c(), c.m(t, null)));
|
|
162
163
|
},
|
|
163
164
|
i(s) {
|
|
164
|
-
r || (
|
|
165
|
+
r || (D(o, s), r = !0);
|
|
165
166
|
},
|
|
166
167
|
o(s) {
|
|
167
|
-
|
|
168
|
+
E(o, s), r = !1;
|
|
168
169
|
},
|
|
169
170
|
d(s) {
|
|
170
|
-
s &&
|
|
171
|
+
s && x(e), o && o.d(s), c.d(), d = !1, f();
|
|
171
172
|
}
|
|
172
173
|
};
|
|
173
174
|
}
|
|
174
|
-
function
|
|
175
|
+
function Ye(a) {
|
|
175
176
|
let e, t;
|
|
176
177
|
return {
|
|
177
178
|
c() {
|
|
178
|
-
e =
|
|
179
|
+
e = Q("svg"), t = Q("path"), p(t, "stroke-linecap", "round"), p(t, "stroke-linejoin", "round"), p(t, "stroke-width", "2"), p(t, "d", "M6 18L18 6M6 6l12 12"), p(e, "class", "w-6 h-6"), p(e, "fill", "none"), p(e, "stroke", "currentColor"), p(e, "viewBox", "0 0 24 24"), p(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
179
180
|
},
|
|
180
181
|
m(n, l) {
|
|
181
|
-
|
|
182
|
+
k(n, e, l), h(e, t);
|
|
182
183
|
},
|
|
183
|
-
p:
|
|
184
|
+
p: ze,
|
|
184
185
|
d(n) {
|
|
185
|
-
n &&
|
|
186
|
+
n && x(e);
|
|
186
187
|
}
|
|
187
188
|
};
|
|
188
189
|
}
|
|
189
|
-
function
|
|
190
|
+
function Ke(a) {
|
|
190
191
|
let e, t = (
|
|
191
192
|
/*$_*/
|
|
192
193
|
a[9]("noGames") + ""
|
|
193
194
|
), n;
|
|
194
195
|
return {
|
|
195
196
|
c() {
|
|
196
|
-
e =
|
|
197
|
+
e = _("p"), n = T(t), p(e, "class", "RandomGameLoading");
|
|
197
198
|
},
|
|
198
199
|
m(l, r) {
|
|
199
|
-
|
|
200
|
+
k(l, e, r), h(e, n);
|
|
200
201
|
},
|
|
201
202
|
p(l, r) {
|
|
202
203
|
r[0] & /*$_*/
|
|
@@ -204,97 +205,97 @@ function Ye(a) {
|
|
|
204
205
|
l[9]("noGames") + "") && S(n, t);
|
|
205
206
|
},
|
|
206
207
|
d(l) {
|
|
207
|
-
l &&
|
|
208
|
+
l && x(e);
|
|
208
209
|
}
|
|
209
210
|
};
|
|
210
211
|
}
|
|
211
|
-
function
|
|
212
|
-
let e, t, n, l, r =
|
|
212
|
+
function Qe(a) {
|
|
213
|
+
let e, t, n, l, r = X(
|
|
213
214
|
/*gamesToShow*/
|
|
214
215
|
a[4]
|
|
215
216
|
), d = [];
|
|
216
217
|
for (let o = 0; o < r.length; o += 1)
|
|
217
|
-
d[o] =
|
|
218
|
-
function
|
|
218
|
+
d[o] = oe(te(a, r, o));
|
|
219
|
+
function f(o, w) {
|
|
219
220
|
return (
|
|
220
221
|
/*animationDone*/
|
|
221
|
-
o[6] ?
|
|
222
|
+
o[6] ? Ze : Xe
|
|
222
223
|
);
|
|
223
224
|
}
|
|
224
|
-
let
|
|
225
|
+
let u = f(a), g = u(a);
|
|
225
226
|
return {
|
|
226
227
|
c() {
|
|
227
|
-
e =
|
|
228
|
+
e = _("div"), t = _("main"), n = _("div");
|
|
228
229
|
for (let o = 0; o < d.length; o += 1)
|
|
229
230
|
d[o].c();
|
|
230
|
-
l = F(),
|
|
231
|
+
l = F(), g.c(), p(n, "class", "GamesContainer"), p(t, "class", "RandomGamesSliderWrapper"), p(e, "class", "RandomGameWrapper");
|
|
231
232
|
},
|
|
232
|
-
m(o,
|
|
233
|
-
|
|
233
|
+
m(o, w) {
|
|
234
|
+
k(o, e, w), h(e, t), h(t, n);
|
|
234
235
|
for (let m = 0; m < d.length; m += 1)
|
|
235
236
|
d[m] && d[m].m(n, null);
|
|
236
|
-
a[24](n), h(e, l),
|
|
237
|
+
a[24](n), h(e, l), g.m(e, null);
|
|
237
238
|
},
|
|
238
|
-
p(o,
|
|
239
|
-
if (
|
|
239
|
+
p(o, w) {
|
|
240
|
+
if (w[0] & /*gamesToShow*/
|
|
240
241
|
16) {
|
|
241
|
-
r =
|
|
242
|
+
r = X(
|
|
242
243
|
/*gamesToShow*/
|
|
243
244
|
o[4]
|
|
244
245
|
);
|
|
245
246
|
let m;
|
|
246
247
|
for (m = 0; m < r.length; m += 1) {
|
|
247
|
-
const c =
|
|
248
|
-
d[m] ? d[m].p(c,
|
|
248
|
+
const c = te(o, r, m);
|
|
249
|
+
d[m] ? d[m].p(c, w) : (d[m] = oe(c), d[m].c(), d[m].m(n, null));
|
|
249
250
|
}
|
|
250
251
|
for (; m < d.length; m += 1)
|
|
251
252
|
d[m].d(1);
|
|
252
253
|
d.length = r.length;
|
|
253
254
|
}
|
|
254
|
-
|
|
255
|
+
u === (u = f(o)) && g ? g.p(o, w) : (g.d(1), g = u(o), g && (g.c(), g.m(e, null)));
|
|
255
256
|
},
|
|
256
257
|
d(o) {
|
|
257
|
-
o &&
|
|
258
|
+
o && x(e), Ie(d, o), a[24](null), g.d();
|
|
258
259
|
}
|
|
259
260
|
};
|
|
260
261
|
}
|
|
261
|
-
function
|
|
262
|
+
function oe(a) {
|
|
262
263
|
let e, t, n, l, r, d;
|
|
263
264
|
return {
|
|
264
265
|
c() {
|
|
265
|
-
e =
|
|
266
|
-
a[41].thumbnail) ||
|
|
267
|
-
a[41].name),
|
|
268
|
-
a[41].name),
|
|
269
|
-
},
|
|
270
|
-
m(
|
|
271
|
-
|
|
272
|
-
},
|
|
273
|
-
p(
|
|
274
|
-
|
|
275
|
-
16 && !
|
|
276
|
-
|
|
266
|
+
e = _("div"), t = _("ui-image"), d = F(), L(t, "imgClass", "RandomGameImage"), Z(t.src, n = /*game*/
|
|
267
|
+
a[41].thumbnail) || L(t, "src", n), L(t, "alt", l = /*game*/
|
|
268
|
+
a[41].name), L(t, "title", r = /*game*/
|
|
269
|
+
a[41].name), p(e, "class", "item");
|
|
270
|
+
},
|
|
271
|
+
m(f, u) {
|
|
272
|
+
k(f, e, u), h(e, t), h(e, d);
|
|
273
|
+
},
|
|
274
|
+
p(f, u) {
|
|
275
|
+
u[0] & /*gamesToShow*/
|
|
276
|
+
16 && !Z(t.src, n = /*game*/
|
|
277
|
+
f[41].thumbnail) && L(t, "src", n), u[0] & /*gamesToShow*/
|
|
277
278
|
16 && l !== (l = /*game*/
|
|
278
|
-
|
|
279
|
+
f[41].name) && L(t, "alt", l), u[0] & /*gamesToShow*/
|
|
279
280
|
16 && r !== (r = /*game*/
|
|
280
|
-
|
|
281
|
+
f[41].name) && L(t, "title", r);
|
|
281
282
|
},
|
|
282
|
-
d(
|
|
283
|
-
|
|
283
|
+
d(f) {
|
|
284
|
+
f && x(e);
|
|
284
285
|
}
|
|
285
286
|
};
|
|
286
287
|
}
|
|
287
|
-
function
|
|
288
|
+
function Xe(a) {
|
|
288
289
|
let e, t = (
|
|
289
290
|
/*$_*/
|
|
290
291
|
a[9]("randomGameLoading") + ""
|
|
291
292
|
), n;
|
|
292
293
|
return {
|
|
293
294
|
c() {
|
|
294
|
-
e =
|
|
295
|
+
e = _("p"), n = T(t), p(e, "class", "RandomGameLoading");
|
|
295
296
|
},
|
|
296
297
|
m(l, r) {
|
|
297
|
-
|
|
298
|
+
k(l, e, r), h(e, n);
|
|
298
299
|
},
|
|
299
300
|
p(l, r) {
|
|
300
301
|
r[0] & /*$_*/
|
|
@@ -302,35 +303,35 @@ function Ze(a) {
|
|
|
302
303
|
l[9]("randomGameLoading") + "") && S(n, t);
|
|
303
304
|
},
|
|
304
305
|
d(l) {
|
|
305
|
-
l &&
|
|
306
|
+
l && x(e);
|
|
306
307
|
}
|
|
307
308
|
};
|
|
308
309
|
}
|
|
309
|
-
function
|
|
310
|
+
function Ze(a) {
|
|
310
311
|
let e, t, n, l, r = (
|
|
311
312
|
/*randomGame*/
|
|
312
313
|
a[3].name + ""
|
|
313
|
-
), d,
|
|
314
|
+
), d, f, u, g = (
|
|
314
315
|
/*randomGame*/
|
|
315
316
|
a[3].vendor.name + ""
|
|
316
|
-
), o,
|
|
317
|
+
), o, w, m, c = (
|
|
317
318
|
/*$_*/
|
|
318
319
|
a[9]("playNowRandomGame") + ""
|
|
319
|
-
), s, b,
|
|
320
|
+
), s, b, W;
|
|
320
321
|
return {
|
|
321
322
|
c() {
|
|
322
|
-
e =
|
|
323
|
-
</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 =
|
|
323
|
+
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));}
|
|
324
|
+
</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"), d = T(r), f = F(), u = _("p"), o = T(g), w = F(), m = _("button"), s = T(c), p(e, "class", "RandomTryAgain"), p(l, "class", "RandomGameTitle"), p(u, "class", "RandomGameVendor"), p(m, "class", "RandomGamePlay"), p(n, "class", "RandomGameDetails");
|
|
324
325
|
},
|
|
325
326
|
m(R, G) {
|
|
326
|
-
|
|
327
|
-
|
|
327
|
+
k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l, d), h(n, f), h(n, u), h(u, o), h(n, w), h(n, m), h(m, s), b || (W = [
|
|
328
|
+
P(
|
|
328
329
|
e,
|
|
329
330
|
"click",
|
|
330
331
|
/*click_handler*/
|
|
331
332
|
a[25]
|
|
332
333
|
),
|
|
333
|
-
|
|
334
|
+
P(
|
|
334
335
|
m,
|
|
335
336
|
"click",
|
|
336
337
|
/*click_handler_1*/
|
|
@@ -342,27 +343,27 @@ function Ke(a) {
|
|
|
342
343
|
G[0] & /*randomGame*/
|
|
343
344
|
8 && r !== (r = /*randomGame*/
|
|
344
345
|
R[3].name + "") && S(d, r), G[0] & /*randomGame*/
|
|
345
|
-
8 &&
|
|
346
|
-
R[3].vendor.name + "") && S(o,
|
|
346
|
+
8 && g !== (g = /*randomGame*/
|
|
347
|
+
R[3].vendor.name + "") && S(o, g), G[0] & /*$_*/
|
|
347
348
|
512 && c !== (c = /*$_*/
|
|
348
349
|
R[9]("playNowRandomGame") + "") && S(s, c);
|
|
349
350
|
},
|
|
350
351
|
d(R) {
|
|
351
|
-
R && (
|
|
352
|
+
R && (x(e), x(t), x(n)), b = !1, Je(W);
|
|
352
353
|
}
|
|
353
354
|
};
|
|
354
355
|
}
|
|
355
|
-
function
|
|
356
|
+
function $e(a) {
|
|
356
357
|
let e, t = (
|
|
357
358
|
/*$_*/
|
|
358
359
|
a[9]("playRandomGame") + ""
|
|
359
360
|
), n;
|
|
360
361
|
return {
|
|
361
362
|
c() {
|
|
362
|
-
e =
|
|
363
|
+
e = _("span"), n = T(t), p(e, "class", "RandomButtonText");
|
|
363
364
|
},
|
|
364
365
|
m(l, r) {
|
|
365
|
-
|
|
366
|
+
k(l, e, r), h(e, n);
|
|
366
367
|
},
|
|
367
368
|
p(l, r) {
|
|
368
369
|
r[0] & /*$_*/
|
|
@@ -370,21 +371,21 @@ function Qe(a) {
|
|
|
370
371
|
l[9]("playRandomGame") + "") && S(n, t);
|
|
371
372
|
},
|
|
372
373
|
d(l) {
|
|
373
|
-
l &&
|
|
374
|
+
l && x(e);
|
|
374
375
|
}
|
|
375
376
|
};
|
|
376
377
|
}
|
|
377
|
-
function
|
|
378
|
+
function et(a) {
|
|
378
379
|
let e, t;
|
|
379
380
|
return {
|
|
380
381
|
c() {
|
|
381
|
-
e =
|
|
382
|
+
e = _("span"), t = T(
|
|
382
383
|
/*buttontext*/
|
|
383
384
|
a[1]
|
|
384
|
-
),
|
|
385
|
+
), p(e, "class", "RandomButtonText");
|
|
385
386
|
},
|
|
386
387
|
m(n, l) {
|
|
387
|
-
|
|
388
|
+
k(n, e, l), h(e, t);
|
|
388
389
|
},
|
|
389
390
|
p(n, l) {
|
|
390
391
|
l[0] & /*buttontext*/
|
|
@@ -395,188 +396,188 @@ function $e(a) {
|
|
|
395
396
|
);
|
|
396
397
|
},
|
|
397
398
|
d(n) {
|
|
398
|
-
n &&
|
|
399
|
+
n && x(e);
|
|
399
400
|
}
|
|
400
401
|
};
|
|
401
402
|
}
|
|
402
|
-
function
|
|
403
|
-
let e, t, n, l, r, d,
|
|
403
|
+
function tt(a) {
|
|
404
|
+
let e, t, n, l, r, d, f, u, g, o = (
|
|
404
405
|
/*show*/
|
|
405
|
-
a[5] &&
|
|
406
|
+
a[5] && ne(a)
|
|
406
407
|
);
|
|
407
|
-
function
|
|
408
|
+
function w(s, b) {
|
|
408
409
|
if (
|
|
409
410
|
/*buttontext*/
|
|
410
411
|
s[1]
|
|
411
412
|
)
|
|
412
|
-
return
|
|
413
|
+
return et;
|
|
413
414
|
if (!/*buttontext*/
|
|
414
415
|
s[1])
|
|
415
|
-
return
|
|
416
|
+
return $e;
|
|
416
417
|
}
|
|
417
|
-
let m =
|
|
418
|
+
let m = w(a), c = m && m(a);
|
|
418
419
|
return {
|
|
419
420
|
c() {
|
|
420
|
-
e =
|
|
421
|
+
e = _("div"), o && o.c(), t = F(), n = _("div"), l = _("button"), c && c.c(), r = F(), d = _("span"), p(d, "class", "RandomButtonIcon"), p(l, "class", "RandomButton"), p(n, "class", "RandomButtonWrapper");
|
|
421
422
|
},
|
|
422
423
|
m(s, b) {
|
|
423
|
-
|
|
424
|
-
a[0], a[28](e),
|
|
424
|
+
k(s, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), c && c.m(l, null), h(l, r), h(l, d), d.innerHTML = /*randombuttonicon*/
|
|
425
|
+
a[0], a[28](e), f = !0, u || (g = P(
|
|
425
426
|
l,
|
|
426
427
|
"click",
|
|
427
428
|
/*click_handler_2*/
|
|
428
429
|
a[27]
|
|
429
|
-
),
|
|
430
|
+
), u = !0);
|
|
430
431
|
},
|
|
431
432
|
p(s, b) {
|
|
432
433
|
/*show*/
|
|
433
434
|
s[5] ? o ? (o.p(s, b), b[0] & /*show*/
|
|
434
|
-
32 &&
|
|
435
|
+
32 && D(o, 1)) : (o = ne(s), o.c(), D(o, 1), o.m(e, t)) : o && (Me(), E(o, 1, 1, () => {
|
|
435
436
|
o = null;
|
|
436
|
-
}),
|
|
437
|
+
}), Ce()), m === (m = w(s)) && c ? c.p(s, b) : (c && c.d(1), c = m && m(s), c && (c.c(), c.m(l, r))), (!f || b[0] & /*randombuttonicon*/
|
|
437
438
|
1) && (d.innerHTML = /*randombuttonicon*/
|
|
438
439
|
s[0]);
|
|
439
440
|
},
|
|
440
441
|
i(s) {
|
|
441
|
-
|
|
442
|
+
f || (D(o), f = !0);
|
|
442
443
|
},
|
|
443
444
|
o(s) {
|
|
444
|
-
|
|
445
|
+
E(o), f = !1;
|
|
445
446
|
},
|
|
446
447
|
d(s) {
|
|
447
|
-
s &&
|
|
448
|
+
s && x(e), o && o.d(), c && c.d(), a[28](null), u = !1, g();
|
|
448
449
|
}
|
|
449
450
|
};
|
|
450
451
|
}
|
|
451
|
-
function
|
|
452
|
+
function at(a, e, t) {
|
|
452
453
|
let n;
|
|
453
|
-
|
|
454
|
-
let { $$slots: l = {}, $$scope: r } = e, { endpoint: d = "" } = e, { datasource:
|
|
455
|
-
|
|
456
|
-
const
|
|
454
|
+
Fe(a, Oe, (i) => t(9, n = i));
|
|
455
|
+
let { $$slots: l = {}, $$scope: r } = e, { endpoint: d = "" } = e, { datasource: f = "" } = e, { gameevent: u = "" } = e, { lang: g = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: w = "" } = e, { translationurl: m = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: s = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: W } = e, R = [], G = "", j, z = !1, A = !1, I = !1, le = window.navigator.userAgent, M, N, q, J, V = null;
|
|
456
|
+
Ue({ withLocale: "en", translations: {} });
|
|
457
|
+
const ie = () => {
|
|
457
458
|
fetch(m).then((y) => y.json()).then((y) => {
|
|
458
459
|
Object.keys(y).forEach((C) => {
|
|
459
|
-
|
|
460
|
+
$(C, y[C]);
|
|
460
461
|
});
|
|
461
462
|
}).catch((y) => {
|
|
462
463
|
console.log(y);
|
|
463
464
|
});
|
|
464
465
|
};
|
|
465
|
-
Object.keys(
|
|
466
|
-
|
|
466
|
+
Object.keys(ee).forEach((i) => {
|
|
467
|
+
$(i, ee[i]);
|
|
467
468
|
});
|
|
468
|
-
const
|
|
469
|
+
const re = () => {
|
|
469
470
|
let i = new URL(`${d}/v1/casino/games`);
|
|
470
|
-
i.searchParams.append("platform",
|
|
471
|
-
R = y.items, R.length ? (t(4,
|
|
471
|
+
i.searchParams.append("platform", Ne(le)), 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) => {
|
|
472
|
+
R = y.items, R.length ? (t(4, j = se(R.slice(0, 19))), t(7, I = !0)) : (t(4, j = []), t(7, I = !1));
|
|
472
473
|
}).catch((y) => {
|
|
473
|
-
console.log(y), t(7,
|
|
474
|
+
console.log(y), t(7, I = !1);
|
|
474
475
|
});
|
|
475
|
-
},
|
|
476
|
-
const y =
|
|
476
|
+
}, se = (i) => {
|
|
477
|
+
const y = de(i);
|
|
477
478
|
return y.concat(y);
|
|
478
|
-
},
|
|
479
|
-
yield
|
|
480
|
-
}),
|
|
481
|
-
t(6,
|
|
482
|
-
const i = window.getComputedStyle(
|
|
479
|
+
}, me = () => O(this, null, function* () {
|
|
480
|
+
yield Be(), J = Math.floor(Math.random() * (j.length / 2)) + j.length / 2, t(3, G = j[J]), q = N.children[J];
|
|
481
|
+
}), H = () => O(this, null, function* () {
|
|
482
|
+
t(6, A = !1), t(5, z = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield me();
|
|
483
|
+
const i = window.getComputedStyle(N).getPropertyValue("gap"), y = parseInt(i, 10) || 0, B = (q.offsetHeight + y) * J, be = [
|
|
483
484
|
{ transform: "translateX(0px)" },
|
|
484
485
|
{ filter: "blur(5px)" },
|
|
485
486
|
{
|
|
486
|
-
transform: `translateY(-${
|
|
487
|
+
transform: `translateY(-${B}px)`
|
|
487
488
|
}
|
|
488
|
-
],
|
|
489
|
+
], _e = {
|
|
489
490
|
duration: 2e3,
|
|
490
491
|
easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
|
|
491
492
|
fill: "forwards"
|
|
492
493
|
};
|
|
493
|
-
|
|
494
|
-
t(6,
|
|
494
|
+
V = N.animate(be, _e), V.onfinish = () => {
|
|
495
|
+
t(6, A = !0);
|
|
495
496
|
};
|
|
496
|
-
}),
|
|
497
|
+
}), de = (i) => {
|
|
497
498
|
const y = structuredClone(i);
|
|
498
|
-
let C = y.length,
|
|
499
|
+
let C = y.length, B;
|
|
499
500
|
for (; C != 0; )
|
|
500
|
-
|
|
501
|
+
B = Math.floor(Math.random() * C), C--, [y[C], y[B]] = [y[B], y[C]];
|
|
501
502
|
return y;
|
|
502
|
-
},
|
|
503
|
+
}, Y = () => {
|
|
503
504
|
window.postMessage(
|
|
504
505
|
{
|
|
505
|
-
type:
|
|
506
|
+
type: u,
|
|
506
507
|
gameId: G.gId || G.id
|
|
507
508
|
},
|
|
508
509
|
window.location.href
|
|
509
|
-
), t(5,
|
|
510
|
+
), t(5, z = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
|
|
510
511
|
context: "RandomGameWidget",
|
|
511
512
|
gameId: `${G.gId || G.id}`
|
|
512
513
|
});
|
|
513
|
-
}, de = () => {
|
|
514
|
-
t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
|
|
515
514
|
}, ce = () => {
|
|
516
|
-
|
|
515
|
+
t(5, z = !1), window.postMessage({ type: "RandomWidgetState", state: z }, window.location.href);
|
|
516
|
+
}, ue = () => {
|
|
517
|
+
Ee(g);
|
|
517
518
|
};
|
|
518
|
-
|
|
519
|
+
Le(() => () => {
|
|
519
520
|
});
|
|
520
|
-
function
|
|
521
|
-
|
|
522
|
-
|
|
521
|
+
function ge(i) {
|
|
522
|
+
K[i ? "unshift" : "push"](() => {
|
|
523
|
+
N = i, t(8, N);
|
|
523
524
|
});
|
|
524
525
|
}
|
|
525
|
-
const
|
|
526
|
-
function
|
|
527
|
-
|
|
526
|
+
const fe = () => H(), pe = () => Y(), he = () => H();
|
|
527
|
+
function ye(i) {
|
|
528
|
+
K[i ? "unshift" : "push"](() => {
|
|
528
529
|
M = i, t(2, M);
|
|
529
530
|
});
|
|
530
531
|
}
|
|
531
532
|
return a.$$set = (i) => {
|
|
532
|
-
"endpoint" in i && t(13, d = i.endpoint), "datasource" in i && t(14,
|
|
533
|
+
"endpoint" in i && t(13, d = i.endpoint), "datasource" in i && t(14, f = i.datasource), "gameevent" in i && t(15, u = i.gameevent), "lang" in i && t(16, g = i.lang), "randombuttonicon" in i && t(0, o = i.randombuttonicon), "buttontext" in i && t(1, w = i.buttontext), "translationurl" in i && t(17, m = i.translationurl), "clientstyling" in i && t(18, c = i.clientstyling), "clientstylingurl" in i && t(19, s = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, b = i.filteredrandomgamecategories), "mbsource" in i && t(21, W = i.mbsource), "$$scope" in i && t(22, r = i.$$scope);
|
|
533
534
|
}, a.$$.update = () => {
|
|
534
535
|
a.$$.dirty[0] & /*lang*/
|
|
535
|
-
65536 &&
|
|
536
|
-
131072 && m &&
|
|
537
|
-
24576 && d &&
|
|
538
|
-
262148 && c && M &&
|
|
539
|
-
524292 && s && M &&
|
|
540
|
-
2097156 && M &&
|
|
536
|
+
65536 && g && ue(), a.$$.dirty[0] & /*translationurl*/
|
|
537
|
+
131072 && m && ie(), a.$$.dirty[0] & /*endpoint, datasource*/
|
|
538
|
+
24576 && d && f && re(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
539
|
+
262148 && c && M && De(M, c), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
540
|
+
524292 && s && M && Pe(M, s), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
541
|
+
2097156 && M && Ae(M, `${W}.Style`);
|
|
541
542
|
}, [
|
|
542
543
|
o,
|
|
543
|
-
|
|
544
|
+
w,
|
|
544
545
|
M,
|
|
545
546
|
G,
|
|
546
|
-
W,
|
|
547
|
-
N,
|
|
548
|
-
P,
|
|
549
|
-
B,
|
|
550
547
|
j,
|
|
551
|
-
|
|
548
|
+
z,
|
|
552
549
|
A,
|
|
553
|
-
|
|
554
|
-
|
|
550
|
+
I,
|
|
551
|
+
N,
|
|
552
|
+
n,
|
|
553
|
+
H,
|
|
554
|
+
Y,
|
|
555
|
+
ce,
|
|
555
556
|
d,
|
|
556
|
-
p,
|
|
557
|
-
g,
|
|
558
557
|
f,
|
|
558
|
+
u,
|
|
559
|
+
g,
|
|
559
560
|
m,
|
|
560
561
|
c,
|
|
561
562
|
s,
|
|
562
563
|
b,
|
|
563
|
-
|
|
564
|
+
W,
|
|
564
565
|
r,
|
|
565
566
|
l,
|
|
566
|
-
ue,
|
|
567
567
|
ge,
|
|
568
568
|
fe,
|
|
569
569
|
pe,
|
|
570
|
-
he
|
|
570
|
+
he,
|
|
571
|
+
ye
|
|
571
572
|
];
|
|
572
573
|
}
|
|
573
|
-
class
|
|
574
|
+
class nt extends Re {
|
|
574
575
|
constructor(e) {
|
|
575
|
-
super(),
|
|
576
|
+
super(), xe(
|
|
576
577
|
this,
|
|
577
578
|
e,
|
|
579
|
+
at,
|
|
578
580
|
tt,
|
|
579
|
-
et,
|
|
580
581
|
ke,
|
|
581
582
|
{
|
|
582
583
|
endpoint: 13,
|
|
@@ -591,7 +592,7 @@ class at extends Ge {
|
|
|
591
592
|
filteredrandomgamecategories: 20,
|
|
592
593
|
mbsource: 21
|
|
593
594
|
},
|
|
594
|
-
|
|
595
|
+
qe,
|
|
595
596
|
[-1, -1]
|
|
596
597
|
);
|
|
597
598
|
}
|
|
@@ -662,7 +663,7 @@ class at extends Ge {
|
|
|
662
663
|
this.$$set({ mbsource: e }), v();
|
|
663
664
|
}
|
|
664
665
|
}
|
|
665
|
-
|
|
666
|
+
He(nt, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
|
|
666
667
|
export {
|
|
667
|
-
|
|
668
|
+
nt as default
|
|
668
669
|
};
|