@everymatrix/casino-lobby 1.0.69 → 1.0.71

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.
Files changed (47) hide show
  1. package/components/CasinoCalendar-1k0BBA2l.js +5133 -0
  2. package/components/CasinoCalendar-BWBvGSII.cjs +9 -0
  3. package/components/CasinoCalendarDailyDetails-BJKIAkbG.js +605 -0
  4. package/components/CasinoCalendarDailyDetails-DgCaDV2E.cjs +1 -0
  5. package/components/CasinoCalendarDailyItem-C_l5_Cbi.cjs +1 -0
  6. package/components/CasinoCalendarDailyItem-TzcXj_xp.js +228 -0
  7. package/components/CasinoCategoriesSlider-DOK-1TsD.cjs +1 -0
  8. package/components/CasinoCategoriesSlider-H9kgmTPC.js +597 -0
  9. package/components/CasinoCollectionsProviders-CTMcJfG2.cjs +1 -0
  10. package/components/CasinoCollectionsProviders-DcAD0Be0.js +624 -0
  11. package/components/CasinoFavoritesSection-BZ_XLRmR.cjs +1 -0
  12. package/components/CasinoFavoritesSection-DH6BKL3S.js +418 -0
  13. package/components/CasinoFilter-D7CEXK-l.cjs +1 -0
  14. package/components/CasinoFilter-ud_GEK1c.js +628 -0
  15. package/components/CasinoGamePage-CCUgU-We.js +4282 -0
  16. package/components/CasinoGamePage-DWdj6K_K.cjs +18 -0
  17. package/components/CasinoGameThumbnail-C1lv7WRh.js +1823 -0
  18. package/components/CasinoGameThumbnail-d4TgneFz.cjs +38 -0
  19. package/components/CasinoGamesCategorySection-BHD5W6Ng.cjs +1 -0
  20. package/components/CasinoGamesCategorySection-Exr1MKB1.js +3018 -0
  21. package/components/CasinoJackpotBanner-BFf1l5SE.cjs +1 -0
  22. package/components/CasinoJackpotBanner-CQopUNVw.js +619 -0
  23. package/components/CasinoLastPlayedSection-CT0J4KWo.cjs +1 -0
  24. package/components/CasinoLastPlayedSection-Cg5CoSZQ.js +563 -0
  25. package/components/CasinoLobby-CQ5QQCC5.js +2341 -0
  26. package/components/CasinoLobby-CeXBQomU.cjs +1 -0
  27. package/components/CasinoModal-DRQwRcHh.cjs +1 -0
  28. package/components/CasinoModal-tGpCX8AS.js +372 -0
  29. package/components/CasinoMostPlayedSection-DxHuPS1x.js +580 -0
  30. package/components/CasinoMostPlayedSection-mR65chYs.cjs +1 -0
  31. package/components/CasinoMyGames-BEQmLbuR.js +1313 -0
  32. package/components/CasinoMyGames-fIZN6Hwx.cjs +1 -0
  33. package/components/CasinoPage-B3P3Beyx.js +3525 -0
  34. package/components/CasinoPage-CV3pXWvT.cjs +1 -0
  35. package/components/CasinoRandomGame-BHTCDUvy.cjs +2 -0
  36. package/components/CasinoRandomGame-DVAINYig.js +641 -0
  37. package/components/CasinoSearch-CEyowN7y.cjs +1 -0
  38. package/components/CasinoSearch-DhJUhsQG.js +1066 -0
  39. package/components/CasinoSlider-C9caYXJM.js +803 -0
  40. package/components/CasinoSlider-CeyUOxE1.cjs +1 -0
  41. package/components/CasinoSort-BKpaIJVo.js +425 -0
  42. package/components/CasinoSort-C_BR2AM6.cjs +1 -0
  43. package/components/CasinoWinners-OIwhz7Uv.cjs +1 -0
  44. package/components/CasinoWinners-osa_wAsU.js +878 -0
  45. package/components/GeneralAnimationLoading-Bn_rjnZO.cjs +1 -0
  46. package/components/GeneralAnimationLoading-hP0Vi1pK.js +75 -0
  47. package/package.json +8 -7
