import{L as qp,R as tl,b as Pa,U as cl,V as w3,cg as ef,ch as tf,m as _2,A as w2,s as sp,y as yV,u as ub,o as bV,a3 as B0,a4 as l$}from'./main-BiUBeaMj.js';var d=o=>({small:o});function f(o,T){if(o&1&&(sp(0,"span",3),yV(1,0),ub()),o&2){let e=bV();B0("ngClass",l$(2,d,e.small()))("ngbTooltip",e.ownerTooltip);}}function M(o,T){if(o&1&&(sp(0,"span",4),yV(1,1),ub()),o&2){let e=bV();B0("ngClass",l$(2,d,e.small()))("ngbTooltip",e.editorTooltip);}}function O(o,T){if(o&1&&(sp(0,"span",5),yV(1,2),ub()),o&2){let e=bV();B0("ngClass",l$(2,d,e.small()))("ngbTooltip",e.invitationTooltip);}}var H=(()=>{class o{type=qp.required();small=qp(false,{transform:tl});disableTooltip=qp(false,{transform:tl});editorTooltip;ownerTooltip;invitationTooltip;ngOnInit(){this.editorTooltip=this.disableTooltip()?null:"\uD3B8\uC9D1\uC790\uB294 \uC774 \uCC44\uB110\uC758 \uB3D9\uC601\uC0C1\uC744 \uAD00\uB9AC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4",this.ownerTooltip=this.disableTooltip()?null:"\uCC44\uB110 \uC18C\uC720\uC790",this.invitationTooltip=this.disableTooltip()?null:"\uC774 \uCC44\uB110\uC758 \uB3D9\uC601\uC0C1\uC744 \uAD00\uB9AC\uD560 \uD3B8\uC9D1\uC790\uB85C \uCD08\uB300\uB418\uC5C8\uC2B5\uB2C8\uB2E4";}static ɵfac=function(t){return new(t||o)();};static ɵcmp=Pa({type:o,selectors:[["my-collaborator-state"]],inputs:{type:[1,"type"],small:[1,"small"],disableTooltip:[1,"disableTooltip"]},decls:3,vars:1,consts:()=>{let e;e="\uC18C\uC720\uC790";let t;t="\uD3B8\uC9D1\uC790";let n;return n="\uCD08\uB300\uAC00 \uC804\uC1A1\uB418\uC5C8\uC2B5\uB2C8\uB2E4",[e,t,n,["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(t,n){t&1&&_2(0,f,2,4,"span",3)(1,M,2,4,"span",4)(2,O,2,4,"span",5),t&2&&w2(n.type()==="owner"?0:n.type()==="accepted"?1:n.type()==="invited"?2:-1);},dependencies:[cl,w3,ef,tf],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)}"],changeDetection:1});}return o;})();/**i18n:fad79908930cbb4c308e7550a5fe49bb3841dbb330066a6429aebaa006173605*/export{H};//# sourceMappingURL=chunk-DWtNtBal.js.map