import{a as R}from"./chunk-DMO566RG.js";import{a as C,b as P}from"./chunk-JLVGSC4I.js";import{a as w}from"./chunk-IM4FNQIM.js";import{b as y}from"./chunk-2U5V6J6N.js";import"./chunk-OINB5LRR.js";import"./chunk-R4LARN3F.js";import"./chunk-RL5ITQSK.js";import"./chunk-OCKO2KXU.js";import{c as k,g as D,h as M}from"./chunk-KTNNYJPT.js";import"./chunk-WDJVNN5A.js";import"./chunk-YMGIUQFU.js";import"./chunk-564SGFOD.js";import"./chunk-C5DTCG7Q.js";import"./chunk-DBTSZ35P.js";import"./chunk-ZPH5XKKH.js";import{a as i}from"./chunk-7G3M7EPW.js";import"./chunk-7XM32PRW.js";import"./chunk-74XU6JWD.js";import"./chunk-62QCAIAG.js";import"./chunk-T5YWTKHD.js";import"./chunk-FVCBIAGO.js";import"./chunk-WJWVIVJ3.js";import"./chunk-S5GU54WU.js";import"./chunk-BPIWVNKO.js";import"./chunk-VJAHHR4M.js";import"./chunk-5ELYP5LL.js";import"./chunk-NJIE36EQ.js";import"./chunk-ZDA6S5XE.js";import"./chunk-POE3X42R.js";import"./chunk-WGZO2KEB.js";import"./chunk-3UFUNGHF.js";import"./chunk-7RXEKJPE.js";import"./chunk-ZPYT6WL3.js";import"./chunk-UIT7CBMO.js";import"./chunk-UFYABIEV.js";import{Ca as c,E as p,Ka as u,Mb as v,Nb as g,aa as s,hb as d,ib as f,jb as l,kb as b,s as a,vh as S,zc as h}from"./chunk-6YFOH76E.js";import{i as m}from"./chunk-QQ7SJNXU.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:"Strona g\u0142\xF3wna"},reuse:{enabled:!0,key:"home"}}}];export{K as default};/**i18n:5a85df092a135682c90bae008e37ec28160e04e5f445e29af2927333ba91ffa1*///# sourceMappingURL=chunk-IUTP7ZRS.js.map