@everymatrix/casino-page 1.62.4 → 1.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoJackpotBanner-B1ZkOilK.js +806 -0
- package/components/CasinoJackpotBanner-DjgSy20d.js +810 -0
- package/components/CasinoJackpotBanner-DuplLyPb.cjs +1 -0
- package/components/{CasinoPage-DDdhRz6Q.js → CasinoPage-BDauzXlJ.js} +809 -768
- package/components/CasinoPage-BdCOTWuA.cjs +1 -0
- package/components/{CasinoPage-CKrcKOmV.js → CasinoPage-pYd64Fx_.js} +811 -770
- package/components/CasinoSearch-BjOsd8e_.cjs +1 -0
- package/components/{CasinoSearch-2NuwT4lb.js → CasinoSearch-Bs-XYAKI.js} +318 -288
- package/components/{CasinoSearch-CHg0rwkf.js → CasinoSearch-D41Q1etS.js} +334 -304
- package/components/CasinoWinners-CPM46iQH.cjs +1 -0
- package/components/CasinoWinners-Cbji1sSG.js +983 -0
- package/components/CasinoWinners-CsFLhIyp.js +981 -0
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-6EpPs13y.js → casino-play-random-game-BYqESYAt.js} +6 -1
- package/stencil/{casino-play-random-game-BUvMKyaw.js → casino-play-random-game-QQFB7p9f.js} +6 -1
- package/stencil/{casino-play-random-game-IjQER553.cjs → casino-play-random-game-cxzdDqDs.cjs} +6 -1
- package/stencil/{index-ab3202d6-c7Vf1NJ1.cjs → index-ab3202d6-4wRb7_uS.cjs} +1 -1
- package/stencil/{index-ab3202d6-9zuW-dLG.js → index-ab3202d6-ClNgaMg-.js} +1 -1
- package/stencil/{index-ab3202d6-CGVciVSL.js → index-ab3202d6-CvVYHCZs.js} +1 -1
- package/components/CasinoJackpotBanner-D-y0s9ns.js +0 -698
- package/components/CasinoJackpotBanner-DB3hCH6n.cjs +0 -1
- package/components/CasinoJackpotBanner-DQa_nx8f.js +0 -694
- package/components/CasinoPage-Ckh1Glx2.cjs +0 -1
- package/components/CasinoSearch-BLz1Gq5a.cjs +0 -1
- package/components/CasinoWinners-CORvXpCo.cjs +0 -1
- package/components/CasinoWinners-Dtd2EmXL.js +0 -980
- package/components/CasinoWinners-a1zCEXCJ.js +0 -978
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { d as
|
|
1
|
+
import { a as He, $ as We, S as Ue, i as Ve, s as Je, f as L, b as Ze, n as ue, d as j, O as Ye, r as g, T as he, h as G, p as b, A as Y, j as R, B as D, F as de, R as ae, k as Ke, o as Xe, m as q, q as H, C as me, v as fe, w as Qe, G as Le, E as u, J as $e, K as et, L as tt, M as at, N as nt } from "./CasinoCalendar-BOs8WCfO.js";
|
|
2
|
+
import { d as rt } from "./CasinoGameThumbnail-Blm7vAkJ.js";
|
|
3
3
|
import "./CasinoGamesCategorySection-nWuv7UdY.js";
|
|
4
|
-
function
|
|
5
|
-
|
|
4
|
+
function ge(t, e) {
|
|
5
|
+
He(t, e);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
7
|
+
function ot(t) {
|
|
8
|
+
We.set(t);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const pe = {
|
|
11
11
|
en: {
|
|
12
12
|
recentSearch: "Recent search",
|
|
13
13
|
placeHolderSearchGames: "Search for Games",
|
|
@@ -190,233 +190,263 @@ const ge = {
|
|
|
190
190
|
noRecentSearches: "No recent searches yet. Search for any of our games."
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
|
-
function
|
|
194
|
-
|
|
193
|
+
function ne(t) {
|
|
194
|
+
"@babel/helpers - typeof";
|
|
195
|
+
return ne = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
196
|
+
return typeof e;
|
|
197
|
+
} : function(e) {
|
|
198
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
199
|
+
}, ne(t);
|
|
195
200
|
}
|
|
196
|
-
function
|
|
197
|
-
|
|
198
|
-
|
|
201
|
+
function ee(t, e) {
|
|
202
|
+
if (e.length < t)
|
|
203
|
+
throw new TypeError(t + " argument" + (t > 1 ? "s" : "") + " required, but only " + e.length + " present");
|
|
199
204
|
}
|
|
200
|
-
function
|
|
201
|
-
|
|
205
|
+
function U(t) {
|
|
206
|
+
ee(1, arguments);
|
|
207
|
+
var e = Object.prototype.toString.call(t);
|
|
208
|
+
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 != "undefined" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
|
|
209
|
+
}
|
|
210
|
+
function Se(t, e) {
|
|
211
|
+
return ee(2, arguments), U(t).getTime() - U(e).getTime();
|
|
212
|
+
}
|
|
213
|
+
function st(t, e) {
|
|
214
|
+
ee(2, arguments);
|
|
215
|
+
var a = U(t), n = U(e);
|
|
216
|
+
return a.getTime() > n.getTime();
|
|
217
|
+
}
|
|
218
|
+
function lt(t, e) {
|
|
219
|
+
ee(2, arguments);
|
|
220
|
+
var a = U(t), n = U(e);
|
|
221
|
+
return a.getTime() < n.getTime();
|
|
222
|
+
}
|
|
223
|
+
function it(t) {
|
|
224
|
+
Ze(t, "svelte-8vixmz", "*,*::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:30px 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;margin-bottom:20px;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:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
|
|
225
|
+
}
|
|
226
|
+
function be(t, e, a) {
|
|
227
|
+
const n = t.slice();
|
|
228
|
+
return n[53] = e[a], n;
|
|
229
|
+
}
|
|
230
|
+
function _e(t) {
|
|
231
|
+
let e, a = (
|
|
202
232
|
/*$_*/
|
|
203
|
-
|
|
233
|
+
t[21]("cancel") + ""
|
|
204
234
|
), n, r, l, s;
|
|
205
235
|
return {
|
|
206
236
|
c() {
|
|
207
|
-
e = R("small"), n = H(
|
|
208
|
-
(
|
|
237
|
+
e = R("small"), n = H(a), g(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
|
|
238
|
+
(t[13] ? "NotVisible" : ""));
|
|
209
239
|
},
|
|
210
240
|
m(i, c) {
|
|
211
|
-
G(i, e, c),
|
|
241
|
+
G(i, e, c), b(e, n), l || (s = Y(
|
|
212
242
|
e,
|
|
213
243
|
"click",
|
|
214
244
|
/*click_handler_1*/
|
|
215
|
-
|
|
245
|
+
t[36]
|
|
216
246
|
), l = !0);
|
|
217
247
|
},
|
|
218
248
|
p(i, c) {
|
|
219
249
|
c[0] & /*$_*/
|
|
220
|
-
2097152 &&
|
|
221
|
-
i[21]("cancel") + "") && q(n,
|
|
250
|
+
2097152 && a !== (a = /*$_*/
|
|
251
|
+
i[21]("cancel") + "") && q(n, a), c[0] & /*searchCancelled*/
|
|
222
252
|
8192 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
|
|
223
|
-
(i[13] ? "NotVisible" : "")) &&
|
|
253
|
+
(i[13] ? "NotVisible" : "")) && g(e, "class", r);
|
|
224
254
|
},
|
|
225
255
|
d(i) {
|
|
226
256
|
i && j(e), l = !1, s();
|
|
227
257
|
}
|
|
228
258
|
};
|
|
229
259
|
}
|
|
230
|
-
function
|
|
231
|
-
let e,
|
|
232
|
-
function l(h,
|
|
260
|
+
function ct(t) {
|
|
261
|
+
let e, a, n, r;
|
|
262
|
+
function l(h, f) {
|
|
233
263
|
if (
|
|
234
264
|
/*searchActive*/
|
|
235
265
|
h[17] == !0 && /*searchValue*/
|
|
236
266
|
h[12].length < 2
|
|
237
267
|
)
|
|
238
|
-
return
|
|
268
|
+
return dt;
|
|
239
269
|
if (
|
|
240
270
|
/*searchArray*/
|
|
241
271
|
h[15].length != 0
|
|
242
272
|
)
|
|
243
|
-
return
|
|
273
|
+
return ht;
|
|
244
274
|
}
|
|
245
|
-
let s = l(
|
|
275
|
+
let s = l(t), i = s && s(t), c = (
|
|
246
276
|
/*searchCancelled*/
|
|
247
|
-
|
|
277
|
+
t[13] === !1 && ke(t)
|
|
248
278
|
), m = (
|
|
249
279
|
/*searchValue*/
|
|
250
|
-
|
|
251
|
-
|
|
280
|
+
t[12].length >= 2 && /*searchArray*/
|
|
281
|
+
t[15].length == 0 && Ce(t)
|
|
252
282
|
);
|
|
253
283
|
return {
|
|
254
284
|
c() {
|
|
255
|
-
i && i.c(), e =
|
|
256
|
-
(
|
|
285
|
+
i && i.c(), e = D(), a = R("div"), c && c.c(), n = D(), m && m.c(), g(a, "class", r = "SearchResultsContainer " + /*searchActive*/
|
|
286
|
+
(t[17] == !0 ? "" : "NotVisible"));
|
|
257
287
|
},
|
|
258
|
-
m(h,
|
|
259
|
-
i && i.m(h,
|
|
288
|
+
m(h, f) {
|
|
289
|
+
i && i.m(h, f), G(h, e, f), G(h, a, f), c && c.m(a, null), b(a, n), m && m.m(a, null);
|
|
260
290
|
},
|
|
261
|
-
p(h,
|
|
262
|
-
s === (s = l(h)) && i ? i.p(h,
|
|
263
|
-
h[13] === !1 ? c ? c.p(h,
|
|
291
|
+
p(h, f) {
|
|
292
|
+
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*/
|
|
293
|
+
h[13] === !1 ? c ? c.p(h, f) : (c = ke(h), c.c(), c.m(a, n)) : c && (c.d(1), c = null), /*searchValue*/
|
|
264
294
|
h[12].length >= 2 && /*searchArray*/
|
|
265
|
-
h[15].length == 0 ? m ? m.p(h,
|
|
295
|
+
h[15].length == 0 ? m ? m.p(h, f) : (m = Ce(h), m.c(), m.m(a, null)) : m && (m.d(1), m = null), f[0] & /*searchActive*/
|
|
266
296
|
131072 && r !== (r = "SearchResultsContainer " + /*searchActive*/
|
|
267
|
-
(h[17] == !0 ? "" : "NotVisible")) &&
|
|
297
|
+
(h[17] == !0 ? "" : "NotVisible")) && g(a, "class", r);
|
|
268
298
|
},
|
|
269
299
|
d(h) {
|
|
270
|
-
h && (j(e), j(
|
|
300
|
+
h && (j(e), j(a)), i && i.d(h), c && c.d(), m && m.d();
|
|
271
301
|
}
|
|
272
302
|
};
|
|
273
303
|
}
|
|
274
|
-
function
|
|
275
|
-
let e,
|
|
304
|
+
function ut(t) {
|
|
305
|
+
let e, a = (
|
|
276
306
|
/*$_*/
|
|
277
|
-
|
|
307
|
+
t[21]("loading") + ""
|
|
278
308
|
), n;
|
|
279
309
|
return {
|
|
280
310
|
c() {
|
|
281
|
-
e = R("p"), n = H(
|
|
311
|
+
e = R("p"), n = H(a), g(e, "class", "LoadingContent");
|
|
282
312
|
},
|
|
283
313
|
m(r, l) {
|
|
284
|
-
G(r, e, l),
|
|
314
|
+
G(r, e, l), b(e, n);
|
|
285
315
|
},
|
|
286
316
|
p(r, l) {
|
|
287
317
|
l[0] & /*$_*/
|
|
288
|
-
2097152 &&
|
|
289
|
-
r[21]("loading") + "") && q(n,
|
|
318
|
+
2097152 && a !== (a = /*$_*/
|
|
319
|
+
r[21]("loading") + "") && q(n, a);
|
|
290
320
|
},
|
|
291
321
|
d(r) {
|
|
292
322
|
r && j(e);
|
|
293
323
|
}
|
|
294
324
|
};
|
|
295
325
|
}
|
|
296
|
-
function
|
|
297
|
-
let e,
|
|
326
|
+
function ht(t) {
|
|
327
|
+
let e, a = (
|
|
298
328
|
/*$_*/
|
|
299
|
-
|
|
329
|
+
t[21]("searchResult") + ""
|
|
300
330
|
), n;
|
|
301
331
|
return {
|
|
302
332
|
c() {
|
|
303
|
-
e = R("p"), n = H(
|
|
333
|
+
e = R("p"), n = H(a), g(e, "class", "SearchMessage");
|
|
304
334
|
},
|
|
305
335
|
m(r, l) {
|
|
306
|
-
G(r, e, l),
|
|
336
|
+
G(r, e, l), b(e, n);
|
|
307
337
|
},
|
|
308
338
|
p(r, l) {
|
|
309
339
|
l[0] & /*$_*/
|
|
310
|
-
2097152 &&
|
|
311
|
-
r[21]("searchResult") + "") && q(n,
|
|
340
|
+
2097152 && a !== (a = /*$_*/
|
|
341
|
+
r[21]("searchResult") + "") && q(n, a);
|
|
312
342
|
},
|
|
313
343
|
d(r) {
|
|
314
344
|
r && j(e);
|
|
315
345
|
}
|
|
316
346
|
};
|
|
317
347
|
}
|
|
318
|
-
function
|
|
319
|
-
let e,
|
|
348
|
+
function dt(t) {
|
|
349
|
+
let e, a, n = (
|
|
320
350
|
/*searchArray*/
|
|
321
|
-
|
|
351
|
+
t[15].length !== 0 && we(t)
|
|
322
352
|
), r = (
|
|
323
353
|
/*searchArray*/
|
|
324
|
-
|
|
354
|
+
t[15].length == 0 && ve(t)
|
|
325
355
|
);
|
|
326
356
|
return {
|
|
327
357
|
c() {
|
|
328
|
-
n && n.c(), e =
|
|
358
|
+
n && n.c(), e = D(), r && r.c(), a = Le();
|
|
329
359
|
},
|
|
330
360
|
m(l, s) {
|
|
331
|
-
n && n.m(l, s), G(l, e, s), r && r.m(l, s), G(l,
|
|
361
|
+
n && n.m(l, s), G(l, e, s), r && r.m(l, s), G(l, a, s);
|
|
332
362
|
},
|
|
333
363
|
p(l, s) {
|
|
334
364
|
/*searchArray*/
|
|
335
|
-
l[15].length !== 0 ? n ? n.p(l, s) : (n =
|
|
336
|
-
l[15].length == 0 ? r ? r.p(l, s) : (r =
|
|
365
|
+
l[15].length !== 0 ? n ? n.p(l, s) : (n = we(l), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*searchArray*/
|
|
366
|
+
l[15].length == 0 ? r ? r.p(l, s) : (r = ve(l), r.c(), r.m(a.parentNode, a)) : r && (r.d(1), r = null);
|
|
337
367
|
},
|
|
338
368
|
d(l) {
|
|
339
|
-
l && (j(e), j(
|
|
369
|
+
l && (j(e), j(a)), n && n.d(l), r && r.d(l);
|
|
340
370
|
}
|
|
341
371
|
};
|
|
342
372
|
}
|
|
343
|
-
function
|
|
344
|
-
let e,
|
|
373
|
+
function we(t) {
|
|
374
|
+
let e, a = (
|
|
345
375
|
/*$_*/
|
|
346
|
-
|
|
376
|
+
t[21]("recentSearch") + ""
|
|
347
377
|
), n;
|
|
348
378
|
return {
|
|
349
379
|
c() {
|
|
350
|
-
e = R("p"), n = H(
|
|
380
|
+
e = R("p"), n = H(a), g(e, "class", "SearchMessage");
|
|
351
381
|
},
|
|
352
382
|
m(r, l) {
|
|
353
|
-
G(r, e, l),
|
|
383
|
+
G(r, e, l), b(e, n);
|
|
354
384
|
},
|
|
355
385
|
p(r, l) {
|
|
356
386
|
l[0] & /*$_*/
|
|
357
|
-
2097152 &&
|
|
358
|
-
r[21]("recentSearch") + "") && q(n,
|
|
387
|
+
2097152 && a !== (a = /*$_*/
|
|
388
|
+
r[21]("recentSearch") + "") && q(n, a);
|
|
359
389
|
},
|
|
360
390
|
d(r) {
|
|
361
391
|
r && j(e);
|
|
362
392
|
}
|
|
363
393
|
};
|
|
364
394
|
}
|
|
365
|
-
function
|
|
366
|
-
let e,
|
|
395
|
+
function ve(t) {
|
|
396
|
+
let e, a, n, r = (
|
|
367
397
|
/*$_*/
|
|
368
|
-
|
|
398
|
+
t[21]("noRecentSearches") + ""
|
|
369
399
|
), l, s, i = (
|
|
370
400
|
/*notfoundicon*/
|
|
371
|
-
|
|
401
|
+
t[10] === "true" && ye()
|
|
372
402
|
);
|
|
373
403
|
return {
|
|
374
404
|
c() {
|
|
375
|
-
e = R("div"), i && i.c(),
|
|
376
|
-
(
|
|
405
|
+
e = R("div"), i && i.c(), a = D(), n = R("p"), l = H(r), g(n, "class", "SearchMessage"), g(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
|
|
406
|
+
(t[10] == "true" ? "WithIcon" : ""));
|
|
377
407
|
},
|
|
378
408
|
m(c, m) {
|
|
379
|
-
G(c, e, m), i && i.m(e, null),
|
|
409
|
+
G(c, e, m), i && i.m(e, null), b(e, a), b(e, n), b(n, l);
|
|
380
410
|
},
|
|
381
411
|
p(c, m) {
|
|
382
412
|
/*notfoundicon*/
|
|
383
|
-
c[10] === "true" ? i || (i =
|
|
413
|
+
c[10] === "true" ? i || (i = ye(), i.c(), i.m(e, a)) : i && (i.d(1), i = null), m[0] & /*$_*/
|
|
384
414
|
2097152 && r !== (r = /*$_*/
|
|
385
415
|
c[21]("noRecentSearches") + "") && q(l, r), m[0] & /*notfoundicon*/
|
|
386
416
|
1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
|
|
387
|
-
(c[10] == "true" ? "WithIcon" : "")) &&
|
|
417
|
+
(c[10] == "true" ? "WithIcon" : "")) && g(e, "class", s);
|
|
388
418
|
},
|
|
389
419
|
d(c) {
|
|
390
420
|
c && j(e), i && i.d();
|
|
391
421
|
}
|
|
392
422
|
};
|
|
393
423
|
}
|
|
394
|
-
function
|
|
424
|
+
function ye(t) {
|
|
395
425
|
let e;
|
|
396
426
|
return {
|
|
397
427
|
c() {
|
|
398
|
-
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>',
|
|
428
|
+
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>', g(e, "class", "SearchErrorIcon");
|
|
399
429
|
},
|
|
400
|
-
m(
|
|
401
|
-
G(
|
|
430
|
+
m(a, n) {
|
|
431
|
+
G(a, e, n);
|
|
402
432
|
},
|
|
403
|
-
d(
|
|
404
|
-
|
|
433
|
+
d(a) {
|
|
434
|
+
a && j(e);
|
|
405
435
|
}
|
|
406
436
|
};
|
|
407
437
|
}
|
|
408
|
-
function
|
|
409
|
-
let e,
|
|
438
|
+
function ke(t) {
|
|
439
|
+
let e, a = fe(
|
|
410
440
|
/*searchArray*/
|
|
411
|
-
|
|
441
|
+
t[15]
|
|
412
442
|
), n = [];
|
|
413
|
-
for (let r = 0; r <
|
|
414
|
-
n[r] =
|
|
443
|
+
for (let r = 0; r < a.length; r += 1)
|
|
444
|
+
n[r] = Re(be(t, a, r));
|
|
415
445
|
return {
|
|
416
446
|
c() {
|
|
417
447
|
for (let r = 0; r < n.length; r += 1)
|
|
418
448
|
n[r].c();
|
|
419
|
-
e =
|
|
449
|
+
e = Le();
|
|
420
450
|
},
|
|
421
451
|
m(r, l) {
|
|
422
452
|
for (let s = 0; s < n.length; s += 1)
|
|
@@ -426,27 +456,27 @@ function we(a) {
|
|
|
426
456
|
p(r, l) {
|
|
427
457
|
if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, mbsource, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
|
|
428
458
|
35162623) {
|
|
429
|
-
|
|
459
|
+
a = fe(
|
|
430
460
|
/*searchArray*/
|
|
431
461
|
r[15]
|
|
432
462
|
);
|
|
433
463
|
let s;
|
|
434
|
-
for (s = 0; s <
|
|
435
|
-
const i =
|
|
436
|
-
n[s] ? n[s].p(i, l) : (n[s] =
|
|
464
|
+
for (s = 0; s < a.length; s += 1) {
|
|
465
|
+
const i = be(r, a, s);
|
|
466
|
+
n[s] ? n[s].p(i, l) : (n[s] = Re(i), n[s].c(), n[s].m(e.parentNode, e));
|
|
437
467
|
}
|
|
438
468
|
for (; s < n.length; s += 1)
|
|
439
469
|
n[s].d(1);
|
|
440
|
-
n.length =
|
|
470
|
+
n.length = a.length;
|
|
441
471
|
}
|
|
442
472
|
},
|
|
443
473
|
d(r) {
|
|
444
|
-
r && j(e),
|
|
474
|
+
r && j(e), Qe(n, r);
|
|
445
475
|
}
|
|
446
476
|
};
|
|
447
477
|
}
|
|
448
|
-
function
|
|
449
|
-
let e,
|
|
478
|
+
function Re(t) {
|
|
479
|
+
let e, a, n, r, l, s, i, c, m, h, f, w;
|
|
450
480
|
return {
|
|
451
481
|
c() {
|
|
452
482
|
var d;
|
|
@@ -454,87 +484,87 @@ function ve(a) {
|
|
|
454
484
|
e,
|
|
455
485
|
"endpoint",
|
|
456
486
|
/*endpoint*/
|
|
457
|
-
|
|
487
|
+
t[0]
|
|
458
488
|
), u(
|
|
459
489
|
e,
|
|
460
490
|
"session",
|
|
461
491
|
/*sessionID*/
|
|
462
|
-
|
|
492
|
+
t[19]
|
|
463
493
|
), u(
|
|
464
494
|
e,
|
|
465
495
|
"userid",
|
|
466
496
|
/*playerID*/
|
|
467
|
-
|
|
497
|
+
t[20]
|
|
468
498
|
), u(
|
|
469
499
|
e,
|
|
470
500
|
"favorites",
|
|
471
501
|
/*showfavorites*/
|
|
472
|
-
|
|
502
|
+
t[8]
|
|
473
503
|
), u(
|
|
474
504
|
e,
|
|
475
505
|
"lang",
|
|
476
506
|
/*lang*/
|
|
477
|
-
|
|
478
|
-
), u(e, "gamethumbnail",
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
((d =
|
|
485
|
-
|
|
507
|
+
t[1]
|
|
508
|
+
), u(e, "gamethumbnail", a = /*game*/
|
|
509
|
+
t[53].thumbnail), u(e, "gamename", n = /*game*/
|
|
510
|
+
t[53].name), u(e, "gamevendor", r = /*game*/
|
|
511
|
+
t[53].vendor.displayName), u(e, "gameLaunchUrl", l = /*game*/
|
|
512
|
+
t[53].launchUrl), u(e, "gameisnew", s = /*game*/
|
|
513
|
+
t[53].isNew), u(e, "gametag", i = /*game*/
|
|
514
|
+
((d = t[53].advancedTags) == null ? void 0 : d.length) > 0 && /*addGameTag*/
|
|
515
|
+
t[25](
|
|
486
516
|
/*game*/
|
|
487
|
-
|
|
517
|
+
t[53].advancedTags
|
|
488
518
|
)), u(e, "gamecellsize", c = /*game*/
|
|
489
|
-
|
|
490
|
-
|
|
519
|
+
t[53].cellSize), u(e, "gameid", m = /*game*/
|
|
520
|
+
t[53].id), u(
|
|
491
521
|
e,
|
|
492
522
|
"showgamename",
|
|
493
523
|
/*showgamename*/
|
|
494
|
-
|
|
524
|
+
t[6]
|
|
495
525
|
), u(e, "gamefunmode", h = /*game*/
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
526
|
+
t[53].hasFunMode), u(e, "gamefavorite", f = /*game*/
|
|
527
|
+
t[53].isFavorite), u(e, "livelobbyendpoint", w = /*game*/
|
|
528
|
+
t[53].details ? (
|
|
499
529
|
/*game*/
|
|
500
|
-
|
|
530
|
+
t[53].launchUrl
|
|
501
531
|
) : ""), u(
|
|
502
532
|
e,
|
|
503
533
|
"integratedgameframedesktop",
|
|
504
534
|
/*integratedgameframedesktop*/
|
|
505
|
-
|
|
535
|
+
t[4]
|
|
506
536
|
), u(
|
|
507
537
|
e,
|
|
508
538
|
"mbsource",
|
|
509
539
|
/*mbsource*/
|
|
510
|
-
|
|
540
|
+
t[11]
|
|
511
541
|
), u(
|
|
512
542
|
e,
|
|
513
543
|
"integratedgameframemobile",
|
|
514
544
|
/*integratedgameframemobile*/
|
|
515
|
-
|
|
545
|
+
t[5]
|
|
516
546
|
), u(
|
|
517
547
|
e,
|
|
518
548
|
"clientstyling",
|
|
519
549
|
/*clientstyling*/
|
|
520
|
-
|
|
550
|
+
t[2]
|
|
521
551
|
), u(
|
|
522
552
|
e,
|
|
523
553
|
"clientstylingurl",
|
|
524
554
|
/*clientstylingurl*/
|
|
525
|
-
|
|
555
|
+
t[3]
|
|
526
556
|
), u(
|
|
527
557
|
e,
|
|
528
558
|
"gamepagemodalurl",
|
|
529
559
|
/*gamepagemodalurl*/
|
|
530
|
-
|
|
560
|
+
t[7]
|
|
531
561
|
);
|
|
532
562
|
},
|
|
533
563
|
m(d, p) {
|
|
534
564
|
G(d, e, p);
|
|
535
565
|
},
|
|
536
566
|
p(d, p) {
|
|
537
|
-
var
|
|
567
|
+
var N;
|
|
538
568
|
p[0] & /*endpoint*/
|
|
539
569
|
1 && u(
|
|
540
570
|
e,
|
|
@@ -566,8 +596,8 @@ function ve(a) {
|
|
|
566
596
|
/*lang*/
|
|
567
597
|
d[1]
|
|
568
598
|
), p[0] & /*searchArray*/
|
|
569
|
-
32768 &&
|
|
570
|
-
d[53].thumbnail) && u(e, "gamethumbnail",
|
|
599
|
+
32768 && a !== (a = /*game*/
|
|
600
|
+
d[53].thumbnail) && u(e, "gamethumbnail", a), p[0] & /*searchArray*/
|
|
571
601
|
32768 && n !== (n = /*game*/
|
|
572
602
|
d[53].name) && u(e, "gamename", n), p[0] & /*searchArray*/
|
|
573
603
|
32768 && r !== (r = /*game*/
|
|
@@ -577,7 +607,7 @@ function ve(a) {
|
|
|
577
607
|
32768 && s !== (s = /*game*/
|
|
578
608
|
d[53].isNew) && u(e, "gameisnew", s), p[0] & /*searchArray*/
|
|
579
609
|
32768 && i !== (i = /*game*/
|
|
580
|
-
((
|
|
610
|
+
((N = d[53].advancedTags) == null ? void 0 : N.length) > 0 && /*addGameTag*/
|
|
581
611
|
d[25](
|
|
582
612
|
/*game*/
|
|
583
613
|
d[53].advancedTags
|
|
@@ -594,8 +624,8 @@ function ve(a) {
|
|
|
594
624
|
), p[0] & /*searchArray*/
|
|
595
625
|
32768 && h !== (h = /*game*/
|
|
596
626
|
d[53].hasFunMode) && u(e, "gamefunmode", h), p[0] & /*searchArray*/
|
|
597
|
-
32768 &&
|
|
598
|
-
d[53].isFavorite) && u(e, "gamefavorite",
|
|
627
|
+
32768 && f !== (f = /*game*/
|
|
628
|
+
d[53].isFavorite) && u(e, "gamefavorite", f), p[0] & /*searchArray*/
|
|
599
629
|
32768 && w !== (w = /*game*/
|
|
600
630
|
d[53].details ? (
|
|
601
631
|
/*game*/
|
|
@@ -643,223 +673,223 @@ function ve(a) {
|
|
|
643
673
|
}
|
|
644
674
|
};
|
|
645
675
|
}
|
|
646
|
-
function
|
|
647
|
-
let e,
|
|
676
|
+
function Ce(t) {
|
|
677
|
+
let e, a, n, r = (
|
|
648
678
|
/*$_*/
|
|
649
|
-
|
|
679
|
+
t[21]("notFound") + ""
|
|
650
680
|
), l, s, i, c = (
|
|
651
681
|
/*$_*/
|
|
652
|
-
|
|
653
|
-
), m, h,
|
|
682
|
+
t[21]("notFoundText") + ""
|
|
683
|
+
), m, h, f = (
|
|
654
684
|
/*notfoundicon*/
|
|
655
|
-
|
|
685
|
+
t[10] === "true" && Fe()
|
|
656
686
|
);
|
|
657
687
|
return {
|
|
658
688
|
c() {
|
|
659
|
-
e = R("div"),
|
|
660
|
-
(
|
|
689
|
+
e = R("div"), f && f.c(), a = D(), n = R("p"), l = H(r), s = D(), i = R("p"), m = H(c), g(n, "class", "SearchMessage"), g(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
|
|
690
|
+
(t[10] == "true" ? "WithIcon" : ""));
|
|
661
691
|
},
|
|
662
692
|
m(w, d) {
|
|
663
|
-
G(w, e, d),
|
|
693
|
+
G(w, e, d), f && f.m(e, null), b(e, a), b(e, n), b(n, l), b(e, s), b(e, i), b(i, m);
|
|
664
694
|
},
|
|
665
695
|
p(w, d) {
|
|
666
696
|
/*notfoundicon*/
|
|
667
|
-
w[10] === "true" ?
|
|
697
|
+
w[10] === "true" ? f || (f = Fe(), f.c(), f.m(e, a)) : f && (f.d(1), f = null), d[0] & /*$_*/
|
|
668
698
|
2097152 && r !== (r = /*$_*/
|
|
669
699
|
w[21]("notFound") + "") && q(l, r), d[0] & /*$_*/
|
|
670
700
|
2097152 && c !== (c = /*$_*/
|
|
671
701
|
w[21]("notFoundText") + "") && q(m, c), d[0] & /*notfoundicon*/
|
|
672
702
|
1024 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
|
|
673
|
-
(w[10] == "true" ? "WithIcon" : "")) &&
|
|
703
|
+
(w[10] == "true" ? "WithIcon" : "")) && g(e, "class", h);
|
|
674
704
|
},
|
|
675
705
|
d(w) {
|
|
676
|
-
w && j(e),
|
|
706
|
+
w && j(e), f && f.d();
|
|
677
707
|
}
|
|
678
708
|
};
|
|
679
709
|
}
|
|
680
|
-
function
|
|
710
|
+
function Fe(t) {
|
|
681
711
|
let e;
|
|
682
712
|
return {
|
|
683
713
|
c() {
|
|
684
|
-
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>',
|
|
714
|
+
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>', g(e, "class", "SearchErrorIcon");
|
|
685
715
|
},
|
|
686
|
-
m(
|
|
687
|
-
G(
|
|
716
|
+
m(a, n) {
|
|
717
|
+
G(a, e, n);
|
|
688
718
|
},
|
|
689
|
-
d(
|
|
690
|
-
|
|
719
|
+
d(a) {
|
|
720
|
+
a && j(e);
|
|
691
721
|
}
|
|
692
722
|
};
|
|
693
723
|
}
|
|
694
|
-
function
|
|
695
|
-
let e,
|
|
724
|
+
function mt(t) {
|
|
725
|
+
let e, a, n, r, l, s, i, c, m, h, f, w, d, p, N, P, M, V, A, W, v = (
|
|
696
726
|
/*cancelbutton*/
|
|
697
|
-
|
|
727
|
+
t[9] === "true" && _e(t)
|
|
698
728
|
);
|
|
699
|
-
function
|
|
729
|
+
function E(_, T) {
|
|
700
730
|
return (
|
|
701
731
|
/*isLoading*/
|
|
702
|
-
|
|
732
|
+
_[18] ? ut : ct
|
|
703
733
|
);
|
|
704
734
|
}
|
|
705
|
-
let
|
|
735
|
+
let B = E(t), k = B(t);
|
|
706
736
|
return {
|
|
707
737
|
c() {
|
|
708
|
-
e = R("div"),
|
|
709
|
-
|
|
710
|
-
(
|
|
711
|
-
(
|
|
712
|
-
(
|
|
713
|
-
|
|
738
|
+
e = R("div"), a = R("div"), n = R("div"), r = R("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 = D(), s = R("input"), c = D(), m = R("span"), h = de("svg"), f = de("path"), d = D(), v && v.c(), N = D(), P = R("div"), V = D(), k.c(), g(r, "class", "SearchIcon"), g(s, "class", "SearchInput"), g(s, "type", "search"), g(s, "placeholder", i = /*$_*/
|
|
739
|
+
t[21]("placeHolderSearchGames")), g(s, "maxlength", ft), 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*/
|
|
740
|
+
(t[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
741
|
+
(t[12].length != 0 ? "" : "NotVisible")), g(n, "class", p = "Search " + /*searchCancelled*/
|
|
742
|
+
(t[13] ? "" : "SearchAnimation")), g(a, "class", "SearchWrap"), g(P, "class", M = /*cancelbutton*/
|
|
743
|
+
t[9] != "true" ? "OverlayCancel" : ""), g(e, "class", (ae(
|
|
714
744
|
/*userAgent*/
|
|
715
|
-
|
|
745
|
+
t[22]
|
|
716
746
|
) !== "PC" ? "" : "Desktop") + " CasinoSearch");
|
|
717
747
|
},
|
|
718
|
-
m(
|
|
719
|
-
G(
|
|
748
|
+
m(_, T) {
|
|
749
|
+
G(_, e, T), b(e, a), b(a, n), b(n, r), b(n, l), b(n, s), he(
|
|
720
750
|
s,
|
|
721
751
|
/*searchValue*/
|
|
722
|
-
|
|
723
|
-
),
|
|
724
|
-
|
|
752
|
+
t[12]
|
|
753
|
+
), t[34](s), b(n, c), b(n, m), b(m, h), b(h, f), b(n, d), v && v.m(n, null), b(e, N), b(e, P), b(e, V), k.m(e, null), t[37](e), A || (W = [
|
|
754
|
+
Y(
|
|
725
755
|
s,
|
|
726
756
|
"input",
|
|
727
757
|
/*input_input_handler*/
|
|
728
|
-
|
|
758
|
+
t[33]
|
|
729
759
|
),
|
|
730
|
-
|
|
760
|
+
Y(
|
|
731
761
|
s,
|
|
732
762
|
"focus",
|
|
733
763
|
/*onFocus*/
|
|
734
|
-
|
|
764
|
+
t[23]
|
|
735
765
|
),
|
|
736
|
-
|
|
766
|
+
Y(
|
|
737
767
|
m,
|
|
738
768
|
"click",
|
|
739
769
|
/*click_handler*/
|
|
740
|
-
|
|
770
|
+
t[35]
|
|
741
771
|
),
|
|
742
|
-
|
|
743
|
-
|
|
772
|
+
Y(
|
|
773
|
+
P,
|
|
744
774
|
"click",
|
|
745
775
|
/*handleOverlay*/
|
|
746
|
-
|
|
776
|
+
t[24]
|
|
747
777
|
)
|
|
748
778
|
], A = !0);
|
|
749
779
|
},
|
|
750
|
-
p(
|
|
780
|
+
p(_, T) {
|
|
751
781
|
T[0] & /*$_*/
|
|
752
782
|
2097152 && i !== (i = /*$_*/
|
|
753
|
-
|
|
783
|
+
_[21]("placeHolderSearchGames")) && g(s, "placeholder", i), T[0] & /*searchValue*/
|
|
754
784
|
4096 && s.value !== /*searchValue*/
|
|
755
|
-
|
|
785
|
+
_[12] && he(
|
|
756
786
|
s,
|
|
757
787
|
/*searchValue*/
|
|
758
|
-
|
|
788
|
+
_[12]
|
|
759
789
|
), T[0] & /*cancelbutton, searchValue*/
|
|
760
790
|
4608 && w !== (w = "SearchClearButton " + /*cancelbutton*/
|
|
761
|
-
(
|
|
762
|
-
(
|
|
763
|
-
|
|
791
|
+
(_[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
|
|
792
|
+
(_[12].length != 0 ? "" : "NotVisible")) && g(m, "class", w), /*cancelbutton*/
|
|
793
|
+
_[9] === "true" ? v ? v.p(_, T) : (v = _e(_), v.c(), v.m(n, null)) : v && (v.d(1), v = null), T[0] & /*searchCancelled*/
|
|
764
794
|
8192 && p !== (p = "Search " + /*searchCancelled*/
|
|
765
|
-
(
|
|
766
|
-
512 &&
|
|
767
|
-
|
|
795
|
+
(_[13] ? "" : "SearchAnimation")) && g(n, "class", p), T[0] & /*cancelbutton*/
|
|
796
|
+
512 && M !== (M = /*cancelbutton*/
|
|
797
|
+
_[9] != "true" ? "OverlayCancel" : "") && g(P, "class", M), B === (B = E(_)) && k ? k.p(_, T) : (k.d(1), k = B(_), k && (k.c(), k.m(e, null)));
|
|
768
798
|
},
|
|
769
|
-
i:
|
|
770
|
-
o:
|
|
771
|
-
d(
|
|
772
|
-
|
|
799
|
+
i: ue,
|
|
800
|
+
o: ue,
|
|
801
|
+
d(_) {
|
|
802
|
+
_ && j(e), t[34](null), v && v.d(), k.d(), t[37](null), A = !1, Ye(W);
|
|
773
803
|
}
|
|
774
804
|
};
|
|
775
805
|
}
|
|
776
|
-
let
|
|
777
|
-
function
|
|
806
|
+
let ft = 50;
|
|
807
|
+
function gt(t, e, a) {
|
|
778
808
|
let n;
|
|
779
|
-
|
|
780
|
-
let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: h = "" } = e, { integratedgameframedesktop:
|
|
781
|
-
const
|
|
782
|
-
fetch(
|
|
783
|
-
Object.keys(S).forEach((
|
|
784
|
-
|
|
809
|
+
Ke(t, nt, (o) => a(21, n = o));
|
|
810
|
+
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: N = "" } = e, { showfavorites: P = "" } = e, { cancelbutton: M = "true" } = e, { notfoundicon: V = "false" } = e, { mbsource: A } = e, W = window.navigator.userAgent, v = [], E = [], B = {}, k = "", _, T = !0, J = !1, z = !1, x, K = !1, X, Q, re = [];
|
|
811
|
+
const Te = () => {
|
|
812
|
+
fetch(N).then((S) => S.json()).then((S) => {
|
|
813
|
+
Object.keys(S).forEach((y) => {
|
|
814
|
+
ge(y, S[y]);
|
|
785
815
|
});
|
|
786
816
|
}).catch((S) => {
|
|
787
817
|
console.log(S);
|
|
788
818
|
});
|
|
789
819
|
};
|
|
790
|
-
Object.keys(
|
|
791
|
-
|
|
820
|
+
Object.keys(pe).forEach((o) => {
|
|
821
|
+
ge(o, pe[o]);
|
|
792
822
|
});
|
|
793
|
-
const
|
|
794
|
-
o.data && o.data.type == "SearchedItemClicked" &&
|
|
795
|
-
},
|
|
796
|
-
if (
|
|
797
|
-
|
|
823
|
+
const oe = (o) => {
|
|
824
|
+
o.data && o.data.type == "SearchedItemClicked" && Ne(o.data.gameId), o.data.type == "UserSessionID" && (a(19, X = o.data.session), a(20, Q = o.data.userid), a(32, K = !0)), o.data.type == "CategoryChange" && $();
|
|
825
|
+
}, se = () => {
|
|
826
|
+
if (a(13, T = !1), a(17, J = !0), r && l && c && k.length < 2) {
|
|
827
|
+
a(15, v = []);
|
|
798
828
|
let o = localStorage.getItem("searchedGamesWds_casino"), S = [];
|
|
799
829
|
o && (S = o.split(","));
|
|
800
|
-
let
|
|
830
|
+
let y = [], C = 0, F = S.length;
|
|
801
831
|
if (F > 0) {
|
|
802
832
|
for (C = 0; C < F; C++) {
|
|
803
|
-
let
|
|
804
|
-
|
|
833
|
+
let I = new URL(`${r}/v1/casino/games/${S[C]}`);
|
|
834
|
+
I.searchParams.append("language", c), I.searchParams.append("datasource", l), I.searchParams.append("platform", ae(W)), y.push(Ie(I, S[C]));
|
|
805
835
|
}
|
|
806
|
-
Promise.all(
|
|
807
|
-
|
|
836
|
+
Promise.all(y).then((I) => {
|
|
837
|
+
I = I.filter(function(O) {
|
|
808
838
|
return !!O;
|
|
809
|
-
}),
|
|
810
|
-
}).catch((
|
|
811
|
-
|
|
839
|
+
}), a(15, v = I.map((O) => (O.isFavorite = le(O.id), O))), v.length ? Z("searchSuccess", "SearchWidget") : Z("searchFail", "SearchWidget");
|
|
840
|
+
}).catch((I) => {
|
|
841
|
+
Z("searchError", "SearchWidget");
|
|
812
842
|
});
|
|
813
843
|
}
|
|
814
844
|
}
|
|
815
|
-
|
|
816
|
-
},
|
|
845
|
+
ce(J), Z("searchAttempt", "SearchWidget"), Z("SearchInitialized", "SearchWidget");
|
|
846
|
+
}, Z = (o, S) => {
|
|
817
847
|
typeof gtag == "function" && gtag("event", o, { context: S });
|
|
818
|
-
},
|
|
819
|
-
|
|
820
|
-
},
|
|
821
|
-
|
|
822
|
-
|
|
848
|
+
}, je = () => {
|
|
849
|
+
M != "true" && $();
|
|
850
|
+
}, Ge = (o) => new Promise((S, y) => {
|
|
851
|
+
a(18, z = !0), fetch(o.href).then((C) => C.json()).then((C) => {
|
|
852
|
+
a(18, z = !1), S(C);
|
|
823
853
|
}).catch((C) => {
|
|
824
|
-
|
|
854
|
+
a(18, z = !1), console.error(C), y(C);
|
|
825
855
|
});
|
|
826
|
-
}),
|
|
827
|
-
|
|
828
|
-
|
|
856
|
+
}), Ie = (o, S) => new Promise((y, C) => {
|
|
857
|
+
a(18, z = !0), S && Object.keys(B).indexOf(S) >= 0 ? (a(18, z = !1), y(B[S])) : fetch(o).then((F) => F.json()).then((F) => {
|
|
858
|
+
a(18, z = !1), F.error || (B[F[0].gameId] = F[0]), y(F[0]);
|
|
829
859
|
}).catch((F) => {
|
|
830
|
-
|
|
860
|
+
a(18, z = !1), console.error(F), C(F);
|
|
831
861
|
});
|
|
832
|
-
}),
|
|
833
|
-
const o = new URL(`${r}/v1/player/${
|
|
834
|
-
|
|
862
|
+
}), Ee = () => {
|
|
863
|
+
const o = new URL(`${r}/v1/player/${Q}/favorites/`);
|
|
864
|
+
a(18, z = !0);
|
|
835
865
|
let S = {
|
|
836
866
|
method: "GET",
|
|
837
|
-
headers: { "X-SessionID":
|
|
867
|
+
headers: { "X-SessionID": X }
|
|
838
868
|
};
|
|
839
|
-
fetch(o.href, S).then((
|
|
840
|
-
|
|
869
|
+
fetch(o.href, S).then((y) => y.json()).then((y) => {
|
|
870
|
+
a(18, z = !1), re = y.items.map((C) => C.id);
|
|
841
871
|
});
|
|
842
|
-
},
|
|
843
|
-
|
|
844
|
-
},
|
|
872
|
+
}, ze = () => {
|
|
873
|
+
a(32, K = !0), a(19, X = s), a(20, Q = i);
|
|
874
|
+
}, le = (o) => re.findIndex((S) => S == o) !== -1, De = (o) => {
|
|
845
875
|
if ((o == null ? void 0 : o.length) === 0)
|
|
846
876
|
return "";
|
|
847
|
-
let S,
|
|
877
|
+
let S, y = 99999999999, C;
|
|
848
878
|
const F = new Date(Date.now());
|
|
849
|
-
return o.forEach((
|
|
850
|
-
const
|
|
851
|
-
|
|
879
|
+
return o.forEach((I, O) => {
|
|
880
|
+
const qe = new Date(I.schedules[0].startTime), te = new Date(I.schedules[0].endTime);
|
|
881
|
+
Se(new Date(te), new Date(F)) < y && (y = Se(new Date(te), new Date(F)), C = O), st(new Date(F), new Date(qe)) && lt(new Date(F), new Date(te)) && (S = o[C].name);
|
|
852
882
|
}), S;
|
|
853
|
-
},
|
|
854
|
-
if (
|
|
883
|
+
}, Ne = (o) => {
|
|
884
|
+
if (E = localStorage.getItem("searchedGamesWds_casino"), E ? E = E.split(",") : E = [], E.indexOf(o) === -1) {
|
|
855
885
|
let S;
|
|
856
|
-
|
|
886
|
+
E.unshift(o), S = E.join(","), localStorage.setItem("searchedGamesWds_casino", S);
|
|
857
887
|
}
|
|
858
|
-
},
|
|
859
|
-
|
|
860
|
-
},
|
|
861
|
-
|
|
862
|
-
},
|
|
888
|
+
}, $ = () => {
|
|
889
|
+
a(12, k = ""), a(13, T = !0), a(18, z = !1), a(15, v = []), a(17, J = !1), ce(J);
|
|
890
|
+
}, ie = () => {
|
|
891
|
+
a(12, k = ""), _.focus();
|
|
892
|
+
}, ce = (o) => {
|
|
863
893
|
window.postMessage(
|
|
864
894
|
{
|
|
865
895
|
type: o === !0 ? "searchActive" : "searchCancelled",
|
|
@@ -867,96 +897,96 @@ function ut(a, e, t) {
|
|
|
867
897
|
},
|
|
868
898
|
window.location.href
|
|
869
899
|
);
|
|
870
|
-
},
|
|
871
|
-
|
|
900
|
+
}, Pe = () => {
|
|
901
|
+
ot(c);
|
|
872
902
|
};
|
|
873
|
-
|
|
874
|
-
window.removeEventListener("message",
|
|
903
|
+
Xe(() => (window.addEventListener("message", oe, !1), () => {
|
|
904
|
+
window.removeEventListener("message", oe);
|
|
875
905
|
}));
|
|
876
|
-
function
|
|
877
|
-
|
|
906
|
+
function xe() {
|
|
907
|
+
k = this.value, a(12, k);
|
|
878
908
|
}
|
|
879
|
-
function
|
|
880
|
-
|
|
881
|
-
|
|
909
|
+
function Me(o) {
|
|
910
|
+
me[o ? "unshift" : "push"](() => {
|
|
911
|
+
_ = o, a(16, _);
|
|
882
912
|
});
|
|
883
913
|
}
|
|
884
|
-
const
|
|
885
|
-
function
|
|
886
|
-
|
|
887
|
-
|
|
914
|
+
const Be = () => ie(), Ae = () => $();
|
|
915
|
+
function Oe(o) {
|
|
916
|
+
me[o ? "unshift" : "push"](() => {
|
|
917
|
+
x = o, a(14, x);
|
|
888
918
|
});
|
|
889
919
|
}
|
|
890
|
-
return
|
|
891
|
-
"endpoint" in o &&
|
|
892
|
-
},
|
|
893
|
-
if (
|
|
920
|
+
return t.$$set = (o) => {
|
|
921
|
+
"endpoint" in o && a(0, r = o.endpoint), "datasource" in o && a(28, l = o.datasource), "session" in o && a(29, s = o.session), "userid" in o && a(30, 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(31, N = o.translationurl), "showfavorites" in o && a(8, P = o.showfavorites), "cancelbutton" in o && a(9, M = o.cancelbutton), "notfoundicon" in o && a(10, V = o.notfoundicon), "mbsource" in o && a(11, A = o.mbsource);
|
|
922
|
+
}, t.$$.update = () => {
|
|
923
|
+
if (t.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
|
|
894
924
|
268447747)
|
|
895
|
-
if (
|
|
925
|
+
if (k.length >= 2) {
|
|
896
926
|
const o = new URL(`${r}/v1/casino/games`);
|
|
897
|
-
o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform",
|
|
898
|
-
|
|
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=${k}`), Ge(o).then((S) => {
|
|
928
|
+
rt("game_search", { searchValue: k }), a(15, v = S.items.map((y) => (y.isFavorite = le(y.id), y)));
|
|
899
929
|
});
|
|
900
930
|
} else
|
|
901
|
-
T ||
|
|
902
|
-
|
|
903
|
-
2 && c &&
|
|
904
|
-
1 &&
|
|
905
|
-
1610612736 && s && i &&
|
|
906
|
-
256 |
|
|
907
|
-
2 &&
|
|
908
|
-
16388 && m &&
|
|
909
|
-
16392 && h &&
|
|
910
|
-
18432 &&
|
|
931
|
+
T || se();
|
|
932
|
+
t.$$.dirty[0] & /*lang*/
|
|
933
|
+
2 && c && Pe(), t.$$.dirty[1] & /*translationurl*/
|
|
934
|
+
1 && N && Te(), t.$$.dirty[0] & /*session, userid*/
|
|
935
|
+
1610612736 && s && i && ze(), t.$$.dirty[0] & /*showfavorites*/
|
|
936
|
+
256 | t.$$.dirty[1] & /*isLoggedIn*/
|
|
937
|
+
2 && P && K && Ee(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
938
|
+
16388 && m && x && $e(x, m), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
939
|
+
16392 && h && x && et(x, h), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
940
|
+
18432 && x && tt(x, `${A}.Style`);
|
|
911
941
|
}, [
|
|
912
942
|
r,
|
|
913
943
|
c,
|
|
914
944
|
m,
|
|
915
945
|
h,
|
|
916
|
-
|
|
946
|
+
f,
|
|
917
947
|
w,
|
|
918
948
|
d,
|
|
919
949
|
p,
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
950
|
+
P,
|
|
951
|
+
M,
|
|
952
|
+
V,
|
|
923
953
|
A,
|
|
924
|
-
|
|
954
|
+
k,
|
|
925
955
|
T,
|
|
926
|
-
|
|
956
|
+
x,
|
|
927
957
|
v,
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
K,
|
|
958
|
+
_,
|
|
959
|
+
J,
|
|
960
|
+
z,
|
|
932
961
|
X,
|
|
962
|
+
Q,
|
|
933
963
|
n,
|
|
934
964
|
W,
|
|
935
|
-
re,
|
|
936
|
-
Fe,
|
|
937
|
-
ze,
|
|
938
|
-
Q,
|
|
939
965
|
se,
|
|
966
|
+
je,
|
|
967
|
+
De,
|
|
968
|
+
$,
|
|
969
|
+
ie,
|
|
940
970
|
l,
|
|
941
971
|
s,
|
|
942
972
|
i,
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
Ne,
|
|
946
|
-
Pe,
|
|
973
|
+
N,
|
|
974
|
+
K,
|
|
947
975
|
xe,
|
|
948
976
|
Me,
|
|
949
|
-
Be
|
|
977
|
+
Be,
|
|
978
|
+
Ae,
|
|
979
|
+
Oe
|
|
950
980
|
];
|
|
951
981
|
}
|
|
952
|
-
class
|
|
982
|
+
class pt extends Ue {
|
|
953
983
|
constructor(e) {
|
|
954
|
-
super(),
|
|
984
|
+
super(), Ve(
|
|
955
985
|
this,
|
|
956
986
|
e,
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
987
|
+
gt,
|
|
988
|
+
mt,
|
|
989
|
+
Je,
|
|
960
990
|
{
|
|
961
991
|
endpoint: 0,
|
|
962
992
|
datasource: 28,
|
|
@@ -975,7 +1005,7 @@ class ht extends qe {
|
|
|
975
1005
|
notfoundicon: 10,
|
|
976
1006
|
mbsource: 11
|
|
977
1007
|
},
|
|
978
|
-
|
|
1008
|
+
it,
|
|
979
1009
|
[-1, -1]
|
|
980
1010
|
);
|
|
981
1011
|
}
|
|
@@ -1076,7 +1106,7 @@ class ht extends qe {
|
|
|
1076
1106
|
this.$$set({ mbsource: e }), L();
|
|
1077
1107
|
}
|
|
1078
1108
|
}
|
|
1079
|
-
|
|
1109
|
+
at(pt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {}, mbsource: {} }, [], [], !0);
|
|
1080
1110
|
export {
|
|
1081
|
-
|
|
1111
|
+
pt as default
|
|
1082
1112
|
};
|