1import{j as e,a as j}from"./index-DXqClsdu.js";import{a as m}from"./vendor-gsap-DuwTggQX.js";import{u as w,r as y}from"./vendor-form-B9LxPc0V.js";import"./vendor-react-VVg_eeoM.js";import"./vendor-motion-DzIWxjy2.js";import"./vendor-ui-Di-7VS_G.js";const V=()=>{const{register:o,handleSubmit:p,setValue:u,reset:x,formState:{isSubmitting:l}}=w(),[i,n]=m.useState(!1),[c,s]=m.useState(""),h=[{label:"Name",name:"name",type:"text"},{label:"Email",name:"email",type:"email"},{label:"Contact Number",name:"phone",type:"tel"}],f=[{src:"/socials/facebook.svg",alt:"facebook",url:"https://www.facebook.com/rajratanindia/"},{src:"/socials/instagram.svg",alt:"instagram",url:"https://www.instagram.com/rajratanindia/?hl=en"},{src:"/socials/linkedin.svg",alt:"linkedin",url:"https://in.linkedin.com/company/rajratan-group"},{src:"/socials/twitter.svg",alt:"twitter",url:"https://x.com/Rajratangroup"},{src:"/socials/youtube.svg",alt:"youtube",url:"https://www.youtube.com/rajratanindia"}],b=a=>{u("h-captcha-response",a,{shouldValidate:!0}),n(!0)},g=async a=>{if(!i){s("Please complete the captcha.");return}const t=new FormData;Object.entries(a).forEach(([r,d])=>{t.append(r,d)}),t.append("access_key","39c10168-6c34-4eba-b3ea-721ff400e862");try{(await(await fetch("https://api.web3forms.com/submit",{method:"POST",body:t})).json()).success?(s("Thank you for your submission!"),x(),n(!1)):s("Something went wrong. Please try again.")}catch{s("Network error. Please try again.")}};return e.jsxs("main",{className:"px-[4vw] pt-20 md:pt-30 text-foreground",children:[e.jsx(j,{title:"Contact",description:"Weâd love to hear from you. Share your requirements and our team will get back to you shortly."}),e.jsxs("div",{className:"mb-10",children:[e.jsx("h1",{className:"leading-[75%] uppercase font-bold font-[Melodrama-variable] text-[10vw] sm:text-[6vw]",children:"Contact Us"}),e.jsx("p",{className:"mt-6 max-w-xl text-[16px] sm:text-[22px] opacity-80 font-light",children:"Weâd love to hear from you. Share your requirements and our team will get back to you shortly."})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-10",children:[e.jsxs("form",{onSubmit:p(g),className:"flex relative flex-col w-full justify-center items-start gap-2",children:[e.jsxs("div",{className:"flex w-full flex-col gap-6",children:[h.map(a=>e.jsxs("div",{className:"w-full",children:[e.jsx("label",{className:"uppercase text-[14px] opacity-60",children:a.label}),e.jsx("input",{type:a.type,...o(a.name,{required:!0}),className:"mt-2 w-full bg-transparent border-b border-foreground
1/30 py-3 text-[18px] focus:outline-none focus:border-foreground transition"})]},a.name)),e.jsxs("div",{children:[e.jsx("label",{className:"uppercase text-[14px] opacity-60",children:"Message"}),e.jsx("textarea",{rows:4,...o("message",{required:!0}),className:"mt-2 w-full bg-transparent border-b border-foreground/30 py-3 text-[18px] resize-none focus:outline-none focus:border-foreground transition"})]})]}),e.jsx(y,{sitekey:"50b2fe65-b00b-4b9e-ad62-3ba471098be2",reCaptchaCompat:!1,onVerify:b}),e.jsx("div",{className:`p-px rounded-full opacity-80 bg-[conic-gradient(from_var(--angle),#fff7e133,theme(colors.foreground),#fff7e133)] 2 hover:animate-[rotate-gradient_1.2s_linear_infinite] inline-flex justify-center items-center `,children:e.jsx("button",{type:"submit",disabled:!i||l,className:"font-[Satoshi-Variable] cursor-pointer bg-background px-4 sm:px-6 py-2 rounded-full font-light text-[12px] sm:text-[24px] text-foreground",children:l?"Submitting...":"Submit"})}),c&&e.jsx("div",{className:"absolute -bottom-10 sm:text-[14px] text-[20px] font-light text-foreground",children:c})]}),e.jsxs("div",{className:"flex flex-col gap-10",children:[e.jsxs("div",{className:"flex flex-col gap-4 text-[16px] sm:text-[20px] opacity-80",children:[e.jsx("div",{className:"flex justify-start gap-2 mb-2 items-center flex-row",children:f.map((a,t)=>e.jsx("a",{href:a.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx("img",{className:"hover:scale-120 transition-all duration-300",width:"40",height:"40",src:a.src,alt:a.alt},t)}))}),e.jsxs("p",{children:["1st Floor 123â124, Shastri Market",e.jsx("br",{}),"Indore, Madhya Pradesh â 452007"]}),e.jsxs("div",{children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",width:"24",viewBox:"0 0 24 24",fill:"currentColor",children:e.jsx("path",{d:"M9.36556 10.6821C10.302 12.3288 11.6712 13.698 13.3179 14.6344L14.2024 13.3961C14.4965 12.9845 15.0516 12.8573 15.4956 13.0998C16.9024 13.8683 18.4571 14.3353 20.0789 14.4637C20.599 14.5049 21 14.9389 21 15.4606V19.9234C21 20.4361 20.6122 20.8657 20.1022 20.9181C19.5723 20.9726 19.0377 21 18.5 21C9.93959 21 3 14.0604 3 5.5C3 4.96227 3.02742 4.42771 3.08189 3.89776C3.1343 3.38775 3.56394 3 4.07665 3H8.53942C9.0611 3 9.49513 3.40104 9.5363 3.92109C9.66467 5.54288 10.1317 7.09764 10.9002 8.50444C11.1427 8.9484 11.0155 9.50354 10.6039 9.79757L9.36556 10.6821ZM6.84425 10.0252L8.7442 8.66809C8.20547 7.50514 7.83628 6.27183 7.64727 5H5.00907C5.00303 5.16632 5 5.333 5 5.5C5 12.9558 11.0442 19 18.5 19C18.667 19 18.8337 18.997 19 18.9909V16.3527C17.7282 16.1637 16.4949 15.7945 15.3319 15.2558L13.9748 17.1558C13.4258 16.9425 12.8956 16.6915 12.3874 16.4061L12.3293 16.373C10.3697 15.2587 8.74134 13.6303 7.627 11.6707L7.59394 11.6126C7.30849 11.1044 7.05754 10.5742 6.84425 10.0252Z"})}),e.jsx("p",{children:e.jsx("a",{href:"tel:+919685927927",className:"hover:opacity-100 opacity-70",children:"+91 9685 927 927"})}),e.jsx("p",{children:e.jsx("a",{href:"tel:07314088466",className:"hover:opacity-100 opacity-70",children:"0731 4088466"})}),e.jsx("p",{children:e.jsx("a",{href:"tel:07314045302",className:"hover:opacity-100 opacity-70",children:"0731 4045302"})})]}),e.jsxs("div",{children:[e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",width:"24",viewBox:"0 0 24 24",fill:"currentColor",children:e.jsx("path",{d:"M2.24283 6.85435L11.4895 1.3086C11.8062 1.11865 12.2019 1.11872 12.5185 1.30878L21.7573 6.85433C21.9079 6.9447 22 7.10743 22 7.28303V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V7.28315C2 7.10748 2.09218 6.94471 2.24283 6.85435ZM4 8.13261V19H20V8.13214L12.0037 3.33237L4 8.13261ZM12.0597 13.6983L17.3556 9.23532L18.6444 10.7647L12.074 16.3017L5.36401 10.7717L6.63599 9.2283L12.0597 13.6983Z"})}),e.jsx("p",{children:e.jsx("a",{href:"mailto:[email protected]",className:"hover:opacity-100 opacity-70",children:"service- [email protected]"})}),e.jsx("p",{children:e.jsx("a",{href:"mailto:[email protected]",className:"hover:opacity-100 opacity-70",children:"sales- [email protected]"})})]})]}),e.jsxs("div",{className:"h-full w-full relative overflow-hidden rounded-xl border border-foreground
2/20",children:[e.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1840.1303313785788!2d75.86600233884467!3d22.718550944847053!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3962fd123141e483%3A0xe1f64fd00daf97e3!2sRajratan%20Industries%20Private%20Limited!5e0!3m2!1sen!2sin!4v1766727324803!5m2!1sen!2sin",className:"w-full h-full rounded-xl",style:{border:0},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"}),e.jsx("div",{className:"absolute inset-0 bg-black/30 pointer-events-none rounded-xl"})]})]})]})]})};export{V as default};
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.