@everymatrix/casino-lobby 1.54.12 → 1.56.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 (120) hide show
  1. package/components/CasinoCalendar-CFPK0TM5.cjs +9 -0
  2. package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CSMUhfCr.js} +1066 -1022
  3. package/components/{CasinoCalendar-CKCvu8d9.js → CasinoCalendar-_T8fa3tA.js} +1215 -1171
  4. package/components/CasinoCalendarDailyDetails-CGRqVKFV.js +693 -0
  5. package/components/CasinoCalendarDailyDetails-DspcjY5l.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-DueCbaZn.js +693 -0
  7. package/components/CasinoCalendarDailyItem-DaSrAYwS.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-DpLOlYVI.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DxYbPmky.js +306 -0
  10. package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-B7jmX0uM.js} +204 -197
  11. package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-DkmZ6uE9.js} +203 -196
  12. package/components/CasinoCategoriesSlider-Tm48k88y.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-CFJKyip5.js +654 -0
  14. package/components/CasinoCollectionsProviders-XHUKRCjH.js +659 -0
  15. package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-WWaIxjOj.js → CasinoFavoritesSection-BJKuORXc.js} +138 -131
  17. package/components/CasinoFavoritesSection-DAfQZFKH.cjs +1 -0
  18. package/components/{CasinoFavoritesSection-Dumr9yPV.js → CasinoFavoritesSection-ui8ebJSk.js} +138 -131
  19. package/components/CasinoFilter-BZrHKXm3.cjs +1 -0
  20. package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-Cj6Ya1tA.js} +237 -244
  21. package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-t6_A4K9e.js} +232 -237
  22. package/components/CasinoGamePage-BCpBojD8.cjs +18 -0
  23. package/components/{CasinoGamePage-BUpAQtEi.js → CasinoGamePage-DH-mxVYx.js} +1012 -1018
  24. package/components/{CasinoGamePage-VEREng8k.js → CasinoGamePage-DQ1Yd_-1.js} +1004 -1010
  25. package/components/CasinoGameThumbnail-B15M2LaO.js +1829 -0
  26. package/components/CasinoGameThumbnail-CHGG4fWS.cjs +38 -0
  27. package/components/CasinoGameThumbnail-CmtUwom1.js +1845 -0
  28. package/components/{CasinoGamesCategorySection-DK9t7zLa.js → CasinoGamesCategorySection-D9nxbG-c.js} +945 -919
  29. package/components/CasinoGamesCategorySection-Dw87pk8g.cjs +1 -0
  30. package/components/{CasinoGamesCategorySection-u0JnTvTn.js → CasinoGamesCategorySection-lpoHUMLN.js} +855 -829
  31. package/components/CasinoJackpotBanner-COZRcenh.js +692 -0
  32. package/components/CasinoJackpotBanner-DcwCa-Hp.js +688 -0
  33. package/components/CasinoJackpotBanner-vFHgMV4j.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-DUCFQv-7.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-CChe4Dsm.js → CasinoLastPlayedSection-IZ9mars2.js} +143 -134
  36. package/components/{CasinoLastPlayedSection-BoyL9RQI.js → CasinoLastPlayedSection-yetII3tl.js} +143 -134
  37. package/components/CasinoLobby-CZ0buhgH.cjs +1 -0
  38. package/components/{CasinoLobby-ClLV4i9d.js → CasinoLobby-CoCRB4M8.js} +706 -657
  39. package/components/{CasinoLobby-DUYjTD-X.js → CasinoLobby-DOvk4Q1L.js} +706 -657
  40. package/components/CasinoModal-6keCUEEx.cjs +1 -0
  41. package/components/CasinoModal-DDDhdR0c.js +368 -0
  42. package/components/CasinoModal-Dzu3FQyi.js +368 -0
  43. package/components/CasinoMostPlayedSection-BNDdZOM6.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-DIF7og_k.js → CasinoMostPlayedSection-CGqU9ZQv.js} +171 -162
  45. package/components/{CasinoMostPlayedSection-qZnaHjV9.js → CasinoMostPlayedSection-D0w6a_z2.js} +171 -162
  46. package/components/{CasinoMyGames-Bu2sU_i0.js → CasinoMyGames-BKqlNnO1.js} +382 -352
  47. package/components/CasinoMyGames-CX5HKRLY.cjs +1 -0
  48. package/components/{CasinoMyGames-BfCr8pSL.js → CasinoMyGames-Dy3IMfzN.js} +389 -359
  49. package/components/CasinoPage--1tMufa9.cjs +1 -0
  50. package/components/{CasinoPage-CoKfFrmH.js → CasinoPage-BnrghJel.js} +1207 -1046
  51. package/components/{CasinoPage-BAJC3ryR.js → CasinoPage-DYcUhqdZ.js} +833 -678
  52. package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-B1qCGSlR.cjs} +2 -2
  53. package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-Cup5oHY3.js} +247 -249
  54. package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-Dq7oLh0O.js} +229 -231
  55. package/components/CasinoSearch-B1D8nnr0.cjs +1 -0
  56. package/components/{CasinoSearch-DP4hDzq5.js → CasinoSearch-DlUwO5L4.js} +385 -378
  57. package/components/{CasinoSearch-U2PDpXMA.js → CasinoSearch-jV0H_1Yg.js} +442 -435
  58. package/components/CasinoSlider-4pDZHG6x.cjs +1 -0
  59. package/components/CasinoSlider-ChnKJ8kH.js +797 -0
  60. package/components/CasinoSlider-Ot2uFDD8.js +803 -0
  61. package/components/CasinoSort-BnarJSWg.js +428 -0
  62. package/components/CasinoSort-DltZUpda.js +427 -0
  63. package/components/CasinoSort-jqMnIqLs.cjs +1 -0
  64. package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-BkJBCXPe.js} +354 -351
  65. package/components/CasinoWinners-Bs7Oh-m-.cjs +1 -0
  66. package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CBgbYBfP.js} +343 -340
  67. package/components/GeneralAnimationLoading-BLss2VP4.cjs +1 -0
  68. package/components/GeneralAnimationLoading-BUY2TGQr.js +84 -0
  69. package/components/GeneralAnimationLoading-CRju5T01.js +84 -0
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-CBXhEsCq.js} +54 -29
  75. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-PZXnDzfs.js} +73 -48
  76. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  77. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  78. package/stencil/{index-8b2c4ca7-BNDGCsVn.js → index-29915e18-CQ_kWzEh.js} +134 -133
  79. package/stencil/{index-8b2c4ca7-CtUqBgXG.js → index-29915e18-MPiqo7vY.js} +131 -130
  80. package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
  81. package/components/CasinoCalendarDailyDetails-B7hChP4v.js +0 -701
  82. package/components/CasinoCalendarDailyDetails-C1T0xNcn.cjs +0 -1
  83. package/components/CasinoCalendarDailyDetails-CCIR8eIp.js +0 -701
  84. package/components/CasinoCalendarDailyItem-1iPwEmjb.js +0 -315
  85. package/components/CasinoCalendarDailyItem-BNNa1Jdv.js +0 -315
  86. package/components/CasinoCalendarDailyItem-Bp_PImhJ.cjs +0 -1
  87. package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
  88. package/components/CasinoCollectionsProviders-BQPjVzK8.js +0 -659
  89. package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
  90. package/components/CasinoCollectionsProviders-CVDFBiI0.js +0 -664
  91. package/components/CasinoFavoritesSection-Dc3krq_m.cjs +0 -1
  92. package/components/CasinoFilter-C10Tgn3c.cjs +0 -1
  93. package/components/CasinoGamePage-DOzefHFS.cjs +0 -18
  94. package/components/CasinoGameThumbnail-CWQWsl_s.cjs +0 -38
  95. package/components/CasinoGameThumbnail-D08-4naW.js +0 -1834
  96. package/components/CasinoGameThumbnail-nmpLDgoF.js +0 -1850
  97. package/components/CasinoGamesCategorySection-LHUR2_EB.cjs +0 -1
  98. package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
  99. package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
  100. package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
  101. package/components/CasinoLastPlayedSection-BVbeW3YI.cjs +0 -1
  102. package/components/CasinoLobby-bvh2k3lg.cjs +0 -1
  103. package/components/CasinoModal-C1oW3YF4.js +0 -372
  104. package/components/CasinoModal-DRtZi6gR.cjs +0 -1
  105. package/components/CasinoModal-IbVlgg7Z.js +0 -372
  106. package/components/CasinoMostPlayedSection-DQ_xJPuX.cjs +0 -1
  107. package/components/CasinoMyGames-B0pWVqCz.cjs +0 -1
  108. package/components/CasinoPage-CoSWrE10.cjs +0 -1
  109. package/components/CasinoSearch-Cnu1-6cZ.cjs +0 -1
  110. package/components/CasinoSlider-BDjskQjI.cjs +0 -1
  111. package/components/CasinoSlider-BWEc4YT5.js +0 -800
  112. package/components/CasinoSlider-BjpV4pLV.js +0 -806
  113. package/components/CasinoSort-CS53Uvnz.cjs +0 -1
  114. package/components/CasinoSort-DFdgT3Dt.js +0 -432
  115. package/components/CasinoSort-DFljh5Sg.js +0 -431
  116. package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
  117. package/components/GeneralAnimationLoading-BG_QynCK.cjs +0 -1
  118. package/components/GeneralAnimationLoading-CX9baArf.js +0 -75
  119. package/components/GeneralAnimationLoading-DVLCsjn0.js +0 -75
  120. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -0,0 +1,692 @@
