PageSourceSearch

https://claimgenius.com/assets/ContactPage-Cse6MIAk.js

js claimgenius.com collected 2026-10-02 17:26:11 UTC 10,523 bytes, 1 lines download raw bytes

1import{j as e,r as m}from"./index-CcH0GJHK.js";const C=[{label:"US NJ",img:"/assets/contact/office-nj.jpg",alt:"New Jersey Office",address:"33 Wood Avenue South Suite 600, Iselin, New Jersey 08830 USA"},{label:"India Nagpur",img:"/assets/contact/office-nagpur.jpg",alt:"Nagpur Office",address:"Block No. 109, Artefact Tower, 6th Floor, 54/3, Chatrapati Square, Wardha Road, Nagpur – 440015"},{label:"India Pune",img:"/assets/contact/office-pune.jpg",alt:"Pune Office",address:"UrbanWrk Private Ltd, 6th Floor, Westport Building, Survey no 32/1A/1/30 to 38 & 54, Pan Card Club road, Baner, Pune – 411045"}];function $(){return e.jsx("section",{className:"cg-section-dark border-b border-border-dk/50",children:e.jsxs("div",{className:"container flex flex-col items-center",children:[e.jsxs("h1",{className:"cg-hero-title text-light mb-4",children:["Our ",e.jsx("span",{className:"text-gold",children:"Offices"})]}),e.jsx("p",{className:"prod-body-lg text-text-muted-light text-center max-w-2xl mb-16 leading-relaxed",children:"Currently, we have four offices spread out over continents. Each office is powered by our team of diligent and polished individuals. Every last unit of Claim Genius aspires to bring intelligent claims management closer to you."}),e.jsx("div",{className:"contact-offices-grid",children:C.map(a=>e.jsxs("div",{children:[e.jsx("div",{className:"contact-office-photo",children:e.jsx("img",{src:a.img,alt:a.alt})}),e.jsx("h3",{className:"font-heading font-bold mb-2 text-light group-hover:text-primary transition-colors duration-300 text-lg",children:a.label}),e.jsx("p",{className:"font-body text-text-muted-light leading-relaxed prod-body-md",children:a.address})]},a.label))})]})})}const I=["United States","India","United Kingdom","Canada","Australia","Malaysia","Singapore","Other"],v={name:"",email:"",company:"",subject:"",contactNumber:"",country:"",message:""},E=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function b(a,r){switch(a){case"name":return r.trim()?void 0:"Name is required.";case"email":return r.trim()?E.test(r.trim())?void 0:"Please enter a valid email address.":"Email is required.";case"message":return r.trim()?void 0:"Message is required.";default:return}}function F(){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[e.jsx("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),e.jsx("path",{d:"M2 7l10 7 10-7"})]})}function y(){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:e.jsx("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.84 9.5a19.79 19.79 0 0 1-3-8.59A2 2 0 0 1 3.92 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 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-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z"})})}function B(){const a=m.useId(),[r,N]=m.useState(v),[f,u]=m.useState("idle"),[k,j]=m.useState(""),[t,g]=m.useState({}),[S,p]=m.useState({});function c(l){const{name:h,value:o}=l.target,s=h;if(N(n=>({...n,[s]:o})),S[s]){const n=b(s,o);g(x=>({...x,[s]:n}))}}function d(l){const{name:h,value:o}=l.target,s=h;p(x=>({...x,[s]:!0}));const n=b(s,o);g(x=>({...x,[s]:n}))}async function w(l){l.preventDefault();const h=["name","email","message"],o={};for(const s of h){const n=b(s,r[s]);n&&(o[s]=n)}if(p(s=>({...s,name:!0,email:!0,message:!0})),g(o),!(Object.keys(o).length>0)){u("submitting"),j("");try{const s=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}),n=await s.json();if(!s.ok){j(n.error||n.errors?.join(", ")||"Something went wrong."),u("error");return}u("success"),N(v),g({}),p({})}catch{j("Network error. Please check your connection and try again."),u("error")}}}const i=f==="submitting";return e.jsx("section",{className:"cg-section-light",children:e.jsxs("div",{className:"container flex flex-col items-center",children:[e.jsxs("div",{className:"max-w-3xl text-center mb-12",children:[e.jsxs("h2",{className:"cg-section-title text-text-dark",children:["We'd love to ",e.jsx("span",{className:"text-gold",children:"hear from you"})]}),e.jsx("p",{className:"prod-body-lg text-text-muted-dark leading-relaxed",children:"If you have any questions about our products or claims management services, feel free to get in touch with us."})]}),e.jsxs("div",{className:"w-full max-w-4xl mb-12",children:[e.jsxs("div",{className:"contact-cards-grid",children:[e.jsxs("div",{className:"flex flex-col items-center text-center lg:items-start lg:text-left cg-card-lt",children:[e.jsx("div",{className:"cg-icon-blue mb-6",children:e.jsx(F,{})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-heading font-bold mb-3 text-text-dark prod-item-title",children:"Email"}),e.jsx("a",{href:"mailto:[email protected]",className:"contact-card-link",children:"[email protected]"})]})]}),e.jsxs("div",{className:"flex flex-col items-center text-center lg:items-start lg:text-left cg-card-lt",children:[e.jsx("div",{className:"cg-icon-blue mb-6",children:e.jsx(y,{})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-heading font-bold mb-3 text-text-dark prod-item-title",children:"USA Number"}),e.jsx("a",{href:"tel:+17325463809",className:"contact-card-link",children:"+1-732-546-3809"})]})]}),e.jsxs("div",{className:"flex flex-col items-center text-center lg:items-start lg:text-left cg-card-lt",children:[e.jsx("div",{className:"cg-icon-blue mb-6",children:e.jsx(y,{})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-heading font-bold mb-3 text-text-dark prod-item-title",children:"India Number"}),e.jsx("a",{href:"tel:+917720043803",className:"contact-card-link",children:"+91-772-004-3803"})]})]})]}),e.jsx("div",{className:"prod-body-lg text-text-muted-dark leading-relaxed mt-8",children:"If you are on the fence about AI adoption, you can also choose to experience the benefits of GeniusINSPECT first. To do so, simply schedule a demo with our team."})]}),e.jsx("div",{className:"demo-form-card w-full max-w-4xl",children:f==="success"?e.jsxs("div",{className:"flex flex-col items-center justify-center py-16 text-center gap-4",children:[e.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"#22c55e",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,
1children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("path",{d:"M8 12l3 3 5-5"})]}),e.jsx("h3",{className:"font-heading font-bold text-text-dark text-xl",children:"Message sent!"}),e.jsx("p",{className:"text-text-muted-dark",children:"We've received your message. Expect a reply within 1–2 business days."}),e.jsx("button",{className:"contact-form-submit mt-4",onClick:()=>u("idle"),children:"Send another message"})]}):e.jsxs("form",{id:a,onSubmit:w,noValidate:!0,children:[e.jsxs("div",{className:"grid",children:[e.jsxs("div",{className:"grid md:gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"form-group",children:[e.jsxs("label",{htmlFor:`${a}-name`,className:"form-label",children:["Name ",e.jsx("span",{"aria-hidden":!0,className:"text-red-500",children:"*"})]}),e.jsx("input",{id:`${a}-name`,type:"text",name:"name",className:`form-input${t.name?" input-error":""}`,placeholder:"Jane Doe",value:r.name,onChange:c,onBlur:d,disabled:i,"aria-describedby":t.name?`${a}-name-error`:void 0,"aria-invalid":!!t.name}),t.name&&e.jsx("p",{id:`${a}-name-error`,role:"alert",className:"form-field-error",children:t.name})]}),e.jsxs("div",{className:"form-group",children:[e.jsxs("label",{htmlFor:`${a}-email`,className:"form-label",children:["Email ",e.jsx("span",{"aria-hidden":!0,className:"text-red-500",children:"*"})]}),e.jsx("input",{id:`${a}-email`,type:"email",name:"email",className:`form-input${t.email?" input-error":""}`,placeholder:"[email protected]",value:r.email,onChange:c,onBlur:d,disabled:i,"aria-describedby":t.email?`${a}-email-error`:void 0,"aria-invalid":!!t.email}),t.email&&e.jsx("p",{id:`${a}-email-error`,role:"alert",className:"form-field-error",children:t.email})]})]}),e.jsxs("div",{className:"grid md:gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"form-group",children:[e.jsx("label",{htmlFor:`${a}-company`,className:"form-label",children:"Company"}),e.jsx("input",{id:`${a}-company`,type:"text",name:"company",className:"form-input",placeholder:"Acme Insurance",value:r.company,onChange:c,onBlur:d,disabled:i})]}),e.jsxs("div",{className:"form-group",children:[e.jsx("label",{htmlFor:`${a}-subject`,className:"form-label",children:"Subject"}),e.jsx("input",{id:`${a}-subject`,type:"text",name:"subject",className:"form-input",placeholder:"How can we help?",value:r.subject,onChange:c,onBlur:d,disabled:i})]})]}),e.jsxs("div",{className:"grid md:gap-6 md:grid-cols-2",children:[e.jsxs("div",{className:"form-group",children:[e.jsx("label",{htmlFor:`${a}-contactNumber`,className:"form-label",children:"Contact Number"}),e.jsx("input",{id:`${a}-contactNumber`,type:"tel",name:"contactNumber",className:"form-input",placeholder:"+1 555 000 0000",value:r.contactNumber,onChange:c,onBlur:d,disabled:i})]}),e.jsxs("div",{className:"form-group",children:[e.jsx("label",{htmlFor:`${a}-country`,className:"form-label",children:"Country"}),e.jsxs("select",{id:`${a}-country`,name:"country",className:"form-select",value:r.country,onChange:c,onBlur:d,disabled:i,children:[e.jsx("option",{value:"",children:"Select a country"}),I.map(l=>e.jsx("option",{value:l,children:l},l))]})]})]}),e.jsxs("div",{className:"form-group",children:[e.jsxs("label",{htmlFor:`${a}-message`,className:"form-label",children:["Message ",e.jsx("span",{"aria-hidden":!0,className:"text-red-500",children:"*"})]}),e.jsx("textarea",{id:`${a}-message`,name:"message",className:`form-textarea${t.message?" input-error":""}`,placeholder:"Tell us about your needs...",value:r.message,onChange:c,onBlur:d,disabled:i,"aria-describedby":t.message?`${a}-message-error`:void 0,"aria-invalid":!!t.message}),t.message&&e.jsx("p",{id:`${a}-message-error`,role:"alert",className:"form-field-error",children:t.message})]})]}),f==="error"&&e.jsx("p",{role:"alert",className:"text-red-500 text-sm mb-4",children:k}),e.jsx("button",{type:"submit",className:"contact-form-submit",disabled:i,"aria-busy":i,children:i?"Sending…":"Send"})]})})]})})}function O(){return e.jsxs(e.Fragment,{children:[e.jsx($,{}),e.jsx(B,{})]})}export{O as ContactPage};

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.