@everymatrix/casino-lobby 1.41.0 → 1.42.69

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 (165) hide show
  1. package/components/CasinoCalendar-BQx5-rlk.cjs +9 -0
  2. package/components/CasinoCalendar-CGBzMgQt.cjs +9 -0
  3. package/components/CasinoCalendar-C_GWg7fU.js +5215 -0
  4. package/components/CasinoCalendar-D8A7V_p_.js +5176 -0
  5. package/components/CasinoCalendar-T2eu_ijJ.js +5213 -0
  6. package/components/CasinoCalendar-wabXB62Y.js +5174 -0
  7. package/components/CasinoCalendarDailyDetails-BsuvGAH5.js +701 -0
  8. package/components/CasinoCalendarDailyDetails-CXJQEBiD.js +701 -0
  9. package/components/CasinoCalendarDailyDetails-DD9ivry_.js +701 -0
  10. package/components/CasinoCalendarDailyDetails-DuTGv4cR.cjs +1 -0
  11. package/components/CasinoCalendarDailyDetails-DxoETvny.cjs +1 -0
  12. package/components/CasinoCalendarDailyDetails-HgqSzjsm.js +701 -0
  13. package/components/CasinoCalendarDailyItem-9ZdOdWc1.js +315 -0
  14. package/components/CasinoCalendarDailyItem-BQH_cu-K.cjs +1 -0
  15. package/components/CasinoCalendarDailyItem-Cij4qSkW.js +315 -0
  16. package/components/CasinoCalendarDailyItem-DieqmO8j.js +315 -0
  17. package/components/CasinoCalendarDailyItem-DynzkhlT.js +315 -0
  18. package/components/CasinoCalendarDailyItem-W6jJ8Vef.cjs +1 -0
  19. package/components/CasinoCategoriesSlider-CCBzNNkz.cjs +1 -0
  20. package/components/CasinoCategoriesSlider-Dg6UQ05U.js +594 -0
  21. package/components/CasinoCategoriesSlider-DqNp_BOt.js +594 -0
  22. package/components/CasinoCategoriesSlider-GrF0HXC7.cjs +1 -0
  23. package/components/CasinoCategoriesSlider-_w_55gG7.js +594 -0
  24. package/components/CasinoCategoriesSlider-pHVM7RZL.js +594 -0
  25. package/components/CasinoCollectionsProviders-BIcovGJ8.js +646 -0
  26. package/components/CasinoCollectionsProviders-CH2GAKzC.cjs +1 -0
  27. package/components/CasinoCollectionsProviders-D45_hU-I.js +646 -0
  28. package/components/CasinoCollectionsProviders-DMj_7QBU.cjs +1 -0
  29. package/components/CasinoCollectionsProviders-DfgvvOqL.js +651 -0
  30. package/components/CasinoCollectionsProviders-N_n3oOYS.js +651 -0
  31. package/components/CasinoFavoritesSection-B0uLh581.js +426 -0
  32. package/components/CasinoFavoritesSection-BD3Pecym.cjs +1 -0
  33. package/components/CasinoFavoritesSection-BMVarhje.cjs +1 -0
  34. package/components/CasinoFavoritesSection-B_tSVGIY.js +426 -0
  35. package/components/CasinoFavoritesSection-Da-NSsar.js +426 -0
  36. package/components/CasinoFavoritesSection-Dm0HviHl.js +426 -0
  37. package/components/CasinoFilter-B9sKxzVS.js +620 -0
  38. package/components/CasinoFilter-CMVqOmbG.js +619 -0
  39. package/components/CasinoFilter-Cf00T9dk.js +620 -0
  40. package/components/CasinoFilter-D3HxH1PB.cjs +1 -0
  41. package/components/CasinoFilter-DD3HMkSy.js +619 -0
  42. package/components/CasinoFilter-c8_bvC4c.cjs +1 -0
  43. package/components/CasinoGamePage-BundiLLb.js +4266 -0
  44. package/components/CasinoGamePage-C10RyyZp.cjs +18 -0
  45. package/components/CasinoGamePage-CfbBY5CU.cjs +18 -0
  46. package/components/CasinoGamePage-DC-LoQTc.js +4266 -0
  47. package/components/CasinoGamePage-OZnVr_Bg.js +4287 -0
  48. package/components/CasinoGamePage-yVND0I7w.js +4287 -0
  49. package/components/CasinoGameThumbnail-B1NNWJ0K.js +1820 -0
  50. package/components/CasinoGameThumbnail-Bc66QenW.cjs +38 -0
  51. package/components/CasinoGameThumbnail-CIGOC4uM.js +1820 -0
  52. package/components/CasinoGameThumbnail-DA3jcFAi.js +1836 -0
  53. package/components/CasinoGameThumbnail-DT9ORm8q.js +1836 -0
  54. package/components/CasinoGameThumbnail-DcqwhTjb.cjs +38 -0
  55. package/components/CasinoGamesCategorySection-BNYOO745.cjs +1 -0
  56. package/components/CasinoGamesCategorySection-C78ehK4U.js +2991 -0
  57. package/components/CasinoGamesCategorySection-Cagm02Ih.js +3020 -0
  58. package/components/CasinoGamesCategorySection-DBr4EIfz.js +2991 -0
  59. package/components/CasinoGamesCategorySection-Kzwpz7w5.js +3020 -0
  60. package/components/CasinoGamesCategorySection-_vABwskz.cjs +1 -0
  61. package/components/CasinoJackpotBanner-5cCB-mh2.js +592 -0
  62. package/components/CasinoJackpotBanner-Agfg0mZ0.js +592 -0
  63. package/components/CasinoJackpotBanner-BAhiOMZp.cjs +1 -0
  64. package/components/CasinoJackpotBanner-D7ZMZfDV.cjs +1 -0
  65. package/components/CasinoJackpotBanner-DR-ZzHCR.js +596 -0
  66. package/components/CasinoJackpotBanner-QB6MSrF4.js +596 -0
  67. package/components/CasinoLastPlayedSection-BjhQKUSK.js +556 -0
  68. package/components/CasinoLastPlayedSection-BxzCwcL-.js +556 -0
  69. package/components/CasinoLastPlayedSection-D4vCeonE.js +556 -0
  70. package/components/CasinoLastPlayedSection-Dwe4Td9f.cjs +1 -0
  71. package/components/CasinoLastPlayedSection-XK5dzsj-.js +556 -0
  72. package/components/CasinoLastPlayedSection-v0aQnExT.cjs +1 -0
  73. package/components/CasinoLobby-AFKKESbR.cjs +1 -0
  74. package/components/CasinoLobby-CHvuexFs.js +2315 -0
  75. package/components/CasinoLobby-ClhYpfUU.js +2315 -0
  76. package/components/CasinoLobby-DALY2Dhs.cjs +1 -0
  77. package/components/CasinoLobby-hrKaH7qN.js +2315 -0
  78. package/components/CasinoLobby-ouSesgdC.js +2315 -0
  79. package/components/CasinoModal-BIVMlWQX.js +359 -0
  80. package/components/CasinoModal-BYKM2vRV.cjs +1 -0
  81. package/components/CasinoModal-C3wpERtX.js +359 -0
  82. package/components/CasinoModal-Cabai4o3.js +359 -0
  83. package/components/CasinoModal-DRyqJh1Q.cjs +1 -0
  84. package/components/CasinoModal-Dw_y4THL.js +359 -0
  85. package/components/CasinoMostPlayedSection-C3K0hu8_.js +583 -0
  86. package/components/CasinoMostPlayedSection-CJYMI9VB.js +583 -0
  87. package/components/CasinoMostPlayedSection-DJQuOa6_.js +583 -0
  88. package/components/CasinoMostPlayedSection-DmUpsWqs.cjs +1 -0
  89. package/components/CasinoMostPlayedSection-OUtCsU0t.cjs +1 -0
  90. package/components/CasinoMostPlayedSection-Y5er9Bjh.js +583 -0
  91. package/components/CasinoMyGames-BIxyEUtK.js +1306 -0
  92. package/components/CasinoMyGames-D5rJT74m.cjs +1 -0
  93. package/components/CasinoMyGames-DI1lwYc8.js +1305 -0
  94. package/components/CasinoMyGames-DTHVNaKn.cjs +1 -0
  95. package/components/CasinoMyGames-DwUV6CBn.js +1305 -0
  96. package/components/CasinoMyGames-ctBoKyAg.js +1306 -0
  97. package/components/CasinoPage-BGO7Qjz8.js +3535 -0
  98. package/components/CasinoPage-Bw9pVfhj.cjs +1 -0
  99. package/components/CasinoPage-Ccz2mt9L.js +3535 -0
  100. package/components/CasinoPage-D4SKFGBe.cjs +1 -0
  101. package/components/CasinoPage-DLYXRAgH.js +3538 -0
  102. package/components/CasinoPage-OtILzfbb.js +3538 -0
  103. package/components/CasinoRandomGame-CtZOIJcN.js +658 -0
  104. package/components/CasinoRandomGame-Cveyjhn1.js +642 -0
  105. package/components/CasinoRandomGame-DALiyns2.cjs +2 -0
  106. package/components/CasinoRandomGame-DVoXDVJK.cjs +2 -0
  107. package/components/CasinoRandomGame-DbeS8lnM.js +642 -0
  108. package/components/CasinoRandomGame-HLWP49DK.js +658 -0
  109. package/components/CasinoSearch-B8OpEZBN.cjs +1 -0
  110. package/components/CasinoSearch-BMZWS8yv.js +1058 -0
  111. package/components/CasinoSearch-BQe9Q-5N.js +1060 -0
  112. package/components/CasinoSearch-B_Yrv4Uo.cjs +1 -0
  113. package/components/CasinoSearch-CbqN_jyR.js +1058 -0
  114. package/components/CasinoSearch-D9U7Yh_K.js +1060 -0
  115. package/components/CasinoSlider-BOVT94iB.js +794 -0
  116. package/components/CasinoSlider-BSHGeAYd.js +788 -0
  117. package/components/CasinoSlider-BvS3IBvk.cjs +1 -0
  118. package/components/CasinoSlider-CF-wUwQR.cjs +1 -0
  119. package/components/CasinoSlider-CrHKe4Xk.js +803 -0
  120. package/components/CasinoSlider-Cxh3sOkP.js +797 -0
  121. package/components/CasinoSort-BOWrHLh_.js +420 -0
  122. package/components/CasinoSort-BwnNTnFA.js +420 -0
  123. package/components/CasinoSort-DTw1r10v.js +419 -0
  124. package/components/CasinoSort-DWtBvm9D.cjs +1 -0
  125. package/components/CasinoSort-LblMuLP4.js +419 -0
  126. package/components/CasinoSort-hnzXlXWX.cjs +1 -0
  127. package/components/CasinoWinners-C9izX5Hz.js +955 -0
  128. package/components/CasinoWinners-CO3x7y86.js +955 -0
  129. package/components/CasinoWinners-CZWuAxEs.js +953 -0
  130. package/components/CasinoWinners-CjaKY4pX.cjs +1 -0
  131. package/components/CasinoWinners-DOucg2Bq.js +953 -0
  132. package/components/CasinoWinners-xdJkyzy9.cjs +1 -0
  133. package/components/GeneralAnimationLoading-C4-n6eKC.cjs +1 -0
  134. package/components/GeneralAnimationLoading-CGGvPAzb.js +75 -0
  135. package/components/GeneralAnimationLoading-Ch_RgnSg.js +75 -0
  136. package/components/GeneralAnimationLoading-DBrwarIl.js +75 -0
  137. package/components/GeneralAnimationLoading-YY_Qislb.cjs +1 -0
  138. package/components/GeneralAnimationLoading-qKrL3K2W.js +75 -0
  139. package/es2015/casino-lobby.cjs +1 -0
  140. package/es2015/casino-lobby.js +16 -0
  141. package/esnext/casino-lobby.js +14 -0
  142. package/package.json +19 -34
  143. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  144. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  145. package/stencil/casino-play-random-game-CE7d8ftV.js +559 -0
  146. package/stencil/casino-play-random-game-JlSgoZ7I.js +577 -0
  147. package/stencil/casino-play-random-game-fmski7eY.cjs +371 -0
  148. package/stencil/index-bc02f5d1-CGWk9tpa.js +609 -0
  149. package/stencil/index-bc02f5d1-Cfiraoh4.js +625 -0
  150. package/stencil/index-bc02f5d1-zY9WEQOW.cjs +1 -0
  151. package/CHANGELOG.md +0 -39
  152. package/README.md +0 -0
  153. package/dist/casino-lobby.js +0 -33
  154. package/dist/casino-lobby.js.map +0 -1
  155. package/documentation.md +0 -176
  156. package/index.html +0 -50
  157. package/index.js +0 -1
  158. package/public/favicon.png +0 -0
  159. package/public/reset.css +0 -48
  160. package/rollup.config.js +0 -67
  161. package/src/CasinoLobby.svelte +0 -454
  162. package/src/i18n.js +0 -25
  163. package/src/index.ts +0 -4
  164. package/stories/CasinoLobby.stories.js +0 -13
  165. package/tsconfig.json +0 -6
