@everymatrix/casino-search 1.77.7 → 1.77.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoGameThumbnail-DObsnSca.cjs → CasinoGameThumbnail-CDdQjxgX.cjs} +11 -11
- package/components/{CasinoGameThumbnail-CwGrVNIN.js → CasinoGameThumbnail-CVh85MEQ.js} +426 -426
- package/components/{CasinoGameThumbnail-BzLBhXmS.js → CasinoGameThumbnail-DAYmhfrZ.js} +426 -426
- package/components/CasinoSearch-BzmOp-xB.cjs +1 -0
- package/components/{CasinoSearch-BZy1Z5tO.js → CasinoSearch-CJczkc-f.js} +214 -203
- package/components/{CasinoSearch-BKklMkEl.js → CasinoSearch-yhQuXjJr.js} +266 -239
- package/es2015/casino-search.cjs +1 -1
- package/es2015/casino-search.js +1 -1
- package/esnext/casino-search.js +1 -1
- package/package.json +1 -1
- package/components/CasinoSearch-Bid1Cg7B.cjs +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as We, $ as Ue, c as Ve, S as Je, i as Ze, s as Ye, f as L, b as Xe, n as ue, d as j, r as Ke, e as g, g as he, h as E, j as b, l as U, k, m as z, o as de, p as ae, q as Qe, t as $e, u as q, v as H, w as me, x as fe, y as et, z as Le, A as u, B as tt, C as at, D as nt, E as rt } from "./CasinoGameThumbnail-DAYmhfrZ.js";
|
|
2
2
|
function ge(t, e) {
|
|
3
|
-
|
|
3
|
+
We(t, e);
|
|
4
4
|
}
|
|
5
5
|
function ot(t) {
|
|
6
|
-
|
|
6
|
+
Ue.set(t);
|
|
7
7
|
}
|
|
8
8
|
const pe = {
|
|
9
9
|
en: {
|
|
@@ -187,6 +187,10 @@ const pe = {
|
|
|
187
187
|
notFoundText: "Please type the correct name of the game to start to play.",
|
|
188
188
|
noRecentSearches: "No recent searches yet. Search for any of our games."
|
|
189
189
|
}
|
|
190
|
+
}, st = (t, e) => function(...a) {
|
|
191
|
+
clearTimeout(this.debounceTimer), this.debounceTimer = setTimeout(() => {
|
|
192
|
+
t.apply(this, a);
|
|
193
|
+
}, e);
|
|
190
194
|
};
|
|
191
195
|
if (typeof window < "u") {
|
|
192
196
|
let t = function(e) {
|
|
@@ -200,7 +204,7 @@ if (typeof window < "u") {
|
|
|
200
204
|
}
|
|
201
205
|
};
|
|
202
206
|
};
|
|
203
|
-
customElements.define = t(customElements.define), import("./CasinoGameThumbnail-
|
|
207
|
+
customElements.define = t(customElements.define), import("./CasinoGameThumbnail-DAYmhfrZ.js").then((e) => e.F).then(({ default: e }) => {
|
|
204
208
|
!customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", e.element);
|
|
205
209
|
});
|
|
206
210
|
}
|
|
@@ -216,30 +220,30 @@ function ee(t, e) {
|
|
|
216
220
|
if (e.length < t)
|
|
217
221
|
throw new TypeError(t + " argument" + (t > 1 ? "s" : "") + " required, but only " + e.length + " present");
|
|
218
222
|
}
|
|
219
|
-
function
|
|
223
|
+
function V(t) {
|
|
220
224
|
ee(1, arguments);
|
|
221
225
|
var e = Object.prototype.toString.call(t);
|
|
222
226
|
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));
|
|
223
227
|
}
|
|
224
228
|
function Se(t, e) {
|
|
225
|
-
return ee(2, arguments),
|
|
229
|
+
return ee(2, arguments), V(t).getTime() - V(e).getTime();
|
|
226
230
|
}
|
|
227
|
-
function
|
|
231
|
+
function lt(t, e) {
|
|
228
232
|
ee(2, arguments);
|
|
229
|
-
var a =
|
|
233
|
+
var a = V(t), n = V(e);
|
|
230
234
|
return a.getTime() > n.getTime();
|
|
231
235
|
}
|
|
232
|
-
function
|
|
236
|
+
function it(t, e) {
|
|
233
237
|
ee(2, arguments);
|
|
234
|
-
var a =
|
|
238
|
+
var a = V(t), n = V(e);
|
|
235
239
|
return a.getTime() < n.getTime();
|
|
236
240
|
}
|
|
237
|
-
function
|
|
238
|
-
|
|
241
|
+
function ct(t) {
|
|
242
|
+
Xe(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}");
|
|
239
243
|
}
|
|
240
244
|
function be(t, e, a) {
|
|
241
245
|
const n = t.slice();
|
|
242
|
-
return n[
|
|
246
|
+
return n[55] = e[a], n;
|
|
243
247
|
}
|
|
244
248
|
function _e(t) {
|
|
245
249
|
let e, a = (
|
|
@@ -248,55 +252,55 @@ function _e(t) {
|
|
|
248
252
|
), n, r, l, s;
|
|
249
253
|
return {
|
|
250
254
|
c() {
|
|
251
|
-
e =
|
|
252
|
-
(t[
|
|
255
|
+
e = k("small"), n = H(a), g(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
|
|
256
|
+
(t[16] ? "NotVisible" : ""));
|
|
253
257
|
},
|
|
254
258
|
m(i, c) {
|
|
255
|
-
E(i, e, c), b(e, n), l || (s =
|
|
259
|
+
E(i, e, c), b(e, n), l || (s = U(
|
|
256
260
|
e,
|
|
257
261
|
"click",
|
|
258
262
|
/*click_handler_1*/
|
|
259
|
-
t[
|
|
263
|
+
t[37]
|
|
260
264
|
), l = !0);
|
|
261
265
|
},
|
|
262
266
|
p(i, c) {
|
|
263
267
|
c[0] & /*$_*/
|
|
264
268
|
2097152 && a !== (a = /*$_*/
|
|
265
269
|
i[21]("cancel") + "") && q(n, a), c[0] & /*searchCancelled*/
|
|
266
|
-
|
|
267
|
-
(i[
|
|
270
|
+
65536 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
|
|
271
|
+
(i[16] ? "NotVisible" : "")) && g(e, "class", r);
|
|
268
272
|
},
|
|
269
273
|
d(i) {
|
|
270
274
|
i && j(e), l = !1, s();
|
|
271
275
|
}
|
|
272
276
|
};
|
|
273
277
|
}
|
|
274
|
-
function
|
|
278
|
+
function ut(t) {
|
|
275
279
|
let e, a, n, r;
|
|
276
280
|
function l(h, f) {
|
|
277
281
|
if (
|
|
278
282
|
/*searchActive*/
|
|
279
283
|
h[17] == !0 && /*searchValue*/
|
|
280
|
-
h[
|
|
284
|
+
h[14].length < 2
|
|
281
285
|
)
|
|
282
|
-
return
|
|
286
|
+
return mt;
|
|
283
287
|
if (
|
|
284
288
|
/*searchArray*/
|
|
285
|
-
h[
|
|
289
|
+
h[13].length != 0
|
|
286
290
|
)
|
|
287
|
-
return
|
|
291
|
+
return dt;
|
|
288
292
|
}
|
|
289
293
|
let s = l(t), i = s && s(t), c = (
|
|
290
294
|
/*searchCancelled*/
|
|
291
|
-
t[
|
|
295
|
+
t[16] === !1 && ke(t)
|
|
292
296
|
), m = (
|
|
293
297
|
/*searchValue*/
|
|
294
|
-
t[
|
|
295
|
-
t[
|
|
298
|
+
t[14].length >= 2 && /*searchArray*/
|
|
299
|
+
t[13].length == 0 && Re(t)
|
|
296
300
|
);
|
|
297
301
|
return {
|
|
298
302
|
c() {
|
|
299
|
-
i && i.c(), e = z(), a =
|
|
303
|
+
i && i.c(), e = z(), a = k("div"), c && c.c(), n = z(), m && m.c(), g(a, "class", r = "SearchResultsContainer " + /*searchActive*/
|
|
300
304
|
(t[17] == !0 ? "" : "NotVisible"));
|
|
301
305
|
},
|
|
302
306
|
m(h, f) {
|
|
@@ -304,9 +308,9 @@ function ct(t) {
|
|
|
304
308
|
},
|
|
305
309
|
p(h, f) {
|
|
306
310
|
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*/
|
|
307
|
-
h[
|
|
308
|
-
h[
|
|
309
|
-
h[
|
|
311
|
+
h[16] === !1 ? c ? c.p(h, f) : (c = ke(h), c.c(), c.m(a, n)) : c && (c.d(1), c = null), /*searchValue*/
|
|
312
|
+
h[14].length >= 2 && /*searchArray*/
|
|
313
|
+
h[13].length == 0 ? m ? m.p(h, f) : (m = Re(h), m.c(), m.m(a, null)) : m && (m.d(1), m = null), f[0] & /*searchActive*/
|
|
310
314
|
131072 && r !== (r = "SearchResultsContainer " + /*searchActive*/
|
|
311
315
|
(h[17] == !0 ? "" : "NotVisible")) && g(a, "class", r);
|
|
312
316
|
},
|
|
@@ -315,14 +319,14 @@ function ct(t) {
|
|
|
315
319
|
}
|
|
316
320
|
};
|
|
317
321
|
}
|
|
318
|
-
function
|
|
322
|
+
function ht(t) {
|
|
319
323
|
let e, a = (
|
|
320
324
|
/*$_*/
|
|
321
325
|
t[21]("loading") + ""
|
|
322
326
|
), n;
|
|
323
327
|
return {
|
|
324
328
|
c() {
|
|
325
|
-
e =
|
|
329
|
+
e = k("p"), n = H(a), g(e, "class", "LoadingContent");
|
|
326
330
|
},
|
|
327
331
|
m(r, l) {
|
|
328
332
|
E(r, e, l), b(e, n);
|
|
@@ -337,14 +341,14 @@ function ut(t) {
|
|
|
337
341
|
}
|
|
338
342
|
};
|
|
339
343
|
}
|
|
340
|
-
function
|
|
344
|
+
function dt(t) {
|
|
341
345
|
let e, a = (
|
|
342
346
|
/*$_*/
|
|
343
347
|
t[21]("searchResult") + ""
|
|
344
348
|
), n;
|
|
345
349
|
return {
|
|
346
350
|
c() {
|
|
347
|
-
e =
|
|
351
|
+
e = k("p"), n = H(a), g(e, "class", "SearchMessage");
|
|
348
352
|
},
|
|
349
353
|
m(r, l) {
|
|
350
354
|
E(r, e, l), b(e, n);
|
|
@@ -359,13 +363,13 @@ function ht(t) {
|
|
|
359
363
|
}
|
|
360
364
|
};
|
|
361
365
|
}
|
|
362
|
-
function
|
|
366
|
+
function mt(t) {
|
|
363
367
|
let e, a, n = (
|
|
364
368
|
/*searchArray*/
|
|
365
|
-
t[
|
|
369
|
+
t[13].length !== 0 && we(t)
|
|
366
370
|
), r = (
|
|
367
371
|
/*searchArray*/
|
|
368
|
-
t[
|
|
372
|
+
t[13].length == 0 && ye(t)
|
|
369
373
|
);
|
|
370
374
|
return {
|
|
371
375
|
c() {
|
|
@@ -376,8 +380,8 @@ function dt(t) {
|
|
|
376
380
|
},
|
|
377
381
|
p(l, s) {
|
|
378
382
|
/*searchArray*/
|
|
379
|
-
l[
|
|
380
|
-
l[
|
|
383
|
+
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*/
|
|
384
|
+
l[13].length == 0 ? r ? r.p(l, s) : (r = ye(l), r.c(), r.m(a.parentNode, a)) : r && (r.d(1), r = null);
|
|
381
385
|
},
|
|
382
386
|
d(l) {
|
|
383
387
|
l && (j(e), j(a)), n && n.d(l), r && r.d(l);
|
|
@@ -391,7 +395,7 @@ function we(t) {
|
|
|
391
395
|
), n;
|
|
392
396
|
return {
|
|
393
397
|
c() {
|
|
394
|
-
e =
|
|
398
|
+
e = k("p"), n = H(a), g(e, "class", "SearchMessage");
|
|
395
399
|
},
|
|
396
400
|
m(r, l) {
|
|
397
401
|
E(r, e, l), b(e, n);
|
|
@@ -406,17 +410,17 @@ function we(t) {
|
|
|
406
410
|
}
|
|
407
411
|
};
|
|
408
412
|
}
|
|
409
|
-
function
|
|
413
|
+
function ye(t) {
|
|
410
414
|
let e, a, n, r = (
|
|
411
415
|
/*$_*/
|
|
412
416
|
t[21]("noRecentSearches") + ""
|
|
413
417
|
), l, s, i = (
|
|
414
418
|
/*notfoundicon*/
|
|
415
|
-
t[10] === "true" &&
|
|
419
|
+
t[10] === "true" && ve()
|
|
416
420
|
);
|
|
417
421
|
return {
|
|
418
422
|
c() {
|
|
419
|
-
e =
|
|
423
|
+
e = k("div"), i && i.c(), a = z(), n = k("p"), l = H(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
420
424
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
421
425
|
},
|
|
422
426
|
m(c, m) {
|
|
@@ -424,7 +428,7 @@ function ve(t) {
|
|
|
424
428
|
},
|
|
425
429
|
p(c, m) {
|
|
426
430
|
/*notfoundicon*/
|
|
427
|
-
c[10] === "true" ? i || (i =
|
|
431
|
+
c[10] === "true" ? i || (i = ve(), i.c(), i.m(e, a)) : i && (i.d(1), i = null), m[0] & /*$_*/
|
|
428
432
|
2097152 && r !== (r = /*$_*/
|
|
429
433
|
c[21]("noRecentSearches") + "") && q(l, r), m[0] & /*notfoundicon*/
|
|
430
434
|
1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
|
|
@@ -435,11 +439,11 @@ function ve(t) {
|
|
|
435
439
|
}
|
|
436
440
|
};
|
|
437
441
|
}
|
|
438
|
-
function
|
|
442
|
+
function ve(t) {
|
|
439
443
|
let e;
|
|
440
444
|
return {
|
|
441
445
|
c() {
|
|
442
|
-
e =
|
|
446
|
+
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>', g(e, "class", "SearchErrorIcon");
|
|
443
447
|
},
|
|
444
448
|
m(a, n) {
|
|
445
449
|
E(a, e, n);
|
|
@@ -452,7 +456,7 @@ function ye(t) {
|
|
|
452
456
|
function ke(t) {
|
|
453
457
|
let e, a = fe(
|
|
454
458
|
/*searchArray*/
|
|
455
|
-
t[
|
|
459
|
+
t[13]
|
|
456
460
|
), n = [];
|
|
457
461
|
for (let r = 0; r < a.length; r += 1)
|
|
458
462
|
n[r] = Ce(be(t, a, r));
|
|
@@ -469,10 +473,10 @@ function ke(t) {
|
|
|
469
473
|
},
|
|
470
474
|
p(r, l) {
|
|
471
475
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, mbsource, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
472
|
-
|
|
476
|
+
35138047) {
|
|
473
477
|
a = fe(
|
|
474
478
|
/*searchArray*/
|
|
475
|
-
r[
|
|
479
|
+
r[13]
|
|
476
480
|
);
|
|
477
481
|
let s;
|
|
478
482
|
for (s = 0; s < a.length; s += 1) {
|
|
@@ -493,7 +497,7 @@ function Ce(t) {
|
|
|
493
497
|
let e, a, n, r, l, s, i, c, m, h, f, w;
|
|
494
498
|
return {
|
|
495
499
|
c() {
|
|
496
|
-
e =
|
|
500
|
+
e = k("casino-game-thumbnail"), u(
|
|
497
501
|
e,
|
|
498
502
|
"endpoint",
|
|
499
503
|
/*endpoint*/
|
|
@@ -519,28 +523,28 @@ function Ce(t) {
|
|
|
519
523
|
/*lang*/
|
|
520
524
|
t[1]
|
|
521
525
|
), u(e, "gamethumbnail", a = /*game*/
|
|
522
|
-
t[
|
|
523
|
-
t[
|
|
524
|
-
t[
|
|
525
|
-
t[
|
|
526
|
-
t[
|
|
527
|
-
t[
|
|
526
|
+
t[55].thumbnail), u(e, "gamename", n = /*game*/
|
|
527
|
+
t[55].name), u(e, "gamevendor", r = /*game*/
|
|
528
|
+
t[55].vendor.displayName), u(e, "gameLaunchUrl", l = /*game*/
|
|
529
|
+
t[55].launchUrl), u(e, "gameisnew", s = /*game*/
|
|
530
|
+
t[55].isNew), u(e, "gametag", i = /*game*/
|
|
531
|
+
t[55].advancedTags?.length > 0 && /*addGameTag*/
|
|
528
532
|
t[25](
|
|
529
533
|
/*game*/
|
|
530
|
-
t[
|
|
534
|
+
t[55].advancedTags
|
|
531
535
|
)), u(e, "gamecellsize", c = /*game*/
|
|
532
|
-
t[
|
|
533
|
-
t[
|
|
536
|
+
t[55].cellSize), u(e, "gameid", m = /*game*/
|
|
537
|
+
t[55].id), u(
|
|
534
538
|
e,
|
|
535
539
|
"showgamename",
|
|
536
540
|
/*showgamename*/
|
|
537
541
|
t[6]
|
|
538
542
|
), u(e, "gamefunmode", h = /*game*/
|
|
539
|
-
t[
|
|
540
|
-
t[
|
|
541
|
-
t[
|
|
543
|
+
t[55].hasFunMode), u(e, "gamefavorite", f = /*game*/
|
|
544
|
+
t[55].isFavorite), u(e, "livelobbyendpoint", w = /*game*/
|
|
545
|
+
t[55].details ? (
|
|
542
546
|
/*game*/
|
|
543
|
-
t[
|
|
547
|
+
t[55].launchUrl
|
|
544
548
|
) : ""), u(
|
|
545
549
|
e,
|
|
546
550
|
"integratedgameframedesktop",
|
|
@@ -608,40 +612,40 @@ function Ce(t) {
|
|
|
608
612
|
/*lang*/
|
|
609
613
|
d[1]
|
|
610
614
|
), p[0] & /*searchArray*/
|
|
611
|
-
|
|
612
|
-
d[
|
|
613
|
-
|
|
614
|
-
d[
|
|
615
|
-
|
|
616
|
-
d[
|
|
617
|
-
|
|
618
|
-
d[
|
|
619
|
-
|
|
620
|
-
d[
|
|
621
|
-
|
|
622
|
-
d[
|
|
615
|
+
8192 && a !== (a = /*game*/
|
|
616
|
+
d[55].thumbnail) && u(e, "gamethumbnail", a), p[0] & /*searchArray*/
|
|
617
|
+
8192 && n !== (n = /*game*/
|
|
618
|
+
d[55].name) && u(e, "gamename", n), p[0] & /*searchArray*/
|
|
619
|
+
8192 && r !== (r = /*game*/
|
|
620
|
+
d[55].vendor.displayName) && u(e, "gamevendor", r), p[0] & /*searchArray*/
|
|
621
|
+
8192 && l !== (l = /*game*/
|
|
622
|
+
d[55].launchUrl) && u(e, "gameLaunchUrl", l), p[0] & /*searchArray*/
|
|
623
|
+
8192 && s !== (s = /*game*/
|
|
624
|
+
d[55].isNew) && u(e, "gameisnew", s), p[0] & /*searchArray*/
|
|
625
|
+
8192 && i !== (i = /*game*/
|
|
626
|
+
d[55].advancedTags?.length > 0 && /*addGameTag*/
|
|
623
627
|
d[25](
|
|
624
628
|
/*game*/
|
|
625
|
-
d[
|
|
629
|
+
d[55].advancedTags
|
|
626
630
|
)) && u(e, "gametag", i), p[0] & /*searchArray*/
|
|
627
|
-
|
|
628
|
-
d[
|
|
629
|
-
|
|
630
|
-
d[
|
|
631
|
+
8192 && c !== (c = /*game*/
|
|
632
|
+
d[55].cellSize) && u(e, "gamecellsize", c), p[0] & /*searchArray*/
|
|
633
|
+
8192 && m !== (m = /*game*/
|
|
634
|
+
d[55].id) && u(e, "gameid", m), p[0] & /*showgamename*/
|
|
631
635
|
64 && u(
|
|
632
636
|
e,
|
|
633
637
|
"showgamename",
|
|
634
638
|
/*showgamename*/
|
|
635
639
|
d[6]
|
|
636
640
|
), p[0] & /*searchArray*/
|
|
637
|
-
|
|
638
|
-
d[
|
|
639
|
-
|
|
640
|
-
d[
|
|
641
|
-
|
|
642
|
-
d[
|
|
641
|
+
8192 && h !== (h = /*game*/
|
|
642
|
+
d[55].hasFunMode) && u(e, "gamefunmode", h), p[0] & /*searchArray*/
|
|
643
|
+
8192 && f !== (f = /*game*/
|
|
644
|
+
d[55].isFavorite) && u(e, "gamefavorite", f), p[0] & /*searchArray*/
|
|
645
|
+
8192 && w !== (w = /*game*/
|
|
646
|
+
d[55].details ? (
|
|
643
647
|
/*game*/
|
|
644
|
-
d[
|
|
648
|
+
d[55].launchUrl
|
|
645
649
|
) : "") && u(e, "livelobbyendpoint", w), p[0] & /*integratedgameframedesktop*/
|
|
646
650
|
16 && u(
|
|
647
651
|
e,
|
|
@@ -698,7 +702,7 @@ function Re(t) {
|
|
|
698
702
|
);
|
|
699
703
|
return {
|
|
700
704
|
c() {
|
|
701
|
-
e =
|
|
705
|
+
e = k("div"), f && f.c(), a = z(), n = k("p"), l = H(r), s = z(), i = k("p"), m = H(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
702
706
|
(t[10] == "true" ? "WithIcon" : ""));
|
|
703
707
|
},
|
|
704
708
|
m(w, d) {
|
|
@@ -723,7 +727,7 @@ function Fe(t) {
|
|
|
723
727
|
let e;
|
|
724
728
|
return {
|
|
725
729
|
c() {
|
|
726
|
-
e =
|
|
730
|
+
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>', g(e, "class", "SearchErrorIcon");
|
|
727
731
|
},
|
|
728
732
|
m(a, n) {
|
|
729
733
|
E(a, e, n);
|
|
@@ -733,25 +737,25 @@ function Fe(t) {
|
|
|
733
737
|
}
|
|
734
738
|
};
|
|
735
739
|
}
|
|
736
|
-
function
|
|
737
|
-
let e, a, n, r, l, s, i, c, m, h, f, w, d, p, B, N, x,
|
|
740
|
+
function ft(t) {
|
|
741
|
+
let e, a, n, r, l, s, i, c, m, h, f, w, d, p, B, N, x, J, A, W, y = (
|
|
738
742
|
/*cancelbutton*/
|
|
739
743
|
t[9] === "true" && _e(t)
|
|
740
744
|
);
|
|
741
|
-
function
|
|
745
|
+
function I(_, T) {
|
|
742
746
|
return (
|
|
743
747
|
/*isLoading*/
|
|
744
|
-
_[18] ?
|
|
748
|
+
_[18] ? ht : ut
|
|
745
749
|
);
|
|
746
750
|
}
|
|
747
|
-
let M =
|
|
751
|
+
let M = I(t), C = M(t);
|
|
748
752
|
return {
|
|
749
753
|
c() {
|
|
750
|
-
e =
|
|
751
|
-
t[21]("placeHolderSearchGames")), g(s, "maxlength",
|
|
754
|
+
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"), f = de("path"), d = z(), y && y.c(), B = z(), N = k("div"), J = z(), C.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
|
|
755
|
+
t[21]("placeHolderSearchGames")), g(s, "maxlength", gt), 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", w = "SearchClearButton " + /*cancelbutton*/
|
|
752
756
|
(t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
753
|
-
(t[
|
|
754
|
-
(t[
|
|
757
|
+
(t[14].length != 0 ? "" : "NotVisible")), g(n, "class", p = "Search " + /*searchCancelled*/
|
|
758
|
+
(t[16] ? "" : "SearchAnimation")), g(a, "class", "SearchWrap"), g(N, "class", x = /*cancelbutton*/
|
|
755
759
|
t[9] != "true" ? "OverlayCancel" : ""), g(e, "class", (ae(
|
|
756
760
|
/*userAgent*/
|
|
757
761
|
t[22]
|
|
@@ -761,27 +765,33 @@ function mt(t) {
|
|
|
761
765
|
E(_, e, T), b(e, a), b(a, n), b(n, r), b(n, l), b(n, s), he(
|
|
762
766
|
s,
|
|
763
767
|
/*searchValue*/
|
|
764
|
-
t[
|
|
765
|
-
), t[
|
|
766
|
-
|
|
768
|
+
t[14]
|
|
769
|
+
), t[35](s), b(n, c), b(n, m), b(m, h), b(h, f), b(n, d), y && y.m(n, null), b(e, B), b(e, N), b(e, J), C.m(e, null), t[38](e), A || (W = [
|
|
770
|
+
U(
|
|
767
771
|
s,
|
|
768
772
|
"input",
|
|
769
773
|
/*input_input_handler*/
|
|
770
|
-
t[
|
|
774
|
+
t[34]
|
|
771
775
|
),
|
|
772
|
-
|
|
776
|
+
U(
|
|
773
777
|
s,
|
|
774
778
|
"focus",
|
|
775
779
|
/*onFocus*/
|
|
776
780
|
t[23]
|
|
777
781
|
),
|
|
778
|
-
|
|
782
|
+
U(
|
|
783
|
+
s,
|
|
784
|
+
"input",
|
|
785
|
+
/*handleSearchInput*/
|
|
786
|
+
t[28]
|
|
787
|
+
),
|
|
788
|
+
U(
|
|
779
789
|
m,
|
|
780
790
|
"click",
|
|
781
791
|
/*click_handler*/
|
|
782
|
-
t[
|
|
792
|
+
t[36]
|
|
783
793
|
),
|
|
784
|
-
|
|
794
|
+
U(
|
|
785
795
|
N,
|
|
786
796
|
"click",
|
|
787
797
|
/*handleOverlay*/
|
|
@@ -793,37 +803,37 @@ function mt(t) {
|
|
|
793
803
|
T[0] & /*$_*/
|
|
794
804
|
2097152 && i !== (i = /*$_*/
|
|
795
805
|
_[21]("placeHolderSearchGames")) && g(s, "placeholder", i), T[0] & /*searchValue*/
|
|
796
|
-
|
|
797
|
-
_[
|
|
806
|
+
16384 && s.value !== /*searchValue*/
|
|
807
|
+
_[14] && he(
|
|
798
808
|
s,
|
|
799
809
|
/*searchValue*/
|
|
800
|
-
_[
|
|
810
|
+
_[14]
|
|
801
811
|
), T[0] & /*cancelbutton, searchValue*/
|
|
802
|
-
|
|
812
|
+
16896 && w !== (w = "SearchClearButton " + /*cancelbutton*/
|
|
803
813
|
(_[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
804
|
-
(_[
|
|
805
|
-
_[9] === "true" ?
|
|
806
|
-
|
|
807
|
-
(_[
|
|
814
|
+
(_[14].length != 0 ? "" : "NotVisible")) && g(m, "class", w), /*cancelbutton*/
|
|
815
|
+
_[9] === "true" ? y ? y.p(_, T) : (y = _e(_), y.c(), y.m(n, null)) : y && (y.d(1), y = null), T[0] & /*searchCancelled*/
|
|
816
|
+
65536 && p !== (p = "Search " + /*searchCancelled*/
|
|
817
|
+
(_[16] ? "" : "SearchAnimation")) && g(n, "class", p), T[0] & /*cancelbutton*/
|
|
808
818
|
512 && x !== (x = /*cancelbutton*/
|
|
809
|
-
_[9] != "true" ? "OverlayCancel" : "") && g(N, "class", x), M === (M =
|
|
819
|
+
_[9] != "true" ? "OverlayCancel" : "") && g(N, "class", x), M === (M = I(_)) && C ? C.p(_, T) : (C.d(1), C = M(_), C && (C.c(), C.m(e, null)));
|
|
810
820
|
},
|
|
811
821
|
i: ue,
|
|
812
822
|
o: ue,
|
|
813
823
|
d(_) {
|
|
814
|
-
_ && j(e), t[
|
|
824
|
+
_ && j(e), t[35](null), y && y.d(), C.d(), t[38](null), A = !1, Ke(W);
|
|
815
825
|
}
|
|
816
826
|
};
|
|
817
827
|
}
|
|
818
|
-
let
|
|
819
|
-
function
|
|
828
|
+
let gt = 50;
|
|
829
|
+
function pt(t, e, a) {
|
|
820
830
|
let n;
|
|
821
|
-
|
|
822
|
-
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: f = "false" } = e, { integratedgameframemobile: w = "false" } = e, { showgamename: d = "" } = e, { gamepagemodalurl: p = "true" } = e, { translationurl: B = "" } = e, { showfavorites: N = "" } = e, { cancelbutton: x = "true" } = e, { notfoundicon:
|
|
831
|
+
Qe(t, tt, (o) => a(21, n = o));
|
|
832
|
+
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop: f = "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, y = [], I = [], M = {}, C = "", _, T = !0, Z = !1, G = !1, P, X = !1, K, Q, re = [];
|
|
823
833
|
const Te = () => {
|
|
824
834
|
fetch(B).then((S) => S.json()).then((S) => {
|
|
825
|
-
Object.keys(S).forEach((
|
|
826
|
-
ge(
|
|
835
|
+
Object.keys(S).forEach((v) => {
|
|
836
|
+
ge(v, S[v]);
|
|
827
837
|
});
|
|
828
838
|
}).catch((S) => {
|
|
829
839
|
console.log(S);
|
|
@@ -833,74 +843,74 @@ function gt(t, e, a) {
|
|
|
833
843
|
ge(o, pe[o]);
|
|
834
844
|
});
|
|
835
845
|
const oe = (o) => {
|
|
836
|
-
o.data && o.data.type == "SearchedItemClicked" && Ne(o.data.gameId), o.data.type == "UserSessionID" && (a(19, K = o.data.session), a(20, Q = o.data.userid), a(
|
|
846
|
+
o.data && o.data.type == "SearchedItemClicked" && Ne(o.data.gameId), o.data.type == "UserSessionID" && (a(19, K = o.data.session), a(20, Q = o.data.userid), a(33, X = !0)), o.data.type == "CategoryChange" && $();
|
|
837
847
|
}, se = () => {
|
|
838
|
-
if (a(
|
|
839
|
-
a(
|
|
848
|
+
if (a(16, T = !1), a(17, Z = !0), r && l && c && C.length < 2) {
|
|
849
|
+
a(13, y = []);
|
|
840
850
|
let o = localStorage.getItem("searchedGamesWds_casino"), S = [];
|
|
841
851
|
o && (S = o.split(","));
|
|
842
|
-
let
|
|
852
|
+
let v = [], R = 0, F = S.length;
|
|
843
853
|
if (F > 0) {
|
|
844
854
|
for (R = 0; R < F; R++) {
|
|
845
855
|
let D = new URL(`${r}/v1/casino/games/${S[R]}`);
|
|
846
|
-
D.searchParams.append("language", c), D.searchParams.append("datasource", l), D.searchParams.append("platform", ae(W)),
|
|
856
|
+
D.searchParams.append("language", c), D.searchParams.append("datasource", l), D.searchParams.append("platform", ae(W)), v.push(De(D, S[R]));
|
|
847
857
|
}
|
|
848
|
-
Promise.all(
|
|
858
|
+
Promise.all(v).then((D) => {
|
|
849
859
|
D = D.filter(function(O) {
|
|
850
860
|
return !!O;
|
|
851
|
-
}), a(
|
|
861
|
+
}), a(13, y = D.map((O) => (O.isFavorite = le(O.id), O))), y.length ? Y("searchSuccess", "SearchWidget") : Y("searchFail", "SearchWidget");
|
|
852
862
|
}).catch((D) => {
|
|
853
|
-
|
|
863
|
+
Y("searchError", "SearchWidget");
|
|
854
864
|
});
|
|
855
865
|
}
|
|
856
866
|
}
|
|
857
|
-
ce(
|
|
858
|
-
},
|
|
867
|
+
ce(Z), Y("searchAttempt", "SearchWidget"), Y("SearchInitialized", "SearchWidget");
|
|
868
|
+
}, Y = (o, S) => {
|
|
859
869
|
typeof gtag == "function" && gtag("event", o, { context: S });
|
|
860
870
|
}, je = () => {
|
|
861
871
|
x != "true" && $();
|
|
862
|
-
}, Ee = (o) => new Promise((S,
|
|
863
|
-
a(18,
|
|
864
|
-
a(18,
|
|
872
|
+
}, Ee = (o) => new Promise((S, v) => {
|
|
873
|
+
a(18, G = !0), fetch(o.href).then((R) => R.json()).then((R) => {
|
|
874
|
+
a(18, G = !1), S(R);
|
|
865
875
|
}).catch((R) => {
|
|
866
|
-
a(18,
|
|
876
|
+
a(18, G = !1), console.error(R), v(R);
|
|
867
877
|
});
|
|
868
|
-
}), De = (o, S) => new Promise((
|
|
869
|
-
a(18,
|
|
870
|
-
a(18,
|
|
878
|
+
}), De = (o, S) => new Promise((v, R) => {
|
|
879
|
+
a(18, G = !0), S && Object.keys(M).indexOf(S) >= 0 ? (a(18, G = !1), v(M[S])) : fetch(o).then((F) => F.json()).then((F) => {
|
|
880
|
+
a(18, G = !1), F.error || (M[F[0].gameId] = F[0]), v(F[0]);
|
|
871
881
|
}).catch((F) => {
|
|
872
|
-
a(18,
|
|
882
|
+
a(18, G = !1), console.error(F), R(F);
|
|
873
883
|
});
|
|
874
|
-
}),
|
|
884
|
+
}), Ie = () => {
|
|
875
885
|
const o = new URL(`${r}/v1/player/${Q}/favorites/`);
|
|
876
|
-
a(18,
|
|
886
|
+
a(18, G = !0);
|
|
877
887
|
let S = {
|
|
878
888
|
method: "GET",
|
|
879
889
|
headers: { "X-SessionID": K }
|
|
880
890
|
};
|
|
881
|
-
fetch(o.href, S).then((
|
|
882
|
-
a(18,
|
|
891
|
+
fetch(o.href, S).then((v) => v.json()).then((v) => {
|
|
892
|
+
a(18, G = !1), re = v.items.map((R) => R.id);
|
|
883
893
|
});
|
|
884
|
-
},
|
|
885
|
-
a(
|
|
894
|
+
}, Ge = () => {
|
|
895
|
+
a(33, X = !0), a(19, K = s), a(20, Q = i);
|
|
886
896
|
}, le = (o) => re.findIndex((S) => S == o) !== -1, ze = (o) => {
|
|
887
897
|
if (o?.length === 0)
|
|
888
898
|
return "";
|
|
889
|
-
let S,
|
|
899
|
+
let S, v = 99999999999, R;
|
|
890
900
|
const F = new Date(Date.now());
|
|
891
901
|
return o.forEach((D, O) => {
|
|
892
|
-
const
|
|
893
|
-
Se(new Date(te), new Date(F)) <
|
|
902
|
+
const He = new Date(D.schedules[0].startTime), te = new Date(D.schedules[0].endTime);
|
|
903
|
+
Se(new Date(te), new Date(F)) < v && (v = Se(new Date(te), new Date(F)), R = O), lt(new Date(F), new Date(He)) && it(new Date(F), new Date(te)) && (S = o[R].name);
|
|
894
904
|
}), S;
|
|
895
905
|
}, Ne = (o) => {
|
|
896
|
-
if (
|
|
906
|
+
if (I = localStorage.getItem("searchedGamesWds_casino"), I ? I = I.split(",") : I = [], I.indexOf(o) === -1) {
|
|
897
907
|
let S;
|
|
898
|
-
|
|
908
|
+
I.unshift(o), S = I.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
899
909
|
}
|
|
900
910
|
}, $ = () => {
|
|
901
|
-
a(
|
|
911
|
+
a(14, C = ""), a(16, T = !0), a(18, G = !1), a(13, y = []), a(17, Z = !1), ce(Z);
|
|
902
912
|
}, ie = () => {
|
|
903
|
-
a(
|
|
913
|
+
a(14, C = ""), _.focus();
|
|
904
914
|
}, ce = (o) => {
|
|
905
915
|
window.postMessage(
|
|
906
916
|
{
|
|
@@ -911,45 +921,45 @@ function gt(t, e, a) {
|
|
|
911
921
|
);
|
|
912
922
|
}, Pe = () => {
|
|
913
923
|
ot(c);
|
|
914
|
-
}
|
|
915
|
-
|
|
924
|
+
}, xe = st(async () => {
|
|
925
|
+
if (C.length >= 2) {
|
|
926
|
+
const o = new URL(`${r}/v1/casino/games`);
|
|
927
|
+
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=${C}`), Ee(o).then((S) => {
|
|
928
|
+
a(13, y = S.items.map((v) => (v.isFavorite = le(v.id), v)));
|
|
929
|
+
});
|
|
930
|
+
} else
|
|
931
|
+
T || se();
|
|
932
|
+
}, 500);
|
|
933
|
+
$e(() => (window.addEventListener("message", oe, !1), () => {
|
|
916
934
|
window.removeEventListener("message", oe);
|
|
917
935
|
}));
|
|
918
|
-
function
|
|
919
|
-
|
|
936
|
+
function Me() {
|
|
937
|
+
C = this.value, a(14, C);
|
|
920
938
|
}
|
|
921
|
-
function
|
|
939
|
+
function Be(o) {
|
|
922
940
|
me[o ? "unshift" : "push"](() => {
|
|
923
|
-
_ = o, a(
|
|
941
|
+
_ = o, a(15, _);
|
|
924
942
|
});
|
|
925
943
|
}
|
|
926
|
-
const
|
|
927
|
-
function
|
|
944
|
+
const Ae = () => ie(), Oe = () => $();
|
|
945
|
+
function qe(o) {
|
|
928
946
|
me[o ? "unshift" : "push"](() => {
|
|
929
|
-
P = o, a(
|
|
947
|
+
P = o, a(12, P);
|
|
930
948
|
});
|
|
931
949
|
}
|
|
932
950
|
return t.$$set = (o) => {
|
|
933
|
-
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(
|
|
951
|
+
"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, f = 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);
|
|
934
952
|
}, t.$$.update = () => {
|
|
935
|
-
if (t.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
936
|
-
268447747)
|
|
937
|
-
if (k.length >= 2) {
|
|
938
|
-
const o = new URL(`${r}/v1/casino/games`);
|
|
939
|
-
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}`), Ee(o).then((S) => {
|
|
940
|
-
$e("game_search", { searchValue: k }), a(15, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
|
|
941
|
-
});
|
|
942
|
-
} else
|
|
943
|
-
T || se();
|
|
944
953
|
t.$$.dirty[0] & /*lang*/
|
|
945
954
|
2 && c && Pe(), t.$$.dirty[1] & /*translationurl*/
|
|
946
|
-
|
|
947
|
-
|
|
955
|
+
2 && B && Te(), t.$$.dirty[0] & /*session*/
|
|
956
|
+
1073741824 | t.$$.dirty[1] & /*userid*/
|
|
957
|
+
1 && s && i && Ge(), t.$$.dirty[0] & /*showfavorites*/
|
|
948
958
|
256 | t.$$.dirty[1] & /*isLoggedIn*/
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
959
|
+
4 && N && X && Ie(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
960
|
+
4100 && m && P && at(P, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
961
|
+
4104 && h && P && nt(P, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
962
|
+
6144 && P && rt(P, `${A}.Style`);
|
|
953
963
|
}, [
|
|
954
964
|
r,
|
|
955
965
|
c,
|
|
@@ -961,15 +971,15 @@ function gt(t, e, a) {
|
|
|
961
971
|
p,
|
|
962
972
|
N,
|
|
963
973
|
x,
|
|
964
|
-
|
|
974
|
+
J,
|
|
965
975
|
A,
|
|
966
|
-
k,
|
|
967
|
-
T,
|
|
968
976
|
P,
|
|
969
|
-
|
|
977
|
+
y,
|
|
978
|
+
C,
|
|
970
979
|
_,
|
|
971
|
-
|
|
972
|
-
|
|
980
|
+
T,
|
|
981
|
+
Z,
|
|
982
|
+
G,
|
|
973
983
|
K,
|
|
974
984
|
Q,
|
|
975
985
|
n,
|
|
@@ -979,31 +989,32 @@ function gt(t, e, a) {
|
|
|
979
989
|
ze,
|
|
980
990
|
$,
|
|
981
991
|
ie,
|
|
992
|
+
xe,
|
|
982
993
|
l,
|
|
983
994
|
s,
|
|
984
995
|
i,
|
|
985
996
|
B,
|
|
986
997
|
X,
|
|
987
|
-
xe,
|
|
988
998
|
Me,
|
|
989
999
|
Be,
|
|
990
1000
|
Ae,
|
|
991
|
-
Oe
|
|
1001
|
+
Oe,
|
|
1002
|
+
qe
|
|
992
1003
|
];
|
|
993
1004
|
}
|
|
994
|
-
class
|
|
1005
|
+
class St extends Je {
|
|
995
1006
|
constructor(e) {
|
|
996
|
-
super(),
|
|
1007
|
+
super(), Ze(
|
|
997
1008
|
this,
|
|
998
1009
|
e,
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1010
|
+
pt,
|
|
1011
|
+
ft,
|
|
1012
|
+
Ye,
|
|
1002
1013
|
{
|
|
1003
1014
|
endpoint: 0,
|
|
1004
|
-
datasource:
|
|
1005
|
-
session:
|
|
1006
|
-
userid:
|
|
1015
|
+
datasource: 29,
|
|
1016
|
+
session: 30,
|
|
1017
|
+
userid: 31,
|
|
1007
1018
|
lang: 1,
|
|
1008
1019
|
clientstyling: 2,
|
|
1009
1020
|
clientstylingurl: 3,
|
|
@@ -1011,13 +1022,13 @@ class pt extends Ve {
|
|
|
1011
1022
|
integratedgameframemobile: 5,
|
|
1012
1023
|
showgamename: 6,
|
|
1013
1024
|
gamepagemodalurl: 7,
|
|
1014
|
-
translationurl:
|
|
1025
|
+
translationurl: 32,
|
|
1015
1026
|
showfavorites: 8,
|
|
1016
1027
|
cancelbutton: 9,
|
|
1017
1028
|
notfoundicon: 10,
|
|
1018
1029
|
mbsource: 11
|
|
1019
1030
|
},
|
|
1020
|
-
|
|
1031
|
+
ct,
|
|
1021
1032
|
[-1, -1]
|
|
1022
1033
|
);
|
|
1023
1034
|
}
|
|
@@ -1028,19 +1039,19 @@ class pt extends Ve {
|
|
|
1028
1039
|
this.$$set({ endpoint: e }), L();
|
|
1029
1040
|
}
|
|
1030
1041
|
get datasource() {
|
|
1031
|
-
return this.$$.ctx[
|
|
1042
|
+
return this.$$.ctx[29];
|
|
1032
1043
|
}
|
|
1033
1044
|
set datasource(e) {
|
|
1034
1045
|
this.$$set({ datasource: e }), L();
|
|
1035
1046
|
}
|
|
1036
1047
|
get session() {
|
|
1037
|
-
return this.$$.ctx[
|
|
1048
|
+
return this.$$.ctx[30];
|
|
1038
1049
|
}
|
|
1039
1050
|
set session(e) {
|
|
1040
1051
|
this.$$set({ session: e }), L();
|
|
1041
1052
|
}
|
|
1042
1053
|
get userid() {
|
|
1043
|
-
return this.$$.ctx[
|
|
1054
|
+
return this.$$.ctx[31];
|
|
1044
1055
|
}
|
|
1045
1056
|
set userid(e) {
|
|
1046
1057
|
this.$$set({ userid: e }), L();
|
|
@@ -1088,7 +1099,7 @@ class pt extends Ve {
|
|
|
1088
1099
|
this.$$set({ gamepagemodalurl: e }), L();
|
|
1089
1100
|
}
|
|
1090
1101
|
get translationurl() {
|
|
1091
|
-
return this.$$.ctx[
|
|
1102
|
+
return this.$$.ctx[32];
|
|
1092
1103
|
}
|
|
1093
1104
|
set translationurl(e) {
|
|
1094
1105
|
this.$$set({ translationurl: e }), L();
|
|
@@ -1118,7 +1129,7 @@ class pt extends Ve {
|
|
|
1118
1129
|
this.$$set({ mbsource: e }), L();
|
|
1119
1130
|
}
|
|
1120
1131
|
}
|
|
1121
|
-
|
|
1132
|
+
Ve(St, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
|
|
1122
1133
|
export {
|
|
1123
|
-
|
|
1134
|
+
St as C
|
|
1124
1135
|
};
|