@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,596 @@
1
+ import { a as Se, $ as Te, S as We, i as Ae, f as x, c as Ie, s as Ve, b as Je, e as c, d as N, D as ye, j as O, o as ze, n as Ue, L as Be, M as Ee, N as Me, r as B, v as i, I as he, E as J, w as l, x as Ne, m as Oe, u as T, B as W, q as Ce, H as Re, C as He } from "./CasinoCalendar-T2eu_ijJ.js";
2
+ function we(n, e) {
3
+ Se(n, e);
4
+ }
5
+ function Pe(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 qe(n) {
47
+ Je(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 De(n) {
54
+ let e, t, r, s, g, o, C, k, m, w, y, j, A;
55
+ function b(d, f) {
56
+ return (
57
+ /*tabletView*/
58
+ d[5] ? Ye : Ke
59
+ );
60
+ }
61
+ let L = b(n), p = L(n);
62
+ return {
63
+ c() {
64
+ e = c("div"), t = c("div"), r = c("div"), s = c("div"), g = B(), o = c("div"), p.c(), C = B(), k = c("div"), m = c("img"), i(s, "class", "vendorLogo"), he(s, "background-image", "url(" + /*vendorIcon*/
65
+ n[6] + ")"), i(o, "class", "displayContainer"), J(m.src, w = /*titleLogoImg*/
66
+ n[11]) || i(m, "src", w), i(m, "alt", ""), i(k, "class", "title"), i(r, "class", y = "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(d, f) {
76
+ N(d, e, f), l(e, t), l(t, r), l(r, s), l(r, g), l(r, o), p.m(o, null), l(r, C), l(r, k), l(k, m), j || (A = Ne(
77
+ t,
78
+ "click",
79
+ /*click_handler*/
80
+ n[30]
81
+ ), j = !0);
82
+ },
83
+ p(d, f) {
84
+ f[0] & /*vendorIcon*/
85
+ 64 && he(s, "background-image", "url(" + /*vendorIcon*/
86
+ d[6] + ")"), L === (L = b(d)) && p ? p.p(d, f) : (p.d(1), p = L(d), p && (p.c(), p.m(o, null))), f[0] & /*titleLogoImg*/
87
+ 2048 && !J(m.src, w = /*titleLogoImg*/
88
+ d[11]) && i(m, "src", w), f[0] & /*visualstructure, mobileView, tabletView*/
89
+ 49 && y !== (y = "mainWrapper " + /*visualstructure*/
90
+ d[0] + " " + /*mobileView*/
91
+ (d[4] && !/*tabletView*/
92
+ d[5] ? "mobile" : (
93
+ /*tabletView*/
94
+ d[5] ? "tablet" : ""
95
+ ))) && i(r, "class", y), f[0] & /*backgroundImg*/
96
+ 1024 && he(r, "background", "url(" + /*backgroundImg*/
97
+ d[10] + ")");
98
+ },
99
+ d(d) {
100
+ d && O(e), p.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
+ N(t, e, r);
112
+ },
113
+ p: ye,
114
+ d(t) {
115
+ t && O(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
+ N(t, e, r);
127
+ },
128
+ p: ye,
129
+ d(t) {
130
+ t && O(e);
131
+ }
132
+ };
133
+ }
134
+ function Ye(n) {
135
+ let e, t, r, s, g, o, C = (
136
+ /*formattedLabels*/
137
+ n[8][0] + ""
138
+ ), k, m, w, y = (
139
+ /*formattedJackpotValues*/
140
+ n[7][0] + ""
141
+ ), j, A, b, L, p, d, f, S, Y, R, H = (
142
+ /*formattedLabels*/
143
+ n[8][1] + ""
144
+ ), K, z, E, F = (
145
+ /*formattedJackpotValues*/
146
+ n[7][1] + ""
147
+ ), Q, le, G, X, I, V, P, M, U, q, Z, $ = (
148
+ /*formattedLabels*/
149
+ n[8][2] + ""
150
+ ), re, D, ee, te = (
151
+ /*formattedJackpotValues*/
152
+ n[7][2] + ""
153
+ ), se, ce, ae, oe, de, a, u, v, ie, ge, pe = (
154
+ /*formattedLabels*/
155
+ n[8][3] + ""
156
+ ), be, ne, ue, fe = (
157
+ /*formattedJackpotValues*/
158
+ n[7][3] + ""
159
+ ), ve, ke, me, _e;
160
+ return {
161
+ c() {
162
+ e = c("div"), t = c("div"), r = c("div"), s = c("img"), o = c("span"), k = T(C), m = c("span"), w = c("span"), j = T(y), A = B(), b = c("span"), L = T(
163
+ /*currency*/
164
+ n[1]
165
+ ), p = B(), d = c("div"), f = c("div"), S = c("img"), R = c("span"), K = T(H), z = c("span"), E = c("span"), Q = T(F), le = B(), G = c("span"), X = T(
166
+ /*currency*/
167
+ n[1]
168
+ ), I = B(), V = c("div"), P = c("div"), M = c("div"), U = c("img"), Z = c("span"), re = T($), D = c("span"), ee = c("span"), se = T(te), ce = B(), ae = c("span"), oe = T(
169
+ /*currency*/
170
+ n[1]
171
+ ), de = B(), a = c("div"), u = c("div"), v = c("img"), ge = c("span"), be = T(pe), ne = c("span"), ue = c("span"), ve = T(fe), ke = B(), me = c("span"), _e = T(
172
+ /*currency*/
173
+ n[1]
174
+ ), i(s, "class", "displayCardIcon"), J(s.src, g = /*caticons*/
175
+ n[9][0]) || i(s, "src", g), i(s, "alt", ""), i(o, "class", "cardLabel"), i(r, "class", "iconWrapper"), i(w, "class", "jackpotValue"), i(b, "class", "jackpot-currency"), i(m, "class", "cardTextWrapper"), i(t, "class", "displayCard"), i(S, "class", "displayCardIcon"), J(S.src, Y = /*caticons*/
176
+ n[9][1]) || i(S, "src", Y), i(S, "alt", ""), i(R, "class", "cardLabel"), i(f, "class", "iconWrapper"), i(E, "class", "jackpotValue"), i(G, "class", "jackpot-currency"), i(z, "class", "cardTextWrapper"), i(d, "class", "displayCard"), i(e, "class", "pairWrapper"), i(U, "class", "displayCardIcon"), J(U.src, q = /*caticons*/
177
+ n[9][2]) || i(U, "src", q), i(U, "alt", ""), i(Z, "class", "cardLabel"), i(M, "class", "iconWrapper"), i(ee, "class", "jackpotValue"), i(ae, "class", "jackpot-currency"), i(D, "class", "cardTextWrapper"), i(P, "class", "displayCard"), i(v, "class", "displayCardIcon"), J(v.src, ie = /*caticons*/
178
+ n[9][3]) || i(v, "src", ie), i(v, "alt", ""), i(ge, "class", "cardLabel"), i(u, "class", "iconWrapper"), i(ue, "class", "jackpotValue"), i(me, "class", "jackpot-currency"), i(ne, "class", "cardTextWrapper"), i(a, "class", "displayCard"), i(V, "class", "pairWrapper");
179
+ },
180
+ m(h, _) {
181
+ N(h, e, _), l(e, t), l(t, r), l(r, s), l(r, o), l(o, k), l(t, m), l(m, w), l(w, j), l(m, A), l(m, b), l(b, L), l(e, p), l(e, d), l(d, f), l(f, S), l(f, R), l(R, K), l(d, z), l(z, E), l(E, Q), l(z, le), l(z, G), l(G, X), N(h, I, _), N(h, V, _), l(V, P), l(P, M), l(M, U), l(M, Z), l(Z, re), l(P, D), l(D, ee), l(ee, se), l(D, ce), l(D, ae), l(ae, oe), l(V, de), l(V, a), l(a, u), l(u, v), l(u, ge), l(ge, be), l(a, ne), l(ne, ue), l(ue, ve), l(ne, ke), l(ne, me), l(me, _e);
182
+ },
183
+ p(h, _) {
184
+ _[0] & /*caticons*/
185
+ 512 && !J(s.src, g = /*caticons*/
186
+ h[9][0]) && i(s, "src", g), _[0] & /*formattedLabels*/
187
+ 256 && C !== (C = /*formattedLabels*/
188
+ h[8][0] + "") && W(k, C), _[0] & /*formattedJackpotValues*/
189
+ 128 && y !== (y = /*formattedJackpotValues*/
190
+ h[7][0] + "") && W(j, y), _[0] & /*currency*/
191
+ 2 && W(
192
+ L,
193
+ /*currency*/
194
+ h[1]
195
+ ), _[0] & /*caticons*/
196
+ 512 && !J(S.src, Y = /*caticons*/
197
+ h[9][1]) && i(S, "src", Y), _[0] & /*formattedLabels*/
198
+ 256 && H !== (H = /*formattedLabels*/
199
+ h[8][1] + "") && W(K, H), _[0] & /*formattedJackpotValues*/
200
+ 128 && F !== (F = /*formattedJackpotValues*/
201
+ h[7][1] + "") && W(Q, F), _[0] & /*currency*/
202
+ 2 && W(
203
+ X,
204
+ /*currency*/
205
+ h[1]
206
+ ), _[0] & /*caticons*/
207
+ 512 && !J(U.src, q = /*caticons*/
208
+ h[9][2]) && i(U, "src", q), _[0] & /*formattedLabels*/
209
+ 256 && $ !== ($ = /*formattedLabels*/
210
+ h[8][2] + "") && W(re, $), _[0] & /*formattedJackpotValues*/
211
+ 128 && te !== (te = /*formattedJackpotValues*/
212
+ h[7][2] + "") && W(se, te), _[0] & /*currency*/
213
+ 2 && W(
214
+ oe,
215
+ /*currency*/
216
+ h[1]
217
+ ), _[0] & /*caticons*/
218
+ 512 && !J(v.src, ie = /*caticons*/
219
+ h[9][3]) && i(v, "src", ie), _[0] & /*formattedLabels*/
220
+ 256 && pe !== (pe = /*formattedLabels*/
221
+ h[8][3] + "") && W(be, pe), _[0] & /*formattedJackpotValues*/
222
+ 128 && fe !== (fe = /*formattedJackpotValues*/
223
+ h[7][3] + "") && W(ve, fe), _[0] & /*currency*/
224
+ 2 && W(
225
+ _e,
226
+ /*currency*/
227
+ h[1]
228
+ );
229
+ },
230
+ d(h) {
231
+ h && (O(e), O(I), O(V));
232
+ }
233
+ };
234
+ }
235
+ function Ke(n) {
236
+ let e, t = Ce(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 = Re();
244
+ },
245
+ m(s, g) {
246
+ for (let o = 0; o < r.length; o += 1)
247
+ r[o] && r[o].m(s, g);
248
+ N(s, e, g);
249
+ },
250
+ p(s, g) {
251
+ if (g[0] & /*currency, formattedJackpotValues, formattedLabels, caticons*/
252
+ 898) {
253
+ t = Ce(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, g) : (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 && O(e), He(r, s);
266
+ }
267
+ };
268
+ }
269
+ function je(n) {
270
+ var L;
271
+ let e, t, r, s, g, o = (
272
+ /*formattedLabels*/
273
+ n[8][
274
+ /*i*/
275
+ n[48]
276
+ ] + ""
277
+ ), C, k, m, w = (
278
+ /*formattedJackpotValues*/
279
+ ((L = n[7][
280
+ /*i*/
281
+ n[48]
282
+ ]) != null ? L : "") + ""
283
+ ), y, j, A, b;
284
+ return {
285
+ c() {
286
+ e = c("div"), t = c("div"), r = c("img"), g = c("span"), C = T(o), k = c("span"), m = c("span"), y = T(w), j = B(), A = c("span"), b = T(
287
+ /*currency*/
288
+ n[1]
289
+ ), i(r, "class", "displayCardIcon"), J(r.src, s = /*caticons*/
290
+ n[9][
291
+ /*i*/
292
+ n[48]
293
+ ]) || i(r, "src", s), i(r, "alt", ""), i(g, "class", "cardLabel"), i(t, "class", "iconWrapper"), i(m, "class", "jackpotValue"), i(A, "class", "jackpot-currency"), i(k, "class", "cardTextWrapper"), i(e, "class", "displayCard");
294
+ },
295
+ m(p, d) {
296
+ N(p, e, d), l(e, t), l(t, r), l(t, g), l(g, C), l(e, k), l(k, m), l(m, y), l(k, j), l(k, A), l(A, b);
297
+ },
298
+ p(p, d) {
299
+ var f;
300
+ d[0] & /*caticons*/
301
+ 512 && !J(r.src, s = /*caticons*/
302
+ p[9][
303
+ /*i*/
304
+ p[48]
305
+ ]) && i(r, "src", s), d[0] & /*formattedLabels*/
306
+ 256 && o !== (o = /*formattedLabels*/
307
+ p[8][
308
+ /*i*/
309
+ p[48]
310
+ ] + "") && W(C, o), d[0] & /*formattedJackpotValues*/
311
+ 128 && w !== (w = /*formattedJackpotValues*/
312
+ ((f = p[7][
313
+ /*i*/
314
+ p[48]
315
+ ]) != null ? f : "") + "") && W(y, w), d[0] & /*currency*/
316
+ 2 && W(
317
+ b,
318
+ /*currency*/
319
+ p[1]
320
+ );
321
+ },
322
+ d(p) {
323
+ p && O(e);
324
+ }
325
+ };
326
+ }
327
+ function Qe(n) {
328
+ let e;
329
+ function t(g, o) {
330
+ return (
331
+ /*hasErrors*/
332
+ g[12] ? Ge : (
333
+ /*isLoading*/
334
+ g[3] ? Fe : De
335
+ )
336
+ );
337
+ }
338
+ let r = t(n), s = r(n);
339
+ return {
340
+ c() {
341
+ e = c("div"), s.c();
342
+ },
343
+ m(g, o) {
344
+ N(g, e, o), s.m(e, null), n[31](e);
345
+ },
346
+ p(g, o) {
347
+ r === (r = t(g)) && s ? s.p(g, o) : (s.d(1), s = r(g), s && (s.c(), s.m(e, null)));
348
+ },
349
+ i: ye,
350
+ o: ye,
351
+ d(g) {
352
+ g && O(e), s.d(), n[31](null);
353
+ }
354
+ };
355
+ }
356
+ function Xe(n, e, t) {
357
+ let { visualstructure: r = "" } = e, { title: s = "" } = e, { caticon0: g = "" } = e, { caticon1: o = "" } = e, { caticon2: C = "" } = e, { caticon3: k = "" } = e, { iconlabels: m = "" } = e, { backgroundsrc: w = "" } = e, { currency: y = "" } = e, { backgroundsrcmobile: j = "" } = e, { titlelogopath: A = "" } = e, { lang: b = "en" } = e, { clientstyling: L = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: d = "" } = e, { endpoint: f = "" } = e, { gameid: S = "" } = e, Y = window.navigator.userAgent, R = !1, H = !1, K = "", z = [], E = [], F = [], Q = [], le = [], G = "", X = "", I, V = !0, P = !1, M;
358
+ const U = () => {
359
+ fetch(d).then((u) => u.json()).then((u) => {
360
+ Object.keys(u).forEach((v) => {
361
+ we(v, u[v]);
362
+ });
363
+ }).catch((u) => {
364
+ console.log(u);
365
+ });
366
+ };
367
+ Object.keys(xe).forEach((a) => {
368
+ we(a, xe[a]);
369
+ });
370
+ const q = ["typeSpread", "typeLeft"], Z = (a) => {
371
+ var v;
372
+ const u = (v = a == null ? void 0 : a.items[0]) == null ? void 0 : v.additionalData;
373
+ u && Object.values(u).forEach((ie) => z.push(+ie));
374
+ }, $ = (a) => {
375
+ var u;
376
+ t(6, K = ((u = a == null ? void 0 : a.items[0]) == null ? void 0 : u.vendorLogo) || "");
377
+ }, re = () => {
378
+ if (f && b && y) {
379
+ let a = new URL(`${f}/v1/casino/jackpots`);
380
+ a.searchParams.append("filter", `id=${S}`), a.searchParams.append("language", b), a.searchParams.append("additionalDataCurrency", y), fetch(a.href).then((u) => u.json().then((v) => {
381
+ t(3, V = !1), M = v, E.includes(S) && (Z(M), $(M));
382
+ }).catch((v) => {
383
+ t(12, P = !0), t(3, V = !1), console.error(v);
384
+ }));
385
+ }
386
+ }, D = () => {
387
+ let a = new URL(`${f}/v1/casino/jackpots/config`);
388
+ fetch(a.href).then((u) => u.json()).then((u) => {
389
+ t(29, E = u.egtJackpotIds.map((v) => v));
390
+ });
391
+ }, ee = () => {
392
+ t(4, R = Oe(Y) && window.innerHeight / window.innerWidth > 1), t(5, H = se()), z.length !== 0 && t(7, F = te(z)), t(8, Q = m ? m.split(",").map((a) => a.trim().toUpperCase()) : new Array(4).fill("")), q.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 "${q[0]}"`), t(0, r = q[0])), t(10, G = j && R && !H ? j : w), t(11, X = A), t(9, le = [g, o, C, k]);
393
+ }, te = (a) => a.map((u) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(u)), se = () => {
394
+ const a = window.innerHeight / window.innerWidth;
395
+ return 0.75 < a && a < 1.6;
396
+ }, ce = () => {
397
+ window.postMessage({ type: "JackpotBannerClicked", gameid: S }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
398
+ context: "JackpotBanner",
399
+ gameId: `${S}`
400
+ });
401
+ }, ae = () => {
402
+ Pe(b);
403
+ };
404
+ ze(() => () => {
405
+ });
406
+ const oe = () => ce();
407
+ function de(a) {
408
+ Ue[a ? "unshift" : "push"](() => {
409
+ I = a, t(2, I);
410
+ });
411
+ }
412
+ return n.$$set = (a) => {
413
+ "visualstructure" in a && t(0, r = a.visualstructure), "title" in a && t(14, s = a.title), "caticon0" in a && t(15, g = a.caticon0), "caticon1" in a && t(16, o = a.caticon1), "caticon2" in a && t(17, C = a.caticon2), "caticon3" in a && t(18, k = a.caticon3), "iconlabels" in a && t(19, m = a.iconlabels), "backgroundsrc" in a && t(20, w = a.backgroundsrc), "currency" in a && t(1, y = a.currency), "backgroundsrcmobile" in a && t(21, j = a.backgroundsrcmobile), "titlelogopath" in a && t(22, A = a.titlelogopath), "lang" in a && t(23, b = a.lang), "clientstyling" in a && t(24, L = a.clientstyling), "clientstylingurl" in a && t(25, p = a.clientstylingurl), "translationurl" in a && t(26, d = a.translationurl), "endpoint" in a && t(27, f = a.endpoint), "gameid" in a && t(28, S = a.gameid);
414
+ }, n.$$.update = () => {
415
+ n.$$.dirty[0] & /*endpoint*/
416
+ 134217728 && f && D(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
417
+ 16777220 && L && I && Be(I, L), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
418
+ 33554436 && p && I && Ee(I), n.$$.dirty[0] & /*customStylingContainer*/
419
+ 4 && I && Me(I, "Casino.Style"), n.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
420
+ 679477250 && f && b && y && E.length > 0 && re(), n.$$.dirty[0] & /*currency, lang, isLoading*/
421
+ 8388618 && y && b && !V && ee(), n.$$.dirty[0] & /*lang*/
422
+ 8388608 && b && ae(), n.$$.dirty[0] & /*translationurl*/
423
+ 67108864 && d && U();
424
+ }, [
425
+ r,
426
+ y,
427
+ I,
428
+ V,
429
+ R,
430
+ H,
431
+ K,
432
+ F,
433
+ Q,
434
+ le,
435
+ G,
436
+ X,
437
+ P,
438
+ ce,
439
+ s,
440
+ g,
441
+ o,
442
+ C,
443
+ k,
444
+ m,
445
+ w,
446
+ j,
447
+ A,
448
+ b,
449
+ L,
450
+ p,
451
+ d,
452
+ f,
453
+ S,
454
+ E,
455
+ oe,
456
+ de
457
+ ];
458
+ }
459
+ class Ze extends We {
460
+ constructor(e) {
461
+ super(), Ae(
462
+ this,
463
+ e,
464
+ Xe,
465
+ Qe,
466
+ Ve,
467
+ {
468
+ visualstructure: 0,
469
+ title: 14,
470
+ caticon0: 15,
471
+ caticon1: 16,
472
+ caticon2: 17,
473
+ caticon3: 18,
474
+ iconlabels: 19,
475
+ backgroundsrc: 20,
476
+ currency: 1,
477
+ backgroundsrcmobile: 21,
478
+ titlelogopath: 22,
479
+ lang: 23,
480
+ clientstyling: 24,
481
+ clientstylingurl: 25,
482
+ translationurl: 26,
483
+ endpoint: 27,
484
+ gameid: 28
485
+ },
486
+ qe,
487
+ [-1, -1]
488
+ );
489
+ }
490
+ get visualstructure() {
491
+ return this.$$.ctx[0];
492
+ }
493
+ set visualstructure(e) {
494
+ this.$$set({ visualstructure: e }), x();
495
+ }
496
+ get title() {
497
+ return this.$$.ctx[14];
498
+ }
499
+ set title(e) {
500
+ this.$$set({ title: e }), x();
501
+ }
502
+ get caticon0() {
503
+ return this.$$.ctx[15];
504
+ }
505
+ set caticon0(e) {
506
+ this.$$set({ caticon0: e }), x();
507
+ }
508
+ get caticon1() {
509
+ return this.$$.ctx[16];
510
+ }
511
+ set caticon1(e) {
512
+ this.$$set({ caticon1: e }), x();
513
+ }
514
+ get caticon2() {
515
+ return this.$$.ctx[17];
516
+ }
517
+ set caticon2(e) {
518
+ this.$$set({ caticon2: e }), x();
519
+ }
520
+ get caticon3() {
521
+ return this.$$.ctx[18];
522
+ }
523
+ set caticon3(e) {
524
+ this.$$set({ caticon3: e }), x();
525
+ }
526
+ get iconlabels() {
527
+ return this.$$.ctx[19];
528
+ }
529
+ set iconlabels(e) {
530
+ this.$$set({ iconlabels: e }), x();
531
+ }
532
+ get backgroundsrc() {
533
+ return this.$$.ctx[20];
534
+ }
535
+ set backgroundsrc(e) {
536
+ this.$$set({ backgroundsrc: e }), x();
537
+ }
538
+ get currency() {
539
+ return this.$$.ctx[1];
540
+ }
541
+ set currency(e) {
542
+ this.$$set({ currency: e }), x();
543
+ }
544
+ get backgroundsrcmobile() {
545
+ return this.$$.ctx[21];
546
+ }
547
+ set backgroundsrcmobile(e) {
548
+ this.$$set({ backgroundsrcmobile: e }), x();
549
+ }
550
+ get titlelogopath() {
551
+ return this.$$.ctx[22];
552
+ }
553
+ set titlelogopath(e) {
554
+ this.$$set({ titlelogopath: e }), x();
555
+ }
556
+ get lang() {
557
+ return this.$$.ctx[23];
558
+ }
559
+ set lang(e) {
560
+ this.$$set({ lang: e }), x();
561
+ }
562
+ get clientstyling() {
563
+ return this.$$.ctx[24];
564
+ }
565
+ set clientstyling(e) {
566
+ this.$$set({ clientstyling: e }), x();
567
+ }
568
+ get clientstylingurl() {
569
+ return this.$$.ctx[25];
570
+ }
571
+ set clientstylingurl(e) {
572
+ this.$$set({ clientstylingurl: e }), x();
573
+ }
574
+ get translationurl() {
575
+ return this.$$.ctx[26];
576
+ }
577
+ set translationurl(e) {
578
+ this.$$set({ translationurl: e }), x();
579
+ }
580
+ get endpoint() {
581
+ return this.$$.ctx[27];
582
+ }
583
+ set endpoint(e) {
584
+ this.$$set({ endpoint: e }), x();
585
+ }
586
+ get gameid() {
587
+ return this.$$.ctx[28];
588
+ }
589
+ set gameid(e) {
590
+ this.$$set({ gameid: e }), x();
591
+ }
592
+ }
593
+ Ie(Ze, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {} }, [], [], !0);
594
+ export {
595
+ Ze as default
596
+ };