import{Ja as g,Jn as Nhe,M as Bi,Wi as _$,Zs as th,gt as Ex,hi as Wx,k as Bb,n as $B,qo as la,s as $a,ta as al,yc as wp}from"./chunk-b0nJCs5_.js";import"./chunk-CDRFWLLW.js";import"./chunk-d9xmxGyl.js";import"./chunk-BXrVgciI.js";import"./chunk-CswnO8Ym.js";import{t as c}from"./chunk-BHO4mzYw.js";import"./chunk-DUrVXBNc.js";import"./chunk-DnSoF4cB.js";import"./chunk-BdDU3qnh.js";import"./chunk-Cmet2Nw-.js";import"./chunk-CkJf4plT.js";import"./chunk-CKCWxqhm.js";import"./chunk-DcB590Yc.js";import"./chunk-BvsfL09w.js";import"./chunk-BpR0ReBf.js";import"./chunk-DNBjyHdz2.js";import"./chunk-B4yFU5n32.js";import"./chunk-uNqEPBRE2.js";import"./chunk-DDsZtj252.js";import"./chunk-CnEH9ox82.js";import"./chunk-DwtxXnIx2.js";import"./chunk-BMaHP5rD2.js";import"./chunk-D3sqbh442.js";import{t as A}from"./chunk-2WQXD8yV2.js";import{t as p}from"./chunk-WJVwu_bH2.js";import"./chunk-BqndqiNm2.js";import{n as Ne,o as ke,r as Ue}from"./chunk-BrKSdfk8.js";import"./chunk-Hufy2o-o.js";import"./chunk-DWd4safw.js";import"./chunk-DfqsVgzP.js";import"./chunk-BGfhYF4g.js";import{n as we,t as j}from"./chunk-DHglb9jS2.js";import{t as y}from"./chunk-CXPBI-LG.js";var I=[`contentWrapper`];var X=[{path:``,component:class m{customPageService=g(c);sub;peertubeRouter=g(Bi);disabled=!1;contentWrapper=Nhe(`contentWrapper`);homepageContent;ngOnInit(){this.customPageService.getInstanceHomepage().subscribe(({content:t})=>this.homepageContent=t),window.location.pathname===`/`&&(this.sub=al(window,`scroll`).pipe(la(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}static ɵfac=function(e){return new(e||m)};static ɵcmp=$a({type:m,selectors:[[`ng-component`]],viewQuery:function(e,i){e&1&&Wx(i.contentWrapper,I,5),e&2&&_$()},decls:2,vars:1,consts:[[1,`margin-content`],[3,`content`]],template:function(e,i){e&1&&(wp(0,`div`,0),th(1,`my-custom-markup-container`,1),Bb()),e&2&&($B(),Ex(`content`,i.homepageContent))},dependencies:[y],encapsulation:2,changeDetection:1})},providers:[c,p,A,we,j,Ue,Ne,ke],data:{meta:{title:"Pagina d’acuèlh"},reuse:{enabled:!0,key:`home`}}}];export{X as default};
//# debugId=33fa3889-6508-59a7-836e-277da1c629f0
//# sourceMappingURL=chunk-BSHyza_Y.js.map