import{r as e,j as s,M as t}from"./vendor--leCAzSo.js";import{h as o,G as r}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 i=e.memo(({onDismiss:i,onAction:n})=>{const{data:a}=o(),c=e.useCallback(()=>{n()},[n]),m=a?.filter(e=>"join_org"===e.request_type).length??0;return 0===m?null:s.jsx(r,{message:s.jsx(t,{defaultMessage:"{count, plural, one {# person} other {# people}} requested to join your team",id:"LgUo5X28bJ",values:{count:m}}),button:{children:s.jsx(t,{defaultMessage:"Review requests",id:"L7Vyuuco4h"}),href:"/settings/members",onLinkClick:c},onDismiss:i})});i.displayName="PendingRequestsBanner";export{i as PendingRequestsBanner};
