import{r as o,j as r}from"./vendor-react-Dp9pL_Wn.js";import{M as e}from"./vendor-intl-D2wGIp4M.js";import{i as s,j as t}from"./c2ee0272b-DPDuX889.js";import{G as i}from"./index-XoaBlZfC.js";import"./vendor-base-5_f7mmWg.js";import"./vendor-ant-cds-BLsR_p72.js";import"./vendor-base-ui-N1VQ4ctE.js";import"./vendor-radix-Dv3qPI0v.js";import"./vendor-virtual-DRz8lJfQ.js";import"./vendor-zod-B8MhECV7.js";import"./vendor-zustand-BeF8W8xk.js";import"./vendor-icons-DGChWNxR.js";import"./vendor-lodash-BvMLws5K.js";import"./vendor-router-qG5OCEmI.js";import"./vendor-query-CRl6sF7K.js";import"./vendor-zod-v3-CZy0YPWu.js";import"./vendor-motion-EDlUw66k.js";import"./vendor-luxon-CZxT8ieM.js";import"./vendor-infra-DayZK7Ds.js";import"./vendor-growthbook-HDTqppl-.js";import"./c9a5287df-D_Z7ffFR.js";import"./c51e217b4-CQax1dv1.js";import"./c627fcdb6-1_bsVTpt.js";const n=o.memo(({onDismiss:n,onAction:m})=>{const{data:d}=s(),a=t(),j=o.useCallback(()=>{m()},[m]),p=d?.filter(o=>"join_org"===o.request_type).length??0;return 0===p||a?null:r.jsx(i,{message:r.jsx(e,{defaultMessage:"{count, plural, one {# person} other {# people}} requested to join your team",id:"LgUo5X28bJ",values:{count:p}}),button:{children:r.jsx(e,{defaultMessage:"Review requests",id:"L7Vyuuco4h"}),href:"/admin-settings/members",onLinkClick:j},onDismiss:n})});export{n as PendingRequestsBanner};
