@everymatrix/casino-page-nd 1.94.20 → 1.94.21
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/{CasinoCalendar-C9uPq0A1.js → CasinoCalendar-DEVbG4iz.js} +33 -33
- package/components/{CasinoCalendar-_Z-2bQb_.js → CasinoCalendar-Dx2jIkJw.js} +34 -34
- package/components/{CasinoCalendarDailyDetails-OpyeG6uE.js → CasinoCalendarDailyDetails-2B1eMhkF.js} +44 -44
- package/components/{CasinoCalendarDailyDetails-Dt7_S3PC.js → CasinoCalendarDailyDetails-BVJHoIew.js} +35 -35
- package/components/{CasinoCalendarDailyItem-CEoITIlf.js → CasinoCalendarDailyItem-D-0hhlea.js} +33 -33
- package/components/{CasinoCalendarDailyItem-vrLJaTMi.js → CasinoCalendarDailyItem-Npo89g5R.js} +35 -35
- package/components/{CasinoCollectionsProviders-B3VRHpor.js → CasinoCollectionsProviders-BKFynvjY.js} +54 -54
- package/components/{CasinoCollectionsProviders-CkfljADj.js → CasinoCollectionsProviders-MILRronm.js} +77 -77
- package/components/{CasinoFavoritesSectionNd-DKH8m5gt.js → CasinoFavoritesSectionNd-BFRXHlpI.js} +30 -30
- package/components/{CasinoFavoritesSectionNd-C_q2SUeW.js → CasinoFavoritesSectionNd-aSfTlcd4.js} +19 -19
- package/components/{CasinoFilter-B31bJiVP.js → CasinoFilter-BS2yiygC.js} +61 -61
- package/components/{CasinoFilter-DOdCTVbR.js → CasinoFilter-Dj2PCiV0.js} +72 -72
- package/components/{CasinoGameThumbnailNd-qOb-NlR1.js → CasinoGameThumbnailNd-BPC23BI-.js} +47 -47
- package/components/{CasinoGameThumbnailNd-G5g-B8es.js → CasinoGameThumbnailNd-DkwmtFcg.js} +44 -44
- package/components/{CasinoGamesCategorySectionNd-BrVRiNOE.js → CasinoGamesCategorySectionNd-D1AI9bu6.js} +85 -85
- package/components/{CasinoGamesCategorySectionNd-DW-ItJHW.js → CasinoGamesCategorySectionNd-DXy2Oa0T.js} +48 -48
- package/components/{CasinoJackpotBanner-CYvsLjTr.js → CasinoJackpotBanner-DMSfh6Dp.js} +57 -57
- package/components/{CasinoJackpotBanner-DtSX1I44.js → CasinoJackpotBanner-DoceaLAu.js} +97 -97
- package/components/{CasinoLastPlayedSectionNd-BlW0S-zx.js → CasinoLastPlayedSectionNd-CNd48h0C.js} +15 -15
- package/components/{CasinoLastPlayedSectionNd-BgqL24Mn.js → CasinoLastPlayedSectionNd-NGq-VpDK.js} +27 -27
- package/components/{CasinoMostPlayedSectionNd-C9wkbnuI.js → CasinoMostPlayedSectionNd-DRU-MnND.js} +37 -37
- package/components/{CasinoMostPlayedSectionNd-CStIOFqa.js → CasinoMostPlayedSectionNd-Ddyg2sEQ.js} +38 -38
- package/components/{CasinoMyGamesNd-D8xFIBdT.js → CasinoMyGamesNd-CJen9lAF.js} +139 -139
- package/components/{CasinoMyGamesNd-DPE7a31c.js → CasinoMyGamesNd-M7au0c11.js} +25 -25
- package/components/{CasinoPageNd-L2i5ZX96.js → CasinoPageNd-Buuu2FKK.js} +63 -63
- package/components/{CasinoPageNd-C03hT_5u.js → CasinoPageNd-YsBQrpFX.js} +62 -62
- package/components/{CasinoRandomGame-C1Lt7ZMr.js → CasinoRandomGame-BF6Dcw1k.js} +57 -57
- package/components/{CasinoRandomGame-Ch4ni4Tl.js → CasinoRandomGame-_5jTG-ZN.js} +25 -25
- package/components/{CasinoSearchNd-CkA5xtb9.js → CasinoSearchNd-BYPCQyB0.js} +74 -74
- package/components/{CasinoSearchNd-CbAwd20C.js → CasinoSearchNd-gGf9DgIj.js} +108 -108
- package/components/{CasinoSort-DP6_0RI6.js → CasinoSort-3sGGRhsh.js} +40 -40
- package/components/{CasinoSort-DIeeoqtP.js → CasinoSort-CK0pe7m-.js} +23 -23
- package/components/{CasinoWinners-DPdDjGzQ.js → CasinoWinners-CRyiG29T.js} +66 -66
- package/components/{CasinoWinners-gHv4x4rb.js → CasinoWinners-CUFd7OIe.js} +65 -65
- package/components/{GeneralAnimationLoading-DBdOzB3b.js → GeneralAnimationLoading-Bn7e7hzD.js} +4 -4
- package/components/{GeneralAnimationLoading-DoJF9CA9.js → GeneralAnimationLoading-duz-RMlD.js} +6 -6
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/{casino-calendar-BBNmRGOI.js → casino-calendar-6Rqv_d55.js} +1 -1
- package/lazy/{casino-calendar-Bw3qtp5c.js → casino-calendar-DpNAInUa.js} +1 -1
- package/lazy/{casino-calendar-daily-details-Bjn_sdXL.js → casino-calendar-daily-details-BnhakiBV.js} +1 -1
- package/lazy/{casino-calendar-daily-details-Dt-nGrFE.js → casino-calendar-daily-details-D6MgfYYT.js} +1 -1
- package/lazy/{casino-calendar-daily-item-CLC0OZIs.js → casino-calendar-daily-item-3dMaWVAd.js} +1 -1
- package/lazy/{casino-calendar-daily-item-CVytPjNM.js → casino-calendar-daily-item-BLu2M-dU.js} +1 -1
- package/lazy/{casino-collections-providers-BQy9N3us.js → casino-collections-providers-0gk7NsWo.js} +1 -1
- package/lazy/{casino-collections-providers-DhG9zmPW.js → casino-collections-providers-DZXEljiU.js} +1 -1
- package/lazy/{casino-favorites-section-nd-BvjBpSuB.js → casino-favorites-section-nd-Cs-tKY8v.js} +1 -1
- package/lazy/{casino-favorites-section-nd-CfQBIV3C.js → casino-favorites-section-nd-odGfcTKd.js} +1 -1
- package/lazy/{casino-filter-D_evC3nE.js → casino-filter-CZ14SnXw.js} +1 -1
- package/lazy/{casino-filter-BYjBLe2g.js → casino-filter-Dccl9dAI.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-CabbyVNb.js → casino-game-thumbnail-nd-B1hdc_K3.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-BCL2EgS2.js → casino-game-thumbnail-nd-CBuucCCt.js} +1 -1
- package/lazy/{casino-games-category-section-nd-B76wPeTn.js → casino-games-category-section-nd-6IBDVJpv.js} +1 -1
- package/lazy/{casino-games-category-section-nd-Dck3Hv2Z.js → casino-games-category-section-nd-BmkczwlY.js} +1 -1
- package/lazy/{casino-jackpot-banner--5VawPuz.js → casino-jackpot-banner-B4QZFVMY.js} +1 -1
- package/lazy/{casino-jackpot-banner-BrLIGNb1.js → casino-jackpot-banner-xMMUcJ-a.js} +1 -1
- package/lazy/{casino-last-played-section-nd-Df8OUyc8.js → casino-last-played-section-nd-Bpi5WwKD.js} +1 -1
- package/lazy/{casino-last-played-section-nd-BgS5BkLE.js → casino-last-played-section-nd-COPh7vmL.js} +1 -1
- package/lazy/{casino-most-played-section-nd-PKvtxS0q.js → casino-most-played-section-nd-CIM9XV6-.js} +1 -1
- package/lazy/{casino-most-played-section-nd-CHZkYWKR.js → casino-most-played-section-nd-Cccs_4pp.js} +1 -1
- package/lazy/{casino-my-games-nd--3od1EQr.js → casino-my-games-nd-4z_tBZIk.js} +1 -1
- package/lazy/{casino-my-games-nd-DqUB3fGq.js → casino-my-games-nd-CvMylYyt.js} +1 -1
- package/lazy/{casino-random-game-CK2FLJr9.js → casino-random-game-C6Yl1GDo.js} +1 -1
- package/lazy/{casino-random-game-CN612Bpo.js → casino-random-game-DwvxeID0.js} +1 -1
- package/lazy/{casino-search-nd-BWyR8F2E.js → casino-search-nd-B0IG-DkY.js} +1 -1
- package/lazy/{casino-search-nd-Q_Tn8xTE.js → casino-search-nd-ClYcSuRV.js} +1 -1
- package/lazy/{casino-sort-BjTyD_fW.js → casino-sort-CS7pJUNb.js} +1 -1
- package/lazy/{casino-sort-D-_Ugglo.js → casino-sort-DZdb5w2W.js} +1 -1
- package/lazy/{casino-winners-BjBMiSgQ.js → casino-winners-BS2-9Iyt.js} +1 -1
- package/lazy/{casino-winners-D4AOFxu0.js → casino-winners-ClXY1OS8.js} +1 -1
- package/lazy/{general-animation-loading-Br8TBw-n.js → general-animation-loading-D2vTr_EB.js} +1 -1
- package/lazy/{general-animation-loading-BuAaTzx0.js → general-animation-loading-DWnIJWz0.js} +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../lazy/casino-calendar-daily-details-
|
|
3
|
-
import "../lazy/casino-calendar-daily-item-
|
|
1
|
+
import { a as J, $ as V, S as K, i as Q, s as X, f as m, b as Y, n as I, d as p, c as b, g as h, j as v, k as Z, o as x, t as $, q as ee, v as le, e as L, w as ie, x as P, B as ae, h as te, u as ne, A as n, F as re, G as se, H as oe, I as de, J as ce } from "./CasinoPageNd-Buuu2FKK.js";
|
|
2
|
+
import "../lazy/casino-calendar-daily-details-D6MgfYYT.js";
|
|
3
|
+
import "../lazy/casino-calendar-daily-item-BLu2M-dU.js";
|
|
4
4
|
function j(i, e) {
|
|
5
|
-
|
|
5
|
+
J(i, e);
|
|
6
6
|
}
|
|
7
7
|
function ue(i) {
|
|
8
|
-
|
|
8
|
+
V.set(i);
|
|
9
9
|
}
|
|
10
10
|
const A = {
|
|
11
11
|
en: {
|
|
@@ -31,7 +31,7 @@ function ye(i) {
|
|
|
31
31
|
Y(i, "svelte-5u3c97", `.svelte-5u3c97{font-family:inherit}.CasinoCalendarItem.svelte-5u3c97{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-5u3c97{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-5u3c97{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-5u3c97{display:block;width:80px;height:80px;margin:0 auto
|
|
32
32
|
}.LoadingSpinner.svelte-5u3c97:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:svelte-5u3c97-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5u3c97-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function O(i, e, l) {
|
|
35
35
|
const d = i.slice();
|
|
36
36
|
return d[26] = e[l], d[28] = l, d;
|
|
37
37
|
}
|
|
@@ -41,10 +41,10 @@ function fe(i) {
|
|
|
41
41
|
i[6]
|
|
42
42
|
), t = [];
|
|
43
43
|
for (let a = 0; a < o.length; a += 1)
|
|
44
|
-
t[a] = O(
|
|
44
|
+
t[a] = R(O(i, o, a));
|
|
45
45
|
let c = (
|
|
46
46
|
/*calendarModalOpened*/
|
|
47
|
-
i[11] == !0 &&
|
|
47
|
+
i[11] == !0 && N(i)
|
|
48
48
|
);
|
|
49
49
|
return {
|
|
50
50
|
c() {
|
|
@@ -58,7 +58,7 @@ function fe(i) {
|
|
|
58
58
|
b(a, e, u);
|
|
59
59
|
for (let r = 0; r < t.length; r += 1)
|
|
60
60
|
t[r] && t[r].m(e, null);
|
|
61
|
-
|
|
61
|
+
L(e, l), c && c.m(e, null);
|
|
62
62
|
},
|
|
63
63
|
p(a, u) {
|
|
64
64
|
if (u & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
|
|
@@ -69,15 +69,15 @@ function fe(i) {
|
|
|
69
69
|
);
|
|
70
70
|
let r;
|
|
71
71
|
for (r = 0; r < o.length; r += 1) {
|
|
72
|
-
const y =
|
|
73
|
-
t[r] ? t[r].p(y, u) : (t[r] =
|
|
72
|
+
const y = O(a, o, r);
|
|
73
|
+
t[r] ? t[r].p(y, u) : (t[r] = R(y), t[r].c(), t[r].m(e, l));
|
|
74
74
|
}
|
|
75
75
|
for (; r < t.length; r += 1)
|
|
76
76
|
t[r].d(1);
|
|
77
77
|
t.length = o.length;
|
|
78
78
|
}
|
|
79
79
|
/*calendarModalOpened*/
|
|
80
|
-
a[11] == !0 ? c ? c.p(a, u) : (c =
|
|
80
|
+
a[11] == !0 ? c ? c.p(a, u) : (c = N(a), c.c(), c.m(e, null)) : c && (c.d(1), c = null), u & /*mobileView*/
|
|
81
81
|
1024 && d !== (d = "CasinoCalendarItem " + /*mobileView*/
|
|
82
82
|
(a[10] ? "Mobile" : "") + " svelte-5u3c97") && v(e, "class", d);
|
|
83
83
|
},
|
|
@@ -95,7 +95,7 @@ function _e(i) {
|
|
|
95
95
|
m(l, d) {
|
|
96
96
|
b(l, e, d);
|
|
97
97
|
},
|
|
98
|
-
p:
|
|
98
|
+
p: I,
|
|
99
99
|
d(l) {
|
|
100
100
|
l && p(e);
|
|
101
101
|
}
|
|
@@ -111,7 +111,7 @@ function ge(i) {
|
|
|
111
111
|
e = h("p"), d = ie(l), v(e, "class", "SearchLoading svelte-5u3c97");
|
|
112
112
|
},
|
|
113
113
|
m(o, t) {
|
|
114
|
-
b(o, e, t),
|
|
114
|
+
b(o, e, t), L(e, d);
|
|
115
115
|
},
|
|
116
116
|
p(o, t) {
|
|
117
117
|
t & /*$_*/
|
|
@@ -123,7 +123,7 @@ function ge(i) {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function R(i) {
|
|
127
127
|
let e, l, d, o, t, c;
|
|
128
128
|
return {
|
|
129
129
|
c() {
|
|
@@ -215,7 +215,7 @@ function O(i) {
|
|
|
215
215
|
}
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function N(i) {
|
|
219
219
|
let e, l, d, o, t, c, a, u;
|
|
220
220
|
return {
|
|
221
221
|
c() {
|
|
@@ -271,7 +271,7 @@ function R(i) {
|
|
|
271
271
|
), n(l, "class", "svelte-5u3c97"), v(e, "class", "CalendarDetailsWrapper svelte-5u3c97");
|
|
272
272
|
},
|
|
273
273
|
m(r, y) {
|
|
274
|
-
b(r, e, y),
|
|
274
|
+
b(r, e, y), L(e, l);
|
|
275
275
|
},
|
|
276
276
|
p(r, y) {
|
|
277
277
|
y & /*calendarCollections, selectedIndex*/
|
|
@@ -372,8 +372,8 @@ function me(i) {
|
|
|
372
372
|
p(t, [c]) {
|
|
373
373
|
d === (d = l(t)) && o ? o.p(t, c) : (o && o.d(1), o = d && d(t), o && (o.c(), o.m(e, null)));
|
|
374
374
|
},
|
|
375
|
-
i:
|
|
376
|
-
o:
|
|
375
|
+
i: I,
|
|
376
|
+
o: I,
|
|
377
377
|
d(t) {
|
|
378
378
|
t && p(e), o && o.d(), i[16](null);
|
|
379
379
|
}
|
|
@@ -382,7 +382,7 @@ function me(i) {
|
|
|
382
382
|
function he(i, e, l) {
|
|
383
383
|
let d;
|
|
384
384
|
Z(i, ce, (s) => l(12, d = s));
|
|
385
|
-
let { cmsendpoint: o = "" } = e, { env: t = "" } = e, { userroles: c = "" } = e, { lang: a = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: y } = e, { mbsource: k } = e, _, E, w = 0, S = !0, D = !1,
|
|
385
|
+
let { cmsendpoint: o = "" } = e, { env: t = "" } = e, { userroles: c = "" } = e, { lang: a = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: y } = e, { mbsource: k } = e, _, E, w = 0, S = !0, D = !1, B = !1, M = window.navigator.userAgent, C = !1, U;
|
|
386
386
|
const W = () => {
|
|
387
387
|
ue(a);
|
|
388
388
|
};
|
|
@@ -399,23 +399,23 @@ function he(i, e, l) {
|
|
|
399
399
|
}).catch((f) => {
|
|
400
400
|
console.log(f);
|
|
401
401
|
});
|
|
402
|
-
},
|
|
402
|
+
}, H = () => {
|
|
403
403
|
l(8, S = !0);
|
|
404
404
|
let s = new URL(`${o}/${a}/daily-calendar`);
|
|
405
405
|
s.searchParams.append("userRoles", c), s.searchParams.append("env", t);
|
|
406
|
-
let f = ne(
|
|
406
|
+
let f = ne(M);
|
|
407
407
|
f && (f === "PC" ? s.searchParams.append("device", "dk") : f === "iPad" || f === "iPhone" ? s.searchParams.append("device", "ios") : s.searchParams.append("device", "mtWeb")), fetch(s.href).then((g) => g.json()).then((g) => {
|
|
408
408
|
l(6, E = g);
|
|
409
409
|
}).catch((g) => {
|
|
410
410
|
console.log(g), l(9, D = !0);
|
|
411
411
|
}).finally(() => {
|
|
412
|
-
|
|
412
|
+
z(), l(8, S = !1);
|
|
413
413
|
});
|
|
414
|
-
},
|
|
414
|
+
}, z = () => {
|
|
415
415
|
const s = _.getRootNode().host;
|
|
416
416
|
s.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: s } }));
|
|
417
|
-
},
|
|
418
|
-
|
|
417
|
+
}, F = () => {
|
|
418
|
+
H();
|
|
419
419
|
}, T = (s) => {
|
|
420
420
|
var f;
|
|
421
421
|
s.data && s.data.type == "OpenCalendar" && (l(7, w = s.data.index), l(11, C = !0), window.postMessage(
|
|
@@ -430,10 +430,10 @@ function he(i, e, l) {
|
|
|
430
430
|
data: (f = E[w]) == null ? void 0 : f.dailyEvents
|
|
431
431
|
})), s.data && s.data.type == "ModalClosed" && l(11, C = !1);
|
|
432
432
|
};
|
|
433
|
-
x(() => (window.addEventListener("message", T, !1), $(
|
|
433
|
+
x(() => (window.addEventListener("message", T, !1), $(M) && l(10, B = !0), () => {
|
|
434
434
|
window.removeEventListener("message", T);
|
|
435
435
|
}));
|
|
436
|
-
function
|
|
436
|
+
function G(s) {
|
|
437
437
|
ee[s ? "unshift" : "push"](() => {
|
|
438
438
|
_ = s, l(5, _);
|
|
439
439
|
});
|
|
@@ -442,7 +442,7 @@ function he(i, e, l) {
|
|
|
442
442
|
"cmsendpoint" in s && l(13, o = s.cmsendpoint), "env" in s && l(14, t = s.env), "userroles" in s && l(15, c = s.userroles), "lang" in s && l(0, a = s.lang), "clientstyling" in s && l(1, u = s.clientstyling), "clientstylingurl" in s && l(2, r = s.clientstylingurl), "translationurl" in s && l(3, y = s.translationurl), "mbsource" in s && l(4, k = s.mbsource);
|
|
443
443
|
}, i.$$.update = () => {
|
|
444
444
|
i.$$.dirty & /*cmsendpoint, lang, env, userroles*/
|
|
445
|
-
57345 && o && a && t && c &&
|
|
445
|
+
57345 && o && a && t && c && F(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
446
446
|
34 && u && _ && re(_, u), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
447
447
|
36 && r && _ && se(_, r), i.$$.dirty & /*customStylingContainer, mbsource*/
|
|
448
448
|
48 && _ && oe(_, `${k}.Style`, U), i.$$.dirty & /*lang*/
|
|
@@ -459,18 +459,18 @@ function he(i, e, l) {
|
|
|
459
459
|
w,
|
|
460
460
|
S,
|
|
461
461
|
D,
|
|
462
|
-
|
|
462
|
+
B,
|
|
463
463
|
C,
|
|
464
464
|
d,
|
|
465
465
|
o,
|
|
466
466
|
t,
|
|
467
467
|
c,
|
|
468
|
-
|
|
468
|
+
G
|
|
469
469
|
];
|
|
470
470
|
}
|
|
471
|
-
class ve extends
|
|
471
|
+
class ve extends K {
|
|
472
472
|
constructor(e) {
|
|
473
|
-
super(),
|
|
473
|
+
super(), Q(
|
|
474
474
|
this,
|
|
475
475
|
e,
|
|
476
476
|
he,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../lazy/casino-calendar-daily-details-
|
|
3
|
-
import "../lazy/casino-calendar-daily-item-
|
|
1
|
+
import { a as V, $ as F, S as G, i as Q, s as X, f as m, b as Y, n as D, d as p, c as b, g as h, j as v, k as Z, l as x, o as $, u as ee, r as le, w as ie, e as I, x as ae, y as P, D as te, h as ne, v as re, B as n, H as se, I as oe, J as de, K as ce } from "./CasinoPageNd-YsBQrpFX.js";
|
|
2
|
+
import "../lazy/casino-calendar-daily-details-BnhakiBV.js";
|
|
3
|
+
import "../lazy/casino-calendar-daily-item-3dMaWVAd.js";
|
|
4
4
|
function j(i, e) {
|
|
5
|
-
|
|
5
|
+
V(i, e);
|
|
6
6
|
}
|
|
7
7
|
function ue(i) {
|
|
8
|
-
|
|
8
|
+
F.set(i);
|
|
9
9
|
}
|
|
10
10
|
const A = {
|
|
11
11
|
en: {
|
|
@@ -31,7 +31,7 @@ function ye(i) {
|
|
|
31
31
|
Y(i, "svelte-5u3c97", `.svelte-5u3c97{font-family:inherit}.CasinoCalendarItem.svelte-5u3c97{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-5u3c97{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-5u3c97{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-5u3c97{display:block;width:80px;height:80px;margin:0 auto
|
|
32
32
|
}.LoadingSpinner.svelte-5u3c97:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:svelte-5u3c97-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5u3c97-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function O(i, e, l) {
|
|
35
35
|
const d = i.slice();
|
|
36
36
|
return d[26] = e[l], d[28] = l, d;
|
|
37
37
|
}
|
|
@@ -41,10 +41,10 @@ function fe(i) {
|
|
|
41
41
|
i[6]
|
|
42
42
|
), t = [];
|
|
43
43
|
for (let a = 0; a < o.length; a += 1)
|
|
44
|
-
t[a] = O(
|
|
44
|
+
t[a] = R(O(i, o, a));
|
|
45
45
|
let c = (
|
|
46
46
|
/*calendarModalOpened*/
|
|
47
|
-
i[11] == !0 &&
|
|
47
|
+
i[11] == !0 && N(i)
|
|
48
48
|
);
|
|
49
49
|
return {
|
|
50
50
|
c() {
|
|
@@ -69,15 +69,15 @@ function fe(i) {
|
|
|
69
69
|
);
|
|
70
70
|
let r;
|
|
71
71
|
for (r = 0; r < o.length; r += 1) {
|
|
72
|
-
const y =
|
|
73
|
-
t[r] ? t[r].p(y, u) : (t[r] =
|
|
72
|
+
const y = O(a, o, r);
|
|
73
|
+
t[r] ? t[r].p(y, u) : (t[r] = R(y), t[r].c(), t[r].m(e, l));
|
|
74
74
|
}
|
|
75
75
|
for (; r < t.length; r += 1)
|
|
76
76
|
t[r].d(1);
|
|
77
77
|
t.length = o.length;
|
|
78
78
|
}
|
|
79
79
|
/*calendarModalOpened*/
|
|
80
|
-
a[11] == !0 ? c ? c.p(a, u) : (c =
|
|
80
|
+
a[11] == !0 ? c ? c.p(a, u) : (c = N(a), c.c(), c.m(e, null)) : c && (c.d(1), c = null), u & /*mobileView*/
|
|
81
81
|
1024 && d !== (d = "CasinoCalendarItem " + /*mobileView*/
|
|
82
82
|
(a[10] ? "Mobile" : "") + " svelte-5u3c97") && v(e, "class", d);
|
|
83
83
|
},
|
|
@@ -95,7 +95,7 @@ function _e(i) {
|
|
|
95
95
|
m(l, d) {
|
|
96
96
|
b(l, e, d);
|
|
97
97
|
},
|
|
98
|
-
p:
|
|
98
|
+
p: D,
|
|
99
99
|
d(l) {
|
|
100
100
|
l && p(e);
|
|
101
101
|
}
|
|
@@ -123,7 +123,7 @@ function ge(i) {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function R(i) {
|
|
127
127
|
let e, l, d, o, t, c;
|
|
128
128
|
return {
|
|
129
129
|
c() {
|
|
@@ -215,7 +215,7 @@ function O(i) {
|
|
|
215
215
|
}
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function N(i) {
|
|
219
219
|
let e, l, d, o, t, c, a, u;
|
|
220
220
|
return {
|
|
221
221
|
c() {
|
|
@@ -371,8 +371,8 @@ function me(i) {
|
|
|
371
371
|
p(t, [c]) {
|
|
372
372
|
d === (d = l(t)) && o ? o.p(t, c) : (o && o.d(1), o = d && d(t), o && (o.c(), o.m(e, null)));
|
|
373
373
|
},
|
|
374
|
-
i:
|
|
375
|
-
o:
|
|
374
|
+
i: D,
|
|
375
|
+
o: D,
|
|
376
376
|
d(t) {
|
|
377
377
|
t && p(e), o && o.d(), i[16](null);
|
|
378
378
|
}
|
|
@@ -381,14 +381,14 @@ function me(i) {
|
|
|
381
381
|
function he(i, e, l) {
|
|
382
382
|
let d;
|
|
383
383
|
Z(i, x, (s) => l(12, d = s));
|
|
384
|
-
let { cmsendpoint: o = "" } = e, { env: t = "" } = e, { userroles: c = "" } = e, { lang: a = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: y } = e, { mbsource: k } = e, _, E, w = 0, S = !0,
|
|
384
|
+
let { cmsendpoint: o = "" } = e, { env: t = "" } = e, { userroles: c = "" } = e, { lang: a = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: y } = e, { mbsource: k } = e, _, E, w = 0, S = !0, L = !1, B = !1, M = window.navigator.userAgent, C = !1, U;
|
|
385
385
|
const W = () => {
|
|
386
386
|
ue(a);
|
|
387
387
|
};
|
|
388
388
|
Object.keys(A).forEach((s) => {
|
|
389
389
|
j(s, A[s]);
|
|
390
390
|
});
|
|
391
|
-
const
|
|
391
|
+
const H = () => {
|
|
392
392
|
let s = y;
|
|
393
393
|
if (s)
|
|
394
394
|
return fetch(s).then((f) => f.json()).then((f) => {
|
|
@@ -398,23 +398,23 @@ function he(i, e, l) {
|
|
|
398
398
|
}).catch((f) => {
|
|
399
399
|
console.log(f);
|
|
400
400
|
});
|
|
401
|
-
},
|
|
401
|
+
}, q = () => {
|
|
402
402
|
l(8, S = !0);
|
|
403
403
|
let s = new URL(`${o}/${a}/daily-calendar`);
|
|
404
404
|
s.searchParams.append("userRoles", c), s.searchParams.append("env", t);
|
|
405
|
-
let f = re(
|
|
405
|
+
let f = re(M);
|
|
406
406
|
f && (f === "PC" ? s.searchParams.append("device", "dk") : f === "iPad" || f === "iPhone" ? s.searchParams.append("device", "ios") : s.searchParams.append("device", "mtWeb")), fetch(s.href).then((g) => g.json()).then((g) => {
|
|
407
407
|
l(6, E = g);
|
|
408
408
|
}).catch((g) => {
|
|
409
|
-
console.log(g), l(9,
|
|
409
|
+
console.log(g), l(9, L = !0);
|
|
410
410
|
}).finally(() => {
|
|
411
|
-
|
|
411
|
+
z(), l(8, S = !1);
|
|
412
412
|
});
|
|
413
|
-
},
|
|
413
|
+
}, z = () => {
|
|
414
414
|
const s = _.getRootNode().host;
|
|
415
415
|
s.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: s } }));
|
|
416
|
-
},
|
|
417
|
-
|
|
416
|
+
}, J = () => {
|
|
417
|
+
q();
|
|
418
418
|
}, T = (s) => {
|
|
419
419
|
s.data && s.data.type == "OpenCalendar" && (l(7, w = s.data.index), l(11, C = !0), window.postMessage(
|
|
420
420
|
{
|
|
@@ -428,10 +428,10 @@ function he(i, e, l) {
|
|
|
428
428
|
data: E[w]?.dailyEvents
|
|
429
429
|
})), s.data && s.data.type == "ModalClosed" && l(11, C = !1);
|
|
430
430
|
};
|
|
431
|
-
$(() => (window.addEventListener("message", T, !1), ee(
|
|
431
|
+
$(() => (window.addEventListener("message", T, !1), ee(M) && l(10, B = !0), () => {
|
|
432
432
|
window.removeEventListener("message", T);
|
|
433
433
|
}));
|
|
434
|
-
function
|
|
434
|
+
function K(s) {
|
|
435
435
|
le[s ? "unshift" : "push"](() => {
|
|
436
436
|
_ = s, l(5, _);
|
|
437
437
|
});
|
|
@@ -440,12 +440,12 @@ function he(i, e, l) {
|
|
|
440
440
|
"cmsendpoint" in s && l(13, o = s.cmsendpoint), "env" in s && l(14, t = s.env), "userroles" in s && l(15, c = s.userroles), "lang" in s && l(0, a = s.lang), "clientstyling" in s && l(1, u = s.clientstyling), "clientstylingurl" in s && l(2, r = s.clientstylingurl), "translationurl" in s && l(3, y = s.translationurl), "mbsource" in s && l(4, k = s.mbsource);
|
|
441
441
|
}, i.$$.update = () => {
|
|
442
442
|
i.$$.dirty & /*cmsendpoint, lang, env, userroles*/
|
|
443
|
-
57345 && o && a && t && c &&
|
|
443
|
+
57345 && o && a && t && c && J(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
444
444
|
34 && u && _ && se(_, u), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
445
445
|
36 && r && _ && oe(_, r), i.$$.dirty & /*customStylingContainer, mbsource*/
|
|
446
446
|
48 && _ && de(_, `${k}.Style`, U), i.$$.dirty & /*lang*/
|
|
447
447
|
1 && a && W(), i.$$.dirty & /*lang, translationurl*/
|
|
448
|
-
9 && a && y &&
|
|
448
|
+
9 && a && y && H();
|
|
449
449
|
}, [
|
|
450
450
|
a,
|
|
451
451
|
u,
|
|
@@ -456,19 +456,19 @@ function he(i, e, l) {
|
|
|
456
456
|
E,
|
|
457
457
|
w,
|
|
458
458
|
S,
|
|
459
|
-
|
|
460
|
-
|
|
459
|
+
L,
|
|
460
|
+
B,
|
|
461
461
|
C,
|
|
462
462
|
d,
|
|
463
463
|
o,
|
|
464
464
|
t,
|
|
465
465
|
c,
|
|
466
|
-
|
|
466
|
+
K
|
|
467
467
|
];
|
|
468
468
|
}
|
|
469
|
-
class ve extends
|
|
469
|
+
class ve extends G {
|
|
470
470
|
constructor(e) {
|
|
471
|
-
super(),
|
|
471
|
+
super(), Q(
|
|
472
472
|
this,
|
|
473
473
|
e,
|
|
474
474
|
he,
|