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=`Alguns dels vostres canals no estan completament configurats. Feu que siguin acollidors i explícits sobre el que publiqueu afegint un ${`[�#4�|�#5�|�#6�]`}bàner${`[�/#4�|�/#5�|�/#6�]`}, un ${`[�#4�|�#5�|�#6�]`}avatar${`[�/#4�|�/#5�|�/#6�]`} i una ${`[�#4�|�#5�|�#6�]`}descripció${`[�/#4�|�/#5�|�/#6�]`}.`,e=C$(e);let n;return n="Configurar els meus canals",[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=0d3ee2ba-725b-544a-8510-08c9d7a5fe1f
//# sourceMappingURL=chunk-C0lN9sgs2.js.map