@everymatrix/casino-lobby 1.54.12 → 1.55.0
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-CKCvu8d9.js → CasinoCalendar-BKvw2GLN.js} +1135 -1091
- package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CRnGs6mI.js} +953 -909
- package/components/CasinoCalendar-P6bQ-mxN.cjs +9 -0
- package/components/{CasinoCalendarDailyDetails-CCIR8eIp.js → CasinoCalendarDailyDetails-B-FOmYEZ.js} +45 -45
- package/components/{CasinoCalendarDailyDetails-B7hChP4v.js → CasinoCalendarDailyDetails-DYTiZ7iE.js} +45 -45
- package/components/{CasinoCalendarDailyDetails-C1T0xNcn.cjs → CasinoCalendarDailyDetails-DicGOCGy.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-1iPwEmjb.js → CasinoCalendarDailyItem-BsUUCx7a.js} +46 -46
- package/components/{CasinoCalendarDailyItem-Bp_PImhJ.cjs → CasinoCalendarDailyItem-DDm6oH8O.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-BNNa1Jdv.js → CasinoCalendarDailyItem-DIhsLlMC.js} +46 -46
- package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-C7hbpydX.js} +204 -197
- package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-hJChLXnm.js} +205 -198
- package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +1 -0
- package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BQPjVzK8.js → CasinoCollectionsProviders-CTvTqZY1.js} +273 -278
- package/components/{CasinoCollectionsProviders-CVDFBiI0.js → CasinoCollectionsProviders-Cyc5HYpW.js} +260 -265
- package/components/{CasinoFavoritesSection-Dumr9yPV.js → CasinoFavoritesSection-B4JlTRNa.js} +139 -133
- package/components/CasinoFavoritesSection-CcyN5mtI.cjs +1 -0
- package/components/{CasinoFavoritesSection-WWaIxjOj.js → CasinoFavoritesSection-D4v8HNn9.js} +139 -133
- package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-CgPbbuBc.js} +178 -184
- package/components/{CasinoFilter-C10Tgn3c.cjs → CasinoFilter-EA285UxQ.cjs} +1 -1
- package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-ZQCeB5st.js} +175 -181
- package/components/{CasinoGamePage-DOzefHFS.cjs → CasinoGamePage-D2VGIU0X.cjs} +6 -6
- package/components/{CasinoGamePage-BUpAQtEi.js → CasinoGamePage-DnFlR6PD.js} +1044 -1050
- package/components/{CasinoGamePage-VEREng8k.js → CasinoGamePage-lOejw_q6.js} +1018 -1024
- package/components/{CasinoGameThumbnail-nmpLDgoF.js → CasinoGameThumbnail-Aj4sPAss.js} +403 -424
- package/components/{CasinoGameThumbnail-CWQWsl_s.cjs → CasinoGameThumbnail-ClSBiG0I.cjs} +13 -13
- package/components/{CasinoGameThumbnail-D08-4naW.js → CasinoGameThumbnail-h69vAUbV.js} +523 -512
- package/components/{CasinoGamesCategorySection-u0JnTvTn.js → CasinoGamesCategorySection-C9FCv7PW.js} +736 -674
- package/components/{CasinoGamesCategorySection-DK9t7zLa.js → CasinoGamesCategorySection-PiRBRWmh.js} +1168 -1106
- package/components/CasinoGamesCategorySection-X0aDh13K.cjs +1 -0
- package/components/CasinoJackpotBanner-BdzgC-lW.js +690 -0
- package/components/CasinoJackpotBanner-Dx_3WwEw.js +686 -0
- package/components/CasinoJackpotBanner-rV5P1O6d.cjs +1 -0
- package/components/CasinoLastPlayedSection-BP9oa18h.cjs +1 -0
- package/components/{CasinoLastPlayedSection-CChe4Dsm.js → CasinoLastPlayedSection-BXGcYUad.js} +148 -139
- package/components/{CasinoLastPlayedSection-BoyL9RQI.js → CasinoLastPlayedSection-r73sTCi9.js} +148 -139
- package/components/{CasinoLobby-ClLV4i9d.js → CasinoLobby-60oTKJCK.js} +555 -525
- package/components/CasinoLobby-CB5KGhNa.cjs +1 -0
- package/components/{CasinoLobby-DUYjTD-X.js → CasinoLobby-DHl1_-VE.js} +555 -525
- package/components/CasinoModal-B7R5L0mw.js +368 -0
- package/components/CasinoModal-B7pt3Gcb.cjs +1 -0
- package/components/CasinoModal-wz-kI5U1.js +368 -0
- package/components/{CasinoMostPlayedSection-DQ_xJPuX.cjs → CasinoMostPlayedSection-CaHWOtw_.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-DIF7og_k.js → CasinoMostPlayedSection-CpO0b2PN.js} +34 -34
- package/components/{CasinoMostPlayedSection-qZnaHjV9.js → CasinoMostPlayedSection-CxQrM8-U.js} +34 -34
- package/components/{CasinoMyGames-BfCr8pSL.js → CasinoMyGames-B0AvdkLy.js} +124 -128
- package/components/{CasinoMyGames-B0pWVqCz.cjs → CasinoMyGames-R7NrCxgd.cjs} +1 -1
- package/components/{CasinoMyGames-Bu2sU_i0.js → CasinoMyGames-ieyBjArx.js} +139 -141
- package/components/{CasinoPage-CoKfFrmH.js → CasinoPage-CcV-qeX_.js} +903 -805
- package/components/{CasinoPage-BAJC3ryR.js → CasinoPage-E4Nn1l0F.js} +573 -481
- package/components/CasinoPage-azRHPGyF.cjs +1 -0
- package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-BEOONr7N.js} +244 -246
- package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-D1gqYJkg.cjs} +2 -2
- package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-DoSJSKrA.js} +225 -227
- package/components/CasinoSearch-3nC8pR7D.cjs +1 -0
- package/components/{CasinoSearch-DP4hDzq5.js → CasinoSearch-BOSoxjjv.js} +394 -387
- package/components/{CasinoSearch-U2PDpXMA.js → CasinoSearch-DqfKG5Mj.js} +443 -436
- package/components/{CasinoSlider-BjpV4pLV.js → CasinoSlider-DlBcdeDm.js} +294 -297
- package/components/{CasinoSlider-BDjskQjI.cjs → CasinoSlider-Zgasc58K.cjs} +1 -1
- package/components/{CasinoSlider-BWEc4YT5.js → CasinoSlider-ylo7nRmY.js} +317 -320
- package/components/CasinoSort-CVwRicsk.js +427 -0
- package/components/CasinoSort-D3rxrF3Z.cjs +1 -0
- package/components/CasinoSort-D9KTb90Q.js +428 -0
- package/components/CasinoWinners-Br_rOUdI.cjs +1 -0
- package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-CSDCICsh.js} +355 -352
- package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CeLmSRE4.js} +338 -335
- package/components/{GeneralAnimationLoading-CX9baArf.js → GeneralAnimationLoading-BRBLoSEB.js} +8 -8
- package/components/{GeneralAnimationLoading-BG_QynCK.cjs → GeneralAnimationLoading-Bu4_iets.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DVLCsjn0.js → GeneralAnimationLoading-DoN4gYz0.js} +8 -8
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-B5g4-G4Z.js} +3 -3
- package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-CQe5iDJ8.cjs} +2 -2
- package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-Cphp76Jq.js} +3 -3
- package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
- package/stencil/index-eac6b960-DXIu1GM6.js +579 -0
- package/stencil/index-eac6b960-Dvyvd5zP.js +563 -0
- package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
- package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
- package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
- package/components/CasinoFavoritesSection-Dc3krq_m.cjs +0 -1
- package/components/CasinoGamesCategorySection-LHUR2_EB.cjs +0 -1
- package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
- package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
- package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
- package/components/CasinoLastPlayedSection-BVbeW3YI.cjs +0 -1
- package/components/CasinoLobby-bvh2k3lg.cjs +0 -1
- package/components/CasinoModal-C1oW3YF4.js +0 -372
- package/components/CasinoModal-DRtZi6gR.cjs +0 -1
- package/components/CasinoModal-IbVlgg7Z.js +0 -372
- package/components/CasinoPage-CoSWrE10.cjs +0 -1
- package/components/CasinoSearch-Cnu1-6cZ.cjs +0 -1
- package/components/CasinoSort-CS53Uvnz.cjs +0 -1
- package/components/CasinoSort-DFdgT3Dt.js +0 -432
- package/components/CasinoSort-DFljh5Sg.js +0 -431
- package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
- package/stencil/index-8b2c4ca7-BNDGCsVn.js +0 -629
- package/stencil/index-8b2c4ca7-CtUqBgXG.js +0 -645
- package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-C7hbpydX.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as le, S as ce, i as me, f as l, c as ge, s as ue, b as ye, e as h, d as j, D as S, j as F, k as fe, o as be, K as de, L as he, M as we, n as Ne, N as Le, O as Me, P as n, v as E, w as _e, Q as Ce, F as ve } from "./CasinoCalendar-BKvw2GLN.js";
|
|
2
|
+
function x(i, e) {
|
|
3
|
+
le(i, e);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const p = {
|
|
6
6
|
en: {
|
|
7
7
|
lobbyName: "Lobby",
|
|
8
8
|
myGamesName: "My games"
|
|
@@ -81,172 +81,183 @@ if (typeof window < "u") {
|
|
|
81
81
|
return function(...t) {
|
|
82
82
|
try {
|
|
83
83
|
return e.apply(this, t);
|
|
84
|
-
} catch (
|
|
85
|
-
if (
|
|
84
|
+
} catch (r) {
|
|
85
|
+
if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
86
86
|
return !1;
|
|
87
|
-
throw
|
|
87
|
+
throw r;
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
customElements.define = i(customElements.define), import("./CasinoSlider-
|
|
91
|
+
customElements.define = i(customElements.define), import("./CasinoSlider-ylo7nRmY.js").then(({ default: e }) => {
|
|
92
92
|
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Ge(i) {
|
|
96
96
|
ye(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
|
|
97
97
|
}
|
|
98
|
-
function
|
|
99
|
-
let e, t,
|
|
98
|
+
function ke(i) {
|
|
99
|
+
let e, t, r, c;
|
|
100
100
|
return {
|
|
101
101
|
c() {
|
|
102
|
-
e =
|
|
102
|
+
e = h("div"), t = h("casino-slider"), n(
|
|
103
103
|
t,
|
|
104
104
|
"lang",
|
|
105
105
|
/*lang*/
|
|
106
106
|
i[3]
|
|
107
|
-
),
|
|
107
|
+
), n(
|
|
108
108
|
t,
|
|
109
109
|
"datasource",
|
|
110
110
|
/*datasource*/
|
|
111
111
|
i[2]
|
|
112
|
-
),
|
|
112
|
+
), n(
|
|
113
113
|
t,
|
|
114
114
|
"endpoint",
|
|
115
115
|
/*endpoint*/
|
|
116
116
|
i[1]
|
|
117
|
-
),
|
|
117
|
+
), n(t, "identity", T), n(
|
|
118
118
|
t,
|
|
119
119
|
"favoritesnumber",
|
|
120
120
|
/*numberOfFavoredGames*/
|
|
121
|
-
i[
|
|
122
|
-
),
|
|
121
|
+
i[16]
|
|
122
|
+
), n(
|
|
123
123
|
t,
|
|
124
124
|
"showsubgroups",
|
|
125
125
|
/*showsubgroups*/
|
|
126
126
|
i[8]
|
|
127
|
-
),
|
|
127
|
+
), n(
|
|
128
128
|
t,
|
|
129
129
|
"clientstyling",
|
|
130
130
|
/*clientstyling*/
|
|
131
131
|
i[4]
|
|
132
|
-
),
|
|
132
|
+
), n(
|
|
133
133
|
t,
|
|
134
134
|
"clientstylingurl",
|
|
135
135
|
/*clientstylingurl*/
|
|
136
136
|
i[5]
|
|
137
|
-
),
|
|
137
|
+
), n(
|
|
138
|
+
t,
|
|
139
|
+
"mbsource",
|
|
140
|
+
/*mbsource*/
|
|
141
|
+
i[12]
|
|
142
|
+
), n(
|
|
138
143
|
t,
|
|
139
144
|
"activeindex",
|
|
140
145
|
/*activecategory*/
|
|
141
146
|
i[0]
|
|
142
|
-
),
|
|
147
|
+
), n(
|
|
143
148
|
t,
|
|
144
149
|
"actionevent",
|
|
145
150
|
/*actionevent*/
|
|
146
151
|
i[6]
|
|
147
|
-
),
|
|
152
|
+
), n(
|
|
148
153
|
t,
|
|
149
154
|
"location",
|
|
150
155
|
/*location*/
|
|
151
156
|
i[7]
|
|
152
|
-
),
|
|
157
|
+
), n(
|
|
153
158
|
t,
|
|
154
159
|
"categoriesicon",
|
|
155
160
|
/*categoriesicon*/
|
|
156
161
|
i[9]
|
|
157
|
-
),
|
|
162
|
+
), n(
|
|
158
163
|
t,
|
|
159
164
|
"lobbyiconimage",
|
|
160
165
|
/*lobbyiconimage*/
|
|
161
166
|
i[10]
|
|
162
|
-
),
|
|
167
|
+
), n(
|
|
163
168
|
t,
|
|
164
169
|
"mygamesiconimage",
|
|
165
170
|
/*mygamesiconimage*/
|
|
166
171
|
i[11]
|
|
167
172
|
), E(e, "class", "CasinoCategoriesContainer svelte-2g6deg"), E(e, "part", "CasinoCategoriesContainer");
|
|
168
173
|
},
|
|
169
|
-
m(a,
|
|
170
|
-
|
|
174
|
+
m(a, o) {
|
|
175
|
+
j(a, e, o), _e(e, t), r || (c = Ce(
|
|
171
176
|
/*sendSliderData*/
|
|
172
|
-
i[
|
|
173
|
-
),
|
|
177
|
+
i[17].call(null, t)
|
|
178
|
+
), r = !0);
|
|
174
179
|
},
|
|
175
|
-
p(a,
|
|
176
|
-
|
|
177
|
-
8 &&
|
|
180
|
+
p(a, o) {
|
|
181
|
+
o[0] & /*lang*/
|
|
182
|
+
8 && n(
|
|
178
183
|
t,
|
|
179
184
|
"lang",
|
|
180
185
|
/*lang*/
|
|
181
186
|
a[3]
|
|
182
|
-
),
|
|
183
|
-
4 &&
|
|
187
|
+
), o[0] & /*datasource*/
|
|
188
|
+
4 && n(
|
|
184
189
|
t,
|
|
185
190
|
"datasource",
|
|
186
191
|
/*datasource*/
|
|
187
192
|
a[2]
|
|
188
|
-
),
|
|
189
|
-
2 &&
|
|
193
|
+
), o[0] & /*endpoint*/
|
|
194
|
+
2 && n(
|
|
190
195
|
t,
|
|
191
196
|
"endpoint",
|
|
192
197
|
/*endpoint*/
|
|
193
198
|
a[1]
|
|
194
|
-
),
|
|
195
|
-
|
|
199
|
+
), o[0] & /*numberOfFavoredGames*/
|
|
200
|
+
65536 && n(
|
|
196
201
|
t,
|
|
197
202
|
"favoritesnumber",
|
|
198
203
|
/*numberOfFavoredGames*/
|
|
199
|
-
a[
|
|
200
|
-
),
|
|
201
|
-
256 &&
|
|
204
|
+
a[16]
|
|
205
|
+
), o[0] & /*showsubgroups*/
|
|
206
|
+
256 && n(
|
|
202
207
|
t,
|
|
203
208
|
"showsubgroups",
|
|
204
209
|
/*showsubgroups*/
|
|
205
210
|
a[8]
|
|
206
|
-
),
|
|
207
|
-
16 &&
|
|
211
|
+
), o[0] & /*clientstyling*/
|
|
212
|
+
16 && n(
|
|
208
213
|
t,
|
|
209
214
|
"clientstyling",
|
|
210
215
|
/*clientstyling*/
|
|
211
216
|
a[4]
|
|
212
|
-
),
|
|
213
|
-
32 &&
|
|
217
|
+
), o[0] & /*clientstylingurl*/
|
|
218
|
+
32 && n(
|
|
214
219
|
t,
|
|
215
220
|
"clientstylingurl",
|
|
216
221
|
/*clientstylingurl*/
|
|
217
222
|
a[5]
|
|
218
|
-
),
|
|
219
|
-
|
|
223
|
+
), o[0] & /*mbsource*/
|
|
224
|
+
4096 && n(
|
|
225
|
+
t,
|
|
226
|
+
"mbsource",
|
|
227
|
+
/*mbsource*/
|
|
228
|
+
a[12]
|
|
229
|
+
), o[0] & /*activecategory*/
|
|
230
|
+
1 && n(
|
|
220
231
|
t,
|
|
221
232
|
"activeindex",
|
|
222
233
|
/*activecategory*/
|
|
223
234
|
a[0]
|
|
224
|
-
),
|
|
225
|
-
64 &&
|
|
235
|
+
), o[0] & /*actionevent*/
|
|
236
|
+
64 && n(
|
|
226
237
|
t,
|
|
227
238
|
"actionevent",
|
|
228
239
|
/*actionevent*/
|
|
229
240
|
a[6]
|
|
230
|
-
),
|
|
231
|
-
128 &&
|
|
241
|
+
), o[0] & /*location*/
|
|
242
|
+
128 && n(
|
|
232
243
|
t,
|
|
233
244
|
"location",
|
|
234
245
|
/*location*/
|
|
235
246
|
a[7]
|
|
236
|
-
),
|
|
237
|
-
512 &&
|
|
247
|
+
), o[0] & /*categoriesicon*/
|
|
248
|
+
512 && n(
|
|
238
249
|
t,
|
|
239
250
|
"categoriesicon",
|
|
240
251
|
/*categoriesicon*/
|
|
241
252
|
a[9]
|
|
242
|
-
),
|
|
243
|
-
1024 &&
|
|
253
|
+
), o[0] & /*lobbyiconimage*/
|
|
254
|
+
1024 && n(
|
|
244
255
|
t,
|
|
245
256
|
"lobbyiconimage",
|
|
246
257
|
/*lobbyiconimage*/
|
|
247
258
|
a[10]
|
|
248
|
-
),
|
|
249
|
-
2048 &&
|
|
259
|
+
), o[0] & /*mygamesiconimage*/
|
|
260
|
+
2048 && n(
|
|
250
261
|
t,
|
|
251
262
|
"mygamesiconimage",
|
|
252
263
|
/*mygamesiconimage*/
|
|
@@ -254,228 +265,218 @@ function _e(i) {
|
|
|
254
265
|
);
|
|
255
266
|
},
|
|
256
267
|
d(a) {
|
|
257
|
-
a &&
|
|
268
|
+
a && F(e), r = !1, c();
|
|
258
269
|
}
|
|
259
270
|
};
|
|
260
271
|
}
|
|
261
|
-
function
|
|
272
|
+
function Se(i) {
|
|
262
273
|
let e;
|
|
263
274
|
return {
|
|
264
275
|
c() {
|
|
265
|
-
e =
|
|
276
|
+
e = h("p"), e.textContent = "500 Error - Internal Server Error.", E(e, "class", "SearchLoading svelte-2g6deg");
|
|
266
277
|
},
|
|
267
|
-
m(t,
|
|
268
|
-
|
|
278
|
+
m(t, r) {
|
|
279
|
+
j(t, e, r);
|
|
269
280
|
},
|
|
270
281
|
p: S,
|
|
271
282
|
d(t) {
|
|
272
|
-
t &&
|
|
283
|
+
t && F(e);
|
|
273
284
|
}
|
|
274
285
|
};
|
|
275
286
|
}
|
|
276
|
-
function
|
|
287
|
+
function Ee(i) {
|
|
277
288
|
let e;
|
|
278
289
|
return {
|
|
279
290
|
c() {
|
|
280
|
-
e =
|
|
291
|
+
e = h("div"), E(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
|
|
281
292
|
},
|
|
282
|
-
m(t,
|
|
283
|
-
|
|
293
|
+
m(t, r) {
|
|
294
|
+
j(t, e, r);
|
|
284
295
|
},
|
|
285
296
|
p: S,
|
|
286
297
|
d(t) {
|
|
287
|
-
t &&
|
|
298
|
+
t && F(e);
|
|
288
299
|
}
|
|
289
300
|
};
|
|
290
301
|
}
|
|
291
|
-
function
|
|
302
|
+
function je(i) {
|
|
292
303
|
let e;
|
|
293
|
-
function t(a,
|
|
304
|
+
function t(a, o) {
|
|
294
305
|
return (
|
|
295
306
|
/*isLoading*/
|
|
296
|
-
a[
|
|
307
|
+
a[13] || Fe || Pe ? Ee : (
|
|
297
308
|
/*hasErrors*/
|
|
298
|
-
a[
|
|
309
|
+
a[15] ? Se : ke
|
|
299
310
|
)
|
|
300
311
|
);
|
|
301
312
|
}
|
|
302
|
-
let
|
|
313
|
+
let r = t(i), c = r(i);
|
|
303
314
|
return {
|
|
304
315
|
c() {
|
|
305
|
-
e =
|
|
316
|
+
e = h("div"), c.c();
|
|
306
317
|
},
|
|
307
|
-
m(a,
|
|
308
|
-
|
|
318
|
+
m(a, o) {
|
|
319
|
+
j(a, e, o), c.m(e, null), i[27](e);
|
|
309
320
|
},
|
|
310
|
-
p(a,
|
|
311
|
-
|
|
321
|
+
p(a, o) {
|
|
322
|
+
r === (r = t(a)) && c ? c.p(a, o) : (c.d(1), c = r(a), c && (c.c(), c.m(e, null)));
|
|
312
323
|
},
|
|
313
324
|
i: S,
|
|
314
325
|
o: S,
|
|
315
326
|
d(a) {
|
|
316
|
-
a &&
|
|
327
|
+
a && F(e), c.d(), i[27](null);
|
|
317
328
|
}
|
|
318
329
|
};
|
|
319
330
|
}
|
|
320
|
-
let
|
|
321
|
-
function
|
|
322
|
-
let
|
|
323
|
-
fe(i,
|
|
324
|
-
let { endpoint:
|
|
325
|
-
const
|
|
326
|
-
fetch(
|
|
327
|
-
Object.keys(m).forEach((
|
|
328
|
-
|
|
331
|
+
let T = "CasinoSliderData", Fe = !1, Pe = !1;
|
|
332
|
+
function De(i, e, t) {
|
|
333
|
+
let r;
|
|
334
|
+
fe(i, ve, (s) => t(33, r = s));
|
|
335
|
+
let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: C = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: B = "" } = e, { location: I = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: v = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, K, Q, J, y = !0, b, d = [], f = !1, $ = window.navigator.userAgent, g, V, W = !1, D = !1;
|
|
336
|
+
const ee = () => {
|
|
337
|
+
fetch(G).then((m) => m.json()).then((m) => {
|
|
338
|
+
Object.keys(m).forEach((k) => {
|
|
339
|
+
x(k, m[k]);
|
|
329
340
|
});
|
|
330
341
|
}).catch((m) => {
|
|
331
342
|
console.log(m);
|
|
332
343
|
});
|
|
333
344
|
};
|
|
334
|
-
Object.keys(
|
|
335
|
-
|
|
345
|
+
Object.keys(p).forEach((s) => {
|
|
346
|
+
x(s, p[s]);
|
|
336
347
|
});
|
|
337
|
-
const
|
|
338
|
-
|
|
348
|
+
const te = () => {
|
|
349
|
+
W == !1 && (M == "true" || N == "true" || L == "true") && d.splice(1, 0, {
|
|
339
350
|
// @ts-ignore
|
|
340
351
|
id: "MYGAMES",
|
|
341
|
-
name:
|
|
352
|
+
name: Q,
|
|
342
353
|
href: "",
|
|
343
354
|
games: []
|
|
344
|
-
}),
|
|
345
|
-
},
|
|
346
|
-
if (
|
|
347
|
-
let s = new URL(`${
|
|
348
|
-
s.searchParams.append("datasource", a), s.searchParams.append("language",
|
|
355
|
+
}), he(), W = !0, t(26, D = !0), A();
|
|
356
|
+
}, se = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), ie = () => {
|
|
357
|
+
if (Q = r("myGamesName"), J = r("lobbyName"), !se()) {
|
|
358
|
+
let s = new URL(`${c}/v1/casino/groups/${a}`);
|
|
359
|
+
s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", we($)), fetch(s).then((m) => m.json()).then(
|
|
349
360
|
(m) => {
|
|
350
|
-
let
|
|
351
|
-
let
|
|
352
|
-
if (
|
|
353
|
-
for (let
|
|
354
|
-
|
|
355
|
-
return
|
|
361
|
+
let k = v.split(","), oe = m.items.filter((Z) => {
|
|
362
|
+
let O = !1;
|
|
363
|
+
if (Z.games.total > 0 && (O = !0, v))
|
|
364
|
+
for (let re of k)
|
|
365
|
+
Z.flags == re && (O = !1);
|
|
366
|
+
return O;
|
|
356
367
|
});
|
|
357
|
-
|
|
368
|
+
d = [], d = d.concat(oe), d.unshift({
|
|
358
369
|
// @ts-ignore
|
|
359
370
|
id: "LOBBY",
|
|
360
|
-
name:
|
|
371
|
+
name: J,
|
|
361
372
|
href: "",
|
|
362
373
|
games: []
|
|
363
|
-
}), t(
|
|
374
|
+
}), t(13, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
|
|
364
375
|
},
|
|
365
376
|
(m) => {
|
|
366
|
-
t(
|
|
377
|
+
t(15, f = !0), console.error("There was an error while fetching the categories", m);
|
|
367
378
|
}
|
|
368
379
|
).catch((m) => {
|
|
369
|
-
t(
|
|
380
|
+
t(15, f = !0), console.error("There was an error while fetching the categories", m);
|
|
370
381
|
});
|
|
371
382
|
}
|
|
372
|
-
},
|
|
383
|
+
}, ae = () => {
|
|
373
384
|
let s = u.split("$");
|
|
374
385
|
t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
|
|
375
|
-
},
|
|
376
|
-
let s = document.createElement("style");
|
|
377
|
-
s.innerHTML = _, d.appendChild(s);
|
|
378
|
-
}, ae = () => {
|
|
379
|
-
let s = document.createElement("style"), m = new URL(v);
|
|
380
|
-
fetch(m.href).then((g) => g.text()).then((g) => {
|
|
381
|
-
s.innerHTML = g, setTimeout(
|
|
382
|
-
() => {
|
|
383
|
-
d.appendChild(s);
|
|
384
|
-
},
|
|
385
|
-
1
|
|
386
|
-
);
|
|
387
|
-
});
|
|
388
|
-
}, P = () => {
|
|
386
|
+
}, A = () => {
|
|
389
387
|
window.postMessage(
|
|
390
388
|
{
|
|
391
389
|
type: "SliderData",
|
|
392
|
-
identity:
|
|
393
|
-
data:
|
|
390
|
+
identity: T,
|
|
391
|
+
data: d
|
|
394
392
|
},
|
|
395
393
|
window.location.href
|
|
396
394
|
);
|
|
397
|
-
},
|
|
398
|
-
s.data && s.data.type == "SliderLoaded" &&
|
|
395
|
+
}, X = (s) => {
|
|
396
|
+
s.data && s.data.type == "SliderLoaded" && T == s.data.identity && A();
|
|
399
397
|
};
|
|
400
|
-
|
|
401
|
-
window.removeEventListener("message",
|
|
398
|
+
be(() => (window.addEventListener("message", X, !1), () => {
|
|
399
|
+
window.emMessageBus && K && K.unsubscribe(), window.removeEventListener("message", X);
|
|
402
400
|
}));
|
|
403
401
|
function ne(s) {
|
|
404
|
-
|
|
405
|
-
|
|
402
|
+
Ne[s ? "unshift" : "push"](() => {
|
|
403
|
+
g = s, t(14, g);
|
|
406
404
|
});
|
|
407
405
|
}
|
|
408
406
|
return i.$$set = (s) => {
|
|
409
|
-
"endpoint" in s && t(1,
|
|
407
|
+
"endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, R = s.userid), "session" in s && t(19, w = s.session), "mostplayed" in s && t(20, N = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, C = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, U = s.actionevent), "sessioncheck" in s && t(23, B = s.sessioncheck), "location" in s && t(7, I = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, v = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
|
|
410
408
|
}, i.$$.update = () => {
|
|
411
409
|
i.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
412
|
-
14 &&
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
410
|
+
14 && c && a && o && ie(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
411
|
+
7872514 && c && w && (N || L || M) && !y && te(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
412
|
+
67641345 && !y && u && (!w || D) && ae(), i.$$.dirty[0] & /*translationurl*/
|
|
413
|
+
33554432 && G && ee(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
414
|
+
16400 && _ && g && Le(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
415
|
+
16416 && C && g && de(g, C), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
416
|
+
20480 && g && Me(g, `${P}.Style`);
|
|
417
|
+
}, t(16, V = 0), [
|
|
419
418
|
u,
|
|
420
|
-
|
|
419
|
+
c,
|
|
421
420
|
a,
|
|
422
|
-
|
|
421
|
+
o,
|
|
423
422
|
_,
|
|
424
|
-
|
|
425
|
-
|
|
423
|
+
C,
|
|
424
|
+
U,
|
|
426
425
|
I,
|
|
427
|
-
H,
|
|
428
|
-
B,
|
|
429
426
|
Y,
|
|
430
427
|
q,
|
|
428
|
+
z,
|
|
429
|
+
H,
|
|
430
|
+
P,
|
|
431
431
|
y,
|
|
432
|
-
|
|
432
|
+
g,
|
|
433
433
|
f,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
434
|
+
V,
|
|
435
|
+
A,
|
|
436
|
+
R,
|
|
437
437
|
w,
|
|
438
|
+
N,
|
|
438
439
|
L,
|
|
439
440
|
M,
|
|
440
|
-
|
|
441
|
-
|
|
441
|
+
B,
|
|
442
|
+
v,
|
|
442
443
|
G,
|
|
443
|
-
|
|
444
|
-
T,
|
|
444
|
+
D,
|
|
445
445
|
ne
|
|
446
446
|
];
|
|
447
447
|
}
|
|
448
|
-
class
|
|
448
|
+
class Ae extends ce {
|
|
449
449
|
constructor(e) {
|
|
450
450
|
super(), me(
|
|
451
451
|
this,
|
|
452
452
|
e,
|
|
453
|
+
De,
|
|
453
454
|
je,
|
|
454
|
-
|
|
455
|
-
ge,
|
|
455
|
+
ue,
|
|
456
456
|
{
|
|
457
457
|
endpoint: 1,
|
|
458
458
|
datasource: 2,
|
|
459
459
|
lang: 3,
|
|
460
|
-
userid:
|
|
461
|
-
session:
|
|
462
|
-
mostplayed:
|
|
463
|
-
lastplayed:
|
|
464
|
-
favorites:
|
|
460
|
+
userid: 18,
|
|
461
|
+
session: 19,
|
|
462
|
+
mostplayed: 20,
|
|
463
|
+
lastplayed: 21,
|
|
464
|
+
favorites: 22,
|
|
465
465
|
clientstyling: 4,
|
|
466
466
|
clientstylingurl: 5,
|
|
467
467
|
activecategory: 0,
|
|
468
468
|
actionevent: 6,
|
|
469
|
-
sessioncheck:
|
|
469
|
+
sessioncheck: 23,
|
|
470
470
|
location: 7,
|
|
471
471
|
showsubgroups: 8,
|
|
472
|
-
filteredcategories:
|
|
473
|
-
translationurl:
|
|
472
|
+
filteredcategories: 24,
|
|
473
|
+
translationurl: 25,
|
|
474
474
|
categoriesicon: 9,
|
|
475
475
|
lobbyiconimage: 10,
|
|
476
|
-
mygamesiconimage: 11
|
|
476
|
+
mygamesiconimage: 11,
|
|
477
|
+
mbsource: 12
|
|
477
478
|
},
|
|
478
|
-
|
|
479
|
+
Ge,
|
|
479
480
|
[-1, -1]
|
|
480
481
|
);
|
|
481
482
|
}
|
|
@@ -483,124 +484,130 @@ class Fe extends ce {
|
|
|
483
484
|
return this.$$.ctx[1];
|
|
484
485
|
}
|
|
485
486
|
set endpoint(e) {
|
|
486
|
-
this.$$set({ endpoint: e }),
|
|
487
|
+
this.$$set({ endpoint: e }), l();
|
|
487
488
|
}
|
|
488
489
|
get datasource() {
|
|
489
490
|
return this.$$.ctx[2];
|
|
490
491
|
}
|
|
491
492
|
set datasource(e) {
|
|
492
|
-
this.$$set({ datasource: e }),
|
|
493
|
+
this.$$set({ datasource: e }), l();
|
|
493
494
|
}
|
|
494
495
|
get lang() {
|
|
495
496
|
return this.$$.ctx[3];
|
|
496
497
|
}
|
|
497
498
|
set lang(e) {
|
|
498
|
-
this.$$set({ lang: e }),
|
|
499
|
+
this.$$set({ lang: e }), l();
|
|
499
500
|
}
|
|
500
501
|
get userid() {
|
|
501
|
-
return this.$$.ctx[
|
|
502
|
+
return this.$$.ctx[18];
|
|
502
503
|
}
|
|
503
504
|
set userid(e) {
|
|
504
|
-
this.$$set({ userid: e }),
|
|
505
|
+
this.$$set({ userid: e }), l();
|
|
505
506
|
}
|
|
506
507
|
get session() {
|
|
507
|
-
return this.$$.ctx[
|
|
508
|
+
return this.$$.ctx[19];
|
|
508
509
|
}
|
|
509
510
|
set session(e) {
|
|
510
|
-
this.$$set({ session: e }),
|
|
511
|
+
this.$$set({ session: e }), l();
|
|
511
512
|
}
|
|
512
513
|
get mostplayed() {
|
|
513
|
-
return this.$$.ctx[
|
|
514
|
+
return this.$$.ctx[20];
|
|
514
515
|
}
|
|
515
516
|
set mostplayed(e) {
|
|
516
|
-
this.$$set({ mostplayed: e }),
|
|
517
|
+
this.$$set({ mostplayed: e }), l();
|
|
517
518
|
}
|
|
518
519
|
get lastplayed() {
|
|
519
|
-
return this.$$.ctx[
|
|
520
|
+
return this.$$.ctx[21];
|
|
520
521
|
}
|
|
521
522
|
set lastplayed(e) {
|
|
522
|
-
this.$$set({ lastplayed: e }),
|
|
523
|
+
this.$$set({ lastplayed: e }), l();
|
|
523
524
|
}
|
|
524
525
|
get favorites() {
|
|
525
|
-
return this.$$.ctx[
|
|
526
|
+
return this.$$.ctx[22];
|
|
526
527
|
}
|
|
527
528
|
set favorites(e) {
|
|
528
|
-
this.$$set({ favorites: e }),
|
|
529
|
+
this.$$set({ favorites: e }), l();
|
|
529
530
|
}
|
|
530
531
|
get clientstyling() {
|
|
531
532
|
return this.$$.ctx[4];
|
|
532
533
|
}
|
|
533
534
|
set clientstyling(e) {
|
|
534
|
-
this.$$set({ clientstyling: e }),
|
|
535
|
+
this.$$set({ clientstyling: e }), l();
|
|
535
536
|
}
|
|
536
537
|
get clientstylingurl() {
|
|
537
538
|
return this.$$.ctx[5];
|
|
538
539
|
}
|
|
539
540
|
set clientstylingurl(e) {
|
|
540
|
-
this.$$set({ clientstylingurl: e }),
|
|
541
|
+
this.$$set({ clientstylingurl: e }), l();
|
|
541
542
|
}
|
|
542
543
|
get activecategory() {
|
|
543
544
|
return this.$$.ctx[0];
|
|
544
545
|
}
|
|
545
546
|
set activecategory(e) {
|
|
546
|
-
this.$$set({ activecategory: e }),
|
|
547
|
+
this.$$set({ activecategory: e }), l();
|
|
547
548
|
}
|
|
548
549
|
get actionevent() {
|
|
549
550
|
return this.$$.ctx[6];
|
|
550
551
|
}
|
|
551
552
|
set actionevent(e) {
|
|
552
|
-
this.$$set({ actionevent: e }),
|
|
553
|
+
this.$$set({ actionevent: e }), l();
|
|
553
554
|
}
|
|
554
555
|
get sessioncheck() {
|
|
555
|
-
return this.$$.ctx[
|
|
556
|
+
return this.$$.ctx[23];
|
|
556
557
|
}
|
|
557
558
|
set sessioncheck(e) {
|
|
558
|
-
this.$$set({ sessioncheck: e }),
|
|
559
|
+
this.$$set({ sessioncheck: e }), l();
|
|
559
560
|
}
|
|
560
561
|
get location() {
|
|
561
562
|
return this.$$.ctx[7];
|
|
562
563
|
}
|
|
563
564
|
set location(e) {
|
|
564
|
-
this.$$set({ location: e }),
|
|
565
|
+
this.$$set({ location: e }), l();
|
|
565
566
|
}
|
|
566
567
|
get showsubgroups() {
|
|
567
568
|
return this.$$.ctx[8];
|
|
568
569
|
}
|
|
569
570
|
set showsubgroups(e) {
|
|
570
|
-
this.$$set({ showsubgroups: e }),
|
|
571
|
+
this.$$set({ showsubgroups: e }), l();
|
|
571
572
|
}
|
|
572
573
|
get filteredcategories() {
|
|
573
|
-
return this.$$.ctx[
|
|
574
|
+
return this.$$.ctx[24];
|
|
574
575
|
}
|
|
575
576
|
set filteredcategories(e) {
|
|
576
|
-
this.$$set({ filteredcategories: e }),
|
|
577
|
+
this.$$set({ filteredcategories: e }), l();
|
|
577
578
|
}
|
|
578
579
|
get translationurl() {
|
|
579
|
-
return this.$$.ctx[
|
|
580
|
+
return this.$$.ctx[25];
|
|
580
581
|
}
|
|
581
582
|
set translationurl(e) {
|
|
582
|
-
this.$$set({ translationurl: e }),
|
|
583
|
+
this.$$set({ translationurl: e }), l();
|
|
583
584
|
}
|
|
584
585
|
get categoriesicon() {
|
|
585
586
|
return this.$$.ctx[9];
|
|
586
587
|
}
|
|
587
588
|
set categoriesicon(e) {
|
|
588
|
-
this.$$set({ categoriesicon: e }),
|
|
589
|
+
this.$$set({ categoriesicon: e }), l();
|
|
589
590
|
}
|
|
590
591
|
get lobbyiconimage() {
|
|
591
592
|
return this.$$.ctx[10];
|
|
592
593
|
}
|
|
593
594
|
set lobbyiconimage(e) {
|
|
594
|
-
this.$$set({ lobbyiconimage: e }),
|
|
595
|
+
this.$$set({ lobbyiconimage: e }), l();
|
|
595
596
|
}
|
|
596
597
|
get mygamesiconimage() {
|
|
597
598
|
return this.$$.ctx[11];
|
|
598
599
|
}
|
|
599
600
|
set mygamesiconimage(e) {
|
|
600
|
-
this.$$set({ mygamesiconimage: e }),
|
|
601
|
+
this.$$set({ mygamesiconimage: e }), l();
|
|
602
|
+
}
|
|
603
|
+
get mbsource() {
|
|
604
|
+
return this.$$.ctx[12];
|
|
605
|
+
}
|
|
606
|
+
set mbsource(e) {
|
|
607
|
+
this.$$set({ mbsource: e }), l();
|
|
601
608
|
}
|
|
602
609
|
}
|
|
603
|
-
|
|
610
|
+
ge(Ae, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
|
604
611
|
export {
|
|
605
|
-
|
|
612
|
+
Ae as default
|
|
606
613
|
};
|