@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 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CGBzMgQt.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,N,q,V=l[8][1]+"",O,T,A,E=l[7][1]+"",B,Q,M,P,j,S,J,I,W,z,R,H=l[8][2]+"",X,U,D,F=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"),O=e.text(V),T=e.element("span"),A=e.element("span"),B=e.text(E),Q=e.space(),M=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(H),U=e.element("span"),D=e.element("span"),Z=e.text(F),$=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,N=l[9][1])||e.attr(w,"src",N),e.attr(w,"alt",""),e.attr(q,"class","cardLabel"),e.attr(u,"class","iconWrapper"),e.attr(A,"class","jackpotValue"),e.attr(M,"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(D,"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,O),e.append(c,T),e.append(T,A),e.append(A,B),e.append(T,Q),e.append(T,M),e.append(M,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,D),e.append(D,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,N=f[9][1])&&e.attr(w,"src",N),_[0]&256&&V!==(V=f[8][1]+"")&&e.set_data(O,V),_[0]&128&&E!==(E=f[7][1]+"")&&e.set_data(B,E),_[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&&H!==(H=f[8][2]+"")&&e.set_data(X,H),_[0]&128&&F!==(F=f[7][2]+"")&&e.set_data(Z,F),_[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,N=window.navigator.userAgent,q=!1,V=!1,O="",T=[],A=[],E=[],B=[],Q=[],M="",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))},H=n=>{var d;a(6,O=((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),H(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))})},D=()=>{a(4,q=e.isMobile(N)&&window.innerHeight/window.innerWidth>1),a(5,V=Z()),T.length!==0&&a(7,E=F(T)),a(8,B=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,M=C&&q&&!V?C:k),a(11,P=L),a(9,Q=[o,s,v,b])},F=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,p),l.$$.dirty[0]&4&&j&&e.setStreamStyling(j,"Casino.Style"),l.$$.dirty[0]&679477250&&u&&h&&m&&A.length>0&&X(),l.$$.dirty[0]&8388618&&m&&h&&!S&&D(),l.$$.dirty[0]&8388608&&h&&G(),l.$$.dirty[0]&67108864&&c&&W()},[i,m,j,S,q,V,O,E,B,Q,M,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;
@@ -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 M, D as ye, j as O, o as ze, n as Ue, L as Ee, M as Ne, N as Be, r as E, v as i, I as he, E as J, w as l, x as Me, m as Oe, u as T, B as W, q as we, H as Re, C as He } from "./CasinoCalendar-C_GWg7fU.js";
2
+ function Ce(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, w, k, m, C, 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 = E(), o = c("div"), p.c(), w = E(), 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, C = /*titleLogoImg*/
66
+ n[11]) || i(m, "src", C), 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
+ M(d, e, f), l(e, t), l(t, r), l(r, s), l(r, g), l(r, o), p.m(o, null), l(r, w), l(r, k), l(k, m), j || (A = Me(
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, C = /*titleLogoImg*/
88
+ d[11]) && i(m, "src", C), 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
+ M(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
+ M(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, w = (
136
+ /*formattedLabels*/
137
+ n[8][0] + ""
138
+ ), k, m, C, 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, N, F = (
145
+ /*formattedJackpotValues*/
146
+ n[7][1] + ""
147
+ ), Q, le, G, X, I, V, P, B, 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(w), m = c("span"), C = c("span"), j = T(y), A = E(), b = c("span"), L = T(
163
+ /*currency*/
164
+ n[1]
165
+ ), p = E(), d = c("div"), f = c("div"), S = c("img"), R = c("span"), K = T(H), z = c("span"), N = c("span"), Q = T(F), le = E(), G = c("span"), X = T(
166
+ /*currency*/
167
+ n[1]
168
+ ), I = E(), V = c("div"), P = c("div"), B = c("div"), U = c("img"), Z = c("span"), re = T($), D = c("span"), ee = c("span"), se = T(te), ce = E(), ae = c("span"), oe = T(
169
+ /*currency*/
170
+ n[1]
171
+ ), de = E(), 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 = E(), 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(C, "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(N, "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(B, "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
+ M(h, e, _), l(e, t), l(t, r), l(r, s), l(r, o), l(o, k), l(t, m), l(m, C), l(C, 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, N), l(N, Q), l(z, le), l(z, G), l(G, X), M(h, I, _), M(h, V, _), l(V, P), l(P, B), l(B, U), l(B, 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 && w !== (w = /*formattedLabels*/
188
+ h[8][0] + "") && W(k, w), _[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 = 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 = 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
+ M(s, e, g);
249
+ },
250
+ p(s, g) {
251
+ if (g[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 w = Le(s, t, o);
257
+ r[o] ? r[o].p(w, g) : (r[o] = je(w), 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
+ ), w, k, m, C = (
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"), w = T(o), k = c("span"), m = c("span"), y = T(C), j = E(), 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
+ M(p, e, d), l(e, t), l(t, r), l(t, g), l(g, w), 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(w, o), d[0] & /*formattedJackpotValues*/
311
+ 128 && C !== (C = /*formattedJackpotValues*/
312
+ ((f = p[7][
313
+ /*i*/
314
+ p[48]
315
+ ]) != null ? f : "") + "") && W(y, C), 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
+ M(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: w = "" } = e, { caticon3: k = "" } = e, { iconlabels: m = "" } = e, { backgroundsrc: C = "" } = 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 = [], N = [], F = [], Q = [], le = [], G = "", X = "", I, V = !0, P = !1, B;
358
+ const U = () => {
359
+ fetch(d).then((u) => u.json()).then((u) => {
360
+ Object.keys(u).forEach((v) => {
361
+ Ce(v, u[v]);
362
+ });
363
+ }).catch((u) => {
364
+ console.log(u);
365
+ });
366
+ };
367
+ Object.keys(xe).forEach((a) => {
368
+ Ce(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), B = v, N.includes(S) && (Z(B), $(B));
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, N = 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 : C), t(11, X = A), t(9, le = [g, o, w, 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, w = a.caticon2), "caticon3" in a && t(18, k = a.caticon3), "iconlabels" in a && t(19, m = a.iconlabels), "backgroundsrc" in a && t(20, C = 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 && Ee(I, L), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
418
+ 33554436 && p && I && Ne(I, p), n.$$.dirty[0] & /*customStylingContainer*/
419
+ 4 && I && Be(I, "Casino.Style"), n.$$.dirty[0] & /*endpoint, lang, currency, validGameIds*/
420
+ 679477250 && f && b && y && N.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
+ w,
443
+ k,
444
+ m,
445
+ C,
446
+ j,
447
+ A,
448
+ b,
449
+ L,
450
+ p,
451
+ d,
452
+ f,
453
+ S,
454
+ N,
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
+ };