@everymatrix/casino-page 1.45.0 → 1.45.2

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 (68) hide show
  1. package/components/{CasinoCalendar-CB1ofynf.js → CasinoCalendar-C_cW3If4.js} +46 -50
  2. package/components/{CasinoCalendar-vHn9JrQC.cjs → CasinoCalendar-nl2iiorT.cjs} +4 -4
  3. package/components/CasinoCalendarDailyDetails-DnM1i-yw.cjs +1 -0
  4. package/components/CasinoCalendarDailyDetails-DuM1JdXu.js +605 -0
  5. package/components/CasinoCalendarDailyItem-Cu1cJO-o.js +220 -0
  6. package/components/CasinoCalendarDailyItem-wSh0TQmw.cjs +1 -0
  7. package/components/CasinoCollectionsProviders-C5cW1Ynt.cjs +1 -0
  8. package/components/CasinoCollectionsProviders-xxbKg_Ci.js +659 -0
  9. package/components/CasinoFavoritesSection-BxsD_mwb.cjs +1 -0
  10. package/components/{CasinoFavoritesSection-hMG9hz9q.js → CasinoFavoritesSection-inNLndzn.js} +8 -8
  11. package/components/CasinoFilter-Bf-aKCs4.js +628 -0
  12. package/components/CasinoFilter-DsfEPxOV.cjs +1 -0
  13. package/components/CasinoGameThumbnail-B2zKPVWX.js +4404 -0
  14. package/components/CasinoGameThumbnail-D4dpi4pE.cjs +47 -0
  15. package/components/CasinoGamesCategorySection-DYWJz3Kr.js +3018 -0
  16. package/components/CasinoGamesCategorySection-eXV9pLYW.cjs +1 -0
  17. package/components/CasinoJackpotBanner-BbZfAtK7.cjs +1 -0
  18. package/components/CasinoJackpotBanner-DG-gRn5m.js +615 -0
  19. package/components/{CasinoLastPlayedSection-B8Zr5k1T.js → CasinoLastPlayedSection-DIHIwpkO.js} +28 -28
  20. package/components/CasinoLastPlayedSection-r5pOc9-L.cjs +1 -0
  21. package/components/{CasinoMostPlayedSection-BQdqLtzZ.js → CasinoMostPlayedSection-Bwta9L31.js} +61 -61
  22. package/components/CasinoMostPlayedSection-jL-AhnSB.cjs +1 -0
  23. package/components/{CasinoMyGames-Bhvr6lKq.js → CasinoMyGames-CHwKmM7d.js} +389 -389
  24. package/components/CasinoMyGames-D9DeNmGU.cjs +1 -0
  25. package/components/CasinoPage-05ZglU1l.cjs +1 -0
  26. package/components/{CasinoPage-CgFhMjEq.js → CasinoPage-BpIKXaav.js} +1178 -1178
  27. package/components/CasinoRandomGame-CfvXKJmb.cjs +2 -0
  28. package/components/CasinoRandomGame-D8i7LRIG.js +641 -0
  29. package/components/CasinoSearch-CNLDoBng.cjs +1 -0
  30. package/components/CasinoSearch-D3L2Udhc.js +1062 -0
  31. package/components/CasinoSort-DkyKZJ6D.js +425 -0
  32. package/components/CasinoSort-DlxCxisZ.cjs +1 -0
  33. package/components/CasinoWinners-BJz7Z50Z.js +884 -0
  34. package/components/CasinoWinners-DAGGAApV.cjs +1 -0
  35. package/components/GeneralAnimationLoading-CSq5Z70E.js +75 -0
  36. package/components/GeneralAnimationLoading-DkcoDbK8.cjs +1 -0
  37. package/es2015/casino-page.cjs +1 -1
  38. package/es2015/casino-page.js +1 -1
  39. package/package.json +2 -2
  40. package/components/CasinoCalendarDailyDetails-B1hAQY8H.cjs +0 -1
  41. package/components/CasinoCalendarDailyDetails-bj1Bej4W.js +0 -605
  42. package/components/CasinoCalendarDailyItem-B66zpREe.cjs +0 -1
  43. package/components/CasinoCalendarDailyItem-CHLhiVnz.js +0 -220
  44. package/components/CasinoCollectionsProviders-CJjZBVM5.cjs +0 -1
  45. package/components/CasinoCollectionsProviders-yK9CI4Xr.js +0 -659
  46. package/components/CasinoFavoritesSection-CkUOZVVp.cjs +0 -1
  47. package/components/CasinoFilter-C3yO3cL7.cjs +0 -1
  48. package/components/CasinoFilter-D3NwcpvH.js +0 -628
  49. package/components/CasinoGameThumbnail-Cw3-sXvH.cjs +0 -47
  50. package/components/CasinoGameThumbnail-Dg-sThkk.js +0 -4404
  51. package/components/CasinoGamesCategorySection-C-1o8si6.cjs +0 -1
  52. package/components/CasinoGamesCategorySection-DNVY80Ko.js +0 -3022
  53. package/components/CasinoJackpotBanner-D1M-XhZn.cjs +0 -1
  54. package/components/CasinoJackpotBanner-DJ3Owq6H.js +0 -619
  55. package/components/CasinoLastPlayedSection-BLK2LH8q.cjs +0 -1
  56. package/components/CasinoMostPlayedSection-BkYdv4cH.cjs +0 -1
  57. package/components/CasinoMyGames-FFhdK5FP.cjs +0 -1
  58. package/components/CasinoPage-Iz_NYCf0.cjs +0 -1
  59. package/components/CasinoRandomGame-BFI4lApK.js +0 -641
  60. package/components/CasinoRandomGame-C65-z1c0.cjs +0 -2
  61. package/components/CasinoSearch-B_mZUsPg.cjs +0 -1
  62. package/components/CasinoSearch-DBC_u_8Q.js +0 -1066
  63. package/components/CasinoSort-DxFN7PGX.cjs +0 -1
  64. package/components/CasinoSort-aNrhiItx.js +0 -425
  65. package/components/CasinoWinners-DrzapDfQ.cjs +0 -1
  66. package/components/CasinoWinners-DuFK11WC.js +0 -884
  67. package/components/GeneralAnimationLoading-BCO7AGpP.js +0 -75
  68. package/components/GeneralAnimationLoading-ikaVRvKa.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-nl2iiorT.cjs");function se(r,t){e.addMessages(r,t)}function Le(r){e.$locale.set(r)}const le={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"}};if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-DkcoDbK8.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function je(r){e.append_styles(r,"svelte-14orrs9","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-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(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));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}.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(--emfe-w-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(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));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 ae(r,t,n){const s=r.slice();return s[70]=t[n],s}function oe(r,t,n){const s=r.slice();return s[73]=t[n],s}function ze(r){let t,n,s,l,a,o,u,d,w,E,k,y,b,A,F,L,S,B,x,v=e.ensure_array_like(r[17]),m=[];for(let c=0;c<v.length;c+=1)m[c]=de(oe(r,v,c));function O(c,g){return c[18]?Ne:Oe}let T=O(r),_=T(r);return{c(){t=e.element("div"),n=e.element("div"),s=e.element("div");for(let c=0;c<m.length;c+=1)m[c].c();l=e.space(),a=e.element("div"),o=e.element("button"),u=e.svg_element("svg"),d=e.svg_element("path"),E=e.space(),k=e.element("button"),y=e.svg_element("svg"),b=e.svg_element("path"),L=e.space(),_.c(),e.attr(s,"class","WinnerButtonsContainer"),e.attr(d,"style",w=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(d,"id","Path_36"),e.attr(d,"data-name","Path 36"),e.attr(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(d,"transform","translate(14.656 0) rotate(90)"),e.attr(d,"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(b,"style",A=r[12]>=r[11].length?"fill:#F6F6F62E":""),e.attr(b,"id","Path_36"),e.attr(b,"data-name","Path 36"),e.attr(b,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(b,"transform","translate(0 24.656) rotate(-90)"),e.attr(b,"fill","#fff"),e.attr(y,"id","Component_46_2"),e.attr(y,"data-name","Component 46 – 2"),e.attr(y,"xmlns","http://www.w3.org/2000/svg"),e.attr(y,"width","15"),e.attr(y,"height","15"),e.attr(y,"viewBox","0 0 16 24.656"),e.attr(k,"class","SliderButton"),e.attr(a,"class",F="ButtonsContainer "+(r[6]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",S="CasinoWinners "+(r[13]?"Mobile":""))},m(c,g){e.insert(c,t,g),e.append(t,n),e.append(n,s);for(let f=0;f<m.length;f+=1)m[f]&&m[f].m(s,null);e.append(n,l),e.append(n,a),e.append(a,o),e.append(o,u),e.append(u,d),e.append(a,E),e.append(a,k),e.append(k,y),e.append(y,b),e.append(t,L),_.m(t,null),B||(x=[e.listen(o,"click",r[43]),e.listen(k,"click",r[44])],B=!0)},p(c,g){if(g[0]&3277827){v=e.ensure_array_like(c[17]);let f;for(f=0;f<v.length;f+=1){const p=oe(c,v,f);m[f]?m[f].p(p,g):(m[f]=de(p),m[f].c(),m[f].m(s,null))}for(;f<m.length;f+=1)m[f].d(1);m.length=v.length}g[0]&6144&&w!==(w=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(d,"style",w),g[0]&6144&&A!==(A=c[12]>=c[11].length?"fill:#F6F6F62E":"")&&e.attr(b,"style",A),g[0]&64&&F!==(F="ButtonsContainer "+(c[6]=="true"?"ButtonsContainerNone":""))&&e.attr(a,"class",F),T===(T=O(c))&&_?_.p(c,g):(_.d(1),_=T(c),_&&(_.c(),_.m(t,null))),g[0]&8192&&S!==(S="CasinoWinners "+(c[13]?"Mobile":""))&&e.attr(t,"class",S)},d(c){c&&e.detach(t),e.destroy_each(m,c),_.d(),B=!1,e.run_all(x)}}}function Ee(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),s[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function ce(r){let t,n=r[20]("recentWinners")+"",s,l,a,o;return{c(){t=e.element("button"),s=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[10]=="recent"?"Active":"")+" "+(r[0]=="false"?"Off":""))},m(u,d){e.insert(u,t,d),e.append(t,s),a||(o=e.listen(t,"click",r[41]),a=!0)},p(u,d){d[0]&1048576&&n!==(n=u[20]("recentWinners")+"")&&e.set_data(s,n),d[0]&1025&&l!==(l="WinnersButton "+(u[10]=="recent"?"Active":"")+" "+(u[0]=="false"?"Off":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),a=!1,o()}}}function ue(r){let t,n=r[20]("topWinners")+"",s,l,a,o,u;return{c(){t=e.element("button"),s=e.text(n),l=e.space(),e.attr(t,"class",a="WinnersButton "+(r[10]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(d,w){e.insert(d,t,w),e.append(t,s),e.append(t,l),o||(u=e.listen(t,"click",r[42]),o=!0)},p(d,w){w[0]&1048576&&n!==(n=d[20]("topWinners")+"")&&e.set_data(s,n),w[0]&1026&&a!==(a="WinnersButton "+(d[10]=="top"?"Active":"")+" "+(d[1]=="false"?"Off":""))&&e.attr(t,"class",a)},d(d){d&&e.detach(t),o=!1,u()}}}function de(r){let t,n,s=r[73]=="recent"&&ce(r),l=r[73]=="top"&&ue(r);return{c(){s&&s.c(),t=e.space(),l&&l.c(),n=e.empty()},m(a,o){s&&s.m(a,o),e.insert(a,t,o),l&&l.m(a,o),e.insert(a,n,o)},p(a,o){a[73]=="recent"?s?s.p(a,o):(s=ce(a),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),a[73]=="top"?l?l.p(a,o):(l=ue(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(a){a&&(e.detach(t),e.detach(n)),s&&s.d(a),l&&l.d(a)}}}function Oe(r){let t,n=e.ensure_array_like(r[11]),s=[];for(let l=0;l<n.length;l+=1)s[l]=fe(ae(r,n,l));return{c(){t=e.element("div");for(let l=0;l<s.length;l+=1)s[l].c();e.attr(t,"class","WinnersSlider")},m(l,a){e.insert(l,t,a);for(let o=0;o<s.length;o+=1)s[o]&&s[o].m(t,null);r[47](t)},p(l,a){if(a[0]&14223500){n=e.ensure_array_like(l[11]);let o;for(o=0;o<n.length;o+=1){const u=ae(l,n,o);s[o]?s[o].p(u,a):(s[o]=fe(u),s[o].c(),s[o].m(t,null))}for(;o<s.length;o+=1)s[o].d(1);s.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(s,l),r[47](null)}}}function Ne(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[4]),e.set_custom_element_data(t,"clientstylingurl",r[5])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&16&&e.set_custom_element_data(t,"clientstyling",n[4]),s[0]&32&&e.set_custom_element_data(t,"clientstylingurl",n[5])},d(n){n&&e.detach(t)}}}function fe(r){let t,n,s,l,a,o,u,d=r[70].gameName+"",w,E,k,y=r[22](r[70].username)+"",b,A,F,L=r[20]("won")+"",S,B,x,v=r[70].specifiedCurrencyAmount.toFixed(2)+"",m,O,T,_=(r[7]?r[3]:r[2])+"",c,g,f,p,C;function q(){return r[45](r[70])}return{c(){var z,W,N,M;t=e.element("div"),n=e.element("div"),s=e.element("img"),o=e.space(),u=e.element("p"),w=e.text(d),E=e.space(),k=e.element("p"),b=e.text(y),A=e.space(),F=e.element("p"),S=e.text(L),B=e.space(),x=e.element("p"),m=e.text(v),O=e.space(),T=e.element("span"),c=e.text(_),g=e.space(),e.src_url_equal(s.src,l=(W=(z=r[70])==null?void 0:z.gameModel)==null?void 0:W.thumbnail)||e.attr(s,"src",l),e.attr(s,"alt",a=(M=(N=r[70])==null?void 0:N.gameModel)==null?void 0:M.thumbnail),e.attr(s,"class","WinnersImage"),e.attr(F,"class","WinnerUsername"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",f="CardWrapper "+(r[16]?"CardWrapperAnimation":""))},m(z,W){e.insert(z,t,W),e.append(t,n),e.append(n,s),e.append(n,o),e.append(n,u),e.append(u,w),e.append(n,E),e.append(n,k),e.append(k,b),e.append(n,A),e.append(n,F),e.append(F,S),e.append(n,B),e.append(n,x),e.append(x,m),e.append(x,O),e.append(x,T),e.append(T,c),e.append(t,g),r[46](t),p||(C=e.listen(s,"click",q),p=!0)},p(z,W){var N,M,P,R;r=z,W[0]&2048&&!e.src_url_equal(s.src,l=(M=(N=r[70])==null?void 0:N.gameModel)==null?void 0:M.thumbnail)&&e.attr(s,"src",l),W[0]&2048&&a!==(a=(R=(P=r[70])==null?void 0:P.gameModel)==null?void 0:R.thumbnail)&&e.attr(s,"alt",a),W[0]&2048&&d!==(d=r[70].gameName+"")&&e.set_data(w,d),W[0]&2048&&y!==(y=r[22](r[70].username)+"")&&e.set_data(b,y),W[0]&1048576&&L!==(L=r[20]("won")+"")&&e.set_data(S,L),W[0]&2048&&v!==(v=r[70].specifiedCurrencyAmount.toFixed(2)+"")&&e.set_data(m,v),W[0]&140&&_!==(_=(r[7]?r[3]:r[2])+"")&&e.set_data(c,_),W[0]&65536&&f!==(f="CardWrapper "+(r[16]?"CardWrapperAnimation":""))&&e.attr(t,"class",f)},d(z){z&&e.detach(t),r[46](null),p=!1,C()}}}function Pe(r){let t;function n(a,o){return a[14]||a[15]?Ee:ze}let s=n(r),l=s(r);return{c(){t=e.element("div"),l.c()},m(a,o){e.insert(a,t,o),l.m(t,null),r[48](t)},p(a,o){s===(s=n(a))&&l?l.p(a,o):(l.d(1),l=s(a),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),l.d(),r[48](null)}}}function Re(r,t,n){let s;e.component_subscribe(r,e.$format,i=>n(20,s=i));let{endpoint:l=""}=t,{session:a=""}=t,{userid:o=""}=t,{periodrecent:u="Today"}=t,{periodtop:d="Last7Days"}=t,{numberusersrecent:w="20"}=t,{numberuserstop:E="20"}=t,{amountlimit:k="1"}=t,{vendorCategory:y="All"}=t,{lang:b="en"}=t,{isrecentavailable:A="true"}=t,{istopavailable:F="true"}=t,{defaultcurrency:L=""}=t,{usercurrency:S=""}=t,{clientstyling:B=""}=t,{clientstylingurl:x=""}=t,{enableautoscroll:v=""}=t,{tabsorder:m=""}=t,{translationurl:O=""}=t,{winnersdatasources:T=""}=t,{hascustomstyling:_="false"}=t,c,g,f=[],p=0,C=0,q=window.navigator.userAgent,z,W,N,M,P=!0,R=!1,X=!1,Y,D,H,G,J=[],V=!1,I,Q=0;const pe=()=>{let i=new URL(O);fetch(i.href).then(h=>h.json()).then(h=>{Object.keys(h).forEach(j=>{se(j,h[j])})}).catch(h=>{console.log(h)})};Object.keys(le).forEach(i=>{se(i,le[i])});const $=()=>{J=T.split(",").map(function(h){return h.trim()});const i=new URL(`${l}/v1/casino/${g}-winners`);n(18,V=!0),i.searchParams.append("limit",g=="recent"?w:E),i.searchParams.append("specifiedCurrency",G),i.searchParams.append("period",g=="recent"?u:d),i.searchParams.append("language",b),i.searchParams.append("amountLimit",k),i.searchParams.append("vendorCategory",y),J.forEach(h=>{i.searchParams.append("dataSource",h)}),setTimeout(()=>{fetch(i.href).then(h=>h.json()).then(h=>{n(11,f=[]),n(11,f=h.items.map(j=>j)),n(18,V=!1),setTimeout(()=>{be(),te(),v=="true"&&(clearInterval(D),ge()),n(14,P=!1)},5)})},1e3)},K=i=>{g!==i&&(n(11,f=[]),n(10,g=i),$())},he=i=>i.slice(0,2)+i.slice(2,-2).replace(/./g,"*")+i.slice(-2),ee=(i,h,j,U)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:i,launchUrl:h,gameName:j,subVendor:U},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${i}`,userId:`${N||"Not logged in"}`})},te=i=>{const h=[...c.children];Y=h.length,h.forEach((j,U)=>{j.style.transform=`translateX(${100*(i?U-i:U)}%)`}),setTimeout(()=>{n(16,X=!0)},10)},ge=()=>{p=0,C<Y?D=setInterval(()=>{Z()},3e3):clearInterval(D)},ne=()=>{te(p)},be=()=>{Q=I.offsetWidth,n(12,C=Math.round(c.offsetWidth/Q))},re=()=>{if(C>=f.length)return;const i=f.length;p===0?p=i-C:p-C<0?p=0:p=p-C,ne()},Z=()=>{if(C>=f.length)return;const i=f.length;v=="true"&&(p===i-C?p=0:p++),v=="false"&&(p===i-C?p=0:i-C<p+C?p=i-C:p+=C),ne()},_e=()=>{Le(b)},ye=()=>{n(7,W=!0),N=o},ie=()=>{n(40,G=W?S:L)},we=()=>{let i=document.createElement("style");i.innerHTML=B,M.appendChild(i)},We=()=>{let i=new URL(x),h=document.createElement("style");fetch(i.href).then(j=>j.text()).then(j=>{h.innerHTML=j,setTimeout(()=>{M.appendChild(h)},1),setTimeout(()=>{},500),n(15,R=!1)})},ve=()=>{_==="true"&&(!B&&!x&&M&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!B&&x&&n(15,R=!0))},Ce=()=>{n(17,H=m.split(",")),n(10,g=H[0]),A=="false"&&n(26,k=""),ie(),n(14,P=!1)};e.onMount(()=>(n(13,z=e.isMobile(q)),()=>{clearInterval(D)}));const ke=()=>K("recent"),xe=()=>K("top"),Me=()=>re(),Fe=()=>Z(),Se=i=>ee(i.gameId,i.gameModel.launchUrl,i.gameModel.name,i.gameModel.subVendor);function Be(i){e.binding_callbacks[i?"unshift":"push"](()=>{I=i,n(19,I)})}function Te(i){e.binding_callbacks[i?"unshift":"push"](()=>{c=i,n(9,c)})}function Ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{M=i,n(8,M)})}return r.$$set=i=>{"endpoint"in i&&n(27,l=i.endpoint),"session"in i&&n(28,a=i.session),"userid"in i&&n(29,o=i.userid),"periodrecent"in i&&n(30,u=i.periodrecent),"periodtop"in i&&n(31,d=i.periodtop),"numberusersrecent"in i&&n(32,w=i.numberusersrecent),"numberuserstop"in i&&n(33,E=i.numberuserstop),"amountlimit"in i&&n(26,k=i.amountlimit),"vendorCategory"in i&&n(34,y=i.vendorCategory),"lang"in i&&n(35,b=i.lang),"isrecentavailable"in i&&n(0,A=i.isrecentavailable),"istopavailable"in i&&n(1,F=i.istopavailable),"defaultcurrency"in i&&n(2,L=i.defaultcurrency),"usercurrency"in i&&n(3,S=i.usercurrency),"clientstyling"in i&&n(4,B=i.clientstyling),"clientstylingurl"in i&&n(5,x=i.clientstylingurl),"enableautoscroll"in i&&n(6,v=i.enableautoscroll),"tabsorder"in i&&n(36,m=i.tabsorder),"translationurl"in i&&n(37,O=i.translationurl),"winnersdatasources"in i&&n(38,T=i.winnersdatasources),"hascustomstyling"in i&&n(39,_=i.hascustomstyling)},r.$$.update=()=>{r.$$.dirty[0]&1140850691|r.$$.dirty[1]&63&&A&&F&&u&&d&&w&&E&&k&&y&&b&&m&&Ce(),r.$$.dirty[0]&268435456&&a&&ye(),r.$$.dirty[0]&140&&W&&(S||L)&&ie(),r.$$.dirty[0]&134217728|r.$$.dirty[1]&640&&l&&T&&G&&$(),r.$$.dirty[1]&16&&b&&_e(),r.$$.dirty[1]&64&&O&&pe(),r.$$.dirty[1]&256&&_&&ve(),r.$$.dirty[0]&272&&B&&M&&we(),r.$$.dirty[0]&288&&x&&M&&We()},[A,F,L,S,B,x,v,W,M,c,g,f,C,z,P,R,X,H,V,I,s,K,he,ee,re,Z,k,l,a,o,u,d,w,E,y,b,m,O,T,_,G,ke,xe,Me,Fe,Se,Be,Te,Ae]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Re,Pe,e.safe_not_equal,{endpoint:27,session:28,userid:29,periodrecent:30,periodtop:31,numberusersrecent:32,numberuserstop:33,amountlimit:26,vendorCategory:34,lang:35,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:36,translationurl:37,winnersdatasources:38,hascustomstyling:39},je,[-1,-1,-1])}get endpoint(){return this.$$.ctx[27]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[28]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[29]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[30]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[31]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[32]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[33]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[26]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[34]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[35]}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[2]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[36]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[37]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[38]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[39]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}}e.create_custom_element(me,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{}},[],[],!0);exports.default=me;
@@ -0,0 +1,75 @@
1
+ import { S as m, i as h, f as o, c as g, s as y, b as v, e as x, d as b, C as r, j as C, m as _ } from "./CasinoCalendar-C_cW3If4.js";
2
+ function L(e) {
3
+ v(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)}}");
4
+ }
5
+ function k(e) {
6
+ let i;
7
+ return {
8
+ c() {
9
+ i = x("div"), i.innerHTML = '<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
10
+ },
11
+ m(n, l) {
12
+ b(n, i, l), e[3](i);
13
+ },
14
+ p: r,
15
+ i: r,
16
+ o: r,
17
+ d(n) {
18
+ n && C(i), e[3](null);
19
+ }
20
+ };
21
+ }
22
+ function S(e, i, n) {
23
+ let { clientstyling: l = "" } = i, { clientstylingurl: a = "" } = i, s;
24
+ const u = () => {
25
+ let t = document.createElement("style");
26
+ t.innerHTML = l, s.appendChild(t);
27
+ }, p = () => {
28
+ let t = new URL(a), c = document.createElement("style");
29
+ fetch(t.href).then((d) => d.text()).then((d) => {
30
+ c.innerHTML = d, setTimeout(
31
+ () => {
32
+ s.appendChild(c);
33
+ },
34
+ 1
35
+ ), setTimeout(
36
+ () => {
37
+ },
38
+ 500
39
+ );
40
+ });
41
+ };
42
+ function f(t) {
43
+ _[t ? "unshift" : "push"](() => {
44
+ s = t, n(0, s);
45
+ });
46
+ }
47
+ return e.$$set = (t) => {
48
+ "clientstyling" in t && n(1, l = t.clientstyling), "clientstylingurl" in t && n(2, a = t.clientstylingurl);
49
+ }, e.$$.update = () => {
50
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
51
+ 3 && l && s && u(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
52
+ 5 && a && s && p();
53
+ }, [s, l, a, f];
54
+ }
55
+ class T extends m {
56
+ constructor(i) {
57
+ super(), h(this, i, S, k, y, { clientstyling: 1, clientstylingurl: 2 }, L);
58
+ }
59
+ get clientstyling() {
60
+ return this.$$.ctx[1];
61
+ }
62
+ set clientstyling(i) {
63
+ this.$$set({ clientstyling: i }), o();
64
+ }
65
+ get clientstylingurl() {
66
+ return this.$$.ctx[2];
67
+ }
68
+ set clientstylingurl(i) {
69
+ this.$$set({ clientstylingurl: i }), o();
70
+ }
71
+ }
72
+ g(T, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
73
+ export {
74
+ T as default
75
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-nl2iiorT.cjs");function h(n){t.append_styles(n,"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 m(n){let i;return{c(){i=t.element("div"),i.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,d){t.insert(l,i,d),n[3](i)},p:t.noop,i:t.noop,o:t.noop,d(l){l&&t.detach(i),n[3](null)}}}function g(n,i,l){let{clientstyling:d=""}=i,{clientstylingurl:r=""}=i,s;const u=()=>{let e=document.createElement("style");e.innerHTML=d,s.appendChild(e)},p=()=>{let e=new URL(r),c=document.createElement("style");fetch(e.href).then(a=>a.text()).then(a=>{c.innerHTML=a,setTimeout(()=>{s.appendChild(c)},1),setTimeout(()=>{},500)})};function f(e){t.binding_callbacks[e?"unshift":"push"](()=>{s=e,l(0,s)})}return n.$$set=e=>{"clientstyling"in e&&l(1,d=e.clientstyling),"clientstylingurl"in e&&l(2,r=e.clientstylingurl)},n.$$.update=()=>{n.$$.dirty&3&&d&&s&&u(),n.$$.dirty&5&&r&&s&&p()},[s,d,r,f]}class o extends t.SvelteComponent{constructor(i){super(),t.init(this,i,g,m,t.safe_not_equal,{clientstyling:1,clientstylingurl:2},h)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t.flush()}}t.create_custom_element(o,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=o;
@@ -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/CasinoPage-Iz_NYCf0.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",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/CasinoPage-05ZglU1l.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoPage-CgFhMjEq.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoPage-BpIKXaav.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-page") && customElements.define("casino-page", t.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-page",
3
- "version": "1.45.0",
3
+ "version": "1.45.2",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-page.cjs",
6
6
  "module": "es2015/casino-page.js",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "./es2015/casino-page.cjs": "./es2015/casino-page.cjs"
13
13
  },
14
- "files": [
14
+ "files": [
15
15
  "es2015/",
16
16
  "components"
17
17
  ],
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-vHn9JrQC.cjs");function O({withLocale:a,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function W(a){e.$locale.set(a)}function G(a){e.append_styles(a,"svelte-1fgc73g",".svelte-1fgc73g.svelte-1fgc73g,.svelte-1fgc73g.svelte-1fgc73g::before,.svelte-1fgc73g.svelte-1fgc73g::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton.svelte-1fgc73g.svelte-1fgc73g{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton.svelte-1fgc73g.svelte-1fgc73g{appearance:none;padding:8px 6px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}.IconDown.svelte-1fgc73g.svelte-1fgc73g{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp.svelte-1fgc73g.svelte-1fgc73g{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground.svelte-1fgc73g.svelte-1fgc73g{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent.svelte-1fgc73g.svelte-1fgc73g{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px;overflow-y:scroll;scrollbar-width:none}.CasinoCalendarDailyDay.svelte-1fgc73g.svelte-1fgc73g{padding:10px 0 30px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle.svelte-1fgc73g.svelte-1fgc73g{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarImage.svelte-1fgc73g.svelte-1fgc73g{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage.svelte-1fgc73g img.svelte-1fgc73g{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription.svelte-1fgc73g.svelte-1fgc73g{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6));overflow-wrap:break-word}.HeaderDailyDetails.svelte-1fgc73g.svelte-1fgc73g{overflow:hidden;width:110%;border-bottom:1px solid var(--emfe-w-casino-color-primary, #D0046C)}.ModalCloseBtn.svelte-1fgc73g.svelte-1fgc73g{position:absolute;top:14px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn.svelte-1fgc73g svg.svelte-1fgc73g{width:32px;height:32px}.ModalCloseBtn.svelte-1fgc73g.svelte-1fgc73g:hover{background:var(--emfe-w-color-gray-300, #58586B)}.DetailsTabsTitles.svelte-1fgc73g.svelte-1fgc73g{display:flex;flex-direction:row}.DetailTabsDescription.svelte-1fgc73g.svelte-1fgc73g{margin-top:15px}.CasinoCalendarTabs.svelte-1fgc73g.svelte-1fgc73g{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage.svelte-1fgc73g.svelte-1fgc73g{border-radius:5px}.NotVisible.svelte-1fgc73g.svelte-1fgc73g{display:none}.Header.svelte-1fgc73g.svelte-1fgc73g{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton.svelte-1fgc73g.svelte-1fgc73g{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab.svelte-1fgc73g.svelte-1fgc73g{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile.svelte-1fgc73g.svelte-1fgc73g{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}")}function H(a,t,l){const n=a.slice();return n[28]=t[l],n[29]=t,n[30]=l,n}function S(a,t,l){const n=a.slice();return n[31]=t[l],n[33]=l,n}const J=a=>({}),U=a=>({});function K(a){let t,l,n,d,o,s,r,g,c,v,_;const b=a[18].close,y=e.create_slot(b,a,a[17],U),h=y||Y();let p=e.ensure_array_like(a[3]),m=[];for(let f=0;f<p.length;f+=1)m[f]=q(H(a,p,f));return{c(){t=e.element("div"),l=e.element("div"),n=e.element("span"),h&&h.c(),d=e.space(),o=e.element("div"),s=e.text(a[1]),r=e.space();for(let f=0;f<m.length;f+=1)m[f].c();e.attr(n,"class","ModalCloseBtn svelte-1fgc73g"),e.attr(n,"role","button"),e.attr(o,"class","CasinoCalendarDailyDay svelte-1fgc73g"),e.attr(l,"class","HeaderDailyDetails svelte-1fgc73g"),e.attr(t,"class",g="CasinoCalendarDailyDetailsBackground "+(a[5]?"Mobile":"")+" svelte-1fgc73g")},m(f,C){e.insert(f,t,C),e.append(t,l),e.append(l,n),h&&h.m(n,null),e.append(l,d),e.append(l,o),e.append(o,s),e.append(t,r);for(let u=0;u<m.length;u+=1)m[u]&&m[u].m(t,null);c=!0,v||(_=e.listen(n,"click",a[6]),v=!0)},p(f,C){if(y&&y.p&&(!c||C[0]&131072)&&e.update_slot_base(y,b,f,f[17],c?e.get_slot_changes(b,f[17],C,J):e.get_all_dirty_from_scope(f[17]),U),(!c||C[0]&2)&&e.set_data(s,f[1]),C[0]&393){p=e.ensure_array_like(f[3]);let u;for(u=0;u<p.length;u+=1){const M=H(f,p,u);m[u]?m[u].p(M,C):(m[u]=q(M),m[u].c(),m[u].m(t,null))}for(;u<m.length;u+=1)m[u].d(1);m.length=p.length}(!c||C[0]&32&&g!==(g="CasinoCalendarDailyDetailsBackground "+(f[5]?"Mobile":"")+" svelte-1fgc73g"))&&e.attr(t,"class",g)},i(f){c||(e.transition_in(h,f),c=!0)},o(f){e.transition_out(h,f),c=!1},d(f){f&&e.detach(t),h&&h.d(f),e.destroy_each(m,f),v=!1,_()}}}function Q(a){let t;return{c(){t=e.element("p"),t.textContent="Loading ...",e.attr(t,"class","SearchLoading svelte-1fgc73g"),e.attr(t,"part","SearchLoading")},m(l,n){e.insert(l,t,n)},p:e.noop,i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function X(a){let t;return{c(){t=e.element("p"),t.textContent="500 Error - Internal Server Error",e.attr(t,"class","SearchLoading svelte-1fgc73g"),e.attr(t,"part","SearchLoading")},m(l,n){e.insert(l,t,n)},p:e.noop,i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function Y(a){let t,l;return{c(){t=e.svg_element("svg"),l=e.svg_element("path"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(l,"stroke-width","2"),e.attr(l,"d","M6 18L18 6M6 6l12 12"),e.attr(l,"class","svelte-1fgc73g"),e.attr(t,"class","w-6 h-6 svelte-1fgc73g"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(n,d){e.insert(n,t,d),e.append(t,l)},p:e.noop,d(n){n&&e.detach(t)}}}function Z(a){let t,l;return{c(){t=e.svg_element("svg"),l=e.svg_element("path"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(l,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),e.attr(l,"class","svelte-1fgc73g"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"fill","none"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"stroke-width","1.5"),e.attr(t,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),e.attr(t,"class","IconDown svelte-1fgc73g")},m(n,d){e.insert(n,t,d),e.append(t,l)},d(n){n&&e.detach(t)}}}function $(a){let t,l;return{c(){t=e.svg_element("svg"),l=e.svg_element("path"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(l,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),e.attr(l,"class","svelte-1fgc73g"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"fill","none"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"stroke-width","1.5"),e.attr(t,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),e.attr(t,"class","IconUp svelte-1fgc73g")},m(n,d){e.insert(n,t,d),e.append(t,l)},d(n){n&&e.detach(t)}}}function j(a){let t,l,n,d=e.ensure_array_like(a[28].details),o=[];for(let r=0;r<d.length;r+=1)o[r]=z(S(a,d,r));let s=a[28].detailsExpanded&&A(a);return{c(){t=e.element("div");for(let r=0;r<o.length;r+=1)o[r].c();l=e.space(),s&&s.c(),n=e.empty(),e.attr(t,"class","DetailsTabsTitles svelte-1fgc73g")},m(r,g){e.insert(r,t,g);for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(t,null);e.insert(r,l,g),s&&s.m(r,g),e.insert(r,n,g)},p(r,g){if(g[0]&264){d=e.ensure_array_like(r[28].details);let c;for(c=0;c<d.length;c+=1){const v=S(r,d,c);o[c]?o[c].p(v,g):(o[c]=z(v),o[c].c(),o[c].m(t,null))}for(;c<o.length;c+=1)o[c].d(1);o.length=d.length}r[28].detailsExpanded?s?s.p(r,g):(s=A(r),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(r){r&&(e.detach(t),e.detach(l),e.detach(n)),e.destroy_each(o,r),s&&s.d(r)}}}function z(a){let t,l,n,d=a[31].title+"",o,s,r,g,c;function v(){return a[20](a[28],a[33],a[30])}return{c(){t=e.element("div"),l=e.element("div"),n=e.element("button"),s=e.space(),e.attr(n,"class",o="HeaderButton "+(a[33]===a[28].selectedTab?"Active":"")+" svelte-1fgc73g"),e.attr(l,"class","Header svelte-1fgc73g"),e.attr(t,"class",r=(a[33]===a[28].selectedTab?"SelectedTab":"")+" svelte-1fgc73g"),e.attr(t,"id","CollapseMoreInfoButton"),e.set_style(t,"height",a[28].expandedInfo?"100%":"")},m(_,b){e.insert(_,t,b),e.append(t,l),e.append(l,n),n.innerHTML=d,e.append(t,s),g||(c=e.listen(n,"click",v),g=!0)},p(_,b){a=_,b[0]&8&&d!==(d=a[31].title+"")&&(n.innerHTML=d),b[0]&8&&o!==(o="HeaderButton "+(a[33]===a[28].selectedTab?"Active":"")+" svelte-1fgc73g")&&e.attr(n,"class",o),b[0]&8&&r!==(r=(a[33]===a[28].selectedTab?"SelectedTab":"")+" svelte-1fgc73g")&&e.attr(t,"class",r),b[0]&8&&e.set_style(t,"height",a[28].expandedInfo?"100%":"")},d(_){_&&e.detach(t),g=!1,c()}}}function A(a){let t,l=a[28].details[a[28].selectedTab].description+"",n;return{c(){t=e.element("div"),e.attr(t,"class",n="DetailTabsDescription "+(a[28].details[a[28].selectedTab].expandedTab?"":"NotVisible")+" svelte-1fgc73g")},m(d,o){e.insert(d,t,o),t.innerHTML=l},p(d,o){o[0]&8&&l!==(l=d[28].details[d[28].selectedTab].description+"")&&(t.innerHTML=l),o[0]&8&&n!==(n="DetailTabsDescription "+(d[28].details[d[28].selectedTab].expandedTab?"":"NotVisible")+" svelte-1fgc73g")&&e.attr(t,"class",n)},d(d){d&&e.detach(t)}}}function q(a){let t,l,n=a[28].title+"",d,o,s,r,g,c,v,_=a[28].description+"",b,y,h,p,m,f,C,u,M;function I(T,D){return T[28].expandedInfo==!0?$:Z}let L=I(a),F=L(a);function B(){return a[19](a[28],a[29],a[30])}let w=a[28].expandedInfo==!0&&j(a);return{c(){t=e.element("div"),l=e.element("div"),d=e.space(),o=e.element("div"),s=e.element("img"),c=e.space(),v=e.element("div"),b=e.space(),y=e.element("div"),h=e.element("button"),p=new e.HtmlTag(!1),m=e.space(),F.c(),f=e.space(),w&&w.c(),C=e.space(),e.attr(l,"class","CasinoCalendarDailyTitle svelte-1fgc73g"),e.attr(s,"class","CasinoCalendarFitImage svelte-1fgc73g"),e.src_url_equal(s.src,r=a[28].image)||e.attr(s,"src",r),e.attr(s,"alt",g=a[28].image),e.attr(o,"class","CasinoCalendarImage svelte-1fgc73g"),e.attr(v,"class","CasinoCalendarDailyDescription svelte-1fgc73g"),p.a=m,e.attr(h,"class","MoreInfoButton svelte-1fgc73g"),e.attr(y,"class","CasinoCalendarTabs svelte-1fgc73g"),e.attr(t,"class","CasinoCalendarDailyDetailsParent svelte-1fgc73g")},m(T,D){e.insert(T,t,D),e.append(t,l),l.innerHTML=n,e.append(t,d),e.append(t,o),e.append(o,s),e.append(t,c),e.append(t,v),v.innerHTML=_,e.append(t,b),e.append(t,y),e.append(y,h),p.m(a[0],h),e.append(h,m),F.m(h,null),e.append(y,f),w&&w.m(y,null),e.append(t,C),u||(M=e.listen(h,"click",B),u=!0)},p(T,D){a=T,D[0]&8&&n!==(n=a[28].title+"")&&(l.innerHTML=n),D[0]&8&&!e.src_url_equal(s.src,r=a[28].image)&&e.attr(s,"src",r),D[0]&8&&g!==(g=a[28].image)&&e.attr(s,"alt",g),D[0]&8&&_!==(_=a[28].description+"")&&(v.innerHTML=_),D[0]&1&&p.p(a[0]),L!==(L=I(a))&&(F.d(1),F=L(a),F&&(F.c(),F.m(h,null))),a[28].expandedInfo==!0?w?w.p(a,D):(w=j(a),w.c(),w.m(y,null)):w&&(w.d(1),w=null)},d(T){T&&e.detach(t),F.d(),w&&w.d(),u=!1,M()}}}function ee(a){let t,l,n,d;const o=[X,Q,K],s=[];function r(g,c){return g[4]?1:2}return l=r(a),n=s[l]=o[l](a),{c(){t=e.element("div"),n.c(),e.attr(t,"class","svelte-1fgc73g")},m(g,c){e.insert(g,t,c),s[l].m(t,null),a[21](t),d=!0},p(g,c){let v=l;l=r(g),l===v?s[l].p(g,c):(e.group_outros(),e.transition_out(s[v],1,1,()=>{s[v]=null}),e.check_outros(),n=s[l],n?n.p(g,c):(n=s[l]=o[l](g),n.c()),e.transition_in(n,1),n.m(t,null))},i(g){d||(e.transition_in(n),d=!0)},o(g){e.transition_out(n),d=!1},d(g){g&&e.detach(t),s[l].d(),a[21](null)}}}function te(a,t,l){let{$$slots:n={},$$scope:d}=t,{dailybackground:o=""}=t,{dailybuttontitle:s=""}=t,{dailyday:r=""}=t,{dailydescription:g="<p></p>"}=t,{dailyicon:c=""}=t,{dailytitle:v=""}=t,{lang:_="en"}=t,{clientstyling:b=""}=t,{clientstylingurl:y=""}=t,{translationUrl:h=""}=t,p=[],m=!0,f=!1,C=window.navigator.userAgent,u;O({withLocale:"en",translations:{}});const M=i=>{i.data.type=="DailyEventsData"&&(l(4,m=!1),l(3,p=i.data.data),p.forEach(k=>{k.expandedInfo=!1,k.detailsExpanded=!1,k.selectedTab=0,k.details.forEach((x,E)=>{x.expandedTab=E==0})}))},I=()=>{window.postMessage({type:"ModalClosed"},window.location.href),p.forEach((i,k)=>{i.detailsExpanded=k==0,i.expandedInfo=k==0,i.selectedTab=0})},L=()=>{W(_)},F=i=>{l(3,p[i].detailsExpanded=!p[i].detailsExpanded,p),typeof gtag=="function"&&gtag("event","MoreInfo",{context:"CalendarWidgetDetails"})},B=(i,k,x)=>{l(3,p[x].selectedTab=k,p),i.details.forEach((E,R)=>{p[x].selectedTab!=R?E.expandedTab=!1:E.expandedTab=!0})},w=()=>{let i=document.createElement("style");i.innerHTML=b,u.appendChild(i)},T=()=>{let i=new URL(y),k=document.createElement("style");fetch(i.href).then(x=>x.text()).then(x=>{k.innerHTML=x,setTimeout(()=>{u.appendChild(k)},1),setTimeout(()=>{},500)})};e.onMount(()=>(window.addEventListener("message",M,!1),e.isMobile(C)&&l(5,f=!0),()=>{window.removeEventListener("message",M)}));const D=(i,k,x)=>{l(3,k[x].expandedInfo=!i.expandedInfo,p),F(x)},V=(i,k,x)=>{B(i,k,x)};function P(i){e.binding_callbacks[i?"unshift":"push"](()=>{u=i,l(2,u)})}return a.$$set=i=>{"dailybackground"in i&&l(9,o=i.dailybackground),"dailybuttontitle"in i&&l(0,s=i.dailybuttontitle),"dailyday"in i&&l(1,r=i.dailyday),"dailydescription"in i&&l(10,g=i.dailydescription),"dailyicon"in i&&l(11,c=i.dailyicon),"dailytitle"in i&&l(12,v=i.dailytitle),"lang"in i&&l(13,_=i.lang),"clientstyling"in i&&l(14,b=i.clientstyling),"clientstylingurl"in i&&l(15,y=i.clientstylingurl),"translationUrl"in i&&l(16,h=i.translationUrl),"$$scope"in i&&l(17,d=i.$$scope)},a.$$.update=()=>{a.$$.dirty[0]&8192&&_&&L(),a.$$.dirty[0]&16388&&b&&u&&w(),a.$$.dirty[0]&32772&&y&&u&&T()},[s,r,u,p,m,f,I,F,B,o,g,c,v,_,b,y,h,d,n,D,V,P]}class N extends e.SvelteComponent{constructor(t){super(),e.init(this,t,te,ee,e.safe_not_equal,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},G,[-1,-1])}get dailybackground(){return this.$$.ctx[9]}set dailybackground(t){this.$$set({dailybackground:t}),e.flush()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),e.flush()}get dailyday(){return this.$$.ctx[1]}set dailyday(t){this.$$set({dailyday:t}),e.flush()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(t){this.$$set({dailydescription:t}),e.flush()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(t){this.$$set({dailyicon:t}),e.flush()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(t){this.$$set({dailytitle:t}),e.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(t){this.$$set({translationUrl:t}),e.flush()}}e.create_custom_element(N,{dailybackground:{},dailybuttontitle:{},dailyday:{},dailydescription:{},dailyicon:{},dailytitle:{},lang:{},clientstyling:{},clientstylingurl:{},translationUrl:{}},["close"],[],!0);exports.default=N;