import{j as s}from"./vendor-mui-69397583.js";import{u as n,r as c}from"./vendor-react-ece1c85f.js";import"./index-c62ac197.js";import{A as d}from"./AdaptableCard-df7695d6.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-pdf-b2a5d8b1.js";import"./vendor-devex-33a39e11.js";import"./vendor-i18n-2fcb1983.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-eccea5d1.js";const v=m=>{var e;const{state:r}=n(),i=r==null?void 0:r.leadData;r!=null&&r.leadMeetings;const[h,l]=c.useState(0);return c.useEffect(()=>{i&&l(i.leadStatusId===1||i.leadStatusId===6?0:i.leadStatusId===5?1:2)},[i]),s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"topbar py-4 px-6 border-gray-200 border-b",children:s.jsx("div",{className:"lg:flex items-center justify-between",children:s.jsx("h3",{className:"mb-4 lg:mb-0",children:"Map Detail"})})}),s.jsx(d,{className:"m-6 h-full py-4 px-6 bg-transparent",bodyClass:"h-full",children:s.jsxs(d,{className:"py-4 px-6",children:[s.jsx("h3",{className:"mt-2 mtb-2 lg:mb-0",children:"Details"}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-4 py-1",children:[s.jsxs("div",{className:"mb-3",children:[s.jsx("p",{children:"Owner"}),s.jsx("h6",{children:i==null?void 0:i.leadName})]}),s.jsxs("div",{className:"mb-3",children:[s.jsx("p",{children:"Source"}),s.jsx("h6",{children:i==null?void 0:i.leadSource})]})]}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-4 py-1",children:[s.jsxs("div",{className:"mb-3",children:[s.jsx("p",{children:"Company"}),s.jsx("h6",{children:i==null?void 0:i.accountName})]}),s.jsxs("div",{className:"mb-3",children:[s.jsx("p",{children:"Website"}),s.jsx("h6",{children:i==null?void 0:i.website})]})]}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-4 py-1",children:[s.jsxs("div",{className:"mb-3",children:[s.jsx("p",{children:"Designation"}),s.jsx("h6",{children:(e=i==null?void 0:i.contactPosistion)==null?void 0:e.positionName})]}),s.jsxs("div",{className:"mb-3",children:[s.jsx("p",{children:"Email"}),s.jsx("h6",{children:i==null?void 0:i.contactEmail})]})]}),s.jsx("div",{className:"grid md:grid-cols-2 gap-4 py-1",children:s.jsxs("div",{className:"mb-3",children:[s.jsx("p",{children:"Phone"}),s.jsx("h6",{children:i==null?void 0:i.contactNumber})]})}),s.jsx("hr",{}),s.jsx("div",{className:"grid md:grid-cols-2 gap-4 py-1",children:s.jsxs("div",{className:"mb-3",children:[s.jsx("p",{children:"Address"}),s.jsxs("h6",{children:[i==null?void 0:i.address,", ",i==null?void 0:i.state,", ",i==null?void 0:i.city,", ",i==null?void 0:i.zip]})]})}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-4 py-1",children:[s.jsxs("div",{className:"mb-3",children:[s.jsx("p",{children:"Industry"}),s.jsx("h6",{children:i==null?void 0:i.industry})]}),s.jsxs("div",{className:"mb-3",children:[s.jsx("p",{children:"No Of Employees"}),s.jsx("h6",{children:i==null?void 0:i.noOfEmployees})]})]}),s.jsx("hr",{}),s.jsx("div",{className:"grid md:grid-cols-2 gap-4 py-1",children:s.jsx("div",{className:"mb-3",children:s.jsx("h6",{children:"Business Card"})})})]})})]})};export{v as default};
