@everymatrix/casino-lobby 1.54.11 → 1.55.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 (101) hide show
  1. package/components/{CasinoCalendar-CKCvu8d9.js → CasinoCalendar-BKvw2GLN.js} +1135 -1091
  2. package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CRnGs6mI.js} +953 -909
  3. package/components/CasinoCalendar-P6bQ-mxN.cjs +9 -0
  4. package/components/{CasinoCalendarDailyDetails-CCIR8eIp.js → CasinoCalendarDailyDetails-B-FOmYEZ.js} +45 -45
  5. package/components/{CasinoCalendarDailyDetails-B7hChP4v.js → CasinoCalendarDailyDetails-DYTiZ7iE.js} +45 -45
  6. package/components/{CasinoCalendarDailyDetails-C1T0xNcn.cjs → CasinoCalendarDailyDetails-DicGOCGy.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-1iPwEmjb.js → CasinoCalendarDailyItem-BsUUCx7a.js} +46 -46
  8. package/components/{CasinoCalendarDailyItem-Bp_PImhJ.cjs → CasinoCalendarDailyItem-DDm6oH8O.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-BNNa1Jdv.js → CasinoCalendarDailyItem-DIhsLlMC.js} +46 -46
  10. package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-C7hbpydX.js} +204 -197
  11. package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-hJChLXnm.js} +205 -198
  12. package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +1 -0
  14. package/components/{CasinoCollectionsProviders-BQPjVzK8.js → CasinoCollectionsProviders-CTvTqZY1.js} +273 -278
  15. package/components/{CasinoCollectionsProviders-CVDFBiI0.js → CasinoCollectionsProviders-Cyc5HYpW.js} +260 -265
  16. package/components/{CasinoFavoritesSection-BwdERTZb.js → CasinoFavoritesSection-B4JlTRNa.js} +139 -133
  17. package/components/CasinoFavoritesSection-CcyN5mtI.cjs +1 -0
  18. package/components/{CasinoFavoritesSection-gMRxUIMi.js → CasinoFavoritesSection-D4v8HNn9.js} +139 -133
  19. package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-CgPbbuBc.js} +178 -184
  20. package/components/{CasinoFilter-C10Tgn3c.cjs → CasinoFilter-EA285UxQ.cjs} +1 -1
  21. package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-ZQCeB5st.js} +175 -181
  22. package/components/{CasinoGamePage-CbP_7_PQ.cjs → CasinoGamePage-D2VGIU0X.cjs} +6 -6
  23. package/components/{CasinoGamePage-CG1vsycM.js → CasinoGamePage-DnFlR6PD.js} +1045 -1051
  24. package/components/{CasinoGamePage-BPRW6RjY.js → CasinoGamePage-lOejw_q6.js} +1019 -1025
  25. package/components/{CasinoGameThumbnail-Df_azhvx.js → CasinoGameThumbnail-Aj4sPAss.js} +403 -424
  26. package/components/{CasinoGameThumbnail-vXsL4BCy.cjs → CasinoGameThumbnail-ClSBiG0I.cjs} +13 -13
  27. package/components/{CasinoGameThumbnail-0781Z_CK.js → CasinoGameThumbnail-h69vAUbV.js} +523 -512
  28. package/components/{CasinoGamesCategorySection-DF00rAx9.js → CasinoGamesCategorySection-C9FCv7PW.js} +736 -674
  29. package/components/{CasinoGamesCategorySection-yYd08sVK.js → CasinoGamesCategorySection-PiRBRWmh.js} +1168 -1106
  30. package/components/CasinoGamesCategorySection-X0aDh13K.cjs +1 -0
  31. package/components/CasinoJackpotBanner-BdzgC-lW.js +690 -0
  32. package/components/CasinoJackpotBanner-Dx_3WwEw.js +686 -0
  33. package/components/CasinoJackpotBanner-rV5P1O6d.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-BP9oa18h.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-w8zOVM9X.js → CasinoLastPlayedSection-BXGcYUad.js} +148 -139
  36. package/components/{CasinoLastPlayedSection-BfV-LbIj.js → CasinoLastPlayedSection-r73sTCi9.js} +148 -139
  37. package/components/{CasinoLobby-DdHDWF7K.js → CasinoLobby-60oTKJCK.js} +555 -525
  38. package/components/CasinoLobby-CB5KGhNa.cjs +1 -0
  39. package/components/{CasinoLobby-BW9aCXLG.js → CasinoLobby-DHl1_-VE.js} +555 -525
  40. package/components/CasinoModal-B7R5L0mw.js +368 -0
  41. package/components/CasinoModal-B7pt3Gcb.cjs +1 -0
  42. package/components/CasinoModal-wz-kI5U1.js +368 -0
  43. package/components/{CasinoMostPlayedSection-C98oA8O7.cjs → CasinoMostPlayedSection-CaHWOtw_.cjs} +1 -1
  44. package/components/{CasinoMostPlayedSection-CGdqfFFk.js → CasinoMostPlayedSection-CpO0b2PN.js} +34 -34
  45. package/components/{CasinoMostPlayedSection-KHPtPjRC.js → CasinoMostPlayedSection-CxQrM8-U.js} +34 -34
  46. package/components/{CasinoMyGames-UYSc9Inu.js → CasinoMyGames-B0AvdkLy.js} +124 -128
  47. package/components/{CasinoMyGames-9-nh8GWP.cjs → CasinoMyGames-R7NrCxgd.cjs} +1 -1
  48. package/components/{CasinoMyGames-BoiJpm4z.js → CasinoMyGames-ieyBjArx.js} +139 -141
  49. package/components/{CasinoPage-qAL3jMh2.js → CasinoPage-CcV-qeX_.js} +903 -805
  50. package/components/{CasinoPage-BiY0180U.js → CasinoPage-E4Nn1l0F.js} +573 -481
  51. package/components/CasinoPage-azRHPGyF.cjs +1 -0
  52. package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-BEOONr7N.js} +244 -246
  53. package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-D1gqYJkg.cjs} +2 -2
  54. package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-DoSJSKrA.js} +225 -227
  55. package/components/CasinoSearch-3nC8pR7D.cjs +1 -0
  56. package/components/{CasinoSearch-DOczB-K5.js → CasinoSearch-BOSoxjjv.js} +394 -387
  57. package/components/{CasinoSearch-CslIZjzw.js → CasinoSearch-DqfKG5Mj.js} +443 -436
  58. package/components/{CasinoSlider-BjpV4pLV.js → CasinoSlider-DlBcdeDm.js} +294 -297
  59. package/components/{CasinoSlider-BDjskQjI.cjs → CasinoSlider-Zgasc58K.cjs} +1 -1
  60. package/components/{CasinoSlider-BWEc4YT5.js → CasinoSlider-ylo7nRmY.js} +317 -320
  61. package/components/CasinoSort-CVwRicsk.js +427 -0
  62. package/components/CasinoSort-D3rxrF3Z.cjs +1 -0
  63. package/components/CasinoSort-D9KTb90Q.js +428 -0
  64. package/components/CasinoWinners-Br_rOUdI.cjs +1 -0
  65. package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-CSDCICsh.js} +355 -352
  66. package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CeLmSRE4.js} +338 -335
  67. package/components/{GeneralAnimationLoading-CX9baArf.js → GeneralAnimationLoading-BRBLoSEB.js} +8 -8
  68. package/components/{GeneralAnimationLoading-BG_QynCK.cjs → GeneralAnimationLoading-Bu4_iets.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-DVLCsjn0.js → GeneralAnimationLoading-DoN4gYz0.js} +8 -8
  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-B5g4-G4Z.js} +3 -3
  75. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-CQe5iDJ8.cjs} +2 -2
  76. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-Cphp76Jq.js} +3 -3
  77. package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
  78. package/stencil/index-eac6b960-DXIu1GM6.js +579 -0
  79. package/stencil/index-eac6b960-Dvyvd5zP.js +563 -0
  80. package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
  81. package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
  82. package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
  83. package/components/CasinoFavoritesSection-DcLVpINE.cjs +0 -1
  84. package/components/CasinoGamesCategorySection-C1-Tejye.cjs +0 -1
  85. package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
  86. package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
  87. package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
  88. package/components/CasinoLastPlayedSection-emN1r4Gd.cjs +0 -1
  89. package/components/CasinoLobby-B_rjtvgs.cjs +0 -1
  90. package/components/CasinoModal-C1oW3YF4.js +0 -372
  91. package/components/CasinoModal-DRtZi6gR.cjs +0 -1
  92. package/components/CasinoModal-IbVlgg7Z.js +0 -372
  93. package/components/CasinoPage-7rPVpOym.cjs +0 -1
  94. package/components/CasinoSearch-BgPbWb_t.cjs +0 -1
  95. package/components/CasinoSort-CS53Uvnz.cjs +0 -1
  96. package/components/CasinoSort-DFdgT3Dt.js +0 -432
  97. package/components/CasinoSort-DFljh5Sg.js +0 -431
  98. package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
  99. package/stencil/index-8b2c4ca7-BNDGCsVn.js +0 -629
  100. package/stencil/index-8b2c4ca7-CtUqBgXG.js +0 -645
  101. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -0,0 +1,690 @@
