@everymatrix/casino-lobby 1.94.20 → 1.94.21
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-wema5m1L.js → CasinoCalendar-BSSrHXNQ.js} +35 -35
- package/components/{CasinoCalendar-DiGa7WOB.js → CasinoCalendar-BjySUHyZ.js} +35 -35
- package/components/{CasinoCalendarDailyDetails-DaL1s4RB.js → CasinoCalendarDailyDetails-BoDKzZAL.js} +21 -21
- package/components/{CasinoCalendarDailyDetails-B78-hZrg.js → CasinoCalendarDailyDetails-DhX-usiB.js} +34 -34
- package/components/{CasinoCalendarDailyItem-CKLi-qk3.js → CasinoCalendarDailyItem-CA5M4JX2.js} +36 -36
- package/components/{CasinoCalendarDailyItem-BsriuRI8.js → CasinoCalendarDailyItem-CMjiC6kY.js} +36 -36
- package/components/{CasinoCategoriesSlider-Iuvnu1yi.js → CasinoCategoriesSlider-DEc0M4Jn.js} +19 -19
- package/components/{CasinoCategoriesSlider-BAEkLZ0a.js → CasinoCategoriesSlider-DmIIvJxr.js} +19 -19
- package/components/{CasinoCollectionsProviders-06lJHA-8.js → CasinoCollectionsProviders-Bk2Q_dKh.js} +76 -76
- package/components/{CasinoCollectionsProviders-b1UyeEfY.js → CasinoCollectionsProviders-CmZnRhGO.js} +65 -65
- package/components/{CasinoFavoritesSection-gL0wYg3v.js → CasinoFavoritesSection-B5IloH92.js} +34 -34
- package/components/{CasinoFavoritesSection-BfLobvVM.js → CasinoFavoritesSection-NizzPczK.js} +34 -34
- package/components/{CasinoFilter-BdBt4Qeo.js → CasinoFilter-C4hPyQNk.js} +80 -80
- package/components/{CasinoFilter-BUlBYglD.js → CasinoFilter-UrtcDtAa.js} +79 -79
- package/components/{CasinoGameThumbnail-C1HOULby.js → CasinoGameThumbnail-Cu4ldhfo.js} +41 -41
- package/components/{CasinoGameThumbnail-DQNWwhYO.js → CasinoGameThumbnail-DkOf6fv3.js} +41 -41
- package/components/{CasinoGamesCategorySection-DzL6ClvR.js → CasinoGamesCategorySection-C6V4Owht.js} +4 -4
- package/components/{CasinoGamesCategorySection-BsJoa-RE.js → CasinoGamesCategorySection-xB7lSgTz.js} +4 -4
- package/components/{CasinoJackpotBanner-DK02E4Sv.js → CasinoJackpotBanner-Czp2f53o.js} +79 -79
- package/components/{CasinoJackpotBanner-B9qX5ktZ.js → CasinoJackpotBanner-g0vrCtzB.js} +90 -90
- package/components/{CasinoLastPlayedSection-Bxhbdeg0.js → CasinoLastPlayedSection-BeXbhcJS.js} +41 -41
- package/components/{CasinoLastPlayedSection-CN4xtkfy.js → CasinoLastPlayedSection-DIOQytk1.js} +41 -41
- package/components/{CasinoLobby-CDOhHuQr.js → CasinoLobby-CmAf2BJ4.js} +59 -59
- package/components/{CasinoLobby-BQYyPma8.js → CasinoLobby-DlkT0ycq.js} +59 -59
- package/components/{CasinoMostPlayedSection-BuDxxWXc.js → CasinoMostPlayedSection-BdNavRAR.js} +41 -41
- package/components/{CasinoMostPlayedSection-xRqqFbB7.js → CasinoMostPlayedSection-CsYfyBz6.js} +41 -41
- package/components/{CasinoMyGames-CWYRptxX.js → CasinoMyGames-DXHLKn-b.js} +25 -25
- package/components/{CasinoMyGames-BHLUBVSx.js → CasinoMyGames-DquSH-8S.js} +23 -23
- package/components/{CasinoPage-C4ZeYvz2.js → CasinoPage-6DlUJdNB.js} +292 -292
- package/components/{CasinoPage-CBj_iE-2.js → CasinoPage-BMNjtSeY.js} +10 -10
- package/components/{CasinoRandomGame-Dv6CwM7x.js → CasinoRandomGame-CZbhowv3.js} +80 -80
- package/components/{CasinoRandomGame-BukwpxIJ.js → CasinoRandomGame-CmSz_YAA.js} +80 -80
- package/components/{CasinoSearch-D6tEGZOG.js → CasinoSearch-DaPqNPP0.js} +46 -46
- package/components/{CasinoSearch--OaOk05f.js → CasinoSearch-YX2fRFUd.js} +46 -46
- package/components/{CasinoSlider-CCcpCTws.js → CasinoSlider-BtDxtbI7.js} +70 -70
- package/components/{CasinoSlider-CC8wtxbN.js → CasinoSlider-C2_jk1q5.js} +74 -74
- package/components/{CasinoSort-Bb1Gdwb6.js → CasinoSort-8w8Vz2RT.js} +58 -58
- package/components/{CasinoSort-DrC7Ps-6.js → CasinoSort-k10aVq_3.js} +36 -36
- package/components/{CasinoWinners-BuAQ_2Ui.js → CasinoWinners-CYwfUKUr.js} +106 -106
- package/components/{CasinoWinners-DqHxxM8I.js → CasinoWinners-Ck4zkyiP.js} +112 -112
- package/components/{GeneralAnimationLoading-DARF2mD5.js → GeneralAnimationLoading-CULwno4n.js} +9 -9
- package/components/{GeneralAnimationLoading-CsDYexjL.js → GeneralAnimationLoading-XCOgxsu9.js} +5 -5
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as H, w as we, a as _e, S as Ge, i as Re, s as xe, f as v, b as ke, d as x, x as E, y as P, G as ve, z as Me, e as k, p as h, M as J, g as w, C, l as u, h as Fe, o as Ce, O as Le, P as Se, Q as We, R as Te, j as je, k as q, E as L, F as S, u as Ne, I as V, Z as Be, n as ze, a0 as Z, Y as K, K as Ie, q as Pe, r as Je, t as Ae, c as De, $ as He } from "./CasinoLobby-DlkT0ycq.js";
|
|
2
2
|
function Ee({ withLocale: a, translations: e }) {
|
|
3
3
|
H.subscribe((t) => {
|
|
4
4
|
t == null && (we.set(e), H.set(a));
|
|
5
5
|
});
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function Q(a, e) {
|
|
8
8
|
_e(a, e);
|
|
9
9
|
}
|
|
10
10
|
function Oe(a) {
|
|
11
11
|
H.set(a);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const X = {
|
|
14
14
|
en: {
|
|
15
15
|
playRandomGame: "Play a random game",
|
|
16
16
|
randomGameLoading: "Selecting ...",
|
|
@@ -91,37 +91,37 @@ function $(a, e, t) {
|
|
|
91
91
|
const n = a.slice();
|
|
92
92
|
return n[41] = e[t], n;
|
|
93
93
|
}
|
|
94
|
-
const
|
|
94
|
+
const Ye = (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 = Le(
|
|
101
101
|
p,
|
|
102
102
|
a,
|
|
103
103
|
/*$$scope*/
|
|
104
104
|
a[22],
|
|
105
105
|
ee
|
|
106
|
-
), o = g ||
|
|
106
|
+
), o = g || qe();
|
|
107
107
|
function _(r, b) {
|
|
108
108
|
return (
|
|
109
109
|
/*hasRandomGames*/
|
|
110
|
-
r[7] ? Ze :
|
|
110
|
+
r[7] ? Ze : Ve
|
|
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 =
|
|
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*/
|
|
@@ -136,13 +136,13 @@ function te(a) {
|
|
|
136
136
|
/*$$scope*/
|
|
137
137
|
r[22],
|
|
138
138
|
b,
|
|
139
|
-
|
|
139
|
+
Ye
|
|
140
140
|
) : We(
|
|
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);
|
|
@@ -151,11 +151,11 @@ function te(a) {
|
|
|
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
|
}
|
|
158
|
-
function
|
|
158
|
+
function qe(a) {
|
|
159
159
|
let e, t;
|
|
160
160
|
return {
|
|
161
161
|
c() {
|
|
@@ -170,7 +170,7 @@ function Ye(a) {
|
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function Ve(a) {
|
|
174
174
|
let e, t = (
|
|
175
175
|
/*$_*/
|
|
176
176
|
a[9]("noGames") + ""
|
|
@@ -185,7 +185,7 @@ function qe(a) {
|
|
|
185
185
|
p(l, s) {
|
|
186
186
|
s[0] & /*$_*/
|
|
187
187
|
512 && t !== (t = /*$_*/
|
|
188
|
-
l[9]("noGames") + "") &&
|
|
188
|
+
l[9]("noGames") + "") && L(n, t);
|
|
189
189
|
},
|
|
190
190
|
d(l) {
|
|
191
191
|
l && x(e);
|
|
@@ -193,70 +193,70 @@ function qe(a) {
|
|
|
193
193
|
};
|
|
194
194
|
}
|
|
195
195
|
function Ze(a) {
|
|
196
|
-
let e, t, n, l, s =
|
|
196
|
+
let e, t, n, l, s = V(
|
|
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] ?
|
|
205
|
+
o[6] ? Qe : Ke
|
|
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
|
-
|
|
214
|
-
l =
|
|
212
|
+
for (let o = 0; o < d.length; o += 1)
|
|
213
|
+
d[o].c();
|
|
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, _) {
|
|
223
223
|
if (_[0] & /*gamesToShow*/
|
|
224
224
|
16) {
|
|
225
|
-
s =
|
|
225
|
+
s = V(
|
|
226
226
|
/*gamesToShow*/
|
|
227
227
|
o[4]
|
|
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), Be(
|
|
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"), K(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 && !K(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 Ke(a) {
|
|
272
272
|
let e, t = (
|
|
273
273
|
/*$_*/
|
|
274
274
|
a[9]("randomGameLoading") + ""
|
|
@@ -283,31 +283,31 @@ function Xe(a) {
|
|
|
283
283
|
p(l, s) {
|
|
284
284
|
s[0] & /*$_*/
|
|
285
285
|
512 && t !== (t = /*$_*/
|
|
286
|
-
l[9]("randomGameLoading") + "") &&
|
|
286
|
+
l[9]("randomGameLoading") + "") && L(n, t);
|
|
287
287
|
},
|
|
288
288
|
d(l) {
|
|
289
289
|
l && x(e);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Qe(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
303
|
), r, b, W;
|
|
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 =
|
|
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 || (W = [
|
|
311
311
|
J(
|
|
312
312
|
e,
|
|
313
313
|
"click",
|
|
@@ -325,18 +325,18 @@ function Ke(a) {
|
|
|
325
325
|
p(R, G) {
|
|
326
326
|
G[0] & /*randomGame*/
|
|
327
327
|
8 && s !== (s = /*randomGame*/
|
|
328
|
-
R[3].name + "") &&
|
|
328
|
+
R[3].name + "") && L(d, s), G[0] & /*randomGame*/
|
|
329
329
|
8 && g !== (g = /*randomGame*/
|
|
330
|
-
R[3].vendor.name + "") &&
|
|
331
|
-
512 &&
|
|
332
|
-
R[9]("playNowRandomGame") + "") &&
|
|
330
|
+
R[3].vendor.name + "") && L(o, g), G[0] & /*$_*/
|
|
331
|
+
512 && c !== (c = /*$_*/
|
|
332
|
+
R[9]("playNowRandomGame") + "") && L(r, c);
|
|
333
333
|
},
|
|
334
334
|
d(R) {
|
|
335
335
|
R && (x(e), x(t), x(n)), b = !1, Ie(W);
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function Xe(a) {
|
|
340
340
|
let e, t = (
|
|
341
341
|
/*$_*/
|
|
342
342
|
a[9]("playRandomGame") + ""
|
|
@@ -351,7 +351,7 @@ function Qe(a) {
|
|
|
351
351
|
p(l, s) {
|
|
352
352
|
s[0] & /*$_*/
|
|
353
353
|
512 && t !== (t = /*$_*/
|
|
354
|
-
l[9]("playRandomGame") + "") &&
|
|
354
|
+
l[9]("playRandomGame") + "") && L(n, t);
|
|
355
355
|
},
|
|
356
356
|
d(l) {
|
|
357
357
|
l && x(e);
|
|
@@ -372,7 +372,7 @@ function $e(a) {
|
|
|
372
372
|
},
|
|
373
373
|
p(n, l) {
|
|
374
374
|
l[0] & /*buttontext*/
|
|
375
|
-
2 &&
|
|
375
|
+
2 && L(
|
|
376
376
|
t,
|
|
377
377
|
/*buttontext*/
|
|
378
378
|
n[1]
|
|
@@ -384,7 +384,7 @@ function $e(a) {
|
|
|
384
384
|
};
|
|
385
385
|
}
|
|
386
386
|
function et(a) {
|
|
387
|
-
let e, t, n, l, s,
|
|
387
|
+
let e, t, n, l, s, d, f, p, g, o = (
|
|
388
388
|
/*show*/
|
|
389
389
|
a[5] && te(a)
|
|
390
390
|
);
|
|
@@ -396,15 +396,15 @@ function et(a) {
|
|
|
396
396
|
return $e;
|
|
397
397
|
if (!/*buttontext*/
|
|
398
398
|
r[1])
|
|
399
|
-
return
|
|
399
|
+
return Xe;
|
|
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 =
|
|
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",
|
|
@@ -417,8 +417,8 @@ function et(a) {
|
|
|
417
417
|
r[5] ? o ? (o.p(r, b), b[0] & /*show*/
|
|
418
418
|
32 && P(o, 1)) : (o = te(r), o.c(), P(o, 1), o.m(e, t)) : o && (ve(), E(o, 1, 1, () => {
|
|
419
419
|
o = null;
|
|
420
|
-
}), Me()), m === (m = _(r)) &&
|
|
421
|
-
1) && (
|
|
420
|
+
}), Me()), 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) {
|
|
@@ -428,29 +428,29 @@ function et(a) {
|
|
|
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
435
|
function tt(a, e, t) {
|
|
436
436
|
let n;
|
|
437
437
|
Fe(a, He, (i) => t(9, n = i));
|
|
438
|
-
let { $$slots: l = {}, $$scope: s } = e, { endpoint:
|
|
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: W } = e, R = [], G = "", T, N = !1, A = !1, z = !1, ne = window.navigator.userAgent, M, j, O, I, oe, U = null;
|
|
439
439
|
Ee({ withLocale: "en", translations: {} });
|
|
440
440
|
const le = () => {
|
|
441
441
|
fetch(m).then((y) => y.json()).then((y) => {
|
|
442
442
|
Object.keys(y).forEach((F) => {
|
|
443
|
-
|
|
443
|
+
Q(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(X).forEach((i) => {
|
|
450
|
+
Q(i, X[i]);
|
|
451
451
|
});
|
|
452
452
|
const ie = () => {
|
|
453
|
-
let i = new URL(`${
|
|
453
|
+
let i = new URL(`${d}/v1/casino/games`);
|
|
454
454
|
i.searchParams.append("platform", je(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
455
|
R = y.items, R.length ? (t(4, T = re(R.slice(0, 19))), t(7, z = !0)) : (t(4, T = []), t(7, z = !1));
|
|
456
456
|
}).catch((y) => {
|
|
@@ -483,7 +483,7 @@ function tt(a, e, t) {
|
|
|
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
|
+
}, Y = () => {
|
|
487
487
|
window.postMessage(
|
|
488
488
|
{
|
|
489
489
|
type: p,
|
|
@@ -494,32 +494,32 @@ function tt(a, e, t) {
|
|
|
494
494
|
context: "RandomGameWidget",
|
|
495
495
|
gameId: `${G.gId || G.id}`
|
|
496
496
|
});
|
|
497
|
-
}, de = () => {
|
|
498
|
-
t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
|
|
499
497
|
}, ce = () => {
|
|
498
|
+
t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
|
|
499
|
+
}, de = () => {
|
|
500
500
|
Oe(g);
|
|
501
501
|
};
|
|
502
|
-
|
|
502
|
+
Ce(() => () => {
|
|
503
503
|
});
|
|
504
504
|
function ue(i) {
|
|
505
|
-
|
|
505
|
+
q[i ? "unshift" : "push"](() => {
|
|
506
506
|
j = i, t(8, j);
|
|
507
507
|
});
|
|
508
508
|
}
|
|
509
|
-
const ge = () => D(), fe = () =>
|
|
509
|
+
const ge = () => D(), fe = () => Y(), pe = () => D();
|
|
510
510
|
function he(i) {
|
|
511
|
-
|
|
511
|
+
q[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, W = i.mbsource), "$$scope" in i && t(22, s = i.$$scope);
|
|
517
517
|
}, a.$$.update = () => {
|
|
518
518
|
a.$$.dirty[0] & /*lang*/
|
|
519
|
-
65536 && g &&
|
|
519
|
+
65536 && g && de(), a.$$.dirty[0] & /*translationurl*/
|
|
520
520
|
131072 && m && le(), a.$$.dirty[0] & /*endpoint, datasource*/
|
|
521
|
-
24576 &&
|
|
522
|
-
262148 &&
|
|
521
|
+
24576 && d && f && ie(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
522
|
+
262148 && c && M && Pe(M, c), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
523
523
|
524292 && r && M && Je(M, r), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
524
524
|
2097156 && M && Ae(M, `${W}.Style`, oe);
|
|
525
525
|
}, [
|
|
@@ -534,14 +534,14 @@ function tt(a, e, t) {
|
|
|
534
534
|
j,
|
|
535
535
|
n,
|
|
536
536
|
D,
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
537
|
+
Y,
|
|
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
|
W,
|