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