1
+ import { a as xe, $ as Te, S as We, i as Ae, f as _, c as Ie, s as Ve, b as Je, e as c, d as H, D as be, j as P, o as Ee, a3 as ze, m as Ue, n as Ne, N as Be, K as Re, r as O, v as n, I as ye, E as I, w as l, x as Oe, u as T, B as W, q as we, H as De, C as Me } from "./CasinoCalendar-CRnGs6mI.js";
2
+ function Ce(t, e) {
3
+ xe(t, e);
4
+ }
5
+ function He(t) {
6
+ Te.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 Pe(t) {
47
+ Je(t, "svelte-4fxl7w", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
48
+ }
49
+ function je(t, e, a) {
50
+ const r = t.slice();
51
+ return r[52] = e[a], r[54] = a, r;
52
+ }
53
+ function qe(t) {
54
+ let e, a, r, s, u, o, w, k, h, C, y, S, A;
55
+ function b(d, m) {
56
+ return (
57
+ /*tabletView*/
58
+ d[6] ? Ke : Ye
59
+ );
60
+ }
61
+ let x = b(t), g = x(t);
62
+ return {
63
+ c() {
64
+ e = c("div"), a = c("div"), r = c("div"), s = c("div"), u = O(), o = c("div"), g.c(), w = O(), k = c("div"), h = c("img"), n(s, "class", "vendorLogo"), ye(s, "background-image", "url(" + /*vendorIcon*/
65
+ t[7] + ")"), n(o, "class", "displayContainer"), I(h.src, C = /*titleLogoImg*/
66
+ t[12]) || n(h, "src", C), n(h, "alt", ""), n(k, "class", "title"), n(r, "class", y = "mainWrapper " + /*visualstructure*/
67
+ t[0] + " " + /*mobileView*/
68
+ (t[5] && !/*tabletView*/
69
+ t[6] ? "mobile" : (
70
+ /*tabletView*/
71
+ t[6] ? "tablet" : ""
72
+ ))), ye(r, "background", "url(" + /*backgroundImg*/
73
+ t[11] + ")"), n(a, "class", "jackpotBanner"), n(e, "class", ""), n(e, "part", "");
74
+ },
75
+ m(d, m) {
76
+ H(d, e, m), l(e, a), l(a, r), l(r, s), l(r, u), l(r, o), g.m(o, null), l(r, w), l(r, k), l(k, h), S || (A = Oe(
77
+ a,
78
+ "click",
79
+ /*click_handler*/
80
+ t[33]
81
+ ), S = !0);
82
+ },
83
+ p(d, m) {
84
+ m[0] & /*vendorIcon*/
85
+ 128 && ye(s, "background-image", "url(" + /*vendorIcon*/
86
+ d[7] + ")"), x === (x = b(d)) && g ? g.p(d, m) : (g.d(1), g = x(d), g && (g.c(), g.m(o, null))), m[0] & /*titleLogoImg*/
87
+ 4096 && !I(h.src, C = /*titleLogoImg*/
88
+ d[12]) && n(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
+ ))) && n(r, "class", y), m[0] & /*backgroundImg*/
96
+ 2048 && ye(r, "background", "url(" + /*backgroundImg*/
97
+ d[11] + ")");
98
+ },
99
+ d(d) {
100
+ d && P(e), g.d(), S = !1, A();
101
+ }
102
+ };
103
+ }
104
+ function Fe(t) {
105
+ let e;
106
+ return {
107
+ c() {
108
+ e = c("div"), n(e, "class", "LoadingSpinner"), n(e, "part", "LoadingSpinner");
109
+ },
110
+ m(a, r) {
111
+ H(a, e, r);
112
+ },
113
+ p: be,
114
+ d(a) {
115
+ a && P(e);
116
+ }
117
+ };
118
+ }
119
+ function Ge(t) {
120
+ let e;
121
+ return {
122
+ c() {
123
+ e = c("p"), e.textContent = "500 Server error";
124
+ },
125
+ m(a, r) {
126
+ H(a, e, r);
127
+ },
128
+ p: be,
129
+ d(a) {
130
+ a && P(e);
131
+ }
132
+ };
133
+ }
134
+ function Ke(t) {
135
+ let e, a, r, 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
+ ), S, A, b, x, g, d, m, j, Y, D, te = (
148
+ /*formattedLabels*/
149
+ t[9][1] + ""
150
+ ), Q, U, X, q = (
151
+ /*realtimeupdate*/
152
+ (t[2] === "true" ? (
153
+ /*updatedJackpotValues*/
154
+ t[14][1]
155
+ ) : (
156
+ /*formattedJackpotValues*/
157
+ t[8][1]
158
+ )) + ""
159
+ ), F, de, Z, ae, ie, N, V, B, J, G, E, M = (
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
+ ), pe, fe, $, ge, me, K, ee, z, 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"), r = c("div"), s = c("img"), o = c("span"), k = T(w), h = c("span"), C = c("span"), S = T(y), A = O(), b = c("span"), x = T(
187
+ /*currency*/
188
+ t[1]
189
+ ), g = O(), d = c("div"), m = c("div"), j = c("img"), D = c("span"), Q = T(te), U = c("span"), X = c("span"), F = T(q), de = O(), Z = c("span"), ae = T(
190
+ /*currency*/
191
+ t[1]
192
+ ), ie = O(), N = c("div"), V = c("div"), B = c("div"), J = c("img"), E = c("span"), ue = T(M), R = c("span"), ne = c("span"), pe = T(le), fe = O(), $ = c("span"), ge = T(
193
+ /*currency*/
194
+ t[1]
195
+ ), me = O(), K = c("div"), ee = c("div"), z = c("img"), se = c("span"), i = T(ce), p = c("span"), L = c("span"), ve = T(oe), _e = O(), he = c("span"), ke = T(
196
+ /*currency*/
197
+ t[1]
198
+ ), n(s, "class", "displayCardIcon"), I(s.src, u = /*caticons*/
199
+ t[10][0]) || n(s, "src", u), n(s, "alt", ""), n(o, "class", "cardLabel"), n(r, "class", "iconWrapper"), n(C, "class", "jackpotValue"), n(b, "class", "jackpot-currency"), n(h, "class", "cardTextWrapper"), n(a, "class", "displayCard"), n(j, "class", "displayCardIcon"), I(j.src, Y = /*caticons*/
200
+ t[10][1]) || n(j, "src", Y), n(j, "alt", ""), n(D, "class", "cardLabel"), n(m, "class", "iconWrapper"), n(X, "class", "jackpotValue"), n(Z, "class", "jackpot-currency"), n(U, "class", "cardTextWrapper"), n(d, "class", "displayCard"), n(e, "class", "pairWrapper"), n(J, "class", "displayCardIcon"), I(J.src, G = /*caticons*/
201
+ t[10][2]) || n(J, "src", G), n(J, "alt", ""), n(E, "class", "cardLabel"), n(B, "class", "iconWrapper"), n(ne, "class", "jackpotValue"), n($, "class", "jackpot-currency"), n(R, "class", "cardTextWrapper"), n(V, "class", "displayCard"), n(z, "class", "displayCardIcon"), I(z.src, re = /*caticons*/
202
+ t[10][3]) || n(z, "src", re), n(z, "alt", ""), n(se, "class", "cardLabel"), n(ee, "class", "iconWrapper"), n(L, "class", "jackpotValue"), n(he, "class", "jackpot-currency"), n(p, "class", "cardTextWrapper"), n(K, "class", "displayCard"), n(N, "class", "pairWrapper");
203
+ },
204
+ m(f, v) {
205
+ H(f, e, v), l(e, a), l(a, r), l(r, s), l(r, o), l(o, k), l(a, h), l(h, C), l(C, S), l(h, A), l(h, b), l(b, x), l(e, g), l(e, d), l(d, m), l(m, j), l(m, D), l(D, Q), l(d, U), l(U, X), l(X, F), l(U, de), l(U, Z), l(Z, ae), H(f, ie, v), H(f, N, v), l(N, V), l(V, B), l(B, J), l(B, E), l(E, ue), l(V, R), l(R, ne), l(ne, pe), l(R, fe), l(R, $), l($, ge), l(N, me), l(N, K), l(K, ee), l(ee, z), l(ee, se), l(se, i), l(K, p), l(p, L), l(L, ve), l(p, _e), l(p, he), l(he, ke);
206
+ },
207
+ p(f, v) {
208
+ v[0] & /*caticons*/
209
+ 1024 && !I(s.src, u = /*caticons*/
210
+ f[10][0]) && n(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(S, y), v[0] & /*currency*/
221
+ 2 && W(
222
+ x,
223
+ /*currency*/
224
+ f[1]
225
+ ), v[0] & /*caticons*/
226
+ 1024 && !I(j.src, Y = /*caticons*/
227
+ f[10][1]) && n(j, "src", Y), v[0] & /*formattedLabels*/
228
+ 512 && te !== (te = /*formattedLabels*/
229
+ f[9][1] + "") && W(Q, te), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
230
+ 16644 && q !== (q = /*realtimeupdate*/
231
+ (f[2] === "true" ? (
232
+ /*updatedJackpotValues*/
233
+ f[14][1]
234
+ ) : (
235
+ /*formattedJackpotValues*/
236
+ f[8][1]
237
+ )) + "") && W(F, q), v[0] & /*currency*/
238
+ 2 && W(
239
+ ae,
240
+ /*currency*/
241
+ f[1]
242
+ ), v[0] & /*caticons*/
243
+ 1024 && !I(J.src, G = /*caticons*/
244
+ f[10][2]) && n(J, "src", G), v[0] & /*formattedLabels*/
245
+ 512 && M !== (M = /*formattedLabels*/
246
+ f[9][2] + "") && W(ue, M), 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(pe, le), v[0] & /*currency*/
255
+ 2 && W(
256
+ ge,
257
+ /*currency*/
258
+ f[1]
259
+ ), v[0] & /*caticons*/
260
+ 1024 && !I(z.src, re = /*caticons*/
261
+ f[10][3]) && n(z, "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 && (P(e), P(ie), P(N));
280
+ }
281
+ };
282
+ }
283
+ function Ye(t) {
284
+ let e, a = we(Array(4)), r = [];
285
+ for (let s = 0; s < a.length; s += 1)
286
+ r[s] = Se(je(t, a, s));
287
+ return {
288
+ c() {
289
+ for (let s = 0; s < r.length; s += 1)
290
+ r[s].c();
291
+ e = De();
292
+ },
293
+ m(s, u) {
294
+ for (let o = 0; o < r.length; o += 1)
295
+ r[o] && r[o].m(s, u);
296
+ H(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
+ r[o] ? r[o].p(w, u) : (r[o] = Se(w), r[o].c(), r[o].m(e.parentNode, e));
306
+ }
307
+ for (; o < r.length; o += 1)
308
+ r[o].d(1);
309
+ r.length = a.length;
310
+ }
311
+ },
312
+ d(s) {
313
+ s && P(e), Me(r, s);
314
+ }
315
+ };
316
+ }
317
+ function Se(t) {
318
+ var x;
319
+ let e, a, r, 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
+ (x = t[8][
336
+ /*i*/
337
+ t[54]
338
+ ]) != null ? x : ""
339
+ )) + ""
340
+ ), y, S, A, b;
341
+ return {
342
+ c() {
343
+ e = c("div"), a = c("div"), r = c("img"), u = c("span"), w = T(o), k = c("span"), h = c("span"), y = T(C), S = O(), A = c("span"), b = T(
344
+ /*currency*/
345
+ t[1]
346
+ ), n(r, "class", "displayCardIcon"), I(r.src, s = /*caticons*/
347
+ t[10][
348
+ /*i*/
349
+ t[54]
350
+ ]) || n(r, "src", s), n(r, "alt", ""), n(u, "class", "cardLabel"), n(a, "class", "iconWrapper"), n(h, "class", "jackpotValue"), n(A, "class", "jackpot-currency"), n(k, "class", "cardTextWrapper"), n(e, "class", "displayCard");
351
+ },
352
+ m(g, d) {
353
+ H(g, e, d), l(e, a), l(a, r), l(a, u), l(u, w), l(e, k), l(k, h), l(h, y), l(k, S), l(k, A), l(A, b);
354
+ },
355
+ p(g, d) {
356
+ var m;
357
+ d[0] & /*caticons*/
358
+ 1024 && !I(r.src, s = /*caticons*/
359
+ g[10][
360
+ /*i*/
361
+ g[54]
362
+ ]) && n(r, "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 && P(e);
390
+ }
391
+ };
392
+ }
393
+ function Qe(t) {
394
+ let e;
395
+ function a(u, o) {
396
+ return (
397
+ /*hasErrors*/
398
+ u[13] ? Ge : (
399
+ /*isLoading*/
400
+ u[4] ? Fe : qe
401
+ )
402
+ );
403
+ }
404
+ let r = a(t), s = r(t);
405
+ return {
406
+ c() {
407
+ e = c("div"), s.c();
408
+ },
409
+ m(u, o) {
410
+ H(u, e, o), s.m(e, null), t[34](e);
411
+ },
412
+ p(u, o) {
413
+ r === (r = a(u)) && s ? s.p(u, o) : (s.d(1), s = r(u), s && (s.c(), s.m(e, null)));
414
+ },
415
+ i: be,
416
+ o: be,
417
+ d(u) {
418
+ u && P(e), s.d(), t[34](null);
419
+ }
420
+ };
421
+ }
422
+ function Xe(t, e, a) {
423
+ let { visualstructure: r = "" } = 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: S = "" } = e, { titlelogopath: A = "" } = e, { lang: b = "en" } = e, { clientstyling: x = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: d = "" } = e, { endpoint: m = "" } = e, { gameid: j = "" } = e, { mbsource: Y } = e, { realtimeupdate: D = "false" } = e, te = window.navigator.userAgent, Q = !1, U = !1, X = "", q = [], F = [], de = [], Z = [], ae = [], ie = "", N = "", V, B = !0, J = !1, G, E = null, M = [];
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) => q.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
+ }, pe = () => {
444
+ if (m && b && y) {
445
+ let i = new URL(`${m}/v1/casino/jackpots`);
446
+ i.searchParams.append("filter", `id=${j}`), i.searchParams.append("language", b), i.searchParams.append("additionalDataCurrency", y), fetch(i.href).then((p) => p.json().then((L) => {
447
+ a(4, B = !1), G = L, F.includes(j) && (ne(G), le(G));
448
+ }).catch((L) => {
449
+ a(13, J = !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, F = p.egtJackpotIds.map((L) => L));
456
+ });
457
+ }, $ = () => {
458
+ a(5, Q = Ue(te) && window.innerHeight / window.innerWidth > 1), a(6, U = me()), q.length !== 0 && a(8, de = ge(q)), a(9, Z = h ? h.split(",").map((i) => i.trim().toUpperCase()) : new Array(4).fill("")), R.includes(r.trim()) ? a(0, r = r.trim()) : (console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${R[0]}"`), a(0, r = R[0])), a(11, ie = S && Q && !U ? S : C), a(12, N = A), a(10, ae = [u, o, w, k]);
459
+ }, ge = (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
+ }, K = () => {
463
+ window.postMessage({ type: "JackpotBannerClicked", gameid: j }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
464
+ context: "JackpotBanner",
465
+ gameId: `${j}`
466
+ });
467
+ }, ee = () => {
468
+ He(b);
469
+ }, z = (i) => {
470
+ const p = JSON.parse(i.data);
471
+ if (p.success && p.data.messageType === "UpdateEgtJackpotBalance" && p.data.jackpotAlias.split("_")[0] === j) {
472
+ const L = Number(p.data.jackpotAlias.split("_")[1]) - 1;
473
+ a(14, M[L] = p.data.data[`${y}`].balance.toString(), M);
474
+ }
475
+ }, re = () => {
476
+ D === "true" && ($(), a(14, M = ["", "", "", ""]), E = new EventSource(`${m}/v1/encoder/jackpot/*/update`), E.addEventListener("message", z));
477
+ };
478
+ Ee(() => () => {
479
+ }), ze(() => {
480
+ E && (E.removeEventListener("message", z), E.close(), E = null);
481
+ });
482
+ const se = () => K();
483
+ function ce(i) {
484
+ Ne[i ? "unshift" : "push"](() => {
485
+ V = i, a(3, V);
486
+ });
487
+ }
488
+ return t.$$set = (i) => {
489
+ "visualstructure" in i && a(0, r = 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, S = i.backgroundsrcmobile), "titlelogopath" in i && a(24, A = i.titlelogopath), "lang" in i && a(25, b = i.lang), "clientstyling" in i && a(26, x = 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, j = i.gameid), "mbsource" in i && a(31, Y = i.mbsource), "realtimeupdate" in i && a(2, D = i.realtimeupdate);
490
+ }, t.$$.update = () => {
491
+ t.$$.dirty[0] & /*endpoint*/
492
+ 536870912 && m && fe(), t.$$.dirty[0] & /*customStylingContainer, clientstyling*/
493
+ 67108872 && V && x && Be(), t.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
494
+ 134217736 && V && g && Re(), t.$$.dirty[0] & /*endpoint, lang, currency*/
495
+ 570425346 | t.$$.dirty[1] & /*validGameIds*/
496
+ 2 && m && b && y && F.length > 0 && pe(), t.$$.dirty[0] & /*currency, lang, isLoading*/
497
+ 33554450 && y && b && !B && $(), t.$$.dirty[0] & /*lang*/
498
+ 33554432 && b && ee(), t.$$.dirty[0] & /*translationurl*/
499
+ 268435456 && d && ue(), t.$$.dirty[0] & /*realtimeupdate*/
500
+ 4 && D && re();
501
+ }, [
502
+ r,
503
+ y,
504
+ D,
505
+ V,
506
+ B,
507
+ Q,
508
+ U,
509
+ X,
510
+ de,
511
+ Z,
512
+ ae,
513
+ ie,
514
+ N,
515
+ J,
516
+ M,
517
+ K,
518
+ s,
519
+ u,
520
+ o,
521
+ w,
522
+ k,
523
+ h,
524
+ C,
525
+ S,
526
+ A,
527
+ b,
528
+ x,
529
+ g,
530
+ d,
531
+ m,
532
+ j,
533
+ Y,
534
+ F,
535
+ se,
536
+ ce
537
+ ];
538
+ }
539
+ class Ze extends We {
540
+ constructor(e) {
541
+ super(), Ae(
542
+ this,
543
+ e,
544
+ Xe,
545
+ Qe,
546
+ Ve,
547
+ {
548
+ visualstructure: 0,
549
+ title: 16,
550
+ caticon0: 17,
551
+ caticon1: 18,
552
+ caticon2: 19,
553
+ caticon3: 20,
554
+ iconlabels: 21,
555
+ backgroundsrc: 22,
556
+ currency: 1,
557
+ backgroundsrcmobile: 23,
558
+ titlelogopath: 24,
559
+ lang: 25,
560
+ clientstyling: 26,
561
+ clientstylingurl: 27,
562
+ translationurl: 28,
563
+ endpoint: 29,
564
+ gameid: 30,
565
+ mbsource: 31,
566
+ realtimeupdate: 2
567
+ },
568
+ Pe,
569
+ [-1, -1]
570
+ );
571
+ }
572
+ get visualstructure() {
573
+ return this.$$.ctx[0];
574
+ }
575
+ set visualstructure(e) {
576
+ this.$$set({ visualstructure: e }), _();
577
+ }
578
+ get title() {
579
+ return this.$$.ctx[16];
580
+ }
581
+ set title(e) {
582
+ this.$$set({ title: e }), _();
583
+ }
584
+ get caticon0() {
585
+ return this.$$.ctx[17];
586
+ }
587
+ set caticon0(e) {
588
+ this.$$set({ caticon0: e }), _();
589
+ }
590
+ get caticon1() {
591
+ return this.$$.ctx[18];
592
+ }
593
+ set caticon1(e) {
594
+ this.$$set({ caticon1: e }), _();
595
+ }
596
+ get caticon2() {
597
+ return this.$$.ctx[19];
598
+ }
599
+ set caticon2(e) {
600
+ this.$$set({ caticon2: e }), _();
601
+ }
602
+ get caticon3() {
603
+ return this.$$.ctx[20];
604
+ }
605
+ set caticon3(e) {
606
+ this.$$set({ caticon3: e }), _();
607
+ }
608
+ get iconlabels() {
609
+ return this.$$.ctx[21];
610
+ }
611
+ set iconlabels(e) {
612
+ this.$$set({ iconlabels: e }), _();
613
+ }
614
+ get backgroundsrc() {
615
+ return this.$$.ctx[22];
616
+ }
617
+ set backgroundsrc(e) {
618
+ this.$$set({ backgroundsrc: e }), _();
619
+ }
620
+ get currency() {
621
+ return this.$$.ctx[1];
622
+ }
623
+ set currency(e) {
624
+ this.$$set({ currency: e }), _();
625
+ }
626
+ get backgroundsrcmobile() {
627
+ return this.$$.ctx[23];
628
+ }
629
+ set backgroundsrcmobile(e) {
630
+ this.$$set({ backgroundsrcmobile: e }), _();
631
+ }
632
+ get titlelogopath() {
633
+ return this.$$.ctx[24];
634
+ }
635
+ set titlelogopath(e) {
636
+ this.$$set({ titlelogopath: e }), _();
637
+ }
638
+ get lang() {
639
+ return this.$$.ctx[25];
640
+ }
641
+ set lang(e) {
642
+ this.$$set({ lang: e }), _();
643
+ }
644
+ get clientstyling() {
645
+ return this.$$.ctx[26];
646
+ }
647
+ set clientstyling(e) {
648
+ this.$$set({ clientstyling: e }), _();
649
+ }
650
+ get clientstylingurl() {
651
+ return this.$$.ctx[27];
652
+ }
653
+ set clientstylingurl(e) {
654
+ this.$$set({ clientstylingurl: e }), _();
655
+ }
656
+ get translationurl() {
657
+ return this.$$.ctx[28];
658
+ }
659
+ set translationurl(e) {
660
+ this.$$set({ translationurl: e }), _();
661
+ }
662
+ get endpoint() {
663
+ return this.$$.ctx[29];
664
+ }
665
+ set endpoint(e) {
666
+ this.$$set({ endpoint: e }), _();
667
+ }
668
+ get gameid() {
669
+ return this.$$.ctx[30];
670
+ }
671
+ set gameid(e) {
672
+ this.$$set({ gameid: e }), _();
673
+ }
674
+ get mbsource() {
675
+ return this.$$.ctx[31];
676
+ }
677
+ set mbsource(e) {
678
+ this.$$set({ mbsource: e }), _();
679
+ }
680
+ get realtimeupdate() {
681
+ return this.$$.ctx[2];
682
+ }
683
+ set realtimeupdate(e) {
684
+ this.$$set({ realtimeupdate: e }), _();
685
+ }
686
+ }
687
+ Ie(Ze, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
688
+ export {
689
+ Ze as default
690
+ };