import{r as e,j as a,M as s}from"./vendor--leCAzSo.js";import{f as r,G as o}from"./index-DZuQva-j.js";import"./c723dd3dd-58n3MxoB.js";import"./ca9c256b9-7brFE8T2.js";import"./c57c2877c-dpgWZiV5.js";import"./cb5cdda9a-CSfiLIa6.js";import"./c51e217b4-KUwQQl_W.js";import"./tree-sitter-BFuuT2ac.js";const t=e.memo(({enabled:t,onDismiss:i,onAction:n})=>{const{data:d}=r(!0),m=e.useCallback(()=>{n()},[n]);return t&&d?.eligible?a.jsx(o,{message:a.jsx(s,{defaultMessage:"{count, plural, one {# person from your domain is already using Claude.} other {# people from your domain are already using Claude.}}",id:"ySE3JuJUnY",values:{count:d.user_count}}),button:{children:a.jsx(s,{defaultMessage:"Create a team",id:"zNc5ZTSrja"}),href:"/create/team",onLinkClick:m},onDismiss:i}):null});t.displayName="CreateTeamBanner";export{t as CreateTeamBanner};
