@everymatrix/casino-lobby 1.72.1 → 1.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/components/{CasinoCalendar-DaqInWFB.js → CasinoCalendar-BxCFWVMO.js} +4 -4
  2. package/components/{CasinoCalendar-D8285A_4.js → CasinoCalendar-cecf3yV9.js} +4 -4
  3. package/components/{CasinoCalendarDailyDetails-D17fJmHk.js → CasinoCalendarDailyDetails-9M3Wc-65.js} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-Bawf2lVh.js → CasinoCalendarDailyDetails-BenTRCF-.js} +1 -1
  5. package/components/{CasinoCalendarDailyItem-CNU2dbWb.js → CasinoCalendarDailyItem--eOkU17z.js} +1 -1
  6. package/components/{CasinoCalendarDailyItem-C-jXPiMc.js → CasinoCalendarDailyItem-a6X6lpVV.js} +1 -1
  7. package/components/{CasinoCategoriesSlider-CeLXgUCx.js → CasinoCategoriesSlider-DTXP5MCD.js} +2 -2
  8. package/components/{CasinoCategoriesSlider-DH7-Jx22.js → CasinoCategoriesSlider-cVm1UEVZ.js} +2 -2
  9. package/components/{CasinoCollectionsProviders-BMYO5_oZ.js → CasinoCollectionsProviders-BxI7WaY-.js} +1 -1
  10. package/components/{CasinoCollectionsProviders-BvTs6B-x.js → CasinoCollectionsProviders-kbD1J4nL.js} +1 -1
  11. package/components/{CasinoFavoritesSection-C70AjovE.js → CasinoFavoritesSection-CC2FWkDe.js} +2 -2
  12. package/components/{CasinoFavoritesSection-BKqd6QPI.js → CasinoFavoritesSection-COL7maO6.js} +2 -2
  13. package/components/{CasinoFavoritesSection-XYINNBSA.cjs → CasinoFavoritesSection-f8yiTIJQ.cjs} +1 -1
  14. package/components/{CasinoFilter-dnkB-x_S.js → CasinoFilter-8cIt8X5M.js} +1 -1
  15. package/components/{CasinoFilter-BcJ-9hhc.js → CasinoFilter-Z8P4TCHb.js} +1 -1
  16. package/components/{CasinoGameThumbnail-fh7soJLK.js → CasinoGameThumbnail-4b8r0cT9.js} +2 -2
  17. package/components/{CasinoGameThumbnail-DhG_1DP9.cjs → CasinoGameThumbnail-8aXbWXN_.cjs} +1 -1
  18. package/components/{CasinoGameThumbnail-DoFtJNVa.js → CasinoGameThumbnail-DzaTuQ47.js} +2 -2
  19. package/components/{CasinoGamesCategorySection-CR3TsCIr.cjs → CasinoGamesCategorySection-BQutphJy.cjs} +1 -1
  20. package/components/{CasinoGamesCategorySection-BUme-Htd.js → CasinoGamesCategorySection-Dw5wr4Nu.js} +5 -5
  21. package/components/{CasinoGamesCategorySection-DvtiqWF7.js → CasinoGamesCategorySection-SoYJu5Gt.js} +5 -5
  22. package/components/CasinoJackpotBanner-BI4BRDQ5.js +812 -0
  23. package/components/CasinoJackpotBanner-Bo3DtwGk.cjs +1 -0
  24. package/components/CasinoJackpotBanner-Cuk9Hinn.js +808 -0
  25. package/components/{CasinoLastPlayedSection-Rb4msFL_.js → CasinoLastPlayedSection-BMlvUb-p.js} +2 -2
  26. package/components/{CasinoLastPlayedSection-oGkfGBwG.js → CasinoLastPlayedSection-CT0io6jK.js} +2 -2
  27. package/components/{CasinoLastPlayedSection-1yhfRFjo.cjs → CasinoLastPlayedSection-DK5pVGi_.cjs} +1 -1
  28. package/components/{CasinoLobby-aB9f0zFp.cjs → CasinoLobby-BPICPjDy.cjs} +1 -1
  29. package/components/{CasinoLobby-DnWoXtXL.js → CasinoLobby-Cdzdqgtt.js} +3 -3
  30. package/components/{CasinoLobby-CQ3V0-l_.js → CasinoLobby-CuPEEjz6.js} +3 -3
  31. package/components/{CasinoMostPlayedSection-BVvh0OQ0.js → CasinoMostPlayedSection-BiJuBAns.js} +2 -2
  32. package/components/{CasinoMostPlayedSection-CZOxOZVF.cjs → CasinoMostPlayedSection-CRAI7pbg.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSection-CckjcAvV.js → CasinoMostPlayedSection-DoiaQ9-H.js} +2 -2
  34. package/components/{CasinoMyGames-DMeOP0Ir.cjs → CasinoMyGames--Zd_0i6N.cjs} +1 -1
  35. package/components/{CasinoMyGames-BUX8JdRW.js → CasinoMyGames-ChpeH2aN.js} +4 -4
  36. package/components/{CasinoMyGames-DBk0qpL0.js → CasinoMyGames-evCuPqC7.js} +4 -4
  37. package/components/{CasinoPage-CTQ4pjz5.js → CasinoPage-Bpsx45sY.js} +1305 -1280
  38. package/components/CasinoPage-Di5TLiS3.cjs +1 -0
  39. package/components/{CasinoPage-963K0qkA.js → CasinoPage-DxcKIEYX.js} +979 -954
  40. package/components/{CasinoRandomGame-DR9ShIKc.js → CasinoRandomGame-DtRLPA4l.js} +1 -1
  41. package/components/{CasinoRandomGame-DdY0LMqV.js → CasinoRandomGame-fGHWpPMz.js} +1 -1
  42. package/components/{CasinoSearch-O8BFfuMh.js → CasinoSearch-C4egv7cj.js} +3 -3
  43. package/components/{CasinoSearch-BFj2WAB3.js → CasinoSearch-CYCrFdK6.js} +3 -3
  44. package/components/{CasinoSearch-D41XnJOo.cjs → CasinoSearch-DqU2OnNm.cjs} +1 -1
  45. package/components/{CasinoSlider-zDcdSGZI.js → CasinoSlider-Bc4XHMvA.js} +1 -1
  46. package/components/{CasinoSlider-DxPhvmx5.js → CasinoSlider-BnZNKO4Z.js} +1 -1
  47. package/components/{CasinoSort-Bv9Xm47a.js → CasinoSort-C3XYwVvu.js} +1 -1
  48. package/components/{CasinoSort-BqIqZPtn.js → CasinoSort-Cpl8-mZs.js} +1 -1
  49. package/components/{CasinoWinners-CkNCqfiv.js → CasinoWinners-CbLarqtW.js} +2 -2
  50. package/components/{CasinoWinners-C9LGaZlh.js → CasinoWinners-CnyEfY3y.js} +2 -2
  51. package/components/{GeneralAnimationLoading-Dnw96YoY.js → GeneralAnimationLoading-Cu3EumIG.js} +1 -1
  52. package/components/{GeneralAnimationLoading-oBd_asJT.js → GeneralAnimationLoading-qJGhyr02.js} +1 -1
  53. package/es2015/casino-lobby.cjs +1 -1
  54. package/es2015/casino-lobby.js +1 -1
  55. package/esnext/casino-lobby.js +1 -1
  56. package/package.json +1 -1
  57. package/components/CasinoJackpotBanner-Afzkq4td.js +0 -810
  58. package/components/CasinoJackpotBanner-SH08_0Ad.cjs +0 -1
  59. package/components/CasinoJackpotBanner-THaCe8Q8.js +0 -806
  60. package/components/CasinoPage-DBbBQIRX.cjs +0 -1
