@everymatrix/casino-lobby 1.54.6 → 1.54.9
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-BlfnJwZ-.cjs +9 -0
- package/components/{CasinoCalendar-Ic3lq1UY.js → CasinoCalendar-CKCvu8d9.js} +1370 -1378
- package/components/CasinoCalendar-D3cTwZsW.js +5197 -0
- package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-B7hChP4v.js} +90 -90
- package/components/CasinoCalendarDailyDetails-C1T0xNcn.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-CCIR8eIp.js +701 -0
- package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-1iPwEmjb.js} +46 -46
- package/components/CasinoCalendarDailyItem-BNNa1Jdv.js +315 -0
- package/components/CasinoCalendarDailyItem-Bp_PImhJ.cjs +1 -0
- package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-06Zx2Iq-.js} +29 -29
- package/components/CasinoCategoriesSlider-Bjd1r5S5.js +606 -0
- package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +1 -0
- package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-BQPjVzK8.js} +58 -58
- package/components/CasinoCollectionsProviders-CSISd5u6.cjs +1 -0
- package/components/CasinoCollectionsProviders-CVDFBiI0.js +664 -0
- package/components/{CasinoFavoritesSection-D4Du3N5n.js → CasinoFavoritesSection-BtAZ0obR.js} +16 -16
- package/components/CasinoFavoritesSection-CeNe7gym.js +439 -0
- package/components/CasinoFavoritesSection-D7g9PfaJ.cjs +1 -0
- package/components/CasinoFilter-C10Tgn3c.cjs +1 -0
- package/components/CasinoFilter-CT6gjm3V.js +634 -0
- package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-ckjDwsuD.js} +55 -55
- package/components/CasinoGamePage-BXEw8hFH.js +4300 -0
- package/components/{CasinoGamePage-C0VvUfCV.js → CasinoGamePage-CtPmWXKS.js} +90 -90
- package/components/CasinoGamePage-DishJnnG.cjs +18 -0
- package/components/{CasinoGameThumbnail-C-zG9Jn9.js → CasinoGameThumbnail-CPtgI_Ou.js} +63 -63
- package/components/CasinoGameThumbnail-DEA-lJVL.cjs +38 -0
- package/components/CasinoGameThumbnail-DlUjmcUF.js +1850 -0
- package/components/CasinoGamesCategorySection-C004qi0F.cjs +1 -0
- package/components/CasinoGamesCategorySection-DNDGzt_C.js +3032 -0
- package/components/{CasinoGamesCategorySection-DVd_DDkc.js → CasinoGamesCategorySection-DeKVT6Qy.js} +125 -125
- package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-D3s92J-3.js} +68 -68
- package/components/CasinoJackpotBanner-q02RPv4N.js +618 -0
- package/components/CasinoJackpotBanner-uWVFzOiI.cjs +1 -0
- package/components/{CasinoLastPlayedSection-VbQH2qG2.js → CasinoLastPlayedSection-CRSWVIu_.js} +29 -29
- package/components/CasinoLastPlayedSection-tgXO-MUK.cjs +1 -0
- package/components/CasinoLastPlayedSection-vWwXDUsk.js +566 -0
- package/components/CasinoLobby-CzD2DAYm.cjs +1 -0
- package/components/{CasinoLobby-CSsnpzSn.js → CasinoLobby-aK6BWuTG.js} +49 -49
- package/components/CasinoLobby-cHs3HImA.js +2337 -0
- package/components/{CasinoModal-z0xixUlG.js → CasinoModal-C1oW3YF4.js} +69 -69
- package/components/CasinoModal-DRtZi6gR.cjs +1 -0
- package/components/CasinoModal-IbVlgg7Z.js +372 -0
- package/components/CasinoMostPlayedSection-1h4sJVZB.cjs +1 -0
- package/components/{CasinoMostPlayedSection-BIXY9riB.js → CasinoMostPlayedSection-CqCeL-T3.js} +32 -32
- package/components/CasinoMostPlayedSection-GdgKELMj.js +583 -0
- package/components/CasinoMyGames-B_NJlfMk.cjs +1 -0
- package/components/{CasinoMyGames-DqRPb7fX.js → CasinoMyGames-C96xDtTs.js} +52 -52
- package/components/CasinoMyGames-crupH86Y.js +1318 -0
- package/components/CasinoPage-BP3C9X12.cjs +1 -0
- package/components/{CasinoPage-Cm-vD67m.js → CasinoPage-BmaJqL6b.js} +123 -123
- package/components/CasinoPage-LZWtHc8W.js +3550 -0
- package/components/CasinoRandomGame-C6-dDxie.cjs +2 -0
- package/components/CasinoRandomGame-DXFHIw0O.js +668 -0
- package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-Df62wtxc.js} +51 -51
- package/components/CasinoSearch-BcFA6QGN.js +1072 -0
- package/components/CasinoSearch-Dnm7_nuc.cjs +1 -0
- package/components/{CasinoSearch-BEXK-fFP.js → CasinoSearch-akpXIDh-.js} +83 -83
- package/components/CasinoSlider-BDjskQjI.cjs +1 -0
- package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-BWEc4YT5.js} +78 -78
- package/components/CasinoSlider-BjpV4pLV.js +806 -0
- package/components/CasinoSort-CS53Uvnz.cjs +1 -0
- package/components/CasinoSort-DFdgT3Dt.js +432 -0
- package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-DFljh5Sg.js} +16 -16
- package/components/CasinoWinners-6mr0X-kZ.js +971 -0
- package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-CADOvOsd.js} +62 -62
- package/components/CasinoWinners-DU3xFq2b.cjs +1 -0
- package/components/GeneralAnimationLoading-BG_QynCK.cjs +1 -0
- package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-CX9baArf.js} +8 -8
- package/components/GeneralAnimationLoading-DVLCsjn0.js +75 -0
- package/es2015/casino-lobby.cjs +1 -0
- package/es2015/casino-lobby.js +16 -0
- package/esnext/casino-lobby.js +1 -1
- package/package.json +4 -1
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-CoygOtgn.js} +1 -1
- package/stencil/casino-play-random-game-DjMkr-Sg.cjs +371 -0
- package/stencil/casino-play-random-game-DkjQlTyE.js +577 -0
- package/stencil/index-f923e8d1-D64rZ7vf.js +645 -0
- package/stencil/index-f923e8d1-D8EldEUs.js +629 -0
- package/stencil/index-f923e8d1-QzT30J3F.cjs +1 -0
- package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
|
@@ -0,0 +1,583 @@
|
|
|
1
|
+
import { a as ee, $ as te, S as se, i as ae, s as ne, f as l, b as ie, n as I, d as M, h as A, p as K, j as N, r as S, k as oe, K as le, C as me, m as re, q as ge, L as n, I as ce, J as de } from "./CasinoCalendar-D3cTwZsW.js";
|
|
2
|
+
import "./CasinoFavoritesSection-CeNe7gym.js";
|
|
3
|
+
function H(a, e) {
|
|
4
|
+
ee(a, e);
|
|
5
|
+
}
|
|
6
|
+
function ue(a) {
|
|
7
|
+
te.set(a);
|
|
8
|
+
}
|
|
9
|
+
const J = {
|
|
10
|
+
en: {
|
|
11
|
+
noGames: "No games in most played"
|
|
12
|
+
},
|
|
13
|
+
"zh-hk": {
|
|
14
|
+
noGames: "No games in most played"
|
|
15
|
+
},
|
|
16
|
+
de: {
|
|
17
|
+
noGames: "No games in most played"
|
|
18
|
+
},
|
|
19
|
+
it: {
|
|
20
|
+
noGames: "No games in most played"
|
|
21
|
+
},
|
|
22
|
+
fr: {
|
|
23
|
+
noGames: "No games in most played"
|
|
24
|
+
},
|
|
25
|
+
es: {
|
|
26
|
+
noGames: "No hay juegos en más jugados."
|
|
27
|
+
},
|
|
28
|
+
tr: {
|
|
29
|
+
noGames: "En çok oynananlarda oyun yok"
|
|
30
|
+
},
|
|
31
|
+
ru: {
|
|
32
|
+
noGames: "No games in most played"
|
|
33
|
+
},
|
|
34
|
+
ro: {
|
|
35
|
+
noGames: "No games in most played"
|
|
36
|
+
},
|
|
37
|
+
hr: {
|
|
38
|
+
noGames: "Nema igara u najigranijim"
|
|
39
|
+
},
|
|
40
|
+
hu: {
|
|
41
|
+
noGames: "No games in most played"
|
|
42
|
+
},
|
|
43
|
+
pl: {
|
|
44
|
+
noGames: "No games in most played"
|
|
45
|
+
},
|
|
46
|
+
pt: {
|
|
47
|
+
noGames: "No games in most played"
|
|
48
|
+
},
|
|
49
|
+
sl: {
|
|
50
|
+
noGames: "No games in most played"
|
|
51
|
+
},
|
|
52
|
+
sr: {
|
|
53
|
+
noGames: "No games in most played"
|
|
54
|
+
},
|
|
55
|
+
"pt-br": {
|
|
56
|
+
noGames: "Não há jogos nos mais jogados"
|
|
57
|
+
},
|
|
58
|
+
"es-mx": {
|
|
59
|
+
noGames: "No hay juegos en los más jugados"
|
|
60
|
+
},
|
|
61
|
+
"en-us": {
|
|
62
|
+
noGames: "No games in most played"
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
function fe(a) {
|
|
66
|
+
ie(a, "svelte-14zqglz", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
67
|
+
}
|
|
68
|
+
function he(a) {
|
|
69
|
+
let e;
|
|
70
|
+
return {
|
|
71
|
+
c() {
|
|
72
|
+
e = N("casino-games-category-section"), n(
|
|
73
|
+
e,
|
|
74
|
+
"session",
|
|
75
|
+
/*session*/
|
|
76
|
+
a[4]
|
|
77
|
+
), n(
|
|
78
|
+
e,
|
|
79
|
+
"userid",
|
|
80
|
+
/*userid*/
|
|
81
|
+
a[5]
|
|
82
|
+
), n(
|
|
83
|
+
e,
|
|
84
|
+
"endpoint",
|
|
85
|
+
/*endpoint*/
|
|
86
|
+
a[0]
|
|
87
|
+
), n(
|
|
88
|
+
e,
|
|
89
|
+
"datasource",
|
|
90
|
+
/*datasource*/
|
|
91
|
+
a[1]
|
|
92
|
+
), n(
|
|
93
|
+
e,
|
|
94
|
+
"lang",
|
|
95
|
+
/*lang*/
|
|
96
|
+
a[3]
|
|
97
|
+
), n(
|
|
98
|
+
e,
|
|
99
|
+
"currency",
|
|
100
|
+
/*currency*/
|
|
101
|
+
a[2]
|
|
102
|
+
), n(
|
|
103
|
+
e,
|
|
104
|
+
"favorites",
|
|
105
|
+
/*favorites*/
|
|
106
|
+
a[14]
|
|
107
|
+
), n(
|
|
108
|
+
e,
|
|
109
|
+
"fetchviaevent",
|
|
110
|
+
/*fetchviaevent*/
|
|
111
|
+
a[16]
|
|
112
|
+
), n(e, "categoryid", "MOSTPLAYED"), n(e, "categoryindex", "1"), n(e, "categorygames", "9"), n(e, "class", "CategoryContainer"), n(
|
|
113
|
+
e,
|
|
114
|
+
"showgamename",
|
|
115
|
+
/*showgamename*/
|
|
116
|
+
a[12]
|
|
117
|
+
), n(
|
|
118
|
+
e,
|
|
119
|
+
"clientstyling",
|
|
120
|
+
/*clientstyling*/
|
|
121
|
+
a[6]
|
|
122
|
+
), n(
|
|
123
|
+
e,
|
|
124
|
+
"clientstylingurl",
|
|
125
|
+
/*clientstylingurl*/
|
|
126
|
+
a[7]
|
|
127
|
+
), n(
|
|
128
|
+
e,
|
|
129
|
+
"livecasino",
|
|
130
|
+
/*livecasino*/
|
|
131
|
+
a[8]
|
|
132
|
+
), n(
|
|
133
|
+
e,
|
|
134
|
+
"visiblegames",
|
|
135
|
+
/*visiblegames*/
|
|
136
|
+
a[13]
|
|
137
|
+
), n(
|
|
138
|
+
e,
|
|
139
|
+
"gamepagemodalurl",
|
|
140
|
+
/*gamepagemodalurl*/
|
|
141
|
+
a[11]
|
|
142
|
+
), n(
|
|
143
|
+
e,
|
|
144
|
+
"integratedgameframedesktop",
|
|
145
|
+
/*integratedgameframedesktop*/
|
|
146
|
+
a[10]
|
|
147
|
+
), n(
|
|
148
|
+
e,
|
|
149
|
+
"integratedgameframemobile",
|
|
150
|
+
/*integratedgameframemobile*/
|
|
151
|
+
a[9]
|
|
152
|
+
), n(
|
|
153
|
+
e,
|
|
154
|
+
"casinomygames",
|
|
155
|
+
/*casinomygames*/
|
|
156
|
+
a[15]
|
|
157
|
+
);
|
|
158
|
+
},
|
|
159
|
+
m(s, i) {
|
|
160
|
+
A(s, e, i);
|
|
161
|
+
},
|
|
162
|
+
p(s, i) {
|
|
163
|
+
i[0] & /*session*/
|
|
164
|
+
16 && n(
|
|
165
|
+
e,
|
|
166
|
+
"session",
|
|
167
|
+
/*session*/
|
|
168
|
+
s[4]
|
|
169
|
+
), i[0] & /*userid*/
|
|
170
|
+
32 && n(
|
|
171
|
+
e,
|
|
172
|
+
"userid",
|
|
173
|
+
/*userid*/
|
|
174
|
+
s[5]
|
|
175
|
+
), i[0] & /*endpoint*/
|
|
176
|
+
1 && n(
|
|
177
|
+
e,
|
|
178
|
+
"endpoint",
|
|
179
|
+
/*endpoint*/
|
|
180
|
+
s[0]
|
|
181
|
+
), i[0] & /*datasource*/
|
|
182
|
+
2 && n(
|
|
183
|
+
e,
|
|
184
|
+
"datasource",
|
|
185
|
+
/*datasource*/
|
|
186
|
+
s[1]
|
|
187
|
+
), i[0] & /*lang*/
|
|
188
|
+
8 && n(
|
|
189
|
+
e,
|
|
190
|
+
"lang",
|
|
191
|
+
/*lang*/
|
|
192
|
+
s[3]
|
|
193
|
+
), i[0] & /*currency*/
|
|
194
|
+
4 && n(
|
|
195
|
+
e,
|
|
196
|
+
"currency",
|
|
197
|
+
/*currency*/
|
|
198
|
+
s[2]
|
|
199
|
+
), i[0] & /*favorites*/
|
|
200
|
+
16384 && n(
|
|
201
|
+
e,
|
|
202
|
+
"favorites",
|
|
203
|
+
/*favorites*/
|
|
204
|
+
s[14]
|
|
205
|
+
), i[0] & /*fetchviaevent*/
|
|
206
|
+
65536 && n(
|
|
207
|
+
e,
|
|
208
|
+
"fetchviaevent",
|
|
209
|
+
/*fetchviaevent*/
|
|
210
|
+
s[16]
|
|
211
|
+
), i[0] & /*showgamename*/
|
|
212
|
+
4096 && n(
|
|
213
|
+
e,
|
|
214
|
+
"showgamename",
|
|
215
|
+
/*showgamename*/
|
|
216
|
+
s[12]
|
|
217
|
+
), i[0] & /*clientstyling*/
|
|
218
|
+
64 && n(
|
|
219
|
+
e,
|
|
220
|
+
"clientstyling",
|
|
221
|
+
/*clientstyling*/
|
|
222
|
+
s[6]
|
|
223
|
+
), i[0] & /*clientstylingurl*/
|
|
224
|
+
128 && n(
|
|
225
|
+
e,
|
|
226
|
+
"clientstylingurl",
|
|
227
|
+
/*clientstylingurl*/
|
|
228
|
+
s[7]
|
|
229
|
+
), i[0] & /*livecasino*/
|
|
230
|
+
256 && n(
|
|
231
|
+
e,
|
|
232
|
+
"livecasino",
|
|
233
|
+
/*livecasino*/
|
|
234
|
+
s[8]
|
|
235
|
+
), i[0] & /*visiblegames*/
|
|
236
|
+
8192 && n(
|
|
237
|
+
e,
|
|
238
|
+
"visiblegames",
|
|
239
|
+
/*visiblegames*/
|
|
240
|
+
s[13]
|
|
241
|
+
), i[0] & /*gamepagemodalurl*/
|
|
242
|
+
2048 && n(
|
|
243
|
+
e,
|
|
244
|
+
"gamepagemodalurl",
|
|
245
|
+
/*gamepagemodalurl*/
|
|
246
|
+
s[11]
|
|
247
|
+
), i[0] & /*integratedgameframedesktop*/
|
|
248
|
+
1024 && n(
|
|
249
|
+
e,
|
|
250
|
+
"integratedgameframedesktop",
|
|
251
|
+
/*integratedgameframedesktop*/
|
|
252
|
+
s[10]
|
|
253
|
+
), i[0] & /*integratedgameframemobile*/
|
|
254
|
+
512 && n(
|
|
255
|
+
e,
|
|
256
|
+
"integratedgameframemobile",
|
|
257
|
+
/*integratedgameframemobile*/
|
|
258
|
+
s[9]
|
|
259
|
+
), i[0] & /*casinomygames*/
|
|
260
|
+
32768 && n(
|
|
261
|
+
e,
|
|
262
|
+
"casinomygames",
|
|
263
|
+
/*casinomygames*/
|
|
264
|
+
s[15]
|
|
265
|
+
);
|
|
266
|
+
},
|
|
267
|
+
d(s) {
|
|
268
|
+
s && M(e);
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
function ye(a) {
|
|
273
|
+
let e, s = (
|
|
274
|
+
/*$_*/
|
|
275
|
+
a[19]("noGames") + ""
|
|
276
|
+
), i;
|
|
277
|
+
return {
|
|
278
|
+
c() {
|
|
279
|
+
e = N("p"), i = ge(s), S(e, "class", "SearchLoading");
|
|
280
|
+
},
|
|
281
|
+
m(r, m) {
|
|
282
|
+
A(r, e, m), K(e, i);
|
|
283
|
+
},
|
|
284
|
+
p(r, m) {
|
|
285
|
+
m[0] & /*$_*/
|
|
286
|
+
524288 && s !== (s = /*$_*/
|
|
287
|
+
r[19]("noGames") + "") && re(i, s);
|
|
288
|
+
},
|
|
289
|
+
d(r) {
|
|
290
|
+
r && M(e);
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
function ve(a) {
|
|
295
|
+
let e, s;
|
|
296
|
+
function i(g, c) {
|
|
297
|
+
return (
|
|
298
|
+
/*mostPlayedEmpty*/
|
|
299
|
+
g[18] ? ye : he
|
|
300
|
+
);
|
|
301
|
+
}
|
|
302
|
+
let r = i(a), m = r(a);
|
|
303
|
+
return {
|
|
304
|
+
c() {
|
|
305
|
+
e = N("div"), s = N("div"), m.c(), S(s, "class", "casino-most-played-section"), S(e, "class", "CasinoGamesCategorySectionContainer");
|
|
306
|
+
},
|
|
307
|
+
m(g, c) {
|
|
308
|
+
A(g, e, c), K(e, s), m.m(s, null), a[23](e);
|
|
309
|
+
},
|
|
310
|
+
p(g, c) {
|
|
311
|
+
r === (r = i(g)) && m ? m.p(g, c) : (m.d(1), m = r(g), m && (m.c(), m.m(s, null)));
|
|
312
|
+
},
|
|
313
|
+
i: I,
|
|
314
|
+
o: I,
|
|
315
|
+
d(g) {
|
|
316
|
+
g && M(e), m.d(), a[23](null);
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
function be(a, e, s) {
|
|
321
|
+
let i;
|
|
322
|
+
oe(a, de, (t) => s(19, i = t));
|
|
323
|
+
let { endpoint: r = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: T = "false" } = e, { gamepagemodalurl: O = "false" } = e, { showgamename: D = "" } = e, { visiblegames: P } = e, { favorites: R = "" } = e, { translationurl: k = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: U = "true" } = e, Y = window.navigator.userAgent;
|
|
324
|
+
const B = () => {
|
|
325
|
+
fetch(k).then((o) => o.json()).then((o) => {
|
|
326
|
+
Object.keys(o).forEach((d) => {
|
|
327
|
+
H(d, o[d]);
|
|
328
|
+
});
|
|
329
|
+
}).catch((o) => {
|
|
330
|
+
console.log(o);
|
|
331
|
+
});
|
|
332
|
+
};
|
|
333
|
+
Object.keys(J).forEach((t) => {
|
|
334
|
+
H(t, J[t]);
|
|
335
|
+
});
|
|
336
|
+
let G = [], p, z = !1, h;
|
|
337
|
+
const Q = (t) => {
|
|
338
|
+
let o = new URL(`${r}/v1/player/${v}/games/most-played`);
|
|
339
|
+
t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", j);
|
|
340
|
+
let d = t.device;
|
|
341
|
+
return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), p = w ? o : o.href, new Promise((u, y) => {
|
|
342
|
+
fetch(p).then((f) => f.json()).then((f) => {
|
|
343
|
+
f.items = f.items.filter(($) => {
|
|
344
|
+
let q = !0;
|
|
345
|
+
return $.gameCode == "OddsMatrix2" && (f.count--, q = !1), q;
|
|
346
|
+
}), u(f);
|
|
347
|
+
}).catch((f) => {
|
|
348
|
+
console.error(f), y(f);
|
|
349
|
+
});
|
|
350
|
+
});
|
|
351
|
+
}, V = () => {
|
|
352
|
+
Q({
|
|
353
|
+
limit: 100,
|
|
354
|
+
device: le(Y),
|
|
355
|
+
rounds: L
|
|
356
|
+
}).then((t) => {
|
|
357
|
+
if (t.count > 0) {
|
|
358
|
+
let o = [];
|
|
359
|
+
t.items.forEach((d) => {
|
|
360
|
+
let u = new URL(`${r}/v1/casino/games/${d.gameId}`);
|
|
361
|
+
u.searchParams.append("datasource", m), w ? o.push(fetch(u.href).then((y) => y.json())) : o.push(fetch(u.href).then((y) => y.json()));
|
|
362
|
+
}), Promise.all(o).then((d) => {
|
|
363
|
+
G = d.filter((u) => !("error" in u)).map((u) => u[0]), C === "true" && (G = G.slice(0, JSON.parse(P))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: G }, window.location.href);
|
|
364
|
+
});
|
|
365
|
+
} else
|
|
366
|
+
s(18, z = !0);
|
|
367
|
+
});
|
|
368
|
+
}, W = () => {
|
|
369
|
+
ue(c);
|
|
370
|
+
}, X = () => {
|
|
371
|
+
let t = document.createElement("style");
|
|
372
|
+
t.innerHTML = b, h.appendChild(t);
|
|
373
|
+
}, Z = () => {
|
|
374
|
+
let t = document.createElement("style");
|
|
375
|
+
fetch(new URL(_)).then((o) => o.text()).then((o) => {
|
|
376
|
+
t.innerHTML = o, setTimeout(
|
|
377
|
+
() => {
|
|
378
|
+
h.appendChild(t);
|
|
379
|
+
},
|
|
380
|
+
1
|
|
381
|
+
);
|
|
382
|
+
});
|
|
383
|
+
};
|
|
384
|
+
function x(t) {
|
|
385
|
+
me[t ? "unshift" : "push"](() => {
|
|
386
|
+
h = t, s(17, h);
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
return a.$$set = (t) => {
|
|
390
|
+
"endpoint" in t && s(0, r = t.endpoint), "datasource" in t && s(1, m = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, v = t.userid), "clientstyling" in t && s(6, b = t.clientstyling), "clientstylingurl" in t && s(7, _ = t.clientstylingurl), "livecasino" in t && s(8, w = t.livecasino), "integratedgameframemobile" in t && s(9, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(10, T = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(11, O = t.gamepagemodalurl), "showgamename" in t && s(12, D = t.showgamename), "visiblegames" in t && s(13, P = t.visiblegames), "favorites" in t && s(14, R = t.favorites), "translationurl" in t && s(20, k = t.translationurl), "casinomygames" in t && s(15, C = t.casinomygames), "mostplayedperiod" in t && s(21, j = t.mostplayedperiod), "mostplayedrounds" in t && s(22, L = t.mostplayedrounds), "fetchviaevent" in t && s(16, U = t.fetchviaevent);
|
|
391
|
+
}, a.$$.update = () => {
|
|
392
|
+
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
393
|
+
41 && r && v && c && V(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
394
|
+
131136 && b && h && X(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
395
|
+
131200 && _ && h && Z(), a.$$.dirty[0] & /*translationurl*/
|
|
396
|
+
1048576 && k && B(), a.$$.dirty[0] & /*lang*/
|
|
397
|
+
8 && c && W();
|
|
398
|
+
}, [
|
|
399
|
+
r,
|
|
400
|
+
m,
|
|
401
|
+
g,
|
|
402
|
+
c,
|
|
403
|
+
E,
|
|
404
|
+
v,
|
|
405
|
+
b,
|
|
406
|
+
_,
|
|
407
|
+
w,
|
|
408
|
+
F,
|
|
409
|
+
T,
|
|
410
|
+
O,
|
|
411
|
+
D,
|
|
412
|
+
P,
|
|
413
|
+
R,
|
|
414
|
+
C,
|
|
415
|
+
U,
|
|
416
|
+
h,
|
|
417
|
+
z,
|
|
418
|
+
i,
|
|
419
|
+
k,
|
|
420
|
+
j,
|
|
421
|
+
L,
|
|
422
|
+
x
|
|
423
|
+
];
|
|
424
|
+
}
|
|
425
|
+
class _e extends se {
|
|
426
|
+
constructor(e) {
|
|
427
|
+
super(), ae(
|
|
428
|
+
this,
|
|
429
|
+
e,
|
|
430
|
+
be,
|
|
431
|
+
ve,
|
|
432
|
+
ne,
|
|
433
|
+
{
|
|
434
|
+
endpoint: 0,
|
|
435
|
+
datasource: 1,
|
|
436
|
+
currency: 2,
|
|
437
|
+
lang: 3,
|
|
438
|
+
session: 4,
|
|
439
|
+
userid: 5,
|
|
440
|
+
clientstyling: 6,
|
|
441
|
+
clientstylingurl: 7,
|
|
442
|
+
livecasino: 8,
|
|
443
|
+
integratedgameframemobile: 9,
|
|
444
|
+
integratedgameframedesktop: 10,
|
|
445
|
+
gamepagemodalurl: 11,
|
|
446
|
+
showgamename: 12,
|
|
447
|
+
visiblegames: 13,
|
|
448
|
+
favorites: 14,
|
|
449
|
+
translationurl: 20,
|
|
450
|
+
casinomygames: 15,
|
|
451
|
+
mostplayedperiod: 21,
|
|
452
|
+
mostplayedrounds: 22,
|
|
453
|
+
fetchviaevent: 16
|
|
454
|
+
},
|
|
455
|
+
fe,
|
|
456
|
+
[-1, -1]
|
|
457
|
+
);
|
|
458
|
+
}
|
|
459
|
+
get endpoint() {
|
|
460
|
+
return this.$$.ctx[0];
|
|
461
|
+
}
|
|
462
|
+
set endpoint(e) {
|
|
463
|
+
this.$$set({ endpoint: e }), l();
|
|
464
|
+
}
|
|
465
|
+
get datasource() {
|
|
466
|
+
return this.$$.ctx[1];
|
|
467
|
+
}
|
|
468
|
+
set datasource(e) {
|
|
469
|
+
this.$$set({ datasource: e }), l();
|
|
470
|
+
}
|
|
471
|
+
get currency() {
|
|
472
|
+
return this.$$.ctx[2];
|
|
473
|
+
}
|
|
474
|
+
set currency(e) {
|
|
475
|
+
this.$$set({ currency: e }), l();
|
|
476
|
+
}
|
|
477
|
+
get lang() {
|
|
478
|
+
return this.$$.ctx[3];
|
|
479
|
+
}
|
|
480
|
+
set lang(e) {
|
|
481
|
+
this.$$set({ lang: e }), l();
|
|
482
|
+
}
|
|
483
|
+
get session() {
|
|
484
|
+
return this.$$.ctx[4];
|
|
485
|
+
}
|
|
486
|
+
set session(e) {
|
|
487
|
+
this.$$set({ session: e }), l();
|
|
488
|
+
}
|
|
489
|
+
get userid() {
|
|
490
|
+
return this.$$.ctx[5];
|
|
491
|
+
}
|
|
492
|
+
set userid(e) {
|
|
493
|
+
this.$$set({ userid: e }), l();
|
|
494
|
+
}
|
|
495
|
+
get clientstyling() {
|
|
496
|
+
return this.$$.ctx[6];
|
|
497
|
+
}
|
|
498
|
+
set clientstyling(e) {
|
|
499
|
+
this.$$set({ clientstyling: e }), l();
|
|
500
|
+
}
|
|
501
|
+
get clientstylingurl() {
|
|
502
|
+
return this.$$.ctx[7];
|
|
503
|
+
}
|
|
504
|
+
set clientstylingurl(e) {
|
|
505
|
+
this.$$set({ clientstylingurl: e }), l();
|
|
506
|
+
}
|
|
507
|
+
get livecasino() {
|
|
508
|
+
return this.$$.ctx[8];
|
|
509
|
+
}
|
|
510
|
+
set livecasino(e) {
|
|
511
|
+
this.$$set({ livecasino: e }), l();
|
|
512
|
+
}
|
|
513
|
+
get integratedgameframemobile() {
|
|
514
|
+
return this.$$.ctx[9];
|
|
515
|
+
}
|
|
516
|
+
set integratedgameframemobile(e) {
|
|
517
|
+
this.$$set({ integratedgameframemobile: e }), l();
|
|
518
|
+
}
|
|
519
|
+
get integratedgameframedesktop() {
|
|
520
|
+
return this.$$.ctx[10];
|
|
521
|
+
}
|
|
522
|
+
set integratedgameframedesktop(e) {
|
|
523
|
+
this.$$set({ integratedgameframedesktop: e }), l();
|
|
524
|
+
}
|
|
525
|
+
get gamepagemodalurl() {
|
|
526
|
+
return this.$$.ctx[11];
|
|
527
|
+
}
|
|
528
|
+
set gamepagemodalurl(e) {
|
|
529
|
+
this.$$set({ gamepagemodalurl: e }), l();
|
|
530
|
+
}
|
|
531
|
+
get showgamename() {
|
|
532
|
+
return this.$$.ctx[12];
|
|
533
|
+
}
|
|
534
|
+
set showgamename(e) {
|
|
535
|
+
this.$$set({ showgamename: e }), l();
|
|
536
|
+
}
|
|
537
|
+
get visiblegames() {
|
|
538
|
+
return this.$$.ctx[13];
|
|
539
|
+
}
|
|
540
|
+
set visiblegames(e) {
|
|
541
|
+
this.$$set({ visiblegames: e }), l();
|
|
542
|
+
}
|
|
543
|
+
get favorites() {
|
|
544
|
+
return this.$$.ctx[14];
|
|
545
|
+
}
|
|
546
|
+
set favorites(e) {
|
|
547
|
+
this.$$set({ favorites: e }), l();
|
|
548
|
+
}
|
|
549
|
+
get translationurl() {
|
|
550
|
+
return this.$$.ctx[20];
|
|
551
|
+
}
|
|
552
|
+
set translationurl(e) {
|
|
553
|
+
this.$$set({ translationurl: e }), l();
|
|
554
|
+
}
|
|
555
|
+
get casinomygames() {
|
|
556
|
+
return this.$$.ctx[15];
|
|
557
|
+
}
|
|
558
|
+
set casinomygames(e) {
|
|
559
|
+
this.$$set({ casinomygames: e }), l();
|
|
560
|
+
}
|
|
561
|
+
get mostplayedperiod() {
|
|
562
|
+
return this.$$.ctx[21];
|
|
563
|
+
}
|
|
564
|
+
set mostplayedperiod(e) {
|
|
565
|
+
this.$$set({ mostplayedperiod: e }), l();
|
|
566
|
+
}
|
|
567
|
+
get mostplayedrounds() {
|
|
568
|
+
return this.$$.ctx[22];
|
|
569
|
+
}
|
|
570
|
+
set mostplayedrounds(e) {
|
|
571
|
+
this.$$set({ mostplayedrounds: e }), l();
|
|
572
|
+
}
|
|
573
|
+
get fetchviaevent() {
|
|
574
|
+
return this.$$.ctx[16];
|
|
575
|
+
}
|
|
576
|
+
set fetchviaevent(e) {
|
|
577
|
+
this.$$set({ fetchviaevent: e }), l();
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
ce(_e, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
581
|
+
export {
|
|
582
|
+
_e as default
|
|
583
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BlfnJwZ-.cjs");function se({withLocale:s,translations:e}){t.$locale.subscribe(a=>{a==null&&(t.$dictionary.set(e),t.$locale.set(s))})}function z(s,e){t.addMessages(s,e)}function le(s){t.$locale.set(s)}const R={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFavoritesSection-D7g9PfaJ.cjs")).then(({default:e})=>{!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoLastPlayedSection-tgXO-MUK.cjs")).then(({default:e})=>{!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",e.element)})}if(typeof window!="undefined"){let s=function(e){return function(...a){try{return e.apply(this,a)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoMostPlayedSection-1h4sJVZB.cjs")).then(({default:e})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",e.element)})}function ne(s){t.append_styles(s,"svelte-nbkt6a",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function I(s,e,a){const l=s.slice();return l[43]=e[a],l}function ie(s){let e,a,l,r,i,d,o=t.ensure_array_like(s[27]),m=[];for(let u=0;u<o.length;u+=1)m[u]=K(I(s,o,u));function y(u,f){if(u[25]=="Favorites")return re;if(u[25]=="MostPlayed")return me;if(u[25]=="LastPlayed")return oe}let g=y(s),_=g&&g(s);return{c(){e=t.element("div"),a=t.element("div"),l=t.element("div");for(let u=0;u<m.length;u+=1)m[u].c();r=t.space(),i=t.element("div"),_&&_.c(),t.attr(l,"class","MyGamesButtonsContainer"),t.attr(a,"class","MyGamesHeader"),t.attr(e,"class",d="CasinoMyGames "+(s[26]?"Mobile":""))},m(u,f){t.insert(u,e,f),t.append(e,a),t.append(a,l);for(let c=0;c<m.length;c+=1)m[c]&&m[c].m(l,null);t.append(e,r),t.append(e,i),_&&_.m(i,null)},p(u,f){if(f[0]&2046935040){o=t.ensure_array_like(u[27]);let c;for(c=0;c<o.length;c+=1){const b=I(u,o,c);m[c]?m[c].p(b,f):(m[c]=K(b),m[c].c(),m[c].m(l,null))}for(;c<m.length;c+=1)m[c].d(1);m.length=o.length}g===(g=y(u))&&_?_.p(u,f):(_&&_.d(1),_=g&&g(u),_&&(_.c(),_.m(i,null))),f[0]&67108864&&d!==(d="CasinoMyGames "+(u[26]?"Mobile":""))&&t.attr(e,"class",d)},d(u){u&&t.detach(e),t.destroy_each(m,u),_&&_.d()}}}function J(s){let e,a=s[29]("favorites")+"",l,r,i,d,o,m,y,g,_;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),i=t.element("span"),d=t.text("("),o=t.text(s[28]),m=t.text(")"),t.attr(e,"class",y="MyGamesButton "+(s[25]=="Favorites"?"Active":"")+" "+(s[14]=="false"?"Off":""))},m(u,f){t.insert(u,e,f),t.append(e,l),t.append(e,r),t.append(e,i),t.append(i,d),t.append(i,o),t.append(i,m),g||(_=t.listen(e,"click",s[32]),g=!0)},p(u,f){f[0]&536870912&&a!==(a=u[29]("favorites")+"")&&t.set_data(l,a),f[0]&268435456&&t.set_data(o,u[28]),f[0]&33570816&&y!==(y="MyGamesButton "+(u[25]=="Favorites"?"Active":"")+" "+(u[14]=="false"?"Off":""))&&t.attr(e,"class",y)},d(u){u&&t.detach(e),g=!1,_()}}}function V(s){let e,a=s[29]("mostPlayed")+"",l,r,i,d;return{c(){e=t.element("button"),l=t.text(a),t.attr(e,"class",r="MyGamesButton "+(s[25]=="MostPlayed"?"Active":"")+" "+(s[15]=="false"?"Off":""))},m(o,m){t.insert(o,e,m),t.append(e,l),i||(d=t.listen(e,"click",s[33]),i=!0)},p(o,m){m[0]&536870912&&a!==(a=o[29]("mostPlayed")+"")&&t.set_data(l,a),m[0]&33587200&&r!==(r="MyGamesButton "+(o[25]=="MostPlayed"?"Active":"")+" "+(o[15]=="false"?"Off":""))&&t.attr(e,"class",r)},d(o){o&&t.detach(e),i=!1,d()}}}function Z(s){let e,a=s[29]("recentlyPlayed")+"",l,r,i,d,o;return{c(){e=t.element("button"),l=t.text(a),r=t.space(),t.attr(e,"class",i="MyGamesButton "+(s[25]=="LastPlayed"?"Active":"")+" "+(s[16]=="false"?"Off":""))},m(m,y){t.insert(m,e,y),t.append(e,l),t.append(e,r),d||(o=t.listen(e,"click",s[34]),d=!0)},p(m,y){y[0]&536870912&&a!==(a=m[29]("recentlyPlayed")+"")&&t.set_data(l,a),y[0]&33619968&&i!==(i="MyGamesButton "+(m[25]=="LastPlayed"?"Active":"")+" "+(m[16]=="false"?"Off":""))&&t.attr(e,"class",i)},d(m){m&&t.detach(e),d=!1,o()}}}function K(s){let e,a,l,r=s[43]=="Favorites"&&J(s),i=s[43]=="MostPlayed"&&V(s),d=s[43]=="LastPlayed"&&Z(s);return{c(){r&&r.c(),e=t.space(),i&&i.c(),a=t.space(),d&&d.c(),l=t.empty()},m(o,m){r&&r.m(o,m),t.insert(o,e,m),i&&i.m(o,m),t.insert(o,a,m),d&&d.m(o,m),t.insert(o,l,m)},p(o,m){o[43]=="Favorites"?r?r.p(o,m):(r=J(o),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),o[43]=="MostPlayed"?i?i.p(o,m):(i=V(o),i.c(),i.m(a.parentNode,a)):i&&(i.d(1),i=null),o[43]=="LastPlayed"?d?d.p(o,m):(d=Z(o),d.c(),d.m(l.parentNode,l)):d&&(d.d(1),d=null)},d(o){o&&(t.detach(e),t.detach(a),t.detach(l)),r&&r.d(o),i&&i.d(o),d&&d.d(o)}}}function oe(s){let e;return{c(){e=t.element("casino-last-played-section"),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"lastplayedperiod",s[18]),t.set_custom_element_data(e,"lastplayedorder",s[20]),t.set_custom_element_data(e,"lastplayedlimit",s[21]),t.set_custom_element_data(e,"lastplayedunique",s[22]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&262144&&t.set_custom_element_data(e,"lastplayedperiod",a[18]),l[0]&1048576&&t.set_custom_element_data(e,"lastplayedorder",a[20]),l[0]&2097152&&t.set_custom_element_data(e,"lastplayedlimit",a[21]),l[0]&4194304&&t.set_custom_element_data(e,"lastplayedunique",a[22]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function me(s){let e;return{c(){e=t.element("casino-most-played-section"),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryindex","0"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"mostplayedrounds",s[23]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"mostplayedperiod",s[19]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&8388608&&t.set_custom_element_data(e,"mostplayedrounds",a[23]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&524288&&t.set_custom_element_data(e,"mostplayedperiod",a[19]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function re(s){let e;return{c(){e=t.element("casino-favorites-section"),t.set_custom_element_data(e,"session",s[1]),t.set_custom_element_data(e,"userid",s[0]),t.set_custom_element_data(e,"endpoint",s[2]),t.set_custom_element_data(e,"datasource",s[3]),t.set_custom_element_data(e,"lang",s[4]),t.set_custom_element_data(e,"currency",s[5]),t.set_custom_element_data(e,"favorites",s[14]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",s[11]),t.set_custom_element_data(e,"clientstyling",s[6]),t.set_custom_element_data(e,"clientstylingurl",s[7]),t.set_custom_element_data(e,"livecasino",s[8]),t.set_custom_element_data(e,"visiblegames",s[9]),t.set_custom_element_data(e,"gamepagemodalurl",s[10]),t.set_custom_element_data(e,"integratedgameframedesktop",s[12]),t.set_custom_element_data(e,"integratedgameframemobile",s[13]),t.set_custom_element_data(e,"casinomygames",s[17])},m(a,l){t.insert(a,e,l)},p(a,l){l[0]&2&&t.set_custom_element_data(e,"session",a[1]),l[0]&1&&t.set_custom_element_data(e,"userid",a[0]),l[0]&4&&t.set_custom_element_data(e,"endpoint",a[2]),l[0]&8&&t.set_custom_element_data(e,"datasource",a[3]),l[0]&16&&t.set_custom_element_data(e,"lang",a[4]),l[0]&32&&t.set_custom_element_data(e,"currency",a[5]),l[0]&16384&&t.set_custom_element_data(e,"favorites",a[14]),l[0]&2048&&t.set_custom_element_data(e,"showgamename",a[11]),l[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),l[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),l[0]&256&&t.set_custom_element_data(e,"livecasino",a[8]),l[0]&512&&t.set_custom_element_data(e,"visiblegames",a[9]),l[0]&1024&&t.set_custom_element_data(e,"gamepagemodalurl",a[10]),l[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),l[0]&8192&&t.set_custom_element_data(e,"integratedgameframemobile",a[13]),l[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17])},d(a){a&&t.detach(e)}}}function de(s){let e;function a(i,d){if(i[17])return ie}let l=a(s),r=l&&l(s);return{c(){e=t.element("div"),r&&r.c()},m(i,d){t.insert(i,e,d),r&&r.m(e,null),s[35](e)},p(i,d){l===(l=a(i))&&r?r.p(i,d):(r&&r.d(1),r=l&&l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(),s[35](null)}}}function ue(s,e,a){let l;t.component_subscribe(s,t.$format,n=>a(29,l=n));let{userid:r=""}=e,{session:i=""}=e,{endpoint:d=""}=e,{datasource:o=""}=e,{lang:m=""}=e,{currency:y=""}=e,{clientstyling:g=""}=e,{clientstylingurl:_=""}=e,{livecasino:u=""}=e,{visiblegames:f=""}=e,{gamepagemodalurl:c=""}=e,{showgamename:b=""}=e,{integratedgameframedesktop:E=""}=e,{integratedgameframemobile:O=""}=e,{translationurl:C=""}=e,{favorites:P="false"}=e,{mostplayed:w="false"}=e,{lastplayed:M="false"}=e,{casinomygames:B="false"}=e,{lastplayedperiod:A="Last30Days"}=e,{mostplayedperiod:j="Last30Days"}=e,{lastplayedorder:q=""}=e,{lastplayedlimit:D=""}=e,{lastplayedunique:S="true"}=e,{mostplayedrounds:T=""}=e,W=window.navigator.userAgent,p,F="",N=!1,v=["","",""],G="0";se({withLocale:"en",translations:{}});const X=()=>{fetch(C).then(h=>h.json()).then(h=>{Object.keys(h).forEach(k=>{z(k,h[k])})}).catch(h=>{console.log(h)})};Object.keys(R).forEach(n=>{z(n,R[n])});const L=n=>{F!==n&&a(25,F=n)},H=()=>{a(25,F=P==="true"?"Favorites":w==="true"?"MostPlayed":M==="true"?"LastPlayed":""),a(27,v[0]=P==="true"?"Favorites":"",v),a(27,v[1]=w==="true"?"MostPlayed":"",v),a(27,v[2]=M==="true"?"LastPlayed":"",v),le(m)},Y=()=>{let n=document.createElement("style");n.innerHTML=g,p.appendChild(n)},x=()=>{let n=document.createElement("style");fetch(new URL(_)).then(h=>h.text()).then(h=>{n.innerHTML=h,setTimeout(()=>{p.appendChild(n)},1)})},U=n=>{var h,k;if(n.data)switch(n.data.type){case"UpdateFavoritesCount":n.data.favoriteGamesLength!==void 0?a(28,G=n.data.favoriteGamesLength):a(28,G=(k=(h=n.data.listOfFavoritesGames)==null?void 0:h.length)!=null?k:0);break}};t.onMount(()=>(window.addEventListener("message",U,!1),a(26,N=t.isMobile(W)),()=>{window.removeEventListener("message",U)}));const $=()=>L("Favorites"),ee=()=>L("MostPlayed"),te=()=>L("LastPlayed");function ae(n){t.binding_callbacks[n?"unshift":"push"](()=>{p=n,a(24,p)})}return s.$$set=n=>{"userid"in n&&a(0,r=n.userid),"session"in n&&a(1,i=n.session),"endpoint"in n&&a(2,d=n.endpoint),"datasource"in n&&a(3,o=n.datasource),"lang"in n&&a(4,m=n.lang),"currency"in n&&a(5,y=n.currency),"clientstyling"in n&&a(6,g=n.clientstyling),"clientstylingurl"in n&&a(7,_=n.clientstylingurl),"livecasino"in n&&a(8,u=n.livecasino),"visiblegames"in n&&a(9,f=n.visiblegames),"gamepagemodalurl"in n&&a(10,c=n.gamepagemodalurl),"showgamename"in n&&a(11,b=n.showgamename),"integratedgameframedesktop"in n&&a(12,E=n.integratedgameframedesktop),"integratedgameframemobile"in n&&a(13,O=n.integratedgameframemobile),"translationurl"in n&&a(31,C=n.translationurl),"favorites"in n&&a(14,P=n.favorites),"mostplayed"in n&&a(15,w=n.mostplayed),"lastplayed"in n&&a(16,M=n.lastplayed),"casinomygames"in n&&a(17,B=n.casinomygames),"lastplayedperiod"in n&&a(18,A=n.lastplayedperiod),"mostplayedperiod"in n&&a(19,j=n.mostplayedperiod),"lastplayedorder"in n&&a(20,q=n.lastplayedorder),"lastplayedlimit"in n&&a(21,D=n.lastplayedlimit),"lastplayedunique"in n&&a(22,S=n.lastplayedunique),"mostplayedrounds"in n&&a(23,T=n.mostplayedrounds)},s.$$.update=()=>{s.$$.dirty[0]&28&&d&&o&&m&&H(),s.$$.dirty[0]&114688&&P&&w&&M&&H(),s.$$.dirty[1]&1&&C&&X(),s.$$.dirty[0]&16777280&&g&&p&&Y(),s.$$.dirty[0]&16777344&&_&&p&&x()},[r,i,d,o,m,y,g,_,u,f,c,b,E,O,P,w,M,B,A,j,q,D,S,T,p,F,N,v,G,l,L,C,$,ee,te,ae]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ue,de,t.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},ne,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),t.flush()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}}t.create_custom_element(Q,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=Q;
|