@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,688 @@
1
+ import { a as Te, $ as xe, S as We, i as Ae, s as Ie, f as w, b as Je, n as be, d as q, h as F, j as c, o as Ve, a3 as De, C as ze, r, G as ye, D as J, p as n, A as Ee, B as R, l as Ue, v as we, w as Ne, F as Be, m as W, q as A, I as Re, J as Oe, K as Me, L as Pe } from "./CasinoCalendar-_T8fa3tA.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, d, o, C, _, h, L, b, T, I;
55
+ function k(f, y) {
56
+ return (
57
+ /*tabletView*/
58
+ f[6] ? Ye : Qe
59
+ );
60
+ }
61
+ let g = k(t), m = g(t);
62
+ return {
63
+ c() {
64
+ e = c("div"), a = c("div"), l = c("div"), s = c("div"), d = R(), o = c("div"), m.c(), C = R(), _ = 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, L = /*titleLogoImg*/
66
+ t[12]) || r(h, "src", L), r(h, "alt", ""), r(_, "class", "title"), r(l, "class", b = "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(f, y) {
76
+ F(f, e, y), n(e, a), n(a, l), n(l, s), n(l, d), n(l, o), m.m(o, null), n(l, C), n(l, _), n(_, h), T || (I = Ee(
77
+ a,
78
+ "click",
79
+ /*click_handler*/
80
+ t[33]
81
+ ), T = !0);
82
+ },
83
+ p(f, y) {
84
+ y[0] & /*vendorIcon*/
85
+ 128 && ye(s, "background-image", "url(" + /*vendorIcon*/
86
+ f[7] + ")"), g === (g = k(f)) && m ? m.p(f, y) : (m.d(1), m = g(f), m && (m.c(), m.m(o, null))), y[0] & /*titleLogoImg*/
87
+ 4096 && !J(h.src, L = /*titleLogoImg*/
88
+ f[12]) && r(h, "src", L), y[0] & /*visualstructure, mobileView, tabletView*/
89
+ 97 && b !== (b = "mainWrapper " + /*visualstructure*/
90
+ f[0] + " " + /*mobileView*/
91
+ (f[5] && !/*tabletView*/
92
+ f[6] ? "mobile" : (
93
+ /*tabletView*/
94
+ f[6] ? "tablet" : ""
95
+ ))) && r(l, "class", b), y[0] & /*backgroundImg*/
96
+ 2048 && ye(l, "background", "url(" + /*backgroundImg*/
97
+ f[11] + ")");
98
+ },
99
+ d(f) {
100
+ f && q(e), m.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, d, o, C = (
136
+ /*formattedLabels*/
137
+ t[9][0] + ""
138
+ ), _, h, L, b = (
139
+ /*realtimeupdate*/
140
+ (t[2] === "true" ? (
141
+ /*updatedJackpotValues*/
142
+ t[14][0]
143
+ ) : (
144
+ /*formattedJackpotValues*/
145
+ t[8][0]
146
+ )) + ""
147
+ ), T, I, k, g, m, f, y, S, O, M, te = (
148
+ /*formattedLabels*/
149
+ t[9][1] + ""
150
+ ), Q, E, X, H = (
151
+ /*realtimeupdate*/
152
+ (t[2] === "true" ? (
153
+ /*updatedJackpotValues*/
154
+ t[14][1]
155
+ ) : (
156
+ /*formattedJackpotValues*/
157
+ t[8][1]
158
+ )) + ""
159
+ ), G, oe, Z, ae, ie, U, x, N, V, K, D, P = (
160
+ /*formattedLabels*/
161
+ t[9][2] + ""
162
+ ), de, B, ne, le = (
163
+ /*realtimeupdate*/
164
+ (t[2] === "true" ? (
165
+ /*updatedJackpotValues*/
166
+ t[14][2]
167
+ ) : (
168
+ /*formattedJackpotValues*/
169
+ t[8][2]
170
+ )) + ""
171
+ ), ue, ge, $, pe, fe, Y, ee, z, re, se, ce = (
172
+ /*formattedLabels*/
173
+ t[9][3] + ""
174
+ ), i, u, j, me = (
175
+ /*realtimeupdate*/
176
+ (t[2] === "true" ? (
177
+ /*updatedJackpotValues*/
178
+ t[14][3]
179
+ ) : (
180
+ /*formattedJackpotValues*/
181
+ t[8][3]
182
+ )) + ""
183
+ ), ke, _e, he, ve;
184
+ return {
185
+ c() {
186
+ e = c("div"), a = c("div"), l = c("div"), s = c("img"), o = c("span"), _ = A(C), h = c("span"), L = c("span"), T = A(b), I = R(), k = c("span"), g = A(
187
+ /*currency*/
188
+ t[1]
189
+ ), m = R(), f = c("div"), y = c("div"), S = c("img"), M = c("span"), Q = A(te), E = c("span"), X = c("span"), G = A(H), oe = R(), Z = c("span"), ae = A(
190
+ /*currency*/
191
+ t[1]
192
+ ), ie = R(), U = c("div"), x = c("div"), N = c("div"), V = c("img"), D = c("span"), de = A(P), B = c("span"), ne = c("span"), ue = A(le), ge = R(), $ = c("span"), pe = A(
193
+ /*currency*/
194
+ t[1]
195
+ ), fe = R(), Y = c("div"), ee = c("div"), z = c("img"), se = c("span"), i = A(ce), u = c("span"), j = c("span"), ke = A(me), _e = R(), he = c("span"), ve = A(
196
+ /*currency*/
197
+ t[1]
198
+ ), r(s, "class", "displayCardIcon"), J(s.src, d = /*caticons*/
199
+ t[10][0]) || r(s, "src", d), r(s, "alt", ""), r(o, "class", "cardLabel"), r(l, "class", "iconWrapper"), r(L, "class", "jackpotValue"), r(k, "class", "jackpot-currency"), r(h, "class", "cardTextWrapper"), r(a, "class", "displayCard"), r(S, "class", "displayCardIcon"), J(S.src, O = /*caticons*/
200
+ t[10][1]) || r(S, "src", O), r(S, "alt", ""), r(M, "class", "cardLabel"), r(y, "class", "iconWrapper"), r(X, "class", "jackpotValue"), r(Z, "class", "jackpot-currency"), r(E, "class", "cardTextWrapper"), r(f, "class", "displayCard"), r(e, "class", "pairWrapper"), r(V, "class", "displayCardIcon"), J(V.src, K = /*caticons*/
201
+ t[10][2]) || r(V, "src", K), r(V, "alt", ""), r(D, "class", "cardLabel"), r(N, "class", "iconWrapper"), r(ne, "class", "jackpotValue"), r($, "class", "jackpot-currency"), r(B, "class", "cardTextWrapper"), r(x, "class", "displayCard"), r(z, "class", "displayCardIcon"), J(z.src, re = /*caticons*/
202
+ t[10][3]) || r(z, "src", re), r(z, "alt", ""), r(se, "class", "cardLabel"), r(ee, "class", "iconWrapper"), r(j, "class", "jackpotValue"), r(he, "class", "jackpot-currency"), r(u, "class", "cardTextWrapper"), r(Y, "class", "displayCard"), r(U, "class", "pairWrapper");
203
+ },
204
+ m(p, v) {
205
+ F(p, e, v), n(e, a), n(a, l), n(l, s), n(l, o), n(o, _), n(a, h), n(h, L), n(L, T), n(h, I), n(h, k), n(k, g), n(e, m), n(e, f), n(f, y), n(y, S), n(y, M), n(M, Q), n(f, E), n(E, X), n(X, G), n(E, oe), n(E, Z), n(Z, ae), F(p, ie, v), F(p, U, v), n(U, x), n(x, N), n(N, V), n(N, D), n(D, de), n(x, B), n(B, ne), n(ne, ue), n(B, ge), n(B, $), n($, pe), n(U, fe), n(U, Y), n(Y, ee), n(ee, z), n(ee, se), n(se, i), n(Y, u), n(u, j), n(j, ke), n(u, _e), n(u, he), n(he, ve);
206
+ },
207
+ p(p, v) {
208
+ v[0] & /*caticons*/
209
+ 1024 && !J(s.src, d = /*caticons*/
210
+ p[10][0]) && r(s, "src", d), v[0] & /*formattedLabels*/
211
+ 512 && C !== (C = /*formattedLabels*/
212
+ p[9][0] + "") && W(_, C), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
213
+ 16644 && b !== (b = /*realtimeupdate*/
214
+ (p[2] === "true" ? (
215
+ /*updatedJackpotValues*/
216
+ p[14][0]
217
+ ) : (
218
+ /*formattedJackpotValues*/
219
+ p[8][0]
220
+ )) + "") && W(T, b), v[0] & /*currency*/
221
+ 2 && W(
222
+ g,
223
+ /*currency*/
224
+ p[1]
225
+ ), v[0] & /*caticons*/
226
+ 1024 && !J(S.src, O = /*caticons*/
227
+ p[10][1]) && r(S, "src", O), v[0] & /*formattedLabels*/
228
+ 512 && te !== (te = /*formattedLabels*/
229
+ p[9][1] + "") && W(Q, te), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
230
+ 16644 && H !== (H = /*realtimeupdate*/
231
+ (p[2] === "true" ? (
232
+ /*updatedJackpotValues*/
233
+ p[14][1]
234
+ ) : (
235
+ /*formattedJackpotValues*/
236
+ p[8][1]
237
+ )) + "") && W(G, H), v[0] & /*currency*/
238
+ 2 && W(
239
+ ae,
240
+ /*currency*/
241
+ p[1]
242
+ ), v[0] & /*caticons*/
243
+ 1024 && !J(V.src, K = /*caticons*/
244
+ p[10][2]) && r(V, "src", K), v[0] & /*formattedLabels*/
245
+ 512 && P !== (P = /*formattedLabels*/
246
+ p[9][2] + "") && W(de, P), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
247
+ 16644 && le !== (le = /*realtimeupdate*/
248
+ (p[2] === "true" ? (
249
+ /*updatedJackpotValues*/
250
+ p[14][2]
251
+ ) : (
252
+ /*formattedJackpotValues*/
253
+ p[8][2]
254
+ )) + "") && W(ue, le), v[0] & /*currency*/
255
+ 2 && W(
256
+ pe,
257
+ /*currency*/
258
+ p[1]
259
+ ), v[0] & /*caticons*/
260
+ 1024 && !J(z.src, re = /*caticons*/
261
+ p[10][3]) && r(z, "src", re), v[0] & /*formattedLabels*/
262
+ 512 && ce !== (ce = /*formattedLabels*/
263
+ p[9][3] + "") && W(i, ce), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
264
+ 16644 && me !== (me = /*realtimeupdate*/
265
+ (p[2] === "true" ? (
266
+ /*updatedJackpotValues*/
267
+ p[14][3]
268
+ ) : (
269
+ /*formattedJackpotValues*/
270
+ p[8][3]
271
+ )) + "") && W(ke, me), v[0] & /*currency*/
272
+ 2 && W(
273
+ ve,
274
+ /*currency*/
275
+ p[1]
276
+ );
277
+ },
278
+ d(p) {
279
+ p && (q(e), q(ie), q(U));
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 = Be();
292
+ },
293
+ m(s, d) {
294
+ for (let o = 0; o < l.length; o += 1)
295
+ l[o] && l[o].m(s, d);
296
+ F(s, e, d);
297
+ },
298
+ p(s, d) {
299
+ if (d[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 C = je(s, a, o);
305
+ l[o] ? l[o].p(C, d) : (l[o] = Se(C), 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), Ne(l, s);
314
+ }
315
+ };
316
+ }
317
+ function Se(t) {
318
+ let e, a, l, s, d, o = (
319
+ /*formattedLabels*/
320
+ t[9][
321
+ /*i*/
322
+ t[54]
323
+ ] + ""
324
+ ), C, _, h, L = (
325
+ /*realtimeupdate*/
326
+ (t[2] === "true" ? (
327
+ /*updatedJackpotValues*/
328
+ t[14][
329
+ /*i*/
330
+ t[54]
331
+ ]
332
+ ) : (
333
+ /*formattedJackpotValues*/
334
+ t[8][
335
+ /*i*/
336
+ t[54]
337
+ ] ?? ""
338
+ )) + ""
339
+ ), b, T, I, k;
340
+ return {
341
+ c() {
342
+ e = c("div"), a = c("div"), l = c("img"), d = c("span"), C = A(o), _ = c("span"), h = c("span"), b = A(L), T = R(), I = c("span"), k = A(
343
+ /*currency*/
344
+ t[1]
345
+ ), r(l, "class", "displayCardIcon"), J(l.src, s = /*caticons*/
346
+ t[10][
347
+ /*i*/
348
+ t[54]
349
+ ]) || r(l, "src", s), r(l, "alt", ""), r(d, "class", "cardLabel"), r(a, "class", "iconWrapper"), r(h, "class", "jackpotValue"), r(I, "class", "jackpot-currency"), r(_, "class", "cardTextWrapper"), r(e, "class", "displayCard");
350
+ },
351
+ m(g, m) {
352
+ F(g, e, m), n(e, a), n(a, l), n(a, d), n(d, C), n(e, _), n(_, h), n(h, b), n(_, T), n(_, I), n(I, k);
353
+ },
354
+ p(g, m) {
355
+ m[0] & /*caticons*/
356
+ 1024 && !J(l.src, s = /*caticons*/
357
+ g[10][
358
+ /*i*/
359
+ g[54]
360
+ ]) && r(l, "src", s), m[0] & /*formattedLabels*/
361
+ 512 && o !== (o = /*formattedLabels*/
362
+ g[9][
363
+ /*i*/
364
+ g[54]
365
+ ] + "") && W(C, o), m[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
366
+ 16644 && L !== (L = /*realtimeupdate*/
367
+ (g[2] === "true" ? (
368
+ /*updatedJackpotValues*/
369
+ g[14][
370
+ /*i*/
371
+ g[54]
372
+ ]
373
+ ) : (
374
+ /*formattedJackpotValues*/
375
+ g[8][
376
+ /*i*/
377
+ g[54]
378
+ ] ?? ""
379
+ )) + "") && W(b, L), m[0] & /*currency*/
380
+ 2 && W(
381
+ k,
382
+ /*currency*/
383
+ g[1]
384
+ );
385
+ },
386
+ d(g) {
387
+ g && q(e);
388
+ }
389
+ };
390
+ }
391
+ function Xe(t) {
392
+ let e;
393
+ function a(d, o) {
394
+ return (
395
+ /*hasErrors*/
396
+ d[13] ? Ke : (
397
+ /*isLoading*/
398
+ d[4] ? Ge : He
399
+ )
400
+ );
401
+ }
402
+ let l = a(t), s = l(t);
403
+ return {
404
+ c() {
405
+ e = c("div"), s.c();
406
+ },
407
+ m(d, o) {
408
+ F(d, e, o), s.m(e, null), t[34](e);
409
+ },
410
+ p(d, o) {
411
+ l === (l = a(d)) && s ? s.p(d, o) : (s.d(1), s = l(d), s && (s.c(), s.m(e, null)));
412
+ },
413
+ i: be,
414
+ o: be,
415
+ d(d) {
416
+ d && q(e), s.d(), t[34](null);
417
+ }
418
+ };
419
+ }
420
+ function Ze(t, e, a) {
421
+ let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: o = "" } = e, { caticon2: C = "" } = e, { caticon3: _ = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: L = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: T = "" } = e, { titlelogopath: I = "" } = e, { lang: k = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: f = "" } = e, { endpoint: y = "" } = e, { gameid: S = "" } = e, { mbsource: O } = e, { realtimeupdate: M = "false" } = e, te = window.navigator.userAgent, Q = !1, E = !1, X = "", H = [], G = [], oe = [], Z = [], ae = [], ie = "", U = "", x, N = !0, V = !1, K, D = null, P = [];
422
+ const de = () => {
423
+ fetch(f).then((u) => u.json()).then((u) => {
424
+ Object.keys(u).forEach((j) => {
425
+ Ce(j, u[j]);
426
+ });
427
+ }).catch((u) => {
428
+ console.log(u);
429
+ });
430
+ };
431
+ Object.keys(Le).forEach((i) => {
432
+ Ce(i, Le[i]);
433
+ });
434
+ const B = ["typeSpread", "typeLeft"], ne = (i) => {
435
+ const u = i?.items[0]?.additionalData;
436
+ u && Object.values(u).forEach((j) => H.push(+j));
437
+ }, le = (i) => {
438
+ a(7, X = i?.items[0]?.vendorLogo || "");
439
+ }, ue = () => {
440
+ if (y && k && b) {
441
+ let i = new URL(`${y}/v1/casino/jackpots`);
442
+ i.searchParams.append("filter", `id=${S}`), i.searchParams.append("language", k), i.searchParams.append("additionalDataCurrency", b), fetch(i.href).then((u) => u.json().then((j) => {
443
+ a(4, N = !1), K = j, G.includes(S) && (ne(K), le(K));
444
+ }).catch((j) => {
445
+ a(13, V = !0), a(4, N = !1), console.error(j);
446
+ }));
447
+ }
448
+ }, ge = () => {
449
+ let i = new URL(`${y}/v1/casino/jackpots/config`);
450
+ fetch(i.href).then((u) => u.json()).then((u) => {
451
+ a(32, G = u.egtJackpotIds.map((j) => j));
452
+ });
453
+ }, $ = () => {
454
+ a(5, Q = Ue(te) && window.innerHeight / window.innerWidth > 1), a(6, E = fe()), H.length !== 0 && a(8, oe = pe(H)), a(9, Z = h ? h.split(",").map((i) => i.trim().toUpperCase()) : new Array(4).fill("")), B.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 "${B[0]}"`), a(0, l = B[0])), a(11, ie = T && Q && !E ? T : L), a(12, U = I), a(10, ae = [d, o, C, _]);
455
+ }, pe = (i) => i.map((u) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(u)), fe = () => {
456
+ const i = window.innerHeight / window.innerWidth;
457
+ return 0.75 < i && i < 1.6;
458
+ }, Y = () => {
459
+ window.postMessage({ type: "JackpotBannerClicked", gameid: S }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
460
+ context: "JackpotBanner",
461
+ gameId: `${S}`
462
+ });
463
+ }, ee = () => {
464
+ qe(k);
465
+ }, z = (i) => {
466
+ const u = JSON.parse(i.data);
467
+ if (u.success && u.data.messageType === "UpdateEgtJackpotBalance" && u.data.jackpotAlias.split("_")[0] === S) {
468
+ const j = Number(u.data.jackpotAlias.split("_")[1]) - 1;
469
+ a(14, P[j] = u.data.data[`${b}`].balance.toString(), P);
470
+ }
471
+ }, re = () => {
472
+ M === "true" && ($(), a(14, P = ["", "", "", ""]), D = new EventSource(`${y}/v1/encoder/jackpot/*/update`), D.addEventListener("message", z));
473
+ };
474
+ Ve(() => () => {
475
+ }), De(() => {
476
+ D && (D.removeEventListener("message", z), D.close(), D = null);
477
+ });
478
+ const se = () => Y();
479
+ function ce(i) {
480
+ ze[i ? "unshift" : "push"](() => {
481
+ x = i, a(3, x);
482
+ });
483
+ }
484
+ return t.$$set = (i) => {
485
+ "visualstructure" in i && a(0, l = i.visualstructure), "title" in i && a(16, s = i.title), "caticon0" in i && a(17, d = i.caticon0), "caticon1" in i && a(18, o = i.caticon1), "caticon2" in i && a(19, C = i.caticon2), "caticon3" in i && a(20, _ = i.caticon3), "iconlabels" in i && a(21, h = i.iconlabels), "backgroundsrc" in i && a(22, L = i.backgroundsrc), "currency" in i && a(1, b = i.currency), "backgroundsrcmobile" in i && a(23, T = i.backgroundsrcmobile), "titlelogopath" in i && a(24, I = i.titlelogopath), "lang" in i && a(25, k = i.lang), "clientstyling" in i && a(26, g = i.clientstyling), "clientstylingurl" in i && a(27, m = i.clientstylingurl), "translationurl" in i && a(28, f = i.translationurl), "endpoint" in i && a(29, y = i.endpoint), "gameid" in i && a(30, S = i.gameid), "mbsource" in i && a(31, O = i.mbsource), "realtimeupdate" in i && a(2, M = i.realtimeupdate);
486
+ }, t.$$.update = () => {
487
+ t.$$.dirty[0] & /*endpoint*/
488
+ 536870912 && y && ge(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
489
+ 67108872 && g && x && Re(x, g), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
490
+ 134217736 && m && x && Oe(x, m), t.$$.dirty[0] & /*customStylingContainer*/
491
+ 8 | t.$$.dirty[1] & /*mbsource*/
492
+ 1 && O && x && Me(x, `${O}.Style`), t.$$.dirty[0] & /*endpoint, lang, currency*/
493
+ 570425346 | t.$$.dirty[1] & /*validGameIds*/
494
+ 2 && y && k && b && G.length > 0 && ue(), t.$$.dirty[0] & /*currency, lang, isLoading*/
495
+ 33554450 && b && k && !N && $(), t.$$.dirty[0] & /*lang*/
496
+ 33554432 && k && ee(), t.$$.dirty[0] & /*translationurl*/
497
+ 268435456 && f && de(), t.$$.dirty[0] & /*realtimeupdate*/
498
+ 4 && M && re();
499
+ }, [
500
+ l,
501
+ b,
502
+ M,
503
+ x,
504
+ N,
505
+ Q,
506
+ E,
507
+ X,
508
+ oe,
509
+ Z,
510
+ ae,
511
+ ie,
512
+ U,
513
+ V,
514
+ P,
515
+ Y,
516
+ s,
517
+ d,
518
+ o,
519
+ C,
520
+ _,
521
+ h,
522
+ L,
523
+ T,
524
+ I,
525
+ k,
526
+ g,
527
+ m,
528
+ f,
529
+ y,
530
+ S,
531
+ O,
532
+ G,
533
+ se,
534
+ ce
535
+ ];
536
+ }
537
+ class $e extends We {
538
+ constructor(e) {
539
+ super(), Ae(
540
+ this,
541
+ e,
542
+ Ze,
543
+ Xe,
544
+ Ie,
545
+ {
546
+ visualstructure: 0,
547
+ title: 16,
548
+ caticon0: 17,
549
+ caticon1: 18,
550
+ caticon2: 19,
551
+ caticon3: 20,
552
+ iconlabels: 21,
553
+ backgroundsrc: 22,
554
+ currency: 1,
555
+ backgroundsrcmobile: 23,
556
+ titlelogopath: 24,
557
+ lang: 25,
558
+ clientstyling: 26,
559
+ clientstylingurl: 27,
560
+ translationurl: 28,
561
+ endpoint: 29,
562
+ gameid: 30,
563
+ mbsource: 31,
564
+ realtimeupdate: 2
565
+ },
566
+ Fe,
567
+ [-1, -1]
568
+ );
569
+ }
570
+ get visualstructure() {
571
+ return this.$$.ctx[0];
572
+ }
573
+ set visualstructure(e) {
574
+ this.$$set({ visualstructure: e }), w();
575
+ }
576
+ get title() {
577
+ return this.$$.ctx[16];
578
+ }
579
+ set title(e) {
580
+ this.$$set({ title: e }), w();
581
+ }
582
+ get caticon0() {
583
+ return this.$$.ctx[17];
584
+ }
585
+ set caticon0(e) {
586
+ this.$$set({ caticon0: e }), w();
587
+ }
588
+ get caticon1() {
589
+ return this.$$.ctx[18];
590
+ }
591
+ set caticon1(e) {
592
+ this.$$set({ caticon1: e }), w();
593
+ }
594
+ get caticon2() {
595
+ return this.$$.ctx[19];
596
+ }
597
+ set caticon2(e) {
598
+ this.$$set({ caticon2: e }), w();
599
+ }
600
+ get caticon3() {
601
+ return this.$$.ctx[20];
602
+ }
603
+ set caticon3(e) {
604
+ this.$$set({ caticon3: e }), w();
605
+ }
606
+ get iconlabels() {
607
+ return this.$$.ctx[21];
608
+ }
609
+ set iconlabels(e) {
610
+ this.$$set({ iconlabels: e }), w();
611
+ }
612
+ get backgroundsrc() {
613
+ return this.$$.ctx[22];
614
+ }
615
+ set backgroundsrc(e) {
616
+ this.$$set({ backgroundsrc: e }), w();
617
+ }
618
+ get currency() {
619
+ return this.$$.ctx[1];
620
+ }
621
+ set currency(e) {
622
+ this.$$set({ currency: e }), w();
623
+ }
624
+ get backgroundsrcmobile() {
625
+ return this.$$.ctx[23];
626
+ }
627
+ set backgroundsrcmobile(e) {
628
+ this.$$set({ backgroundsrcmobile: e }), w();
629
+ }
630
+ get titlelogopath() {
631
+ return this.$$.ctx[24];
632
+ }
633
+ set titlelogopath(e) {
634
+ this.$$set({ titlelogopath: e }), w();
635
+ }
636
+ get lang() {
637
+ return this.$$.ctx[25];
638
+ }
639
+ set lang(e) {
640
+ this.$$set({ lang: e }), w();
641
+ }
642
+ get clientstyling() {
643
+ return this.$$.ctx[26];
644
+ }
645
+ set clientstyling(e) {
646
+ this.$$set({ clientstyling: e }), w();
647
+ }
648
+ get clientstylingurl() {
649
+ return this.$$.ctx[27];
650
+ }
651
+ set clientstylingurl(e) {
652
+ this.$$set({ clientstylingurl: e }), w();
653
+ }
654
+ get translationurl() {
655
+ return this.$$.ctx[28];
656
+ }
657
+ set translationurl(e) {
658
+ this.$$set({ translationurl: e }), w();
659
+ }
660
+ get endpoint() {
661
+ return this.$$.ctx[29];
662
+ }
663
+ set endpoint(e) {
664
+ this.$$set({ endpoint: e }), w();
665
+ }
666
+ get gameid() {
667
+ return this.$$.ctx[30];
668
+ }
669
+ set gameid(e) {
670
+ this.$$set({ gameid: e }), w();
671
+ }
672
+ get mbsource() {
673
+ return this.$$.ctx[31];
674
+ }
675
+ set mbsource(e) {
676
+ this.$$set({ mbsource: e }), w();
677
+ }
678
+ get realtimeupdate() {
679
+ return this.$$.ctx[2];
680
+ }
681
+ set realtimeupdate(e) {
682
+ this.$$set({ realtimeupdate: e }), w();
683
+ }
684
+ }
685
+ Pe($e, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
686
+ export {
687
+ $e as default
688
+ };