@everymatrix/casino-page-nd 1.0.69 → 1.0.70
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-5u74DcLE.cjs +6 -0
- package/components/CasinoCalendar-Dshv21Cf.js +4908 -0
- package/components/CasinoCalendarDailyDetails-BRBMLsB7.js +605 -0
- package/components/CasinoCalendarDailyDetails-Cn3MGBtm.cjs +1 -0
- package/components/CasinoCalendarDailyItem-DUfbw99q.js +228 -0
- package/components/CasinoCalendarDailyItem-Dd5Qwauh.cjs +1 -0
- package/components/CasinoCollectionsProviders-BTfRZJih.js +624 -0
- package/components/CasinoCollectionsProviders-Dpdu7x_G.cjs +1 -0
- package/components/CasinoFavoritesSectionNd-ByJ_eTZg.cjs +1 -0
- package/components/CasinoFavoritesSectionNd-DDWpN4gz.js +418 -0
- package/components/CasinoFilter-CMSoB-g5.js +628 -0
- package/components/CasinoFilter-tlkFocSg.cjs +1 -0
- package/components/CasinoGameThumbnailNd-CgJCFekB.cjs +39 -0
- package/components/CasinoGameThumbnailNd-Dnvi9XzQ.js +4403 -0
- package/components/CasinoGamesCategorySectionNd-BPf6pC8C.cjs +1 -0
- package/components/CasinoGamesCategorySectionNd-BYI7mKab.js +3018 -0
- package/components/CasinoJackpotBanner-1haMylVJ.cjs +1 -0
- package/components/CasinoJackpotBanner-uk0S8Dbs.js +619 -0
- package/components/CasinoLastPlayedSectionNd-BoS8v_Zv.cjs +1 -0
- package/components/CasinoLastPlayedSectionNd-DmzCxUN1.js +563 -0
- package/components/CasinoMostPlayedSectionNd-STZksmhK.js +580 -0
- package/components/CasinoMostPlayedSectionNd-anNR6iCn.cjs +1 -0
- package/components/CasinoMyGamesNd-BAODfgXZ.js +1313 -0
- package/components/CasinoMyGamesNd-Dk4TIAdJ.cjs +1 -0
- package/components/CasinoPageNd-B1ei1g-G.cjs +1 -0
- package/components/CasinoPageNd-DxwIploB.js +3525 -0
- package/components/CasinoRandomGame-C6T9mp6M.js +641 -0
- package/components/CasinoRandomGame-XO0pxgx1.cjs +2 -0
- package/components/CasinoSearchNd-CReTBete.js +1066 -0
- package/components/CasinoSearchNd-rHtHrOWF.cjs +1 -0
- package/components/CasinoSort-DSMtMOLF.cjs +1 -0
- package/components/CasinoSort-US1B32po.js +425 -0
- package/components/CasinoWinners-C_0O4Zpr.js +878 -0
- package/components/CasinoWinners-u8y7Ze1v.cjs +1 -0
- package/components/GeneralAnimationLoading-CX5EA8zI.cjs +1 -0
- package/components/GeneralAnimationLoading-C_l_vwEq.js +75 -0
- package/package.json +12 -11
|
@@ -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 Le, m as Pe, n as X, q as F, u as A, r as T, v as h, w as H, A as N, B as ie, K as xe, G as B, L as Me, D as O, M as je } from "./CasinoCalendar-Dshv21Cf.js";
|
|
2
|
+
function Y(t, e) {
|
|
3
|
+
_e(t, e);
|
|
4
|
+
}
|
|
5
|
+
function Te(t) {
|
|
6
|
+
be.set(t);
|
|
7
|
+
}
|
|
8
|
+
const Q = {
|
|
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, P, 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 || (P = [
|
|
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(P);
|
|
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 P() {
|
|
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", P), 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, P, 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
|
+
Y(w, C[w]);
|
|
416
|
+
});
|
|
417
|
+
}).catch((C) => {
|
|
418
|
+
console.log(C);
|
|
419
|
+
});
|
|
420
|
+
};
|
|
421
|
+
Object.keys(Q).forEach((s) => {
|
|
422
|
+
Y(s, Q[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((L) => L.flags == b);
|
|
429
|
+
l(3, y = w.map((L) => {
|
|
430
|
+
var K, J, Z;
|
|
431
|
+
return {
|
|
432
|
+
id: L.id,
|
|
433
|
+
name: L.name,
|
|
434
|
+
icon: L.icon ? L.icon : (Z = (J = (K = L.vendors) == null ? void 0 : K.items[0]) == null ? void 0 : J.subVendors[0]) == null ? void 0 : Z.logo,
|
|
435
|
+
games: L.games.items.slice(0, 4).map((Ce) => Ce),
|
|
436
|
+
background: L.background,
|
|
437
|
+
flag: L.flags
|
|
438
|
+
};
|
|
439
|
+
})), c = y.length;
|
|
440
|
+
});
|
|
441
|
+
}, R = (s) => {
|
|
442
|
+
d = [...P.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(P.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, L) => {
|
|
454
|
+
window.postMessage(
|
|
455
|
+
{
|
|
456
|
+
type: "OpenCollectionsProvidersGame",
|
|
457
|
+
gameId: s,
|
|
458
|
+
launchUrl: C,
|
|
459
|
+
gameName: w,
|
|
460
|
+
subVendor: L
|
|
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
|
+
Le(() => {
|
|
492
|
+
l(7, I = Pe(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
|
+
X[s ? "unshift" : "push"](() => {
|
|
497
|
+
P = s, l(4, P);
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
function he(s) {
|
|
501
|
+
X[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 && P && 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
|
+
P,
|
|
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-5u74DcLE.cjs");function B(l,t){e.addMessages(l,t)}function ae(l){e.$locale.set(l)}const A={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."}};function ne(l){e.append_styles(l,"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)}}')}function N(l,t,s){const n=l.slice();return n[39]=t[s],n}function R(l,t,s){const n=l.slice();return n[42]=t[s],n}function oe(l){let t,s,n,a=(l[0]=="vendor"?l[8]("providers"):l[8]("collections"))+"",o,p,_,y,w,u,f,g,C,v,G,c=e.ensure_array_like(l[3]),d=[];for(let r=0;r<c.length;r+=1)d[r]=I(N(l,c,r));return{c(){t=e.element("div"),s=e.element("div"),n=e.element("p"),o=e.text(a),p=e.space(),_=e.element("div"),y=e.element("button"),y.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>',w=e.space(),u=e.element("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>',f=e.space(),g=e.element("div");for(let r=0;r<d.length;r+=1)d[r].c();e.attr(n,"class","Title svelte-5qs4ma"),e.attr(y,"class","svelte-5qs4ma"),e.attr(u,"class","svelte-5qs4ma"),e.attr(_,"class","ButtonsContainer svelte-5qs4ma"),e.attr(s,"class","CategoriesHeader svelte-5qs4ma"),e.attr(g,"class","CategoriesSlider svelte-5qs4ma"),e.attr(t,"class",C="CasinoCollectionsProviders "+(l[7]?"Mobile":"")+" "+(l[0]==="vendor"?"Providers":"Collections")+" svelte-5qs4ma")},m(r,S){e.insert(r,t,S),e.append(t,s),e.append(s,n),e.append(n,o),e.append(s,p),e.append(s,_),e.append(_,y),e.append(_,w),e.append(_,u),e.append(t,f),e.append(t,g);for(let m=0;m<d.length;m+=1)d[m]&&d[m].m(g,null);l[23](g),v||(G=[e.listen(y,"click",l[19]),e.listen(u,"click",l[20])],v=!0)},p(r,S){if(S[0]&257&&a!==(a=(r[0]=="vendor"?r[8]("providers"):r[8]("collections"))+"")&&e.set_data(o,a),S[0]&6158){c=e.ensure_array_like(r[3]);let m;for(m=0;m<c.length;m+=1){const q=N(r,c,m);d[m]?d[m].p(q,S):(d[m]=I(q),d[m].c(),d[m].m(g,null))}for(;m<d.length;m+=1)d[m].d(1);d.length=c.length}S[0]&129&&C!==(C="CasinoCollectionsProviders "+(r[7]?"Mobile":"")+" "+(r[0]==="vendor"?"Providers":"Collections")+" svelte-5qs4ma")&&e.attr(t,"class",C)},d(r){r&&e.detach(t),e.destroy_each(d,r),l[23](null),v=!1,e.run_all(G)}}}function re(l){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner svelte-5qs4ma")},m(s,n){e.insert(s,t,n)},p:e.noop,d(s){s&&e.detach(t)}}}function ce(l){let t,s=l[39].name+"",n;return{c(){t=e.element("p"),n=e.text(s),e.attr(t,"class","CategorySlideTitle svelte-5qs4ma")},m(a,o){e.insert(a,t,o),e.append(t,n)},p(a,o){o[0]&8&&s!==(s=a[39].name+"")&&e.set_data(n,s)},d(a){a&&e.detach(t)}}}function de(l){let t,s,n;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo svelte-5qs4ma"),e.src_url_equal(t.src,s=l[39].icon)||e.attr(t,"src",s),e.attr(t,"alt",n=l[39].name+" icon")},m(a,o){e.insert(a,t,o)},p(a,o){o[0]&8&&!e.src_url_equal(t.src,s=a[39].icon)&&e.attr(t,"src",s),o[0]&8&&n!==(n=a[39].name+" icon")&&e.attr(t,"alt",n)},d(a){a&&e.detach(t)}}}function U(l){let t,s=l[42].name+"",n,a;return{c(){t=e.element("p"),n=e.text(s),e.attr(t,"title",a=l[42].name),e.attr(t,"class","svelte-5qs4ma")},m(o,p){e.insert(o,t,p),e.append(t,n)},p(o,p){p[0]&8&&s!==(s=o[42].name+"")&&e.set_data(n,s),p[0]&8&&a!==(a=o[42].name)&&e.attr(t,"title",a)},d(o){o&&e.detach(t)}}}function E(l){let t,s,n,a,o,p,_,y;function w(){return l[21](l[42])}let u=l[2]=="true"&&U(l);return{c(){t=e.element("div"),s=e.element("img"),o=e.space(),u&&u.c(),p=e.space(),e.attr(s,"class","CategorySlideGameImage svelte-5qs4ma"),e.src_url_equal(s.src,n=l[42].defaultThumbnail)||e.attr(s,"src",n),e.attr(s,"alt",a=l[42].name),e.attr(t,"class","CategorySlideGames svelte-5qs4ma")},m(f,g){e.insert(f,t,g),e.append(t,s),e.append(t,o),u&&u.m(t,null),e.append(t,p),_||(y=e.listen(s,"click",e.stop_propagation(w)),_=!0)},p(f,g){l=f,g[0]&8&&!e.src_url_equal(s.src,n=l[42].defaultThumbnail)&&e.attr(s,"src",n),g[0]&8&&a!==(a=l[42].name)&&e.attr(s,"alt",a),l[2]=="true"?u?u.p(l,g):(u=U(l),u.c(),u.m(t,p)):u&&(u.d(1),u=null)},d(f){f&&e.detach(t),u&&u.d(),_=!1,y()}}}function I(l){let t,s,n,a,o,p,_,y,w;function u(c,d){if(c[1]=="logo")return de;if(c[1]=="title")return ce}let f=u(l),g=f&&f(l),C=e.ensure_array_like(l[39].games),v=[];for(let c=0;c<C.length;c+=1)v[c]=E(R(l,C,c));function G(){return l[22](l[39])}return{c(){var c,d;t=e.element("div"),s=e.element("div"),n=e.element("div"),g&&g.c(),a=e.space(),o=e.element("div");for(let r=0;r<v.length;r+=1)v[r].c();_=e.space(),e.attr(n,"class","CategorySlideTopContainer svelte-5qs4ma"),e.attr(o,"class","CategorySlideGameContainer svelte-5qs4ma"),e.attr(s,"class",p="CategorySlide "+(((c=l[39])==null?void 0:c.flag[0])=="vendor"?"CategorySlideNoHighlight":"")+" svelte-5qs4ma"),e.set_style(s,"background-image","url("+((d=l[39])==null?void 0:d.background)+")"),e.set_style(s,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation svelte-5qs4ma")},m(c,d){e.insert(c,t,d),e.append(t,s),e.append(s,n),g&&g.m(n,null),e.append(s,a),e.append(s,o);for(let r=0;r<v.length;r+=1)v[r]&&v[r].m(o,null);e.append(t,_),y||(w=e.listen(s,"click",G),y=!0)},p(c,d){var r,S;if(l=c,f===(f=u(l))&&g?g.p(l,d):(g&&g.d(1),g=f&&f(l),g&&(g.c(),g.m(n,null))),d[0]&2060){C=e.ensure_array_like(l[39].games);let m;for(m=0;m<C.length;m+=1){const q=R(l,C,m);v[m]?v[m].p(q,d):(v[m]=E(q),v[m].c(),v[m].m(o,null))}for(;m<v.length;m+=1)v[m].d(1);v.length=C.length}d[0]&8&&p!==(p="CategorySlide "+(((r=l[39])==null?void 0:r.flag[0])=="vendor"?"CategorySlideNoHighlight":"")+" svelte-5qs4ma")&&e.attr(s,"class",p),d[0]&8&&e.set_style(s,"background-image","url("+((S=l[39])==null?void 0:S.background)+")")},d(c){c&&e.detach(t),g&&g.d(),e.destroy_each(v,c),y=!1,w()}}}function me(l){let t;function s(o,p){return o[6]?re:oe}let n=s(l),a=n(l);return{c(){t=e.element("div"),a.c(),e.attr(t,"class","svelte-5qs4ma")},m(o,p){e.insert(o,t,p),a.m(t,null),l[24](t)},p(o,p){n===(n=s(o))&&a?a.p(o,p):(a.d(1),a=n(o),a&&(a.c(),a.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),a.d(),l[24](null)}}}function ge(l,t,s){let n;e.component_subscribe(l,e.$format,i=>s(8,n=i));let{endpoint:a=""}=t,{datasource:o=""}=t,{lang:p=""}=t,{type:_=""}=t,{titletype:y=""}=t,{clientstyling:w=""}=t,{clientstylingurl:u=""}=t,{translationurl:f=""}=t,{collectionprovidersgamenames:g=""}=t,C=[],v=!0,G,c=0,d=0,r=0,S,m,q,W=window.navigator.userAgent,P;const D=()=>{fetch(f).then(h=>h.json()).then(h=>{Object.keys(h).forEach(b=>{B(b,h[b])})}).catch(h=>{console.log(h)})};Object.keys(A).forEach(i=>{B(i,A[i])});const K=()=>{const i=new URL(`${a}/v2/casino/groups/${o}`);i.searchParams.append("language",p),i.searchParams.append("expand","games"),fetch(i.href).then(h=>h.json()).then(h=>{s(6,v=!1);let b=h.items.filter(k=>k.flags==_);s(3,C=b.map(k=>{var H,O,z;return{id:k.id,name:k.name,icon:k.icon?k.icon:(z=(O=(H=k.vendors)==null?void 0:H.items[0])==null?void 0:O.subVendors[0])==null?void 0:z.logo,games:k.games.items.slice(0,4).map(ie=>ie),background:k.background,flag:k.flags}})),d=C.length})},L=i=>{m=[...G.children],m.forEach((h,b)=>{h.style.transform=`translateX(${100*(i?b-i:b)}%)`}),m.map(h=>S=h.getBoundingClientRect().width),Z()},Z=()=>{r=Math.round(G.offsetWidth/S)},x=()=>{L(c)},M=()=>{r>=d||(c===0?c=d-r:c-r<-1?c=0:c--,x())},j=()=>{r>=d||(c===d-r?c=0:d-r<c+1?c=d-r:c++,x())},T=(i,h,b,k)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:i,launchUrl:h,gameName:b,subVendor:k},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:`${b}`})},F=i=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:i},window.location.href)},J=()=>{ae(p)},X=()=>{let i=document.createElement("style");i.innerHTML=w,q.appendChild(i)},Y=()=>{let i=new URL(u),h=document.createElement("style");fetch(i.href).then(b=>b.text()).then(b=>{h.innerHTML=b,setTimeout(()=>{q.appendChild(h)},1)})};e.onMount(()=>{s(7,P=e.isMobile(W))});const Q=()=>M(),$=()=>j(),ee=i=>T(i.gameId,i.launchUrl,i.name,i.subVendor),te=i=>F(i.id);function le(i){e.binding_callbacks[i?"unshift":"push"](()=>{G=i,s(4,G)})}function se(i){e.binding_callbacks[i?"unshift":"push"](()=>{q=i,s(5,q)})}return l.$$set=i=>{"endpoint"in i&&s(13,a=i.endpoint),"datasource"in i&&s(14,o=i.datasource),"lang"in i&&s(15,p=i.lang),"type"in i&&s(0,_=i.type),"titletype"in i&&s(1,y=i.titletype),"clientstyling"in i&&s(16,w=i.clientstyling),"clientstylingurl"in i&&s(17,u=i.clientstylingurl),"translationurl"in i&&s(18,f=i.translationurl),"collectionprovidersgamenames"in i&&s(2,g=i.collectionprovidersgamenames)},l.$$.update=()=>{l.$$.dirty[0]&57344&&a&&o&&p&&K(),l.$$.dirty[0]&24&&C&&G&&L(),l.$$.dirty[0]&32768&&p&&J(),l.$$.dirty[0]&65568&&w&&q&&X(),l.$$.dirty[0]&131104&&u&&q&&Y(),l.$$.dirty[0]&262144&&f&&D()},[_,y,g,C,G,q,v,P,n,M,j,T,F,a,o,p,w,u,f,Q,$,ee,te,le,se]}class V extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ge,me,e.safe_not_equal,{endpoint:13,datasource:14,lang:15,type:0,titletype:1,clientstyling:16,clientstylingurl:17,translationurl:18,collectionprovidersgamenames:2},ne,[-1,-1])}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[14]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[15]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}}e.create_custom_element(V,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{}},[],[],!0);exports.default=V;
|