import{K as qp,N as tl,b as Pa,R as cl,U as x3,cg as ef,ch as tf,k as w2,o as x2,s as sp,v as vV,d as lb,S as SV,a3 as H0,a4 as d$}from'./main-DEZ5cZzu.js';var d=o=>({small:o});function f(o,T){if(o&1&&(sp(0,"span",3),vV(1,0),lb()),o&2){let e=SV();H0("ngClass",d$(2,d,e.small()))("ngbTooltip",e.ownerTooltip);}}function M(o,T){if(o&1&&(sp(0,"span",4),vV(1,1),lb()),o&2){let e=SV();H0("ngClass",d$(2,d,e.small()))("ngbTooltip",e.editorTooltip);}}function O(o,T){if(o&1&&(sp(0,"span",5),vV(1,2),lb()),o&2){let e=SV();H0("ngClass",d$(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&&w2(0,f,2,4,"span",3)(1,M,2,4,"span",4)(2,O,2,4,"span",5),t&2&&x2(n.type()==="owner"?0:n.type()==="accepted"?1:n.type()==="invited"?2:-1);},dependencies:[cl,x3,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:c8855ca17fb20171aa9dd43d012e42547cb1f0cfd9c21d4dc05679bbbdf5ccb8*/export{H};//# sourceMappingURL=chunk-DxMtlMW3.js.map