@everymatrix/casino-lobby 1.94.3 → 1.94.5
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-DzlY2eI-.cjs → CasinoCalendar-D3JF6R8D.cjs} +1 -1
- package/components/{CasinoCalendar-BGqWe_g2.js → CasinoCalendar-Dq8GeDT3.js} +35 -35
- package/components/{CasinoCalendar-BaIZzy3s.js → CasinoCalendar-nnqgS7yF.js} +35 -35
- package/components/{CasinoCalendarDailyDetails-D40FM7Zy.cjs → CasinoCalendarDailyDetails-CcYd9LIR.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-DeeA1Omj.js → CasinoCalendarDailyDetails-CcbHnuzk.js} +34 -34
- package/components/{CasinoCalendarDailyDetails-C1T227Kf.js → CasinoCalendarDailyDetails-PUohXMWV.js} +21 -21
- package/components/{CasinoCalendarDailyItem-BvAZ_vmU.js → CasinoCalendarDailyItem-Br4Na8hg.js} +36 -36
- package/components/{CasinoCalendarDailyItem-D5Juyc2J.js → CasinoCalendarDailyItem-CM075pBy.js} +36 -36
- package/components/{CasinoCalendarDailyItem-CjEswZTf.cjs → CasinoCalendarDailyItem-JaEVZ0_f.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-BloIOV4Z.js → CasinoCategoriesSlider-B6qxUC_d.js} +19 -19
- package/components/{CasinoCategoriesSlider-BaOehUVC.cjs → CasinoCategoriesSlider-CKhUoWm4.cjs} +1 -1
- package/components/{CasinoCategoriesSlider-BOOaC9tA.js → CasinoCategoriesSlider-CpvsAYp0.js} +19 -19
- package/components/{CasinoCollectionsProviders-Cc8rGfLP.js → CasinoCollectionsProviders-B-oWBBEp.js} +65 -65
- package/components/{CasinoCollectionsProviders-DdLcugaW.js → CasinoCollectionsProviders-DT4NGWZa.js} +76 -76
- package/components/{CasinoCollectionsProviders-B-MVIms1.cjs → CasinoCollectionsProviders-OEiExhcQ.cjs} +1 -1
- package/components/{CasinoFavoritesSection-D84PSdtp.js → CasinoFavoritesSection-C1laR0Y0.js} +34 -34
- package/components/{CasinoFavoritesSection-c4tmG2gF.cjs → CasinoFavoritesSection-D-POYGxw.cjs} +1 -1
- package/components/{CasinoFavoritesSection-BOd0ddU3.js → CasinoFavoritesSection-D9xwNuGW.js} +34 -34
- package/components/{CasinoFilter-DBbiQLWc.js → CasinoFilter--seLx4j4.js} +79 -79
- package/components/{CasinoFilter-DbEPkczE.js → CasinoFilter-DsorOmw7.js} +80 -80
- package/components/{CasinoFilter-D7m2S1EC.cjs → CasinoFilter-UtOIVqFh.cjs} +1 -1
- package/components/{CasinoGameThumbnail-C7qYv74Q.js → CasinoGameThumbnail-CLY8d-wT.js} +41 -41
- package/components/{CasinoGameThumbnail-CluSxASn.js → CasinoGameThumbnail-D15QaGSx.js} +41 -41
- package/components/{CasinoGameThumbnail-xTu9xBZx.cjs → CasinoGameThumbnail-Do9XF2-l.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-gyv9VwqP.js → CasinoGamesCategorySection-Bc-TGP-C.js} +4 -4
- package/components/{CasinoGamesCategorySection-BXc1vNEC.cjs → CasinoGamesCategorySection-CpGGX0lP.cjs} +2 -2
- package/components/{CasinoGamesCategorySection-CiJ7d-97.js → CasinoGamesCategorySection-Cyg1hXpM.js} +4 -4
- package/components/{CasinoJackpotBanner-jQClSmx5.js → CasinoJackpotBanner-CEhtr5Jk.js} +79 -79
- package/components/{CasinoJackpotBanner-CI_5IcOm.cjs → CasinoJackpotBanner-CnFUZSe4.cjs} +1 -1
- package/components/{CasinoJackpotBanner-IVDXOfQs.js → CasinoJackpotBanner-CpR1Tr0J.js} +90 -90
- package/components/{CasinoLastPlayedSection-CwjkBzPr.js → CasinoLastPlayedSection-DgvFqMuo.js} +41 -41
- package/components/{CasinoLastPlayedSection-xBJKYuHK.cjs → CasinoLastPlayedSection-DwBr9Azi.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-Sh16rmfM.js → CasinoLastPlayedSection-Gu09NIfv.js} +41 -41
- package/components/{CasinoLobby-C3wblCto.js → CasinoLobby-C0W1HXMj.js} +59 -59
- package/components/{CasinoLobby-DJwEiZ8f.cjs → CasinoLobby-DeYBdEoa.cjs} +1 -1
- package/components/{CasinoLobby-CEpFQ2Lk.js → CasinoLobby-DpNvhztj.js} +59 -59
- package/components/{CasinoMostPlayedSection-BGHxZ7Uh.js → CasinoMostPlayedSection-CIrP8duG.js} +41 -41
- package/components/{CasinoMostPlayedSection-D2g7K8AC.cjs → CasinoMostPlayedSection-DCF9OdJl.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-LkVbbznV.js → CasinoMostPlayedSection-Tavje1Zx.js} +41 -41
- package/components/{CasinoMyGames-BHrCo6iY.cjs → CasinoMyGames-BA6KiZxK.cjs} +1 -1
- package/components/{CasinoMyGames-44rcHtNJ.js → CasinoMyGames-CtAxBsji.js} +25 -25
- package/components/{CasinoMyGames-BoCg0qmV.js → CasinoMyGames-DkyxdH1N.js} +23 -23
- package/components/{CasinoPage-D3lnLqEm.js → CasinoPage-BKogr3Kw.js} +10 -10
- package/components/{CasinoPage-CiCeX1I2.cjs → CasinoPage-D2KMImtW.cjs} +1 -1
- package/components/{CasinoPage-BDC03Nxf.js → CasinoPage-DKZ3wE5j.js} +10 -10
- package/components/{CasinoRandomGame-aq-d1buW.js → CasinoRandomGame-BCdkhqXD.js} +80 -80
- package/components/{CasinoRandomGame-C4SzV70T.js → CasinoRandomGame-Cd43DWIN.js} +80 -80
- package/components/{CasinoRandomGame-CLLWm1MA.cjs → CasinoRandomGame-DUqLfXs4.cjs} +1 -1
- package/components/{CasinoSearch-rBNoujCv.js → CasinoSearch-BkWCLrAq.js} +45 -45
- package/components/{CasinoSearch-B8Z70D6H.cjs → CasinoSearch-BqYN1abP.cjs} +1 -1
- package/components/{CasinoSearch-CnY4rSwc.js → CasinoSearch-BsALFsNc.js} +45 -45
- package/components/{CasinoSlider-Cv5FGAc_.js → CasinoSlider-CHPzwNhK.js} +70 -70
- package/components/{CasinoSlider-C6xTm6iL.cjs → CasinoSlider-CiUysh4w.cjs} +1 -1
- package/components/{CasinoSlider-ClCQh4VR.js → CasinoSlider-D7RGJbih.js} +74 -74
- package/components/{CasinoSort-BxZ64Ooq.js → CasinoSort-Bg8HuV-6.js} +58 -58
- package/components/{CasinoSort-BP3KM02P.js → CasinoSort-BwbFYjuJ.js} +36 -36
- package/components/{CasinoSort-DO8WFSwH.cjs → CasinoSort-HlLcDkp1.cjs} +1 -1
- package/components/{CasinoWinners-BWNhjycP.js → CasinoWinners-CGCwCjAA.js} +345 -327
- package/components/CasinoWinners-Dyx6a_cl.cjs +1 -0
- package/components/CasinoWinners-Qp1azoxw.js +1012 -0
- package/components/{GeneralAnimationLoading-BjD4FEWd.cjs → GeneralAnimationLoading-Bp699oaM.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DVgd6g54.js → GeneralAnimationLoading-CvbIKLn5.js} +5 -5
- package/components/{GeneralAnimationLoading-DzohdpGM.js → GeneralAnimationLoading-DFGoITb0.js} +9 -9
- 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/components/CasinoWinners-D34nzMVi.js +0 -994
- package/components/CasinoWinners-DqHK1VL2.cjs +0 -1
package/components/{CasinoCalendarDailyItem-D5Juyc2J.js → CasinoCalendarDailyItem-CM075pBy.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as H, b as V, S as G, y as Q, M as Z, t as g, f as J, E as j, p as K, W as O, Q as B, R as W, g as u, U as A, z as X, e as r, D as Y, q as c, V as D, Z as P, k as $, G as ee, A as te, h as N, N as ae, O as ie, P as ne, l as re, a as oe } from "./CasinoLobby-DpNvhztj.js";
|
|
2
2
|
import "../stencil/ui-image-D8_P6p7o.js";
|
|
3
|
-
function
|
|
4
|
-
|
|
3
|
+
function q(a, e) {
|
|
4
|
+
H(a, e);
|
|
5
5
|
}
|
|
6
6
|
function de(a) {
|
|
7
7
|
V.set(a);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const U = {
|
|
10
10
|
en: {
|
|
11
11
|
error: "500 Error - Internal Server Error",
|
|
12
12
|
loading: "Loading ...",
|
|
@@ -75,41 +75,41 @@ const H = {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
function le(a) {
|
|
78
|
-
|
|
78
|
+
J(a, "svelte-l9b1y7", '*,*::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-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;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
81
|
let e, i, v, l, m, _, n, b, s, x, C, h, f = (
|
|
82
82
|
/*$_*/
|
|
83
83
|
a[8](`${/*dailyday*/
|
|
84
84
|
a[2]}`) + ""
|
|
85
|
-
), p, w, o, E, k, F,
|
|
85
|
+
), p, w, o, E, k, F, T, S, I, z, L;
|
|
86
86
|
return {
|
|
87
87
|
c() {
|
|
88
|
-
e = c("div"), i = c("div"), v = c("div"), l = c("div"), m = c("div"), m.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', _ =
|
|
88
|
+
e = c("div"), i = c("div"), v = c("div"), l = c("div"), m = c("div"), m.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', _ = D(), n = c("div"), b = c("div"), s = c("ui-image"), C = D(), h = c("div"), p = P(f), w = D(), o = c("div"), E = D(), k = c("div"), F = c("button"), T = P(
|
|
89
89
|
/*dailybuttontitle*/
|
|
90
90
|
a[3]
|
|
91
|
-
), u(m, "class", "CalendarBar"),
|
|
91
|
+
), u(m, "class", "CalendarBar"), O(s.src, x = /*dailyicon*/
|
|
92
92
|
a[1]) || B(s, "src", x), B(
|
|
93
93
|
s,
|
|
94
94
|
"alt",
|
|
95
95
|
/*dailyicon*/
|
|
96
96
|
a[1]
|
|
97
97
|
), u(b, "class", "CasinoCalendarDailyIcon"), u(h, "class", "CasinoCalendarDailyTitle"), u(o, "class", "CasinoCalendarDailyItemDescription"), u(F, "class", "MoreInfoButton"), u(k, "class", "CasinoCalendarDailyItemButton"), u(n, "class", S = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
98
|
-
a[4] == "OpenCalendarModal" ? "Tear" : "")),
|
|
98
|
+
a[4] == "OpenCalendarModal" ? "Tear" : "")), A(n, "--background-image-url", "url('" + /*dailybackground*/
|
|
99
99
|
a[0] + "')"), u(l, "class", "CalendarCard"), u(v, "class", "CasinoCalendarItems"), u(i, "class", I = "Container " + /*mobileView*/
|
|
100
100
|
(a[7] ? "Mobile" : ""));
|
|
101
101
|
},
|
|
102
102
|
m(d, y) {
|
|
103
|
-
X(d, e, y), r(e, i), r(i, v), r(v, l), r(l, m), r(l, _), r(l, n), r(n, b), r(b, s), r(n, C), r(n, h), r(h, p), r(n, w), r(n, o), a[16](o), r(n, E), r(n, k), r(k, F), r(F,
|
|
103
|
+
X(d, e, y), r(e, i), r(i, v), r(v, l), r(l, m), r(l, _), r(l, n), r(n, b), r(b, s), r(n, C), r(n, h), r(h, p), r(n, w), r(n, o), a[16](o), r(n, E), r(n, k), r(k, F), r(F, T), a[18](e), z || (L = Y(
|
|
104
104
|
F,
|
|
105
105
|
"click",
|
|
106
106
|
/*click_handler*/
|
|
107
107
|
a[17]
|
|
108
|
-
),
|
|
108
|
+
), z = !0);
|
|
109
109
|
},
|
|
110
110
|
p(d, [y]) {
|
|
111
111
|
y & /*dailyicon*/
|
|
112
|
-
2 && !
|
|
112
|
+
2 && !O(s.src, x = /*dailyicon*/
|
|
113
113
|
d[1]) && B(s, "src", x), y & /*dailyicon*/
|
|
114
114
|
2 && B(
|
|
115
115
|
s,
|
|
@@ -119,23 +119,23 @@ function se(a) {
|
|
|
119
119
|
), y & /*$_, dailyday*/
|
|
120
120
|
260 && f !== (f = /*$_*/
|
|
121
121
|
d[8](`${/*dailyday*/
|
|
122
|
-
d[2]}`) + "") &&
|
|
123
|
-
8 &&
|
|
124
|
-
|
|
122
|
+
d[2]}`) + "") && W(p, f), y & /*dailybuttontitle*/
|
|
123
|
+
8 && W(
|
|
124
|
+
T,
|
|
125
125
|
/*dailybuttontitle*/
|
|
126
126
|
d[3]
|
|
127
127
|
), y & /*index*/
|
|
128
128
|
16 && S !== (S = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
|
|
129
129
|
d[4] == "OpenCalendarModal" ? "Tear" : "")) && u(n, "class", S), y & /*dailybackground*/
|
|
130
|
-
1 &&
|
|
130
|
+
1 && A(n, "--background-image-url", "url('" + /*dailybackground*/
|
|
131
131
|
d[0] + "')"), y & /*mobileView*/
|
|
132
132
|
128 && I !== (I = "Container " + /*mobileView*/
|
|
133
133
|
(d[7] ? "Mobile" : "")) && u(i, "class", I);
|
|
134
134
|
},
|
|
135
|
-
i:
|
|
136
|
-
o:
|
|
135
|
+
i: j,
|
|
136
|
+
o: j,
|
|
137
137
|
d(d) {
|
|
138
|
-
d &&
|
|
138
|
+
d && K(e), a[16](null), a[18](null), z = !1, L();
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
@@ -143,38 +143,38 @@ function ue(a, e, i) {
|
|
|
143
143
|
let v;
|
|
144
144
|
$(a, oe, (t) => i(8, v = t));
|
|
145
145
|
let { lang: l = "" } = e, { dailybackground: m = "" } = e, { dailyicon: _ = "" } = e, { dailyday: n = "" } = e, { dailydescription: b = "<p></p>" } = e, { dailybuttontitle: s = "" } = e, { index: x = "0" } = e, { mbsource: C } = e, { clientstyling: h = "" } = e, { clientstylingurl: f = "" } = e, { translationurl: p = "" } = e, w, o, E, k = !1, F = window.navigator.userAgent;
|
|
146
|
-
const
|
|
146
|
+
const T = () => {
|
|
147
147
|
de(l);
|
|
148
148
|
};
|
|
149
|
-
Object.keys(
|
|
150
|
-
|
|
149
|
+
Object.keys(U).forEach((t) => {
|
|
150
|
+
q(t, U[t]);
|
|
151
151
|
});
|
|
152
152
|
const S = () => {
|
|
153
153
|
let t = p;
|
|
154
154
|
if (t)
|
|
155
|
-
return fetch(t).then((
|
|
156
|
-
Object.keys(
|
|
157
|
-
|
|
155
|
+
return fetch(t).then((M) => M.json()).then((M) => {
|
|
156
|
+
Object.keys(M).forEach((R) => {
|
|
157
|
+
q(R, M[R]);
|
|
158
158
|
});
|
|
159
|
-
}).catch((
|
|
160
|
-
console.log(
|
|
159
|
+
}).catch((M) => {
|
|
160
|
+
console.log(M);
|
|
161
161
|
});
|
|
162
162
|
}, I = () => {
|
|
163
163
|
let t = document.createElement("div");
|
|
164
164
|
t.innerHTML = b, w && w.append(t);
|
|
165
|
-
},
|
|
165
|
+
}, z = () => {
|
|
166
166
|
window.postMessage({ type: "OpenCalendar", index: x }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
|
|
167
167
|
};
|
|
168
168
|
ee(() => (te(F) && i(7, k = !0), () => {
|
|
169
169
|
}));
|
|
170
170
|
function L(t) {
|
|
171
|
-
|
|
171
|
+
N[t ? "unshift" : "push"](() => {
|
|
172
172
|
w = t, i(6, w);
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
|
-
const d = () =>
|
|
175
|
+
const d = () => z();
|
|
176
176
|
function y(t) {
|
|
177
|
-
|
|
177
|
+
N[t ? "unshift" : "push"](() => {
|
|
178
178
|
o = t, i(5, o);
|
|
179
179
|
});
|
|
180
180
|
}
|
|
@@ -182,7 +182,7 @@ function ue(a, e, i) {
|
|
|
182
182
|
"lang" in t && i(10, l = t.lang), "dailybackground" in t && i(0, m = t.dailybackground), "dailyicon" in t && i(1, _ = t.dailyicon), "dailyday" in t && i(2, n = t.dailyday), "dailydescription" in t && i(11, b = t.dailydescription), "dailybuttontitle" in t && i(3, s = t.dailybuttontitle), "index" in t && i(4, x = t.index), "mbsource" in t && i(12, C = t.mbsource), "clientstyling" in t && i(13, h = t.clientstyling), "clientstylingurl" in t && i(14, f = t.clientstylingurl), "translationurl" in t && i(15, p = t.translationurl);
|
|
183
183
|
}, a.$$.update = () => {
|
|
184
184
|
a.$$.dirty & /*lang*/
|
|
185
|
-
1024 && l &&
|
|
185
|
+
1024 && l && T(), a.$$.dirty & /*lang, translationurl*/
|
|
186
186
|
33792 && l && p && S(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
|
|
187
187
|
2063 && _ && n && b && s && m && I(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
188
188
|
8224 && h && o && ae(o, h), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
@@ -198,7 +198,7 @@ function ue(a, e, i) {
|
|
|
198
198
|
w,
|
|
199
199
|
k,
|
|
200
200
|
v,
|
|
201
|
-
|
|
201
|
+
z,
|
|
202
202
|
l,
|
|
203
203
|
b,
|
|
204
204
|
C,
|
|
@@ -210,14 +210,14 @@ function ue(a, e, i) {
|
|
|
210
210
|
y
|
|
211
211
|
];
|
|
212
212
|
}
|
|
213
|
-
class ce extends
|
|
213
|
+
class ce extends G {
|
|
214
214
|
constructor(e) {
|
|
215
|
-
super(),
|
|
215
|
+
super(), Q(
|
|
216
216
|
this,
|
|
217
217
|
e,
|
|
218
218
|
ue,
|
|
219
219
|
se,
|
|
220
|
-
|
|
220
|
+
Z,
|
|
221
221
|
{
|
|
222
222
|
lang: 10,
|
|
223
223
|
dailybackground: 0,
|
package/components/{CasinoCalendarDailyItem-CjEswZTf.cjs → CasinoCalendarDailyItem-JaEVZ0_f.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobby-DJwEiZ8f.cjs");require("../stencil/ui-image-BNLichPz.cjs");function E(n,t){e.addMessages(n,t)}function j(n){e.$locale.set(n)}const L={en:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},hr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"ponedjeljak",tuesday:"utorak",wednesday:"srijeda",thursday:"četvrtak",friday:"petak",saturday:"subota",sunday:"nedjelja"},"pt-br":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"es-mx":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},tr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"en-us":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"}};function D(n){e.append_styles(n,"svelte-l9b1y7",'*,*::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-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;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}')}function R(n){let t,i,f,l,p,C,r,c,s,b,x,y,g=n[8](`${n[2]}`)+"",m,h,o,T,w,v,I,k,_,F,M;return{c(){t=e.element("div"),i=e.element("div"),f=e.element("div"),l=e.element("div"),p=e.element("div"),p.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',C=e.space(),r=e.element("div"),c=e.element("div"),s=e.element("ui-image"),x=e.space(),y=e.element("div"),m=e.text(g),h=e.space(),o=e.element("div"),T=e.space(),w=e.element("div"),v=e.element("button"),I=e.text(n[3]),e.attr(p,"class","CalendarBar"),e.src_url_equal(s.src,b=n[1])||e.set_custom_element_data(s,"src",b),e.set_custom_element_data(s,"alt",n[1]),e.attr(c,"class","CasinoCalendarDailyIcon"),e.attr(y,"class","CasinoCalendarDailyTitle"),e.attr(o,"class","CasinoCalendarDailyItemDescription"),e.attr(v,"class","MoreInfoButton"),e.attr(w,"class","CasinoCalendarDailyItemButton"),e.attr(r,"class",k="CasinoCalendarItemBackground CalendarPage "+(n[4]=="OpenCalendarModal"?"Tear":"")),e.set_style(r,"--background-image-url","url('"+n[0]+"')"),e.attr(l,"class","CalendarCard"),e.attr(f,"class","CasinoCalendarItems"),e.attr(i,"class",_="Container "+(n[7]?"Mobile":""))},m(d,u){e.insert(d,t,u),e.append(t,i),e.append(i,f),e.append(f,l),e.append(l,p),e.append(l,C),e.append(l,r),e.append(r,c),e.append(c,s),e.append(r,x),e.append(r,y),e.append(y,m),e.append(r,h),e.append(r,o),n[16](o),e.append(r,T),e.append(r,w),e.append(w,v),e.append(v,I),n[18](t),F||(M=e.listen(v,"click",n[17]),F=!0)},p(d,[u]){u&2&&!e.src_url_equal(s.src,b=d[1])&&e.set_custom_element_data(s,"src",b),u&2&&e.set_custom_element_data(s,"alt",d[1]),u&260&&g!==(g=d[8](`${d[2]}`)+"")&&e.set_data(m,g),u&8&&e.set_data(I,d[3]),u&16&&k!==(k="CasinoCalendarItemBackground CalendarPage "+(d[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(r,"class",k),u&1&&e.set_style(r,"--background-image-url","url('"+d[0]+"')"),u&128&&_!==(_="Container "+(d[7]?"Mobile":""))&&e.attr(i,"class",_)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),n[16](null),n[18](null),F=!1,M()}}}function O(n,t,i){let f;e.component_subscribe(n,e.$format,a=>i(8,f=a));let{lang:l=""}=t,{dailybackground:p=""}=t,{dailyicon:C=""}=t,{dailyday:r=""}=t,{dailydescription:c="<p></p>"}=t,{dailybuttontitle:s=""}=t,{index:b="0"}=t,{mbsource:x}=t,{clientstyling:y=""}=t,{clientstylingurl:g=""}=t,{translationurl:m=""}=t,h,o,T,w=!1,v=window.navigator.userAgent;const I=()=>{j(l)};Object.keys(L).forEach(a=>{E(a,L[a])});const k=()=>{let a=m;if(a)return fetch(a).then(S=>S.json()).then(S=>{Object.keys(S).forEach(z=>{E(z,S[z])})}).catch(S=>{console.log(S)})},_=()=>{let a=document.createElement("div");a.innerHTML=c,h&&h.append(a)},F=()=>{window.postMessage({type:"OpenCalendar",index:b},window.location.href),typeof gtag=="function"&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};e.onMount(()=>(e.isMobile(v)&&i(7,w=!0),()=>{}));function M(a){e.binding_callbacks[a?"unshift":"push"](()=>{h=a,i(6,h)})}const d=()=>F();function u(a){e.binding_callbacks[a?"unshift":"push"](()=>{o=a,i(5,o)})}return n.$$set=a=>{"lang"in a&&i(10,l=a.lang),"dailybackground"in a&&i(0,p=a.dailybackground),"dailyicon"in a&&i(1,C=a.dailyicon),"dailyday"in a&&i(2,r=a.dailyday),"dailydescription"in a&&i(11,c=a.dailydescription),"dailybuttontitle"in a&&i(3,s=a.dailybuttontitle),"index"in a&&i(4,b=a.index),"mbsource"in a&&i(12,x=a.mbsource),"clientstyling"in a&&i(13,y=a.clientstyling),"clientstylingurl"in a&&i(14,g=a.clientstylingurl),"translationurl"in a&&i(15,m=a.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&I(),n.$$.dirty&33792&&l&&m&&k(),n.$$.dirty&2063&&C&&r&&c&&s&&p&&_(),n.$$.dirty&8224&&y&&o&&e.setClientStyling(o,y),n.$$.dirty&16416&&g&&o&&e.setClientStylingURL(o,g),n.$$.dirty&4128&&x&&o&&e.setStreamStyling(o,`${x}.Style`,T)},[p,C,r,s,b,o,h,w,f,F,l,c,x,y,g,m,M,d,u]}class B extends e.SvelteComponent{constructor(t){super(),e.init(this,t,O,R,e.safe_not_equal,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,mbsource:12,clientstyling:13,clientstylingurl:14,translationurl:15},D)}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(t){this.$$set({dailybackground:t}),e.flush()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(t){this.$$set({dailyicon:t}),e.flush()}get dailyday(){return this.$$.ctx[2]}set dailyday(t){this.$$set({dailyday:t}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(t){this.$$set({dailydescription:t}),e.flush()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),e.flush()}get index(){return this.$$.ctx[4]}set index(t){this.$$set({index:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(B,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=B;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobby-DeYBdEoa.cjs");require("../stencil/ui-image-BNLichPz.cjs");function E(n,t){e.addMessages(n,t)}function j(n){e.$locale.set(n)}const L={en:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},hr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"ponedjeljak",tuesday:"utorak",wednesday:"srijeda",thursday:"četvrtak",friday:"petak",saturday:"subota",sunday:"nedjelja"},"pt-br":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"es-mx":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},tr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"en-us":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"}};function D(n){e.append_styles(n,"svelte-l9b1y7",'*,*::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-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;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}')}function R(n){let t,i,f,l,p,C,r,c,s,b,x,y,g=n[8](`${n[2]}`)+"",m,h,o,T,w,v,I,k,_,F,M;return{c(){t=e.element("div"),i=e.element("div"),f=e.element("div"),l=e.element("div"),p=e.element("div"),p.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',C=e.space(),r=e.element("div"),c=e.element("div"),s=e.element("ui-image"),x=e.space(),y=e.element("div"),m=e.text(g),h=e.space(),o=e.element("div"),T=e.space(),w=e.element("div"),v=e.element("button"),I=e.text(n[3]),e.attr(p,"class","CalendarBar"),e.src_url_equal(s.src,b=n[1])||e.set_custom_element_data(s,"src",b),e.set_custom_element_data(s,"alt",n[1]),e.attr(c,"class","CasinoCalendarDailyIcon"),e.attr(y,"class","CasinoCalendarDailyTitle"),e.attr(o,"class","CasinoCalendarDailyItemDescription"),e.attr(v,"class","MoreInfoButton"),e.attr(w,"class","CasinoCalendarDailyItemButton"),e.attr(r,"class",k="CasinoCalendarItemBackground CalendarPage "+(n[4]=="OpenCalendarModal"?"Tear":"")),e.set_style(r,"--background-image-url","url('"+n[0]+"')"),e.attr(l,"class","CalendarCard"),e.attr(f,"class","CasinoCalendarItems"),e.attr(i,"class",_="Container "+(n[7]?"Mobile":""))},m(d,u){e.insert(d,t,u),e.append(t,i),e.append(i,f),e.append(f,l),e.append(l,p),e.append(l,C),e.append(l,r),e.append(r,c),e.append(c,s),e.append(r,x),e.append(r,y),e.append(y,m),e.append(r,h),e.append(r,o),n[16](o),e.append(r,T),e.append(r,w),e.append(w,v),e.append(v,I),n[18](t),F||(M=e.listen(v,"click",n[17]),F=!0)},p(d,[u]){u&2&&!e.src_url_equal(s.src,b=d[1])&&e.set_custom_element_data(s,"src",b),u&2&&e.set_custom_element_data(s,"alt",d[1]),u&260&&g!==(g=d[8](`${d[2]}`)+"")&&e.set_data(m,g),u&8&&e.set_data(I,d[3]),u&16&&k!==(k="CasinoCalendarItemBackground CalendarPage "+(d[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(r,"class",k),u&1&&e.set_style(r,"--background-image-url","url('"+d[0]+"')"),u&128&&_!==(_="Container "+(d[7]?"Mobile":""))&&e.attr(i,"class",_)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),n[16](null),n[18](null),F=!1,M()}}}function O(n,t,i){let f;e.component_subscribe(n,e.$format,a=>i(8,f=a));let{lang:l=""}=t,{dailybackground:p=""}=t,{dailyicon:C=""}=t,{dailyday:r=""}=t,{dailydescription:c="<p></p>"}=t,{dailybuttontitle:s=""}=t,{index:b="0"}=t,{mbsource:x}=t,{clientstyling:y=""}=t,{clientstylingurl:g=""}=t,{translationurl:m=""}=t,h,o,T,w=!1,v=window.navigator.userAgent;const I=()=>{j(l)};Object.keys(L).forEach(a=>{E(a,L[a])});const k=()=>{let a=m;if(a)return fetch(a).then(S=>S.json()).then(S=>{Object.keys(S).forEach(z=>{E(z,S[z])})}).catch(S=>{console.log(S)})},_=()=>{let a=document.createElement("div");a.innerHTML=c,h&&h.append(a)},F=()=>{window.postMessage({type:"OpenCalendar",index:b},window.location.href),typeof gtag=="function"&>ag("event","MoreInfo",{context:"CalendarWidgetItem"})};e.onMount(()=>(e.isMobile(v)&&i(7,w=!0),()=>{}));function M(a){e.binding_callbacks[a?"unshift":"push"](()=>{h=a,i(6,h)})}const d=()=>F();function u(a){e.binding_callbacks[a?"unshift":"push"](()=>{o=a,i(5,o)})}return n.$$set=a=>{"lang"in a&&i(10,l=a.lang),"dailybackground"in a&&i(0,p=a.dailybackground),"dailyicon"in a&&i(1,C=a.dailyicon),"dailyday"in a&&i(2,r=a.dailyday),"dailydescription"in a&&i(11,c=a.dailydescription),"dailybuttontitle"in a&&i(3,s=a.dailybuttontitle),"index"in a&&i(4,b=a.index),"mbsource"in a&&i(12,x=a.mbsource),"clientstyling"in a&&i(13,y=a.clientstyling),"clientstylingurl"in a&&i(14,g=a.clientstylingurl),"translationurl"in a&&i(15,m=a.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&I(),n.$$.dirty&33792&&l&&m&&k(),n.$$.dirty&2063&&C&&r&&c&&s&&p&&_(),n.$$.dirty&8224&&y&&o&&e.setClientStyling(o,y),n.$$.dirty&16416&&g&&o&&e.setClientStylingURL(o,g),n.$$.dirty&4128&&x&&o&&e.setStreamStyling(o,`${x}.Style`,T)},[p,C,r,s,b,o,h,w,f,F,l,c,x,y,g,m,M,d,u]}class B extends e.SvelteComponent{constructor(t){super(),e.init(this,t,O,R,e.safe_not_equal,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,mbsource:12,clientstyling:13,clientstylingurl:14,translationurl:15},D)}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),e.flush()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(t){this.$$set({dailybackground:t}),e.flush()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(t){this.$$set({dailyicon:t}),e.flush()}get dailyday(){return this.$$.ctx[2]}set dailyday(t){this.$$set({dailyday:t}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(t){this.$$set({dailydescription:t}),e.flush()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),e.flush()}get index(){return this.$$.ctx[4]}set index(t){this.$$set({index:t}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(B,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=B;
|
package/components/{CasinoCategoriesSlider-BloIOV4Z.js → CasinoCategoriesSlider-B6qxUC_d.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as le, S as ce, y as me, t as r, M as ge, l as ue, f as ye, E as S, p as E, z as j, q as h, k as fe, G as be, u as de, h as he, g as D, Q as o, e as we, a as Ne, N as Le, O as Me, P as _e, _ as ve } from "./CasinoLobby-C0W1HXMj.js";
|
|
2
2
|
function X(i, e) {
|
|
3
3
|
le(i, e);
|
|
4
4
|
}
|
|
@@ -88,7 +88,7 @@ if (typeof window < "u") {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
customElements.define = i(customElements.define), import("./CasinoSlider-
|
|
91
|
+
customElements.define = i(customElements.define), import("./CasinoSlider-CHPzwNhK.js").then(({ default: e }) => {
|
|
92
92
|
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
@@ -114,7 +114,7 @@ function Ce(i) {
|
|
|
114
114
|
"endpoint",
|
|
115
115
|
/*endpoint*/
|
|
116
116
|
i[1]
|
|
117
|
-
), o(t, "identity",
|
|
117
|
+
), o(t, "identity", O), o(
|
|
118
118
|
t,
|
|
119
119
|
"favoritesnumber",
|
|
120
120
|
/*numberOfFavoredGames*/
|
|
@@ -169,7 +169,7 @@ function Ce(i) {
|
|
|
169
169
|
"mygamesiconimage",
|
|
170
170
|
/*mygamesiconimage*/
|
|
171
171
|
i[11]
|
|
172
|
-
),
|
|
172
|
+
), D(e, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
|
173
173
|
},
|
|
174
174
|
m(a, n) {
|
|
175
175
|
j(a, e, n), we(e, t);
|
|
@@ -270,7 +270,7 @@ function ke(i) {
|
|
|
270
270
|
let e;
|
|
271
271
|
return {
|
|
272
272
|
c() {
|
|
273
|
-
e = h("p"), e.textContent = "500 Error - Internal Server Error.",
|
|
273
|
+
e = h("p"), e.textContent = "500 Error - Internal Server Error.", D(e, "class", "SearchLoading svelte-1my2wow");
|
|
274
274
|
},
|
|
275
275
|
m(t, a) {
|
|
276
276
|
j(t, e, a);
|
|
@@ -285,7 +285,7 @@ function Se(i) {
|
|
|
285
285
|
let e;
|
|
286
286
|
return {
|
|
287
287
|
c() {
|
|
288
|
-
e = h("div"),
|
|
288
|
+
e = h("div"), D(e, "class", "CasinoCategoriesLoading svelte-1my2wow");
|
|
289
289
|
},
|
|
290
290
|
m(t, a) {
|
|
291
291
|
j(t, e, a);
|
|
@@ -325,11 +325,11 @@ function Ee(i) {
|
|
|
325
325
|
}
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
|
-
let
|
|
328
|
+
let O = "CasinoSliderData", je = !1, Pe = !1;
|
|
329
329
|
function Ae(i, e, t) {
|
|
330
330
|
let a;
|
|
331
331
|
fe(i, Ne, (s) => t(32, a = s));
|
|
332
|
-
let { endpoint: n = "" } = e, { datasource: l = "" } = e, { lang: m = "" } = e, { userid: T = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: I = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: C = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage:
|
|
332
|
+
let { endpoint: n = "" } = e, { datasource: l = "" } = e, { lang: m = "" } = e, { userid: T = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: I = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: C = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: Y = "" } = e, { mbsource: P } = e, p, x, H, y = !0, b, d = [], f = !1, $ = window.navigator.userAgent, g, Q, J = !1, A = !1;
|
|
333
333
|
const ee = () => {
|
|
334
334
|
fetch(C).then((c) => c.json()).then((c) => {
|
|
335
335
|
Object.keys(c).forEach((k) => {
|
|
@@ -343,15 +343,15 @@ function Ae(i, e, t) {
|
|
|
343
343
|
X(s, Z[s]);
|
|
344
344
|
});
|
|
345
345
|
const te = () => {
|
|
346
|
-
|
|
346
|
+
J == !1 && (M == "true" || N == "true" || L == "true") && d.splice(1, 0, {
|
|
347
347
|
// @ts-ignore
|
|
348
348
|
id: "MYGAMES",
|
|
349
|
-
name:
|
|
349
|
+
name: x,
|
|
350
350
|
href: "",
|
|
351
351
|
games: []
|
|
352
|
-
}), ve(),
|
|
352
|
+
}), ve(), J = !0, t(25, A = !0), K();
|
|
353
353
|
}, se = () => (n || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), l || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!m || m.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), ie = () => {
|
|
354
|
-
if (
|
|
354
|
+
if (x = a("myGamesName"), H = a("lobbyName"), !se()) {
|
|
355
355
|
let s = new URL(`${n}/v2/casino/groups/${l}`);
|
|
356
356
|
s.searchParams.append("language", m), s.searchParams.append("platform", de($)), s.searchParams.append("fields", "id,name,games(href)"), fetch(s).then((c) => c.json()).then(
|
|
357
357
|
(c) => {
|
|
@@ -380,17 +380,17 @@ function Ae(i, e, t) {
|
|
|
380
380
|
}, ae = () => {
|
|
381
381
|
let s = u.split("$");
|
|
382
382
|
t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
|
|
383
|
-
},
|
|
383
|
+
}, K = () => {
|
|
384
384
|
window.postMessage(
|
|
385
385
|
{
|
|
386
386
|
type: "SliderData",
|
|
387
|
-
identity:
|
|
387
|
+
identity: O,
|
|
388
388
|
data: d
|
|
389
389
|
},
|
|
390
390
|
window.location.href
|
|
391
391
|
);
|
|
392
392
|
}, V = (s) => {
|
|
393
|
-
s.data && s.data.type == "SliderLoaded" &&
|
|
393
|
+
s.data && s.data.type == "SliderLoaded" && O == s.data.identity && K();
|
|
394
394
|
};
|
|
395
395
|
be(() => (window.addEventListener("message", V, !1), () => {
|
|
396
396
|
window.removeEventListener("message", V);
|
|
@@ -401,7 +401,7 @@ function Ae(i, e, t) {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
return i.$$set = (s) => {
|
|
404
|
-
"endpoint" in s && t(1, n = s.endpoint), "datasource" in s && t(2, l = s.datasource), "lang" in s && t(3, m = s.lang), "userid" in s && t(17, T = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, N = s.mostplayed), "lastplayed" in s && t(20, L = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(22, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, I = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, C = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10,
|
|
404
|
+
"endpoint" in s && t(1, n = s.endpoint), "datasource" in s && t(2, l = s.datasource), "lang" in s && t(3, m = s.lang), "userid" in s && t(17, T = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, N = s.mostplayed), "lastplayed" in s && t(20, L = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(22, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, I = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, C = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, Y = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
|
|
405
405
|
}, i.$$.update = () => {
|
|
406
406
|
i.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
407
407
|
14 && n && l && m && ie(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
@@ -411,7 +411,7 @@ function Ae(i, e, t) {
|
|
|
411
411
|
16400 && _ && g && Le(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
412
412
|
16416 && v && g && Me(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
413
413
|
20480 && g && _e(g, `${P}.Style`, p);
|
|
414
|
-
}, t(16,
|
|
414
|
+
}, t(16, Q = 0), [
|
|
415
415
|
u,
|
|
416
416
|
n,
|
|
417
417
|
l,
|
|
@@ -422,13 +422,13 @@ function Ae(i, e, t) {
|
|
|
422
422
|
B,
|
|
423
423
|
I,
|
|
424
424
|
q,
|
|
425
|
+
z,
|
|
425
426
|
Y,
|
|
426
|
-
x,
|
|
427
427
|
P,
|
|
428
428
|
y,
|
|
429
429
|
g,
|
|
430
430
|
f,
|
|
431
|
-
|
|
431
|
+
Q,
|
|
432
432
|
T,
|
|
433
433
|
w,
|
|
434
434
|
N,
|
package/components/{CasinoCategoriesSlider-BaOehUVC.cjs → CasinoCategoriesSlider-CKhUoWm4.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoLobby-DJwEiZ8f.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-C6xTm6iL.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function ae(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 ie(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 ne(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 oe(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 le(i){let e;function s(l,m){return l[13]||re||me?oe:l[15]?ne:ie}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",re=!1,me=!1;function ce(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,Q,U,q,g=!0,f,d=[],y=!1,V=window.navigator.userAgent,c,B,I=!1,S=!1;const W=()=>{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 X=()=>{I==!1&&(w=="true"||b=="true"||_=="true")&&d.splice(1,0,{id:"MYGAMES",name:U,href:"",games:[]}),t.tick(),I=!0,s(25,S=!0),Y()},Z=()=>(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),p=()=>{if(U=n("myGamesName"),q=n("lobbyName"),!Z()){let a=new URL(`${o}/v2/casino/groups/${l}`);a.searchParams.append("language",m),a.searchParams.append("platform",t.getDevice(V)),a.searchParams.append("fields","id,name,games(href)"),fetch(a).then(r=>r.json()).then(r=>{let C=M.split(","),te=r.items.filter(H=>{let k=!1;if(H.games.total>0&&(k=!0,M))for(let se of C)H.flags==se&&(k=!1);return k});d=[],d=d.concat(te),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)})}},$=()=>{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 ee(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&&p(),i.$$.dirty[0]&3940354&&o&&h&&(b||_||w)&&!g&&X(),i.$$.dirty[0]&33824769&&!g&&u&&(!h||S)&&$(),i.$$.dirty[0]&16777216&&v&&W(),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`,Q)},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,S,ee]}class K extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ce,le,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},ae,[-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;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoLobby-DeYBdEoa.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-CiUysh4w.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function ae(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 ie(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 ne(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 oe(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 le(i){let e;function s(l,m){return l[13]||re||me?oe:l[15]?ne:ie}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",re=!1,me=!1;function ce(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,Q,U,q,g=!0,f,d=[],y=!1,V=window.navigator.userAgent,c,B,I=!1,S=!1;const W=()=>{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 X=()=>{I==!1&&(w=="true"||b=="true"||_=="true")&&d.splice(1,0,{id:"MYGAMES",name:U,href:"",games:[]}),t.tick(),I=!0,s(25,S=!0),Y()},Z=()=>(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),p=()=>{if(U=n("myGamesName"),q=n("lobbyName"),!Z()){let a=new URL(`${o}/v2/casino/groups/${l}`);a.searchParams.append("language",m),a.searchParams.append("platform",t.getDevice(V)),a.searchParams.append("fields","id,name,games(href)"),fetch(a).then(r=>r.json()).then(r=>{let C=M.split(","),te=r.items.filter(H=>{let k=!1;if(H.games.total>0&&(k=!0,M))for(let se of C)H.flags==se&&(k=!1);return k});d=[],d=d.concat(te),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)})}},$=()=>{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 ee(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&&p(),i.$$.dirty[0]&3940354&&o&&h&&(b||_||w)&&!g&&X(),i.$$.dirty[0]&33824769&&!g&&u&&(!h||S)&&$(),i.$$.dirty[0]&16777216&&v&&W(),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`,Q)},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,S,ee]}class K extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ce,le,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},ae,[-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;
|
package/components/{CasinoCategoriesSlider-BOOaC9tA.js → CasinoCategoriesSlider-CpvsAYp0.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as le, S as ce, y as me, M as ge, t as r, f as ue, E as S, p as E, z as j, q as h, k as ye, G as fe, u as be, h as de, g as D, Q as o, e as he, N as we, O as Ne, P as Le, l as Me, _ as _e, a as ve } from "./CasinoLobby-DpNvhztj.js";
|
|
2
2
|
function X(i, e) {
|
|
3
3
|
le(i, e);
|
|
4
4
|
}
|
|
@@ -88,7 +88,7 @@ if (typeof window != "undefined") {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
|
-
customElements.define = i(customElements.define), import("./CasinoSlider-
|
|
91
|
+
customElements.define = i(customElements.define), import("./CasinoSlider-D7RGJbih.js").then(({ default: e }) => {
|
|
92
92
|
!customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
|
|
93
93
|
});
|
|
94
94
|
}
|
|
@@ -114,7 +114,7 @@ function Ce(i) {
|
|
|
114
114
|
"endpoint",
|
|
115
115
|
/*endpoint*/
|
|
116
116
|
i[1]
|
|
117
|
-
), o(t, "identity",
|
|
117
|
+
), o(t, "identity", O), o(
|
|
118
118
|
t,
|
|
119
119
|
"favoritesnumber",
|
|
120
120
|
/*numberOfFavoredGames*/
|
|
@@ -169,7 +169,7 @@ function Ce(i) {
|
|
|
169
169
|
"mygamesiconimage",
|
|
170
170
|
/*mygamesiconimage*/
|
|
171
171
|
i[11]
|
|
172
|
-
),
|
|
172
|
+
), D(e, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
|
173
173
|
},
|
|
174
174
|
m(a, n) {
|
|
175
175
|
j(a, e, n), he(e, t);
|
|
@@ -270,7 +270,7 @@ function ke(i) {
|
|
|
270
270
|
let e;
|
|
271
271
|
return {
|
|
272
272
|
c() {
|
|
273
|
-
e = h("p"), e.textContent = "500 Error - Internal Server Error.",
|
|
273
|
+
e = h("p"), e.textContent = "500 Error - Internal Server Error.", D(e, "class", "SearchLoading svelte-1my2wow");
|
|
274
274
|
},
|
|
275
275
|
m(t, a) {
|
|
276
276
|
j(t, e, a);
|
|
@@ -285,7 +285,7 @@ function Se(i) {
|
|
|
285
285
|
let e;
|
|
286
286
|
return {
|
|
287
287
|
c() {
|
|
288
|
-
e = h("div"),
|
|
288
|
+
e = h("div"), D(e, "class", "CasinoCategoriesLoading svelte-1my2wow");
|
|
289
289
|
},
|
|
290
290
|
m(t, a) {
|
|
291
291
|
j(t, e, a);
|
|
@@ -325,11 +325,11 @@ function Ee(i) {
|
|
|
325
325
|
}
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
|
-
let
|
|
328
|
+
let O = "CasinoSliderData", je = !1, Pe = !1;
|
|
329
329
|
function Ae(i, e, t) {
|
|
330
330
|
let a;
|
|
331
331
|
ye(i, ve, (s) => t(32, a = s));
|
|
332
|
-
let { endpoint: n = "" } = e, { datasource: l = "" } = e, { lang: m = "" } = e, { userid: T = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: I = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: C = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage:
|
|
332
|
+
let { endpoint: n = "" } = e, { datasource: l = "" } = e, { lang: m = "" } = e, { userid: T = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: I = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: C = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: Y = "" } = e, { mbsource: P } = e, p, x, H, y = !0, b, d = [], f = !1, $ = window.navigator.userAgent, g, Q, J = !1, A = !1;
|
|
333
333
|
const ee = () => {
|
|
334
334
|
fetch(C).then((c) => c.json()).then((c) => {
|
|
335
335
|
Object.keys(c).forEach((k) => {
|
|
@@ -343,15 +343,15 @@ function Ae(i, e, t) {
|
|
|
343
343
|
X(s, Z[s]);
|
|
344
344
|
});
|
|
345
345
|
const te = () => {
|
|
346
|
-
|
|
346
|
+
J == !1 && (M == "true" || N == "true" || L == "true") && d.splice(1, 0, {
|
|
347
347
|
// @ts-ignore
|
|
348
348
|
id: "MYGAMES",
|
|
349
|
-
name:
|
|
349
|
+
name: x,
|
|
350
350
|
href: "",
|
|
351
351
|
games: []
|
|
352
|
-
}), _e(),
|
|
352
|
+
}), _e(), J = !0, t(25, A = !0), K();
|
|
353
353
|
}, se = () => (n || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), l || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!m || m.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), ie = () => {
|
|
354
|
-
if (
|
|
354
|
+
if (x = a("myGamesName"), H = a("lobbyName"), !se()) {
|
|
355
355
|
let s = new URL(`${n}/v2/casino/groups/${l}`);
|
|
356
356
|
s.searchParams.append("language", m), s.searchParams.append("platform", be($)), s.searchParams.append("fields", "id,name,games(href)"), fetch(s).then((c) => c.json()).then(
|
|
357
357
|
(c) => {
|
|
@@ -380,17 +380,17 @@ function Ae(i, e, t) {
|
|
|
380
380
|
}, ae = () => {
|
|
381
381
|
let s = u.split("$");
|
|
382
382
|
t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
|
|
383
|
-
},
|
|
383
|
+
}, K = () => {
|
|
384
384
|
window.postMessage(
|
|
385
385
|
{
|
|
386
386
|
type: "SliderData",
|
|
387
|
-
identity:
|
|
387
|
+
identity: O,
|
|
388
388
|
data: d
|
|
389
389
|
},
|
|
390
390
|
window.location.href
|
|
391
391
|
);
|
|
392
392
|
}, V = (s) => {
|
|
393
|
-
s.data && s.data.type == "SliderLoaded" &&
|
|
393
|
+
s.data && s.data.type == "SliderLoaded" && O == s.data.identity && K();
|
|
394
394
|
};
|
|
395
395
|
fe(() => (window.addEventListener("message", V, !1), () => {
|
|
396
396
|
window.removeEventListener("message", V);
|
|
@@ -401,7 +401,7 @@ function Ae(i, e, t) {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
return i.$$set = (s) => {
|
|
404
|
-
"endpoint" in s && t(1, n = s.endpoint), "datasource" in s && t(2, l = s.datasource), "lang" in s && t(3, m = s.lang), "userid" in s && t(17, T = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, N = s.mostplayed), "lastplayed" in s && t(20, L = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(22, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, I = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, C = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10,
|
|
404
|
+
"endpoint" in s && t(1, n = s.endpoint), "datasource" in s && t(2, l = s.datasource), "lang" in s && t(3, m = s.lang), "userid" in s && t(17, T = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, N = s.mostplayed), "lastplayed" in s && t(20, L = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(22, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, I = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, C = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, Y = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
|
|
405
405
|
}, i.$$.update = () => {
|
|
406
406
|
i.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
407
407
|
14 && n && l && m && ie(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
@@ -411,7 +411,7 @@ function Ae(i, e, t) {
|
|
|
411
411
|
16400 && _ && g && we(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
412
412
|
16416 && v && g && Ne(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
413
413
|
20480 && g && Le(g, `${P}.Style`, p);
|
|
414
|
-
}, t(16,
|
|
414
|
+
}, t(16, Q = 0), [
|
|
415
415
|
u,
|
|
416
416
|
n,
|
|
417
417
|
l,
|
|
@@ -422,13 +422,13 @@ function Ae(i, e, t) {
|
|
|
422
422
|
B,
|
|
423
423
|
I,
|
|
424
424
|
q,
|
|
425
|
+
z,
|
|
425
426
|
Y,
|
|
426
|
-
x,
|
|
427
427
|
P,
|
|
428
428
|
y,
|
|
429
429
|
g,
|
|
430
430
|
f,
|
|
431
|
-
|
|
431
|
+
Q,
|
|
432
432
|
T,
|
|
433
433
|
w,
|
|
434
434
|
N,
|