@everymatrix/casino-lobby 1.70.0 → 1.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/components/{CasinoCalendar-DvsJjQR1.js → CasinoCalendar-BsOWkLVp.js} +837 -858
  2. package/components/{CasinoCalendar-DhXVMCwY.js → CasinoCalendar-RmQ6YNrd.js} +1010 -1031
  3. package/components/CasinoCalendar-wYGJExu0.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-CwCMdOjj.cjs → CasinoCalendarDailyDetails-CIDfmzEU.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-vDlTL1Mz.js → CasinoCalendarDailyDetails-CZvv-VEw.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-3oURZ5eN.js → CasinoCalendarDailyDetails-CgySlNqk.js} +38 -38
  7. package/components/{CasinoCalendarDailyItem-C73xrNhc.js → CasinoCalendarDailyItem-6fstg8rl.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem-B_wuJUTQ.cjs → CasinoCalendarDailyItem-BofIs4hH.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-AfCjN4cZ.js → CasinoCalendarDailyItem-Bqhwdp9N.js} +34 -34
  10. package/components/{CasinoCategoriesSlider-wQphiOTZ.js → CasinoCategoriesSlider-BrMd9akG.js} +73 -73
  11. package/components/CasinoCategoriesSlider-DXG58TlK.cjs +1 -0
  12. package/components/{CasinoCategoriesSlider-CyDPRdsd.js → CasinoCategoriesSlider-rcQ6H4dN.js} +72 -72
  13. package/components/{CasinoCollectionsProviders-BeXo3fMU.cjs → CasinoCollectionsProviders-Iwvjux90.cjs} +1 -1
  14. package/components/{CasinoCollectionsProviders-y8DOcY5N.js → CasinoCollectionsProviders-RmY6DCmf.js} +77 -77
  15. package/components/{CasinoCollectionsProviders-DdKrem8d.js → CasinoCollectionsProviders-X_gMs4dQ.js} +64 -64
  16. package/components/{CasinoFavoritesSection-1S2Lz3SW.js → CasinoFavoritesSection-D1C6HI9v.js} +17 -17
  17. package/components/{CasinoFavoritesSection-DQujG-Lp.cjs → CasinoFavoritesSection-Db99Uv7P.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-CnbnFYOu.js → CasinoFavoritesSection-b-j22ATa.js} +17 -17
  19. package/components/{CasinoFilter-Cse_ikkf.js → CasinoFilter-BG-xQ7Z9.js} +244 -243
  20. package/components/{CasinoFilter-BpDGbk8K.js → CasinoFilter-Czto4aq6.js} +228 -229
  21. package/components/CasinoFilter-DSxqwRvu.cjs +1 -0
  22. package/components/CasinoGameThumbnail-0cRYBNZ8.cjs +47 -0
  23. package/components/{CasinoGameThumbnail-IDaFl1Xu.js → CasinoGameThumbnail-CeT997Kx.js} +762 -778
  24. package/components/{CasinoGameThumbnail-w3iktaO3.js → CasinoGameThumbnail-MrOCBFNA.js} +1269 -1253
  25. package/components/{CasinoGamesCategorySection-7SaTNcrq.cjs → CasinoGamesCategorySection-C8xeG4sY.cjs} +1 -1
  26. package/components/{CasinoGamesCategorySection-DBwkLn0s.js → CasinoGamesCategorySection-CxiyhVqf.js} +246 -246
  27. package/components/{CasinoGamesCategorySection-CXpdNAsb.js → CasinoGamesCategorySection-Dk6YpheO.js} +249 -249
  28. package/components/{CasinoJackpotBanner-BdsQyC0k.js → CasinoJackpotBanner-CUP2An9A.js} +113 -113
  29. package/components/{CasinoJackpotBanner-Drezj591.cjs → CasinoJackpotBanner-CpGio5N4.cjs} +1 -1
  30. package/components/{CasinoJackpotBanner-C-kNRiwQ.js → CasinoJackpotBanner-g0X8UAFW.js} +119 -119
  31. package/components/{CasinoLastPlayedSection-BTbqG2PY.js → CasinoLastPlayedSection-B668qxot.js} +37 -37
  32. package/components/{CasinoLastPlayedSection-B2mAuumq.js → CasinoLastPlayedSection-D_0OBhSj.js} +37 -37
  33. package/components/{CasinoLastPlayedSection-B1jO-mOv.cjs → CasinoLastPlayedSection-lO1pohBq.cjs} +1 -1
  34. package/components/{CasinoLobby-B9wH9ODi.js → CasinoLobby-BaQGWp9s.js} +56 -56
  35. package/components/{CasinoLobby-Pkj77WT7.js → CasinoLobby-DwdNm6xo.js} +57 -57
  36. package/components/{CasinoLobby-DZJ49SFm.cjs → CasinoLobby-lkQTAmN7.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-BxyvkBdO.cjs → CasinoMostPlayedSection-87nEdbm3.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSection-B6pGhulE.js → CasinoMostPlayedSection-C5gy3zyh.js} +46 -46
  39. package/components/{CasinoMostPlayedSection-BVOuvFg1.js → CasinoMostPlayedSection-CGXfghDB.js} +46 -46
  40. package/components/{CasinoMyGames-DgK12Kjb.cjs → CasinoMyGames-B4eUiwD2.cjs} +1 -1
  41. package/components/{CasinoMyGames-j_rSFYAE.js → CasinoMyGames-BC98Tqse.js} +39 -39
  42. package/components/{CasinoMyGames-CHFQjUsl.js → CasinoMyGames-BkWFi0SD.js} +42 -42
  43. package/components/{CasinoPage-DQ1ECUsI.cjs → CasinoPage-CJXFGWAG.cjs} +1 -1
  44. package/components/{CasinoPage-DGeCLgVG.js → CasinoPage-DCj9ufQS.js} +116 -116
  45. package/components/{CasinoPage-CRbyYPXJ.js → CasinoPage-mW7N_X4p.js} +103 -103
  46. package/components/{CasinoRandomGame-JXGClzjo.js → CasinoRandomGame-BOlMftfW.js} +56 -56
  47. package/components/{CasinoRandomGame-CVuu5ndq.js → CasinoRandomGame-BPoQwGvz.js} +57 -57
  48. package/components/{CasinoRandomGame-D5chJotN.cjs → CasinoRandomGame-CP2us9wQ.cjs} +1 -1
  49. package/components/{CasinoSearch-BI_uT3Jw.js → CasinoSearch-CxY1btEF.js} +95 -95
  50. package/components/{CasinoSearch-CjrWH3EK.js → CasinoSearch-DYeI3pnX.js} +98 -98
  51. package/components/{CasinoSearch-DZearjM7.cjs → CasinoSearch-_PkKs4Jp.cjs} +1 -1
  52. package/components/{CasinoSlider-DuMX9oX9.cjs → CasinoSlider-CKrkEFp2.cjs} +1 -1
  53. package/components/{CasinoSlider-CfPkPPxf.js → CasinoSlider-D5pUgU6y.js} +68 -68
  54. package/components/{CasinoSlider-CkpttSpp.js → CasinoSlider-mFk7hXGi.js} +95 -95
  55. package/components/{CasinoSort-CCMi6HF8.js → CasinoSort-Bu7GAVyk.js} +102 -103
  56. package/components/{CasinoSort-CqxfyCdK.js → CasinoSort-CR3_Z1HP.js} +112 -111
  57. package/components/{CasinoSort-CC01PnsE.cjs → CasinoSort-DnffDijG.cjs} +1 -1
  58. package/components/{CasinoWinners-Ds56SsB_.js → CasinoWinners-BHsWULT4.js} +152 -152
  59. package/components/{CasinoWinners-1QrrbKud.js → CasinoWinners-BTigQx6l.js} +145 -145
  60. package/components/{CasinoWinners-HiCSUdE4.cjs → CasinoWinners-CgGvis-Q.cjs} +1 -1
  61. package/components/{GeneralAnimationLoading-CqQ45vZj.js → GeneralAnimationLoading-BYX0Qvf2.js} +16 -16
  62. package/components/{GeneralAnimationLoading-TrHgy3kz.cjs → GeneralAnimationLoading-CB353I6v.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-OUo50Aas.js → GeneralAnimationLoading-DkDspmaZ.js} +16 -16
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-Dkk0BTsb.cjs → casino-play-random-game-C3hhQjhn.cjs} +2 -2
  69. package/stencil/{casino-play-random-game-C0BJMsSD.js → casino-play-random-game-qroM0e64.js} +2 -2
  70. package/stencil/{casino-play-random-game-BLl4u8GF.js → casino-play-random-game-uBjWXXLi.js} +2 -2
  71. package/stencil/index-97d17652-BD-QREJe.js +558 -0
  72. package/stencil/index-97d17652-DJqGt8q2.js +542 -0
  73. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  74. package/stencil/index-ab3202d6-CSUArOSv.js +559 -0
  75. package/stencil/index-ab3202d6-CoRS04SH.js +575 -0
  76. package/stencil/index-ab3202d6-DitihRZv.cjs +1 -0
  77. package/stencil/index-b2193545-3zPNeE9v.cjs +1 -0
  78. package/stencil/index-b2193545-D_cUvAA-.js +519 -0
  79. package/stencil/index-b2193545-kN0z2MLt.js +503 -0
  80. package/stencil/{ui-image-BGKMDvh6.js → ui-image-BAqS-hS6.js} +1 -1
  81. package/stencil/{ui-image-D8iqM9v9.cjs → ui-image-CH2Jdp7k.cjs} +1 -1
  82. package/stencil/{ui-image-2AZlMiHS.js → ui-image-I_uR7pAI.js} +1 -1
  83. package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  84. package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  85. package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  86. package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  87. package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  88. package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-_K8Pt3w9.js} +2 -2
  89. package/stencil/{ui-skeleton-DcmFcn7k.cjs → ui-skeleton-5mt1L8pA.cjs} +1 -1
  90. package/stencil/{ui-skeleton-CSMUbPcJ.js → ui-skeleton-C0GZ2ncD.js} +2 -2
  91. package/stencil/{ui-skeleton-CiszU04_.js → ui-skeleton-CYeeBz0Q.js} +2 -2
  92. package/stencil/{ui-skeleton-ae35c6f2-DDHvWmVB.js → ui-skeleton-ae35c6f2-BSwiS43c.js} +1 -1
  93. package/stencil/{ui-skeleton-ae35c6f2-9hZ7WFQc.js → ui-skeleton-ae35c6f2-BmKf7IvD.js} +1 -1
  94. package/stencil/{ui-skeleton-ae35c6f2-D1Tb0H8D.cjs → ui-skeleton-ae35c6f2-CQ3pH6qH.cjs} +1 -1
  95. package/components/CasinoCalendar-AXQVreyU.cjs +0 -19
  96. package/components/CasinoCategoriesSlider-DwkYkIgL.cjs +0 -1
  97. package/components/CasinoFilter-_UA3RCLF.cjs +0 -1
  98. package/components/CasinoGameThumbnail-BMHMTqRz.cjs +0 -47
  99. package/stencil/index-97d17652-B0NIExnR.js +0 -558
  100. package/stencil/index-97d17652-D6HPqRtr.js +0 -542
  101. package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
  102. package/stencil/index-ab3202d6-CZKlrnZf.js +0 -559
  103. package/stencil/index-ab3202d6-ClDKsCJv.js +0 -575
  104. package/stencil/index-ab3202d6-DFbwTHas.cjs +0 -1
  105. package/stencil/index-b2193545-DVT8jgVo.cjs +0 -1
  106. package/stencil/index-b2193545-Dxw-xjac.js +0 -503
  107. package/stencil/index-b2193545-TbRClz6K.js +0 -519
