@everymatrix/casino-lobby 1.77.7 → 1.77.8
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/{CasinoFavoritesSection-BM8O0jg5.js → CasinoFavoritesSection-2RRydo8o.js} +1 -1
- package/components/{CasinoFavoritesSection-CymlR0sJ.js → CasinoFavoritesSection-BOHWBVnG.js} +1 -1
- package/components/{CasinoFavoritesSection-DusKH-_c.cjs → CasinoFavoritesSection-M0Cm0sDX.cjs} +1 -1
- package/components/{CasinoGameThumbnail-CQS06FLM.js → CasinoGameThumbnail-7dpndu_e.js} +0 -1
- package/components/{CasinoGameThumbnail-DDJheC8I.js → CasinoGameThumbnail-CwXyVzlr.js} +0 -1
- package/components/{CasinoGameThumbnail-C6Sqi2Gn.cjs → CasinoGameThumbnail-DVkiKPPm.cjs} +8 -8
- package/components/{CasinoGamesCategorySection-CbDpvlpz.js → CasinoGamesCategorySection-DCV5LdX-.js} +89 -89
- package/components/{CasinoGamesCategorySection-DNulqo78.cjs → CasinoGamesCategorySection-DeQ1GK4J.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-BzvGFmBF.js → CasinoGamesCategorySection-wQ-a8Spm.js} +51 -51
- package/components/{CasinoLastPlayedSection-C__fszM6.cjs → CasinoLastPlayedSection-B32X_IRu.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-Cw-_Evqw.js → CasinoLastPlayedSection-Dgg5OXJD.js} +1 -1
- package/components/{CasinoLastPlayedSection-C8TGgPub.js → CasinoLastPlayedSection-Dr_4Lscg.js} +1 -1
- package/components/{CasinoLobby-Bw0d-MzV.js → CasinoLobby-CqVqHLbE.js} +1 -1
- package/components/{CasinoLobby-N3SA7nc4.cjs → CasinoLobby-CuhI_lVN.cjs} +1 -1
- package/components/{CasinoLobby-DZtbSXtN.js → CasinoLobby-DaO3GZPI.js} +1 -1
- package/components/{CasinoMostPlayedSection-DljDNfny.js → CasinoMostPlayedSection-B18SthKV.js} +1 -1
- package/components/{CasinoMostPlayedSection-DX7zpItF.js → CasinoMostPlayedSection-DUEVvush.js} +1 -1
- package/components/{CasinoMostPlayedSection-OBp76c-k.cjs → CasinoMostPlayedSection-uYtpJlKF.cjs} +1 -1
- package/components/{CasinoMyGames-CYpE8Vt7.js → CasinoMyGames-BXJe_FSE.js} +3 -3
- package/components/{CasinoMyGames-BfenXM6V.js → CasinoMyGames-CWSgR0Gs.js} +3 -3
- package/components/{CasinoMyGames-3hdEu9Kh.cjs → CasinoMyGames-Pv0orkNb.cjs} +1 -1
- package/components/{CasinoPage-C_sNHc5Y.js → CasinoPage-BWZgrW93.js} +4 -4
- package/components/{CasinoPage-qkXoIQEF.cjs → CasinoPage-B_o2RRFV.cjs} +1 -1
- package/components/{CasinoPage-DFLl7bBN.js → CasinoPage-DWqub66k.js} +4 -4
- package/components/CasinoSearch-BGp69V-1.cjs +1 -0
- package/components/{CasinoSearch-CylEX2iJ.js → CasinoSearch-BNBlcb2q.js} +207 -197
- package/components/{CasinoSearch-CFFdo--j.js → CasinoSearch-BphEBZ1V.js} +267 -241
- 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/components/CasinoSearch-DhVwJOUt.cjs +0 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import
|
|
3
|
-
import "./CasinoGamesCategorySection-CbDpvlpz.js";
|
|
1
|
+
import { a as We, $ as Ue, S as Ve, i as Je, s as Ze, f as L, b as Ye, n as ue, d as j, O as Ke, r as f, R as he, h as I, p as b, A as U, j as k, B as z, F as de, M as ae, k as Xe, o as Qe, m as q, q as H, C as me, v as ge, w as $e, U as Le, E as u, H as et, I as tt, J as at, K as nt, L as rt } from "./CasinoCalendar-BNI_iKQP.js";
|
|
2
|
+
import "./CasinoGamesCategorySection-DCV5LdX-.js";
|
|
4
3
|
function fe(t, e) {
|
|
5
|
-
|
|
4
|
+
We(t, e);
|
|
6
5
|
}
|
|
7
6
|
function ot(t) {
|
|
8
|
-
|
|
7
|
+
Ue.set(t);
|
|
9
8
|
}
|
|
10
9
|
const pe = {
|
|
11
10
|
en: {
|
|
@@ -189,6 +188,10 @@ const pe = {
|
|
|
189
188
|
notFoundText: "Please type the correct name of the game to start to play.",
|
|
190
189
|
noRecentSearches: "No recent searches yet. Search for any of our games."
|
|
191
190
|
}
|
|
191
|
+
}, st = (t, e) => function(...a) {
|
|
192
|
+
clearTimeout(this.debounceTimer), this.debounceTimer = setTimeout(() => {
|
|
193
|
+
t.apply(this, a);
|
|
194
|
+
}, e);
|
|
192
195
|
};
|
|
193
196
|
function ne(t) {
|
|
194
197
|
"@babel/helpers - typeof";
|
|
@@ -202,30 +205,30 @@ function ee(t, e) {
|
|
|
202
205
|
if (e.length < t)
|
|
203
206
|
throw new TypeError(t + " argument" + (t > 1 ? "s" : "") + " required, but only " + e.length + " present");
|
|
204
207
|
}
|
|
205
|
-
function
|
|
208
|
+
function V(t) {
|
|
206
209
|
ee(1, arguments);
|
|
207
210
|
var e = Object.prototype.toString.call(t);
|
|
208
211
|
return t instanceof Date || ne(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
|
|
209
212
|
}
|
|
210
213
|
function Se(t, e) {
|
|
211
|
-
return ee(2, arguments),
|
|
214
|
+
return ee(2, arguments), V(t).getTime() - V(e).getTime();
|
|
212
215
|
}
|
|
213
|
-
function
|
|
216
|
+
function lt(t, e) {
|
|
214
217
|
ee(2, arguments);
|
|
215
|
-
var a =
|
|
218
|
+
var a = V(t), n = V(e);
|
|
216
219
|
return a.getTime() > n.getTime();
|
|
217
220
|
}
|
|
218
|
-
function
|
|
221
|
+
function it(t, e) {
|
|
219
222
|
ee(2, arguments);
|
|
220
|
-
var a =
|
|
223
|
+
var a = V(t), n = V(e);
|
|
221
224
|
return a.getTime() < n.getTime();
|
|
222
225
|
}
|
|
223
|
-
function
|
|
224
|
-
|
|
226
|
+
function ct(t) {
|
|
227
|
+
Ye(t, "svelte-nijkoq", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;padding-right:28px}.SearchInput::placeholder{color:var(--emw--color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail-nd{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
|
|
225
228
|
}
|
|
226
229
|
function be(t, e, a) {
|
|
227
230
|
const n = t.slice();
|
|
228
|
-
return n[
|
|
231
|
+
return n[55] = e[a], n;
|
|
229
232
|
}
|
|
230
233
|
function _e(t) {
|
|
231
234
|
let e, a = (
|
|
@@ -234,55 +237,55 @@ function _e(t) {
|
|
|
234
237
|
), n, r, l, s;
|
|
235
238
|
return {
|
|
236
239
|
c() {
|
|
237
|
-
e =
|
|
238
|
-
(t[
|
|
240
|
+
e = k("small"), n = H(a), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
|
|
241
|
+
(t[16] ? "NotVisible" : ""));
|
|
239
242
|
},
|
|
240
243
|
m(i, c) {
|
|
241
|
-
I(i, e, c), b(e, n), l || (s =
|
|
244
|
+
I(i, e, c), b(e, n), l || (s = U(
|
|
242
245
|
e,
|
|
243
246
|
"click",
|
|
244
247
|
/*click_handler_1*/
|
|
245
|
-
t[
|
|
248
|
+
t[37]
|
|
246
249
|
), l = !0);
|
|
247
250
|
},
|
|
248
251
|
p(i, c) {
|
|
249
252
|
c[0] & /*$_*/
|
|
250
253
|
2097152 && a !== (a = /*$_*/
|
|
251
254
|
i[21]("cancel") + "") && q(n, a), c[0] & /*searchCancelled*/
|
|
252
|
-
|
|
253
|
-
(i[
|
|
255
|
+
65536 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
|
|
256
|
+
(i[16] ? "NotVisible" : "")) && f(e, "class", r);
|
|
254
257
|
},
|
|
255
258
|
d(i) {
|
|
256
259
|
i && j(e), l = !1, s();
|
|
257
260
|
}
|
|
258
261
|
};
|
|
259
262
|
}
|
|
260
|
-
function
|
|
263
|
+
function ut(t) {
|
|
261
264
|
let e, a, n, r;
|
|
262
265
|
function l(h, g) {
|
|
263
266
|
if (
|
|
264
267
|
/*searchActive*/
|
|
265
268
|
h[17] == !0 && /*searchValue*/
|
|
266
|
-
h[
|
|
269
|
+
h[14].length < 2
|
|
267
270
|
)
|
|
268
|
-
return
|
|
271
|
+
return mt;
|
|
269
272
|
if (
|
|
270
273
|
/*searchArray*/
|
|
271
|
-
h[
|
|
274
|
+
h[13].length != 0
|
|
272
275
|
)
|
|
273
|
-
return
|
|
276
|
+
return dt;
|
|
274
277
|
}
|
|
275
278
|
let s = l(t), i = s && s(t), c = (
|
|
276
279
|
/*searchCancelled*/
|
|
277
|
-
t[
|
|
280
|
+
t[16] === !1 && ke(t)
|
|
278
281
|
), m = (
|
|
279
282
|
/*searchValue*/
|
|
280
|
-
t[
|
|
281
|
-
t[
|
|
283
|
+
t[14].length >= 2 && /*searchArray*/
|
|
284
|
+
t[13].length == 0 && Ce(t)
|
|
282
285
|
);
|
|
283
286
|
return {
|
|
284
287
|
c() {
|
|
285
|
-
i && i.c(), e = z(), a =
|
|
288
|
+
i && i.c(), e = z(), a = k("div"), c && c.c(), n = z(), m && m.c(), f(a, "class", r = "SearchResultsContainer " + /*searchActive*/
|
|
286
289
|
(t[17] == !0 ? "" : "NotVisible"));
|
|
287
290
|
},
|
|
288
291
|
m(h, g) {
|
|
@@ -290,9 +293,9 @@ function ct(t) {
|
|
|
290
293
|
},
|
|
291
294
|
p(h, g) {
|
|
292
295
|
s === (s = l(h)) && i ? i.p(h, g) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
|
|
293
|
-
h[
|
|
294
|
-
h[
|
|
295
|
-
h[
|
|
296
|
+
h[16] === !1 ? c ? c.p(h, g) : (c = ke(h), c.c(), c.m(a, n)) : c && (c.d(1), c = null), /*searchValue*/
|
|
297
|
+
h[14].length >= 2 && /*searchArray*/
|
|
298
|
+
h[13].length == 0 ? m ? m.p(h, g) : (m = Ce(h), m.c(), m.m(a, null)) : m && (m.d(1), m = null), g[0] & /*searchActive*/
|
|
296
299
|
131072 && r !== (r = "SearchResultsContainer " + /*searchActive*/
|
|
297
300
|
(h[17] == !0 ? "" : "NotVisible")) && f(a, "class", r);
|
|
298
301
|
},
|
|
@@ -301,14 +304,14 @@ function ct(t) {
|
|
|
301
304
|
}
|
|
302
305
|
};
|
|
303
306
|
}
|
|
304
|
-
function
|
|
307
|
+
function ht(t) {
|
|
305
308
|
let e, a = (
|
|
306
309
|
/*$_*/
|
|
307
310
|
t[21]("loading") + ""
|
|
308
311
|
), n;
|
|
309
312
|
return {
|
|
310
313
|
c() {
|
|
311
|
-
e =
|
|
314
|
+
e = k("p"), n = H(a), f(e, "class", "LoadingContent");
|
|
312
315
|
},
|
|
313
316
|
m(r, l) {
|
|
314
317
|
I(r, e, l), b(e, n);
|
|
@@ -323,14 +326,14 @@ function ut(t) {
|
|
|
323
326
|
}
|
|
324
327
|
};
|
|
325
328
|
}
|
|
326
|
-
function
|
|
329
|
+
function dt(t) {
|
|
327
330
|
let e, a = (
|
|
328
331
|
/*$_*/
|
|
329
332
|
t[21]("searchResult") + ""
|
|
330
333
|
), n;
|
|
331
334
|
return {
|
|
332
335
|
c() {
|
|
333
|
-
e =
|
|
336
|
+
e = k("p"), n = H(a), f(e, "class", "SearchMessage");
|
|
334
337
|
},
|
|
335
338
|
m(r, l) {
|
|
336
339
|
I(r, e, l), b(e, n);
|
|
@@ -345,13 +348,13 @@ function ht(t) {
|
|
|
345
348
|
}
|
|
346
349
|
};
|
|
347
350
|
}
|
|
348
|
-
function
|
|
351
|
+
function mt(t) {
|
|
349
352
|
let e, a, n = (
|
|
350
353
|
/*searchArray*/
|
|
351
|
-
t[
|
|
354
|
+
t[13].length !== 0 && we(t)
|
|
352
355
|
), r = (
|
|
353
356
|
/*searchArray*/
|
|
354
|
-
t[
|
|
357
|
+
t[13].length == 0 && ve(t)
|
|
355
358
|
);
|
|
356
359
|
return {
|
|
357
360
|
c() {
|
|
@@ -362,8 +365,8 @@ function dt(t) {
|
|
|
362
365
|
},
|
|
363
366
|
p(l, s) {
|
|
364
367
|
/*searchArray*/
|
|
365
|
-
l[
|
|
366
|
-
l[
|
|
368
|
+
l[13].length !== 0 ? n ? n.p(l, s) : (n = we(l), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*searchArray*/
|
|
369
|
+
l[13].length == 0 ? r ? r.p(l, s) : (r = ve(l), r.c(), r.m(a.parentNode, a)) : r && (r.d(1), r = null);
|
|
367
370
|
},
|
|
368
371
|
d(l) {
|
|
369
372
|
l && (j(e), j(a)), n && n.d(l), r && r.d(l);
|
|
@@ -377,7 +380,7 @@ function we(t) {
|
|
|
377
380
|
), n;
|
|
378
381
|
return {
|
|
379
382
|
c() {
|
|
380
|
-
e =
|
|
383
|
+
e = k("p"), n = H(a), f(e, "class", "SearchMessage");
|
|
381
384
|
},
|
|
382
385
|
m(r, l) {
|
|
383
386
|
I(r, e, l), b(e, n);
|
|
@@ -402,7 +405,7 @@ function ve(t) {
|
|
|
402
405
|
);
|
|
403
406
|
return {
|
|
404
407
|
c() {
|
|
405
|
-
e =
|
|
408
|
+
e = k("div"), i && i.c(), a = z(), n = k("p"), l = H(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
406
409
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
407
410
|
},
|
|
408
411
|
m(c, m) {
|
|
@@ -425,7 +428,7 @@ function ye(t) {
|
|
|
425
428
|
let e;
|
|
426
429
|
return {
|
|
427
430
|
c() {
|
|
428
|
-
e =
|
|
431
|
+
e = k("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
|
|
429
432
|
},
|
|
430
433
|
m(a, n) {
|
|
431
434
|
I(a, e, n);
|
|
@@ -438,7 +441,7 @@ function ye(t) {
|
|
|
438
441
|
function ke(t) {
|
|
439
442
|
let e, a = ge(
|
|
440
443
|
/*searchArray*/
|
|
441
|
-
t[
|
|
444
|
+
t[13]
|
|
442
445
|
), n = [];
|
|
443
446
|
for (let r = 0; r < a.length; r += 1)
|
|
444
447
|
n[r] = Re(be(t, a, r));
|
|
@@ -455,10 +458,10 @@ function ke(t) {
|
|
|
455
458
|
},
|
|
456
459
|
p(r, l) {
|
|
457
460
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, mbsource, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
458
|
-
|
|
461
|
+
35138047) {
|
|
459
462
|
a = ge(
|
|
460
463
|
/*searchArray*/
|
|
461
|
-
r[
|
|
464
|
+
r[13]
|
|
462
465
|
);
|
|
463
466
|
let s;
|
|
464
467
|
for (s = 0; s < a.length; s += 1) {
|
|
@@ -471,7 +474,7 @@ function ke(t) {
|
|
|
471
474
|
}
|
|
472
475
|
},
|
|
473
476
|
d(r) {
|
|
474
|
-
r && j(e),
|
|
477
|
+
r && j(e), $e(n, r);
|
|
475
478
|
}
|
|
476
479
|
};
|
|
477
480
|
}
|
|
@@ -479,7 +482,7 @@ function Re(t) {
|
|
|
479
482
|
let e, a, n, r, l, s, i, c, m, h, g, w;
|
|
480
483
|
return {
|
|
481
484
|
c() {
|
|
482
|
-
e =
|
|
485
|
+
e = k("casino-game-thumbnail"), u(
|
|
483
486
|
e,
|
|
484
487
|
"endpoint",
|
|
485
488
|
/*endpoint*/
|
|
@@ -505,28 +508,28 @@ function Re(t) {
|
|
|
505
508
|
/*lang*/
|
|
506
509
|
t[1]
|
|
507
510
|
), u(e, "gamethumbnail", a = /*game*/
|
|
508
|
-
t[
|
|
509
|
-
t[
|
|
510
|
-
t[
|
|
511
|
-
t[
|
|
512
|
-
t[
|
|
513
|
-
t[
|
|
511
|
+
t[55].thumbnail), u(e, "gamename", n = /*game*/
|
|
512
|
+
t[55].name), u(e, "gamevendor", r = /*game*/
|
|
513
|
+
t[55].vendor.displayName), u(e, "gameLaunchUrl", l = /*game*/
|
|
514
|
+
t[55].launchUrl), u(e, "gameisnew", s = /*game*/
|
|
515
|
+
t[55].isNew), u(e, "gametag", i = /*game*/
|
|
516
|
+
t[55].advancedTags?.length > 0 && /*addGameTag*/
|
|
514
517
|
t[25](
|
|
515
518
|
/*game*/
|
|
516
|
-
t[
|
|
519
|
+
t[55].advancedTags
|
|
517
520
|
)), u(e, "gamecellsize", c = /*game*/
|
|
518
|
-
t[
|
|
519
|
-
t[
|
|
521
|
+
t[55].cellSize), u(e, "gameid", m = /*game*/
|
|
522
|
+
t[55].id), u(
|
|
520
523
|
e,
|
|
521
524
|
"showgamename",
|
|
522
525
|
/*showgamename*/
|
|
523
526
|
t[6]
|
|
524
527
|
), u(e, "gamefunmode", h = /*game*/
|
|
525
|
-
t[
|
|
526
|
-
t[
|
|
527
|
-
t[
|
|
528
|
+
t[55].hasFunMode), u(e, "gamefavorite", g = /*game*/
|
|
529
|
+
t[55].isFavorite), u(e, "livelobbyendpoint", w = /*game*/
|
|
530
|
+
t[55].details ? (
|
|
528
531
|
/*game*/
|
|
529
|
-
t[
|
|
532
|
+
t[55].launchUrl
|
|
530
533
|
) : ""), u(
|
|
531
534
|
e,
|
|
532
535
|
"integratedgameframedesktop",
|
|
@@ -594,40 +597,40 @@ function Re(t) {
|
|
|
594
597
|
/*lang*/
|
|
595
598
|
d[1]
|
|
596
599
|
), p[0] & /*searchArray*/
|
|
597
|
-
|
|
598
|
-
d[
|
|
599
|
-
|
|
600
|
-
d[
|
|
601
|
-
|
|
602
|
-
d[
|
|
603
|
-
|
|
604
|
-
d[
|
|
605
|
-
|
|
606
|
-
d[
|
|
607
|
-
|
|
608
|
-
d[
|
|
600
|
+
8192 && a !== (a = /*game*/
|
|
601
|
+
d[55].thumbnail) && u(e, "gamethumbnail", a), p[0] & /*searchArray*/
|
|
602
|
+
8192 && n !== (n = /*game*/
|
|
603
|
+
d[55].name) && u(e, "gamename", n), p[0] & /*searchArray*/
|
|
604
|
+
8192 && r !== (r = /*game*/
|
|
605
|
+
d[55].vendor.displayName) && u(e, "gamevendor", r), p[0] & /*searchArray*/
|
|
606
|
+
8192 && l !== (l = /*game*/
|
|
607
|
+
d[55].launchUrl) && u(e, "gameLaunchUrl", l), p[0] & /*searchArray*/
|
|
608
|
+
8192 && s !== (s = /*game*/
|
|
609
|
+
d[55].isNew) && u(e, "gameisnew", s), p[0] & /*searchArray*/
|
|
610
|
+
8192 && i !== (i = /*game*/
|
|
611
|
+
d[55].advancedTags?.length > 0 && /*addGameTag*/
|
|
609
612
|
d[25](
|
|
610
613
|
/*game*/
|
|
611
|
-
d[
|
|
614
|
+
d[55].advancedTags
|
|
612
615
|
)) && u(e, "gametag", i), p[0] & /*searchArray*/
|
|
613
|
-
|
|
614
|
-
d[
|
|
615
|
-
|
|
616
|
-
d[
|
|
616
|
+
8192 && c !== (c = /*game*/
|
|
617
|
+
d[55].cellSize) && u(e, "gamecellsize", c), p[0] & /*searchArray*/
|
|
618
|
+
8192 && m !== (m = /*game*/
|
|
619
|
+
d[55].id) && u(e, "gameid", m), p[0] & /*showgamename*/
|
|
617
620
|
64 && u(
|
|
618
621
|
e,
|
|
619
622
|
"showgamename",
|
|
620
623
|
/*showgamename*/
|
|
621
624
|
d[6]
|
|
622
625
|
), p[0] & /*searchArray*/
|
|
623
|
-
|
|
624
|
-
d[
|
|
625
|
-
|
|
626
|
-
d[
|
|
627
|
-
|
|
628
|
-
d[
|
|
626
|
+
8192 && h !== (h = /*game*/
|
|
627
|
+
d[55].hasFunMode) && u(e, "gamefunmode", h), p[0] & /*searchArray*/
|
|
628
|
+
8192 && g !== (g = /*game*/
|
|
629
|
+
d[55].isFavorite) && u(e, "gamefavorite", g), p[0] & /*searchArray*/
|
|
630
|
+
8192 && w !== (w = /*game*/
|
|
631
|
+
d[55].details ? (
|
|
629
632
|
/*game*/
|
|
630
|
-
d[
|
|
633
|
+
d[55].launchUrl
|
|
631
634
|
) : "") && u(e, "livelobbyendpoint", w), p[0] & /*integratedgameframedesktop*/
|
|
632
635
|
16 && u(
|
|
633
636
|
e,
|
|
@@ -684,7 +687,7 @@ function Ce(t) {
|
|
|
684
687
|
);
|
|
685
688
|
return {
|
|
686
689
|
c() {
|
|
687
|
-
e =
|
|
690
|
+
e = k("div"), g && g.c(), a = z(), n = k("p"), l = H(r), s = z(), i = k("p"), m = H(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
688
691
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
689
692
|
},
|
|
690
693
|
m(w, d) {
|
|
@@ -709,7 +712,7 @@ function Fe(t) {
|
|
|
709
712
|
let e;
|
|
710
713
|
return {
|
|
711
714
|
c() {
|
|
712
|
-
e =
|
|
715
|
+
e = k("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
|
|
713
716
|
},
|
|
714
717
|
m(a, n) {
|
|
715
718
|
I(a, e, n);
|
|
@@ -719,25 +722,25 @@ function Fe(t) {
|
|
|
719
722
|
}
|
|
720
723
|
};
|
|
721
724
|
}
|
|
722
|
-
function
|
|
723
|
-
let e, a, n, r, l, s, i, c, m, h, g, w, d, p, B, N, x,
|
|
725
|
+
function gt(t) {
|
|
726
|
+
let e, a, n, r, l, s, i, c, m, h, g, w, d, p, B, N, x, J, A, W, v = (
|
|
724
727
|
/*cancelbutton*/
|
|
725
728
|
t[9] === "true" && _e(t)
|
|
726
729
|
);
|
|
727
|
-
function
|
|
730
|
+
function D(_, T) {
|
|
728
731
|
return (
|
|
729
732
|
/*isLoading*/
|
|
730
|
-
_[18] ?
|
|
733
|
+
_[18] ? ht : ut
|
|
731
734
|
);
|
|
732
735
|
}
|
|
733
|
-
let M =
|
|
736
|
+
let M = D(t), R = M(t);
|
|
734
737
|
return {
|
|
735
738
|
c() {
|
|
736
|
-
e =
|
|
737
|
-
t[21]("placeHolderSearchGames")), f(s, "maxlength",
|
|
739
|
+
e = k("div"), a = k("div"), n = k("div"), r = k("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', l = z(), s = k("input"), c = z(), m = k("span"), h = de("svg"), g = de("path"), d = z(), v && v.c(), B = z(), N = k("div"), J = z(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
|
|
740
|
+
t[21]("placeHolderSearchGames")), f(s, "maxlength", ft), f(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(g, "stroke", "#717171"), f(g, "stroke-width", "2"), f(g, "stroke-linecap", "round"), f(g, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", w = "SearchClearButton " + /*cancelbutton*/
|
|
738
741
|
(t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
739
|
-
(t[
|
|
740
|
-
(t[
|
|
742
|
+
(t[14].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
|
|
743
|
+
(t[16] ? "" : "SearchAnimation")), f(a, "class", "SearchWrap"), f(N, "class", x = /*cancelbutton*/
|
|
741
744
|
t[9] != "true" ? "OverlayCancel" : ""), f(e, "class", (ae(
|
|
742
745
|
/*userAgent*/
|
|
743
746
|
t[22]
|
|
@@ -747,27 +750,33 @@ function mt(t) {
|
|
|
747
750
|
I(_, e, T), b(e, a), b(a, n), b(n, r), b(n, l), b(n, s), he(
|
|
748
751
|
s,
|
|
749
752
|
/*searchValue*/
|
|
750
|
-
t[
|
|
751
|
-
), t[
|
|
752
|
-
|
|
753
|
+
t[14]
|
|
754
|
+
), t[35](s), b(n, c), b(n, m), b(m, h), b(h, g), b(n, d), v && v.m(n, null), b(e, B), b(e, N), b(e, J), R.m(e, null), t[38](e), A || (W = [
|
|
755
|
+
U(
|
|
753
756
|
s,
|
|
754
757
|
"input",
|
|
755
758
|
/*input_input_handler*/
|
|
756
|
-
t[
|
|
759
|
+
t[34]
|
|
757
760
|
),
|
|
758
|
-
|
|
761
|
+
U(
|
|
759
762
|
s,
|
|
760
763
|
"focus",
|
|
761
764
|
/*onFocus*/
|
|
762
765
|
t[23]
|
|
763
766
|
),
|
|
764
|
-
|
|
767
|
+
U(
|
|
768
|
+
s,
|
|
769
|
+
"input",
|
|
770
|
+
/*handleSearchInput*/
|
|
771
|
+
t[28]
|
|
772
|
+
),
|
|
773
|
+
U(
|
|
765
774
|
m,
|
|
766
775
|
"click",
|
|
767
776
|
/*click_handler*/
|
|
768
|
-
t[
|
|
777
|
+
t[36]
|
|
769
778
|
),
|
|
770
|
-
|
|
779
|
+
U(
|
|
771
780
|
N,
|
|
772
781
|
"click",
|
|
773
782
|
/*handleOverlay*/
|
|
@@ -779,33 +788,33 @@ function mt(t) {
|
|
|
779
788
|
T[0] & /*$_*/
|
|
780
789
|
2097152 && i !== (i = /*$_*/
|
|
781
790
|
_[21]("placeHolderSearchGames")) && f(s, "placeholder", i), T[0] & /*searchValue*/
|
|
782
|
-
|
|
783
|
-
_[
|
|
791
|
+
16384 && s.value !== /*searchValue*/
|
|
792
|
+
_[14] && he(
|
|
784
793
|
s,
|
|
785
794
|
/*searchValue*/
|
|
786
|
-
_[
|
|
795
|
+
_[14]
|
|
787
796
|
), T[0] & /*cancelbutton, searchValue*/
|
|
788
|
-
|
|
797
|
+
16896 && w !== (w = "SearchClearButton " + /*cancelbutton*/
|
|
789
798
|
(_[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
790
|
-
(_[
|
|
799
|
+
(_[14].length != 0 ? "" : "NotVisible")) && f(m, "class", w), /*cancelbutton*/
|
|
791
800
|
_[9] === "true" ? v ? v.p(_, T) : (v = _e(_), v.c(), v.m(n, null)) : v && (v.d(1), v = null), T[0] & /*searchCancelled*/
|
|
792
|
-
|
|
793
|
-
(_[
|
|
801
|
+
65536 && p !== (p = "Search " + /*searchCancelled*/
|
|
802
|
+
(_[16] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
|
|
794
803
|
512 && x !== (x = /*cancelbutton*/
|
|
795
|
-
_[9] != "true" ? "OverlayCancel" : "") && f(N, "class", x), M === (M =
|
|
804
|
+
_[9] != "true" ? "OverlayCancel" : "") && f(N, "class", x), M === (M = D(_)) && R ? R.p(_, T) : (R.d(1), R = M(_), R && (R.c(), R.m(e, null)));
|
|
796
805
|
},
|
|
797
806
|
i: ue,
|
|
798
807
|
o: ue,
|
|
799
808
|
d(_) {
|
|
800
|
-
_ && j(e), t[
|
|
809
|
+
_ && j(e), t[35](null), v && v.d(), R.d(), t[38](null), A = !1, Ke(W);
|
|
801
810
|
}
|
|
802
811
|
};
|
|
803
812
|
}
|
|
804
|
-
let
|
|
805
|
-
function
|
|
813
|
+
let ft = 50;
|
|
814
|
+
function pt(t, e, a) {
|
|
806
815
|
let n;
|
|
807
|
-
|
|
808
|
-
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: B = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: x = "true" } = e, { notfoundicon:
|
|
816
|
+
Xe(t, rt, (o) => a(21, n = o));
|
|
817
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: B = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: x = "true" } = e, { notfoundicon: J = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], D = [], M = {}, R = "", _, T = !0, Z = !1, E = !1, P, K = !1, X, Q, re = [];
|
|
809
818
|
const Te = () => {
|
|
810
819
|
fetch(B).then((S) => S.json()).then((S) => {
|
|
811
820
|
Object.keys(S).forEach((y) => {
|
|
@@ -819,74 +828,74 @@ function ft(t, e, a) {
|
|
|
819
828
|
fe(o, pe[o]);
|
|
820
829
|
});
|
|
821
830
|
const oe = (o) => {
|
|
822
|
-
o.data && o.data.type == "SearchedItemClicked" && Ne(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(
|
|
831
|
+
o.data && o.data.type == "SearchedItemClicked" && Ne(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(33, K = !0)), o.data.type == "CategoryChange" && $();
|
|
823
832
|
}, se = () => {
|
|
824
|
-
if (a(
|
|
825
|
-
a(
|
|
833
|
+
if (a(16, T = !1), a(17, Z = !0), r && l && c && R.length < 2) {
|
|
834
|
+
a(13, v = []);
|
|
826
835
|
let o = localStorage.getItem("searchedGamesWds_casino"), S = [];
|
|
827
836
|
o && (S = o.split(","));
|
|
828
837
|
let y = [], C = 0, F = S.length;
|
|
829
838
|
if (F > 0) {
|
|
830
839
|
for (C = 0; C < F; C++) {
|
|
831
|
-
let
|
|
832
|
-
|
|
840
|
+
let G = new URL(`${r}/v1/casino/games/${S[C]}`);
|
|
841
|
+
G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ae(W)), y.push(Ge(G, S[C]));
|
|
833
842
|
}
|
|
834
|
-
Promise.all(y).then((
|
|
835
|
-
|
|
843
|
+
Promise.all(y).then((G) => {
|
|
844
|
+
G = G.filter(function(O) {
|
|
836
845
|
return !!O;
|
|
837
|
-
}), a(
|
|
838
|
-
}).catch((
|
|
839
|
-
|
|
846
|
+
}), a(13, v = G.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Y("searchSuccess", "SearchWidget") : Y("searchFail", "SearchWidget");
|
|
847
|
+
}).catch((G) => {
|
|
848
|
+
Y("searchError", "SearchWidget");
|
|
840
849
|
});
|
|
841
850
|
}
|
|
842
851
|
}
|
|
843
|
-
ce(
|
|
844
|
-
},
|
|
852
|
+
ce(Z), Y("searchAttempt", "SearchWidget"), Y("SearchInitialized", "SearchWidget");
|
|
853
|
+
}, Y = (o, S) => {
|
|
845
854
|
typeof gtag == "function" && gtag("event", o, { context: S });
|
|
846
855
|
}, je = () => {
|
|
847
856
|
x != "true" && $();
|
|
848
857
|
}, Ie = (o) => new Promise((S, y) => {
|
|
849
|
-
a(18,
|
|
850
|
-
a(18,
|
|
858
|
+
a(18, E = !0), fetch(o.href).then((C) => C.json()).then((C) => {
|
|
859
|
+
a(18, E = !1), S(C);
|
|
851
860
|
}).catch((C) => {
|
|
852
|
-
a(18,
|
|
861
|
+
a(18, E = !1), console.error(C), y(C);
|
|
853
862
|
});
|
|
854
|
-
}),
|
|
855
|
-
a(18,
|
|
856
|
-
a(18,
|
|
863
|
+
}), Ge = (o, S) => new Promise((y, C) => {
|
|
864
|
+
a(18, E = !0), S && Object.keys(M).indexOf(S) >= 0 ? (a(18, E = !1), y(M[S])) : fetch(o).then((F) => F.json()).then((F) => {
|
|
865
|
+
a(18, E = !1), F.error || (M[F[0].gameId] = F[0]), y(F[0]);
|
|
857
866
|
}).catch((F) => {
|
|
858
|
-
a(18,
|
|
867
|
+
a(18, E = !1), console.error(F), C(F);
|
|
859
868
|
});
|
|
860
|
-
}),
|
|
869
|
+
}), De = () => {
|
|
861
870
|
const o = new URL(`${r}/v1/player/${Q}/favorites/`);
|
|
862
|
-
a(18,
|
|
871
|
+
a(18, E = !0);
|
|
863
872
|
let S = {
|
|
864
873
|
method: "GET",
|
|
865
874
|
headers: { "X-SessionID": X }
|
|
866
875
|
};
|
|
867
876
|
fetch(o.href, S).then((y) => y.json()).then((y) => {
|
|
868
|
-
a(18,
|
|
877
|
+
a(18, E = !1), re = y.items.map((C) => C.id);
|
|
869
878
|
});
|
|
870
|
-
},
|
|
871
|
-
a(
|
|
879
|
+
}, Ee = () => {
|
|
880
|
+
a(33, K = !0), a(19, X = s), a(20, Q = i);
|
|
872
881
|
}, le = (o) => re.findIndex((S) => S == o) !== -1, ze = (o) => {
|
|
873
882
|
if (o?.length === 0)
|
|
874
883
|
return "";
|
|
875
884
|
let S, y = 99999999999, C;
|
|
876
885
|
const F = new Date(Date.now());
|
|
877
|
-
return o.forEach((
|
|
878
|
-
const
|
|
879
|
-
Se(new Date(te), new Date(F)) < y && (y = Se(new Date(te), new Date(F)), C = O),
|
|
886
|
+
return o.forEach((G, O) => {
|
|
887
|
+
const He = new Date(G.schedules[0].startTime), te = new Date(G.schedules[0].endTime);
|
|
888
|
+
Se(new Date(te), new Date(F)) < y && (y = Se(new Date(te), new Date(F)), C = O), lt(new Date(F), new Date(He)) && it(new Date(F), new Date(te)) && (S = o[C].name);
|
|
880
889
|
}), S;
|
|
881
890
|
}, Ne = (o) => {
|
|
882
|
-
if (
|
|
891
|
+
if (D = localStorage.getItem("searchedGamesWds_casino"), D ? D = D.split(",") : D = [], D.indexOf(o) === -1) {
|
|
883
892
|
let S;
|
|
884
|
-
|
|
893
|
+
D.unshift(o), S = D.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
885
894
|
}
|
|
886
895
|
}, $ = () => {
|
|
887
|
-
a(
|
|
896
|
+
a(14, R = ""), a(16, T = !0), a(18, E = !1), a(13, v = []), a(17, Z = !1), ce(Z);
|
|
888
897
|
}, ie = () => {
|
|
889
|
-
a(
|
|
898
|
+
a(14, R = ""), _.focus();
|
|
890
899
|
}, ce = (o) => {
|
|
891
900
|
window.postMessage(
|
|
892
901
|
{
|
|
@@ -897,45 +906,45 @@ function ft(t, e, a) {
|
|
|
897
906
|
);
|
|
898
907
|
}, Pe = () => {
|
|
899
908
|
ot(c);
|
|
900
|
-
}
|
|
901
|
-
|
|
909
|
+
}, xe = st(async () => {
|
|
910
|
+
if (R.length >= 2) {
|
|
911
|
+
const o = new URL(`${r}/v1/casino/games`);
|
|
912
|
+
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), Ie(o).then((S) => {
|
|
913
|
+
a(13, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
|
|
914
|
+
});
|
|
915
|
+
} else
|
|
916
|
+
T || se();
|
|
917
|
+
}, 500);
|
|
918
|
+
Qe(() => (window.addEventListener("message", oe, !1), () => {
|
|
902
919
|
window.removeEventListener("message", oe);
|
|
903
920
|
}));
|
|
904
|
-
function
|
|
905
|
-
|
|
921
|
+
function Me() {
|
|
922
|
+
R = this.value, a(14, R);
|
|
906
923
|
}
|
|
907
|
-
function
|
|
924
|
+
function Be(o) {
|
|
908
925
|
me[o ? "unshift" : "push"](() => {
|
|
909
|
-
_ = o, a(
|
|
926
|
+
_ = o, a(15, _);
|
|
910
927
|
});
|
|
911
928
|
}
|
|
912
|
-
const
|
|
913
|
-
function
|
|
929
|
+
const Ae = () => ie(), Oe = () => $();
|
|
930
|
+
function qe(o) {
|
|
914
931
|
me[o ? "unshift" : "push"](() => {
|
|
915
|
-
P = o, a(
|
|
932
|
+
P = o, a(12, P);
|
|
916
933
|
});
|
|
917
934
|
}
|
|
918
935
|
return t.$$set = (o) => {
|
|
919
|
-
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(
|
|
936
|
+
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(29, l = o.datasource), "session" in o && a(30, s = o.session), "userid" in o && a(31, i = o.userid), "lang" in o && a(1, c = o.lang), "clientstyling" in o && a(2, m = o.clientstyling), "clientstylingurl" in o && a(3, h = o.clientstylingurl), "integratedgameframedesktop" in o && a(4, g = o.integratedgameframedesktop), "integratedgameframemobile" in o && a(5, w = o.integratedgameframemobile), "showgamename" in o && a(6, d = o.showgamename), "gamepagemodalurl" in o && a(7, p = o.gamepagemodalurl), "translationurl" in o && a(32, B = o.translationurl), "showfavorites" in o && a(8, N = o.showfavorites), "cancelbutton" in o && a(9, x = o.cancelbutton), "notfoundicon" in o && a(10, J = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
|
|
920
937
|
}, t.$$.update = () => {
|
|
921
|
-
if (t.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
922
|
-
268447747)
|
|
923
|
-
if (k.length >= 2) {
|
|
924
|
-
const o = new URL(`${r}/v1/casino/games`);
|
|
925
|
-
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ae(W)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${k}`), Ie(o).then((S) => {
|
|
926
|
-
rt("game_search", { searchValue: k }), a(15, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
|
|
927
|
-
});
|
|
928
|
-
} else
|
|
929
|
-
T || se();
|
|
930
938
|
t.$$.dirty[0] & /*lang*/
|
|
931
939
|
2 && c && Pe(), t.$$.dirty[1] & /*translationurl*/
|
|
932
|
-
|
|
933
|
-
|
|
940
|
+
2 && B && Te(), t.$$.dirty[0] & /*session*/
|
|
941
|
+
1073741824 | t.$$.dirty[1] & /*userid*/
|
|
942
|
+
1 && s && i && Ee(), t.$$.dirty[0] & /*showfavorites*/
|
|
934
943
|
256 | t.$$.dirty[1] & /*isLoggedIn*/
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
944
|
+
4 && N && K && De(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
945
|
+
4100 && m && P && et(P, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
946
|
+
4104 && h && P && tt(P, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
947
|
+
6144 && P && at(P, `${A}.Style`);
|
|
939
948
|
}, [
|
|
940
949
|
r,
|
|
941
950
|
c,
|
|
@@ -947,15 +956,15 @@ function ft(t, e, a) {
|
|
|
947
956
|
p,
|
|
948
957
|
N,
|
|
949
958
|
x,
|
|
950
|
-
|
|
959
|
+
J,
|
|
951
960
|
A,
|
|
952
|
-
k,
|
|
953
|
-
T,
|
|
954
961
|
P,
|
|
955
962
|
v,
|
|
963
|
+
R,
|
|
956
964
|
_,
|
|
957
|
-
|
|
958
|
-
|
|
965
|
+
T,
|
|
966
|
+
Z,
|
|
967
|
+
E,
|
|
959
968
|
X,
|
|
960
969
|
Q,
|
|
961
970
|
n,
|
|
@@ -965,31 +974,32 @@ function ft(t, e, a) {
|
|
|
965
974
|
ze,
|
|
966
975
|
$,
|
|
967
976
|
ie,
|
|
977
|
+
xe,
|
|
968
978
|
l,
|
|
969
979
|
s,
|
|
970
980
|
i,
|
|
971
981
|
B,
|
|
972
982
|
K,
|
|
973
|
-
xe,
|
|
974
983
|
Me,
|
|
975
984
|
Be,
|
|
976
985
|
Ae,
|
|
977
|
-
Oe
|
|
986
|
+
Oe,
|
|
987
|
+
qe
|
|
978
988
|
];
|
|
979
989
|
}
|
|
980
|
-
class
|
|
990
|
+
class St extends Ve {
|
|
981
991
|
constructor(e) {
|
|
982
|
-
super(),
|
|
992
|
+
super(), Je(
|
|
983
993
|
this,
|
|
984
994
|
e,
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
995
|
+
pt,
|
|
996
|
+
gt,
|
|
997
|
+
Ze,
|
|
988
998
|
{
|
|
989
999
|
endpoint: 0,
|
|
990
|
-
datasource:
|
|
991
|
-
session:
|
|
992
|
-
userid:
|
|
1000
|
+
datasource: 29,
|
|
1001
|
+
session: 30,
|
|
1002
|
+
userid: 31,
|
|
993
1003
|
lang: 1,
|
|
994
1004
|
clientstyling: 2,
|
|
995
1005
|
clientstylingurl: 3,
|
|
@@ -997,13 +1007,13 @@ class pt extends Ue {
|
|
|
997
1007
|
integratedgameframemobile: 5,
|
|
998
1008
|
showgamename: 6,
|
|
999
1009
|
gamepagemodalurl: 7,
|
|
1000
|
-
translationurl:
|
|
1010
|
+
translationurl: 32,
|
|
1001
1011
|
showfavorites: 8,
|
|
1002
1012
|
cancelbutton: 9,
|
|
1003
1013
|
notfoundicon: 10,
|
|
1004
1014
|
mbsource: 11
|
|
1005
1015
|
},
|
|
1006
|
-
|
|
1016
|
+
ct,
|
|
1007
1017
|
[-1, -1]
|
|
1008
1018
|
);
|
|
1009
1019
|
}
|
|
@@ -1014,19 +1024,19 @@ class pt extends Ue {
|
|
|
1014
1024
|
this.$$set({ endpoint: e }), L();
|
|
1015
1025
|
}
|
|
1016
1026
|
get datasource() {
|
|
1017
|
-
return this.$$.ctx[
|
|
1027
|
+
return this.$$.ctx[29];
|
|
1018
1028
|
}
|
|
1019
1029
|
set datasource(e) {
|
|
1020
1030
|
this.$$set({ datasource: e }), L();
|
|
1021
1031
|
}
|
|
1022
1032
|
get session() {
|
|
1023
|
-
return this.$$.ctx[
|
|
1033
|
+
return this.$$.ctx[30];
|
|
1024
1034
|
}
|
|
1025
1035
|
set session(e) {
|
|
1026
1036
|
this.$$set({ session: e }), L();
|
|
1027
1037
|
}
|
|
1028
1038
|
get userid() {
|
|
1029
|
-
return this.$$.ctx[
|
|
1039
|
+
return this.$$.ctx[31];
|
|
1030
1040
|
}
|
|
1031
1041
|
set userid(e) {
|
|
1032
1042
|
this.$$set({ userid: e }), L();
|
|
@@ -1074,7 +1084,7 @@ class pt extends Ue {
|
|
|
1074
1084
|
this.$$set({ gamepagemodalurl: e }), L();
|
|
1075
1085
|
}
|
|
1076
1086
|
get translationurl() {
|
|
1077
|
-
return this.$$.ctx[
|
|
1087
|
+
return this.$$.ctx[32];
|
|
1078
1088
|
}
|
|
1079
1089
|
set translationurl(e) {
|
|
1080
1090
|
this.$$set({ translationurl: e }), L();
|
|
@@ -1104,7 +1114,7 @@ class pt extends Ue {
|
|
|
1104
1114
|
this.$$set({ mbsource: e }), L();
|
|
1105
1115
|
}
|
|
1106
1116
|
}
|
|
1107
|
-
|
|
1117
|
+
nt(St, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
|
|
1108
1118
|
export {
|
|
1109
|
-
|
|
1119
|
+
St as default
|
|
1110
1120
|
};
|