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