@everymatrix/casino-lobby 1.54.6 → 1.54.8
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-Ic3lq1UY.js → CasinoCalendar-B6zL0TaE.js} +506 -514
- package/components/CasinoCalendar-BMfA7KN3.cjs +9 -0
- package/components/CasinoCalendar-yoWAbEkY.js +5197 -0
- package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-CHjjPOPl.js} +90 -90
- package/components/CasinoCalendarDailyDetails-CfDJdZRl.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-D3u4HZe8.js +701 -0
- package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-C0cqN7uc.js} +46 -46
- package/components/CasinoCalendarDailyItem-CUUQD6LO.cjs +1 -0
- package/components/CasinoCalendarDailyItem-DMCRSt77.js +315 -0
- package/components/CasinoCategoriesSlider-BcJr5qw4.js +606 -0
- package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-ClyY2tVk.js} +29 -29
- package/components/CasinoCategoriesSlider-Du23Vwbe.cjs +1 -0
- package/components/CasinoCollectionsProviders-D_RrWmcu.js +664 -0
- package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-DfPQERZb.js} +58 -58
- package/components/CasinoCollectionsProviders-okanqqGb.cjs +1 -0
- package/components/CasinoFavoritesSection-6Sdpq5gN.cjs +1 -0
- package/components/CasinoFavoritesSection-B73CXUAy.js +439 -0
- package/components/{CasinoFavoritesSection-D4Du3N5n.js → CasinoFavoritesSection-Bueg3sTp.js} +16 -16
- package/components/CasinoFilter-CLgilXuM.js +634 -0
- package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-Ck2-RKNG.js} +55 -55
- package/components/CasinoFilter-d5NvPsIU.cjs +1 -0
- package/components/{CasinoGamePage-C0VvUfCV.js → CasinoGamePage-B9T32UnC.js} +90 -90
- package/components/CasinoGamePage-BvAh0DGO.js +4300 -0
- package/components/CasinoGamePage-C99GYj8V.cjs +18 -0
- package/components/{CasinoGameThumbnail-C-zG9Jn9.js → CasinoGameThumbnail-Bl2lRTS5.js} +63 -63
- package/components/CasinoGameThumbnail-Cnth3w2v.js +1850 -0
- package/components/CasinoGameThumbnail-DFxPFhew.cjs +38 -0
- package/components/CasinoGamesCategorySection-Cy8ehDrS.cjs +1 -0
- package/components/{CasinoGamesCategorySection-DVd_DDkc.js → CasinoGamesCategorySection-DU23YHrX.js} +125 -125
- package/components/CasinoGamesCategorySection-Vx-6j2_y.js +3032 -0
- package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-CwBo5Mul.js} +68 -68
- package/components/CasinoJackpotBanner-D8mirkf9.js +618 -0
- package/components/CasinoJackpotBanner-pF19c3bB.cjs +1 -0
- package/components/CasinoLastPlayedSection-CTeLaz5e.cjs +1 -0
- package/components/{CasinoLastPlayedSection-VbQH2qG2.js → CasinoLastPlayedSection-D2i1KYd6.js} +29 -29
- package/components/CasinoLastPlayedSection-DeHKMRjb.js +566 -0
- package/components/{CasinoLobby-CSsnpzSn.js → CasinoLobby-DIuXNBMc.js} +49 -49
- package/components/CasinoLobby-DjqoKJ_Z.cjs +1 -0
- package/components/CasinoLobby-Ds8nok67.js +2337 -0
- package/components/{CasinoModal-z0xixUlG.js → CasinoModal-CdxckMSF.js} +69 -69
- package/components/CasinoModal-Cj4CFSu2.cjs +1 -0
- package/components/CasinoModal-_ukjEJqy.js +372 -0
- package/components/CasinoMostPlayedSection-BRG_Uq6C.cjs +1 -0
- package/components/{CasinoMostPlayedSection-BIXY9riB.js → CasinoMostPlayedSection-BvIjl5pV.js} +32 -32
- package/components/CasinoMostPlayedSection-C9ey8EVj.js +583 -0
- package/components/CasinoMyGames-BH19YGDz.js +1318 -0
- package/components/{CasinoMyGames-DqRPb7fX.js → CasinoMyGames-CO15Aytm.js} +52 -52
- package/components/CasinoMyGames-DNs8c3Rb.cjs +1 -0
- package/components/CasinoPage-BEFfjziT.js +3550 -0
- package/components/{CasinoPage-Cm-vD67m.js → CasinoPage-DXue0b0t.js} +123 -123
- package/components/CasinoPage-sSUBPWhS.cjs +1 -0
- package/components/CasinoRandomGame-C57JuHHz.cjs +2 -0
- package/components/CasinoRandomGame-r6ZN573_.js +668 -0
- package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-z14CxLuC.js} +51 -51
- package/components/CasinoSearch-C5_rhVBG.js +1072 -0
- package/components/{CasinoSearch-BEXK-fFP.js → CasinoSearch-Cbyb3s0J.js} +83 -83
- package/components/CasinoSearch-D1uEkiG3.cjs +1 -0
- package/components/CasinoSlider-C7bHIIsP.js +806 -0
- package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-C90aPXd2.js} +78 -78
- package/components/CasinoSlider-D1u-7DmV.cjs +1 -0
- package/components/CasinoSort-5a6WYp-y.cjs +1 -0
- package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-B9ucfWgD.js} +16 -16
- package/components/CasinoSort-DWu-WSlc.js +432 -0
- package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-BFkE1Nu3.js} +62 -62
- package/components/CasinoWinners-D-KQ7v4o.cjs +1 -0
- package/components/CasinoWinners-fPZD2C86.js +971 -0
- package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-BCUksgAT.js} +8 -8
- package/components/GeneralAnimationLoading-BtZxU34J.cjs +1 -0
- package/components/GeneralAnimationLoading-DSCrLTeR.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-BKQH1Zx1.cjs +371 -0
- package/stencil/casino-play-random-game-BqK1nKDT.js +577 -0
- package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-pLVMnBV9.js} +1 -1
- package/stencil/index-f923e8d1-BWfXmHlD.js +645 -0
- package/stencil/index-f923e8d1-DEpJEd5d.cjs +1 -0
- package/stencil/index-f923e8d1-DkIbJRWP.js +629 -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-B6zL0TaE.js";
|
|
2
|
+
import "./CasinoFavoritesSection-Bueg3sTp.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
|
+
};
|