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