@everymatrix/casino-page-nd 1.87.26 → 1.87.27
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-4gqh3tjm.js +544 -0
- package/components/CasinoCalendar-D-jt46wW.js +542 -0
- package/components/CasinoCalendar-ynlHjTfj.cjs +2 -0
- package/components/{CasinoCalendarDailyDetails-B9Svmn08.js → CasinoCalendarDailyDetails-BgcvH9nK.js} +91 -91
- package/components/{CasinoCalendarDailyDetails-BzANjMYK.js → CasinoCalendarDailyDetails-Cbe8pC7J.js} +104 -104
- package/components/CasinoCalendarDailyDetails-DuVZISBD.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-Ddwevbwg.js → CasinoCalendarDailyItem-COIhg8yV.js} +118 -118
- package/components/CasinoCalendarDailyItem-XIp0Lg7p.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-Csh2ZNEb.js → CasinoCalendarDailyItem-fVTVyUL4.js} +115 -115
- package/components/{CasinoCollectionsProviders-Bz4Qwgcy.js → CasinoCollectionsProviders-BEPYwCWn.js} +99 -99
- package/components/{CasinoCollectionsProviders-B-rxzUHS.js → CasinoCollectionsProviders-DhMmNofL.js} +89 -89
- package/components/CasinoCollectionsProviders-re4bKhyh.cjs +1 -0
- package/components/CasinoFavoritesSectionNd-BYye_OqX.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-OgOa7MBa.js → CasinoFavoritesSectionNd-DIChCUWH.js} +43 -43
- package/components/{CasinoFavoritesSectionNd-Doh425U1.js → CasinoFavoritesSectionNd-DehWpE4C.js} +29 -29
- package/components/{CasinoFilter-F9z7t5pe.js → CasinoFilter-BBPXUROy.js} +248 -247
- package/components/CasinoFilter-hJQjaIWk.cjs +1 -0
- package/components/{CasinoFilter-BOPSPGn4.js → CasinoFilter-vZxw-pSX.js} +226 -227
- package/components/CasinoGameThumbnailNd-BrnCxDF0.js +1841 -0
- package/components/CasinoGameThumbnailNd-BvM0R6oS.cjs +30 -0
- package/components/CasinoGameThumbnailNd-CBW5XULX.js +1825 -0
- package/components/CasinoGamesCategorySectionNd-CZEde4tc.js +4569 -0
- package/components/CasinoGamesCategorySectionNd-DBlWbwZr.cjs +1 -0
- package/components/CasinoGamesCategorySectionNd-Dzj5UiL6.js +4602 -0
- package/components/{CasinoJackpotBanner-Djh5d5I0.js → CasinoJackpotBanner-CMoIV2Qg.js} +148 -148
- package/components/{CasinoJackpotBanner-D-liS_Me.js → CasinoJackpotBanner-D0X5L0Fz.js} +148 -148
- package/components/CasinoJackpotBanner-D48QAlyM.cjs +1 -0
- package/components/CasinoLastPlayedSectionNd-Dbai7XXg.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-CDt_OWWF.js → CasinoLastPlayedSectionNd-Hz1MGr2w.js} +67 -68
- package/components/{CasinoLastPlayedSectionNd-DNewZ65k.js → CasinoLastPlayedSectionNd-Nm8QJSvi.js} +68 -69
- package/components/{CasinoMostPlayedSectionNd-CqVf2pf-.js → CasinoMostPlayedSectionNd-C2TOAcIX.js} +81 -82
- package/components/{CasinoMostPlayedSectionNd-BPJRi-mx.js → CasinoMostPlayedSectionNd-D78ro-LI.js} +90 -91
- package/components/CasinoMostPlayedSectionNd-DIPIP9gt.cjs +1 -0
- package/components/CasinoMyGamesNd-B1sfMK3_.cjs +1 -0
- package/components/{CasinoMyGamesNd-PlQpeD0V.js → CasinoMyGamesNd-Bb9JdqMU.js} +186 -187
- package/components/{CasinoMyGamesNd-4iJsQUyK.js → CasinoMyGamesNd-CZlSlxbH.js} +187 -188
- package/components/CasinoPageNd-CcSCHl8E.js +8898 -0
- package/components/CasinoPageNd-DF8VWpzm.cjs +18 -0
- package/components/CasinoPageNd-V8GTyc-d.js +8943 -0
- package/components/{CasinoRandomGame-BqY01xC4.js → CasinoRandomGame-Bu7BMO6x.js} +119 -119
- package/components/{CasinoRandomGame-OSVl6dyi.js → CasinoRandomGame-DNDiY5mi.js} +118 -118
- package/components/CasinoRandomGame-r6IDCjxz.cjs +2 -0
- package/components/{CasinoSearchNd-CxPW28Eu.js → CasinoSearchNd--A3r1bol.js} +137 -137
- package/components/{CasinoSearchNd-2oH02fm7.js → CasinoSearchNd-C-c2kfaz.js} +116 -116
- package/components/CasinoSearchNd-tkeQa-4D.cjs +1 -0
- package/components/{CasinoSort-gHx_6Htf.js → CasinoSort-BsnJnnBd.js} +105 -104
- package/components/CasinoSort-C5B5VrQK.cjs +1 -0
- package/components/{CasinoSort-ChNfSlPO.js → CasinoSort-DTg6GMDm.js} +106 -107
- package/components/{CasinoWinners-CQd0AWVY.js → CasinoWinners-9UUZl0zW.js} +88 -89
- package/components/{CasinoWinners-CJLTqoB5.js → CasinoWinners-HHekahwS.js} +86 -87
- package/components/CasinoWinners-l7SjMLq0.cjs +1 -0
- package/components/{GeneralAnimationLoading-khf0HKjf.js → GeneralAnimationLoading-BpIMzIUb.js} +23 -23
- package/components/GeneralAnimationLoading-BrpKZCf6.cjs +1 -0
- package/components/{GeneralAnimationLoading-DrJIjWen.js → GeneralAnimationLoading-DoHKm0vp.js} +22 -22
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +7 -7
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/casino-calendar-BQRTF7DC.js +16 -0
- package/lazy/casino-calendar-DB45ET5Y.js +16 -0
- package/lazy/{casino-calendar-daily-details-Bs78gyMV.js → casino-calendar-daily-details-B3jG_5mi.js} +1 -1
- package/lazy/{casino-calendar-daily-details-DgAlT_Jk.cjs → casino-calendar-daily-details-CKXIPC61.cjs} +1 -1
- package/lazy/{casino-calendar-daily-details-DbdU0n9_.js → casino-calendar-daily-details-fOo4pKjF.js} +1 -1
- package/lazy/{casino-calendar-daily-item-UAvUvm5x.cjs → casino-calendar-daily-item-B8FmTb3F.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-BZGfz8IW.js → casino-calendar-daily-item-DmJBggBQ.js} +1 -1
- package/lazy/{casino-calendar-daily-item-BzQVDuqP.js → casino-calendar-daily-item-yhApzywX.js} +1 -1
- package/lazy/casino-calendar-rFYhy_Rl.cjs +1 -0
- package/lazy/{casino-collections-providers-__jGk8Bi.js → casino-collections-providers-BlhsWNQs.js} +1 -1
- package/lazy/{casino-collections-providers-DEpXDWUW.cjs → casino-collections-providers-CQ-LhgQh.cjs} +1 -1
- package/lazy/{casino-collections-providers-DHPnDwqI.js → casino-collections-providers-Dzem7JVX.js} +1 -1
- package/lazy/{casino-favorites-section-nd-DTHR_WoG.js → casino-favorites-section-nd-DDvn91GT.js} +1 -1
- package/lazy/{casino-favorites-section-nd-C6rFw4hJ.js → casino-favorites-section-nd-DoV8dzTW.js} +1 -1
- package/lazy/{casino-favorites-section-nd--WmlZh9C.cjs → casino-favorites-section-nd-HqHu0HXh.cjs} +1 -1
- package/lazy/{casino-filter-D_OJZ711.cjs → casino-filter-Bg9zWxnh.cjs} +1 -1
- package/lazy/{casino-filter-sujGI1Sw.js → casino-filter-DWdpcqGK.js} +1 -1
- package/lazy/{casino-filter-947plBW0.js → casino-filter-DZSIuJ8Z.js} +1 -1
- package/lazy/casino-game-thumbnail-nd-B4bWjPVs.js +16 -0
- package/lazy/casino-game-thumbnail-nd-BKZQlZH2.cjs +1 -0
- package/lazy/casino-game-thumbnail-nd-CLvJa_O7.js +16 -0
- package/lazy/{casino-calendar-W25gPujL.js → casino-games-category-section-nd-Chv9dRqL.js} +2 -2
- package/lazy/{casino-calendar-BQ3kWu0l.js → casino-games-category-section-nd-DTurm4m5.js} +2 -2
- package/lazy/{casino-calendar-C-GiLu3p.cjs → casino-games-category-section-nd-avQYtfSL.cjs} +1 -1
- package/lazy/{casino-jackpot-banner-C6PN_r6L.js → casino-jackpot-banner-DK2dZVQ4.js} +1 -1
- package/lazy/{casino-jackpot-banner-aWzFMQtT.cjs → casino-jackpot-banner-Dgw_f8Kx.cjs} +1 -1
- package/lazy/{casino-jackpot-banner-CUQV4cSc.js → casino-jackpot-banner-sjsSpjbL.js} +1 -1
- package/lazy/{casino-last-played-section-nd-BPs_q57i.js → casino-last-played-section-nd-B8RCGi5D.js} +1 -1
- package/lazy/{casino-last-played-section-nd-Z1Eqkg-W.js → casino-last-played-section-nd-BzPSdKqZ.js} +1 -1
- package/lazy/{casino-last-played-section-nd-DrB-yi_x.cjs → casino-last-played-section-nd-DMzSMctM.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-vNEsmYNv.js → casino-most-played-section-nd-BW_W-IY8.js} +1 -1
- package/lazy/{casino-most-played-section-nd-CsO2-tH-.cjs → casino-most-played-section-nd-DxVaDgWi.cjs} +1 -1
- package/lazy/{casino-most-played-section-nd-UW_M18NT.js → casino-most-played-section-nd-MVRS6dcI.js} +1 -1
- package/lazy/{casino-my-games-nd-wnfXxA4K.js → casino-my-games-nd-BOMVCSi5.js} +1 -1
- package/lazy/{casino-my-games-nd-BgkBJ625.cjs → casino-my-games-nd-G5Q2qOzF.cjs} +1 -1
- package/lazy/{casino-my-games-nd-DsN_8Hh5.js → casino-my-games-nd-_lXUBvel.js} +1 -1
- package/lazy/{casino-play-random-game-DtfZNoGc.js → casino-play-random-game-BWZurtgT.js} +1 -1
- package/lazy/{casino-play-random-game-BwP_PyGn.js → casino-play-random-game-CFCxse5b.js} +1 -1
- package/lazy/{casino-play-random-game-B_ZqJC9O.cjs → casino-play-random-game-pwqgQVLV.cjs} +1 -1
- package/lazy/{casino-random-game-C8MfHXaa.js → casino-random-game-BEz7yTkT.js} +1 -1
- package/lazy/{casino-random-game-DFRc-OVf.js → casino-random-game-BcGWBzT2.js} +1 -1
- package/lazy/{casino-random-game-eOSEDGdT.cjs → casino-random-game-hBRg0fFp.cjs} +1 -1
- package/lazy/{casino-search-nd-DK7NClj7.js → casino-search-nd-BREKygXT.js} +1 -1
- package/lazy/{casino-search-nd-0h3RFpG5.js → casino-search-nd-W95Lk6BP.js} +1 -1
- package/lazy/{casino-search-nd-B4IMeGRL.cjs → casino-search-nd-a6cCkhdf.cjs} +1 -1
- package/lazy/{casino-sort-DnvZL0xh.cjs → casino-sort-CIdKBJtJ.cjs} +1 -1
- package/lazy/{casino-sort-DHWqDjlb.js → casino-sort-Co9nWF48.js} +1 -1
- package/lazy/{casino-sort-DCo8rI3E.js → casino-sort-DRc59Y-x.js} +1 -1
- package/lazy/{casino-winners-CNIy3lxn.js → casino-winners-Bs8a8MNm.js} +1 -1
- package/lazy/{casino-winners-D-kl8Pt9.cjs → casino-winners-DCjacxAF.cjs} +1 -1
- package/lazy/{casino-winners-wudr0jE1.js → casino-winners-DuIhnL7J.js} +1 -1
- package/lazy/{general-animation-loading-BEnsNW2g.js → general-animation-loading-BCRRr9R1.js} +1 -1
- package/lazy/{general-animation-loading-D03DfjDc.cjs → general-animation-loading-BN__VtW2.cjs} +1 -1
- package/lazy/{general-animation-loading-B3lvSOkP.js → general-animation-loading-BsaF5Ej3.js} +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-lwEwVdAM.js → casino-play-random-game-BOPRTiwD.js} +2 -2
- package/stencil/{casino-play-random-game-DyQoGWi6.cjs → casino-play-random-game-CoPqwq78.cjs} +1 -1
- package/stencil/{casino-play-random-game-ViBhO659.js → casino-play-random-game-yO-x2QjR.js} +2 -2
- package/stencil/{casino-play-random-game_2-CDiEK5Rt.js → casino-play-random-game_2-BxaCgNIB.js} +92 -64
- package/stencil/{casino-play-random-game_2-C4f-74R0.js → casino-play-random-game_2-CIEKYYQF.js} +91 -64
- package/stencil/{casino-play-random-game_2-C64foLSL.cjs → casino-play-random-game_2-DXgBuAeq.cjs} +3 -3
- package/components/CasinoCalendar-BELrT2lA.js +0 -5071
- package/components/CasinoCalendar-BpwU4Nrb.js +0 -5110
- package/components/CasinoCalendar-DrrajltR.cjs +0 -19
- package/components/CasinoCalendarDailyDetails-lmz3Ug1c.cjs +0 -1
- package/components/CasinoCalendarDailyItem-DmRnSMf5.cjs +0 -1
- package/components/CasinoCollectionsProviders-C5rH3HrT.cjs +0 -1
- package/components/CasinoFavoritesSectionNd-BELSdOTJ.cjs +0 -1
- package/components/CasinoFilter-BkWQ4KgW.cjs +0 -1
- package/components/CasinoGameThumbnailNd-BR1mn9ZI.js +0 -3121
- package/components/CasinoGameThumbnailNd-CuVwgwvD.js +0 -3105
- package/components/CasinoGameThumbnailNd-DTU6nSKd.cjs +0 -30
- package/components/CasinoGamesCategorySectionNd-BdsjIQ7s.cjs +0 -1
- package/components/CasinoGamesCategorySectionNd-K7o3qVk7.js +0 -3292
- package/components/CasinoGamesCategorySectionNd-hFAHZgTC.js +0 -3325
- package/components/CasinoJackpotBanner-DKGuifD8.cjs +0 -1
- package/components/CasinoLastPlayedSectionNd-BnKRy68b.cjs +0 -1
- package/components/CasinoMostPlayedSectionNd-6Hm3k1kM.cjs +0 -1
- package/components/CasinoMyGamesNd-y1vPuFt-.cjs +0 -1
- package/components/CasinoPageNd-BBi0HzpA.js +0 -4364
- package/components/CasinoPageNd-D5mGix6W.cjs +0 -1
- package/components/CasinoPageNd-DSKsK40E.js +0 -4345
- package/components/CasinoRandomGame-BqszKIRI.cjs +0 -2
- package/components/CasinoSearchNd-BONwYpjU.cjs +0 -1
- package/components/CasinoSort-D9yqS_K_.cjs +0 -1
- package/components/CasinoWinners-BNaYIdgc.cjs +0 -1
- package/components/GeneralAnimationLoading-dlrAfGeC.cjs +0 -1
- package/lazy/casino-game-thumbnail-nd-C6m6nRiR.js +0 -16
- package/lazy/casino-game-thumbnail-nd-C_3atSCn.cjs +0 -1
- package/lazy/casino-game-thumbnail-nd-TwbY9jp9.js +0 -16
- package/lazy/casino-games-category-section-nd-B5EKRtdm.cjs +0 -1
- package/lazy/casino-games-category-section-nd-CS53a63I.js +0 -16
- package/lazy/casino-games-category-section-nd-Dcf6QgfF.js +0 -16
|
@@ -0,0 +1,542 @@
|
|
|
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, e as h, g as v, h as Z, j as x, k as $, u as ee, m as le, w as ie, r as I, x as ae, y as P, D as te, t as ne, v as re, B as n, H as se, I as oe, J as de, K as ce } from "./CasinoPageNd-CcSCHl8E.js";
|
|
2
|
+
import "../lazy/casino-calendar-daily-details-fOo4pKjF.js";
|
|
3
|
+
import "../lazy/casino-calendar-daily-item-DmJBggBQ.js";
|
|
4
|
+
function j(i, e) {
|
|
5
|
+
V(i, e);
|
|
6
|
+
}
|
|
7
|
+
function ue(i) {
|
|
8
|
+
F.set(i);
|
|
9
|
+
}
|
|
10
|
+
const A = {
|
|
11
|
+
en: {
|
|
12
|
+
error: "500 Error - Internal Server Error"
|
|
13
|
+
},
|
|
14
|
+
hr: {
|
|
15
|
+
error: "500 Error - Internal Server Error"
|
|
16
|
+
},
|
|
17
|
+
"pt-br": {
|
|
18
|
+
error: "500 Error - Internal Server Error"
|
|
19
|
+
},
|
|
20
|
+
"es-mx": {
|
|
21
|
+
error: "500 Error - Internal Server Error"
|
|
22
|
+
},
|
|
23
|
+
tr: {
|
|
24
|
+
error: "500 Error - Internal Server Error"
|
|
25
|
+
},
|
|
26
|
+
"en-us": {
|
|
27
|
+
error: "500 Error - Internal Server Error"
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
function ye(i) {
|
|
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
|
+
}.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
|
+
}
|
|
34
|
+
function O(i, e, l) {
|
|
35
|
+
const d = i.slice();
|
|
36
|
+
return d[26] = e[l], d[28] = l, d;
|
|
37
|
+
}
|
|
38
|
+
function fe(i) {
|
|
39
|
+
let e, l, d, o = P(
|
|
40
|
+
/*calendarCollections*/
|
|
41
|
+
i[6]
|
|
42
|
+
), t = [];
|
|
43
|
+
for (let a = 0; a < o.length; a += 1)
|
|
44
|
+
t[a] = R(O(i, o, a));
|
|
45
|
+
let c = (
|
|
46
|
+
/*calendarModalOpened*/
|
|
47
|
+
i[11] == !0 && N(i)
|
|
48
|
+
);
|
|
49
|
+
return {
|
|
50
|
+
c() {
|
|
51
|
+
e = h("div");
|
|
52
|
+
for (let a = 0; a < t.length; a += 1)
|
|
53
|
+
t[a].c();
|
|
54
|
+
l = ne(), c && c.c(), v(e, "class", d = "CasinoCalendarItem " + /*mobileView*/
|
|
55
|
+
(i[10] ? "Mobile" : "") + " svelte-5u3c97");
|
|
56
|
+
},
|
|
57
|
+
m(a, u) {
|
|
58
|
+
b(a, e, u);
|
|
59
|
+
for (let r = 0; r < t.length; r += 1)
|
|
60
|
+
t[r] && t[r].m(e, null);
|
|
61
|
+
I(e, l), c && c.m(e, null);
|
|
62
|
+
},
|
|
63
|
+
p(a, u) {
|
|
64
|
+
if (u & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
|
|
65
|
+
95) {
|
|
66
|
+
o = P(
|
|
67
|
+
/*calendarCollections*/
|
|
68
|
+
a[6]
|
|
69
|
+
);
|
|
70
|
+
let r;
|
|
71
|
+
for (r = 0; r < o.length; r += 1) {
|
|
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
|
+
}
|
|
75
|
+
for (; r < t.length; r += 1)
|
|
76
|
+
t[r].d(1);
|
|
77
|
+
t.length = o.length;
|
|
78
|
+
}
|
|
79
|
+
/*calendarModalOpened*/
|
|
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
|
+
1024 && d !== (d = "CasinoCalendarItem " + /*mobileView*/
|
|
82
|
+
(a[10] ? "Mobile" : "") + " svelte-5u3c97") && v(e, "class", d);
|
|
83
|
+
},
|
|
84
|
+
d(a) {
|
|
85
|
+
a && p(e), te(t, a), c && c.d();
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
function _e(i) {
|
|
90
|
+
let e;
|
|
91
|
+
return {
|
|
92
|
+
c() {
|
|
93
|
+
e = h("div"), v(e, "class", "LoadingSpinner svelte-5u3c97");
|
|
94
|
+
},
|
|
95
|
+
m(l, d) {
|
|
96
|
+
b(l, e, d);
|
|
97
|
+
},
|
|
98
|
+
p: D,
|
|
99
|
+
d(l) {
|
|
100
|
+
l && p(e);
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
function ge(i) {
|
|
105
|
+
let e, l = (
|
|
106
|
+
/*$_*/
|
|
107
|
+
i[12]("error") + ""
|
|
108
|
+
), d;
|
|
109
|
+
return {
|
|
110
|
+
c() {
|
|
111
|
+
e = h("p"), d = ae(l), v(e, "class", "SearchLoading svelte-5u3c97");
|
|
112
|
+
},
|
|
113
|
+
m(o, t) {
|
|
114
|
+
b(o, e, t), I(e, d);
|
|
115
|
+
},
|
|
116
|
+
p(o, t) {
|
|
117
|
+
t & /*$_*/
|
|
118
|
+
4096 && l !== (l = /*$_*/
|
|
119
|
+
o[12]("error") + "") && ie(d, l);
|
|
120
|
+
},
|
|
121
|
+
d(o) {
|
|
122
|
+
o && p(e);
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
function R(i) {
|
|
127
|
+
let e, l, d, o, t, c;
|
|
128
|
+
return {
|
|
129
|
+
c() {
|
|
130
|
+
e = h("casino-calendar-daily-item"), n(e, "dailybackground", l = /*dailyCalendarData*/
|
|
131
|
+
i[26].dailyBackground), n(e, "dailyicon", d = /*dailyCalendarData*/
|
|
132
|
+
i[26].dailyIcon), n(e, "dailyday", o = /*dailyCalendarData*/
|
|
133
|
+
i[26].dailyDay), n(e, "dailydescription", t = /*dailyCalendarData*/
|
|
134
|
+
i[26].dailyDescription), n(e, "dailybuttontitle", c = /*dailyCalendarData*/
|
|
135
|
+
i[26].dailyButtonTitle), n(
|
|
136
|
+
e,
|
|
137
|
+
"index",
|
|
138
|
+
/*index*/
|
|
139
|
+
i[28]
|
|
140
|
+
), n(
|
|
141
|
+
e,
|
|
142
|
+
"lang",
|
|
143
|
+
/*lang*/
|
|
144
|
+
i[0]
|
|
145
|
+
), n(
|
|
146
|
+
e,
|
|
147
|
+
"clientstyling",
|
|
148
|
+
/*clientstyling*/
|
|
149
|
+
i[1]
|
|
150
|
+
), n(
|
|
151
|
+
e,
|
|
152
|
+
"clientstylingurl",
|
|
153
|
+
/*clientstylingurl*/
|
|
154
|
+
i[2]
|
|
155
|
+
), n(
|
|
156
|
+
e,
|
|
157
|
+
"mbsource",
|
|
158
|
+
/*mbsource*/
|
|
159
|
+
i[4]
|
|
160
|
+
), n(
|
|
161
|
+
e,
|
|
162
|
+
"translationurl",
|
|
163
|
+
/*translationurl*/
|
|
164
|
+
i[3]
|
|
165
|
+
), n(e, "class", "svelte-5u3c97");
|
|
166
|
+
},
|
|
167
|
+
m(a, u) {
|
|
168
|
+
b(a, e, u);
|
|
169
|
+
},
|
|
170
|
+
p(a, u) {
|
|
171
|
+
u & /*calendarCollections*/
|
|
172
|
+
64 && l !== (l = /*dailyCalendarData*/
|
|
173
|
+
a[26].dailyBackground) && n(e, "dailybackground", l), u & /*calendarCollections*/
|
|
174
|
+
64 && d !== (d = /*dailyCalendarData*/
|
|
175
|
+
a[26].dailyIcon) && n(e, "dailyicon", d), u & /*calendarCollections*/
|
|
176
|
+
64 && o !== (o = /*dailyCalendarData*/
|
|
177
|
+
a[26].dailyDay) && n(e, "dailyday", o), u & /*calendarCollections*/
|
|
178
|
+
64 && t !== (t = /*dailyCalendarData*/
|
|
179
|
+
a[26].dailyDescription) && n(e, "dailydescription", t), u & /*calendarCollections*/
|
|
180
|
+
64 && c !== (c = /*dailyCalendarData*/
|
|
181
|
+
a[26].dailyButtonTitle) && n(e, "dailybuttontitle", c), u & /*lang*/
|
|
182
|
+
1 && n(
|
|
183
|
+
e,
|
|
184
|
+
"lang",
|
|
185
|
+
/*lang*/
|
|
186
|
+
a[0]
|
|
187
|
+
), u & /*clientstyling*/
|
|
188
|
+
2 && n(
|
|
189
|
+
e,
|
|
190
|
+
"clientstyling",
|
|
191
|
+
/*clientstyling*/
|
|
192
|
+
a[1]
|
|
193
|
+
), u & /*clientstylingurl*/
|
|
194
|
+
4 && n(
|
|
195
|
+
e,
|
|
196
|
+
"clientstylingurl",
|
|
197
|
+
/*clientstylingurl*/
|
|
198
|
+
a[2]
|
|
199
|
+
), u & /*mbsource*/
|
|
200
|
+
16 && n(
|
|
201
|
+
e,
|
|
202
|
+
"mbsource",
|
|
203
|
+
/*mbsource*/
|
|
204
|
+
a[4]
|
|
205
|
+
), u & /*translationurl*/
|
|
206
|
+
8 && n(
|
|
207
|
+
e,
|
|
208
|
+
"translationurl",
|
|
209
|
+
/*translationurl*/
|
|
210
|
+
a[3]
|
|
211
|
+
);
|
|
212
|
+
},
|
|
213
|
+
d(a) {
|
|
214
|
+
a && p(e);
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
function N(i) {
|
|
219
|
+
let e, l, d, o, t, c, a, u;
|
|
220
|
+
return {
|
|
221
|
+
c() {
|
|
222
|
+
e = h("div"), l = h("casino-calendar-daily-details"), n(l, "dailybackground", d = /*calendarCollections*/
|
|
223
|
+
i[6][
|
|
224
|
+
/*selectedIndex*/
|
|
225
|
+
i[7]
|
|
226
|
+
].dailyBackground), n(l, "dailybuttontitle", o = /*calendarCollections*/
|
|
227
|
+
i[6][
|
|
228
|
+
/*selectedIndex*/
|
|
229
|
+
i[7]
|
|
230
|
+
].dailyButtonTitle), n(l, "dailyday", t = /*calendarCollections*/
|
|
231
|
+
i[6][
|
|
232
|
+
/*selectedIndex*/
|
|
233
|
+
i[7]
|
|
234
|
+
].dailyDay), n(l, "dailydescription", c = /*calendarCollections*/
|
|
235
|
+
i[6][
|
|
236
|
+
/*selectedIndex*/
|
|
237
|
+
i[7]
|
|
238
|
+
].dailyDescription), n(l, "dailyicon", a = /*calendarCollections*/
|
|
239
|
+
i[6][
|
|
240
|
+
/*selectedIndex*/
|
|
241
|
+
i[7]
|
|
242
|
+
].dailyIcon), n(l, "dailytitle", u = /*calendarCollections*/
|
|
243
|
+
i[6][
|
|
244
|
+
/*selectedIndex*/
|
|
245
|
+
i[7]
|
|
246
|
+
].dailyTitle), n(
|
|
247
|
+
l,
|
|
248
|
+
"lang",
|
|
249
|
+
/*lang*/
|
|
250
|
+
i[0]
|
|
251
|
+
), n(
|
|
252
|
+
l,
|
|
253
|
+
"clientstyling",
|
|
254
|
+
/*clientstyling*/
|
|
255
|
+
i[1]
|
|
256
|
+
), n(
|
|
257
|
+
l,
|
|
258
|
+
"clientstylingurl",
|
|
259
|
+
/*clientstylingurl*/
|
|
260
|
+
i[2]
|
|
261
|
+
), n(
|
|
262
|
+
l,
|
|
263
|
+
"mbsource",
|
|
264
|
+
/*mbsource*/
|
|
265
|
+
i[4]
|
|
266
|
+
), n(
|
|
267
|
+
l,
|
|
268
|
+
"translationurl",
|
|
269
|
+
/*translationurl*/
|
|
270
|
+
i[3]
|
|
271
|
+
), n(l, "class", "svelte-5u3c97"), v(e, "class", "CalendarDetailsWrapper svelte-5u3c97");
|
|
272
|
+
},
|
|
273
|
+
m(r, y) {
|
|
274
|
+
b(r, e, y), I(e, l);
|
|
275
|
+
},
|
|
276
|
+
p(r, y) {
|
|
277
|
+
y & /*calendarCollections, selectedIndex*/
|
|
278
|
+
192 && d !== (d = /*calendarCollections*/
|
|
279
|
+
r[6][
|
|
280
|
+
/*selectedIndex*/
|
|
281
|
+
r[7]
|
|
282
|
+
].dailyBackground) && n(l, "dailybackground", d), y & /*calendarCollections, selectedIndex*/
|
|
283
|
+
192 && o !== (o = /*calendarCollections*/
|
|
284
|
+
r[6][
|
|
285
|
+
/*selectedIndex*/
|
|
286
|
+
r[7]
|
|
287
|
+
].dailyButtonTitle) && n(l, "dailybuttontitle", o), y & /*calendarCollections, selectedIndex*/
|
|
288
|
+
192 && t !== (t = /*calendarCollections*/
|
|
289
|
+
r[6][
|
|
290
|
+
/*selectedIndex*/
|
|
291
|
+
r[7]
|
|
292
|
+
].dailyDay) && n(l, "dailyday", t), y & /*calendarCollections, selectedIndex*/
|
|
293
|
+
192 && c !== (c = /*calendarCollections*/
|
|
294
|
+
r[6][
|
|
295
|
+
/*selectedIndex*/
|
|
296
|
+
r[7]
|
|
297
|
+
].dailyDescription) && n(l, "dailydescription", c), y & /*calendarCollections, selectedIndex*/
|
|
298
|
+
192 && a !== (a = /*calendarCollections*/
|
|
299
|
+
r[6][
|
|
300
|
+
/*selectedIndex*/
|
|
301
|
+
r[7]
|
|
302
|
+
].dailyIcon) && n(l, "dailyicon", a), y & /*calendarCollections, selectedIndex*/
|
|
303
|
+
192 && u !== (u = /*calendarCollections*/
|
|
304
|
+
r[6][
|
|
305
|
+
/*selectedIndex*/
|
|
306
|
+
r[7]
|
|
307
|
+
].dailyTitle) && n(l, "dailytitle", u), y & /*lang*/
|
|
308
|
+
1 && n(
|
|
309
|
+
l,
|
|
310
|
+
"lang",
|
|
311
|
+
/*lang*/
|
|
312
|
+
r[0]
|
|
313
|
+
), y & /*clientstyling*/
|
|
314
|
+
2 && n(
|
|
315
|
+
l,
|
|
316
|
+
"clientstyling",
|
|
317
|
+
/*clientstyling*/
|
|
318
|
+
r[1]
|
|
319
|
+
), y & /*clientstylingurl*/
|
|
320
|
+
4 && n(
|
|
321
|
+
l,
|
|
322
|
+
"clientstylingurl",
|
|
323
|
+
/*clientstylingurl*/
|
|
324
|
+
r[2]
|
|
325
|
+
), y & /*mbsource*/
|
|
326
|
+
16 && n(
|
|
327
|
+
l,
|
|
328
|
+
"mbsource",
|
|
329
|
+
/*mbsource*/
|
|
330
|
+
r[4]
|
|
331
|
+
), y & /*translationurl*/
|
|
332
|
+
8 && n(
|
|
333
|
+
l,
|
|
334
|
+
"translationurl",
|
|
335
|
+
/*translationurl*/
|
|
336
|
+
r[3]
|
|
337
|
+
);
|
|
338
|
+
},
|
|
339
|
+
d(r) {
|
|
340
|
+
r && p(e);
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
function me(i) {
|
|
345
|
+
let e;
|
|
346
|
+
function l(t, c) {
|
|
347
|
+
if (
|
|
348
|
+
/*hasErrors*/
|
|
349
|
+
t[9]
|
|
350
|
+
)
|
|
351
|
+
return ge;
|
|
352
|
+
if (
|
|
353
|
+
/*isLoading*/
|
|
354
|
+
t[8]
|
|
355
|
+
)
|
|
356
|
+
return _e;
|
|
357
|
+
if (
|
|
358
|
+
/*calendarCollections*/
|
|
359
|
+
t[6]?.length
|
|
360
|
+
)
|
|
361
|
+
return fe;
|
|
362
|
+
}
|
|
363
|
+
let d = l(i), o = d && d(i);
|
|
364
|
+
return {
|
|
365
|
+
c() {
|
|
366
|
+
e = h("div"), o && o.c(), v(e, "class", "svelte-5u3c97");
|
|
367
|
+
},
|
|
368
|
+
m(t, c) {
|
|
369
|
+
b(t, e, c), o && o.m(e, null), i[16](e);
|
|
370
|
+
},
|
|
371
|
+
p(t, [c]) {
|
|
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
|
+
},
|
|
374
|
+
i: D,
|
|
375
|
+
o: D,
|
|
376
|
+
d(t) {
|
|
377
|
+
t && p(e), o && o.d(), i[16](null);
|
|
378
|
+
}
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
function he(i, e, l) {
|
|
382
|
+
let d;
|
|
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, L = !1, B = !1, M = window.navigator.userAgent, C = !1, U;
|
|
385
|
+
const W = () => {
|
|
386
|
+
ue(a);
|
|
387
|
+
};
|
|
388
|
+
Object.keys(A).forEach((s) => {
|
|
389
|
+
j(s, A[s]);
|
|
390
|
+
});
|
|
391
|
+
const H = () => {
|
|
392
|
+
let s = y;
|
|
393
|
+
if (s)
|
|
394
|
+
return fetch(s).then((f) => f.json()).then((f) => {
|
|
395
|
+
Object.keys(f).forEach((g) => {
|
|
396
|
+
j(g, f[g]);
|
|
397
|
+
});
|
|
398
|
+
}).catch((f) => {
|
|
399
|
+
console.log(f);
|
|
400
|
+
});
|
|
401
|
+
}, q = () => {
|
|
402
|
+
l(8, S = !0);
|
|
403
|
+
let s = new URL(`${o}/${a}/daily-calendar`);
|
|
404
|
+
s.searchParams.append("userRoles", c), s.searchParams.append("env", t);
|
|
405
|
+
let f = re(M);
|
|
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
|
+
l(6, E = g);
|
|
408
|
+
}).catch((g) => {
|
|
409
|
+
console.log(g), l(9, L = !0);
|
|
410
|
+
}).finally(() => {
|
|
411
|
+
z(), l(8, S = !1);
|
|
412
|
+
});
|
|
413
|
+
}, z = () => {
|
|
414
|
+
const s = _.getRootNode().host;
|
|
415
|
+
s.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: s } }));
|
|
416
|
+
}, J = () => {
|
|
417
|
+
q();
|
|
418
|
+
}, T = (s) => {
|
|
419
|
+
s.data && s.data.type == "OpenCalendar" && (l(7, w = s.data.index), l(11, C = !0), window.postMessage(
|
|
420
|
+
{
|
|
421
|
+
type: "ShowModal",
|
|
422
|
+
selectedIndex: w,
|
|
423
|
+
identifier: "Calendar"
|
|
424
|
+
},
|
|
425
|
+
window.location.href
|
|
426
|
+
), window.postMessage({
|
|
427
|
+
type: "DailyEventsData",
|
|
428
|
+
data: E[w]?.dailyEvents
|
|
429
|
+
})), s.data && s.data.type == "ModalClosed" && l(11, C = !1);
|
|
430
|
+
};
|
|
431
|
+
$(() => (window.addEventListener("message", T, !1), ee(M) && l(10, B = !0), () => {
|
|
432
|
+
window.removeEventListener("message", T);
|
|
433
|
+
}));
|
|
434
|
+
function K(s) {
|
|
435
|
+
le[s ? "unshift" : "push"](() => {
|
|
436
|
+
_ = s, l(5, _);
|
|
437
|
+
});
|
|
438
|
+
}
|
|
439
|
+
return i.$$set = (s) => {
|
|
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
|
+
}, i.$$.update = () => {
|
|
442
|
+
i.$$.dirty & /*cmsendpoint, lang, env, userroles*/
|
|
443
|
+
57345 && o && a && t && c && J(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
444
|
+
34 && u && _ && se(_, u), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
445
|
+
36 && r && _ && oe(_, r), i.$$.dirty & /*customStylingContainer, mbsource*/
|
|
446
|
+
48 && _ && de(_, `${k}.Style`, U), i.$$.dirty & /*lang*/
|
|
447
|
+
1 && a && W(), i.$$.dirty & /*lang, translationurl*/
|
|
448
|
+
9 && a && y && H();
|
|
449
|
+
}, [
|
|
450
|
+
a,
|
|
451
|
+
u,
|
|
452
|
+
r,
|
|
453
|
+
y,
|
|
454
|
+
k,
|
|
455
|
+
_,
|
|
456
|
+
E,
|
|
457
|
+
w,
|
|
458
|
+
S,
|
|
459
|
+
L,
|
|
460
|
+
B,
|
|
461
|
+
C,
|
|
462
|
+
d,
|
|
463
|
+
o,
|
|
464
|
+
t,
|
|
465
|
+
c,
|
|
466
|
+
K
|
|
467
|
+
];
|
|
468
|
+
}
|
|
469
|
+
class ve extends G {
|
|
470
|
+
constructor(e) {
|
|
471
|
+
super(), Q(
|
|
472
|
+
this,
|
|
473
|
+
e,
|
|
474
|
+
he,
|
|
475
|
+
me,
|
|
476
|
+
X,
|
|
477
|
+
{
|
|
478
|
+
cmsendpoint: 13,
|
|
479
|
+
env: 14,
|
|
480
|
+
userroles: 15,
|
|
481
|
+
lang: 0,
|
|
482
|
+
clientstyling: 1,
|
|
483
|
+
clientstylingurl: 2,
|
|
484
|
+
translationurl: 3,
|
|
485
|
+
mbsource: 4
|
|
486
|
+
},
|
|
487
|
+
ye
|
|
488
|
+
);
|
|
489
|
+
}
|
|
490
|
+
get cmsendpoint() {
|
|
491
|
+
return this.$$.ctx[13];
|
|
492
|
+
}
|
|
493
|
+
set cmsendpoint(e) {
|
|
494
|
+
this.$$set({ cmsendpoint: e }), m();
|
|
495
|
+
}
|
|
496
|
+
get env() {
|
|
497
|
+
return this.$$.ctx[14];
|
|
498
|
+
}
|
|
499
|
+
set env(e) {
|
|
500
|
+
this.$$set({ env: e }), m();
|
|
501
|
+
}
|
|
502
|
+
get userroles() {
|
|
503
|
+
return this.$$.ctx[15];
|
|
504
|
+
}
|
|
505
|
+
set userroles(e) {
|
|
506
|
+
this.$$set({ userroles: e }), m();
|
|
507
|
+
}
|
|
508
|
+
get lang() {
|
|
509
|
+
return this.$$.ctx[0];
|
|
510
|
+
}
|
|
511
|
+
set lang(e) {
|
|
512
|
+
this.$$set({ lang: e }), m();
|
|
513
|
+
}
|
|
514
|
+
get clientstyling() {
|
|
515
|
+
return this.$$.ctx[1];
|
|
516
|
+
}
|
|
517
|
+
set clientstyling(e) {
|
|
518
|
+
this.$$set({ clientstyling: e }), m();
|
|
519
|
+
}
|
|
520
|
+
get clientstylingurl() {
|
|
521
|
+
return this.$$.ctx[2];
|
|
522
|
+
}
|
|
523
|
+
set clientstylingurl(e) {
|
|
524
|
+
this.$$set({ clientstylingurl: e }), m();
|
|
525
|
+
}
|
|
526
|
+
get translationurl() {
|
|
527
|
+
return this.$$.ctx[3];
|
|
528
|
+
}
|
|
529
|
+
set translationurl(e) {
|
|
530
|
+
this.$$set({ translationurl: e }), m();
|
|
531
|
+
}
|
|
532
|
+
get mbsource() {
|
|
533
|
+
return this.$$.ctx[4];
|
|
534
|
+
}
|
|
535
|
+
set mbsource(e) {
|
|
536
|
+
this.$$set({ mbsource: e }), m();
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
ce(ve, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
540
|
+
export {
|
|
541
|
+
ve as default
|
|
542
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoPageNd-DF8VWpzm.cjs");require("../lazy/casino-calendar-daily-details-CKXIPC61.cjs");require("../lazy/casino-calendar-daily-item-B8FmTb3F.cjs");function C(a,t){e.addMessages(a,t)}function q(a){e.$locale.set(a)}const L={en:{error:"500 Error - Internal Server Error"},hr:{error:"500 Error - Internal Server Error"},"pt-br":{error:"500 Error - Internal Server Error"},"es-mx":{error:"500 Error - Internal Server Error"},tr:{error:"500 Error - Internal Server Error"},"en-us":{error:"500 Error - Internal Server Error"}};function U(a){e.append_styles(a,"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
|
|
2
|
+
}.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)}}`)}function D(a,t,l){const d=a.slice();return d[26]=t[l],d[28]=l,d}function W(a){let t,l,d,o=e.ensure_array_like(a[6]),i=[];for(let n=0;n<o.length;n+=1)i[n]=I(D(a,o,n));let c=a[11]==!0&&M(a);return{c(){t=e.element("div");for(let n=0;n<i.length;n+=1)i[n].c();l=e.space(),c&&c.c(),e.attr(t,"class",d="CasinoCalendarItem "+(a[10]?"Mobile":"")+" svelte-5u3c97")},m(n,_){e.insert(n,t,_);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(t,null);e.append(t,l),c&&c.m(t,null)},p(n,_){if(_&95){o=e.ensure_array_like(n[6]);let s;for(s=0;s<o.length;s+=1){const u=D(n,o,s);i[s]?i[s].p(u,_):(i[s]=I(u),i[s].c(),i[s].m(t,l))}for(;s<i.length;s+=1)i[s].d(1);i.length=o.length}n[11]==!0?c?c.p(n,_):(c=M(n),c.c(),c.m(t,null)):c&&(c.d(1),c=null),_&1024&&d!==(d="CasinoCalendarItem "+(n[10]?"Mobile":"")+" svelte-5u3c97")&&e.attr(t,"class",d)},d(n){n&&e.detach(t),e.destroy_each(i,n),c&&c.d()}}}function z(a){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner svelte-5u3c97")},m(l,d){e.insert(l,t,d)},p:e.noop,d(l){l&&e.detach(t)}}}function H(a){let t,l=a[12]("error")+"",d;return{c(){t=e.element("p"),d=e.text(l),e.attr(t,"class","SearchLoading svelte-5u3c97")},m(o,i){e.insert(o,t,i),e.append(t,d)},p(o,i){i&4096&&l!==(l=o[12]("error")+"")&&e.set_data(d,l)},d(o){o&&e.detach(t)}}}function I(a){let t,l,d,o,i,c;return{c(){t=e.element("casino-calendar-daily-item"),e.set_custom_element_data(t,"dailybackground",l=a[26].dailyBackground),e.set_custom_element_data(t,"dailyicon",d=a[26].dailyIcon),e.set_custom_element_data(t,"dailyday",o=a[26].dailyDay),e.set_custom_element_data(t,"dailydescription",i=a[26].dailyDescription),e.set_custom_element_data(t,"dailybuttontitle",c=a[26].dailyButtonTitle),e.set_custom_element_data(t,"index",a[28]),e.set_custom_element_data(t,"lang",a[0]),e.set_custom_element_data(t,"clientstyling",a[1]),e.set_custom_element_data(t,"clientstylingurl",a[2]),e.set_custom_element_data(t,"mbsource",a[4]),e.set_custom_element_data(t,"translationurl",a[3]),e.set_custom_element_data(t,"class","svelte-5u3c97")},m(n,_){e.insert(n,t,_)},p(n,_){_&64&&l!==(l=n[26].dailyBackground)&&e.set_custom_element_data(t,"dailybackground",l),_&64&&d!==(d=n[26].dailyIcon)&&e.set_custom_element_data(t,"dailyicon",d),_&64&&o!==(o=n[26].dailyDay)&&e.set_custom_element_data(t,"dailyday",o),_&64&&i!==(i=n[26].dailyDescription)&&e.set_custom_element_data(t,"dailydescription",i),_&64&&c!==(c=n[26].dailyButtonTitle)&&e.set_custom_element_data(t,"dailybuttontitle",c),_&1&&e.set_custom_element_data(t,"lang",n[0]),_&2&&e.set_custom_element_data(t,"clientstyling",n[1]),_&4&&e.set_custom_element_data(t,"clientstylingurl",n[2]),_&16&&e.set_custom_element_data(t,"mbsource",n[4]),_&8&&e.set_custom_element_data(t,"translationurl",n[3])},d(n){n&&e.detach(t)}}}function M(a){let t,l,d,o,i,c,n,_;return{c(){t=e.element("div"),l=e.element("casino-calendar-daily-details"),e.set_custom_element_data(l,"dailybackground",d=a[6][a[7]].dailyBackground),e.set_custom_element_data(l,"dailybuttontitle",o=a[6][a[7]].dailyButtonTitle),e.set_custom_element_data(l,"dailyday",i=a[6][a[7]].dailyDay),e.set_custom_element_data(l,"dailydescription",c=a[6][a[7]].dailyDescription),e.set_custom_element_data(l,"dailyicon",n=a[6][a[7]].dailyIcon),e.set_custom_element_data(l,"dailytitle",_=a[6][a[7]].dailyTitle),e.set_custom_element_data(l,"lang",a[0]),e.set_custom_element_data(l,"clientstyling",a[1]),e.set_custom_element_data(l,"clientstylingurl",a[2]),e.set_custom_element_data(l,"mbsource",a[4]),e.set_custom_element_data(l,"translationurl",a[3]),e.set_custom_element_data(l,"class","svelte-5u3c97"),e.attr(t,"class","CalendarDetailsWrapper svelte-5u3c97")},m(s,u){e.insert(s,t,u),e.append(t,l)},p(s,u){u&192&&d!==(d=s[6][s[7]].dailyBackground)&&e.set_custom_element_data(l,"dailybackground",d),u&192&&o!==(o=s[6][s[7]].dailyButtonTitle)&&e.set_custom_element_data(l,"dailybuttontitle",o),u&192&&i!==(i=s[6][s[7]].dailyDay)&&e.set_custom_element_data(l,"dailyday",i),u&192&&c!==(c=s[6][s[7]].dailyDescription)&&e.set_custom_element_data(l,"dailydescription",c),u&192&&n!==(n=s[6][s[7]].dailyIcon)&&e.set_custom_element_data(l,"dailyicon",n),u&192&&_!==(_=s[6][s[7]].dailyTitle)&&e.set_custom_element_data(l,"dailytitle",_),u&1&&e.set_custom_element_data(l,"lang",s[0]),u&2&&e.set_custom_element_data(l,"clientstyling",s[1]),u&4&&e.set_custom_element_data(l,"clientstylingurl",s[2]),u&16&&e.set_custom_element_data(l,"mbsource",s[4]),u&8&&e.set_custom_element_data(l,"translationurl",s[3])},d(s){s&&e.detach(t)}}}function V(a){let t;function l(i,c){var n;if(i[9])return H;if(i[8])return z;if((n=i[6])!=null&&n.length)return W}let d=l(a),o=d&&d(a);return{c(){t=e.element("div"),o&&o.c(),e.attr(t,"class","svelte-5u3c97")},m(i,c){e.insert(i,t,c),o&&o.m(t,null),a[16](t)},p(i,[c]){d===(d=l(i))&&o?o.p(i,c):(o&&o.d(1),o=d&&d(i),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(i){i&&e.detach(t),o&&o.d(),a[16](null)}}}function F(a,t,l){let d;e.component_subscribe(a,e.$format,r=>l(12,d=r));let{cmsendpoint:o=""}=t,{env:i=""}=t,{userroles:c=""}=t,{lang:n="en"}=t,{clientstyling:_=""}=t,{clientstylingurl:s=""}=t,{translationurl:u}=t,{mbsource:h}=t,f,v,g=0,p=!0,w=!1,k=!1,E=window.navigator.userAgent,b=!1,P;const T=()=>{q(n)};Object.keys(L).forEach(r=>{C(r,L[r])});const j=()=>{let r=u;if(r)return fetch(r).then(m=>m.json()).then(m=>{Object.keys(m).forEach(y=>{C(y,m[y])})}).catch(m=>{console.log(m)})},O=()=>{l(8,p=!0);let r=new URL(`${o}/${n}/daily-calendar`);r.searchParams.append("userRoles",c),r.searchParams.append("env",i);let m=e.getDevice(E);m&&(m==="PC"?r.searchParams.append("device","dk"):m==="iPad"||m==="iPhone"?r.searchParams.append("device","ios"):r.searchParams.append("device","mtWeb")),fetch(r.href).then(y=>y.json()).then(y=>{l(6,v=y)}).catch(y=>{console.log(y),l(9,w=!0)}).finally(()=>{A(),l(8,p=!1)})},A=()=>{const r=f.getRootNode().host;r.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:r}}))},N=()=>{O()},S=r=>{var m;r.data&&r.data.type=="OpenCalendar"&&(l(7,g=r.data.index),l(11,b=!0),window.postMessage({type:"ShowModal",selectedIndex:g,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:(m=v[g])==null?void 0:m.dailyEvents})),r.data&&r.data.type=="ModalClosed"&&l(11,b=!1)};e.onMount(()=>(window.addEventListener("message",S,!1),e.isMobile(E)&&l(10,k=!0),()=>{window.removeEventListener("message",S)}));function R(r){e.binding_callbacks[r?"unshift":"push"](()=>{f=r,l(5,f)})}return a.$$set=r=>{"cmsendpoint"in r&&l(13,o=r.cmsendpoint),"env"in r&&l(14,i=r.env),"userroles"in r&&l(15,c=r.userroles),"lang"in r&&l(0,n=r.lang),"clientstyling"in r&&l(1,_=r.clientstyling),"clientstylingurl"in r&&l(2,s=r.clientstylingurl),"translationurl"in r&&l(3,u=r.translationurl),"mbsource"in r&&l(4,h=r.mbsource)},a.$$.update=()=>{a.$$.dirty&57345&&o&&n&&i&&c&&N(),a.$$.dirty&34&&_&&f&&e.setClientStyling(f,_),a.$$.dirty&36&&s&&f&&e.setClientStylingURL(f,s),a.$$.dirty&48&&f&&e.setStreamStyling(f,`${h}.Style`,P),a.$$.dirty&1&&n&&T(),a.$$.dirty&9&&n&&u&&j()},[n,_,s,u,h,f,v,g,p,w,k,b,d,o,i,c,R]}class B extends e.SvelteComponent{constructor(t){super(),e.init(this,t,F,V,e.safe_not_equal,{cmsendpoint:13,env:14,userroles:15,lang:0,clientstyling:1,clientstylingurl:2,translationurl:3,mbsource:4},U)}get cmsendpoint(){return this.$$.ctx[13]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[14]}set env(t){this.$$set({env:t}),e.flush()}get userroles(){return this.$$.ctx[15]}set userroles(t){this.$$set({userroles:t}),e.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[3]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(B,{cmsendpoint:{},env:{},userroles:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=B;
|