@@ -0,0 +1,624 @@
1
+ import { I as _e, $ as be, S as ye, i as qe, f as x, c as we, s as Se, b as ke, e as _, d as g, g as M, C as z, k as j, J as Ge, o as Pe, m as Le, n as Q, q as F, u as A, r as T, v as h, w as H, A as N, B as ie, P as xe, G as B, O as Me, D as O, Q as je } from "./CasinoCalendar-1k0BBA2l.js";
2
+ function X(t, e) {
3
+ _e(t, e);
4
+ }
5
+ function Te(t) {
6
+ be.set(t);
7
+ }
8
+ const Y = {
9
+ en: {
10
+ collections: "Game Collections",
11
+ providers: "Game Providers",
12
+ loading: "Loading, please wait ..."
13
+ },
14
+ "zh-hk": {
15
+ collections: "收藏品",
16
+ providers: "供应商",
17
+ loading: "加載請稍候 ..."
18
+ },
19
+ de: {
20
+ collections: "Game Collections",
21
+ providers: "Game Providers",
22
+ loading: "Laden, bitte warten..."
23
+ },
24
+ it: {
25
+ collections: "Game Collections",
26
+ providers: "Game Providers",
27
+ loading: "Loading, please wait ..."
28
+ },
29
+ fr: {
30
+ collections: "Collections",
31
+ providers: "Fournisseurs",
32
+ loading: "Chargement, veuillez patienter ..."
33
+ },
34
+ es: {
35
+ collections: "Colecciones de juegos",
36
+ providers: "Proveedores de juegos",
37
+ loading: "Cargando…"
38
+ },
39
+ el: {
40
+ collections: "Game Collections",
41
+ providers: "Game Providers",
42
+ loading: "Φορτώνει, παρακαλούμε περιμένετε ..."
43
+ },
44
+ tr: {
45
+ collections: "Oyun Koleksiyonları",
46
+ providers: "Oyun Sağlayıcıları",
47
+ loading: "Yükleniyor, lütfen bekleyin..."
48
+ },
49
+ ru: {
50
+ collections: "Game Collections",
51
+ providers: "Game Providers",
52
+ loading: "Loading, please wait ..."
53
+ },
54
+ ro: {
55
+ collections: "Selectie Jocuri",
56
+ providers: "Furnizori",
57
+ loading: "Se încarcă, asteptati ..."
58
+ },
59
+ hr: {
60
+ collections: "Kolekcije igara",
61
+ providers: "Brendovi igara",
62
+ loading: "Učitavam"
63
+ },
64
+ hu: {
65
+ collections: "Game Collections",
66
+ providers: "Game Providers",
67
+ loading: "Betöltés, kérjük várjon..."
68
+ },
69
+ pl: {
70
+ collections: "Game Collections",
71
+ providers: "Game Providers",
72
+ loading: "Loading, please wait ..."
73
+ },
74
+ pt: {
75
+ collections: "Game Collections",
76
+ providers: "Game Providers",
77
+ loading: "Carregando, por favor espere ..."
78
+ },
79
+ sl: {
80
+ collections: "Game Collections",
81
+ providers: "Game Providers",
82
+ loading: "Loading, please wait ..."
83
+ },
84
+ sr: {
85
+ collections: "Game Collections",
86
+ providers: "Game Providers",
87
+ loading: "Loading, please wait ..."
88
+ },
89
+ "pt-br": {
90
+ collections: "Coleções de jogos",
91
+ providers: "Provedores de jogos",
92
+ Loading: "Carregando, por favor espere..."
93
+ },
94
+ "es-mx": {
95
+ collections: "Colecciones de juego",
96
+ providers: "Proveedores de juego",
97
+ Loading: "Cargando, por favor espere..."
98
+ }
99
+ };
100
+ function Fe(t) {
101
+ ke(t, "svelte-5qs4ma", '.svelte-5qs4ma.svelte-5qs4ma,.svelte-5qs4ma.svelte-5qs4ma::before,.svelte-5qs4ma.svelte-5qs4ma::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders.svelte-5qs4ma.svelte-5qs4ma{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader.svelte-5qs4ma.svelte-5qs4ma{display:flex;justify-content:space-between;height:70px}.CategoriesHeader.svelte-5qs4ma .Title.svelte-5qs4ma{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader.svelte-5qs4ma .ButtonsContainer button.svelte-5qs4ma{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader.svelte-5qs4ma .ButtonsContainer button.svelte-5qs4ma:active{opacity:0.7}.CategoriesSlider.svelte-5qs4ma.svelte-5qs4ma{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper.svelte-5qs4ma.svelte-5qs4ma{position:absolute;top:0;left:0}.CategoriesSlider.svelte-5qs4ma .Animation.svelte-5qs4ma{transition:transform 0.8s}.CategoriesSlider.svelte-5qs4ma .CategorySlide.svelte-5qs4ma{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider.svelte-5qs4ma .CategorySlide.svelte-5qs4ma:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider.svelte-5qs4ma .CategorySlideTopContainer.svelte-5qs4ma{height:100px;display:flex;align-items:center}.CategoriesSlider.svelte-5qs4ma .CategorySlideLogo.svelte-5qs4ma{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider.svelte-5qs4ma .CategorySlideTitle.svelte-5qs4ma{color:var(--emfe-w-casino-typography, var(--emfe-w-color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider.svelte-5qs4ma .CategorySlideGameContainer.svelte-5qs4ma{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider.svelte-5qs4ma .CategorySlideGameImage.svelte-5qs4ma{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider.svelte-5qs4ma .CategorySlideGames.svelte-5qs4ma{color:white;text-align:center}.CategoriesSlider.svelte-5qs4ma .CategorySlideGames p.svelte-5qs4ma{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers.svelte-5qs4ma.svelte-5qs4ma{padding:25px 10px}.Mobile.Collections.svelte-5qs4ma.svelte-5qs4ma{padding:25px 10px}.Mobile.CasinoCollectionsProviders.svelte-5qs4ma.svelte-5qs4ma{padding:25px 10px}.Mobile.svelte-5qs4ma .CategoriesSlider.svelte-5qs4ma{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile.svelte-5qs4ma .CategoriesSlider.svelte-5qs4ma::-webkit-scrollbar{display:none}.Mobile.svelte-5qs4ma .CategorySlide.svelte-5qs4ma{width:80vw;scroll-snap-align:start}.Mobile.svelte-5qs4ma .ButtonsContainer.svelte-5qs4ma{display:none}.Mobile.svelte-5qs4ma .CategorySlideGameImage.svelte-5qs4ma{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner.svelte-5qs4ma.svelte-5qs4ma{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner.svelte-5qs4ma.svelte-5qs4ma:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:svelte-5qs4ma-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5qs4ma-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
102
+ }
103
+ function $(t, e, l) {
104
+ const o = t.slice();
105
+ return o[39] = e[l], o;
106
+ }
107
+ function ee(t, e, l) {
108
+ const o = t.slice();
109
+ return o[42] = e[l], o;
110
+ }
111
+ function He(t) {
112
+ let e, l, o, i = (
113
+ /*type*/
114
+ (t[0] == "vendor" ? (
115
+ /*$_*/
116
+ t[8]("providers")
117
+ ) : (
118
+ /*$_*/
119
+ t[8]("collections")
120
+ )) + ""
121
+ ), a, v, b, q, k, u, p, m, y, f, L, r = F(
122
+ /*gameCategories*/
123
+ t[3]
124
+ ), c = [];
125
+ for (let n = 0; n < r.length; n += 1)
126
+ c[n] = se($(t, r, n));
127
+ return {
128
+ c() {
129
+ e = _("div"), l = _("div"), o = _("p"), a = A(i), v = T(), b = _("div"), q = _("button"), q.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656" class="svelte-5qs4ma"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff" class="svelte-5qs4ma"></path></svg>', k = T(), u = _("button"), u.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656" class="svelte-5qs4ma"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff" class="svelte-5qs4ma"></path></svg>', p = T(), m = _("div");
130
+ for (let n = 0; n < c.length; n += 1)
131
+ c[n].c();
132
+ g(o, "class", "Title svelte-5qs4ma"), g(q, "class", "svelte-5qs4ma"), g(u, "class", "svelte-5qs4ma"), g(b, "class", "ButtonsContainer svelte-5qs4ma"), g(l, "class", "CategoriesHeader svelte-5qs4ma"), g(m, "class", "CategoriesSlider svelte-5qs4ma"), g(e, "class", y = "CasinoCollectionsProviders " + /*mobile*/
133
+ (t[7] ? "Mobile" : "") + " " + /*type*/
134
+ (t[0] === "vendor" ? "Providers" : "Collections") + " svelte-5qs4ma");
135
+ },
136
+ m(n, G) {
137
+ M(n, e, G), h(e, l), h(l, o), h(o, a), h(l, v), h(l, b), h(b, q), h(b, k), h(b, u), h(e, p), h(e, m);
138
+ for (let d = 0; d < c.length; d += 1)
139
+ c[d] && c[d].m(m, null);
140
+ t[23](m), f || (L = [
141
+ H(
142
+ q,
143
+ "click",
144
+ /*click_handler*/
145
+ t[19]
146
+ ),
147
+ H(
148
+ u,
149
+ "click",
150
+ /*click_handler_1*/
151
+ t[20]
152
+ )
153
+ ], f = !0);
154
+ },
155
+ p(n, G) {
156
+ if (G[0] & /*type, $_*/
157
+ 257 && i !== (i = /*type*/
158
+ (n[0] == "vendor" ? (
159
+ /*$_*/
160
+ n[8]("providers")
161
+ ) : (
162
+ /*$_*/
163
+ n[8]("collections")
164
+ )) + "") && N(a, i), G[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
165
+ 6158) {
166
+ r = F(
167
+ /*gameCategories*/
168
+ n[3]
169
+ );
170
+ let d;
171
+ for (d = 0; d < r.length; d += 1) {
172
+ const S = $(n, r, d);
173
+ c[d] ? c[d].p(S, G) : (c[d] = se(S), c[d].c(), c[d].m(m, null));
174
+ }
175
+ for (; d < c.length; d += 1)
176
+ c[d].d(1);
177
+ c.length = r.length;
178
+ }
179
+ G[0] & /*mobile, type*/
180
+ 129 && y !== (y = "CasinoCollectionsProviders " + /*mobile*/
181
+ (n[7] ? "Mobile" : "") + " " + /*type*/
182
+ (n[0] === "vendor" ? "Providers" : "Collections") + " svelte-5qs4ma") && g(e, "class", y);
183
+ },
184
+ d(n) {
185
+ n && j(e), ie(c, n), t[23](null), f = !1, xe(L);
186
+ }
187
+ };
188
+ }
189
+ function Oe(t) {
190
+ let e;
191
+ return {
192
+ c() {
193
+ e = _("div"), g(e, "class", "LoadingSpinner svelte-5qs4ma");
194
+ },
195
+ m(l, o) {
196
+ M(l, e, o);
197
+ },
198
+ p: z,
199
+ d(l) {
200
+ l && j(e);
201
+ }
202
+ };
203
+ }
204
+ function Be(t) {
205
+ let e, l = (
206
+ /*category*/
207
+ t[39].name + ""
208
+ ), o;
209
+ return {
210
+ c() {
211
+ e = _("p"), o = A(l), g(e, "class", "CategorySlideTitle svelte-5qs4ma");
212
+ },
213
+ m(i, a) {
214
+ M(i, e, a), h(e, o);
215
+ },
216
+ p(i, a) {
217
+ a[0] & /*gameCategories*/
218
+ 8 && l !== (l = /*category*/
219
+ i[39].name + "") && N(o, l);
220
+ },
221
+ d(i) {
222
+ i && j(e);
223
+ }
224
+ };
225
+ }
226
+ function ze(t) {
227
+ let e, l, o;
228
+ return {
229
+ c() {
230
+ e = _("img"), g(e, "class", "CategorySlideLogo svelte-5qs4ma"), O(e.src, l = /*category*/
231
+ t[39].icon) || g(e, "src", l), g(e, "alt", o = /*category*/
232
+ t[39].name + " icon");
233
+ },
234
+ m(i, a) {
235
+ M(i, e, a);
236
+ },
237
+ p(i, a) {
238
+ a[0] & /*gameCategories*/
239
+ 8 && !O(e.src, l = /*category*/
240
+ i[39].icon) && g(e, "src", l), a[0] & /*gameCategories*/
241
+ 8 && o !== (o = /*category*/
242
+ i[39].name + " icon") && g(e, "alt", o);
243
+ },
244
+ d(i) {
245
+ i && j(e);
246
+ }
247
+ };
248
+ }
249
+ function te(t) {
250
+ let e, l = (
251
+ /*game*/
252
+ t[42].name + ""
253
+ ), o, i;
254
+ return {
255
+ c() {
256
+ e = _("p"), o = A(l), g(e, "title", i = /*game*/
257
+ t[42].name), g(e, "class", "svelte-5qs4ma");
258
+ },
259
+ m(a, v) {
260
+ M(a, e, v), h(e, o);
261
+ },
262
+ p(a, v) {
263
+ v[0] & /*gameCategories*/
264
+ 8 && l !== (l = /*game*/
265
+ a[42].name + "") && N(o, l), v[0] & /*gameCategories*/
266
+ 8 && i !== (i = /*game*/
267
+ a[42].name) && g(e, "title", i);
268
+ },
269
+ d(a) {
270
+ a && j(e);
271
+ }
272
+ };
273
+ }
274
+ function le(t) {
275
+ let e, l, o, i, a, v, b, q;
276
+ function k() {
277
+ return (
278
+ /*click_handler_2*/
279
+ t[21](
280
+ /*game*/
281
+ t[42]
282
+ )
283
+ );
284
+ }
285
+ let u = (
286
+ /*collectionprovidersgamenames*/
287
+ t[2] == "true" && te(t)
288
+ );
289
+ return {
290
+ c() {
291
+ e = _("div"), l = _("img"), a = T(), u && u.c(), v = T(), g(l, "class", "CategorySlideGameImage svelte-5qs4ma"), O(l.src, o = /*game*/
292
+ t[42].defaultThumbnail) || g(l, "src", o), g(l, "alt", i = /*game*/
293
+ t[42].name), g(e, "class", "CategorySlideGames svelte-5qs4ma");
294
+ },
295
+ m(p, m) {
296
+ M(p, e, m), h(e, l), h(e, a), u && u.m(e, null), h(e, v), b || (q = H(l, "click", je(k)), b = !0);
297
+ },
298
+ p(p, m) {
299
+ t = p, m[0] & /*gameCategories*/
300
+ 8 && !O(l.src, o = /*game*/
301
+ t[42].defaultThumbnail) && g(l, "src", o), m[0] & /*gameCategories*/
302
+ 8 && i !== (i = /*game*/
303
+ t[42].name) && g(l, "alt", i), /*collectionprovidersgamenames*/
304
+ t[2] == "true" ? u ? u.p(t, m) : (u = te(t), u.c(), u.m(e, v)) : u && (u.d(1), u = null);
305
+ },
306
+ d(p) {
307
+ p && j(e), u && u.d(), b = !1, q();
308
+ }
309
+ };
310
+ }
311
+ function se(t) {
312
+ let e, l, o, i, a, v, b, q, k;
313
+ function u(r, c) {
314
+ if (
315
+ /*titletype*/
316
+ r[1] == "logo"
317
+ ) return ze;
318
+ if (
319
+ /*titletype*/
320
+ r[1] == "title"
321
+ ) return Be;
322
+ }
323
+ let p = u(t), m = p && p(t), y = F(
324
+ /*category*/
325
+ t[39].games
326
+ ), f = [];
327
+ for (let r = 0; r < y.length; r += 1)
328
+ f[r] = le(ee(t, y, r));
329
+ function L() {
330
+ return (
331
+ /*click_handler_3*/
332
+ t[22](
333
+ /*category*/
334
+ t[39]
335
+ )
336
+ );
337
+ }
338
+ return {
339
+ c() {
340
+ var r, c;
341
+ e = _("div"), l = _("div"), o = _("div"), m && m.c(), i = T(), a = _("div");
342
+ for (let n = 0; n < f.length; n += 1)
343
+ f[n].c();
344
+ b = T(), g(o, "class", "CategorySlideTopContainer svelte-5qs4ma"), g(a, "class", "CategorySlideGameContainer svelte-5qs4ma"), g(l, "class", v = "CategorySlide " + /*category*/
345
+ (((r = t[39]) == null ? void 0 : r.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "") + " svelte-5qs4ma"), B(l, "background-image", "url(" + /*category*/
346
+ ((c = t[39]) == null ? void 0 : c.background) + ")"), B(l, "background-size", "cover"), g(e, "class", "CategoriesSliderWrapper Animation svelte-5qs4ma");
347
+ },
348
+ m(r, c) {
349
+ M(r, e, c), h(e, l), h(l, o), m && m.m(o, null), h(l, i), h(l, a);
350
+ for (let n = 0; n < f.length; n += 1)
351
+ f[n] && f[n].m(a, null);
352
+ h(e, b), q || (k = H(l, "click", L), q = !0);
353
+ },
354
+ p(r, c) {
355
+ var n, G;
356
+ if (t = r, p === (p = u(t)) && m ? m.p(t, c) : (m && m.d(1), m = p && p(t), m && (m.c(), m.m(o, null))), c[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
357
+ 2060) {
358
+ y = F(
359
+ /*category*/
360
+ t[39].games
361
+ );
362
+ let d;
363
+ for (d = 0; d < y.length; d += 1) {
364
+ const S = ee(t, y, d);
365
+ f[d] ? f[d].p(S, c) : (f[d] = le(S), f[d].c(), f[d].m(a, null));
366
+ }
367
+ for (; d < f.length; d += 1)
368
+ f[d].d(1);
369
+ f.length = y.length;
370
+ }
371
+ c[0] & /*gameCategories*/
372
+ 8 && v !== (v = "CategorySlide " + /*category*/
373
+ (((n = t[39]) == null ? void 0 : n.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "") + " svelte-5qs4ma") && g(l, "class", v), c[0] & /*gameCategories*/
374
+ 8 && B(l, "background-image", "url(" + /*category*/
375
+ ((G = t[39]) == null ? void 0 : G.background) + ")");
376
+ },
377
+ d(r) {
378
+ r && j(e), m && m.d(), ie(f, r), q = !1, k();
379
+ }
380
+ };
381
+ }
382
+ function Ae(t) {
383
+ let e;
384
+ function l(a, v) {
385
+ return (
386
+ /*isLoading*/
387
+ a[6] ? Oe : He
388
+ );
389
+ }
390
+ let o = l(t), i = o(t);
391
+ return {
392
+ c() {
393
+ e = _("div"), i.c(), g(e, "class", "svelte-5qs4ma");
394
+ },
395
+ m(a, v) {
396
+ M(a, e, v), i.m(e, null), t[24](e);
397
+ },
398
+ p(a, v) {
399
+ o === (o = l(a)) && i ? i.p(a, v) : (i.d(1), i = o(a), i && (i.c(), i.m(e, null)));
400
+ },
401
+ i: z,
402
+ o: z,
403
+ d(a) {
404
+ a && j(e), i.d(), t[24](null);
405
+ }
406
+ };
407
+ }
408
+ function Ne(t, e, l) {
409
+ let o;
410
+ Ge(t, Me, (s) => l(8, o = s));
411
+ let { endpoint: i = "" } = e, { datasource: a = "" } = e, { lang: v = "" } = e, { type: b = "" } = e, { titletype: q = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: p = "" } = e, { collectionprovidersgamenames: m = "" } = e, y = [], f = !0, L, r = 0, c = 0, n = 0, G, d, S, oe = window.navigator.userAgent, I;
412
+ const ae = () => {
413
+ fetch(p).then((C) => C.json()).then((C) => {
414
+ Object.keys(C).forEach((w) => {
415
+ X(w, C[w]);
416
+ });
417
+ }).catch((C) => {
418
+ console.log(C);
419
+ });
420
+ };
421
+ Object.keys(Y).forEach((s) => {
422
+ X(s, Y[s]);
423
+ });
424
+ const ne = () => {
425
+ const s = new URL(`${i}/v2/casino/groups/${a}`);
426
+ s.searchParams.append("language", v), s.searchParams.append("expand", "games"), fetch(s.href).then((C) => C.json()).then((C) => {
427
+ l(6, f = !1);
428
+ let w = C.items.filter((P) => P.flags == b);
429
+ l(3, y = w.map((P) => {
430
+ var J, K, Z;
431
+ return {
432
+ id: P.id,
433
+ name: P.name,
434
+ icon: P.icon ? P.icon : (Z = (K = (J = P.vendors) == null ? void 0 : J.items[0]) == null ? void 0 : K.subVendors[0]) == null ? void 0 : Z.logo,
435
+ games: P.games.items.slice(0, 4).map((Ce) => Ce),
436
+ background: P.background,
437
+ flag: P.flags
438
+ };
439
+ })), c = y.length;
440
+ });
441
+ }, R = (s) => {
442
+ d = [...L.children], d.forEach((C, w) => {
443
+ C.style.transform = `translateX(${100 * (s ? w - s : w)}%)`;
444
+ }), d.map((C) => G = C.getBoundingClientRect().width), re();
445
+ }, re = () => {
446
+ n = Math.round(L.offsetWidth / G);
447
+ }, U = () => {
448
+ R(r);
449
+ }, E = () => {
450
+ n >= c || (r === 0 ? r = c - n : r - n < -1 ? r = 0 : r--, U());
451
+ }, D = () => {
452
+ n >= c || (r === c - n ? r = 0 : c - n < r + 1 ? r = c - n : r++, U());
453
+ }, V = (s, C, w, P) => {
454
+ window.postMessage(
455
+ {
456
+ type: "OpenCollectionsProvidersGame",
457
+ gameId: s,
458
+ launchUrl: C,
459
+ gameName: w,
460
+ subVendor: P
461
+ },
462
+ window.location.href
463
+ ), typeof gtag == "function" && gtag("event", "OpenGame", {
464
+ context: "CollectionsProviders",
465
+ gameName: `${w}`
466
+ });
467
+ }, W = (s) => {
468
+ window.postMessage(
469
+ {
470
+ type: "OpenCollectionsProvidersCategory",
471
+ categoryId: s
472
+ },
473
+ window.location.href
474
+ );
475
+ }, ce = () => {
476
+ Te(v);
477
+ }, de = () => {
478
+ let s = document.createElement("style");
479
+ s.innerHTML = k, S.appendChild(s);
480
+ }, me = () => {
481
+ let s = new URL(u), C = document.createElement("style");
482
+ fetch(s.href).then((w) => w.text()).then((w) => {
483
+ C.innerHTML = w, setTimeout(
484
+ () => {
485
+ S.appendChild(C);
486
+ },
487
+ 1
488
+ );
489
+ });
490
+ };
491
+ Pe(() => {
492
+ l(7, I = Le(oe));
493
+ });
494
+ const ge = () => E(), ve = () => D(), ue = (s) => V(s.gameId, s.launchUrl, s.name, s.subVendor), fe = (s) => W(s.id);
495
+ function pe(s) {
496
+ Q[s ? "unshift" : "push"](() => {
497
+ L = s, l(4, L);
498
+ });
499
+ }
500
+ function he(s) {
501
+ Q[s ? "unshift" : "push"](() => {
502
+ S = s, l(5, S);
503
+ });
504
+ }
505
+ return t.$$set = (s) => {
506
+ "endpoint" in s && l(13, i = s.endpoint), "datasource" in s && l(14, a = s.datasource), "lang" in s && l(15, v = s.lang), "type" in s && l(0, b = s.type), "titletype" in s && l(1, q = s.titletype), "clientstyling" in s && l(16, k = s.clientstyling), "clientstylingurl" in s && l(17, u = s.clientstylingurl), "translationurl" in s && l(18, p = s.translationurl), "collectionprovidersgamenames" in s && l(2, m = s.collectionprovidersgamenames);
507
+ }, t.$$.update = () => {
508
+ t.$$.dirty[0] & /*endpoint, datasource, lang*/
509
+ 57344 && i && a && v && ne(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
510
+ 24 && y && L && R(), t.$$.dirty[0] & /*lang*/
511
+ 32768 && v && ce(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
512
+ 65568 && k && S && de(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
513
+ 131104 && u && S && me(), t.$$.dirty[0] & /*translationurl*/
514
+ 262144 && p && ae();
515
+ }, [
516
+ b,
517
+ q,
518
+ m,
519
+ y,
520
+ L,
521
+ S,
522
+ f,
523
+ I,
524
+ o,
525
+ E,
526
+ D,
527
+ V,
528
+ W,
529
+ i,
530
+ a,
531
+ v,
532
+ k,
533
+ u,
534
+ p,
535
+ ge,
536
+ ve,
537
+ ue,
538
+ fe,
539
+ pe,
540
+ he
541
+ ];
542
+ }
543
+ class Ie extends ye {
544
+ constructor(e) {
545
+ super(), qe(
546
+ this,
547
+ e,
548
+ Ne,
549
+ Ae,
550
+ Se,
551
+ {
552
+ endpoint: 13,
553
+ datasource: 14,
554
+ lang: 15,
555
+ type: 0,
556
+ titletype: 1,
557
+ clientstyling: 16,
558
+ clientstylingurl: 17,
559
+ translationurl: 18,
560
+ collectionprovidersgamenames: 2
561
+ },
562
+ Fe,
563
+ [-1, -1]
564
+ );
565
+ }
566
+ get endpoint() {
567
+ return this.$$.ctx[13];
568
+ }
569
+ set endpoint(e) {
570
+ this.$$set({ endpoint: e }), x();
571
+ }
572
+ get datasource() {
573
+ return this.$$.ctx[14];
574
+ }
575
+ set datasource(e) {
576
+ this.$$set({ datasource: e }), x();
577
+ }
578
+ get lang() {
579
+ return this.$$.ctx[15];
580
+ }
581
+ set lang(e) {
582
+ this.$$set({ lang: e }), x();
583
+ }
584
+ get type() {
585
+ return this.$$.ctx[0];
586
+ }
587
+ set type(e) {
588
+ this.$$set({ type: e }), x();
589
+ }
590
+ get titletype() {
591
+ return this.$$.ctx[1];
592
+ }
593
+ set titletype(e) {
594
+ this.$$set({ titletype: e }), x();
595
+ }
596
+ get clientstyling() {
597
+ return this.$$.ctx[16];
598
+ }
599
+ set clientstyling(e) {
600
+ this.$$set({ clientstyling: e }), x();
601
+ }
602
+ get clientstylingurl() {
603
+ return this.$$.ctx[17];
604
+ }
605
+ set clientstylingurl(e) {
606
+ this.$$set({ clientstylingurl: e }), x();
607
+ }
608
+ get translationurl() {
609
+ return this.$$.ctx[18];
610
+ }
611
+ set translationurl(e) {
612
+ this.$$set({ translationurl: e }), x();
613
+ }
614
+ get collectionprovidersgamenames() {
615
+ return this.$$.ctx[2];
616
+ }
617
+ set collectionprovidersgamenames(e) {
618
+ this.$$set({ collectionprovidersgamenames: e }), x();
619
+ }
620
+ }
621
+ we(Ie, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
622
+ export {
623
+ Ie as default
624
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BWBvGSII.cjs");if(typeof window!="undefined"){let a=function(t){return function(...s){try{return t.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-BHD5W6Ng.cjs")).then(({default:t})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",t.element)})}function M({withLocale:a,translations:t}){e.$locale.subscribe(s=>{s==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function q(a){e.append_styles(a,"svelte-g88cii",".CasinoFavoritesSectionContainer.svelte-g88cii{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))}")}function O(a){let t,s;return{c(){t=e.element("div"),s=e.element("casino-games-category-section"),e.set_custom_element_data(s,"session",a[4]),e.set_custom_element_data(s,"userid",a[5]),e.set_custom_element_data(s,"endpoint",a[0]),e.set_custom_element_data(s,"datasource",a[1]),e.set_custom_element_data(s,"lang",a[3]),e.set_custom_element_data(s,"currency",a[2]),e.set_custom_element_data(s,"favorites",a[14]),e.set_custom_element_data(s,"fetchviaevent",a[16]),e.set_custom_element_data(s,"categoryid","FAVORITES"),e.set_custom_element_data(s,"class","CategoryContainer"),e.set_custom_element_data(s,"showgamename",a[11]),e.set_custom_element_data(s,"clientstyling",a[6]),e.set_custom_element_data(s,"clientstylingurl",a[7]),e.set_custom_element_data(s,"livecasino",a[8]),e.set_custom_element_data(s,"visiblegames",a[13]),e.set_custom_element_data(s,"gamepagemodalurl",a[12]),e.set_custom_element_data(s,"integratedgameframedesktop",a[10]),e.set_custom_element_data(s,"integratedgameframemobile",a[9]),e.set_custom_element_data(s,"casinomygames",a[15]),e.attr(t,"class","CasinoFavoritesSectionContainer svelte-g88cii")},m(i,l){e.insert(i,t,l),e.append(t,s),a[18](t)},p(i,[l]){l&16&&e.set_custom_element_data(s,"session",i[4]),l&32&&e.set_custom_element_data(s,"userid",i[5]),l&1&&e.set_custom_element_data(s,"endpoint",i[0]),l&2&&e.set_custom_element_data(s,"datasource",i[1]),l&8&&e.set_custom_element_data(s,"lang",i[3]),l&4&&e.set_custom_element_data(s,"currency",i[2]),l&16384&&e.set_custom_element_data(s,"favorites",i[14]),l&65536&&e.set_custom_element_data(s,"fetchviaevent",i[16]),l&2048&&e.set_custom_element_data(s,"showgamename",i[11]),l&64&&e.set_custom_element_data(s,"clientstyling",i[6]),l&128&&e.set_custom_element_data(s,"clientstylingurl",i[7]),l&256&&e.set_custom_element_data(s,"livecasino",i[8]),l&8192&&e.set_custom_element_data(s,"visiblegames",i[13]),l&4096&&e.set_custom_element_data(s,"gamepagemodalurl",i[12]),l&1024&&e.set_custom_element_data(s,"integratedgameframedesktop",i[10]),l&512&&e.set_custom_element_data(s,"integratedgameframemobile",i[9]),l&32768&&e.set_custom_element_data(s,"casinomygames",i[15])},i:e.noop,o:e.noop,d(i){i&&e.detach(t),a[18](null)}}}function R(a,t,s){let{endpoint:i=""}=t,{datasource:l=""}=t,{currency:g=""}=t,{lang:r=""}=t,{session:f=""}=t,{userid:_=""}=t,{clientstyling:c=""}=t,{clientstylingurl:o=""}=t,{livecasino:d="false"}=t,{integratedgameframemobile:h="false"}=t,{integratedgameframedesktop:y="false"}=t,{showgamename:v=""}=t,{gamepagemodalurl:b="false"}=t,{visiblegames:w=""}=t,{favorites:C=""}=t,{casinomygames:k="false"}=t,{fetchviaevent:F="true"}=t,m;M({withLocale:"en",translations:{}});const E=()=>{let n=document.createElement("style");n.innerHTML=c,m.appendChild(n)},L=()=>{let n=document.createElement("style");fetch(new URL(o)).then(u=>u.text()).then(u=>{n.innerHTML=u,setTimeout(()=>{m.appendChild(n)},1)})};function T(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,s(17,m)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,l=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,c=n.clientstyling),"clientstylingurl"in n&&s(7,o=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,v=n.showgamename),"gamepagemodalurl"in n&&s(12,b=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,C=n.favorites),"casinomygames"in n&&s(15,k=n.casinomygames),"fetchviaevent"in n&&s(16,F=n.fetchviaevent)},a.$$.update=()=>{a.$$.dirty&131136&&c&&m&&E(),a.$$.dirty&131200&&o&&m&&L()},[i,l,g,r,f,_,c,o,d,h,y,v,b,w,C,k,F,m,T]}class S extends e.SvelteComponent{constructor(t){super(),e.init(this,t,R,O,e.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},q)}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[1]}set datasource(t){this.$$set({datasource:t}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(t){this.$$set({currency:t}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[4]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[5]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get favorites(){return this.$$.ctx[14]}set favorites(t){this.$$set({favorites:t}),e.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),e.flush()}}e.create_custom_element(S,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{}},[],[],!0);exports.default=S;