import{o as p,j as t,c2 as c}from"./app-BgLa5dit.js";import{B as d}from"./C0Fqgg75.chunk.js";import{R as l}from"./DufcUoVJ.chunk.js";import{U as x}from"./ZKp_vc-v.chunk.js";import{a as g}from"./m4aqaK_l.chunk.js";import{u as U}from"./DL8ott7R.chunk.js";import{C as a}from"./q-IBKcuF.chunk.js";import{g as f}from"./B1ElCHu3.chunk.js";import"./BTbZzD17.chunk.js";import"./MEkA24R1.chunk.js";import"./DpWmZ9cE.chunk.js";import"./DusGkY45.chunk.js";import"./DpUpv6rY.chunk.js";import"./CG7zbly5.chunk.js";import"./C53kfXmd.chunk.js";import"./B3eOBVf8.chunk.js";import"./3nM7jLnE.chunk.js";import"./CPXlV0fg.chunk.js";import"./DJ0pq8J_.chunk.js";import"./B82YbMjA.chunk.js";import"./D8ca7W7r.chunk.js";import"./0GREfvNX.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 K(r){var m;const{users:e,existingUsersHash:u}=U(),i=p(a.yearGroups(r.customerId)),n=p(a.getCustomerProducts(r.customerId)),s=f(r.customerId,r.userType);return i.data?t.jsx(x.Provider,{value:g.Primary,children:t.jsx(d,{appLinks:s,userType:r.userType,currentStep:"review-existing-accounts",canAddExistingUsers:!((m=n.data)!=null&&m.some(o=>o.id===c.Online)),children:t.jsx("div",{className:"px-3",children:t.jsx(l,{users:e,closePopup:r.closePopup,appLinks:s,userType:r.userType,yearGroups:i.data,existingUsers:e==null?void 0:e.filter(o=>!!u[o.lookupId])})})})}):t.jsx(t.Fragment,{})}export{K as BulkUserUploadReviewExistingAccountsView};
//# sourceMappingURL=BeGIP0UB.chunk.js.map
