PageSourceSearch

https://zymo.app/assets/RoutePage-CNAeYNeY.js

js zymo.app collected 2026-09-24 12:53:07 UTC 17,420 bytes, 1 lines download raw bytes

1import{r as n,j as i}from"./vendor-react-Dxo5VVMX.js";import"./vendor-analytics-BolNmaul.js";const S={"mumbai-to-goa":{origin:"Mumbai",destination:"Goa",originSlug:"mumbai",distance:590,fuelPrice:103,totalTolls:640,pricing:{hatchback:"1,200-1,800",sedan:"1,800-2,500",suv:"2,500-4,000"}},"goa-to-mumbai":{origin:"Goa",destination:"Mumbai",originSlug:"goa",distance:590,fuelPrice:104,totalTolls:640,pricing:{hatchback:"1,200-1,800",sedan:"1,800-2,500",suv:"2,500-4,000"}},"delhi-to-jaipur":{origin:"Delhi",destination:"Jaipur",originSlug:"delhi",distance:280,fuelPrice:96,totalTolls:220,pricing:{hatchback:"1,100-1,600",sedan:"1,600-2,200",suv:"2,200-3,500"}},"jaipur-to-delhi":{origin:"Jaipur",destination:"Delhi",originSlug:"jaipur",distance:280,fuelPrice:98,totalTolls:220,pricing:{hatchback:"1,100-1,600",sedan:"1,600-2,200",suv:"2,200-3,500"}},"delhi-to-agra":{origin:"Delhi",destination:"Agra",originSlug:"delhi",distance:230,fuelPrice:96,totalTolls:405,pricing:{hatchback:"1,100-1,600",sedan:"1,600-2,200",suv:"2,200-3,500"}},"agra-to-delhi":{origin:"Agra",destination:"Delhi",originSlug:"agra",distance:230,fuelPrice:96,totalTolls:405,pricing:{hatchback:"1,100-1,600",sedan:"1,600-2,200",suv:"2,200-3,500"}},"bangalore-to-goa":{origin:"Bangalore",destination:"Goa",originSlug:"bangalore",distance:560,fuelPrice:101,totalTolls:300,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"goa-to-bangalore":{origin:"Goa",destination:"Bangalore",originSlug:"goa",distance:560,fuelPrice:104,totalTolls:300,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"delhi-to-manali":{origin:"Delhi",destination:"Manali",originSlug:"delhi",distance:530,fuelPrice:96,totalTolls:180,pricing:{hatchback:"1,100-1,600",sedan:"1,600-2,200",suv:"2,200-3,500"}},"manali-to-delhi":{origin:"Manali",destination:"Delhi",originSlug:"manali",distance:530,fuelPrice:96,totalTolls:180,pricing:{hatchback:"1,100-1,600",sedan:"1,600-2,200",suv:"2,200-3,500"}},"bangalore-to-mysore":{origin:"Bangalore",destination:"Mysore",originSlug:"bangalore",distance:145,fuelPrice:101,totalTolls:55,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"mysore-to-bangalore":{origin:"Mysore",destination:"Bangalore",originSlug:"mysore",distance:145,fuelPrice:101,totalTolls:55,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"chennai-to-pondicherry":{origin:"Chennai",destination:"Pondicherry",originSlug:"chennai",distance:160,fuelPrice:101,totalTolls:60,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"pondicherry-to-chennai":{origin:"Pondicherry",destination:"Chennai",originSlug:"pondicherry",distance:160,fuelPrice:101,totalTolls:60,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"bangalore-to-ooty":{origin:"Bangalore",destination:"Ooty",originSlug:"bangalore",distance:270,fuelPrice:101,totalTolls:80,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"ooty-to-bangalore":{origin:"Ooty",destination:"Bangalore",originSlug:"ooty",distance:270,fuelPrice:101,totalTolls:80,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"pune-to-lonavala":{origin:"Pune",destination:"Lonavala",originSlug:"pune",distance:65,fuelPrice:102,totalTolls:95,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"lonavala-to-pune":{origin:"Lonavala",destination:"Pune",originSlug:"lonavala",distance:65,fuelPrice:102,totalTolls:95,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"mumbai-to-lonavala":{origin:"Mumbai",destination:"Lonavala",originSlug:"mumbai",distance:83,fuelPrice:103,totalTolls:320,pricing:{hatchback:"1,200-1,800",sedan:"1,800-2,500",suv:"2,500-4,000"}},"lonavala-to-mumbai":{origin:"Lonavala",destination:"Mumbai",originSlug:"lonavala",distance:83,fuelPrice:102,totalTolls:320,pricing:{hatchback:"1,200-1,800",sedan:"1,800-2,500",suv:"2,500-4,000"}},"delhi-to-rishikesh":{origin:"Delhi",destination:"Rishikesh",originSlug:"delhi",distance:240,fuelPrice:96,totalTolls:175,pricing:{hatchback:"1,100-1,600",sedan:"1,600-2,200",suv:"2,200-3,500"}},"rishikesh-to-delhi":{origin:"Rishikesh",destination:"Delhi",originSlug:"rishikesh",distance:240,fuelPrice:96,totalTolls:175,pricing:{hatchback:"1,100-1,600",sedan:"1,600-2,200",suv:"2,200-3,500"}},"bangalore-to-coorg":{origin:"Bangalore",destination:"Coorg",originSlug:"bangalore",distance:265,fuelPrice:101,totalTolls:75,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"coorg-to-bangalore":{origin:"Coorg",destination:"Bangalore",originSlug:"coorg",distance:265,fuelPrice:101,totalTolls:75,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}}
1,"chandigarh-to-shimla":{origin:"Chandigarh",destination:"Shimla",originSlug:"chandigarh",distance:115,fuelPrice:96,totalTolls:40,pricing:{hatchback:"900-1,400",sedan:"1,400-2,000",suv:"2,000-3,000"}},"shimla-to-chandigarh":{origin:"Shimla",destination:"Chandigarh",originSlug:"shimla",distance:115,fuelPrice:96,totalTolls:40,pricing:{hatchback:"900-1,400",sedan:"1,400-2,000",suv:"2,000-3,000"}},"kolkata-to-darjeeling":{origin:"Kolkata",destination:"Darjeeling",originSlug:"kolkata",distance:600,fuelPrice:104,totalTolls:165,pricing:{hatchback:"1,200-1,800",sedan:"1,800-2,500",suv:"2,500-4,000"}},"darjeeling-to-kolkata":{origin:"Darjeeling",destination:"Kolkata",originSlug:"darjeeling",distance:600,fuelPrice:104,totalTolls:165,pricing:{hatchback:"1,200-1,800",sedan:"1,800-2,500",suv:"2,500-4,000"}},"cochin-to-munnar":{origin:"Cochin",destination:"Munnar",originSlug:"cochin",distance:130,fuelPrice:103,totalTolls:0,pricing:{hatchback:"900-1,400",sedan:"1,400-2,000",suv:"2,000-3,000"}},"munnar-to-cochin":{origin:"Munnar",destination:"Cochin",originSlug:"munnar",distance:130,fuelPrice:103,totalTolls:0,pricing:{hatchback:"900-1,400",sedan:"1,400-2,000",suv:"2,000-3,000"}},"jaipur-to-udaipur":{origin:"Jaipur",destination:"Udaipur",originSlug:"jaipur",distance:395,fuelPrice:98,totalTolls:155,pricing:{hatchback:"1,100-1,600",sedan:"1,600-2,200",suv:"2,200-3,500"}},"udaipur-to-jaipur":{origin:"Udaipur",destination:"Jaipur",originSlug:"udaipur",distance:395,fuelPrice:96,totalTolls:155,pricing:{hatchback:"1,100-1,600",sedan:"1,600-2,200",suv:"2,200-3,500"}},"mumbai-to-nashik":{origin:"Mumbai",destination:"Nashik",originSlug:"mumbai",distance:165,fuelPrice:103,totalTolls:185,pricing:{hatchback:"1,200-1,800",sedan:"1,800-2,500",suv:"2,500-4,000"}},"nashik-to-mumbai":{origin:"Nashik",destination:"Mumbai",originSlug:"nashik",distance:165,fuelPrice:100,totalTolls:185,pricing:{hatchback:"1,200-1,800",sedan:"1,800-2,500",suv:"2,500-4,000"}},"pune-to-mahabaleshwar":{origin:"Pune",destination:"Mahabaleshwar",originSlug:"pune",distance:120,fuelPrice:102,totalTolls:45,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"mahabaleshwar-to-pune":{origin:"Mahabaleshwar",destination:"Pune",originSlug:"mahabaleshwar",distance:120,fuelPrice:102,totalTolls:45,pricing:{hatchback:"1,000-1,500",sedan:"1,500-2,200",suv:"2,200-3,500"}},"delhi-to-nainital":{origin:"Delhi",destination:"Nainital",originSlug:"delhi",distance:320,fuelPrice:96,totalTolls:220,pricing:{hatchback:"1,100-1,600",sedan:"1,600-2,200",suv:"2,200-3,500"}},"nainital-to-delhi":{origin:"Nainital",destination:"Delhi",originSlug:"nainital",distance:320,fuelPrice:96,totalTolls:220,pricing:{hatchback:"1,100-1,600",sedan:"1,600-2,200",suv:"2,200-3,500"}},"ahmedabad-to-statue-of-unity":{origin:"Ahmedabad",destination:"Statue of Unity",originSlug:"ahmedabad",distance:200,fuelPrice:96,totalTolls:85,pricing:{hatchback:"900-1,300",sedan:"1,300-1,800",suv:"1,800-2,800"}},"statue-of-unity-to-ahmedabad":{origin:"Statue of Unity",destination:"Ahmedabad",originSlug:"statue-of-unity",distance:200,fuelPrice:96,totalTolls:85,pricing:{hatchback:"900-1,300",sedan:"1,300-1,800",suv:"1,800-2,800"}}},I={hatchback:16,sedan:14,suv:11},N=14,T=new Set(["bangalore","hyderabad","mumbai","delhi","chennai","pune","mangalore","dombivli","palava","thane","amritsar","kolkata","ahmedabad","bhubaneswar","chandigarh","coimbatore","jaipur","kochi","nashik","madurai","ghaziabad","meerut","goa","lucknow","bhopal","guwahati","indore","cochin","mysore","modinagar","muradnagar","gurugram","noida","nagpur","siliguri","trichy","vadodara","vijayawada","vizag","udupi","visakhapatnam","udaipur","jodhpur","haridwar","rishikesh","surat","ranchi","navi-mumbai","faridabad"]),O=({slug:o})=>{const e=S[o],[r,j]=n.useState(null),u=n.useRef(!1),[s,P]=n.useState("hatchback"),[t,C]=n.useState(e&&e.distance>300?2:1),[l,B]=n.useState(2),[c,w]=n.useState(!1),[p,h]=n.useState(!1);if(n.useEffect(()=>{if(e&&(document.title=`Self-Drive ${e.origin} to ${e.destination} — Book a Car & Drive | Zymo`),window.scrollTo(0,0),!u.current){u.current=!0;const a=window.__SSR_CONTENT__;a&&a.includes("route-page")&&(j(a),delete window.__SSR_CONTENT__)}},[o,e]),!e)return null;const A=I[s]||14,d=Math.round(e.distance/A*e.fuelPrice),m=e.pricing[s].split("-"),b=parseInt(m[0].replace(/[^0-9]/g,""))*t,f=parseInt(m[1].replace(/[^0-9]/g,""))*t,g=d+e.totalTolls+b,z=d+e.totalTolls+f,x=e.distance*N*2,R=Math.round(g/l),y=x-g,L=e.distance>300?2:1,D=Math.round(e.distance/16*e.fuelPrice),_=parseInt(e.pricing.hatchback.split("-")[0].replace(/[^0-9]/g,""))*L,v=D+e.totalTolls+_,F=e.distance>300?"2 days":"day trip",E=T.has(e.originSlug),k=S[o]?o.split("-to-")[1]:"",M=T.has(k),$=E?`/self-drive-car-rental-in-${e.originSlug}`:M?`/self-drive-car-rental-in-${k}`:"/";return i.jsxs(i.Fragment,{children:[r&&i.jsx("div",{dangerouslySetInnerHTML:{__html:r}}
1),i.jsx("div",{style:{maxWidth:800,margin:"0 auto",padding:"0 1rem 2rem",fontFamily:"Poppins, sans-serif"},children:i.jsxs("div",{style:{background:"linear-gradient(135deg, rgba(79,123,255,0.15), rgba(122,92,255,0.15))",border:"1px solid rgba(79,123,255,0.3)",borderRadius:12,padding:24,marginTop:r?0:24},children:[i.jsxs("h3",{style:{color:"#FFFFFF",margin:"0 0 16px",fontSize:"1.2rem"},children:["Plan Your Trip — ",e.origin," to ",e.destination]}),i.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:12,marginBottom:20},children:[i.jsxs("div",{style:{flex:"1 1 140px"},children:[i.jsx("label",{style:{color:"#8A94A6",fontSize:"0.85rem",display:"block",marginBottom:4},children:"Car Type"}),i.jsxs("select",{value:s,onChange:a=>P(a.target.value),style:{width:"100%",padding:"10px 12px",borderRadius:8,background:"#16222E",color:"#FFFFFF",border:"1px solid #1C2B36",fontSize:"0.95rem",fontFamily:"Poppins, sans-serif"},children:[i.jsx("option",{value:"hatchback",children:"Hatchback (16 km/L)"}),i.jsx("option",{value:"sedan",children:"Sedan (14 km/L)"}),i.jsx("option",{value:"suv",children:"SUV (11 km/L)"})]})]}),i.jsxs("div",{style:{flex:"1 1 100px"},children:[i.jsx("label",{style:{color:"#8A94A6",fontSize:"0.85rem",display:"block",marginBottom:4},children:"Days"}),i.jsx("select",{value:t,onChange:a=>C(parseInt(a.target.value)),style:{width:"100%",padding:"10px 12px",borderRadius:8,background:"#16222E",color:"#FFFFFF",border:"1px solid #1C2B36",fontSize:"0.95rem",fontFamily:"Poppins, sans-serif"},children:[1,2,3,4,5,7].map(a=>i.jsxs("option",{value:a,children:[a," day",a>1?"s":""]},a))})]}),i.jsxs("div",{style:{flex:"1 1 100px"},children:[i.jsx("label",{style:{color:"#8A94A6",fontSize:"0.85rem",display:"block",marginBottom:4},children:"People"}),i.jsx("select",{value:l,onChange:a=>B(parseInt(a.target.value)),style:{width:"100%",padding:"10px 12px",borderRadius:8,background:"#16222E",color:"#FFFFFF",border:"1px solid #1C2B36",fontSize:"0.95rem",fontFamily:"Poppins, sans-serif"},children:[1,2,3,4,5,6].map(a=>i.jsxs("option",{value:a,children:[a," ",a===1?"person":"people"]},a))})]})]}),i.jsxs("div",{style:{background:"#16222E",borderRadius:8,padding:16,marginBottom:16},children:[i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:8,color:"#B3B7C3"},children:[i.jsxs("span",{children:["Car Booking (",t," day",t>1?"s":"",")"]}),i.jsxs("span",{children:["Rs ",b.toLocaleString()," - ",f.toLocaleString()]})]}),i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:8,color:"#B3B7C3"},children:[i.jsxs("span",{children:["Fuel (",e.distance," km @ Rs ",e.fuelPrice,"/L)"]}),i.jsxs("span",{children:["Rs ",d.toLocaleString()]})]}),e.totalTolls>0&&i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:8,color:"#B3B7C3"},children:[i.jsx("span",{children:"Tolls"}),i.jsxs("span",{children:["Rs ",e.totalTolls.toLocaleString()]})]}),i.jsxs("div",{style:{borderTop:"1px solid #1C2B36",paddingTop:8,marginTop:8,display:"flex",justifyContent:"space-between"},children:[i.jsx("span",{style:{color:"#4F7BFF",fontWeight:600,fontSize:"1.1rem"},children:"TOTAL"}),i.jsxs("span",{style:{color:"#4F7BFF",fontWeight:600,fontSize:"1.1rem"},children:["Rs ",g.toLocaleString()," - ",z.toLocaleString()]})]}),i.jsxs("div",{style:{display:"flex",justifyContent:"space-between",marginTop:8,color:"#8A94A6",fontSize:"0.85rem"},children:[i.jsxs("span",{children:["Per person (",l,")"]}),i.jsxs("span",{children:["Rs ",R.toLocaleString()]})]})]}),y>0&&i.jsxs("div",{style:{background:"rgba(79,123,255,0.1)",borderLeft:"3px solid #4F7BFF",borderRadius:"0 6px 6px 0",padding:"10px 14px",marginBottom:16,fontSize:"0.9rem"},children:[i.jsxs("strong",{style:{color:"#4F7BFF"},children:["Save Rs ",y.toLocaleString()]}),i.jsxs("span",{style:{color:"#B3B7C3"},children:[" vs booking a cab (Rs ",x.toLocaleString()," round trip)"]})]}),i.jsxs("a",{href:$,style:{display:"block",textAlign:"center",background:"linear-gradient(135deg, #4F7BFF, #7A5CFF)",color:"#FFFFFF",padding:"14px 24px",borderRadius:8,textDecoration:"none",fontWeight:600,fontSize:"1rem",fontFamily:"Poppins, sans-serif"},children:["Book a Self-Drive Car from ",e.origin," →"]}),i.jsx("div",{style:{marginTop:16,textAlign:"center"},children:i.jsx("button",{onClick:()=>w(!c),style:{background:"none",border:"1px solid #1C2B36",color:"#8A94A6",padding:"8px 16px",borderRadius:6,cursor:"pointer",fontSize:"0.85rem",fontFamily:"Poppins, sans-serif"},children:c?"Hide embed code":"Embed this route on your blog"})}),c&&i.jsxs("div",{style:{marginTop:12},children:[i.jsx("p",{style:{color:"#8A94A6",fontSize:"0.8rem",marginBottom:8},children:"Copy the HTML below and paste it into your blog or website:"}),i.jsxs("div",{style:{position:"relative"},children:[i.jsx("pre",{style:{background:"#05070E",border:"1px solid #1C2B36",borderRadius:6,padding:12,fontSize:"0.75rem",color:"#B3B7C3",overflowX:"auto",whiteSpace:"pre-wrap",wordBreak:"break-all",maxHeight:200},children:`<div style="background:#16222E;border-radius:8px;padding:16px 20px;max-width:420px;font-family:Poppins,Arial,sans-serif;margin:16px 0;"><div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;"><span style="color:#FFFFFF;font-weight:600;font-size:1.05rem;">${e.origin} → ${e.destination}</span><span style="color:#8A94A6;font-size:0.85rem;">${e.distance} km · ${F}</span></div><div style="color:#4F7BFF;font-size:1.15rem;font-weight:600;margin-bottom:12px;">
1Self-drive from ₹${v.toLocaleString()}</div><div style="color:#B3B7C3;font-size:0.85rem;margin-bottom:12px;">Includes car booking, fuel & tolls. Compare prices from multiple partners.</div><a href="https://zymo.app/self-drive-${o}" target="_blank" rel="noopener" style="display:block;text-align:center;background:linear-gradient(135deg,#4F7BFF,#7A5CFF);color:#FFFFFF;padding:10px 16px;border-radius:6px;text-decoration:none;font-weight:600;font-size:0.9rem;">Book Self-Drive Car →</a><div style="text-align:center;margin-top:8px;font-size:0.75rem;color:#8A94A6;">Powered by <a href="https://zymo.app" target="_blank" rel="noopener" style="color:#4F7BFF;text-decoration:none;">Zymo</a></div></div>`}),i.jsx("button",{onClick:()=>{const a=`<div style="background:#16222E;border-radius:8px;padding:16px 20px;max-width:420px;font-family:Poppins,Arial,sans-serif;margin:16px 0;"><div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;"><span style="color:#FFFFFF;font-weight:600;font-size:1.05rem;">${e.origin} → ${e.destination}</span><span style="color:#8A94A6;font-size:0.85rem;">${e.distance} km · ${F}</span></div><div style="color:#4F7BFF;font-size:1.15rem;font-weight:600;margin-bottom:12px;">Self-drive from ₹${v.toLocaleString()}</div><div style="color:#B3B7C3;font-size:0.85rem;margin-bottom:12px;">Includes car booking, fuel & tolls. Compare prices from multiple partners.</div><a href="https://zymo.app/self-drive-${o}" target="_blank" rel="noopener" style="display:block;text-align:center;background:linear-gradient(135deg,#4F7BFF,#7A5CFF);color:#FFFFFF;padding:10px 16px;border-radius:6px;text-decoration:none;font-weight:600;font-size:0.9rem;">Book Self-Drive Car →</a><div style="text-align:center;margin-top:8px;font-size:0.75rem;color:#8A94A6;">Powered by <a href="https://zymo.app" target="_blank" rel="noopener" style="color:#4F7BFF;text-decoration:none;">Zymo</a></div></div>`;navigator.clipboard.writeText(a).then(()=>{h(!0),setTimeout(()=>h(!1),2e3)})},style:{position:"absolute",top:8,right:8,background:p?"#22c55e":"#4F7BFF",color:"#FFFFFF",border:"none",padding:"4px 10px",borderRadius:4,cursor:"pointer",fontSize:"0.75rem",fontFamily:"Poppins, sans-serif"},children:p?"Copied!":"Copy"})]})]})]})})]})};export{O 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.