import{a as R}from"./chunk-PQBY6JH3.js";import{a as C,b as P}from"./chunk-VY6JE4WV.js";import{a as w}from"./chunk-F5I4TM3F.js";import{b as y}from"./chunk-2RHTC6RJ.js";import"./chunk-R756P2GQ.js";import"./chunk-WMCOBV4F.js";import"./chunk-4GTRO4FM.js";import"./chunk-NB7P33W6.js";import{c as k,g as D,h as M}from"./chunk-N7KJ32TQ.js";import"./chunk-U3LL2CIA.js";import"./chunk-TL6U2ZZX.js";import"./chunk-HLDKWU5C.js";import"./chunk-CTVQPMXA.js";import"./chunk-CHRM4SHK.js";import"./chunk-6BUG6ZEW.js";import{a as i}from"./chunk-4F4SXJKF.js";import"./chunk-AFTBJBGR.js";import"./chunk-T64GT5YO.js";import"./chunk-M3VV57LB.js";import"./chunk-XMLLNCME.js";import"./chunk-S3CDSDDX.js";import"./chunk-VO6JGAHP.js";import"./chunk-GAL6OR7Q.js";import"./chunk-Q6JB2APP.js";import"./chunk-J4BAYPJ2.js";import"./chunk-OTSILD44.js";import"./chunk-5XXEC4LL.js";import"./chunk-3ZNDWVB3.js";import"./chunk-NJRIO7OX.js";import"./chunk-7Z6BBMUO.js";import"./chunk-MH6M24BO.js";import"./chunk-EVDXICKF.js";import"./chunk-RIF6CCEH.js";import"./chunk-NXALGPN2.js";import"./chunk-3V3ZIFZ3.js";import{Aa as c,E as p,Jb as v,Ka as u,Kb as g,Zh as S,aa as s,eb as d,fb as f,gb as l,hb as b,s as a,zc as h}from"./chunk-AVPM423Z.js";import{i as m}from"./chunk-W5TMGCPH.js";var F=["contentWrapper"],W=(()=>{let t=class t{customPageService=s(i);sub;peertubeRouter=s(S);disabled=!1;contentWrapper=h("contentWrapper");homepageContent;ngOnInit(){this.customPageService.getInstanceHomepage().subscribe(({content:o})=>this.homepageContent=o),window.location.pathname==="/"&&(this.sub=a(window,"scroll").pipe(p(250)).subscribe(()=>{this.disabled||window.pageYOffset>300&&(this.peertubeRouter.silentNavigate([],{}),this.sub.unsubscribe(),this.sub=void 0);}));}ngOnDestroy(){this.sub&&this.sub.unsubscribe();}disableForReuse(){this.disabled=!0;}enabledForReuse(){this.disabled=!0;}};m(t,"\u0275fac",function(e){return new(e||t)();}),m(t,"\u0275cmp",u({type:t,selectors:[["ng-component"]],viewQuery:function(e,r){e&1&&v(r.contentWrapper,F,5),e&2&&g();},decls:2,vars:1,consts:[[1,"margin-content"],[3,"content"]],template:function(e,r){e&1&&(f(0,"div",0),b(1,"my-custom-markup-container",1),l()),e&2&&(c(),d("content",r.homepageContent));},dependencies:[R],encapsulation:2}));let n=t;return n;})();var K=[{path:"",component:W,providers:[i,w,y,P,C,k,M,D],data:{meta:{title:"Inicio"},reuse:{enabled:!0,key:"home"}}}];export{K as default};/**i18n:ceac57349051bcddcb40dd2878e0abcb86556d5ceb9d6109d22ac3f1ae3cc7b1*///# sourceMappingURL=chunk-FJSKH4SS.js.map