@everymatrix/casino-lobby 1.63.3 → 1.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-Csi0tXv8.js → CasinoCalendar-BONyZpYE.js} +121 -121
- package/components/{CasinoCalendar-B7GhaaB1.cjs → CasinoCalendar-DglR4hXB.cjs} +4 -4
- package/components/{CasinoCalendar-7kqLzYIJ.js → CasinoCalendar-IdM-lXMG.js} +208 -208
- package/components/CasinoCalendarDailyDetails-Cprq9q2q.js +567 -0
- package/components/CasinoCalendarDailyDetails-MqRoHEO5.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-Nhcvxsh6.js +567 -0
- package/components/CasinoCalendarDailyItem-DLR65l5h.cjs +1 -0
- package/components/{CasinoCalendarDailyItem-DBZbBU6V.js → CasinoCalendarDailyItem-j9fcZJnF.js} +45 -45
- package/components/{CasinoCalendarDailyItem-CE8ew-fF.js → CasinoCalendarDailyItem-s-bZS2Jp.js} +45 -45
- package/components/CasinoCategoriesSlider--HeFAg7z.cjs +1 -0
- package/components/{CasinoCategoriesSlider-CdwDeUzc.js → CasinoCategoriesSlider-BwaHpYXA.js} +177 -181
- package/components/{CasinoCategoriesSlider-D4LBBsWH.js → CasinoCategoriesSlider-Daxulx9q.js} +177 -181
- package/components/CasinoCollectionsProviders-B_huGyx5.cjs +1 -0
- package/components/{CasinoCollectionsProviders-BbBtM28b.js → CasinoCollectionsProviders-DCfKtqH3.js} +118 -118
- package/components/{CasinoCollectionsProviders-Bpb7sM1P.js → CasinoCollectionsProviders-QF8UYQEH.js} +122 -122
- package/components/{CasinoFavoritesSection-DoU7Ci-7.js → CasinoFavoritesSection-C8XELxGM.js} +23 -23
- package/components/{CasinoFavoritesSection-Cl-6cioz.js → CasinoFavoritesSection-CqeUShM0.js} +23 -23
- package/components/{CasinoFavoritesSection-BTM3dZNo.cjs → CasinoFavoritesSection-D-UkXryn.cjs} +1 -1
- package/components/{CasinoFilter-jbZAMnJ7.cjs → CasinoFilter-1GsfPr4q.cjs} +1 -1
- package/components/{CasinoFilter-BN4Wtk2h.js → CasinoFilter-Dm91I-UU.js} +111 -111
- package/components/{CasinoFilter-Ct-8nr2l.js → CasinoFilter-hFLJX_M2.js} +108 -108
- package/components/{CasinoGameThumbnail-BgaKFGIJ.cjs → CasinoGameThumbnail-BvOIlOOi.cjs} +2 -2
- package/components/{CasinoGameThumbnail-CDstK8Y3.js → CasinoGameThumbnail-CQSUN92B.js} +3 -3
- package/components/{CasinoGameThumbnail-CiaYYLXu.js → CasinoGameThumbnail-CXKT4Qo5.js} +3 -3
- package/components/CasinoGamesCategorySection-BQlZuqHv.js +3202 -0
- package/components/CasinoGamesCategorySection-CKD6dg5N.cjs +1 -0
- package/components/CasinoGamesCategorySection-DFvVele9.js +3170 -0
- package/components/{CasinoJackpotBanner-DX2K3Sso.js → CasinoJackpotBanner-BpAtani6.js} +108 -108
- package/components/{CasinoJackpotBanner-C5x3Mdln.js → CasinoJackpotBanner-Da7u-e53.js} +100 -100
- package/components/{CasinoJackpotBanner-BjEKJiKG.cjs → CasinoJackpotBanner-DhRXbZof.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-DgtwB0LY.js → CasinoLastPlayedSection-CLQF0gH3.js} +9 -9
- package/components/{CasinoLastPlayedSection-p0ilcCTC.js → CasinoLastPlayedSection-Cn_6Tyrh.js} +9 -9
- package/components/{CasinoLastPlayedSection-CI_0ECL-.cjs → CasinoLastPlayedSection-r9eIV0bz.cjs} +1 -1
- package/components/{CasinoLobby-CseOv8Yj.js → CasinoLobby-BBAE1WZB.js} +135 -120
- package/components/CasinoLobby-CfPzMoKq.cjs +1 -0
- package/components/{CasinoLobby-DG6dQueF.js → CasinoLobby-CnppP-Q0.js} +135 -120
- package/components/{CasinoMostPlayedSection-DkMxb2tp.js → CasinoMostPlayedSection-CD3McVCV.js} +21 -21
- package/components/{CasinoMostPlayedSection-Y7GkBB4c.js → CasinoMostPlayedSection-CEcrV8uf.js} +21 -21
- package/components/{CasinoMostPlayedSection-DgjP9n0o.cjs → CasinoMostPlayedSection-CYbsPd70.cjs} +1 -1
- package/components/{CasinoMyGames-bw2jzPSz.cjs → CasinoMyGames-BYorv67w.cjs} +1 -1
- package/components/{CasinoMyGames-iW34NgHs.js → CasinoMyGames-Clh_ZKUG.js} +39 -39
- package/components/{CasinoMyGames-lcaVAF4Y.js → CasinoMyGames-CsEp2Q-H.js} +43 -43
- package/components/{CasinoPage-DlCmgNUk.js → CasinoPage-BZesrUyc.js} +189 -189
- package/components/{CasinoPage-NFQopbTN.js → CasinoPage-CPmBzeSF.js} +189 -189
- package/components/{CasinoPage-D1nj7ju_.cjs → CasinoPage-CxXdS_KY.cjs} +1 -1
- package/components/{CasinoRandomGame-DX--_O5S.js → CasinoRandomGame-FkDPrD9e.js} +52 -52
- package/components/{CasinoRandomGame-D5rbkfAP.cjs → CasinoRandomGame-mZ24kU0C.cjs} +2 -2
- package/components/{CasinoRandomGame-BjmFZ_DM.js → CasinoRandomGame-pFW4WJwl.js} +53 -53
- package/components/{CasinoSearch-DZXW71Hu.js → CasinoSearch--m6RPf0J.js} +52 -52
- package/components/{CasinoSearch-CVPUjeCK.cjs → CasinoSearch-DUQJhn3X.cjs} +1 -1
- package/components/{CasinoSearch--VdAWMEG.js → CasinoSearch-DZTQwy97.js} +50 -50
- package/components/CasinoSlider-BR0_If4T.js +797 -0
- package/components/{CasinoSlider-8av7ygLi.js → CasinoSlider-CtMPHXUh.js} +136 -136
- package/components/CasinoSlider-e9OjOUTr.cjs +1 -0
- package/components/{CasinoSort-BJup_vct.js → CasinoSort-CFaQhCeN.js} +32 -32
- package/components/{CasinoSort-CV4P6WUH.cjs → CasinoSort-CWyjQZ3C.cjs} +1 -1
- package/components/{CasinoSort-Dn39QhX6.js → CasinoSort-CjTUg9jC.js} +32 -32
- package/components/{CasinoWinners-DY-XeuDT.js → CasinoWinners-CJI2fDKO.js} +151 -151
- package/components/{CasinoWinners-BceQ59PS.js → CasinoWinners-CvtwPY7V.js} +157 -157
- package/components/CasinoWinners-DgXBOTeI.cjs +1 -0
- package/components/{GeneralAnimationLoading-B-qNTlQZ.cjs → GeneralAnimationLoading-Bgob1QKM.cjs} +1 -1
- package/components/{GeneralAnimationLoading-Bu3UyKqx.js → GeneralAnimationLoading-CcIPxHUX.js} +6 -6
- package/components/{GeneralAnimationLoading-HRytW6Io.js → GeneralAnimationLoading-cKyjkdOs.js} +6 -6
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BYqESYAt.js → casino-play-random-game-BLl4u8GF.js} +8 -6
- package/stencil/{casino-play-random-game-QQFB7p9f.js → casino-play-random-game-C0BJMsSD.js} +8 -6
- package/stencil/{casino-play-random-game-cxzdDqDs.cjs → casino-play-random-game-Dkk0BTsb.cjs} +8 -6
- package/stencil/{index-97d17652-DYdohc-6.js → index-97d17652-BEnqZAxL.js} +1 -1
- package/stencil/{index-97d17652-_wmLv9aI.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
- package/stencil/{index-97d17652-__SOROv4.js → index-97d17652-WK_DbPS4.js} +1 -1
- package/stencil/{index-ab3202d6-CvVYHCZs.js → index-ab3202d6-CZKlrnZf.js} +1 -1
- package/stencil/{index-ab3202d6-ClNgaMg-.js → index-ab3202d6-ClDKsCJv.js} +1 -1
- package/stencil/{index-ab3202d6-4wRb7_uS.cjs → index-ab3202d6-DFbwTHas.cjs} +1 -1
- package/stencil/{ui-image-NUzlC2fG.cjs → ui-image-DLXwOzO2.cjs} +1 -1
- package/stencil/{ui-image-B5jMTPJS.js → ui-image-YGEFo8L0.js} +1 -1
- package/stencil/{ui-image-d1314fef-Juydh_ii.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
- package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
- package/stencil/{ui-image-d1314fef-CQsVQg0l.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
- package/stencil/{ui-image-DZfaeMnX.js → ui-image-w38Eao2h.js} +1 -1
- package/stencil/{ui-image_2-OR-2QD6I.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-BK3m47_O.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-DbIvpcwA.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/components/CasinoCalendarDailyDetails-BovhUzXq.js +0 -694
- package/components/CasinoCalendarDailyDetails-DRn6XNlS.cjs +0 -1
- package/components/CasinoCalendarDailyDetails-MY6BRTWf.js +0 -694
- package/components/CasinoCalendarDailyItem-i0FRrjoK.cjs +0 -1
- package/components/CasinoCategoriesSlider-DltcuPbJ.cjs +0 -1
- package/components/CasinoCollectionsProviders-BzpUMq8J.cjs +0 -1
- package/components/CasinoGamesCategorySection-8tZbstvF.cjs +0 -1
- package/components/CasinoGamesCategorySection-DJohdErr.js +0 -3139
- package/components/CasinoGamesCategorySection-Dovm2bNV.js +0 -3170
- package/components/CasinoLobby-BxdCeX3T.cjs +0 -1
- package/components/CasinoSlider-DpYcXyrl.js +0 -797
- package/components/CasinoSlider-chctBr3W.cjs +0 -1
- package/components/CasinoWinners-DMlbI9Rh.cjs +0 -1
- package/stencil/ui-image-d1314fef-Dwwl-kWw.cjs +0 -1
package/components/{CasinoCalendarDailyItem-DBZbBU6V.js → CasinoCalendarDailyItem-j9fcZJnF.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import "../stencil/ui-image-
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { a as N, $ as U, S as G, i as J, s as K, f as y, b as V, n as R, d as Q, D as A, E as B, m as O, r as u, G as F, h as X, p as r, A as Y, j as c, B as D, q as W, k as Z, o as $, l as ee, C as P, H as te, I as ae, J as ie, K as ne, L as re } from "./CasinoCalendar-BONyZpYE.js";
|
|
2
|
+
import "../stencil/ui-image-YGEFo8L0.js";
|
|
3
|
+
function q(a, t) {
|
|
4
|
+
N(a, t);
|
|
5
5
|
}
|
|
6
6
|
function oe(a) {
|
|
7
7
|
U.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const H = {
|
|
10
10
|
en: {
|
|
11
11
|
error: "500 Error - Internal Server Error",
|
|
12
12
|
loading: "Loading ...",
|
|
@@ -75,21 +75,21 @@ const q = {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
function de(a) {
|
|
78
|
-
|
|
78
|
+
V(a, "svelte-1mw336g", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 150ms ease-in-out}');
|
|
79
79
|
}
|
|
80
80
|
function se(a) {
|
|
81
|
-
let t, n, w, s, f, _, i, g, l,
|
|
81
|
+
let t, n, w, s, f, _, i, g, l, m, C, b, h = (
|
|
82
82
|
/*$_*/
|
|
83
83
|
a[8](`${/*dailyday*/
|
|
84
84
|
a[2]}`) + ""
|
|
85
|
-
),
|
|
85
|
+
), x, p, o, z, S, v, E, I, k, M, L;
|
|
86
86
|
return {
|
|
87
87
|
c() {
|
|
88
|
-
t = c("div"), n = c("div"), w = c("div"), s = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', _ = D(), i = c("div"), g = c("div"), l = c("ui-image"), C = D(), b = c("div"),
|
|
88
|
+
t = c("div"), n = c("div"), w = c("div"), s = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', _ = D(), i = c("div"), g = c("div"), l = c("ui-image"), C = D(), b = c("div"), x = W(h), p = D(), o = c("div"), z = D(), S = c("div"), v = c("button"), E = W(
|
|
89
89
|
/*dailybuttontitle*/
|
|
90
90
|
a[3]
|
|
91
|
-
), u(f, "class", "CalendarBar"), A(l.src,
|
|
92
|
-
a[1]) || B(l, "src",
|
|
91
|
+
), u(f, "class", "CalendarBar"), A(l.src, m = /*dailyicon*/
|
|
92
|
+
a[1]) || B(l, "src", m), B(
|
|
93
93
|
l,
|
|
94
94
|
"alt",
|
|
95
95
|
/*dailyicon*/
|
|
@@ -100,17 +100,17 @@ function se(a) {
|
|
|
100
100
|
(a[7] ? "Mobile" : ""));
|
|
101
101
|
},
|
|
102
102
|
m(d, e) {
|
|
103
|
-
X(d, t, e), r(t, n), r(n, w), r(w, s), r(s, f), r(s, _), r(s, i), r(i, g), r(g, l), r(i, C), r(i, b), r(b,
|
|
103
|
+
X(d, t, e), r(t, n), r(n, w), r(w, s), r(s, f), r(s, _), r(s, i), r(i, g), r(g, l), r(i, C), r(i, b), r(b, x), r(i, p), r(i, o), a[16](o), r(i, z), r(i, S), r(S, v), r(v, E), a[18](t), M || (L = Y(
|
|
104
104
|
v,
|
|
105
105
|
"click",
|
|
106
106
|
/*click_handler*/
|
|
107
107
|
a[17]
|
|
108
|
-
),
|
|
108
|
+
), M = !0);
|
|
109
109
|
},
|
|
110
110
|
p(d, [e]) {
|
|
111
111
|
e & /*dailyicon*/
|
|
112
|
-
2 && !A(l.src,
|
|
113
|
-
d[1]) && B(l, "src",
|
|
112
|
+
2 && !A(l.src, m = /*dailyicon*/
|
|
113
|
+
d[1]) && B(l, "src", m), e & /*dailyicon*/
|
|
114
114
|
2 && B(
|
|
115
115
|
l,
|
|
116
116
|
"alt",
|
|
@@ -119,9 +119,9 @@ function se(a) {
|
|
|
119
119
|
), e & /*$_, dailyday*/
|
|
120
120
|
260 && h !== (h = /*$_*/
|
|
121
121
|
d[8](`${/*dailyday*/
|
|
122
|
-
d[2]}`) + "") && O(
|
|
122
|
+
d[2]}`) + "") && O(x, h), e & /*dailybuttontitle*/
|
|
123
123
|
8 && O(
|
|
124
|
-
|
|
124
|
+
E,
|
|
125
125
|
/*dailybuttontitle*/
|
|
126
126
|
d[3]
|
|
127
127
|
), e & /*index*/
|
|
@@ -135,55 +135,55 @@ function se(a) {
|
|
|
135
135
|
i: R,
|
|
136
136
|
o: R,
|
|
137
137
|
d(d) {
|
|
138
|
-
d && Q(t), a[16](null), a[18](null),
|
|
138
|
+
d && Q(t), a[16](null), a[18](null), M = !1, L();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
function le(a, t, n) {
|
|
143
143
|
let w;
|
|
144
144
|
Z(a, re, (e) => n(8, w = e));
|
|
145
|
-
let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index:
|
|
145
|
+
let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index: m = "0" } = t, { mbsource: C } = t, { clientstyling: b = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: x = "" } = t, p, o, z = !1, S = window.navigator.userAgent;
|
|
146
146
|
const v = () => {
|
|
147
147
|
oe(s);
|
|
148
148
|
};
|
|
149
|
-
Object.keys(
|
|
150
|
-
|
|
149
|
+
Object.keys(H).forEach((e) => {
|
|
150
|
+
q(e, H[e]);
|
|
151
151
|
});
|
|
152
|
-
const
|
|
153
|
-
let e =
|
|
152
|
+
const E = () => {
|
|
153
|
+
let e = x;
|
|
154
154
|
if (e)
|
|
155
|
-
return fetch(e).then((
|
|
156
|
-
Object.keys(
|
|
157
|
-
|
|
155
|
+
return fetch(e).then((T) => T.json()).then((T) => {
|
|
156
|
+
Object.keys(T).forEach((j) => {
|
|
157
|
+
q(j, T[j]);
|
|
158
158
|
});
|
|
159
|
-
}).catch((
|
|
160
|
-
console.log(
|
|
159
|
+
}).catch((T) => {
|
|
160
|
+
console.log(T);
|
|
161
161
|
});
|
|
162
162
|
}, I = () => {
|
|
163
163
|
let e = document.createElement("div");
|
|
164
|
-
e.innerHTML = g,
|
|
164
|
+
e.innerHTML = g, p && p.append(e);
|
|
165
165
|
}, k = () => {
|
|
166
|
-
window.postMessage({ type: "OpenCalendar", index:
|
|
166
|
+
window.postMessage({ type: "OpenCalendar", index: m }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
167
167
|
};
|
|
168
|
-
$(() => (ee(S) && n(7,
|
|
168
|
+
$(() => (ee(S) && n(7, z = !0), () => {
|
|
169
169
|
}));
|
|
170
|
-
function
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
function M(e) {
|
|
171
|
+
P[e ? "unshift" : "push"](() => {
|
|
172
|
+
p = e, n(6, p);
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
const L = () => k();
|
|
176
176
|
function d(e) {
|
|
177
|
-
|
|
177
|
+
P[e ? "unshift" : "push"](() => {
|
|
178
178
|
o = e, n(5, o);
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
return a.$$set = (e) => {
|
|
182
|
-
"lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, f = e.dailybackground), "dailyicon" in e && n(1, _ = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, l = e.dailybuttontitle), "index" in e && n(4,
|
|
182
|
+
"lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, f = e.dailybackground), "dailyicon" in e && n(1, _ = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, l = e.dailybuttontitle), "index" in e && n(4, m = e.index), "mbsource" in e && n(12, C = e.mbsource), "clientstyling" in e && n(13, b = e.clientstyling), "clientstylingurl" in e && n(14, h = e.clientstylingurl), "translationurl" in e && n(15, x = e.translationurl);
|
|
183
183
|
}, a.$$.update = () => {
|
|
184
184
|
a.$$.dirty & /*lang*/
|
|
185
185
|
1024 && s && v(), a.$$.dirty & /*lang, translationurl*/
|
|
186
|
-
33792 && s &&
|
|
186
|
+
33792 && s && x && E(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
187
187
|
2063 && _ && i && g && l && f && I(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
188
188
|
8224 && b && o && te(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
189
189
|
16416 && h && o && ae(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
@@ -193,10 +193,10 @@ function le(a, t, n) {
|
|
|
193
193
|
_,
|
|
194
194
|
i,
|
|
195
195
|
l,
|
|
196
|
-
x,
|
|
197
|
-
o,
|
|
198
196
|
m,
|
|
199
|
-
|
|
197
|
+
o,
|
|
198
|
+
p,
|
|
199
|
+
z,
|
|
200
200
|
w,
|
|
201
201
|
k,
|
|
202
202
|
s,
|
|
@@ -204,20 +204,20 @@ function le(a, t, n) {
|
|
|
204
204
|
C,
|
|
205
205
|
b,
|
|
206
206
|
h,
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
x,
|
|
208
|
+
M,
|
|
209
209
|
L,
|
|
210
210
|
d
|
|
211
211
|
];
|
|
212
212
|
}
|
|
213
|
-
class ue extends
|
|
213
|
+
class ue extends G {
|
|
214
214
|
constructor(t) {
|
|
215
|
-
super(),
|
|
215
|
+
super(), J(
|
|
216
216
|
this,
|
|
217
217
|
t,
|
|
218
218
|
le,
|
|
219
219
|
se,
|
|
220
|
-
|
|
220
|
+
K,
|
|
221
221
|
{
|
|
222
222
|
lang: 10,
|
|
223
223
|
dailybackground: 0,
|
package/components/{CasinoCalendarDailyItem-CE8ew-fF.js → CasinoCalendarDailyItem-s-bZS2Jp.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import "../stencil/ui-image-
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { a as N, $ as U, S as G, i as J, s as K, f as y, b as V, n as R, d as Q, D as A, E as B, m as O, r as u, G as F, h as X, p as r, A as Y, j as c, B as D, q as W, k as Z, o as $, l as ee, C as P, H as te, I as ae, J as ie, K as ne, L as re } from "./CasinoCalendar-IdM-lXMG.js";
|
|
2
|
+
import "../stencil/ui-image-w38Eao2h.js";
|
|
3
|
+
function q(a, t) {
|
|
4
|
+
N(a, t);
|
|
5
5
|
}
|
|
6
6
|
function oe(a) {
|
|
7
7
|
U.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const H = {
|
|
10
10
|
en: {
|
|
11
11
|
error: "500 Error - Internal Server Error",
|
|
12
12
|
loading: "Loading ...",
|
|
@@ -75,21 +75,21 @@ const q = {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
function de(a) {
|
|
78
|
-
|
|
78
|
+
V(a, "svelte-1mw336g", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 150ms ease-in-out}');
|
|
79
79
|
}
|
|
80
80
|
function se(a) {
|
|
81
|
-
let t, n, w, s, f, _, i, g, l,
|
|
81
|
+
let t, n, w, s, f, _, i, g, l, m, C, b, h = (
|
|
82
82
|
/*$_*/
|
|
83
83
|
a[8](`${/*dailyday*/
|
|
84
84
|
a[2]}`) + ""
|
|
85
|
-
),
|
|
85
|
+
), x, p, o, z, S, v, E, I, k, M, L;
|
|
86
86
|
return {
|
|
87
87
|
c() {
|
|
88
|
-
t = c("div"), n = c("div"), w = c("div"), s = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', _ = D(), i = c("div"), g = c("div"), l = c("ui-image"), C = D(), b = c("div"),
|
|
88
|
+
t = c("div"), n = c("div"), w = c("div"), s = c("div"), f = c("div"), f.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', _ = D(), i = c("div"), g = c("div"), l = c("ui-image"), C = D(), b = c("div"), x = W(h), p = D(), o = c("div"), z = D(), S = c("div"), v = c("button"), E = W(
|
|
89
89
|
/*dailybuttontitle*/
|
|
90
90
|
a[3]
|
|
91
|
-
), u(f, "class", "CalendarBar"), A(l.src,
|
|
92
|
-
a[1]) || B(l, "src",
|
|
91
|
+
), u(f, "class", "CalendarBar"), A(l.src, m = /*dailyicon*/
|
|
92
|
+
a[1]) || B(l, "src", m), B(
|
|
93
93
|
l,
|
|
94
94
|
"alt",
|
|
95
95
|
/*dailyicon*/
|
|
@@ -100,17 +100,17 @@ function se(a) {
|
|
|
100
100
|
(a[7] ? "Mobile" : ""));
|
|
101
101
|
},
|
|
102
102
|
m(d, e) {
|
|
103
|
-
X(d, t, e), r(t, n), r(n, w), r(w, s), r(s, f), r(s, _), r(s, i), r(i, g), r(g, l), r(i, C), r(i, b), r(b,
|
|
103
|
+
X(d, t, e), r(t, n), r(n, w), r(w, s), r(s, f), r(s, _), r(s, i), r(i, g), r(g, l), r(i, C), r(i, b), r(b, x), r(i, p), r(i, o), a[16](o), r(i, z), r(i, S), r(S, v), r(v, E), a[18](t), M || (L = Y(
|
|
104
104
|
v,
|
|
105
105
|
"click",
|
|
106
106
|
/*click_handler*/
|
|
107
107
|
a[17]
|
|
108
|
-
),
|
|
108
|
+
), M = !0);
|
|
109
109
|
},
|
|
110
110
|
p(d, [e]) {
|
|
111
111
|
e & /*dailyicon*/
|
|
112
|
-
2 && !A(l.src,
|
|
113
|
-
d[1]) && B(l, "src",
|
|
112
|
+
2 && !A(l.src, m = /*dailyicon*/
|
|
113
|
+
d[1]) && B(l, "src", m), e & /*dailyicon*/
|
|
114
114
|
2 && B(
|
|
115
115
|
l,
|
|
116
116
|
"alt",
|
|
@@ -119,9 +119,9 @@ function se(a) {
|
|
|
119
119
|
), e & /*$_, dailyday*/
|
|
120
120
|
260 && h !== (h = /*$_*/
|
|
121
121
|
d[8](`${/*dailyday*/
|
|
122
|
-
d[2]}`) + "") && O(
|
|
122
|
+
d[2]}`) + "") && O(x, h), e & /*dailybuttontitle*/
|
|
123
123
|
8 && O(
|
|
124
|
-
|
|
124
|
+
E,
|
|
125
125
|
/*dailybuttontitle*/
|
|
126
126
|
d[3]
|
|
127
127
|
), e & /*index*/
|
|
@@ -135,55 +135,55 @@ function se(a) {
|
|
|
135
135
|
i: R,
|
|
136
136
|
o: R,
|
|
137
137
|
d(d) {
|
|
138
|
-
d && Q(t), a[16](null), a[18](null),
|
|
138
|
+
d && Q(t), a[16](null), a[18](null), M = !1, L();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
142
|
function le(a, t, n) {
|
|
143
143
|
let w;
|
|
144
144
|
Z(a, re, (e) => n(8, w = e));
|
|
145
|
-
let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index:
|
|
145
|
+
let { lang: s = "" } = t, { dailybackground: f = "" } = t, { dailyicon: _ = "" } = t, { dailyday: i = "" } = t, { dailydescription: g = "<p></p>" } = t, { dailybuttontitle: l = "" } = t, { index: m = "0" } = t, { mbsource: C } = t, { clientstyling: b = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: x = "" } = t, p, o, z = !1, S = window.navigator.userAgent;
|
|
146
146
|
const v = () => {
|
|
147
147
|
oe(s);
|
|
148
148
|
};
|
|
149
|
-
Object.keys(
|
|
150
|
-
|
|
149
|
+
Object.keys(H).forEach((e) => {
|
|
150
|
+
q(e, H[e]);
|
|
151
151
|
});
|
|
152
|
-
const
|
|
153
|
-
let e =
|
|
152
|
+
const E = () => {
|
|
153
|
+
let e = x;
|
|
154
154
|
if (e)
|
|
155
|
-
return fetch(e).then((
|
|
156
|
-
Object.keys(
|
|
157
|
-
|
|
155
|
+
return fetch(e).then((T) => T.json()).then((T) => {
|
|
156
|
+
Object.keys(T).forEach((j) => {
|
|
157
|
+
q(j, T[j]);
|
|
158
158
|
});
|
|
159
|
-
}).catch((
|
|
160
|
-
console.log(
|
|
159
|
+
}).catch((T) => {
|
|
160
|
+
console.log(T);
|
|
161
161
|
});
|
|
162
162
|
}, I = () => {
|
|
163
163
|
let e = document.createElement("div");
|
|
164
|
-
e.innerHTML = g,
|
|
164
|
+
e.innerHTML = g, p && p.append(e);
|
|
165
165
|
}, k = () => {
|
|
166
|
-
window.postMessage({ type: "OpenCalendar", index:
|
|
166
|
+
window.postMessage({ type: "OpenCalendar", index: m }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
167
167
|
};
|
|
168
|
-
$(() => (ee(S) && n(7,
|
|
168
|
+
$(() => (ee(S) && n(7, z = !0), () => {
|
|
169
169
|
}));
|
|
170
|
-
function
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
function M(e) {
|
|
171
|
+
P[e ? "unshift" : "push"](() => {
|
|
172
|
+
p = e, n(6, p);
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
const L = () => k();
|
|
176
176
|
function d(e) {
|
|
177
|
-
|
|
177
|
+
P[e ? "unshift" : "push"](() => {
|
|
178
178
|
o = e, n(5, o);
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
return a.$$set = (e) => {
|
|
182
|
-
"lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, f = e.dailybackground), "dailyicon" in e && n(1, _ = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, l = e.dailybuttontitle), "index" in e && n(4,
|
|
182
|
+
"lang" in e && n(10, s = e.lang), "dailybackground" in e && n(0, f = e.dailybackground), "dailyicon" in e && n(1, _ = e.dailyicon), "dailyday" in e && n(2, i = e.dailyday), "dailydescription" in e && n(11, g = e.dailydescription), "dailybuttontitle" in e && n(3, l = e.dailybuttontitle), "index" in e && n(4, m = e.index), "mbsource" in e && n(12, C = e.mbsource), "clientstyling" in e && n(13, b = e.clientstyling), "clientstylingurl" in e && n(14, h = e.clientstylingurl), "translationurl" in e && n(15, x = e.translationurl);
|
|
183
183
|
}, a.$$.update = () => {
|
|
184
184
|
a.$$.dirty & /*lang*/
|
|
185
185
|
1024 && s && v(), a.$$.dirty & /*lang, translationurl*/
|
|
186
|
-
33792 && s &&
|
|
186
|
+
33792 && s && x && E(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
187
187
|
2063 && _ && i && g && l && f && I(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
188
188
|
8224 && b && o && te(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
189
189
|
16416 && h && o && ae(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
@@ -193,10 +193,10 @@ function le(a, t, n) {
|
|
|
193
193
|
_,
|
|
194
194
|
i,
|
|
195
195
|
l,
|
|
196
|
-
x,
|
|
197
|
-
o,
|
|
198
196
|
m,
|
|
199
|
-
|
|
197
|
+
o,
|
|
198
|
+
p,
|
|
199
|
+
z,
|
|
200
200
|
w,
|
|
201
201
|
k,
|
|
202
202
|
s,
|
|
@@ -204,20 +204,20 @@ function le(a, t, n) {
|
|
|
204
204
|
C,
|
|
205
205
|
b,
|
|
206
206
|
h,
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
x,
|
|
208
|
+
M,
|
|
209
209
|
L,
|
|
210
210
|
d
|
|
211
211
|
];
|
|
212
212
|
}
|
|
213
|
-
class ue extends
|
|
213
|
+
class ue extends G {
|
|
214
214
|
constructor(t) {
|
|
215
|
-
super(),
|
|
215
|
+
super(), J(
|
|
216
216
|
this,
|
|
217
217
|
t,
|
|
218
218
|
le,
|
|
219
219
|
se,
|
|
220
|
-
|
|
220
|
+
K,
|
|
221
221
|
{
|
|
222
222
|
lang: 10,
|
|
223
223
|
dailybackground: 0,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DglR4hXB.cjs");function x(i,e){t.addMessages(i,e)}const J={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-e9OjOUTr.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function se(i){t.append_styles(i,"svelte-1my2wow",".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}")}function ae(i){let e,s;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",i[3]),t.set_custom_element_data(s,"datasource",i[2]),t.set_custom_element_data(s,"endpoint",i[1]),t.set_custom_element_data(s,"identity",E),t.set_custom_element_data(s,"favoritesnumber",i[16]),t.set_custom_element_data(s,"showsubgroups",i[8]),t.set_custom_element_data(s,"clientstyling",i[4]),t.set_custom_element_data(s,"clientstylingurl",i[5]),t.set_custom_element_data(s,"mbsource",i[12]),t.set_custom_element_data(s,"activeindex",i[0]),t.set_custom_element_data(s,"actionevent",i[6]),t.set_custom_element_data(s,"location",i[7]),t.set_custom_element_data(s,"categoriesicon",i[9]),t.set_custom_element_data(s,"lobbyiconimage",i[10]),t.set_custom_element_data(s,"mygamesiconimage",i[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-1my2wow")},m(n,o){t.insert(n,e,o),t.append(e,s)},p(n,o){o[0]&8&&t.set_custom_element_data(s,"lang",n[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",n[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",n[1]),o[0]&65536&&t.set_custom_element_data(s,"favoritesnumber",n[16]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",n[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",n[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",n[5]),o[0]&4096&&t.set_custom_element_data(s,"mbsource",n[12]),o[0]&1&&t.set_custom_element_data(s,"activeindex",n[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",n[6]),o[0]&128&&t.set_custom_element_data(s,"location",n[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",n[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",n[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",n[11])},d(n){n&&t.detach(e)}}}function ie(i){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-1my2wow")},m(s,n){t.insert(s,e,n)},p:t.noop,d(s){s&&t.detach(e)}}}function ne(i){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-1my2wow")},m(s,n){t.insert(s,e,n)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(i){let e;function s(l,m){return l[13]||le||re?ne:l[15]?ie:ae}let n=s(i),o=n(i);return{c(){e=t.element("div"),o.c()},m(l,m){t.insert(l,e,m),o.m(e,null),i[26](e)},p(l,m){n===(n=s(l))&&o?o.p(l,m):(o.d(1),o=n(l),o&&(o.c(),o.m(e,null)))},i:t.noop,o:t.noop,d(l){l&&t.detach(e),o.d(),i[26](null)}}}let E="CasinoSliderData",le=!1,re=!1;function me(i,e,s){let n;t.component_subscribe(i,t.$format,a=>s(32,n=a));let{endpoint:o=""}=e,{datasource:l=""}=e,{lang:m=""}=e,{userid:j=""}=e,{session:h=""}=e,{mostplayed:b=""}=e,{lastplayed:_="false"}=e,{favorites:w=""}=e,{clientstyling:N=""}=e,{clientstylingurl:L=""}=e,{activecategory:u=""}=e,{actionevent:P=""}=e,{sessioncheck:A=""}=e,{location:F="secondaryMenu"}=e,{showsubgroups:O="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:T=""}=e,{lobbyiconimage:D=""}=e,{mygamesiconimage:R=""}=e,{mbsource:G}=e,U,q,g=!0,f,d=[],y=!1,Q=window.navigator.userAgent,c,B,I=!1,k=!1;const V=()=>{fetch(v).then(r=>r.json()).then(r=>{Object.keys(r).forEach(C=>{x(C,r[C])})}).catch(r=>{console.log(r)})};Object.keys(J).forEach(a=>{x(a,J[a])});const W=()=>{I==!1&&(w=="true"||b=="true"||_=="true")&&d.splice(1,0,{id:"MYGAMES",name:U,href:"",games:[]}),t.tick(),I=!0,s(25,k=!0),Y()},X=()=>(o||(f="Endpoint is missing! Please provide a valid endpointURL.",s(15,y=!0),s(13,g=!1),console.error(f)),l||(f="Datasource is missing! Please provide a valid datasource.",s(15,y=!0),s(13,g=!1),console.error(f)),(!m||m.length<2)&&(f="Language is missing! Please provide a valid language (alpha2code)",s(15,y=!0),s(13,g=!1),console.error(f)),y),Z=()=>{if(U=n("myGamesName"),q=n("lobbyName"),!X()){let a=new URL(`${o}/v2/casino/groups/${l}`);a.searchParams.append("language",m),a.searchParams.append("platform",t.getDevice(Q)),a.searchParams.append("fields","id,name,games(href)"),fetch(a).then(r=>r.json()).then(r=>{let C=M.split(","),ee=r.items.filter(H=>{let S=!1;if(H.games.total>0&&(S=!0,M))for(let te of C)H.flags==te&&(S=!1);return S});d=[],d=d.concat(ee),d.unshift({id:"LOBBY",name:q,href:"",games:[]}),s(13,g=!1)},r=>{s(15,y=!0),console.error("There was an error while fetching the categories",r)}).catch(r=>{s(15,y=!0),console.error("There was an error while fetching the categories",r)})}},p=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},Y=()=>{window.postMessage({type:"SliderData",identity:E,data:d},window.location.href)},z=a=>{a.data&&a.data.type=="SliderLoaded"&&E==a.data.identity&&Y()};t.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));function $(a){t.binding_callbacks[a?"unshift":"push"](()=>{c=a,s(14,c)})}return i.$$set=a=>{"endpoint"in a&&s(1,o=a.endpoint),"datasource"in a&&s(2,l=a.datasource),"lang"in a&&s(3,m=a.lang),"userid"in a&&s(17,j=a.userid),"session"in a&&s(18,h=a.session),"mostplayed"in a&&s(19,b=a.mostplayed),"lastplayed"in a&&s(20,_=a.lastplayed),"favorites"in a&&s(21,w=a.favorites),"clientstyling"in a&&s(4,N=a.clientstyling),"clientstylingurl"in a&&s(5,L=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,P=a.actionevent),"sessioncheck"in a&&s(22,A=a.sessioncheck),"location"in a&&s(7,F=a.location),"showsubgroups"in a&&s(8,O=a.showsubgroups),"filteredcategories"in a&&s(23,M=a.filteredcategories),"translationurl"in a&&s(24,v=a.translationurl),"categoriesicon"in a&&s(9,T=a.categoriesicon),"lobbyiconimage"in a&&s(10,D=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,R=a.mygamesiconimage),"mbsource"in a&&s(12,G=a.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&14&&o&&l&&m&&Z(),i.$$.dirty[0]&3940354&&o&&h&&(b||_||w)&&!g&&W(),i.$$.dirty[0]&33824769&&!g&&u&&(!h||k)&&p(),i.$$.dirty[0]&16777216&&v&&V(),i.$$.dirty[0]&16400&&N&&c&&t.setClientStyling(c,N),i.$$.dirty[0]&16416&&L&&c&&t.setClientStylingURL(c,L),i.$$.dirty[0]&20480&&c&&t.setStreamStyling(c,`${G}.Style`)},s(16,B=0),[u,o,l,m,N,L,P,F,O,T,D,R,G,g,c,y,B,j,h,b,_,w,A,M,v,k,$]}class K extends t.SvelteComponent{constructor(e){super(),t.init(this,e,me,oe,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:17,session:18,mostplayed:19,lastplayed:20,favorites:21,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:22,location:7,showsubgroups:8,filteredcategories:23,translationurl:24,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11,mbsource:12},se,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[19]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(K,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},mbsource:{}},[],[],!0);exports.default=K;
|