import{Fn as MV,Gn as NV,Ja as g,Jt as Hx,L as Bx,Nr as S$,R as C$,X as D$,Zs as th,_s as ph,as as nt,dc as vm,k as Bb,n as $B,s as $a,yc as wp}from"./chunk-b0nJCs5_.js";import{t as X1}from"./chunk-CDRFWLLW.js";import{t as c}from"./chunk-DNBjyHdz2.js";function N(t,e){t&1&&(wp(0,`a`,4),S$(1,1),Bb())}function A(t,e){if(t&1&&(wp(0,`my-alert`,2),th(1,`my-global-icon`,3),wp(2,`div`),Hx(3,0),th(4,`strong`)(5,`strong`)(6,`strong`),Bx(),Bb(),NV(7,N,2,0,`a`,4),Bb()),t&2){let n=D$();$B(7),MV(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=$a({type:t,selectors:[[`my-channels-setup-message`]],inputs:{hideLink:[1,`hideLink`]},decls:1,vars:1,consts:()=>{let e;e=`Деякі з ваших каналів налаштовано не повністю. Зробіть їх зрозумілішими та чітко розкажіть що ви публікуєте, додавши ${`[�#4�|�#5�|�#6�]`}банер${`[�/#4�|�/#5�|�/#6�]`}, ${`[�#4�|�#5�|�#6�]`}аватар${`[�/#4�|�/#5�|�/#6�]`} і ${`[�#4�|�#5�|�#6�]`}опис${`[�/#4�|�/#5�|�/#6�]`}.`,e=C$(e);let n;return n="Налаштувати мої канали",[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&&NV(0,A,8,1,`my-alert`,2),n&2&&MV(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=35b307a6-7896-51bc-97d8-8867b99111a4
//# sourceMappingURL=chunk-C0lN9sgs2.js.map