PageSourceSearch

https://www.nxcar.in/_next/static/chunks/9782551de5e8a921.js

js nxcar.in collected 2026-10-01 23:43:52 UTC 44,859 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,823131,e=>{"use strict";var t=e.i(414294),a=e.i(430878),r=e.i(280239),s=e.i(10519),n=e.i(292074),i=e.i(434859),l=e.i(983089),o=e.i(888982),c=e.i(631251),d=e.i(816322),u=e.i(127878),x=e.i(165562),m=e.i(167522),h=e.i(460530),p=e.i(707387),f=e.i(35483),b=e.i(426643),g=e.i(353913),v=e.i(612158),j=e.i(95608),y=e.i(583629),w=e.i(292623),N=/^(?:[A-Z]{2}\s?[0-9]{1,2}\s?[A-Z]{1,3}\s?[0-9]{1,4}|[0-9]{2}\s?BH\s?[0-9]{4}\s?[A-Z]{2})$/,k="data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D'http%3A//www.w3.org/2000/svg' viewBox%3D'0 0 8 5'%3E%3Crect width%3D'8' height%3D'5' fill%3D'%230f172a'/%3E%3C/svg%3E";function C(){var e=(0,n._)((0,a.useState)(""),2),r=e[0],C=e[1],A=(0,n._)((0,a.useState)(!1),2),_=A[0],S=A[1],z=(0,n._)((0,a.useState)(""),2),F=z[0],I=z[1],B=(0,n._)((0,a.useState)(!1),2),T=B[0],E=B[1],L=(0,n._)((0,a.useState)(""),2),P=L[0],R=L[1],D=(0,g.useRouter)(),H=(0,(0,v.useCmsPageContent)("homepage").get)("hero"),M=(0,j.useAuth)(),U=M.isAuthenticated,G=M.isLoading,W=(0,n._)((0,a.useState)(0),2),O=W[0],Z=W[1],q=(0,n._)((0,a.useState)(!1),2),V=q[0],Y=q[1],J=(0,n._)((0,a.useState)([0]),2),K=J[0],Q=J[1],X=(0,n._)((0,a.useState)(!1),2),$=X[0],ee=X[1],et=(0,n._)((0,a.useState)(!0),2),ea=et[0],er=et[1],es=(0,n._)((0,a.useState)(!0),2),en=es[0],ei=es[1],el=(0,n._)((0,a.useState)(!1),2),eo=el[0],ec=el[1],ed=(0,n._)((0,a.useState)(null),2),eu=ed[0],ex=ed[1],em=(0,n._)((0,a.useState)(null),2),eh=em[0],ep=em[1],ef=(0,n._)((0,a.useState)(!1),2),eb=ef[0],eg=ef[1];(0,a.useEffect)(function(){var e=function(){window.scrollY>window.innerHeight?eg(!0):eg(!1)};return window.addEventListener("scroll",e,{passive:!0}),e(),function(){return window.removeEventListener("scroll",e)}},[]);var ev=(0,a.useRef)(null),ej=(0,a.useMemo)(function(){return[{id:1,src:"/images/hero-slide-1.webp",alt:"Premium car live auction on phone mockup with Creta SUV"},{id:2,src:"/images/hero-slide-2.webp",alt:"Verified seven step car inspection and transaction process"},{id:3,src:"/images/hero-slide-3.webp",alt:"Leaning on premium SUV showing live bids and verified buyers"},{id:4,src:"/images/hero-slide-4.webp",alt:"Direct chat between buyer and seller showing deal closed"},{id:5,src:"/images/hero-slide-5.webp",alt:"Business executive checking live auction in airport premium lounge"}]},[]);(0,a.useEffect)(function(){var e=window.matchMedia("(prefers-reduced-motion: reduce)");ee(e.matches);var t=function(e){return ee(e.matches)};return e.addEventListener("change",t),function(){return e.removeEventListener("change",t)}},[]),(0,a.useEffect)(function(){var e=function(){er("visible"===document.visibilityState)};return document.addEventListener("visibilitychange",e),function(){return document.removeEventListener("visibilitychange",e)}},[]),(0,a.useEffect)(function(){var e=new IntersectionObserver(function(e){ei((0,n._)(e,1)[0].isIntersecting)},{threshold:.1}),t=ev.current;return t&&e.observe(t),function(){t&&e.unobserve(t)}},[]);var ey=function(e){return 0===e||!!V&&(K.includes(e)||e===O||e===(O+1)%ej.length)};(0,a.useEffect)(function(){V&&Q(function(e){return Array.from(new Set((0,i._)(e).concat([O,(O+1)%ej.length])))})},[O,V,ej.length]),(0,a.useEffect)(function(){if(!$&&ea&&en&&!eo){var e=setInterval(function(){Z(function(e){return(e+1)%ej.length})},2500);return function(){return clearInterval(e)}}},[ea,en,eo,$,ej.length]);var ew=function(){Z(function(e){return(e-1+ej.length)%ej.length})},eN=function(){Z(function(e){return(e+1)%ej.length})},ek=function(e){Z(e)},eC=function(e){e.preventDefault();var t=r.trim().toUpperCase();if(!t)return void I("Please enter your car number.");if(!N.test(t))return void I("Please enter a valid car number plate.\nExample: MH 02 AB 1234 or 22 BH 1234 AA");if(I(""),!G&&!U){R(t),E(!0);return}S(!0),D.push("/sell-used-car?carNumber=".concat(encodeURIComponent(t)))},eA=(0,a.useMemo)(function(){return[{icon:c.Zap,label:"Sell in 2 Hours",bgColor:"bg-gradient-to-br from-teal-500 to-cyan-600",iconColor:"text-white"},{icon:d.Banknote,label:"Immediate Payment",bgColor:"bg-gradient-to-br from-slate-500 to-slate-600",iconColor:"text-white"},{icon:u.Trophy,label:"Best Price",bgColor:"bg-gradient-to-br from-blue-500 to-blue-600",iconColor:"text-white"},{icon:x.Shield,label:"Secure Transfer",bgColor:"bg-gradient-to-br from-slate-400 to-slate-500",iconColor:"text-white"},{icon:m.FileCheck,label:"Legal Indemnity",bgColor:"bg-gradient-to-br from-teal-400 to-teal-600",iconColor:"text-white"}]},[]);return(0,t.jsxs)("section",{ref:ev,onKeyDown:function(e){"ArrowLeft"===e.key?ew():"ArrowRight"===e.key&&eN()},onTouchStart:function(e){ep(null),ex(e.targetTouches[0].clientX)},onTouchMove:function(e){ep(e.targetTouches[0].clientX)},onTouchEnd:function(){if(eu&&eh){var e=eu-eh;e>50?eN():e<-50&&ew()}},tabIndex:0,role:"region","aria-roledescription":"carousel","aria-label":"Homepage hero banner carousel",onMouseEnter:function(){return ec(!0)},onMouseLeave:function(){return ec(!1)},className:"relative md:min-h-[85vh] w-full overflow-hidden bg-gradient-to-b from-[#F3F9FA] via-white to-w
1hite dark:from-slate-950 dark:via-slate-900 dark:to-slate-900 md:bg-background focus:outline-none",children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n@keyframes fadeInUp {\n  from { opacity: 0; transform: translateY(20px); }\n  to { opacity: 1; transform: translateY(0); }\n}\n@keyframes fadeIn {\n  from { opacity: 0; }\n  to { opacity: 1; }\n}\n.hero-animate { animation: fadeInUp 0.8s ease-out both; }\n.hero-animate-delay-1 { animation: fadeIn 0.6s ease-out 0.2s both; }\n.hero-animate-delay-2 { animation: fadeInUp 0.6s ease-out 0.3s both; }\n.hero-animate-delay-3 { animation: fadeIn 0.5s ease-out 0.5s both; }\n\n.carousel-slide {\n  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);\n  will-change: opacity, transform;\n}\n"}}),F&&(0,t.jsx)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center bg-black/50 backdrop-blur-sm",onClick:function(){return I("")},"data-testid":"overlay-car-number-alert",children:(0,t.jsxs)("div",{className:"relative bg-white dark:bg-slate-900 rounded-2xl shadow-2xl p-6 sm:p-8 max-w-md w-[90%] mx-4 animate-in fade-in zoom-in-95 duration-200",onClick:function(e){return e.stopPropagation()},"data-testid":"dialog-car-number-alert",children:[(0,t.jsx)("button",{onClick:function(){return I("")},className:"absolute top-3 right-3 p-1 rounded-full hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors","data-testid":"button-close-alert",children:(0,t.jsx)(p.X,{className:"w-5 h-5 text-slate-500"})}),(0,t.jsxs)("div",{className:"flex flex-col items-center text-center gap-4",children:[(0,t.jsx)("div",{className:"w-14 h-14 rounded-full bg-red-100 dark:bg-red-900/30 flex items-center justify-center",children:(0,t.jsx)(h.AlertTriangle,{className:"w-7 h-7 text-red-500"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-bold text-slate-900 dark:text-white mb-1",children:"Invalid Car Number"}),(0,t.jsx)("p",{className:"text-slate-600 dark:text-slate-400 text-sm whitespace-pre-line",children:F})]}),(0,t.jsx)("button",{onClick:function(){return I("")},className:"w-full py-3 bg-primary hover:bg-primary/90 text-white font-semibold rounded-xl transition-colors","data-testid":"button-alert-ok",children:"OK"})]})]})}),(0,t.jsxs)("div",{className:"hidden md:block absolute inset-0 z-0",children:[ej.map(function(e,a){var r=a===O,n=ey(a);return(0,t.jsx)("div",{className:"carousel-slide absolute inset-0 w-full h-full",style:{opacity:+!!r,transform:$?"none":r?"scale(1) translateZ(0)":"scale(1.05) translateZ(0)",zIndex:+!!r},"aria-hidden":!r,children:n&&(0,t.jsx)(w.default,(0,s._)({src:e.src,alt:e.alt,fill:!0,priority:0===a,placeholder:"blur",blurDataURL:k,onLoad:0===a?function(){return Y(!0)}:void 0,sizes:"(max-width: 768px) 100vw, (max-width: 1280px) 70vw, 1280px",className:"object-contain md:object-cover object-[75%_center] sm:object-[center_20%] transition-transform duration-500"},0===a?{fetchPriority:"high"}:{}))},e.id)}),(0,t.jsx)("div",{className:"hidden md:block absolute inset-0 bg-gradient-to-t from-background via-transparent to-transparent z-[2]"}),(0,t.jsx)("div",{className:"hidden md:block absolute inset-0 bg-gradient-to-r from-background/95 via-background/70 to-transparent md:w-[60%] z-[2]"}),(0,t.jsx)("div",{className:"block md:hidden absolute inset-x-0 top-0 h-[38%] bg-[#F3F9FA] dark:bg-slate-950 z-[2]"}),(0,t.jsx)("div",{className:"block md:hidden absolute inset-x-0 top-[38%] h-[20%] bg-gradient-to-b from-[#F3F9FA] to-transparent dark:from-slate-950 z-[2]"}),(0,t.jsx)("div",{className:"block md:hidden absolute inset-x-0 bottom-0 h-[40%] bg-gradient-to-t from-white via-white/80 to-transparent dark:from-slate-900 dark:via-slate-900/80 z-[2]"})]}),(0,t.jsx)("div",{className:"hidden md:block relative z-10 h-full max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,t.jsx)("div",{className:"flex min-h-[85vh] items-center",children:(0,t.jsxs)("div",{className:"hero-animate w-full max-w-xl space-y-6 pt-4 pb-12",children:[(0,t.jsxs)("div",{className:"hero-animate-delay-1 inline-flex items-center gap-2 rounded-full bg-primary/10 dark:bg-primary/20 px-4 py-1.5 backdrop-blur-sm border border-primary/30",children:[(0,t.jsx)("span",{className:"h-2 w-2 rounded-full bg-primary animate-pulse"}),(0,t.jsx)("span",{className:"text-primary font-semibold text-sm",children:"India's Trusted Car Platform"})]}),(0,t.jsx)("h1",{className:"font-heading text-3xl sm:text-4xl lg:text-5xl xl:text-6xl font-black tracking-tight text-foreground leading-[1.1]",children:H.title?H.title:(0,t.jsxs)(t.Fragment,{children:["Sell Your Car",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-primary",children:"At Best Price"})]})}),(0,t.jsx)("p",{className:"text-base sm:text-xl text-slate-700 dark:text-slate-200 max-w-sm sm:max-w-md leading-relaxed font-medium",children:H.subtitle||(0,t.jsxs)(t.Fragment,{children:["Get ",(0,t.jsx)("span",{className:"text-primary font-bold",children:"instant valuation"}),", ",(0,t.jsx)("span",{className:"text-primary font-bold",children:"immediate payment"}),", and ",(0,t.jsx)("span",{className:"font-bold",children:"hassle-free RC transfer"}),". Join ",(0,t.jsx)("span",{className:"text-primary font-black",children:"50,000+"})," happy customers who upgraded their ride with Nxcar."]})}),(0,t.jsxs)("form",{onSubmit:eC,"aria-label":"Car valuation form",className:"space-y-4",children:[(0,t.jsxs)("div",{className:"hero-animate-delay-2 flex flex-col sm:flex-row gap-3 max-w-lg",children:[(0,t.jsx)("div",{className:"relative p-[2px] bg-rose-700 rounded-xl shadow-lg w-full sm:w-[60%]",children:(0,t.jsx)(l.Input,{"data-testid":"input-car-number",value:r,onChange:function(e){return C(e.target.value)},placeholder:"Enter Car Number (MH 02 AB 1234)",className:"h-14 sm:h-16 bg-white dark:bg-slate-900 border-0 text-foreground placeholder:text-slate-500 dark:placeholder:text-slate-400 font-mono tracking-wider up
1percase w-full text-sm sm:text-xl font-bold rounded-[10px] focus:ring-2 focus:ring-rose-500/50"})}),(0,t.jsx)(o.Button,{"data-testid":"button-check-price",type:"submit",disabled:_,"aria-label":"Get car price",size:"lg",className:"h-14 sm:h-16 bg-primary hover:bg-primary/90 text-white font-black uppercase px-4 sm:px-8 text-sm sm:text-lg transition-all hover:shadow-xl hover:shadow-primary/40 disabled:opacity-50 whitespace-nowrap rounded-xl w-full sm:w-[40%]",children:_?(0,t.jsx)("span",{role:"status","aria-live":"polite",children:"..."}):"Get Price"})]}),(0,t.jsx)("p",{className:"text-xs sm:text-sm text-slate-600 dark:text-slate-300 font-medium",children:"✓ Free valuation  •  ✓ No obligation  •  ✓ Takes 30 seconds"})]}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2 pt-3",children:eA.map(function(e){var a=e.icon,r=e.label,s=e.bgColor,n=e.iconColor;return(0,t.jsxs)("div",{className:"hero-animate-delay-3 flex items-center gap-1.5 px-2 py-1.5 rounded-lg bg-white/80 dark:bg-white/5 backdrop-blur-sm border border-slate-200/50 dark:border-white/10",children:[(0,t.jsx)("div",{className:"w-6 h-6 shrink-0 rounded-md ".concat(s," flex items-center justify-center"),children:(0,t.jsx)(a,{className:"h-3.5 w-3.5 ".concat(n),strokeWidth:2.5})}),(0,t.jsx)("span",{className:"text-slate-700 dark:text-slate-300 font-medium text-xs",children:r})]},r)})})]})})}),(0,t.jsxs)("div",{className:"block md:hidden relative z-10 px-4 pt-6 pb-6 space-y-6",children:[(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("div",{className:"flex justify-start",children:(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-[#EBF7F7]/80 dark:bg-[#1A2E2E]/80 backdrop-blur-sm px-4 py-1.5 border border-[#0EA9B2]/20",children:[(0,t.jsx)("span",{className:"h-2 w-2 rounded-full bg-[#0EA9B2] animate-pulse"}),(0,t.jsx)("span",{className:"text-[#0A8080] dark:text-[#28D4DC] font-extrabold text-xs",children:"India's Trusted Car Platform"})]})}),(0,t.jsxs)("h1",{className:"font-heading text-4xl font-extrabold text-slate-900 dark:text-white leading-[1.15] text-left",children:["Sell Your Car",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-[#4FA3A5] dark:text-[#28D4DC]",children:"At Best Price"})]}),(0,t.jsxs)("p",{className:"text-sm text-slate-600 dark:text-slate-300 leading-relaxed font-medium text-left",children:["Get ",(0,t.jsx)("span",{className:"font-bold text-slate-800 dark:text-slate-100",children:"instant valuation"}),","," ",(0,t.jsx)("span",{className:"font-bold text-slate-800 dark:text-slate-100",children:"immediate payment"}),", and"," ",(0,t.jsx)("span",{className:"font-bold text-slate-800 dark:text-slate-100",children:"hassle-free RC transfer"}),".",(0,t.jsx)("br",{}),"Join ",(0,t.jsx)("span",{className:"text-[#4FA3A5] dark:text-[#28D4DC] font-black border-b border-[#4FA3A5]",children:"50,000+"})," happy customers who upgraded their ride with Nxcar."]})]}),(0,t.jsxs)("div",{className:"relative -mx-4 aspect-[16/9] overflow-hidden bg-[#F3F9FA] dark:bg-slate-950 rounded-none",children:[ej.map(function(e,a){var r=a===O,n=ey(a);return(0,t.jsx)("div",{className:"carousel-slide absolute inset-0 w-full h-full",style:{opacity:+!!r,transform:$?"none":r?"scale(1)":"scale(1.02)",zIndex:+!!r},"aria-hidden":!r,children:n&&(0,t.jsx)(w.default,(0,s._)({src:e.src,alt:e.alt,fill:!0,priority:0===a,placeholder:"blur",blurDataURL:k,sizes:"(max-width: 640px) 100vw, 640px",className:"object-contain dark:mix-blend-multiply dark:opacity-90 dark:brightness-[0.92] dark:contrast-[1.04]"},0===a?{fetchPriority:"high"}:{}))},e.id)}),(0,t.jsx)("div",{className:"absolute inset-x-0 top-0 h-4 bg-gradient-to-b from-[#F3F9FA] to-transparent dark:from-slate-950 pointer-events-none z-10"})]}),(0,t.jsxs)("div",{className:"space-y-5 pt-1",children:[(0,t.jsx)("form",{onSubmit:eC,className:"space-y-4",children:(0,t.jsxs)("div",{className:"flex gap-2.5 items-center",children:[(0,t.jsxs)("div",{className:"flex-1 bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 rounded-xl px-3 py-2.5 flex items-center gap-2.5 shadow-lg",children:[(0,t.jsx)("div",{className:"text-slate-400 shrink-0",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-5 h-5",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.104a1.125 1.125 0 0 1-1.048-.752l1.385-4.156A1.125 1.125 0 0 1 4.51 13.13h14.979a1.125 1.125 0 0 1 1.07.763l1.385 4.156a1.125 1.125 0 0 1-1.048.752H15.75m-7.5 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.104a1.125 1.125 0 0 1-1.048-.752l1.385-4.156A1.125 1.125 0 0 1 4.51 13.13h14.979a1.125 1.125 0 0 1 1.07.763l1.385 4.156a1.125 1.125 0 0 1-1.048.752H15.75"})})}),(0,t.jsxs)("div",{className:"flex flex-col flex-1 min-w-0",children:[(0,t.jsx)("span",{className:"text-[8px] font-extrabold text-slate-400 dark:text-slate-500 tracking-wider",children:"ENTER CAR NUMBER"}),(0,t.jsx)("input",{"data-testid":"input-car-number-mobile",type:"text",value:r,onChange:function(e){return C(e.target.value)},placeholder:"(MH 02 AB 1234)",className:"bg-transparent border-0 p-0 focus:outline-none focus:ring-0 text-sm font-extrabold text-slate-800 dark:text-white uppercase placeholder:text-slate-300 w-full"})]})]}),(0,t.jsx)(o.Button,{"data-testid":"button-check-price-mobile",type:"submit",disabled:_,className:"bg-[#4FA3A5] hover:bg-[#4FA3A5]/90 text-white font-extrabold text-sm tracking-wider up
1percase h-14 px-6 rounded-xl shrink-0 shadow-lg shadow-[#4FA3A5]/25",children:_?"...":"Get Price"})]})}),(0,t.jsxs)("div",{className:"flex items-center justify-between px-1 text-[11px] font-bold text-slate-600 dark:text-slate-400 pt-2 border-t border-slate-200/40",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("span",{className:"text-[#4FA3A5] dark:text-[#28D4DC] rounded-full border border-[#4FA3A5]/30 p-[2px] flex items-center justify-center text-[8px] font-bold",children:"✓"})," Free valuation"]}),(0,t.jsx)("div",{className:"h-3.5 w-[1px] bg-slate-200/60 dark:bg-slate-800"}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("span",{className:"text-[#4FA3A5] dark:text-[#28D4DC] rounded-full border border-[#4FA3A5]/30 p-[2px] flex items-center justify-center text-[8px] font-bold",children:"✓"})," No obligation"]}),(0,t.jsx)("div",{className:"h-3.5 w-[1px] bg-slate-200/60 dark:bg-slate-800"}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("span",{className:"text-[#4FA3A5] dark:text-[#28D4DC] rounded-full border border-[#4FA3A5]/30 p-[2px] flex items-center justify-center text-[8px] font-bold",children:"✓"})," Takes 30 seconds"]})]})]})]}),(0,t.jsx)("div",{className:"hidden md:flex absolute bottom-10 left-4 sm:left-6 lg:left-8 z-[20] flex gap-2",role:"tablist","aria-label":"Slides",children:ej.map(function(e,a){return(0,t.jsx)("button",{onClick:function(){return ek(a)},className:"h-2 rounded-full transition-all duration-300 focus:outline-none focus:ring-2 focus:ring-primary/50 ".concat(O===a?"w-8 bg-primary":"w-2 bg-slate-400/50 hover:bg-slate-400"),"aria-label":"Go to slide ".concat(a+1),"aria-selected":O===a,role:"tab"},a)})}),(0,t.jsxs)("div",{className:"hidden md:flex absolute right-8 bottom-10 z-[20] gap-3",children:[(0,t.jsx)(o.Button,{onClick:ew,variant:"outline",size:"icon",className:"w-11 h-11 rounded-full border-slate-200/50 bg-white/10 hover:bg-white/20 backdrop-blur-sm text-slate-800 dark:text-white","aria-label":"Previous slide",children:(0,t.jsx)(f.ChevronLeft,{className:"w-5 h-5"})}),(0,t.jsx)(o.Button,{onClick:eN,variant:"outline",size:"icon",className:"w-11 h-11 rounded-full border-slate-200/50 bg-white/10 hover:bg-white/20 backdrop-blur-sm text-slate-800 dark:text-white","aria-label":"Next slide",children:(0,t.jsx)(b.ChevronRight,{className:"w-5 h-5"})})]}),(0,t.jsx)("div",{className:"hidden md:block absolute bottom-0 left-0 right-0 h-24 bg-gradient-to-t from-background to-transparent z-10"}),(0,t.jsxs)("div",{className:"block md:hidden fixed bottom-0 left-0 right-0 z-50 bg-white dark:bg-slate-900 border-t border-slate-100 dark:border-slate-800 shadow-[0_-4px_12px_rgba(0,0,0,0.05)] px-4 py-3 flex items-center justify-between transition-all duration-500 ease-out transform ".concat(eb?"opacity-100 translate-y-0":"opacity-0 translate-y-full pointer-events-none"),children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-10 h-10 rounded-full bg-[#EBF7F7] dark:bg-[#1A2E2E] flex items-center justify-center text-[#4FA3A5] dark:text-[#28D4DC]",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-5 h-5",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.104a1.125 1.125 0 0 1-1.048-.752l1.385-4.156A1.125 1.125 0 0 1 4.51 13.13h14.979a1.125 1.125 0 0 1 1.07.763l1.385 4.156a1.125 1.125 0 0 1-1.048.752H15.75m-7.5 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.104a1.125 1.125 0 0 1-1.048-.752l1.385-4.156A1.125 1.125 0 0 1 4.51 13.13h14.979a1.125 1.125 0 0 1 1.07.763l1.385 4.156a1.125 1.125 0 0 1-1.048.752H15.75"})})}),(0,t.jsxs)("div",{className:"flex flex-col text-left",children:[(0,t.jsx)("span",{className:"text-[11px] font-extrabold text-slate-800 dark:text-slate-100",children:"Ready to sell your car?"}),(0,t.jsx)("span",{className:"text-[9px] text-slate-400 dark:text-slate-400 font-medium",children:"Get the best price in just 30 seconds"})]})]}),(0,t.jsx)(o.Button,{onClick:function(){window.scrollTo({top:0,behavior:"smooth"});var e=document.querySelector('[data-testid="input-car-number-mobile"]');e&&setTimeout(function(){return e.focus()},300)},className:"bg-[#4FA3A5] hover:bg-[#4FA3A5]/90 text-white font-extrabold text-xs px-4 py-2 min-h-[44px] rounded-lg shadow-sm shrink-0",children:"Get Started"})]}),(0,t.jsx)(y.default,{open:T,onOpenChange:function(e){E(e),e||R("")},onSuccess:function(){E(!1),P&&(S(!0),D.push("/sell-used-car?carNumber=".concat(encodeURIComponent(P))))}})]})}var A=e.i(975653),_=e.i(116475),S=e.i(544083),z=e.i(73341),F=e.i(292511),I=(0,F.default)("circle-d
1ollar-sign",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]]),B=e.i(68474),T=e.i(719583),E=(0,F.default)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),L=e.i(750861),P=e.i(268089),R=e.i(942888);function D(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var H=/^(?:[A-Z]{2}\s?[0-9]{1,2}\s?[A-Z]{1,3}\s?[0-9]{1,4}|[0-9]{2}\s?BH\s?[0-9]{4}\s?[A-Z]{2})$/,M=["Free home inspection at your convenience","Live auction — real buyer competition","Payment within 24 hours of sale","Free RC transfer handled end-to-end"];function U(){return(0,A._)(function(){var e,t;return(0,_._)(this,function(a){switch(a.label){case 0:return[4,fetch("/api/buy/cities")];case 1:if(!(e=a.sent()).ok)return[2,[]];return[4,e.json()];case 2:return[2,Array.isArray(null==(t=a.sent())?void 0:t.cities)?t.cities:[]]}})})()}function G(){var e=(0,n._)((0,a.useState)(!1),2),r=e[0],s=e[1],i=(0,n._)((0,a.useState)(!1),2),l=i[0],o=i[1],c=(0,n._)((0,a.useState)(!1),2),d=c[0],u=c[1],x=(0,n._)((0,a.useState)(1),2),m=x[0],b=x[1],v=(0,n._)((0,a.useState)(null),2),j=v[0],y=v[1],w=(0,n._)((0,a.useState)(!1),2),N=w[0],k=w[1],C=(0,n._)((0,a.useState)(""),2),A=C[0],_=C[1],F=(0,n._)((0,a.useState)(""),2),G=F[0],W=F[1],O=(0,n._)((0,a.useState)(""),2),Z=O[0],q=O[1],V=(0,g.useRouter)(),Y=(0,S.useQuery)({queryKey:["intentNudgeCities"],queryFn:U,staleTime:36e5,enabled:r}).data;function J(){o(function(e){return!e})}function K(e){k(!0),setTimeout(function(){y(e),b(2),k(!1)},200)}function Q(e){u(!0),setTimeout(function(){s(!1),V.push(e)},200)}if((0,a.useEffect)(function(){var e=setTimeout(function(){return s(!0)},5e3);return function(){return clearTimeout(e)}},[]),!r)return null;var X=(void 0===Y?[]:Y).filter(function(e){return e.city_name.toLowerCase().includes(A.toLowerCase())}).slice(0,12);return l?(0,t.jsxs)("button",{onClick:J,"data-testid":"button-intent-expand",className:"fixed bottom-6 right-5 z-50 flex items-center gap-2 bg-primary text-primary-foreground rounded-full px-4 py-2.5 shadow-xl text-sm font-medium transition-all duration-300 hover:bg-primary/90 ".concat(d?"opacity-0 translate-y-4":"opacity-100 translate-y-0"),children:[(0,t.jsx)(z.Car,{className:"w-4 h-4"}),"Quick Start",(0,t.jsx)(L.ChevronUp,{className:"w-3.5 h-3.5 opacity-70"})]}):(0,t.jsxs)("div",{className:"fixed bottom-6 right-5 z-50 rounded-2xl shadow-2xl border border-border bg-background overflow-hidden transition-all duration-300 ".concat(d?"opacity-0 translate-y-4":"opacity-100 translate-y-0"),style:{width:"348px"},role:"dialog","aria-label":"Quick start guide",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-5 pt-4 pb-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[2===m&&(0,t.jsx)("button",{onClick:function(){k(!0),setTimeout(function(){b(1),y(null),_(""),W(""),q(""),k(!1)},200)},"data-testid":"button-intent-back",className:"text-muted-foreground hover:text-foreground transition-colors","aria-label":"Back",children:(0,t.jsx)(f.ChevronLeft,{className:"w-4 h-4"})}),(0,t.jsx)("p",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:1===m?"Quick start":"buyer"===j?"Buy a car":"For sellers"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsxs)("div",{className:"flex gap-1 mr-2",children:[(0,t.jsx)("span",{className:"block w-1.5 h-1.5 rounded-full transition-colors ".concat(1===m?"bg-primary":"bg-muted-foreground/30")}),(0,t.jsx)("span",{className:"block w-1.5 h-1.5 rounded-full transition-colors ".concat(2===m?"bg-primary":"bg-muted-foreground/30")})]}),(0,t.jsx)("button",{onClick:J,"data-testid":"button-intent-minimize",className:"w-7 h-7 flex items-center justify-center rounded-lg text-muted-foreground hover:text-foreground hover:bg-accent transition-colors","aria-label":"Minimize",children:(0,t.jsx)(E,{className:"w-3.5 h-3.5"})}),(0,t.jsx)("button",{onClick:function(){u(!0),setTimeout(function(){s(!1)},300)},"data-testid":"button-intent-close",className:"w-7 h-7 flex items-center justify-center rounded-lg text-muted-foreground hover:text-foreground hover:bg-accent transition-colors","aria-label":"Close permanently",children:(0,t.jsx)(p.X,{className:"w-3.5 h-3.5"})})]})]}),(0,t.jsxs)("div",{className:"transition-all duration-200 ".concat(N?"opacity-0 translate-x-2":"opacity-100 translate-x-0"),children:[1===m&&(0,t.jsxs)("div",{className:"px-5 pb-5",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-foreground mb-1",children:"What brings you here today?"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"We'll show you what Nxcar offers for you."}),(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)("button",{onClick:function(){return K("buyer")},"data-testid":"button-intent-buy",className:"flex items-center gap-4 w-full rounded-xl border border-border px-4 py-4 text-left hover:bg-accent hover:border-primary/40 transition-all group",children:[(0,t.jsx)("span",{className:"flex-shrink-0 w-11 h-11 rounded-xl bg-primary/10 flex items-center justify-center group-hover:bg-primary/20 transition-colors",children:(0,t.jsx)(z.Car,{className:"w-5 h-5 text-primary"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-foreground",children:"Buy a car"}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:"Browse 5,000+ verified listings"})]}),(0,t.jsx)(B.ArrowRight,{className:"w-4 h-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]}),(0,t.jsxs)("button",{onClick:function(){return K("seller")},"data-testid":"button-intent-sell",className:"flex items-center gap-4 w-full rounded-xl border border-border px-4 py-4 text-left hover:bg-accent hover:border-primary/40 transition-all group",children:[(0,t.jsx)("span",{className:"flex-shrink-0 w-11 h-11 rounded-xl bg-primary/10 flex items-center justify-center group-hover:bg-primary/20 transition-colors",children:(0,t.jsx)(I,{className:"w-5 h-5 text-primary"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-foreground",children:"Sell my car"}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-0.5",children:"Get the best price in 24 hrs"})]}),(0,t.jsx)(B.ArrowRight,{className:"w-4 h-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})]})]}),2===m&&"buyer"===j&&(0,t.jsxs)("div",{className:"px-5 pb-5",children:[(0,t.jsx)("h3",{className:"text-base font-semibold text-foreground mb-0.5",children:"Where are you looking?"}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mb-3",children:"Pick a city to see cars near you, or browse all."}),(0,t.jsxs)("div",{className:"relative mb-3",children:[(0,t.jsx)(P.Search,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-3.5 h-3.5 text-muted-foreground"}),(0,t.jsx)("input",{type:"text",placeholder:"Search city...",value:A,onChange:function(e){return _(e.target.value)},"data-testid":"input-intent-city-search",className:"w-full pl-8 pr-3 py-2 text-sm rounded-lg border border-border bg-background text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-primary/50"})]}),(0,t.jsx)("div",{className:"grid grid-cols-3 gap-1.5 mb-3 max-h-48 overflow-y-auto pr-0.5",children:X.length>0?X.map(function(e){return(0,t.jsxs)("button",{onClick:function(){return Q("/used-cars/".concat(D(e.city_name)))},"data-testid":"button-intent-city-".concat(D(e.city_name)),className:"flex flex-col items-center gap-1 rounded-xl border border-border px-2 py-2.5 text-center hover:bg-accent hover:border-primary/40 transition-all group",children:[(0,t.jsx)(R.MapPin,{className:"w-3.5 h-3.5 text-primary opacity-70 group-hover:opacity-100"}),(0,t.jsx)("span",{className:"text-xs font-medium text-foreground leading-tight",children:e.city_name}),e.v_cnt>0&&(0,t.jsxs)("span",{className:"text-[10px] text-muted-foreground",children:[e.v_cnt," cars"]})]},e.city_name)}):(0,t.jsx)("p",{className:"col-span-3 text-xs text-muted-foreground text-center py-4",children:"No cities found"})}),(0,t.jsxs)("button",{onClick:function(){return Q("/used-cars")},"data-testid":"button-intent-browse-all",className:"w-full flex items-center justify-center gap-2 bg-primary hover:bg-primary/90 text-primary-foreground text-sm font-semibold rounded-xl px-4 py-3 transition-colors",children:["Browse All Cities",(0,t.jsx)(B.ArrowRight,{className:"w-4 h-4"})]})]}),2===m&&"seller"===j&&(0,t.jsxs)("div",{className:"px-5 pb-5",children:[(0,t.jsx)("h3",{className:"text-base font-semibold text-foreground mb-0.5",children:"What's your vehicle number?"}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mb-4",children:"Enter your registration number to get an instant valuation."}),(0,t.jsx)("div",{className:"mb-1",children:(0,t.jsx)("input",{type:"text",placeholder:"e.g. MH 12 AB 1234",value:G,onChange:function(e){q(""),W(e.target.value.toUpperCase().replace(/[^A-Z0-9 ]/g,"").replace(/  +/g," ").slice(0,13))},"data-testid":"input-intent-vehicle-reg",className:"w-full px-4 py-3 text-sm rounded-xl border bg-background text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 tracking-widest font-mono uppercase transition-colors ".concat(Z?"border-destructive focus:ring-destructive/40":"border-border focus:ring-primary/40"),maxLength:13,autoComplete:"off"})}),Z&&(0,t.jsxs)("div",{className:"flex items-start gap-1.5 mb-3",children:[(0,t.jsx)(h.AlertTriangle,{className:"w-3.5 h-3.5 text-destructive flex-shrink-0 mt-0.5"}),(0,t.jsx)("p",{className:"text-xs text-destructive leading-snug",children:Z})]}),!Z&&(0,t.jsx)("div",{className:"mb-3"}),(0,t.jsx)("ul",{className:"space-y-2 mb-4",children:M.map(function(e,a){return(0,t.jsxs)("li",{className:"flex items-start gap-2.5",children:[(0,t.jsx)("span",{className:"flex-shrink-0 w-4 h-4 rounded-full bg-primary/10 flex items-center justify-center mt-0.5",children:(0,t.jsx)(T.Check,{className:"w-2.5 h-2.5 text-primary"})}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground leading-snug",children:e})]},a)})}),(0,t.jsxs)("button",{onClick:function(){var e=G.trim();e?H.test(e)?Q("/sell-used-car?carNumber=".concat(encodeURIComponent(e))):q("Enter a valid number plate, e.g. MH 12 AB 1234"):Q("/sell-used-car")},"data-testid":"button-intent-proceed",className:"w-full flex items-center justify-center gap-2 bg-primary hover:bg-primary/90 text-primary-foreground text-sm font-semibold rounded-xl px-4 py-3 transition-colors",children:["Get Best Price",(0,t.jsx)(B.ArrowRight,{className:"w-4 h-4"})]}),(0,t.jsx)("button",{onClick:function(){return Q("/sell-used-car")},"data-testid":"button-intent-skip-reg",className:"w-full text-center text-xs text-muted-foreground hover:text-foreground mt-2.5 py-1 transition-colors",children:"Skip, I'll add it later"})]})]})]})}var W=e.i(672420),O=e.i(707976),Z=e.i(504561),q=[{image:"/images/icon-3d-buy.png",label:"Buy used car",href:"/used-cars"},{image:"/images/icon-3d-sell.png",label:"Sell car",href:"/sell-used-car"},{image:"/images/icon-3d-loan.png",label:"Get car loan",href:"/used-car-loan"},{image:"/images/icon-3d-val.png",label:"Car valuation",href:"/sell-used-car"},{image:"/images/icon-3d-pdi.png",label:"PDI",href:"https://www.nxcar.in/pdi",isNew:!0,external:!0},{image:"/images/icon-3d-ins.png",label:"Insurance",href:"/insurance-check"},{image:"/images/icon-3d-rto.png",label:"RTO Services",href:"/rc-check"},{image:"/images/icon-3d-more.png",label:"More...",href:"/car-services"}],V=(0,a.memo)(function(){return(0,t.jsx)("nav",{"aria-label":"Quick services",className:"w-full bg-white/90 dark:bg-card/80 border-b border-slate-200 dark:border-white/5 sticky top-14 z-40 backdrop-blur-md",children:(0,t.jsx)("div",{className:"max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8 py-3 sm:py-4",children:(0,t.jsx)("div",{className:"grid grid-cols-4 gap-2 sm:flex sm:items-center sm:gap-6 lg:gap-10 lg:justify-center",children:q.map(function(e){var a=e.external?{href:e.href,target:"_blank",rel:"noopener noreferrer"}:{href:e.href},r=e.external?"a":Z.default;return(0,t.jsxs)(r,(0,O._)((0,s._)({},a),{className:"group flex flex-col items-center justify-center gap-1 sm:gap-2 sm:min-w-[80px] min-h-[48px] py-1 cursor-pointer","data-testid":"link-service-".concat(e.label.toLowerCase().replace(/ /g,"-")),children:[(0,t.jsxs)("div",{className:"relative transition-all duration-300 hover:scale-110",children:[(0,t.jsx)(w.default,{src:e.image,alt:e.label,width:40,height:40,sizes:"56px",className:"!w-9 !h-9 sm:!w-14 sm:!h-14 object-contain rounded-2xl drop-shadow-lg dark:brightness-125 dark:drop-shadow-[0_4px_12px_rgba(255,255,255,0.15)]"}),e.isNew&&(0,t.jsx)("span",{className:"absolute -top-1 -right-1 bg-red-500 text-white text-[8px] sm:text-[9px] font-bold px-1 sm:px-1.5 py-0.5 rounded-full shadow-md",children:"NEW"})]}),(0,t.jsx)("span",{className:"text-[9px] sm:text-[10px] uppercase tracking-wider font-bold text-center leading-tight transition-colors text-slate-500 dark:text-slate-400 group-hover:text-slate-900 dark:group-hover:text-white",children:e.label})]}),e.label)})})})})}),Y=e.i(29343),J=e.i(277178),K=(0,a.memo)(function(){var e=(0,(0,v.useCmsPageContent)("homepage").get)("sell_car_process"),a=[{icon:J.ClipboardCheck,title:"Get Valuation",desc:"Instant AI-driven price estimation.",step:"01"},{icon:Y.CheckCircle2,title:"Inspection",desc:"Professional 280+ point check by Nxcar Engineers.",step:"02"},{icon:d.Banknote,title:"Best Offer",desc:"Live realtime auction. Highe
1st bid from premium verified network.",step:"03"},{icon:z.Car,title:"Transfer",desc:"Instant online payment, digital paperwork & assured RC transfer.",step:"04"}];return(0,t.jsxs)("section",{className:"py-12 sm:py-24 bg-teal-50 dark:bg-[#0a1420] relative overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-teal-100/60 via-transparent to-cyan-100/40 dark:from-teal-900/40 dark:via-transparent dark:to-cyan-900/30"}),(0,t.jsx)("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-transparent via-teal-500/50 to-transparent"}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-1 bg-gradient-to-r from-transparent via-cyan-500/30 to-transparent"}),(0,t.jsx)("div",{className:"absolute bottom-0 right-0 w-1/2 h-full bg-gradient-to-l from-primary/5 dark:from-primary/10 to-transparent skew-x-[-20deg]"}),(0,t.jsx)("div",{className:"absolute top-20 left-10 w-72 h-72 bg-teal-500/10 dark:bg-teal-500/20 rounded-full blur-[120px]"}),(0,t.jsx)("div",{className:"max-w-screen-xl mx-auto px-6 lg:px-8 relative z-10",children:(0,t.jsxs)("div",{className:"grid lg:grid-cols-5 gap-12 items-center",children:[(0,t.jsxs)("div",{className:"order-2 lg:order-1 lg:col-span-2 relative group",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-primary/10 dark:bg-primary/20 rounded-2xl blur-[80px] opacity-50 group-hover:opacity-75 transition-opacity duration-700"}),(0,t.jsx)(w.default,{src:"/images/hero-xray-cyan.webp",alt:"Deep Vision Inspection",width:448,height:448,loading:"lazy",sizes:"(max-width: 768px) 60vw, 400px",className:"w-3/5 sm:w-full max-w-[200px] sm:max-w-md mx-auto h-auto object-contain relative z-10 drop-shadow-[0_0_40px_rgba(14,169,178,0.3)] transition-transform duration-700 group-hover:scale-105 dark:mix-blend-lighten"}),(0,t.jsxs)("div",{className:"absolute inset-0 pointer-events-none hidden md:block z-20",children:[(0,t.jsxs)("div",{className:"absolute top-[30%] left-[20%] flex flex-col items-end animate-pulse delay-700",children:[(0,t.jsx)("div",{className:"bg-white/80 dark:bg-black/60 border border-primary/30 backdrop-blur-md px-2 py-1 rounded text-[10px] font-mono text-primary mb-1",children:"AI DIAGNOSTICS"}),(0,t.jsx)("div",{className:"h-[1px] w-12 bg-primary/50"}),(0,t.jsx)("div",{className:"h-1.5 w-1.5 bg-primary rounded-full shadow-[0_0_10px_#0EA9B2] -mr-[3px] -mt-[4px]"})]}),(0,t.jsxs)("div",{className:"absolute bottom-[40%] right-[30%] flex flex-col items-start animate-pulse delay-300",children:[(0,t.jsx)("div",{className:"bg-white/80 dark:bg-black/60 border border-cyan-400/30 backdrop-blur-md px-2 py-1 rounded text-[10px] font-mono text-cyan-600 dark:text-cyan-400 mb-1 ml-8",children:"STRUCTURAL INTEGRITY: 100%"}),(0,t.jsxs)("div",{className:"flex items-end",children:[(0,t.jsx)("div",{className:"h-1.5 w-1.5 bg-cyan-400 rounded-full shadow-[0_0_10px_#22d3ee] -ml-[3px]"}),(0,t.jsx)("div",{className:"h-[1px] w-20 bg-cyan-400/50 rotate-[-30deg] origin-bottom-left"})]})]})]})]}),(0,t.jsxs)("div",{className:"order-1 lg:order-2 lg:col-span-3",children:[(0,t.jsx)("div",{className:"inline-block border border-primary text-primary px-3 py-1 text-xs font-bold uppercase tracking-widest mb-6",children:e.subt
1itle||"Sell Your Machine"}),(0,t.jsx)("h2",{className:"text-2xl sm:text-4xl lg:text-5xl font-heading font-black text-slate-900 dark:text-white mb-4 sm:mb-6 uppercase italic tracking-tighter leading-none",children:e.title||(0,t.jsxs)(t.Fragment,{children:["Sell in ",(0,t.jsx)("span",{className:"text-primary",children:"Minutes"}),".",(0,t.jsx)("br",{}),"No Compromise."]})}),(0,t.jsx)("p",{className:"text-sm sm:text-lg text-slate-600 dark:text-slate-400 mb-8 sm:mb-12 leading-relaxed font-light",children:e.description||"We've engineered the fastest, most transparent car selling process in the industry. Pure performance, zero friction."}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6 mb-8 sm:mb-10",children:a.map(function(e,a){return(0,t.jsxs)("div",{className:"flex gap-4 p-4 rounded-xl border border-slate-200 dark:border-white/5 bg-white/80 dark:bg-white/5 hover:border-primary/50 hover:bg-white dark:hover:bg-white/10 transition-all duration-300 group",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-12 h-12 rounded-lg bg-slate-100 dark:bg-black border border-slate-200 dark:border-white/10 flex items-center justify-center text-primary group-hover:text-white group-hover:bg-primary transition-colors",children:(0,t.jsx)(e.icon,{className:"w-6 h-6"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"text-xs font-mono text-primary/50 block mb-1",children:e.step}),(0,t.jsx)("h3",{className:"font-bold text-base text-slate-900 dark:text-white mb-1 uppercase tracking-wide",children:e.title}),(0,t.jsx)("p",{className:"text-xs text-slate-500 dark:text-slate-400",children:e.desc})]})]},a)})}),(0,t.jsxs)(o.Button,{size:"lg",className:"h-14 bg-slate-900 dark:bg-white text-white dark:text-black hover:bg-primary hover:text-white font-black uppercase tracking-wider px-8 text-sm transition-all shadow-[0_0_20px_rgba(0,0,0,0.1)] dark:shadow-[0_0_20px_rgba(255,255,255,0.2)] hover:shadow-[0_0_30px_rgba(14,169,178,0.4)]","data-testid":"button-start-evaluation",onClick:function(){var e=document.querySelector('[data-testid="input-car-number"]');e&&(e.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(function(){return e.focus()},500))},children:[e.ctaText||"Sell Your Car"," ",(0,t.jsx)(B.ArrowRight,{className:"ml-2 h-4 w-4"})]})]})]})})]})}),Q=e.i(777230),X=(0,a.lazy)(function(){return e.A(707603).then(function(e){return{default:e.BuyCityGrid}})}),$=(0,a.lazy)(function(){return e.A(961825).then(function(e){return{default:e.BlogStrip}})}),ee=(0,a.lazy)(function(){return e.A(424732).then(function(e){return{default:e.CarStrip}})}),et=(0,a.lazy)(function(){return e.A(14745).then(function(e){return{default:e.RecentlyViewedCars}})}),ea=(0,a.lazy)(function(){return e.A(175597).then(function(e){return{default:e.Features}})}),er=(0,a.lazy)(function(){return e.A(458779).then(function(e){return{default:e.LoanBanner}})}),es=(0,a.lazy)(function(){return e.A(787764).then(function(e){return{default:e.LoanCalculatorSection}})}),en=(0,a.lazy)(function(){return e.A(906496).then(function(e){return{default:e.PDISection}})}),ei=(0,a.lazy)(function(){return e.A(537834).then(function(e){return{default:e.SellerFeedback}})}),el=(0,a.lazy)(function(){return e.A(967692).then(function(e){return{default:e.LocationShowcase}})}),eo=(0,a.lazy)(function(){return e.A(646546).then(function(e){return{default:e.CityGrid}})});function ec(e){var r=e.children;return(0,t.jsx)(W.LazySection,{children:(0,t.jsx)(a.Suspense,{fallback:(0,t.jsx)("div",{style:{minHeight:"200px"}}),children:r})})}function ed(){return(0,t.jsxs)("div",{className:"min-h-screen bg-background font-sans overflow-x-hidden",children:[(0,t.jsx)(r.Navbar,{}),(0,t.jsxs)("main",{className:"pt-14",children:[(0,t.jsx)(C,{}),(0,t.jsx)(V,{}),(0,t.jsx)(K,{}),(0,t.jsx)(ec,{children:(0,t.jsx)(X,{})}),(0,t.jsx)(ec,{children:(0,t.jsx)($,{stripPosition:4})}),(0,t.jsx)(ec,{children:(0,t.jsx)(ee,{title:"Featured Used Cars"})}),(0,t.jsx)(ec,{children:(0,t.jsx)(et,{})}),(0,t.jsx)(ec,{children:(0,t.jsx)(ea,{})}),(0,t.jsx)(ec,{children:(0,t.jsx)($,{stripPosition:1})}),(0,t.jsx)(ec,{children:(0,t.jsx)(er,{})}),(0,t.jsx)(ec,{children:(0,t.jsx)(es,{})}),(0,t.jsx)(ec,{children:(0,t.jsx)(en,{})}
1),(0,t.jsx)(ec,{children:(0,t.jsx)($,{stripPosition:2})}),(0,t.jsx)(ec,{children:(0,t.jsx)(ei,{})}),(0,t.jsx)(ec,{children:(0,t.jsx)(ee,{title:"Recently Added"})}),(0,t.jsx)(ec,{children:(0,t.jsx)(el,{})}),(0,t.jsx)(ec,{children:(0,t.jsx)(eo,{})}),(0,t.jsx)(ec,{children:(0,t.jsx)($,{stripPosition:3})}),(0,t.jsx)(ec,{children:(0,t.jsx)("section",{"aria-label":"Join the Revolution",className:"py-16 bg-gradient-to-t from-slate-950 via-slate-900 to-slate-900/80 text-white",children:(0,t.jsxs)("div",{className:"max-w-screen-xl mx-auto px-6 lg:px-8 text-center",children:[(0,t.jsx)("h2",{className:"text-3xl font-heading font-bold mb-6",children:"Join the Revolution"}),(0,t.jsx)("p",{className:"max-w-2xl mx-auto text-slate-300 mb-8",children:"We are building the future of automotive retail in India. Passionate about cars and tech? We'd love to have you on board."}),(0,t.jsx)("div",{className:"flex justify-center gap-4",children:(0,t.jsx)("a",{href:"https://www.linkedin.com/company/nxfin/jobs/",target:"_blank",rel:"noopener noreferrer","data-testid":"link-linkedin-openings",className:"inline-flex h-10 items-center justify-center rounded-md bg-white px-8 text-sm font-medium text-slate-900 transition-colors hover:bg-slate-100",children:"View Openings on LinkedIn"})})]})})})]}),(0,t.jsx)(Q.Footer,{}),(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"Organization",name:"Nxcar",url:"https://nxcar.in",logo:"https://nxcar.in/favicon-dark.png",description:"India's most trusted platform for buying and selling used cars",address:{"@type":"PostalAddress",streetAddress:"3rd Floor, Plot No. 809, Sector 42, Golf Course Road",addressLocality:"Gurugram",addressRegion:"Haryana",postalCode:"122009",addressCountry:"IN"},contactPoint:[{"@type":"ContactPoint",telephone:"+91-93559-24133",contactType:"customer service",areaServed:"IN",availableLanguage:["English","Hindi"]}],sameAs:["https://www.facebook.com/nxfin","https://www.instagram.com/nxcarindia/","https://www.linkedin.com/company/nxfin/","https://www.youtube.com/@Nxcar-sr3ce"]},{"@type":"WebSite",name:"Nxcar",url:"https://nxcar.in",potentialAction:{"@type":"SearchAction",target:"https://nxcar.in/used-cars?q={search_term_string}","query-input":"required name=search_term_string"}}]})}}),(0,t.jsx)(G,{})]})}e.s(["default",()=>ed],823131)}]);

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.