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