@everymatrix/casino-page-nd 1.74.6 → 1.74.7
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/{CasinoFavoritesSectionNd-_cQ5xRiv.js → CasinoFavoritesSectionNd-BR7oOoVZ.js} +145 -126
- package/components/CasinoFavoritesSectionNd-BzY-Mtdp.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-Dzg8AjIh.js → CasinoFavoritesSectionNd-Lv9Hbd67.js} +145 -126
- package/components/{CasinoLastPlayedSectionNd-DPsD96pl.js → CasinoLastPlayedSectionNd-B7ILz7Tr.js} +76 -65
- package/components/CasinoLastPlayedSectionNd-BTMGK-OG.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-B0SywtOD.js → CasinoLastPlayedSectionNd-Br6Qozif.js} +76 -65
- package/components/{CasinoMostPlayedSectionNd-BLdrRJN3.js → CasinoMostPlayedSectionNd-CzTAA-j5.js} +37 -26
- package/components/CasinoMostPlayedSectionNd-DKanuBTP.cjs +1 -0
- package/components/{CasinoMostPlayedSectionNd-RDJQtjfP.js → CasinoMostPlayedSectionNd-Ddr8HXvD.js} +37 -26
- package/components/CasinoMyGamesNd-ByT7FAHN.cjs +1 -0
- package/components/{CasinoMyGamesNd-B6Y-CQn4.js → CasinoMyGamesNd-DWshTl9h.js} +527 -494
- package/components/{CasinoMyGamesNd-DRW6wUxl.js → CasinoMyGamesNd-VhA9CIHu.js} +527 -494
- package/components/{CasinoPageNd-C_8U853c.js → CasinoPageNd-CsBateb3.js} +2 -2
- package/components/{CasinoPageNd-BXM3LqAa.cjs → CasinoPageNd-DFXaFT4e.cjs} +1 -1
- package/components/{CasinoPageNd-Cpz1P4Jg.js → CasinoPageNd-l4tqQHry.js} +2 -2
- 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/package.json +1 -1
- package/components/CasinoFavoritesSectionNd-4vIlan3H.cjs +0 -1
- package/components/CasinoLastPlayedSectionNd-Bqsq8N1n.cjs +0 -1
- package/components/CasinoMostPlayedSectionNd-Bfmipga7.cjs +0 -1
- package/components/CasinoMyGamesNd-EsRtwVbW.cjs +0 -1
package/components/{CasinoLastPlayedSectionNd-DPsD96pl.js → CasinoLastPlayedSectionNd-B7ILz7Tr.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as L, y as A, d as M, z as B, G as I, j as D, k as re, o as oe, l as ue, m as ce, q as me, r as ge, H as i, x as de, E as fe, J as he, P as ye } from "./CasinoCalendar-CDNIjQ8T.js";
|
|
2
|
-
import "./CasinoFavoritesSectionNd-
|
|
2
|
+
import "./CasinoFavoritesSectionNd-BR7oOoVZ.js";
|
|
3
3
|
function V(s, e) {
|
|
4
4
|
ee(s, e);
|
|
5
5
|
}
|
|
@@ -73,17 +73,17 @@ function we(s) {
|
|
|
73
73
|
e,
|
|
74
74
|
"favorites",
|
|
75
75
|
/*favorites*/
|
|
76
|
-
s[
|
|
76
|
+
s[16]
|
|
77
77
|
), i(
|
|
78
78
|
e,
|
|
79
79
|
"fetchviaevent",
|
|
80
80
|
/*fetchviaevent*/
|
|
81
|
-
s[
|
|
81
|
+
s[18]
|
|
82
82
|
), i(e, "categoryid", "LASTPLAYED"), i(e, "categoryindex", "1"), i(e, "categorygames", "9"), i(e, "class", "CategoryContainer"), i(
|
|
83
83
|
e,
|
|
84
84
|
"showgamename",
|
|
85
85
|
/*showgamename*/
|
|
86
|
-
s[
|
|
86
|
+
s[14]
|
|
87
87
|
), i(
|
|
88
88
|
e,
|
|
89
89
|
"clientstyling",
|
|
@@ -94,36 +94,41 @@ function we(s) {
|
|
|
94
94
|
"clientstylingurl",
|
|
95
95
|
/*clientstylingurl*/
|
|
96
96
|
s[8]
|
|
97
|
+
), i(
|
|
98
|
+
e,
|
|
99
|
+
"translationurl",
|
|
100
|
+
/*translationurl*/
|
|
101
|
+
s[9]
|
|
97
102
|
), i(
|
|
98
103
|
e,
|
|
99
104
|
"livecasino",
|
|
100
105
|
/*livecasino*/
|
|
101
|
-
s[
|
|
106
|
+
s[10]
|
|
102
107
|
), i(
|
|
103
108
|
e,
|
|
104
109
|
"visiblegames",
|
|
105
110
|
/*visiblegames*/
|
|
106
|
-
s[
|
|
111
|
+
s[15]
|
|
107
112
|
), i(
|
|
108
113
|
e,
|
|
109
114
|
"gamepagemodalurl",
|
|
110
115
|
/*gamepagemodalurl*/
|
|
111
|
-
s[
|
|
116
|
+
s[13]
|
|
112
117
|
), i(
|
|
113
118
|
e,
|
|
114
119
|
"integratedgameframedesktop",
|
|
115
120
|
/*integratedgameframedesktop*/
|
|
116
|
-
s[
|
|
121
|
+
s[12]
|
|
117
122
|
), i(
|
|
118
123
|
e,
|
|
119
124
|
"integratedgameframemobile",
|
|
120
125
|
/*integratedgameframemobile*/
|
|
121
|
-
s[
|
|
126
|
+
s[11]
|
|
122
127
|
), i(
|
|
123
128
|
e,
|
|
124
129
|
"casinomygames",
|
|
125
130
|
/*casinomygames*/
|
|
126
|
-
s[
|
|
131
|
+
s[17]
|
|
127
132
|
), i(
|
|
128
133
|
e,
|
|
129
134
|
"mbsource",
|
|
@@ -172,23 +177,23 @@ function we(s) {
|
|
|
172
177
|
/*currency*/
|
|
173
178
|
t[2]
|
|
174
179
|
), n[0] & /*favorites*/
|
|
175
|
-
|
|
180
|
+
65536 && i(
|
|
176
181
|
e,
|
|
177
182
|
"favorites",
|
|
178
183
|
/*favorites*/
|
|
179
|
-
t[
|
|
184
|
+
t[16]
|
|
180
185
|
), n[0] & /*fetchviaevent*/
|
|
181
|
-
|
|
186
|
+
262144 && i(
|
|
182
187
|
e,
|
|
183
188
|
"fetchviaevent",
|
|
184
189
|
/*fetchviaevent*/
|
|
185
|
-
t[
|
|
190
|
+
t[18]
|
|
186
191
|
), n[0] & /*showgamename*/
|
|
187
|
-
|
|
192
|
+
16384 && i(
|
|
188
193
|
e,
|
|
189
194
|
"showgamename",
|
|
190
195
|
/*showgamename*/
|
|
191
|
-
t[
|
|
196
|
+
t[14]
|
|
192
197
|
), n[0] & /*clientstyling*/
|
|
193
198
|
128 && i(
|
|
194
199
|
e,
|
|
@@ -201,42 +206,48 @@ function we(s) {
|
|
|
201
206
|
"clientstylingurl",
|
|
202
207
|
/*clientstylingurl*/
|
|
203
208
|
t[8]
|
|
204
|
-
), n[0] & /*
|
|
209
|
+
), n[0] & /*translationurl*/
|
|
205
210
|
512 && i(
|
|
211
|
+
e,
|
|
212
|
+
"translationurl",
|
|
213
|
+
/*translationurl*/
|
|
214
|
+
t[9]
|
|
215
|
+
), n[0] & /*livecasino*/
|
|
216
|
+
1024 && i(
|
|
206
217
|
e,
|
|
207
218
|
"livecasino",
|
|
208
219
|
/*livecasino*/
|
|
209
|
-
t[
|
|
220
|
+
t[10]
|
|
210
221
|
), n[0] & /*visiblegames*/
|
|
211
|
-
|
|
222
|
+
32768 && i(
|
|
212
223
|
e,
|
|
213
224
|
"visiblegames",
|
|
214
225
|
/*visiblegames*/
|
|
215
|
-
t[
|
|
226
|
+
t[15]
|
|
216
227
|
), n[0] & /*gamepagemodalurl*/
|
|
217
|
-
|
|
228
|
+
8192 && i(
|
|
218
229
|
e,
|
|
219
230
|
"gamepagemodalurl",
|
|
220
231
|
/*gamepagemodalurl*/
|
|
221
|
-
t[
|
|
232
|
+
t[13]
|
|
222
233
|
), n[0] & /*integratedgameframedesktop*/
|
|
223
|
-
|
|
234
|
+
4096 && i(
|
|
224
235
|
e,
|
|
225
236
|
"integratedgameframedesktop",
|
|
226
237
|
/*integratedgameframedesktop*/
|
|
227
|
-
t[
|
|
238
|
+
t[12]
|
|
228
239
|
), n[0] & /*integratedgameframemobile*/
|
|
229
|
-
|
|
240
|
+
2048 && i(
|
|
230
241
|
e,
|
|
231
242
|
"integratedgameframemobile",
|
|
232
243
|
/*integratedgameframemobile*/
|
|
233
|
-
t[
|
|
244
|
+
t[11]
|
|
234
245
|
), n[0] & /*casinomygames*/
|
|
235
|
-
|
|
246
|
+
131072 && i(
|
|
236
247
|
e,
|
|
237
248
|
"casinomygames",
|
|
238
249
|
/*casinomygames*/
|
|
239
|
-
t[
|
|
250
|
+
t[17]
|
|
240
251
|
), n[0] & /*mbsource*/
|
|
241
252
|
64 && i(
|
|
242
253
|
e,
|
|
@@ -253,7 +264,7 @@ function we(s) {
|
|
|
253
264
|
function _e(s) {
|
|
254
265
|
let e, t = (
|
|
255
266
|
/*$_*/
|
|
256
|
-
s[
|
|
267
|
+
s[21]("noRecentGames") + ""
|
|
257
268
|
), n;
|
|
258
269
|
return {
|
|
259
270
|
c() {
|
|
@@ -264,8 +275,8 @@ function _e(s) {
|
|
|
264
275
|
},
|
|
265
276
|
p(o, r) {
|
|
266
277
|
r[0] & /*$_*/
|
|
267
|
-
|
|
268
|
-
o[
|
|
278
|
+
2097152 && t !== (t = /*$_*/
|
|
279
|
+
o[21]("noRecentGames") + "") && fe(n, t);
|
|
269
280
|
},
|
|
270
281
|
d(o) {
|
|
271
282
|
o && D(e);
|
|
@@ -277,7 +288,7 @@ function ke(s) {
|
|
|
277
288
|
function n(m, d) {
|
|
278
289
|
return (
|
|
279
290
|
/*lastPlayedEmpty*/
|
|
280
|
-
m[
|
|
291
|
+
m[20] ? _e : we
|
|
281
292
|
);
|
|
282
293
|
}
|
|
283
294
|
let o = n(s), r = o(s);
|
|
@@ -300,7 +311,7 @@ function ke(s) {
|
|
|
300
311
|
}
|
|
301
312
|
function Pe(s, e, t) {
|
|
302
313
|
let n;
|
|
303
|
-
re(s, he, (a) => t(
|
|
314
|
+
re(s, he, (a) => t(21, n = a));
|
|
304
315
|
let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: S = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, P = [], J, f;
|
|
305
316
|
const Q = () => {
|
|
306
317
|
fetch(_).then((g) => g.json()).then((g) => {
|
|
@@ -341,28 +352,28 @@ function Pe(s, e, t) {
|
|
|
341
352
|
P = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (P = P.slice(0, JSON.parse(S))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: P }, window.location.href);
|
|
342
353
|
});
|
|
343
354
|
} else
|
|
344
|
-
t(
|
|
355
|
+
t(20, Y = !0);
|
|
345
356
|
});
|
|
346
|
-
},
|
|
357
|
+
}, p = () => {
|
|
347
358
|
be(d);
|
|
348
359
|
};
|
|
349
360
|
oe(() => () => {
|
|
350
361
|
});
|
|
351
|
-
function
|
|
362
|
+
function x(a) {
|
|
352
363
|
me[a ? "unshift" : "push"](() => {
|
|
353
|
-
f = a, t(
|
|
364
|
+
f = a, t(19, f);
|
|
354
365
|
});
|
|
355
366
|
}
|
|
356
367
|
return s.$$set = (a) => {
|
|
357
|
-
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(
|
|
368
|
+
"endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, F = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, S = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, C = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
|
|
358
369
|
}, s.$$.update = () => {
|
|
359
370
|
s.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
360
371
|
41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
8 && d &&
|
|
372
|
+
512 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
373
|
+
524416 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
374
|
+
524544 && w && f && ue(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
375
|
+
524352 && b && f && ce(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
|
|
376
|
+
8 && d && p();
|
|
366
377
|
}, [
|
|
367
378
|
o,
|
|
368
379
|
r,
|
|
@@ -373,6 +384,7 @@ function Pe(s, e, t) {
|
|
|
373
384
|
b,
|
|
374
385
|
v,
|
|
375
386
|
w,
|
|
387
|
+
_,
|
|
376
388
|
k,
|
|
377
389
|
N,
|
|
378
390
|
z,
|
|
@@ -385,12 +397,11 @@ function Pe(s, e, t) {
|
|
|
385
397
|
f,
|
|
386
398
|
Y,
|
|
387
399
|
n,
|
|
388
|
-
_,
|
|
389
400
|
C,
|
|
390
401
|
j,
|
|
391
402
|
G,
|
|
392
403
|
q,
|
|
393
|
-
|
|
404
|
+
x
|
|
394
405
|
];
|
|
395
406
|
}
|
|
396
407
|
class Le extends ae {
|
|
@@ -411,20 +422,20 @@ class Le extends ae {
|
|
|
411
422
|
mbsource: 6,
|
|
412
423
|
clientstyling: 7,
|
|
413
424
|
clientstylingurl: 8,
|
|
414
|
-
translationurl:
|
|
415
|
-
livecasino:
|
|
416
|
-
integratedgameframemobile:
|
|
417
|
-
integratedgameframedesktop:
|
|
418
|
-
gamepagemodalurl:
|
|
419
|
-
showgamename:
|
|
420
|
-
visiblegames:
|
|
421
|
-
favorites:
|
|
425
|
+
translationurl: 9,
|
|
426
|
+
livecasino: 10,
|
|
427
|
+
integratedgameframemobile: 11,
|
|
428
|
+
integratedgameframedesktop: 12,
|
|
429
|
+
gamepagemodalurl: 13,
|
|
430
|
+
showgamename: 14,
|
|
431
|
+
visiblegames: 15,
|
|
432
|
+
favorites: 16,
|
|
422
433
|
lastplayedperiod: 22,
|
|
423
434
|
lastplayedorder: 23,
|
|
424
435
|
lastplayedlimit: 24,
|
|
425
|
-
casinomygames:
|
|
436
|
+
casinomygames: 17,
|
|
426
437
|
lastplayedunique: 25,
|
|
427
|
-
fetchviaevent:
|
|
438
|
+
fetchviaevent: 18
|
|
428
439
|
},
|
|
429
440
|
ve,
|
|
430
441
|
[-1, -1]
|
|
@@ -485,49 +496,49 @@ class Le extends ae {
|
|
|
485
496
|
this.$$set({ clientstylingurl: e }), l();
|
|
486
497
|
}
|
|
487
498
|
get translationurl() {
|
|
488
|
-
return this.$$.ctx[
|
|
499
|
+
return this.$$.ctx[9];
|
|
489
500
|
}
|
|
490
501
|
set translationurl(e) {
|
|
491
502
|
this.$$set({ translationurl: e }), l();
|
|
492
503
|
}
|
|
493
504
|
get livecasino() {
|
|
494
|
-
return this.$$.ctx[
|
|
505
|
+
return this.$$.ctx[10];
|
|
495
506
|
}
|
|
496
507
|
set livecasino(e) {
|
|
497
508
|
this.$$set({ livecasino: e }), l();
|
|
498
509
|
}
|
|
499
510
|
get integratedgameframemobile() {
|
|
500
|
-
return this.$$.ctx[
|
|
511
|
+
return this.$$.ctx[11];
|
|
501
512
|
}
|
|
502
513
|
set integratedgameframemobile(e) {
|
|
503
514
|
this.$$set({ integratedgameframemobile: e }), l();
|
|
504
515
|
}
|
|
505
516
|
get integratedgameframedesktop() {
|
|
506
|
-
return this.$$.ctx[
|
|
517
|
+
return this.$$.ctx[12];
|
|
507
518
|
}
|
|
508
519
|
set integratedgameframedesktop(e) {
|
|
509
520
|
this.$$set({ integratedgameframedesktop: e }), l();
|
|
510
521
|
}
|
|
511
522
|
get gamepagemodalurl() {
|
|
512
|
-
return this.$$.ctx[
|
|
523
|
+
return this.$$.ctx[13];
|
|
513
524
|
}
|
|
514
525
|
set gamepagemodalurl(e) {
|
|
515
526
|
this.$$set({ gamepagemodalurl: e }), l();
|
|
516
527
|
}
|
|
517
528
|
get showgamename() {
|
|
518
|
-
return this.$$.ctx[
|
|
529
|
+
return this.$$.ctx[14];
|
|
519
530
|
}
|
|
520
531
|
set showgamename(e) {
|
|
521
532
|
this.$$set({ showgamename: e }), l();
|
|
522
533
|
}
|
|
523
534
|
get visiblegames() {
|
|
524
|
-
return this.$$.ctx[
|
|
535
|
+
return this.$$.ctx[15];
|
|
525
536
|
}
|
|
526
537
|
set visiblegames(e) {
|
|
527
538
|
this.$$set({ visiblegames: e }), l();
|
|
528
539
|
}
|
|
529
540
|
get favorites() {
|
|
530
|
-
return this.$$.ctx[
|
|
541
|
+
return this.$$.ctx[16];
|
|
531
542
|
}
|
|
532
543
|
set favorites(e) {
|
|
533
544
|
this.$$set({ favorites: e }), l();
|
|
@@ -551,7 +562,7 @@ class Le extends ae {
|
|
|
551
562
|
this.$$set({ lastplayedlimit: e }), l();
|
|
552
563
|
}
|
|
553
564
|
get casinomygames() {
|
|
554
|
-
return this.$$.ctx[
|
|
565
|
+
return this.$$.ctx[17];
|
|
555
566
|
}
|
|
556
567
|
set casinomygames(e) {
|
|
557
568
|
this.$$set({ casinomygames: e }), l();
|
|
@@ -563,7 +574,7 @@ class Le extends ae {
|
|
|
563
574
|
this.$$set({ lastplayedunique: e }), l();
|
|
564
575
|
}
|
|
565
576
|
get fetchviaevent() {
|
|
566
|
-
return this.$$.ctx[
|
|
577
|
+
return this.$$.ctx[18];
|
|
567
578
|
}
|
|
568
579
|
set fetchviaevent(e) {
|
|
569
580
|
this.$$set({ fetchviaevent: e }), l();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B4OJuO_L.cjs");require("./CasinoFavoritesSectionNd-BzY-Mtdp.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{mbsource:h}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:P=""}=e,{favorites:N=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent,F=!1,k=[],O,g;const J=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",q),m.searchParams.append("limit",S),m.searchParams.append("order",C),m.searchParams.append("period",L),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=w?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{k=m.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(k=k.slice(0,JSON.parse(P))),window.postMessage({type:"LastPlayedData",lastPlayedGames:k},window.location.href)})}else a(20,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"mbsource"in s&&a(6,h=s.mbsource),"clientstyling"in s&&a(7,y=s.clientstyling),"clientstylingurl"in s&&a(8,b=s.clientstylingurl),"translationurl"in s&&a(9,v=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,D=s.showgamename),"visiblegames"in s&&a(15,P=s.visiblegames),"favorites"in s&&a(16,N=s.favorites),"lastplayedperiod"in s&&a(22,L=s.lastplayedperiod),"lastplayedorder"in s&&a(23,C=s.lastplayedorder),"lastplayedlimit"in s&&a(24,S=s.lastplayedlimit),"casinomygames"in s&&a(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&512&&v&&J(),n.$$.dirty[0]&524416&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&524544&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&524352&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,w,R,A,M,D,P,N,j,E,g,F,i,L,C,S,q,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=Y;
|