@@ -1 +1 @@
1
- "use strict";var Z=(r,t,n)=>new Promise((i,l)=>{var a=c=>{try{u(n.next(c))}catch(g){l(g)}},o=c=>{try{u(n.throw(c))}catch(g){l(g)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(a,o);u((n=n.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-AXQVreyU.cjs");function le(r,t){e.addMessages(r,t)}function je(r){e.$locale.set(r)}const ae={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}};if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-TrHgy3kz.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Le(r){e.append_styles(r,"svelte-d1flp7","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function oe(r,t,n){const i=r.slice();return i[71]=t[n],i}function ce(r,t,n){const i=r.slice();return i[74]=t[n],i}function Oe(r){let t,n,i,l,a,o,u,c,g,j,C,b,p,z,S,B,M,N,E,v=e.ensure_array_like(r[16]),f=[];for(let d=0;d<v.length;d+=1)f[d]=fe(ce(r,v,d));function L(d,k){return d[17]?Ie:Pe}let F=L(r),_=F(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let d=0;d<f.length;d+=1)f[d].c();l=e.space(),a=e.element("div"),o=e.element("button"),u=e.svg_element("svg"),c=e.svg_element("path"),j=e.space(),C=e.element("button"),b=e.svg_element("svg"),p=e.svg_element("path"),B=e.space(),_.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(c,"style",g=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(c,"id","Path_36"),e.attr(c,"data-name","Path 36"),e.attr(c,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(c,"transform","translate(14.656 0) rotate(90)"),e.attr(c,"fill","#fff"),e.attr(u,"id","Component_46_2"),e.attr(u,"data-name","Component 46 – 2"),e.attr(u,"xmlns","http://www.w3.org/2000/svg"),e.attr(u,"width","15"),e.attr(u,"height","15"),e.attr(u,"viewBox","0 0 16 24.656"),e.attr(o,"class","SliderButton"),e.attr(p,"style",z=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(p,"id","Path_36"),e.attr(p,"data-name","Path 36"),e.attr(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(p,"transform","translate(0 24.656) rotate(-90)"),e.attr(p,"fill","#fff"),e.attr(b,"id","Component_46_2"),e.attr(b,"data-name","Component 46 – 2"),e.attr(b,"xmlns","http://www.w3.org/2000/svg"),e.attr(b,"width","15"),e.attr(b,"height","15"),e.attr(b,"viewBox","0 0 16 24.656"),e.attr(C,"class","SliderButton"),e.attr(a,"class",S="ButtonsContainer "+(r[4]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",M="CasinoWinners "+(r[12]?"Mobile":""))},m(d,k){e.insert(d,t,k),e.append(t,n),e.append(n,i);for(let m=0;m<f.length;m+=1)f[m]&&f[m].m(i,null);e.append(n,l),e.append(n,a),e.append(a,o),e.append(o,u),e.append(u,c),e.append(a,j),e.append(a,C),e.append(C,b),e.append(b,p),e.append(t,B),_.m(t,null),N||(E=[e.listen(o,"click",r[46]),e.listen(C,"click",r[47])],N=!0)},p(d,k){if(k[0]&852483){v=e.ensure_array_like(d[16]);let m;for(m=0;m<v.length;m+=1){const h=ce(d,v,m);f[m]?f[m].p(h,k):(f[m]=fe(h),f[m].c(),f[m].m(i,null))}for(;m<f.length;m+=1)f[m].d(1);f.length=v.length}k[0]&3072&&g!==(g=d[11]>=d[10].length?"fill:#F6F6F62E":"")&&e.attr(c,"style",g),k[0]&3072&&z!==(z=d[11]>=d[10].length?"fill:#F6F6F62E":"")&&e.attr(p,"style",z),k[0]&16&&S!==(S="ButtonsContainer "+(d[4]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",S),F===(F=L(d))&&_?_.p(d,k):(_.d(1),_=F(d),_&&(_.c(),_.m(t,null))),k[0]&4096&&M!==(M="CasinoWinners "+(d[12]?"Mobile":""))&&e.attr(t,"class",M)},d(d){d&&e.detach(t),e.destroy_each(f,d),_.d(),N=!1,e.run_all(E)}}}function Re(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3])},d(n){n&&e.detach(t)}}}function ue(r){let t,n=r[0]==="true"&&de(r);return{c(){n&&n.c(),t=e.empty()},m(i,l){n&&n.m(i,l),e.insert(i,t,l)},p(i,l){i[0]==="true"?n?n.p(i,l):(n=de(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&e.detach(t),n&&n.d(i)}}}function de(r){let t,n=r[18]("recentWinners")+"",i,l,a,o;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[9]=="recent"?"Active":""))},m(u,c){e.insert(u,t,c),e.append(t,i),a||(o=e.listen(t,"click",r[44]),a=!0)},p(u,c){c[0]&262144&&n!==(n=u[18]("recentWinners")+"")&&e.set_data(i,n),c[0]&512&&l!==(l="WinnersButton "+(u[9]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),a=!1,o()}}}function me(r){let t,n=r[18]("topWinners")+"",i,l,a,o,u;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[9]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(c,g){e.insert(c,t,g),e.append(t,i),e.append(t,l),o||(u=e.listen(t,"click",r[45]),o=!0)},p(c,g){g[0]&262144&&n!==(n=c[18]("topWinners")+"")&&e.set_data(i,n),g[0]&514&&a!==(a="WinnersButton "+(c[9]=="top"?"Active":"")+" "+(c[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(c){c&&e.detach(t),o=!1,u()}}}function fe(r){let t,n,i=r[74]=="recent"&&ue(r),l=r[74]=="top"&&me(r);return{c(){i&&i.c(),t=e.space(),l&&l.c(),n=e.empty()},m(a,o){i&&i.m(a,o),e.insert(a,t,o),l&&l.m(a,o),e.insert(a,n,o)},p(a,o){a[74]=="recent"?i?i.p(a,o):(i=ue(a),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),a[74]=="top"?l?l.p(a,o):(l=me(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(a){a&&(e.detach(t),e.detach(n)),i&&i.d(a),l&&l.d(a)}}}function Pe(r){let t;function n(a,o){return a[10].length!==0?Ue:Ge}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(a,o){e.insert(a,t,o),l.m(t,null),r[50](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},d(a){a&&e.detach(t),l.d(),r[50](null)}}}function Ie(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3]),e.set_custom_element_data(t,"mbsource",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3]),i[0]&32&&e.set_custom_element_data(t,"mbsource",n[5])},d(n){n&&e.detach(t)}}}function Ge(r){let t,n=r[18]("noWinnersMessage")+"",i;return{c(){t=e.element("p"),i=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,a){e.insert(l,t,a),e.append(t,i)},p(l,a){a[0]&262144&&n!==(n=l[18]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function Ue(r){let t,n=e.ensure_array_like(r[10]),i=[];for(let l=0;l<n.length;l+=1)i[l]=ge(oe(r,n,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(l,a);e.insert(l,t,a)},p(l,a){if(a[0]&20219136){n=e.ensure_array_like(l[10]);let o;for(o=0;o<n.length;o+=1){const u=oe(l,n,o);i[o]?i[o].p(u,a):(i[o]=ge(u),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function ge(r){let t,n,i,l,a,o,u,c=r[71].gameName+"",g,j,C,b=r[20](r[71].username)+"",p,z,S,B=r[18]("won")+"",M,N,E,v=r[24](r[71].specifiedCurrencyAmount)+"",f,L,F,_,d;function k(){return r[48](r[71])}return{c(){var m,h,T,x;t=e.element("div"),n=e.element("div"),i=e.element("img"),o=e.space(),u=e.element("p"),g=e.text(c),j=e.space(),C=e.element("p"),p=e.text(b),z=e.space(),S=e.element("p"),M=e.text(B),N=e.space(),E=e.element("p"),f=e.text(v),L=e.space(),e.src_url_equal(i.src,l=(h=(m=r[71])==null?void 0:m.gameModel)==null?void 0:h.thumbnail)||e.attr(i,"src",l),e.attr(i,"alt",a=(x=(T=r[71])==null?void 0:T.gameModel)==null?void 0:x.thumbnail),e.attr(i,"class","WinnersImage"),e.attr(S,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",F="CardWrapper "+(r[15]?"CardWrapperAnimation":""))},m(m,h){e.insert(m,t,h),e.append(t,n),e.append(n,i),e.append(n,o),e.append(n,u),e.append(u,g),e.append(n,j),e.append(n,C),e.append(C,p),e.append(n,z),e.append(n,S),e.append(S,M),e.append(n,N),e.append(n,E),e.append(E,f),r[49](n),e.append(t,L),_||(d=e.listen(i,"click",k),_=!0)},p(m,h){var T,x,y,w;r=m,h[0]&1024&&!e.src_url_equal(i.src,l=(x=(T=r[71])==null?void 0:T.gameModel)==null?void 0:x.thumbnail)&&e.attr(i,"src",l),h[0]&1024&&a!==(a=(w=(y=r[71])==null?void 0:y.gameModel)==null?void 0:w.thumbnail)&&e.attr(i,"alt",a),h[0]&1024&&c!==(c=r[71].gameName+"")&&e.set_data(g,c),h[0]&1024&&b!==(b=r[20](r[71].username)+"")&&e.set_data(p,b),h[0]&262144&&B!==(B=r[18]("won")+"")&&e.set_data(M,B),h[0]&1024&&v!==(v=r[24](r[71].specifiedCurrencyAmount)+"")&&e.set_data(f,v),h[0]&32768&&F!==(F="CardWrapper "+(r[15]?"CardWrapperAnimation":""))&&e.attr(t,"class",F)},d(m){m&&e.detach(t),r[49](null),_=!1,d()}}}function De(r){let t;function n(a,o){return a[13]||a[14]?Re:Oe}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c()},m(a,o){e.insert(a,t,o),l.m(t,null),r[51](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),l.d(),r[51](null)}}}function qe(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(18,i=s));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:u="Today"}=t,{periodtop:c="Last7Days"}=t,{numberusersrecent:g="20"}=t,{numberuserstop:j="20"}=t,{amountlimit:C="1"}=t,{vendorCategory:b="All"}=t,{lang:p="en"}=t,{isrecentavailable:z="true"}=t,{istopavailable:S="true"}=t,{defaultcurrency:B=""}=t,{usercurrency:M=""}=t,{clientstyling:N=""}=t,{clientstylingurl:E=""}=t,{enableautoscroll:v=""}=t,{tabsorder:f=""}=t,{translationurl:L=""}=t,{winnersdatasources:F=""}=t,{hascustomstyling:_="false"}=t,{mbsource:d}=t,{currencylocale:k=""}=t,m,h,T,x=[],y=0,w=0,pe=window.navigator.userAgent,J,R,G,A,U=!0,X=!1,Y=!1,Q,I,D,P,$=[],q=!1;const be=()=>{let s=new URL(L);fetch(s.href).then(W=>W.json()).then(W=>{Object.keys(W).forEach(O=>{le(O,W[O])})}).catch(W=>{console.log(W)})};Object.keys(ae).forEach(s=>{le(s,ae[s])});const ee=()=>{$=F.split(",").map(function(W){return W.trim()});const s=new URL(`${l}/v1/casino/${T}-winners`);n(17,q=!0),s.searchParams.append("limit",T=="recent"?g:j),s.searchParams.append("specifiedCurrency",P),s.searchParams.append("period",T=="recent"?u:c),s.searchParams.append("language",p),s.searchParams.append("amountLimit",C),s.searchParams.append("vendorCategory",b),$.forEach(W=>{s.searchParams.append("dataSource",W)}),setTimeout(()=>{fetch(s.href).then(W=>W.json()).then(W=>Z(this,null,function*(){n(10,x=[]),n(10,x=W.items.map(O=>O)),n(17,q=!1),yield e.tick(),we(),ne(),v=="true"&&(clearInterval(I),We()),n(13,U=!1),_e()}))},1e3)},_e=()=>{const s=A.getRootNode().host;s.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:s}}))},V=s=>{T!==s&&(n(10,x=[]),n(9,T=s),ee())},ye=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),te=(s,W,O,K)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:W,gameName:O,subVendor:K},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${G||"Not logged in"}`})},ne=(s=0)=>{const W=[...m.children];Q=W.length,W.forEach((O,K)=>{O.style.transform=`translateX(${100*(K-s)}%)`}),setTimeout(()=>{n(15,Y=!0)},10)},We=()=>{y=0,w<Q?I=setInterval(()=>{H()},3e3):clearInterval(I)},re=()=>{ne(y)},we=()=>Z(this,null,function*(){yield e.tick(),requestAnimationFrame(()=>{const s=h?h.offsetWidth:0;m.offsetWidth&&s?n(11,w=Math.round(m.offsetWidth/s)):n(11,w=0)})}),ie=()=>{if(w>=x.length)return;const s=x.length;y===0?y=s-w:y-w<0?y=0:y=y-w,re()},H=()=>{if(w>=x.length)return;const s=x.length;v=="true"&&(y===s-w?y=0:y++),v=="false"&&(y===s-w?y=0:s-w<y+w?y=s-w:y+=w),re()},ve=()=>{je(p)},ke=()=>{n(42,R=!0),G=o},se=()=>{n(43,P=R?M:B)},Ce=s=>k?Intl.NumberFormat(k,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:P}).format(s).replace(/\s/g,""):`${s.toFixed(2)} ${R?M:B}`,Me=()=>{_==="true"&&(!N&&!E&&A&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!N&&E&&n(14,X=!0))},Fe=()=>{n(16,D=f.split(",")),n(9,T=D[0]),se(),n(13,U=!1)};e.onMount(()=>(n(12,J=e.isMobile(pe)),()=>{clearInterval(I)}));const xe=()=>V("recent"),Se=()=>V("top"),Be=()=>ie(),Ne=()=>H(),Ee=s=>te(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function Te(s){e.binding_callbacks[s?"unshift":"push"](()=>{h=s,n(8,h)})}function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{m=s,n(7,m)})}function Ae(s){e.binding_callbacks[s?"unshift":"push"](()=>{A=s,n(6,A)})}return r.$$set=s=>{"endpoint"in s&&n(25,l=s.endpoint),"session"in s&&n(26,a=s.session),"userid"in s&&n(27,o=s.userid),"periodrecent"in s&&n(28,u=s.periodrecent),"periodtop"in s&&n(29,c=s.periodtop),"numberusersrecent"in s&&n(30,g=s.numberusersrecent),"numberuserstop"in s&&n(31,j=s.numberuserstop),"amountlimit"in s&&n(32,C=s.amountlimit),"vendorCategory"in s&&n(33,b=s.vendorCategory),"lang"in s&&n(34,p=s.lang),"isrecentavailable"in s&&n(0,z=s.isrecentavailable),"istopavailable"in s&&n(1,S=s.istopavailable),"defaultcurrency"in s&&n(35,B=s.defaultcurrency),"usercurrency"in s&&n(36,M=s.usercurrency),"clientstyling"in s&&n(2,N=s.clientstyling),"clientstylingurl"in s&&n(3,E=s.clientstylingurl),"enableautoscroll"in s&&n(4,v=s.enableautoscroll),"tabsorder"in s&&n(37,f=s.tabsorder),"translationurl"in s&&n(38,L=s.translationurl),"winnersdatasources"in s&&n(39,F=s.winnersdatasources),"hascustomstyling"in s&&n(40,_=s.hascustomstyling),"mbsource"in s&&n(5,d=s.mbsource),"currencylocale"in s&&n(41,k=s.currencylocale)},r.$$.update=()=>{r.$$.dirty[0]&1879048195|r.$$.dirty[1]&79&&z&&S&&u&&c&&g&&j&&C&&b&&p&&f&&Fe(),r.$$.dirty[0]&67108864&&a&&ke(),r.$$.dirty[1]&2096&&R&&(M||B)&&se(),r.$$.dirty[0]&33554432|r.$$.dirty[1]&4352&&l&&F&&P&&ee(),r.$$.dirty[1]&8&&p&&ve(),r.$$.dirty[1]&128&&L&&be(),r.$$.dirty[1]&512&&_&&Me(),r.$$.dirty[0]&68&&N&&A&&e.setClientStyling(A,N),r.$$.dirty[0]&72&&E&&A&&e.setClientStylingURL(A,E),r.$$.dirty[0]&96&&A&&e.setStreamStyling(A,`${d}.Style`)},[z,S,N,E,v,d,A,m,h,T,x,w,J,U,X,Y,D,q,i,V,ye,te,ie,H,Ce,l,a,o,u,c,g,j,C,b,p,B,M,f,L,F,_,k,R,P,xe,Se,Be,Ne,Ee,Te,ze,Ae]}class he extends e.SvelteComponent{constructor(t){super(),e.init(this,t,qe,De,e.safe_not_equal,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:35,usercurrency:36,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:37,translationurl:38,winnersdatasources:39,hascustomstyling:40,mbsource:5,currencylocale:41},Le,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[34]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[36]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[37]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[38]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[39]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[40]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[5]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get currencylocale(){return this.$$.ctx[41]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(he,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{},currencylocale:{}},[],[],!0);exports.default=he;
1
+ "use strict";var Z=(r,t,n)=>new Promise((i,l)=>{var a=c=>{try{u(n.next(c))}catch(g){l(g)}},o=c=>{try{u(n.throw(c))}catch(g){l(g)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(a,o);u((n=n.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-wYGJExu0.cjs");function ae(r,t){e.addMessages(r,t)}function Le(r){e.$locale.set(r)}const oe={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}};if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-CB353I6v.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Oe(r){e.append_styles(r,"svelte-d1flp7","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function ce(r,t,n){const i=r.slice();return i[71]=t[n],i}function ue(r,t,n){const i=r.slice();return i[74]=t[n],i}function Re(r){let t,n,i,l,a,o,u,c,g,j,C,b,p,z,S,B,M,N,E,v=e.ensure_array_like(r[16]),f=[];for(let d=0;d<v.length;d+=1)f[d]=ge(ue(r,v,d));function L(d,k){return d[17]?Ge:Ie}let F=L(r),_=F(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let d=0;d<f.length;d+=1)f[d].c();l=e.space(),a=e.element("div"),o=e.element("button"),u=e.svg_element("svg"),c=e.svg_element("path"),j=e.space(),C=e.element("button"),b=e.svg_element("svg"),p=e.svg_element("path"),B=e.space(),_.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(c,"style",g=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(c,"id","Path_36"),e.attr(c,"data-name","Path 36"),e.attr(c,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(c,"transform","translate(14.656 0) rotate(90)"),e.attr(c,"fill","#fff"),e.attr(u,"id","Component_46_2"),e.attr(u,"data-name","Component 46 – 2"),e.attr(u,"xmlns","http://www.w3.org/2000/svg"),e.attr(u,"width","15"),e.attr(u,"height","15"),e.attr(u,"viewBox","0 0 16 24.656"),e.attr(o,"class","SliderButton"),e.attr(p,"style",z=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(p,"id","Path_36"),e.attr(p,"data-name","Path 36"),e.attr(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(p,"transform","translate(0 24.656) rotate(-90)"),e.attr(p,"fill","#fff"),e.attr(b,"id","Component_46_2"),e.attr(b,"data-name","Component 46 – 2"),e.attr(b,"xmlns","http://www.w3.org/2000/svg"),e.attr(b,"width","15"),e.attr(b,"height","15"),e.attr(b,"viewBox","0 0 16 24.656"),e.attr(C,"class","SliderButton"),e.attr(a,"class",S="ButtonsContainer "+(r[4]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",M="CasinoWinners "+(r[12]?"Mobile":""))},m(d,k){e.insert(d,t,k),e.append(t,n),e.append(n,i);for(let m=0;m<f.length;m+=1)f[m]&&f[m].m(i,null);e.append(n,l),e.append(n,a),e.append(a,o),e.append(o,u),e.append(u,c),e.append(a,j),e.append(a,C),e.append(C,b),e.append(b,p),e.append(t,B),_.m(t,null),N||(E=[e.listen(o,"click",r[46]),e.listen(C,"click",r[47])],N=!0)},p(d,k){if(k[0]&852483){v=e.ensure_array_like(d[16]);let m;for(m=0;m<v.length;m+=1){const h=ue(d,v,m);f[m]?f[m].p(h,k):(f[m]=ge(h),f[m].c(),f[m].m(i,null))}for(;m<f.length;m+=1)f[m].d(1);f.length=v.length}k[0]&3072&&g!==(g=d[11]>=d[10].length?"fill:#F6F6F62E":"")&&e.attr(c,"style",g),k[0]&3072&&z!==(z=d[11]>=d[10].length?"fill:#F6F6F62E":"")&&e.attr(p,"style",z),k[0]&16&&S!==(S="ButtonsContainer "+(d[4]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",S),F===(F=L(d))&&_?_.p(d,k):(_.d(1),_=F(d),_&&(_.c(),_.m(t,null))),k[0]&4096&&M!==(M="CasinoWinners "+(d[12]?"Mobile":""))&&e.attr(t,"class",M)},d(d){d&&e.detach(t),e.destroy_each(f,d),_.d(),N=!1,e.run_all(E)}}}function Pe(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3])},d(n){n&&e.detach(t)}}}function de(r){let t,n=r[0]==="true"&&me(r);return{c(){n&&n.c(),t=e.empty()},m(i,l){n&&n.m(i,l),e.insert(i,t,l)},p(i,l){i[0]==="true"?n?n.p(i,l):(n=me(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&e.detach(t),n&&n.d(i)}}}function me(r){let t,n=r[18]("recentWinners")+"",i,l,a,o;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[9]=="recent"?"Active":""))},m(u,c){e.insert(u,t,c),e.append(t,i),a||(o=e.listen(t,"click",r[44]),a=!0)},p(u,c){c[0]&262144&&n!==(n=u[18]("recentWinners")+"")&&e.set_data(i,n),c[0]&512&&l!==(l="WinnersButton "+(u[9]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),a=!1,o()}}}function fe(r){let t,n=r[18]("topWinners")+"",i,l,a,o,u;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[9]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(c,g){e.insert(c,t,g),e.append(t,i),e.append(t,l),o||(u=e.listen(t,"click",r[45]),o=!0)},p(c,g){g[0]&262144&&n!==(n=c[18]("topWinners")+"")&&e.set_data(i,n),g[0]&514&&a!==(a="WinnersButton "+(c[9]=="top"?"Active":"")+" "+(c[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(c){c&&e.detach(t),o=!1,u()}}}function ge(r){let t,n,i=r[74]=="recent"&&de(r),l=r[74]=="top"&&fe(r);return{c(){i&&i.c(),t=e.space(),l&&l.c(),n=e.empty()},m(a,o){i&&i.m(a,o),e.insert(a,t,o),l&&l.m(a,o),e.insert(a,n,o)},p(a,o){a[74]=="recent"?i?i.p(a,o):(i=de(a),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),a[74]=="top"?l?l.p(a,o):(l=fe(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(a){a&&(e.detach(t),e.detach(n)),i&&i.d(a),l&&l.d(a)}}}function Ie(r){let t;function n(a,o){return a[10].length!==0?De:Ue}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(a,o){e.insert(a,t,o),l.m(t,null),r[50](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},d(a){a&&e.detach(t),l.d(),r[50](null)}}}function Ge(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3]),e.set_custom_element_data(t,"mbsource",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3]),i[0]&32&&e.set_custom_element_data(t,"mbsource",n[5])},d(n){n&&e.detach(t)}}}function Ue(r){let t,n=r[18]("noWinnersMessage")+"",i;return{c(){t=e.element("p"),i=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,a){e.insert(l,t,a),e.append(t,i)},p(l,a){a[0]&262144&&n!==(n=l[18]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function De(r){let t,n=e.ensure_array_like(r[10]),i=[];for(let l=0;l<n.length;l+=1)i[l]=he(ce(r,n,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,a){for(let o=0;o<i.length;o+=1)i[o]&&i[o].m(l,a);e.insert(l,t,a)},p(l,a){if(a[0]&20219136){n=e.ensure_array_like(l[10]);let o;for(o=0;o<n.length;o+=1){const u=ce(l,n,o);i[o]?i[o].p(u,a):(i[o]=he(u),i[o].c(),i[o].m(t.parentNode,t))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function he(r){let t,n,i,l,a,o,u,c=r[71].gameName+"",g,j,C,b=r[20](r[71].username)+"",p,z,S,B=r[18]("won")+"",M,N,E,v=r[24](r[71].specifiedCurrencyAmount)+"",f,L,F,_,d;function k(){return r[48](r[71])}return{c(){var m,h,T,x;t=e.element("div"),n=e.element("div"),i=e.element("img"),o=e.space(),u=e.element("p"),g=e.text(c),j=e.space(),C=e.element("p"),p=e.text(b),z=e.space(),S=e.element("p"),M=e.text(B),N=e.space(),E=e.element("p"),f=e.text(v),L=e.space(),e.src_url_equal(i.src,l=(h=(m=r[71])==null?void 0:m.gameModel)==null?void 0:h.thumbnail)||e.attr(i,"src",l),e.attr(i,"alt",a=(x=(T=r[71])==null?void 0:T.gameModel)==null?void 0:x.thumbnail),e.attr(i,"class","WinnersImage"),e.attr(S,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",F="CardWrapper "+(r[15]?"CardWrapperAnimation":""))},m(m,h){e.insert(m,t,h),e.append(t,n),e.append(n,i),e.append(n,o),e.append(n,u),e.append(u,g),e.append(n,j),e.append(n,C),e.append(C,p),e.append(n,z),e.append(n,S),e.append(S,M),e.append(n,N),e.append(n,E),e.append(E,f),r[49](n),e.append(t,L),_||(d=e.listen(i,"click",k),_=!0)},p(m,h){var T,x,y,w;r=m,h[0]&1024&&!e.src_url_equal(i.src,l=(x=(T=r[71])==null?void 0:T.gameModel)==null?void 0:x.thumbnail)&&e.attr(i,"src",l),h[0]&1024&&a!==(a=(w=(y=r[71])==null?void 0:y.gameModel)==null?void 0:w.thumbnail)&&e.attr(i,"alt",a),h[0]&1024&&c!==(c=r[71].gameName+"")&&e.set_data(g,c),h[0]&1024&&b!==(b=r[20](r[71].username)+"")&&e.set_data(p,b),h[0]&262144&&B!==(B=r[18]("won")+"")&&e.set_data(M,B),h[0]&1024&&v!==(v=r[24](r[71].specifiedCurrencyAmount)+"")&&e.set_data(f,v),h[0]&32768&&F!==(F="CardWrapper "+(r[15]?"CardWrapperAnimation":""))&&e.attr(t,"class",F)},d(m){m&&e.detach(t),r[49](null),_=!1,d()}}}function qe(r){let t;function n(a,o){return a[13]||a[14]?Pe:Re}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c()},m(a,o){e.insert(a,t,o),l.m(t,null),r[51](t)},p(a,o){i===(i=n(a))&&l?l.p(a,o):(l.d(1),l=i(a),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),l.d(),r[51](null)}}}function Ve(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(18,i=s));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:u="Today"}=t,{periodtop:c="Last7Days"}=t,{numberusersrecent:g="20"}=t,{numberuserstop:j="20"}=t,{amountlimit:C="1"}=t,{vendorCategory:b="All"}=t,{lang:p="en"}=t,{isrecentavailable:z="true"}=t,{istopavailable:S="true"}=t,{defaultcurrency:B=""}=t,{usercurrency:M=""}=t,{clientstyling:N=""}=t,{clientstylingurl:E=""}=t,{enableautoscroll:v=""}=t,{tabsorder:f=""}=t,{translationurl:L=""}=t,{winnersdatasources:F=""}=t,{hascustomstyling:_="false"}=t,{mbsource:d}=t,{currencylocale:k=""}=t,m,h,T,x=[],y=0,w=0,be=window.navigator.userAgent,J,R,G,A,U=!0,X=!1,Y=!1,Q,I,D,P,$=[],q=!1,ee;const _e=()=>{let s=new URL(L);fetch(s.href).then(W=>W.json()).then(W=>{Object.keys(W).forEach(O=>{ae(O,W[O])})}).catch(W=>{console.log(W)})};Object.keys(oe).forEach(s=>{ae(s,oe[s])});const te=()=>{$=F.split(",").map(function(W){return W.trim()});const s=new URL(`${l}/v1/casino/${T}-winners`);n(17,q=!0),s.searchParams.append("limit",T=="recent"?g:j),s.searchParams.append("specifiedCurrency",P),s.searchParams.append("period",T=="recent"?u:c),s.searchParams.append("language",p),s.searchParams.append("amountLimit",C),s.searchParams.append("vendorCategory",b),$.forEach(W=>{s.searchParams.append("dataSource",W)}),setTimeout(()=>{fetch(s.href).then(W=>W.json()).then(W=>Z(this,null,function*(){n(10,x=[]),n(10,x=W.items.map(O=>O)),n(17,q=!1),yield e.tick(),ve(),re(),v=="true"&&(clearInterval(I),we()),n(13,U=!1),ye()}))},1e3)},ye=()=>{const s=A.getRootNode().host;s.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:s}}))},V=s=>{T!==s&&(n(10,x=[]),n(9,T=s),te())},We=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),ne=(s,W,O,K)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:W,gameName:O,subVendor:K},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${G||"Not logged in"}`})},re=(s=0)=>{const W=[...m.children];Q=W.length,W.forEach((O,K)=>{O.style.transform=`translateX(${100*(K-s)}%)`}),setTimeout(()=>{n(15,Y=!0)},10)},we=()=>{y=0,w<Q?I=setInterval(()=>{H()},3e3):clearInterval(I)},ie=()=>{re(y)},ve=()=>Z(this,null,function*(){yield e.tick(),requestAnimationFrame(()=>{const s=h?h.offsetWidth:0;m.offsetWidth&&s?n(11,w=Math.round(m.offsetWidth/s)):n(11,w=0)})}),se=()=>{if(w>=x.length)return;const s=x.length;y===0?y=s-w:y-w<0?y=0:y=y-w,ie()},H=()=>{if(w>=x.length)return;const s=x.length;v=="true"&&(y===s-w?y=0:y++),v=="false"&&(y===s-w?y=0:s-w<y+w?y=s-w:y+=w),ie()},ke=()=>{Le(p)},Ce=()=>{n(42,R=!0),G=o},le=()=>{n(43,P=R?M:B)},Me=s=>k?Intl.NumberFormat(k,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:P}).format(s).replace(/\s/g,""):`${s.toFixed(2)} ${R?M:B}`,Fe=()=>{_==="true"&&(!N&&!E&&A&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!N&&E&&n(14,X=!0))},xe=()=>{n(16,D=f.split(",")),n(9,T=D[0]),le(),n(13,U=!1)};e.onMount(()=>(n(12,J=e.isMobile(be)),()=>{window.emMessageBus&&ee&&ee.unsubscribe(),clearInterval(I)}));const Se=()=>V("recent"),Be=()=>V("top"),Ne=()=>se(),Ee=()=>H(),Te=s=>ne(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{h=s,n(8,h)})}function Ae(s){e.binding_callbacks[s?"unshift":"push"](()=>{m=s,n(7,m)})}function je(s){e.binding_callbacks[s?"unshift":"push"](()=>{A=s,n(6,A)})}return r.$$set=s=>{"endpoint"in s&&n(25,l=s.endpoint),"session"in s&&n(26,a=s.session),"userid"in s&&n(27,o=s.userid),"periodrecent"in s&&n(28,u=s.periodrecent),"periodtop"in s&&n(29,c=s.periodtop),"numberusersrecent"in s&&n(30,g=s.numberusersrecent),"numberuserstop"in s&&n(31,j=s.numberuserstop),"amountlimit"in s&&n(32,C=s.amountlimit),"vendorCategory"in s&&n(33,b=s.vendorCategory),"lang"in s&&n(34,p=s.lang),"isrecentavailable"in s&&n(0,z=s.isrecentavailable),"istopavailable"in s&&n(1,S=s.istopavailable),"defaultcurrency"in s&&n(35,B=s.defaultcurrency),"usercurrency"in s&&n(36,M=s.usercurrency),"clientstyling"in s&&n(2,N=s.clientstyling),"clientstylingurl"in s&&n(3,E=s.clientstylingurl),"enableautoscroll"in s&&n(4,v=s.enableautoscroll),"tabsorder"in s&&n(37,f=s.tabsorder),"translationurl"in s&&n(38,L=s.translationurl),"winnersdatasources"in s&&n(39,F=s.winnersdatasources),"hascustomstyling"in s&&n(40,_=s.hascustomstyling),"mbsource"in s&&n(5,d=s.mbsource),"currencylocale"in s&&n(41,k=s.currencylocale)},r.$$.update=()=>{r.$$.dirty[0]&1879048195|r.$$.dirty[1]&79&&z&&S&&u&&c&&g&&j&&C&&b&&p&&f&&xe(),r.$$.dirty[0]&67108864&&a&&Ce(),r.$$.dirty[1]&2096&&R&&(M||B)&&le(),r.$$.dirty[0]&33554432|r.$$.dirty[1]&4352&&l&&F&&P&&te(),r.$$.dirty[1]&8&&p&&ke(),r.$$.dirty[1]&128&&L&&_e(),r.$$.dirty[1]&512&&_&&Fe(),r.$$.dirty[0]&68&&N&&A&&e.setClientStyling(A,N),r.$$.dirty[0]&72&&E&&A&&e.setClientStylingURL(A,E),r.$$.dirty[0]&96&&A&&e.setStreamStyling(A,`${d}.Style`)},[z,S,N,E,v,d,A,m,h,T,x,w,J,U,X,Y,D,q,i,V,We,ne,se,H,Me,l,a,o,u,c,g,j,C,b,p,B,M,f,L,F,_,k,R,P,Se,Be,Ne,Ee,Te,ze,Ae,je]}class pe extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ve,qe,e.safe_not_equal,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:35,usercurrency:36,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:37,translationurl:38,winnersdatasources:39,hascustomstyling:40,mbsource:5,currencylocale:41},Oe,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[34]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[36]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[37]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[38]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[39]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[40]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[5]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get currencylocale(){return this.$$.ctx[41]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(pe,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{},currencylocale:{}},[],[],!0);exports.default=pe;
@@ -1,30 +1,30 @@
1
- import { S as u, i as f, s as m, f as c, b as g, n as d, d as y, h, j as p, o as b, C as v, H as x, I as _, J as S, K as C } from "./CasinoCalendar-DhXVMCwY.js";
2
- function k(t) {
3
- g(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
1
+ import { S as u, i as f, f as c, c as m, s as g, b as y, e as h, d as p, G as d, j as b, o as v, l as x, m as _, q as S, r as k } from "./CasinoCalendar-BsOWkLVp.js";
2
+ function C(t) {
3
+ y(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
4
4
  }
5
5
  function L(t) {
6
6
  let i;
7
7
  return {
8
8
  c() {
9
- i = p("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
9
+ i = h("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
10
10
  },
11
11
  m(n, l) {
12
- h(n, i, l), t[4](i);
12
+ p(n, i, l), t[4](i);
13
13
  },
14
14
  p: d,
15
15
  i: d,
16
16
  o: d,
17
17
  d(n) {
18
- n && y(i), t[4](null);
18
+ n && b(i), t[4](null);
19
19
  }
20
20
  };
21
21
  }
22
22
  function j(t, i, n) {
23
23
  let { clientstyling: l = "" } = i, { clientstylingurl: a = "" } = i, { mbsource: r } = i, s;
24
- b(() => () => {
24
+ v(() => () => {
25
25
  });
26
26
  function o(e) {
27
- v[e ? "unshift" : "push"](() => {
27
+ S[e ? "unshift" : "push"](() => {
28
28
  s = e, n(0, s);
29
29
  });
30
30
  }
@@ -32,9 +32,9 @@ function j(t, i, n) {
32
32
  "clientstyling" in e && n(1, l = e.clientstyling), "clientstylingurl" in e && n(2, a = e.clientstylingurl), "mbsource" in e && n(3, r = e.mbsource);
33
33
  }, t.$$.update = () => {
34
34
  t.$$.dirty & /*clientstyling, customStylingContainer*/
35
- 3 && l && s && x(s, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
36
- 5 && a && s && _(s, a), t.$$.dirty & /*mbsource, customStylingContainer*/
37
- 9 && r && s && S(s, `${r}.Style`);
35
+ 3 && l && s && k(s, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
36
+ 5 && a && s && x(s, a), t.$$.dirty & /*mbsource, customStylingContainer*/
37
+ 9 && r && s && _(s, `${r}.Style`);
38
38
  }, [
39
39
  s,
40
40
  l,
@@ -43,20 +43,20 @@ function j(t, i, n) {
43
43
  o
44
44
  ];
45
45
  }
46
- class w extends u {
46
+ class q extends u {
47
47
  constructor(i) {
48
48
  super(), f(
49
49
  this,
50
50
  i,
51
51
  j,
52
52
  L,
53
- m,
53
+ g,
54
54
  {
55
55
  clientstyling: 1,
56
56
  clientstylingurl: 2,
57
57
  mbsource: 3
58
58
  },
59
- k
59
+ C
60
60
  );
61
61
  }
62
62
  get clientstyling() {
@@ -78,7 +78,7 @@ class w extends u {
78
78
  this.$$set({ mbsource: i }), c();
79
79
  }
80
80
  }
81
- C(w, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
81
+ m(q, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
82
82
  export {
83
- w as default
83
+ q as default
84
84
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoCalendar-AXQVreyU.cjs");function u(e){i.append_styles(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function f(e){let t;return{c(){t=i.element("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,r){i.insert(l,t,r),e[4](t)},p:i.noop,i:i.noop,o:i.noop,d(l){l&&i.detach(t),e[4](null)}}}function m(e,t,l){let{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{mbsource:d}=t,n;i.onMount(()=>()=>{});function a(s){i.binding_callbacks[s?"unshift":"push"](()=>{n=s,l(0,n)})}return e.$$set=s=>{"clientstyling"in s&&l(1,r=s.clientstyling),"clientstylingurl"in s&&l(2,c=s.clientstylingurl),"mbsource"in s&&l(3,d=s.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&r&&n&&i.setClientStyling(n,r),e.$$.dirty&5&&c&&n&&i.setClientStylingURL(n,c),e.$$.dirty&9&&d&&n&&i.setStreamStyling(n,`${d}.Style`)},[n,r,c,d,a]}class o extends i.SvelteComponent{constructor(t){super(),i.init(this,t,m,f,i.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},u)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(o,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoCalendar-wYGJExu0.cjs");function u(e){i.append_styles(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function f(e){let t;return{c(){t=i.element("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,r){i.insert(l,t,r),e[4](t)},p:i.noop,i:i.noop,o:i.noop,d(l){l&&i.detach(t),e[4](null)}}}function m(e,t,l){let{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{mbsource:d}=t,n;i.onMount(()=>()=>{});function a(s){i.binding_callbacks[s?"unshift":"push"](()=>{n=s,l(0,n)})}return e.$$set=s=>{"clientstyling"in s&&l(1,r=s.clientstyling),"clientstylingurl"in s&&l(2,c=s.clientstylingurl),"mbsource"in s&&l(3,d=s.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&r&&n&&i.setClientStyling(n,r),e.$$.dirty&5&&c&&n&&i.setClientStylingURL(n,c),e.$$.dirty&9&&d&&n&&i.setStreamStyling(n,`${d}.Style`)},[n,r,c,d,a]}class o extends i.SvelteComponent{constructor(t){super(),i.init(this,t,m,f,i.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},u)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(o,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=o;
@@ -1,30 +1,30 @@
1
- import { S as u, i as f, s as m, f as c, b as g, n as d, d as y, h, j as p, o as b, C as v, H as x, I as _, J as S, K as C } from "./CasinoCalendar-DvsJjQR1.js";
2
- function k(t) {
3
- g(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
1
+ import { S as u, i as f, f as c, c as m, s as g, b as y, e as h, d as p, G as d, j as b, o as v, l as x, m as _, q as S, r as k } from "./CasinoCalendar-RmQ6YNrd.js";
2
+ function C(t) {
3
+ y(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
4
4
  }
5
5
  function L(t) {
6
6
  let i;
7
7
  return {
8
8
  c() {
9
- i = p("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
9
+ i = h("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
10
10
  },
11
11
  m(n, l) {
12
- h(n, i, l), t[4](i);
12
+ p(n, i, l), t[4](i);
13
13
  },
14
14
  p: d,
15
15
  i: d,
16
16
  o: d,
17
17
  d(n) {
18
- n && y(i), t[4](null);
18
+ n && b(i), t[4](null);
19
19
  }
20
20
  };
21
21
  }
22
22
  function j(t, i, n) {
23
23
  let { clientstyling: l = "" } = i, { clientstylingurl: a = "" } = i, { mbsource: r } = i, s;
24
- b(() => () => {
24
+ v(() => () => {
25
25
  });
26
26
  function o(e) {
27
- v[e ? "unshift" : "push"](() => {
27
+ S[e ? "unshift" : "push"](() => {
28
28
  s = e, n(0, s);
29
29
  });
30
30
  }
@@ -32,9 +32,9 @@ function j(t, i, n) {
32
32
  "clientstyling" in e && n(1, l = e.clientstyling), "clientstylingurl" in e && n(2, a = e.clientstylingurl), "mbsource" in e && n(3, r = e.mbsource);
33
33
  }, t.$$.update = () => {
34
34
  t.$$.dirty & /*clientstyling, customStylingContainer*/
35
- 3 && l && s && x(s, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
36
- 5 && a && s && _(s, a), t.$$.dirty & /*mbsource, customStylingContainer*/
37
- 9 && r && s && S(s, `${r}.Style`);
35
+ 3 && l && s && k(s, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
36
+ 5 && a && s && x(s, a), t.$$.dirty & /*mbsource, customStylingContainer*/
37
+ 9 && r && s && _(s, `${r}.Style`);
38
38
  }, [
39
39
  s,
40
40
  l,
@@ -43,20 +43,20 @@ function j(t, i, n) {
43
43
  o
44
44
  ];
45
45
  }
46
- class w extends u {
46
+ class q extends u {
47
47
  constructor(i) {
48
48
  super(), f(
49
49
  this,
50
50
  i,
51
51
  j,
52
52
  L,
53
- m,
53
+ g,
54
54
  {
55
55
  clientstyling: 1,
56
56
  clientstylingurl: 2,
57
57
  mbsource: 3
58
58
  },
59
- k
59
+ C
60
60
  );
61
61
  }
62
62
  get clientstyling() {
@@ -78,7 +78,7 @@ class w extends u {
78
78
  this.$$set({ mbsource: i }), c();
79
79
  }
80
80
  }
81
- C(w, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
81
+ m(q, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
82
82
  export {
83
- w as default
83
+ q as default
84
84
  };
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLobby-DZJ49SFm.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLobby-lkQTAmN7.cjs")).then(({default:t})=>{!customElements.get("casino-lobby")&&customElements.define("casino-lobby",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoLobby-Pkj77WT7.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoLobby-DwdNm6xo.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-lobby") && customElements.define("casino-lobby", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoLobby-B9wH9ODi.js";
1
+ import { C as s } from "../components/CasinoLobby-BaQGWp9s.js";
2
2
  function o(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-lobby",
3
- "version": "1.70.0",
3
+ "version": "1.71.0",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-lobby.cjs",
6
6
  "module": "esnext/casino-lobby.js",
@@ -1,4 +1,4 @@
1
- "use strict";var g=(n,e,a)=>new Promise((t,o)=>{var m=r=>{try{c(a.next(r))}catch(h){o(h)}},d=r=>{try{c(a.throw(r))}catch(h){o(h)}},c=r=>r.done?t(r.value):Promise.resolve(r.value).then(m,d);c((a=a.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-ab3202d6-DFbwTHas.cjs"),x=require("./app-globals-0f993ce5-4b17CI_n.cjs");var p=typeof document!="undefined"?document.currentScript:null,b=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:p&&p.tagName.toUpperCase()==="SCRIPT"&&p.src||new URL("stencil/casino-play-random-game-Dkk0BTsb.cjs",document.baseURI).href,e={};return n!==""&&(e.resourcesUrl=new URL(".",n).href),i.promiseResolve(e)};b().then(n=>g(exports,null,function*(){return yield x.globalScripts(),i.bootstrapLazy([["casino-play-random-game",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const G=()=>{let n=window.navigator.userAgent;return n.toLowerCase().match(/android/i)?"Android":n.toLowerCase().match(/iphone/i)?"iPhone":n.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},v="en",l={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rasgele bir oyun oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},u=n=>new Promise(e=>{fetch(n).then(a=>a.json()).then(a=>{Object.keys(a).forEach(t=>{l[t]||(l[t]={});for(let o in a[t])l[t][o]=a[t][o]}),e(!0)})}),s=(n,e)=>{const a=e;return l[a!==void 0&&a in l?a:v][n]};function f(n,e){if(n){const a=document.createElement("style");a.innerHTML=e,n.appendChild(a)}}function w(n,e){const a=new URL(e);fetch(a.href).then(t=>t.text()).then(t=>{const o=document.createElement("style");o.innerHTML=t,n&&n.appendChild(o)}).catch(t=>{console.error("There was an error while trying to load client styling from URL",t)})}function R(n,e,a){if(window.emMessageBus){const t=document.createElement("style");window.emMessageBus.subscribe(e,o=>{t.innerHTML=o,n&&n.appendChild(t)})}}const C=`:host {
1
+ "use strict";var g=(n,e,a)=>new Promise((t,o)=>{var m=r=>{try{c(a.next(r))}catch(h){o(h)}},d=r=>{try{c(a.throw(r))}catch(h){o(h)}},c=r=>r.done?t(r.value):Promise.resolve(r.value).then(m,d);c((a=a.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-ab3202d6-DitihRZv.cjs"),x=require("./app-globals-0f993ce5-4b17CI_n.cjs");var p=typeof document!="undefined"?document.currentScript:null,b=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:p&&p.tagName.toUpperCase()==="SCRIPT"&&p.src||new URL("stencil/casino-play-random-game-C3hhQjhn.cjs",document.baseURI).href,e={};return n!==""&&(e.resourcesUrl=new URL(".",n).href),i.promiseResolve(e)};b().then(n=>g(exports,null,function*(){return yield x.globalScripts(),i.bootstrapLazy([["casino-play-random-game",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const G=()=>{let n=window.navigator.userAgent;return n.toLowerCase().match(/android/i)?"Android":n.toLowerCase().match(/iphone/i)?"iPhone":n.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},v="en",l={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rasgele bir oyun oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},u=n=>new Promise(e=>{fetch(n).then(a=>a.json()).then(a=>{Object.keys(a).forEach(t=>{l[t]||(l[t]={});for(let o in a[t])l[t][o]=a[t][o]}),e(!0)})}),s=(n,e)=>{const a=e;return l[a!==void 0&&a in l?a:v][n]};function f(n,e){if(n){const a=document.createElement("style");a.innerHTML=e,n.appendChild(a)}}function w(n,e){const a=new URL(e);fetch(a.href).then(t=>t.text()).then(t=>{const o=document.createElement("style");o.innerHTML=t,n&&n.appendChild(o)}).catch(t=>{console.error("There was an error while trying to load client styling from URL",t)})}function R(n,e,a){if(window.emMessageBus){const t=document.createElement("style");window.emMessageBus.subscribe(e,o=>{t.innerHTML=o,n&&n.appendChild(t)})}}const C=`:host {
2
2
  display: block;
3
3
  font-family: inherit;
4
4
  -webkit-transform: translate3d(0, 0, 0);
@@ -375,4 +375,4 @@
375
375
  width: 70px;
376
376
  height: 85px;
377
377
  }
378
- }`,S=C,y=class{constructor(n){i.registerInstance(this,n),this.dataLoaded=i.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=e=>{let a=e.length,t;for(;a!==0;)t=Math.floor(Math.random()*a),a--,[e[a],e[t]]=[e[t],e[a]];return e},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(n,e){n&&n!=e&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,u(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(n,e){n!=e&&f(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,e){n!=e&&this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&u(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?R(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&f(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let n=new URL(`${this.endpoint}/v1/casino/games`);return n.searchParams.append("platform",G()),n.searchParams.append("datasource",this.datasource),n.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),n.searchParams.append("expand","vendor"),n.searchParams.append("pagination","offset=0,limit=423"),n.searchParams.append("language",this.language),this.specificCategory&&n.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((e,a)=>{this.isLoading=!0,fetch(n.href).then(t=>t.json()).then(t=>{this.gamesToShow=this.setUpGames(t==null?void 0:t.items),e(!0)}).catch(t=>{console.error(t),this.hasErrors=!0,a(t)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(n){const e=this.shuffle(n).slice(0,40);return e.concat(e)}selectRandomGame(){const n=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(n-3)),this.selectedGameIndex+=n,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&&gtag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&&gtag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const n=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),e=parseInt(n,10),a=this.selectedGameEl.offsetWidth,t=this.gameContainer.offsetWidth,o=(a+e)*this.selectedGameIndex+a/2-t/2,m=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],d={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(m,d),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return i.h("div",{class:"RandomButtonsWrapper"},i.h("div",{class:"RandomGameDetails"},i.h("span",{class:"RandomGameTitle"},this.selectedGame.name),i.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),i.h("div",{class:"RandomButtons"},i.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&i.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}render(){return i.h("div",{key:"07d7315d72cc4a34fd8ce7085efebd9161584570",ref:n=>this.stylingContainer=n},this.hasErrors?i.h("div",{class:"RandomGameError"},i.h("div",{class:"Title"},s("error",this.language))):this.isLoading?i.h("div",{class:"RandomGameError"},i.h("div",{class:"Title"},s("randomGameLoading",this.language))):i.h("div",{class:"RandomGameWrapper"},i.h("div",{class:"GameContainerGradient"}),i.h("div",{class:"GamesContainer",ref:n=>this.gameContainer=n},this.gamesToShow&&this.gamesToShow.map((n,e)=>i.h("div",{class:"RandomGameCard",key:e,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},i.h("div",{class:"RandomGameVendor"},n.vendor.name),i.h("img",{class:"RandomGameImage",src:n.thumbnail,alt:n.name,title:n.name}),this.selectedGame&&this.selectedGameIndex===e&&this.renderGameDetails()))),i.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},i.h("div",{class:"ButtonContainer"},this.iconVisibility&&i.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},i.h("div",{class:"QustionMark"},"?"),i.h("div",{class:"HexagonMarkShadow"}),i.h("div",{class:"HexagonMark"})),!this.animationStarted&&i.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return i.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};y.style=S;exports.casino_play_random_game=y;
378
+ }`,S=C,y=class{constructor(n){i.registerInstance(this,n),this.dataLoaded=i.createEvent(this,"data-loaded",7),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=e=>{let a=e.length,t;for(;a!==0;)t=Math.floor(Math.random()*a),a--,[e[a],e[t]]=[e[t],e[a]];return e},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(n,e){n&&n!=e&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,u(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(n,e){n!=e&&f(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,e){n!=e&&this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&u(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?R(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&f(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let n=new URL(`${this.endpoint}/v1/casino/games`);return n.searchParams.append("platform",G()),n.searchParams.append("datasource",this.datasource),n.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),n.searchParams.append("expand","vendor"),n.searchParams.append("pagination","offset=0,limit=423"),n.searchParams.append("language",this.language),this.specificCategory&&n.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((e,a)=>{this.isLoading=!0,fetch(n.href).then(t=>t.json()).then(t=>{this.gamesToShow=this.setUpGames(t==null?void 0:t.items),e(!0)}).catch(t=>{console.error(t),this.hasErrors=!0,a(t)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(n){const e=this.shuffle(n).slice(0,40);return e.concat(e)}selectRandomGame(){const n=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(n-3)),this.selectedGameIndex+=n,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&&gtag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&&gtag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const n=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),e=parseInt(n,10),a=this.selectedGameEl.offsetWidth,t=this.gameContainer.offsetWidth,o=(a+e)*this.selectedGameIndex+a/2-t/2,m=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],d={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(m,d),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return i.h("div",{class:"RandomButtonsWrapper"},i.h("div",{class:"RandomGameDetails"},i.h("span",{class:"RandomGameTitle"},this.selectedGame.name),i.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),i.h("div",{class:"RandomButtons"},i.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&i.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}render(){return i.h("div",{key:"07d7315d72cc4a34fd8ce7085efebd9161584570",ref:n=>this.stylingContainer=n},this.hasErrors?i.h("div",{class:"RandomGameError"},i.h("div",{class:"Title"},s("error",this.language))):this.isLoading?i.h("div",{class:"RandomGameError"},i.h("div",{class:"Title"},s("randomGameLoading",this.language))):i.h("div",{class:"RandomGameWrapper"},i.h("div",{class:"GameContainerGradient"}),i.h("div",{class:"GamesContainer",ref:n=>this.gameContainer=n},this.gamesToShow&&this.gamesToShow.map((n,e)=>i.h("div",{class:"RandomGameCard",key:e,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},i.h("div",{class:"RandomGameVendor"},n.vendor.name),i.h("img",{class:"RandomGameImage",src:n.thumbnail,alt:n.name,title:n.name}),this.selectedGame&&this.selectedGameIndex===e&&this.renderGameDetails()))),i.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},i.h("div",{class:"ButtonContainer"},this.iconVisibility&&i.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},i.h("div",{class:"QustionMark"},"?"),i.h("div",{class:"HexagonMarkShadow"}),i.h("div",{class:"HexagonMark"})),!this.animationStarted&&i.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return i.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};y.style=S;exports.casino_play_random_game=y;
@@ -14,7 +14,7 @@ var p = (n, e, a) => new Promise((t, o) => {
14
14
  }, c = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(m, d);
15
15
  c((a = a.apply(n, e)).next());
16
16
  });
17
- import { b as w, p as y, r as x, c as b, h as i, g as G } from "./index-ab3202d6-ClDKsCJv.js";
17
+ import { b as w, p as y, r as x, c as b, h as i, g as G } from "./index-ab3202d6-CoRS04SH.js";
18
18
  import { g as v } from "./app-globals-0f993ce5-DfNOCk8l.js";
19
19
  var R = () => {
20
20
  const n = import.meta.url, e = {};
@@ -483,7 +483,7 @@ const F = `:host {
483
483
  }
484
484
  }`, L = F, I = class {
485
485
  constructor(n) {
486
- x(this, n), this.dataLoaded = b(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (e) => {
486
+ x(this, n), this.dataLoaded = b(this, "data-loaded", 7), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (e) => {
487
487
  let a = e.length, t;
488
488
  for (; a !== 0; )
489
489
  t = Math.floor(Math.random() * a), a--, [e[a], e[t]] = [e[t], e[a]];
@@ -1,4 +1,4 @@
1
- import { b as p, p as g, r as u, c as f, h as i, g as w } from "./index-ab3202d6-CZKlrnZf.js";
1
+ import { b as p, p as g, r as u, c as f, h as i, g as w } from "./index-ab3202d6-CSUArOSv.js";
2
2
  import { g as y } from "./app-globals-0f993ce5-DfNOCk8l.js";
3
3
  var x = () => {
4
4
  const n = import.meta.url, e = {};
@@ -465,7 +465,7 @@ const R = `:host {
465
465
  }
466
466
  }`, C = R, k = class {
467
467
  constructor(n) {
468
- u(this, n), this.dataLoaded = f(this, "data-loaded"), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (e) => {
468
+ u(this, n), this.dataLoaded = f(this, "data-loaded", 7), this.animation = null, this.selectedGameIndex = null, this.selectedGameEl = null, this.iconVisibility = null, this.shuffle = (e) => {
469
469
  let t = e.length, a;
470
470
  for (; t !== 0; )
471
471
  a = Math.floor(Math.random() * t), t--, [e[t], e[a]] = [e[a], e[t]];