import{Eo as kb,Fo as l$,Gr as Va,Ia as f$,No as kx,Q as EV,Qi as bV,Wa as g,_s as ph,ec as th,fc as vm,it as FB,mt as Fx,rs as nt,vc as wp,ya as d$}from"./chunk-B_pj7Jpm.js";import{t as X1}from"./chunk-CgIzqGPc.js";import{t as c}from"./chunk-D7eF6KoS2.js";function N(t,e){t&1&&(wp(0,`a`,4),l$(1,1),kb())}function A(t,e){if(t&1&&(wp(0,`my-alert`,2),th(1,`my-global-icon`,3),wp(2,`div`),kx(3,0),th(4,`strong`)(5,`strong`)(6,`strong`),Fx(),kb(),EV(7,N,2,0,`a`,4),kb()),t&2){let n=f$();FB(7),bV(n.hideLink()?-1:7)}}var T=class t{authService=g(nt);hideLink=ph(!1);user=null;hasChannelNotConfigured(){return this.user.videoChannels?this.user.videoChannels.filter(e=>e.avatars.length===0||!e.description).length>0:!1}ngOnInit(){this.user=this.authService.getUser()}static ɵfac=function(n){return new(n||t)};static ɵcmp=Va({type:t,selectors:[[`my-channels-setup-message`]],inputs:{hideLink:[1,`hideLink`]},decls:1,vars:1,consts:()=>{let e;e=`Některé z vašich kanálů nejsou zcela nastaveny. Vylepšete jim srozumitelnost a jednoznačně informujte o tom, co zveřejňujete, přidáním ${`[�#4�|�#5�|�#6�]`} úvodního obrázku${`[�/#4�|�/#5�|�/#6�]`}, ${`[�#4�|�#5�|�#6�]`}avataru${`[�/#4�|�/#5�|�/#6�]`} a ${`[�#4�|�#5�|�#6�]`} popisu${`[�/#4�|�/#5�|�/#6�]`}.`,e=d$(e);let n;return n="Nastavení mých kanálů",[e,n,[`type`,`primary`,1,`text-center`],[`iconName`,`tip`],[`routerLink`,`/my-library/video-channels`,1,`peertube-button-link`,`secondary-button`,`mt-2`]]},template:function(n,i){n&1&&EV(0,A,8,1,`my-alert`,2),n&2&&bV(i.hasChannelNotConfigured()?0:-1)},dependencies:[X1,vm,c],styles:[`my-global-icon[_ngcontent-%COMP%]{margin-bottom:.75rem;display:inline-block;width:32px;height:32px;line-height:32px}`],changeDetection:1})};export{T as t};
//# debugId=1ab18248-65b1-51a2-b929-8f3e7d8eae64
//# sourceMappingURL=chunk-GtFibTxz.js.map