import{a as H}from"./chunk-WKRA534F.js";import{a as C,b as F}from"./chunk-4VWD4IJQ.js";import{a as k}from"./chunk-B3H7OQTA.js";import{b as w}from"./chunk-AT4HKK6O.js";import"./chunk-SMBWWB5A.js";import"./chunk-VKMRJ2FU.js";import{b as y}from"./chunk-QTHU4MF6.js";import"./chunk-HQOODZGX.js";import{d as P,h as R,i as D}from"./chunk-JYDLBK4K.js";import"./chunk-GUZVTDEQ.js";import"./chunk-JIKLIHHQ.js";import"./chunk-62Z53MV5.js";import"./chunk-AGCCWYR2.js";import{a as i}from"./chunk-EINLEQRF.js";import"./chunk-JOL3V4P7.js";import"./chunk-KMKZU2OO.js";import"./chunk-5SUL3RBM.js";import"./chunk-PJI4YDTY.js";import"./chunk-MQ2HWEHP.js";import"./chunk-JDO6XDLS.js";import"./chunk-MH4MFR45.js";import"./chunk-HY74C762.js";import"./chunk-WPYN5NP7.js";import"./chunk-N2PVJHKU.js";import"./chunk-N6H5PN4U.js";import"./chunk-EGENQJKI.js";import"./chunk-UTZHKMM3.js";import"./chunk-CIB5AJZU.js";import"./chunk-S3QG3QQ2.js";import"./chunk-7LEFMGY2.js";import"./chunk-3QJX743Y.js";import"./chunk-GAE2J7EH.js";import"./chunk-DBI6SHHM.js";import"./chunk-SIHEBH6V.js";import"./chunk-2UGJU7DR.js";import"./chunk-IM5O2N5E.js";import{E as s,Ha as a,Mb as g,Na as u,Nb as h,Oh as S,Sa as f,aa as c,eb as l,nb as d,ob as v,pb as b,s as p}from"./chunk-EWB56PWF.js";import{i as m}from"./chunk-2T7OYDCL.js";var W=["contentWrapper"],M=(()=>{let t=class t{customPageService=c(i);sub;peertubeRouter=c(S);contentWrapper=u("contentWrapper");homepageContent;ngOnInit(){this.customPageService.getInstanceHomepage().subscribe(({content:o})=>this.homepageContent=o),window.location.pathname==="/"&&(this.sub=p(window,"scroll").pipe(s(250)).subscribe(()=>{window.pageYOffset>300&&(this.peertubeRouter.silentNavigate([],{}),this.sub.unsubscribe(),this.sub=void 0);}));}ngOnDestroy(){this.sub&&this.sub.unsubscribe();}disableForReuse(){}enabledForReuse(){}};m(t,"\u0275fac",function(e){return new(e||t)();}),m(t,"\u0275cmp",f({type:t,selectors:[["ng-component"]],viewQuery:function(e,r){e&1&&g(r.contentWrapper,W,5),e&2&&h();},decls:2,vars:1,consts:[[1,"margin-content"],[3,"content"]],template:function(e,r){e&1&&(d(0,"div",0),b(1,"my-custom-markup-container",1),v()),e&2&&(a(),l("content",r.homepageContent));},dependencies:[H],encapsulation:2}));let n=t;return n;})();var U=[{path:"",component:M,providers:[i,k,w,y,F,C,P,D,R],data:{meta:{title:"Homepage"},reuse:{enabled:!0,key:"home"}}}];export{U as default};/**i18n:85d030b7fdd36d163c6d41dcef9178681a6baa573eb199e8b12fe27dbb057a98*///# sourceMappingURL=chunk-RQ24N7SO.js.map