import{a as R}from"./chunk-F7TPA7YV.js";import{a as C,b as P}from"./chunk-KVVNWLBL.js";import{a as w}from"./chunk-EKY24YOI.js";import{b as y}from"./chunk-4KXIN422.js";import"./chunk-4WZ3U3FP.js";import"./chunk-K6R2YQA4.js";import"./chunk-TAXP6AR4.js";import"./chunk-HBWGRPPS.js";import{c as k,g as D,h as M}from"./chunk-TCYSFPAK.js";import"./chunk-IPUAMSPF.js";import"./chunk-Z7MWQHAJ.js";import"./chunk-KE5SDZFX.js";import"./chunk-TCXEHY4K.js";import"./chunk-QQCPVFK2.js";import"./chunk-7WRF56BE.js";import{a as i}from"./chunk-WU65RH7R.js";import"./chunk-GHFUKYDB.js";import"./chunk-CSPBGCHB.js";import"./chunk-HGGFRYYX.js";import"./chunk-ZTV3BAJC.js";import"./chunk-DUP5W6EX.js";import"./chunk-ZWFD5LD5.js";import"./chunk-DNGQTOEK.js";import"./chunk-767JKDCJ.js";import"./chunk-TWPQQA65.js";import"./chunk-SE7ONHY6.js";import"./chunk-XAMJVNSV.js";import"./chunk-4OFCYKML.js";import"./chunk-TOQ62ZAE.js";import"./chunk-ZVDKPZN6.js";import"./chunk-TJNDWDC2.js";import"./chunk-WXHFMTIX.js";import"./chunk-OPKDC23H.js";import"./chunk-FLBT2JX3.js";import"./chunk-CR4K7T5L.js";import{Ch as S,Da as c,F as p,Fc as h,Na as u,Rb as v,Sb as g,ba as s,mb as d,nb as f,ob as l,pb as b,t as a}from"./chunk-ZSQR4KTU.js";import{i as m}from"./chunk-IQVXR75E.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:"lipu open"},reuse:{enabled:!0,key:"home"}}}];export{K as default};/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*///# sourceMappingURL=chunk-I3EDIAYQ.js.map