1
+ import { a as Te, $ as xe, S as We, i as Ae, s as Ie, f as _, b as Je, n as be, d as q, h as F, j as c, o as Ve, a3 as ze, C as Ee, r, G as ye, D as J, p as n, A as Ue, B as O, l as Ne, v as we, w as Be, F as Re, m as W, q as A, I as Oe, J as De, K as Me, L as Pe } from "./CasinoCalendar-CSMUhfCr.js";
2
+ function Ce(t, e) {
3
+ Te(t, e);
4
+ }
5
+ function qe(t) {
6
+ xe.set(t);
7
+ }
8
+ const Le = {
9
+ en: {
10
+ loadingText: "Loading, please wait..."
11
+ },
12
+ "zh-hk": {
13
+ loadingText: "加载请稍候 ..."
14
+ },
15
+ fr: {
16
+ loadingText: "Chargement, veuillez patienter..."
17
+ },
18
+ ro: {
19
+ loadingText: "Se incarca, va rugam asteptati..."
20
+ },
21
+ es: {
22
+ loadingText: "Cargando"
23
+ },
24
+ pt: {
25
+ loadingText: "Carregando, por favor espere..."
26
+ },
27
+ de: {
28
+ loadingText: "Laden, bitte warten..."
29
+ },
30
+ hr: {
31
+ loadingText: "Učitavanje"
32
+ },
33
+ "pt-br": {
34
+ CarregandoText: "Carregando"
35
+ },
36
+ "es-mx": {
37
+ CargandoText: "Cargando, por favor espere…"
38
+ },
39
+ tr: {
40
+ loadingText: "Yükleniyor, lütfen bekleyin..."
41
+ },
42
+ "en-us": {
43
+ loadingText: "Loading, please wait..."
44
+ }
45
+ };
46
+ function Fe(t) {
47
+ Je(t, "svelte-5y37b4", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
48
+ }
49
+ function je(t, e, a) {
50
+ const l = t.slice();
51
+ return l[52] = e[a], l[54] = a, l;
52
+ }
53
+ function He(t) {
54
+ let e, a, l, s, u, o, w, k, h, C, y, T, I;
55
+ function b(d, m) {
56
+ return (
57
+ /*tabletView*/
58
+ d[6] ? Ye : Qe
59
+ );
60
+ }
61
+ let j = b(t), g = j(t);
62
+ return {
63
+ c() {
64
+ e = c("div"), a = c("div"), l = c("div"), s = c("div"), u = O(), o = c("div"), g.c(), w = O(), k = c("div"), h = c("img"), r(s, "class", "vendorLogo"), ye(s, "background-image", "url(" + /*vendorIcon*/
65
+ t[7] + ")"), r(o, "class", "displayContainer"), J(h.src, C = /*titleLogoImg*/
66
+ t[12]) || r(h, "src", C), r(h, "alt", ""), r(k, "class", "title"), r(l, "class", y = "mainWrapper " + /*visualstructure*/
67
+ t[0] + " " + /*mobileView*/
68
+ (t[5] && !/*tabletView*/
69
+ t[6] ? "mobile" : (
70
+ /*tabletView*/
71
+ t[6] ? "tablet" : ""
72
+ ))), ye(l, "background", "url(" + /*backgroundImg*/
73
+ t[11] + ")"), r(a, "class", "jackpotBanner"), r(e, "class", "");
74
+ },
75
+ m(d, m) {
76
+ F(d, e, m), n(e, a), n(a, l), n(l, s), n(l, u), n(l, o), g.m(o, null), n(l, w), n(l, k), n(k, h), T || (I = Ue(
77
+ a,
78
+ "click",
79
+ /*click_handler*/
80
+ t[33]
81
+ ), T = !0);
82
+ },
83
+ p(d, m) {
84
+ m[0] & /*vendorIcon*/
85
+ 128 && ye(s, "background-image", "url(" + /*vendorIcon*/
86
+ d[7] + ")"), j === (j = b(d)) && g ? g.p(d, m) : (g.d(1), g = j(d), g && (g.c(), g.m(o, null))), m[0] & /*titleLogoImg*/
87
+ 4096 && !J(h.src, C = /*titleLogoImg*/
88
+ d[12]) && r(h, "src", C), m[0] & /*visualstructure, mobileView, tabletView*/
89
+ 97 && y !== (y = "mainWrapper " + /*visualstructure*/
90
+ d[0] + " " + /*mobileView*/
91
+ (d[5] && !/*tabletView*/
92
+ d[6] ? "mobile" : (
93
+ /*tabletView*/
94
+ d[6] ? "tablet" : ""
95
+ ))) && r(l, "class", y), m[0] & /*backgroundImg*/
96
+ 2048 && ye(l, "background", "url(" + /*backgroundImg*/
97
+ d[11] + ")");
98
+ },
99
+ d(d) {
100
+ d && q(e), g.d(), T = !1, I();
101
+ }
102
+ };
103
+ }
104
+ function Ge(t) {
105
+ let e;
106
+ return {
107
+ c() {
108
+ e = c("div"), r(e, "class", "LoadingSpinner");
109
+ },
110
+ m(a, l) {
111
+ F(a, e, l);
112
+ },
113
+ p: be,
114
+ d(a) {
115
+ a && q(e);
116
+ }
117
+ };
118
+ }
119
+ function Ke(t) {
120
+ let e;
121
+ return {
122
+ c() {
123
+ e = c("p"), e.textContent = "500 Server error";
124
+ },
125
+ m(a, l) {
126
+ F(a, e, l);
127
+ },
128
+ p: be,
129
+ d(a) {
130
+ a && q(e);
131
+ }
132
+ };
133
+ }
134
+ function Ye(t) {
135
+ let e, a, l, s, u, o, w = (
136
+ /*formattedLabels*/
137
+ t[9][0] + ""
138
+ ), k, h, C, y = (
139
+ /*realtimeupdate*/
140
+ (t[2] === "true" ? (
141
+ /*updatedJackpotValues*/
142
+ t[14][0]
143
+ ) : (
144
+ /*formattedJackpotValues*/
145
+ t[8][0]
146
+ )) + ""
147
+ ), T, I, b, j, g, d, m, S, D, M, te = (
148
+ /*formattedLabels*/
149
+ t[9][1] + ""
150
+ ), Q, U, X, H = (
151
+ /*realtimeupdate*/
152
+ (t[2] === "true" ? (
153
+ /*updatedJackpotValues*/
154
+ t[14][1]
155
+ ) : (
156
+ /*formattedJackpotValues*/
157
+ t[8][1]
158
+ )) + ""
159
+ ), G, de, Z, ae, ie, N, x, B, V, K, z, P = (
160
+ /*formattedLabels*/
161
+ t[9][2] + ""
162
+ ), ue, R, ne, le = (
163
+ /*realtimeupdate*/
164
+ (t[2] === "true" ? (
165
+ /*updatedJackpotValues*/
166
+ t[14][2]
167
+ ) : (
168
+ /*formattedJackpotValues*/
169
+ t[8][2]
170
+ )) + ""
171
+ ), ge, fe, $, pe, me, Y, ee, E, re, se, ce = (
172
+ /*formattedLabels*/
173
+ t[9][3] + ""
174
+ ), i, p, L, oe = (
175
+ /*realtimeupdate*/
176
+ (t[2] === "true" ? (
177
+ /*updatedJackpotValues*/
178
+ t[14][3]
179
+ ) : (
180
+ /*formattedJackpotValues*/
181
+ t[8][3]
182
+ )) + ""
183
+ ), ve, _e, he, ke;
184
+ return {
185
+ c() {
186
+ e = c("div"), a = c("div"), l = c("div"), s = c("img"), o = c("span"), k = A(w), h = c("span"), C = c("span"), T = A(y), I = O(), b = c("span"), j = A(
187
+ /*currency*/
188
+ t[1]
189
+ ), g = O(), d = c("div"), m = c("div"), S = c("img"), M = c("span"), Q = A(te), U = c("span"), X = c("span"), G = A(H), de = O(), Z = c("span"), ae = A(
190
+ /*currency*/
191
+ t[1]
192
+ ), ie = O(), N = c("div"), x = c("div"), B = c("div"), V = c("img"), z = c("span"), ue = A(P), R = c("span"), ne = c("span"), ge = A(le), fe = O(), $ = c("span"), pe = A(
193
+ /*currency*/
194
+ t[1]
195
+ ), me = O(), Y = c("div"), ee = c("div"), E = c("img"), se = c("span"), i = A(ce), p = c("span"), L = c("span"), ve = A(oe), _e = O(), he = c("span"), ke = A(
196
+ /*currency*/
197
+ t[1]
198
+ ), r(s, "class", "displayCardIcon"), J(s.src, u = /*caticons*/
199
+ t[10][0]) || r(s, "src", u), r(s, "alt", ""), r(o, "class", "cardLabel"), r(l, "class", "iconWrapper"), r(C, "class", "jackpotValue"), r(b, "class", "jackpot-currency"), r(h, "class", "cardTextWrapper"), r(a, "class", "displayCard"), r(S, "class", "displayCardIcon"), J(S.src, D = /*caticons*/
200
+ t[10][1]) || r(S, "src", D), r(S, "alt", ""), r(M, "class", "cardLabel"), r(m, "class", "iconWrapper"), r(X, "class", "jackpotValue"), r(Z, "class", "jackpot-currency"), r(U, "class", "cardTextWrapper"), r(d, "class", "displayCard"), r(e, "class", "pairWrapper"), r(V, "class", "displayCardIcon"), J(V.src, K = /*caticons*/
201
+ t[10][2]) || r(V, "src", K), r(V, "alt", ""), r(z, "class", "cardLabel"), r(B, "class", "iconWrapper"), r(ne, "class", "jackpotValue"), r($, "class", "jackpot-currency"), r(R, "class", "cardTextWrapper"), r(x, "class", "displayCard"), r(E, "class", "displayCardIcon"), J(E.src, re = /*caticons*/
202
+ t[10][3]) || r(E, "src", re), r(E, "alt", ""), r(se, "class", "cardLabel"), r(ee, "class", "iconWrapper"), r(L, "class", "jackpotValue"), r(he, "class", "jackpot-currency"), r(p, "class", "cardTextWrapper"), r(Y, "class", "displayCard"), r(N, "class", "pairWrapper");
203
+ },
204
+ m(f, v) {
205
+ F(f, e, v), n(e, a), n(a, l), n(l, s), n(l, o), n(o, k), n(a, h), n(h, C), n(C, T), n(h, I), n(h, b), n(b, j), n(e, g), n(e, d), n(d, m), n(m, S), n(m, M), n(M, Q), n(d, U), n(U, X), n(X, G), n(U, de), n(U, Z), n(Z, ae), F(f, ie, v), F(f, N, v), n(N, x), n(x, B), n(B, V), n(B, z), n(z, ue), n(x, R), n(R, ne), n(ne, ge), n(R, fe), n(R, $), n($, pe), n(N, me), n(N, Y), n(Y, ee), n(ee, E), n(ee, se), n(se, i), n(Y, p), n(p, L), n(L, ve), n(p, _e), n(p, he), n(he, ke);
206
+ },
207
+ p(f, v) {
208
+ v[0] & /*caticons*/
209
+ 1024 && !J(s.src, u = /*caticons*/
210
+ f[10][0]) && r(s, "src", u), v[0] & /*formattedLabels*/
211
+ 512 && w !== (w = /*formattedLabels*/
212
+ f[9][0] + "") && W(k, w), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
213
+ 16644 && y !== (y = /*realtimeupdate*/
214
+ (f[2] === "true" ? (
215
+ /*updatedJackpotValues*/
216
+ f[14][0]
217
+ ) : (
218
+ /*formattedJackpotValues*/
219
+ f[8][0]
220
+ )) + "") && W(T, y), v[0] & /*currency*/
221
+ 2 && W(
222
+ j,
223
+ /*currency*/
224
+ f[1]
225
+ ), v[0] & /*caticons*/
226
+ 1024 && !J(S.src, D = /*caticons*/
227
+ f[10][1]) && r(S, "src", D), v[0] & /*formattedLabels*/
228
+ 512 && te !== (te = /*formattedLabels*/
229
+ f[9][1] + "") && W(Q, te), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
230
+ 16644 && H !== (H = /*realtimeupdate*/
231
+ (f[2] === "true" ? (
232
+ /*updatedJackpotValues*/
233
+ f[14][1]
234
+ ) : (
235
+ /*formattedJackpotValues*/
236
+ f[8][1]
237
+ )) + "") && W(G, H), v[0] & /*currency*/
238
+ 2 && W(
239
+ ae,
240
+ /*currency*/
241
+ f[1]
242
+ ), v[0] & /*caticons*/
243
+ 1024 && !J(V.src, K = /*caticons*/
244
+ f[10][2]) && r(V, "src", K), v[0] & /*formattedLabels*/
245
+ 512 && P !== (P = /*formattedLabels*/
246
+ f[9][2] + "") && W(ue, P), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
247
+ 16644 && le !== (le = /*realtimeupdate*/
248
+ (f[2] === "true" ? (
249
+ /*updatedJackpotValues*/
250
+ f[14][2]
251
+ ) : (
252
+ /*formattedJackpotValues*/
253
+ f[8][2]
254
+ )) + "") && W(ge, le), v[0] & /*currency*/
255
+ 2 && W(
256
+ pe,
257
+ /*currency*/
258
+ f[1]
259
+ ), v[0] & /*caticons*/
260
+ 1024 && !J(E.src, re = /*caticons*/
261
+ f[10][3]) && r(E, "src", re), v[0] & /*formattedLabels*/
262
+ 512 && ce !== (ce = /*formattedLabels*/
263
+ f[9][3] + "") && W(i, ce), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
264
+ 16644 && oe !== (oe = /*realtimeupdate*/
265
+ (f[2] === "true" ? (
266
+ /*updatedJackpotValues*/
267
+ f[14][3]
268
+ ) : (
269
+ /*formattedJackpotValues*/
270
+ f[8][3]
271
+ )) + "") && W(ve, oe), v[0] & /*currency*/
272
+ 2 && W(
273
+ ke,
274
+ /*currency*/
275
+ f[1]
276
+ );
277
+ },
278
+ d(f) {
279
+ f && (q(e), q(ie), q(N));
280
+ }
281
+ };
282
+ }
283
+ function Qe(t) {
284
+ let e, a = we(Array(4)), l = [];
285
+ for (let s = 0; s < a.length; s += 1)
286
+ l[s] = Se(je(t, a, s));
287
+ return {
288
+ c() {
289
+ for (let s = 0; s < l.length; s += 1)
290
+ l[s].c();
291
+ e = Re();
292
+ },
293
+ m(s, u) {
294
+ for (let o = 0; o < l.length; o += 1)
295
+ l[o] && l[o].m(s, u);
296
+ F(s, e, u);
297
+ },
298
+ p(s, u) {
299
+ if (u[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
300
+ 18182) {
301
+ a = we(Array(4));
302
+ let o;
303
+ for (o = 0; o < a.length; o += 1) {
304
+ const w = je(s, a, o);
305
+ l[o] ? l[o].p(w, u) : (l[o] = Se(w), l[o].c(), l[o].m(e.parentNode, e));
306
+ }
307
+ for (; o < l.length; o += 1)
308
+ l[o].d(1);
309
+ l.length = a.length;
310
+ }
311
+ },
312
+ d(s) {
313
+ s && q(e), Be(l, s);
314
+ }
315
+ };
316
+ }
317
+ function Se(t) {
318
+ var j;
319
+ let e, a, l, s, u, o = (
320
+ /*formattedLabels*/
321
+ t[9][
322
+ /*i*/
323
+ t[54]
324
+ ] + ""
325
+ ), w, k, h, C = (
326
+ /*realtimeupdate*/
327
+ (t[2] === "true" ? (
328
+ /*updatedJackpotValues*/
329
+ t[14][
330
+ /*i*/
331
+ t[54]
332
+ ]
333
+ ) : (
334
+ /*formattedJackpotValues*/
335
+ (j = t[8][
336
+ /*i*/
337
+ t[54]
338
+ ]) != null ? j : ""
339
+ )) + ""
340
+ ), y, T, I, b;
341
+ return {
342
+ c() {
343
+ e = c("div"), a = c("div"), l = c("img"), u = c("span"), w = A(o), k = c("span"), h = c("span"), y = A(C), T = O(), I = c("span"), b = A(
344
+ /*currency*/
345
+ t[1]
346
+ ), r(l, "class", "displayCardIcon"), J(l.src, s = /*caticons*/
347
+ t[10][
348
+ /*i*/
349
+ t[54]
350
+ ]) || r(l, "src", s), r(l, "alt", ""), r(u, "class", "cardLabel"), r(a, "class", "iconWrapper"), r(h, "class", "jackpotValue"), r(I, "class", "jackpot-currency"), r(k, "class", "cardTextWrapper"), r(e, "class", "displayCard");
351
+ },
352
+ m(g, d) {
353
+ F(g, e, d), n(e, a), n(a, l), n(a, u), n(u, w), n(e, k), n(k, h), n(h, y), n(k, T), n(k, I), n(I, b);
354
+ },
355
+ p(g, d) {
356
+ var m;
357
+ d[0] & /*caticons*/
358
+ 1024 && !J(l.src, s = /*caticons*/
359
+ g[10][
360
+ /*i*/
361
+ g[54]
362
+ ]) && r(l, "src", s), d[0] & /*formattedLabels*/
363
+ 512 && o !== (o = /*formattedLabels*/
364
+ g[9][
365
+ /*i*/
366
+ g[54]
367
+ ] + "") && W(w, o), d[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
368
+ 16644 && C !== (C = /*realtimeupdate*/
369
+ (g[2] === "true" ? (
370
+ /*updatedJackpotValues*/
371
+ g[14][
372
+ /*i*/
373
+ g[54]
374
+ ]
375
+ ) : (
376
+ /*formattedJackpotValues*/
377
+ (m = g[8][
378
+ /*i*/
379
+ g[54]
380
+ ]) != null ? m : ""
381
+ )) + "") && W(y, C), d[0] & /*currency*/
382
+ 2 && W(
383
+ b,
384
+ /*currency*/
385
+ g[1]
386
+ );
387
+ },
388
+ d(g) {
389
+ g && q(e);
390
+ }
391
+ };
392
+ }
393
+ function Xe(t) {
394
+ let e;
395
+ function a(u, o) {
396
+ return (
397
+ /*hasErrors*/
398
+ u[13] ? Ke : (
399
+ /*isLoading*/
400
+ u[4] ? Ge : He
401
+ )
402
+ );
403
+ }
404
+ let l = a(t), s = l(t);
405
+ return {
406
+ c() {
407
+ e = c("div"), s.c();
408
+ },
409
+ m(u, o) {
410
+ F(u, e, o), s.m(e, null), t[34](e);
411
+ },
412
+ p(u, o) {
413
+ l === (l = a(u)) && s ? s.p(u, o) : (s.d(1), s = l(u), s && (s.c(), s.m(e, null)));
414
+ },
415
+ i: be,
416
+ o: be,
417
+ d(u) {
418
+ u && q(e), s.d(), t[34](null);
419
+ }
420
+ };
421
+ }
422
+ function Ze(t, e, a) {
423
+ let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: u = "" } = e, { caticon1: o = "" } = e, { caticon2: w = "" } = e, { caticon3: k = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: C = "" } = e, { currency: y = "" } = e, { backgroundsrcmobile: T = "" } = e, { titlelogopath: I = "" } = e, { lang: b = "en" } = e, { clientstyling: j = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: d = "" } = e, { endpoint: m = "" } = e, { gameid: S = "" } = e, { mbsource: D } = e, { realtimeupdate: M = "false" } = e, te = window.navigator.userAgent, Q = !1, U = !1, X = "", H = [], G = [], de = [], Z = [], ae = [], ie = "", N = "", x, B = !0, V = !1, K, z = null, P = [];
424
+ const ue = () => {
425
+ fetch(d).then((p) => p.json()).then((p) => {
426
+ Object.keys(p).forEach((L) => {
427
+ Ce(L, p[L]);
428
+ });
429
+ }).catch((p) => {
430
+ console.log(p);
431
+ });
432
+ };
433
+ Object.keys(Le).forEach((i) => {
434
+ Ce(i, Le[i]);
435
+ });
436
+ const R = ["typeSpread", "typeLeft"], ne = (i) => {
437
+ var L;
438
+ const p = (L = i == null ? void 0 : i.items[0]) == null ? void 0 : L.additionalData;
439
+ p && Object.values(p).forEach((oe) => H.push(+oe));
440
+ }, le = (i) => {
441
+ var p;
442
+ a(7, X = ((p = i == null ? void 0 : i.items[0]) == null ? void 0 : p.vendorLogo) || "");
443
+ }, ge = () => {
444
+ if (m && b && y) {
445
+ let i = new URL(`${m}/v1/casino/jackpots`);
446
+ i.searchParams.append("filter", `id=${S}`), i.searchParams.append("language", b), i.searchParams.append("additionalDataCurrency", y), fetch(i.href).then((p) => p.json().then((L) => {
447
+ a(4, B = !1), K = L, G.includes(S) && (ne(K), le(K));
448
+ }).catch((L) => {
449
+ a(13, V = !0), a(4, B = !1), console.error(L);
450
+ }));
451
+ }
452
+ }, fe = () => {
453
+ let i = new URL(`${m}/v1/casino/jackpots/config`);
454
+ fetch(i.href).then((p) => p.json()).then((p) => {
455
+ a(32, G = p.egtJackpotIds.map((L) => L));
456
+ });
457
+ }, $ = () => {
458
+ a(5, Q = Ne(te) && window.innerHeight / window.innerWidth > 1), a(6, U = me()), H.length !== 0 && a(8, de = pe(H)), a(9, Z = h ? h.split(",").map((i) => i.trim().toUpperCase()) : new Array(4).fill("")), R.includes(l.trim()) ? a(0, l = l.trim()) : (console.warn(`Invalid Attribute Value: "${l}" is not a valid value for the "visualstructure" attribute. Defaulting to "${R[0]}"`), a(0, l = R[0])), a(11, ie = T && Q && !U ? T : C), a(12, N = I), a(10, ae = [u, o, w, k]);
459
+ }, pe = (i) => i.map((p) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(p)), me = () => {
460
+ const i = window.innerHeight / window.innerWidth;
461
+ return 0.75 < i && i < 1.6;
462
+ }, Y = () => {
463
+ window.postMessage({ type: "JackpotBannerClicked", gameid: S }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
464
+ context: "JackpotBanner",
465
+ gameId: `${S}`
466
+ });
467
+ }, ee = () => {
468
+ qe(b);
469
+ }, E = (i) => {
470
+ const p = JSON.parse(i.data);
471
+ if (p.success && p.data.messageType === "UpdateEgtJackpotBalance" && p.data.jackpotAlias.split("_")[0] === S) {
472
+ const L = Number(p.data.jackpotAlias.split("_")[1]) - 1;
473
+ a(14, P[L] = p.data.data[`${y}`].balance.toString(), P);
474
+ }
475
+ }, re = () => {
476
+ M === "true" && ($(), a(14, P = ["", "", "", ""]), z = new EventSource(`${m}/v1/encoder/jackpot/*/update`), z.addEventListener("message", E));
477
+ };
478
+ Ve(() => () => {
479
+ }), ze(() => {
480
+ z && (z.removeEventListener("message", E), z.close(), z = null);
481
+ });
482
+ const se = () => Y();
483
+ function ce(i) {
484
+ Ee[i ? "unshift" : "push"](() => {
485
+ x = i, a(3, x);
486
+ });
487
+ }
488
+ return t.$$set = (i) => {
489
+ "visualstructure" in i && a(0, l = i.visualstructure), "title" in i && a(16, s = i.title), "caticon0" in i && a(17, u = i.caticon0), "caticon1" in i && a(18, o = i.caticon1), "caticon2" in i && a(19, w = i.caticon2), "caticon3" in i && a(20, k = i.caticon3), "iconlabels" in i && a(21, h = i.iconlabels), "backgroundsrc" in i && a(22, C = i.backgroundsrc), "currency" in i && a(1, y = i.currency), "backgroundsrcmobile" in i && a(23, T = i.backgroundsrcmobile), "titlelogopath" in i && a(24, I = i.titlelogopath), "lang" in i && a(25, b = i.lang), "clientstyling" in i && a(26, j = i.clientstyling), "clientstylingurl" in i && a(27, g = i.clientstylingurl), "translationurl" in i && a(28, d = i.translationurl), "endpoint" in i && a(29, m = i.endpoint), "gameid" in i && a(30, S = i.gameid), "mbsource" in i && a(31, D = i.mbsource), "realtimeupdate" in i && a(2, M = i.realtimeupdate);
490
+ }, t.$$.update = () => {
491
+ t.$$.dirty[0] & /*endpoint*/
492
+ 536870912 && m && fe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
493
+ 67108872 && j && x && Oe(x, j), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
494
+ 134217736 && g && x && De(x, g), t.$$.dirty[0] & /*customStylingContainer*/
495
+ 8 | t.$$.dirty[1] & /*mbsource*/
496
+ 1 && D && x && Me(x, `${D}.Style`), t.$$.dirty[0] & /*endpoint, lang, currency*/
497
+ 570425346 | t.$$.dirty[1] & /*validGameIds*/
498
+ 2 && m && b && y && G.length > 0 && ge(), t.$$.dirty[0] & /*currency, lang, isLoading*/
499
+ 33554450 && y && b && !B && $(), t.$$.dirty[0] & /*lang*/
500
+ 33554432 && b && ee(), t.$$.dirty[0] & /*translationurl*/
501
+ 268435456 && d && ue(), t.$$.dirty[0] & /*realtimeupdate*/
502
+ 4 && M && re();
503
+ }, [
504
+ l,
505
+ y,
506
+ M,
507
+ x,
508
+ B,
509
+ Q,
510
+ U,
511
+ X,
512
+ de,
513
+ Z,
514
+ ae,
515
+ ie,
516
+ N,
517
+ V,
518
+ P,
519
+ Y,
520
+ s,
521
+ u,
522
+ o,
523
+ w,
524
+ k,
525
+ h,
526
+ C,
527
+ T,
528
+ I,
529
+ b,
530
+ j,
531
+ g,
532
+ d,
533
+ m,
534
+ S,
535
+ D,
536
+ G,
537
+ se,
538
+ ce
539
+ ];
540
+ }
541
+ class $e extends We {
542
+ constructor(e) {
543
+ super(), Ae(
544
+ this,
545
+ e,
546
+ Ze,
547
+ Xe,
548
+ Ie,
549
+ {
550
+ visualstructure: 0,
551
+ title: 16,
552
+ caticon0: 17,
553
+ caticon1: 18,
554
+ caticon2: 19,
555
+ caticon3: 20,
556
+ iconlabels: 21,
557
+ backgroundsrc: 22,
558
+ currency: 1,
559
+ backgroundsrcmobile: 23,
560
+ titlelogopath: 24,
561
+ lang: 25,
562
+ clientstyling: 26,
563
+ clientstylingurl: 27,
564
+ translationurl: 28,
565
+ endpoint: 29,
566
+ gameid: 30,
567
+ mbsource: 31,
568
+ realtimeupdate: 2
569
+ },
570
+ Fe,
571
+ [-1, -1]
572
+ );
573
+ }
574
+ get visualstructure() {
575
+ return this.$$.ctx[0];
576
+ }
577
+ set visualstructure(e) {
578
+ this.$$set({ visualstructure: e }), _();
579
+ }
580
+ get title() {
581
+ return this.$$.ctx[16];
582
+ }
583
+ set title(e) {
584
+ this.$$set({ title: e }), _();
585
+ }
586
+ get caticon0() {
587
+ return this.$$.ctx[17];
588
+ }
589
+ set caticon0(e) {
590
+ this.$$set({ caticon0: e }), _();
591
+ }
592
+ get caticon1() {
593
+ return this.$$.ctx[18];
594
+ }
595
+ set caticon1(e) {
596
+ this.$$set({ caticon1: e }), _();
597
+ }
598
+ get caticon2() {
599
+ return this.$$.ctx[19];
600
+ }
601
+ set caticon2(e) {
602
+ this.$$set({ caticon2: e }), _();
603
+ }
604
+ get caticon3() {
605
+ return this.$$.ctx[20];
606
+ }
607
+ set caticon3(e) {
608
+ this.$$set({ caticon3: e }), _();
609
+ }
610
+ get iconlabels() {
611
+ return this.$$.ctx[21];
612
+ }
613
+ set iconlabels(e) {
614
+ this.$$set({ iconlabels: e }), _();
615
+ }
616
+ get backgroundsrc() {
617
+ return this.$$.ctx[22];
618
+ }
619
+ set backgroundsrc(e) {
620
+ this.$$set({ backgroundsrc: e }), _();
621
+ }
622
+ get currency() {
623
+ return this.$$.ctx[1];
624
+ }
625
+ set currency(e) {
626
+ this.$$set({ currency: e }), _();
627
+ }
628
+ get backgroundsrcmobile() {
629
+ return this.$$.ctx[23];
630
+ }
631
+ set backgroundsrcmobile(e) {
632
+ this.$$set({ backgroundsrcmobile: e }), _();
633
+ }
634
+ get titlelogopath() {
635
+ return this.$$.ctx[24];
636
+ }
637
+ set titlelogopath(e) {
638
+ this.$$set({ titlelogopath: e }), _();
639
+ }
640
+ get lang() {
641
+ return this.$$.ctx[25];
642
+ }
643
+ set lang(e) {
644
+ this.$$set({ lang: e }), _();
645
+ }
646
+ get clientstyling() {
647
+ return this.$$.ctx[26];
648
+ }
649
+ set clientstyling(e) {
650
+ this.$$set({ clientstyling: e }), _();
651
+ }
652
+ get clientstylingurl() {
653
+ return this.$$.ctx[27];
654
+ }
655
+ set clientstylingurl(e) {
656
+ this.$$set({ clientstylingurl: e }), _();
657
+ }
658
+ get translationurl() {
659
+ return this.$$.ctx[28];
660
+ }
661
+ set translationurl(e) {
662
+ this.$$set({ translationurl: e }), _();
663
+ }
664
+ get endpoint() {
665
+ return this.$$.ctx[29];
666
+ }
667
+ set endpoint(e) {
668
+ this.$$set({ endpoint: e }), _();
669
+ }
670
+ get gameid() {
671
+ return this.$$.ctx[30];
672
+ }
673
+ set gameid(e) {
674
+ this.$$set({ gameid: e }), _();
675
+ }
676
+ get mbsource() {
677
+ return this.$$.ctx[31];
678
+ }
679
+ set mbsource(e) {
680
+ this.$$set({ mbsource: e }), _();
681
+ }
682
+ get realtimeupdate() {
683
+ return this.$$.ctx[2];
684
+ }
685
+ set realtimeupdate(e) {
686
+ this.$$set({ realtimeupdate: e }), _();
687
+ }
688
+ }
689
+ Pe($e, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
690
+ export {
691
+ $e as default
692
+ };