import{g,aQ as Xe,L as qp,b as Pa,T as Tr,X as Xh,bW as v,m as _2,A as w2,ai as EV,s as sp,e as Pp,i as ix,h as sx,u as ub,o as bV,z as zB,y as yV}from'./main-ajlqprgK.js';function A(n,h){n&1&&(sp(0,"a",4),yV(1,1),ub());}function N(n,h){if(n&1&&(sp(0,"my-alert",2),Pp(1,"my-global-icon",3),sp(2,"div"),ix(3,0),Pp(4,"strong")(5,"strong")(6,"strong"),sx(),ub(),_2(7,A,2,0,"a",4),ub()),n&2){let e=bV();zB(7),w2(e.hideLink()?-1:7);}}var b=(()=>{class n{authService=g(Xe);hideLink=qp(false);user=null;hasChannelNotConfigured(){return this.user.videoChannels?this.user.videoChannels.filter(e=>e.avatars.length===0||!e.description).length>0:false;}ngOnInit(){this.user=this.authService.getUser();}static ɵfac=function(t){return new(t||n)();};static ɵcmp=Pa({type:n,selectors:[["my-channels-setup-message"]],inputs:{hideLink:[1,"hideLink"]},decls:1,vars:1,consts:()=>{let e;e="Niekt\xF3re z Twoich kana\u0142\xF3w nie s\u0105 w pe\u0142ni skonfigurowane. Uczy\u0144 je bardziej przekonuj\u0105cymi, informuj\u0105c o tym, co b\u0119dziesz publikowa\u0107 na nich poprzez dodanie "+"[\uFFFD#4\uFFFD|\uFFFD#5\uFFFD|\uFFFD#6\uFFFD]"+"baneru"+"[\uFFFD/#4\uFFFD|\uFFFD/#5\uFFFD|\uFFFD/#6\uFFFD]"+", "+"[\uFFFD#4\uFFFD|\uFFFD#5\uFFFD|\uFFFD#6\uFFFD]"+"zdj\u0119cia profilowego"+"[\uFFFD/#4\uFFFD|\uFFFD/#5\uFFFD|\uFFFD/#6\uFFFD]"+" oraz "+"[\uFFFD#4\uFFFD|\uFFFD#5\uFFFD|\uFFFD#6\uFFFD]"+"opisu"+"[\uFFFD/#4\uFFFD|\uFFFD/#5\uFFFD|\uFFFD/#6\uFFFD]"+".",e=EV(e);let t;return t="Skonfiguruj moje kana\u0142y",[e,t,["type","primary",1,"text-center"],["iconName","tip"],["routerLink","/my-library/video-channels",1,"peertube-button-link","secondary-button","mt-2"]];},template:function(t,i){t&1&&_2(0,N,8,1,"my-alert",2),t&2&&w2(i.hasChannelNotConfigured()?0:-1);},dependencies:[Tr,Xh,v],styles:["my-global-icon[_ngcontent-%COMP%]{margin-bottom:.75rem;display:inline-block;width:32px;height:32px;line-height:32px}"],changeDetection:1});}return n;})();/**i18n:fad79908930cbb4c308e7550a5fe49bb3841dbb330066a6429aebaa006173605*/export{b};//# sourceMappingURL=chunk-DebCP0CZ.js.map