@everymatrix/casino-lobby 1.54.6 → 1.54.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoCalendar-BlfnJwZ-.cjs +9 -0
- package/components/{CasinoCalendar-Ic3lq1UY.js → CasinoCalendar-CKCvu8d9.js} +1370 -1378
- package/components/CasinoCalendar-D3cTwZsW.js +5197 -0
- package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-B7hChP4v.js} +90 -90
- package/components/CasinoCalendarDailyDetails-C1T0xNcn.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-CCIR8eIp.js +701 -0
- package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-1iPwEmjb.js} +46 -46
- package/components/CasinoCalendarDailyItem-BNNa1Jdv.js +315 -0
- package/components/CasinoCalendarDailyItem-Bp_PImhJ.cjs +1 -0
- package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-06Zx2Iq-.js} +29 -29
- package/components/CasinoCategoriesSlider-Bjd1r5S5.js +606 -0
- package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +1 -0
- package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-BQPjVzK8.js} +58 -58
- package/components/CasinoCollectionsProviders-CSISd5u6.cjs +1 -0
- package/components/CasinoCollectionsProviders-CVDFBiI0.js +664 -0
- package/components/{CasinoFavoritesSection-D4Du3N5n.js → CasinoFavoritesSection-BtAZ0obR.js} +16 -16
- package/components/CasinoFavoritesSection-CeNe7gym.js +439 -0
- package/components/CasinoFavoritesSection-D7g9PfaJ.cjs +1 -0
- package/components/CasinoFilter-C10Tgn3c.cjs +1 -0
- package/components/CasinoFilter-CT6gjm3V.js +634 -0
- package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-ckjDwsuD.js} +55 -55
- package/components/CasinoGamePage-BXEw8hFH.js +4300 -0
- package/components/{CasinoGamePage-C0VvUfCV.js → CasinoGamePage-CtPmWXKS.js} +90 -90
- package/components/CasinoGamePage-DishJnnG.cjs +18 -0
- package/components/{CasinoGameThumbnail-C-zG9Jn9.js → CasinoGameThumbnail-CPtgI_Ou.js} +63 -63
- package/components/CasinoGameThumbnail-DEA-lJVL.cjs +38 -0
- package/components/CasinoGameThumbnail-DlUjmcUF.js +1850 -0
- package/components/CasinoGamesCategorySection-C004qi0F.cjs +1 -0
- package/components/CasinoGamesCategorySection-DNDGzt_C.js +3032 -0
- package/components/{CasinoGamesCategorySection-DVd_DDkc.js → CasinoGamesCategorySection-DeKVT6Qy.js} +125 -125
- package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-D3s92J-3.js} +68 -68
- package/components/CasinoJackpotBanner-q02RPv4N.js +618 -0
- package/components/CasinoJackpotBanner-uWVFzOiI.cjs +1 -0
- package/components/{CasinoLastPlayedSection-VbQH2qG2.js → CasinoLastPlayedSection-CRSWVIu_.js} +29 -29
- package/components/CasinoLastPlayedSection-tgXO-MUK.cjs +1 -0
- package/components/CasinoLastPlayedSection-vWwXDUsk.js +566 -0
- package/components/CasinoLobby-CzD2DAYm.cjs +1 -0
- package/components/{CasinoLobby-CSsnpzSn.js → CasinoLobby-aK6BWuTG.js} +49 -49
- package/components/CasinoLobby-cHs3HImA.js +2337 -0
- package/components/{CasinoModal-z0xixUlG.js → CasinoModal-C1oW3YF4.js} +69 -69
- package/components/CasinoModal-DRtZi6gR.cjs +1 -0
- package/components/CasinoModal-IbVlgg7Z.js +372 -0
- package/components/CasinoMostPlayedSection-1h4sJVZB.cjs +1 -0
- package/components/{CasinoMostPlayedSection-BIXY9riB.js → CasinoMostPlayedSection-CqCeL-T3.js} +32 -32
- package/components/CasinoMostPlayedSection-GdgKELMj.js +583 -0
- package/components/CasinoMyGames-B_NJlfMk.cjs +1 -0
- package/components/{CasinoMyGames-DqRPb7fX.js → CasinoMyGames-C96xDtTs.js} +52 -52
- package/components/CasinoMyGames-crupH86Y.js +1318 -0
- package/components/CasinoPage-BP3C9X12.cjs +1 -0
- package/components/{CasinoPage-Cm-vD67m.js → CasinoPage-BmaJqL6b.js} +123 -123
- package/components/CasinoPage-LZWtHc8W.js +3550 -0
- package/components/CasinoRandomGame-C6-dDxie.cjs +2 -0
- package/components/CasinoRandomGame-DXFHIw0O.js +668 -0
- package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-Df62wtxc.js} +51 -51
- package/components/CasinoSearch-BcFA6QGN.js +1072 -0
- package/components/CasinoSearch-Dnm7_nuc.cjs +1 -0
- package/components/{CasinoSearch-BEXK-fFP.js → CasinoSearch-akpXIDh-.js} +83 -83
- package/components/CasinoSlider-BDjskQjI.cjs +1 -0
- package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-BWEc4YT5.js} +78 -78
- package/components/CasinoSlider-BjpV4pLV.js +806 -0
- package/components/CasinoSort-CS53Uvnz.cjs +1 -0
- package/components/CasinoSort-DFdgT3Dt.js +432 -0
- package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-DFljh5Sg.js} +16 -16
- package/components/CasinoWinners-6mr0X-kZ.js +971 -0
- package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-CADOvOsd.js} +62 -62
- package/components/CasinoWinners-DU3xFq2b.cjs +1 -0
- package/components/GeneralAnimationLoading-BG_QynCK.cjs +1 -0
- package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-CX9baArf.js} +8 -8
- package/components/GeneralAnimationLoading-DVLCsjn0.js +75 -0
- package/es2015/casino-lobby.cjs +1 -0
- package/es2015/casino-lobby.js +16 -0
- package/esnext/casino-lobby.js +1 -1
- package/package.json +4 -1
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-CoygOtgn.js} +1 -1
- package/stencil/casino-play-random-game-DjMkr-Sg.cjs +371 -0
- package/stencil/casino-play-random-game-DkjQlTyE.js +577 -0
- package/stencil/index-f923e8d1-D64rZ7vf.js +645 -0
- package/stencil/index-f923e8d1-D8EldEUs.js +629 -0
- package/stencil/index-f923e8d1-QzT30J3F.cjs +1 -0
- package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
|
@@ -0,0 +1,664 @@
|
|
|
1
|
+
import { a as we, $ as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as H, d as j, h as T, j as C, k as Me, o as je, l as Te, C as X, r as m, v as O, w as re, m as R, p as _, O as xe, q as I, B as x, P as Fe, Q as ze, A as B, G as N, D as A, R as He, I as Oe, J as Be } from "./CasinoCalendar-D3cTwZsW.js";
|
|
2
|
+
function Y(t, e) {
|
|
3
|
+
we(t, e);
|
|
4
|
+
}
|
|
5
|
+
function Ae(t) {
|
|
6
|
+
Se.set(t);
|
|
7
|
+
}
|
|
8
|
+
const $ = {
|
|
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
|
+
"en-us": {
|
|
100
|
+
collections: "Game Collections",
|
|
101
|
+
providers: "Game Providers",
|
|
102
|
+
loading: "Loading, please wait ..."
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
function Ne(t) {
|
|
106
|
+
Le(t, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{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 .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{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 .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
107
|
+
}
|
|
108
|
+
function ee(t, e, i) {
|
|
109
|
+
const n = t.slice();
|
|
110
|
+
return n[41] = e[i], n;
|
|
111
|
+
}
|
|
112
|
+
function te(t, e, i) {
|
|
113
|
+
const n = t.slice();
|
|
114
|
+
return n[44] = e[i], n;
|
|
115
|
+
}
|
|
116
|
+
function Re(t) {
|
|
117
|
+
let e, i, n, o = (
|
|
118
|
+
/*type*/
|
|
119
|
+
(t[0] == "vendor" ? (
|
|
120
|
+
/*$_*/
|
|
121
|
+
t[11]("providers")
|
|
122
|
+
) : (
|
|
123
|
+
/*$_*/
|
|
124
|
+
t[11]("collections")
|
|
125
|
+
)) + ""
|
|
126
|
+
), r, d, b, p, G, u, c = (
|
|
127
|
+
/*numberOfSlides*/
|
|
128
|
+
t[8] > /*numberOfVisibleSlides*/
|
|
129
|
+
t[9] && ie(t)
|
|
130
|
+
), g = O(
|
|
131
|
+
/*gameCategories*/
|
|
132
|
+
t[3]
|
|
133
|
+
), f = [];
|
|
134
|
+
for (let s = 0; s < g.length; s += 1)
|
|
135
|
+
f[s] = ne(ee(t, g, s));
|
|
136
|
+
return {
|
|
137
|
+
c() {
|
|
138
|
+
e = C("div"), i = C("div"), n = C("p"), r = I(o), d = x(), c && c.c(), b = x(), p = C("div");
|
|
139
|
+
for (let s = 0; s < f.length; s += 1)
|
|
140
|
+
f[s].c();
|
|
141
|
+
m(n, "class", "Title"), m(i, "class", "CategoriesHeader"), m(p, "class", "CategoriesSlider"), Fe(() => (
|
|
142
|
+
/*div1_elementresize_handler*/
|
|
143
|
+
t[27].call(p)
|
|
144
|
+
)), m(e, "class", u = "CasinoCollectionsProviders " + /*mobile*/
|
|
145
|
+
(t[10] ? "Mobile" : "") + " " + /*type*/
|
|
146
|
+
(t[0] === "vendor" ? "Providers" : "Collections"));
|
|
147
|
+
},
|
|
148
|
+
m(s, S) {
|
|
149
|
+
T(s, e, S), _(e, i), _(i, n), _(n, r), _(i, d), c && c.m(i, null), _(e, b), _(e, p);
|
|
150
|
+
for (let a = 0; a < f.length; a += 1)
|
|
151
|
+
f[a] && f[a].m(p, null);
|
|
152
|
+
t[26](p), G = xe(
|
|
153
|
+
p,
|
|
154
|
+
/*div1_elementresize_handler*/
|
|
155
|
+
t[27].bind(p)
|
|
156
|
+
);
|
|
157
|
+
},
|
|
158
|
+
p(s, S) {
|
|
159
|
+
if (S[0] & /*type, $_*/
|
|
160
|
+
2049 && o !== (o = /*type*/
|
|
161
|
+
(s[0] == "vendor" ? (
|
|
162
|
+
/*$_*/
|
|
163
|
+
s[11]("providers")
|
|
164
|
+
) : (
|
|
165
|
+
/*$_*/
|
|
166
|
+
s[11]("collections")
|
|
167
|
+
)) + "") && R(r, o), /*numberOfSlides*/
|
|
168
|
+
s[8] > /*numberOfVisibleSlides*/
|
|
169
|
+
s[9] ? c ? c.p(s, S) : (c = ie(s), c.c(), c.m(i, null)) : c && (c.d(1), c = null), S[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
|
170
|
+
49166) {
|
|
171
|
+
g = O(
|
|
172
|
+
/*gameCategories*/
|
|
173
|
+
s[3]
|
|
174
|
+
);
|
|
175
|
+
let a;
|
|
176
|
+
for (a = 0; a < g.length; a += 1) {
|
|
177
|
+
const h = ee(s, g, a);
|
|
178
|
+
f[a] ? f[a].p(h, S) : (f[a] = ne(h), f[a].c(), f[a].m(p, null));
|
|
179
|
+
}
|
|
180
|
+
for (; a < f.length; a += 1)
|
|
181
|
+
f[a].d(1);
|
|
182
|
+
f.length = g.length;
|
|
183
|
+
}
|
|
184
|
+
S[0] & /*mobile, type*/
|
|
185
|
+
1025 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
|
|
186
|
+
(s[10] ? "Mobile" : "") + " " + /*type*/
|
|
187
|
+
(s[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", u);
|
|
188
|
+
},
|
|
189
|
+
d(s) {
|
|
190
|
+
s && j(e), c && c.d(), re(f, s), t[26](null), G();
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
function Ie(t) {
|
|
195
|
+
let e;
|
|
196
|
+
return {
|
|
197
|
+
c() {
|
|
198
|
+
e = C("div"), m(e, "class", "LoadingSpinner");
|
|
199
|
+
},
|
|
200
|
+
m(i, n) {
|
|
201
|
+
T(i, e, n);
|
|
202
|
+
},
|
|
203
|
+
p: H,
|
|
204
|
+
d(i) {
|
|
205
|
+
i && j(e);
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
function ie(t) {
|
|
210
|
+
let e, i, n, o, r, d;
|
|
211
|
+
return {
|
|
212
|
+
c() {
|
|
213
|
+
e = C("div"), i = C("button"), i.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"><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"></path></svg>', n = x(), o = C("button"), o.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"><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"></path></svg>', m(e, "class", "ButtonsContainer");
|
|
214
|
+
},
|
|
215
|
+
m(b, p) {
|
|
216
|
+
T(b, e, p), _(e, i), _(e, n), _(e, o), r || (d = [
|
|
217
|
+
B(
|
|
218
|
+
i,
|
|
219
|
+
"click",
|
|
220
|
+
/*click_handler*/
|
|
221
|
+
t[22]
|
|
222
|
+
),
|
|
223
|
+
B(
|
|
224
|
+
o,
|
|
225
|
+
"click",
|
|
226
|
+
/*click_handler_1*/
|
|
227
|
+
t[23]
|
|
228
|
+
)
|
|
229
|
+
], r = !0);
|
|
230
|
+
},
|
|
231
|
+
p: H,
|
|
232
|
+
d(b) {
|
|
233
|
+
b && j(e), r = !1, ze(d);
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
function Ue(t) {
|
|
238
|
+
let e, i = (
|
|
239
|
+
/*category*/
|
|
240
|
+
t[41].name + ""
|
|
241
|
+
), n;
|
|
242
|
+
return {
|
|
243
|
+
c() {
|
|
244
|
+
e = C("p"), n = I(i), m(e, "class", "CategorySlideTitle");
|
|
245
|
+
},
|
|
246
|
+
m(o, r) {
|
|
247
|
+
T(o, e, r), _(e, n);
|
|
248
|
+
},
|
|
249
|
+
p(o, r) {
|
|
250
|
+
r[0] & /*gameCategories*/
|
|
251
|
+
8 && i !== (i = /*category*/
|
|
252
|
+
o[41].name + "") && R(n, i);
|
|
253
|
+
},
|
|
254
|
+
d(o) {
|
|
255
|
+
o && j(e);
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
function Ee(t) {
|
|
260
|
+
let e, i, n;
|
|
261
|
+
return {
|
|
262
|
+
c() {
|
|
263
|
+
e = C("img"), m(e, "class", "CategorySlideLogo"), A(e.src, i = /*category*/
|
|
264
|
+
t[41].icon) || m(e, "src", i), m(e, "alt", n = /*category*/
|
|
265
|
+
t[41].name + " icon");
|
|
266
|
+
},
|
|
267
|
+
m(o, r) {
|
|
268
|
+
T(o, e, r);
|
|
269
|
+
},
|
|
270
|
+
p(o, r) {
|
|
271
|
+
r[0] & /*gameCategories*/
|
|
272
|
+
8 && !A(e.src, i = /*category*/
|
|
273
|
+
o[41].icon) && m(e, "src", i), r[0] & /*gameCategories*/
|
|
274
|
+
8 && n !== (n = /*category*/
|
|
275
|
+
o[41].name + " icon") && m(e, "alt", n);
|
|
276
|
+
},
|
|
277
|
+
d(o) {
|
|
278
|
+
o && j(e);
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
function le(t) {
|
|
283
|
+
let e, i = (
|
|
284
|
+
/*game*/
|
|
285
|
+
t[44].name + ""
|
|
286
|
+
), n, o;
|
|
287
|
+
return {
|
|
288
|
+
c() {
|
|
289
|
+
e = C("p"), n = I(i), m(e, "title", o = /*game*/
|
|
290
|
+
t[44].name);
|
|
291
|
+
},
|
|
292
|
+
m(r, d) {
|
|
293
|
+
T(r, e, d), _(e, n);
|
|
294
|
+
},
|
|
295
|
+
p(r, d) {
|
|
296
|
+
d[0] & /*gameCategories*/
|
|
297
|
+
8 && i !== (i = /*game*/
|
|
298
|
+
r[44].name + "") && R(n, i), d[0] & /*gameCategories*/
|
|
299
|
+
8 && o !== (o = /*game*/
|
|
300
|
+
r[44].name) && m(e, "title", o);
|
|
301
|
+
},
|
|
302
|
+
d(r) {
|
|
303
|
+
r && j(e);
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
function oe(t) {
|
|
308
|
+
let e, i, n, o, r, d, b, p;
|
|
309
|
+
function G() {
|
|
310
|
+
return (
|
|
311
|
+
/*click_handler_2*/
|
|
312
|
+
t[24](
|
|
313
|
+
/*game*/
|
|
314
|
+
t[44]
|
|
315
|
+
)
|
|
316
|
+
);
|
|
317
|
+
}
|
|
318
|
+
let u = (
|
|
319
|
+
/*collectionprovidersgamenames*/
|
|
320
|
+
t[2] == "true" && le(t)
|
|
321
|
+
);
|
|
322
|
+
return {
|
|
323
|
+
c() {
|
|
324
|
+
e = C("div"), i = C("img"), r = x(), u && u.c(), d = x(), m(i, "class", "CategorySlideGameImage"), A(i.src, n = /*game*/
|
|
325
|
+
t[44].defaultThumbnail) || m(i, "src", n), m(i, "alt", o = /*game*/
|
|
326
|
+
t[44].name), m(e, "class", "CategorySlideGames");
|
|
327
|
+
},
|
|
328
|
+
m(c, g) {
|
|
329
|
+
T(c, e, g), _(e, i), _(e, r), u && u.m(e, null), _(e, d), b || (p = B(i, "click", He(G)), b = !0);
|
|
330
|
+
},
|
|
331
|
+
p(c, g) {
|
|
332
|
+
t = c, g[0] & /*gameCategories*/
|
|
333
|
+
8 && !A(i.src, n = /*game*/
|
|
334
|
+
t[44].defaultThumbnail) && m(i, "src", n), g[0] & /*gameCategories*/
|
|
335
|
+
8 && o !== (o = /*game*/
|
|
336
|
+
t[44].name) && m(i, "alt", o), /*collectionprovidersgamenames*/
|
|
337
|
+
t[2] == "true" ? u ? u.p(t, g) : (u = le(t), u.c(), u.m(e, d)) : u && (u.d(1), u = null);
|
|
338
|
+
},
|
|
339
|
+
d(c) {
|
|
340
|
+
c && j(e), u && u.d(), b = !1, p();
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
function ne(t) {
|
|
345
|
+
let e, i, n, o, r, d, b, p, G;
|
|
346
|
+
function u(a, h) {
|
|
347
|
+
if (
|
|
348
|
+
/*titletype*/
|
|
349
|
+
a[1] == "logo"
|
|
350
|
+
) return Ee;
|
|
351
|
+
if (
|
|
352
|
+
/*titletype*/
|
|
353
|
+
a[1] == "title"
|
|
354
|
+
) return Ue;
|
|
355
|
+
}
|
|
356
|
+
let c = u(t), g = c && c(t), f = O(
|
|
357
|
+
/*category*/
|
|
358
|
+
t[41].games
|
|
359
|
+
), s = [];
|
|
360
|
+
for (let a = 0; a < f.length; a += 1)
|
|
361
|
+
s[a] = oe(te(t, f, a));
|
|
362
|
+
function S() {
|
|
363
|
+
return (
|
|
364
|
+
/*click_handler_3*/
|
|
365
|
+
t[25](
|
|
366
|
+
/*category*/
|
|
367
|
+
t[41]
|
|
368
|
+
)
|
|
369
|
+
);
|
|
370
|
+
}
|
|
371
|
+
return {
|
|
372
|
+
c() {
|
|
373
|
+
var a, h;
|
|
374
|
+
e = C("div"), i = C("div"), n = C("div"), g && g.c(), o = x(), r = C("div");
|
|
375
|
+
for (let v = 0; v < s.length; v += 1)
|
|
376
|
+
s[v].c();
|
|
377
|
+
b = x(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", d = "CategorySlide " + /*category*/
|
|
378
|
+
(((a = t[41]) == null ? void 0 : a.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")), N(i, "background-image", "url(" + /*category*/
|
|
379
|
+
((h = t[41]) == null ? void 0 : h.background) + ")"), N(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
|
|
380
|
+
},
|
|
381
|
+
m(a, h) {
|
|
382
|
+
T(a, e, h), _(e, i), _(i, n), g && g.m(n, null), _(i, o), _(i, r);
|
|
383
|
+
for (let v = 0; v < s.length; v += 1)
|
|
384
|
+
s[v] && s[v].m(r, null);
|
|
385
|
+
_(e, b), p || (G = B(i, "click", S), p = !0);
|
|
386
|
+
},
|
|
387
|
+
p(a, h) {
|
|
388
|
+
var v, F;
|
|
389
|
+
if (t = a, c === (c = u(t)) && g ? g.p(t, h) : (g && g.d(1), g = c && c(t), g && (g.c(), g.m(n, null))), h[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
|
390
|
+
16396) {
|
|
391
|
+
f = O(
|
|
392
|
+
/*category*/
|
|
393
|
+
t[41].games
|
|
394
|
+
);
|
|
395
|
+
let w;
|
|
396
|
+
for (w = 0; w < f.length; w += 1) {
|
|
397
|
+
const L = te(t, f, w);
|
|
398
|
+
s[w] ? s[w].p(L, h) : (s[w] = oe(L), s[w].c(), s[w].m(r, null));
|
|
399
|
+
}
|
|
400
|
+
for (; w < s.length; w += 1)
|
|
401
|
+
s[w].d(1);
|
|
402
|
+
s.length = f.length;
|
|
403
|
+
}
|
|
404
|
+
h[0] & /*gameCategories*/
|
|
405
|
+
8 && d !== (d = "CategorySlide " + /*category*/
|
|
406
|
+
(((v = t[41]) == null ? void 0 : v.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", d), h[0] & /*gameCategories*/
|
|
407
|
+
8 && N(i, "background-image", "url(" + /*category*/
|
|
408
|
+
((F = t[41]) == null ? void 0 : F.background) + ")");
|
|
409
|
+
},
|
|
410
|
+
d(a) {
|
|
411
|
+
a && j(e), g && g.d(), re(s, a), p = !1, G();
|
|
412
|
+
}
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
function We(t) {
|
|
416
|
+
let e;
|
|
417
|
+
function i(r, d) {
|
|
418
|
+
return (
|
|
419
|
+
/*isLoading*/
|
|
420
|
+
r[7] ? Ie : Re
|
|
421
|
+
);
|
|
422
|
+
}
|
|
423
|
+
let n = i(t), o = n(t);
|
|
424
|
+
return {
|
|
425
|
+
c() {
|
|
426
|
+
e = C("div"), o.c();
|
|
427
|
+
},
|
|
428
|
+
m(r, d) {
|
|
429
|
+
T(r, e, d), o.m(e, null), t[28](e);
|
|
430
|
+
},
|
|
431
|
+
p(r, d) {
|
|
432
|
+
n === (n = i(r)) && o ? o.p(r, d) : (o.d(1), o = n(r), o && (o.c(), o.m(e, null)));
|
|
433
|
+
},
|
|
434
|
+
i: H,
|
|
435
|
+
o: H,
|
|
436
|
+
d(r) {
|
|
437
|
+
r && j(e), o.d(), t[28](null);
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
function De(t, e, i) {
|
|
442
|
+
let n;
|
|
443
|
+
Me(t, Be, (l) => i(11, n = l));
|
|
444
|
+
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: b = "" } = e, { titletype: p = "" } = e, { clientstyling: G = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: g = "" } = e, f = [], s = !0, S, a = 0, h = 0, v = 0, F, w, L, ae = window.navigator.userAgent, U, z = 0;
|
|
445
|
+
const se = () => {
|
|
446
|
+
fetch(c).then((y) => y.json()).then((y) => {
|
|
447
|
+
Object.keys(y).forEach((k) => {
|
|
448
|
+
Y(k, y[k]);
|
|
449
|
+
});
|
|
450
|
+
}).catch((y) => {
|
|
451
|
+
console.log(y);
|
|
452
|
+
});
|
|
453
|
+
};
|
|
454
|
+
Object.keys($).forEach((l) => {
|
|
455
|
+
Y(l, $[l]);
|
|
456
|
+
});
|
|
457
|
+
const ce = () => {
|
|
458
|
+
const l = new URL(`${o}/v2/casino/groups/${r}`);
|
|
459
|
+
l.searchParams.append("language", d), l.searchParams.append("expand", "games"), fetch(l.href).then((y) => y.json()).then((y) => {
|
|
460
|
+
i(7, s = !1);
|
|
461
|
+
let k = y.items.filter((P) => P.flags == b);
|
|
462
|
+
i(3, f = k.map((P) => {
|
|
463
|
+
var K, Z, Q;
|
|
464
|
+
return {
|
|
465
|
+
id: P.id,
|
|
466
|
+
name: P.name,
|
|
467
|
+
icon: P.icon ? P.icon : (Q = (Z = (K = P.vendors) == null ? void 0 : K.items[0]) == null ? void 0 : Z.subVendors[0]) == null ? void 0 : Q.logo,
|
|
468
|
+
games: P.games.items.slice(0, 4).map((ye) => ye),
|
|
469
|
+
background: P.background,
|
|
470
|
+
flag: P.flags
|
|
471
|
+
};
|
|
472
|
+
})), i(8, h = f.length);
|
|
473
|
+
});
|
|
474
|
+
}, E = (l) => {
|
|
475
|
+
w = [...S.children], w.forEach((y, k) => {
|
|
476
|
+
y.style.transform = `translateX(${100 * (l ? k - l : k)}%)`;
|
|
477
|
+
}), F = w[0].getBoundingClientRect().width, de();
|
|
478
|
+
}, de = () => {
|
|
479
|
+
i(9, v = Math.floor(z / F));
|
|
480
|
+
}, W = () => {
|
|
481
|
+
E(a);
|
|
482
|
+
}, D = () => {
|
|
483
|
+
a === 0 ? a = h - v : a - v < -1 ? a = 0 : a--, W();
|
|
484
|
+
}, V = () => {
|
|
485
|
+
a === h - v ? a = 0 : h - v < a + 1 ? a = h - v : a++, W();
|
|
486
|
+
}, q = (l, y, k, P) => {
|
|
487
|
+
window.postMessage(
|
|
488
|
+
{
|
|
489
|
+
type: "OpenCollectionsProvidersGame",
|
|
490
|
+
gameId: l,
|
|
491
|
+
launchUrl: y,
|
|
492
|
+
gameName: k,
|
|
493
|
+
subVendor: P
|
|
494
|
+
},
|
|
495
|
+
window.location.href
|
|
496
|
+
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
|
497
|
+
context: "CollectionsProviders",
|
|
498
|
+
gameName: `${k}`
|
|
499
|
+
});
|
|
500
|
+
}, J = (l) => {
|
|
501
|
+
window.postMessage(
|
|
502
|
+
{
|
|
503
|
+
type: "OpenCollectionsProvidersCategory",
|
|
504
|
+
categoryId: l
|
|
505
|
+
},
|
|
506
|
+
window.location.href
|
|
507
|
+
);
|
|
508
|
+
}, ge = () => {
|
|
509
|
+
Ae(d);
|
|
510
|
+
}, ue = () => {
|
|
511
|
+
let l = document.createElement("style");
|
|
512
|
+
l.innerHTML = G, L.appendChild(l);
|
|
513
|
+
}, fe = () => {
|
|
514
|
+
let l = new URL(u), y = document.createElement("style");
|
|
515
|
+
fetch(l.href).then((k) => k.text()).then((k) => {
|
|
516
|
+
y.innerHTML = k, setTimeout(
|
|
517
|
+
() => {
|
|
518
|
+
L.appendChild(y);
|
|
519
|
+
},
|
|
520
|
+
1
|
|
521
|
+
);
|
|
522
|
+
});
|
|
523
|
+
};
|
|
524
|
+
je(() => {
|
|
525
|
+
i(10, U = Te(ae));
|
|
526
|
+
});
|
|
527
|
+
const me = () => D(), pe = () => V(), he = (l) => q(l.gameId, l.launchUrl, l.name, l.subVendor), ve = (l) => J(l.id);
|
|
528
|
+
function _e(l) {
|
|
529
|
+
X[l ? "unshift" : "push"](() => {
|
|
530
|
+
S = l, i(4, S);
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
function Ce() {
|
|
534
|
+
z = this.clientWidth, i(6, z);
|
|
535
|
+
}
|
|
536
|
+
function be(l) {
|
|
537
|
+
X[l ? "unshift" : "push"](() => {
|
|
538
|
+
L = l, i(5, L);
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
return t.$$set = (l) => {
|
|
542
|
+
"endpoint" in l && i(16, o = l.endpoint), "datasource" in l && i(17, r = l.datasource), "lang" in l && i(18, d = l.lang), "type" in l && i(0, b = l.type), "titletype" in l && i(1, p = l.titletype), "clientstyling" in l && i(19, G = l.clientstyling), "clientstylingurl" in l && i(20, u = l.clientstylingurl), "translationurl" in l && i(21, c = l.translationurl), "collectionprovidersgamenames" in l && i(2, g = l.collectionprovidersgamenames);
|
|
543
|
+
}, t.$$.update = () => {
|
|
544
|
+
t.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
545
|
+
458752 && o && r && d && ce(), t.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
|
|
546
|
+
88 && z && f && S && E(), t.$$.dirty[0] & /*lang*/
|
|
547
|
+
262144 && d && ge(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
548
|
+
524320 && G && L && ue(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
549
|
+
1048608 && u && L && fe(), t.$$.dirty[0] & /*translationurl*/
|
|
550
|
+
2097152 && c && se();
|
|
551
|
+
}, [
|
|
552
|
+
b,
|
|
553
|
+
p,
|
|
554
|
+
g,
|
|
555
|
+
f,
|
|
556
|
+
S,
|
|
557
|
+
L,
|
|
558
|
+
z,
|
|
559
|
+
s,
|
|
560
|
+
h,
|
|
561
|
+
v,
|
|
562
|
+
U,
|
|
563
|
+
n,
|
|
564
|
+
D,
|
|
565
|
+
V,
|
|
566
|
+
q,
|
|
567
|
+
J,
|
|
568
|
+
o,
|
|
569
|
+
r,
|
|
570
|
+
d,
|
|
571
|
+
G,
|
|
572
|
+
u,
|
|
573
|
+
c,
|
|
574
|
+
me,
|
|
575
|
+
pe,
|
|
576
|
+
he,
|
|
577
|
+
ve,
|
|
578
|
+
_e,
|
|
579
|
+
Ce,
|
|
580
|
+
be
|
|
581
|
+
];
|
|
582
|
+
}
|
|
583
|
+
class Ve extends ke {
|
|
584
|
+
constructor(e) {
|
|
585
|
+
super(), Ge(
|
|
586
|
+
this,
|
|
587
|
+
e,
|
|
588
|
+
De,
|
|
589
|
+
We,
|
|
590
|
+
Pe,
|
|
591
|
+
{
|
|
592
|
+
endpoint: 16,
|
|
593
|
+
datasource: 17,
|
|
594
|
+
lang: 18,
|
|
595
|
+
type: 0,
|
|
596
|
+
titletype: 1,
|
|
597
|
+
clientstyling: 19,
|
|
598
|
+
clientstylingurl: 20,
|
|
599
|
+
translationurl: 21,
|
|
600
|
+
collectionprovidersgamenames: 2
|
|
601
|
+
},
|
|
602
|
+
Ne,
|
|
603
|
+
[-1, -1]
|
|
604
|
+
);
|
|
605
|
+
}
|
|
606
|
+
get endpoint() {
|
|
607
|
+
return this.$$.ctx[16];
|
|
608
|
+
}
|
|
609
|
+
set endpoint(e) {
|
|
610
|
+
this.$$set({ endpoint: e }), M();
|
|
611
|
+
}
|
|
612
|
+
get datasource() {
|
|
613
|
+
return this.$$.ctx[17];
|
|
614
|
+
}
|
|
615
|
+
set datasource(e) {
|
|
616
|
+
this.$$set({ datasource: e }), M();
|
|
617
|
+
}
|
|
618
|
+
get lang() {
|
|
619
|
+
return this.$$.ctx[18];
|
|
620
|
+
}
|
|
621
|
+
set lang(e) {
|
|
622
|
+
this.$$set({ lang: e }), M();
|
|
623
|
+
}
|
|
624
|
+
get type() {
|
|
625
|
+
return this.$$.ctx[0];
|
|
626
|
+
}
|
|
627
|
+
set type(e) {
|
|
628
|
+
this.$$set({ type: e }), M();
|
|
629
|
+
}
|
|
630
|
+
get titletype() {
|
|
631
|
+
return this.$$.ctx[1];
|
|
632
|
+
}
|
|
633
|
+
set titletype(e) {
|
|
634
|
+
this.$$set({ titletype: e }), M();
|
|
635
|
+
}
|
|
636
|
+
get clientstyling() {
|
|
637
|
+
return this.$$.ctx[19];
|
|
638
|
+
}
|
|
639
|
+
set clientstyling(e) {
|
|
640
|
+
this.$$set({ clientstyling: e }), M();
|
|
641
|
+
}
|
|
642
|
+
get clientstylingurl() {
|
|
643
|
+
return this.$$.ctx[20];
|
|
644
|
+
}
|
|
645
|
+
set clientstylingurl(e) {
|
|
646
|
+
this.$$set({ clientstylingurl: e }), M();
|
|
647
|
+
}
|
|
648
|
+
get translationurl() {
|
|
649
|
+
return this.$$.ctx[21];
|
|
650
|
+
}
|
|
651
|
+
set translationurl(e) {
|
|
652
|
+
this.$$set({ translationurl: e }), M();
|
|
653
|
+
}
|
|
654
|
+
get collectionprovidersgamenames() {
|
|
655
|
+
return this.$$.ctx[2];
|
|
656
|
+
}
|
|
657
|
+
set collectionprovidersgamenames(e) {
|
|
658
|
+
this.$$set({ collectionprovidersgamenames: e }), M();
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
Oe(Ve, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
|
|
662
|
+
export {
|
|
663
|
+
Ve as default
|
|
664
|
+
};
|