@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,686 @@
1
+ import { a as xe, $ as Te, S as We, i as Ae, f as w, c as Ie, s as Ve, b as Je, e as c, d as H, D as be, j as P, o as De, a3 as Ee, m as ze, n as Ue, N as Ne, K as Be, r as R, v as n, I as ye, E as I, w as l, x as Re, u as T, B as W, q as we, H as Oe, C as Me } from "./CasinoCalendar-BKvw2GLN.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, d, o, C, _, m, L, b, x, A;
55
+ function k(f, y) {
56
+ return (
57
+ /*tabletView*/
58
+ f[6] ? Ke : Ye
59
+ );
60
+ }
61
+ let g = k(t), h = g(t);
62
+ return {
63
+ c() {
64
+ e = c("div"), a = c("div"), r = c("div"), s = c("div"), d = R(), o = c("div"), h.c(), C = R(), _ = c("div"), m = c("img"), n(s, "class", "vendorLogo"), ye(s, "background-image", "url(" + /*vendorIcon*/
65
+ t[7] + ")"), n(o, "class", "displayContainer"), I(m.src, L = /*titleLogoImg*/
66
+ t[12]) || n(m, "src", L), n(m, "alt", ""), n(_, "class", "title"), n(r, "class", b = "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(f, y) {
76
+ H(f, e, y), l(e, a), l(a, r), l(r, s), l(r, d), l(r, o), h.m(o, null), l(r, C), l(r, _), l(_, m), x || (A = Re(
77
+ a,
78
+ "click",
79
+ /*click_handler*/
80
+ t[33]
81
+ ), x = !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)) && h ? h.p(f, y) : (h.d(1), h = g(f), h && (h.c(), h.m(o, null))), y[0] & /*titleLogoImg*/
87
+ 4096 && !I(m.src, L = /*titleLogoImg*/
88
+ f[12]) && n(m, "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
+ ))) && n(r, "class", b), y[0] & /*backgroundImg*/
96
+ 2048 && ye(r, "background", "url(" + /*backgroundImg*/
97
+ f[11] + ")");
98
+ },
99
+ d(f) {
100
+ f && P(e), h.d(), x = !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, d, o, C = (
136
+ /*formattedLabels*/
137
+ t[9][0] + ""
138
+ ), _, m, L, b = (
139
+ /*realtimeupdate*/
140
+ (t[2] === "true" ? (
141
+ /*updatedJackpotValues*/
142
+ t[14][0]
143
+ ) : (
144
+ /*formattedJackpotValues*/
145
+ t[8][0]
146
+ )) + ""
147
+ ), x, A, k, g, h, f, y, S, Y, O, te = (
148
+ /*formattedLabels*/
149
+ t[9][1] + ""
150
+ ), Q, z, X, q = (
151
+ /*realtimeupdate*/
152
+ (t[2] === "true" ? (
153
+ /*updatedJackpotValues*/
154
+ t[14][1]
155
+ ) : (
156
+ /*formattedJackpotValues*/
157
+ t[8][1]
158
+ )) + ""
159
+ ), F, oe, Z, ae, ie, U, V, N, J, G, D, M = (
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, K, ee, E, 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"), r = c("div"), s = c("img"), o = c("span"), _ = T(C), m = c("span"), L = c("span"), x = T(b), A = R(), k = c("span"), g = T(
187
+ /*currency*/
188
+ t[1]
189
+ ), h = R(), f = c("div"), y = c("div"), S = c("img"), O = c("span"), Q = T(te), z = c("span"), X = c("span"), F = T(q), oe = R(), Z = c("span"), ae = T(
190
+ /*currency*/
191
+ t[1]
192
+ ), ie = R(), U = c("div"), V = c("div"), N = c("div"), J = c("img"), D = c("span"), de = T(M), B = c("span"), ne = c("span"), ue = T(le), ge = R(), $ = c("span"), pe = T(
193
+ /*currency*/
194
+ t[1]
195
+ ), fe = R(), K = c("div"), ee = c("div"), E = c("img"), se = c("span"), i = T(ce), u = c("span"), j = c("span"), ke = T(me), _e = R(), he = c("span"), ve = T(
196
+ /*currency*/
197
+ t[1]
198
+ ), n(s, "class", "displayCardIcon"), I(s.src, d = /*caticons*/
199
+ t[10][0]) || n(s, "src", d), n(s, "alt", ""), n(o, "class", "cardLabel"), n(r, "class", "iconWrapper"), n(L, "class", "jackpotValue"), n(k, "class", "jackpot-currency"), n(m, "class", "cardTextWrapper"), n(a, "class", "displayCard"), n(S, "class", "displayCardIcon"), I(S.src, Y = /*caticons*/
200
+ t[10][1]) || n(S, "src", Y), n(S, "alt", ""), n(O, "class", "cardLabel"), n(y, "class", "iconWrapper"), n(X, "class", "jackpotValue"), n(Z, "class", "jackpot-currency"), n(z, "class", "cardTextWrapper"), n(f, "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(D, "class", "cardLabel"), n(N, "class", "iconWrapper"), n(ne, "class", "jackpotValue"), n($, "class", "jackpot-currency"), n(B, "class", "cardTextWrapper"), n(V, "class", "displayCard"), n(E, "class", "displayCardIcon"), I(E.src, re = /*caticons*/
202
+ t[10][3]) || n(E, "src", re), n(E, "alt", ""), n(se, "class", "cardLabel"), n(ee, "class", "iconWrapper"), n(j, "class", "jackpotValue"), n(he, "class", "jackpot-currency"), n(u, "class", "cardTextWrapper"), n(K, "class", "displayCard"), n(U, "class", "pairWrapper");
203
+ },
204
+ m(p, v) {
205
+ H(p, e, v), l(e, a), l(a, r), l(r, s), l(r, o), l(o, _), l(a, m), l(m, L), l(L, x), l(m, A), l(m, k), l(k, g), l(e, h), l(e, f), l(f, y), l(y, S), l(y, O), l(O, Q), l(f, z), l(z, X), l(X, F), l(z, oe), l(z, Z), l(Z, ae), H(p, ie, v), H(p, U, v), l(U, V), l(V, N), l(N, J), l(N, D), l(D, de), l(V, B), l(B, ne), l(ne, ue), l(B, ge), l(B, $), l($, pe), l(U, fe), l(U, K), l(K, ee), l(ee, E), l(ee, se), l(se, i), l(K, u), l(u, j), l(j, ke), l(u, _e), l(u, he), l(he, ve);
206
+ },
207
+ p(p, v) {
208
+ v[0] & /*caticons*/
209
+ 1024 && !I(s.src, d = /*caticons*/
210
+ p[10][0]) && n(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(x, b), v[0] & /*currency*/
221
+ 2 && W(
222
+ g,
223
+ /*currency*/
224
+ p[1]
225
+ ), v[0] & /*caticons*/
226
+ 1024 && !I(S.src, Y = /*caticons*/
227
+ p[10][1]) && n(S, "src", Y), v[0] & /*formattedLabels*/
228
+ 512 && te !== (te = /*formattedLabels*/
229
+ p[9][1] + "") && W(Q, te), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
230
+ 16644 && q !== (q = /*realtimeupdate*/
231
+ (p[2] === "true" ? (
232
+ /*updatedJackpotValues*/
233
+ p[14][1]
234
+ ) : (
235
+ /*formattedJackpotValues*/
236
+ p[8][1]
237
+ )) + "") && W(F, q), v[0] & /*currency*/
238
+ 2 && W(
239
+ ae,
240
+ /*currency*/
241
+ p[1]
242
+ ), v[0] & /*caticons*/
243
+ 1024 && !I(J.src, G = /*caticons*/
244
+ p[10][2]) && n(J, "src", G), v[0] & /*formattedLabels*/
245
+ 512 && M !== (M = /*formattedLabels*/
246
+ p[9][2] + "") && W(de, M), 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 && !I(E.src, re = /*caticons*/
261
+ p[10][3]) && n(E, "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 && (P(e), P(ie), P(U));
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 = Oe();
292
+ },
293
+ m(s, d) {
294
+ for (let o = 0; o < r.length; o += 1)
295
+ r[o] && r[o].m(s, d);
296
+ H(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
+ r[o] ? r[o].p(C, d) : (r[o] = Se(C), 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
+ let e, a, r, s, d, o = (
319
+ /*formattedLabels*/
320
+ t[9][
321
+ /*i*/
322
+ t[54]
323
+ ] + ""
324
+ ), C, _, m, 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, x, A, k;
340
+ return {
341
+ c() {
342
+ e = c("div"), a = c("div"), r = c("img"), d = c("span"), C = T(o), _ = c("span"), m = c("span"), b = T(L), x = R(), A = c("span"), k = T(
343
+ /*currency*/
344
+ t[1]
345
+ ), n(r, "class", "displayCardIcon"), I(r.src, s = /*caticons*/
346
+ t[10][
347
+ /*i*/
348
+ t[54]
349
+ ]) || n(r, "src", s), n(r, "alt", ""), n(d, "class", "cardLabel"), n(a, "class", "iconWrapper"), n(m, "class", "jackpotValue"), n(A, "class", "jackpot-currency"), n(_, "class", "cardTextWrapper"), n(e, "class", "displayCard");
350
+ },
351
+ m(g, h) {
352
+ H(g, e, h), l(e, a), l(a, r), l(a, d), l(d, C), l(e, _), l(_, m), l(m, b), l(_, x), l(_, A), l(A, k);
353
+ },
354
+ p(g, h) {
355
+ h[0] & /*caticons*/
356
+ 1024 && !I(r.src, s = /*caticons*/
357
+ g[10][
358
+ /*i*/
359
+ g[54]
360
+ ]) && n(r, "src", s), h[0] & /*formattedLabels*/
361
+ 512 && o !== (o = /*formattedLabels*/
362
+ g[9][
363
+ /*i*/
364
+ g[54]
365
+ ] + "") && W(C, o), h[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), h[0] & /*currency*/
380
+ 2 && W(
381
+ k,
382
+ /*currency*/
383
+ g[1]
384
+ );
385
+ },
386
+ d(g) {
387
+ g && P(e);
388
+ }
389
+ };
390
+ }
391
+ function Qe(t) {
392
+ let e;
393
+ function a(d, o) {
394
+ return (
395
+ /*hasErrors*/
396
+ d[13] ? Ge : (
397
+ /*isLoading*/
398
+ d[4] ? Fe : qe
399
+ )
400
+ );
401
+ }
402
+ let r = a(t), s = r(t);
403
+ return {
404
+ c() {
405
+ e = c("div"), s.c();
406
+ },
407
+ m(d, o) {
408
+ H(d, e, o), s.m(e, null), t[34](e);
409
+ },
410
+ p(d, o) {
411
+ r === (r = a(d)) && s ? s.p(d, o) : (s.d(1), s = r(d), s && (s.c(), s.m(e, null)));
412
+ },
413
+ i: be,
414
+ o: be,
415
+ d(d) {
416
+ d && P(e), s.d(), t[34](null);
417
+ }
418
+ };
419
+ }
420
+ function Xe(t, e, a) {
421
+ let { visualstructure: r = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: o = "" } = e, { caticon2: C = "" } = e, { caticon3: _ = "" } = e, { iconlabels: m = "" } = e, { backgroundsrc: L = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: x = "" } = e, { titlelogopath: A = "" } = e, { lang: k = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: f = "" } = e, { endpoint: y = "" } = e, { gameid: S = "" } = e, { mbsource: Y } = e, { realtimeupdate: O = "false" } = e, te = window.navigator.userAgent, Q = !1, z = !1, X = "", q = [], F = [], oe = [], Z = [], ae = [], ie = "", U = "", V, N = !0, J = !1, G, D = null, M = [];
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) => q.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), G = j, F.includes(S) && (ne(G), le(G));
444
+ }).catch((j) => {
445
+ a(13, J = !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, F = u.egtJackpotIds.map((j) => j));
452
+ });
453
+ }, $ = () => {
454
+ a(5, Q = ze(te) && window.innerHeight / window.innerWidth > 1), a(6, z = fe()), q.length !== 0 && a(8, oe = pe(q)), a(9, Z = m ? m.split(",").map((i) => i.trim().toUpperCase()) : new Array(4).fill("")), B.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 "${B[0]}"`), a(0, r = B[0])), a(11, ie = x && Q && !z ? x : L), a(12, U = A), 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
+ }, K = () => {
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
+ He(k);
465
+ }, E = (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, M[j] = u.data.data[`${b}`].balance.toString(), M);
470
+ }
471
+ }, re = () => {
472
+ O === "true" && ($(), a(14, M = ["", "", "", ""]), D = new EventSource(`${y}/v1/encoder/jackpot/*/update`), D.addEventListener("message", E));
473
+ };
474
+ De(() => () => {
475
+ }), Ee(() => {
476
+ D && (D.removeEventListener("message", E), D.close(), D = null);
477
+ });
478
+ const se = () => K();
479
+ function ce(i) {
480
+ Ue[i ? "unshift" : "push"](() => {
481
+ V = i, a(3, V);
482
+ });
483
+ }
484
+ return t.$$set = (i) => {
485
+ "visualstructure" in i && a(0, r = 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, m = i.iconlabels), "backgroundsrc" in i && a(22, L = i.backgroundsrc), "currency" in i && a(1, b = i.currency), "backgroundsrcmobile" in i && a(23, x = i.backgroundsrcmobile), "titlelogopath" in i && a(24, A = i.titlelogopath), "lang" in i && a(25, k = i.lang), "clientstyling" in i && a(26, g = i.clientstyling), "clientstylingurl" in i && a(27, h = 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, Y = i.mbsource), "realtimeupdate" in i && a(2, O = i.realtimeupdate);
486
+ }, t.$$.update = () => {
487
+ t.$$.dirty[0] & /*endpoint*/
488
+ 536870912 && y && ge(), t.$$.dirty[0] & /*customStylingContainer, clientstyling*/
489
+ 67108872 && V && g && Ne(), t.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
490
+ 134217736 && V && h && Be(), t.$$.dirty[0] & /*endpoint, lang, currency*/
491
+ 570425346 | t.$$.dirty[1] & /*validGameIds*/
492
+ 2 && y && k && b && F.length > 0 && ue(), t.$$.dirty[0] & /*currency, lang, isLoading*/
493
+ 33554450 && b && k && !N && $(), t.$$.dirty[0] & /*lang*/
494
+ 33554432 && k && ee(), t.$$.dirty[0] & /*translationurl*/
495
+ 268435456 && f && de(), t.$$.dirty[0] & /*realtimeupdate*/
496
+ 4 && O && re();
497
+ }, [
498
+ r,
499
+ b,
500
+ O,
501
+ V,
502
+ N,
503
+ Q,
504
+ z,
505
+ X,
506
+ oe,
507
+ Z,
508
+ ae,
509
+ ie,
510
+ U,
511
+ J,
512
+ M,
513
+ K,
514
+ s,
515
+ d,
516
+ o,
517
+ C,
518
+ _,
519
+ m,
520
+ L,
521
+ x,
522
+ A,
523
+ k,
524
+ g,
525
+ h,
526
+ f,
527
+ y,
528
+ S,
529
+ Y,
530
+ F,
531
+ se,
532
+ ce
533
+ ];
534
+ }
535
+ class Ze extends We {
536
+ constructor(e) {
537
+ super(), Ae(
538
+ this,
539
+ e,
540
+ Xe,
541
+ Qe,
542
+ Ve,
543
+ {
544
+ visualstructure: 0,
545
+ title: 16,
546
+ caticon0: 17,
547
+ caticon1: 18,
548
+ caticon2: 19,
549
+ caticon3: 20,
550
+ iconlabels: 21,
551
+ backgroundsrc: 22,
552
+ currency: 1,
553
+ backgroundsrcmobile: 23,
554
+ titlelogopath: 24,
555
+ lang: 25,
556
+ clientstyling: 26,
557
+ clientstylingurl: 27,
558
+ translationurl: 28,
559
+ endpoint: 29,
560
+ gameid: 30,
561
+ mbsource: 31,
562
+ realtimeupdate: 2
563
+ },
564
+ Pe,
565
+ [-1, -1]
566
+ );
567
+ }
568
+ get visualstructure() {
569
+ return this.$$.ctx[0];
570
+ }
571
+ set visualstructure(e) {
572
+ this.$$set({ visualstructure: e }), w();
573
+ }
574
+ get title() {
575
+ return this.$$.ctx[16];
576
+ }
577
+ set title(e) {
578
+ this.$$set({ title: e }), w();
579
+ }
580
+ get caticon0() {
581
+ return this.$$.ctx[17];
582
+ }
583
+ set caticon0(e) {
584
+ this.$$set({ caticon0: e }), w();
585
+ }
586
+ get caticon1() {
587
+ return this.$$.ctx[18];
588
+ }
589
+ set caticon1(e) {
590
+ this.$$set({ caticon1: e }), w();
591
+ }
592
+ get caticon2() {
593
+ return this.$$.ctx[19];
594
+ }
595
+ set caticon2(e) {
596
+ this.$$set({ caticon2: e }), w();
597
+ }
598
+ get caticon3() {
599
+ return this.$$.ctx[20];
600
+ }
601
+ set caticon3(e) {
602
+ this.$$set({ caticon3: e }), w();
603
+ }
604
+ get iconlabels() {
605
+ return this.$$.ctx[21];
606
+ }
607
+ set iconlabels(e) {
608
+ this.$$set({ iconlabels: e }), w();
609
+ }
610
+ get backgroundsrc() {
611
+ return this.$$.ctx[22];
612
+ }
613
+ set backgroundsrc(e) {
614
+ this.$$set({ backgroundsrc: e }), w();
615
+ }
616
+ get currency() {
617
+ return this.$$.ctx[1];
618
+ }
619
+ set currency(e) {
620
+ this.$$set({ currency: e }), w();
621
+ }
622
+ get backgroundsrcmobile() {
623
+ return this.$$.ctx[23];
624
+ }
625
+ set backgroundsrcmobile(e) {
626
+ this.$$set({ backgroundsrcmobile: e }), w();
627
+ }
628
+ get titlelogopath() {
629
+ return this.$$.ctx[24];
630
+ }
631
+ set titlelogopath(e) {
632
+ this.$$set({ titlelogopath: e }), w();
633
+ }
634
+ get lang() {
635
+ return this.$$.ctx[25];
636
+ }
637
+ set lang(e) {
638
+ this.$$set({ lang: e }), w();
639
+ }
640
+ get clientstyling() {
641
+ return this.$$.ctx[26];
642
+ }
643
+ set clientstyling(e) {
644
+ this.$$set({ clientstyling: e }), w();
645
+ }
646
+ get clientstylingurl() {
647
+ return this.$$.ctx[27];
648
+ }
649
+ set clientstylingurl(e) {
650
+ this.$$set({ clientstylingurl: e }), w();
651
+ }
652
+ get translationurl() {
653
+ return this.$$.ctx[28];
654
+ }
655
+ set translationurl(e) {
656
+ this.$$set({ translationurl: e }), w();
657
+ }
658
+ get endpoint() {
659
+ return this.$$.ctx[29];
660
+ }
661
+ set endpoint(e) {
662
+ this.$$set({ endpoint: e }), w();
663
+ }
664
+ get gameid() {
665
+ return this.$$.ctx[30];
666
+ }
667
+ set gameid(e) {
668
+ this.$$set({ gameid: e }), w();
669
+ }
670
+ get mbsource() {
671
+ return this.$$.ctx[31];
672
+ }
673
+ set mbsource(e) {
674
+ this.$$set({ mbsource: e }), w();
675
+ }
676
+ get realtimeupdate() {
677
+ return this.$$.ctx[2];
678
+ }
679
+ set realtimeupdate(e) {
680
+ this.$$set({ realtimeupdate: e }), w();
681
+ }
682
+ }
683
+ Ie(Ze, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
684
+ export {
685
+ Ze as default
686
+ };