import{G as M,H as O}from"./chunk-LNDL2Z4K.js";import{Cb as _,Dc as d,Ib as p,Lc as g,Na as m,Vc as N,ed as S,fb as E,gb as b,lb as r,lc as c,mb as a,nb as s}from"./chunk-MOXUT4EU.js";import{i as T}from"./chunk-QQ7SJNXU.js";var C=o=>({small:o});function f(o,e){if(o&1&&(a(0,"span",3),_(1,0),s()),o&2){let t=p();r("ngClass",c(2,C,t.small()))("ngbTooltip",t.ownerTooltip);}}function u(o,e){if(o&1&&(a(0,"span",4),_(1,1),s()),o&2){let t=p();r("ngClass",c(2,C,t.small()))("ngbTooltip",t.editorTooltip);}}function R(o,e){if(o&1&&(a(0,"span",5),_(1,2),s()),o&2){let t=p();r("ngClass",c(2,C,t.small()))("ngbTooltip",t.invitationTooltip);}}var D=(()=>{let e=class e{type=d.required();small=d(!1,{transform:g});disableTooltip=d(!1,{transform:g});editorTooltip;ownerTooltip;invitationTooltip;ngOnInit(){this.editorTooltip=this.disableTooltip()?null:"\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u043C\u043E\u0436\u0435\u0442 \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 \u044D\u0442\u043E\u043C \u043A\u0430\u043D\u0430\u043B\u0435",this.ownerTooltip=this.disableTooltip()?null:"\u0412\u043B\u0430\u0434\u0435\u043B\u0435\u0446 \u043A\u0430\u043D\u0430\u043B\u0430",this.invitationTooltip=this.disableTooltip()?null:"\u041F\u0440\u0438\u0433\u043B\u0430\u0448\u0435\u043D \u043D\u0430 \u0440\u043E\u043B\u044C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0430 \u0434\u043B\u044F \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E \u043D\u0430 \u044D\u0442\u043E\u043C \u043A\u0430\u043D\u0430\u043B\u0435";}};T(e,"\u0275fac",function(n){return new(n||e)();}),T(e,"\u0275cmp",m({type:e,selectors:[["my-collaborator-state"]],inputs:{type:[1,"type"],small:[1,"small"],disableTooltip:[1,"disableTooltip"]},decls:3,vars:1,consts:()=>{let l;l="\u0412\u043B\u0430\u0434\u0435\u043B\u0435\u0446";let n;n="\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440";let i;return i="\u041F\u0440\u0438\u0433\u043B\u0430\u0448\u0435\u043D\u0438\u0435 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E",[l,n,i,["container","body",1,"collaborator-role","collaborator-role-owner",3,"ngClass","ngbTooltip"],["container","body",1,"collaborator-role","collaborator-role-editor",3,"ngClass","ngbTooltip"],["container","body",1,"collaborator-role","collaborator-role-invited",3,"ngClass","ngbTooltip"]];},template:function(n,i){n&1&&E(0,f,2,4,"span",3)(1,u,2,4,"span",4)(2,R,2,4,"span",5),n&2&&b(i.type()==="owner"?0:i.type()==="accepted"?1:i.type()==="invited"?2:-1);},dependencies:[S,N,O,M],styles:[`.collaborator-role[_ngcontent-%COMP%]{border-radius:4px;padding:1px 6px;width:fit-content;line-height:normal;border:1px solid;white-space:nowrap;font-size:.75rem}.collaborator-role.small[_ngcontent-%COMP%]{padding:1px 6px;font-size:.625rem}.collaborator-role-owner[_ngcontent-%COMP%]{color:var(--bg-secondary-400);background-color:var(--fg-200);border-color:var(--fg-200)}.collaborator-role-editor[_ngcontent-%COMP%], .collaborator-role-invited[_ngcontent-%COMP%]{color:var(--fg-300);border-color:var(--secondary-icon-color)}
/*# sourceMappingURL=collaborator-state.component-VNKONGT7.css.map */`]}));let o=e;return o;})();export{D as a};/**i18n:5a85df092a135682c90bae008e37ec28160e04e5f445e29af2927333ba91ffa1*///# sourceMappingURL=chunk-3OQEVX5O.js.map