@everymatrix/casino-page-nd 1.54.6 → 1.54.8
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-C6a9eFaO.cjs +6 -0
- package/components/CasinoCalendar-DDVrqLgy.js +5038 -0
- package/components/{CasinoCalendar-pVz7jYqi.js → CasinoCalendar-bbQ7XQxy.js} +472 -480
- package/components/{CasinoCalendarDailyDetails-D7GkfhmR.js → CasinoCalendarDailyDetails-CHDDIjz6.js} +90 -90
- package/components/CasinoCalendarDailyDetails-CjEpB1kl.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-qtzYJYlV.js +701 -0
- package/components/{CasinoCalendarDailyItem-CU9qMJji.js → CasinoCalendarDailyItem-Cp39gR0b.js} +46 -46
- package/components/CasinoCalendarDailyItem-DT6c5ba5.js +315 -0
- package/components/CasinoCalendarDailyItem-DbAPROfK.cjs +1 -0
- package/components/CasinoCollectionsProviders-Bat7vjFP.cjs +1 -0
- package/components/{CasinoCollectionsProviders-DxgdPTXN.js → CasinoCollectionsProviders-D0OxJ4mu.js} +54 -54
- package/components/CasinoCollectionsProviders-DFS4nF-f.js +664 -0
- package/components/CasinoFavoritesSectionNd-C-mlwUPF.js +439 -0
- package/components/CasinoFavoritesSectionNd-CAzeF_7i.cjs +1 -0
- package/components/{CasinoFavoritesSectionNd-B4ykl07q.js → CasinoFavoritesSectionNd-JRM9DmH3.js} +16 -16
- package/components/CasinoFilter-CcnQf7Ao.js +634 -0
- package/components/CasinoFilter-DzZ9jegE.cjs +1 -0
- package/components/{CasinoFilter-C67EHGOs.js → CasinoFilter-eRlmpVPT.js} +55 -55
- package/components/CasinoGameThumbnailNd-C-oDcBm6.js +4411 -0
- package/components/{CasinoGameThumbnailNd-DHZn2Osv.js → CasinoGameThumbnailNd-DkpEv-Ct.js} +62 -62
- package/components/CasinoGameThumbnailNd-PO04kmzB.cjs +39 -0
- package/components/CasinoGamesCategorySectionNd-BeEANQ42.js +3030 -0
- package/components/CasinoGamesCategorySectionNd-CgmxjdqR.cjs +1 -0
- package/components/{CasinoGamesCategorySectionNd-CJ7h1ry6.js → CasinoGamesCategorySectionNd-DZM4fSnF.js} +164 -172
- package/components/{CasinoJackpotBanner-BRQqqpK8.js → CasinoJackpotBanner-BW3UHeqB.js} +68 -68
- package/components/CasinoJackpotBanner-DyviT8PE.cjs +1 -0
- package/components/CasinoJackpotBanner-PNsV-XdJ.js +618 -0
- package/components/CasinoLastPlayedSectionNd-Bii3bkmh.cjs +1 -0
- package/components/{CasinoLastPlayedSectionNd-D81dvYjX.js → CasinoLastPlayedSectionNd-Bu825sC-.js} +26 -26
- package/components/CasinoLastPlayedSectionNd-_a-9_9CB.js +566 -0
- package/components/{CasinoMostPlayedSectionNd-GSWFIazO.js → CasinoMostPlayedSectionNd-Bc1CtL3u.js} +32 -32
- package/components/CasinoMostPlayedSectionNd-BeyWzGzL.cjs +1 -0
- package/components/CasinoMostPlayedSectionNd-XrqY9Z0s.js +583 -0
- package/components/{CasinoMyGamesNd-D90aAPbm.js → CasinoMyGamesNd-5Lcn0-GF.js} +42 -42
- package/components/CasinoMyGamesNd-Bu5gXn9P.js +1317 -0
- package/components/CasinoMyGamesNd-DjSqNSVm.cjs +1 -0
- package/components/CasinoPageNd-BMjB-SDR.js +3548 -0
- package/components/CasinoPageNd-BYE3mgQK.cjs +1 -0
- package/components/{CasinoPageNd-m88rCj8H.js → CasinoPageNd-Cif8W7r5.js} +124 -124
- package/components/CasinoRandomGame-CJ-AjCzR.cjs +2 -0
- package/components/{CasinoRandomGame-BpYrX4Cp.js → CasinoRandomGame-kyYvcZEe.js} +56 -56
- package/components/CasinoRandomGame-pjgjdiS0.js +668 -0
- package/components/CasinoSearchNd-CjA2LSbG.js +1072 -0
- package/components/{CasinoSearchNd-BZW8IoJy.js → CasinoSearchNd-DZxa74P3.js} +69 -69
- package/components/CasinoSearchNd-KpuwtpF8.cjs +1 -0
- package/components/CasinoSort-1r13Ud33.cjs +1 -0
- package/components/CasinoSort-CnCgPeXg.js +432 -0
- package/components/{CasinoSort-bFOcp6J4.js → CasinoSort-cgSZzSk9.js} +16 -16
- package/components/CasinoWinners-C__0hS-V.cjs +1 -0
- package/components/{CasinoWinners-BUoqMo1a.js → CasinoWinners-D5G-uBAw.js} +75 -75
- package/components/CasinoWinners-DrSn3Xk6.js +971 -0
- package/components/GeneralAnimationLoading-CLCqZfpz.cjs +1 -0
- package/components/{GeneralAnimationLoading-CC5IRZHm.js → GeneralAnimationLoading-DZ8DpeOD.js} +8 -8
- package/components/GeneralAnimationLoading-Oq6jfcwG.js +75 -0
- package/es2015/casino-page-nd.cjs +1 -0
- package/es2015/casino-page-nd.js +16 -0
- package/esnext/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/casino-play-random-game-BKQH1Zx1.cjs +371 -0
- package/stencil/casino-play-random-game-BqK1nKDT.js +577 -0
- package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-pLVMnBV9.js} +1 -1
- package/stencil/index-f923e8d1-BWfXmHlD.js +645 -0
- package/stencil/index-f923e8d1-DEpJEd5d.cjs +1 -0
- package/stencil/index-f923e8d1-DkIbJRWP.js +629 -0
- package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Te, $ as Se, S as We, i as Ae,
|
|
1
|
+
import { a as Te, $ as Se, S as We, i as Ae, s as Ie, f as j, b as De, n as ye, d as R, h as H, j as c, C as Ve, r as i, G as he, D as V, p as l, A as Je, B, v as we, w as Ne, F as ze, m as A, q as I, I as Ue, l as Ee } from "./CasinoCalendar-bbQ7XQxy.js";
|
|
2
2
|
function Ce(n, e) {
|
|
3
3
|
Te(n, e);
|
|
4
4
|
}
|
|
@@ -43,19 +43,19 @@ const Le = {
|
|
|
43
43
|
loadingText: "Loading, please wait..."
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
function
|
|
47
|
-
|
|
46
|
+
function Me(n) {
|
|
47
|
+
De(n, "svelte-4fxl7w", ':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}.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 xe(n, e, t) {
|
|
50
50
|
const s = n.slice();
|
|
51
51
|
return s[48] = e[t], s[50] = t, s;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Re(n) {
|
|
54
54
|
let e, t, s, r, p, o, w, _, u, C, b, T, S, y, m;
|
|
55
55
|
function L(d, x) {
|
|
56
56
|
return (
|
|
57
57
|
/*tabletView*/
|
|
58
|
-
d[5] ?
|
|
58
|
+
d[5] ? Fe : Pe
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
61
|
let W = L(n), f = W(n);
|
|
@@ -75,7 +75,7 @@ function Me(n) {
|
|
|
75
75
|
n[12] ? "DisplayNone" : "");
|
|
76
76
|
},
|
|
77
77
|
m(d, x) {
|
|
78
|
-
|
|
78
|
+
H(d, e, x), l(e, t), l(t, s), l(s, r), l(s, p), l(s, o), f.m(o, null), l(s, w), l(s, _), l(_, u), y || (m = Je(
|
|
79
79
|
t,
|
|
80
80
|
"click",
|
|
81
81
|
/*click_handler*/
|
|
@@ -107,14 +107,14 @@ function Me(n) {
|
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function He(n) {
|
|
111
111
|
let e;
|
|
112
112
|
return {
|
|
113
113
|
c() {
|
|
114
114
|
e = c("div"), i(e, "class", "LoadingSpinner"), i(e, "part", "LoadingSpinner");
|
|
115
115
|
},
|
|
116
116
|
m(t, s) {
|
|
117
|
-
|
|
117
|
+
H(t, e, s);
|
|
118
118
|
},
|
|
119
119
|
p: ye,
|
|
120
120
|
d(t) {
|
|
@@ -129,7 +129,7 @@ function Oe(n) {
|
|
|
129
129
|
e = c("p"), e.textContent = "500 Server error";
|
|
130
130
|
},
|
|
131
131
|
m(t, s) {
|
|
132
|
-
|
|
132
|
+
H(t, e, s);
|
|
133
133
|
},
|
|
134
134
|
p: ye,
|
|
135
135
|
d(t) {
|
|
@@ -137,26 +137,26 @@ function Oe(n) {
|
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function Fe(n) {
|
|
141
141
|
let e, t, s, r, p, o, w = (
|
|
142
142
|
/*formattedLabels*/
|
|
143
143
|
n[8][0] + ""
|
|
144
144
|
), _, u, C, b = (
|
|
145
145
|
/*formattedJackpotValues*/
|
|
146
146
|
n[7][0] + ""
|
|
147
|
-
), T, S, y, m, L, W, f, d, x, O,
|
|
147
|
+
), T, S, y, m, L, W, f, d, x, O, F = (
|
|
148
148
|
/*formattedLabels*/
|
|
149
149
|
n[8][1] + ""
|
|
150
|
-
), $, z,
|
|
150
|
+
), $, z, M, Y = (
|
|
151
151
|
/*formattedJackpotValues*/
|
|
152
152
|
n[7][1] + ""
|
|
153
|
-
), ee, re, K, te, J, N,
|
|
153
|
+
), ee, re, K, te, J, N, U, P, D, ae, q, ie = (
|
|
154
154
|
/*formattedLabels*/
|
|
155
155
|
n[8][2] + ""
|
|
156
156
|
), ce, G, ne, le = (
|
|
157
157
|
/*formattedJackpotValues*/
|
|
158
158
|
n[7][2] + ""
|
|
159
|
-
), oe, pe, Q, de, ge, X, Z,
|
|
159
|
+
), oe, pe, Q, de, ge, X, Z, E, a, g, k = (
|
|
160
160
|
/*formattedLabels*/
|
|
161
161
|
n[8][3] + ""
|
|
162
162
|
), be, se, ue, fe = (
|
|
@@ -165,47 +165,47 @@ function Pe(n) {
|
|
|
165
165
|
), ve, ke, me, _e;
|
|
166
166
|
return {
|
|
167
167
|
c() {
|
|
168
|
-
e = c("div"), t = c("div"), s = c("div"), r = c("img"), o = c("span"), _ =
|
|
168
|
+
e = c("div"), t = c("div"), s = c("div"), r = c("img"), o = c("span"), _ = I(w), u = c("span"), C = c("span"), T = I(b), S = B(), y = c("span"), m = I(
|
|
169
169
|
/*currency*/
|
|
170
170
|
n[1]
|
|
171
|
-
), L = B(), W = c("div"), f = c("div"), d = c("img"), O = c("span"), $ =
|
|
171
|
+
), L = B(), W = c("div"), f = c("div"), d = c("img"), O = c("span"), $ = I(F), z = c("span"), M = c("span"), ee = I(Y), re = B(), K = c("span"), te = I(
|
|
172
172
|
/*currency*/
|
|
173
173
|
n[1]
|
|
174
|
-
), J = B(), N = c("div"),
|
|
174
|
+
), J = B(), N = c("div"), U = c("div"), P = c("div"), D = c("img"), q = c("span"), ce = I(ie), G = c("span"), ne = c("span"), oe = I(le), pe = B(), Q = c("span"), de = I(
|
|
175
175
|
/*currency*/
|
|
176
176
|
n[1]
|
|
177
|
-
), ge = B(), X = c("div"), Z = c("div"),
|
|
177
|
+
), ge = B(), X = c("div"), Z = c("div"), E = c("img"), g = c("span"), be = I(k), se = c("span"), ue = c("span"), ve = I(fe), ke = B(), me = c("span"), _e = I(
|
|
178
178
|
/*currency*/
|
|
179
179
|
n[1]
|
|
180
180
|
), i(r, "class", "displayCardIcon"), V(r.src, p = /*caticons*/
|
|
181
181
|
n[9][0]) || i(r, "src", p), i(r, "alt", ""), i(o, "class", "cardLabel"), i(s, "class", "iconWrapper"), i(C, "class", "jackpotValue"), i(y, "class", "jackpot-currency"), i(u, "class", "cardTextWrapper"), i(t, "class", "displayCard"), i(d, "class", "displayCardIcon"), V(d.src, x = /*caticons*/
|
|
182
|
-
n[9][1]) || i(d, "src", x), i(d, "alt", ""), i(O, "class", "cardLabel"), i(f, "class", "iconWrapper"), i(
|
|
183
|
-
n[9][2]) || i(D, "src", ae), i(D, "alt", ""), i(
|
|
184
|
-
n[9][3]) || i(
|
|
182
|
+
n[9][1]) || i(d, "src", x), i(d, "alt", ""), i(O, "class", "cardLabel"), i(f, "class", "iconWrapper"), i(M, "class", "jackpotValue"), i(K, "class", "jackpot-currency"), i(z, "class", "cardTextWrapper"), i(W, "class", "displayCard"), i(e, "class", "pairWrapper"), i(D, "class", "displayCardIcon"), V(D.src, ae = /*caticons*/
|
|
183
|
+
n[9][2]) || i(D, "src", ae), i(D, "alt", ""), i(q, "class", "cardLabel"), i(P, "class", "iconWrapper"), i(ne, "class", "jackpotValue"), i(Q, "class", "jackpot-currency"), i(G, "class", "cardTextWrapper"), i(U, "class", "displayCard"), i(E, "class", "displayCardIcon"), V(E.src, a = /*caticons*/
|
|
184
|
+
n[9][3]) || i(E, "src", a), i(E, "alt", ""), i(g, "class", "cardLabel"), i(Z, "class", "iconWrapper"), i(ue, "class", "jackpotValue"), i(me, "class", "jackpot-currency"), i(se, "class", "cardTextWrapper"), i(X, "class", "displayCard"), i(N, "class", "pairWrapper");
|
|
185
185
|
},
|
|
186
186
|
m(h, v) {
|
|
187
|
-
|
|
187
|
+
H(h, e, v), l(e, t), l(t, s), l(s, r), l(s, o), l(o, _), l(t, u), l(u, C), l(C, T), l(u, S), l(u, y), l(y, m), l(e, L), l(e, W), l(W, f), l(f, d), l(f, O), l(O, $), l(W, z), l(z, M), l(M, ee), l(z, re), l(z, K), l(K, te), H(h, J, v), H(h, N, v), l(N, U), l(U, P), l(P, D), l(P, q), l(q, ce), l(U, G), l(G, ne), l(ne, oe), l(G, pe), l(G, Q), l(Q, de), l(N, ge), l(N, X), l(X, Z), l(Z, E), l(Z, g), l(g, be), l(X, se), l(se, ue), l(ue, ve), l(se, ke), l(se, me), l(me, _e);
|
|
188
188
|
},
|
|
189
189
|
p(h, v) {
|
|
190
190
|
v[0] & /*caticons*/
|
|
191
191
|
512 && !V(r.src, p = /*caticons*/
|
|
192
192
|
h[9][0]) && i(r, "src", p), v[0] & /*formattedLabels*/
|
|
193
193
|
256 && w !== (w = /*formattedLabels*/
|
|
194
|
-
h[8][0] + "") &&
|
|
194
|
+
h[8][0] + "") && A(_, w), v[0] & /*formattedJackpotValues*/
|
|
195
195
|
128 && b !== (b = /*formattedJackpotValues*/
|
|
196
|
-
h[7][0] + "") &&
|
|
197
|
-
2 &&
|
|
196
|
+
h[7][0] + "") && A(T, b), v[0] & /*currency*/
|
|
197
|
+
2 && A(
|
|
198
198
|
m,
|
|
199
199
|
/*currency*/
|
|
200
200
|
h[1]
|
|
201
201
|
), v[0] & /*caticons*/
|
|
202
202
|
512 && !V(d.src, x = /*caticons*/
|
|
203
203
|
h[9][1]) && i(d, "src", x), v[0] & /*formattedLabels*/
|
|
204
|
-
256 &&
|
|
205
|
-
h[8][1] + "") &&
|
|
204
|
+
256 && F !== (F = /*formattedLabels*/
|
|
205
|
+
h[8][1] + "") && A($, F), v[0] & /*formattedJackpotValues*/
|
|
206
206
|
128 && Y !== (Y = /*formattedJackpotValues*/
|
|
207
|
-
h[7][1] + "") &&
|
|
208
|
-
2 &&
|
|
207
|
+
h[7][1] + "") && A(ee, Y), v[0] & /*currency*/
|
|
208
|
+
2 && A(
|
|
209
209
|
te,
|
|
210
210
|
/*currency*/
|
|
211
211
|
h[1]
|
|
@@ -213,21 +213,21 @@ function Pe(n) {
|
|
|
213
213
|
512 && !V(D.src, ae = /*caticons*/
|
|
214
214
|
h[9][2]) && i(D, "src", ae), v[0] & /*formattedLabels*/
|
|
215
215
|
256 && ie !== (ie = /*formattedLabels*/
|
|
216
|
-
h[8][2] + "") &&
|
|
216
|
+
h[8][2] + "") && A(ce, ie), v[0] & /*formattedJackpotValues*/
|
|
217
217
|
128 && le !== (le = /*formattedJackpotValues*/
|
|
218
|
-
h[7][2] + "") &&
|
|
219
|
-
2 &&
|
|
218
|
+
h[7][2] + "") && A(oe, le), v[0] & /*currency*/
|
|
219
|
+
2 && A(
|
|
220
220
|
de,
|
|
221
221
|
/*currency*/
|
|
222
222
|
h[1]
|
|
223
223
|
), v[0] & /*caticons*/
|
|
224
|
-
512 && !V(
|
|
225
|
-
h[9][3]) && i(
|
|
224
|
+
512 && !V(E.src, a = /*caticons*/
|
|
225
|
+
h[9][3]) && i(E, "src", a), v[0] & /*formattedLabels*/
|
|
226
226
|
256 && k !== (k = /*formattedLabels*/
|
|
227
|
-
h[8][3] + "") &&
|
|
227
|
+
h[8][3] + "") && A(be, k), v[0] & /*formattedJackpotValues*/
|
|
228
228
|
128 && fe !== (fe = /*formattedJackpotValues*/
|
|
229
|
-
h[7][3] + "") &&
|
|
230
|
-
2 &&
|
|
229
|
+
h[7][3] + "") && A(ve, fe), v[0] & /*currency*/
|
|
230
|
+
2 && A(
|
|
231
231
|
_e,
|
|
232
232
|
/*currency*/
|
|
233
233
|
h[1]
|
|
@@ -238,7 +238,7 @@ function Pe(n) {
|
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Pe(n) {
|
|
242
242
|
let e, t = we(Array(4)), s = [];
|
|
243
243
|
for (let r = 0; r < t.length; r += 1)
|
|
244
244
|
s[r] = je(xe(n, t, r));
|
|
@@ -246,12 +246,12 @@ function qe(n) {
|
|
|
246
246
|
c() {
|
|
247
247
|
for (let r = 0; r < s.length; r += 1)
|
|
248
248
|
s[r].c();
|
|
249
|
-
e =
|
|
249
|
+
e = ze();
|
|
250
250
|
},
|
|
251
251
|
m(r, p) {
|
|
252
252
|
for (let o = 0; o < s.length; o += 1)
|
|
253
253
|
s[o] && s[o].m(r, p);
|
|
254
|
-
|
|
254
|
+
H(r, e, p);
|
|
255
255
|
},
|
|
256
256
|
p(r, p) {
|
|
257
257
|
if (p[0] & /*currency, formattedJackpotValues, formattedLabels, caticons*/
|
|
@@ -268,7 +268,7 @@ function qe(n) {
|
|
|
268
268
|
}
|
|
269
269
|
},
|
|
270
270
|
d(r) {
|
|
271
|
-
r && R(e),
|
|
271
|
+
r && R(e), Ne(s, r);
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -288,7 +288,7 @@ function je(n) {
|
|
|
288
288
|
), b, T, S, y;
|
|
289
289
|
return {
|
|
290
290
|
c() {
|
|
291
|
-
e = c("div"), t = c("div"), s = c("img"), p = c("span"), w =
|
|
291
|
+
e = c("div"), t = c("div"), s = c("img"), p = c("span"), w = I(o), _ = c("span"), u = c("span"), b = I(C), T = B(), S = c("span"), y = I(
|
|
292
292
|
/*currency*/
|
|
293
293
|
n[1]
|
|
294
294
|
), i(s, "class", "displayCardIcon"), V(s.src, r = /*caticons*/
|
|
@@ -298,7 +298,7 @@ function je(n) {
|
|
|
298
298
|
]) || i(s, "src", r), i(s, "alt", ""), i(p, "class", "cardLabel"), i(t, "class", "iconWrapper"), i(u, "class", "jackpotValue"), i(S, "class", "jackpot-currency"), i(_, "class", "cardTextWrapper"), i(e, "class", "displayCard");
|
|
299
299
|
},
|
|
300
300
|
m(m, L) {
|
|
301
|
-
|
|
301
|
+
H(m, e, L), l(e, t), l(t, s), l(t, p), l(p, w), l(e, _), l(_, u), l(u, b), l(_, T), l(_, S), l(S, y);
|
|
302
302
|
},
|
|
303
303
|
p(m, L) {
|
|
304
304
|
L[0] & /*caticons*/
|
|
@@ -311,13 +311,13 @@ function je(n) {
|
|
|
311
311
|
m[8][
|
|
312
312
|
/*i*/
|
|
313
313
|
m[50]
|
|
314
|
-
] + "") &&
|
|
314
|
+
] + "") && A(w, o), L[0] & /*formattedJackpotValues*/
|
|
315
315
|
128 && C !== (C = /*formattedJackpotValues*/
|
|
316
316
|
(m[7][
|
|
317
317
|
/*i*/
|
|
318
318
|
m[50]
|
|
319
|
-
] ?? "") + "") &&
|
|
320
|
-
2 &&
|
|
319
|
+
] ?? "") + "") && A(b, C), L[0] & /*currency*/
|
|
320
|
+
2 && A(
|
|
321
321
|
y,
|
|
322
322
|
/*currency*/
|
|
323
323
|
m[1]
|
|
@@ -328,14 +328,14 @@ function je(n) {
|
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function qe(n) {
|
|
332
332
|
let e;
|
|
333
333
|
function t(p, o) {
|
|
334
334
|
return (
|
|
335
335
|
/*hasErrors*/
|
|
336
336
|
p[13] ? Oe : (
|
|
337
337
|
/*isLoading*/
|
|
338
|
-
p[3] ?
|
|
338
|
+
p[3] ? He : Re
|
|
339
339
|
)
|
|
340
340
|
);
|
|
341
341
|
}
|
|
@@ -345,7 +345,7 @@ function Fe(n) {
|
|
|
345
345
|
e = c("div"), r.c();
|
|
346
346
|
},
|
|
347
347
|
m(p, o) {
|
|
348
|
-
|
|
348
|
+
H(p, e, o), r.m(e, null), n[32](e);
|
|
349
349
|
},
|
|
350
350
|
p(p, o) {
|
|
351
351
|
s === (s = t(p)) && r ? r.p(p, o) : (r.d(1), r = s(p), r && (r.c(), r.m(e, null)));
|
|
@@ -358,7 +358,7 @@ function Fe(n) {
|
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
360
|
function Ge(n, e, t) {
|
|
361
|
-
let { visualstructure: s = "" } = e, { title: r = "" } = e, { caticon0: p = "" } = e, { caticon1: o = "" } = e, { caticon2: w = "" } = e, { caticon3: _ = "" } = e, { iconlabels: u = "" } = e, { backgroundsrc: C = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: T = "" } = e, { titlelogopath: S = "" } = e, { lang: y = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: L = "" } = e, { translationurl: W = "" } = e, { endpoint: f = "" } = e, { gameid: d = "" } = e, x = window.navigator.userAgent, O = !1,
|
|
361
|
+
let { visualstructure: s = "" } = e, { title: r = "" } = e, { caticon0: p = "" } = e, { caticon1: o = "" } = e, { caticon2: w = "" } = e, { caticon3: _ = "" } = e, { iconlabels: u = "" } = e, { backgroundsrc: C = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: T = "" } = e, { titlelogopath: S = "" } = e, { lang: y = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: L = "" } = e, { translationurl: W = "" } = e, { endpoint: f = "" } = e, { gameid: d = "" } = e, x = window.navigator.userAgent, O = !1, F = !1, $ = "", z = [], M = [], Y = [], ee = [], re = [], K = "", te = "", J, N = !1, U = !0, P = !1, D;
|
|
362
362
|
const ae = () => {
|
|
363
363
|
fetch(W).then((g) => g.json()).then((g) => {
|
|
364
364
|
Object.keys(g).forEach((k) => {
|
|
@@ -371,7 +371,7 @@ function Ge(n, e, t) {
|
|
|
371
371
|
Object.keys(Le).forEach((a) => {
|
|
372
372
|
Ce(a, Le[a]);
|
|
373
373
|
});
|
|
374
|
-
const
|
|
374
|
+
const q = ["typeSpread", "typeLeft"], ie = (a) => {
|
|
375
375
|
const g = a?.items[0]?.additionalData;
|
|
376
376
|
g && Object.values(g).forEach((k) => z.push(+k));
|
|
377
377
|
}, ce = (a) => {
|
|
@@ -380,18 +380,18 @@ function Ge(n, e, t) {
|
|
|
380
380
|
if (f && y && b) {
|
|
381
381
|
let a = new URL(`${f}/v1/casino/jackpots`);
|
|
382
382
|
a.searchParams.append("filter", `id=${d}`), a.searchParams.append("language", y), a.searchParams.append("additionalDataCurrency", b), fetch(a.href).then((g) => g.json().then((k) => {
|
|
383
|
-
t(3,
|
|
383
|
+
t(3, U = !1), D = k, M.includes(d) && (ie(D), ce(D));
|
|
384
384
|
}).catch((k) => {
|
|
385
|
-
t(13,
|
|
385
|
+
t(13, P = !0), t(3, U = !1), console.error(k);
|
|
386
386
|
}));
|
|
387
387
|
}
|
|
388
388
|
}, ne = () => {
|
|
389
389
|
let a = new URL(`${f}/v1/casino/jackpots/config`);
|
|
390
390
|
fetch(a.href).then((g) => g.json()).then((g) => {
|
|
391
|
-
t(30,
|
|
391
|
+
t(30, M = g.egtJackpotIds.map((k) => k));
|
|
392
392
|
});
|
|
393
393
|
}, le = () => {
|
|
394
|
-
t(4, O =
|
|
394
|
+
t(4, O = Ee(x) && window.innerHeight / window.innerWidth > 1), t(5, F = pe()), z.length !== 0 && t(7, Y = oe(z)), t(8, ee = u ? u.split(",").map((a) => a.trim().toUpperCase()) : new Array(4).fill("")), q.includes(s.trim()) ? t(0, s = s.trim()) : (console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${q[0]}"`), t(0, s = q[0])), t(10, K = T && O && !F ? T : C), t(11, te = S), t(9, re = [p, o, w, _]);
|
|
395
395
|
}, oe = (a) => a.map((g) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(g)), pe = () => {
|
|
396
396
|
const a = window.innerHeight / window.innerWidth;
|
|
397
397
|
return 0.75 < a && a < 1.6;
|
|
@@ -422,8 +422,8 @@ function Ge(n, e, t) {
|
|
|
422
422
|
}, X = () => {
|
|
423
423
|
Be(y);
|
|
424
424
|
}, Z = () => Q();
|
|
425
|
-
function
|
|
426
|
-
|
|
425
|
+
function E(a) {
|
|
426
|
+
Ve[a ? "unshift" : "push"](() => {
|
|
427
427
|
J = a, t(2, J);
|
|
428
428
|
});
|
|
429
429
|
}
|
|
@@ -434,17 +434,17 @@ function Ge(n, e, t) {
|
|
|
434
434
|
268435456 && f && ne(), n.$$.dirty[0] & /*customStylingContainer, clientstyling*/
|
|
435
435
|
33554436 && J && m && de(), n.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
|
|
436
436
|
67108868 && J && L && ge(), n.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
|
|
437
|
-
1358954498 && f && y && b &&
|
|
438
|
-
16777226 && b && y && !
|
|
437
|
+
1358954498 && f && y && b && M.length > 0 && G(), n.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
438
|
+
16777226 && b && y && !U && le(), n.$$.dirty[0] & /*lang*/
|
|
439
439
|
16777216 && y && X(), n.$$.dirty[0] & /*translationurl*/
|
|
440
440
|
134217728 && W && ae();
|
|
441
441
|
}, [
|
|
442
442
|
s,
|
|
443
443
|
b,
|
|
444
444
|
J,
|
|
445
|
-
|
|
445
|
+
U,
|
|
446
446
|
O,
|
|
447
|
-
|
|
447
|
+
F,
|
|
448
448
|
$,
|
|
449
449
|
Y,
|
|
450
450
|
ee,
|
|
@@ -452,7 +452,7 @@ function Ge(n, e, t) {
|
|
|
452
452
|
K,
|
|
453
453
|
te,
|
|
454
454
|
N,
|
|
455
|
-
|
|
455
|
+
P,
|
|
456
456
|
Q,
|
|
457
457
|
r,
|
|
458
458
|
p,
|
|
@@ -469,9 +469,9 @@ function Ge(n, e, t) {
|
|
|
469
469
|
W,
|
|
470
470
|
f,
|
|
471
471
|
d,
|
|
472
|
-
|
|
472
|
+
M,
|
|
473
473
|
Z,
|
|
474
|
-
|
|
474
|
+
E
|
|
475
475
|
];
|
|
476
476
|
}
|
|
477
477
|
class Ye extends We {
|
|
@@ -480,8 +480,8 @@ class Ye extends We {
|
|
|
480
480
|
this,
|
|
481
481
|
e,
|
|
482
482
|
Ge,
|
|
483
|
-
|
|
484
|
-
|
|
483
|
+
qe,
|
|
484
|
+
Ie,
|
|
485
485
|
{
|
|
486
486
|
visualstructure: 0,
|
|
487
487
|
title: 15,
|
|
@@ -501,7 +501,7 @@ class Ye extends We {
|
|
|
501
501
|
endpoint: 28,
|
|
502
502
|
gameid: 29
|
|
503
503
|
},
|
|
504
|
-
|
|
504
|
+
Me,
|
|
505
505
|
[-1, -1]
|
|
506
506
|
);
|
|
507
507
|
}
|
|
@@ -608,7 +608,7 @@ class Ye extends We {
|
|
|
608
608
|
this.$$set({ gameid: e }), j();
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
|
-
|
|
611
|
+
Ue(Ye, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {} }, [], [], !0);
|
|
612
612
|
export {
|
|
613
613
|
Ye as default
|
|
614
614
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-C6a9eFaO.cjs");function de(l,t){e.addMessages(l,t)}function he(l){e.$locale.set(l)}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(l){e.append_styles(l,"svelte-4fxl7w",':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}.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(l,t,a){const i=l.slice();return i[48]=t[a],i[50]=a,i}function _e(l){let t,a,i,r,o,s,k,v,u,x,y,w,L,h,j;function g(c,C){return c[5]?ke:xe}let f=g(l),d=f(l);return{c(){t=e.element("div"),a=e.element("div"),i=e.element("div"),r=e.element("div"),o=e.space(),s=e.element("div"),d.c(),k=e.space(),v=e.element("div"),u=e.element("img"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+l[6]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(u.src,x=l[11])||e.attr(u,"src",x),e.attr(u,"alt",""),e.attr(v,"class","title"),e.attr(i,"class",y="mainWrapper "+l[0]+" "+(l[4]&&!l[5]?"mobile":l[5]?"tablet":"")),e.set_style(i,"background","url("+l[10]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class",w=l[12]?"DisplayNone":""),e.attr(t,"part",L=l[12]?"DisplayNone":"")},m(c,C){e.insert(c,t,C),e.append(t,a),e.append(a,i),e.append(i,r),e.append(i,o),e.append(i,s),d.m(s,null),e.append(i,k),e.append(i,v),e.append(v,u),h||(j=e.listen(a,"click",l[31]),h=!0)},p(c,C){C[0]&64&&e.set_style(r,"background-image","url("+c[6]+")"),f===(f=g(c))&&d?d.p(c,C):(d.d(1),d=f(c),d&&(d.c(),d.m(s,null))),C[0]&2048&&!e.src_url_equal(u.src,x=c[11])&&e.attr(u,"src",x),C[0]&49&&y!==(y="mainWrapper "+c[0]+" "+(c[4]&&!c[5]?"mobile":c[5]?"tablet":""))&&e.attr(i,"class",y),C[0]&1024&&e.set_style(i,"background","url("+c[10]+")"),C[0]&4096&&w!==(w=c[12]?"DisplayNone":"")&&e.attr(t,"class",w),C[0]&4096&&L!==(L=c[12]?"DisplayNone":"")&&e.attr(t,"part",L)},d(c){c&&e.detach(t),d.d(),h=!1,j()}}}function be(l){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner"),e.attr(t,"part","LoadingSpinner")},m(a,i){e.insert(a,t,i)},p:e.noop,d(a){a&&e.detach(t)}}}function ve(l){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,i){e.insert(a,t,i)},p:e.noop,d(a){a&&e.detach(t)}}}function ke(l){let t,a,i,r,o,s,k=l[8][0]+"",v,u,x,y=l[7][0]+"",w,L,h,j,g,f,d,c,C,J,N=l[8][1]+"",H,A,V,M=l[7][1]+"",P,Z,D,F,S,W,I,z,T,G,U,Y=l[8][2]+"",$,E,K,Q=l[7][2]+"",ee,ne,O,te,le,R,B,q,n,p,_=l[8][3]+"",ae,X,ie,re=l[7][3]+"",ce,pe,se,oe;return{c(){t=e.element("div"),a=e.element("div"),i=e.element("div"),r=e.element("img"),s=e.element("span"),v=e.text(k),u=e.element("span"),x=e.element("span"),w=e.text(y),L=e.space(),h=e.element("span"),j=e.text(l[1]),g=e.space(),f=e.element("div"),d=e.element("div"),c=e.element("img"),J=e.element("span"),H=e.text(N),A=e.element("span"),V=e.element("span"),P=e.text(M),Z=e.space(),D=e.element("span"),F=e.text(l[1]),S=e.space(),W=e.element("div"),I=e.element("div"),z=e.element("div"),T=e.element("img"),U=e.element("span"),$=e.text(Y),E=e.element("span"),K=e.element("span"),ee=e.text(Q),ne=e.space(),O=e.element("span"),te=e.text(l[1]),le=e.space(),R=e.element("div"),B=e.element("div"),q=e.element("img"),p=e.element("span"),ae=e.text(_),X=e.element("span"),ie=e.element("span"),ce=e.text(re),pe=e.space(),se=e.element("span"),oe=e.text(l[1]),e.attr(r,"class","displayCardIcon"),e.src_url_equal(r.src,o=l[9][0])||e.attr(r,"src",o),e.attr(r,"alt",""),e.attr(s,"class","cardLabel"),e.attr(i,"class","iconWrapper"),e.attr(x,"class","jackpotValue"),e.attr(h,"class","jackpot-currency"),e.attr(u,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.attr(c,"class","displayCardIcon"),e.src_url_equal(c.src,C=l[9][1])||e.attr(c,"src",C),e.attr(c,"alt",""),e.attr(J,"class","cardLabel"),e.attr(d,"class","iconWrapper"),e.attr(V,"class","jackpotValue"),e.attr(D,"class","jackpot-currency"),e.attr(A,"class","cardTextWrapper"),e.attr(f,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.attr(T,"class","displayCardIcon"),e.src_url_equal(T.src,G=l[9][2])||e.attr(T,"src",G),e.attr(T,"alt",""),e.attr(U,"class","cardLabel"),e.attr(z,"class","iconWrapper"),e.attr(K,"class","jackpotValue"),e.attr(O,"class","jackpot-currency"),e.attr(E,"class","cardTextWrapper"),e.attr(I,"class","displayCard"),e.attr(q,"class","displayCardIcon"),e.src_url_equal(q.src,n=l[9][3])||e.attr(q,"src",n),e.attr(q,"alt",""),e.attr(p,"class","cardLabel"),e.attr(B,"class","iconWrapper"),e.attr(ie,"class","jackpotValue"),e.attr(se,"class","jackpot-currency"),e.attr(X,"class","cardTextWrapper"),e.attr(R,"class","displayCard"),e.attr(W,"class","pairWrapper")},m(m,b){e.insert(m,t,b),e.append(t,a),e.append(a,i),e.append(i,r),e.append(i,s),e.append(s,v),e.append(a,u),e.append(u,x),e.append(x,w),e.append(u,L),e.append(u,h),e.append(h,j),e.append(t,g),e.append(t,f),e.append(f,d),e.append(d,c),e.append(d,J),e.append(J,H),e.append(f,A),e.append(A,V),e.append(V,P),e.append(A,Z),e.append(A,D),e.append(D,F),e.insert(m,S,b),e.insert(m,W,b),e.append(W,I),e.append(I,z),e.append(z,T),e.append(z,U),e.append(U,$),e.append(I,E),e.append(E,K),e.append(K,ee),e.append(E,ne),e.append(E,O),e.append(O,te),e.append(W,le),e.append(W,R),e.append(R,B),e.append(B,q),e.append(B,p),e.append(p,ae),e.append(R,X),e.append(X,ie),e.append(ie,ce),e.append(X,pe),e.append(X,se),e.append(se,oe)},p(m,b){b[0]&512&&!e.src_url_equal(r.src,o=m[9][0])&&e.attr(r,"src",o),b[0]&256&&k!==(k=m[8][0]+"")&&e.set_data(v,k),b[0]&128&&y!==(y=m[7][0]+"")&&e.set_data(w,y),b[0]&2&&e.set_data(j,m[1]),b[0]&512&&!e.src_url_equal(c.src,C=m[9][1])&&e.attr(c,"src",C),b[0]&256&&N!==(N=m[8][1]+"")&&e.set_data(H,N),b[0]&128&&M!==(M=m[7][1]+"")&&e.set_data(P,M),b[0]&2&&e.set_data(F,m[1]),b[0]&512&&!e.src_url_equal(T.src,G=m[9][2])&&e.attr(T,"src",G),b[0]&256&&Y!==(Y=m[8][2]+"")&&e.set_data($,Y),b[0]&128&&Q!==(Q=m[7][2]+"")&&e.set_data(ee,Q),b[0]&2&&e.set_data(te,m[1]),b[0]&512&&!e.src_url_equal(q.src,n=m[9][3])&&e.attr(q,"src",n),b[0]&256&&_!==(_=m[8][3]+"")&&e.set_data(ae,_),b[0]&128&&re!==(re=m[7][3]+"")&&e.set_data(ce,re),b[0]&2&&e.set_data(oe,m[1])},d(m){m&&(e.detach(t),e.detach(S),e.detach(W))}}}function xe(l){let t,a=e.ensure_array_like(Array(4)),i=[];for(let r=0;r<a.length;r+=1)i[r]=fe(ge(l,a,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]&898){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const k=ge(r,a,s);i[s]?i[s].p(k,o):(i[s]=fe(k),i[s].c(),i[s].m(t.parentNode,t))}for(;s<i.length;s+=1)i[s].d(1);i.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(i,r)}}}function fe(l){var j;let t,a,i,r,o,s=l[8][l[50]]+"",k,v,u,x=((j=l[7][l[50]])!=null?j:"")+"",y,w,L,h;return{c(){t=e.element("div"),a=e.element("div"),i=e.element("img"),o=e.element("span"),k=e.text(s),v=e.element("span"),u=e.element("span"),y=e.text(x),w=e.space(),L=e.element("span"),h=e.text(l[1]),e.attr(i,"class","displayCardIcon"),e.src_url_equal(i.src,r=l[9][l[50]])||e.attr(i,"src",r),e.attr(i,"alt",""),e.attr(o,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(u,"class","jackpotValue"),e.attr(L,"class","jackpot-currency"),e.attr(v,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(g,f){e.insert(g,t,f),e.append(t,a),e.append(a,i),e.append(a,o),e.append(o,k),e.append(t,v),e.append(v,u),e.append(u,y),e.append(v,w),e.append(v,L),e.append(L,h)},p(g,f){var d;f[0]&512&&!e.src_url_equal(i.src,r=g[9][g[50]])&&e.attr(i,"src",r),f[0]&256&&s!==(s=g[8][g[50]]+"")&&e.set_data(k,s),f[0]&128&&x!==(x=((d=g[7][g[50]])!=null?d:"")+"")&&e.set_data(y,x),f[0]&2&&e.set_data(h,g[1])},d(g){g&&e.detach(t)}}}function Ce(l){let t;function a(o,s){return o[13]?ve:o[3]?be:_e}let i=a(l),r=i(l);return{c(){t=e.element("div"),r.c()},m(o,s){e.insert(o,t,s),r.m(t,null),l[32](t)},p(o,s){i===(i=a(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(),l[32](null)}}}function we(l,t,a){let{visualstructure:i=""}=t,{title:r=""}=t,{caticon0:o=""}=t,{caticon1:s=""}=t,{caticon2:k=""}=t,{caticon3:v=""}=t,{iconlabels:u=""}=t,{backgroundsrc:x=""}=t,{currency:y=""}=t,{backgroundsrcmobile:w=""}=t,{titlelogopath:L=""}=t,{lang:h="en"}=t,{clientstyling:j=""}=t,{clientstylingurl:g=""}=t,{translationurl:f=""}=t,{endpoint:d=""}=t,{gameid:c=""}=t,C=window.navigator.userAgent,J=!1,N=!1,H="",A=[],V=[],M=[],P=[],Z=[],D="",F="",S,W=!1,I=!0,z=!1,T;const G=()=>{fetch(f).then(p=>p.json()).then(p=>{Object.keys(p).forEach(_=>{de(_,p[_])})}).catch(p=>{console.log(p)})};Object.keys(ue).forEach(n=>{de(n,ue[n])});const U=["typeSpread","typeLeft"],Y=n=>{var _;const p=(_=n==null?void 0:n.items[0])==null?void 0:_.additionalData;p&&Object.values(p).forEach(ae=>A.push(+ae))},$=n=>{var p;a(6,H=((p=n==null?void 0:n.items[0])==null?void 0:p.vendorLogo)||"")},E=()=>{if(d&&h&&y){let n=new URL(`${d}/v1/casino/jackpots`);n.searchParams.append("filter",`id=${c}`),n.searchParams.append("language",h),n.searchParams.append("additionalDataCurrency",y),fetch(n.href).then(p=>p.json().then(_=>{a(3,I=!1),T=_,V.includes(c)&&(Y(T),$(T))}).catch(_=>{a(13,z=!0),a(3,I=!1),console.error(_)}))}},K=()=>{let n=new URL(`${d}/v1/casino/jackpots/config`);fetch(n.href).then(p=>p.json()).then(p=>{a(30,V=p.egtJackpotIds.map(_=>_))})},Q=()=>{a(4,J=e.isMobile(C)&&window.innerHeight/window.innerWidth>1),a(5,N=ne()),A.length!==0&&a(7,M=ee(A)),a(8,P=u?u.split(",").map(n=>n.trim().toUpperCase()):new Array(4).fill("")),U.includes(i.trim())?a(0,i=i.trim()):(console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${U[0]}"`),a(0,i=U[0])),a(10,D=w&&J&&!N?w:x),a(11,F=L),a(9,Z=[o,s,k,v])},ee=n=>n.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),ne=()=>{const n=window.innerHeight/window.innerWidth;return .75<n&&n<1.6},O=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:c},window.location.href),typeof gtag=="function"&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${c}`})},te=()=>{let n=document.createElement("style");n.innerHTML=j,S.appendChild(n)},le=()=>{a(12,W=!0);let n=new URL(g),p=document.createElement("style");fetch(n.href).then(_=>_.text()).then(_=>{p.innerHTML=_,setTimeout(()=>{S.appendChild(p)},1),setTimeout(()=>{a(12,W=!1)},500)})},R=()=>{he(h)},B=()=>O();function q(n){e.binding_callbacks[n?"unshift":"push"](()=>{S=n,a(2,S)})}return l.$$set=n=>{"visualstructure"in n&&a(0,i=n.visualstructure),"title"in n&&a(15,r=n.title),"caticon0"in n&&a(16,o=n.caticon0),"caticon1"in n&&a(17,s=n.caticon1),"caticon2"in n&&a(18,k=n.caticon2),"caticon3"in n&&a(19,v=n.caticon3),"iconlabels"in n&&a(20,u=n.iconlabels),"backgroundsrc"in n&&a(21,x=n.backgroundsrc),"currency"in n&&a(1,y=n.currency),"backgroundsrcmobile"in n&&a(22,w=n.backgroundsrcmobile),"titlelogopath"in n&&a(23,L=n.titlelogopath),"lang"in n&&a(24,h=n.lang),"clientstyling"in n&&a(25,j=n.clientstyling),"clientstylingurl"in n&&a(26,g=n.clientstylingurl),"translationurl"in n&&a(27,f=n.translationurl),"endpoint"in n&&a(28,d=n.endpoint),"gameid"in n&&a(29,c=n.gameid)},l.$$.update=()=>{l.$$.dirty[0]&268435456&&d&&K(),l.$$.dirty[0]&33554436&&S&&j&&te(),l.$$.dirty[0]&67108868&&S&&g&&le(),l.$$.dirty[0]&1358954498&&d&&h&&y&&V.length>0&&E(),l.$$.dirty[0]&16777226&&y&&h&&!I&&Q(),l.$$.dirty[0]&16777216&&h&&R(),l.$$.dirty[0]&134217728&&f&&G()},[i,y,S,I,J,N,H,M,P,Z,D,F,W,z,O,r,o,s,k,v,u,x,w,L,h,j,g,f,d,c,V,B,q]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,we,Ce,e.safe_not_equal,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},ye,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[15]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[16]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[17]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[18]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[19]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[21]}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[22]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[24]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[28]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[29]}set gameid(t){this.$$set({gameid: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:{}},[],[],!0);exports.default=me;
|