import{G as J,j as e,d as O,M as Y,r as a,B as p,C as U,H as q}from"./index-5EzIKamN.js";import{a as V}from"./index-CJMgEPx1.js";import{C as Z}from"./counter-CIZzcNzl.js";import _ from"./getintouch-C72VConf.js";import K from"./fixation-B-YIQ0ms.js";function X(s){return J({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"},child:[]}]})(s)}const E="/assets/banner-klhO9vy8.webp",Q=()=>e.jsxs("div",{className:"container-fluid mx-auto py-7 px-4 md:px-20 bg-[#ebf4ff] shadow-xl",children:[e.jsx("div",{className:"flex flex-col items-center ",children:e.jsx("h5",{className:"capitalize relative text-black font-semibold text-2xl leading-tight tracking-tight text-center",children:"Add become part of our fleet community"})}),e.jsx("div",{className:"flex flex-wrap justify-center mt-7",children:O.whyjoin.map(s=>e.jsx("div",{className:"w-full sm:w-1/3 p-4",children:e.jsx("div",{className:`box featured relative flex flex-col h-full justify-between p-4 rounded-lg shadow-md`,style:{backgroundColor:"#ffff"},children:e.jsxs("div",{className:"flex flex-col items-center mb-3 text-center",children:[e.jsx("link",{rel:"preload",href:s.image,as:"image",type:"image/webp"}),e.jsx("img",{src:s.image,className:"object-cover",width:50,alt:s.title}),e.jsx("h2",{className:"text-black font-semibold text-lg mt-4",children:s.title}),e.jsx("span",{className:"text-[#494a4d] font-normal text-sm mt-1 leading-tight tracking-tight p-2",children:s.description})]})})},s.id))})]}),ee=({isOpen:s,onClose:d,children:m})=>s?e.jsx("div",{className:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",children:e.jsxs("div",{className:"bg-white rounded-lg shadow-lg w-11/12 md:w-6/12 relative max-h-full overflow-auto",children:[e.jsx("button",{className:"absolute top-2 right-2 text-black hover:text-red-500",onClick:d,"aria-label":"Close modal",children:e.jsx(Y,{size:24,className:"text-white"})}),e.jsx("div",{className:"",children:m})]})}):null,C="/assets/group-B2bR39H5.webp",se=({isFormVisible:s,setIsFormVisible:d})=>{const[m,x]=a.useState(!1),[u,b]=a.useState(!1),h=()=>{x(!0),d(!1)},j=()=>{x(!1)},g=()=>{d(!0)},[i,w]=a.useState({firstName:"",lastName:"",email:"",phoneNumber:localStorage.getItem("phoneNumber")||"",state:""}),[D,N]=a.useState({}),f=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,v=/^\d{10}$/,y=()=>{const t={};return i.firstName.trim()||(t.firstName="First name is required."),i.lastName.trim()||(t.lastName="Last name is required."),(!i.email.trim()||!f.test(i.email))&&(t.email="Please enter a valid email address.",(!i.phoneNumber.trim()||!v.test(i.phoneNumber))&&(t.phone="Please enter a valid 10-digit phone number.")),i.state.trim()||(t.state="State is required."),N(t),Object.keys(t).length===0},k=async t=>{if(t.preventDefault(),y()){b(!0);try{const l=await fetch("https://api.wishgeeks.com/partner/submit",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)}),r=await l.json();l.ok?(p.success("Form submitted successfully!"),x(!1),w({firstName:"",lastName:"",email:"",phone:"",state:""})):p.error(r.message||"Error submitting the form.")}catch{p.error("An error occurred. Please try again later.")}finally{b(!1)}}},c=t=>{const{name:l,value:r}=t.target;w({...i,[l]:r})},S=[{name:"Alabama"},{name:"Alaska"},{name:"Arizona"},{name:"California"},{name:"New York"}];return e.jsx(e.Fragment,{children:e.jsx("div",{className:"container mx-auto py-7 px-4 md:px-20 bg-[#fcfcff]",children:O.joinData.map((t,l)=>e.jsxs("div",{children:[e.jsx("div",{className:"flex flex-col items-center",children:e.jsx("h5",{className:"relative text-black font-semibold text-2xl leading-tight tracking-tight text-center",children:t.heading})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mt-6",children:[e.jsx("div",{children:e.jsx("img",{src:t.images[0].src,alt:t.images[0].alt,className:"w-full md:w-9/12 h-auto object-cover"})}),e.jsx("div",{children:e.jsx("img",{src:t.images[1].src,alt:t.images[1].alt,className:"w-full h-auto object-cover"})})]}),e.jsx("div",{className:"flex justify-center items-center mt-6",children:e.jsx("div",{className:"w-full sm:w-4/12 md:w-3/12",children:e.jsx("button",{className:"p-3 font-bold flex items-center rounded-full justify-center cursor-pointer bg-white border border-blue-500 w-full text-[16px] sm:text-[18px] md:text-[18px] mt-5 md:mt-0 buttonhov",onClick:h,children:e.jsx("span",{className:"",children:t.buttonText})})})}),e.jsx(ee,{isOpen:m,onClose:j,children:s?e.jsxs(e.Fragment,{children:[e.jsx("link",{rel:"preload",href:C,as:"image",type:"image/webp"}),e.jsxs("div",{className:"relative bg-transparent md:bg-contain bg-no-repeat bg-center w-full h-full bgroup",style:{backgroundImage:`url(${C})`,maxHeight:"100%"},"aria-label":"Banner Image",children:[e.jsx("button",{className:"absolute top-3 right-3 font-bold text-white text-[20px] px-3 py-1",onClick:j,children:e.jsx(V,{})}),e.jsx("h2",{className:"border border-blue-500 rounded-lg p-4 font-semibold flex items-center justify-center cursor-pointer bg-blue-500 text-white w-full texl-base md:text-xl",children:"Wish Geeks - Technician Application"}),e.jsxs("form",{className:"p-0 mt-10",onSubmit:k,children:[e.jsxs("div",{class:"flex flex-wrap justify-center gap-2 mt-5 md:mt-1 2xl:mt-4",children:[e.jsxs("div",{class:"w-full md:w-[25%] 2xl:w-[20%] md:me-5 me-0 md:px-0 px-3 ",children:[e.jsx("label",{class:"block text-sm font-medium text-gray-700",children:"First Name"}),e.jsx("input",{type:"text",name:"firstName",value:i.firstName,onChange:c,class:"block w-full border-[1px] border-[#93C3FD] rounded-md py-2 pl-2 focus:border-blue-500 transition-colors duration-300 focus:outline-none focus:ring-0"})]}),e.jsxs("div",{class:"w-full md:w-[25%] 2xl:w-[20%] md:px-0 px-3",children:[e.jsx("label",{class:"block text-sm font-medium text-gray-700",children:"Last Name"}),e.jsx("input",{type:"text",name:"lastName",value:i.lastName,onChange:c,class:"block w-full border-[1px] border-[#93C3FD] rounded-md py-2 pl-2 focus:border-blue-500 transition-colors duration-300 focus:outline-none focus:ring-0"})]})]}),e.jsx("div",{class:"flex justify-center items-center mt-2",children:e.jsxs("div",{class:"w-full md:w-[50%] 2xl:w-[41%] md:me-4 me-0 md:px-0 px-3 2xl:mt-2",children:[e.jsx("label",{class:"block text-sm font-medium text-gray-700",children:"Email Id"}),e.jsx("input",{type:"email",name:"email",value:i.email,onChange:c,class:"block w-full border-[1px] border-[#93C3FD] rounded-md py-2 pl-2 focus:border-blue-500 transition-colors duration-300 focus:outline-none focus:ring-0"})]})}),e.jsx("div",{class:"flex justify-center items-center mt-3",children:e.jsxs("div",{class:"w-full md:w-[50%] 2xl:w-[41%] md:me-4 me-0 md:px-0 px-3 2xl:mt-2",children:[e.jsx("label",{class:"block text-sm font-medium text-gray-700",children:"Phone Number"}),e.jsx("input",{type:"text",name:"phoneNumber",value:i.phoneNumber,onChange:c,maxLength:"10",class:"block w-full border-[1px] border-[#93C3FD] rounded-md py-2 pl-2 focus:border-blue-500 transition-colors duration-300 focus:outline-none focus:ring-0"})]})}),e.jsx("div",{class:"flex mt-3 justify-center items-center",children:e.jsx("div",{class:"w-full md:w-[50%] 2xl:w-[41%] md:me-4 me-0 md:px-0 px-3 mt-2 md:mt-0 2xl:mt-2",children:e.jsx("div",{class:"relative",children:e.jsxs("select",{name:"state",value:i.state,onChange:c,className:"block w-full border-[1px] border-[#93C3FD] rounded-md py-2 pl-2 focus:border-blue-500 transition-colors duration-300 focus:outline-none focus:ring-0",children:[e.jsx("option",{value:"",disabled:!0,children:"Select a state"}),S.map((r,F)=>e.jsx("option",{value:r.name,children:r.name},F))]})})})}),e.jsx("div",{className:"flex justify-center items-center w-full mt-5 pb-5 md:mt-3 md:pb-0",children:e.jsx("div",{children:e.jsx("button",{type:"submit",className:"px-4 py-2 bg-blue-500 text-white w-[200px] rounded-md hover:bg-blue-600 transition items-center justify-center",disabled:u,children:u?e.jsxs("span",{className:"flex items-center justify-center",children:[e.jsxs("svg",{className:"animate-spin h-5 w-5 mr-3 text-white",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[e.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),e.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0z"})]}),"Submitting..."]}):"Submit"})})})]})]})]}):e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"border border-blue-500 rounded-lg p-4 font-semibold flex items-center justify-center cursor-pointer bg-blue-500 text-white w-full texl-base md:text-xl",children:"Wish Geeks - Technician Application"}),e.jsx("link",{rel:"preload",href:C,as:"image",type:"image/webp"}),e.jsx("div",{className:"relative bg-transparent md:bg-contain bg-no-repeat bg-center w-full h-full bgroup",style:{backgroundImage:`url(${C})`,maxHeight:"100%"},"aria-label":"Banner Image",children:e.jsxs("div",{className:"container",children:[e.jsxs("div",{class:"flex flex-col items-start justify-center ml-0 w-full md:ml-28 md:w-[400px] 2xl:w-6/12 2xl:ml-[230px] md:p-3 p-2 ",children:[e.jsx("h2",{class:"text-black font-medium text-base mt-0 md:mt-9 2xl:text-xl py-7",children:"Become a Technician Today"}),e.jsx("p",{class:"text-black text-[13px] 2xl:text-sm leading-5",children:"A nationwide on-demand tech assistance platform is Wish Geeks. Wish Geeks offers reasonably priced, same-day on-site technical support services, including setups, installations, repairs, and troubleshooting..."})]}),e.jsxs("div",{class:"flex flex-col items-start justify-center ml-0 w-full md:ml-28 md:w-[400px] 2xl:w-6/12 2xl:ml-[230px] md:p-3 p-2 ",children:[e.jsx("h2",{class:"text-black font-medium text-base 2xl:text-xl",children:"Why Become a Technician?"}),e.jsxs("ul",{class:"list-disc pl-3 text-black text-[13px] leading-5 2xl:leading-loose 2xl:text-sm 2xl:mt-3",children:[e.jsx("li",{children:"Set up Your Own Timetable ⰠWork when and how you choose..."}),e.jsx("li",{children:"Receive Weekly Payment 💰 Techs make more than $50 each task..."}),e.jsx("li",{children:"Come Aboard the Community 🙌 Develop your network..."})]})]}),e.jsx("div",{className:"flex justify-center items-center w-full py-4",children:e.jsx("div",{className:"w-6/12 2xl:w-2/12",children:e.jsx("button",{type:"submit",onClick:g,className:"border border-blue-500 rounded-lg p-2 font-semibold bg-blue-500 text-white w-full",children:"Next"})})})]})})]})})]},l))})})},P="/assets/cl-2KvchRr_.gif",T="/assets/technician-CSLyXZm3.webp",A="/assets/support-CQkDxrFz.webp",L="/assets/watching-BK-XzsnH.webp",R="/assets/price-BEocs8YB.webp",te=()=>e.jsxs("div",{className:"container mx-auto py-7 px-4 md:px-20 bg-[#fcfcff]",children:[e.jsx("div",{className:"flex flex-col items-center",children:e.jsx("h5",{className:"text-black font-semibold text-2xl leading-8 tracking-tight px-5 text-center py-7 w-full md:w-6/12",children:"Wish Geeks raising your value proposition in a seamless manner."})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-6 py-5",children:[e.jsx("div",{className:"md:col-span-7 flex items-center justify-center",children:e.jsxs("ul",{children:[e.jsxs("li",{className:"flex items-center mb-4 text-xl md:text-2xl font-medium",children:[e.jsx("link",{rel:"preload",href:T,as:"image",type:"image/webp"}),e.jsx("img",{src:T,className:"object-cover w-[50px] md:w-[70px] mr-4",alt:"Technician"}),e.jsx("span",{children:"On-demand access to our best-in-class technician network"})]}),e.jsxs("li",{className:"flex items-center mb-4 text-xl md:text-2xl font-medium",children:[e.jsx("link",{rel:"preload",href:A,as:"image",type:"image/webp"}),e.jsx("img",{src:A,className:"object-cover w-[50px] md:w-[70px] mr-4",alt:"Support"}),e.jsx("span",{children:"Dedicated Partner Fleet Support"})]}),e.jsxs("li",{className:"flex items-center mb-4 text-xl md:text-2xl font-medium",children:[e.jsx("link",{rel:"preload",href:L,as:"image",type:"image/webp"}),e.jsx("img",{src:L,className:"object-cover w-[50px] md:w-[70px] mr-4",alt:"Visibility"}),e.jsx("span",{children:"Total Visibility"})]}),e.jsxs("li",{className:"flex items-center mb-4 text-xl md:text-2xl font-medium",children:[e.jsx("link",{rel:"preload",href:R,as:"image",type:"image/webp"}),e.jsx("img",{src:R,className:"object-cover w-[50px] md:w-[70px] mr-4",alt:"Pricing"}),e.jsx("span",{children:"Simplified, Cost-Effective Pricing"})]})]})}),e.jsxs("div",{className:"md:col-span-5 flex items-center justify-center",children:[e.jsx("link",{rel:"preload",href:P,as:"image",type:"image/webp"}),e.jsx("img",{src:P,alt:"Raising value proposition",className:"w-full h-auto object-cover"})]})]})]}),le=()=>{const s={superLargeDesktop:{breakpoint:{max:4e3,min:3e3},items:1},desktop:{breakpoint:{max:3e3,min:1024},items:1},tablet:{breakpoint:{max:1024,min:464},items:1},mobile:{breakpoint:{max:464,min:0},items:1}};return e.jsxs("div",{className:"flex items-center justify-center space-x-4",children:[e.jsx("span",{className:"ttext-black font-semibold md:font-medium text-lg md:text-5xl mt-0 md:3 leading-tight tracking-wide",children:"Respect"}),e.jsxs(U,{responsive:s,arrows:!1,showDots:!1,autoPlay:!0,autoPlaySpeed:2500,infinite:!0,className:"flex-1 md:mt-1 mt-0",children:[e.jsx("div",{children:e.jsx("h3",{className:"block md:inline text-xl mx-1 md:text-5xl text-[#338DFB] font-semibold md:font-medium tracking-wide",children:"Ensure Safety."})}),e.jsx("div",{children:e.jsx("h3",{className:"block md:inline text-xl mx-1 md:text-5xl text-[#338DFB] font-semibold md:font-medium tracking-wide",children:"Build Trust."})}),e.jsx("div",{children:e.jsx("h3",{className:"block md:inline text-xl mx-1 md:text-5xl text-[#338DFB] font-semibold md:font-medium tracking-wide",children:"Boost Profits."})})]})]})},me=()=>{a.useEffect(()=>{window.scrollTo(0,0)},[]);const[s,d]=a.useState(""),[m,x]=a.useState(""),[u,b]=a.useState(""),[h,j]=a.useState(""),[g,i]=a.useState(""),[w,D]=a.useState(!1),[N,f]=a.useState(!1),[v,y]=a.useState(""),[k,c]=a.useState(!1),[S,t]=a.useState(!0),[l,r]=a.useState({}),[F,M]=a.useState("");a.useEffect(()=>{M(window.location.href)},[]);const W=()=>{/^[0-9]{10}$/.test(s)?(f(!0),y("")):y("Please enter a valid 10-digit phone number.")},I=n=>{const o=n.target.value;/^[0-9]*$/.test(o)&&d(o)},z=()=>{f(!1)},G=async n=>{n.preventDefault(),r({});let o={};if((!m||!u)&&(o.name="First name and last name are required."),(!h||!/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/.test(h))&&(o.email="Please enter a valid email address."),(!s||!/^[0-9]{10}$/.test(s))&&(o.phone="Please enter a valid 10-digit phone number."),g||(o.state="Please select a state."),Object.keys(o).length>0){r(o);return}const $={firstName:m,lastName:u,email:h,phoneNumber:s,state:g};c(!0);try{const B=await fetch("https://api.wishgeeks.com/partner/submit",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify($)}),H=await B.json();B.status===200?(p.success("Application submitted successfully! Check your email for confirmation."),x(""),b(""),j(""),d(""),i(""),f(!1)):p.error(H.message||"Something went wrong.")}catch{p.error("There was an error submitting the form.")}finally{c(!1)}};return e.jsxs(e.Fragment,{children:[e.jsxs(q,{children:[e.jsx("title",{children:"Become a Partner - Wish Geeks"}),e.jsx("meta",{name:"description",content:"Partner with us and grow your business! Join our network for exclusive benefits, resources, and support. Start your journey to success today!"}),e.jsx("link",{rel:"canonical",href:F})]}),e.jsxs("div",{className:"container mx-auto px-4 shadow-md bg-white pb-7",children:[e.jsxs("div",{className:"flex flex-col-reverse md:flex-row items-center justify-center container mx-auto px-4 md:px-20",children:[e.jsxs("div",{className:"w-full md:w-[70%] ",children:[e.jsxs("h2",{className:"text-black font-semibold md:font-medium text-lg md:text-5xl mt-3 leading-tight tracking-wide",children:["Increase Earnings, Build",e.jsx(le,{})]}),e.jsx("p",{className:"w-full md:w-4/5 font-normal text-black mt-5 text-lg md:text-2xl text-justify",children:"Join over 10,000 partners across USA, Canada, and many more countries."})]}),e.jsxs("div",{className:"w-full px-2 md:px-0 md:w-2/5",children:[S&&e.jsx("div",{className:"w-full h-full bg-white rounded-md p-4 mx-auto",children:e.jsx("div",{className:"animate-pulse flex flex-col space-y-4",children:e.jsxs("div",{className:"flex-1 space-y-6 py-1",children:[e.jsx("div",{className:"h-100 bg-slate-200 rounded w-full mx-auto"}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto"}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto"}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto"}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto "}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto "}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto hidden md:block"}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto hidden md:block"}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto hidden md:block"}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto hidden md:block"}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto hidden md:block"}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto hidden md:block"}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto hidden md:block"}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto hidden md:block"}),e.jsx("div",{className:"h-4 bg-slate-200 rounded w-full mx-auto hidden md:block"})]})})}),e.jsx("link",{rel:"preload",href:E,as:"image",type:"image/webp"}),e.jsx("img",{src:E,className:"w-full h-auto",alt:"Banner",onLoad:()=>t(!1)})]})]}),e.jsxs("div",{className:"flex flex-col items-center mt-5 md:mt-0 justify-center rounded-md shadow-lg p-5 md:p-7 w-full md:w-11/12 mx-auto bg-gray-100",children:[e.jsxs("h5",{className:`text-black font-semibold text-[15px] md:text-2xl px-0 md:px-5 leading-0 tracking-normal md:leading-8 md:tracking-wider text-justify md:text-center w-full md:w-6/12`,children:[e.jsx("h1",{className:"text-[#338DFB] inline",children:"HOW TO BECOME A FLEET PARTNER"})," JOIN US BY SHARING YOUR DETAILS HERE"]}),e.jsxs("div",{className:"flex flex-col md:flex-row mt-3 items-center justify-center w-full",children:[e.jsxs("div",{className:"relative w-full md:w-[400px]",children:[e.jsx("input",{placeholder:"Enter your phone number",className:"block p-2 border-[1px] border-[#93C3FD] rounded-md pl-10 pr-4 focus:outline-none focus:ring-0 w-full",type:"tel",maxLength:"10",value:s,onChange:I}),e.jsx(X,{className:"absolute inset-y-0 left-3 my-auto text-black"})]}),e.jsx("button",{onClick:W,className:"ml-0 md:ml-2 mt-3 md:mt-0 border border-blue-500 rounded-lg p-2 text-sm font-semibold flex items-center justify-center cursor-pointer bg-blue-500 text-white w-full md:w-[100px]",children:"Join Now"})]}),v&&e.jsx("p",{className:"text-red-500 mt-2",children:v})]})]}),e.jsx(Q,{}),e.jsx(se,{isModalOpen:N,setModalOpen:f,isFormVisible:w,setIsFormVisible:D}),e.jsx(te,{}),e.jsx(Z,{}),e.jsx(K,{}),e.jsx(_,{}),N&&e.jsx("div",{className:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-50",children:e.jsxs("div",{className:"bg-white rounded-lg shadow-lg w-11/12 md:w-6/12 max-h-screen overflow-auto p-4 relative",children:[e.jsx("p",{className:`text-2xl font-semibold mb-4 text-white text-center bg-blue-500 p-5 border border-blue-500 rounded-lg -mt-6 -mr-6 -ml-6`,children:"Wish Geeks - Technician Application"}),e.jsx("button",{type:"button",onClick:z,className:"absolute top-1 right-4 text-white",children:e.jsx("svg",{className:"h-6 w-6",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("path",{d:"M6 18L18 6M6 6l12 12"})})}),e.jsxs("form",{onSubmit:G,className:"p-0",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4 w-full mt-5",children:[e.jsxs("div",{className:"w-full sm:w-1/2",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"First name"}),e.jsx("input",{type:"text",name:"firstName",value:m,onChange:n=>x(n.target.value),className:"block w-full mt-1 border-[1px] border-[#93C3FD] rounded-md py-2 pl-2 focus:border-blue-500 transition-colors duration-300 focus:outline-none focus:ring-0"}),l.name&&e.jsx("p",{className:"text-red-500 text-sm",children:l.name})]}),e.jsxs("div",{className:"w-full sm:w-1/2",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"Last name"}),e.jsx("input",{type:"text",name:"lastName",value:u,onChange:n=>b(n.target.value),className:"block w-full mt-1 border-[1px] border-[#93C3FD] rounded-md py-2 pl-2 focus:border-blue-500 transition-colors duration-300 focus:outline-none focus:ring-0"}),l.name&&e.jsx("p",{className:"text-red-500 text-sm",children:l.name})]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4 w-full mt-5",children:[e.jsxs("div",{className:"w-full sm:w-1/2",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"Email"}),e.jsx("input",{type:"email",className:"w-full mt-1 p-2 border border-[#93C3FD] rounded-md focus:border-blue-500 transition focus:outline-none",value:h,onChange:n=>j(n.target.value)}),l.email&&e.jsx("p",{className:"text-red-500 text-sm",children:l.email})]}),e.jsxs("div",{className:"w-full sm:w-1/2",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"Phone Number"}),e.jsx("input",{type:"tel",className:"w-full mt-1 p-2 border border-[#93C3FD] rounded-md bg-gray-100 disabled cursor-not-allowed",value:s,disabled:!0}),l.phone&&e.jsx("p",{className:"text-red-500 text-sm",children:l.phone})]})]}),e.jsx("div",{className:"flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4 w-full mt-5",children:e.jsxs("div",{className:"w-full ",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700",children:"State"}),e.jsxs("select",{className:"w-full mt-1 p-2 border border-[#93C3FD] rounded-md focus:border-blue-500 transition focus:outline-none",value:g,onChange:n=>i(n.target.value),children:[e.jsx("option",{value:"",children:"Select State"}),e.jsx("option",{value:"Alabama",children:"Alabama"}),e.jsx("option",{value:"California",children:"California"}),e.jsx("option",{value:"New York",children:"New York"}),e.jsx("option",{value:"Texas",children:"Texas"}),e.jsx("option",{value:"Florida",children:"Florida"}),e.jsx("option",{value:"Illinois",children:"Illinois"}),e.jsx("option",{value:"Georgia",children:"Georgia"})]}),l.state&&e.jsx("p",{className:"text-red-500 text-sm",children:l.state})]})}),e.jsx("div",{className:"flex justify-center space-x-2 mt-4",children:e.jsx("button",{type:"submit",className:"px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 transition",disabled:k,children:k?e.jsxs("span",{className:"flex items-center justify-center",children:[e.jsxs("svg",{className:"animate-spin h-5 w-5 mr-3 text-white",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[e.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),e.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0z"})]}),"Submitting..."]}):"Submit"})})]})]})})]})};export{me as default};