@everymatrix/casino-search-nd 1.77.6 → 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/{CasinoSearchNd-D4hW6gtu.js → CasinoSearchNd-CFJEVC2V.js} +251 -224
- package/components/{CasinoSearchNd-BakU_2OW.js → CasinoSearchNd-CXNtyx1X.js} +168 -157
- package/components/CasinoSearchNd-DWl6wwh6.cjs +1 -0
- package/es2015/casino-search-nd.cjs +1 -1
- package/es2015/casino-search-nd.js +1 -1
- package/esnext/casino-search-nd.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSearchNd-Dmq6P6O5.cjs +0 -1
|
@@ -1,11 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
var le = (a, e, t) => new Promise((n, r) => {
|
|
2
|
+
var l = (c) => {
|
|
3
|
+
try {
|
|
4
|
+
i(t.next(c));
|
|
5
|
+
} catch (m) {
|
|
6
|
+
r(m);
|
|
7
|
+
}
|
|
8
|
+
}, s = (c) => {
|
|
9
|
+
try {
|
|
10
|
+
i(t.throw(c));
|
|
11
|
+
} catch (m) {
|
|
12
|
+
r(m);
|
|
13
|
+
}
|
|
14
|
+
}, i = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(l, s);
|
|
15
|
+
i((t = t.apply(a, e)).next());
|
|
16
|
+
});
|
|
17
|
+
import { a as qe, $ as We, S as Oe, i as Ue, f as L, s as Ve, c as Je, b as Ze, n as ie, d as E, r as Ye, e as g, g as ce, h as I, j as S, l as V, k as y, m as D, o as ue, p as ee, q as Ke, t as Xe, u as H, v as q, w as he, x as Qe, y as $e, z as de, A as me, B as et, C as Ce, D as u, E as tt, F as at, G as nt, H as rt } from "./CasinoGameThumbnailNd-BR_xotBc.js";
|
|
18
|
+
function fe(a, e) {
|
|
19
|
+
qe(a, e);
|
|
4
20
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
21
|
+
function ot(a) {
|
|
22
|
+
We.set(a);
|
|
7
23
|
}
|
|
8
|
-
const
|
|
24
|
+
const ge = {
|
|
9
25
|
en: {
|
|
10
26
|
recentSearch: "Recent search",
|
|
11
27
|
placeHolderSearchGames: "Search for Games",
|
|
@@ -187,6 +203,10 @@ const fe = {
|
|
|
187
203
|
notFoundText: "Please type the correct name of the game to start to play.",
|
|
188
204
|
noRecentSearches: "No recent searches yet. Search for any of our games."
|
|
189
205
|
}
|
|
206
|
+
}, st = (a, e) => function(...t) {
|
|
207
|
+
clearTimeout(this.debounceTimer), this.debounceTimer = setTimeout(() => {
|
|
208
|
+
a.apply(this, t);
|
|
209
|
+
}, e);
|
|
190
210
|
};
|
|
191
211
|
if (typeof window != "undefined") {
|
|
192
212
|
let a = function(e) {
|
|
@@ -204,14 +224,14 @@ if (typeof window != "undefined") {
|
|
|
204
224
|
!customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", e.element);
|
|
205
225
|
});
|
|
206
226
|
}
|
|
207
|
-
function
|
|
208
|
-
|
|
227
|
+
function lt(a) {
|
|
228
|
+
Ze(a, "svelte-1vt65d9", "*,*::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 10px;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;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.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{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 .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}");
|
|
209
229
|
}
|
|
210
|
-
function
|
|
230
|
+
function pe(a, e, t) {
|
|
211
231
|
const n = a.slice();
|
|
212
|
-
return n[
|
|
232
|
+
return n[55] = e[t], n;
|
|
213
233
|
}
|
|
214
|
-
function
|
|
234
|
+
function _e(a) {
|
|
215
235
|
let e, t = (
|
|
216
236
|
/*$_*/
|
|
217
237
|
a[21]("cancel") + ""
|
|
@@ -219,73 +239,73 @@ function pe(a) {
|
|
|
219
239
|
return {
|
|
220
240
|
c() {
|
|
221
241
|
e = y("small"), n = q(t), g(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
|
|
222
|
-
(a[
|
|
242
|
+
(a[16] ? "NotVisible" : ""));
|
|
223
243
|
},
|
|
224
244
|
m(i, c) {
|
|
225
|
-
I(i, e, c), S(e, n), l || (s =
|
|
245
|
+
I(i, e, c), S(e, n), l || (s = V(
|
|
226
246
|
e,
|
|
227
247
|
"click",
|
|
228
248
|
/*click_handler_1*/
|
|
229
|
-
a[
|
|
249
|
+
a[37]
|
|
230
250
|
), l = !0);
|
|
231
251
|
},
|
|
232
252
|
p(i, c) {
|
|
233
253
|
c[0] & /*$_*/
|
|
234
254
|
2097152 && t !== (t = /*$_*/
|
|
235
255
|
i[21]("cancel") + "") && H(n, t), c[0] & /*searchCancelled*/
|
|
236
|
-
|
|
237
|
-
(i[
|
|
256
|
+
65536 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
|
|
257
|
+
(i[16] ? "NotVisible" : "")) && g(e, "class", r);
|
|
238
258
|
},
|
|
239
259
|
d(i) {
|
|
240
260
|
i && E(e), l = !1, s();
|
|
241
261
|
}
|
|
242
262
|
};
|
|
243
263
|
}
|
|
244
|
-
function
|
|
264
|
+
function it(a) {
|
|
245
265
|
let e, t, n, r;
|
|
246
|
-
function l(h,
|
|
266
|
+
function l(h, f) {
|
|
247
267
|
if (
|
|
248
268
|
/*searchActive*/
|
|
249
269
|
h[17] == !0 && /*searchValue*/
|
|
250
|
-
h[
|
|
270
|
+
h[14].length < 2
|
|
251
271
|
)
|
|
252
|
-
return
|
|
272
|
+
return ht;
|
|
253
273
|
if (
|
|
254
274
|
/*searchArray*/
|
|
255
|
-
h[
|
|
275
|
+
h[13].length != 0
|
|
256
276
|
)
|
|
257
|
-
return
|
|
277
|
+
return ut;
|
|
258
278
|
}
|
|
259
279
|
let s = l(a), i = s && s(a), c = (
|
|
260
280
|
/*searchCancelled*/
|
|
261
|
-
a[
|
|
262
|
-
),
|
|
281
|
+
a[16] === !1 && ve(a)
|
|
282
|
+
), m = (
|
|
263
283
|
/*searchValue*/
|
|
264
|
-
a[
|
|
265
|
-
a[
|
|
284
|
+
a[14].length >= 2 && /*searchArray*/
|
|
285
|
+
a[13].length == 0 && ye(a)
|
|
266
286
|
);
|
|
267
287
|
return {
|
|
268
288
|
c() {
|
|
269
|
-
i && i.c(), e = D(), t = y("div"), c && c.c(), n = D(),
|
|
289
|
+
i && i.c(), e = D(), t = y("div"), c && c.c(), n = D(), m && m.c(), g(t, "class", r = "SearchResultsContainer " + /*searchActive*/
|
|
270
290
|
(a[17] == !0 ? "" : "NotVisible"));
|
|
271
291
|
},
|
|
272
|
-
m(h,
|
|
273
|
-
i && i.m(h,
|
|
292
|
+
m(h, f) {
|
|
293
|
+
i && i.m(h, f), I(h, e, f), I(h, t, f), c && c.m(t, null), S(t, n), m && m.m(t, null);
|
|
274
294
|
},
|
|
275
|
-
p(h,
|
|
276
|
-
s === (s = l(h)) && i ? i.p(h,
|
|
277
|
-
h[
|
|
278
|
-
h[
|
|
279
|
-
h[
|
|
295
|
+
p(h, f) {
|
|
296
|
+
s === (s = l(h)) && i ? i.p(h, f) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
|
|
297
|
+
h[16] === !1 ? c ? c.p(h, f) : (c = ve(h), c.c(), c.m(t, n)) : c && (c.d(1), c = null), /*searchValue*/
|
|
298
|
+
h[14].length >= 2 && /*searchArray*/
|
|
299
|
+
h[13].length == 0 ? m ? m.p(h, f) : (m = ye(h), m.c(), m.m(t, null)) : m && (m.d(1), m = null), f[0] & /*searchActive*/
|
|
280
300
|
131072 && r !== (r = "SearchResultsContainer " + /*searchActive*/
|
|
281
301
|
(h[17] == !0 ? "" : "NotVisible")) && g(t, "class", r);
|
|
282
302
|
},
|
|
283
303
|
d(h) {
|
|
284
|
-
h && (E(e), E(t)), i && i.d(h), c && c.d(),
|
|
304
|
+
h && (E(e), E(t)), i && i.d(h), c && c.d(), m && m.d();
|
|
285
305
|
}
|
|
286
306
|
};
|
|
287
307
|
}
|
|
288
|
-
function
|
|
308
|
+
function ct(a) {
|
|
289
309
|
let e, t = (
|
|
290
310
|
/*$_*/
|
|
291
311
|
a[21]("loading") + ""
|
|
@@ -307,7 +327,7 @@ function st(a) {
|
|
|
307
327
|
}
|
|
308
328
|
};
|
|
309
329
|
}
|
|
310
|
-
function
|
|
330
|
+
function ut(a) {
|
|
311
331
|
let e, t = (
|
|
312
332
|
/*$_*/
|
|
313
333
|
a[21]("searchResult") + ""
|
|
@@ -329,32 +349,32 @@ function lt(a) {
|
|
|
329
349
|
}
|
|
330
350
|
};
|
|
331
351
|
}
|
|
332
|
-
function
|
|
352
|
+
function ht(a) {
|
|
333
353
|
let e, t, n = (
|
|
334
354
|
/*searchArray*/
|
|
335
|
-
a[
|
|
355
|
+
a[13].length !== 0 && Se(a)
|
|
336
356
|
), r = (
|
|
337
357
|
/*searchArray*/
|
|
338
|
-
a[
|
|
358
|
+
a[13].length == 0 && we(a)
|
|
339
359
|
);
|
|
340
360
|
return {
|
|
341
361
|
c() {
|
|
342
|
-
n && n.c(), e = D(), r && r.c(), t =
|
|
362
|
+
n && n.c(), e = D(), r && r.c(), t = Ce();
|
|
343
363
|
},
|
|
344
364
|
m(l, s) {
|
|
345
365
|
n && n.m(l, s), I(l, e, s), r && r.m(l, s), I(l, t, s);
|
|
346
366
|
},
|
|
347
367
|
p(l, s) {
|
|
348
368
|
/*searchArray*/
|
|
349
|
-
l[
|
|
350
|
-
l[
|
|
369
|
+
l[13].length !== 0 ? n ? n.p(l, s) : (n = Se(l), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*searchArray*/
|
|
370
|
+
l[13].length == 0 ? r ? r.p(l, s) : (r = we(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
351
371
|
},
|
|
352
372
|
d(l) {
|
|
353
373
|
l && (E(e), E(t)), n && n.d(l), r && r.d(l);
|
|
354
374
|
}
|
|
355
375
|
};
|
|
356
376
|
}
|
|
357
|
-
function
|
|
377
|
+
function Se(a) {
|
|
358
378
|
let e, t = (
|
|
359
379
|
/*$_*/
|
|
360
380
|
a[21]("recentSearch") + ""
|
|
@@ -376,27 +396,27 @@ function _e(a) {
|
|
|
376
396
|
}
|
|
377
397
|
};
|
|
378
398
|
}
|
|
379
|
-
function
|
|
399
|
+
function we(a) {
|
|
380
400
|
let e, t, n, r = (
|
|
381
401
|
/*$_*/
|
|
382
402
|
a[21]("noRecentSearches") + ""
|
|
383
403
|
), l, s, i = (
|
|
384
404
|
/*notfoundicon*/
|
|
385
|
-
a[11] === "true" &&
|
|
405
|
+
a[11] === "true" && be()
|
|
386
406
|
);
|
|
387
407
|
return {
|
|
388
408
|
c() {
|
|
389
409
|
e = y("div"), i && i.c(), t = D(), n = y("p"), l = q(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
390
410
|
(a[11] == "true" ? "WithIcon" : ""));
|
|
391
411
|
},
|
|
392
|
-
m(c,
|
|
393
|
-
I(c, e,
|
|
412
|
+
m(c, m) {
|
|
413
|
+
I(c, e, m), i && i.m(e, null), S(e, t), S(e, n), S(n, l);
|
|
394
414
|
},
|
|
395
|
-
p(c,
|
|
415
|
+
p(c, m) {
|
|
396
416
|
/*notfoundicon*/
|
|
397
|
-
c[11] === "true" ? i || (i =
|
|
417
|
+
c[11] === "true" ? i || (i = be(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), m[0] & /*$_*/
|
|
398
418
|
2097152 && r !== (r = /*$_*/
|
|
399
|
-
c[21]("noRecentSearches") + "") && H(l, r),
|
|
419
|
+
c[21]("noRecentSearches") + "") && H(l, r), m[0] & /*notfoundicon*/
|
|
400
420
|
2048 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
|
|
401
421
|
(c[11] == "true" ? "WithIcon" : "")) && g(e, "class", s);
|
|
402
422
|
},
|
|
@@ -405,7 +425,7 @@ function Se(a) {
|
|
|
405
425
|
}
|
|
406
426
|
};
|
|
407
427
|
}
|
|
408
|
-
function
|
|
428
|
+
function be(a) {
|
|
409
429
|
let e;
|
|
410
430
|
return {
|
|
411
431
|
c() {
|
|
@@ -419,18 +439,18 @@ function we(a) {
|
|
|
419
439
|
}
|
|
420
440
|
};
|
|
421
441
|
}
|
|
422
|
-
function
|
|
423
|
-
let e, t =
|
|
442
|
+
function ve(a) {
|
|
443
|
+
let e, t = me(
|
|
424
444
|
/*searchArray*/
|
|
425
|
-
a[
|
|
445
|
+
a[13]
|
|
426
446
|
), n = [];
|
|
427
447
|
for (let r = 0; r < t.length; r += 1)
|
|
428
|
-
n[r] =
|
|
448
|
+
n[r] = ke(pe(a, t, r));
|
|
429
449
|
return {
|
|
430
450
|
c() {
|
|
431
451
|
for (let r = 0; r < n.length; r += 1)
|
|
432
452
|
n[r].c();
|
|
433
|
-
e =
|
|
453
|
+
e = Ce();
|
|
434
454
|
},
|
|
435
455
|
m(r, l) {
|
|
436
456
|
for (let s = 0; s < n.length; s += 1)
|
|
@@ -439,15 +459,15 @@ function be(a) {
|
|
|
439
459
|
},
|
|
440
460
|
p(r, l) {
|
|
441
461
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl, mbsource*/
|
|
442
|
-
|
|
443
|
-
t =
|
|
462
|
+
35136511) {
|
|
463
|
+
t = me(
|
|
444
464
|
/*searchArray*/
|
|
445
|
-
r[
|
|
465
|
+
r[13]
|
|
446
466
|
);
|
|
447
467
|
let s;
|
|
448
468
|
for (s = 0; s < t.length; s += 1) {
|
|
449
|
-
const i =
|
|
450
|
-
n[s] ? n[s].p(i, l) : (n[s] =
|
|
469
|
+
const i = pe(r, t, s);
|
|
470
|
+
n[s] ? n[s].p(i, l) : (n[s] = ke(i), n[s].c(), n[s].m(e.parentNode, e));
|
|
451
471
|
}
|
|
452
472
|
for (; s < n.length; s += 1)
|
|
453
473
|
n[s].d(1);
|
|
@@ -455,12 +475,12 @@ function be(a) {
|
|
|
455
475
|
}
|
|
456
476
|
},
|
|
457
477
|
d(r) {
|
|
458
|
-
r && E(e),
|
|
478
|
+
r && E(e), et(n, r);
|
|
459
479
|
}
|
|
460
480
|
};
|
|
461
481
|
}
|
|
462
|
-
function
|
|
463
|
-
let e, t, n, r, l, s, i, c,
|
|
482
|
+
function ke(a) {
|
|
483
|
+
let e, t, n, r, l, s, i, c, m, h, f, b;
|
|
464
484
|
return {
|
|
465
485
|
c() {
|
|
466
486
|
var d;
|
|
@@ -490,28 +510,28 @@ function ve(a) {
|
|
|
490
510
|
/*lang*/
|
|
491
511
|
a[1]
|
|
492
512
|
), u(e, "gamethumbnail", t = /*game*/
|
|
493
|
-
a[
|
|
494
|
-
a[
|
|
495
|
-
a[
|
|
496
|
-
a[
|
|
497
|
-
a[
|
|
498
|
-
((d = a[
|
|
513
|
+
a[55].thumbnail), u(e, "gamename", n = /*game*/
|
|
514
|
+
a[55].name), u(e, "gamevendor", r = /*game*/
|
|
515
|
+
a[55].vendor.name), u(e, "gameLaunchUrl", l = /*game*/
|
|
516
|
+
a[55].launchUrl), u(e, "gameisnew", s = /*game*/
|
|
517
|
+
a[55].isNew), u(e, "gametag", i = /*game*/
|
|
518
|
+
((d = a[55].advancedTags) == null ? void 0 : d.length) > 0 && /*addGameTag*/
|
|
499
519
|
a[25](
|
|
500
520
|
/*game*/
|
|
501
|
-
a[
|
|
521
|
+
a[55].advancedTags
|
|
502
522
|
)), u(e, "gamecellsize", c = /*game*/
|
|
503
|
-
a[
|
|
504
|
-
a[
|
|
523
|
+
a[55].cellSize), u(e, "gameid", m = /*game*/
|
|
524
|
+
a[55].id), u(
|
|
505
525
|
e,
|
|
506
526
|
"showgamename",
|
|
507
527
|
/*showgamename*/
|
|
508
528
|
a[7]
|
|
509
529
|
), u(e, "gamefunmode", h = /*game*/
|
|
510
|
-
a[
|
|
511
|
-
a[
|
|
512
|
-
a[
|
|
530
|
+
a[55].hasFunMode), u(e, "gamefavorite", f = /*game*/
|
|
531
|
+
a[55].isFavorite), u(e, "livelobbyendpoint", b = /*game*/
|
|
532
|
+
a[55].details ? (
|
|
513
533
|
/*game*/
|
|
514
|
-
a[
|
|
534
|
+
a[55].launchUrl
|
|
515
535
|
) : ""), u(
|
|
516
536
|
e,
|
|
517
537
|
"integratedgameframedesktop",
|
|
@@ -580,40 +600,40 @@ function ve(a) {
|
|
|
580
600
|
/*lang*/
|
|
581
601
|
d[1]
|
|
582
602
|
), p[0] & /*searchArray*/
|
|
583
|
-
|
|
584
|
-
d[
|
|
585
|
-
|
|
586
|
-
d[
|
|
587
|
-
|
|
588
|
-
d[
|
|
589
|
-
|
|
590
|
-
d[
|
|
591
|
-
|
|
592
|
-
d[
|
|
593
|
-
|
|
594
|
-
((M = d[
|
|
603
|
+
8192 && t !== (t = /*game*/
|
|
604
|
+
d[55].thumbnail) && u(e, "gamethumbnail", t), p[0] & /*searchArray*/
|
|
605
|
+
8192 && n !== (n = /*game*/
|
|
606
|
+
d[55].name) && u(e, "gamename", n), p[0] & /*searchArray*/
|
|
607
|
+
8192 && r !== (r = /*game*/
|
|
608
|
+
d[55].vendor.name) && u(e, "gamevendor", r), p[0] & /*searchArray*/
|
|
609
|
+
8192 && l !== (l = /*game*/
|
|
610
|
+
d[55].launchUrl) && u(e, "gameLaunchUrl", l), p[0] & /*searchArray*/
|
|
611
|
+
8192 && s !== (s = /*game*/
|
|
612
|
+
d[55].isNew) && u(e, "gameisnew", s), p[0] & /*searchArray*/
|
|
613
|
+
8192 && i !== (i = /*game*/
|
|
614
|
+
((M = d[55].advancedTags) == null ? void 0 : M.length) > 0 && /*addGameTag*/
|
|
595
615
|
d[25](
|
|
596
616
|
/*game*/
|
|
597
|
-
d[
|
|
617
|
+
d[55].advancedTags
|
|
598
618
|
)) && u(e, "gametag", i), p[0] & /*searchArray*/
|
|
599
|
-
|
|
600
|
-
d[
|
|
601
|
-
|
|
602
|
-
d[
|
|
619
|
+
8192 && c !== (c = /*game*/
|
|
620
|
+
d[55].cellSize) && u(e, "gamecellsize", c), p[0] & /*searchArray*/
|
|
621
|
+
8192 && m !== (m = /*game*/
|
|
622
|
+
d[55].id) && u(e, "gameid", m), p[0] & /*showgamename*/
|
|
603
623
|
128 && u(
|
|
604
624
|
e,
|
|
605
625
|
"showgamename",
|
|
606
626
|
/*showgamename*/
|
|
607
627
|
d[7]
|
|
608
628
|
), p[0] & /*searchArray*/
|
|
609
|
-
|
|
610
|
-
d[
|
|
611
|
-
|
|
612
|
-
d[
|
|
613
|
-
|
|
614
|
-
d[
|
|
629
|
+
8192 && h !== (h = /*game*/
|
|
630
|
+
d[55].hasFunMode) && u(e, "gamefunmode", h), p[0] & /*searchArray*/
|
|
631
|
+
8192 && f !== (f = /*game*/
|
|
632
|
+
d[55].isFavorite) && u(e, "gamefavorite", f), p[0] & /*searchArray*/
|
|
633
|
+
8192 && b !== (b = /*game*/
|
|
634
|
+
d[55].details ? (
|
|
615
635
|
/*game*/
|
|
616
|
-
d[
|
|
636
|
+
d[55].launchUrl
|
|
617
637
|
) : "") && u(e, "livelobbyendpoint", b), p[0] & /*integratedgameframedesktop*/
|
|
618
638
|
32 && u(
|
|
619
639
|
e,
|
|
@@ -657,41 +677,41 @@ function ve(a) {
|
|
|
657
677
|
}
|
|
658
678
|
};
|
|
659
679
|
}
|
|
660
|
-
function
|
|
680
|
+
function ye(a) {
|
|
661
681
|
let e, t, n, r = (
|
|
662
682
|
/*$_*/
|
|
663
683
|
a[21]("notFound") + ""
|
|
664
684
|
), l, s, i, c = (
|
|
665
685
|
/*$_*/
|
|
666
686
|
a[21]("notFoundText") + ""
|
|
667
|
-
),
|
|
687
|
+
), m, h, f = (
|
|
668
688
|
/*notfoundicon*/
|
|
669
|
-
a[11] === "true" &&
|
|
689
|
+
a[11] === "true" && Re()
|
|
670
690
|
);
|
|
671
691
|
return {
|
|
672
692
|
c() {
|
|
673
|
-
e = y("div"),
|
|
693
|
+
e = y("div"), f && f.c(), t = D(), n = y("p"), l = q(r), s = D(), i = y("p"), m = q(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
674
694
|
(a[11] == "true" ? "WithIcon" : ""));
|
|
675
695
|
},
|
|
676
696
|
m(b, d) {
|
|
677
|
-
I(b, e, d),
|
|
697
|
+
I(b, e, d), f && f.m(e, null), S(e, t), S(e, n), S(n, l), S(e, s), S(e, i), S(i, m);
|
|
678
698
|
},
|
|
679
699
|
p(b, d) {
|
|
680
700
|
/*notfoundicon*/
|
|
681
|
-
b[11] === "true" ?
|
|
701
|
+
b[11] === "true" ? f || (f = Re(), f.c(), f.m(e, t)) : f && (f.d(1), f = null), d[0] & /*$_*/
|
|
682
702
|
2097152 && r !== (r = /*$_*/
|
|
683
703
|
b[21]("notFound") + "") && H(l, r), d[0] & /*$_*/
|
|
684
704
|
2097152 && c !== (c = /*$_*/
|
|
685
|
-
b[21]("notFoundText") + "") && H(
|
|
705
|
+
b[21]("notFoundText") + "") && H(m, c), d[0] & /*notfoundicon*/
|
|
686
706
|
2048 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
|
|
687
707
|
(b[11] == "true" ? "WithIcon" : "")) && g(e, "class", h);
|
|
688
708
|
},
|
|
689
709
|
d(b) {
|
|
690
|
-
b && E(e),
|
|
710
|
+
b && E(e), f && f.d();
|
|
691
711
|
}
|
|
692
712
|
};
|
|
693
713
|
}
|
|
694
|
-
function
|
|
714
|
+
function Re(a) {
|
|
695
715
|
let e;
|
|
696
716
|
return {
|
|
697
717
|
c() {
|
|
@@ -705,55 +725,61 @@ function ye(a) {
|
|
|
705
725
|
}
|
|
706
726
|
};
|
|
707
727
|
}
|
|
708
|
-
function
|
|
709
|
-
let e, t, n, r, l, s, i, c,
|
|
728
|
+
function dt(a) {
|
|
729
|
+
let e, t, n, r, l, s, i, c, m, h, f, b, d, p, M, N, x, W, O, U, v = (
|
|
710
730
|
/*cancelbutton*/
|
|
711
|
-
a[10] === "true" &&
|
|
731
|
+
a[10] === "true" && _e(a)
|
|
712
732
|
);
|
|
713
733
|
function G(w, T) {
|
|
714
734
|
return (
|
|
715
735
|
/*isLoading*/
|
|
716
|
-
w[18] ?
|
|
736
|
+
w[18] ? ct : it
|
|
717
737
|
);
|
|
718
738
|
}
|
|
719
739
|
let A = G(a), R = A(a);
|
|
720
740
|
return {
|
|
721
741
|
c() {
|
|
722
|
-
e = y("div"), t = y("div"), n = y("div"), r = y("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" 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="#FFF" stroke-width="1.5"></circle></svg>', l = D(), s = y("input"), c = D(),
|
|
723
|
-
a[21]("placeHolderSearchGames")), g(s, "maxlength",
|
|
742
|
+
e = y("div"), t = y("div"), n = y("div"), r = y("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" 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="#FFF" stroke-width="1.5"></circle></svg>', l = D(), s = y("input"), c = D(), m = y("span"), h = ue("svg"), f = ue("path"), d = D(), v && v.c(), M = D(), N = y("div"), W = D(), R.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
|
|
743
|
+
a[21]("placeHolderSearchGames")), g(s, "maxlength", mt), g(f, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), g(f, "stroke", "#717171"), g(f, "stroke-width", "2"), g(f, "stroke-linecap", "round"), g(f, "stroke-linejoin", "round"), g(h, "width", "11"), g(h, "height", "11"), g(h, "fill", "none"), g(h, "xmlns", "http://www.w3.org/2000/svg"), g(m, "class", b = "SearchClearButton " + /*cancelbutton*/
|
|
724
744
|
(a[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
725
|
-
(a[
|
|
726
|
-
(a[
|
|
745
|
+
(a[14].length != 0 ? "" : "NotVisible")), g(n, "class", p = "Search " + /*searchCancelled*/
|
|
746
|
+
(a[16] ? "" : "SearchAnimation")), g(t, "class", "SearchWrap"), g(N, "class", x = /*cancelbutton*/
|
|
727
747
|
a[10] != "true" ? "OverlayCancel" : ""), g(e, "class", (ee(
|
|
728
748
|
/*userAgent*/
|
|
729
749
|
a[22]
|
|
730
750
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
731
751
|
},
|
|
732
752
|
m(w, T) {
|
|
733
|
-
I(w, e, T), S(e, t), S(t, n), S(n, r), S(n, l), S(n, s),
|
|
753
|
+
I(w, e, T), S(e, t), S(t, n), S(n, r), S(n, l), S(n, s), ce(
|
|
734
754
|
s,
|
|
735
755
|
/*searchValue*/
|
|
736
|
-
a[
|
|
737
|
-
), a[
|
|
738
|
-
|
|
756
|
+
a[14]
|
|
757
|
+
), a[35](s), S(n, c), S(n, m), S(m, h), S(h, f), S(n, d), v && v.m(n, null), S(e, M), S(e, N), S(e, W), R.m(e, null), a[38](e), O || (U = [
|
|
758
|
+
V(
|
|
739
759
|
s,
|
|
740
760
|
"input",
|
|
741
761
|
/*input_input_handler*/
|
|
742
|
-
a[
|
|
762
|
+
a[34]
|
|
743
763
|
),
|
|
744
|
-
|
|
764
|
+
V(
|
|
745
765
|
s,
|
|
746
766
|
"focus",
|
|
747
767
|
/*onFocus*/
|
|
748
768
|
a[23]
|
|
749
769
|
),
|
|
750
|
-
|
|
751
|
-
|
|
770
|
+
V(
|
|
771
|
+
s,
|
|
772
|
+
"input",
|
|
773
|
+
/*handleSearchInput*/
|
|
774
|
+
a[28]
|
|
775
|
+
),
|
|
776
|
+
V(
|
|
777
|
+
m,
|
|
752
778
|
"click",
|
|
753
779
|
/*click_handler*/
|
|
754
|
-
a[
|
|
780
|
+
a[36]
|
|
755
781
|
),
|
|
756
|
-
|
|
782
|
+
V(
|
|
757
783
|
N,
|
|
758
784
|
"click",
|
|
759
785
|
/*handleOverlay*/
|
|
@@ -765,85 +791,85 @@ function ct(a) {
|
|
|
765
791
|
T[0] & /*$_*/
|
|
766
792
|
2097152 && i !== (i = /*$_*/
|
|
767
793
|
w[21]("placeHolderSearchGames")) && g(s, "placeholder", i), T[0] & /*searchValue*/
|
|
768
|
-
|
|
769
|
-
w[
|
|
794
|
+
16384 && s.value !== /*searchValue*/
|
|
795
|
+
w[14] && ce(
|
|
770
796
|
s,
|
|
771
797
|
/*searchValue*/
|
|
772
|
-
w[
|
|
798
|
+
w[14]
|
|
773
799
|
), T[0] & /*cancelbutton, searchValue*/
|
|
774
|
-
|
|
800
|
+
17408 && b !== (b = "SearchClearButton " + /*cancelbutton*/
|
|
775
801
|
(w[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
776
|
-
(w[
|
|
777
|
-
w[10] === "true" ? v ? v.p(w, T) : (v =
|
|
778
|
-
|
|
779
|
-
(w[
|
|
802
|
+
(w[14].length != 0 ? "" : "NotVisible")) && g(m, "class", b), /*cancelbutton*/
|
|
803
|
+
w[10] === "true" ? v ? v.p(w, T) : (v = _e(w), v.c(), v.m(n, null)) : v && (v.d(1), v = null), T[0] & /*searchCancelled*/
|
|
804
|
+
65536 && p !== (p = "Search " + /*searchCancelled*/
|
|
805
|
+
(w[16] ? "" : "SearchAnimation")) && g(n, "class", p), T[0] & /*cancelbutton*/
|
|
780
806
|
1024 && x !== (x = /*cancelbutton*/
|
|
781
807
|
w[10] != "true" ? "OverlayCancel" : "") && g(N, "class", x), A === (A = G(w)) && R ? R.p(w, T) : (R.d(1), R = A(w), R && (R.c(), R.m(e, null)));
|
|
782
808
|
},
|
|
783
|
-
i:
|
|
784
|
-
o:
|
|
809
|
+
i: ie,
|
|
810
|
+
o: ie,
|
|
785
811
|
d(w) {
|
|
786
|
-
w && E(e), a[
|
|
812
|
+
w && E(e), a[35](null), v && v.d(), R.d(), a[38](null), O = !1, Ye(U);
|
|
787
813
|
}
|
|
788
814
|
};
|
|
789
815
|
}
|
|
790
|
-
let
|
|
791
|
-
function
|
|
816
|
+
let mt = 50;
|
|
817
|
+
function ft(a, e, t) {
|
|
792
818
|
let n;
|
|
793
|
-
|
|
794
|
-
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource:
|
|
795
|
-
const
|
|
819
|
+
Ke(a, tt, (o) => t(21, n = o));
|
|
820
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: m } = e, { clientstyling: h = "" } = e, { clientstylingurl: f = "" } = e, { integratedgameframedesktop: b = "false" } = e, { integratedgameframemobile: d = "false" } = e, { showgamename: p = "" } = e, { gamepagemodalurl: M = "true" } = e, { translationurl: N = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: W = "true" } = e, { notfoundicon: O = "false" } = e, U = window.navigator.userAgent, v = [], G = [], A = {}, R = "", w, T = !0, J = !1, z = !1, P, Y = !1, K, X, te = [];
|
|
821
|
+
const Fe = () => {
|
|
796
822
|
fetch(N).then((_) => _.json()).then((_) => {
|
|
797
823
|
Object.keys(_).forEach((k) => {
|
|
798
|
-
|
|
824
|
+
fe(k, _[k]);
|
|
799
825
|
});
|
|
800
826
|
}).catch((_) => {
|
|
801
827
|
console.log(_);
|
|
802
828
|
});
|
|
803
829
|
};
|
|
804
|
-
Object.keys(
|
|
805
|
-
|
|
830
|
+
Object.keys(ge).forEach((o) => {
|
|
831
|
+
fe(o, ge[o]);
|
|
806
832
|
});
|
|
807
833
|
const ae = (o) => {
|
|
808
|
-
o.data && o.data.type == "SearchedItemClicked" &&
|
|
834
|
+
o.data && o.data.type == "SearchedItemClicked" && ze(o.data.gameId), o.data.type == "UserSessionID" && (t(19, K = o.data.session), t(20, X = o.data.userid), t(33, Y = !0)), o.data.type == "CategoryChange" && Q();
|
|
809
835
|
}, ne = () => {
|
|
810
|
-
if (t(
|
|
811
|
-
t(
|
|
836
|
+
if (t(16, T = !1), t(17, J = !0), r && l && c && R.length < 2) {
|
|
837
|
+
t(13, v = []);
|
|
812
838
|
let o = localStorage.getItem("searchedGamesWds_casino"), _ = [];
|
|
813
839
|
o && (_ = o.split(","));
|
|
814
840
|
let k = [], C = 0, F = _.length;
|
|
815
841
|
if (F > 0) {
|
|
816
842
|
for (C = 0; C < F; C++) {
|
|
817
843
|
let j = new URL(`${r}/v1/casino/games/${_[C]}`);
|
|
818
|
-
j.searchParams.append("language", c), j.searchParams.append("datasource", l), j.searchParams.append("platform", ee(U)), k.push(
|
|
844
|
+
j.searchParams.append("language", c), j.searchParams.append("datasource", l), j.searchParams.append("platform", ee(U)), k.push(Ee(j, _[C]));
|
|
819
845
|
}
|
|
820
846
|
Promise.all(k).then((j) => {
|
|
821
847
|
j = j.filter(function(B) {
|
|
822
848
|
return !!B;
|
|
823
|
-
}), t(
|
|
849
|
+
}), t(13, v = j.map((B) => (B.isFavorite = re(B.id), B))), v.length ? Z("searchSuccess", "SearchWidget") : Z("searchFail", "SearchWidget");
|
|
824
850
|
}).catch((j) => {
|
|
825
|
-
|
|
851
|
+
Z("searchError", "SearchWidget");
|
|
826
852
|
});
|
|
827
853
|
}
|
|
828
854
|
}
|
|
829
|
-
se(
|
|
830
|
-
},
|
|
855
|
+
se(J), Z("searchAttempt", "SearchWidget"), Z("SearchInitialized", "SearchWidget");
|
|
856
|
+
}, Z = (o, _) => {
|
|
831
857
|
typeof gtag == "function" && gtag("event", o, { context: _ });
|
|
832
|
-
},
|
|
858
|
+
}, Le = () => {
|
|
833
859
|
W != "true" && Q();
|
|
834
|
-
},
|
|
860
|
+
}, Te = (o) => new Promise((_, k) => {
|
|
835
861
|
t(18, z = !0), fetch(o.href).then((C) => C.json()).then((C) => {
|
|
836
862
|
t(18, z = !1), _(C);
|
|
837
863
|
}).catch((C) => {
|
|
838
864
|
t(18, z = !1), console.error(C), k(C);
|
|
839
865
|
});
|
|
840
|
-
}),
|
|
866
|
+
}), Ee = (o, _) => new Promise((k, C) => {
|
|
841
867
|
t(18, z = !0), _ && Object.keys(A).indexOf(_) >= 0 ? (t(18, z = !1), k(A[_])) : fetch(o).then((F) => F.json()).then((F) => {
|
|
842
868
|
t(18, z = !1), F.error || (A[F[0].gameId] = F[0]), k(F[0]);
|
|
843
869
|
}).catch((F) => {
|
|
844
870
|
t(18, z = !1), console.error(F), C(F);
|
|
845
871
|
});
|
|
846
|
-
}),
|
|
872
|
+
}), Ie = () => {
|
|
847
873
|
const o = new URL(`${r}/v1/player/${X}/favorites/`);
|
|
848
874
|
t(18, z = !0);
|
|
849
875
|
let _ = {
|
|
@@ -853,26 +879,26 @@ function ht(a, e, t) {
|
|
|
853
879
|
fetch(o.href, _).then((k) => k.json()).then((k) => {
|
|
854
880
|
t(18, z = !1), te = k.items.map((C) => C.id);
|
|
855
881
|
});
|
|
856
|
-
},
|
|
857
|
-
t(
|
|
858
|
-
}, re = (o) => te.findIndex((_) => _ == o) !== -1,
|
|
882
|
+
}, je = () => {
|
|
883
|
+
t(33, Y = !0), t(19, K = s), t(20, X = i);
|
|
884
|
+
}, re = (o) => te.findIndex((_) => _ == o) !== -1, Ge = (o) => {
|
|
859
885
|
if ((o == null ? void 0 : o.length) === 0)
|
|
860
886
|
return "";
|
|
861
887
|
let _, k = 99999999999, C;
|
|
862
888
|
const F = new Date(Date.now());
|
|
863
889
|
return o.forEach((j, B) => {
|
|
864
|
-
const
|
|
865
|
-
|
|
890
|
+
const He = new Date(j.schedules[0].startTime), $ = new Date(j.schedules[0].endTime);
|
|
891
|
+
he(new Date($), new Date(F)) < k && (k = he(new Date($), new Date(F)), C = B), Qe(new Date(F), new Date(He)) && $e(new Date(F), new Date($)) && (_ = o[C].name);
|
|
866
892
|
}), _;
|
|
867
|
-
},
|
|
893
|
+
}, ze = (o) => {
|
|
868
894
|
if (G = localStorage.getItem("searchedGamesWds_casino"), G ? G = G.split(",") : G = [], G.indexOf(o) === -1) {
|
|
869
895
|
let _;
|
|
870
896
|
G.unshift(o), _ = G.join(","), localStorage.setItem("searchedGamesWds_casino", _);
|
|
871
897
|
}
|
|
872
898
|
}, Q = () => {
|
|
873
|
-
t(
|
|
899
|
+
t(14, R = ""), t(16, T = !0), t(18, z = !1), t(13, v = []), t(17, J = !1), se(J);
|
|
874
900
|
}, oe = () => {
|
|
875
|
-
t(
|
|
901
|
+
t(14, R = ""), w.focus();
|
|
876
902
|
}, se = (o) => {
|
|
877
903
|
window.postMessage(
|
|
878
904
|
{
|
|
@@ -881,53 +907,53 @@ function ht(a, e, t) {
|
|
|
881
907
|
},
|
|
882
908
|
window.location.href
|
|
883
909
|
);
|
|
884
|
-
},
|
|
885
|
-
|
|
886
|
-
}
|
|
887
|
-
|
|
910
|
+
}, De = () => {
|
|
911
|
+
ot(c);
|
|
912
|
+
}, Ne = st(() => le(this, null, function* () {
|
|
913
|
+
if (R.length >= 2) {
|
|
914
|
+
const o = new URL(`${r}/v1/casino/games`);
|
|
915
|
+
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ee(U)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), Te(o).then((_) => {
|
|
916
|
+
t(13, v = _.items.map((k) => (k.isFavorite = re(k.id), k)));
|
|
917
|
+
});
|
|
918
|
+
} else
|
|
919
|
+
T || ne();
|
|
920
|
+
}), 500);
|
|
921
|
+
Xe(() => (window.addEventListener("message", ae, !1), () => {
|
|
888
922
|
window.removeEventListener("message", ae);
|
|
889
923
|
}));
|
|
890
|
-
function
|
|
891
|
-
R = this.value, t(
|
|
924
|
+
function Pe() {
|
|
925
|
+
R = this.value, t(14, R);
|
|
892
926
|
}
|
|
893
|
-
function
|
|
894
|
-
|
|
895
|
-
w = o, t(
|
|
927
|
+
function Me(o) {
|
|
928
|
+
de[o ? "unshift" : "push"](() => {
|
|
929
|
+
w = o, t(15, w);
|
|
896
930
|
});
|
|
897
931
|
}
|
|
898
|
-
const
|
|
899
|
-
function
|
|
900
|
-
|
|
901
|
-
P = o, t(
|
|
932
|
+
const xe = () => oe(), Ae = () => Q();
|
|
933
|
+
function Be(o) {
|
|
934
|
+
de[o ? "unshift" : "push"](() => {
|
|
935
|
+
P = o, t(12, P);
|
|
902
936
|
});
|
|
903
937
|
}
|
|
904
938
|
return a.$$set = (o) => {
|
|
905
|
-
"endpoint" in o && t(0, r = o.endpoint), "datasource" in o && t(
|
|
939
|
+
"endpoint" in o && t(0, r = o.endpoint), "datasource" in o && t(29, l = o.datasource), "session" in o && t(30, s = o.session), "userid" in o && t(31, i = o.userid), "lang" in o && t(1, c = o.lang), "mbsource" in o && t(2, m = o.mbsource), "clientstyling" in o && t(3, h = o.clientstyling), "clientstylingurl" in o && t(4, f = o.clientstylingurl), "integratedgameframedesktop" in o && t(5, b = o.integratedgameframedesktop), "integratedgameframemobile" in o && t(6, d = o.integratedgameframemobile), "showgamename" in o && t(7, p = o.showgamename), "gamepagemodalurl" in o && t(8, M = o.gamepagemodalurl), "translationurl" in o && t(32, N = o.translationurl), "showfavorites" in o && t(9, x = o.showfavorites), "cancelbutton" in o && t(10, W = o.cancelbutton), "notfoundicon" in o && t(11, O = o.notfoundicon);
|
|
906
940
|
}, a.$$.update = () => {
|
|
907
|
-
if (a.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
908
|
-
268447747)
|
|
909
|
-
if (R.length >= 2) {
|
|
910
|
-
const o = new URL(`${r}/v1/casino/games`);
|
|
911
|
-
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", ee(U)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), Le(o).then((_) => {
|
|
912
|
-
t(15, v = _.items.map((k) => (k.isFavorite = re(k.id), k)));
|
|
913
|
-
});
|
|
914
|
-
} else
|
|
915
|
-
T || ne();
|
|
916
941
|
a.$$.dirty[0] & /*lang*/
|
|
917
|
-
2 && c &&
|
|
918
|
-
|
|
919
|
-
|
|
942
|
+
2 && c && De(), a.$$.dirty[1] & /*translationurl*/
|
|
943
|
+
2 && N && Fe(), a.$$.dirty[0] & /*session*/
|
|
944
|
+
1073741824 | a.$$.dirty[1] & /*userid*/
|
|
945
|
+
1 && s && i && je(), a.$$.dirty[0] & /*showfavorites*/
|
|
920
946
|
512 | a.$$.dirty[1] & /*isLoggedIn*/
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
947
|
+
4 && x && Y && Ie(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
948
|
+
4104 && h && P && at(P, h), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
949
|
+
4112 && f && P && nt(P, f), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
950
|
+
4100 && m && P && rt(P, `${m}.Style`);
|
|
925
951
|
}, [
|
|
926
952
|
r,
|
|
927
953
|
c,
|
|
928
|
-
f,
|
|
929
|
-
h,
|
|
930
954
|
m,
|
|
955
|
+
h,
|
|
956
|
+
f,
|
|
931
957
|
b,
|
|
932
958
|
d,
|
|
933
959
|
p,
|
|
@@ -935,47 +961,48 @@ function ht(a, e, t) {
|
|
|
935
961
|
x,
|
|
936
962
|
W,
|
|
937
963
|
O,
|
|
938
|
-
R,
|
|
939
|
-
T,
|
|
940
964
|
P,
|
|
941
965
|
v,
|
|
966
|
+
R,
|
|
942
967
|
w,
|
|
943
|
-
|
|
968
|
+
T,
|
|
969
|
+
J,
|
|
944
970
|
z,
|
|
945
971
|
K,
|
|
946
972
|
X,
|
|
947
973
|
n,
|
|
948
974
|
U,
|
|
949
975
|
ne,
|
|
950
|
-
|
|
951
|
-
|
|
976
|
+
Le,
|
|
977
|
+
Ge,
|
|
952
978
|
Q,
|
|
953
979
|
oe,
|
|
980
|
+
Ne,
|
|
954
981
|
l,
|
|
955
982
|
s,
|
|
956
983
|
i,
|
|
957
984
|
N,
|
|
958
985
|
Y,
|
|
959
|
-
De,
|
|
960
|
-
Ne,
|
|
961
986
|
Pe,
|
|
962
987
|
Me,
|
|
963
|
-
xe
|
|
988
|
+
xe,
|
|
989
|
+
Ae,
|
|
990
|
+
Be
|
|
964
991
|
];
|
|
965
992
|
}
|
|
966
|
-
class
|
|
993
|
+
class gt extends Oe {
|
|
967
994
|
constructor(e) {
|
|
968
|
-
super(),
|
|
995
|
+
super(), Ue(
|
|
969
996
|
this,
|
|
970
997
|
e,
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
998
|
+
ft,
|
|
999
|
+
dt,
|
|
1000
|
+
Ve,
|
|
974
1001
|
{
|
|
975
1002
|
endpoint: 0,
|
|
976
|
-
datasource:
|
|
977
|
-
session:
|
|
978
|
-
userid:
|
|
1003
|
+
datasource: 29,
|
|
1004
|
+
session: 30,
|
|
1005
|
+
userid: 31,
|
|
979
1006
|
lang: 1,
|
|
980
1007
|
mbsource: 2,
|
|
981
1008
|
clientstyling: 3,
|
|
@@ -984,12 +1011,12 @@ class dt extends qe {
|
|
|
984
1011
|
integratedgameframemobile: 6,
|
|
985
1012
|
showgamename: 7,
|
|
986
1013
|
gamepagemodalurl: 8,
|
|
987
|
-
translationurl:
|
|
1014
|
+
translationurl: 32,
|
|
988
1015
|
showfavorites: 9,
|
|
989
1016
|
cancelbutton: 10,
|
|
990
1017
|
notfoundicon: 11
|
|
991
1018
|
},
|
|
992
|
-
|
|
1019
|
+
lt,
|
|
993
1020
|
[-1, -1]
|
|
994
1021
|
);
|
|
995
1022
|
}
|
|
@@ -1000,19 +1027,19 @@ class dt extends qe {
|
|
|
1000
1027
|
this.$$set({ endpoint: e }), L();
|
|
1001
1028
|
}
|
|
1002
1029
|
get datasource() {
|
|
1003
|
-
return this.$$.ctx[
|
|
1030
|
+
return this.$$.ctx[29];
|
|
1004
1031
|
}
|
|
1005
1032
|
set datasource(e) {
|
|
1006
1033
|
this.$$set({ datasource: e }), L();
|
|
1007
1034
|
}
|
|
1008
1035
|
get session() {
|
|
1009
|
-
return this.$$.ctx[
|
|
1036
|
+
return this.$$.ctx[30];
|
|
1010
1037
|
}
|
|
1011
1038
|
set session(e) {
|
|
1012
1039
|
this.$$set({ session: e }), L();
|
|
1013
1040
|
}
|
|
1014
1041
|
get userid() {
|
|
1015
|
-
return this.$$.ctx[
|
|
1042
|
+
return this.$$.ctx[31];
|
|
1016
1043
|
}
|
|
1017
1044
|
set userid(e) {
|
|
1018
1045
|
this.$$set({ userid: e }), L();
|
|
@@ -1066,7 +1093,7 @@ class dt extends qe {
|
|
|
1066
1093
|
this.$$set({ gamepagemodalurl: e }), L();
|
|
1067
1094
|
}
|
|
1068
1095
|
get translationurl() {
|
|
1069
|
-
return this.$$.ctx[
|
|
1096
|
+
return this.$$.ctx[32];
|
|
1070
1097
|
}
|
|
1071
1098
|
set translationurl(e) {
|
|
1072
1099
|
this.$$set({ translationurl: e }), L();
|
|
@@ -1090,7 +1117,7 @@ class dt extends qe {
|
|
|
1090
1117
|
this.$$set({ notfoundicon: e }), L();
|
|
1091
1118
|
}
|
|
1092
1119
|
}
|
|
1093
|
-
|
|
1120
|
+
Je(gt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {} }, [], [], !0);
|
|
1094
1121
|
export {
|
|
1095
|
-
|
|
1122
|
+
gt as default
|
|
1096
1123
|
};
|