import{a as R}from"./chunk-3XTCOBCO.js";import{a as C,b as P}from"./chunk-FURNEEAO.js";import{a as w}from"./chunk-LIQYYSC5.js";import{b as y}from"./chunk-KXY7ZCGO.js";import"./chunk-V7ZLORPF.js";import"./chunk-WNO6N5HY.js";import"./chunk-UBU2CFVX.js";import"./chunk-WQSXUN2B.js";import{c as k,g as D,h as M}from"./chunk-E4XRA4V2.js";import"./chunk-3UY4NPZA.js";import"./chunk-QW6WJWKH.js";import"./chunk-KUVCZRLX.js";import"./chunk-EN2OO25U.js";import"./chunk-RTSWJO5X.js";import"./chunk-7WRF56BE.js";import{a as i}from"./chunk-KSPWDOZP.js";import"./chunk-R6UFR6OP.js";import"./chunk-TAAPE2KQ.js";import"./chunk-Y2WEUXNI.js";import"./chunk-J6ED7RJB.js";import"./chunk-QSSD454H.js";import"./chunk-4AW7XUEV.js";import"./chunk-4KR5QHBK.js";import"./chunk-ADNRDCXI.js";import"./chunk-OW5DLQI4.js";import"./chunk-NT6MJVBJ.js";import"./chunk-PH6OCYZ4.js";import"./chunk-5FHECZHZ.js";import"./chunk-LQJE4VHL.js";import"./chunk-BYP5TNEI.js";import"./chunk-53J3B7V7.js";import"./chunk-ZRPU55OY.js";import"./chunk-U7YDHGE3.js";import"./chunk-TNCGHY53.js";import"./chunk-MUVDKD7T.js";import{Da as c,Dh as S,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-DZBHF6HI.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:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629"},reuse:{enabled:!0,key:"home"}}}];export{K as default};/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*///# sourceMappingURL=chunk-UBQSABTD.js.map