@@ -0,0 +1,808 @@
1
+ import { a as Ue, $ as ze, S as Ne, i as Re, s as Fe, f as w, b as Oe, n as je, d as U, h as z, j as s, o as Me, W as He, C as Pe, r as d, G as Le, D as F, E as h, p as r, A as qe, B as _, l as Ge, v as Te, w as Ke, U as Ye, m as E, q as J, H as Qe, I as Xe, J as Ze, K as $e } from "./CasinoCalendar-cecf3yV9.js";
2
+ import "../stencil/ui-image-bN_3pDWc.js";
3
+ function We(a, e) {
4
+ Ue(a, e);
5
+ }
6
+ function et(a) {
7
+ ze.set(a);
8
+ }
9
+ const Ae = {
10
+ en: {
11
+ loadingText: "Loading, please wait..."
12
+ },
13
+ "zh-hk": {
14
+ loadingText: "加载请稍候 ..."
15
+ },
16
+ fr: {
17
+ loadingText: "Chargement, veuillez patienter..."
18
+ },
19
+ ro: {
20
+ loadingText: "Se incarca, va rugam asteptati..."
21
+ },
22
+ es: {
23
+ loadingText: "Cargando"
24
+ },
25
+ pt: {
26
+ loadingText: "Carregando, por favor espere..."
27
+ },
28
+ de: {
29
+ loadingText: "Laden, bitte warten..."
30
+ },
31
+ hr: {
32
+ loadingText: "Učitavanje"
33
+ },
34
+ "pt-br": {
35
+ CarregandoText: "Carregando"
36
+ },
37
+ "es-mx": {
38
+ CargandoText: "Cargando, por favor espere…"
39
+ },
40
+ tr: {
41
+ loadingText: "Yükleniyor, lütfen bekleyin..."
42
+ },
43
+ "en-us": {
44
+ loadingText: "Loading, please wait..."
45
+ }
46
+ };
47
+ function tt(a) {
48
+ Oe(a, "svelte-w5pa6u", ':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 ui-image 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 ui-image 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, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
49
+ }
50
+ function Ie(a, e, t) {
51
+ const i = a.slice();
52
+ return i[56] = e[t], i[58] = t, i;
53
+ }
54
+ function at(a) {
55
+ let e, t, i, n, g, o, C, T, S, k, b, y, A;
56
+ function N(c, m) {
57
+ return (
58
+ /*tabletView*/
59
+ c[8] ? nt : rt
60
+ );
61
+ }
62
+ let L = N(a), f = L(a);
63
+ return {
64
+ c() {
65
+ e = s("div"), t = s("div"), i = s("div"), n = s("div"), g = _(), o = s("div"), f.c(), C = _(), T = s("div"), S = s("ui-image"), d(n, "class", "vendorLogo"), Le(n, "background-image", "url(" + /*vendorIcon*/
66
+ a[9] + ")"), d(o, "class", "displayContainer"), F(S.src, k = /*titleLogoImg*/
67
+ a[14]) || h(S, "src", k), h(S, "alt", ""), d(T, "class", "title"), d(i, "class", b = "mainWrapper " + /*visualstructure*/
68
+ a[0] + " " + /*mobileView*/
69
+ (a[7] && !/*tabletView*/
70
+ a[8] ? "mobile" : (
71
+ /*tabletView*/
72
+ a[8] ? "tablet" : ""
73
+ ))), Le(i, "background", "url(" + /*backgroundImg*/
74
+ a[13] + ")"), d(t, "class", "jackpotBanner"), d(e, "class", "");
75
+ },
76
+ m(c, m) {
77
+ z(c, e, m), r(e, t), r(t, i), r(i, n), r(i, g), r(i, o), f.m(o, null), r(i, C), r(i, T), r(T, S), y || (A = qe(
78
+ t,
79
+ "click",
80
+ /*click_handler*/
81
+ a[35]
82
+ ), y = !0);
83
+ },
84
+ p(c, m) {
85
+ m[0] & /*vendorIcon*/
86
+ 512 && Le(n, "background-image", "url(" + /*vendorIcon*/
87
+ c[9] + ")"), L === (L = N(c)) && f ? f.p(c, m) : (f.d(1), f = L(c), f && (f.c(), f.m(o, null))), m[0] & /*titleLogoImg*/
88
+ 16384 && !F(S.src, k = /*titleLogoImg*/
89
+ c[14]) && h(S, "src", k), m[0] & /*visualstructure, mobileView, tabletView*/
90
+ 385 && b !== (b = "mainWrapper " + /*visualstructure*/
91
+ c[0] + " " + /*mobileView*/
92
+ (c[7] && !/*tabletView*/
93
+ c[8] ? "mobile" : (
94
+ /*tabletView*/
95
+ c[8] ? "tablet" : ""
96
+ ))) && d(i, "class", b), m[0] & /*backgroundImg*/
97
+ 8192 && Le(i, "background", "url(" + /*backgroundImg*/
98
+ c[13] + ")");
99
+ },
100
+ d(c) {
101
+ c && U(e), f.d(), y = !1, A();
102
+ }
103
+ };
104
+ }
105
+ function it(a) {
106
+ let e;
107
+ return {
108
+ c() {
109
+ e = s("div"), d(e, "class", "LoadingSpinner");
110
+ },
111
+ m(t, i) {
112
+ z(t, e, i);
113
+ },
114
+ p: je,
115
+ d(t) {
116
+ t && U(e);
117
+ }
118
+ };
119
+ }
120
+ function lt(a) {
121
+ let e;
122
+ return {
123
+ c() {
124
+ e = s("p"), e.textContent = "500 Server error";
125
+ },
126
+ m(t, i) {
127
+ z(t, e, i);
128
+ },
129
+ p: je,
130
+ d(t) {
131
+ t && U(e);
132
+ }
133
+ };
134
+ }
135
+ function nt(a) {
136
+ let e, t, i, n, g, o, C, T = (
137
+ /*formattedLabels*/
138
+ a[11][0] + ""
139
+ ), S, k, b, y, A = (
140
+ /*realtimeupdate*/
141
+ (a[2] === "true" ? (
142
+ /*reversedJackpotValues*/
143
+ a[16][0]
144
+ ) : (
145
+ /*formattedJackpotValues*/
146
+ a[10][0]
147
+ )) + ""
148
+ ), N, L, f, c, m, W, R, ne, K, P = (
149
+ /*formattedLabels*/
150
+ a[11][1] + ""
151
+ ), me, ce, O, re, ae = (
152
+ /*realtimeupdate*/
153
+ (a[2] === "true" ? (
154
+ /*reversedJackpotValues*/
155
+ a[16][1]
156
+ ) : (
157
+ /*formattedJackpotValues*/
158
+ a[10][1]
159
+ )) + ""
160
+ ), ie, oe, de, q, Y, Q, j, X, ye, le, M = (
161
+ /*formattedLabels*/
162
+ a[11][2] + ""
163
+ ), Z, ke, H, ue, fe = (
164
+ /*realtimeupdate*/
165
+ (a[2] === "true" ? (
166
+ /*updatedJackpotValues*/
167
+ a[6][2]
168
+ ) : (
169
+ /*formattedJackpotValues*/
170
+ a[10][2]
171
+ )) + ""
172
+ ), he, ve, we, $, ee, G, pe, be, ge, se = (
173
+ /*formattedLabels*/
174
+ a[11][3] + ""
175
+ ), _e, Ce, te, l, p = (
176
+ /*realtimeupdate*/
177
+ (a[2] === "true" ? (
178
+ /*updatedJackpotValues*/
179
+ a[6][3]
180
+ ) : (
181
+ /*formattedJackpotValues*/
182
+ a[10][3]
183
+ )) + ""
184
+ ), I, Se, V = !/*currencylocale*/
185
+ a[3] && Ee(a), D = !/*currencylocale*/
186
+ a[3] && Je(a), x = !/*currencylocale*/
187
+ a[3] && Ve(a), B = !/*currencylocale*/
188
+ a[3] && De(a);
189
+ return {
190
+ c() {
191
+ e = s("div"), t = s("div"), i = s("div"), n = s("ui-image"), o = _(), C = s("span"), S = J(T), k = _(), b = s("span"), y = s("span"), N = J(A), L = _(), V && V.c(), f = _(), c = s("div"), m = s("div"), W = s("ui-image"), ne = _(), K = s("span"), me = J(P), ce = _(), O = s("span"), re = s("span"), ie = J(ae), oe = _(), D && D.c(), de = _(), q = s("div"), Y = s("div"), Q = s("div"), j = s("ui-image"), ye = _(), le = s("span"), Z = J(M), ke = _(), H = s("span"), ue = s("span"), he = J(fe), ve = _(), x && x.c(), we = _(), $ = s("div"), ee = s("div"), G = s("ui-image"), be = _(), ge = s("span"), _e = J(se), Ce = _(), te = s("span"), l = s("span"), I = J(p), Se = _(), B && B.c(), h(n, "class", "displayCardIcon"), F(n.src, g = /*caticons*/
192
+ a[12][0]) || h(n, "src", g), h(n, "alt", ""), d(C, "class", "cardLabel"), d(i, "class", "iconWrapper"), d(y, "class", "jackpotValue"), d(b, "class", "cardTextWrapper"), d(t, "class", "displayCard"), h(W, "class", "displayCardIcon"), F(W.src, R = /*caticons*/
193
+ a[12][1]) || h(W, "src", R), h(W, "alt", ""), d(K, "class", "cardLabel"), d(m, "class", "iconWrapper"), d(re, "class", "jackpotValue"), d(O, "class", "cardTextWrapper"), d(c, "class", "displayCard"), d(e, "class", "pairWrapper"), h(j, "class", "displayCardIcon"), F(j.src, X = /*caticons*/
194
+ a[12][2]) || h(j, "src", X), h(j, "alt", ""), d(le, "class", "cardLabel"), d(Q, "class", "iconWrapper"), d(ue, "class", "jackpotValue"), d(H, "class", "cardTextWrapper"), d(Y, "class", "displayCard"), h(G, "class", "displayCardIcon"), F(G.src, pe = /*caticons*/
195
+ a[12][3]) || h(G, "src", pe), h(G, "alt", ""), d(ge, "class", "cardLabel"), d(ee, "class", "iconWrapper"), d(l, "class", "jackpotValue"), d(te, "class", "cardTextWrapper"), d($, "class", "displayCard"), d(q, "class", "pairWrapper");
196
+ },
197
+ m(u, v) {
198
+ z(u, e, v), r(e, t), r(t, i), r(i, n), r(i, o), r(i, C), r(C, S), r(t, k), r(t, b), r(b, y), r(y, N), r(b, L), V && V.m(b, null), r(e, f), r(e, c), r(c, m), r(m, W), r(m, ne), r(m, K), r(K, me), r(c, ce), r(c, O), r(O, re), r(re, ie), r(O, oe), D && D.m(O, null), z(u, de, v), z(u, q, v), r(q, Y), r(Y, Q), r(Q, j), r(Q, ye), r(Q, le), r(le, Z), r(Y, ke), r(Y, H), r(H, ue), r(ue, he), r(H, ve), x && x.m(H, null), r(q, we), r(q, $), r($, ee), r(ee, G), r(ee, be), r(ee, ge), r(ge, _e), r($, Ce), r($, te), r(te, l), r(l, I), r(te, Se), B && B.m(te, null);
199
+ },
200
+ p(u, v) {
201
+ v[0] & /*caticons*/
202
+ 4096 && !F(n.src, g = /*caticons*/
203
+ u[12][0]) && h(n, "src", g), v[0] & /*formattedLabels*/
204
+ 2048 && T !== (T = /*formattedLabels*/
205
+ u[11][0] + "") && E(S, T), v[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
206
+ 66564 && A !== (A = /*realtimeupdate*/
207
+ (u[2] === "true" ? (
208
+ /*reversedJackpotValues*/
209
+ u[16][0]
210
+ ) : (
211
+ /*formattedJackpotValues*/
212
+ u[10][0]
213
+ )) + "") && E(N, A), /*currencylocale*/
214
+ u[3] ? V && (V.d(1), V = null) : V ? V.p(u, v) : (V = Ee(u), V.c(), V.m(b, null)), v[0] & /*caticons*/
215
+ 4096 && !F(W.src, R = /*caticons*/
216
+ u[12][1]) && h(W, "src", R), v[0] & /*formattedLabels*/
217
+ 2048 && P !== (P = /*formattedLabels*/
218
+ u[11][1] + "") && E(me, P), v[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
219
+ 66564 && ae !== (ae = /*realtimeupdate*/
220
+ (u[2] === "true" ? (
221
+ /*reversedJackpotValues*/
222
+ u[16][1]
223
+ ) : (
224
+ /*formattedJackpotValues*/
225
+ u[10][1]
226
+ )) + "") && E(ie, ae), /*currencylocale*/
227
+ u[3] ? D && (D.d(1), D = null) : D ? D.p(u, v) : (D = Je(u), D.c(), D.m(O, null)), v[0] & /*caticons*/
228
+ 4096 && !F(j.src, X = /*caticons*/
229
+ u[12][2]) && h(j, "src", X), v[0] & /*formattedLabels*/
230
+ 2048 && M !== (M = /*formattedLabels*/
231
+ u[11][2] + "") && E(Z, M), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
232
+ 1092 && fe !== (fe = /*realtimeupdate*/
233
+ (u[2] === "true" ? (
234
+ /*updatedJackpotValues*/
235
+ u[6][2]
236
+ ) : (
237
+ /*formattedJackpotValues*/
238
+ u[10][2]
239
+ )) + "") && E(he, fe), /*currencylocale*/
240
+ u[3] ? x && (x.d(1), x = null) : x ? x.p(u, v) : (x = Ve(u), x.c(), x.m(H, null)), v[0] & /*caticons*/
241
+ 4096 && !F(G.src, pe = /*caticons*/
242
+ u[12][3]) && h(G, "src", pe), v[0] & /*formattedLabels*/
243
+ 2048 && se !== (se = /*formattedLabels*/
244
+ u[11][3] + "") && E(_e, se), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
245
+ 1092 && p !== (p = /*realtimeupdate*/
246
+ (u[2] === "true" ? (
247
+ /*updatedJackpotValues*/
248
+ u[6][3]
249
+ ) : (
250
+ /*formattedJackpotValues*/
251
+ u[10][3]
252
+ )) + "") && E(I, p), /*currencylocale*/
253
+ u[3] ? B && (B.d(1), B = null) : B ? B.p(u, v) : (B = De(u), B.c(), B.m(te, null));
254
+ },
255
+ d(u) {
256
+ u && (U(e), U(de), U(q)), V && V.d(), D && D.d(), x && x.d(), B && B.d();
257
+ }
258
+ };
259
+ }
260
+ function rt(a) {
261
+ let e, t = Te(Array(4)), i = [];
262
+ for (let n = 0; n < t.length; n += 1)
263
+ i[n] = Be(Ie(a, t, n));
264
+ return {
265
+ c() {
266
+ for (let n = 0; n < i.length; n += 1)
267
+ i[n].c();
268
+ e = Ye();
269
+ },
270
+ m(n, g) {
271
+ for (let o = 0; o < i.length; o += 1)
272
+ i[o] && i[o].m(n, g);
273
+ z(n, e, g);
274
+ },
275
+ p(n, g) {
276
+ if (g[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
277
+ 72718) {
278
+ t = Te(Array(4));
279
+ let o;
280
+ for (o = 0; o < t.length; o += 1) {
281
+ const C = Ie(n, t, o);
282
+ i[o] ? i[o].p(C, g) : (i[o] = Be(C), i[o].c(), i[o].m(e.parentNode, e));
283
+ }
284
+ for (; o < i.length; o += 1)
285
+ i[o].d(1);
286
+ i.length = t.length;
287
+ }
288
+ },
289
+ d(n) {
290
+ n && U(e), Ke(i, n);
291
+ }
292
+ };
293
+ }
294
+ function Ee(a) {
295
+ let e, t;
296
+ return {
297
+ c() {
298
+ e = s("span"), t = J(
299
+ /*currency*/
300
+ a[1]
301
+ ), d(e, "class", "jackpot-currency");
302
+ },
303
+ m(i, n) {
304
+ z(i, e, n), r(e, t);
305
+ },
306
+ p(i, n) {
307
+ n[0] & /*currency*/
308
+ 2 && E(
309
+ t,
310
+ /*currency*/
311
+ i[1]
312
+ );
313
+ },
314
+ d(i) {
315
+ i && U(e);
316
+ }
317
+ };
318
+ }
319
+ function Je(a) {
320
+ let e, t;
321
+ return {
322
+ c() {
323
+ e = s("span"), t = J(
324
+ /*currency*/
325
+ a[1]
326
+ ), d(e, "class", "jackpot-currency");
327
+ },
328
+ m(i, n) {
329
+ z(i, e, n), r(e, t);
330
+ },
331
+ p(i, n) {
332
+ n[0] & /*currency*/
333
+ 2 && E(
334
+ t,
335
+ /*currency*/
336
+ i[1]
337
+ );
338
+ },
339
+ d(i) {
340
+ i && U(e);
341
+ }
342
+ };
343
+ }
344
+ function Ve(a) {
345
+ let e, t;
346
+ return {
347
+ c() {
348
+ e = s("span"), t = J(
349
+ /*currency*/
350
+ a[1]
351
+ ), d(e, "class", "jackpot-currency");
352
+ },
353
+ m(i, n) {
354
+ z(i, e, n), r(e, t);
355
+ },
356
+ p(i, n) {
357
+ n[0] & /*currency*/
358
+ 2 && E(
359
+ t,
360
+ /*currency*/
361
+ i[1]
362
+ );
363
+ },
364
+ d(i) {
365
+ i && U(e);
366
+ }
367
+ };
368
+ }
369
+ function De(a) {
370
+ let e, t;
371
+ return {
372
+ c() {
373
+ e = s("span"), t = J(
374
+ /*currency*/
375
+ a[1]
376
+ ), d(e, "class", "jackpot-currency");
377
+ },
378
+ m(i, n) {
379
+ z(i, e, n), r(e, t);
380
+ },
381
+ p(i, n) {
382
+ n[0] & /*currency*/
383
+ 2 && E(
384
+ t,
385
+ /*currency*/
386
+ i[1]
387
+ );
388
+ },
389
+ d(i) {
390
+ i && U(e);
391
+ }
392
+ };
393
+ }
394
+ function xe(a) {
395
+ let e, t;
396
+ return {
397
+ c() {
398
+ e = s("span"), t = J(
399
+ /*currency*/
400
+ a[1]
401
+ ), d(e, "class", "jackpot-currency");
402
+ },
403
+ m(i, n) {
404
+ z(i, e, n), r(e, t);
405
+ },
406
+ p(i, n) {
407
+ n[0] & /*currency*/
408
+ 2 && E(
409
+ t,
410
+ /*currency*/
411
+ i[1]
412
+ );
413
+ },
414
+ d(i) {
415
+ i && U(e);
416
+ }
417
+ };
418
+ }
419
+ function Be(a) {
420
+ let e, t, i, n, g, o, C = (
421
+ /*formattedLabels*/
422
+ a[11][
423
+ /*i*/
424
+ a[58]
425
+ ] + ""
426
+ ), T, S, k, b, y = (
427
+ /*realtimeupdate*/
428
+ (a[2] === "true" ? (
429
+ /*reversedJackpotValues*/
430
+ a[16][
431
+ /*i*/
432
+ a[58]
433
+ ]
434
+ ) : (
435
+ /*formattedJackpotValues*/
436
+ a[10][
437
+ /*i*/
438
+ a[58]
439
+ ] ?? ""
440
+ )) + ""
441
+ ), A, N, L, f = !/*currencylocale*/
442
+ a[3] && xe(a);
443
+ return {
444
+ c() {
445
+ e = s("div"), t = s("div"), i = s("ui-image"), g = _(), o = s("span"), T = J(C), S = _(), k = s("span"), b = s("span"), A = J(y), N = _(), f && f.c(), L = _(), h(i, "class", "displayCardIcon"), F(i.src, n = /*caticons*/
446
+ a[12][
447
+ /*i*/
448
+ a[58]
449
+ ]) || h(i, "src", n), h(i, "alt", ""), d(o, "class", "cardLabel"), d(t, "class", "iconWrapper"), d(b, "class", "jackpotValue"), d(k, "class", "cardTextWrapper"), d(e, "class", "displayCard");
450
+ },
451
+ m(c, m) {
452
+ z(c, e, m), r(e, t), r(t, i), r(t, g), r(t, o), r(o, T), r(e, S), r(e, k), r(k, b), r(b, A), r(k, N), f && f.m(k, null), r(e, L);
453
+ },
454
+ p(c, m) {
455
+ m[0] & /*caticons*/
456
+ 4096 && !F(i.src, n = /*caticons*/
457
+ c[12][
458
+ /*i*/
459
+ c[58]
460
+ ]) && h(i, "src", n), m[0] & /*formattedLabels*/
461
+ 2048 && C !== (C = /*formattedLabels*/
462
+ c[11][
463
+ /*i*/
464
+ c[58]
465
+ ] + "") && E(T, C), m[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
466
+ 66564 && y !== (y = /*realtimeupdate*/
467
+ (c[2] === "true" ? (
468
+ /*reversedJackpotValues*/
469
+ c[16][
470
+ /*i*/
471
+ c[58]
472
+ ]
473
+ ) : (
474
+ /*formattedJackpotValues*/
475
+ c[10][
476
+ /*i*/
477
+ c[58]
478
+ ] ?? ""
479
+ )) + "") && E(A, y), /*currencylocale*/
480
+ c[3] ? f && (f.d(1), f = null) : f ? f.p(c, m) : (f = xe(c), f.c(), f.m(k, null));
481
+ },
482
+ d(c) {
483
+ c && U(e), f && f.d();
484
+ }
485
+ };
486
+ }
487
+ function st(a) {
488
+ let e;
489
+ function t(g, o) {
490
+ return (
491
+ /*hasErrors*/
492
+ g[15] ? lt : (
493
+ /*isLoading*/
494
+ g[5] ? it : at
495
+ )
496
+ );
497
+ }
498
+ let i = t(a), n = i(a);
499
+ return {
500
+ c() {
501
+ e = s("div"), n.c();
502
+ },
503
+ m(g, o) {
504
+ z(g, e, o), n.m(e, null), a[36](e);
505
+ },
506
+ p(g, o) {
507
+ i === (i = t(g)) && n ? n.p(g, o) : (n.d(1), n = i(g), n && (n.c(), n.m(e, null)));
508
+ },
509
+ i: je,
510
+ o: je,
511
+ d(g) {
512
+ g && U(e), n.d(), a[36](null);
513
+ }
514
+ };
515
+ }
516
+ function ct(a, e, t) {
517
+ let i, { visualstructure: n = "" } = e, { title: g = "" } = e, { caticon0: o = "" } = e, { caticon1: C = "" } = e, { caticon2: T = "" } = e, { caticon3: S = "" } = e, { iconlabels: k = "" } = e, { backgroundsrc: b = "" } = e, { currency: y = "" } = e, { backgroundsrcmobile: A = "" } = e, { titlelogopath: N = "" } = e, { lang: L = "en" } = e, { clientstyling: f = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: m = "" } = e, { endpoint: W = "" } = e, { gameid: R = "" } = e, { mbsource: ne } = e, { realtimeupdate: K = "false" } = e, { currencylocale: P = "" } = e, me = window.navigator.userAgent, ce = !1, O = !1, re = "", ae = [], ie = [], oe = [], de = [], q = [], Y = "", Q = "", j, X = !0, ye = !1, le, M = null, Z = [];
518
+ const ke = () => {
519
+ fetch(m).then((p) => p.json()).then((p) => {
520
+ Object.keys(p).forEach((I) => {
521
+ We(I, p[I]);
522
+ });
523
+ }).catch((p) => {
524
+ console.log(p);
525
+ });
526
+ };
527
+ Object.keys(Ae).forEach((l) => {
528
+ We(l, Ae[l]);
529
+ });
530
+ const H = ["typeSpread", "typeLeft"], ue = (l) => {
531
+ const p = l?.items[0]?.additionalData;
532
+ p && Object.values(p).forEach((I) => ae.push(+I));
533
+ }, fe = (l) => {
534
+ t(9, re = l?.items[0]?.vendorLogo || "");
535
+ }, he = () => {
536
+ if (W && L && y) {
537
+ let l = new URL(`${W}/v1/casino/jackpots`);
538
+ l.searchParams.append("filter", `id=${R}`), l.searchParams.append("language", L), l.searchParams.append("additionalDataCurrency", y), fetch(l.href).then((p) => p.json().then((I) => {
539
+ t(5, X = !1), le = I, ie.includes(R) && (ue(le), fe(le));
540
+ }).catch((I) => {
541
+ t(15, ye = !0), t(5, X = !1), console.error(I);
542
+ }).finally(() => {
543
+ ve();
544
+ }));
545
+ }
546
+ }, ve = () => {
547
+ const l = j.getRootNode().host;
548
+ l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
549
+ }, we = () => {
550
+ let l = new URL(`${W}/v1/casino/jackpots/config`);
551
+ fetch(l.href).then((p) => p.json()).then((p) => {
552
+ t(34, ie = p.egtJackpotIds.map((I) => I));
553
+ });
554
+ }, $ = () => {
555
+ t(7, ce = Ge(me) && window.innerHeight / window.innerWidth > 1), t(8, O = pe()), ae.length !== 0 && (t(10, oe = G(ae)), oe.reverse()), t(11, de = k ? k.split(",").map((l) => l.trim().toUpperCase()) : new Array(4).fill("")), H.includes(n.trim()) ? t(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${H[0]}"`), t(0, n = H[0])), t(13, Y = A && ce && !O ? A : b), t(14, Q = N), t(12, q = [o, C, T, S]);
556
+ }, ee = (l) => Intl.NumberFormat(P, {
557
+ minimumFractionDigits: 2,
558
+ maximumFractionDigits: 2,
559
+ style: "currency",
560
+ currency: y
561
+ }).format(l).replace(/\s/g, ""), G = (l) => P ? l.map((p) => ee(p)) : l.map((p) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(p)), pe = () => {
562
+ const l = window.innerHeight / window.innerWidth;
563
+ return 0.75 < l && l < 1.6;
564
+ }, be = () => {
565
+ window.postMessage({ type: "JackpotBannerClicked", gameid: R }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
566
+ context: "JackpotBanner",
567
+ gameId: `${R}`
568
+ });
569
+ }, ge = () => {
570
+ et(L);
571
+ }, se = (l) => {
572
+ const p = JSON.parse(l.data);
573
+ if (p.success && p.data.messageType === "UpdateEgtJackpotBalance" && p.data.jackpotAlias.split("_")[0] === R) {
574
+ const I = Number(p.data.jackpotAlias.split("_")[1]) - 1;
575
+ t(
576
+ 6,
577
+ Z[I] = P ? ee(p.data.data[`${y}`].balance) : p.data.data[`${y}`].balance.toString(),
578
+ Z
579
+ );
580
+ }
581
+ }, _e = () => {
582
+ K === "true" && ($(), t(6, Z = ["", "", "", ""]), M = new EventSource(`${W}/v1/encoder/jackpot/*/update`), M.addEventListener("message", se));
583
+ };
584
+ Me(() => () => {
585
+ }), He(() => {
586
+ M && (M.removeEventListener("message", se), M.close(), M = null);
587
+ });
588
+ const Ce = () => be();
589
+ function te(l) {
590
+ Pe[l ? "unshift" : "push"](() => {
591
+ j = l, t(4, j);
592
+ });
593
+ }
594
+ return a.$$set = (l) => {
595
+ "visualstructure" in l && t(0, n = l.visualstructure), "title" in l && t(18, g = l.title), "caticon0" in l && t(19, o = l.caticon0), "caticon1" in l && t(20, C = l.caticon1), "caticon2" in l && t(21, T = l.caticon2), "caticon3" in l && t(22, S = l.caticon3), "iconlabels" in l && t(23, k = l.iconlabels), "backgroundsrc" in l && t(24, b = l.backgroundsrc), "currency" in l && t(1, y = l.currency), "backgroundsrcmobile" in l && t(25, A = l.backgroundsrcmobile), "titlelogopath" in l && t(26, N = l.titlelogopath), "lang" in l && t(27, L = l.lang), "clientstyling" in l && t(28, f = l.clientstyling), "clientstylingurl" in l && t(29, c = l.clientstylingurl), "translationurl" in l && t(30, m = l.translationurl), "endpoint" in l && t(31, W = l.endpoint), "gameid" in l && t(32, R = l.gameid), "mbsource" in l && t(33, ne = l.mbsource), "realtimeupdate" in l && t(2, K = l.realtimeupdate), "currencylocale" in l && t(3, P = l.currencylocale);
596
+ }, a.$$.update = () => {
597
+ a.$$.dirty[1] & /*endpoint*/
598
+ 1 && W && we(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
599
+ 268435472 && f && j && Qe(j, f), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
600
+ 536870928 && c && j && Xe(j, c), a.$$.dirty[0] & /*customStylingContainer*/
601
+ 16 | a.$$.dirty[1] & /*mbsource*/
602
+ 4 && ne && j && Ze(j, `${ne}.Style`), a.$$.dirty[0] & /*lang, currency*/
603
+ 134217730 | a.$$.dirty[1] & /*endpoint, validGameIds*/
604
+ 9 && W && L && y && ie.length > 0 && he(), a.$$.dirty[0] & /*currency, lang, isLoading*/
605
+ 134217762 && y && L && !X && $(), a.$$.dirty[0] & /*lang*/
606
+ 134217728 && L && ge(), a.$$.dirty[0] & /*translationurl*/
607
+ 1073741824 && m && ke(), a.$$.dirty[0] & /*realtimeupdate*/
608
+ 4 && K && _e(), a.$$.dirty[0] & /*updatedJackpotValues*/
609
+ 64 && t(16, i = [...Z].reverse());
610
+ }, [
611
+ n,
612
+ y,
613
+ K,
614
+ P,
615
+ j,
616
+ X,
617
+ Z,
618
+ ce,
619
+ O,
620
+ re,
621
+ oe,
622
+ de,
623
+ q,
624
+ Y,
625
+ Q,
626
+ ye,
627
+ i,
628
+ be,
629
+ g,
630
+ o,
631
+ C,
632
+ T,
633
+ S,
634
+ k,
635
+ b,
636
+ A,
637
+ N,
638
+ L,
639
+ f,
640
+ c,
641
+ m,
642
+ W,
643
+ R,
644
+ ne,
645
+ ie,
646
+ Ce,
647
+ te
648
+ ];
649
+ }
650
+ class ot extends Ne {
651
+ constructor(e) {
652
+ super(), Re(
653
+ this,
654
+ e,
655
+ ct,
656
+ st,
657
+ Fe,
658
+ {
659
+ visualstructure: 0,
660
+ title: 18,
661
+ caticon0: 19,
662
+ caticon1: 20,
663
+ caticon2: 21,
664
+ caticon3: 22,
665
+ iconlabels: 23,
666
+ backgroundsrc: 24,
667
+ currency: 1,
668
+ backgroundsrcmobile: 25,
669
+ titlelogopath: 26,
670
+ lang: 27,
671
+ clientstyling: 28,
672
+ clientstylingurl: 29,
673
+ translationurl: 30,
674
+ endpoint: 31,
675
+ gameid: 32,
676
+ mbsource: 33,
677
+ realtimeupdate: 2,
678
+ currencylocale: 3
679
+ },
680
+ tt,
681
+ [-1, -1]
682
+ );
683
+ }
684
+ get visualstructure() {
685
+ return this.$$.ctx[0];
686
+ }
687
+ set visualstructure(e) {
688
+ this.$$set({ visualstructure: e }), w();
689
+ }
690
+ get title() {
691
+ return this.$$.ctx[18];
692
+ }
693
+ set title(e) {
694
+ this.$$set({ title: e }), w();
695
+ }
696
+ get caticon0() {
697
+ return this.$$.ctx[19];
698
+ }
699
+ set caticon0(e) {
700
+ this.$$set({ caticon0: e }), w();
701
+ }
702
+ get caticon1() {
703
+ return this.$$.ctx[20];
704
+ }
705
+ set caticon1(e) {
706
+ this.$$set({ caticon1: e }), w();
707
+ }
708
+ get caticon2() {
709
+ return this.$$.ctx[21];
710
+ }
711
+ set caticon2(e) {
712
+ this.$$set({ caticon2: e }), w();
713
+ }
714
+ get caticon3() {
715
+ return this.$$.ctx[22];
716
+ }
717
+ set caticon3(e) {
718
+ this.$$set({ caticon3: e }), w();
719
+ }
720
+ get iconlabels() {
721
+ return this.$$.ctx[23];
722
+ }
723
+ set iconlabels(e) {
724
+ this.$$set({ iconlabels: e }), w();
725
+ }
726
+ get backgroundsrc() {
727
+ return this.$$.ctx[24];
728
+ }
729
+ set backgroundsrc(e) {
730
+ this.$$set({ backgroundsrc: e }), w();
731
+ }
732
+ get currency() {
733
+ return this.$$.ctx[1];
734
+ }
735
+ set currency(e) {
736
+ this.$$set({ currency: e }), w();
737
+ }
738
+ get backgroundsrcmobile() {
739
+ return this.$$.ctx[25];
740
+ }
741
+ set backgroundsrcmobile(e) {
742
+ this.$$set({ backgroundsrcmobile: e }), w();
743
+ }
744
+ get titlelogopath() {
745
+ return this.$$.ctx[26];
746
+ }
747
+ set titlelogopath(e) {
748
+ this.$$set({ titlelogopath: e }), w();
749
+ }
750
+ get lang() {
751
+ return this.$$.ctx[27];
752
+ }
753
+ set lang(e) {
754
+ this.$$set({ lang: e }), w();
755
+ }
756
+ get clientstyling() {
757
+ return this.$$.ctx[28];
758
+ }
759
+ set clientstyling(e) {
760
+ this.$$set({ clientstyling: e }), w();
761
+ }
762
+ get clientstylingurl() {
763
+ return this.$$.ctx[29];
764
+ }
765
+ set clientstylingurl(e) {
766
+ this.$$set({ clientstylingurl: e }), w();
767
+ }
768
+ get translationurl() {
769
+ return this.$$.ctx[30];
770
+ }
771
+ set translationurl(e) {
772
+ this.$$set({ translationurl: e }), w();
773
+ }
774
+ get endpoint() {
775
+ return this.$$.ctx[31];
776
+ }
777
+ set endpoint(e) {
778
+ this.$$set({ endpoint: e }), w();
779
+ }
780
+ get gameid() {
781
+ return this.$$.ctx[32];
782
+ }
783
+ set gameid(e) {
784
+ this.$$set({ gameid: e }), w();
785
+ }
786
+ get mbsource() {
787
+ return this.$$.ctx[33];
788
+ }
789
+ set mbsource(e) {
790
+ this.$$set({ mbsource: e }), w();
791
+ }
792
+ get realtimeupdate() {
793
+ return this.$$.ctx[2];
794
+ }
795
+ set realtimeupdate(e) {
796
+ this.$$set({ realtimeupdate: e }), w();
797
+ }
798
+ get currencylocale() {
799
+ return this.$$.ctx[3];
800
+ }
801
+ set currencylocale(e) {
802
+ this.$$set({ currencylocale: e }), w();
803
+ }
804
+ }
805
+ $e(ot, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
806
+ export {
807
+ ot as default
808
+ };