PageSourceSearch

https://www.neubergdiagnostics.com/assets/IplCampaignMum-d7NJJsu7.js

js neubergdiagnostics.com collected 2026-09-26 10:03:55 UTC 9,048 bytes, 1 lines download raw bytes

1import{u as R,r as n,j as e,z as L,A as t,H as B,n as v,l as H,k as D,t as q}from"./index-DnzkrJT-.js";import{I as M,s}from"./IPLHeader-Bo4UuU-5.js";import{W as U,T as V,I as W}from"./WhyChoose-C9uOPNVo.js";import"./CityPage.module-CdpQp_52.js";const Z=()=>{const w=R(),[c,N]=n.useState(""),[p,k]=n.useState(""),[u,$]=n.useState(!1),[C,G]=n.useState(!1),[d,T]=n.useState({name:"",email:""}),[g,r]=n.useState(""),[K,o]=n.useState(!1),[_,x]=n.useState(!1),j=window.location.href,[Q,S]=n.useState(j),F=a=>{N(a.target.value.replace(/\D/g,""))},f=a=>{T({...d,[a.target.name]:a.target.value})},b=async a=>{if(a.preventDefault(),c.length!==10){r("Enter a valid 10-digit mobile number");return}try{o(!0),x(!1);const i=`${c}`;await v.post("/user/send-otp",{phone:i}),$(!0),r(""),setTimeout(()=>{x(!0)},6e4)}catch(i){console.error("Error sending OTP:",i),r("Failed to send OTP. Try again.")}finally{o(!1)}},P=async a=>{var i;a.preventDefault();try{o(!0);const l=`${c}`,m=await v.post("/user/verify-otp",{phone:l,otp:p});console.log("OTP Verify Response:",m.data),console.log("OTP Verify Response:",m.data.staus),(i=m.data)!=null&&i.status?(r(""),I()):r("Invalid OTP. Try again.")}catch(l){console.error("Error verifying OTP:",l),r("Invalid OTP. Try again.")}finally{o(!1)}},A=a=>{console.log("after fb_lead_generation");const i=()=>{console.log("callback executed"),window.location.href=a};console.log("before fbq track"),typeof fbq<"u"?fbq("track","Lead",{},{eventID:"leadFormSubmitted",event_callback:i}):i(),console.log("after fbq")},E=a=>{console.log("Form submitted"),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"leadFormSubmitted"}),window.location.href=a},I=async()=>{try{o(!0),await H.post("/contact/contactUs",{name:d.name,email:d.email,mobileNumber:c,urlParameters:j+"&city="+h,ecommerceActivity:"Landing Pages"}),D("Thank you for your enquiry. We will reach out to you soon...",q.SUCCESS,A("/ipl-thank-you"),E("/ipl-thank-you")),w("/ipl-thank-you")}catch(a){console.error("Error submitting form:",a),r("Failed to submit form.")}finally{o(!1)}},[h,y]=n.useState("");n.useEffect(()=>{const i=window.location.pathname.split("/")[1];y(i||"");const l=window.location.href;S(l)},[]);const O=a=>{const i=a.target.value,l=window.location.search;y(i),console.log(i),i?window.location.href=`/${i}/ipl-campaign${l}`:window.location.href=`/ipl-campaign${l}`};return e.jsxs(e.Fragment,{children:[e.jsx(M,{selectedCity:h}),e.jsx("img",{src:"/assets/images/landing_pages/ipl-campaign/desk-banner-img.png",className:`img-fluid ${s.desktop}`,alt:""}),e.jsx("img",{src:"/assets/images/landing_pages/ipl-campaign/mobile-banner-img.png",className:`img-fluid w-100 ${s.mobile}`,alt:""}),e.jsxs("p",{className:`${s["ipl-city-dropdown-text"]}`,children:["* This is your ",e.jsx("span",{children:"selected city."})," To change please scroll through your preference in the drop down"]}),e.jsxs("div",{className:`${s["ipl-city-dropdown"]} text-center position-relative`,children:[e.jsxs("select",{value:h,onChange:O,children:[e.jsx("option",{value:"",children:"City Selection"}),e.jsx("option",{value:"bengaluru",children:"Bengaluru"}),e.jsx("option",{value:"chennai",children:"Chennai"}),e.jsx("option",{value:"cochin",children:"Cochin"}),e.jsx("option",{value:"hyderabad",children:"Hyderabad"}),e.jsx("option",{value:"calicut",children:"Calicut"}),e.jsx("option",{value:"mumbai",children:"Mumbai"}),e.jsx("option",{value:"ahmedabad",children:"Ahmedabad"}),e.jsx("option",{value:"kolkata",children:"Kolkata"})]}),e.jsx(L,{className:"custom-arrow"})]}),e.jsxs("h3",{className:`${s["ipl-page-heading"]}`,children:["Get Health Packages at ",e.jsx("span",{children:"match-winning prices"})]}),e.jsx("p",{className:`${s["ipl-page-para"]}`,children:"At Neuberg Diagnostics, we believe that proactive health checks can make all the difference - just like a match-winning run. This cricket season, don’t just cheer for your favourite team - champion your own health too."}),e.jsxs("div",{className:`row ${s.form_text_section} position-relative`,children:[e.jsx("div",{className:`${s.form_content_col_6}
1 col-sm-6 mt-sm-2 mt-5`,children:e.jsxs("div",{className:`${s.form_content} w-100`,children:[e.jsxs("h3",{children:["Our partners in health are ",e.jsx("span",{children:"at your service"})]}),e.jsx("p",{children:"From diabetes screening to full-body checkups, our expert-curated test packages are designed to help you stay on top of your health game. Whether it’s early diagnosis or regular monitoring, one test can be life-changing."})]})}),e.jsx("div",{className:"col-sm-6",id:"getin_touch",children:e.jsx("div",{className:`${t.form_section} w-100`,children:e.jsx("div",{className:`${t.form_module} ${s.form_module}`,children:e.jsxs("form",{className:"p-0",children:[e.jsx("label",{className:"d-block text-center",children:"Fill out the form below and our team will connect with you to schedule your health check at your convenience."}),e.jsx("input",{type:"text",name:"name",placeholder:"Name",value:d.name,onChange:f,className:`form-control ${t.input_css}`}),e.jsx("input",{type:"email",name:"email",placeholder:"Email",value:d.email,onChange:f,className:`form-control ${t.input_css}`}),e.jsx("input",{type:"text",placeholder:"Enter Mobile Number",value:c,onChange:F,className:`form-control ${t.input_css}`}),u&&!C&&e.jsxs(e.Fragment,{children:[e.jsx("input",{type:"text",placeholder:"Enter OTP",value:p,onChange:a=>k(a.target.value),className:`form-control ${t.input_css}`}),e.jsx("button",{onClick:P,className:`btn btn-primary mb-2 ${t.sent_enquiry} mt-1`,children:"Verify OTP & Submit"}),_&&e.jsx("button",{onClick:b,className:` ${s.resend_link} mt-1`,children:"Resend OTP"})]}),!u&&e.jsx("button",{onClick:b,className:`btn btn-primary mb-2 ${t.sent_enquiry} mt-1`,children:"Request A Call Back"}),g&&e.jsx("p",{className:"text-danger mt-2",children:g})]})})})}),e.jsxs("a",{href:"tel: 9700369700",className:`${s["banner-contact"]}`,children:[e.jsx("img",{src:"/assets/images/landing_pages/ipl-campaign/call-icon.png",alt:""}),"9700 36 9700"]})]}),e.jsxs("div",{className:`row ${s.purple_bg} ${s.pkg_card} position-relative`,children:[e.jsxs("h3",{className:`${s["pkg-heading"]}`,children:[e.jsx("span",{children:"HEALTH BASIC"})," PACKAGE"]}),e.jsxs("div",{className:`${s["pkg-price"]}`,children:[e.jsxs("a",{href:"#",className:`${s["actual-price"]} ${s["pkg-price-btn"]}`,children:[e.jsx("label",{children:"ACTUAL PRICE"})," ",e.jsx("span",{children:"₹ 6410"})]}),e.jsxs("a",{href:"#",className:`${s["offer-price"]} ${s["pkg-price-btn"]}`,children:[e.jsx("label",{children:"OFFER PRICE"})," ",e.jsx("span",{children:"₹ 3000"})]})]}),e.jsx("h5",{className:`${s["pkg-subheading"]}`,children:"Blood Tests"}),e.jsxs("div",{className:`${s["pkg-testlist"]}`,children:[e.jsxs("ul",{children:[e.jsx("li",{children:"CBC	"}),e.jsx("li",{children:"ESR	"}),e.jsx("li",{children:"FBS	"}),e.jsx("li",{children:"Lipid profile Std	"})]}),e.jsxs("ul",{children:[e.jsx("li",{children:"Creatinine	"}),e.jsx("li",{children:"LFT	"}),e.jsx("li",{children:"Thyroid profile	"}),e.jsx("li",{children:"Vit D3	"})]}),e.jsxs("ul",{children:[e.jsx("li",{children:"Ferritin	"}),e.jsx("li",{children:"Total Calcium	"}),e.jsx("li",{children:"CRP"})]})]}),e.jsx("a",{href:"#getin_touch",className:`${s["book-now-btn"]}`,children:"Book Now"})]}),e.jsxs("div",{className:`row ${s.orange_bg} ${s.pkg_card} position-relative`,children:[e.jsxs("h3",{className:`${s["pkg-heading"]}`,children:[e.jsx("span",{children:"VITA"})," PACKAGE"]}),e.jsxs("div",{className:`${s["pkg-price"]}`,children:[e.jsxs("a",{href:"#",className:`${s["actual-price"]} ${s["pkg-price-btn"]}`,children:[e.jsx("label",{children:"ACTUAL PRICE"})," ",e.jsx("span",{children:"₹ 9170"})]}),e.jsxs("a",{href:"#",className:`${s["offer-price"]} ${s["pkg-price-btn"]}`,children:[e.jsx("label",{children:"OFFER PRICE"})," ",e.jsx("span",{children:"₹ 5000"})]})]}),e.jsx("h5",{className:`${s["pkg-subheading"]}`,children:"Blood Tests"}),e.jsxs("div",{className:`${s["pkg-testlist"]}`,children:[e.jsxs("ul",{children:[e.jsx("li",{children:"Thyroid Function Tests (Free T3, Free T4, TSH)"}),e.jsx("li",{children:"Lipid Profile Standard"}),e.jsx("li",{children:"Liver Function Test"}),e.jsx("li",{children:"Renal Profile – Standard"})]}),e.jsxs("ul",{children:[e.jsx("li",{children:"Fasting Blood Sugar"}),e.jsx("li",{children:"Hba1c"}),e.jsx("li",{children:"CBC"}),e.jsx("li",{children:"CRP"})]}),e.jsxs("ul",{children:[e.jsx("li",{children:"Vitamin D (25-OH)"}),e.jsx("li",{children:"Total Calcium"}),e.jsx("li",{children:"Vitamin B12 Assay"}),e.jsx("li",{children:"Iron Profile"})]})]}),e.jsx("a",{href:"#getin_touch",className:`${s["book-now-btn"]}`,children:"Book Now"})]}),e.jsx("div",{className:`${s["how-it-works-section"]}`,children:e.jsx(B,{})}),e.jsx("h2",{className:`${s.how_it_mobile_heading}`,children:"How It Works"}),e.jsx("img",{src:"/assets/images/landing_pages/ipl-campaign/How-it-Works.png",className:`img-fluid ${s.mobile}`}),e.jsx(U,{}),e.jsx(V,{}),e.jsx(W,{})]})};export{Z 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.