import{aI as i,ax as u,e9 as c,ao as t,aq as f,cb as l}from"./app-k0jcl5PQ.js";import{B as m}from"./9ic7OkpL.chunk.js";import{I as h}from"./DXJ2-V8v.chunk.js";import{W as d}from"./2FvGdRks.chunk.js";const g="userManager.bulkUserActionsConfirmationUserList";function w(e){const n=i.useRef(null),[,r]=u(c.BULK_USER_ACTIONS);i.useEffect(()=>{var s;r("scrollContainer",(s=n.current)==null?void 0:s.view)},[n.current]);const a=i.useMemo(()=>{var s;return(s=e.statuses)!=null&&s.length?e.users.filter(o=>e.statuses.includes(o.status)):e.users},[e.users]);return t.jsxs(t.Fragment,{children:[t.jsx("h3",{className:"h6 mt-3",children:t.jsx(f,{namespace:g,phrase:e.userType===l.Staff?"headingStaff":"headingStudents",options:{smartCount:e.userCount}})}),t.jsx(d,{tableHeightOffset:e.tableHeightOffset,items:a,rowHeight:55,ref:n,getComponent:s=>t.jsx(m,{user:s,userType:e.userType,imageCdnUrl:e.imageCdnUrl},s.id),staticComponentBelowRows:t.jsx(t.Fragment,{children:(e.hasMore||e.isFetching)&&t.jsx(h,{isFetching:e.isFetching,fetchNext:e.fetchNext})})})]})}export{w as B};
//# sourceMappingURL=kkYLrCf4.chunk.js.map