@@ -0,0 +1,592 @@
1
+ import { a as Se, $ as Te, S as We, i as Ae, f as L, c as Ie, s as Ve, b as De, e as c, d as B, D as ye, j as M, o as Je, n as ze, L as Ue, M as Ee, N as Ne, r as U, v as i, I as he, E as D, w as l, x as Be, m as Me, u as T, B as W, q as we, H as Oe, C as Re } from "./CasinoCalendar-D8A7V_p_.js";
2
+ function Ce(n, e) {
3
+ Se(n, e);
4
+ }
5
+ function He(n) {
6
+ Te.set(n);
7
+ }
8
+ const xe = {
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(n) {
47
+ De(n, "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 Le(n, e, t) {
50
+ const r = n.slice();
51
+ return r[46] = e[t], r[48] = t, r;
52
+ }
53
+ function qe(n) {
54
+ let e, t, r, s, d, o, C, _, f, x, b, j, A;
55
+ function v(p, h) {
56
+ return (
57
+ /*tabletView*/
58
+ p[5] ? Ye : Ke
59
+ );
60
+ }
61
+ let g = v(n), u = g(n);
62
+ return {
63
+ c() {
64
+ e = c("div"), t = c("div"), r = c("div"), s = c("div"), d = U(), o = c("div"), u.c(), C = U(), _ = c("div"), f = c("img"), i(s, "class", "vendorLogo"), he(s, "background-image", "url(" + /*vendorIcon*/
65
+ n[6] + ")"), i(o, "class", "displayContainer"), D(f.src, x = /*titleLogoImg*/
66
+ n[11]) || i(f, "src", x), i(f, "alt", ""), i(_, "class", "title"), i(r, "class", b = "mainWrapper " + /*visualstructure*/
67
+ n[0] + " " + /*mobileView*/
68
+ (n[4] && !/*tabletView*/
69
+ n[5] ? "mobile" : (
70
+ /*tabletView*/
71
+ n[5] ? "tablet" : ""
72
+ ))), he(r, "background", "url(" + /*backgroundImg*/
73
+ n[10] + ")"), i(t, "class", "jackpotBanner"), i(e, "class", ""), i(e, "part", "");
74
+ },
75
+ m(p, h) {
76
+ B(p, e, h), l(e, t), l(t, r), l(r, s), l(r, d), l(r, o), u.m(o, null), l(r, C), l(r, _), l(_, f), j || (A = Be(
77
+ t,
78
+ "click",
79
+ /*click_handler*/
80
+ n[30]
81
+ ), j = !0);
82
+ },
83
+ p(p, h) {
84
+ h[0] & /*vendorIcon*/
85
+ 64 && he(s, "background-image", "url(" + /*vendorIcon*/
86
+ p[6] + ")"), g === (g = v(p)) && u ? u.p(p, h) : (u.d(1), u = g(p), u && (u.c(), u.m(o, null))), h[0] & /*titleLogoImg*/
87
+ 2048 && !D(f.src, x = /*titleLogoImg*/
88
+ p[11]) && i(f, "src", x), h[0] & /*visualstructure, mobileView, tabletView*/
89
+ 49 && b !== (b = "mainWrapper " + /*visualstructure*/
90
+ p[0] + " " + /*mobileView*/
91
+ (p[4] && !/*tabletView*/
92
+ p[5] ? "mobile" : (
93
+ /*tabletView*/
94
+ p[5] ? "tablet" : ""
95
+ ))) && i(r, "class", b), h[0] & /*backgroundImg*/
96
+ 1024 && he(r, "background", "url(" + /*backgroundImg*/
97
+ p[10] + ")");
98
+ },
99
+ d(p) {
100
+ p && M(e), u.d(), j = !1, A();
101
+ }
102
+ };
103
+ }
104
+ function Fe(n) {
105
+ let e;
106
+ return {
107
+ c() {
108
+ e = c("div"), i(e, "class", "LoadingSpinner"), i(e, "part", "LoadingSpinner");
109
+ },
110
+ m(t, r) {
111
+ B(t, e, r);
112
+ },
113
+ p: ye,
114
+ d(t) {
115
+ t && M(e);
116
+ }
117
+ };
118
+ }
119
+ function Ge(n) {
120
+ let e;
121
+ return {
122
+ c() {
123
+ e = c("p"), e.textContent = "500 Server error";
124
+ },
125
+ m(t, r) {
126
+ B(t, e, r);
127
+ },
128
+ p: ye,
129
+ d(t) {
130
+ t && M(e);
131
+ }
132
+ };
133
+ }
134
+ function Ye(n) {
135
+ let e, t, r, s, d, o, C = (
136
+ /*formattedLabels*/
137
+ n[8][0] + ""
138
+ ), _, f, x, b = (
139
+ /*formattedJackpotValues*/
140
+ n[7][0] + ""
141
+ ), j, A, v, g, u, p, h, S, Y, O, R = (
142
+ /*formattedLabels*/
143
+ n[8][1] + ""
144
+ ), K, J, E, F = (
145
+ /*formattedJackpotValues*/
146
+ n[7][1] + ""
147
+ ), Q, ne, G, X, I, V, H, N, z, P, Z, $ = (
148
+ /*formattedLabels*/
149
+ n[8][2] + ""
150
+ ), le, q, ee, te = (
151
+ /*formattedJackpotValues*/
152
+ n[7][2] + ""
153
+ ), re, se, ae, ce, oe, a, m, w, de, pe, ge = (
154
+ /*formattedLabels*/
155
+ n[8][3] + ""
156
+ ), be, ie, ue, fe = (
157
+ /*formattedJackpotValues*/
158
+ n[7][3] + ""
159
+ ), ve, _e, me, ke;
160
+ return {
161
+ c() {
162
+ e = c("div"), t = c("div"), r = c("div"), s = c("img"), o = c("span"), _ = T(C), f = c("span"), x = c("span"), j = T(b), A = U(), v = c("span"), g = T(
163
+ /*currency*/
164
+ n[1]
165
+ ), u = U(), p = c("div"), h = c("div"), S = c("img"), O = c("span"), K = T(R), J = c("span"), E = c("span"), Q = T(F), ne = U(), G = c("span"), X = T(
166
+ /*currency*/
167
+ n[1]
168
+ ), I = U(), V = c("div"), H = c("div"), N = c("div"), z = c("img"), Z = c("span"), le = T($), q = c("span"), ee = c("span"), re = T(te), se = U(), ae = c("span"), ce = T(
169
+ /*currency*/
170
+ n[1]
171
+ ), oe = U(), a = c("div"), m = c("div"), w = c("img"), pe = c("span"), be = T(ge), ie = c("span"), ue = c("span"), ve = T(fe), _e = U(), me = c("span"), ke = T(
172
+ /*currency*/
173
+ n[1]
174
+ ), i(s, "class", "displayCardIcon"), D(s.src, d = /*caticons*/
175
+ n[9][0]) || i(s, "src", d), i(s, "alt", ""), i(o, "class", "cardLabel"), i(r, "class", "iconWrapper"), i(x, "class", "jackpotValue"), i(v, "class", "jackpot-currency"), i(f, "class", "cardTextWrapper"), i(t, "class", "displayCard"), i(S, "class", "displayCardIcon"), D(S.src, Y = /*caticons*/
176
+ n[9][1]) || i(S, "src", Y), i(S, "alt", ""), i(O, "class", "cardLabel"), i(h, "class", "iconWrapper"), i(E, "class", "jackpotValue"), i(G, "class", "jackpot-currency"), i(J, "class", "cardTextWrapper"), i(p, "class", "displayCard"), i(e, "class", "pairWrapper"), i(z, "class", "displayCardIcon"), D(z.src, P = /*caticons*/
177
+ n[9][2]) || i(z, "src", P), i(z, "alt", ""), i(Z, "class", "cardLabel"), i(N, "class", "iconWrapper"), i(ee, "class", "jackpotValue"), i(ae, "class", "jackpot-currency"), i(q, "class", "cardTextWrapper"), i(H, "class", "displayCard"), i(w, "class", "displayCardIcon"), D(w.src, de = /*caticons*/
178
+ n[9][3]) || i(w, "src", de), i(w, "alt", ""), i(pe, "class", "cardLabel"), i(m, "class", "iconWrapper"), i(ue, "class", "jackpotValue"), i(me, "class", "jackpot-currency"), i(ie, "class", "cardTextWrapper"), i(a, "class", "displayCard"), i(V, "class", "pairWrapper");
179
+ },
180
+ m(y, k) {
181
+ B(y, e, k), l(e, t), l(t, r), l(r, s), l(r, o), l(o, _), l(t, f), l(f, x), l(x, j), l(f, A), l(f, v), l(v, g), l(e, u), l(e, p), l(p, h), l(h, S), l(h, O), l(O, K), l(p, J), l(J, E), l(E, Q), l(J, ne), l(J, G), l(G, X), B(y, I, k), B(y, V, k), l(V, H), l(H, N), l(N, z), l(N, Z), l(Z, le), l(H, q), l(q, ee), l(ee, re), l(q, se), l(q, ae), l(ae, ce), l(V, oe), l(V, a), l(a, m), l(m, w), l(m, pe), l(pe, be), l(a, ie), l(ie, ue), l(ue, ve), l(ie, _e), l(ie, me), l(me, ke);
182
+ },
183
+ p(y, k) {
184
+ k[0] & /*caticons*/
185
+ 512 && !D(s.src, d = /*caticons*/
186
+ y[9][0]) && i(s, "src", d), k[0] & /*formattedLabels*/
187
+ 256 && C !== (C = /*formattedLabels*/
188
+ y[8][0] + "") && W(_, C), k[0] & /*formattedJackpotValues*/
189
+ 128 && b !== (b = /*formattedJackpotValues*/
190
+ y[7][0] + "") && W(j, b), k[0] & /*currency*/
191
+ 2 && W(
192
+ g,
193
+ /*currency*/
194
+ y[1]
195
+ ), k[0] & /*caticons*/
196
+ 512 && !D(S.src, Y = /*caticons*/
197
+ y[9][1]) && i(S, "src", Y), k[0] & /*formattedLabels*/
198
+ 256 && R !== (R = /*formattedLabels*/
199
+ y[8][1] + "") && W(K, R), k[0] & /*formattedJackpotValues*/
200
+ 128 && F !== (F = /*formattedJackpotValues*/
201
+ y[7][1] + "") && W(Q, F), k[0] & /*currency*/
202
+ 2 && W(
203
+ X,
204
+ /*currency*/
205
+ y[1]
206
+ ), k[0] & /*caticons*/
207
+ 512 && !D(z.src, P = /*caticons*/
208
+ y[9][2]) && i(z, "src", P), k[0] & /*formattedLabels*/
209
+ 256 && $ !== ($ = /*formattedLabels*/
210
+ y[8][2] + "") && W(le, $), k[0] & /*formattedJackpotValues*/
211
+ 128 && te !== (te = /*formattedJackpotValues*/
212
+ y[7][2] + "") && W(re, te), k[0] & /*currency*/
213
+ 2 && W(
214
+ ce,
215
+ /*currency*/
216
+ y[1]
217
+ ), k[0] & /*caticons*/
218
+ 512 && !D(w.src, de = /*caticons*/
219
+ y[9][3]) && i(w, "src", de), k[0] & /*formattedLabels*/
220
+ 256 && ge !== (ge = /*formattedLabels*/
221
+ y[8][3] + "") && W(be, ge), k[0] & /*formattedJackpotValues*/
222
+ 128 && fe !== (fe = /*formattedJackpotValues*/
223
+ y[7][3] + "") && W(ve, fe), k[0] & /*currency*/
224
+ 2 && W(
225
+ ke,
226
+ /*currency*/
227
+ y[1]
228
+ );
229
+ },
230
+ d(y) {
231
+ y && (M(e), M(I), M(V));
232
+ }
233
+ };
234
+ }
235
+ function Ke(n) {
236
+ let e, t = we(Array(4)), r = [];
237
+ for (let s = 0; s < t.length; s += 1)
238
+ r[s] = je(Le(n, t, s));
239
+ return {
240
+ c() {
241
+ for (let s = 0; s < r.length; s += 1)
242
+ r[s].c();
243
+ e = Oe();
244
+ },
245
+ m(s, d) {
246
+ for (let o = 0; o < r.length; o += 1)
247
+ r[o] && r[o].m(s, d);
248
+ B(s, e, d);
249
+ },
250
+ p(s, d) {
251
+ if (d[0] & /*currency, formattedJackpotValues, formattedLabels, caticons*/
252
+ 898) {
253
+ t = we(Array(4));
254
+ let o;
255
+ for (o = 0; o < t.length; o += 1) {
256
+ const C = Le(s, t, o);
257
+ r[o] ? r[o].p(C, d) : (r[o] = je(C), r[o].c(), r[o].m(e.parentNode, e));
258
+ }
259
+ for (; o < r.length; o += 1)
260
+ r[o].d(1);
261
+ r.length = t.length;
262
+ }
263
+ },
264
+ d(s) {
265
+ s && M(e), Re(r, s);
266
+ }
267
+ };
268
+ }
269
+ function je(n) {
270
+ let e, t, r, s, d, o = (
271
+ /*formattedLabels*/
272
+ n[8][
273
+ /*i*/
274
+ n[48]
275
+ ] + ""
276
+ ), C, _, f, x = (
277
+ /*formattedJackpotValues*/
278
+ (n[7][
279
+ /*i*/
280
+ n[48]
281
+ ] ?? "") + ""
282
+ ), b, j, A, v;
283
+ return {
284
+ c() {
285
+ e = c("div"), t = c("div"), r = c("img"), d = c("span"), C = T(o), _ = c("span"), f = c("span"), b = T(x), j = U(), A = c("span"), v = T(
286
+ /*currency*/
287
+ n[1]
288
+ ), i(r, "class", "displayCardIcon"), D(r.src, s = /*caticons*/
289
+ n[9][
290
+ /*i*/
291
+ n[48]
292
+ ]) || i(r, "src", s), i(r, "alt", ""), i(d, "class", "cardLabel"), i(t, "class", "iconWrapper"), i(f, "class", "jackpotValue"), i(A, "class", "jackpot-currency"), i(_, "class", "cardTextWrapper"), i(e, "class", "displayCard");
293
+ },
294
+ m(g, u) {
295
+ B(g, e, u), l(e, t), l(t, r), l(t, d), l(d, C), l(e, _), l(_, f), l(f, b), l(_, j), l(_, A), l(A, v);
296
+ },
297
+ p(g, u) {
298
+ u[0] & /*caticons*/
299
+ 512 && !D(r.src, s = /*caticons*/
300
+ g[9][
301
+ /*i*/
302
+ g[48]
303
+ ]) && i(r, "src", s), u[0] & /*formattedLabels*/
304
+ 256 && o !== (o = /*formattedLabels*/
305
+ g[8][
306
+ /*i*/
307
+ g[48]
308
+ ] + "") && W(C, o), u[0] & /*formattedJackpotValues*/
309
+ 128 && x !== (x = /*formattedJackpotValues*/
310
+ (g[7][
311
+ /*i*/
312
+ g[48]
313
+ ] ?? "") + "") && W(b, x), u[0] & /*currency*/
314
+ 2 && W(
315
+ v,
316
+ /*currency*/
317
+ g[1]
318
+ );
319
+ },
320
+ d(g) {
321
+ g && M(e);
322
+ }
323
+ };
324
+ }
325
+ function Qe(n) {
326
+ let e;
327
+ function t(d, o) {
328
+ return (
329
+ /*hasErrors*/
330
+ d[12] ? Ge : (
331
+ /*isLoading*/
332
+ d[3] ? Fe : qe
333
+ )
334
+ );
335
+ }
336
+ let r = t(n), s = r(n);
337
+ return {
338
+ c() {
339
+ e = c("div"), s.c();
340
+ },
341
+ m(d, o) {
342
+ B(d, e, o), s.m(e, null), n[31](e);
343
+ },
344
+ p(d, o) {
345
+ r === (r = t(d)) && s ? s.p(d, o) : (s.d(1), s = r(d), s && (s.c(), s.m(e, null)));
346
+ },
347
+ i: ye,
348
+ o: ye,
349
+ d(d) {
350
+ d && M(e), s.d(), n[31](null);
351
+ }
352
+ };
353
+ }
354
+ function Xe(n, e, t) {
355
+ let { visualstructure: r = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: o = "" } = e, { caticon2: C = "" } = e, { caticon3: _ = "" } = e, { iconlabels: f = "" } = e, { backgroundsrc: x = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: j = "" } = e, { titlelogopath: A = "" } = e, { lang: v = "en" } = e, { clientstyling: g = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: p = "" } = e, { endpoint: h = "" } = e, { gameid: S = "" } = e, Y = window.navigator.userAgent, O = !1, R = !1, K = "", J = [], E = [], F = [], Q = [], ne = [], G = "", X = "", I, V = !0, H = !1, N;
356
+ const z = () => {
357
+ fetch(p).then((m) => m.json()).then((m) => {
358
+ Object.keys(m).forEach((w) => {
359
+ Ce(w, m[w]);
360
+ });
361
+ }).catch((m) => {
362
+ console.log(m);
363
+ });
364
+ };
365
+ Object.keys(xe).forEach((a) => {
366
+ Ce(a, xe[a]);
367
+ });
368
+ const P = ["typeSpread", "typeLeft"], Z = (a) => {
369
+ const m = a?.items[0]?.additionalData;
370
+ m && Object.values(m).forEach((w) => J.push(+w));
371
+ }, $ = (a) => {
372
+ t(6, K = a?.items[0]?.vendorLogo || "");
373
+ }, le = () => {
374
+ if (h && v && b) {
375
+ let a = new URL(`${h}/v1/casino/jackpots`);
376
+ a.searchParams.append("filter", `id=${S}`), a.searchParams.append("language", v), a.searchParams.append("additionalDataCurrency", b), fetch(a.href).then((m) => m.json().then((w) => {
377
+ t(3, V = !1), N = w, E.includes(S) && (Z(N), $(N));
378
+ }).catch((w) => {
379
+ t(12, H = !0), t(3, V = !1), console.error(w);
380
+ }));
381
+ }
382
+ }, q = () => {
383
+ let a = new URL(`${h}/v1/casino/jackpots/config`);
384
+ fetch(a.href).then((m) => m.json()).then((m) => {
385
+ t(29, E = m.egtJackpotIds.map((w) => w));
386
+ });
387
+ }, ee = () => {
388
+ t(4, O = Me(Y) && window.innerHeight / window.innerWidth > 1), t(5, R = re()), J.length !== 0 && t(7, F = te(J)), t(8, Q = f ? f.split(",").map((a) => a.trim().toUpperCase()) : new Array(4).fill("")), P.includes(r.trim()) ? t(0, r = r.trim()) : (console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${P[0]}"`), t(0, r = P[0])), t(10, G = j && O && !R ? j : x), t(11, X = A), t(9, ne = [d, o, C, _]);
389
+ }, te = (a) => a.map((m) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(m)), re = () => {
390
+ const a = window.innerHeight / window.innerWidth;
391
+ return 0.75 < a && a < 1.6;
392
+ }, se = () => {
393
+ window.postMessage({ type: "JackpotBannerClicked", gameid: S }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
394
+ context: "JackpotBanner",
395
+ gameId: `${S}`
396
+ });
397
+ }, ae = () => {
398
+ He(v);
399
+ };
400
+ Je(() => () => {
401
+ });
402
+ const ce = () => se();
403
+ function oe(a) {
404
+ ze[a ? "unshift" : "push"](() => {
405
+ I = a, t(2, I);
406
+ });
407
+ }
408
+ return n.$$set = (a) => {
409
+ "visualstructure" in a && t(0, r = a.visualstructure), "title" in a && t(14, s = a.title), "caticon0" in a && t(15, d = a.caticon0), "caticon1" in a && t(16, o = a.caticon1), "caticon2" in a && t(17, C = a.caticon2), "caticon3" in a && t(18, _ = a.caticon3), "iconlabels" in a && t(19, f = a.iconlabels), "backgroundsrc" in a && t(20, x = a.backgroundsrc), "currency" in a && t(1, b = a.currency), "backgroundsrcmobile" in a && t(21, j = a.backgroundsrcmobile), "titlelogopath" in a && t(22, A = a.titlelogopath), "lang" in a && t(23, v = a.lang), "clientstyling" in a && t(24, g = a.clientstyling), "clientstylingurl" in a && t(25, u = a.clientstylingurl), "translationurl" in a && t(26, p = a.translationurl), "endpoint" in a && t(27, h = a.endpoint), "gameid" in a && t(28, S = a.gameid);
410
+ }, n.$$.update = () => {
411
+ n.$$.dirty[0] & /*endpoint*/
412
+ 134217728 && h && q(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
413
+ 16777220 && g && I && Ue(I, g), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
414
+ 33554436 && u && I && Ee(I, u), n.$$.dirty[0] & /*customStylingContainer*/
415
+ 4 && I && Ne(I, "Casino.Style"), n.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
416
+ 679477250 && h && v && b && E.length > 0 && le(), n.$$.dirty[0] & /*currency, lang, isLoading*/
417
+ 8388618 && b && v && !V && ee(), n.$$.dirty[0] & /*lang*/
418
+ 8388608 && v && ae(), n.$$.dirty[0] & /*translationurl*/
419
+ 67108864 && p && z();
420
+ }, [
421
+ r,
422
+ b,
423
+ I,
424
+ V,
425
+ O,
426
+ R,
427
+ K,
428
+ F,
429
+ Q,
430
+ ne,
431
+ G,
432
+ X,
433
+ H,
434
+ se,
435
+ s,
436
+ d,
437
+ o,
438
+ C,
439
+ _,
440
+ f,
441
+ x,
442
+ j,
443
+ A,
444
+ v,
445
+ g,
446
+ u,
447
+ p,
448
+ h,
449
+ S,
450
+ E,
451
+ ce,
452
+ oe
453
+ ];
454
+ }
455
+ class Ze extends We {
456
+ constructor(e) {
457
+ super(), Ae(
458
+ this,
459
+ e,
460
+ Xe,
461
+ Qe,
462
+ Ve,
463
+ {
464
+ visualstructure: 0,
465
+ title: 14,
466
+ caticon0: 15,
467
+ caticon1: 16,
468
+ caticon2: 17,
469
+ caticon3: 18,
470
+ iconlabels: 19,
471
+ backgroundsrc: 20,
472
+ currency: 1,
473
+ backgroundsrcmobile: 21,
474
+ titlelogopath: 22,
475
+ lang: 23,
476
+ clientstyling: 24,
477
+ clientstylingurl: 25,
478
+ translationurl: 26,
479
+ endpoint: 27,
480
+ gameid: 28
481
+ },
482
+ Pe,
483
+ [-1, -1]
484
+ );
485
+ }
486
+ get visualstructure() {
487
+ return this.$$.ctx[0];
488
+ }
489
+ set visualstructure(e) {
490
+ this.$$set({ visualstructure: e }), L();
491
+ }
492
+ get title() {
493
+ return this.$$.ctx[14];
494
+ }
495
+ set title(e) {
496
+ this.$$set({ title: e }), L();
497
+ }
498
+ get caticon0() {
499
+ return this.$$.ctx[15];
500
+ }
501
+ set caticon0(e) {
502
+ this.$$set({ caticon0: e }), L();
503
+ }
504
+ get caticon1() {
505
+ return this.$$.ctx[16];
506
+ }
507
+ set caticon1(e) {
508
+ this.$$set({ caticon1: e }), L();
509
+ }
510
+ get caticon2() {
511
+ return this.$$.ctx[17];
512
+ }
513
+ set caticon2(e) {
514
+ this.$$set({ caticon2: e }), L();
515
+ }
516
+ get caticon3() {
517
+ return this.$$.ctx[18];
518
+ }
519
+ set caticon3(e) {
520
+ this.$$set({ caticon3: e }), L();
521
+ }
522
+ get iconlabels() {
523
+ return this.$$.ctx[19];
524
+ }
525
+ set iconlabels(e) {
526
+ this.$$set({ iconlabels: e }), L();
527
+ }
528
+ get backgroundsrc() {
529
+ return this.$$.ctx[20];
530
+ }
531
+ set backgroundsrc(e) {
532
+ this.$$set({ backgroundsrc: e }), L();
533
+ }
534
+ get currency() {
535
+ return this.$$.ctx[1];
536
+ }
537
+ set currency(e) {
538
+ this.$$set({ currency: e }), L();
539
+ }
540
+ get backgroundsrcmobile() {
541
+ return this.$$.ctx[21];
542
+ }
543
+ set backgroundsrcmobile(e) {
544
+ this.$$set({ backgroundsrcmobile: e }), L();
545
+ }
546
+ get titlelogopath() {
547
+ return this.$$.ctx[22];
548
+ }
549
+ set titlelogopath(e) {
550
+ this.$$set({ titlelogopath: e }), L();
551
+ }
552
+ get lang() {
553
+ return this.$$.ctx[23];
554
+ }
555
+ set lang(e) {
556
+ this.$$set({ lang: e }), L();
557
+ }
558
+ get clientstyling() {
559
+ return this.$$.ctx[24];
560
+ }
561
+ set clientstyling(e) {
562
+ this.$$set({ clientstyling: e }), L();
563
+ }
564
+ get clientstylingurl() {
565
+ return this.$$.ctx[25];
566
+ }
567
+ set clientstylingurl(e) {
568
+ this.$$set({ clientstylingurl: e }), L();
569
+ }
570
+ get translationurl() {
571
+ return this.$$.ctx[26];
572
+ }
573
+ set translationurl(e) {
574
+ this.$$set({ translationurl: e }), L();
575
+ }
576
+ get endpoint() {
577
+ return this.$$.ctx[27];
578
+ }
579
+ set endpoint(e) {
580
+ this.$$set({ endpoint: e }), L();
581
+ }
582
+ get gameid() {
583
+ return this.$$.ctx[28];
584
+ }
585
+ set gameid(e) {
586
+ this.$$set({ gameid: e }), L();
587
+ }
588
+ }
589
+ Ie(Ze, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {} }, [], [], !0);
590
+ export {
591
+ Ze as default
592
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BQx5-rlk.cjs");function de(l,t){e.addMessages(l,t)}function he(l){e.$locale.set(l)}const ue={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function ye(l){e.append_styles(l,"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)}}')}function ge(l,t,a){const i=l.slice();return i[46]=t[a],i[48]=a,i}function _e(l){let t,a,i,r,o,s,v,b,g,k,m,C,L;function h(c,u){return c[5]?ke:xe}let x=h(l),p=x(l);return{c(){t=e.element("div"),a=e.element("div"),i=e.element("div"),r=e.element("div"),o=e.space(),s=e.element("div"),p.c(),v=e.space(),b=e.element("div"),g=e.element("img"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+l[6]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(g.src,k=l[11])||e.attr(g,"src",k),e.attr(g,"alt",""),e.attr(b,"class","title"),e.attr(i,"class",m="mainWrapper "+l[0]+" "+(l[4]&&!l[5]?"mobile":l[5]?"tablet":"")),e.set_style(i,"background","url("+l[10]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class",""),e.attr(t,"part","")},m(c,u){e.insert(c,t,u),e.append(t,a),e.append(a,i),e.append(i,r),e.append(i,o),e.append(i,s),p.m(s,null),e.append(i,v),e.append(i,b),e.append(b,g),C||(L=e.listen(a,"click",l[30]),C=!0)},p(c,u){u[0]&64&&e.set_style(r,"background-image","url("+c[6]+")"),x===(x=h(c))&&p?p.p(c,u):(p.d(1),p=x(c),p&&(p.c(),p.m(s,null))),u[0]&2048&&!e.src_url_equal(g.src,k=c[11])&&e.attr(g,"src",k),u[0]&49&&m!==(m="mainWrapper "+c[0]+" "+(c[4]&&!c[5]?"mobile":c[5]?"tablet":""))&&e.attr(i,"class",m),u[0]&1024&&e.set_style(i,"background","url("+c[10]+")")},d(c){c&&e.detach(t),p.d(),C=!1,L()}}}function be(l){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner"),e.attr(t,"part","LoadingSpinner")},m(a,i){e.insert(a,t,i)},p:e.noop,d(a){a&&e.detach(t)}}}function ve(l){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,i){e.insert(a,t,i)},p:e.noop,d(a){a&&e.detach(t)}}}function ke(l){let t,a,i,r,o,s,v=l[8][0]+"",b,g,k,m=l[7][0]+"",C,L,h,x,p,c,u,w,E,q,V=l[8][1]+"",N,T,A,M=l[7][1]+"",O,Q,B,P,j,S,J,I,W,z,R,F=l[8][2]+"",X,U,H,D=l[7][2]+"",Z,$,G,ee,te,n,d,y,Y,ae,ne=l[8][3]+"",se,K,le,ie=l[7][3]+"",ce,pe,re,oe;return{c(){t=e.element("div"),a=e.element("div"),i=e.element("div"),r=e.element("img"),s=e.element("span"),b=e.text(v),g=e.element("span"),k=e.element("span"),C=e.text(m),L=e.space(),h=e.element("span"),x=e.text(l[1]),p=e.space(),c=e.element("div"),u=e.element("div"),w=e.element("img"),q=e.element("span"),N=e.text(V),T=e.element("span"),A=e.element("span"),O=e.text(M),Q=e.space(),B=e.element("span"),P=e.text(l[1]),j=e.space(),S=e.element("div"),J=e.element("div"),I=e.element("div"),W=e.element("img"),R=e.element("span"),X=e.text(F),U=e.element("span"),H=e.element("span"),Z=e.text(D),$=e.space(),G=e.element("span"),ee=e.text(l[1]),te=e.space(),n=e.element("div"),d=e.element("div"),y=e.element("img"),ae=e.element("span"),se=e.text(ne),K=e.element("span"),le=e.element("span"),ce=e.text(ie),pe=e.space(),re=e.element("span"),oe=e.text(l[1]),e.attr(r,"class","displayCardIcon"),e.src_url_equal(r.src,o=l[9][0])||e.attr(r,"src",o),e.attr(r,"alt",""),e.attr(s,"class","cardLabel"),e.attr(i,"class","iconWrapper"),e.attr(k,"class","jackpotValue"),e.attr(h,"class","jackpot-currency"),e.attr(g,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.attr(w,"class","displayCardIcon"),e.src_url_equal(w.src,E=l[9][1])||e.attr(w,"src",E),e.attr(w,"alt",""),e.attr(q,"class","cardLabel"),e.attr(u,"class","iconWrapper"),e.attr(A,"class","jackpotValue"),e.attr(B,"class","jackpot-currency"),e.attr(T,"class","cardTextWrapper"),e.attr(c,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.attr(W,"class","displayCardIcon"),e.src_url_equal(W.src,z=l[9][2])||e.attr(W,"src",z),e.attr(W,"alt",""),e.attr(R,"class","cardLabel"),e.attr(I,"class","iconWrapper"),e.attr(H,"class","jackpotValue"),e.attr(G,"class","jackpot-currency"),e.attr(U,"class","cardTextWrapper"),e.attr(J,"class","displayCard"),e.attr(y,"class","displayCardIcon"),e.src_url_equal(y.src,Y=l[9][3])||e.attr(y,"src",Y),e.attr(y,"alt",""),e.attr(ae,"class","cardLabel"),e.attr(d,"class","iconWrapper"),e.attr(le,"class","jackpotValue"),e.attr(re,"class","jackpot-currency"),e.attr(K,"class","cardTextWrapper"),e.attr(n,"class","displayCard"),e.attr(S,"class","pairWrapper")},m(f,_){e.insert(f,t,_),e.append(t,a),e.append(a,i),e.append(i,r),e.append(i,s),e.append(s,b),e.append(a,g),e.append(g,k),e.append(k,C),e.append(g,L),e.append(g,h),e.append(h,x),e.append(t,p),e.append(t,c),e.append(c,u),e.append(u,w),e.append(u,q),e.append(q,N),e.append(c,T),e.append(T,A),e.append(A,O),e.append(T,Q),e.append(T,B),e.append(B,P),e.insert(f,j,_),e.insert(f,S,_),e.append(S,J),e.append(J,I),e.append(I,W),e.append(I,R),e.append(R,X),e.append(J,U),e.append(U,H),e.append(H,Z),e.append(U,$),e.append(U,G),e.append(G,ee),e.append(S,te),e.append(S,n),e.append(n,d),e.append(d,y),e.append(d,ae),e.append(ae,se),e.append(n,K),e.append(K,le),e.append(le,ce),e.append(K,pe),e.append(K,re),e.append(re,oe)},p(f,_){_[0]&512&&!e.src_url_equal(r.src,o=f[9][0])&&e.attr(r,"src",o),_[0]&256&&v!==(v=f[8][0]+"")&&e.set_data(b,v),_[0]&128&&m!==(m=f[7][0]+"")&&e.set_data(C,m),_[0]&2&&e.set_data(x,f[1]),_[0]&512&&!e.src_url_equal(w.src,E=f[9][1])&&e.attr(w,"src",E),_[0]&256&&V!==(V=f[8][1]+"")&&e.set_data(N,V),_[0]&128&&M!==(M=f[7][1]+"")&&e.set_data(O,M),_[0]&2&&e.set_data(P,f[1]),_[0]&512&&!e.src_url_equal(W.src,z=f[9][2])&&e.attr(W,"src",z),_[0]&256&&F!==(F=f[8][2]+"")&&e.set_data(X,F),_[0]&128&&D!==(D=f[7][2]+"")&&e.set_data(Z,D),_[0]&2&&e.set_data(ee,f[1]),_[0]&512&&!e.src_url_equal(y.src,Y=f[9][3])&&e.attr(y,"src",Y),_[0]&256&&ne!==(ne=f[8][3]+"")&&e.set_data(se,ne),_[0]&128&&ie!==(ie=f[7][3]+"")&&e.set_data(ce,ie),_[0]&2&&e.set_data(oe,f[1])},d(f){f&&(e.detach(t),e.detach(j),e.detach(S))}}}function xe(l){let t,a=e.ensure_array_like(Array(4)),i=[];for(let r=0;r<a.length;r+=1)i[r]=fe(ge(l,a,r));return{c(){for(let r=0;r<i.length;r+=1)i[r].c();t=e.empty()},m(r,o){for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(r,o);e.insert(r,t,o)},p(r,o){if(o[0]&898){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const v=ge(r,a,s);i[s]?i[s].p(v,o):(i[s]=fe(v),i[s].c(),i[s].m(t.parentNode,t))}for(;s<i.length;s+=1)i[s].d(1);i.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(i,r)}}}function fe(l){var x;let t,a,i,r,o,s=l[8][l[48]]+"",v,b,g,k=((x=l[7][l[48]])!=null?x:"")+"",m,C,L,h;return{c(){t=e.element("div"),a=e.element("div"),i=e.element("img"),o=e.element("span"),v=e.text(s),b=e.element("span"),g=e.element("span"),m=e.text(k),C=e.space(),L=e.element("span"),h=e.text(l[1]),e.attr(i,"class","displayCardIcon"),e.src_url_equal(i.src,r=l[9][l[48]])||e.attr(i,"src",r),e.attr(i,"alt",""),e.attr(o,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(L,"class","jackpot-currency"),e.attr(b,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(p,c){e.insert(p,t,c),e.append(t,a),e.append(a,i),e.append(a,o),e.append(o,v),e.append(t,b),e.append(b,g),e.append(g,m),e.append(b,C),e.append(b,L),e.append(L,h)},p(p,c){var u;c[0]&512&&!e.src_url_equal(i.src,r=p[9][p[48]])&&e.attr(i,"src",r),c[0]&256&&s!==(s=p[8][p[48]]+"")&&e.set_data(v,s),c[0]&128&&k!==(k=((u=p[7][p[48]])!=null?u:"")+"")&&e.set_data(m,k),c[0]&2&&e.set_data(h,p[1])},d(p){p&&e.detach(t)}}}function Ce(l){let t;function a(o,s){return o[12]?ve:o[3]?be:_e}let i=a(l),r=i(l);return{c(){t=e.element("div"),r.c()},m(o,s){e.insert(o,t,s),r.m(t,null),l[31](t)},p(o,s){i===(i=a(o))&&r?r.p(o,s):(r.d(1),r=i(o),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),r.d(),l[31](null)}}}function we(l,t,a){let{visualstructure:i=""}=t,{title:r=""}=t,{caticon0:o=""}=t,{caticon1:s=""}=t,{caticon2:v=""}=t,{caticon3:b=""}=t,{iconlabels:g=""}=t,{backgroundsrc:k=""}=t,{currency:m=""}=t,{backgroundsrcmobile:C=""}=t,{titlelogopath:L=""}=t,{lang:h="en"}=t,{clientstyling:x=""}=t,{clientstylingurl:p=""}=t,{translationurl:c=""}=t,{endpoint:u=""}=t,{gameid:w=""}=t,E=window.navigator.userAgent,q=!1,V=!1,N="",T=[],A=[],M=[],O=[],Q=[],B="",P="",j,S=!0,J=!1,I;const W=()=>{fetch(c).then(d=>d.json()).then(d=>{Object.keys(d).forEach(y=>{de(y,d[y])})}).catch(d=>{console.log(d)})};Object.keys(ue).forEach(n=>{de(n,ue[n])});const z=["typeSpread","typeLeft"],R=n=>{var y;const d=(y=n==null?void 0:n.items[0])==null?void 0:y.additionalData;d&&Object.values(d).forEach(Y=>T.push(+Y))},F=n=>{var d;a(6,N=((d=n==null?void 0:n.items[0])==null?void 0:d.vendorLogo)||"")},X=()=>{if(u&&h&&m){let n=new URL(`${u}/v1/casino/jackpots`);n.searchParams.append("filter",`id=${w}`),n.searchParams.append("language",h),n.searchParams.append("additionalDataCurrency",m),fetch(n.href).then(d=>d.json().then(y=>{a(3,S=!1),I=y,A.includes(w)&&(R(I),F(I))}).catch(y=>{a(12,J=!0),a(3,S=!1),console.error(y)}))}},U=()=>{let n=new URL(`${u}/v1/casino/jackpots/config`);fetch(n.href).then(d=>d.json()).then(d=>{a(29,A=d.egtJackpotIds.map(y=>y))})},H=()=>{a(4,q=e.isMobile(E)&&window.innerHeight/window.innerWidth>1),a(5,V=Z()),T.length!==0&&a(7,M=D(T)),a(8,O=g?g.split(",").map(n=>n.trim().toUpperCase()):new Array(4).fill("")),z.includes(i.trim())?a(0,i=i.trim()):(console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${z[0]}"`),a(0,i=z[0])),a(10,B=C&&q&&!V?C:k),a(11,P=L),a(9,Q=[o,s,v,b])},D=n=>n.map(d=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(d)),Z=()=>{const n=window.innerHeight/window.innerWidth;return .75<n&&n<1.6},$=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:w},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${w}`})},G=()=>{he(h)};e.onMount(()=>()=>{});const ee=()=>$();function te(n){e.binding_callbacks[n?"unshift":"push"](()=>{j=n,a(2,j)})}return l.$$set=n=>{"visualstructure"in n&&a(0,i=n.visualstructure),"title"in n&&a(14,r=n.title),"caticon0"in n&&a(15,o=n.caticon0),"caticon1"in n&&a(16,s=n.caticon1),"caticon2"in n&&a(17,v=n.caticon2),"caticon3"in n&&a(18,b=n.caticon3),"iconlabels"in n&&a(19,g=n.iconlabels),"backgroundsrc"in n&&a(20,k=n.backgroundsrc),"currency"in n&&a(1,m=n.currency),"backgroundsrcmobile"in n&&a(21,C=n.backgroundsrcmobile),"titlelogopath"in n&&a(22,L=n.titlelogopath),"lang"in n&&a(23,h=n.lang),"clientstyling"in n&&a(24,x=n.clientstyling),"clientstylingurl"in n&&a(25,p=n.clientstylingurl),"translationurl"in n&&a(26,c=n.translationurl),"endpoint"in n&&a(27,u=n.endpoint),"gameid"in n&&a(28,w=n.gameid)},l.$$.update=()=>{l.$$.dirty[0]&134217728&&u&&U(),l.$$.dirty[0]&16777220&&x&&j&&e.setClientStyling(j,x),l.$$.dirty[0]&33554436&&p&&j&&e.setClientStylingURL(j),l.$$.dirty[0]&4&&j&&e.setClientStylingFromMB(j,"Casino.Style"),l.$$.dirty[0]&679477250&&u&&h&&m&&A.length>0&&X(),l.$$.dirty[0]&8388618&&m&&h&&!S&&H(),l.$$.dirty[0]&8388608&&h&&G(),l.$$.dirty[0]&67108864&&c&&W()},[i,m,j,S,q,V,N,M,O,Q,B,P,J,$,r,o,s,v,b,g,k,C,L,h,x,p,c,u,w,A,ee,te]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,we,Ce,e.safe_not_equal,{visualstructure:0,title:14,caticon0:15,caticon1:16,caticon2:17,caticon3:18,iconlabels:19,backgroundsrc:20,currency:1,backgroundsrcmobile:21,titlelogopath:22,lang:23,clientstyling:24,clientstylingurl:25,translationurl:26,endpoint:27,gameid:28},ye,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[14]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[15]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[16]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[17]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[18]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[19]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[20]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[21]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[22]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[23]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[24]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[26]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[27]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[28]}set gameid(t){this.$$set({gameid:t}),e.flush()}}e.create_custom_element(me,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{}},[],[],!0);exports.default=me;