@everymatrix/casino-lobby 1.56.0 → 1.56.3
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-_T8fa3tA.js → CasinoCalendar-BU2gZgoA.js} +1019 -957
- package/components/{CasinoCalendar-CSMUhfCr.js → CasinoCalendar-BYhP1252.js} +989 -927
- package/components/CasinoCalendar-pDYRKcjG.cjs +22 -0
- package/components/{CasinoCalendarDailyDetails-DueCbaZn.js → CasinoCalendarDailyDetails-BvbgM2tY.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-DspcjY5l.cjs → CasinoCalendarDailyDetails-DkbuLEg5.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-CGRqVKFV.js → CasinoCalendarDailyDetails-zomrPGwC.js} +48 -48
- package/components/{CasinoCalendarDailyItem-DxYbPmky.js → CasinoCalendarDailyItem-BCuBW8Ar.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DpLOlYVI.js → CasinoCalendarDailyItem-DO4dUNpH.js} +41 -41
- package/components/{CasinoCalendarDailyItem-DaSrAYwS.cjs → CasinoCalendarDailyItem-DX_5vyqn.cjs} +1 -1
- package/components/CasinoCategoriesSlider-3PL0POlf.cjs +1 -0
- package/components/{CasinoCategoriesSlider-B7jmX0uM.js → CasinoCategoriesSlider-BOJ1THEs.js} +65 -65
- package/components/{CasinoCategoriesSlider-DkmZ6uE9.js → CasinoCategoriesSlider-BXOmh9s8.js} +66 -66
- package/components/CasinoCollectionsProviders-BFNXK0mZ.cjs +1 -0
- package/components/{CasinoCollectionsProviders-CFJKyip5.js → CasinoCollectionsProviders-BX_dEzdy.js} +254 -264
- package/components/{CasinoCollectionsProviders-XHUKRCjH.js → CasinoCollectionsProviders-CRAmbMuu.js} +259 -269
- package/components/{CasinoFavoritesSection-BJKuORXc.js → CasinoFavoritesSection-B74AEiJU.js} +27 -27
- package/components/{CasinoFavoritesSection-DAfQZFKH.cjs → CasinoFavoritesSection-BSNrnBte.cjs} +1 -1
- package/components/{CasinoFavoritesSection-ui8ebJSk.js → CasinoFavoritesSection-CUsEA5HO.js} +27 -27
- package/components/{CasinoFilter-Cj6Ya1tA.js → CasinoFilter-BtQon8od.js} +252 -247
- package/components/CasinoFilter-D06f7IqM.cjs +1 -0
- package/components/{CasinoFilter-t6_A4K9e.js → CasinoFilter-Du7IqNdv.js} +241 -238
- package/components/CasinoGamePage-C8xrFvIL.cjs +18 -0
- package/components/{CasinoGamePage-DQ1Yd_-1.js → CasinoGamePage-CHQ3jlqS.js} +1715 -1761
- package/components/CasinoGamePage-Dn6JZ69a.js +4250 -0
- package/components/CasinoGameThumbnail-BrbFrK0r.cjs +38 -0
- package/components/{CasinoGameThumbnail-CmtUwom1.js → CasinoGameThumbnail-CYrNJU7D.js} +275 -286
- package/components/{CasinoGameThumbnail-B15M2LaO.js → CasinoGameThumbnail-ConJfCt9.js} +374 -353
- package/components/{CasinoGamesCategorySection-D9nxbG-c.js → CasinoGamesCategorySection-BZB6Hzxo.js} +255 -248
- package/components/{CasinoGamesCategorySection-Dw87pk8g.cjs → CasinoGamesCategorySection-Bt_a-XLq.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-lpoHUMLN.js → CasinoGamesCategorySection-C4dkhfxd.js} +255 -248
- package/components/{CasinoJackpotBanner-DcwCa-Hp.js → CasinoJackpotBanner-B6za0Zjf.js} +72 -72
- package/components/{CasinoJackpotBanner-vFHgMV4j.cjs → CasinoJackpotBanner-CRGjJl2y.cjs} +1 -1
- package/components/{CasinoJackpotBanner-COZRcenh.js → CasinoJackpotBanner-DVU6U9lr.js} +79 -79
- package/components/{CasinoLastPlayedSection-DUCFQv-7.cjs → CasinoLastPlayedSection-3_wA_Avg.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-yetII3tl.js → CasinoLastPlayedSection-F-ue8Czk.js} +43 -43
- package/components/{CasinoLastPlayedSection-IZ9mars2.js → CasinoLastPlayedSection-OIDJ7awN.js} +43 -43
- package/components/{CasinoLobby-DOvk4Q1L.js → CasinoLobby-BKNxdOkN.js} +61 -61
- package/components/{CasinoLobby-CZ0buhgH.cjs → CasinoLobby-BMoJpsqG.cjs} +1 -1
- package/components/{CasinoLobby-CoCRB4M8.js → CasinoLobby-fcvl9kle.js} +59 -59
- package/components/{CasinoModal-6keCUEEx.cjs → CasinoModal-35QTkTq-.cjs} +1 -1
- package/components/{CasinoModal-DDDhdR0c.js → CasinoModal-BEa4Ij-6.js} +55 -55
- package/components/{CasinoModal-Dzu3FQyi.js → CasinoModal-CFbQNGPR.js} +55 -55
- package/components/{CasinoMostPlayedSection-CGqU9ZQv.js → CasinoMostPlayedSection--tFE0qmd.js} +50 -50
- package/components/{CasinoMostPlayedSection-D0w6a_z2.js → CasinoMostPlayedSection-B-pH8QJC.js} +50 -50
- package/components/{CasinoMostPlayedSection-BNDdZOM6.cjs → CasinoMostPlayedSection-CdXD9mvv.cjs} +1 -1
- package/components/{CasinoMyGames-CX5HKRLY.cjs → CasinoMyGames-5m477zEd.cjs} +1 -1
- package/components/{CasinoMyGames-Dy3IMfzN.js → CasinoMyGames-C6SFrIqO.js} +58 -54
- package/components/{CasinoMyGames-BKqlNnO1.js → CasinoMyGames-ol3GWqow.js} +59 -55
- package/components/{CasinoPage--1tMufa9.cjs → CasinoPage-BRTqbLqB.cjs} +1 -1
- package/components/{CasinoPage-DYcUhqdZ.js → CasinoPage-B_xsttc_.js} +99 -95
- package/components/{CasinoPage-BnrghJel.js → CasinoPage-C-PL0HAg.js} +99 -95
- package/components/{CasinoRandomGame-Cup5oHY3.js → CasinoRandomGame-DcHbcmu8.js} +71 -69
- package/components/{CasinoRandomGame-B1qCGSlR.cjs → CasinoRandomGame-DnwNz2Jt.cjs} +1 -1
- package/components/{CasinoRandomGame-Dq7oLh0O.js → CasinoRandomGame-Njs6ODWp.js} +71 -69
- package/components/{CasinoSearch-B1D8nnr0.cjs → CasinoSearch-CYInCP4K.cjs} +1 -1
- package/components/{CasinoSearch-jV0H_1Yg.js → CasinoSearch-DQDz7QLo.js} +83 -80
- package/components/{CasinoSearch-DlUwO5L4.js → CasinoSearch-H1BPrBzU.js} +83 -80
- package/components/{CasinoSlider-ChnKJ8kH.js → CasinoSlider-BbRVIW35.js} +74 -74
- package/components/{CasinoSlider-4pDZHG6x.cjs → CasinoSlider-BiIS2-lS.cjs} +1 -1
- package/components/{CasinoSlider-Ot2uFDD8.js → CasinoSlider-BpVYjfEZ.js} +85 -85
- package/components/{CasinoSort-BnarJSWg.js → CasinoSort-BCZs_7vq.js} +107 -107
- package/components/{CasinoSort-DltZUpda.js → CasinoSort-BIiSCydQ.js} +115 -113
- package/components/{CasinoSort-jqMnIqLs.cjs → CasinoSort-ClDrkZcs.cjs} +1 -1
- package/components/{CasinoWinners-Bs7Oh-m-.cjs → CasinoWinners-CNAN8Ko7.cjs} +1 -1
- package/components/{CasinoWinners-CBgbYBfP.js → CasinoWinners-D9QEbcwQ.js} +161 -159
- package/components/{CasinoWinners-BkJBCXPe.js → CasinoWinners-fcmQdKZx.js} +152 -150
- package/components/{GeneralAnimationLoading-BUY2TGQr.js → GeneralAnimationLoading-BEyM9jr_.js} +16 -16
- package/components/{GeneralAnimationLoading-BLss2VP4.cjs → GeneralAnimationLoading-dlh-TGCV.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CRju5T01.js → GeneralAnimationLoading-uTgCxIjZ.js} +16 -16
- 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-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
- package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
- package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
- package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
- package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
- package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
- package/components/CasinoCalendar-CFPK0TM5.cjs +0 -9
- package/components/CasinoCategoriesSlider-Tm48k88y.cjs +0 -1
- package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +0 -1
- package/components/CasinoFilter-BZrHKXm3.cjs +0 -1
- package/components/CasinoGamePage-BCpBojD8.cjs +0 -18
- package/components/CasinoGamePage-DH-mxVYx.js +0 -4296
- package/components/CasinoGameThumbnail-CHGG4fWS.cjs +0 -38
- package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
- package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
- package/stencil/index-29915e18-MPiqo7vY.js +0 -646
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as Te, $ as xe, S as We, i as Ae,
|
|
1
|
+
import { a as Te, $ as xe, S as We, i as Ae, f as w, c as Ie, s as Ve, b as Je, e as c, d as P, G as be, j as q, o as De, a1 as ze, l as Ee, m as Ue, p as Ne, q as Re, r as Be, w as B, y as r, L as ye, H as V, z as n, A as Oe, x as W, E as A, v as we, K as Me, F as He } from "./CasinoCalendar-BU2gZgoA.js";
|
|
2
2
|
function Ce(t, e) {
|
|
3
3
|
Te(t, e);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function Pe(t) {
|
|
6
6
|
xe.set(t);
|
|
7
7
|
}
|
|
8
8
|
const Le = {
|
|
@@ -43,14 +43,14 @@ const Le = {
|
|
|
43
43
|
loadingText: "Loading, please wait..."
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
function
|
|
46
|
+
function qe(t) {
|
|
47
47
|
Je(t, "svelte-5y37b4", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
48
48
|
}
|
|
49
49
|
function je(t, e, a) {
|
|
50
50
|
const l = t.slice();
|
|
51
51
|
return l[52] = e[a], l[54] = a, l;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Fe(t) {
|
|
54
54
|
let e, a, l, s, d, o, C, _, h, L, b, T, I;
|
|
55
55
|
function k(f, y) {
|
|
56
56
|
return (
|
|
@@ -61,8 +61,8 @@ function He(t) {
|
|
|
61
61
|
let g = k(t), m = g(t);
|
|
62
62
|
return {
|
|
63
63
|
c() {
|
|
64
|
-
e = c("div"), a = c("div"), l = c("div"), s = c("div"), d =
|
|
65
|
-
t[7] + ")"), r(o, "class", "displayContainer"),
|
|
64
|
+
e = c("div"), a = c("div"), l = c("div"), s = c("div"), d = B(), o = c("div"), m.c(), C = B(), _ = c("div"), h = c("img"), r(s, "class", "vendorLogo"), ye(s, "background-image", "url(" + /*vendorIcon*/
|
|
65
|
+
t[7] + ")"), r(o, "class", "displayContainer"), V(h.src, L = /*titleLogoImg*/
|
|
66
66
|
t[12]) || r(h, "src", L), r(h, "alt", ""), r(_, "class", "title"), r(l, "class", b = "mainWrapper " + /*visualstructure*/
|
|
67
67
|
t[0] + " " + /*mobileView*/
|
|
68
68
|
(t[5] && !/*tabletView*/
|
|
@@ -73,7 +73,7 @@ function He(t) {
|
|
|
73
73
|
t[11] + ")"), r(a, "class", "jackpotBanner"), r(e, "class", "");
|
|
74
74
|
},
|
|
75
75
|
m(f, y) {
|
|
76
|
-
|
|
76
|
+
P(f, e, y), n(e, a), n(a, l), n(l, s), n(l, d), n(l, o), m.m(o, null), n(l, C), n(l, _), n(_, h), T || (I = Oe(
|
|
77
77
|
a,
|
|
78
78
|
"click",
|
|
79
79
|
/*click_handler*/
|
|
@@ -84,7 +84,7 @@ function He(t) {
|
|
|
84
84
|
y[0] & /*vendorIcon*/
|
|
85
85
|
128 && ye(s, "background-image", "url(" + /*vendorIcon*/
|
|
86
86
|
f[7] + ")"), g === (g = k(f)) && m ? m.p(f, y) : (m.d(1), m = g(f), m && (m.c(), m.m(o, null))), y[0] & /*titleLogoImg*/
|
|
87
|
-
4096 && !
|
|
87
|
+
4096 && !V(h.src, L = /*titleLogoImg*/
|
|
88
88
|
f[12]) && r(h, "src", L), y[0] & /*visualstructure, mobileView, tabletView*/
|
|
89
89
|
97 && b !== (b = "mainWrapper " + /*visualstructure*/
|
|
90
90
|
f[0] + " " + /*mobileView*/
|
|
@@ -108,7 +108,7 @@ function Ge(t) {
|
|
|
108
108
|
e = c("div"), r(e, "class", "LoadingSpinner");
|
|
109
109
|
},
|
|
110
110
|
m(a, l) {
|
|
111
|
-
|
|
111
|
+
P(a, e, l);
|
|
112
112
|
},
|
|
113
113
|
p: be,
|
|
114
114
|
d(a) {
|
|
@@ -123,7 +123,7 @@ function Ke(t) {
|
|
|
123
123
|
e = c("p"), e.textContent = "500 Server error";
|
|
124
124
|
},
|
|
125
125
|
m(a, l) {
|
|
126
|
-
|
|
126
|
+
P(a, e, l);
|
|
127
127
|
},
|
|
128
128
|
p: be,
|
|
129
129
|
d(a) {
|
|
@@ -147,7 +147,7 @@ function Ye(t) {
|
|
|
147
147
|
), T, I, k, g, m, f, y, S, O, M, te = (
|
|
148
148
|
/*formattedLabels*/
|
|
149
149
|
t[9][1] + ""
|
|
150
|
-
), Q, E, X,
|
|
150
|
+
), Q, E, X, F = (
|
|
151
151
|
/*realtimeupdate*/
|
|
152
152
|
(t[2] === "true" ? (
|
|
153
153
|
/*updatedJackpotValues*/
|
|
@@ -156,10 +156,10 @@ function Ye(t) {
|
|
|
156
156
|
/*formattedJackpotValues*/
|
|
157
157
|
t[8][1]
|
|
158
158
|
)) + ""
|
|
159
|
-
), G, oe, Z, ae, ie, U, x, N,
|
|
159
|
+
), G, oe, Z, ae, ie, U, x, N, J, K, D, H = (
|
|
160
160
|
/*formattedLabels*/
|
|
161
161
|
t[9][2] + ""
|
|
162
|
-
), de,
|
|
162
|
+
), de, R, ne, le = (
|
|
163
163
|
/*realtimeupdate*/
|
|
164
164
|
(t[2] === "true" ? (
|
|
165
165
|
/*updatedJackpotValues*/
|
|
@@ -183,33 +183,33 @@ function Ye(t) {
|
|
|
183
183
|
), ke, _e, he, ve;
|
|
184
184
|
return {
|
|
185
185
|
c() {
|
|
186
|
-
e = c("div"), a = c("div"), l = c("div"), s = c("img"), o = c("span"), _ =
|
|
186
|
+
e = c("div"), a = c("div"), l = c("div"), s = c("img"), o = c("span"), _ = W(C), h = c("span"), L = c("span"), T = W(b), I = B(), k = c("span"), g = W(
|
|
187
187
|
/*currency*/
|
|
188
188
|
t[1]
|
|
189
|
-
), m =
|
|
189
|
+
), m = B(), f = c("div"), y = c("div"), S = c("img"), M = c("span"), Q = W(te), E = c("span"), X = c("span"), G = W(F), oe = B(), Z = c("span"), ae = W(
|
|
190
190
|
/*currency*/
|
|
191
191
|
t[1]
|
|
192
|
-
), ie =
|
|
192
|
+
), ie = B(), U = c("div"), x = c("div"), N = c("div"), J = c("img"), D = c("span"), de = W(H), R = c("span"), ne = c("span"), ue = W(le), ge = B(), $ = c("span"), pe = W(
|
|
193
193
|
/*currency*/
|
|
194
194
|
t[1]
|
|
195
|
-
), fe =
|
|
195
|
+
), fe = B(), Y = c("div"), ee = c("div"), z = c("img"), se = c("span"), i = W(ce), u = c("span"), j = c("span"), ke = W(me), _e = B(), he = c("span"), ve = W(
|
|
196
196
|
/*currency*/
|
|
197
197
|
t[1]
|
|
198
|
-
), r(s, "class", "displayCardIcon"),
|
|
199
|
-
t[10][0]) || r(s, "src", d), r(s, "alt", ""), r(o, "class", "cardLabel"), r(l, "class", "iconWrapper"), r(L, "class", "jackpotValue"), r(k, "class", "jackpot-currency"), r(h, "class", "cardTextWrapper"), r(a, "class", "displayCard"), r(S, "class", "displayCardIcon"),
|
|
200
|
-
t[10][1]) || r(S, "src", O), r(S, "alt", ""), r(M, "class", "cardLabel"), r(y, "class", "iconWrapper"), r(X, "class", "jackpotValue"), r(Z, "class", "jackpot-currency"), r(E, "class", "cardTextWrapper"), r(f, "class", "displayCard"), r(e, "class", "pairWrapper"), r(
|
|
201
|
-
t[10][2]) || r(
|
|
198
|
+
), r(s, "class", "displayCardIcon"), V(s.src, d = /*caticons*/
|
|
199
|
+
t[10][0]) || r(s, "src", d), r(s, "alt", ""), r(o, "class", "cardLabel"), r(l, "class", "iconWrapper"), r(L, "class", "jackpotValue"), r(k, "class", "jackpot-currency"), r(h, "class", "cardTextWrapper"), r(a, "class", "displayCard"), r(S, "class", "displayCardIcon"), V(S.src, O = /*caticons*/
|
|
200
|
+
t[10][1]) || r(S, "src", O), r(S, "alt", ""), r(M, "class", "cardLabel"), r(y, "class", "iconWrapper"), r(X, "class", "jackpotValue"), r(Z, "class", "jackpot-currency"), r(E, "class", "cardTextWrapper"), r(f, "class", "displayCard"), r(e, "class", "pairWrapper"), r(J, "class", "displayCardIcon"), V(J.src, K = /*caticons*/
|
|
201
|
+
t[10][2]) || r(J, "src", K), r(J, "alt", ""), r(D, "class", "cardLabel"), r(N, "class", "iconWrapper"), r(ne, "class", "jackpotValue"), r($, "class", "jackpot-currency"), r(R, "class", "cardTextWrapper"), r(x, "class", "displayCard"), r(z, "class", "displayCardIcon"), V(z.src, re = /*caticons*/
|
|
202
202
|
t[10][3]) || r(z, "src", re), r(z, "alt", ""), r(se, "class", "cardLabel"), r(ee, "class", "iconWrapper"), r(j, "class", "jackpotValue"), r(he, "class", "jackpot-currency"), r(u, "class", "cardTextWrapper"), r(Y, "class", "displayCard"), r(U, "class", "pairWrapper");
|
|
203
203
|
},
|
|
204
204
|
m(p, v) {
|
|
205
|
-
|
|
205
|
+
P(p, e, v), n(e, a), n(a, l), n(l, s), n(l, o), n(o, _), n(a, h), n(h, L), n(L, T), n(h, I), n(h, k), n(k, g), n(e, m), n(e, f), n(f, y), n(y, S), n(y, M), n(M, Q), n(f, E), n(E, X), n(X, G), n(E, oe), n(E, Z), n(Z, ae), P(p, ie, v), P(p, U, v), n(U, x), n(x, N), n(N, J), n(N, D), n(D, de), n(x, R), n(R, ne), n(ne, ue), n(R, ge), n(R, $), n($, pe), n(U, fe), n(U, Y), n(Y, ee), n(ee, z), n(ee, se), n(se, i), n(Y, u), n(u, j), n(j, ke), n(u, _e), n(u, he), n(he, ve);
|
|
206
206
|
},
|
|
207
207
|
p(p, v) {
|
|
208
208
|
v[0] & /*caticons*/
|
|
209
|
-
1024 && !
|
|
209
|
+
1024 && !V(s.src, d = /*caticons*/
|
|
210
210
|
p[10][0]) && r(s, "src", d), v[0] & /*formattedLabels*/
|
|
211
211
|
512 && C !== (C = /*formattedLabels*/
|
|
212
|
-
p[9][0] + "") &&
|
|
212
|
+
p[9][0] + "") && A(_, C), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
213
213
|
16644 && b !== (b = /*realtimeupdate*/
|
|
214
214
|
(p[2] === "true" ? (
|
|
215
215
|
/*updatedJackpotValues*/
|
|
@@ -217,33 +217,33 @@ function Ye(t) {
|
|
|
217
217
|
) : (
|
|
218
218
|
/*formattedJackpotValues*/
|
|
219
219
|
p[8][0]
|
|
220
|
-
)) + "") &&
|
|
221
|
-
2 &&
|
|
220
|
+
)) + "") && A(T, b), v[0] & /*currency*/
|
|
221
|
+
2 && A(
|
|
222
222
|
g,
|
|
223
223
|
/*currency*/
|
|
224
224
|
p[1]
|
|
225
225
|
), v[0] & /*caticons*/
|
|
226
|
-
1024 && !
|
|
226
|
+
1024 && !V(S.src, O = /*caticons*/
|
|
227
227
|
p[10][1]) && r(S, "src", O), v[0] & /*formattedLabels*/
|
|
228
228
|
512 && te !== (te = /*formattedLabels*/
|
|
229
|
-
p[9][1] + "") &&
|
|
230
|
-
16644 &&
|
|
229
|
+
p[9][1] + "") && A(Q, te), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
230
|
+
16644 && F !== (F = /*realtimeupdate*/
|
|
231
231
|
(p[2] === "true" ? (
|
|
232
232
|
/*updatedJackpotValues*/
|
|
233
233
|
p[14][1]
|
|
234
234
|
) : (
|
|
235
235
|
/*formattedJackpotValues*/
|
|
236
236
|
p[8][1]
|
|
237
|
-
)) + "") &&
|
|
238
|
-
2 &&
|
|
237
|
+
)) + "") && A(G, F), v[0] & /*currency*/
|
|
238
|
+
2 && A(
|
|
239
239
|
ae,
|
|
240
240
|
/*currency*/
|
|
241
241
|
p[1]
|
|
242
242
|
), v[0] & /*caticons*/
|
|
243
|
-
1024 && !J
|
|
244
|
-
p[10][2]) && r(
|
|
245
|
-
512 &&
|
|
246
|
-
p[9][2] + "") &&
|
|
243
|
+
1024 && !V(J.src, K = /*caticons*/
|
|
244
|
+
p[10][2]) && r(J, "src", K), v[0] & /*formattedLabels*/
|
|
245
|
+
512 && H !== (H = /*formattedLabels*/
|
|
246
|
+
p[9][2] + "") && A(de, H), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
247
247
|
16644 && le !== (le = /*realtimeupdate*/
|
|
248
248
|
(p[2] === "true" ? (
|
|
249
249
|
/*updatedJackpotValues*/
|
|
@@ -251,16 +251,16 @@ function Ye(t) {
|
|
|
251
251
|
) : (
|
|
252
252
|
/*formattedJackpotValues*/
|
|
253
253
|
p[8][2]
|
|
254
|
-
)) + "") &&
|
|
255
|
-
2 &&
|
|
254
|
+
)) + "") && A(ue, le), v[0] & /*currency*/
|
|
255
|
+
2 && A(
|
|
256
256
|
pe,
|
|
257
257
|
/*currency*/
|
|
258
258
|
p[1]
|
|
259
259
|
), v[0] & /*caticons*/
|
|
260
|
-
1024 && !
|
|
260
|
+
1024 && !V(z.src, re = /*caticons*/
|
|
261
261
|
p[10][3]) && r(z, "src", re), v[0] & /*formattedLabels*/
|
|
262
262
|
512 && ce !== (ce = /*formattedLabels*/
|
|
263
|
-
p[9][3] + "") &&
|
|
263
|
+
p[9][3] + "") && A(i, ce), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
264
264
|
16644 && me !== (me = /*realtimeupdate*/
|
|
265
265
|
(p[2] === "true" ? (
|
|
266
266
|
/*updatedJackpotValues*/
|
|
@@ -268,8 +268,8 @@ function Ye(t) {
|
|
|
268
268
|
) : (
|
|
269
269
|
/*formattedJackpotValues*/
|
|
270
270
|
p[8][3]
|
|
271
|
-
)) + "") &&
|
|
272
|
-
2 &&
|
|
271
|
+
)) + "") && A(ke, me), v[0] & /*currency*/
|
|
272
|
+
2 && A(
|
|
273
273
|
ve,
|
|
274
274
|
/*currency*/
|
|
275
275
|
p[1]
|
|
@@ -288,12 +288,12 @@ function Qe(t) {
|
|
|
288
288
|
c() {
|
|
289
289
|
for (let s = 0; s < l.length; s += 1)
|
|
290
290
|
l[s].c();
|
|
291
|
-
e =
|
|
291
|
+
e = Me();
|
|
292
292
|
},
|
|
293
293
|
m(s, d) {
|
|
294
294
|
for (let o = 0; o < l.length; o += 1)
|
|
295
295
|
l[o] && l[o].m(s, d);
|
|
296
|
-
|
|
296
|
+
P(s, e, d);
|
|
297
297
|
},
|
|
298
298
|
p(s, d) {
|
|
299
299
|
if (d[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
@@ -310,7 +310,7 @@ function Qe(t) {
|
|
|
310
310
|
}
|
|
311
311
|
},
|
|
312
312
|
d(s) {
|
|
313
|
-
s && q(e),
|
|
313
|
+
s && q(e), He(l, s);
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
316
|
}
|
|
@@ -339,21 +339,21 @@ function Se(t) {
|
|
|
339
339
|
), b, T, I, k;
|
|
340
340
|
return {
|
|
341
341
|
c() {
|
|
342
|
-
e = c("div"), a = c("div"), l = c("img"), d = c("span"), C =
|
|
342
|
+
e = c("div"), a = c("div"), l = c("img"), d = c("span"), C = W(o), _ = c("span"), h = c("span"), b = W(L), T = B(), I = c("span"), k = W(
|
|
343
343
|
/*currency*/
|
|
344
344
|
t[1]
|
|
345
|
-
), r(l, "class", "displayCardIcon"),
|
|
345
|
+
), r(l, "class", "displayCardIcon"), V(l.src, s = /*caticons*/
|
|
346
346
|
t[10][
|
|
347
347
|
/*i*/
|
|
348
348
|
t[54]
|
|
349
349
|
]) || r(l, "src", s), r(l, "alt", ""), r(d, "class", "cardLabel"), r(a, "class", "iconWrapper"), r(h, "class", "jackpotValue"), r(I, "class", "jackpot-currency"), r(_, "class", "cardTextWrapper"), r(e, "class", "displayCard");
|
|
350
350
|
},
|
|
351
351
|
m(g, m) {
|
|
352
|
-
|
|
352
|
+
P(g, e, m), n(e, a), n(a, l), n(a, d), n(d, C), n(e, _), n(_, h), n(h, b), n(_, T), n(_, I), n(I, k);
|
|
353
353
|
},
|
|
354
354
|
p(g, m) {
|
|
355
355
|
m[0] & /*caticons*/
|
|
356
|
-
1024 && !
|
|
356
|
+
1024 && !V(l.src, s = /*caticons*/
|
|
357
357
|
g[10][
|
|
358
358
|
/*i*/
|
|
359
359
|
g[54]
|
|
@@ -362,7 +362,7 @@ function Se(t) {
|
|
|
362
362
|
g[9][
|
|
363
363
|
/*i*/
|
|
364
364
|
g[54]
|
|
365
|
-
] + "") &&
|
|
365
|
+
] + "") && A(C, o), m[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
366
366
|
16644 && L !== (L = /*realtimeupdate*/
|
|
367
367
|
(g[2] === "true" ? (
|
|
368
368
|
/*updatedJackpotValues*/
|
|
@@ -376,8 +376,8 @@ function Se(t) {
|
|
|
376
376
|
/*i*/
|
|
377
377
|
g[54]
|
|
378
378
|
] ?? ""
|
|
379
|
-
)) + "") &&
|
|
380
|
-
2 &&
|
|
379
|
+
)) + "") && A(b, L), m[0] & /*currency*/
|
|
380
|
+
2 && A(
|
|
381
381
|
k,
|
|
382
382
|
/*currency*/
|
|
383
383
|
g[1]
|
|
@@ -395,7 +395,7 @@ function Xe(t) {
|
|
|
395
395
|
/*hasErrors*/
|
|
396
396
|
d[13] ? Ke : (
|
|
397
397
|
/*isLoading*/
|
|
398
|
-
d[4] ? Ge :
|
|
398
|
+
d[4] ? Ge : Fe
|
|
399
399
|
)
|
|
400
400
|
);
|
|
401
401
|
}
|
|
@@ -405,7 +405,7 @@ function Xe(t) {
|
|
|
405
405
|
e = c("div"), s.c();
|
|
406
406
|
},
|
|
407
407
|
m(d, o) {
|
|
408
|
-
|
|
408
|
+
P(d, e, o), s.m(e, null), t[34](e);
|
|
409
409
|
},
|
|
410
410
|
p(d, o) {
|
|
411
411
|
l === (l = a(d)) && s ? s.p(d, o) : (s.d(1), s = l(d), s && (s.c(), s.m(e, null)));
|
|
@@ -418,7 +418,7 @@ function Xe(t) {
|
|
|
418
418
|
};
|
|
419
419
|
}
|
|
420
420
|
function Ze(t, e, a) {
|
|
421
|
-
let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: o = "" } = e, { caticon2: C = "" } = e, { caticon3: _ = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: L = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: T = "" } = e, { titlelogopath: I = "" } = e, { lang: k = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: f = "" } = e, { endpoint: y = "" } = e, { gameid: S = "" } = e, { mbsource: O } = e, { realtimeupdate: M = "false" } = e, te = window.navigator.userAgent, Q = !1, E = !1, X = "",
|
|
421
|
+
let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: o = "" } = e, { caticon2: C = "" } = e, { caticon3: _ = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: L = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: T = "" } = e, { titlelogopath: I = "" } = e, { lang: k = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: f = "" } = e, { endpoint: y = "" } = e, { gameid: S = "" } = e, { mbsource: O } = e, { realtimeupdate: M = "false" } = e, te = window.navigator.userAgent, Q = !1, E = !1, X = "", F = [], G = [], oe = [], Z = [], ae = [], ie = "", U = "", x, N = !0, J = !1, K, D = null, H = [];
|
|
422
422
|
const de = () => {
|
|
423
423
|
fetch(f).then((u) => u.json()).then((u) => {
|
|
424
424
|
Object.keys(u).forEach((j) => {
|
|
@@ -431,9 +431,9 @@ function Ze(t, e, a) {
|
|
|
431
431
|
Object.keys(Le).forEach((i) => {
|
|
432
432
|
Ce(i, Le[i]);
|
|
433
433
|
});
|
|
434
|
-
const
|
|
434
|
+
const R = ["typeSpread", "typeLeft"], ne = (i) => {
|
|
435
435
|
const u = i?.items[0]?.additionalData;
|
|
436
|
-
u && Object.values(u).forEach((j) =>
|
|
436
|
+
u && Object.values(u).forEach((j) => F.push(+j));
|
|
437
437
|
}, le = (i) => {
|
|
438
438
|
a(7, X = i?.items[0]?.vendorLogo || "");
|
|
439
439
|
}, ue = () => {
|
|
@@ -442,7 +442,7 @@ function Ze(t, e, a) {
|
|
|
442
442
|
i.searchParams.append("filter", `id=${S}`), i.searchParams.append("language", k), i.searchParams.append("additionalDataCurrency", b), fetch(i.href).then((u) => u.json().then((j) => {
|
|
443
443
|
a(4, N = !1), K = j, G.includes(S) && (ne(K), le(K));
|
|
444
444
|
}).catch((j) => {
|
|
445
|
-
a(13,
|
|
445
|
+
a(13, J = !0), a(4, N = !1), console.error(j);
|
|
446
446
|
}));
|
|
447
447
|
}
|
|
448
448
|
}, ge = () => {
|
|
@@ -451,7 +451,7 @@ function Ze(t, e, a) {
|
|
|
451
451
|
a(32, G = u.egtJackpotIds.map((j) => j));
|
|
452
452
|
});
|
|
453
453
|
}, $ = () => {
|
|
454
|
-
a(5, Q =
|
|
454
|
+
a(5, Q = Ne(te) && window.innerHeight / window.innerWidth > 1), a(6, E = fe()), F.length !== 0 && a(8, oe = pe(F)), a(9, Z = h ? h.split(",").map((i) => i.trim().toUpperCase()) : new Array(4).fill("")), R.includes(l.trim()) ? a(0, l = l.trim()) : (console.warn(`Invalid Attribute Value: "${l}" is not a valid value for the "visualstructure" attribute. Defaulting to "${R[0]}"`), a(0, l = R[0])), a(11, ie = T && Q && !E ? T : L), a(12, U = I), a(10, ae = [d, o, C, _]);
|
|
455
455
|
}, pe = (i) => i.map((u) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(u)), fe = () => {
|
|
456
456
|
const i = window.innerHeight / window.innerWidth;
|
|
457
457
|
return 0.75 < i && i < 1.6;
|
|
@@ -461,23 +461,23 @@ function Ze(t, e, a) {
|
|
|
461
461
|
gameId: `${S}`
|
|
462
462
|
});
|
|
463
463
|
}, ee = () => {
|
|
464
|
-
|
|
464
|
+
Pe(k);
|
|
465
465
|
}, z = (i) => {
|
|
466
466
|
const u = JSON.parse(i.data);
|
|
467
467
|
if (u.success && u.data.messageType === "UpdateEgtJackpotBalance" && u.data.jackpotAlias.split("_")[0] === S) {
|
|
468
468
|
const j = Number(u.data.jackpotAlias.split("_")[1]) - 1;
|
|
469
|
-
a(14,
|
|
469
|
+
a(14, H[j] = u.data.data[`${b}`].balance.toString(), H);
|
|
470
470
|
}
|
|
471
471
|
}, re = () => {
|
|
472
|
-
M === "true" && ($(), a(14,
|
|
472
|
+
M === "true" && ($(), a(14, H = ["", "", "", ""]), D = new EventSource(`${y}/v1/encoder/jackpot/*/update`), D.addEventListener("message", z));
|
|
473
473
|
};
|
|
474
|
-
|
|
475
|
-
}),
|
|
474
|
+
De(() => () => {
|
|
475
|
+
}), ze(() => {
|
|
476
476
|
D && (D.removeEventListener("message", z), D.close(), D = null);
|
|
477
477
|
});
|
|
478
478
|
const se = () => Y();
|
|
479
479
|
function ce(i) {
|
|
480
|
-
|
|
480
|
+
Re[i ? "unshift" : "push"](() => {
|
|
481
481
|
x = i, a(3, x);
|
|
482
482
|
});
|
|
483
483
|
}
|
|
@@ -486,10 +486,10 @@ function Ze(t, e, a) {
|
|
|
486
486
|
}, t.$$.update = () => {
|
|
487
487
|
t.$$.dirty[0] & /*endpoint*/
|
|
488
488
|
536870912 && y && ge(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
489
|
-
67108872 && g && x &&
|
|
490
|
-
134217736 && m && x &&
|
|
489
|
+
67108872 && g && x && Be(x, g), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
490
|
+
134217736 && m && x && Ee(x, m), t.$$.dirty[0] & /*customStylingContainer*/
|
|
491
491
|
8 | t.$$.dirty[1] & /*mbsource*/
|
|
492
|
-
1 && O && x &&
|
|
492
|
+
1 && O && x && Ue(x, `${O}.Style`), t.$$.dirty[0] & /*endpoint, lang, currency*/
|
|
493
493
|
570425346 | t.$$.dirty[1] & /*validGameIds*/
|
|
494
494
|
2 && y && k && b && G.length > 0 && ue(), t.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
495
495
|
33554450 && b && k && !N && $(), t.$$.dirty[0] & /*lang*/
|
|
@@ -510,8 +510,8 @@ function Ze(t, e, a) {
|
|
|
510
510
|
ae,
|
|
511
511
|
ie,
|
|
512
512
|
U,
|
|
513
|
-
|
|
514
|
-
|
|
513
|
+
J,
|
|
514
|
+
H,
|
|
515
515
|
Y,
|
|
516
516
|
s,
|
|
517
517
|
d,
|
|
@@ -541,7 +541,7 @@ class $e extends We {
|
|
|
541
541
|
e,
|
|
542
542
|
Ze,
|
|
543
543
|
Xe,
|
|
544
|
-
|
|
544
|
+
Ve,
|
|
545
545
|
{
|
|
546
546
|
visualstructure: 0,
|
|
547
547
|
title: 16,
|
|
@@ -563,7 +563,7 @@ class $e extends We {
|
|
|
563
563
|
mbsource: 31,
|
|
564
564
|
realtimeupdate: 2
|
|
565
565
|
},
|
|
566
|
-
|
|
566
|
+
qe,
|
|
567
567
|
[-1, -1]
|
|
568
568
|
);
|
|
569
569
|
}
|
|
@@ -682,7 +682,7 @@ class $e extends We {
|
|
|
682
682
|
this.$$set({ realtimeupdate: e }), w();
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
|
-
|
|
685
|
+
Ie($e, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
|
|
686
686
|
export {
|
|
687
687
|
$e as default
|
|
688
688
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CFPK0TM5.cjs");function pe(a,t){e.addMessages(a,t)}function he(a){e.$locale.set(a)}const ue={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function ye(a){e.append_styles(a,"svelte-5y37b4",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function ge(a,t,n){const i=a.slice();return i[52]=t[n],i[54]=n,i}function _e(a){let t,n,i,r,o,s,b,_,f,v,m,L,j;function h(c,g){return c[6]?ke:Ce}let C=h(a),d=C(a);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div"),r=e.element("div"),o=e.space(),s=e.element("div"),d.c(),b=e.space(),_=e.element("div"),f=e.element("img"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+a[7]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(f.src,v=a[12])||e.attr(f,"src",v),e.attr(f,"alt",""),e.attr(_,"class","title"),e.attr(i,"class",m="mainWrapper "+a[0]+" "+(a[5]&&!a[6]?"mobile":a[6]?"tablet":"")),e.set_style(i,"background","url("+a[11]+")"),e.attr(n,"class","jackpotBanner"),e.attr(t,"class","")},m(c,g){e.insert(c,t,g),e.append(t,n),e.append(n,i),e.append(i,r),e.append(i,o),e.append(i,s),d.m(s,null),e.append(i,b),e.append(i,_),e.append(_,f),L||(j=e.listen(n,"click",a[33]),L=!0)},p(c,g){g[0]&128&&e.set_style(r,"background-image","url("+c[7]+")"),C===(C=h(c))&&d?d.p(c,g):(d.d(1),d=C(c),d&&(d.c(),d.m(s,null))),g[0]&4096&&!e.src_url_equal(f.src,v=c[12])&&e.attr(f,"src",v),g[0]&97&&m!==(m="mainWrapper "+c[0]+" "+(c[5]&&!c[6]?"mobile":c[6]?"tablet":""))&&e.attr(i,"class",m),g[0]&2048&&e.set_style(i,"background","url("+c[11]+")")},d(c){c&&e.detach(t),d.d(),L=!1,j()}}}function be(a){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(n,i){e.insert(n,t,i)},p:e.noop,d(n){n&&e.detach(t)}}}function ve(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(n,i){e.insert(n,t,i)},p:e.noop,d(n){n&&e.detach(t)}}}function ke(a){let t,n,i,r,o,s,b=a[9][0]+"",_,f,v,m=(a[2]==="true"?a[14][0]:a[8][0])+"",L,j,h,C,d,c,g,w,q,z,F=a[9][1]+"",B,A,M,U=(a[2]==="true"?a[14][1]:a[8][1])+"",N,te,P,G,Y,I,x,V,S,O,T,E=a[9][2]+"",ae,J,K,Q=(a[2]==="true"?a[14][2]:a[8][2])+"",ne,ie,D,le,re,R,H,W,X,Z,$=a[9][3]+"",l,p,k,ee=(a[2]==="true"?a[14][3]:a[8][3])+"",ce,de,se,oe;return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div"),r=e.element("img"),s=e.element("span"),_=e.text(b),f=e.element("span"),v=e.element("span"),L=e.text(m),j=e.space(),h=e.element("span"),C=e.text(a[1]),d=e.space(),c=e.element("div"),g=e.element("div"),w=e.element("img"),z=e.element("span"),B=e.text(F),A=e.element("span"),M=e.element("span"),N=e.text(U),te=e.space(),P=e.element("span"),G=e.text(a[1]),Y=e.space(),I=e.element("div"),x=e.element("div"),V=e.element("div"),S=e.element("img"),T=e.element("span"),ae=e.text(E),J=e.element("span"),K=e.element("span"),ne=e.text(Q),ie=e.space(),D=e.element("span"),le=e.text(a[1]),re=e.space(),R=e.element("div"),H=e.element("div"),W=e.element("img"),Z=e.element("span"),l=e.text($),p=e.element("span"),k=e.element("span"),ce=e.text(ee),de=e.space(),se=e.element("span"),oe=e.text(a[1]),e.attr(r,"class","displayCardIcon"),e.src_url_equal(r.src,o=a[10][0])||e.attr(r,"src",o),e.attr(r,"alt",""),e.attr(s,"class","cardLabel"),e.attr(i,"class","iconWrapper"),e.attr(v,"class","jackpotValue"),e.attr(h,"class","jackpot-currency"),e.attr(f,"class","cardTextWrapper"),e.attr(n,"class","displayCard"),e.attr(w,"class","displayCardIcon"),e.src_url_equal(w.src,q=a[10][1])||e.attr(w,"src",q),e.attr(w,"alt",""),e.attr(z,"class","cardLabel"),e.attr(g,"class","iconWrapper"),e.attr(M,"class","jackpotValue"),e.attr(P,"class","jackpot-currency"),e.attr(A,"class","cardTextWrapper"),e.attr(c,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.attr(S,"class","displayCardIcon"),e.src_url_equal(S.src,O=a[10][2])||e.attr(S,"src",O),e.attr(S,"alt",""),e.attr(T,"class","cardLabel"),e.attr(V,"class","iconWrapper"),e.attr(K,"class","jackpotValue"),e.attr(D,"class","jackpot-currency"),e.attr(J,"class","cardTextWrapper"),e.attr(x,"class","displayCard"),e.attr(W,"class","displayCardIcon"),e.src_url_equal(W.src,X=a[10][3])||e.attr(W,"src",X),e.attr(W,"alt",""),e.attr(Z,"class","cardLabel"),e.attr(H,"class","iconWrapper"),e.attr(k,"class","jackpotValue"),e.attr(se,"class","jackpot-currency"),e.attr(p,"class","cardTextWrapper"),e.attr(R,"class","displayCard"),e.attr(I,"class","pairWrapper")},m(u,y){e.insert(u,t,y),e.append(t,n),e.append(n,i),e.append(i,r),e.append(i,s),e.append(s,_),e.append(n,f),e.append(f,v),e.append(v,L),e.append(f,j),e.append(f,h),e.append(h,C),e.append(t,d),e.append(t,c),e.append(c,g),e.append(g,w),e.append(g,z),e.append(z,B),e.append(c,A),e.append(A,M),e.append(M,N),e.append(A,te),e.append(A,P),e.append(P,G),e.insert(u,Y,y),e.insert(u,I,y),e.append(I,x),e.append(x,V),e.append(V,S),e.append(V,T),e.append(T,ae),e.append(x,J),e.append(J,K),e.append(K,ne),e.append(J,ie),e.append(J,D),e.append(D,le),e.append(I,re),e.append(I,R),e.append(R,H),e.append(H,W),e.append(H,Z),e.append(Z,l),e.append(R,p),e.append(p,k),e.append(k,ce),e.append(p,de),e.append(p,se),e.append(se,oe)},p(u,y){y[0]&1024&&!e.src_url_equal(r.src,o=u[10][0])&&e.attr(r,"src",o),y[0]&512&&b!==(b=u[9][0]+"")&&e.set_data(_,b),y[0]&16644&&m!==(m=(u[2]==="true"?u[14][0]:u[8][0])+"")&&e.set_data(L,m),y[0]&2&&e.set_data(C,u[1]),y[0]&1024&&!e.src_url_equal(w.src,q=u[10][1])&&e.attr(w,"src",q),y[0]&512&&F!==(F=u[9][1]+"")&&e.set_data(B,F),y[0]&16644&&U!==(U=(u[2]==="true"?u[14][1]:u[8][1])+"")&&e.set_data(N,U),y[0]&2&&e.set_data(G,u[1]),y[0]&1024&&!e.src_url_equal(S.src,O=u[10][2])&&e.attr(S,"src",O),y[0]&512&&E!==(E=u[9][2]+"")&&e.set_data(ae,E),y[0]&16644&&Q!==(Q=(u[2]==="true"?u[14][2]:u[8][2])+"")&&e.set_data(ne,Q),y[0]&2&&e.set_data(le,u[1]),y[0]&1024&&!e.src_url_equal(W.src,X=u[10][3])&&e.attr(W,"src",X),y[0]&512&&$!==($=u[9][3]+"")&&e.set_data(l,$),y[0]&16644&&ee!==(ee=(u[2]==="true"?u[14][3]:u[8][3])+"")&&e.set_data(ce,ee),y[0]&2&&e.set_data(oe,u[1])},d(u){u&&(e.detach(t),e.detach(Y),e.detach(I))}}}function Ce(a){let t,n=e.ensure_array_like(Array(4)),i=[];for(let r=0;r<n.length;r+=1)i[r]=fe(ge(a,n,r));return{c(){for(let r=0;r<i.length;r+=1)i[r].c();t=e.empty()},m(r,o){for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(r,o);e.insert(r,t,o)},p(r,o){if(o[0]&18182){n=e.ensure_array_like(Array(4));let s;for(s=0;s<n.length;s+=1){const b=ge(r,n,s);i[s]?i[s].p(b,o):(i[s]=fe(b),i[s].c(),i[s].m(t.parentNode,t))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length}},d(r){r&&e.detach(t),e.destroy_each(i,r)}}}function fe(a){var C;let t,n,i,r,o,s=a[9][a[54]]+"",b,_,f,v=(a[2]==="true"?a[14][a[54]]:(C=a[8][a[54]])!=null?C:"")+"",m,L,j,h;return{c(){t=e.element("div"),n=e.element("div"),i=e.element("img"),o=e.element("span"),b=e.text(s),_=e.element("span"),f=e.element("span"),m=e.text(v),L=e.space(),j=e.element("span"),h=e.text(a[1]),e.attr(i,"class","displayCardIcon"),e.src_url_equal(i.src,r=a[10][a[54]])||e.attr(i,"src",r),e.attr(i,"alt",""),e.attr(o,"class","cardLabel"),e.attr(n,"class","iconWrapper"),e.attr(f,"class","jackpotValue"),e.attr(j,"class","jackpot-currency"),e.attr(_,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(d,c){e.insert(d,t,c),e.append(t,n),e.append(n,i),e.append(n,o),e.append(o,b),e.append(t,_),e.append(_,f),e.append(f,m),e.append(_,L),e.append(_,j),e.append(j,h)},p(d,c){var g;c[0]&1024&&!e.src_url_equal(i.src,r=d[10][d[54]])&&e.attr(i,"src",r),c[0]&512&&s!==(s=d[9][d[54]]+"")&&e.set_data(b,s),c[0]&16644&&v!==(v=(d[2]==="true"?d[14][d[54]]:(g=d[8][d[54]])!=null?g:"")+"")&&e.set_data(m,v),c[0]&2&&e.set_data(h,d[1])},d(d){d&&e.detach(t)}}}function we(a){let t;function n(o,s){return o[13]?ve:o[4]?be:_e}let i=n(a),r=i(a);return{c(){t=e.element("div"),r.c()},m(o,s){e.insert(o,t,s),r.m(t,null),a[34](t)},p(o,s){i===(i=n(o))&&r?r.p(o,s):(r.d(1),r=i(o),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),r.d(),a[34](null)}}}function Le(a,t,n){let{visualstructure:i=""}=t,{title:r=""}=t,{caticon0:o=""}=t,{caticon1:s=""}=t,{caticon2:b=""}=t,{caticon3:_=""}=t,{iconlabels:f=""}=t,{backgroundsrc:v=""}=t,{currency:m=""}=t,{backgroundsrcmobile:L=""}=t,{titlelogopath:j=""}=t,{lang:h="en"}=t,{clientstyling:C=""}=t,{clientstylingurl:d=""}=t,{translationurl:c=""}=t,{endpoint:g=""}=t,{gameid:w=""}=t,{mbsource:q}=t,{realtimeupdate:z="false"}=t,F=window.navigator.userAgent,B=!1,A=!1,M="",U=[],N=[],te=[],P=[],G=[],Y="",I="",x,V=!0,S=!1,O,T=null,E=[];const ae=()=>{fetch(c).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{pe(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(ue).forEach(l=>{pe(l,ue[l])});const J=["typeSpread","typeLeft"],K=l=>{var k;const p=(k=l==null?void 0:l.items[0])==null?void 0:k.additionalData;p&&Object.values(p).forEach(ee=>U.push(+ee))},Q=l=>{var p;n(7,M=((p=l==null?void 0:l.items[0])==null?void 0:p.vendorLogo)||"")},ne=()=>{if(g&&h&&m){let l=new URL(`${g}/v1/casino/jackpots`);l.searchParams.append("filter",`id=${w}`),l.searchParams.append("language",h),l.searchParams.append("additionalDataCurrency",m),fetch(l.href).then(p=>p.json().then(k=>{n(4,V=!1),O=k,N.includes(w)&&(K(O),Q(O))}).catch(k=>{n(13,S=!0),n(4,V=!1),console.error(k)}))}},ie=()=>{let l=new URL(`${g}/v1/casino/jackpots/config`);fetch(l.href).then(p=>p.json()).then(p=>{n(32,N=p.egtJackpotIds.map(k=>k))})},D=()=>{n(5,B=e.isMobile(F)&&window.innerHeight/window.innerWidth>1),n(6,A=re()),U.length!==0&&n(8,te=le(U)),n(9,P=f?f.split(",").map(l=>l.trim().toUpperCase()):new Array(4).fill("")),J.includes(i.trim())?n(0,i=i.trim()):(console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${J[0]}"`),n(0,i=J[0])),n(11,Y=L&&B&&!A?L:v),n(12,I=j),n(10,G=[o,s,b,_])},le=l=>l.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),re=()=>{const l=window.innerHeight/window.innerWidth;return .75<l&&l<1.6},R=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:w},window.location.href),typeof gtag=="function"&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${w}`})},H=()=>{he(h)},W=l=>{const p=JSON.parse(l.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===w){const k=Number(p.data.jackpotAlias.split("_")[1])-1;n(14,E[k]=p.data.data[`${m}`].balance.toString(),E)}},X=()=>{z==="true"&&(D(),n(14,E=["","","",""]),T=new EventSource(`${g}/v1/encoder/jackpot/*/update`),T.addEventListener("message",W))};e.onMount(()=>()=>{}),e.onDestroy(()=>{T&&(T.removeEventListener("message",W),T.close(),T=null)});const Z=()=>R();function $(l){e.binding_callbacks[l?"unshift":"push"](()=>{x=l,n(3,x)})}return a.$$set=l=>{"visualstructure"in l&&n(0,i=l.visualstructure),"title"in l&&n(16,r=l.title),"caticon0"in l&&n(17,o=l.caticon0),"caticon1"in l&&n(18,s=l.caticon1),"caticon2"in l&&n(19,b=l.caticon2),"caticon3"in l&&n(20,_=l.caticon3),"iconlabels"in l&&n(21,f=l.iconlabels),"backgroundsrc"in l&&n(22,v=l.backgroundsrc),"currency"in l&&n(1,m=l.currency),"backgroundsrcmobile"in l&&n(23,L=l.backgroundsrcmobile),"titlelogopath"in l&&n(24,j=l.titlelogopath),"lang"in l&&n(25,h=l.lang),"clientstyling"in l&&n(26,C=l.clientstyling),"clientstylingurl"in l&&n(27,d=l.clientstylingurl),"translationurl"in l&&n(28,c=l.translationurl),"endpoint"in l&&n(29,g=l.endpoint),"gameid"in l&&n(30,w=l.gameid),"mbsource"in l&&n(31,q=l.mbsource),"realtimeupdate"in l&&n(2,z=l.realtimeupdate)},a.$$.update=()=>{a.$$.dirty[0]&536870912&&g&&ie(),a.$$.dirty[0]&67108872&&C&&x&&e.setClientStyling(x,C),a.$$.dirty[0]&134217736&&d&&x&&e.setClientStylingURL(x,d),a.$$.dirty[0]&8|a.$$.dirty[1]&1&&q&&x&&e.setStreamStyling(x,`${q}.Style`),a.$$.dirty[0]&570425346|a.$$.dirty[1]&2&&g&&h&&m&&N.length>0&&ne(),a.$$.dirty[0]&33554450&&m&&h&&!V&&D(),a.$$.dirty[0]&33554432&&h&&H(),a.$$.dirty[0]&268435456&&c&&ae(),a.$$.dirty[0]&4&&z&&X()},[i,m,z,x,V,B,A,M,te,P,G,Y,I,S,E,R,r,o,s,b,_,f,v,L,j,h,C,d,c,g,w,q,N,Z,$]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,we,e.safe_not_equal,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30,mbsource:31,realtimeupdate:2},ye,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[16]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[17]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[18]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[19]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[20]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[25]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[28]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[30]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[31]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}}e.create_custom_element(me,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{}},[],[],!0);exports.default=me;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-pDYRKcjG.cjs");function pe(a,t){e.addMessages(a,t)}function he(a){e.$locale.set(a)}const ue={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function ye(a){e.append_styles(a,"svelte-5y37b4",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function ge(a,t,n){const i=a.slice();return i[52]=t[n],i[54]=n,i}function _e(a){let t,n,i,r,o,s,b,_,f,v,m,L,j;function h(c,g){return c[6]?ke:Ce}let C=h(a),d=C(a);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div"),r=e.element("div"),o=e.space(),s=e.element("div"),d.c(),b=e.space(),_=e.element("div"),f=e.element("img"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+a[7]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(f.src,v=a[12])||e.attr(f,"src",v),e.attr(f,"alt",""),e.attr(_,"class","title"),e.attr(i,"class",m="mainWrapper "+a[0]+" "+(a[5]&&!a[6]?"mobile":a[6]?"tablet":"")),e.set_style(i,"background","url("+a[11]+")"),e.attr(n,"class","jackpotBanner"),e.attr(t,"class","")},m(c,g){e.insert(c,t,g),e.append(t,n),e.append(n,i),e.append(i,r),e.append(i,o),e.append(i,s),d.m(s,null),e.append(i,b),e.append(i,_),e.append(_,f),L||(j=e.listen(n,"click",a[33]),L=!0)},p(c,g){g[0]&128&&e.set_style(r,"background-image","url("+c[7]+")"),C===(C=h(c))&&d?d.p(c,g):(d.d(1),d=C(c),d&&(d.c(),d.m(s,null))),g[0]&4096&&!e.src_url_equal(f.src,v=c[12])&&e.attr(f,"src",v),g[0]&97&&m!==(m="mainWrapper "+c[0]+" "+(c[5]&&!c[6]?"mobile":c[6]?"tablet":""))&&e.attr(i,"class",m),g[0]&2048&&e.set_style(i,"background","url("+c[11]+")")},d(c){c&&e.detach(t),d.d(),L=!1,j()}}}function be(a){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(n,i){e.insert(n,t,i)},p:e.noop,d(n){n&&e.detach(t)}}}function ve(a){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(n,i){e.insert(n,t,i)},p:e.noop,d(n){n&&e.detach(t)}}}function ke(a){let t,n,i,r,o,s,b=a[9][0]+"",_,f,v,m=(a[2]==="true"?a[14][0]:a[8][0])+"",L,j,h,C,d,c,g,w,q,z,F=a[9][1]+"",B,A,M,U=(a[2]==="true"?a[14][1]:a[8][1])+"",N,te,P,G,Y,I,x,V,S,O,T,E=a[9][2]+"",ae,J,K,Q=(a[2]==="true"?a[14][2]:a[8][2])+"",ne,ie,D,le,re,R,H,W,X,Z,$=a[9][3]+"",l,p,k,ee=(a[2]==="true"?a[14][3]:a[8][3])+"",ce,de,se,oe;return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div"),r=e.element("img"),s=e.element("span"),_=e.text(b),f=e.element("span"),v=e.element("span"),L=e.text(m),j=e.space(),h=e.element("span"),C=e.text(a[1]),d=e.space(),c=e.element("div"),g=e.element("div"),w=e.element("img"),z=e.element("span"),B=e.text(F),A=e.element("span"),M=e.element("span"),N=e.text(U),te=e.space(),P=e.element("span"),G=e.text(a[1]),Y=e.space(),I=e.element("div"),x=e.element("div"),V=e.element("div"),S=e.element("img"),T=e.element("span"),ae=e.text(E),J=e.element("span"),K=e.element("span"),ne=e.text(Q),ie=e.space(),D=e.element("span"),le=e.text(a[1]),re=e.space(),R=e.element("div"),H=e.element("div"),W=e.element("img"),Z=e.element("span"),l=e.text($),p=e.element("span"),k=e.element("span"),ce=e.text(ee),de=e.space(),se=e.element("span"),oe=e.text(a[1]),e.attr(r,"class","displayCardIcon"),e.src_url_equal(r.src,o=a[10][0])||e.attr(r,"src",o),e.attr(r,"alt",""),e.attr(s,"class","cardLabel"),e.attr(i,"class","iconWrapper"),e.attr(v,"class","jackpotValue"),e.attr(h,"class","jackpot-currency"),e.attr(f,"class","cardTextWrapper"),e.attr(n,"class","displayCard"),e.attr(w,"class","displayCardIcon"),e.src_url_equal(w.src,q=a[10][1])||e.attr(w,"src",q),e.attr(w,"alt",""),e.attr(z,"class","cardLabel"),e.attr(g,"class","iconWrapper"),e.attr(M,"class","jackpotValue"),e.attr(P,"class","jackpot-currency"),e.attr(A,"class","cardTextWrapper"),e.attr(c,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.attr(S,"class","displayCardIcon"),e.src_url_equal(S.src,O=a[10][2])||e.attr(S,"src",O),e.attr(S,"alt",""),e.attr(T,"class","cardLabel"),e.attr(V,"class","iconWrapper"),e.attr(K,"class","jackpotValue"),e.attr(D,"class","jackpot-currency"),e.attr(J,"class","cardTextWrapper"),e.attr(x,"class","displayCard"),e.attr(W,"class","displayCardIcon"),e.src_url_equal(W.src,X=a[10][3])||e.attr(W,"src",X),e.attr(W,"alt",""),e.attr(Z,"class","cardLabel"),e.attr(H,"class","iconWrapper"),e.attr(k,"class","jackpotValue"),e.attr(se,"class","jackpot-currency"),e.attr(p,"class","cardTextWrapper"),e.attr(R,"class","displayCard"),e.attr(I,"class","pairWrapper")},m(u,y){e.insert(u,t,y),e.append(t,n),e.append(n,i),e.append(i,r),e.append(i,s),e.append(s,_),e.append(n,f),e.append(f,v),e.append(v,L),e.append(f,j),e.append(f,h),e.append(h,C),e.append(t,d),e.append(t,c),e.append(c,g),e.append(g,w),e.append(g,z),e.append(z,B),e.append(c,A),e.append(A,M),e.append(M,N),e.append(A,te),e.append(A,P),e.append(P,G),e.insert(u,Y,y),e.insert(u,I,y),e.append(I,x),e.append(x,V),e.append(V,S),e.append(V,T),e.append(T,ae),e.append(x,J),e.append(J,K),e.append(K,ne),e.append(J,ie),e.append(J,D),e.append(D,le),e.append(I,re),e.append(I,R),e.append(R,H),e.append(H,W),e.append(H,Z),e.append(Z,l),e.append(R,p),e.append(p,k),e.append(k,ce),e.append(p,de),e.append(p,se),e.append(se,oe)},p(u,y){y[0]&1024&&!e.src_url_equal(r.src,o=u[10][0])&&e.attr(r,"src",o),y[0]&512&&b!==(b=u[9][0]+"")&&e.set_data(_,b),y[0]&16644&&m!==(m=(u[2]==="true"?u[14][0]:u[8][0])+"")&&e.set_data(L,m),y[0]&2&&e.set_data(C,u[1]),y[0]&1024&&!e.src_url_equal(w.src,q=u[10][1])&&e.attr(w,"src",q),y[0]&512&&F!==(F=u[9][1]+"")&&e.set_data(B,F),y[0]&16644&&U!==(U=(u[2]==="true"?u[14][1]:u[8][1])+"")&&e.set_data(N,U),y[0]&2&&e.set_data(G,u[1]),y[0]&1024&&!e.src_url_equal(S.src,O=u[10][2])&&e.attr(S,"src",O),y[0]&512&&E!==(E=u[9][2]+"")&&e.set_data(ae,E),y[0]&16644&&Q!==(Q=(u[2]==="true"?u[14][2]:u[8][2])+"")&&e.set_data(ne,Q),y[0]&2&&e.set_data(le,u[1]),y[0]&1024&&!e.src_url_equal(W.src,X=u[10][3])&&e.attr(W,"src",X),y[0]&512&&$!==($=u[9][3]+"")&&e.set_data(l,$),y[0]&16644&&ee!==(ee=(u[2]==="true"?u[14][3]:u[8][3])+"")&&e.set_data(ce,ee),y[0]&2&&e.set_data(oe,u[1])},d(u){u&&(e.detach(t),e.detach(Y),e.detach(I))}}}function Ce(a){let t,n=e.ensure_array_like(Array(4)),i=[];for(let r=0;r<n.length;r+=1)i[r]=fe(ge(a,n,r));return{c(){for(let r=0;r<i.length;r+=1)i[r].c();t=e.empty()},m(r,o){for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(r,o);e.insert(r,t,o)},p(r,o){if(o[0]&18182){n=e.ensure_array_like(Array(4));let s;for(s=0;s<n.length;s+=1){const b=ge(r,n,s);i[s]?i[s].p(b,o):(i[s]=fe(b),i[s].c(),i[s].m(t.parentNode,t))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length}},d(r){r&&e.detach(t),e.destroy_each(i,r)}}}function fe(a){var C;let t,n,i,r,o,s=a[9][a[54]]+"",b,_,f,v=(a[2]==="true"?a[14][a[54]]:(C=a[8][a[54]])!=null?C:"")+"",m,L,j,h;return{c(){t=e.element("div"),n=e.element("div"),i=e.element("img"),o=e.element("span"),b=e.text(s),_=e.element("span"),f=e.element("span"),m=e.text(v),L=e.space(),j=e.element("span"),h=e.text(a[1]),e.attr(i,"class","displayCardIcon"),e.src_url_equal(i.src,r=a[10][a[54]])||e.attr(i,"src",r),e.attr(i,"alt",""),e.attr(o,"class","cardLabel"),e.attr(n,"class","iconWrapper"),e.attr(f,"class","jackpotValue"),e.attr(j,"class","jackpot-currency"),e.attr(_,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(d,c){e.insert(d,t,c),e.append(t,n),e.append(n,i),e.append(n,o),e.append(o,b),e.append(t,_),e.append(_,f),e.append(f,m),e.append(_,L),e.append(_,j),e.append(j,h)},p(d,c){var g;c[0]&1024&&!e.src_url_equal(i.src,r=d[10][d[54]])&&e.attr(i,"src",r),c[0]&512&&s!==(s=d[9][d[54]]+"")&&e.set_data(b,s),c[0]&16644&&v!==(v=(d[2]==="true"?d[14][d[54]]:(g=d[8][d[54]])!=null?g:"")+"")&&e.set_data(m,v),c[0]&2&&e.set_data(h,d[1])},d(d){d&&e.detach(t)}}}function we(a){let t;function n(o,s){return o[13]?ve:o[4]?be:_e}let i=n(a),r=i(a);return{c(){t=e.element("div"),r.c()},m(o,s){e.insert(o,t,s),r.m(t,null),a[34](t)},p(o,s){i===(i=n(o))&&r?r.p(o,s):(r.d(1),r=i(o),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),r.d(),a[34](null)}}}function Le(a,t,n){let{visualstructure:i=""}=t,{title:r=""}=t,{caticon0:o=""}=t,{caticon1:s=""}=t,{caticon2:b=""}=t,{caticon3:_=""}=t,{iconlabels:f=""}=t,{backgroundsrc:v=""}=t,{currency:m=""}=t,{backgroundsrcmobile:L=""}=t,{titlelogopath:j=""}=t,{lang:h="en"}=t,{clientstyling:C=""}=t,{clientstylingurl:d=""}=t,{translationurl:c=""}=t,{endpoint:g=""}=t,{gameid:w=""}=t,{mbsource:q}=t,{realtimeupdate:z="false"}=t,F=window.navigator.userAgent,B=!1,A=!1,M="",U=[],N=[],te=[],P=[],G=[],Y="",I="",x,V=!0,S=!1,O,T=null,E=[];const ae=()=>{fetch(c).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{pe(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(ue).forEach(l=>{pe(l,ue[l])});const J=["typeSpread","typeLeft"],K=l=>{var k;const p=(k=l==null?void 0:l.items[0])==null?void 0:k.additionalData;p&&Object.values(p).forEach(ee=>U.push(+ee))},Q=l=>{var p;n(7,M=((p=l==null?void 0:l.items[0])==null?void 0:p.vendorLogo)||"")},ne=()=>{if(g&&h&&m){let l=new URL(`${g}/v1/casino/jackpots`);l.searchParams.append("filter",`id=${w}`),l.searchParams.append("language",h),l.searchParams.append("additionalDataCurrency",m),fetch(l.href).then(p=>p.json().then(k=>{n(4,V=!1),O=k,N.includes(w)&&(K(O),Q(O))}).catch(k=>{n(13,S=!0),n(4,V=!1),console.error(k)}))}},ie=()=>{let l=new URL(`${g}/v1/casino/jackpots/config`);fetch(l.href).then(p=>p.json()).then(p=>{n(32,N=p.egtJackpotIds.map(k=>k))})},D=()=>{n(5,B=e.isMobile(F)&&window.innerHeight/window.innerWidth>1),n(6,A=re()),U.length!==0&&n(8,te=le(U)),n(9,P=f?f.split(",").map(l=>l.trim().toUpperCase()):new Array(4).fill("")),J.includes(i.trim())?n(0,i=i.trim()):(console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${J[0]}"`),n(0,i=J[0])),n(11,Y=L&&B&&!A?L:v),n(12,I=j),n(10,G=[o,s,b,_])},le=l=>l.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),re=()=>{const l=window.innerHeight/window.innerWidth;return .75<l&&l<1.6},R=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:w},window.location.href),typeof gtag=="function"&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${w}`})},H=()=>{he(h)},W=l=>{const p=JSON.parse(l.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===w){const k=Number(p.data.jackpotAlias.split("_")[1])-1;n(14,E[k]=p.data.data[`${m}`].balance.toString(),E)}},X=()=>{z==="true"&&(D(),n(14,E=["","","",""]),T=new EventSource(`${g}/v1/encoder/jackpot/*/update`),T.addEventListener("message",W))};e.onMount(()=>()=>{}),e.onDestroy(()=>{T&&(T.removeEventListener("message",W),T.close(),T=null)});const Z=()=>R();function $(l){e.binding_callbacks[l?"unshift":"push"](()=>{x=l,n(3,x)})}return a.$$set=l=>{"visualstructure"in l&&n(0,i=l.visualstructure),"title"in l&&n(16,r=l.title),"caticon0"in l&&n(17,o=l.caticon0),"caticon1"in l&&n(18,s=l.caticon1),"caticon2"in l&&n(19,b=l.caticon2),"caticon3"in l&&n(20,_=l.caticon3),"iconlabels"in l&&n(21,f=l.iconlabels),"backgroundsrc"in l&&n(22,v=l.backgroundsrc),"currency"in l&&n(1,m=l.currency),"backgroundsrcmobile"in l&&n(23,L=l.backgroundsrcmobile),"titlelogopath"in l&&n(24,j=l.titlelogopath),"lang"in l&&n(25,h=l.lang),"clientstyling"in l&&n(26,C=l.clientstyling),"clientstylingurl"in l&&n(27,d=l.clientstylingurl),"translationurl"in l&&n(28,c=l.translationurl),"endpoint"in l&&n(29,g=l.endpoint),"gameid"in l&&n(30,w=l.gameid),"mbsource"in l&&n(31,q=l.mbsource),"realtimeupdate"in l&&n(2,z=l.realtimeupdate)},a.$$.update=()=>{a.$$.dirty[0]&536870912&&g&&ie(),a.$$.dirty[0]&67108872&&C&&x&&e.setClientStyling(x,C),a.$$.dirty[0]&134217736&&d&&x&&e.setClientStylingURL(x,d),a.$$.dirty[0]&8|a.$$.dirty[1]&1&&q&&x&&e.setStreamStyling(x,`${q}.Style`),a.$$.dirty[0]&570425346|a.$$.dirty[1]&2&&g&&h&&m&&N.length>0&&ne(),a.$$.dirty[0]&33554450&&m&&h&&!V&&D(),a.$$.dirty[0]&33554432&&h&&H(),a.$$.dirty[0]&268435456&&c&&ae(),a.$$.dirty[0]&4&&z&&X()},[i,m,z,x,V,B,A,M,te,P,G,Y,I,S,E,R,r,o,s,b,_,f,v,L,j,h,C,d,c,g,w,q,N,Z,$]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,we,e.safe_not_equal,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30,mbsource:31,realtimeupdate:2},ye,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[16]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[17]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[18]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[19]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[20]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[25]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[28]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[30]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[31]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}}e.create_custom_element(me,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{}},[],[],!0);exports.default=me;
|