@everymatrix/casino-lobby 1.44.0 → 1.45.2
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-3HRZGpnG.js +5134 -0
- package/components/CasinoCalendar-9cVNHt1-.cjs +9 -0
- package/components/CasinoCalendarDailyDetails-Dcf0TKzH.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-MwTyCObT.js +605 -0
- package/components/CasinoCalendarDailyItem-B-h-76yh.js +220 -0
- package/components/CasinoCalendarDailyItem-Cahte_IM.cjs +1 -0
- package/components/CasinoCategoriesSlider-AAgG2_xb.cjs +1 -0
- package/components/CasinoCategoriesSlider-B3Aneyii.js +597 -0
- package/components/CasinoCollectionsProviders-BvEenHqO.cjs +1 -0
- package/components/CasinoCollectionsProviders-D-DgSMvu.js +659 -0
- package/components/CasinoFavoritesSection-CxQ69OwL.cjs +1 -0
- package/components/CasinoFavoritesSection-DE0M_xZ_.js +418 -0
- package/components/CasinoFilter-BWEtfBml.js +628 -0
- package/components/CasinoFilter-Bdc0mE0X.cjs +1 -0
- package/components/CasinoGamePage-C4x_GUg3.cjs +18 -0
- package/components/CasinoGamePage-r1xLmvzf.js +4282 -0
- package/components/CasinoGameThumbnail-BG_6FsqW.cjs +38 -0
- package/components/CasinoGameThumbnail-wQFR0AuM.js +1822 -0
- package/components/CasinoGamesCategorySection-BGgw1sdg.cjs +1 -0
- package/components/CasinoGamesCategorySection-Cbto2aD4.js +3018 -0
- package/components/CasinoJackpotBanner-BftFjZpI.cjs +1 -0
- package/components/CasinoJackpotBanner-D1RCyJGt.js +615 -0
- package/components/CasinoLastPlayedSection-CAirOYgJ.js +563 -0
- package/components/CasinoLastPlayedSection-Dm6f8H02.cjs +1 -0
- package/components/CasinoLobby-Cq0Hm2md.js +2337 -0
- package/components/CasinoLobby-CvaYUpUV.cjs +1 -0
- package/components/CasinoModal-CZbdtmLm.js +372 -0
- package/components/CasinoModal-DqBbtAjA.cjs +1 -0
- package/components/CasinoMostPlayedSection-DTXKjmPl.cjs +1 -0
- package/components/CasinoMostPlayedSection-k3_ln2SB.js +580 -0
- package/components/CasinoMyGames-CVTzyBkk.cjs +1 -0
- package/components/CasinoMyGames-DcJpzIEq.js +1313 -0
- package/components/CasinoPage-BbRpHGEc.js +3514 -0
- package/components/CasinoPage-srXwB6ik.cjs +1 -0
- package/components/CasinoRandomGame-BSD5DYtt.js +641 -0
- package/components/CasinoRandomGame-CNdoKY0C.cjs +2 -0
- package/components/CasinoSearch-BsgUvsbs.js +1062 -0
- package/components/CasinoSearch-CMn_5Aa4.cjs +1 -0
- package/components/CasinoSlider-D5B-CjPM.js +803 -0
- package/components/CasinoSlider-kzZxK81G.cjs +1 -0
- package/components/CasinoSort-9pQqbHyF.cjs +1 -0
- package/components/CasinoSort-T6UQhFka.js +425 -0
- package/components/CasinoWinners-CD5HS4Gb.cjs +1 -0
- package/components/CasinoWinners-auSd-4D9.js +884 -0
- package/components/GeneralAnimationLoading-CIYgtCsE.cjs +1 -0
- package/components/GeneralAnimationLoading-DRiG33XR.js +75 -0
- package/es2015/casino-lobby.cjs +1 -0
- package/es2015/casino-lobby.js +16 -0
- package/package.json +20 -32
- package/CHANGELOG.md +0 -39
- package/README.md +0 -0
- package/dist/casino-lobby.js +0 -33
- package/dist/casino-lobby.js.map +0 -1
- package/documentation.md +0 -176
- package/index.html +0 -50
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/CasinoLobby.svelte +0 -454
- package/src/i18n.js +0 -25
- package/src/index.ts +0 -4
- package/stories/CasinoLobby.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1,580 @@
|
|
|
1
|
+
import { I as ee, $ as te, S as se, i as ae, f as l, c as ne, s as ie, b as oe, e as N, u as M, d as S, v as Y, C as H, j as A, J as le, L as re, m as me, M as n, r as ge, A as ce, O as de } from "./CasinoCalendar-3HRZGpnG.js";
|
|
2
|
+
import "./CasinoFavoritesSection-DE0M_xZ_.js";
|
|
3
|
+
function J(a, e) {
|
|
4
|
+
ee(a, e);
|
|
5
|
+
}
|
|
6
|
+
function ue(a) {
|
|
7
|
+
te.set(a);
|
|
8
|
+
}
|
|
9
|
+
const q = {
|
|
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
|
+
};
|
|
62
|
+
function fe(a) {
|
|
63
|
+
oe(a, "svelte-fogubb", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}");
|
|
64
|
+
}
|
|
65
|
+
function he(a) {
|
|
66
|
+
let e;
|
|
67
|
+
return {
|
|
68
|
+
c() {
|
|
69
|
+
e = N("casino-games-category-section"), n(
|
|
70
|
+
e,
|
|
71
|
+
"session",
|
|
72
|
+
/*session*/
|
|
73
|
+
a[4]
|
|
74
|
+
), n(
|
|
75
|
+
e,
|
|
76
|
+
"userid",
|
|
77
|
+
/*userid*/
|
|
78
|
+
a[5]
|
|
79
|
+
), n(
|
|
80
|
+
e,
|
|
81
|
+
"endpoint",
|
|
82
|
+
/*endpoint*/
|
|
83
|
+
a[0]
|
|
84
|
+
), n(
|
|
85
|
+
e,
|
|
86
|
+
"datasource",
|
|
87
|
+
/*datasource*/
|
|
88
|
+
a[1]
|
|
89
|
+
), n(
|
|
90
|
+
e,
|
|
91
|
+
"lang",
|
|
92
|
+
/*lang*/
|
|
93
|
+
a[3]
|
|
94
|
+
), n(
|
|
95
|
+
e,
|
|
96
|
+
"currency",
|
|
97
|
+
/*currency*/
|
|
98
|
+
a[2]
|
|
99
|
+
), n(
|
|
100
|
+
e,
|
|
101
|
+
"favorites",
|
|
102
|
+
/*favorites*/
|
|
103
|
+
a[14]
|
|
104
|
+
), n(
|
|
105
|
+
e,
|
|
106
|
+
"fetchviaevent",
|
|
107
|
+
/*fetchviaevent*/
|
|
108
|
+
a[16]
|
|
109
|
+
), n(e, "categoryid", "MOSTPLAYED"), n(e, "categoryindex", "1"), n(e, "categorygames", "9"), n(e, "class", "CategoryContainer"), n(
|
|
110
|
+
e,
|
|
111
|
+
"showgamename",
|
|
112
|
+
/*showgamename*/
|
|
113
|
+
a[12]
|
|
114
|
+
), n(
|
|
115
|
+
e,
|
|
116
|
+
"clientstyling",
|
|
117
|
+
/*clientstyling*/
|
|
118
|
+
a[6]
|
|
119
|
+
), n(
|
|
120
|
+
e,
|
|
121
|
+
"clientstylingurl",
|
|
122
|
+
/*clientstylingurl*/
|
|
123
|
+
a[7]
|
|
124
|
+
), n(
|
|
125
|
+
e,
|
|
126
|
+
"livecasino",
|
|
127
|
+
/*livecasino*/
|
|
128
|
+
a[8]
|
|
129
|
+
), n(
|
|
130
|
+
e,
|
|
131
|
+
"visiblegames",
|
|
132
|
+
/*visiblegames*/
|
|
133
|
+
a[13]
|
|
134
|
+
), n(
|
|
135
|
+
e,
|
|
136
|
+
"gamepagemodalurl",
|
|
137
|
+
/*gamepagemodalurl*/
|
|
138
|
+
a[11]
|
|
139
|
+
), n(
|
|
140
|
+
e,
|
|
141
|
+
"integratedgameframedesktop",
|
|
142
|
+
/*integratedgameframedesktop*/
|
|
143
|
+
a[10]
|
|
144
|
+
), n(
|
|
145
|
+
e,
|
|
146
|
+
"integratedgameframemobile",
|
|
147
|
+
/*integratedgameframemobile*/
|
|
148
|
+
a[9]
|
|
149
|
+
), n(
|
|
150
|
+
e,
|
|
151
|
+
"casinomygames",
|
|
152
|
+
/*casinomygames*/
|
|
153
|
+
a[15]
|
|
154
|
+
);
|
|
155
|
+
},
|
|
156
|
+
m(s, i) {
|
|
157
|
+
S(s, e, i);
|
|
158
|
+
},
|
|
159
|
+
p(s, i) {
|
|
160
|
+
i[0] & /*session*/
|
|
161
|
+
16 && n(
|
|
162
|
+
e,
|
|
163
|
+
"session",
|
|
164
|
+
/*session*/
|
|
165
|
+
s[4]
|
|
166
|
+
), i[0] & /*userid*/
|
|
167
|
+
32 && n(
|
|
168
|
+
e,
|
|
169
|
+
"userid",
|
|
170
|
+
/*userid*/
|
|
171
|
+
s[5]
|
|
172
|
+
), i[0] & /*endpoint*/
|
|
173
|
+
1 && n(
|
|
174
|
+
e,
|
|
175
|
+
"endpoint",
|
|
176
|
+
/*endpoint*/
|
|
177
|
+
s[0]
|
|
178
|
+
), i[0] & /*datasource*/
|
|
179
|
+
2 && n(
|
|
180
|
+
e,
|
|
181
|
+
"datasource",
|
|
182
|
+
/*datasource*/
|
|
183
|
+
s[1]
|
|
184
|
+
), i[0] & /*lang*/
|
|
185
|
+
8 && n(
|
|
186
|
+
e,
|
|
187
|
+
"lang",
|
|
188
|
+
/*lang*/
|
|
189
|
+
s[3]
|
|
190
|
+
), i[0] & /*currency*/
|
|
191
|
+
4 && n(
|
|
192
|
+
e,
|
|
193
|
+
"currency",
|
|
194
|
+
/*currency*/
|
|
195
|
+
s[2]
|
|
196
|
+
), i[0] & /*favorites*/
|
|
197
|
+
16384 && n(
|
|
198
|
+
e,
|
|
199
|
+
"favorites",
|
|
200
|
+
/*favorites*/
|
|
201
|
+
s[14]
|
|
202
|
+
), i[0] & /*fetchviaevent*/
|
|
203
|
+
65536 && n(
|
|
204
|
+
e,
|
|
205
|
+
"fetchviaevent",
|
|
206
|
+
/*fetchviaevent*/
|
|
207
|
+
s[16]
|
|
208
|
+
), i[0] & /*showgamename*/
|
|
209
|
+
4096 && n(
|
|
210
|
+
e,
|
|
211
|
+
"showgamename",
|
|
212
|
+
/*showgamename*/
|
|
213
|
+
s[12]
|
|
214
|
+
), i[0] & /*clientstyling*/
|
|
215
|
+
64 && n(
|
|
216
|
+
e,
|
|
217
|
+
"clientstyling",
|
|
218
|
+
/*clientstyling*/
|
|
219
|
+
s[6]
|
|
220
|
+
), i[0] & /*clientstylingurl*/
|
|
221
|
+
128 && n(
|
|
222
|
+
e,
|
|
223
|
+
"clientstylingurl",
|
|
224
|
+
/*clientstylingurl*/
|
|
225
|
+
s[7]
|
|
226
|
+
), i[0] & /*livecasino*/
|
|
227
|
+
256 && n(
|
|
228
|
+
e,
|
|
229
|
+
"livecasino",
|
|
230
|
+
/*livecasino*/
|
|
231
|
+
s[8]
|
|
232
|
+
), i[0] & /*visiblegames*/
|
|
233
|
+
8192 && n(
|
|
234
|
+
e,
|
|
235
|
+
"visiblegames",
|
|
236
|
+
/*visiblegames*/
|
|
237
|
+
s[13]
|
|
238
|
+
), i[0] & /*gamepagemodalurl*/
|
|
239
|
+
2048 && n(
|
|
240
|
+
e,
|
|
241
|
+
"gamepagemodalurl",
|
|
242
|
+
/*gamepagemodalurl*/
|
|
243
|
+
s[11]
|
|
244
|
+
), i[0] & /*integratedgameframedesktop*/
|
|
245
|
+
1024 && n(
|
|
246
|
+
e,
|
|
247
|
+
"integratedgameframedesktop",
|
|
248
|
+
/*integratedgameframedesktop*/
|
|
249
|
+
s[10]
|
|
250
|
+
), i[0] & /*integratedgameframemobile*/
|
|
251
|
+
512 && n(
|
|
252
|
+
e,
|
|
253
|
+
"integratedgameframemobile",
|
|
254
|
+
/*integratedgameframemobile*/
|
|
255
|
+
s[9]
|
|
256
|
+
), i[0] & /*casinomygames*/
|
|
257
|
+
32768 && n(
|
|
258
|
+
e,
|
|
259
|
+
"casinomygames",
|
|
260
|
+
/*casinomygames*/
|
|
261
|
+
s[15]
|
|
262
|
+
);
|
|
263
|
+
},
|
|
264
|
+
d(s) {
|
|
265
|
+
s && A(e);
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
function ye(a) {
|
|
270
|
+
let e, s = (
|
|
271
|
+
/*$_*/
|
|
272
|
+
a[19]("noGames") + ""
|
|
273
|
+
), i;
|
|
274
|
+
return {
|
|
275
|
+
c() {
|
|
276
|
+
e = N("p"), i = ge(s), M(e, "class", "SearchLoading");
|
|
277
|
+
},
|
|
278
|
+
m(m, r) {
|
|
279
|
+
S(m, e, r), Y(e, i);
|
|
280
|
+
},
|
|
281
|
+
p(m, r) {
|
|
282
|
+
r[0] & /*$_*/
|
|
283
|
+
524288 && s !== (s = /*$_*/
|
|
284
|
+
m[19]("noGames") + "") && ce(i, s);
|
|
285
|
+
},
|
|
286
|
+
d(m) {
|
|
287
|
+
m && A(e);
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
function ve(a) {
|
|
292
|
+
let e, s;
|
|
293
|
+
function i(g, c) {
|
|
294
|
+
return (
|
|
295
|
+
/*mostPlayedEmpty*/
|
|
296
|
+
g[18] ? ye : he
|
|
297
|
+
);
|
|
298
|
+
}
|
|
299
|
+
let m = i(a), r = m(a);
|
|
300
|
+
return {
|
|
301
|
+
c() {
|
|
302
|
+
e = N("div"), s = N("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
|
|
303
|
+
},
|
|
304
|
+
m(g, c) {
|
|
305
|
+
S(g, e, c), Y(e, s), r.m(s, null), a[23](e);
|
|
306
|
+
},
|
|
307
|
+
p(g, c) {
|
|
308
|
+
m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
|
|
309
|
+
},
|
|
310
|
+
i: H,
|
|
311
|
+
o: H,
|
|
312
|
+
d(g) {
|
|
313
|
+
g && A(e), r.d(), a[23](null);
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
function be(a, e, s) {
|
|
318
|
+
let i;
|
|
319
|
+
le(a, de, (t) => s(19, i = t));
|
|
320
|
+
let { endpoint: m = "" } = e, { datasource: r = "" } = 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: O = "false" } = e, { gamepagemodalurl: T = "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, B = window.navigator.userAgent;
|
|
321
|
+
const K = () => {
|
|
322
|
+
fetch(k).then((o) => o.json()).then((o) => {
|
|
323
|
+
Object.keys(o).forEach((d) => {
|
|
324
|
+
J(d, o[d]);
|
|
325
|
+
});
|
|
326
|
+
}).catch((o) => {
|
|
327
|
+
console.log(o);
|
|
328
|
+
});
|
|
329
|
+
};
|
|
330
|
+
Object.keys(q).forEach((t) => {
|
|
331
|
+
J(t, q[t]);
|
|
332
|
+
});
|
|
333
|
+
let G = [], I, p = !1, h;
|
|
334
|
+
const Q = (t) => {
|
|
335
|
+
let o = new URL(`${m}/v1/player/${v}/games/most-played`);
|
|
336
|
+
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);
|
|
337
|
+
let d = t.device;
|
|
338
|
+
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), I = w ? o : o.href, new Promise((u, y) => {
|
|
339
|
+
fetch(I).then((f) => f.json()).then((f) => {
|
|
340
|
+
f.items = f.items.filter(($) => {
|
|
341
|
+
let z = !0;
|
|
342
|
+
return $.gameCode == "OddsMatrix2" && (f.count--, z = !1), z;
|
|
343
|
+
}), u(f);
|
|
344
|
+
}).catch((f) => {
|
|
345
|
+
console.error(f), y(f);
|
|
346
|
+
});
|
|
347
|
+
});
|
|
348
|
+
}, V = () => {
|
|
349
|
+
Q({
|
|
350
|
+
limit: 100,
|
|
351
|
+
device: re(B),
|
|
352
|
+
rounds: L
|
|
353
|
+
}).then((t) => {
|
|
354
|
+
if (t.count > 0) {
|
|
355
|
+
let o = [];
|
|
356
|
+
t.items.forEach((d) => {
|
|
357
|
+
let u = new URL(`${m}/v1/casino/games/${d.gameId}`);
|
|
358
|
+
u.searchParams.append("datasource", r), w ? o.push(fetch(u.href).then((y) => y.json())) : o.push(fetch(u.href).then((y) => y.json()));
|
|
359
|
+
}), Promise.all(o).then((d) => {
|
|
360
|
+
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);
|
|
361
|
+
});
|
|
362
|
+
} else
|
|
363
|
+
s(18, p = !0);
|
|
364
|
+
});
|
|
365
|
+
}, W = () => {
|
|
366
|
+
ue(c);
|
|
367
|
+
}, X = () => {
|
|
368
|
+
let t = document.createElement("style");
|
|
369
|
+
t.innerHTML = b, h.appendChild(t);
|
|
370
|
+
}, Z = () => {
|
|
371
|
+
let t = document.createElement("style");
|
|
372
|
+
fetch(new URL(_)).then((o) => o.text()).then((o) => {
|
|
373
|
+
t.innerHTML = o, setTimeout(
|
|
374
|
+
() => {
|
|
375
|
+
h.appendChild(t);
|
|
376
|
+
},
|
|
377
|
+
1
|
|
378
|
+
);
|
|
379
|
+
});
|
|
380
|
+
};
|
|
381
|
+
function x(t) {
|
|
382
|
+
me[t ? "unshift" : "push"](() => {
|
|
383
|
+
h = t, s(17, h);
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
return a.$$set = (t) => {
|
|
387
|
+
"endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = 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, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(11, T = 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);
|
|
388
|
+
}, a.$$.update = () => {
|
|
389
|
+
a.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
390
|
+
41 && m && v && c && V(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
391
|
+
131136 && b && h && X(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
392
|
+
131200 && _ && h && Z(), a.$$.dirty[0] & /*translationurl*/
|
|
393
|
+
1048576 && k && K(), a.$$.dirty[0] & /*lang*/
|
|
394
|
+
8 && c && W();
|
|
395
|
+
}, [
|
|
396
|
+
m,
|
|
397
|
+
r,
|
|
398
|
+
g,
|
|
399
|
+
c,
|
|
400
|
+
E,
|
|
401
|
+
v,
|
|
402
|
+
b,
|
|
403
|
+
_,
|
|
404
|
+
w,
|
|
405
|
+
F,
|
|
406
|
+
O,
|
|
407
|
+
T,
|
|
408
|
+
D,
|
|
409
|
+
P,
|
|
410
|
+
R,
|
|
411
|
+
C,
|
|
412
|
+
U,
|
|
413
|
+
h,
|
|
414
|
+
p,
|
|
415
|
+
i,
|
|
416
|
+
k,
|
|
417
|
+
j,
|
|
418
|
+
L,
|
|
419
|
+
x
|
|
420
|
+
];
|
|
421
|
+
}
|
|
422
|
+
class _e extends se {
|
|
423
|
+
constructor(e) {
|
|
424
|
+
super(), ae(
|
|
425
|
+
this,
|
|
426
|
+
e,
|
|
427
|
+
be,
|
|
428
|
+
ve,
|
|
429
|
+
ie,
|
|
430
|
+
{
|
|
431
|
+
endpoint: 0,
|
|
432
|
+
datasource: 1,
|
|
433
|
+
currency: 2,
|
|
434
|
+
lang: 3,
|
|
435
|
+
session: 4,
|
|
436
|
+
userid: 5,
|
|
437
|
+
clientstyling: 6,
|
|
438
|
+
clientstylingurl: 7,
|
|
439
|
+
livecasino: 8,
|
|
440
|
+
integratedgameframemobile: 9,
|
|
441
|
+
integratedgameframedesktop: 10,
|
|
442
|
+
gamepagemodalurl: 11,
|
|
443
|
+
showgamename: 12,
|
|
444
|
+
visiblegames: 13,
|
|
445
|
+
favorites: 14,
|
|
446
|
+
translationurl: 20,
|
|
447
|
+
casinomygames: 15,
|
|
448
|
+
mostplayedperiod: 21,
|
|
449
|
+
mostplayedrounds: 22,
|
|
450
|
+
fetchviaevent: 16
|
|
451
|
+
},
|
|
452
|
+
fe,
|
|
453
|
+
[-1, -1]
|
|
454
|
+
);
|
|
455
|
+
}
|
|
456
|
+
get endpoint() {
|
|
457
|
+
return this.$$.ctx[0];
|
|
458
|
+
}
|
|
459
|
+
set endpoint(e) {
|
|
460
|
+
this.$$set({ endpoint: e }), l();
|
|
461
|
+
}
|
|
462
|
+
get datasource() {
|
|
463
|
+
return this.$$.ctx[1];
|
|
464
|
+
}
|
|
465
|
+
set datasource(e) {
|
|
466
|
+
this.$$set({ datasource: e }), l();
|
|
467
|
+
}
|
|
468
|
+
get currency() {
|
|
469
|
+
return this.$$.ctx[2];
|
|
470
|
+
}
|
|
471
|
+
set currency(e) {
|
|
472
|
+
this.$$set({ currency: e }), l();
|
|
473
|
+
}
|
|
474
|
+
get lang() {
|
|
475
|
+
return this.$$.ctx[3];
|
|
476
|
+
}
|
|
477
|
+
set lang(e) {
|
|
478
|
+
this.$$set({ lang: e }), l();
|
|
479
|
+
}
|
|
480
|
+
get session() {
|
|
481
|
+
return this.$$.ctx[4];
|
|
482
|
+
}
|
|
483
|
+
set session(e) {
|
|
484
|
+
this.$$set({ session: e }), l();
|
|
485
|
+
}
|
|
486
|
+
get userid() {
|
|
487
|
+
return this.$$.ctx[5];
|
|
488
|
+
}
|
|
489
|
+
set userid(e) {
|
|
490
|
+
this.$$set({ userid: e }), l();
|
|
491
|
+
}
|
|
492
|
+
get clientstyling() {
|
|
493
|
+
return this.$$.ctx[6];
|
|
494
|
+
}
|
|
495
|
+
set clientstyling(e) {
|
|
496
|
+
this.$$set({ clientstyling: e }), l();
|
|
497
|
+
}
|
|
498
|
+
get clientstylingurl() {
|
|
499
|
+
return this.$$.ctx[7];
|
|
500
|
+
}
|
|
501
|
+
set clientstylingurl(e) {
|
|
502
|
+
this.$$set({ clientstylingurl: e }), l();
|
|
503
|
+
}
|
|
504
|
+
get livecasino() {
|
|
505
|
+
return this.$$.ctx[8];
|
|
506
|
+
}
|
|
507
|
+
set livecasino(e) {
|
|
508
|
+
this.$$set({ livecasino: e }), l();
|
|
509
|
+
}
|
|
510
|
+
get integratedgameframemobile() {
|
|
511
|
+
return this.$$.ctx[9];
|
|
512
|
+
}
|
|
513
|
+
set integratedgameframemobile(e) {
|
|
514
|
+
this.$$set({ integratedgameframemobile: e }), l();
|
|
515
|
+
}
|
|
516
|
+
get integratedgameframedesktop() {
|
|
517
|
+
return this.$$.ctx[10];
|
|
518
|
+
}
|
|
519
|
+
set integratedgameframedesktop(e) {
|
|
520
|
+
this.$$set({ integratedgameframedesktop: e }), l();
|
|
521
|
+
}
|
|
522
|
+
get gamepagemodalurl() {
|
|
523
|
+
return this.$$.ctx[11];
|
|
524
|
+
}
|
|
525
|
+
set gamepagemodalurl(e) {
|
|
526
|
+
this.$$set({ gamepagemodalurl: e }), l();
|
|
527
|
+
}
|
|
528
|
+
get showgamename() {
|
|
529
|
+
return this.$$.ctx[12];
|
|
530
|
+
}
|
|
531
|
+
set showgamename(e) {
|
|
532
|
+
this.$$set({ showgamename: e }), l();
|
|
533
|
+
}
|
|
534
|
+
get visiblegames() {
|
|
535
|
+
return this.$$.ctx[13];
|
|
536
|
+
}
|
|
537
|
+
set visiblegames(e) {
|
|
538
|
+
this.$$set({ visiblegames: e }), l();
|
|
539
|
+
}
|
|
540
|
+
get favorites() {
|
|
541
|
+
return this.$$.ctx[14];
|
|
542
|
+
}
|
|
543
|
+
set favorites(e) {
|
|
544
|
+
this.$$set({ favorites: e }), l();
|
|
545
|
+
}
|
|
546
|
+
get translationurl() {
|
|
547
|
+
return this.$$.ctx[20];
|
|
548
|
+
}
|
|
549
|
+
set translationurl(e) {
|
|
550
|
+
this.$$set({ translationurl: e }), l();
|
|
551
|
+
}
|
|
552
|
+
get casinomygames() {
|
|
553
|
+
return this.$$.ctx[15];
|
|
554
|
+
}
|
|
555
|
+
set casinomygames(e) {
|
|
556
|
+
this.$$set({ casinomygames: e }), l();
|
|
557
|
+
}
|
|
558
|
+
get mostplayedperiod() {
|
|
559
|
+
return this.$$.ctx[21];
|
|
560
|
+
}
|
|
561
|
+
set mostplayedperiod(e) {
|
|
562
|
+
this.$$set({ mostplayedperiod: e }), l();
|
|
563
|
+
}
|
|
564
|
+
get mostplayedrounds() {
|
|
565
|
+
return this.$$.ctx[22];
|
|
566
|
+
}
|
|
567
|
+
set mostplayedrounds(e) {
|
|
568
|
+
this.$$set({ mostplayedrounds: e }), l();
|
|
569
|
+
}
|
|
570
|
+
get fetchviaevent() {
|
|
571
|
+
return this.$$.ctx[16];
|
|
572
|
+
}
|
|
573
|
+
set fetchviaevent(e) {
|
|
574
|
+
this.$$set({ fetchviaevent: e }), l();
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
ne(_e, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
|
|
578
|
+
export {
|
|
579
|
+
_e as default
|
|
580
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-9cVNHt1-.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"}};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-CxQ69OwL.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-Dm6f8H02.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-DTXKjmPl.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-y89i0i",".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-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(--emfe-w-casino-typography, var(--emfe-w-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(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-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.favoriteGames?a(28,G=(h=n.data.favoriteGames)==null?void 0:h.length):a(28,G=(k=n.data.listOfFavoritesGames)==null?void 0:k.length);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;
|