import{u as A,aP as y,j as m,bZ as C,aQ as U,g as k}from"./app-BgLa5dit.js";import{B as T}from"./Ci4KasOO.chunk.js";import{B as a}from"./DpUpv6rY.chunk.js";import{A as B}from"./q-IBKcuF.chunk.js";import{J as I}from"./DfIMhO3y.chunk.js";import{B as S}from"./CHg-RKg9.chunk.js";import{u as b}from"./fZ5oUMOc.chunk.js";import{u as x}from"./uQrcROFB.chunk.js";import{g as J}from"./B1ElCHu3.chunk.js";import"./CZah41G2.chunk.js";import"./KPdA3ghp.chunk.js";import"./D8ca7W7r.chunk.js";import"./BXi1HfY0.chunk.js";import"./C16qNPRj.chunk.js";import"./CetbvyBn.chunk.js";import"./CZyx6Aii.chunk.js";import"./CG7zbly5.chunk.js";import"./m4aqaK_l.chunk.js";import"./MEkA24R1.chunk.js";import"./C53kfXmd.chunk.js";import"./DUpYPoLs.chunk.js";import"./EZim8aq-.chunk.js";import"./BD9MrUJP.chunk.js";import"./s6cGcwlA.chunk.js";import"./Zwjmkasg.chunk.js";import"./4qGb1BIY.chunk.js";import"./DnXDEnAR.chunk.js";import"./Dr5_kWYc.chunk.js";import"./DJ0pq8J_.chunk.js";import"./BUT90D7O.chunk.js";import"./CCcwLDvu.chunk.js";import"./DDfKZ_ng.chunk.js";import"./BxYybc33.chunk.js";import"./DkDkjje4.chunk.js";import"./B3eOBVf8.chunk.js";import"./3nM7jLnE.chunk.js";import"./CPXlV0fg.chunk.js";import"./DusGkY45.chunk.js";import"./8Im-OACs.chunk.js";import"./g56uS58q.chunk.js";function dr(r){const{users:o,count:u,isFetching:n,hasMore:p,fetchNext:c}=b(r.customerId,r.userType),[i]=A(C.BULK_USER_ACTIONS),t=x({userType:r.userType,field:B.UserProfilesStatus,customerId:r.customerId}),l=y(),s=J(r.customerId,r.userType),f=a.useCreateJobErrorAlert();function g(){if(!i)return;const e=a.getCreateJobRequestData(i,r.customerId,r.userType);U(l,I.createJob(e,d,f))}function d(e){k.trigger({...s.bulkActionsStatus.polling,params:{userType:r.userType,jobId:e.id}})}const h=!!t;return m.jsx(S,{customerId:r.customerId,appLinks:s,userType:r.userType,users:o,currentStep:"confirmation",userCount:u,loaded:h,children:!!t&&m.jsx(T,{users:o,imageCdnUrl:ClickView.Config.Urls.ImageAPI,hasMoreUsers:p,isFetchingUsers:n,fetchNextUserPage:c,userType:r.userType,onClickConfirm:g,countsByStatus:t})})}export{dr as BulkUserActionsRemoveFromSchoolConfirmationView};
//# sourceMappingURL=DFBuEEMy.chunk.js.map
