1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2690],{64457:function(e,l,t){Promise.resolve().then(t.t.bind(t,90413,23)),Promise.resolve().then(t.t.bind(t,68326,23)),Promise.resolve().then(t.bind(t,15613)),Promise.resolve().then(t.bind(t,95492))},95492:function(e,l,t){"use strict";t.r(l),t.d(l,{default:function(){return LocationTabs}});var i=t(26705),s=t(19989),o=t(20955),r=t(65241),n=t(61865),a=t(15265);let c=[{value:"Hiring top talent for my portfolio company",label:"Hiring top talent for my portfolio company"},{value:"Iâm a candidate looking for new career opportunities",label:"Iâm a candidate looking for new career opportunities"},{value:"A career with the Lancer Group",label:"A career with the Lancer Group"}];function ContactForm(e){var l,t,s,d,x;let{titleForm:h,changeLocationTabs:m,addresses:u,selectedLocation:p,submitForm:f}=e,[g,b]=(0,o.useState)(!1),[v,w]=(0,o.useState)(!1),[L,j]=(0,o.useState)(!1),[V,H]=(0,o.useState)(null);(0,o.useEffect)(()=>{H(p)},[p]);let y=(u||[]).map(e=>({value:e.city,label:e.city,_id:e._id,lat:e.lat,long:e.long})),Z=p?{value:p.city,label:p.city,_id:p._id,lat:p.lat,long:p.long}:null,{register:C,handleSubmit:M,watch:N,reset:k,setValue:_,formState:{errors:q}}=(0,n.cI)(),onSubmit=async e=>{var l,t;e.office=null!==(t=null==V?void 0:V.city)&&void 0!==t?t:null,e.interestedIn=null==e?void 0:null===(l=e.interestedIn)||void 0===l?void 0:l.value,e.submission=e.email,b(!0),w(!1),j(!1);try{let l=await fetch("".concat(f),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});b(!1),200===l.status?(w(!0),k()):j(!0)}catch(e){b(!1)}};return(0,i.jsx)("div",{id:"contact-form",className:"relative z-10 font-body w-full py-lg lg:py-2xl h-full",children:(0,i.jsxs)("div",{className:"container",children:[(0,i.jsx)("h3",{className:"text-3xl xl:text-5xl 2xl:text-6xl font-light mb-12 lg:mb-16 w-full m-auto text-center max-w-[1070px]",children:h}),(0,i.jsxs)("form",{onSubmit:M(onSubmit),children:[(0,i.jsxs)("div",{className:"flex flex-col lg:flex-row gap-7 lg:gap-16 w-full mb-4 lg:mb-8",children:[(0,i.jsxs)("div",{className:"select-form w-full",children:[(0,i.jsx)("label",{className:"block mb-4 text-lg xl:text-xl font-light",children:"Location *"}),(0,i.jsx)(a.Z,{value:Z,onChange:e=>{if(e){let l=u.find(l=>l.city===e.value);l&&(m(l),H(l))}},options:y,primaryColor:""})]}),(0,i.jsxs)("div",{className:"select-form w-full",children:[(0,i.jsx)("label",{className:"block mb-4 text-lg xl:text-xl font-light",children:"Interested in *"}),(0,i.jsx)(a.Z,{options:c,primaryColor:"",...C("interestedIn",{required:!0}),value:N("interestedIn"),onChange:e=>_("interestedIn",e)}),(null===(l=q.interestedIn)||void 0===l?void 0:l.type)==="required"&&(0,i.jsxs)("div",{role:"alert",className:"flex items-center gap-2 mt-2 text-orange-600",children:[(0,i.jsx)(r.Z,{size:16}),"Interested value is required"]})]})]}),(0,i.jsx)("div",{className:"flex flex-col lg:flex-row gap-7 lg:gap-16 w-full mb-4 lg:mb-8",children:(0,i.jsxs)("div",{className:"w-full",children:[(0,i.jsx)("label",{className:"block mb-4 text-lg xl:text-xl font-light",htmlFor:"Name",children:"Name *"}),(0,i.jsx)("input",{type:"text",placeholder:"",className:"block w-full text-lg outline-none border-b border-formborder px-[15px] py-[3px] lg:py-[5px]",...C("name",{required:!0}),defaultValue:""}),(null===(t=q.name)||void 0===t?void 0:t.type)==="required"&&(0,i.jsxs)("div",{role:"alert",className:"flex items-center gap-2 mt-2 text-orange-600",children:[(0,i.jsx)(r.Z,{size:16}),"First Name is required"]})]})}),(0,i.jsxs)("div",{className:"flex flex-col lg:flex-row gap-7 lg:gap-16 w-full mb-4 lg:mb-8",children:[(0,i.jsxs)("div",{className:"w-full",children:[(0,i.jsx)("label",{className:"block mb-4 text-lg xl:text-xl font-light",htmlFor:"email",children:"Email Address *"}),(0,i.jsx)("input",{type:"email",placeholder:"",className:"block w-full text-lg outline-none border-b border-formborder px-[15px] py-[3px] lg:py-[5px]",...C("email",{required:!0}),defaultValue:""}),(null===(s=q.email)||void 0===s?void 0:s.type)==="required"&&(0,i.jsxs)("div",{role:"alert",className:"flex items-center gap-2 mt-2 text-orange-600",children:[(0,i.jsx)(r.Z,{size:16}),"Email Address is required"]})]}),(0,i.jsxs)("div",{className:"w-full",children:[(0,i.jsx)("label",{className:"block mb-4 text-lg xl:text-xl font-light",htmlFor:"phone",children:"Phone Number *"}),(0,i.jsx)("input",{type:"text",placeholder:"",className:"block w-full text-lg outline-none border-b border-formborder px-[15px] py-[3px] lg:py-[5px]",...C("phone",{required:!0}),defaultValue:""}),(null===(d=q.phone)||void 0===d?void 0:d.type)==="required"&&(0,i.jsxs)("div",{role:"alert",className:"flex items-center gap-2 mt-2 text-orange-600",children:[(0,i.jsx)(r.Z,{size:16}),"Phone Number is required"]})]})]}),(0,i.jsx)("div",{className:"flex flex-col lg:flex-row gap-7 lg:gap-16 w-full mb-4 lg:mb-8",children:(0,i.jsxs)("div",{className:"w-full",children:[(0,i.jsx)("label",{className:"block mb-4 text-lg xl:text-xl font-light",htmlFor:"company",children:"Company"}),(0,i.jsx)("input",{type:"text",placeholder:"",className:"block w-full text-lg outline-none border-b border-formborder px-[15px] py-[3px] lg:py-[5px]",...C("company"),defaultValue:""})]})}),(0,i.jsxs)("div",{className:"w-full mb-4 lg:mb-8",children:[(0,i.jsx)("label",{className:"block mb-4 text-lg xl:text-xl font-light",htmlFor:"message",children:"Message *"}),(0,i.jsx)("textarea",{placeholder:"",rows:1,className:"block w-full text-lg outline-none border-b border-formborder px-[15px] py-[3px] lg:py-[5px]",...C("message",{required:!0}),defaultValue:""}),(null===(x=q.message)||void 0===x?void 0:x.type)==="required"&&(0,i.jsxs)("div",{role:"alert",className:"flex items-center gap-2 mt-2 text-orange-600",children:[(0,i.jsx)(r.Z,{size:16}),"Message is required"]})]}),!!v&&(0,i.jsx)("h1",{className:"my-8 text-lg font-bold text-center text-green-600",children:"Thanks. Your message has been sent. We will be in touch shortly."}),!!L&&(0,i.jsx)("h1",{className:"my-8 text-lg font-bold text-center text-red-500",children:"Oops. There was a problem submitting your message. Please try again."}),(0,i.jsx)("button",{type:"submit",className:"flex justify-center w-full",disabled:!!g,children:(0,i.jsx)("div",{className:"primairy-btn contact-btn relative z-10 uppercase flex pl-[5px] pr-[5px] justify-center h-[52px] items-center w-[225px] xl:w-[280px] text-lg xl:text-xl font-bold overflow-hidden bg-highlight text-white transition-all before:absolute before:bottom-0 before:left-0 before:top-0 before:z-0 before:h-full before:w-0 before:bg-redhoover before:transition-all before:duration-500 hover:shadow-red-500 hover:before:left-0 hover:before:w-full",children:(0,i.jsx)("span",{className:"relative z-10",children:g?"Sending...":"SEND MESSAGE"})})})]})]})})}let d={marks:{color:e=>{var l;let{children:t,value:s}=e;return(0,i.jsx)("span",{style:{color:null!==(l=null==s?void 0:s.hex)&&void 0!==l?l:"inherit"},children:t})}}};function LocationTabs(e){let{addresses:l,titleForm:t,submitForm:r,privacyTerms:n}=e,[a,c]=(0,o.useState)(null),setActiveLocation=e=>{c(e===a?null:e)};(0,o.useEffect)(()=>{l.length>0&&c(l[0])},[l]);let scrollToContactForm=()=>{let e=document.getElementById("contact-form");e&&e.scrollIntoView({behavior:"smooth"})};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"hidden lg:block font-body w-full bg-transparent relative z-10",children:(0,i.jsx)("div",{className:"grid grid-cols-2 xl:grid-cols-4",children:null==l?void 0:l.map((e,l)=>(0,i.jsxs)("div",{className:"flex flex-col justify-center gap-4 xl:gap-8 min-h-[403px] pt-[30px] px-[50px] border-b border-r border-lightgrey transition-all duration-500 hover:bg-highlight group cursor-pointer ".concat(e._id===(null==a?void 0:a._id)?"bg-highlight text-white":""),onClick:()=>setActiveLocation(e),children:[(0,i.jsx)("span",{className:"text-xlg xl:text-2xl 2xl:text-3xl uppercase font-bold group-hover:text-white",children:e.city}),(0,i.jsx)("span",{className:"text-lg font-light group-hover:text-white min-h-[70px]",children:e.address}),(0,i.jsx)("a",{href:"tel:".concat(e.phone),className:"block font-bold text-xlg group-hover:text-white",children:e.phone}),(0,i.jsx)("div",{onClick:scrollToContactForm,className:"flex justify-center items-center w-[50px] h-[50px] 2xl:w-[70px] 2xl:h-[70px] rounded-full bg-white opacity-0 group-hover:opacity-100 ".concat(e._id===(null==a?void 0:a._id)?"opacity-100":""),children:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"34",viewBox:"0 0 33 34",fill:"none",className:"w-[25px] 2xl:w-[33px]",children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.125 25.3308H6.875C6.11737 25.3308 5.5 24.7024 5.5 23.9282V10.2532L15.675 18.0374C15.9198 18.2254 16.2099 18.3179 16.5 18.3179C16.7901 18.3179 17.0803 18.2254 17.325 18.0374L27.5 10.2532V23.9282C27.5 24.7024 26.8826 25.3308 26.125 25.3308ZM25.2079 8.49996L16.5 15.1622L7.79213 8.49996H25.2079ZM26.125 5.69482H6.875C4.60075 5.69482 2.75 7.58268 2.75 9.90253V23.9282C2.75 26.2481 4.60075 28.1359 6.875 28.1359H26.125C28.3993 28.1359 30.25 26.2481 30.25 23.9282V9.90253C30.25 7.58268 28.3993 5.69482 26.125 5.69482Z",fill:"black"}),(0,i.jsx)("path",{d:"M5.5 10.2532L5.80381 9.85606L5 9.24111V10.2532H5.5ZM15.675 18.0374L15.9795 17.6409L15.9788 17.6403L15.675 18.0374ZM17.325 18.0374L17.0212 17.6403L17.0205 17.6409L17.325 18.0374ZM27.5 10.2532H28V9.24111L27.1962 9.85606L27.5 10.2532ZM25.2079 8.49996L25.5117 8.89707L26.6843 7.99996H25.2079V8.49996ZM16.5 15.1622L16.1962 15.5593L16.5 15.7917L16.8038 15.5593L16.5 15.1622ZM7.79213 8.49996V7.99996H6.31574L7.48831 8.89707L7.79213 8.49996ZM26.125 24.8308H6.875V25.8308H26.125V24.8308ZM6.875 24.8308C6.40251 24.8308 6 24.4354 6 23.9282H5C5 24.9695 5.83224 25.8308 6.875 25.8308V24.8308ZM6 23.9282V10.2532H5V23.9282H6ZM5.19619 10.6503L15.3712 18.4345L15.9788 17.6403L5.80381 9.85606L5.19619 10.6503ZM15.3705 18.434C15.7051 18.691 16.103 18.8179 16.5 18.8179V17.8179C16.3168 17.8179 16.1344 17.7598 15.9795 17.6409L15.3705 18.434ZM16.5 18.8179C16.897 18.8179 17.2949 18.691 17.6295 18.434
1L17.0205 17.6409C16.8656 17.7598 16.6832 17.8179 16.5 17.8179V18.8179ZM17.6288 18.4345L27.8038 10.6503L27.1962 9.85606L17.0212 17.6403L17.6288 18.4345ZM27 10.2532V23.9282H28V10.2532H27ZM27 23.9282C27 24.4354 26.5975 24.8308 26.125 24.8308V25.8308C27.1678 25.8308 28 24.9695 28 23.9282H27ZM24.9041 8.10285L16.1962 14.7651L16.8038 15.5593L25.5117 8.89707L24.9041 8.10285ZM16.8038 14.7651L8.09594 8.10285L7.48831 8.89707L16.1962 15.5593L16.8038 14.7651ZM7.79213 8.99996H25.2079V7.99996H7.79213V8.99996ZM26.125 5.19482H6.875V6.19482H26.125V5.19482ZM6.875 5.19482C4.3153 5.19482 2.25 7.31594 2.25 9.90253H3.25C3.25 7.84942 4.8862 6.19482 6.875 6.19482V5.19482ZM2.25 9.90253V23.9282H3.25V9.90253H2.25ZM2.25 23.9282C2.25 26.5148 4.3153 28.6359 6.875 28.6359V27.6359C4.8862 27.6359 3.25 25.9813 3.25 23.9282H2.25ZM6.875 28.6359H26.125V27.6359H6.875V28.6359ZM26.125 28.6359C28.6847 28.6359 30.75 26.5148 30.75 23.9282H29.75C29.75 25.9813 28.1138 27.6359 26.125 27.6359V28.6359ZM30.75 23.9282V9.90253H29.75V23.9282H30.75ZM30.75 9.90253C30.75 7.31594 28.6847 5.19482 26.125 5.19482V6.19482C28.1138 6.19482 29.75 7.84942 29.75 9.90253H30.75Z",fill:"white"})]})})]},l))})}),(0,i.jsx)("div",{className:"lg:hidden w-full relative z-10",children:l.map((e,l)=>(0,i.jsxs)("div",{className:"border-b border-lightgrey transition-all duration-500 ".concat(e._id===(null==a?void 0:a._id)?"bg-highlight":"bg-transparent"),children:[(0,i.jsxs)("button",{className:"w-full flex justify-between items-center text-xlg py-[40px] px-[16px] text-left font-bold focus:outline-none ".concat(e._id===(null==a?void 0:a._id)?"text-white":"text-black"),onClick:()=>setActiveLocation(e),children:[e.city,(0,i.jsx)("div",{className:"flex justify-center items-center min-w-[48px] h-[48px] rounded-full bg-whitesmoke",children:e._id===(null==a?void 0:a._id)?(0,i.jsx)("svg",{width:"14",height:"2",viewBox:"0 0 14 2",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M7.94444 0.059082H14V1.9405H7.94444H6.05556H0V0.059082H6.05556H7.94444Z",fill:"black"})}):(0,i.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M7.94444 6.05929H14V7.94071H7.94444V14H6.05555V7.94071H0V6.05929H6.05555V0H7.94444V6.05929Z",fill:"black"})})})]}),(0,i.jsxs)("div",{className:"overflow-hidden transition-all duration-500 px-[16px] ".concat(e._id===(null==a?void 0:a._id)?"max-h-[1000px]":"max-h-0"),children:[(0,i.jsx)("p",{className:"text-lg text-white font-light mb-5",children:e.address}),(0,i.jsx)("a",{href:"tel:858-551-1001",className:"block text-white font-bold text-xl mb-7",children:e.phone}),(0,i.jsx)("div",{onClick:scrollToContactForm,className:"flex text-white justify-center items-center w-[70px] h-[70px] rounded-full bg-white mb-7",children:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"34",viewBox:"0 0 33 34",fill:"none",children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.125 25.3308H6.875C6.11737 25.3308 5.5 24.7024 5.5 23.9282V10.2532L15.675 18.0374C15.9198 18.2254 16.2099 18.3179 16.5 18.3179C16.7901 18.3179 17.0803 18.2254 17.325 18.0374L27.5 10.2532V23.9282C27.5 24.7024 26.8826 25.3308 26.125 25.3308ZM25.2079 8.49996L16.5 15.1622L7.79213 8.49996H25.2079ZM26.125 5.69482H6.875C4.60075 5.69482 2.75 7.58268 2.75 9.90253V23.9282C2.75 26.2481 4.60075 28.1359 6.875 28.1359H26.125C28.3993 28.1359 30.25 26.2481 30.25 23.9282V9.90253C30.25 7.58268 28.3993 5.69482 26.125 5.69482Z",fill:"black"}),(0,i.jsx)("path",{d:"M5.5 10.2532L5.80381 9.85606L5 9.24111V10.2532H5.5ZM15.675 18.0374L15.9795 17.6409L15.9788 17.6403L15.675 18.0374ZM17.325 18.0374L17.0212 17.6403L17.0205 17.6409L17.325 18.0374ZM27.5 10.2532H28V9.24111L27.1962 9.85606L27.5 10.2532ZM25.2079 8.49996L25.5117 8.89707L26.6843 7.99996H25.2079V8.49996ZM16.5 15.1622L16.1962 15.5593L16.5 15.7917L16.8038 15.5593L16.5 15.1622ZM7.79213 8.49996V7.99996H6.31574L7.48831 8.89707L7.79213 8.49996ZM26.125 24.8308H6.875V25.8308H26.125V24.8308ZM6.875 24.8308C6.40251 24.8308 6 24.4354 6 23.9282H5C5 24.9695 5.83224 25.8308 6.875 25.8308V24.8308ZM6 23.9282V10.2532H5V23.9282H6ZM5.19619 10.6503L15.3712 18.4345L15.9788 17.6403L5.80381 9.85606L5.19619 10.6503ZM15.3705 18.434C15.7051 18.691 16.103 18.8179 16.5 18.8179V17.8179C16.3168 17.8179 16.1344 17.7598 15.9795 17.6409L15.3705 18.434ZM16.5 18.8179C16.897 18.8179 17.2949 18.691 17.6295 18.434
1L17.0205 17.6409C16.8656 17.7598 16.6832 17.8179 16.5 17.8179V18.8179ZM17.6288 18.4345L27.8038 10.6503L27.1962 9.85606L17.0212 17.6403L17.6288 18.4345ZM27 10.2532V23.9282H28V10.2532H27ZM27 23.9282C27 24.4354 26.5975 24.8308 26.125 24.8308V25.8308C27.1678 25.8308 28 24.9695 28 23.9282H27ZM24.9041 8.10285L16.1962 14.7651L16.8038 15.5593L25.5117 8.89707L24.9041 8.10285ZM16.8038 14.7651L8.09594 8.10285L7.48831 8.89707L16.1962 15.5593L16.8038 14.7651ZM7.79213 8.99996H25.2079V7.99996H7.79213V8.99996ZM26.125 5.19482H6.875V6.19482H26.125V5.19482ZM6.875 5.19482C4.3153 5.19482 2.25 7.31594 2.25 9.90253H3.25C3.25 7.84942 4.8862 6.19482 6.875 6.19482V5.19482ZM2.25 9.90253V23.9282H3.25V9.90253H2.25ZM2.25 23.9282C2.25 26.5148 4.3153 28.6359 6.875 28.6359V27.6359C4.8862 27.6359 3.25 25.9813 3.25 23.9282H2.25ZM6.875 28.6359H26.125V27.6359H6.875V28.6359ZM26.125 28.6359C28.6847 28.6359 30.75 26.5148 30.75 23.9282H29.75C29.75 25.9813 28.1138 27.6359 26.125 27.6359V28.6359ZM30.75 23.9282V9.90253H29.75V23.9282H30.75ZM30.75 9.90253C30.75 7.31594 28.6847 5.19482 26.125 5.19482V6.19482C28.1138 6.19482 29.75 7.84942 29.75 9.90253H30.75Z",fill:"white"})]})})]})]},l))}),(0,i.jsx)(ContactForm,{titleForm:t,changeLocationTabs:setActiveLocation,addresses:l,selectedLocation:a,submitForm:r}),(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"typography py-sm w-full text-center",children:(0,i.jsx)(s.YI,{value:n,components:d})})})]})}},15613:function(e,l,t){"use strict";t.r(l),l.default={src:"/_next/static/media/HeroVector.ad33615b.svg",height:3107,width:1778,blurWidth:0,blurHeight:0}}},function(e){e.O(0,[8326,413,9989,7411,5265,4121,5290,1744],function(){return e(e.s=64457)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.